Annotation of embedaddon/curl/configure, revision 1.1

1.1     ! misho       1: #! /bin/sh
        !             2: # Guess values for system-dependent variables and create Makefiles.
        !             3: # Generated by GNU Autoconf 2.69 for curl -.
        !             4: #
        !             5: # Report bugs to <a suitable curl mailing list: https://curl.haxx.se/mail/>.
        !             6: #
        !             7: #
        !             8: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
        !             9: #
        !            10: #
        !            11: # This configure script is free software; the Free Software Foundation
        !            12: # gives unlimited permission to copy, distribute and modify it.
        !            13: #
        !            14: # Copyright (c) 1998 - 2020 Daniel Stenberg, <daniel@haxx.se>
        !            15: # This configure script may be copied, distributed and modified under the
        !            16: # terms of the curl license; see COPYING for more details
        !            17: 
        !            18: ## -------------------------------- ##
        !            19: ##  XC_CONFIGURE_PREAMBLE ver: 1.0  ##
        !            20: ## -------------------------------- ##
        !            21: 
        !            22: xc_configure_preamble_ver_major='1'
        !            23: xc_configure_preamble_ver_minor='0'
        !            24: 
        !            25: #
        !            26: # Set IFS to space, tab and newline.
        !            27: #
        !            28: 
        !            29: xc_space=' '
        !            30: xc_tab='       '
        !            31: xc_newline='
        !            32: '
        !            33: IFS="$xc_space$xc_tab$xc_newline"
        !            34: 
        !            35: #
        !            36: # Set internationalization behavior variables.
        !            37: #
        !            38: 
        !            39: LANG='C'
        !            40: LC_ALL='C'
        !            41: LANGUAGE='C'
        !            42: export LANG
        !            43: export LC_ALL
        !            44: export LANGUAGE
        !            45: 
        !            46: #
        !            47: # Some useful variables.
        !            48: #
        !            49: 
        !            50: xc_msg_warn='configure: WARNING:'
        !            51: xc_msg_abrt='Can not continue.'
        !            52: xc_msg_err='configure: error:'
        !            53: 
        !            54: #
        !            55: # Verify that 'echo' command is available, otherwise abort.
        !            56: #
        !            57: 
        !            58: xc_tst_str='unknown'
        !            59: (`echo "$xc_tst_str" >/dev/null 2>&1`) && xc_tst_str='success'
        !            60: case "x$xc_tst_str" in # ((
        !            61:   xsuccess)
        !            62:     :
        !            63:     ;;
        !            64:   *)
        !            65:     # Try built-in echo, and fail.
        !            66:     echo "$xc_msg_err 'echo' command not found. $xc_msg_abrt" >&2
        !            67:     exit 1
        !            68:     ;;
        !            69: esac
        !            70: 
        !            71: #
        !            72: # Verify that 'test' command is available, otherwise abort.
        !            73: #
        !            74: 
        !            75: xc_tst_str='unknown'
        !            76: (`test -n "$xc_tst_str" >/dev/null 2>&1`) && xc_tst_str='success'
        !            77: case "x$xc_tst_str" in # ((
        !            78:   xsuccess)
        !            79:     :
        !            80:     ;;
        !            81:   *)
        !            82:     echo "$xc_msg_err 'test' command not found. $xc_msg_abrt" >&2
        !            83:     exit 1
        !            84:     ;;
        !            85: esac
        !            86: 
        !            87: #
        !            88: # Verify that 'PATH' variable is set, otherwise abort.
        !            89: #
        !            90: 
        !            91: xc_tst_str='unknown'
        !            92: (`test -n "$PATH" >/dev/null 2>&1`) && xc_tst_str='success'
        !            93: case "x$xc_tst_str" in # ((
        !            94:   xsuccess)
        !            95:     :
        !            96:     ;;
        !            97:   *)
        !            98:     echo "$xc_msg_err 'PATH' variable not set. $xc_msg_abrt" >&2
        !            99:     exit 1
        !           100:     ;;
        !           101: esac
        !           102: 
        !           103: #
        !           104: # Verify that 'expr' command is available, otherwise abort.
        !           105: #
        !           106: 
        !           107: xc_tst_str='unknown'
        !           108: xc_tst_str=`expr "$xc_tst_str" : '.*' 2>/dev/null`
        !           109: case "x$xc_tst_str" in # ((
        !           110:   x7)
        !           111:     :
        !           112:     ;;
        !           113:   *)
        !           114:     echo "$xc_msg_err 'expr' command not found. $xc_msg_abrt" >&2
        !           115:     exit 1
        !           116:     ;;
        !           117: esac
        !           118: 
        !           119: #
        !           120: # Verify that 'sed' utility is found within 'PATH', otherwise abort.
        !           121: #
        !           122: 
        !           123: xc_tst_str='unknown'
        !           124: xc_tst_str=`echo "$xc_tst_str" 2>/dev/null \
        !           125:   | sed -e 's:unknown:success:' 2>/dev/null`
        !           126: case "x$xc_tst_str" in # ((
        !           127:   xsuccess)
        !           128:     :
        !           129:     ;;
        !           130:   *)
        !           131:     echo "$xc_msg_err 'sed' utility not found in 'PATH'. $xc_msg_abrt" >&2
        !           132:     exit 1
        !           133:     ;;
        !           134: esac
        !           135: 
        !           136: #
        !           137: # Verify that 'grep' utility is found within 'PATH', otherwise abort.
        !           138: #
        !           139: 
        !           140: xc_tst_str='unknown'
        !           141: (`echo "$xc_tst_str" 2>/dev/null \
        !           142:   | grep 'unknown' >/dev/null 2>&1`) && xc_tst_str='success'
        !           143: case "x$xc_tst_str" in # ((
        !           144:   xsuccess)
        !           145:     :
        !           146:     ;;
        !           147:   *)
        !           148:     echo "$xc_msg_err 'grep' utility not found in 'PATH'. $xc_msg_abrt" >&2
        !           149:     exit 1
        !           150:     ;;
        !           151: esac
        !           152: 
        !           153: #
        !           154: # Verify that 'tr' utility is found within 'PATH', otherwise abort.
        !           155: #
        !           156: 
        !           157: xc_tst_str="${xc_tab}98s7u6c5c4e3s2s10"
        !           158: xc_tst_str=`echo "$xc_tst_str" 2>/dev/null \
        !           159:   | tr -d "0123456789$xc_tab" 2>/dev/null`
        !           160: case "x$xc_tst_str" in # ((
        !           161:   xsuccess)
        !           162:     :
        !           163:     ;;
        !           164:   *)
        !           165:     echo "$xc_msg_err 'tr' utility not found in 'PATH'. $xc_msg_abrt" >&2
        !           166:     exit 1
        !           167:     ;;
        !           168: esac
        !           169: 
        !           170: #
        !           171: # Verify that 'wc' utility is found within 'PATH', otherwise abort.
        !           172: #
        !           173: 
        !           174: xc_tst_str='unknown unknown unknown unknown'
        !           175: xc_tst_str=`echo "$xc_tst_str" 2>/dev/null \
        !           176:   | wc -w 2>/dev/null | tr -d "$xc_space$xc_tab" 2>/dev/null`
        !           177: case "x$xc_tst_str" in # ((
        !           178:   x4)
        !           179:     :
        !           180:     ;;
        !           181:   *)
        !           182:     echo "$xc_msg_err 'wc' utility not found in 'PATH'. $xc_msg_abrt" >&2
        !           183:     exit 1
        !           184:     ;;
        !           185: esac
        !           186: 
        !           187: #
        !           188: # Verify that 'cat' utility is found within 'PATH', otherwise abort.
        !           189: #
        !           190: 
        !           191: xc_tst_str='unknown'
        !           192: xc_tst_str=`cat <<_EOT 2>/dev/null \
        !           193:   | wc -l 2>/dev/null | tr -d "$xc_space$xc_tab" 2>/dev/null
        !           194: unknown
        !           195: unknown
        !           196: unknown
        !           197: _EOT`
        !           198: case "x$xc_tst_str" in # ((
        !           199:   x3)
        !           200:     :
        !           201:     ;;
        !           202:   *)
        !           203:     echo "$xc_msg_err 'cat' utility not found in 'PATH'. $xc_msg_abrt" >&2
        !           204:     exit 1
        !           205:     ;;
        !           206: esac
        !           207: 
        !           208: #
        !           209: # Auto-detect and set 'PATH_SEPARATOR', unless it is already non-empty set.
        !           210: #
        !           211: 
        !           212: # Directory count in 'PATH' when using a colon separator.
        !           213: xc_tst_dirs_col='x'
        !           214: xc_tst_prev_IFS=$IFS; IFS=':'
        !           215: for xc_tst_dir in $PATH; do
        !           216:   IFS=$xc_tst_prev_IFS
        !           217:   xc_tst_dirs_col="x$xc_tst_dirs_col"
        !           218: done
        !           219: IFS=$xc_tst_prev_IFS
        !           220: xc_tst_dirs_col=`expr "$xc_tst_dirs_col" : '.*'`
        !           221: 
        !           222: # Directory count in 'PATH' when using a semicolon separator.
        !           223: xc_tst_dirs_sem='x'
        !           224: xc_tst_prev_IFS=$IFS; IFS=';'
        !           225: for xc_tst_dir in $PATH; do
        !           226:   IFS=$xc_tst_prev_IFS
        !           227:   xc_tst_dirs_sem="x$xc_tst_dirs_sem"
        !           228: done
        !           229: IFS=$xc_tst_prev_IFS
        !           230: xc_tst_dirs_sem=`expr "$xc_tst_dirs_sem" : '.*'`
        !           231: 
        !           232: if test $xc_tst_dirs_sem -eq $xc_tst_dirs_col; then
        !           233:   # When both counting methods give the same result we do not want to
        !           234:   # chose one over the other, and consider auto-detection not possible.
        !           235:   if test -z "$PATH_SEPARATOR"; then
        !           236:     # User should provide the correct 'PATH_SEPARATOR' definition.
        !           237:     # Until then, guess that it is colon!
        !           238:     echo "$xc_msg_warn path separator not determined, guessing colon" >&2
        !           239:     PATH_SEPARATOR=':'
        !           240:   fi
        !           241: else
        !           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
        !           244:     xc_tst_auto_separator=';'
        !           245:   else
        !           246:     xc_tst_auto_separator=':'
        !           247:   fi
        !           248:   if test -z "$PATH_SEPARATOR"; then
        !           249:     # Simply use the auto-detected one when not already set.
        !           250:     PATH_SEPARATOR=$xc_tst_auto_separator
        !           251:   elif test "x$PATH_SEPARATOR" != "x$xc_tst_auto_separator"; then
        !           252:     echo "$xc_msg_warn 'PATH_SEPARATOR' does not match auto-detected one." >&2
        !           253:   fi
        !           254: fi
        !           255: xc_PATH_SEPARATOR=$PATH_SEPARATOR
        !           256: 
        !           257: xc_configure_preamble_result='yes'
        !           258: 
        !           259: 
        !           260: ## -------------------- ##
        !           261: ## M4sh Initialization. ##
        !           262: ## -------------------- ##
        !           263: 
        !           264: # Be more Bourne compatible
        !           265: DUALCASE=1; export DUALCASE # for MKS sh
        !           266: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
        !           267:   emulate sh
        !           268:   NULLCMD=:
        !           269:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
        !           270:   # is contrary to our usage.  Disable this feature.
        !           271:   alias -g '${1+"$@"}'='"$@"'
        !           272:   setopt NO_GLOB_SUBST
        !           273: else
        !           274:   case `(set -o) 2>/dev/null` in #(
        !           275:   *posix*) :
        !           276:     set -o posix ;; #(
        !           277:   *) :
        !           278:      ;;
        !           279: esac
        !           280: fi
        !           281: 
        !           282: 
        !           283: as_nl='
        !           284: '
        !           285: export as_nl
        !           286: # Printing a long string crashes Solaris 7 /usr/bin/printf.
        !           287: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
        !           288: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
        !           289: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
        !           290: # Prefer a ksh shell builtin over an external printf program on Solaris,
        !           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 --'
        !           296: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
        !           297:   as_echo='printf %s\n'
        !           298:   as_echo_n='printf %s'
        !           299: else
        !           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'
        !           303:   else
        !           304:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
        !           305:     as_echo_n_body='eval
        !           306:       arg=$1;
        !           307:       case $arg in #(
        !           308:       *"$as_nl"*)
        !           309:        expr "X$arg" : "X\\(.*\\)$as_nl";
        !           310:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
        !           311:       esac;
        !           312:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
        !           313:     '
        !           314:     export as_echo_n_body
        !           315:     as_echo_n='sh -c $as_echo_n_body as_echo'
        !           316:   fi
        !           317:   export as_echo_body
        !           318:   as_echo='sh -c $as_echo_body as_echo'
        !           319: fi
        !           320: 
        !           321: 
        !           322: 
        !           323: # IFS
        !           324: # We need space, tab and new line, in precisely that order.  Quoting is
        !           325: # there to prevent editors from complaining about space-tab.
        !           326: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
        !           327: # splitting by setting IFS to empty value.)
        !           328: IFS=" ""       $as_nl"
        !           329: 
        !           330: # Find who we are.  Look in the path if we contain no directory separator.
        !           331: as_myself=
        !           332: case $0 in #((
        !           333:   *[\\/]* ) as_myself=$0 ;;
        !           334:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !           335: for as_dir in $PATH
        !           336: do
        !           337:   IFS=$as_save_IFS
        !           338:   test -z "$as_dir" && as_dir=.
        !           339:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
        !           340:   done
        !           341: IFS=$as_save_IFS
        !           342: 
        !           343:      ;;
        !           344: esac
        !           345: # We did not find ourselves, most probably we were run as `sh COMMAND'
        !           346: # in which case we are not to be found in the path.
        !           347: if test "x$as_myself" = x; then
        !           348:   as_myself=$0
        !           349: fi
        !           350: if test ! -f "$as_myself"; then
        !           351:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
        !           352:   exit 1
        !           353: fi
        !           354: 
        !           355: # Unset variables that we do not need and which cause bugs (e.g. in
        !           356: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
        !           357: # suppresses any "Segmentation fault" message there.  '((' could
        !           358: # trigger a bug in pdksh 5.2.14.
        !           359: for as_var in BASH_ENV ENV MAIL MAILPATH
        !           360: do eval test x\${$as_var+set} = xset \
        !           361:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
        !           362: done
        !           363: PS1='$ '
        !           364: PS2='> '
        !           365: PS4='+ '
        !           366: 
        !           367: # NLS nuisances.
        !           368: LC_ALL=C
        !           369: export LC_ALL
        !           370: LANGUAGE=C
        !           371: export LANGUAGE
        !           372: 
        !           373: # CDPATH.
        !           374: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
        !           375: 
        !           376: # Use a proper internal environment variable to ensure we don't fall
        !           377:   # into an infinite loop, continuously re-executing ourselves.
        !           378:   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
        !           379:     _as_can_reexec=no; export _as_can_reexec;
        !           380:     # We cannot yet assume a decent shell, so we have to provide a
        !           381: # neutralization value for shells without unset; and this also
        !           382: # works around shells that cannot unset nonexistent variables.
        !           383: # Preserve -v and -x to the replacement shell.
        !           384: BASH_ENV=/dev/null
        !           385: ENV=/dev/null
        !           386: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
        !           387: case $- in # ((((
        !           388:   *v*x* | *x*v* ) as_opts=-vx ;;
        !           389:   *v* ) as_opts=-v ;;
        !           390:   *x* ) as_opts=-x ;;
        !           391:   * ) as_opts= ;;
        !           392: esac
        !           393: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
        !           394: # Admittedly, this is quite paranoid, since all the known shells bail
        !           395: # out after a failed `exec'.
        !           396: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
        !           397: as_fn_exit 255
        !           398:   fi
        !           399:   # We don't want this to propagate to other subprocesses.
        !           400:           { _as_can_reexec=; unset _as_can_reexec;}
        !           401: if test "x$CONFIG_SHELL" = x; then
        !           402:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
        !           403:   emulate sh
        !           404:   NULLCMD=:
        !           405:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
        !           406:   # is contrary to our usage.  Disable this feature.
        !           407:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
        !           408:   setopt NO_GLOB_SUBST
        !           409: else
        !           410:   case \`(set -o) 2>/dev/null\` in #(
        !           411:   *posix*) :
        !           412:     set -o posix ;; #(
        !           413:   *) :
        !           414:      ;;
        !           415: esac
        !           416: fi
        !           417: "
        !           418:   as_required="as_fn_return () { (exit \$1); }
        !           419: as_fn_success () { as_fn_return 0; }
        !           420: as_fn_failure () { as_fn_return 1; }
        !           421: as_fn_ret_success () { return 0; }
        !           422: as_fn_ret_failure () { return 1; }
        !           423: 
        !           424: exitcode=0
        !           425: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
        !           426: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
        !           427: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
        !           428: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
        !           429: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
        !           430: 
        !           431: else
        !           432:   exitcode=1; echo positional parameters were not saved.
        !           433: fi
        !           434: test x\$exitcode = x0 || exit 1
        !           435: test -x / || exit 1"
        !           436:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
        !           437:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
        !           438:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
        !           439:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
        !           440: test \$(( 1 + 1 )) = 2 || exit 1
        !           441: 
        !           442:   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
        !           443:     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
        !           444:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
        !           445:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
        !           446:     PATH=/empty FPATH=/empty; export PATH FPATH
        !           447:     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
        !           448:       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
        !           449:   if (eval "$as_required") 2>/dev/null; then :
        !           450:   as_have_required=yes
        !           451: else
        !           452:   as_have_required=no
        !           453: fi
        !           454:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
        !           455: 
        !           456: else
        !           457:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !           458: as_found=false
        !           459: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
        !           460: do
        !           461:   IFS=$as_save_IFS
        !           462:   test -z "$as_dir" && as_dir=.
        !           463:   as_found=:
        !           464:   case $as_dir in #(
        !           465:         /*)
        !           466:           for as_base in sh bash ksh sh5; do
        !           467:             # Try only shells that exist, to save several forks.
        !           468:             as_shell=$as_dir/$as_base
        !           469:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
        !           470:                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
        !           471:   CONFIG_SHELL=$as_shell as_have_required=yes
        !           472:                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
        !           473:   break 2
        !           474: fi
        !           475: fi
        !           476:           done;;
        !           477:        esac
        !           478:   as_found=false
        !           479: done
        !           480: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
        !           481:              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
        !           482:   CONFIG_SHELL=$SHELL as_have_required=yes
        !           483: fi; }
        !           484: IFS=$as_save_IFS
        !           485: 
        !           486: 
        !           487:       if test "x$CONFIG_SHELL" != x; then :
        !           488:   export CONFIG_SHELL
        !           489:              # We cannot yet assume a decent shell, so we have to provide a
        !           490: # neutralization value for shells without unset; and this also
        !           491: # works around shells that cannot unset nonexistent variables.
        !           492: # Preserve -v and -x to the replacement shell.
        !           493: BASH_ENV=/dev/null
        !           494: ENV=/dev/null
        !           495: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
        !           496: case $- in # ((((
        !           497:   *v*x* | *x*v* ) as_opts=-vx ;;
        !           498:   *v* ) as_opts=-v ;;
        !           499:   *x* ) as_opts=-x ;;
        !           500:   * ) as_opts= ;;
        !           501: esac
        !           502: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
        !           503: # Admittedly, this is quite paranoid, since all the known shells bail
        !           504: # out after a failed `exec'.
        !           505: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
        !           506: exit 255
        !           507: fi
        !           508: 
        !           509:     if test x$as_have_required = xno; then :
        !           510:   $as_echo "$0: This script requires a shell more modern than all"
        !           511:   $as_echo "$0: the shells that I found on your system."
        !           512:   if test x${ZSH_VERSION+set} = xset ; then
        !           513:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
        !           514:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
        !           515:   else
        !           516:     $as_echo "$0: Please tell bug-autoconf@gnu.org and a suitable curl
        !           517: $0: mailing list: https://curl.haxx.se/mail/ about your
        !           518: $0: system, including any error possibly output before this
        !           519: $0: message. Then install a modern shell, or manually run
        !           520: $0: the script under such a shell if you do have one."
        !           521:   fi
        !           522:   exit 1
        !           523: fi
        !           524: fi
        !           525: fi
        !           526: SHELL=${CONFIG_SHELL-/bin/sh}
        !           527: export SHELL
        !           528: # Unset more variables known to interfere with behavior of common tools.
        !           529: CLICOLOR_FORCE= GREP_OPTIONS=
        !           530: unset CLICOLOR_FORCE GREP_OPTIONS
        !           531: 
        !           532: ## --------------------- ##
        !           533: ## M4sh Shell Functions. ##
        !           534: ## --------------------- ##
        !           535: # as_fn_unset VAR
        !           536: # ---------------
        !           537: # Portably unset VAR.
        !           538: as_fn_unset ()
        !           539: {
        !           540:   { eval $1=; unset $1;}
        !           541: }
        !           542: as_unset=as_fn_unset
        !           543: 
        !           544: # as_fn_set_status STATUS
        !           545: # -----------------------
        !           546: # Set $? to STATUS, without forking.
        !           547: as_fn_set_status ()
        !           548: {
        !           549:   return $1
        !           550: } # as_fn_set_status
        !           551: 
        !           552: # as_fn_exit STATUS
        !           553: # -----------------
        !           554: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
        !           555: as_fn_exit ()
        !           556: {
        !           557:   set +e
        !           558:   as_fn_set_status $1
        !           559:   exit $1
        !           560: } # as_fn_exit
        !           561: 
        !           562: # as_fn_mkdir_p
        !           563: # -------------
        !           564: # Create "$as_dir" as a directory, including parents if necessary.
        !           565: as_fn_mkdir_p ()
        !           566: {
        !           567: 
        !           568:   case $as_dir in #(
        !           569:   -*) as_dir=./$as_dir;;
        !           570:   esac
        !           571:   test -d "$as_dir" || eval $as_mkdir_p || {
        !           572:     as_dirs=
        !           573:     while :; do
        !           574:       case $as_dir in #(
        !           575:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
        !           576:       *) as_qdir=$as_dir;;
        !           577:       esac
        !           578:       as_dirs="'$as_qdir' $as_dirs"
        !           579:       as_dir=`$as_dirname -- "$as_dir" ||
        !           580: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !           581:         X"$as_dir" : 'X\(//\)[^/]' \| \
        !           582:         X"$as_dir" : 'X\(//\)$' \| \
        !           583:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
        !           584: $as_echo X"$as_dir" |
        !           585:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
        !           586:            s//\1/
        !           587:            q
        !           588:          }
        !           589:          /^X\(\/\/\)[^/].*/{
        !           590:            s//\1/
        !           591:            q
        !           592:          }
        !           593:          /^X\(\/\/\)$/{
        !           594:            s//\1/
        !           595:            q
        !           596:          }
        !           597:          /^X\(\/\).*/{
        !           598:            s//\1/
        !           599:            q
        !           600:          }
        !           601:          s/.*/./; q'`
        !           602:       test -d "$as_dir" && break
        !           603:     done
        !           604:     test -z "$as_dirs" || eval "mkdir $as_dirs"
        !           605:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
        !           606: 
        !           607: 
        !           608: } # as_fn_mkdir_p
        !           609: 
        !           610: # as_fn_executable_p FILE
        !           611: # -----------------------
        !           612: # Test if FILE is an executable regular file.
        !           613: as_fn_executable_p ()
        !           614: {
        !           615:   test -f "$1" && test -x "$1"
        !           616: } # as_fn_executable_p
        !           617: # as_fn_append VAR VALUE
        !           618: # ----------------------
        !           619: # Append the text in VALUE to the end of the definition contained in VAR. Take
        !           620: # advantage of any shell optimizations that allow amortized linear growth over
        !           621: # repeated appends, instead of the typical quadratic growth present in naive
        !           622: # implementations.
        !           623: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
        !           624:   eval 'as_fn_append ()
        !           625:   {
        !           626:     eval $1+=\$2
        !           627:   }'
        !           628: else
        !           629:   as_fn_append ()
        !           630:   {
        !           631:     eval $1=\$$1\$2
        !           632:   }
        !           633: fi # as_fn_append
        !           634: 
        !           635: # as_fn_arith ARG...
        !           636: # ------------------
        !           637: # Perform arithmetic evaluation on the ARGs, and store the result in the
        !           638: # global $as_val. Take advantage of shells that can avoid forks. The arguments
        !           639: # must be portable across $(()) and expr.
        !           640: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
        !           641:   eval 'as_fn_arith ()
        !           642:   {
        !           643:     as_val=$(( $* ))
        !           644:   }'
        !           645: else
        !           646:   as_fn_arith ()
        !           647:   {
        !           648:     as_val=`expr "$@" || test $? -eq 1`
        !           649:   }
        !           650: fi # as_fn_arith
        !           651: 
        !           652: 
        !           653: # as_fn_error STATUS ERROR [LINENO LOG_FD]
        !           654: # ----------------------------------------
        !           655: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
        !           656: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
        !           657: # script with STATUS, using 1 if that was 0.
        !           658: as_fn_error ()
        !           659: {
        !           660:   as_status=$1; test $as_status -eq 0 && as_status=1
        !           661:   if test "$4"; then
        !           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
        !           664:   fi
        !           665:   $as_echo "$as_me: error: $2" >&2
        !           666:   as_fn_exit $as_status
        !           667: } # as_fn_error
        !           668: 
        !           669: if expr a : '\(a\)' >/dev/null 2>&1 &&
        !           670:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
        !           671:   as_expr=expr
        !           672: else
        !           673:   as_expr=false
        !           674: fi
        !           675: 
        !           676: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
        !           677:   as_basename=basename
        !           678: else
        !           679:   as_basename=false
        !           680: fi
        !           681: 
        !           682: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
        !           683:   as_dirname=dirname
        !           684: else
        !           685:   as_dirname=false
        !           686: fi
        !           687: 
        !           688: as_me=`$as_basename -- "$0" ||
        !           689: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
        !           690:         X"$0" : 'X\(//\)$' \| \
        !           691:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
        !           692: $as_echo X/"$0" |
        !           693:     sed '/^.*\/\([^/][^/]*\)\/*$/{
        !           694:            s//\1/
        !           695:            q
        !           696:          }
        !           697:          /^X\/\(\/\/\)$/{
        !           698:            s//\1/
        !           699:            q
        !           700:          }
        !           701:          /^X\/\(\/\).*/{
        !           702:            s//\1/
        !           703:            q
        !           704:          }
        !           705:          s/.*/./; q'`
        !           706: 
        !           707: # Avoid depending upon Character Ranges.
        !           708: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
        !           709: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
        !           710: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
        !           711: as_cr_digits='0123456789'
        !           712: as_cr_alnum=$as_cr_Letters$as_cr_digits
        !           713: 
        !           714: 
        !           715:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
        !           716:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
        !           717:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
        !           718:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
        !           719:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
        !           720:   sed -n '
        !           721:     p
        !           722:     /[$]LINENO/=
        !           723:   ' <$as_myself |
        !           724:     sed '
        !           725:       s/[$]LINENO.*/&-/
        !           726:       t lineno
        !           727:       b
        !           728:       :lineno
        !           729:       N
        !           730:       :loop
        !           731:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
        !           732:       t loop
        !           733:       s/-\n.*//
        !           734:     ' >$as_me.lineno &&
        !           735:   chmod +x "$as_me.lineno" ||
        !           736:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
        !           737: 
        !           738:   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
        !           739:   # already done that, so ensure we don't try to do so again and fall
        !           740:   # in an infinite loop.  This has already happened in practice.
        !           741:   _as_can_reexec=no; export _as_can_reexec
        !           742:   # Don't try to exec as it changes $[0], causing all sort of problems
        !           743:   # (the dirname of $[0] is not the place where we might find the
        !           744:   # original and so on.  Autoconf is especially sensitive to this).
        !           745:   . "./$as_me.lineno"
        !           746:   # Exit status is that of the last command.
        !           747:   exit
        !           748: }
        !           749: 
        !           750: ECHO_C= ECHO_N= ECHO_T=
        !           751: case `echo -n x` in #(((((
        !           752: -n*)
        !           753:   case `echo 'xy\c'` in
        !           754:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
        !           755:   xy)  ECHO_C='\c';;
        !           756:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
        !           757:        ECHO_T='        ';;
        !           758:   esac;;
        !           759: *)
        !           760:   ECHO_N='-n';;
        !           761: esac
        !           762: 
        !           763: rm -f conf$$ conf$$.exe conf$$.file
        !           764: if test -d conf$$.dir; then
        !           765:   rm -f conf$$.dir/conf$$.file
        !           766: else
        !           767:   rm -f conf$$.dir
        !           768:   mkdir conf$$.dir 2>/dev/null
        !           769: fi
        !           770: if (echo >conf$$.file) 2>/dev/null; then
        !           771:   if ln -s conf$$.file conf$$ 2>/dev/null; then
        !           772:     as_ln_s='ln -s'
        !           773:     # ... but there are two gotchas:
        !           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'
        !           779:   elif ln conf$$.file conf$$ 2>/dev/null; then
        !           780:     as_ln_s=ln
        !           781:   else
        !           782:     as_ln_s='cp -pR'
        !           783:   fi
        !           784: else
        !           785:   as_ln_s='cp -pR'
        !           786: fi
        !           787: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
        !           788: rmdir conf$$.dir 2>/dev/null
        !           789: 
        !           790: if mkdir -p . 2>/dev/null; then
        !           791:   as_mkdir_p='mkdir -p "$as_dir"'
        !           792: else
        !           793:   test -d ./-p && rmdir ./-p
        !           794:   as_mkdir_p=false
        !           795: fi
        !           796: 
        !           797: as_test_x='test -x'
        !           798: as_executable_p=as_fn_executable_p
        !           799: 
        !           800: # Sed expression to map a string onto a valid CPP name.
        !           801: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
        !           802: 
        !           803: # Sed expression to map a string onto a valid variable name.
        !           804: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
        !           805: 
        !           806: SHELL=${CONFIG_SHELL-/bin/sh}
        !           807: 
        !           808: 
        !           809: test -n "$DJDIR" || exec 7<&0 </dev/null
        !           810: exec 6>&1
        !           811: 
        !           812: # Name of the host.
        !           813: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
        !           814: # so uname gets run too.
        !           815: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
        !           816: 
        !           817: #
        !           818: # Initializations.
        !           819: #
        !           820: ac_default_prefix=/usr/local
        !           821: ac_clean_files=
        !           822: ac_config_libobj_dir=.
        !           823: LIBOBJS=
        !           824: cross_compiling=no
        !           825: subdirs=
        !           826: MFLAGS=
        !           827: MAKEFLAGS=
        !           828: 
        !           829: # Identity of this package.
        !           830: PACKAGE_NAME='curl'
        !           831: PACKAGE_TARNAME='curl'
        !           832: PACKAGE_VERSION='-'
        !           833: PACKAGE_STRING='curl -'
        !           834: PACKAGE_BUGREPORT='a suitable curl mailing list: https://curl.haxx.se/mail/'
        !           835: PACKAGE_URL=''
        !           836: 
        !           837: ac_unique_file="lib/urldata.h"
        !           838: # Factoring default headers for most tests.
        !           839: ac_includes_default="\
        !           840: #include <stdio.h>
        !           841: #ifdef HAVE_SYS_TYPES_H
        !           842: # include <sys/types.h>
        !           843: #endif
        !           844: #ifdef HAVE_SYS_STAT_H
        !           845: # include <sys/stat.h>
        !           846: #endif
        !           847: #ifdef STDC_HEADERS
        !           848: # include <stdlib.h>
        !           849: # include <stddef.h>
        !           850: #else
        !           851: # ifdef HAVE_STDLIB_H
        !           852: #  include <stdlib.h>
        !           853: # endif
        !           854: #endif
        !           855: #ifdef HAVE_STRING_H
        !           856: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
        !           857: #  include <memory.h>
        !           858: # endif
        !           859: # include <string.h>
        !           860: #endif
        !           861: #ifdef HAVE_STRINGS_H
        !           862: # include <strings.h>
        !           863: #endif
        !           864: #ifdef HAVE_INTTYPES_H
        !           865: # include <inttypes.h>
        !           866: #endif
        !           867: #ifdef HAVE_STDINT_H
        !           868: # include <stdint.h>
        !           869: #endif
        !           870: #ifdef HAVE_UNISTD_H
        !           871: # include <unistd.h>
        !           872: #endif"
        !           873: 
        !           874: enable_option_checking=no
        !           875: ac_subst_vars='am__EXEEXT_FALSE
        !           876: am__EXEEXT_TRUE
        !           877: LTLIBOBJS
        !           878: LIBOBJS
        !           879: SSL_BACKENDS
        !           880: SUPPORT_PROTOCOLS
        !           881: SUPPORT_FEATURES
        !           882: ENABLE_STATIC
        !           883: ENABLE_SHARED
        !           884: CROSSCOMPILING_FALSE
        !           885: CROSSCOMPILING_TRUE
        !           886: BLANK_AT_MAKETIME
        !           887: CURL_NETWORK_AND_TIME_LIBS
        !           888: CURL_NETWORK_LIBS
        !           889: LIBCURL_LIBS
        !           890: CFLAG_CURL_SYMBOL_HIDING
        !           891: DOING_CURL_SYMBOL_HIDING_FALSE
        !           892: DOING_CURL_SYMBOL_HIDING_TRUE
        !           893: USE_UNIX_SOCKETS
        !           894: BUILD_LIBHOSTNAME_FALSE
        !           895: BUILD_LIBHOSTNAME_TRUE
        !           896: USE_EMBEDDED_ARES_FALSE
        !           897: USE_EMBEDDED_ARES_TRUE
        !           898: USE_ARES
        !           899: subdirs
        !           900: USE_MANUAL_FALSE
        !           901: USE_MANUAL_TRUE
        !           902: MANOPT
        !           903: NROFF
        !           904: PERL
        !           905: FISH_FUNCTIONS_DIR
        !           906: ZSH_FUNCTIONS_DIR
        !           907: USE_QUICHE
        !           908: USE_NGHTTP3
        !           909: USE_NGTCP2_CRYPTO_GNUTLS
        !           910: USE_NGTCP2_CRYPTO_OPENSSL
        !           911: USE_NGTCP2
        !           912: USE_NGHTTP2
        !           913: IDN_ENABLED
        !           914: CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE
        !           915: CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE
        !           916: CURL_LT_SHLIB_VERSIONED_FLAVOUR
        !           917: USE_LIBRTMP
        !           918: USE_WOLFSSH
        !           919: USE_LIBSSH
        !           920: USE_LIBSSH2
        !           921: LIBMETALINK_CPPFLAGS
        !           922: LIBMETALINK_LDFLAGS
        !           923: LIBMETALINK_LIBS
        !           924: USE_LIBPSL_FALSE
        !           925: USE_LIBPSL_TRUE
        !           926: CURL_CA_BUNDLE
        !           927: CURL_WITH_MULTI_SSL
        !           928: SSL_ENABLED
        !           929: NSS_LIBS
        !           930: USE_NSS
        !           931: USE_BEARSSL
        !           932: USE_MESALINK
        !           933: USE_WOLFSSL
        !           934: USE_MBEDTLS
        !           935: HAVE_GNUTLS_SRP
        !           936: USE_GNUTLS_NETTLE
        !           937: USE_GNUTLS
        !           938: HAVE_OPENSSL_SRP
        !           939: RANDOM_FILE
        !           940: SSL_LIBS
        !           941: USE_SECTRANSP
        !           942: USE_WINDOWS_SSPI
        !           943: USE_SCHANNEL
        !           944: DEFAULT_SSL_BACKEND
        !           945: BUILD_STUB_GSS_FALSE
        !           946: BUILD_STUB_GSS_TRUE
        !           947: IPV6_ENABLED
        !           948: USE_OPENLDAP
        !           949: HAVE_BROTLI
        !           950: ZLIB_LIBS
        !           951: HAVE_LIBZ_FALSE
        !           952: HAVE_LIBZ_TRUE
        !           953: HAVE_LIBZ
        !           954: PKGCONFIG
        !           955: HAVE_PROTO_BSDSOCKET_H
        !           956: CURL_ENABLE_MQTT
        !           957: CURL_DISABLE_GOPHER
        !           958: CURL_DISABLE_SMTP
        !           959: CURL_DISABLE_SMB
        !           960: CURL_DISABLE_IMAP
        !           961: CURL_DISABLE_POP3
        !           962: CURL_DISABLE_TFTP
        !           963: CURL_DISABLE_TELNET
        !           964: CURL_DISABLE_DICT
        !           965: CURL_DISABLE_PROXY
        !           966: HAVE_LDAP_SSL
        !           967: CURL_DISABLE_LDAPS
        !           968: CURL_DISABLE_LDAP
        !           969: CURL_DISABLE_FILE
        !           970: CURL_DISABLE_FTP
        !           971: CURL_DISABLE_RTSP
        !           972: CURL_DISABLE_HTTP
        !           973: DOING_NATIVE_WINDOWS_FALSE
        !           974: DOING_NATIVE_WINDOWS_TRUE
        !           975: BUILD_UNITTESTS_FALSE
        !           976: BUILD_UNITTESTS_TRUE
        !           977: CURLDEBUG_FALSE
        !           978: CURLDEBUG_TRUE
        !           979: CURL_CFLAG_EXTRAS
        !           980: USE_EXPLICIT_LIB_DEPS_FALSE
        !           981: USE_EXPLICIT_LIB_DEPS_TRUE
        !           982: REQUIRE_LIB_DEPS
        !           983: CPPFLAG_CURL_STATICLIB
        !           984: USE_CPPFLAG_CURL_STATICLIB_FALSE
        !           985: USE_CPPFLAG_CURL_STATICLIB_TRUE
        !           986: CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE
        !           987: CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE
        !           988: CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE
        !           989: CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE
        !           990: CURL_LT_SHLIB_USE_VERSION_INFO_FALSE
        !           991: CURL_LT_SHLIB_USE_VERSION_INFO_TRUE
        !           992: LT_SYS_LIBRARY_PATH
        !           993: OTOOL64
        !           994: OTOOL
        !           995: LIPO
        !           996: NMEDIT
        !           997: DSYMUTIL
        !           998: MANIFEST_TOOL
        !           999: RANLIB
        !          1000: ac_ct_AR
        !          1001: LN_S
        !          1002: NM
        !          1003: ac_ct_DUMPBIN
        !          1004: DUMPBIN
        !          1005: LD
        !          1006: FGREP
        !          1007: LIBTOOL
        !          1008: OBJDUMP
        !          1009: DLLTOOL
        !          1010: AS
        !          1011: AR_FLAGS
        !          1012: host_os
        !          1013: host_vendor
        !          1014: host_cpu
        !          1015: host
        !          1016: build_os
        !          1017: build_vendor
        !          1018: build_cpu
        !          1019: build
        !          1020: PKGADD_VENDOR
        !          1021: PKGADD_NAME
        !          1022: PKGADD_PKG
        !          1023: VERSIONNUM
        !          1024: CURLVERSION
        !          1025: am__fastdepCC_FALSE
        !          1026: am__fastdepCC_TRUE
        !          1027: CCDEPMODE
        !          1028: am__nodep
        !          1029: AMDEPBACKSLASH
        !          1030: AMDEP_FALSE
        !          1031: AMDEP_TRUE
        !          1032: am__include
        !          1033: DEPDIR
        !          1034: am__untar
        !          1035: am__tar
        !          1036: AMTAR
        !          1037: am__leading_dot
        !          1038: SET_MAKE
        !          1039: AWK
        !          1040: mkdir_p
        !          1041: MKDIR_P
        !          1042: INSTALL_STRIP_PROGRAM
        !          1043: STRIP
        !          1044: install_sh
        !          1045: MAKEINFO
        !          1046: AUTOHEADER
        !          1047: AUTOMAKE
        !          1048: AUTOCONF
        !          1049: ACLOCAL
        !          1050: VERSION
        !          1051: PACKAGE
        !          1052: CYGPATH_W
        !          1053: am__isrc
        !          1054: LCOV
        !          1055: GCOV
        !          1056: CPP
        !          1057: OBJEXT
        !          1058: EXEEXT
        !          1059: ac_ct_CC
        !          1060: CPPFLAGS
        !          1061: LDFLAGS
        !          1062: CFLAGS
        !          1063: CC
        !          1064: INSTALL_DATA
        !          1065: INSTALL_SCRIPT
        !          1066: INSTALL_PROGRAM
        !          1067: libext
        !          1068: AR
        !          1069: EGREP
        !          1070: GREP
        !          1071: SED
        !          1072: CONFIGURE_OPTIONS
        !          1073: AM_BACKSLASH
        !          1074: AM_DEFAULT_VERBOSITY
        !          1075: AM_DEFAULT_V
        !          1076: AM_V
        !          1077: MAINT
        !          1078: MAINTAINER_MODE_FALSE
        !          1079: MAINTAINER_MODE_TRUE
        !          1080: target_alias
        !          1081: host_alias
        !          1082: build_alias
        !          1083: LIBS
        !          1084: ECHO_T
        !          1085: ECHO_N
        !          1086: ECHO_C
        !          1087: DEFS
        !          1088: mandir
        !          1089: localedir
        !          1090: libdir
        !          1091: psdir
        !          1092: pdfdir
        !          1093: dvidir
        !          1094: htmldir
        !          1095: infodir
        !          1096: docdir
        !          1097: oldincludedir
        !          1098: includedir
        !          1099: runstatedir
        !          1100: localstatedir
        !          1101: sharedstatedir
        !          1102: sysconfdir
        !          1103: datadir
        !          1104: datarootdir
        !          1105: libexecdir
        !          1106: sbindir
        !          1107: bindir
        !          1108: program_transform_name
        !          1109: prefix
        !          1110: exec_prefix
        !          1111: PACKAGE_URL
        !          1112: PACKAGE_BUGREPORT
        !          1113: PACKAGE_STRING
        !          1114: PACKAGE_VERSION
        !          1115: PACKAGE_TARNAME
        !          1116: PACKAGE_NAME
        !          1117: SHELL
        !          1118: PATH_SEPARATOR
        !          1119: am__quote'
        !          1120: ac_subst_files=''
        !          1121: ac_user_opts='
        !          1122: enable_option_checking
        !          1123: enable_maintainer_mode
        !          1124: enable_silent_rules
        !          1125: enable_debug
        !          1126: enable_optimize
        !          1127: enable_warnings
        !          1128: enable_werror
        !          1129: enable_curldebug
        !          1130: enable_symbol_hiding
        !          1131: enable_hidden_symbols
        !          1132: enable_ares
        !          1133: enable_rt
        !          1134: enable_esni
        !          1135: enable_code_coverage
        !          1136: enable_dependency_tracking
        !          1137: enable_largefile
        !          1138: enable_shared
        !          1139: enable_static
        !          1140: with_pic
        !          1141: enable_fast_install
        !          1142: with_aix_soname
        !          1143: with_gnu_ld
        !          1144: with_sysroot
        !          1145: enable_libtool_lock
        !          1146: enable_http
        !          1147: enable_ftp
        !          1148: enable_file
        !          1149: enable_ldap
        !          1150: enable_ldaps
        !          1151: enable_rtsp
        !          1152: enable_proxy
        !          1153: enable_dict
        !          1154: enable_telnet
        !          1155: enable_tftp
        !          1156: enable_pop3
        !          1157: enable_imap
        !          1158: enable_smb
        !          1159: enable_smtp
        !          1160: enable_gopher
        !          1161: enable_mqtt
        !          1162: enable_manual
        !          1163: enable_libcurl_option
        !          1164: enable_libgcc
        !          1165: with_zlib
        !          1166: with_brotli
        !          1167: with_ldap_lib
        !          1168: with_lber_lib
        !          1169: enable_ipv6
        !          1170: with_gssapi_includes
        !          1171: with_gssapi_libs
        !          1172: with_gssapi
        !          1173: with_default_ssl_backend
        !          1174: with_winssl
        !          1175: with_schannel
        !          1176: with_darwinssl
        !          1177: with_secure_transport
        !          1178: with_amissl
        !          1179: with_ssl
        !          1180: with_egd_socket
        !          1181: with_random
        !          1182: enable_openssl_auto_load_config
        !          1183: with_gnutls
        !          1184: with_mbedtls
        !          1185: with_wolfssl
        !          1186: with_mesalink
        !          1187: with_bearssl
        !          1188: with_nss
        !          1189: with_ca_bundle
        !          1190: with_ca_path
        !          1191: with_ca_fallback
        !          1192: with_libpsl
        !          1193: with_libmetalink
        !          1194: with_libssh2
        !          1195: with_libssh
        !          1196: with_wolfssh
        !          1197: with_librtmp
        !          1198: enable_versioned_symbols
        !          1199: with_winidn
        !          1200: with_libidn2
        !          1201: with_nghttp2
        !          1202: with_ngtcp2
        !          1203: with_nghttp3
        !          1204: with_quiche
        !          1205: with_zsh_functions_dir
        !          1206: with_fish_functions_dir
        !          1207: enable_threaded_resolver
        !          1208: enable_pthreads
        !          1209: enable_verbose
        !          1210: enable_sspi
        !          1211: enable_crypto_auth
        !          1212: enable_ntlm_wb
        !          1213: enable_tls_srp
        !          1214: enable_unix_sockets
        !          1215: enable_cookies
        !          1216: enable_http_auth
        !          1217: enable_doh
        !          1218: enable_mime
        !          1219: enable_dateparse
        !          1220: enable_netrc
        !          1221: enable_progress_meter
        !          1222: enable_dnsshuffle
        !          1223: enable_alt_svc
        !          1224: '
        !          1225:       ac_precious_vars='build_alias
        !          1226: host_alias
        !          1227: target_alias
        !          1228: CC
        !          1229: CFLAGS
        !          1230: LDFLAGS
        !          1231: LIBS
        !          1232: CPPFLAGS
        !          1233: CPP
        !          1234: LT_SYS_LIBRARY_PATH'
        !          1235: ac_subdirs_all='ares'
        !          1236: 
        !          1237: # Initialize some variables set by options.
        !          1238: ac_init_help=
        !          1239: ac_init_version=false
        !          1240: ac_unrecognized_opts=
        !          1241: ac_unrecognized_sep=
        !          1242: # The variables have the same names as the options, with
        !          1243: # dashes changed to underlines.
        !          1244: cache_file=/dev/null
        !          1245: exec_prefix=NONE
        !          1246: no_create=
        !          1247: no_recursion=
        !          1248: prefix=NONE
        !          1249: program_prefix=NONE
        !          1250: program_suffix=NONE
        !          1251: program_transform_name=s,x,x,
        !          1252: silent=
        !          1253: site=
        !          1254: srcdir=
        !          1255: verbose=
        !          1256: x_includes=NONE
        !          1257: x_libraries=NONE
        !          1258: 
        !          1259: # Installation directory options.
        !          1260: # These are left unexpanded so users can "make install exec_prefix=/foo"
        !          1261: # and all the variables that are supposed to be based on exec_prefix
        !          1262: # by default will actually change.
        !          1263: # Use braces instead of parens because sh, perl, etc. also accept them.
        !          1264: # (The list follows the same order as the GNU Coding Standards.)
        !          1265: bindir='${exec_prefix}/bin'
        !          1266: sbindir='${exec_prefix}/sbin'
        !          1267: libexecdir='${exec_prefix}/libexec'
        !          1268: datarootdir='${prefix}/share'
        !          1269: datadir='${datarootdir}'
        !          1270: sysconfdir='${prefix}/etc'
        !          1271: sharedstatedir='${prefix}/com'
        !          1272: localstatedir='${prefix}/var'
        !          1273: runstatedir='${localstatedir}/run'
        !          1274: includedir='${prefix}/include'
        !          1275: oldincludedir='/usr/include'
        !          1276: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
        !          1277: infodir='${datarootdir}/info'
        !          1278: htmldir='${docdir}'
        !          1279: dvidir='${docdir}'
        !          1280: pdfdir='${docdir}'
        !          1281: psdir='${docdir}'
        !          1282: libdir='${exec_prefix}/lib'
        !          1283: localedir='${datarootdir}/locale'
        !          1284: mandir='${datarootdir}/man'
        !          1285: 
        !          1286: ac_prev=
        !          1287: ac_dashdash=
        !          1288: for ac_option
        !          1289: do
        !          1290:   # If the previous option needs an argument, assign it.
        !          1291:   if test -n "$ac_prev"; then
        !          1292:     eval $ac_prev=\$ac_option
        !          1293:     ac_prev=
        !          1294:     continue
        !          1295:   fi
        !          1296: 
        !          1297:   case $ac_option in
        !          1298:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
        !          1299:   *=)   ac_optarg= ;;
        !          1300:   *)    ac_optarg=yes ;;
        !          1301:   esac
        !          1302: 
        !          1303:   # Accept the important Cygnus configure options, so we can diagnose typos.
        !          1304: 
        !          1305:   case $ac_dashdash$ac_option in
        !          1306:   --)
        !          1307:     ac_dashdash=yes ;;
        !          1308: 
        !          1309:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
        !          1310:     ac_prev=bindir ;;
        !          1311:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
        !          1312:     bindir=$ac_optarg ;;
        !          1313: 
        !          1314:   -build | --build | --buil | --bui | --bu)
        !          1315:     ac_prev=build_alias ;;
        !          1316:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
        !          1317:     build_alias=$ac_optarg ;;
        !          1318: 
        !          1319:   -cache-file | --cache-file | --cache-fil | --cache-fi \
        !          1320:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
        !          1321:     ac_prev=cache_file ;;
        !          1322:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
        !          1323:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
        !          1324:     cache_file=$ac_optarg ;;
        !          1325: 
        !          1326:   --config-cache | -C)
        !          1327:     cache_file=config.cache ;;
        !          1328: 
        !          1329:   -datadir | --datadir | --datadi | --datad)
        !          1330:     ac_prev=datadir ;;
        !          1331:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
        !          1332:     datadir=$ac_optarg ;;
        !          1333: 
        !          1334:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
        !          1335:   | --dataroo | --dataro | --datar)
        !          1336:     ac_prev=datarootdir ;;
        !          1337:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
        !          1338:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
        !          1339:     datarootdir=$ac_optarg ;;
        !          1340: 
        !          1341:   -disable-* | --disable-*)
        !          1342:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
        !          1343:     # Reject names that are not valid shell variable names.
        !          1344:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
        !          1345:       as_fn_error $? "invalid feature name: $ac_useropt"
        !          1346:     ac_useropt_orig=$ac_useropt
        !          1347:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
        !          1348:     case $ac_user_opts in
        !          1349:       *"
        !          1350: "enable_$ac_useropt"
        !          1351: "*) ;;
        !          1352:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
        !          1353:         ac_unrecognized_sep=', ';;
        !          1354:     esac
        !          1355:     eval enable_$ac_useropt=no ;;
        !          1356: 
        !          1357:   -docdir | --docdir | --docdi | --doc | --do)
        !          1358:     ac_prev=docdir ;;
        !          1359:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
        !          1360:     docdir=$ac_optarg ;;
        !          1361: 
        !          1362:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
        !          1363:     ac_prev=dvidir ;;
        !          1364:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
        !          1365:     dvidir=$ac_optarg ;;
        !          1366: 
        !          1367:   -enable-* | --enable-*)
        !          1368:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
        !          1369:     # Reject names that are not valid shell variable names.
        !          1370:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
        !          1371:       as_fn_error $? "invalid feature name: $ac_useropt"
        !          1372:     ac_useropt_orig=$ac_useropt
        !          1373:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
        !          1374:     case $ac_user_opts in
        !          1375:       *"
        !          1376: "enable_$ac_useropt"
        !          1377: "*) ;;
        !          1378:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
        !          1379:         ac_unrecognized_sep=', ';;
        !          1380:     esac
        !          1381:     eval enable_$ac_useropt=\$ac_optarg ;;
        !          1382: 
        !          1383:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
        !          1384:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
        !          1385:   | --exec | --exe | --ex)
        !          1386:     ac_prev=exec_prefix ;;
        !          1387:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
        !          1388:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
        !          1389:   | --exec=* | --exe=* | --ex=*)
        !          1390:     exec_prefix=$ac_optarg ;;
        !          1391: 
        !          1392:   -gas | --gas | --ga | --g)
        !          1393:     # Obsolete; use --with-gas.
        !          1394:     with_gas=yes ;;
        !          1395: 
        !          1396:   -help | --help | --hel | --he | -h)
        !          1397:     ac_init_help=long ;;
        !          1398:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
        !          1399:     ac_init_help=recursive ;;
        !          1400:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
        !          1401:     ac_init_help=short ;;
        !          1402: 
        !          1403:   -host | --host | --hos | --ho)
        !          1404:     ac_prev=host_alias ;;
        !          1405:   -host=* | --host=* | --hos=* | --ho=*)
        !          1406:     host_alias=$ac_optarg ;;
        !          1407: 
        !          1408:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
        !          1409:     ac_prev=htmldir ;;
        !          1410:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
        !          1411:   | --ht=*)
        !          1412:     htmldir=$ac_optarg ;;
        !          1413: 
        !          1414:   -includedir | --includedir | --includedi | --included | --include \
        !          1415:   | --includ | --inclu | --incl | --inc)
        !          1416:     ac_prev=includedir ;;
        !          1417:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
        !          1418:   | --includ=* | --inclu=* | --incl=* | --inc=*)
        !          1419:     includedir=$ac_optarg ;;
        !          1420: 
        !          1421:   -infodir | --infodir | --infodi | --infod | --info | --inf)
        !          1422:     ac_prev=infodir ;;
        !          1423:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
        !          1424:     infodir=$ac_optarg ;;
        !          1425: 
        !          1426:   -libdir | --libdir | --libdi | --libd)
        !          1427:     ac_prev=libdir ;;
        !          1428:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
        !          1429:     libdir=$ac_optarg ;;
        !          1430: 
        !          1431:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
        !          1432:   | --libexe | --libex | --libe)
        !          1433:     ac_prev=libexecdir ;;
        !          1434:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
        !          1435:   | --libexe=* | --libex=* | --libe=*)
        !          1436:     libexecdir=$ac_optarg ;;
        !          1437: 
        !          1438:   -localedir | --localedir | --localedi | --localed | --locale)
        !          1439:     ac_prev=localedir ;;
        !          1440:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
        !          1441:     localedir=$ac_optarg ;;
        !          1442: 
        !          1443:   -localstatedir | --localstatedir | --localstatedi | --localstated \
        !          1444:   | --localstate | --localstat | --localsta | --localst | --locals)
        !          1445:     ac_prev=localstatedir ;;
        !          1446:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
        !          1447:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
        !          1448:     localstatedir=$ac_optarg ;;
        !          1449: 
        !          1450:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
        !          1451:     ac_prev=mandir ;;
        !          1452:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
        !          1453:     mandir=$ac_optarg ;;
        !          1454: 
        !          1455:   -nfp | --nfp | --nf)
        !          1456:     # Obsolete; use --without-fp.
        !          1457:     with_fp=no ;;
        !          1458: 
        !          1459:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
        !          1460:   | --no-cr | --no-c | -n)
        !          1461:     no_create=yes ;;
        !          1462: 
        !          1463:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
        !          1464:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
        !          1465:     no_recursion=yes ;;
        !          1466: 
        !          1467:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
        !          1468:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
        !          1469:   | --oldin | --oldi | --old | --ol | --o)
        !          1470:     ac_prev=oldincludedir ;;
        !          1471:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
        !          1472:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
        !          1473:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
        !          1474:     oldincludedir=$ac_optarg ;;
        !          1475: 
        !          1476:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
        !          1477:     ac_prev=prefix ;;
        !          1478:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
        !          1479:     prefix=$ac_optarg ;;
        !          1480: 
        !          1481:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
        !          1482:   | --program-pre | --program-pr | --program-p)
        !          1483:     ac_prev=program_prefix ;;
        !          1484:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
        !          1485:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
        !          1486:     program_prefix=$ac_optarg ;;
        !          1487: 
        !          1488:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
        !          1489:   | --program-suf | --program-su | --program-s)
        !          1490:     ac_prev=program_suffix ;;
        !          1491:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
        !          1492:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
        !          1493:     program_suffix=$ac_optarg ;;
        !          1494: 
        !          1495:   -program-transform-name | --program-transform-name \
        !          1496:   | --program-transform-nam | --program-transform-na \
        !          1497:   | --program-transform-n | --program-transform- \
        !          1498:   | --program-transform | --program-transfor \
        !          1499:   | --program-transfo | --program-transf \
        !          1500:   | --program-trans | --program-tran \
        !          1501:   | --progr-tra | --program-tr | --program-t)
        !          1502:     ac_prev=program_transform_name ;;
        !          1503:   -program-transform-name=* | --program-transform-name=* \
        !          1504:   | --program-transform-nam=* | --program-transform-na=* \
        !          1505:   | --program-transform-n=* | --program-transform-=* \
        !          1506:   | --program-transform=* | --program-transfor=* \
        !          1507:   | --program-transfo=* | --program-transf=* \
        !          1508:   | --program-trans=* | --program-tran=* \
        !          1509:   | --progr-tra=* | --program-tr=* | --program-t=*)
        !          1510:     program_transform_name=$ac_optarg ;;
        !          1511: 
        !          1512:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
        !          1513:     ac_prev=pdfdir ;;
        !          1514:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
        !          1515:     pdfdir=$ac_optarg ;;
        !          1516: 
        !          1517:   -psdir | --psdir | --psdi | --psd | --ps)
        !          1518:     ac_prev=psdir ;;
        !          1519:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
        !          1520:     psdir=$ac_optarg ;;
        !          1521: 
        !          1522:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
        !          1523:   | -silent | --silent | --silen | --sile | --sil)
        !          1524:     silent=yes ;;
        !          1525: 
        !          1526:   -runstatedir | --runstatedir | --runstatedi | --runstated \
        !          1527:   | --runstate | --runstat | --runsta | --runst | --runs \
        !          1528:   | --run | --ru | --r)
        !          1529:     ac_prev=runstatedir ;;
        !          1530:   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
        !          1531:   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
        !          1532:   | --run=* | --ru=* | --r=*)
        !          1533:     runstatedir=$ac_optarg ;;
        !          1534: 
        !          1535:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
        !          1536:     ac_prev=sbindir ;;
        !          1537:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
        !          1538:   | --sbi=* | --sb=*)
        !          1539:     sbindir=$ac_optarg ;;
        !          1540: 
        !          1541:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
        !          1542:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
        !          1543:   | --sharedst | --shareds | --shared | --share | --shar \
        !          1544:   | --sha | --sh)
        !          1545:     ac_prev=sharedstatedir ;;
        !          1546:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
        !          1547:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
        !          1548:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
        !          1549:   | --sha=* | --sh=*)
        !          1550:     sharedstatedir=$ac_optarg ;;
        !          1551: 
        !          1552:   -site | --site | --sit)
        !          1553:     ac_prev=site ;;
        !          1554:   -site=* | --site=* | --sit=*)
        !          1555:     site=$ac_optarg ;;
        !          1556: 
        !          1557:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
        !          1558:     ac_prev=srcdir ;;
        !          1559:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
        !          1560:     srcdir=$ac_optarg ;;
        !          1561: 
        !          1562:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
        !          1563:   | --syscon | --sysco | --sysc | --sys | --sy)
        !          1564:     ac_prev=sysconfdir ;;
        !          1565:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
        !          1566:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
        !          1567:     sysconfdir=$ac_optarg ;;
        !          1568: 
        !          1569:   -target | --target | --targe | --targ | --tar | --ta | --t)
        !          1570:     ac_prev=target_alias ;;
        !          1571:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
        !          1572:     target_alias=$ac_optarg ;;
        !          1573: 
        !          1574:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
        !          1575:     verbose=yes ;;
        !          1576: 
        !          1577:   -version | --version | --versio | --versi | --vers | -V)
        !          1578:     ac_init_version=: ;;
        !          1579: 
        !          1580:   -with-* | --with-*)
        !          1581:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
        !          1582:     # Reject names that are not valid shell variable names.
        !          1583:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
        !          1584:       as_fn_error $? "invalid package name: $ac_useropt"
        !          1585:     ac_useropt_orig=$ac_useropt
        !          1586:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
        !          1587:     case $ac_user_opts in
        !          1588:       *"
        !          1589: "with_$ac_useropt"
        !          1590: "*) ;;
        !          1591:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
        !          1592:         ac_unrecognized_sep=', ';;
        !          1593:     esac
        !          1594:     eval with_$ac_useropt=\$ac_optarg ;;
        !          1595: 
        !          1596:   -without-* | --without-*)
        !          1597:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
        !          1598:     # Reject names that are not valid shell variable names.
        !          1599:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
        !          1600:       as_fn_error $? "invalid package name: $ac_useropt"
        !          1601:     ac_useropt_orig=$ac_useropt
        !          1602:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
        !          1603:     case $ac_user_opts in
        !          1604:       *"
        !          1605: "with_$ac_useropt"
        !          1606: "*) ;;
        !          1607:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
        !          1608:         ac_unrecognized_sep=', ';;
        !          1609:     esac
        !          1610:     eval with_$ac_useropt=no ;;
        !          1611: 
        !          1612:   --x)
        !          1613:     # Obsolete; use --with-x.
        !          1614:     with_x=yes ;;
        !          1615: 
        !          1616:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
        !          1617:   | --x-incl | --x-inc | --x-in | --x-i)
        !          1618:     ac_prev=x_includes ;;
        !          1619:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
        !          1620:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
        !          1621:     x_includes=$ac_optarg ;;
        !          1622: 
        !          1623:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
        !          1624:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
        !          1625:     ac_prev=x_libraries ;;
        !          1626:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
        !          1627:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
        !          1628:     x_libraries=$ac_optarg ;;
        !          1629: 
        !          1630:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
        !          1631: Try \`$0 --help' for more information"
        !          1632:     ;;
        !          1633: 
        !          1634:   *=*)
        !          1635:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
        !          1636:     # Reject names that are not valid shell variable names.
        !          1637:     case $ac_envvar in #(
        !          1638:       '' | [0-9]* | *[!_$as_cr_alnum]* )
        !          1639:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
        !          1640:     esac
        !          1641:     eval $ac_envvar=\$ac_optarg
        !          1642:     export $ac_envvar ;;
        !          1643: 
        !          1644:   *)
        !          1645:     # FIXME: should be removed in autoconf 3.0.
        !          1646:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
        !          1647:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
        !          1648:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
        !          1649:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
        !          1650:     ;;
        !          1651: 
        !          1652:   esac
        !          1653: done
        !          1654: 
        !          1655: if test -n "$ac_prev"; then
        !          1656:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
        !          1657:   as_fn_error $? "missing argument to $ac_option"
        !          1658: fi
        !          1659: 
        !          1660: if test -n "$ac_unrecognized_opts"; then
        !          1661:   case $enable_option_checking in
        !          1662:     no) ;;
        !          1663:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
        !          1664:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
        !          1665:   esac
        !          1666: fi
        !          1667: 
        !          1668: # Check all directory arguments for consistency.
        !          1669: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
        !          1670:                datadir sysconfdir sharedstatedir localstatedir includedir \
        !          1671:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
        !          1672:                libdir localedir mandir runstatedir
        !          1673: do
        !          1674:   eval ac_val=\$$ac_var
        !          1675:   # Remove trailing slashes.
        !          1676:   case $ac_val in
        !          1677:     */ )
        !          1678:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
        !          1679:       eval $ac_var=\$ac_val;;
        !          1680:   esac
        !          1681:   # Be sure to have absolute directory names.
        !          1682:   case $ac_val in
        !          1683:     [\\/$]* | ?:[\\/]* )  continue;;
        !          1684:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
        !          1685:   esac
        !          1686:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
        !          1687: done
        !          1688: 
        !          1689: # There might be people who depend on the old broken behavior: `$host'
        !          1690: # used to hold the argument of --host etc.
        !          1691: # FIXME: To remove some day.
        !          1692: build=$build_alias
        !          1693: host=$host_alias
        !          1694: target=$target_alias
        !          1695: 
        !          1696: # FIXME: To remove some day.
        !          1697: if test "x$host_alias" != x; then
        !          1698:   if test "x$build_alias" = x; then
        !          1699:     cross_compiling=maybe
        !          1700:   elif test "x$build_alias" != "x$host_alias"; then
        !          1701:     cross_compiling=yes
        !          1702:   fi
        !          1703: fi
        !          1704: 
        !          1705: ac_tool_prefix=
        !          1706: test -n "$host_alias" && ac_tool_prefix=$host_alias-
        !          1707: 
        !          1708: test "$silent" = yes && exec 6>/dev/null
        !          1709: 
        !          1710: 
        !          1711: ac_pwd=`pwd` && test -n "$ac_pwd" &&
        !          1712: ac_ls_di=`ls -di .` &&
        !          1713: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
        !          1714:   as_fn_error $? "working directory cannot be determined"
        !          1715: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
        !          1716:   as_fn_error $? "pwd does not report name of working directory"
        !          1717: 
        !          1718: 
        !          1719: # Find the source files, if location was not specified.
        !          1720: if test -z "$srcdir"; then
        !          1721:   ac_srcdir_defaulted=yes
        !          1722:   # Try the directory containing this script, then the parent directory.
        !          1723:   ac_confdir=`$as_dirname -- "$as_myself" ||
        !          1724: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          1725:         X"$as_myself" : 'X\(//\)[^/]' \| \
        !          1726:         X"$as_myself" : 'X\(//\)$' \| \
        !          1727:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
        !          1728: $as_echo X"$as_myself" |
        !          1729:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
        !          1730:            s//\1/
        !          1731:            q
        !          1732:          }
        !          1733:          /^X\(\/\/\)[^/].*/{
        !          1734:            s//\1/
        !          1735:            q
        !          1736:          }
        !          1737:          /^X\(\/\/\)$/{
        !          1738:            s//\1/
        !          1739:            q
        !          1740:          }
        !          1741:          /^X\(\/\).*/{
        !          1742:            s//\1/
        !          1743:            q
        !          1744:          }
        !          1745:          s/.*/./; q'`
        !          1746:   srcdir=$ac_confdir
        !          1747:   if test ! -r "$srcdir/$ac_unique_file"; then
        !          1748:     srcdir=..
        !          1749:   fi
        !          1750: else
        !          1751:   ac_srcdir_defaulted=no
        !          1752: fi
        !          1753: if test ! -r "$srcdir/$ac_unique_file"; then
        !          1754:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
        !          1755:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
        !          1756: fi
        !          1757: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
        !          1758: ac_abs_confdir=`(
        !          1759:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
        !          1760:        pwd)`
        !          1761: # When building in place, set srcdir=.
        !          1762: if test "$ac_abs_confdir" = "$ac_pwd"; then
        !          1763:   srcdir=.
        !          1764: fi
        !          1765: # Remove unnecessary trailing slashes from srcdir.
        !          1766: # Double slashes in file names in object file debugging info
        !          1767: # mess up M-x gdb in Emacs.
        !          1768: case $srcdir in
        !          1769: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
        !          1770: esac
        !          1771: for ac_var in $ac_precious_vars; do
        !          1772:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
        !          1773:   eval ac_env_${ac_var}_value=\$${ac_var}
        !          1774:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
        !          1775:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
        !          1776: done
        !          1777: 
        !          1778: #
        !          1779: # Report the --help message.
        !          1780: #
        !          1781: if test "$ac_init_help" = "long"; then
        !          1782:   # Omit some internal or obsolete options to make the list less imposing.
        !          1783:   # This message is too long to be a string in the A/UX 3.1 sh.
        !          1784:   cat <<_ACEOF
        !          1785: \`configure' configures curl - to adapt to many kinds of systems.
        !          1786: 
        !          1787: Usage: $0 [OPTION]... [VAR=VALUE]...
        !          1788: 
        !          1789: To assign environment variables (e.g., CC, CFLAGS...), specify them as
        !          1790: VAR=VALUE.  See below for descriptions of some of the useful variables.
        !          1791: 
        !          1792: Defaults for the options are specified in brackets.
        !          1793: 
        !          1794: Configuration:
        !          1795:   -h, --help              display this help and exit
        !          1796:       --help=short        display options specific to this package
        !          1797:       --help=recursive    display the short help of all the included packages
        !          1798:   -V, --version           display version information and exit
        !          1799:   -q, --quiet, --silent   do not print \`checking ...' messages
        !          1800:       --cache-file=FILE   cache test results in FILE [disabled]
        !          1801:   -C, --config-cache      alias for \`--cache-file=config.cache'
        !          1802:   -n, --no-create         do not create output files
        !          1803:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
        !          1804: 
        !          1805: Installation directories:
        !          1806:   --prefix=PREFIX         install architecture-independent files in PREFIX
        !          1807:                           [$ac_default_prefix]
        !          1808:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
        !          1809:                           [PREFIX]
        !          1810: 
        !          1811: By default, \`make install' will install all the files in
        !          1812: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
        !          1813: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
        !          1814: for instance \`--prefix=\$HOME'.
        !          1815: 
        !          1816: For better control, use the options below.
        !          1817: 
        !          1818: Fine tuning of the installation directories:
        !          1819:   --bindir=DIR            user executables [EPREFIX/bin]
        !          1820:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
        !          1821:   --libexecdir=DIR        program executables [EPREFIX/libexec]
        !          1822:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
        !          1823:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
        !          1824:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
        !          1825:   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
        !          1826:   --libdir=DIR            object code libraries [EPREFIX/lib]
        !          1827:   --includedir=DIR        C header files [PREFIX/include]
        !          1828:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
        !          1829:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
        !          1830:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
        !          1831:   --infodir=DIR           info documentation [DATAROOTDIR/info]
        !          1832:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
        !          1833:   --mandir=DIR            man documentation [DATAROOTDIR/man]
        !          1834:   --docdir=DIR            documentation root [DATAROOTDIR/doc/curl]
        !          1835:   --htmldir=DIR           html documentation [DOCDIR]
        !          1836:   --dvidir=DIR            dvi documentation [DOCDIR]
        !          1837:   --pdfdir=DIR            pdf documentation [DOCDIR]
        !          1838:   --psdir=DIR             ps documentation [DOCDIR]
        !          1839: _ACEOF
        !          1840: 
        !          1841:   cat <<\_ACEOF
        !          1842: 
        !          1843: Program names:
        !          1844:   --program-prefix=PREFIX            prepend PREFIX to installed program names
        !          1845:   --program-suffix=SUFFIX            append SUFFIX to installed program names
        !          1846:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
        !          1847: 
        !          1848: System types:
        !          1849:   --build=BUILD     configure for building on BUILD [guessed]
        !          1850:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
        !          1851: _ACEOF
        !          1852: fi
        !          1853: 
        !          1854: if test -n "$ac_init_help"; then
        !          1855:   case $ac_init_help in
        !          1856:      short | recursive ) echo "Configuration of curl -:";;
        !          1857:    esac
        !          1858:   cat <<\_ACEOF
        !          1859: 
        !          1860: Optional Features:
        !          1861:   --disable-option-checking  ignore unrecognized --enable/--with options
        !          1862:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
        !          1863:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
        !          1864:   --enable-maintainer-mode
        !          1865:                           enable make rules and dependencies not useful (and
        !          1866:                           sometimes confusing) to the casual installer
        !          1867:   --enable-silent-rules   less verbose build output (undo: "make V=1")
        !          1868:   --disable-silent-rules  verbose build output (undo: "make V=0")
        !          1869:   --enable-debug          Enable debug build options
        !          1870:   --disable-debug         Disable debug build options
        !          1871:   --enable-optimize       Enable compiler optimizations
        !          1872:   --disable-optimize      Disable compiler optimizations
        !          1873:   --enable-warnings       Enable strict compiler warnings
        !          1874:   --disable-warnings      Disable strict compiler warnings
        !          1875:   --enable-werror         Enable compiler warnings as errors
        !          1876:   --disable-werror        Disable compiler warnings as errors
        !          1877:   --enable-curldebug      Enable curl debug memory tracking
        !          1878:   --disable-curldebug     Disable curl debug memory tracking
        !          1879:   --enable-symbol-hiding  Enable hiding of library internal symbols
        !          1880:   --disable-symbol-hiding Disable hiding of library internal symbols
        !          1881:   --enable-hidden-symbols To be deprecated, use --enable-symbol-hiding
        !          1882:   --disable-hidden-symbols
        !          1883:                           To be deprecated, use --disable-symbol-hiding
        !          1884:   --enable-ares[=PATH]    Enable c-ares for DNS lookups
        !          1885:   --disable-ares          Disable c-ares for DNS lookups
        !          1886:   --disable-rt            disable dependency on -lrt
        !          1887:   --enable-esni           Enable ESNI support
        !          1888:   --disable-esni          Disable ESNI support
        !          1889:   --enable-code-coverage  Provide code coverage
        !          1890:   --enable-dependency-tracking
        !          1891:                           do not reject slow dependency extractors
        !          1892:   --disable-dependency-tracking
        !          1893:                           speeds up one-time build
        !          1894:   --disable-largefile     omit support for large files
        !          1895:   --enable-shared[=PKGS]  build shared libraries [default=yes]
        !          1896:   --enable-static[=PKGS]  build static libraries [default=yes]
        !          1897:   --enable-fast-install[=PKGS]
        !          1898:                           optimize for fast installation [default=yes]
        !          1899:   --disable-libtool-lock  avoid locking (might break parallel builds)
        !          1900:   --enable-http           Enable HTTP support
        !          1901:   --disable-http          Disable HTTP support
        !          1902:   --enable-ftp            Enable FTP support
        !          1903:   --disable-ftp           Disable FTP support
        !          1904:   --enable-file           Enable FILE support
        !          1905:   --disable-file          Disable FILE support
        !          1906:   --enable-ldap           Enable LDAP support
        !          1907:   --disable-ldap          Disable LDAP support
        !          1908:   --enable-ldaps          Enable LDAPS support
        !          1909:   --disable-ldaps         Disable LDAPS support
        !          1910:   --enable-rtsp           Enable RTSP support
        !          1911:   --disable-rtsp          Disable RTSP support
        !          1912:   --enable-proxy          Enable proxy support
        !          1913:   --disable-proxy         Disable proxy support
        !          1914:   --enable-dict           Enable DICT support
        !          1915:   --disable-dict          Disable DICT support
        !          1916:   --enable-telnet         Enable TELNET support
        !          1917:   --disable-telnet        Disable TELNET support
        !          1918:   --enable-tftp           Enable TFTP support
        !          1919:   --disable-tftp          Disable TFTP support
        !          1920:   --enable-pop3           Enable POP3 support
        !          1921:   --disable-pop3          Disable POP3 support
        !          1922:   --enable-imap           Enable IMAP support
        !          1923:   --disable-imap          Disable IMAP support
        !          1924:   --enable-smb            Enable SMB/CIFS support
        !          1925:   --disable-smb           Disable SMB/CIFS support
        !          1926:   --enable-smtp           Enable SMTP support
        !          1927:   --disable-smtp          Disable SMTP support
        !          1928:   --enable-gopher         Enable Gopher support
        !          1929:   --disable-gopher        Disable Gopher support
        !          1930:   --enable-mqtt           Enable MQTT support
        !          1931:   --disable-mqtt          Disable MQTT support
        !          1932:   --enable-manual         Enable built-in manual
        !          1933:   --disable-manual        Disable built-in manual
        !          1934:   --enable-libcurl-option Enable --libcurl C code generation support
        !          1935:   --disable-libcurl-option
        !          1936:                           Disable --libcurl C code generation support
        !          1937:   --enable-libgcc         use libgcc when linking
        !          1938:   --enable-ipv6           Enable IPv6 (with IPv4) support
        !          1939:   --disable-ipv6          Disable IPv6 support
        !          1940:   --enable-openssl-auto-load-config
        !          1941:                           Enable automatic loading of OpenSSL configuration
        !          1942:   --disable-openssl-auto-load-config
        !          1943:                           Disable automatic loading of OpenSSL configuration
        !          1944:   --enable-versioned-symbols
        !          1945:                           Enable versioned symbols in shared library
        !          1946:   --disable-versioned-symbols
        !          1947:                           Disable versioned symbols in shared library
        !          1948:   --enable-threaded-resolver
        !          1949:                           Enable threaded resolver
        !          1950:   --disable-threaded-resolver
        !          1951:                           Disable threaded resolver
        !          1952:   --enable-pthreads       Enable POSIX threads (default for threaded resolver)
        !          1953:   --disable-pthreads      Disable POSIX threads
        !          1954:   --enable-verbose        Enable verbose strings
        !          1955:   --disable-verbose       Disable verbose strings
        !          1956:   --enable-sspi           Enable SSPI
        !          1957:   --disable-sspi          Disable SSPI
        !          1958:   --enable-crypto-auth    Enable cryptographic authentication
        !          1959:   --disable-crypto-auth   Disable cryptographic authentication
        !          1960:   --enable-ntlm-wb[=FILE] Enable NTLM delegation to winbind's ntlm_auth
        !          1961:                           helper, where FILE is ntlm_auth's absolute filename
        !          1962:                           (default: /usr/bin/ntlm_auth)
        !          1963:   --disable-ntlm-wb       Disable NTLM delegation to winbind's ntlm_auth
        !          1964:                           helper
        !          1965:   --enable-tls-srp        Enable TLS-SRP authentication
        !          1966:   --disable-tls-srp       Disable TLS-SRP authentication
        !          1967:   --enable-unix-sockets   Enable Unix domain sockets
        !          1968:   --disable-unix-sockets  Disable Unix domain sockets
        !          1969:   --enable-cookies        Enable cookies support
        !          1970:   --disable-cookies       Disable cookies support
        !          1971:   --enable-http-auth      Enable HTTP authentication support
        !          1972:   --disable-http-auth     Disable HTTP authentication support
        !          1973:   --enable-doh            Enable DoH support
        !          1974:   --disable-doh           Disable DoH support
        !          1975:   --enable-mime           Enable mime API support
        !          1976:   --disable-mime          Disable mime API support
        !          1977:   --enable-dateparse      Enable date parsing
        !          1978:   --disable-dateparse     Disable date parsing
        !          1979:   --enable-netrc          Enable netrc parsing
        !          1980:   --disable-netrc         Disable netrc parsing
        !          1981:   --enable-progress-meter Enable progress-meter
        !          1982:   --disable-progress-meter
        !          1983:                           Disable progress-meter
        !          1984:   --enable-dnsshuffle     Enable DNS shuffling
        !          1985:   --disable-dnsshuffle    Disable DNS shuffling
        !          1986:   --enable-alt-svc        Enable alt-svc support
        !          1987:   --disable-alt-svc       Disable alt-svc support
        !          1988: 
        !          1989: Optional Packages:
        !          1990:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
        !          1991:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
        !          1992:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
        !          1993:                           both]
        !          1994:   --with-aix-soname=aix|svr4|both
        !          1995:                           shared library versioning (aka "SONAME") variant to
        !          1996:                           provide on AIX, [default=aix].
        !          1997:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
        !          1998:   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
        !          1999:                           compiler's sysroot if not specified).
        !          2000:   --with-zlib=PATH        search for zlib in PATH
        !          2001:   --without-zlib          disable use of zlib
        !          2002:   --with-brotli=PATH      Where to look for brotli, PATH points to the BROTLI
        !          2003:                           installation; when possible, set the PKG_CONFIG_PATH
        !          2004:                           environment variable instead of using this option
        !          2005:   --without-brotli        disable BROTLI
        !          2006:   --with-ldap-lib=libname Specify name of ldap lib file
        !          2007:   --with-lber-lib=libname Specify name of lber lib file
        !          2008:   --with-gssapi-includes=DIR
        !          2009:                           Specify location of GSS-API headers
        !          2010:   --with-gssapi-libs=DIR  Specify location of GSS-API libs
        !          2011:   --with-gssapi=DIR       Where to look for GSS-API
        !          2012:   --with-default-ssl-backend=NAME
        !          2013:                           Use NAME as default SSL backend
        !          2014:   --without-default-ssl-backend
        !          2015:                           Use implicit default SSL backend
        !          2016:   --with-winssl           enable Windows native SSL/TLS
        !          2017:   --without-winssl        disable Windows native SSL/TLS
        !          2018:   --with-schannel         enable Windows native SSL/TLS
        !          2019:   --without-schannel      disable Windows native SSL/TLS
        !          2020:   --with-darwinssl        enable Apple OS native SSL/TLS
        !          2021:   --without-darwinssl     disable Apple OS native SSL/TLS
        !          2022:   --with-secure-transport enable Apple OS native SSL/TLS
        !          2023:   --without-secure-transport
        !          2024:                           disable Apple OS native SSL/TLS
        !          2025:   --with-amissl           enable Amiga native SSL/TLS (AmiSSL)
        !          2026:   --without-amissl        disable Amiga native SSL/TLS (AmiSSL)
        !          2027:   --with-ssl=PATH         Where to look for OpenSSL, PATH points to the SSL
        !          2028:                           installation (default: /usr/local/ssl); when
        !          2029:                           possible, set the PKG_CONFIG_PATH environment
        !          2030:                           variable instead of using this option
        !          2031:   --without-ssl           disable OpenSSL
        !          2032:   --with-egd-socket=FILE  Entropy Gathering Daemon socket pathname
        !          2033:   --with-random=FILE      read randomness from FILE (default=/dev/urandom)
        !          2034:   --with-gnutls=PATH      where to look for GnuTLS, PATH points to the
        !          2035:                           installation root
        !          2036:   --without-gnutls        disable GnuTLS detection
        !          2037:   --with-mbedtls=PATH     where to look for mbedTLS, PATH points to the
        !          2038:                           installation root
        !          2039:   --without-mbedtls       disable mbedTLS detection
        !          2040:   --with-wolfssl=PATH     where to look for WolfSSL, PATH points to the
        !          2041:                           installation root (default: system lib default)
        !          2042:   --without-wolfssl       disable WolfSSL detection
        !          2043:   --with-mesalink=PATH    where to look for MesaLink, PATH points to the
        !          2044:                           installation root
        !          2045:   --without-mesalink      disable MesaLink detection
        !          2046:   --with-bearssl=PATH     where to look for BearSSL, PATH points to the
        !          2047:                           installation root
        !          2048:   --without-bearssl       disable BearSSL detection
        !          2049:   --with-nss=PATH         where to look for NSS, PATH points to the
        !          2050:                           installation root
        !          2051:   --without-nss           disable NSS detection
        !          2052:   --with-ca-bundle=FILE   Path to a file containing CA certificates (example:
        !          2053:                           /etc/ca-bundle.crt)
        !          2054:   --without-ca-bundle     Don't use a default CA bundle
        !          2055:   --with-ca-path=DIRECTORY
        !          2056:                           Path to a directory containing CA certificates
        !          2057:                           stored individually, with their filenames in a hash
        !          2058:                           format. This option can be used with the OpenSSL,
        !          2059:                           GnuTLS and mbedTLS backends. Refer to OpenSSL
        !          2060:                           c_rehash for details. (example: /etc/certificates)
        !          2061:   --without-ca-path       Don't use a default CA path
        !          2062:   --with-ca-fallback      Use the built in CA store of the SSL library
        !          2063:   --without-ca-fallback   Don't use the built in CA store of the SSL library
        !          2064:   --without-libpsl        disable support for libpsl cookie checking
        !          2065:   --with-libmetalink=PATH where to look for libmetalink, PATH points to the
        !          2066:                           installation root
        !          2067:   --without-libmetalink   disable libmetalink detection
        !          2068:   --with-libssh2=PATH     Where to look for libssh2, PATH points to the
        !          2069:                           libssh2 installation; when possible, set the
        !          2070:                           PKG_CONFIG_PATH environment variable instead of
        !          2071:                           using this option
        !          2072:   --with-libssh2          enable libssh2
        !          2073:   --with-libssh=PATH      Where to look for libssh, PATH points to the libssh
        !          2074:                           installation; when possible, set the PKG_CONFIG_PATH
        !          2075:                           environment variable instead of using this option
        !          2076:   --with-libssh           enable libssh
        !          2077:   --with-wolfssh=PATH     Where to look for wolfssh, PATH points to the
        !          2078:                           wolfSSH installation; when possible, set the
        !          2079:                           PKG_CONFIG_PATH environment variable instead of
        !          2080:                           using this option
        !          2081:   --with-wolfssh          enable wolfssh
        !          2082:   --with-librtmp=PATH     Where to look for librtmp, PATH points to the
        !          2083:                           LIBRTMP installation; when possible, set the
        !          2084:                           PKG_CONFIG_PATH environment variable instead of
        !          2085:                           using this option
        !          2086:   --without-librtmp       disable LIBRTMP
        !          2087:   --with-winidn=PATH      enable Windows native IDN
        !          2088:   --without-winidn        disable Windows native IDN
        !          2089:   --with-libidn2=PATH     Enable libidn2 usage
        !          2090:   --without-libidn2       Disable libidn2 usage
        !          2091:   --with-nghttp2=PATH     Enable nghttp2 usage
        !          2092:   --without-nghttp2       Disable nghttp2 usage
        !          2093:   --with-ngtcp2=PATH      Enable ngtcp2 usage
        !          2094:   --without-ngtcp2        Disable ngtcp2 usage
        !          2095:   --with-nghttp3=PATH     Enable nghttp3 usage
        !          2096:   --without-nghttp3       Disable nghttp3 usage
        !          2097:   --with-quiche=PATH      Enable quiche usage
        !          2098:   --without-quiche        Disable quiche usage
        !          2099:   --with-zsh-functions-dir=PATH
        !          2100:                           Install zsh completions to PATH
        !          2101:   --without-zsh-functions-dir
        !          2102:                           Do not install zsh completions
        !          2103:   --with-fish-functions-dir=PATH
        !          2104:                           Install fish completions to PATH
        !          2105:   --without-fish-functions-dir
        !          2106:                           Do not install fish completions
        !          2107: 
        !          2108: Some influential environment variables:
        !          2109:   CC          C compiler command
        !          2110:   CFLAGS      C compiler flags
        !          2111:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
        !          2112:               nonstandard directory <lib dir>
        !          2113:   LIBS        libraries to pass to the linker, e.g. -l<library>
        !          2114:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
        !          2115:               you have headers in a nonstandard directory <include dir>
        !          2116:   CPP         C preprocessor
        !          2117:   LT_SYS_LIBRARY_PATH
        !          2118:               User-defined run-time library search path.
        !          2119: 
        !          2120: Use these variables to override the choices made by `configure' or to help
        !          2121: it to find libraries and programs with nonstandard names/locations.
        !          2122: 
        !          2123: Report bugs to <a suitable curl mailing list: https://curl.haxx.se/mail/>.
        !          2124: _ACEOF
        !          2125: ac_status=$?
        !          2126: fi
        !          2127: 
        !          2128: if test "$ac_init_help" = "recursive"; then
        !          2129:   # If there are subdirs, report their specific --help.
        !          2130:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
        !          2131:     test -d "$ac_dir" ||
        !          2132:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
        !          2133:       continue
        !          2134:     ac_builddir=.
        !          2135: 
        !          2136: case "$ac_dir" in
        !          2137: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
        !          2138: *)
        !          2139:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
        !          2140:   # A ".." for each directory in $ac_dir_suffix.
        !          2141:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
        !          2142:   case $ac_top_builddir_sub in
        !          2143:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
        !          2144:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
        !          2145:   esac ;;
        !          2146: esac
        !          2147: ac_abs_top_builddir=$ac_pwd
        !          2148: ac_abs_builddir=$ac_pwd$ac_dir_suffix
        !          2149: # for backward compatibility:
        !          2150: ac_top_builddir=$ac_top_build_prefix
        !          2151: 
        !          2152: case $srcdir in
        !          2153:   .)  # We are building in place.
        !          2154:     ac_srcdir=.
        !          2155:     ac_top_srcdir=$ac_top_builddir_sub
        !          2156:     ac_abs_top_srcdir=$ac_pwd ;;
        !          2157:   [\\/]* | ?:[\\/]* )  # Absolute name.
        !          2158:     ac_srcdir=$srcdir$ac_dir_suffix;
        !          2159:     ac_top_srcdir=$srcdir
        !          2160:     ac_abs_top_srcdir=$srcdir ;;
        !          2161:   *) # Relative name.
        !          2162:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
        !          2163:     ac_top_srcdir=$ac_top_build_prefix$srcdir
        !          2164:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
        !          2165: esac
        !          2166: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
        !          2167: 
        !          2168:     cd "$ac_dir" || { ac_status=$?; continue; }
        !          2169:     # Check for guested configure.
        !          2170:     if test -f "$ac_srcdir/configure.gnu"; then
        !          2171:       echo &&
        !          2172:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
        !          2173:     elif test -f "$ac_srcdir/configure"; then
        !          2174:       echo &&
        !          2175:       $SHELL "$ac_srcdir/configure" --help=recursive
        !          2176:     else
        !          2177:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
        !          2178:     fi || ac_status=$?
        !          2179:     cd "$ac_pwd" || { ac_status=$?; break; }
        !          2180:   done
        !          2181: fi
        !          2182: 
        !          2183: test -n "$ac_init_help" && exit $ac_status
        !          2184: if $ac_init_version; then
        !          2185:   cat <<\_ACEOF
        !          2186: curl configure -
        !          2187: generated by GNU Autoconf 2.69
        !          2188: 
        !          2189: Copyright (C) 2012 Free Software Foundation, Inc.
        !          2190: This configure script is free software; the Free Software Foundation
        !          2191: gives unlimited permission to copy, distribute and modify it.
        !          2192: 
        !          2193: Copyright (c) 1998 - 2020 Daniel Stenberg, <daniel@haxx.se>
        !          2194: This configure script may be copied, distributed and modified under the
        !          2195: terms of the curl license; see COPYING for more details
        !          2196: _ACEOF
        !          2197:   exit
        !          2198: fi
        !          2199: 
        !          2200: ## ------------------------ ##
        !          2201: ## Autoconf initialization. ##
        !          2202: ## ------------------------ ##
        !          2203: 
        !          2204: # ac_fn_c_try_compile LINENO
        !          2205: # --------------------------
        !          2206: # Try to compile conftest.$ac_ext, and return whether this succeeded.
        !          2207: ac_fn_c_try_compile ()
        !          2208: {
        !          2209:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          2210:   rm -f conftest.$ac_objext
        !          2211:   if { { ac_try="$ac_compile"
        !          2212: case "(($ac_try" in
        !          2213:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          2214:   *) ac_try_echo=$ac_try;;
        !          2215: esac
        !          2216: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          2217: $as_echo "$ac_try_echo"; } >&5
        !          2218:   (eval "$ac_compile") 2>conftest.err
        !          2219:   ac_status=$?
        !          2220:   if test -s conftest.err; then
        !          2221:     grep -v '^ *+' conftest.err >conftest.er1
        !          2222:     cat conftest.er1 >&5
        !          2223:     mv -f conftest.er1 conftest.err
        !          2224:   fi
        !          2225:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          2226:   test $ac_status = 0; } && {
        !          2227:         test -z "$ac_c_werror_flag" ||
        !          2228:         test ! -s conftest.err
        !          2229:        } && test -s conftest.$ac_objext; then :
        !          2230:   ac_retval=0
        !          2231: else
        !          2232:   $as_echo "$as_me: failed program was:" >&5
        !          2233: sed 's/^/| /' conftest.$ac_ext >&5
        !          2234: 
        !          2235:        ac_retval=1
        !          2236: fi
        !          2237:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          2238:   as_fn_set_status $ac_retval
        !          2239: 
        !          2240: } # ac_fn_c_try_compile
        !          2241: 
        !          2242: # ac_fn_c_try_cpp LINENO
        !          2243: # ----------------------
        !          2244: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
        !          2245: ac_fn_c_try_cpp ()
        !          2246: {
        !          2247:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          2248:   if { { ac_try="$ac_cpp conftest.$ac_ext"
        !          2249: case "(($ac_try" in
        !          2250:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          2251:   *) ac_try_echo=$ac_try;;
        !          2252: esac
        !          2253: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          2254: $as_echo "$ac_try_echo"; } >&5
        !          2255:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
        !          2256:   ac_status=$?
        !          2257:   if test -s conftest.err; then
        !          2258:     grep -v '^ *+' conftest.err >conftest.er1
        !          2259:     cat conftest.er1 >&5
        !          2260:     mv -f conftest.er1 conftest.err
        !          2261:   fi
        !          2262:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          2263:   test $ac_status = 0; } > conftest.i && {
        !          2264:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
        !          2265:         test ! -s conftest.err
        !          2266:        }; then :
        !          2267:   ac_retval=0
        !          2268: else
        !          2269:   $as_echo "$as_me: failed program was:" >&5
        !          2270: sed 's/^/| /' conftest.$ac_ext >&5
        !          2271: 
        !          2272:     ac_retval=1
        !          2273: fi
        !          2274:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          2275:   as_fn_set_status $ac_retval
        !          2276: 
        !          2277: } # ac_fn_c_try_cpp
        !          2278: 
        !          2279: # ac_fn_c_try_link LINENO
        !          2280: # -----------------------
        !          2281: # Try to link conftest.$ac_ext, and return whether this succeeded.
        !          2282: ac_fn_c_try_link ()
        !          2283: {
        !          2284:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          2285:   rm -f conftest.$ac_objext conftest$ac_exeext
        !          2286:   if { { ac_try="$ac_link"
        !          2287: case "(($ac_try" in
        !          2288:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          2289:   *) ac_try_echo=$ac_try;;
        !          2290: esac
        !          2291: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          2292: $as_echo "$ac_try_echo"; } >&5
        !          2293:   (eval "$ac_link") 2>conftest.err
        !          2294:   ac_status=$?
        !          2295:   if test -s conftest.err; then
        !          2296:     grep -v '^ *+' conftest.err >conftest.er1
        !          2297:     cat conftest.er1 >&5
        !          2298:     mv -f conftest.er1 conftest.err
        !          2299:   fi
        !          2300:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          2301:   test $ac_status = 0; } && {
        !          2302:         test -z "$ac_c_werror_flag" ||
        !          2303:         test ! -s conftest.err
        !          2304:        } && test -s conftest$ac_exeext && {
        !          2305:         test "$cross_compiling" = yes ||
        !          2306:         test -x conftest$ac_exeext
        !          2307:        }; then :
        !          2308:   ac_retval=0
        !          2309: else
        !          2310:   $as_echo "$as_me: failed program was:" >&5
        !          2311: sed 's/^/| /' conftest.$ac_ext >&5
        !          2312: 
        !          2313:        ac_retval=1
        !          2314: fi
        !          2315:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
        !          2316:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
        !          2317:   # interfere with the next link command; also delete a directory that is
        !          2318:   # left behind by Apple's compiler.  We do this before executing the actions.
        !          2319:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
        !          2320:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          2321:   as_fn_set_status $ac_retval
        !          2322: 
        !          2323: } # ac_fn_c_try_link
        !          2324: 
        !          2325: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
        !          2326: # -------------------------------------------------------
        !          2327: # Tests whether HEADER exists and can be compiled using the include files in
        !          2328: # INCLUDES, setting the cache variable VAR accordingly.
        !          2329: ac_fn_c_check_header_compile ()
        !          2330: {
        !          2331:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          2332:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          2333: $as_echo_n "checking for $2... " >&6; }
        !          2334: if eval \${$3+:} false; then :
        !          2335:   $as_echo_n "(cached) " >&6
        !          2336: else
        !          2337:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          2338: /* end confdefs.h.  */
        !          2339: $4
        !          2340: #include <$2>
        !          2341: _ACEOF
        !          2342: if ac_fn_c_try_compile "$LINENO"; then :
        !          2343:   eval "$3=yes"
        !          2344: else
        !          2345:   eval "$3=no"
        !          2346: fi
        !          2347: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          2348: fi
        !          2349: eval ac_res=\$$3
        !          2350:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          2351: $as_echo "$ac_res" >&6; }
        !          2352:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          2353: 
        !          2354: } # ac_fn_c_check_header_compile
        !          2355: 
        !          2356: # ac_fn_c_try_run LINENO
        !          2357: # ----------------------
        !          2358: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
        !          2359: # that executables *can* be run.
        !          2360: ac_fn_c_try_run ()
        !          2361: {
        !          2362:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          2363:   if { { ac_try="$ac_link"
        !          2364: case "(($ac_try" in
        !          2365:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          2366:   *) ac_try_echo=$ac_try;;
        !          2367: esac
        !          2368: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          2369: $as_echo "$ac_try_echo"; } >&5
        !          2370:   (eval "$ac_link") 2>&5
        !          2371:   ac_status=$?
        !          2372:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          2373:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
        !          2374:   { { case "(($ac_try" in
        !          2375:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          2376:   *) ac_try_echo=$ac_try;;
        !          2377: esac
        !          2378: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          2379: $as_echo "$ac_try_echo"; } >&5
        !          2380:   (eval "$ac_try") 2>&5
        !          2381:   ac_status=$?
        !          2382:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          2383:   test $ac_status = 0; }; }; then :
        !          2384:   ac_retval=0
        !          2385: else
        !          2386:   $as_echo "$as_me: program exited with status $ac_status" >&5
        !          2387:        $as_echo "$as_me: failed program was:" >&5
        !          2388: sed 's/^/| /' conftest.$ac_ext >&5
        !          2389: 
        !          2390:        ac_retval=$ac_status
        !          2391: fi
        !          2392:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
        !          2393:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          2394:   as_fn_set_status $ac_retval
        !          2395: 
        !          2396: } # ac_fn_c_try_run
        !          2397: 
        !          2398: # ac_fn_c_check_func LINENO FUNC VAR
        !          2399: # ----------------------------------
        !          2400: # Tests whether FUNC exists, setting the cache variable VAR accordingly
        !          2401: ac_fn_c_check_func ()
        !          2402: {
        !          2403:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          2404:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          2405: $as_echo_n "checking for $2... " >&6; }
        !          2406: if eval \${$3+:} false; then :
        !          2407:   $as_echo_n "(cached) " >&6
        !          2408: else
        !          2409:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          2410: /* end confdefs.h.  */
        !          2411: 
        !          2412: #define $2 innocuous_$2
        !          2413: #ifdef __STDC__
        !          2414: # include <limits.h>
        !          2415: #else
        !          2416: # include <assert.h>
        !          2417: #endif
        !          2418: #undef $2
        !          2419: #ifdef __cplusplus
        !          2420: extern "C"
        !          2421: #endif
        !          2422: char $2 ();
        !          2423: #if defined __stub_$2 || defined __stub___$2
        !          2424: choke me
        !          2425: #endif
        !          2426: 
        !          2427: int main (void)
        !          2428: {
        !          2429: return $2 ();
        !          2430:  ;
        !          2431:  return 0;
        !          2432: }
        !          2433: _ACEOF
        !          2434: if ac_fn_c_try_link "$LINENO"; then :
        !          2435:   eval "$3=yes"
        !          2436: else
        !          2437:   eval "$3=no"
        !          2438: fi
        !          2439: rm -f core conftest.err conftest.$ac_objext \
        !          2440:     conftest$ac_exeext conftest.$ac_ext
        !          2441: fi
        !          2442: eval ac_res=\$$3
        !          2443:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          2444: $as_echo "$ac_res" >&6; }
        !          2445:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          2446: 
        !          2447: } # ac_fn_c_check_func
        !          2448: 
        !          2449: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
        !          2450: # -------------------------------------------------------
        !          2451: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
        !          2452: # the include files in INCLUDES and setting the cache variable VAR
        !          2453: # accordingly.
        !          2454: ac_fn_c_check_header_mongrel ()
        !          2455: {
        !          2456:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          2457:   if eval \${$3+:} false; then :
        !          2458:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          2459: $as_echo_n "checking for $2... " >&6; }
        !          2460: if eval \${$3+:} false; then :
        !          2461:   $as_echo_n "(cached) " >&6
        !          2462: fi
        !          2463: eval ac_res=\$$3
        !          2464:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          2465: $as_echo "$ac_res" >&6; }
        !          2466: else
        !          2467:   # Is the header compilable?
        !          2468: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
        !          2469: $as_echo_n "checking $2 usability... " >&6; }
        !          2470: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          2471: /* end confdefs.h.  */
        !          2472: $4
        !          2473: #include <$2>
        !          2474: _ACEOF
        !          2475: if ac_fn_c_try_compile "$LINENO"; then :
        !          2476:   ac_header_compiler=yes
        !          2477: else
        !          2478:   ac_header_compiler=no
        !          2479: fi
        !          2480: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          2481: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
        !          2482: $as_echo "$ac_header_compiler" >&6; }
        !          2483: 
        !          2484: # Is the header present?
        !          2485: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
        !          2486: $as_echo_n "checking $2 presence... " >&6; }
        !          2487: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          2488: /* end confdefs.h.  */
        !          2489: #include <$2>
        !          2490: _ACEOF
        !          2491: if ac_fn_c_try_cpp "$LINENO"; then :
        !          2492:   ac_header_preproc=yes
        !          2493: else
        !          2494:   ac_header_preproc=no
        !          2495: fi
        !          2496: rm -f conftest.err conftest.i conftest.$ac_ext
        !          2497: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
        !          2498: $as_echo "$ac_header_preproc" >&6; }
        !          2499: 
        !          2500: # So?  What about this header?
        !          2501: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
        !          2502:   yes:no: )
        !          2503:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
        !          2504: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
        !          2505:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
        !          2506: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
        !          2507:     ;;
        !          2508:   no:yes:* )
        !          2509:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
        !          2510: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
        !          2511:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
        !          2512: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
        !          2513:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
        !          2514: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
        !          2515:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
        !          2516: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
        !          2517:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
        !          2518: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
        !          2519: ( $as_echo "## ----------------------------------------------------------------------- ##
        !          2520: ## Report this to a suitable curl mailing list: https://curl.haxx.se/mail/ ##
        !          2521: ## ----------------------------------------------------------------------- ##"
        !          2522:      ) | sed "s/^/$as_me: WARNING:     /" >&2
        !          2523:     ;;
        !          2524: esac
        !          2525:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          2526: $as_echo_n "checking for $2... " >&6; }
        !          2527: if eval \${$3+:} false; then :
        !          2528:   $as_echo_n "(cached) " >&6
        !          2529: else
        !          2530:   eval "$3=\$ac_header_compiler"
        !          2531: fi
        !          2532: eval ac_res=\$$3
        !          2533:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          2534: $as_echo "$ac_res" >&6; }
        !          2535: fi
        !          2536:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          2537: 
        !          2538: } # ac_fn_c_check_header_mongrel
        !          2539: 
        !          2540: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
        !          2541: # -------------------------------------------
        !          2542: # Tests whether TYPE exists after having included INCLUDES, setting cache
        !          2543: # variable VAR accordingly.
        !          2544: ac_fn_c_check_type ()
        !          2545: {
        !          2546:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          2547:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          2548: $as_echo_n "checking for $2... " >&6; }
        !          2549: if eval \${$3+:} false; then :
        !          2550:   $as_echo_n "(cached) " >&6
        !          2551: else
        !          2552:   eval "$3=no"
        !          2553:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          2554: /* end confdefs.h.  */
        !          2555: $4
        !          2556: int main (void)
        !          2557: {
        !          2558: if (sizeof ($2))
        !          2559:         return 0;
        !          2560:  ;
        !          2561:  return 0;
        !          2562: }
        !          2563: _ACEOF
        !          2564: if ac_fn_c_try_compile "$LINENO"; then :
        !          2565:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          2566: /* end confdefs.h.  */
        !          2567: $4
        !          2568: int main (void)
        !          2569: {
        !          2570: if (sizeof (($2)))
        !          2571:            return 0;
        !          2572:  ;
        !          2573:  return 0;
        !          2574: }
        !          2575: _ACEOF
        !          2576: if ac_fn_c_try_compile "$LINENO"; then :
        !          2577: 
        !          2578: else
        !          2579:   eval "$3=yes"
        !          2580: fi
        !          2581: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          2582: fi
        !          2583: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          2584: fi
        !          2585: eval ac_res=\$$3
        !          2586:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          2587: $as_echo "$ac_res" >&6; }
        !          2588:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          2589: 
        !          2590: } # ac_fn_c_check_type
        !          2591: 
        !          2592: # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
        !          2593: # ---------------------------------------------
        !          2594: # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
        !          2595: # accordingly.
        !          2596: ac_fn_c_check_decl ()
        !          2597: {
        !          2598:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          2599:   as_decl_name=`echo $2|sed 's/ *(.*//'`
        !          2600:   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
        !          2601:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
        !          2602: $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
        !          2603: if eval \${$3+:} false; then :
        !          2604:   $as_echo_n "(cached) " >&6
        !          2605: else
        !          2606:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          2607: /* end confdefs.h.  */
        !          2608: $4
        !          2609: int main (void)
        !          2610: {
        !          2611: #ifndef $as_decl_name
        !          2612: #ifdef __cplusplus
        !          2613:   (void) $as_decl_use;
        !          2614: #else
        !          2615:   (void) $as_decl_name;
        !          2616: #endif
        !          2617: #endif
        !          2618: 
        !          2619:  ;
        !          2620:  return 0;
        !          2621: }
        !          2622: _ACEOF
        !          2623: if ac_fn_c_try_compile "$LINENO"; then :
        !          2624:   eval "$3=yes"
        !          2625: else
        !          2626:   eval "$3=no"
        !          2627: fi
        !          2628: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          2629: fi
        !          2630: eval ac_res=\$$3
        !          2631:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          2632: $as_echo "$ac_res" >&6; }
        !          2633:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          2634: 
        !          2635: } # ac_fn_c_check_decl
        !          2636: 
        !          2637: # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
        !          2638: # ----------------------------------------------------
        !          2639: # Tries to find if the field MEMBER exists in type AGGR, after including
        !          2640: # INCLUDES, setting cache variable VAR accordingly.
        !          2641: ac_fn_c_check_member ()
        !          2642: {
        !          2643:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          2644:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
        !          2645: $as_echo_n "checking for $2.$3... " >&6; }
        !          2646: if eval \${$4+:} false; then :
        !          2647:   $as_echo_n "(cached) " >&6
        !          2648: else
        !          2649:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          2650: /* end confdefs.h.  */
        !          2651: $5
        !          2652: int main (void)
        !          2653: {
        !          2654: static $2 ac_aggr;
        !          2655: if (ac_aggr.$3)
        !          2656: return 0;
        !          2657:  ;
        !          2658:  return 0;
        !          2659: }
        !          2660: _ACEOF
        !          2661: if ac_fn_c_try_compile "$LINENO"; then :
        !          2662:   eval "$4=yes"
        !          2663: else
        !          2664:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          2665: /* end confdefs.h.  */
        !          2666: $5
        !          2667: int main (void)
        !          2668: {
        !          2669: static $2 ac_aggr;
        !          2670: if (sizeof ac_aggr.$3)
        !          2671: return 0;
        !          2672:  ;
        !          2673:  return 0;
        !          2674: }
        !          2675: _ACEOF
        !          2676: if ac_fn_c_try_compile "$LINENO"; then :
        !          2677:   eval "$4=yes"
        !          2678: else
        !          2679:   eval "$4=no"
        !          2680: fi
        !          2681: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          2682: fi
        !          2683: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          2684: fi
        !          2685: eval ac_res=\$$4
        !          2686:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          2687: $as_echo "$ac_res" >&6; }
        !          2688:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          2689: 
        !          2690: } # ac_fn_c_check_member
        !          2691: cat >config.log <<_ACEOF
        !          2692: This file contains any messages produced by compilers while
        !          2693: running configure, to aid debugging if configure makes a mistake.
        !          2694: 
        !          2695: It was created by curl $as_me -, which was
        !          2696: generated by GNU Autoconf 2.69.  Invocation command line was
        !          2697: 
        !          2698:   $ $0 $@
        !          2699: 
        !          2700: _ACEOF
        !          2701: exec 5>>config.log
        !          2702: {
        !          2703: cat <<_ASUNAME
        !          2704: ## --------- ##
        !          2705: ## Platform. ##
        !          2706: ## --------- ##
        !          2707: 
        !          2708: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
        !          2709: uname -m = `(uname -m) 2>/dev/null || echo unknown`
        !          2710: uname -r = `(uname -r) 2>/dev/null || echo unknown`
        !          2711: uname -s = `(uname -s) 2>/dev/null || echo unknown`
        !          2712: uname -v = `(uname -v) 2>/dev/null || echo unknown`
        !          2713: 
        !          2714: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
        !          2715: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
        !          2716: 
        !          2717: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
        !          2718: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
        !          2719: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
        !          2720: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
        !          2721: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
        !          2722: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
        !          2723: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
        !          2724: 
        !          2725: _ASUNAME
        !          2726: 
        !          2727: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2728: for as_dir in $PATH
        !          2729: do
        !          2730:   IFS=$as_save_IFS
        !          2731:   test -z "$as_dir" && as_dir=.
        !          2732:     $as_echo "PATH: $as_dir"
        !          2733:   done
        !          2734: IFS=$as_save_IFS
        !          2735: 
        !          2736: } >&5
        !          2737: 
        !          2738: cat >&5 <<_ACEOF
        !          2739: 
        !          2740: 
        !          2741: ## ----------- ##
        !          2742: ## Core tests. ##
        !          2743: ## ----------- ##
        !          2744: 
        !          2745: _ACEOF
        !          2746: 
        !          2747: 
        !          2748: # Keep a trace of the command line.
        !          2749: # Strip out --no-create and --no-recursion so they do not pile up.
        !          2750: # Strip out --silent because we don't want to record it for future runs.
        !          2751: # Also quote any args containing shell meta-characters.
        !          2752: # Make two passes to allow for proper duplicate-argument suppression.
        !          2753: ac_configure_args=
        !          2754: ac_configure_args0=
        !          2755: ac_configure_args1=
        !          2756: ac_must_keep_next=false
        !          2757: for ac_pass in 1 2
        !          2758: do
        !          2759:   for ac_arg
        !          2760:   do
        !          2761:     case $ac_arg in
        !          2762:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
        !          2763:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
        !          2764:     | -silent | --silent | --silen | --sile | --sil)
        !          2765:       continue ;;
        !          2766:     *\'*)
        !          2767:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          2768:     esac
        !          2769:     case $ac_pass in
        !          2770:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
        !          2771:     2)
        !          2772:       as_fn_append ac_configure_args1 " '$ac_arg'"
        !          2773:       if test $ac_must_keep_next = true; then
        !          2774:        ac_must_keep_next=false # Got value, back to normal.
        !          2775:       else
        !          2776:        case $ac_arg in
        !          2777:          *=* | --config-cache | -C | -disable-* | --disable-* \
        !          2778:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
        !          2779:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
        !          2780:          | -with-* | --with-* | -without-* | --without-* | --x)
        !          2781:            case "$ac_configure_args0 " in
        !          2782:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
        !          2783:            esac
        !          2784:            ;;
        !          2785:          -* ) ac_must_keep_next=true ;;
        !          2786:        esac
        !          2787:       fi
        !          2788:       as_fn_append ac_configure_args " '$ac_arg'"
        !          2789:       ;;
        !          2790:     esac
        !          2791:   done
        !          2792: done
        !          2793: { ac_configure_args0=; unset ac_configure_args0;}
        !          2794: { ac_configure_args1=; unset ac_configure_args1;}
        !          2795: 
        !          2796: # When interrupted or exit'd, cleanup temporary files, and complete
        !          2797: # config.log.  We remove comments because anyway the quotes in there
        !          2798: # would cause problems or look ugly.
        !          2799: # WARNING: Use '\'' to represent an apostrophe within the trap.
        !          2800: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
        !          2801: trap 'exit_status=$?
        !          2802:   # Save into config.log some information that might help in debugging.
        !          2803:   {
        !          2804:     echo
        !          2805: 
        !          2806:     $as_echo "## ---------------- ##
        !          2807: ## Cache variables. ##
        !          2808: ## ---------------- ##"
        !          2809:     echo
        !          2810:     # The following way of writing the cache mishandles newlines in values,
        !          2811: (
        !          2812:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
        !          2813:     eval ac_val=\$$ac_var
        !          2814:     case $ac_val in #(
        !          2815:     *${as_nl}*)
        !          2816:       case $ac_var in #(
        !          2817:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
        !          2818: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
        !          2819:       esac
        !          2820:       case $ac_var in #(
        !          2821:       _ | IFS | as_nl) ;; #(
        !          2822:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
        !          2823:       *) { eval $ac_var=; unset $ac_var;} ;;
        !          2824:       esac ;;
        !          2825:     esac
        !          2826:   done
        !          2827:   (set) 2>&1 |
        !          2828:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
        !          2829:     *${as_nl}ac_space=\ *)
        !          2830:       sed -n \
        !          2831:        "s/'\''/'\''\\\\'\'''\''/g;
        !          2832:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
        !          2833:       ;; #(
        !          2834:     *)
        !          2835:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
        !          2836:       ;;
        !          2837:     esac |
        !          2838:     sort
        !          2839: )
        !          2840:     echo
        !          2841: 
        !          2842:     $as_echo "## ----------------- ##
        !          2843: ## Output variables. ##
        !          2844: ## ----------------- ##"
        !          2845:     echo
        !          2846:     for ac_var in $ac_subst_vars
        !          2847:     do
        !          2848:       eval ac_val=\$$ac_var
        !          2849:       case $ac_val in
        !          2850:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
        !          2851:       esac
        !          2852:       $as_echo "$ac_var='\''$ac_val'\''"
        !          2853:     done | sort
        !          2854:     echo
        !          2855: 
        !          2856:     if test -n "$ac_subst_files"; then
        !          2857:       $as_echo "## ------------------- ##
        !          2858: ## File substitutions. ##
        !          2859: ## ------------------- ##"
        !          2860:       echo
        !          2861:       for ac_var in $ac_subst_files
        !          2862:       do
        !          2863:        eval ac_val=\$$ac_var
        !          2864:        case $ac_val in
        !          2865:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
        !          2866:        esac
        !          2867:        $as_echo "$ac_var='\''$ac_val'\''"
        !          2868:       done | sort
        !          2869:       echo
        !          2870:     fi
        !          2871: 
        !          2872:     if test -s confdefs.h; then
        !          2873:       $as_echo "## ----------- ##
        !          2874: ## confdefs.h. ##
        !          2875: ## ----------- ##"
        !          2876:       echo
        !          2877:       cat confdefs.h
        !          2878:       echo
        !          2879:     fi
        !          2880:     test "$ac_signal" != 0 &&
        !          2881:       $as_echo "$as_me: caught signal $ac_signal"
        !          2882:     $as_echo "$as_me: exit $exit_status"
        !          2883:   } >&5
        !          2884:   rm -f core *.core core.conftest.* &&
        !          2885:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
        !          2886:     exit $exit_status
        !          2887: ' 0
        !          2888: for ac_signal in 1 2 13 15; do
        !          2889:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
        !          2890: done
        !          2891: ac_signal=0
        !          2892: 
        !          2893: # confdefs.h avoids OS command line length limits that DEFS can exceed.
        !          2894: rm -f -r conftest* confdefs.h
        !          2895: 
        !          2896: $as_echo "/* confdefs.h */" > confdefs.h
        !          2897: 
        !          2898: # Predefined preprocessor variables.
        !          2899: 
        !          2900: cat >>confdefs.h <<_ACEOF
        !          2901: #define PACKAGE_NAME "$PACKAGE_NAME"
        !          2902: _ACEOF
        !          2903: 
        !          2904: cat >>confdefs.h <<_ACEOF
        !          2905: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
        !          2906: _ACEOF
        !          2907: 
        !          2908: cat >>confdefs.h <<_ACEOF
        !          2909: #define PACKAGE_VERSION "$PACKAGE_VERSION"
        !          2910: _ACEOF
        !          2911: 
        !          2912: cat >>confdefs.h <<_ACEOF
        !          2913: #define PACKAGE_STRING "$PACKAGE_STRING"
        !          2914: _ACEOF
        !          2915: 
        !          2916: cat >>confdefs.h <<_ACEOF
        !          2917: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
        !          2918: _ACEOF
        !          2919: 
        !          2920: cat >>confdefs.h <<_ACEOF
        !          2921: #define PACKAGE_URL "$PACKAGE_URL"
        !          2922: _ACEOF
        !          2923: 
        !          2924: 
        !          2925: # Let the site file select an alternate cache file if it wants to.
        !          2926: # Prefer an explicitly selected file to automatically selected ones.
        !          2927: ac_site_file1=NONE
        !          2928: ac_site_file2=NONE
        !          2929: if test -n "$CONFIG_SITE"; then
        !          2930:   # We do not want a PATH search for config.site.
        !          2931:   case $CONFIG_SITE in #((
        !          2932:     -*)  ac_site_file1=./$CONFIG_SITE;;
        !          2933:     */*) ac_site_file1=$CONFIG_SITE;;
        !          2934:     *)   ac_site_file1=./$CONFIG_SITE;;
        !          2935:   esac
        !          2936: elif test "x$prefix" != xNONE; then
        !          2937:   ac_site_file1=$prefix/share/config.site
        !          2938:   ac_site_file2=$prefix/etc/config.site
        !          2939: else
        !          2940:   ac_site_file1=$ac_default_prefix/share/config.site
        !          2941:   ac_site_file2=$ac_default_prefix/etc/config.site
        !          2942: fi
        !          2943: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
        !          2944: do
        !          2945:   test "x$ac_site_file" = xNONE && continue
        !          2946:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
        !          2947:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
        !          2948: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
        !          2949:     sed 's/^/| /' "$ac_site_file" >&5
        !          2950:     . "$ac_site_file" \
        !          2951:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          2952: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          2953: as_fn_error $? "failed to load site script $ac_site_file
        !          2954: See \`config.log' for more details" "$LINENO" 5; }
        !          2955:   fi
        !          2956: done
        !          2957: 
        !          2958: if test -r "$cache_file"; then
        !          2959:   # Some versions of bash will fail to source /dev/null (special files
        !          2960:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
        !          2961:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
        !          2962:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
        !          2963: $as_echo "$as_me: loading cache $cache_file" >&6;}
        !          2964:     case $cache_file in
        !          2965:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
        !          2966:       *)                      . "./$cache_file";;
        !          2967:     esac
        !          2968:   fi
        !          2969: else
        !          2970:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
        !          2971: $as_echo "$as_me: creating cache $cache_file" >&6;}
        !          2972:   >$cache_file
        !          2973: fi
        !          2974: 
        !          2975: # Check that the precious variables saved in the cache have kept the same
        !          2976: # value.
        !          2977: ac_cache_corrupted=false
        !          2978: for ac_var in $ac_precious_vars; do
        !          2979:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
        !          2980:   eval ac_new_set=\$ac_env_${ac_var}_set
        !          2981:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
        !          2982:   eval ac_new_val=\$ac_env_${ac_var}_value
        !          2983:   case $ac_old_set,$ac_new_set in
        !          2984:     set,)
        !          2985:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
        !          2986: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
        !          2987:       ac_cache_corrupted=: ;;
        !          2988:     ,set)
        !          2989:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
        !          2990: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
        !          2991:       ac_cache_corrupted=: ;;
        !          2992:     ,);;
        !          2993:     *)
        !          2994:       if test "x$ac_old_val" != "x$ac_new_val"; then
        !          2995:        # differences in whitespace do not lead to failure.
        !          2996:        ac_old_val_w=`echo x $ac_old_val`
        !          2997:        ac_new_val_w=`echo x $ac_new_val`
        !          2998:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
        !          2999:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
        !          3000: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
        !          3001:          ac_cache_corrupted=:
        !          3002:        else
        !          3003:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
        !          3004: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
        !          3005:          eval $ac_var=\$ac_old_val
        !          3006:        fi
        !          3007:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
        !          3008: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
        !          3009:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
        !          3010: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
        !          3011:       fi;;
        !          3012:   esac
        !          3013:   # Pass precious variables to config.status.
        !          3014:   if test "$ac_new_set" = set; then
        !          3015:     case $ac_new_val in
        !          3016:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          3017:     *) ac_arg=$ac_var=$ac_new_val ;;
        !          3018:     esac
        !          3019:     case " $ac_configure_args " in
        !          3020:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
        !          3021:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
        !          3022:     esac
        !          3023:   fi
        !          3024: done
        !          3025: if $ac_cache_corrupted; then
        !          3026:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          3027: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          3028:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
        !          3029: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
        !          3030:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
        !          3031: fi
        !          3032: ## -------------------- ##
        !          3033: ## Main body of script. ##
        !          3034: ## -------------------- ##
        !          3035: 
        !          3036: ac_ext=c
        !          3037: ac_cpp='$CPP $CPPFLAGS'
        !          3038: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          3039: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          3040: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          3041: 
        !          3042: 
        !          3043: 
        !          3044: 
        !          3045: 
        !          3046: 
        !          3047: 
        !          3048: # using curl-override.m4
        !          3049: 
        !          3050: 
        !          3051: 
        !          3052: 
        !          3053: 
        !          3054: ac_config_headers="$ac_config_headers lib/curl_config.h"
        !          3055: 
        !          3056: 
        !          3057: 
        !          3058: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
        !          3059: $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
        !          3060:     # Check whether --enable-maintainer-mode was given.
        !          3061: if test "${enable_maintainer_mode+set}" = set; then :
        !          3062:   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
        !          3063: else
        !          3064:   USE_MAINTAINER_MODE=no
        !          3065: fi
        !          3066: 
        !          3067:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
        !          3068: $as_echo "$USE_MAINTAINER_MODE" >&6; }
        !          3069:    if test $USE_MAINTAINER_MODE = yes; then
        !          3070:   MAINTAINER_MODE_TRUE=
        !          3071:   MAINTAINER_MODE_FALSE='#'
        !          3072: else
        !          3073:   MAINTAINER_MODE_TRUE='#'
        !          3074:   MAINTAINER_MODE_FALSE=
        !          3075: fi
        !          3076: 
        !          3077:   MAINT=$MAINTAINER_MODE_TRUE
        !          3078: 
        !          3079: 
        !          3080: # Check whether --enable-silent-rules was given.
        !          3081: if test "${enable_silent_rules+set}" = set; then :
        !          3082:   enableval=$enable_silent_rules;
        !          3083: fi
        !          3084: 
        !          3085: case $enable_silent_rules in # (((
        !          3086:   yes) AM_DEFAULT_VERBOSITY=0;;
        !          3087:    no) AM_DEFAULT_VERBOSITY=1;;
        !          3088:     *) AM_DEFAULT_VERBOSITY=0;;
        !          3089: esac
        !          3090: am_make=${MAKE-make}
        !          3091: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
        !          3092: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
        !          3093: if ${am_cv_make_support_nested_variables+:} false; then :
        !          3094:   $as_echo_n "(cached) " >&6
        !          3095: else
        !          3096:   if $as_echo 'TRUE=$(BAR$(V))
        !          3097: BAR0=false
        !          3098: BAR1=true
        !          3099: V=1
        !          3100: am__doit:
        !          3101:        @$(TRUE)
        !          3102: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
        !          3103:   am_cv_make_support_nested_variables=yes
        !          3104: else
        !          3105:   am_cv_make_support_nested_variables=no
        !          3106: fi
        !          3107: fi
        !          3108: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
        !          3109: $as_echo "$am_cv_make_support_nested_variables" >&6; }
        !          3110: if test $am_cv_make_support_nested_variables = yes; then
        !          3111:     AM_V='$(V)'
        !          3112:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
        !          3113: else
        !          3114:   AM_V=$AM_DEFAULT_VERBOSITY
        !          3115:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
        !          3116: fi
        !          3117: AM_BACKSLASH='\'
        !          3118: 
        !          3119: 
        !          3120: 
        !          3121:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable debug build options" >&5
        !          3122: $as_echo_n "checking whether to enable debug build options... " >&6; }
        !          3123:   OPT_DEBUG_BUILD="default"
        !          3124:   # Check whether --enable-debug was given.
        !          3125: if test "${enable_debug+set}" = set; then :
        !          3126:   enableval=$enable_debug; OPT_DEBUG_BUILD=$enableval
        !          3127: fi
        !          3128: 
        !          3129:   case "$OPT_DEBUG_BUILD" in
        !          3130:     no)
        !          3131:             want_debug="no"
        !          3132:       ;;
        !          3133:     default)
        !          3134:             want_debug="no"
        !          3135:       ;;
        !          3136:     *)
        !          3137:             want_debug="yes"
        !          3138: 
        !          3139: $as_echo "#define DEBUGBUILD 1" >>confdefs.h
        !          3140: 
        !          3141:       ;;
        !          3142:   esac
        !          3143:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_debug" >&5
        !          3144: $as_echo "$want_debug" >&6; }
        !          3145: 
        !          3146: 
        !          3147:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable compiler optimizer" >&5
        !          3148: $as_echo_n "checking whether to enable compiler optimizer... " >&6; }
        !          3149:   OPT_COMPILER_OPTIMIZE="default"
        !          3150:   # Check whether --enable-optimize was given.
        !          3151: if test "${enable_optimize+set}" = set; then :
        !          3152:   enableval=$enable_optimize; OPT_COMPILER_OPTIMIZE=$enableval
        !          3153: fi
        !          3154: 
        !          3155:   case "$OPT_COMPILER_OPTIMIZE" in
        !          3156:     no)
        !          3157:                               want_optimize="no"
        !          3158:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3159: $as_echo "no" >&6; }
        !          3160:       ;;
        !          3161:     default)
        !          3162:                                                                         if test "$want_debug" = "yes"; then
        !          3163:         want_optimize="assume_no"
        !          3164:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: (assumed) no" >&5
        !          3165: $as_echo "(assumed) no" >&6; }
        !          3166:       else
        !          3167:         want_optimize="assume_yes"
        !          3168:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: (assumed) yes" >&5
        !          3169: $as_echo "(assumed) yes" >&6; }
        !          3170:       fi
        !          3171:       ;;
        !          3172:     *)
        !          3173:                               want_optimize="yes"
        !          3174:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          3175: $as_echo "yes" >&6; }
        !          3176:       ;;
        !          3177:   esac
        !          3178: 
        !          3179: 
        !          3180:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable strict compiler warnings" >&5
        !          3181: $as_echo_n "checking whether to enable strict compiler warnings... " >&6; }
        !          3182:   OPT_COMPILER_WARNINGS="default"
        !          3183:   # Check whether --enable-warnings was given.
        !          3184: if test "${enable_warnings+set}" = set; then :
        !          3185:   enableval=$enable_warnings; OPT_COMPILER_WARNINGS=$enableval
        !          3186: fi
        !          3187: 
        !          3188:   case "$OPT_COMPILER_WARNINGS" in
        !          3189:     no)
        !          3190:             want_warnings="no"
        !          3191:       ;;
        !          3192:     default)
        !          3193:                   want_warnings="$want_debug"
        !          3194:       ;;
        !          3195:     *)
        !          3196:             want_warnings="yes"
        !          3197:       ;;
        !          3198:   esac
        !          3199:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_warnings" >&5
        !          3200: $as_echo "$want_warnings" >&6; }
        !          3201: 
        !          3202: 
        !          3203:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable compiler warnings as errors" >&5
        !          3204: $as_echo_n "checking whether to enable compiler warnings as errors... " >&6; }
        !          3205:   OPT_COMPILER_WERROR="default"
        !          3206:   # Check whether --enable-werror was given.
        !          3207: if test "${enable_werror+set}" = set; then :
        !          3208:   enableval=$enable_werror; OPT_COMPILER_WERROR=$enableval
        !          3209: fi
        !          3210: 
        !          3211:   case "$OPT_COMPILER_WERROR" in
        !          3212:     no)
        !          3213:             want_werror="no"
        !          3214:       ;;
        !          3215:     default)
        !          3216:             want_werror="no"
        !          3217:       ;;
        !          3218:     *)
        !          3219:             want_werror="yes"
        !          3220:       ;;
        !          3221:   esac
        !          3222:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_werror" >&5
        !          3223: $as_echo "$want_werror" >&6; }
        !          3224: 
        !          3225: 
        !          3226:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable curl debug memory tracking" >&5
        !          3227: $as_echo_n "checking whether to enable curl debug memory tracking... " >&6; }
        !          3228:   OPT_CURLDEBUG_BUILD="default"
        !          3229:   # Check whether --enable-curldebug was given.
        !          3230: if test "${enable_curldebug+set}" = set; then :
        !          3231:   enableval=$enable_curldebug; OPT_CURLDEBUG_BUILD=$enableval
        !          3232: fi
        !          3233: 
        !          3234:   case "$OPT_CURLDEBUG_BUILD" in
        !          3235:     no)
        !          3236:             want_curldebug="no"
        !          3237:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3238: $as_echo "no" >&6; }
        !          3239:       ;;
        !          3240:     default)
        !          3241:                                           if test "$want_debug" = "yes"; then
        !          3242:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: (assumed) yes" >&5
        !          3243: $as_echo "(assumed) yes" >&6; }
        !          3244: 
        !          3245: $as_echo "#define CURLDEBUG 1" >>confdefs.h
        !          3246: 
        !          3247:       else
        !          3248:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3249: $as_echo "no" >&6; }
        !          3250:       fi
        !          3251:       want_curldebug_assumed="yes"
        !          3252:       want_curldebug="$want_debug"
        !          3253:       ;;
        !          3254:     *)
        !          3255:                                                       want_curldebug="yes"
        !          3256: 
        !          3257: $as_echo "#define CURLDEBUG 1" >>confdefs.h
        !          3258: 
        !          3259:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          3260: $as_echo "yes" >&6; }
        !          3261:       ;;
        !          3262:   esac
        !          3263: 
        !          3264: 
        !          3265:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable hiding of library internal symbols" >&5
        !          3266: $as_echo_n "checking whether to enable hiding of library internal symbols... " >&6; }
        !          3267:   OPT_SYMBOL_HIDING="default"
        !          3268:   # Check whether --enable-symbol-hiding was given.
        !          3269: if test "${enable_symbol_hiding+set}" = set; then :
        !          3270:   enableval=$enable_symbol_hiding; OPT_SYMBOL_HIDING=$enableval
        !          3271: fi
        !          3272: 
        !          3273:   # Check whether --enable-hidden-symbols was given.
        !          3274: if test "${enable_hidden_symbols+set}" = set; then :
        !          3275:   enableval=$enable_hidden_symbols; OPT_SYMBOL_HIDING=$enableval
        !          3276: fi
        !          3277: 
        !          3278:   case "$OPT_SYMBOL_HIDING" in
        !          3279:     no)
        !          3280:                               want_symbol_hiding="no"
        !          3281:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3282: $as_echo "no" >&6; }
        !          3283:       ;;
        !          3284:     default)
        !          3285:                   want_symbol_hiding="yes"
        !          3286:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          3287: $as_echo "yes" >&6; }
        !          3288:       ;;
        !          3289:     *)
        !          3290:                         want_symbol_hiding="yes"
        !          3291:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          3292: $as_echo "yes" >&6; }
        !          3293:       ;;
        !          3294:   esac
        !          3295: 
        !          3296: 
        !          3297:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable c-ares for DNS lookups" >&5
        !          3298: $as_echo_n "checking whether to enable c-ares for DNS lookups... " >&6; }
        !          3299:   OPT_ARES="default"
        !          3300:   # Check whether --enable-ares was given.
        !          3301: if test "${enable_ares+set}" = set; then :
        !          3302:   enableval=$enable_ares; OPT_ARES=$enableval
        !          3303: fi
        !          3304: 
        !          3305:   case "$OPT_ARES" in
        !          3306:     no)
        !          3307:             want_ares="no"
        !          3308:       ;;
        !          3309:     default)
        !          3310:             want_ares="no"
        !          3311:       ;;
        !          3312:     *)
        !          3313:             want_ares="yes"
        !          3314:       if test -n "$enableval" && test "$enableval" != "yes"; then
        !          3315:         want_ares_path="$enableval"
        !          3316:       fi
        !          3317:       ;;
        !          3318:   esac
        !          3319:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_ares" >&5
        !          3320: $as_echo "$want_ares" >&6; }
        !          3321: 
        !          3322: 
        !          3323:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable dependency on -lrt" >&5
        !          3324: $as_echo_n "checking whether to disable dependency on -lrt... " >&6; }
        !          3325:   OPT_RT="default"
        !          3326:   # Check whether --enable-rt was given.
        !          3327: if test "${enable_rt+set}" = set; then :
        !          3328:   enableval=$enable_rt; OPT_RT=$enableval
        !          3329: fi
        !          3330: 
        !          3331:   case "$OPT_RT" in
        !          3332:     no)
        !          3333:             dontwant_rt="yes"
        !          3334:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          3335: $as_echo "yes" >&6; }
        !          3336:       ;;
        !          3337:     default)
        !          3338:             dontwant_rt="no"
        !          3339:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: (assumed no)" >&5
        !          3340: $as_echo "(assumed no)" >&6; }
        !          3341:       ;;
        !          3342:     *)
        !          3343:             dontwant_rt="no"
        !          3344:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3345: $as_echo "no" >&6; }
        !          3346:       ;;
        !          3347:   esac
        !          3348: 
        !          3349: 
        !          3350:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ESNI support" >&5
        !          3351: $as_echo_n "checking whether to enable ESNI support... " >&6; }
        !          3352:   OPT_ESNI="default"
        !          3353:   # Check whether --enable-esni was given.
        !          3354: if test "${enable_esni+set}" = set; then :
        !          3355:   enableval=$enable_esni; OPT_ESNI=$enableval
        !          3356: fi
        !          3357: 
        !          3358:   case "$OPT_ESNI" in
        !          3359:     no)
        !          3360:             want_esni="no"
        !          3361:       curl_esni_msg="no      (--enable-esni)"
        !          3362:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3363: $as_echo "no" >&6; }
        !          3364:       ;;
        !          3365:     default)
        !          3366:             want_esni="no"
        !          3367:       curl_esni_msg="no      (--enable-esni)"
        !          3368:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3369: $as_echo "no" >&6; }
        !          3370:       ;;
        !          3371:     *)
        !          3372:             want_esni="yes"
        !          3373:       curl_esni_msg="enabled (--disable-esni)"
        !          3374:       experimental="esni"
        !          3375:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          3376: $as_echo "yes" >&6; }
        !          3377:       ;;
        !          3378:   esac
        !          3379: 
        !          3380: 
        !          3381: #
        !          3382: # Check that 'XC_CONFIGURE_PREAMBLE' has already run.
        !          3383: #
        !          3384: 
        !          3385: if test -z "$xc_configure_preamble_result"; then
        !          3386:   as_fn_error $? "xc_configure_preamble_result not set (internal problem)" "$LINENO" 5
        !          3387: fi
        !          3388: 
        !          3389: #
        !          3390: # Check that 'PATH_SEPARATOR' has already been set.
        !          3391: #
        !          3392: 
        !          3393: if test -z "$xc_PATH_SEPARATOR"; then
        !          3394:   as_fn_error $? "xc_PATH_SEPARATOR not set (internal problem)" "$LINENO" 5
        !          3395: fi
        !          3396: if test -z "$PATH_SEPARATOR"; then
        !          3397:   as_fn_error $? "PATH_SEPARATOR not set (internal or config.site problem)" "$LINENO" 5
        !          3398: fi
        !          3399: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for path separator" >&5
        !          3400: $as_echo_n "checking for path separator... " >&6; }
        !          3401: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_SEPARATOR" >&5
        !          3402: $as_echo "$PATH_SEPARATOR" >&6; }
        !          3403: if test "x$PATH_SEPARATOR" != "x$xc_PATH_SEPARATOR"; then
        !          3404:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initial path separator" >&5
        !          3405: $as_echo_n "checking for initial path separator... " >&6; }
        !          3406:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_PATH_SEPARATOR" >&5
        !          3407: $as_echo "$xc_PATH_SEPARATOR" >&6; }
        !          3408:   as_fn_error $? "path separator mismatch (internal or config.site problem)" "$LINENO" 5
        !          3409: fi
        !          3410: 
        !          3411: 
        !          3412: #
        !          3413: # save the configure arguments
        !          3414: #
        !          3415: CONFIGURE_OPTIONS="\"$ac_configure_args\""
        !          3416: 
        !          3417: 
        !          3418: if test -z "$SED"; then
        !          3419:     # Extract the first word of "sed", so it can be a program name with args.
        !          3420: set dummy sed; ac_word=$2
        !          3421: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3422: $as_echo_n "checking for $ac_word... " >&6; }
        !          3423: if ${ac_cv_path_SED+:} false; then :
        !          3424:   $as_echo_n "(cached) " >&6
        !          3425: else
        !          3426:   case $SED in
        !          3427:   [\\/]* | ?:[\\/]*)
        !          3428:   ac_cv_path_SED="$SED" # Let the user override the test with a path.
        !          3429:   ;;
        !          3430:   *)
        !          3431:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          3432: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          3433: for as_dir in $as_dummy
        !          3434: do
        !          3435:   IFS=$as_save_IFS
        !          3436:   test -z "$as_dir" && as_dir=.
        !          3437:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          3438:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          3439:     ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
        !          3440:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          3441:     break 2
        !          3442:   fi
        !          3443: done
        !          3444:   done
        !          3445: IFS=$as_save_IFS
        !          3446: 
        !          3447:   test -z "$ac_cv_path_SED" && ac_cv_path_SED="not_found"
        !          3448:   ;;
        !          3449: esac
        !          3450: fi
        !          3451: SED=$ac_cv_path_SED
        !          3452: if test -n "$SED"; then
        !          3453:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
        !          3454: $as_echo "$SED" >&6; }
        !          3455: else
        !          3456:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3457: $as_echo "no" >&6; }
        !          3458: fi
        !          3459: 
        !          3460: 
        !          3461:   if test -z "$SED" || test "$SED" = "not_found"; then
        !          3462:     as_fn_error $? "sed not found in PATH. Cannot continue without sed." "$LINENO" 5
        !          3463:   fi
        !          3464: fi
        !          3465: 
        !          3466: 
        !          3467: if test -z "$GREP"; then
        !          3468:     # Extract the first word of "grep", so it can be a program name with args.
        !          3469: set dummy grep; ac_word=$2
        !          3470: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3471: $as_echo_n "checking for $ac_word... " >&6; }
        !          3472: if ${ac_cv_path_GREP+:} false; then :
        !          3473:   $as_echo_n "(cached) " >&6
        !          3474: else
        !          3475:   case $GREP in
        !          3476:   [\\/]* | ?:[\\/]*)
        !          3477:   ac_cv_path_GREP="$GREP" # Let the user override the test with a path.
        !          3478:   ;;
        !          3479:   *)
        !          3480:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          3481: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          3482: for as_dir in $as_dummy
        !          3483: do
        !          3484:   IFS=$as_save_IFS
        !          3485:   test -z "$as_dir" && as_dir=.
        !          3486:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          3487:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          3488:     ac_cv_path_GREP="$as_dir/$ac_word$ac_exec_ext"
        !          3489:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          3490:     break 2
        !          3491:   fi
        !          3492: done
        !          3493:   done
        !          3494: IFS=$as_save_IFS
        !          3495: 
        !          3496:   test -z "$ac_cv_path_GREP" && ac_cv_path_GREP="not_found"
        !          3497:   ;;
        !          3498: esac
        !          3499: fi
        !          3500: GREP=$ac_cv_path_GREP
        !          3501: if test -n "$GREP"; then
        !          3502:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GREP" >&5
        !          3503: $as_echo "$GREP" >&6; }
        !          3504: else
        !          3505:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3506: $as_echo "no" >&6; }
        !          3507: fi
        !          3508: 
        !          3509: 
        !          3510:   if test -z "$GREP" || test "$GREP" = "not_found"; then
        !          3511:     as_fn_error $? "grep not found in PATH. Cannot continue without grep." "$LINENO" 5
        !          3512:   fi
        !          3513: fi
        !          3514: 
        !          3515: 
        !          3516: if test -z "$EGREP"; then
        !          3517:     if echo a | ($GREP -E '(a|b)') >/dev/null 2>&1; then
        !          3518:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
        !          3519: $as_echo_n "checking for egrep... " >&6; }
        !          3520:     EGREP="$GREP -E"
        !          3521:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EGREP" >&5
        !          3522: $as_echo "$EGREP" >&6; }
        !          3523:   else
        !          3524:     # Extract the first word of "egrep", so it can be a program name with args.
        !          3525: set dummy egrep; ac_word=$2
        !          3526: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3527: $as_echo_n "checking for $ac_word... " >&6; }
        !          3528: if ${ac_cv_path_EGREP+:} false; then :
        !          3529:   $as_echo_n "(cached) " >&6
        !          3530: else
        !          3531:   case $EGREP in
        !          3532:   [\\/]* | ?:[\\/]*)
        !          3533:   ac_cv_path_EGREP="$EGREP" # Let the user override the test with a path.
        !          3534:   ;;
        !          3535:   *)
        !          3536:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          3537: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          3538: for as_dir in $as_dummy
        !          3539: do
        !          3540:   IFS=$as_save_IFS
        !          3541:   test -z "$as_dir" && as_dir=.
        !          3542:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          3543:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          3544:     ac_cv_path_EGREP="$as_dir/$ac_word$ac_exec_ext"
        !          3545:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          3546:     break 2
        !          3547:   fi
        !          3548: done
        !          3549:   done
        !          3550: IFS=$as_save_IFS
        !          3551: 
        !          3552:   test -z "$ac_cv_path_EGREP" && ac_cv_path_EGREP="not_found"
        !          3553:   ;;
        !          3554: esac
        !          3555: fi
        !          3556: EGREP=$ac_cv_path_EGREP
        !          3557: if test -n "$EGREP"; then
        !          3558:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EGREP" >&5
        !          3559: $as_echo "$EGREP" >&6; }
        !          3560: else
        !          3561:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3562: $as_echo "no" >&6; }
        !          3563: fi
        !          3564: 
        !          3565: 
        !          3566:   fi
        !          3567: fi
        !          3568: if test -z "$EGREP" || test "$EGREP" = "not_found"; then
        !          3569:   as_fn_error $? "egrep not found in PATH. Cannot continue without egrep." "$LINENO" 5
        !          3570: fi
        !          3571: 
        !          3572: 
        !          3573: if test -z "$AR"; then
        !          3574:     if test -n "$ac_tool_prefix"; then
        !          3575:   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
        !          3576: set dummy ${ac_tool_prefix}ar; ac_word=$2
        !          3577: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3578: $as_echo_n "checking for $ac_word... " >&6; }
        !          3579: if ${ac_cv_path_AR+:} false; then :
        !          3580:   $as_echo_n "(cached) " >&6
        !          3581: else
        !          3582:   case $AR in
        !          3583:   [\\/]* | ?:[\\/]*)
        !          3584:   ac_cv_path_AR="$AR" # Let the user override the test with a path.
        !          3585:   ;;
        !          3586:   *)
        !          3587:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          3588: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          3589: for as_dir in $as_dummy
        !          3590: do
        !          3591:   IFS=$as_save_IFS
        !          3592:   test -z "$as_dir" && as_dir=.
        !          3593:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          3594:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          3595:     ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
        !          3596:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          3597:     break 2
        !          3598:   fi
        !          3599: done
        !          3600:   done
        !          3601: IFS=$as_save_IFS
        !          3602: 
        !          3603:   ;;
        !          3604: esac
        !          3605: fi
        !          3606: AR=$ac_cv_path_AR
        !          3607: if test -n "$AR"; then
        !          3608:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
        !          3609: $as_echo "$AR" >&6; }
        !          3610: else
        !          3611:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3612: $as_echo "no" >&6; }
        !          3613: fi
        !          3614: 
        !          3615: 
        !          3616: fi
        !          3617: if test -z "$ac_cv_path_AR"; then
        !          3618:   ac_pt_AR=$AR
        !          3619:   # Extract the first word of "ar", so it can be a program name with args.
        !          3620: set dummy ar; ac_word=$2
        !          3621: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3622: $as_echo_n "checking for $ac_word... " >&6; }
        !          3623: if ${ac_cv_path_ac_pt_AR+:} false; then :
        !          3624:   $as_echo_n "(cached) " >&6
        !          3625: else
        !          3626:   case $ac_pt_AR in
        !          3627:   [\\/]* | ?:[\\/]*)
        !          3628:   ac_cv_path_ac_pt_AR="$ac_pt_AR" # Let the user override the test with a path.
        !          3629:   ;;
        !          3630:   *)
        !          3631:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          3632: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          3633: for as_dir in $as_dummy
        !          3634: do
        !          3635:   IFS=$as_save_IFS
        !          3636:   test -z "$as_dir" && as_dir=.
        !          3637:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          3638:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          3639:     ac_cv_path_ac_pt_AR="$as_dir/$ac_word$ac_exec_ext"
        !          3640:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          3641:     break 2
        !          3642:   fi
        !          3643: done
        !          3644:   done
        !          3645: IFS=$as_save_IFS
        !          3646: 
        !          3647:   ;;
        !          3648: esac
        !          3649: fi
        !          3650: ac_pt_AR=$ac_cv_path_ac_pt_AR
        !          3651: if test -n "$ac_pt_AR"; then
        !          3652:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_AR" >&5
        !          3653: $as_echo "$ac_pt_AR" >&6; }
        !          3654: else
        !          3655:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3656: $as_echo "no" >&6; }
        !          3657: fi
        !          3658: 
        !          3659:   if test "x$ac_pt_AR" = x; then
        !          3660:     AR="not_found"
        !          3661:   else
        !          3662:     case $cross_compiling:$ac_tool_warned in
        !          3663: yes:)
        !          3664: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          3665: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          3666: ac_tool_warned=yes ;;
        !          3667: esac
        !          3668:     AR=$ac_pt_AR
        !          3669:   fi
        !          3670: else
        !          3671:   AR="$ac_cv_path_AR"
        !          3672: fi
        !          3673: 
        !          3674:   if test -z "$AR" || test "$AR" = "not_found"; then
        !          3675:     as_fn_error $? "ar not found in PATH. Cannot continue without ar." "$LINENO" 5
        !          3676:   fi
        !          3677: fi
        !          3678: 
        !          3679: 
        !          3680: 
        !          3681: 
        !          3682: CURLVERSION=`$SED -ne 's/^#define LIBCURL_VERSION "\(.*\)".*/\1/p' ${srcdir}/include/curl/curlver.h`
        !          3683: 
        !          3684:   xc_prog_cc_prev_IFS=$IFS
        !          3685:   xc_prog_cc_prev_LIBS=$LIBS
        !          3686:   xc_prog_cc_prev_CFLAGS=$CFLAGS
        !          3687:   xc_prog_cc_prev_LDFLAGS=$LDFLAGS
        !          3688:   xc_prog_cc_prev_CPPFLAGS=$CPPFLAGS
        !          3689: 
        !          3690: 
        !          3691: 
        !          3692:   xc_bad_var_libs=no
        !          3693:   for xc_word in $LIBS; do
        !          3694:     case "$xc_word" in
        !          3695:       -l* | --library=*)
        !          3696:         :
        !          3697:         ;;
        !          3698:       *)
        !          3699:         xc_bad_var_libs=yes
        !          3700:         ;;
        !          3701:     esac
        !          3702:   done
        !          3703:   if test $xc_bad_var_libs = yes; then
        !          3704:     { $as_echo "$as_me:${as_lineno-$LINENO}: using LIBS: $LIBS" >&5
        !          3705: $as_echo "$as_me: using LIBS: $LIBS" >&6;}
        !          3706:     { $as_echo "$as_me:${as_lineno-$LINENO}: LIBS note: LIBS should only be used to specify libraries (-lname)." >&5
        !          3707: $as_echo "$as_me: LIBS note: LIBS should only be used to specify libraries (-lname)." >&6;}
        !          3708:   fi
        !          3709: 
        !          3710: 
        !          3711:   xc_bad_var_ldflags=no
        !          3712:   for xc_word in $LDFLAGS; do
        !          3713:     case "$xc_word" in
        !          3714:       -D*)
        !          3715:         xc_bad_var_ldflags=yes
        !          3716:         ;;
        !          3717:       -U*)
        !          3718:         xc_bad_var_ldflags=yes
        !          3719:         ;;
        !          3720:       -I*)
        !          3721:         xc_bad_var_ldflags=yes
        !          3722:         ;;
        !          3723: # Temporarily disable -l* flag check for SSP support (Mk/bsd.ssp.mk)
        !          3724: #      -l* | --library=*)
        !          3725: #        xc_bad_var_ldflags=yes
        !          3726: #        ;;
        !          3727:     esac
        !          3728:   done
        !          3729:   if test $xc_bad_var_ldflags = yes; then
        !          3730:     { $as_echo "$as_me:${as_lineno-$LINENO}: using LDFLAGS: $LDFLAGS" >&5
        !          3731: $as_echo "$as_me: using LDFLAGS: $LDFLAGS" >&6;}
        !          3732:     xc_bad_var_msg="LDFLAGS note: LDFLAGS should only be used to specify linker flags, not"
        !          3733:     for xc_word in $LDFLAGS; do
        !          3734:       case "$xc_word" in
        !          3735:         -D*)
        !          3736:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&5
        !          3737: $as_echo "$as_me: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&6;}
        !          3738:           ;;
        !          3739:         -U*)
        !          3740:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&5
        !          3741: $as_echo "$as_me: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&6;}
        !          3742:           ;;
        !          3743:         -I*)
        !          3744:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&5
        !          3745: $as_echo "$as_me: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&6;}
        !          3746:           ;;
        !          3747:         -l* | --library=*)
        !          3748:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&5
        !          3749: $as_echo "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
        !          3750:           ;;
        !          3751:       esac
        !          3752:     done
        !          3753:   fi
        !          3754: 
        !          3755: 
        !          3756:   xc_bad_var_cppflags=no
        !          3757:   for xc_word in $CPPFLAGS; do
        !          3758:     case "$xc_word" in
        !          3759:       -rpath*)
        !          3760:         xc_bad_var_cppflags=yes
        !          3761:         ;;
        !          3762:       -L* | --library-path=*)
        !          3763:         xc_bad_var_cppflags=yes
        !          3764:         ;;
        !          3765:       -l* | --library=*)
        !          3766:         xc_bad_var_cppflags=yes
        !          3767:         ;;
        !          3768:     esac
        !          3769:   done
        !          3770:   if test $xc_bad_var_cppflags = yes; then
        !          3771:     { $as_echo "$as_me:${as_lineno-$LINENO}: using CPPFLAGS: $CPPFLAGS" >&5
        !          3772: $as_echo "$as_me: using CPPFLAGS: $CPPFLAGS" >&6;}
        !          3773:     xc_bad_var_msg="CPPFLAGS note: CPPFLAGS should only be used to specify C preprocessor flags, not"
        !          3774:     for xc_word in $CPPFLAGS; do
        !          3775:       case "$xc_word" in
        !          3776:         -rpath*)
        !          3777:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&5
        !          3778: $as_echo "$as_me: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&6;}
        !          3779:           ;;
        !          3780:         -L* | --library-path=*)
        !          3781:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&5
        !          3782: $as_echo "$as_me: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&6;}
        !          3783:           ;;
        !          3784:         -l* | --library=*)
        !          3785:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&5
        !          3786: $as_echo "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
        !          3787:           ;;
        !          3788:       esac
        !          3789:     done
        !          3790:   fi
        !          3791: 
        !          3792: 
        !          3793:   xc_bad_var_cflags=no
        !          3794:   for xc_word in $CFLAGS; do
        !          3795:     case "$xc_word" in
        !          3796: # Temporarily disable -D* flag check (PR/177401, PR/180944)
        !          3797: #      -D*)
        !          3798: #        xc_bad_var_cflags=yes
        !          3799: #        ;;
        !          3800:       -U*)
        !          3801:         xc_bad_var_cflags=yes
        !          3802:         ;;
        !          3803:       -I*)
        !          3804:         xc_bad_var_cflags=yes
        !          3805:         ;;
        !          3806:       -rpath*)
        !          3807:         xc_bad_var_cflags=yes
        !          3808:         ;;
        !          3809:       -L* | --library-path=*)
        !          3810:         xc_bad_var_cflags=yes
        !          3811:         ;;
        !          3812:       -l* | --library=*)
        !          3813:         xc_bad_var_cflags=yes
        !          3814:         ;;
        !          3815:     esac
        !          3816:   done
        !          3817:   if test $xc_bad_var_cflags = yes; then
        !          3818:     { $as_echo "$as_me:${as_lineno-$LINENO}: using CFLAGS: $CFLAGS" >&5
        !          3819: $as_echo "$as_me: using CFLAGS: $CFLAGS" >&6;}
        !          3820:     xc_bad_var_msg="CFLAGS note: CFLAGS should only be used to specify C compiler flags, not"
        !          3821:     for xc_word in $CFLAGS; do
        !          3822:       case "$xc_word" in
        !          3823:         -D*)
        !          3824:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&5
        !          3825: $as_echo "$as_me: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&6;}
        !          3826:           ;;
        !          3827:         -U*)
        !          3828:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&5
        !          3829: $as_echo "$as_me: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&6;}
        !          3830:           ;;
        !          3831:         -I*)
        !          3832:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&5
        !          3833: $as_echo "$as_me: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&6;}
        !          3834:           ;;
        !          3835:         -rpath*)
        !          3836:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&5
        !          3837: $as_echo "$as_me: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&6;}
        !          3838:           ;;
        !          3839:         -L* | --library-path=*)
        !          3840:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&5
        !          3841: $as_echo "$as_me: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&6;}
        !          3842:           ;;
        !          3843:         -l* | --library=*)
        !          3844:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&5
        !          3845: $as_echo "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
        !          3846:           ;;
        !          3847:       esac
        !          3848:     done
        !          3849:   fi
        !          3850: 
        !          3851:   if test $xc_bad_var_libs = yes ||
        !          3852:      test $xc_bad_var_cflags = yes ||
        !          3853:      test $xc_bad_var_ldflags = yes ||
        !          3854:      test $xc_bad_var_cppflags = yes; then
        !          3855:      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Continuing even with errors mentioned immediately above this line." >&5
        !          3856: $as_echo "$as_me: WARNING: Continuing even with errors mentioned immediately above this line." >&2;}
        !          3857:   fi
        !          3858: 
        !          3859: ac_aux_dir=
        !          3860: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
        !          3861:   if test -f "$ac_dir/install-sh"; then
        !          3862:     ac_aux_dir=$ac_dir
        !          3863:     ac_install_sh="$ac_aux_dir/install-sh -c"
        !          3864:     break
        !          3865:   elif test -f "$ac_dir/install.sh"; then
        !          3866:     ac_aux_dir=$ac_dir
        !          3867:     ac_install_sh="$ac_aux_dir/install.sh -c"
        !          3868:     break
        !          3869:   elif test -f "$ac_dir/shtool"; then
        !          3870:     ac_aux_dir=$ac_dir
        !          3871:     ac_install_sh="$ac_aux_dir/shtool install -c"
        !          3872:     break
        !          3873:   fi
        !          3874: done
        !          3875: if test -z "$ac_aux_dir"; then
        !          3876:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
        !          3877: fi
        !          3878: 
        !          3879: # These three variables are undocumented and unsupported,
        !          3880: # and are intended to be withdrawn in a future Autoconf release.
        !          3881: # They can cause serious problems if a builder's source tree is in a directory
        !          3882: # whose full name contains unusual characters.
        !          3883: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
        !          3884: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
        !          3885: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
        !          3886: 
        !          3887: 
        !          3888: # Find a good install program.  We prefer a C program (faster),
        !          3889: # so one script is as good as another.  But avoid the broken or
        !          3890: # incompatible versions:
        !          3891: # SysV /etc/install, /usr/sbin/install
        !          3892: # SunOS /usr/etc/install
        !          3893: # IRIX /sbin/install
        !          3894: # AIX /bin/install
        !          3895: # AmigaOS /C/install, which installs bootblocks on floppy discs
        !          3896: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
        !          3897: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
        !          3898: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
        !          3899: # OS/2's system install, which has a completely different semantic
        !          3900: # ./install, which can be erroneously created by make from ./install.sh.
        !          3901: # Reject install programs that cannot install multiple files.
        !          3902: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
        !          3903: $as_echo_n "checking for a BSD-compatible install... " >&6; }
        !          3904: if test -z "$INSTALL"; then
        !          3905: if ${ac_cv_path_install+:} false; then :
        !          3906:   $as_echo_n "(cached) " >&6
        !          3907: else
        !          3908:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          3909: for as_dir in $PATH
        !          3910: do
        !          3911:   IFS=$as_save_IFS
        !          3912:   test -z "$as_dir" && as_dir=.
        !          3913:     # Account for people who put trailing slashes in PATH elements.
        !          3914: case $as_dir/ in #((
        !          3915:   ./ | .// | /[cC]/* | \
        !          3916:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
        !          3917:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
        !          3918:   /usr/ucb/* ) ;;
        !          3919:   *)
        !          3920:     # OSF1 and SCO ODT 3.0 have their own names for install.
        !          3921:     # Don't use installbsd from OSF since it installs stuff as root
        !          3922:     # by default.
        !          3923:     for ac_prog in ginstall scoinst install; do
        !          3924:       for ac_exec_ext in '' $ac_executable_extensions; do
        !          3925:        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
        !          3926:          if test $ac_prog = install &&
        !          3927:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
        !          3928:            # AIX install.  It has an incompatible calling convention.
        !          3929:            :
        !          3930:          elif test $ac_prog = install &&
        !          3931:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
        !          3932:            # program-specific install script used by HP pwplus--don't use.
        !          3933:            :
        !          3934:          else
        !          3935:            rm -rf conftest.one conftest.two conftest.dir
        !          3936:            echo one > conftest.one
        !          3937:            echo two > conftest.two
        !          3938:            mkdir conftest.dir
        !          3939:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
        !          3940:              test -s conftest.one && test -s conftest.two &&
        !          3941:              test -s conftest.dir/conftest.one &&
        !          3942:              test -s conftest.dir/conftest.two
        !          3943:            then
        !          3944:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
        !          3945:              break 3
        !          3946:            fi
        !          3947:          fi
        !          3948:        fi
        !          3949:       done
        !          3950:     done
        !          3951:     ;;
        !          3952: esac
        !          3953: 
        !          3954:   done
        !          3955: IFS=$as_save_IFS
        !          3956: 
        !          3957: rm -rf conftest.one conftest.two conftest.dir
        !          3958: 
        !          3959: fi
        !          3960:   if test "${ac_cv_path_install+set}" = set; then
        !          3961:     INSTALL=$ac_cv_path_install
        !          3962:   else
        !          3963:     # As a last resort, use the slow shell script.  Don't cache a
        !          3964:     # value for INSTALL within a source directory, because that will
        !          3965:     # break other packages using the cache if that directory is
        !          3966:     # removed, or if the value is a relative name.
        !          3967:     INSTALL=$ac_install_sh
        !          3968:   fi
        !          3969: fi
        !          3970: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
        !          3971: $as_echo "$INSTALL" >&6; }
        !          3972: 
        !          3973: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
        !          3974: # It thinks the first close brace ends the variable substitution.
        !          3975: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
        !          3976: 
        !          3977: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
        !          3978: 
        !          3979: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
        !          3980: 
        !          3981: # Expand $ac_aux_dir to an absolute path.
        !          3982: am_aux_dir=`cd "$ac_aux_dir" && pwd`
        !          3983: 
        !          3984: ac_ext=c
        !          3985: ac_cpp='$CPP $CPPFLAGS'
        !          3986: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          3987: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          3988: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          3989: if test -n "$ac_tool_prefix"; then
        !          3990:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
        !          3991: set dummy ${ac_tool_prefix}gcc; ac_word=$2
        !          3992: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3993: $as_echo_n "checking for $ac_word... " >&6; }
        !          3994: if ${ac_cv_prog_CC+:} false; then :
        !          3995:   $as_echo_n "(cached) " >&6
        !          3996: else
        !          3997:   if test -n "$CC"; then
        !          3998:   ac_cv_prog_CC="$CC" # Let the user override the test.
        !          3999: else
        !          4000: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4001: for as_dir in $PATH
        !          4002: do
        !          4003:   IFS=$as_save_IFS
        !          4004:   test -z "$as_dir" && as_dir=.
        !          4005:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4006:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          4007:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
        !          4008:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          4009:     break 2
        !          4010:   fi
        !          4011: done
        !          4012:   done
        !          4013: IFS=$as_save_IFS
        !          4014: 
        !          4015: fi
        !          4016: fi
        !          4017: CC=$ac_cv_prog_CC
        !          4018: if test -n "$CC"; then
        !          4019:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
        !          4020: $as_echo "$CC" >&6; }
        !          4021: else
        !          4022:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4023: $as_echo "no" >&6; }
        !          4024: fi
        !          4025: 
        !          4026: 
        !          4027: fi
        !          4028: if test -z "$ac_cv_prog_CC"; then
        !          4029:   ac_ct_CC=$CC
        !          4030:   # Extract the first word of "gcc", so it can be a program name with args.
        !          4031: set dummy gcc; ac_word=$2
        !          4032: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4033: $as_echo_n "checking for $ac_word... " >&6; }
        !          4034: if ${ac_cv_prog_ac_ct_CC+:} false; then :
        !          4035:   $as_echo_n "(cached) " >&6
        !          4036: else
        !          4037:   if test -n "$ac_ct_CC"; then
        !          4038:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
        !          4039: else
        !          4040: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4041: for as_dir in $PATH
        !          4042: do
        !          4043:   IFS=$as_save_IFS
        !          4044:   test -z "$as_dir" && as_dir=.
        !          4045:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4046:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          4047:     ac_cv_prog_ac_ct_CC="gcc"
        !          4048:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          4049:     break 2
        !          4050:   fi
        !          4051: done
        !          4052:   done
        !          4053: IFS=$as_save_IFS
        !          4054: 
        !          4055: fi
        !          4056: fi
        !          4057: ac_ct_CC=$ac_cv_prog_ac_ct_CC
        !          4058: if test -n "$ac_ct_CC"; then
        !          4059:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
        !          4060: $as_echo "$ac_ct_CC" >&6; }
        !          4061: else
        !          4062:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4063: $as_echo "no" >&6; }
        !          4064: fi
        !          4065: 
        !          4066:   if test "x$ac_ct_CC" = x; then
        !          4067:     CC=""
        !          4068:   else
        !          4069:     case $cross_compiling:$ac_tool_warned in
        !          4070: yes:)
        !          4071: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          4072: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          4073: ac_tool_warned=yes ;;
        !          4074: esac
        !          4075:     CC=$ac_ct_CC
        !          4076:   fi
        !          4077: else
        !          4078:   CC="$ac_cv_prog_CC"
        !          4079: fi
        !          4080: 
        !          4081: if test -z "$CC"; then
        !          4082:           if test -n "$ac_tool_prefix"; then
        !          4083:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
        !          4084: set dummy ${ac_tool_prefix}cc; ac_word=$2
        !          4085: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4086: $as_echo_n "checking for $ac_word... " >&6; }
        !          4087: if ${ac_cv_prog_CC+:} false; then :
        !          4088:   $as_echo_n "(cached) " >&6
        !          4089: else
        !          4090:   if test -n "$CC"; then
        !          4091:   ac_cv_prog_CC="$CC" # Let the user override the test.
        !          4092: else
        !          4093: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4094: for as_dir in $PATH
        !          4095: do
        !          4096:   IFS=$as_save_IFS
        !          4097:   test -z "$as_dir" && as_dir=.
        !          4098:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4099:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          4100:     ac_cv_prog_CC="${ac_tool_prefix}cc"
        !          4101:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          4102:     break 2
        !          4103:   fi
        !          4104: done
        !          4105:   done
        !          4106: IFS=$as_save_IFS
        !          4107: 
        !          4108: fi
        !          4109: fi
        !          4110: CC=$ac_cv_prog_CC
        !          4111: if test -n "$CC"; then
        !          4112:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
        !          4113: $as_echo "$CC" >&6; }
        !          4114: else
        !          4115:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4116: $as_echo "no" >&6; }
        !          4117: fi
        !          4118: 
        !          4119: 
        !          4120:   fi
        !          4121: fi
        !          4122: if test -z "$CC"; then
        !          4123:   # Extract the first word of "cc", so it can be a program name with args.
        !          4124: set dummy cc; ac_word=$2
        !          4125: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4126: $as_echo_n "checking for $ac_word... " >&6; }
        !          4127: if ${ac_cv_prog_CC+:} false; then :
        !          4128:   $as_echo_n "(cached) " >&6
        !          4129: else
        !          4130:   if test -n "$CC"; then
        !          4131:   ac_cv_prog_CC="$CC" # Let the user override the test.
        !          4132: else
        !          4133:   ac_prog_rejected=no
        !          4134: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4135: for as_dir in $PATH
        !          4136: do
        !          4137:   IFS=$as_save_IFS
        !          4138:   test -z "$as_dir" && as_dir=.
        !          4139:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4140:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          4141:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
        !          4142:        ac_prog_rejected=yes
        !          4143:        continue
        !          4144:      fi
        !          4145:     ac_cv_prog_CC="cc"
        !          4146:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          4147:     break 2
        !          4148:   fi
        !          4149: done
        !          4150:   done
        !          4151: IFS=$as_save_IFS
        !          4152: 
        !          4153: if test $ac_prog_rejected = yes; then
        !          4154:   # We found a bogon in the path, so make sure we never use it.
        !          4155:   set dummy $ac_cv_prog_CC
        !          4156:   shift
        !          4157:   if test $# != 0; then
        !          4158:     # We chose a different compiler from the bogus one.
        !          4159:     # However, it has the same basename, so the bogon will be chosen
        !          4160:     # first if we set CC to just the basename; use the full file name.
        !          4161:     shift
        !          4162:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
        !          4163:   fi
        !          4164: fi
        !          4165: fi
        !          4166: fi
        !          4167: CC=$ac_cv_prog_CC
        !          4168: if test -n "$CC"; then
        !          4169:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
        !          4170: $as_echo "$CC" >&6; }
        !          4171: else
        !          4172:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4173: $as_echo "no" >&6; }
        !          4174: fi
        !          4175: 
        !          4176: 
        !          4177: fi
        !          4178: if test -z "$CC"; then
        !          4179:   if test -n "$ac_tool_prefix"; then
        !          4180:   for ac_prog in cl.exe
        !          4181:   do
        !          4182:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
        !          4183: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
        !          4184: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4185: $as_echo_n "checking for $ac_word... " >&6; }
        !          4186: if ${ac_cv_prog_CC+:} false; then :
        !          4187:   $as_echo_n "(cached) " >&6
        !          4188: else
        !          4189:   if test -n "$CC"; then
        !          4190:   ac_cv_prog_CC="$CC" # Let the user override the test.
        !          4191: else
        !          4192: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4193: for as_dir in $PATH
        !          4194: do
        !          4195:   IFS=$as_save_IFS
        !          4196:   test -z "$as_dir" && as_dir=.
        !          4197:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4198:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          4199:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
        !          4200:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          4201:     break 2
        !          4202:   fi
        !          4203: done
        !          4204:   done
        !          4205: IFS=$as_save_IFS
        !          4206: 
        !          4207: fi
        !          4208: fi
        !          4209: CC=$ac_cv_prog_CC
        !          4210: if test -n "$CC"; then
        !          4211:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
        !          4212: $as_echo "$CC" >&6; }
        !          4213: else
        !          4214:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4215: $as_echo "no" >&6; }
        !          4216: fi
        !          4217: 
        !          4218: 
        !          4219:     test -n "$CC" && break
        !          4220:   done
        !          4221: fi
        !          4222: if test -z "$CC"; then
        !          4223:   ac_ct_CC=$CC
        !          4224:   for ac_prog in cl.exe
        !          4225: do
        !          4226:   # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          4227: set dummy $ac_prog; ac_word=$2
        !          4228: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4229: $as_echo_n "checking for $ac_word... " >&6; }
        !          4230: if ${ac_cv_prog_ac_ct_CC+:} false; then :
        !          4231:   $as_echo_n "(cached) " >&6
        !          4232: else
        !          4233:   if test -n "$ac_ct_CC"; then
        !          4234:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
        !          4235: else
        !          4236: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4237: for as_dir in $PATH
        !          4238: do
        !          4239:   IFS=$as_save_IFS
        !          4240:   test -z "$as_dir" && as_dir=.
        !          4241:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4242:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          4243:     ac_cv_prog_ac_ct_CC="$ac_prog"
        !          4244:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          4245:     break 2
        !          4246:   fi
        !          4247: done
        !          4248:   done
        !          4249: IFS=$as_save_IFS
        !          4250: 
        !          4251: fi
        !          4252: fi
        !          4253: ac_ct_CC=$ac_cv_prog_ac_ct_CC
        !          4254: if test -n "$ac_ct_CC"; then
        !          4255:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
        !          4256: $as_echo "$ac_ct_CC" >&6; }
        !          4257: else
        !          4258:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4259: $as_echo "no" >&6; }
        !          4260: fi
        !          4261: 
        !          4262: 
        !          4263:   test -n "$ac_ct_CC" && break
        !          4264: done
        !          4265: 
        !          4266:   if test "x$ac_ct_CC" = x; then
        !          4267:     CC=""
        !          4268:   else
        !          4269:     case $cross_compiling:$ac_tool_warned in
        !          4270: yes:)
        !          4271: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          4272: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          4273: ac_tool_warned=yes ;;
        !          4274: esac
        !          4275:     CC=$ac_ct_CC
        !          4276:   fi
        !          4277: fi
        !          4278: 
        !          4279: fi
        !          4280: 
        !          4281: 
        !          4282: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          4283: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          4284: as_fn_error $? "no acceptable C compiler found in \$PATH
        !          4285: See \`config.log' for more details" "$LINENO" 5; }
        !          4286: 
        !          4287: # Provide some information about the compiler.
        !          4288: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
        !          4289: set X $ac_compile
        !          4290: ac_compiler=$2
        !          4291: for ac_option in --version -v -V -qversion; do
        !          4292:   { { ac_try="$ac_compiler $ac_option >&5"
        !          4293: case "(($ac_try" in
        !          4294:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          4295:   *) ac_try_echo=$ac_try;;
        !          4296: esac
        !          4297: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          4298: $as_echo "$ac_try_echo"; } >&5
        !          4299:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
        !          4300:   ac_status=$?
        !          4301:   if test -s conftest.err; then
        !          4302:     sed '10a\
        !          4303: ... rest of stderr output deleted ...
        !          4304:          10q' conftest.err >conftest.er1
        !          4305:     cat conftest.er1 >&5
        !          4306:   fi
        !          4307:   rm -f conftest.er1 conftest.err
        !          4308:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          4309:   test $ac_status = 0; }
        !          4310: done
        !          4311: 
        !          4312: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4313: /* end confdefs.h.  */
        !          4314: 
        !          4315: int main (void)
        !          4316: {
        !          4317: 
        !          4318:  ;
        !          4319:  return 0;
        !          4320: }
        !          4321: _ACEOF
        !          4322: ac_clean_files_save=$ac_clean_files
        !          4323: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
        !          4324: # Try to create an executable without -o first, disregard a.out.
        !          4325: # It will help us diagnose broken compilers, and finding out an intuition
        !          4326: # of exeext.
        !          4327: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
        !          4328: $as_echo_n "checking whether the C compiler works... " >&6; }
        !          4329: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
        !          4330: 
        !          4331: # The possible output files:
        !          4332: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
        !          4333: 
        !          4334: ac_rmfiles=
        !          4335: for ac_file in $ac_files
        !          4336: do
        !          4337:   case $ac_file in
        !          4338:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
        !          4339:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
        !          4340:   esac
        !          4341: done
        !          4342: rm -f $ac_rmfiles
        !          4343: 
        !          4344: if { { ac_try="$ac_link_default"
        !          4345: case "(($ac_try" in
        !          4346:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          4347:   *) ac_try_echo=$ac_try;;
        !          4348: esac
        !          4349: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          4350: $as_echo "$ac_try_echo"; } >&5
        !          4351:   (eval "$ac_link_default") 2>&5
        !          4352:   ac_status=$?
        !          4353:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          4354:   test $ac_status = 0; }; then :
        !          4355:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
        !          4356: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
        !          4357: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
        !          4358: # so that the user can short-circuit this test for compilers unknown to
        !          4359: # Autoconf.
        !          4360: for ac_file in $ac_files ''
        !          4361: do
        !          4362:   test -f "$ac_file" || continue
        !          4363:   case $ac_file in
        !          4364:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
        !          4365:        ;;
        !          4366:     [ab].out )
        !          4367:        # We found the default executable, but exeext='' is most
        !          4368:        # certainly right.
        !          4369:        break;;
        !          4370:     *.* )
        !          4371:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
        !          4372:        then :; else
        !          4373:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
        !          4374:        fi
        !          4375:        # We set ac_cv_exeext here because the later test for it is not
        !          4376:        # safe: cross compilers may not add the suffix if given an `-o'
        !          4377:        # argument, so we may need to know it at that point already.
        !          4378:        # Even if this section looks crufty: it has the advantage of
        !          4379:        # actually working.
        !          4380:        break;;
        !          4381:     * )
        !          4382:        break;;
        !          4383:   esac
        !          4384: done
        !          4385: test "$ac_cv_exeext" = no && ac_cv_exeext=
        !          4386: 
        !          4387: else
        !          4388:   ac_file=''
        !          4389: fi
        !          4390: if test -z "$ac_file"; then :
        !          4391:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4392: $as_echo "no" >&6; }
        !          4393: $as_echo "$as_me: failed program was:" >&5
        !          4394: sed 's/^/| /' conftest.$ac_ext >&5
        !          4395: 
        !          4396: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          4397: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          4398: as_fn_error 77 "C compiler cannot create executables
        !          4399: See \`config.log' for more details" "$LINENO" 5; }
        !          4400: else
        !          4401:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4402: $as_echo "yes" >&6; }
        !          4403: fi
        !          4404: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
        !          4405: $as_echo_n "checking for C compiler default output file name... " >&6; }
        !          4406: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
        !          4407: $as_echo "$ac_file" >&6; }
        !          4408: ac_exeext=$ac_cv_exeext
        !          4409: 
        !          4410: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
        !          4411: ac_clean_files=$ac_clean_files_save
        !          4412: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
        !          4413: $as_echo_n "checking for suffix of executables... " >&6; }
        !          4414: if { { ac_try="$ac_link"
        !          4415: case "(($ac_try" in
        !          4416:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          4417:   *) ac_try_echo=$ac_try;;
        !          4418: esac
        !          4419: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          4420: $as_echo "$ac_try_echo"; } >&5
        !          4421:   (eval "$ac_link") 2>&5
        !          4422:   ac_status=$?
        !          4423:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          4424:   test $ac_status = 0; }; then :
        !          4425:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
        !          4426: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
        !          4427: # work properly (i.e., refer to `conftest.exe'), while it won't with
        !          4428: # `rm'.
        !          4429: for ac_file in conftest.exe conftest conftest.*; do
        !          4430:   test -f "$ac_file" || continue
        !          4431:   case $ac_file in
        !          4432:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
        !          4433:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
        !          4434:          break;;
        !          4435:     * ) break;;
        !          4436:   esac
        !          4437: done
        !          4438: else
        !          4439:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          4440: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          4441: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
        !          4442: See \`config.log' for more details" "$LINENO" 5; }
        !          4443: fi
        !          4444: rm -f conftest conftest$ac_cv_exeext
        !          4445: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
        !          4446: $as_echo "$ac_cv_exeext" >&6; }
        !          4447: 
        !          4448: rm -f conftest.$ac_ext
        !          4449: EXEEXT=$ac_cv_exeext
        !          4450: ac_exeext=$EXEEXT
        !          4451: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4452: /* end confdefs.h.  */
        !          4453: #include <stdio.h>
        !          4454: int main (void)
        !          4455: {
        !          4456: FILE *f = fopen ("conftest.out", "w");
        !          4457:  return ferror (f) || fclose (f) != 0;
        !          4458: 
        !          4459:  ;
        !          4460:  return 0;
        !          4461: }
        !          4462: _ACEOF
        !          4463: ac_clean_files="$ac_clean_files conftest.out"
        !          4464: # Check that the compiler produces executables we can run.  If not, either
        !          4465: # the compiler is broken, or we cross compile.
        !          4466: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
        !          4467: $as_echo_n "checking whether we are cross compiling... " >&6; }
        !          4468: if test "$cross_compiling" != yes; then
        !          4469:   { { ac_try="$ac_link"
        !          4470: case "(($ac_try" in
        !          4471:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          4472:   *) ac_try_echo=$ac_try;;
        !          4473: esac
        !          4474: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          4475: $as_echo "$ac_try_echo"; } >&5
        !          4476:   (eval "$ac_link") 2>&5
        !          4477:   ac_status=$?
        !          4478:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          4479:   test $ac_status = 0; }
        !          4480:   if { ac_try='./conftest$ac_cv_exeext'
        !          4481:   { { case "(($ac_try" in
        !          4482:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          4483:   *) ac_try_echo=$ac_try;;
        !          4484: esac
        !          4485: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          4486: $as_echo "$ac_try_echo"; } >&5
        !          4487:   (eval "$ac_try") 2>&5
        !          4488:   ac_status=$?
        !          4489:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          4490:   test $ac_status = 0; }; }; then
        !          4491:     cross_compiling=no
        !          4492:   else
        !          4493:     if test "$cross_compiling" = maybe; then
        !          4494:        cross_compiling=yes
        !          4495:     else
        !          4496:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          4497: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          4498: as_fn_error $? "cannot run C compiled programs.
        !          4499: If you meant to cross compile, use \`--host'.
        !          4500: See \`config.log' for more details" "$LINENO" 5; }
        !          4501:     fi
        !          4502:   fi
        !          4503: fi
        !          4504: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
        !          4505: $as_echo "$cross_compiling" >&6; }
        !          4506: 
        !          4507: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
        !          4508: ac_clean_files=$ac_clean_files_save
        !          4509: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
        !          4510: $as_echo_n "checking for suffix of object files... " >&6; }
        !          4511: if ${ac_cv_objext+:} false; then :
        !          4512:   $as_echo_n "(cached) " >&6
        !          4513: else
        !          4514:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4515: /* end confdefs.h.  */
        !          4516: 
        !          4517: int main (void)
        !          4518: {
        !          4519: 
        !          4520:  ;
        !          4521:  return 0;
        !          4522: }
        !          4523: _ACEOF
        !          4524: rm -f conftest.o conftest.obj
        !          4525: if { { ac_try="$ac_compile"
        !          4526: case "(($ac_try" in
        !          4527:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          4528:   *) ac_try_echo=$ac_try;;
        !          4529: esac
        !          4530: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          4531: $as_echo "$ac_try_echo"; } >&5
        !          4532:   (eval "$ac_compile") 2>&5
        !          4533:   ac_status=$?
        !          4534:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          4535:   test $ac_status = 0; }; then :
        !          4536:   for ac_file in conftest.o conftest.obj conftest.*; do
        !          4537:   test -f "$ac_file" || continue;
        !          4538:   case $ac_file in
        !          4539:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
        !          4540:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
        !          4541:        break;;
        !          4542:   esac
        !          4543: done
        !          4544: else
        !          4545:   $as_echo "$as_me: failed program was:" >&5
        !          4546: sed 's/^/| /' conftest.$ac_ext >&5
        !          4547: 
        !          4548: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          4549: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          4550: as_fn_error $? "cannot compute suffix of object files: cannot compile
        !          4551: See \`config.log' for more details" "$LINENO" 5; }
        !          4552: fi
        !          4553: rm -f conftest.$ac_cv_objext conftest.$ac_ext
        !          4554: fi
        !          4555: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
        !          4556: $as_echo "$ac_cv_objext" >&6; }
        !          4557: OBJEXT=$ac_cv_objext
        !          4558: ac_objext=$OBJEXT
        !          4559: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
        !          4560: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
        !          4561: if ${ac_cv_c_compiler_gnu+:} false; then :
        !          4562:   $as_echo_n "(cached) " >&6
        !          4563: else
        !          4564:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4565: /* end confdefs.h.  */
        !          4566: 
        !          4567: int main (void)
        !          4568: {
        !          4569: #ifndef __GNUC__
        !          4570:        choke me
        !          4571: #endif
        !          4572: 
        !          4573:  ;
        !          4574:  return 0;
        !          4575: }
        !          4576: _ACEOF
        !          4577: if ac_fn_c_try_compile "$LINENO"; then :
        !          4578:   ac_compiler_gnu=yes
        !          4579: else
        !          4580:   ac_compiler_gnu=no
        !          4581: fi
        !          4582: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          4583: ac_cv_c_compiler_gnu=$ac_compiler_gnu
        !          4584: 
        !          4585: fi
        !          4586: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
        !          4587: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
        !          4588: if test $ac_compiler_gnu = yes; then
        !          4589:   GCC=yes
        !          4590: else
        !          4591:   GCC=
        !          4592: fi
        !          4593: ac_test_CFLAGS=${CFLAGS+set}
        !          4594: ac_save_CFLAGS=$CFLAGS
        !          4595: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
        !          4596: $as_echo_n "checking whether $CC accepts -g... " >&6; }
        !          4597: if ${ac_cv_prog_cc_g+:} false; then :
        !          4598:   $as_echo_n "(cached) " >&6
        !          4599: else
        !          4600:   ac_save_c_werror_flag=$ac_c_werror_flag
        !          4601:    ac_c_werror_flag=yes
        !          4602:    ac_cv_prog_cc_g=no
        !          4603:    CFLAGS="-g"
        !          4604:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4605: /* end confdefs.h.  */
        !          4606: 
        !          4607: int main (void)
        !          4608: {
        !          4609: 
        !          4610:  ;
        !          4611:  return 0;
        !          4612: }
        !          4613: _ACEOF
        !          4614: if ac_fn_c_try_compile "$LINENO"; then :
        !          4615:   ac_cv_prog_cc_g=yes
        !          4616: else
        !          4617:   CFLAGS=""
        !          4618:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4619: /* end confdefs.h.  */
        !          4620: 
        !          4621: int main (void)
        !          4622: {
        !          4623: 
        !          4624:  ;
        !          4625:  return 0;
        !          4626: }
        !          4627: _ACEOF
        !          4628: if ac_fn_c_try_compile "$LINENO"; then :
        !          4629: 
        !          4630: else
        !          4631:   ac_c_werror_flag=$ac_save_c_werror_flag
        !          4632:         CFLAGS="-g"
        !          4633:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4634: /* end confdefs.h.  */
        !          4635: 
        !          4636: int main (void)
        !          4637: {
        !          4638: 
        !          4639:  ;
        !          4640:  return 0;
        !          4641: }
        !          4642: _ACEOF
        !          4643: if ac_fn_c_try_compile "$LINENO"; then :
        !          4644:   ac_cv_prog_cc_g=yes
        !          4645: fi
        !          4646: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          4647: fi
        !          4648: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          4649: fi
        !          4650: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          4651:    ac_c_werror_flag=$ac_save_c_werror_flag
        !          4652: fi
        !          4653: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
        !          4654: $as_echo "$ac_cv_prog_cc_g" >&6; }
        !          4655: if test "$ac_test_CFLAGS" = set; then
        !          4656:   CFLAGS=$ac_save_CFLAGS
        !          4657: elif test $ac_cv_prog_cc_g = yes; then
        !          4658:   if test "$GCC" = yes; then
        !          4659:     CFLAGS="-g -O2"
        !          4660:   else
        !          4661:     CFLAGS="-g"
        !          4662:   fi
        !          4663: else
        !          4664:   if test "$GCC" = yes; then
        !          4665:     CFLAGS="-O2"
        !          4666:   else
        !          4667:     CFLAGS=
        !          4668:   fi
        !          4669: fi
        !          4670: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
        !          4671: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
        !          4672: if ${ac_cv_prog_cc_c89+:} false; then :
        !          4673:   $as_echo_n "(cached) " >&6
        !          4674: else
        !          4675:   ac_cv_prog_cc_c89=no
        !          4676: ac_save_CC=$CC
        !          4677: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4678: /* end confdefs.h.  */
        !          4679: #include <stdarg.h>
        !          4680: #include <stdio.h>
        !          4681: struct stat;
        !          4682: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
        !          4683: struct buf { int x; };
        !          4684: FILE * (*rcsopen) (struct buf *, struct stat *, int);
        !          4685: static char *e (p, i)
        !          4686:      char **p;
        !          4687:      int i;
        !          4688: {
        !          4689:   return p[i];
        !          4690: }
        !          4691: static char *f (char * (*g) (char **, int), char **p, ...)
        !          4692: {
        !          4693:   char *s;
        !          4694:   va_list v;
        !          4695:   va_start (v,p);
        !          4696:   s = g (p, va_arg (v,int));
        !          4697:   va_end (v);
        !          4698:   return s;
        !          4699: }
        !          4700: 
        !          4701: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
        !          4702:    function prototypes and stuff, but not '\xHH' hex character constants.
        !          4703:    These don't provoke an error unfortunately, instead are silently treated
        !          4704:    as 'x'.  The following induces an error, until -std is added to get
        !          4705:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
        !          4706:    array size at least.  It's necessary to write '\x00'==0 to get something
        !          4707:    that's true only with -std.  */
        !          4708: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
        !          4709: 
        !          4710: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
        !          4711:    inside strings and character constants.  */
        !          4712: #define FOO(x) 'x'
        !          4713: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
        !          4714: 
        !          4715: int test (int i, double x);
        !          4716: struct s1 {int (*f) (int a);};
        !          4717: struct s2 {int (*f) (double a);};
        !          4718: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
        !          4719: int argc;
        !          4720: char **argv;
        !          4721: int main (void)
        !          4722: {
        !          4723: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
        !          4724:  ;
        !          4725:  return 0;
        !          4726: }
        !          4727: _ACEOF
        !          4728: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
        !          4729:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
        !          4730: do
        !          4731:   CC="$ac_save_CC $ac_arg"
        !          4732:   if ac_fn_c_try_compile "$LINENO"; then :
        !          4733:   ac_cv_prog_cc_c89=$ac_arg
        !          4734: fi
        !          4735: rm -f core conftest.err conftest.$ac_objext
        !          4736:   test "x$ac_cv_prog_cc_c89" != "xno" && break
        !          4737: done
        !          4738: rm -f conftest.$ac_ext
        !          4739: CC=$ac_save_CC
        !          4740: 
        !          4741: fi
        !          4742: # AC_CACHE_VAL
        !          4743: case "x$ac_cv_prog_cc_c89" in
        !          4744:   x)
        !          4745:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
        !          4746: $as_echo "none needed" >&6; } ;;
        !          4747:   xno)
        !          4748:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
        !          4749: $as_echo "unsupported" >&6; } ;;
        !          4750:   *)
        !          4751:     CC="$CC $ac_cv_prog_cc_c89"
        !          4752:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
        !          4753: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
        !          4754: esac
        !          4755: if test "x$ac_cv_prog_cc_c89" != xno; then :
        !          4756: 
        !          4757: fi
        !          4758: 
        !          4759: ac_ext=c
        !          4760: ac_cpp='$CPP $CPPFLAGS'
        !          4761: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4762: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4763: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          4764: 
        !          4765: ac_ext=c
        !          4766: ac_cpp='$CPP $CPPFLAGS'
        !          4767: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4768: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4769: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          4770: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
        !          4771: $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
        !          4772: if ${am_cv_prog_cc_c_o+:} false; then :
        !          4773:   $as_echo_n "(cached) " >&6
        !          4774: else
        !          4775:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4776: /* end confdefs.h.  */
        !          4777: 
        !          4778: int main (void)
        !          4779: {
        !          4780: 
        !          4781:  ;
        !          4782:  return 0;
        !          4783: }
        !          4784: _ACEOF
        !          4785:   # Make sure it works both with $CC and with simple cc.
        !          4786:   # Following AC_PROG_CC_C_O, we do the test twice because some
        !          4787:   # compilers refuse to overwrite an existing .o file with -o,
        !          4788:   # though they will create one.
        !          4789:   am_cv_prog_cc_c_o=yes
        !          4790:   for am_i in 1 2; do
        !          4791:     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
        !          4792:    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
        !          4793:    ac_status=$?
        !          4794:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4795:    (exit $ac_status); } \
        !          4796:          && test -f conftest2.$ac_objext; then
        !          4797:       : OK
        !          4798:     else
        !          4799:       am_cv_prog_cc_c_o=no
        !          4800:       break
        !          4801:     fi
        !          4802:   done
        !          4803:   rm -f core conftest*
        !          4804:   unset am_i
        !          4805: fi
        !          4806: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
        !          4807: $as_echo "$am_cv_prog_cc_c_o" >&6; }
        !          4808: if test "$am_cv_prog_cc_c_o" != yes; then
        !          4809:    # Losing compiler, so override with the script.
        !          4810:    # FIXME: It is wrong to rewrite CC.
        !          4811:    # But if we don't then we get into trouble of one sort or another.
        !          4812:    # A longer-term fix would be to have automake use am__CC in this case,
        !          4813:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
        !          4814:    CC="$am_aux_dir/compile $CC"
        !          4815: fi
        !          4816: ac_ext=c
        !          4817: ac_cpp='$CPP $CPPFLAGS'
        !          4818: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4819: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4820: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          4821: 
        !          4822: 
        !          4823: 
        !          4824: ac_ext=c
        !          4825: ac_cpp='$CPP $CPPFLAGS'
        !          4826: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4827: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4828: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          4829: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
        !          4830: $as_echo_n "checking how to run the C preprocessor... " >&6; }
        !          4831: # On Suns, sometimes $CPP names a directory.
        !          4832: if test -n "$CPP" && test -d "$CPP"; then
        !          4833:   CPP=
        !          4834: fi
        !          4835: if test -z "$CPP"; then
        !          4836:   if ${ac_cv_prog_CPP+:} false; then :
        !          4837:   $as_echo_n "(cached) " >&6
        !          4838: else
        !          4839:       # Double quotes because CPP needs to be expanded
        !          4840:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
        !          4841:     do
        !          4842:       ac_preproc_ok=false
        !          4843: for ac_c_preproc_warn_flag in '' yes
        !          4844: do
        !          4845:   # Use a header file that comes with gcc, so configuring glibc
        !          4846:   # with a fresh cross-compiler works.
        !          4847:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          4848:   # <limits.h> exists even on freestanding compilers.
        !          4849:   # On the NeXT, cc -E runs the code through the compiler's parser,
        !          4850:   # not just through cpp. "Syntax error" is here to catch this case.
        !          4851:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4852: /* end confdefs.h.  */
        !          4853: #ifdef __STDC__
        !          4854: # include <limits.h>
        !          4855: #else
        !          4856: # include <assert.h>
        !          4857: #endif
        !          4858:                     Syntax error
        !          4859: _ACEOF
        !          4860: if ac_fn_c_try_cpp "$LINENO"; then :
        !          4861: 
        !          4862: else
        !          4863:   # Broken: fails on valid input.
        !          4864: continue
        !          4865: fi
        !          4866: rm -f conftest.err conftest.i conftest.$ac_ext
        !          4867: 
        !          4868:   # OK, works on sane cases.  Now check whether nonexistent headers
        !          4869:   # can be detected and how.
        !          4870:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4871: /* end confdefs.h.  */
        !          4872: #include <ac_nonexistent.h>
        !          4873: _ACEOF
        !          4874: if ac_fn_c_try_cpp "$LINENO"; then :
        !          4875:   # Broken: success on invalid input.
        !          4876: continue
        !          4877: else
        !          4878:   # Passes both tests.
        !          4879: ac_preproc_ok=:
        !          4880: break
        !          4881: fi
        !          4882: rm -f conftest.err conftest.i conftest.$ac_ext
        !          4883: 
        !          4884: done
        !          4885: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
        !          4886: rm -f conftest.i conftest.err conftest.$ac_ext
        !          4887: if $ac_preproc_ok; then :
        !          4888:   break
        !          4889: fi
        !          4890: 
        !          4891:     done
        !          4892:     ac_cv_prog_CPP=$CPP
        !          4893: 
        !          4894: fi
        !          4895:   CPP=$ac_cv_prog_CPP
        !          4896: else
        !          4897:   ac_cv_prog_CPP=$CPP
        !          4898: fi
        !          4899: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
        !          4900: $as_echo "$CPP" >&6; }
        !          4901: ac_preproc_ok=false
        !          4902: for ac_c_preproc_warn_flag in '' yes
        !          4903: do
        !          4904:   # Use a header file that comes with gcc, so configuring glibc
        !          4905:   # with a fresh cross-compiler works.
        !          4906:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          4907:   # <limits.h> exists even on freestanding compilers.
        !          4908:   # On the NeXT, cc -E runs the code through the compiler's parser,
        !          4909:   # not just through cpp. "Syntax error" is here to catch this case.
        !          4910:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4911: /* end confdefs.h.  */
        !          4912: #ifdef __STDC__
        !          4913: # include <limits.h>
        !          4914: #else
        !          4915: # include <assert.h>
        !          4916: #endif
        !          4917:                     Syntax error
        !          4918: _ACEOF
        !          4919: if ac_fn_c_try_cpp "$LINENO"; then :
        !          4920: 
        !          4921: else
        !          4922:   # Broken: fails on valid input.
        !          4923: continue
        !          4924: fi
        !          4925: rm -f conftest.err conftest.i conftest.$ac_ext
        !          4926: 
        !          4927:   # OK, works on sane cases.  Now check whether nonexistent headers
        !          4928:   # can be detected and how.
        !          4929:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4930: /* end confdefs.h.  */
        !          4931: #include <ac_nonexistent.h>
        !          4932: _ACEOF
        !          4933: if ac_fn_c_try_cpp "$LINENO"; then :
        !          4934:   # Broken: success on invalid input.
        !          4935: continue
        !          4936: else
        !          4937:   # Passes both tests.
        !          4938: ac_preproc_ok=:
        !          4939: break
        !          4940: fi
        !          4941: rm -f conftest.err conftest.i conftest.$ac_ext
        !          4942: 
        !          4943: done
        !          4944: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
        !          4945: rm -f conftest.i conftest.err conftest.$ac_ext
        !          4946: if $ac_preproc_ok; then :
        !          4947: 
        !          4948: else
        !          4949:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          4950: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          4951: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
        !          4952: See \`config.log' for more details" "$LINENO" 5; }
        !          4953: fi
        !          4954: 
        !          4955: ac_ext=c
        !          4956: ac_cpp='$CPP $CPPFLAGS'
        !          4957: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4958: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4959: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          4960: 
        !          4961: 
        !          4962:   IFS=$xc_prog_cc_prev_IFS
        !          4963:   LIBS=$xc_prog_cc_prev_LIBS
        !          4964:   CFLAGS=$xc_prog_cc_prev_CFLAGS
        !          4965:   LDFLAGS=$xc_prog_cc_prev_LDFLAGS
        !          4966:   CPPFLAGS=$xc_prog_cc_prev_CPPFLAGS
        !          4967: 
        !          4968: 
        !          4969: 
        !          4970: 
        !          4971: 
        !          4972: 
        !          4973: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
        !          4974: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
        !          4975: if ${ac_cv_path_SED+:} false; then :
        !          4976:   $as_echo_n "(cached) " >&6
        !          4977: else
        !          4978:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
        !          4979:      for ac_i in 1 2 3 4 5 6 7; do
        !          4980:        ac_script="$ac_script$as_nl$ac_script"
        !          4981:      done
        !          4982:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
        !          4983:      { ac_script=; unset ac_script;}
        !          4984:      if test -z "$SED"; then
        !          4985:   ac_path_SED_found=false
        !          4986:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          4987:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4988: for as_dir in $PATH
        !          4989: do
        !          4990:   IFS=$as_save_IFS
        !          4991:   test -z "$as_dir" && as_dir=.
        !          4992:     for ac_prog in sed gsed; do
        !          4993:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4994:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
        !          4995:       as_fn_executable_p "$ac_path_SED" || continue
        !          4996: # Check for GNU ac_path_SED and select it if it is found.
        !          4997:   # Check for GNU $ac_path_SED
        !          4998: case `"$ac_path_SED" --version 2>&1` in
        !          4999: *GNU*)
        !          5000:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
        !          5001: *)
        !          5002:   ac_count=0
        !          5003:   $as_echo_n 0123456789 >"conftest.in"
        !          5004:   while :
        !          5005:   do
        !          5006:     cat "conftest.in" "conftest.in" >"conftest.tmp"
        !          5007:     mv "conftest.tmp" "conftest.in"
        !          5008:     cp "conftest.in" "conftest.nl"
        !          5009:     $as_echo '' >> "conftest.nl"
        !          5010:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
        !          5011:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
        !          5012:     as_fn_arith $ac_count + 1 && ac_count=$as_val
        !          5013:     if test $ac_count -gt ${ac_path_SED_max-0}; then
        !          5014:       # Best one so far, save it but keep looking for a better one
        !          5015:       ac_cv_path_SED="$ac_path_SED"
        !          5016:       ac_path_SED_max=$ac_count
        !          5017:     fi
        !          5018:     # 10*(2^10) chars as input seems more than enough
        !          5019:     test $ac_count -gt 10 && break
        !          5020:   done
        !          5021:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
        !          5022: esac
        !          5023: 
        !          5024:       $ac_path_SED_found && break 3
        !          5025:     done
        !          5026:   done
        !          5027:   done
        !          5028: IFS=$as_save_IFS
        !          5029:   if test -z "$ac_cv_path_SED"; then
        !          5030:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
        !          5031:   fi
        !          5032: else
        !          5033:   ac_cv_path_SED=$SED
        !          5034: fi
        !          5035: 
        !          5036: fi
        !          5037: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
        !          5038: $as_echo "$ac_cv_path_SED" >&6; }
        !          5039:  SED="$ac_cv_path_SED"
        !          5040:   rm -f conftest.sed
        !          5041: 
        !          5042: 
        !          5043: 
        !          5044: 
        !          5045:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for code coverage support" >&5
        !          5046: $as_echo_n "checking for code coverage support... " >&6; }
        !          5047:   coverage="no"
        !          5048:   curl_coverage_msg="disabled"
        !          5049: 
        !          5050:     # Check whether --enable-code-coverage was given.
        !          5051: if test "${enable_code_coverage+set}" = set; then :
        !          5052:   enableval=$enable_code_coverage; coverage="$enableval"
        !          5053: fi
        !          5054: 
        !          5055: 
        !          5056:     if  test "$GCC" != "yes" ; then :
        !          5057:   coverage="no"
        !          5058: fi
        !          5059:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $coverage" >&5
        !          5060: $as_echo "$coverage" >&6; }
        !          5061: 
        !          5062:   if test "x$coverage" = "xyes"; then
        !          5063:     curl_coverage_msg="enabled"
        !          5064: 
        !          5065:     if test -n "$ac_tool_prefix"; then
        !          5066:   # Extract the first word of "${ac_tool_prefix}gcov", so it can be a program name with args.
        !          5067: set dummy ${ac_tool_prefix}gcov; ac_word=$2
        !          5068: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          5069: $as_echo_n "checking for $ac_word... " >&6; }
        !          5070: if ${ac_cv_prog_GCOV+:} false; then :
        !          5071:   $as_echo_n "(cached) " >&6
        !          5072: else
        !          5073:   if test -n "$GCOV"; then
        !          5074:   ac_cv_prog_GCOV="$GCOV" # Let the user override the test.
        !          5075: else
        !          5076: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          5077: for as_dir in $PATH
        !          5078: do
        !          5079:   IFS=$as_save_IFS
        !          5080:   test -z "$as_dir" && as_dir=.
        !          5081:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          5082:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          5083:     ac_cv_prog_GCOV="${ac_tool_prefix}gcov"
        !          5084:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          5085:     break 2
        !          5086:   fi
        !          5087: done
        !          5088:   done
        !          5089: IFS=$as_save_IFS
        !          5090: 
        !          5091: fi
        !          5092: fi
        !          5093: GCOV=$ac_cv_prog_GCOV
        !          5094: if test -n "$GCOV"; then
        !          5095:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5
        !          5096: $as_echo "$GCOV" >&6; }
        !          5097: else
        !          5098:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5099: $as_echo "no" >&6; }
        !          5100: fi
        !          5101: 
        !          5102: 
        !          5103: fi
        !          5104: if test -z "$ac_cv_prog_GCOV"; then
        !          5105:   ac_ct_GCOV=$GCOV
        !          5106:   # Extract the first word of "gcov", so it can be a program name with args.
        !          5107: set dummy gcov; ac_word=$2
        !          5108: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          5109: $as_echo_n "checking for $ac_word... " >&6; }
        !          5110: if ${ac_cv_prog_ac_ct_GCOV+:} false; then :
        !          5111:   $as_echo_n "(cached) " >&6
        !          5112: else
        !          5113:   if test -n "$ac_ct_GCOV"; then
        !          5114:   ac_cv_prog_ac_ct_GCOV="$ac_ct_GCOV" # Let the user override the test.
        !          5115: else
        !          5116: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          5117: for as_dir in $PATH
        !          5118: do
        !          5119:   IFS=$as_save_IFS
        !          5120:   test -z "$as_dir" && as_dir=.
        !          5121:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          5122:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          5123:     ac_cv_prog_ac_ct_GCOV="gcov"
        !          5124:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          5125:     break 2
        !          5126:   fi
        !          5127: done
        !          5128:   done
        !          5129: IFS=$as_save_IFS
        !          5130: 
        !          5131: fi
        !          5132: fi
        !          5133: ac_ct_GCOV=$ac_cv_prog_ac_ct_GCOV
        !          5134: if test -n "$ac_ct_GCOV"; then
        !          5135:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCOV" >&5
        !          5136: $as_echo "$ac_ct_GCOV" >&6; }
        !          5137: else
        !          5138:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5139: $as_echo "no" >&6; }
        !          5140: fi
        !          5141: 
        !          5142:   if test "x$ac_ct_GCOV" = x; then
        !          5143:     GCOV="gcov"
        !          5144:   else
        !          5145:     case $cross_compiling:$ac_tool_warned in
        !          5146: yes:)
        !          5147: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          5148: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          5149: ac_tool_warned=yes ;;
        !          5150: esac
        !          5151:     GCOV=$ac_ct_GCOV
        !          5152:   fi
        !          5153: else
        !          5154:   GCOV="$ac_cv_prog_GCOV"
        !          5155: fi
        !          5156: 
        !          5157:     if test -z "$GCOV"; then
        !          5158:       as_fn_error $? "needs gcov for code coverage" "$LINENO" 5
        !          5159:     fi
        !          5160:     # Extract the first word of "lcov", so it can be a program name with args.
        !          5161: set dummy lcov; ac_word=$2
        !          5162: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          5163: $as_echo_n "checking for $ac_word... " >&6; }
        !          5164: if ${ac_cv_prog_LCOV+:} false; then :
        !          5165:   $as_echo_n "(cached) " >&6
        !          5166: else
        !          5167:   if test -n "$LCOV"; then
        !          5168:   ac_cv_prog_LCOV="$LCOV" # Let the user override the test.
        !          5169: else
        !          5170: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          5171: for as_dir in $PATH
        !          5172: do
        !          5173:   IFS=$as_save_IFS
        !          5174:   test -z "$as_dir" && as_dir=.
        !          5175:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          5176:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          5177:     ac_cv_prog_LCOV="lcov"
        !          5178:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          5179:     break 2
        !          5180:   fi
        !          5181: done
        !          5182:   done
        !          5183: IFS=$as_save_IFS
        !          5184: 
        !          5185: fi
        !          5186: fi
        !          5187: LCOV=$ac_cv_prog_LCOV
        !          5188: if test -n "$LCOV"; then
        !          5189:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
        !          5190: $as_echo "$LCOV" >&6; }
        !          5191: else
        !          5192:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5193: $as_echo "no" >&6; }
        !          5194: fi
        !          5195: 
        !          5196: 
        !          5197:     if test -z "$LCOV"; then
        !          5198:       as_fn_error $? "needs lcov for code coverage" "$LINENO" 5
        !          5199:     fi
        !          5200: 
        !          5201:     CPPFLAGS="$CPPFLAGS -DNDEBUG"
        !          5202:     CFLAGS="$CLAGS -O0 -g -fprofile-arcs -ftest-coverage"
        !          5203:     LIBS="$LIBS -lgcov"
        !          5204:   fi
        !          5205: 
        !          5206: 
        !          5207: am__api_version='1.16'
        !          5208: 
        !          5209: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
        !          5210: $as_echo_n "checking whether build environment is sane... " >&6; }
        !          5211: # Reject unsafe characters in $srcdir or the absolute working directory
        !          5212: # name.  Accept space and tab only in the latter.
        !          5213: am_lf='
        !          5214: '
        !          5215: case `pwd` in
        !          5216:   *[\\\"\#\$\&\'\`$am_lf]*)
        !          5217:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
        !          5218: esac
        !          5219: case $srcdir in
        !          5220:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
        !          5221:     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
        !          5222: esac
        !          5223: 
        !          5224: # Do 'set' in a subshell so we don't clobber the current shell's
        !          5225: # arguments.  Must try -L first in case configure is actually a
        !          5226: # symlink; some systems play weird games with the mod time of symlinks
        !          5227: # (eg FreeBSD returns the mod time of the symlink's containing
        !          5228: # directory).
        !          5229: if (
        !          5230:    am_has_slept=no
        !          5231:    for am_try in 1 2; do
        !          5232:      echo "timestamp, slept: $am_has_slept" > conftest.file
        !          5233:      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
        !          5234:      if test "$*" = "X"; then
        !          5235:        # -L didn't work.
        !          5236:        set X `ls -t "$srcdir/configure" conftest.file`
        !          5237:      fi
        !          5238:      if test "$*" != "X $srcdir/configure conftest.file" \
        !          5239:        && test "$*" != "X conftest.file $srcdir/configure"; then
        !          5240: 
        !          5241:        # If neither matched, then we have a broken ls.  This can happen
        !          5242:        # if, for instance, CONFIG_SHELL is bash and it inherits a
        !          5243:        # broken ls alias from the environment.  This has actually
        !          5244:        # happened.  Such a system could not be considered "sane".
        !          5245:        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
        !          5246:   alias in your environment" "$LINENO" 5
        !          5247:      fi
        !          5248:      if test "$2" = conftest.file || test $am_try -eq 2; then
        !          5249:        break
        !          5250:      fi
        !          5251:      # Just in case.
        !          5252:      sleep 1
        !          5253:      am_has_slept=yes
        !          5254:    done
        !          5255:    test "$2" = conftest.file
        !          5256:    )
        !          5257: then
        !          5258:    # Ok.
        !          5259:    :
        !          5260: else
        !          5261:    as_fn_error $? "newly created file is older than distributed files!
        !          5262: Check your system clock" "$LINENO" 5
        !          5263: fi
        !          5264: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5265: $as_echo "yes" >&6; }
        !          5266: # If we didn't sleep, we still need to ensure time stamps of config.status and
        !          5267: # generated files are strictly newer.
        !          5268: am_sleep_pid=
        !          5269: if grep 'slept: no' conftest.file >/dev/null 2>&1; then
        !          5270:   ( sleep 1 ) &
        !          5271:   am_sleep_pid=$!
        !          5272: fi
        !          5273: 
        !          5274: rm -f conftest.file
        !          5275: 
        !          5276: test "$program_prefix" != NONE &&
        !          5277:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
        !          5278: # Use a double $ so make ignores it.
        !          5279: test "$program_suffix" != NONE &&
        !          5280:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
        !          5281: # Double any \ or $.
        !          5282: # By default was `s,x,x', remove it if useless.
        !          5283: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
        !          5284: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
        !          5285: 
        !          5286: if test x"${MISSING+set}" != xset; then
        !          5287:   case $am_aux_dir in
        !          5288:   *\ * | *\    *)
        !          5289:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
        !          5290:   *)
        !          5291:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
        !          5292:   esac
        !          5293: fi
        !          5294: # Use eval to expand $SHELL
        !          5295: if eval "$MISSING --is-lightweight"; then
        !          5296:   am_missing_run="$MISSING "
        !          5297: else
        !          5298:   am_missing_run=
        !          5299:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
        !          5300: $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
        !          5301: fi
        !          5302: 
        !          5303: if test x"${install_sh+set}" != xset; then
        !          5304:   case $am_aux_dir in
        !          5305:   *\ * | *\    *)
        !          5306:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
        !          5307:   *)
        !          5308:     install_sh="\${SHELL} $am_aux_dir/install-sh"
        !          5309:   esac
        !          5310: fi
        !          5311: 
        !          5312: # Installed binaries are usually stripped using 'strip' when the user
        !          5313: # run "make install-strip".  However 'strip' might not be the right
        !          5314: # tool to use in cross-compilation environments, therefore Automake
        !          5315: # will honor the 'STRIP' environment variable to overrule this program.
        !          5316: if test "$cross_compiling" != no; then
        !          5317:   if test -n "$ac_tool_prefix"; then
        !          5318:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
        !          5319: set dummy ${ac_tool_prefix}strip; ac_word=$2
        !          5320: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          5321: $as_echo_n "checking for $ac_word... " >&6; }
        !          5322: if ${ac_cv_prog_STRIP+:} false; then :
        !          5323:   $as_echo_n "(cached) " >&6
        !          5324: else
        !          5325:   if test -n "$STRIP"; then
        !          5326:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
        !          5327: else
        !          5328: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          5329: for as_dir in $PATH
        !          5330: do
        !          5331:   IFS=$as_save_IFS
        !          5332:   test -z "$as_dir" && as_dir=.
        !          5333:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          5334:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          5335:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
        !          5336:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          5337:     break 2
        !          5338:   fi
        !          5339: done
        !          5340:   done
        !          5341: IFS=$as_save_IFS
        !          5342: 
        !          5343: fi
        !          5344: fi
        !          5345: STRIP=$ac_cv_prog_STRIP
        !          5346: if test -n "$STRIP"; then
        !          5347:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
        !          5348: $as_echo "$STRIP" >&6; }
        !          5349: else
        !          5350:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5351: $as_echo "no" >&6; }
        !          5352: fi
        !          5353: 
        !          5354: 
        !          5355: fi
        !          5356: if test -z "$ac_cv_prog_STRIP"; then
        !          5357:   ac_ct_STRIP=$STRIP
        !          5358:   # Extract the first word of "strip", so it can be a program name with args.
        !          5359: set dummy strip; ac_word=$2
        !          5360: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          5361: $as_echo_n "checking for $ac_word... " >&6; }
        !          5362: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
        !          5363:   $as_echo_n "(cached) " >&6
        !          5364: else
        !          5365:   if test -n "$ac_ct_STRIP"; then
        !          5366:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
        !          5367: else
        !          5368: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          5369: for as_dir in $PATH
        !          5370: do
        !          5371:   IFS=$as_save_IFS
        !          5372:   test -z "$as_dir" && as_dir=.
        !          5373:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          5374:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          5375:     ac_cv_prog_ac_ct_STRIP="strip"
        !          5376:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          5377:     break 2
        !          5378:   fi
        !          5379: done
        !          5380:   done
        !          5381: IFS=$as_save_IFS
        !          5382: 
        !          5383: fi
        !          5384: fi
        !          5385: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
        !          5386: if test -n "$ac_ct_STRIP"; then
        !          5387:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
        !          5388: $as_echo "$ac_ct_STRIP" >&6; }
        !          5389: else
        !          5390:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5391: $as_echo "no" >&6; }
        !          5392: fi
        !          5393: 
        !          5394:   if test "x$ac_ct_STRIP" = x; then
        !          5395:     STRIP=":"
        !          5396:   else
        !          5397:     case $cross_compiling:$ac_tool_warned in
        !          5398: yes:)
        !          5399: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          5400: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          5401: ac_tool_warned=yes ;;
        !          5402: esac
        !          5403:     STRIP=$ac_ct_STRIP
        !          5404:   fi
        !          5405: else
        !          5406:   STRIP="$ac_cv_prog_STRIP"
        !          5407: fi
        !          5408: 
        !          5409: fi
        !          5410: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
        !          5411: 
        !          5412: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
        !          5413: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
        !          5414: if test -z "$MKDIR_P"; then
        !          5415:   if ${ac_cv_path_mkdir+:} false; then :
        !          5416:   $as_echo_n "(cached) " >&6
        !          5417: else
        !          5418:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          5419: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
        !          5420: do
        !          5421:   IFS=$as_save_IFS
        !          5422:   test -z "$as_dir" && as_dir=.
        !          5423:     for ac_prog in mkdir gmkdir; do
        !          5424:         for ac_exec_ext in '' $ac_executable_extensions; do
        !          5425:           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
        !          5426:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
        !          5427:             'mkdir (GNU coreutils) '* | \
        !          5428:             'mkdir (coreutils) '* | \
        !          5429:             'mkdir (fileutils) '4.1*)
        !          5430:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
        !          5431:               break 3;;
        !          5432:           esac
        !          5433:         done
        !          5434:        done
        !          5435:   done
        !          5436: IFS=$as_save_IFS
        !          5437: 
        !          5438: fi
        !          5439: 
        !          5440:   test -d ./--version && rmdir ./--version
        !          5441:   if test "${ac_cv_path_mkdir+set}" = set; then
        !          5442:     MKDIR_P="$ac_cv_path_mkdir -p"
        !          5443:   else
        !          5444:     # As a last resort, use the slow shell script.  Don't cache a
        !          5445:     # value for MKDIR_P within a source directory, because that will
        !          5446:     # break other packages using the cache if that directory is
        !          5447:     # removed, or if the value is a relative name.
        !          5448:     MKDIR_P="$ac_install_sh -d"
        !          5449:   fi
        !          5450: fi
        !          5451: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
        !          5452: $as_echo "$MKDIR_P" >&6; }
        !          5453: 
        !          5454: for ac_prog in gawk mawk nawk awk
        !          5455: do
        !          5456:   # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          5457: set dummy $ac_prog; ac_word=$2
        !          5458: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          5459: $as_echo_n "checking for $ac_word... " >&6; }
        !          5460: if ${ac_cv_prog_AWK+:} false; then :
        !          5461:   $as_echo_n "(cached) " >&6
        !          5462: else
        !          5463:   if test -n "$AWK"; then
        !          5464:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
        !          5465: else
        !          5466: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          5467: for as_dir in $PATH
        !          5468: do
        !          5469:   IFS=$as_save_IFS
        !          5470:   test -z "$as_dir" && as_dir=.
        !          5471:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          5472:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          5473:     ac_cv_prog_AWK="$ac_prog"
        !          5474:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          5475:     break 2
        !          5476:   fi
        !          5477: done
        !          5478:   done
        !          5479: IFS=$as_save_IFS
        !          5480: 
        !          5481: fi
        !          5482: fi
        !          5483: AWK=$ac_cv_prog_AWK
        !          5484: if test -n "$AWK"; then
        !          5485:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
        !          5486: $as_echo "$AWK" >&6; }
        !          5487: else
        !          5488:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5489: $as_echo "no" >&6; }
        !          5490: fi
        !          5491: 
        !          5492: 
        !          5493:   test -n "$AWK" && break
        !          5494: done
        !          5495: 
        !          5496: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
        !          5497: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
        !          5498: set x ${MAKE-make}
        !          5499: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
        !          5500: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
        !          5501:   $as_echo_n "(cached) " >&6
        !          5502: else
        !          5503:   cat >conftest.make <<\_ACEOF
        !          5504: SHELL = /bin/sh
        !          5505: all:
        !          5506:        @echo '@@@%%%=$(MAKE)=@@@%%%'
        !          5507: _ACEOF
        !          5508: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
        !          5509: case `${MAKE-make} -f conftest.make 2>/dev/null` in
        !          5510:   *@@@%%%=?*=@@@%%%*)
        !          5511:     eval ac_cv_prog_make_${ac_make}_set=yes;;
        !          5512:   *)
        !          5513:     eval ac_cv_prog_make_${ac_make}_set=no;;
        !          5514: esac
        !          5515: rm -f conftest.make
        !          5516: fi
        !          5517: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
        !          5518:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5519: $as_echo "yes" >&6; }
        !          5520:   SET_MAKE=
        !          5521: else
        !          5522:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5523: $as_echo "no" >&6; }
        !          5524:   SET_MAKE="MAKE=${MAKE-make}"
        !          5525: fi
        !          5526: 
        !          5527: rm -rf .tst 2>/dev/null
        !          5528: mkdir .tst 2>/dev/null
        !          5529: if test -d .tst; then
        !          5530:   am__leading_dot=.
        !          5531: else
        !          5532:   am__leading_dot=_
        !          5533: fi
        !          5534: rmdir .tst 2>/dev/null
        !          5535: 
        !          5536: DEPDIR="${am__leading_dot}deps"
        !          5537: 
        !          5538: ac_config_commands="$ac_config_commands depfiles"
        !          5539: 
        !          5540: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
        !          5541: $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
        !          5542: cat > confinc.mk << 'END'
        !          5543: am__doit:
        !          5544:        @echo this is the am__doit target >confinc.out
        !          5545: .PHONY: am__doit
        !          5546: END
        !          5547: am__include="#"
        !          5548: am__quote=
        !          5549: # BSD make does it like this.
        !          5550: echo '.include "confinc.mk" # ignored' > confmf.BSD
        !          5551: # Other make implementations (GNU, Solaris 10, AIX) do it like this.
        !          5552: echo 'include confinc.mk # ignored' > confmf.GNU
        !          5553: _am_result=no
        !          5554: for s in GNU BSD; do
        !          5555:   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
        !          5556:    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
        !          5557:    ac_status=$?
        !          5558:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5559:    (exit $ac_status); }
        !          5560:   case $?:`cat confinc.out 2>/dev/null` in #(
        !          5561:   '0:this is the am__doit target') :
        !          5562:     case $s in #(
        !          5563:   BSD) :
        !          5564:     am__include='.include' am__quote='"' ;; #(
        !          5565:   *) :
        !          5566:     am__include='include' am__quote='' ;;
        !          5567: esac ;; #(
        !          5568:   *) :
        !          5569:      ;;
        !          5570: esac
        !          5571:   if test "$am__include" != "#"; then
        !          5572:     _am_result="yes ($s style)"
        !          5573:     break
        !          5574:   fi
        !          5575: done
        !          5576: rm -f confinc.* confmf.*
        !          5577: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
        !          5578: $as_echo "${_am_result}" >&6; }
        !          5579: 
        !          5580: # Check whether --enable-dependency-tracking was given.
        !          5581: if test "${enable_dependency_tracking+set}" = set; then :
        !          5582:   enableval=$enable_dependency_tracking;
        !          5583: fi
        !          5584: 
        !          5585: if test "x$enable_dependency_tracking" != xno; then
        !          5586:   am_depcomp="$ac_aux_dir/depcomp"
        !          5587:   AMDEPBACKSLASH='\'
        !          5588:   am__nodep='_no'
        !          5589: fi
        !          5590:  if test "x$enable_dependency_tracking" != xno; then
        !          5591:   AMDEP_TRUE=
        !          5592:   AMDEP_FALSE='#'
        !          5593: else
        !          5594:   AMDEP_TRUE='#'
        !          5595:   AMDEP_FALSE=
        !          5596: fi
        !          5597: 
        !          5598: 
        !          5599: ## --------------------------------------- ##
        !          5600: ##  Start of automake initialization code  ##
        !          5601: ## --------------------------------------- ##
        !          5602: 
        !          5603: if test "`cd $srcdir && pwd`" != "`pwd`"; then
        !          5604:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
        !          5605:   # is not polluted with repeated "-I."
        !          5606:   am__isrc=' -I$(srcdir)'
        !          5607:   # test to see if srcdir already configured
        !          5608:   if test -f $srcdir/config.status; then
        !          5609:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
        !          5610:   fi
        !          5611: fi
        !          5612: 
        !          5613: # test whether we have cygpath
        !          5614: if test -z "$CYGPATH_W"; then
        !          5615:   if (cygpath --version) >/dev/null 2>/dev/null; then
        !          5616:     CYGPATH_W='cygpath -w'
        !          5617:   else
        !          5618:     CYGPATH_W=echo
        !          5619:   fi
        !          5620: fi
        !          5621: 
        !          5622: 
        !          5623: # Define the identity of the package.
        !          5624:  PACKAGE='curl'
        !          5625:  VERSION='-'
        !          5626: 
        !          5627: 
        !          5628: cat >>confdefs.h <<_ACEOF
        !          5629: #define PACKAGE "$PACKAGE"
        !          5630: _ACEOF
        !          5631: 
        !          5632: 
        !          5633: cat >>confdefs.h <<_ACEOF
        !          5634: #define VERSION "$VERSION"
        !          5635: _ACEOF
        !          5636: 
        !          5637: # Some tools Automake needs.
        !          5638: 
        !          5639: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
        !          5640: 
        !          5641: 
        !          5642: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
        !          5643: 
        !          5644: 
        !          5645: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
        !          5646: 
        !          5647: 
        !          5648: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
        !          5649: 
        !          5650: 
        !          5651: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
        !          5652: 
        !          5653: # For better backward compatibility.  To be removed once Automake 1.9.x
        !          5654: # dies out for good.  For more background, see:
        !          5655: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
        !          5656: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
        !          5657: mkdir_p='$(MKDIR_P)'
        !          5658: 
        !          5659: # We need awk for the "check" target (and possibly the TAP driver).  The
        !          5660: # system "awk" is bad on some platforms.
        !          5661: # Always define AMTAR for backward compatibility.  Yes, it's still used
        !          5662: # in the wild :-(  We should find a proper way to deprecate it ...
        !          5663: AMTAR='$${TAR-tar}'
        !          5664: 
        !          5665: 
        !          5666: # We'll loop over all known methods to create a tar archive until one works.
        !          5667: _am_tools='gnutar  pax cpio none'
        !          5668: 
        !          5669: am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
        !          5670: 
        !          5671: 
        !          5672: 
        !          5673: 
        !          5674: 
        !          5675: depcc="$CC"   am_compiler_list=
        !          5676: 
        !          5677: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
        !          5678: $as_echo_n "checking dependency style of $depcc... " >&6; }
        !          5679: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
        !          5680:   $as_echo_n "(cached) " >&6
        !          5681: else
        !          5682:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
        !          5683:   # We make a subdir and do the tests there.  Otherwise we can end up
        !          5684:   # making bogus files that we don't know about and never remove.  For
        !          5685:   # instance it was reported that on HP-UX the gcc test will end up
        !          5686:   # making a dummy file named 'D' -- because '-MD' means "put the output
        !          5687:   # in D".
        !          5688:   rm -rf conftest.dir
        !          5689:   mkdir conftest.dir
        !          5690:   # Copy depcomp to subdir because otherwise we won't find it if we're
        !          5691:   # using a relative directory.
        !          5692:   cp "$am_depcomp" conftest.dir
        !          5693:   cd conftest.dir
        !          5694:   # We will build objects and dependencies in a subdirectory because
        !          5695:   # it helps to detect inapplicable dependency modes.  For instance
        !          5696:   # both Tru64's cc and ICC support -MD to output dependencies as a
        !          5697:   # side effect of compilation, but ICC will put the dependencies in
        !          5698:   # the current directory while Tru64 will put them in the object
        !          5699:   # directory.
        !          5700:   mkdir sub
        !          5701: 
        !          5702:   am_cv_CC_dependencies_compiler_type=none
        !          5703:   if test "$am_compiler_list" = ""; then
        !          5704:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
        !          5705:   fi
        !          5706:   am__universal=false
        !          5707:   case " $depcc " in #(
        !          5708:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
        !          5709:      esac
        !          5710: 
        !          5711:   for depmode in $am_compiler_list; do
        !          5712:     # Setup a source with many dependencies, because some compilers
        !          5713:     # like to wrap large dependency lists on column 80 (with \), and
        !          5714:     # we should not choose a depcomp mode which is confused by this.
        !          5715:     #
        !          5716:     # We need to recreate these files for each test, as the compiler may
        !          5717:     # overwrite some of them when testing with obscure command lines.
        !          5718:     # This happens at least with the AIX C compiler.
        !          5719:     : > sub/conftest.c
        !          5720:     for i in 1 2 3 4 5 6; do
        !          5721:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
        !          5722:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
        !          5723:       # Solaris 10 /bin/sh.
        !          5724:       echo '/* dummy */' > sub/conftst$i.h
        !          5725:     done
        !          5726:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
        !          5727: 
        !          5728:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
        !          5729:     # mode.  It turns out that the SunPro C++ compiler does not properly
        !          5730:     # handle '-M -o', and we need to detect this.  Also, some Intel
        !          5731:     # versions had trouble with output in subdirs.
        !          5732:     am__obj=sub/conftest.${OBJEXT-o}
        !          5733:     am__minus_obj="-o $am__obj"
        !          5734:     case $depmode in
        !          5735:     gcc)
        !          5736:       # This depmode causes a compiler race in universal mode.
        !          5737:       test "$am__universal" = false || continue
        !          5738:       ;;
        !          5739:     nosideeffect)
        !          5740:       # After this tag, mechanisms are not by side-effect, so they'll
        !          5741:       # only be used when explicitly requested.
        !          5742:       if test "x$enable_dependency_tracking" = xyes; then
        !          5743:        continue
        !          5744:       else
        !          5745:        break
        !          5746:       fi
        !          5747:       ;;
        !          5748:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
        !          5749:       # This compiler won't grok '-c -o', but also, the minuso test has
        !          5750:       # not run yet.  These depmodes are late enough in the game, and
        !          5751:       # so weak that their functioning should not be impacted.
        !          5752:       am__obj=conftest.${OBJEXT-o}
        !          5753:       am__minus_obj=
        !          5754:       ;;
        !          5755:     none) break ;;
        !          5756:     esac
        !          5757:     if depmode=$depmode \
        !          5758:        source=sub/conftest.c object=$am__obj \
        !          5759:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
        !          5760:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
        !          5761:          >/dev/null 2>conftest.err &&
        !          5762:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
        !          5763:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
        !          5764:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
        !          5765:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
        !          5766:       # icc doesn't choke on unknown options, it will just issue warnings
        !          5767:       # or remarks (even with -Werror).  So we grep stderr for any message
        !          5768:       # that says an option was ignored or not supported.
        !          5769:       # When given -MP, icc 7.0 and 7.1 complain thusly:
        !          5770:       #   icc: Command line warning: ignoring option '-M'; no argument required
        !          5771:       # The diagnosis changed in icc 8.0:
        !          5772:       #   icc: Command line remark: option '-MP' not supported
        !          5773:       if (grep 'ignoring option' conftest.err ||
        !          5774:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
        !          5775:         am_cv_CC_dependencies_compiler_type=$depmode
        !          5776:         break
        !          5777:       fi
        !          5778:     fi
        !          5779:   done
        !          5780: 
        !          5781:   cd ..
        !          5782:   rm -rf conftest.dir
        !          5783: else
        !          5784:   am_cv_CC_dependencies_compiler_type=none
        !          5785: fi
        !          5786: 
        !          5787: fi
        !          5788: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
        !          5789: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
        !          5790: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
        !          5791: 
        !          5792:  if
        !          5793:   test "x$enable_dependency_tracking" != xno \
        !          5794:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
        !          5795:   am__fastdepCC_TRUE=
        !          5796:   am__fastdepCC_FALSE='#'
        !          5797: else
        !          5798:   am__fastdepCC_TRUE='#'
        !          5799:   am__fastdepCC_FALSE=
        !          5800: fi
        !          5801: 
        !          5802: 
        !          5803: 
        !          5804: # POSIX will say in a future version that running "rm -f" with no argument
        !          5805: # is OK; and we want to be able to make that assumption in our Makefile
        !          5806: # recipes.  So use an aggressive probe to check that the usage we want is
        !          5807: # actually supported "in the wild" to an acceptable degree.
        !          5808: # See automake bug#10828.
        !          5809: # To make any issue more visible, cause the running configure to be aborted
        !          5810: # by default if the 'rm' program in use doesn't match our expectations; the
        !          5811: # user can still override this though.
        !          5812: if rm -f && rm -fr && rm -rf; then : OK; else
        !          5813:   cat >&2 <<'END'
        !          5814: Oops!
        !          5815: 
        !          5816: Your 'rm' program seems unable to run without file operands specified
        !          5817: on the command line, even when the '-f' option is present.  This is contrary
        !          5818: to the behaviour of most rm programs out there, and not conforming with
        !          5819: the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
        !          5820: 
        !          5821: Please tell bug-automake@gnu.org about your system, including the value
        !          5822: of your $PATH and any error possibly output before this message.  This
        !          5823: can help us improve future automake versions.
        !          5824: 
        !          5825: END
        !          5826:   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
        !          5827:     echo 'Configuration will proceed anyway, since you have set the' >&2
        !          5828:     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
        !          5829:     echo >&2
        !          5830:   else
        !          5831:     cat >&2 <<'END'
        !          5832: Aborting the configuration process, to ensure you take notice of the issue.
        !          5833: 
        !          5834: You can download and install GNU coreutils to get an 'rm' implementation
        !          5835: that behaves properly: <https://www.gnu.org/software/coreutils/>.
        !          5836: 
        !          5837: If you want to complete the configuration process using your problematic
        !          5838: 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
        !          5839: to "yes", and re-run configure.
        !          5840: 
        !          5841: END
        !          5842:     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
        !          5843:   fi
        !          5844: fi
        !          5845: 
        !          5846: ## ------------------------------------- ##
        !          5847: ##  End of automake initialization code  ##
        !          5848: ## ------------------------------------- ##
        !          5849: 
        !          5850: 
        !          5851: { $as_echo "$as_me:${as_lineno-$LINENO}: checking curl version" >&5
        !          5852: $as_echo_n "checking curl version... " >&6; }
        !          5853: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLVERSION" >&5
        !          5854: $as_echo "$CURLVERSION" >&6; }
        !          5855: 
        !          5856: 
        !          5857: 
        !          5858: VERSIONNUM=`$SED -ne 's/^#define LIBCURL_VERSION_NUM 0x\([0-9A-Fa-f]*\).*/\1/p' ${srcdir}/include/curl/curlver.h`
        !          5859: 
        !          5860: 
        !          5861: PKGADD_PKG="HAXXcurl"
        !          5862: PKGADD_NAME="curl - a client that groks URLs"
        !          5863: PKGADD_VENDOR="curl.haxx.se"
        !          5864: 
        !          5865: 
        !          5866: 
        !          5867: 
        !          5868:     curl_ssl_msg="no      (--with-{ssl,gnutls,nss,mbedtls,wolfssl,schannel,secure-transport,mesalink,amissl,bearssl} )"
        !          5869:     curl_ssh_msg="no      (--with-{libssh,libssh2})"
        !          5870:    curl_zlib_msg="no      (--with-zlib)"
        !          5871:  curl_brotli_msg="no      (--with-brotli)"
        !          5872:     curl_gss_msg="no      (--with-gssapi)"
        !          5873: curl_tls_srp_msg="no      (--enable-tls-srp)"
        !          5874:     curl_res_msg="default (--enable-ares / --enable-threaded-resolver)"
        !          5875:    curl_ipv6_msg="no      (--enable-ipv6)"
        !          5876: curl_unix_sockets_msg="no      (--enable-unix-sockets)"
        !          5877:     curl_idn_msg="no      (--with-{libidn2,winidn})"
        !          5878:  curl_manual_msg="no      (--enable-manual)"
        !          5879: curl_libcurl_msg="enabled (--disable-libcurl-option)"
        !          5880: curl_verbose_msg="enabled (--disable-verbose)"
        !          5881:    curl_sspi_msg="no      (--enable-sspi)"
        !          5882:    curl_ldap_msg="no      (--enable-ldap / --with-ldap-lib / --with-lber-lib)"
        !          5883:   curl_ldaps_msg="no      (--enable-ldaps)"
        !          5884:    curl_rtsp_msg="no      (--enable-rtsp)"
        !          5885:    curl_rtmp_msg="no      (--with-librtmp)"
        !          5886:   curl_mtlnk_msg="no      (--with-libmetalink)"
        !          5887:     curl_psl_msg="no      (--with-libpsl)"
        !          5888: 
        !          5889:     ssl_backends=
        !          5890: 
        !          5891: INITIAL_LDFLAGS=$LDFLAGS
        !          5892: INITIAL_LIBS=$LIBS
        !          5893: 
        !          5894: 
        !          5895: # Make sure we can run config.sub.
        !          5896: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
        !          5897:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
        !          5898: 
        !          5899: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
        !          5900: $as_echo_n "checking build system type... " >&6; }
        !          5901: if ${ac_cv_build+:} false; then :
        !          5902:   $as_echo_n "(cached) " >&6
        !          5903: else
        !          5904:   ac_build_alias=$build_alias
        !          5905: test "x$ac_build_alias" = x &&
        !          5906:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
        !          5907: test "x$ac_build_alias" = x &&
        !          5908:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
        !          5909: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
        !          5910:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
        !          5911: 
        !          5912: fi
        !          5913: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
        !          5914: $as_echo "$ac_cv_build" >&6; }
        !          5915: case $ac_cv_build in
        !          5916: *-*-*) ;;
        !          5917: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
        !          5918: esac
        !          5919: build=$ac_cv_build
        !          5920: ac_save_IFS=$IFS; IFS='-'
        !          5921: set x $ac_cv_build
        !          5922: shift
        !          5923: build_cpu=$1
        !          5924: build_vendor=$2
        !          5925: shift; shift
        !          5926: # Remember, the first character of IFS is used to create $*,
        !          5927: # except with old shells:
        !          5928: build_os=$*
        !          5929: IFS=$ac_save_IFS
        !          5930: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
        !          5931: 
        !          5932: 
        !          5933: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
        !          5934: $as_echo_n "checking host system type... " >&6; }
        !          5935: if ${ac_cv_host+:} false; then :
        !          5936:   $as_echo_n "(cached) " >&6
        !          5937: else
        !          5938:   if test "x$host_alias" = x; then
        !          5939:   ac_cv_host=$ac_cv_build
        !          5940: else
        !          5941:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
        !          5942:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
        !          5943: fi
        !          5944: 
        !          5945: fi
        !          5946: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
        !          5947: $as_echo "$ac_cv_host" >&6; }
        !          5948: case $ac_cv_host in
        !          5949: *-*-*) ;;
        !          5950: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
        !          5951: esac
        !          5952: host=$ac_cv_host
        !          5953: ac_save_IFS=$IFS; IFS='-'
        !          5954: set x $ac_cv_host
        !          5955: shift
        !          5956: host_cpu=$1
        !          5957: host_vendor=$2
        !          5958: shift; shift
        !          5959: # Remember, the first character of IFS is used to create $*,
        !          5960: # except with old shells:
        !          5961: host_os=$*
        !          5962: IFS=$ac_save_IFS
        !          5963: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
        !          5964: 
        !          5965: 
        !          5966: 
        !          5967: cat >>confdefs.h <<_ACEOF
        !          5968: #define OS "${host}"
        !          5969: _ACEOF
        !          5970: 
        !          5971: 
        !          5972: # Silence warning: ar: 'u' modifier ignored since 'D' is the default
        !          5973: AR_FLAGS=cr
        !          5974: 
        !          5975: 
        !          5976: 
        !          5977: 
        !          5978: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
        !          5979: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
        !          5980: if ${ac_cv_path_GREP+:} false; then :
        !          5981:   $as_echo_n "(cached) " >&6
        !          5982: else
        !          5983:   if test -z "$GREP"; then
        !          5984:   ac_path_GREP_found=false
        !          5985:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          5986:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          5987: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
        !          5988: do
        !          5989:   IFS=$as_save_IFS
        !          5990:   test -z "$as_dir" && as_dir=.
        !          5991:     for ac_prog in grep ggrep; do
        !          5992:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          5993:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
        !          5994:       as_fn_executable_p "$ac_path_GREP" || continue
        !          5995: # Check for GNU ac_path_GREP and select it if it is found.
        !          5996:   # Check for GNU $ac_path_GREP
        !          5997: case `"$ac_path_GREP" --version 2>&1` in
        !          5998: *GNU*)
        !          5999:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
        !          6000: *)
        !          6001:   ac_count=0
        !          6002:   $as_echo_n 0123456789 >"conftest.in"
        !          6003:   while :
        !          6004:   do
        !          6005:     cat "conftest.in" "conftest.in" >"conftest.tmp"
        !          6006:     mv "conftest.tmp" "conftest.in"
        !          6007:     cp "conftest.in" "conftest.nl"
        !          6008:     $as_echo 'GREP' >> "conftest.nl"
        !          6009:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
        !          6010:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
        !          6011:     as_fn_arith $ac_count + 1 && ac_count=$as_val
        !          6012:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
        !          6013:       # Best one so far, save it but keep looking for a better one
        !          6014:       ac_cv_path_GREP="$ac_path_GREP"
        !          6015:       ac_path_GREP_max=$ac_count
        !          6016:     fi
        !          6017:     # 10*(2^10) chars as input seems more than enough
        !          6018:     test $ac_count -gt 10 && break
        !          6019:   done
        !          6020:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
        !          6021: esac
        !          6022: 
        !          6023:       $ac_path_GREP_found && break 3
        !          6024:     done
        !          6025:   done
        !          6026:   done
        !          6027: IFS=$as_save_IFS
        !          6028:   if test -z "$ac_cv_path_GREP"; then
        !          6029:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
        !          6030:   fi
        !          6031: else
        !          6032:   ac_cv_path_GREP=$GREP
        !          6033: fi
        !          6034: 
        !          6035: fi
        !          6036: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
        !          6037: $as_echo "$ac_cv_path_GREP" >&6; }
        !          6038:  GREP="$ac_cv_path_GREP"
        !          6039: 
        !          6040: 
        !          6041: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
        !          6042: $as_echo_n "checking for egrep... " >&6; }
        !          6043: if ${ac_cv_path_EGREP+:} false; then :
        !          6044:   $as_echo_n "(cached) " >&6
        !          6045: else
        !          6046:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
        !          6047:    then ac_cv_path_EGREP="$GREP -E"
        !          6048:    else
        !          6049:      if test -z "$EGREP"; then
        !          6050:   ac_path_EGREP_found=false
        !          6051:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          6052:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6053: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
        !          6054: do
        !          6055:   IFS=$as_save_IFS
        !          6056:   test -z "$as_dir" && as_dir=.
        !          6057:     for ac_prog in egrep; do
        !          6058:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6059:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
        !          6060:       as_fn_executable_p "$ac_path_EGREP" || continue
        !          6061: # Check for GNU ac_path_EGREP and select it if it is found.
        !          6062:   # Check for GNU $ac_path_EGREP
        !          6063: case `"$ac_path_EGREP" --version 2>&1` in
        !          6064: *GNU*)
        !          6065:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
        !          6066: *)
        !          6067:   ac_count=0
        !          6068:   $as_echo_n 0123456789 >"conftest.in"
        !          6069:   while :
        !          6070:   do
        !          6071:     cat "conftest.in" "conftest.in" >"conftest.tmp"
        !          6072:     mv "conftest.tmp" "conftest.in"
        !          6073:     cp "conftest.in" "conftest.nl"
        !          6074:     $as_echo 'EGREP' >> "conftest.nl"
        !          6075:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
        !          6076:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
        !          6077:     as_fn_arith $ac_count + 1 && ac_count=$as_val
        !          6078:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
        !          6079:       # Best one so far, save it but keep looking for a better one
        !          6080:       ac_cv_path_EGREP="$ac_path_EGREP"
        !          6081:       ac_path_EGREP_max=$ac_count
        !          6082:     fi
        !          6083:     # 10*(2^10) chars as input seems more than enough
        !          6084:     test $ac_count -gt 10 && break
        !          6085:   done
        !          6086:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
        !          6087: esac
        !          6088: 
        !          6089:       $ac_path_EGREP_found && break 3
        !          6090:     done
        !          6091:   done
        !          6092:   done
        !          6093: IFS=$as_save_IFS
        !          6094:   if test -z "$ac_cv_path_EGREP"; then
        !          6095:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
        !          6096:   fi
        !          6097: else
        !          6098:   ac_cv_path_EGREP=$EGREP
        !          6099: fi
        !          6100: 
        !          6101:    fi
        !          6102: fi
        !          6103: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
        !          6104: $as_echo "$ac_cv_path_EGREP" >&6; }
        !          6105:  EGREP="$ac_cv_path_EGREP"
        !          6106: 
        !          6107: 
        !          6108: 
        !          6109: 
        !          6110:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OS is AIX (to define _ALL_SOURCE)" >&5
        !          6111: $as_echo_n "checking if OS is AIX (to define _ALL_SOURCE)... " >&6; }
        !          6112:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6113: /* end confdefs.h.  */
        !          6114: 
        !          6115: #ifdef _AIX
        !          6116:    yes_this_is_aix
        !          6117: #endif
        !          6118: 
        !          6119: _ACEOF
        !          6120: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          6121:   $EGREP "yes_this_is_aix" >/dev/null 2>&1; then :
        !          6122: 
        !          6123:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          6124: $as_echo "yes" >&6; }
        !          6125:     $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
        !          6126: 
        !          6127: 
        !          6128: else
        !          6129: 
        !          6130:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6131: $as_echo "no" >&6; }
        !          6132: 
        !          6133: fi
        !          6134: rm -f conftest*
        !          6135: 
        !          6136: 
        !          6137: 
        !          6138: 
        !          6139:     #
        !          6140:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _THREAD_SAFE is already defined" >&5
        !          6141: $as_echo_n "checking if _THREAD_SAFE is already defined... " >&6; }
        !          6142:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6143: /* end confdefs.h.  */
        !          6144: 
        !          6145: 
        !          6146: 
        !          6147: int main (void)
        !          6148: {
        !          6149: 
        !          6150: #ifdef _THREAD_SAFE
        !          6151:       int dummy=1;
        !          6152: #else
        !          6153:       force compilation error
        !          6154: #endif
        !          6155: 
        !          6156:  ;
        !          6157:  return 0;
        !          6158: }
        !          6159: 
        !          6160: _ACEOF
        !          6161: if ac_fn_c_try_compile "$LINENO"; then :
        !          6162: 
        !          6163:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          6164: $as_echo "yes" >&6; }
        !          6165:     tmp_thread_safe_initially_defined="yes"
        !          6166: 
        !          6167: else
        !          6168: 
        !          6169:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6170: $as_echo "no" >&6; }
        !          6171:     tmp_thread_safe_initially_defined="no"
        !          6172: 
        !          6173: fi
        !          6174: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          6175:   #
        !          6176:   if test "$tmp_thread_safe_initially_defined" = "no"; then
        !          6177:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _THREAD_SAFE is actually needed" >&5
        !          6178: $as_echo_n "checking if _THREAD_SAFE is actually needed... " >&6; }
        !          6179: 
        !          6180:   case $host_os in
        !          6181:     aix[123].* | aix4.[012].*)
        !          6182:             tmp_need_thread_safe="no"
        !          6183:       ;;
        !          6184:     aix*)
        !          6185:             tmp_need_thread_safe="yes"
        !          6186:       ;;
        !          6187:     *)
        !          6188:       tmp_need_thread_safe="no"
        !          6189:       ;;
        !          6190:   esac
        !          6191: 
        !          6192:     if test "$tmp_need_thread_safe" = "yes"; then
        !          6193:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          6194: $as_echo "yes" >&6; }
        !          6195:     else
        !          6196:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6197: $as_echo "no" >&6; }
        !          6198:     fi
        !          6199:   fi
        !          6200:   #
        !          6201:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _THREAD_SAFE is onwards defined" >&5
        !          6202: $as_echo_n "checking if _THREAD_SAFE is onwards defined... " >&6; }
        !          6203:   if test "$tmp_thread_safe_initially_defined" = "yes" ||
        !          6204:     test "$tmp_need_thread_safe" = "yes"; then
        !          6205: 
        !          6206: 
        !          6207: $as_echo "#define NEED_THREAD_SAFE 1" >>confdefs.h
        !          6208: 
        !          6209: cat >>confdefs.h <<_EOF
        !          6210: #ifndef _THREAD_SAFE
        !          6211: #  define _THREAD_SAFE
        !          6212: #endif
        !          6213: _EOF
        !          6214: 
        !          6215:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          6216: $as_echo "yes" >&6; }
        !          6217:   else
        !          6218:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6219: $as_echo "no" >&6; }
        !          6220:   fi
        !          6221:   #
        !          6222: 
        !          6223: 
        !          6224:     #
        !          6225:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _REENTRANT is already defined" >&5
        !          6226: $as_echo_n "checking if _REENTRANT is already defined... " >&6; }
        !          6227:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6228: /* end confdefs.h.  */
        !          6229: 
        !          6230: 
        !          6231: 
        !          6232: int main (void)
        !          6233: {
        !          6234: 
        !          6235: #ifdef _REENTRANT
        !          6236:       int dummy=1;
        !          6237: #else
        !          6238:       force compilation error
        !          6239: #endif
        !          6240: 
        !          6241:  ;
        !          6242:  return 0;
        !          6243: }
        !          6244: 
        !          6245: _ACEOF
        !          6246: if ac_fn_c_try_compile "$LINENO"; then :
        !          6247: 
        !          6248:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          6249: $as_echo "yes" >&6; }
        !          6250:     tmp_reentrant_initially_defined="yes"
        !          6251: 
        !          6252: else
        !          6253: 
        !          6254:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6255: $as_echo "no" >&6; }
        !          6256:     tmp_reentrant_initially_defined="no"
        !          6257: 
        !          6258: fi
        !          6259: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          6260:   #
        !          6261:   if test "$tmp_reentrant_initially_defined" = "no"; then
        !          6262:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _REENTRANT is actually needed" >&5
        !          6263: $as_echo_n "checking if _REENTRANT is actually needed... " >&6; }
        !          6264: 
        !          6265:   case $host_os in
        !          6266:     solaris*)
        !          6267:       tmp_need_reentrant="yes"
        !          6268:       ;;
        !          6269:     *)
        !          6270:       tmp_need_reentrant="no"
        !          6271:       ;;
        !          6272:   esac
        !          6273: 
        !          6274:     if test "$tmp_need_reentrant" = "no"; then
        !          6275: 
        !          6276:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6277: /* end confdefs.h.  */
        !          6278: 
        !          6279: 
        !          6280: #include <errno.h>
        !          6281: 
        !          6282: int main (void)
        !          6283: {
        !          6284: 
        !          6285:       if(0 != errno)
        !          6286:         return 1;
        !          6287: 
        !          6288:  ;
        !          6289:  return 0;
        !          6290: }
        !          6291: 
        !          6292: _ACEOF
        !          6293: if ac_fn_c_try_compile "$LINENO"; then :
        !          6294: 
        !          6295:     tmp_errno="yes"
        !          6296: 
        !          6297: else
        !          6298: 
        !          6299:     tmp_errno="no"
        !          6300: 
        !          6301: fi
        !          6302: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          6303:   if test "$tmp_errno" = "yes"; then
        !          6304:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6305: /* end confdefs.h.  */
        !          6306: 
        !          6307: 
        !          6308: #include <errno.h>
        !          6309: 
        !          6310: int main (void)
        !          6311: {
        !          6312: 
        !          6313: #ifdef errno
        !          6314:         int dummy=1;
        !          6315: #else
        !          6316:         force compilation error
        !          6317: #endif
        !          6318: 
        !          6319:  ;
        !          6320:  return 0;
        !          6321: }
        !          6322: 
        !          6323: _ACEOF
        !          6324: if ac_fn_c_try_compile "$LINENO"; then :
        !          6325: 
        !          6326:       tmp_errno="errno_macro_defined"
        !          6327: 
        !          6328: else
        !          6329: 
        !          6330:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6331: /* end confdefs.h.  */
        !          6332: 
        !          6333: 
        !          6334: #define _REENTRANT
        !          6335: #include <errno.h>
        !          6336: 
        !          6337: int main (void)
        !          6338: {
        !          6339: 
        !          6340: #ifdef errno
        !          6341:           int dummy=1;
        !          6342: #else
        !          6343:           force compilation error
        !          6344: #endif
        !          6345: 
        !          6346:  ;
        !          6347:  return 0;
        !          6348: }
        !          6349: 
        !          6350: _ACEOF
        !          6351: if ac_fn_c_try_compile "$LINENO"; then :
        !          6352: 
        !          6353:         tmp_errno="errno_macro_needs_reentrant"
        !          6354:         tmp_need_reentrant="yes"
        !          6355: 
        !          6356: fi
        !          6357: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          6358: 
        !          6359: fi
        !          6360: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          6361:   fi
        !          6362: 
        !          6363:     fi
        !          6364:     if test "$tmp_need_reentrant" = "no"; then
        !          6365: 
        !          6366:   if test "$tmp_need_reentrant" = "no"; then
        !          6367: 
        !          6368:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6369: /* end confdefs.h.  */
        !          6370: 
        !          6371: 
        !          6372: #define gmtime_r innocuous_gmtime_r
        !          6373: #ifdef __STDC__
        !          6374: # include <limits.h>
        !          6375: #else
        !          6376: # include <assert.h>
        !          6377: #endif
        !          6378: #undef gmtime_r
        !          6379: #ifdef __cplusplus
        !          6380: extern "C"
        !          6381: #endif
        !          6382: char gmtime_r ();
        !          6383: #if defined __stub_gmtime_r || defined __stub___gmtime_r
        !          6384: choke me
        !          6385: #endif
        !          6386: 
        !          6387: int main (void)
        !          6388: {
        !          6389: return gmtime_r ();
        !          6390:  ;
        !          6391:  return 0;
        !          6392: }
        !          6393: 
        !          6394: _ACEOF
        !          6395: if ac_fn_c_try_link "$LINENO"; then :
        !          6396: 
        !          6397:     tmp_gmtime_r="yes"
        !          6398: 
        !          6399: else
        !          6400: 
        !          6401:     tmp_gmtime_r="no"
        !          6402: 
        !          6403: fi
        !          6404: rm -f core conftest.err conftest.$ac_objext \
        !          6405:     conftest$ac_exeext conftest.$ac_ext
        !          6406:   if test "$tmp_gmtime_r" = "yes"; then
        !          6407:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6408: /* end confdefs.h.  */
        !          6409: 
        !          6410: #include <sys/types.h>
        !          6411: #include <time.h>
        !          6412: 
        !          6413: _ACEOF
        !          6414: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          6415:   $EGREP "gmtime_r" >/dev/null 2>&1; then :
        !          6416: 
        !          6417:       tmp_gmtime_r="proto_declared"
        !          6418: 
        !          6419: else
        !          6420: 
        !          6421:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6422: /* end confdefs.h.  */
        !          6423: 
        !          6424: #define _REENTRANT
        !          6425: #include <sys/types.h>
        !          6426: #include <time.h>
        !          6427: 
        !          6428: _ACEOF
        !          6429: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          6430:   $EGREP "gmtime_r" >/dev/null 2>&1; then :
        !          6431: 
        !          6432:         tmp_gmtime_r="proto_needs_reentrant"
        !          6433:         tmp_need_reentrant="yes"
        !          6434: 
        !          6435: fi
        !          6436: rm -f conftest*
        !          6437: 
        !          6438: 
        !          6439: fi
        !          6440: rm -f conftest*
        !          6441: 
        !          6442:   fi
        !          6443: 
        !          6444:   fi
        !          6445:   if test "$tmp_need_reentrant" = "no"; then
        !          6446: 
        !          6447:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6448: /* end confdefs.h.  */
        !          6449: 
        !          6450: 
        !          6451: #define localtime_r innocuous_localtime_r
        !          6452: #ifdef __STDC__
        !          6453: # include <limits.h>
        !          6454: #else
        !          6455: # include <assert.h>
        !          6456: #endif
        !          6457: #undef localtime_r
        !          6458: #ifdef __cplusplus
        !          6459: extern "C"
        !          6460: #endif
        !          6461: char localtime_r ();
        !          6462: #if defined __stub_localtime_r || defined __stub___localtime_r
        !          6463: choke me
        !          6464: #endif
        !          6465: 
        !          6466: int main (void)
        !          6467: {
        !          6468: return localtime_r ();
        !          6469:  ;
        !          6470:  return 0;
        !          6471: }
        !          6472: 
        !          6473: _ACEOF
        !          6474: if ac_fn_c_try_link "$LINENO"; then :
        !          6475: 
        !          6476:     tmp_localtime_r="yes"
        !          6477: 
        !          6478: else
        !          6479: 
        !          6480:     tmp_localtime_r="no"
        !          6481: 
        !          6482: fi
        !          6483: rm -f core conftest.err conftest.$ac_objext \
        !          6484:     conftest$ac_exeext conftest.$ac_ext
        !          6485:   if test "$tmp_localtime_r" = "yes"; then
        !          6486:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6487: /* end confdefs.h.  */
        !          6488: 
        !          6489: #include <sys/types.h>
        !          6490: #include <time.h>
        !          6491: 
        !          6492: _ACEOF
        !          6493: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          6494:   $EGREP "localtime_r" >/dev/null 2>&1; then :
        !          6495: 
        !          6496:       tmp_localtime_r="proto_declared"
        !          6497: 
        !          6498: else
        !          6499: 
        !          6500:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6501: /* end confdefs.h.  */
        !          6502: 
        !          6503: #define _REENTRANT
        !          6504: #include <sys/types.h>
        !          6505: #include <time.h>
        !          6506: 
        !          6507: _ACEOF
        !          6508: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          6509:   $EGREP "localtime_r" >/dev/null 2>&1; then :
        !          6510: 
        !          6511:         tmp_localtime_r="proto_needs_reentrant"
        !          6512:         tmp_need_reentrant="yes"
        !          6513: 
        !          6514: fi
        !          6515: rm -f conftest*
        !          6516: 
        !          6517: 
        !          6518: fi
        !          6519: rm -f conftest*
        !          6520: 
        !          6521:   fi
        !          6522: 
        !          6523:   fi
        !          6524:   if test "$tmp_need_reentrant" = "no"; then
        !          6525: 
        !          6526:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6527: /* end confdefs.h.  */
        !          6528: 
        !          6529: 
        !          6530: #define strerror_r innocuous_strerror_r
        !          6531: #ifdef __STDC__
        !          6532: # include <limits.h>
        !          6533: #else
        !          6534: # include <assert.h>
        !          6535: #endif
        !          6536: #undef strerror_r
        !          6537: #ifdef __cplusplus
        !          6538: extern "C"
        !          6539: #endif
        !          6540: char strerror_r ();
        !          6541: #if defined __stub_strerror_r || defined __stub___strerror_r
        !          6542: choke me
        !          6543: #endif
        !          6544: 
        !          6545: int main (void)
        !          6546: {
        !          6547: return strerror_r ();
        !          6548:  ;
        !          6549:  return 0;
        !          6550: }
        !          6551: 
        !          6552: _ACEOF
        !          6553: if ac_fn_c_try_link "$LINENO"; then :
        !          6554: 
        !          6555:     tmp_strerror_r="yes"
        !          6556: 
        !          6557: else
        !          6558: 
        !          6559:     tmp_strerror_r="no"
        !          6560: 
        !          6561: fi
        !          6562: rm -f core conftest.err conftest.$ac_objext \
        !          6563:     conftest$ac_exeext conftest.$ac_ext
        !          6564:   if test "$tmp_strerror_r" = "yes"; then
        !          6565:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6566: /* end confdefs.h.  */
        !          6567: 
        !          6568: #include <sys/types.h>
        !          6569: #include <string.h>
        !          6570: 
        !          6571: _ACEOF
        !          6572: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          6573:   $EGREP "strerror_r" >/dev/null 2>&1; then :
        !          6574: 
        !          6575:       tmp_strerror_r="proto_declared"
        !          6576: 
        !          6577: else
        !          6578: 
        !          6579:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6580: /* end confdefs.h.  */
        !          6581: 
        !          6582: #define _REENTRANT
        !          6583: #include <sys/types.h>
        !          6584: #include <string.h>
        !          6585: 
        !          6586: _ACEOF
        !          6587: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          6588:   $EGREP "strerror_r" >/dev/null 2>&1; then :
        !          6589: 
        !          6590:         tmp_strerror_r="proto_needs_reentrant"
        !          6591:         tmp_need_reentrant="yes"
        !          6592: 
        !          6593: fi
        !          6594: rm -f conftest*
        !          6595: 
        !          6596: 
        !          6597: fi
        !          6598: rm -f conftest*
        !          6599: 
        !          6600:   fi
        !          6601: 
        !          6602:   fi
        !          6603:   if test "$tmp_need_reentrant" = "no"; then
        !          6604: 
        !          6605:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6606: /* end confdefs.h.  */
        !          6607: 
        !          6608: 
        !          6609: #define strtok_r innocuous_strtok_r
        !          6610: #ifdef __STDC__
        !          6611: # include <limits.h>
        !          6612: #else
        !          6613: # include <assert.h>
        !          6614: #endif
        !          6615: #undef strtok_r
        !          6616: #ifdef __cplusplus
        !          6617: extern "C"
        !          6618: #endif
        !          6619: char strtok_r ();
        !          6620: #if defined __stub_strtok_r || defined __stub___strtok_r
        !          6621: choke me
        !          6622: #endif
        !          6623: 
        !          6624: int main (void)
        !          6625: {
        !          6626: return strtok_r ();
        !          6627:  ;
        !          6628:  return 0;
        !          6629: }
        !          6630: 
        !          6631: _ACEOF
        !          6632: if ac_fn_c_try_link "$LINENO"; then :
        !          6633: 
        !          6634:     tmp_strtok_r="yes"
        !          6635: 
        !          6636: else
        !          6637: 
        !          6638:     tmp_strtok_r="no"
        !          6639: 
        !          6640: fi
        !          6641: rm -f core conftest.err conftest.$ac_objext \
        !          6642:     conftest$ac_exeext conftest.$ac_ext
        !          6643:   if test "$tmp_strtok_r" = "yes"; then
        !          6644:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6645: /* end confdefs.h.  */
        !          6646: 
        !          6647: #include <sys/types.h>
        !          6648: #include <string.h>
        !          6649: 
        !          6650: _ACEOF
        !          6651: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          6652:   $EGREP "strtok_r" >/dev/null 2>&1; then :
        !          6653: 
        !          6654:       tmp_strtok_r="proto_declared"
        !          6655: 
        !          6656: else
        !          6657: 
        !          6658:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6659: /* end confdefs.h.  */
        !          6660: 
        !          6661: #define _REENTRANT
        !          6662: #include <sys/types.h>
        !          6663: #include <string.h>
        !          6664: 
        !          6665: _ACEOF
        !          6666: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          6667:   $EGREP "strtok_r" >/dev/null 2>&1; then :
        !          6668: 
        !          6669:         tmp_strtok_r="proto_needs_reentrant"
        !          6670:         tmp_need_reentrant="yes"
        !          6671: 
        !          6672: fi
        !          6673: rm -f conftest*
        !          6674: 
        !          6675: 
        !          6676: fi
        !          6677: rm -f conftest*
        !          6678: 
        !          6679:   fi
        !          6680: 
        !          6681:   fi
        !          6682:   if test "$tmp_need_reentrant" = "no"; then
        !          6683: 
        !          6684:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6685: /* end confdefs.h.  */
        !          6686: 
        !          6687: 
        !          6688: #define inet_ntoa_r innocuous_inet_ntoa_r
        !          6689: #ifdef __STDC__
        !          6690: # include <limits.h>
        !          6691: #else
        !          6692: # include <assert.h>
        !          6693: #endif
        !          6694: #undef inet_ntoa_r
        !          6695: #ifdef __cplusplus
        !          6696: extern "C"
        !          6697: #endif
        !          6698: char inet_ntoa_r ();
        !          6699: #if defined __stub_inet_ntoa_r || defined __stub___inet_ntoa_r
        !          6700: choke me
        !          6701: #endif
        !          6702: 
        !          6703: int main (void)
        !          6704: {
        !          6705: return inet_ntoa_r ();
        !          6706:  ;
        !          6707:  return 0;
        !          6708: }
        !          6709: 
        !          6710: _ACEOF
        !          6711: if ac_fn_c_try_link "$LINENO"; then :
        !          6712: 
        !          6713:     tmp_inet_ntoa_r="yes"
        !          6714: 
        !          6715: else
        !          6716: 
        !          6717:     tmp_inet_ntoa_r="no"
        !          6718: 
        !          6719: fi
        !          6720: rm -f core conftest.err conftest.$ac_objext \
        !          6721:     conftest$ac_exeext conftest.$ac_ext
        !          6722:   if test "$tmp_inet_ntoa_r" = "yes"; then
        !          6723:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6724: /* end confdefs.h.  */
        !          6725: 
        !          6726: #include <sys/types.h>
        !          6727: #include <sys/socket.h>
        !          6728: #include <netinet/in.h>
        !          6729: #include <arpa/inet.h>
        !          6730: 
        !          6731: _ACEOF
        !          6732: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          6733:   $EGREP "inet_ntoa_r" >/dev/null 2>&1; then :
        !          6734: 
        !          6735:       tmp_inet_ntoa_r="proto_declared"
        !          6736: 
        !          6737: else
        !          6738: 
        !          6739:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6740: /* end confdefs.h.  */
        !          6741: 
        !          6742: #define _REENTRANT
        !          6743: #include <sys/types.h>
        !          6744: #include <sys/socket.h>
        !          6745: #include <netinet/in.h>
        !          6746: #include <arpa/inet.h>
        !          6747: 
        !          6748: _ACEOF
        !          6749: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          6750:   $EGREP "inet_ntoa_r" >/dev/null 2>&1; then :
        !          6751: 
        !          6752:         tmp_inet_ntoa_r="proto_needs_reentrant"
        !          6753:         tmp_need_reentrant="yes"
        !          6754: 
        !          6755: fi
        !          6756: rm -f conftest*
        !          6757: 
        !          6758: 
        !          6759: fi
        !          6760: rm -f conftest*
        !          6761: 
        !          6762:   fi
        !          6763: 
        !          6764:   fi
        !          6765:   if test "$tmp_need_reentrant" = "no"; then
        !          6766: 
        !          6767:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6768: /* end confdefs.h.  */
        !          6769: 
        !          6770: 
        !          6771: #define gethostbyaddr_r innocuous_gethostbyaddr_r
        !          6772: #ifdef __STDC__
        !          6773: # include <limits.h>
        !          6774: #else
        !          6775: # include <assert.h>
        !          6776: #endif
        !          6777: #undef gethostbyaddr_r
        !          6778: #ifdef __cplusplus
        !          6779: extern "C"
        !          6780: #endif
        !          6781: char gethostbyaddr_r ();
        !          6782: #if defined __stub_gethostbyaddr_r || defined __stub___gethostbyaddr_r
        !          6783: choke me
        !          6784: #endif
        !          6785: 
        !          6786: int main (void)
        !          6787: {
        !          6788: return gethostbyaddr_r ();
        !          6789:  ;
        !          6790:  return 0;
        !          6791: }
        !          6792: 
        !          6793: _ACEOF
        !          6794: if ac_fn_c_try_link "$LINENO"; then :
        !          6795: 
        !          6796:     tmp_gethostbyaddr_r="yes"
        !          6797: 
        !          6798: else
        !          6799: 
        !          6800:     tmp_gethostbyaddr_r="no"
        !          6801: 
        !          6802: fi
        !          6803: rm -f core conftest.err conftest.$ac_objext \
        !          6804:     conftest$ac_exeext conftest.$ac_ext
        !          6805:   if test "$tmp_gethostbyaddr_r" = "yes"; then
        !          6806:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6807: /* end confdefs.h.  */
        !          6808: 
        !          6809: #include <sys/types.h>
        !          6810: #include <netdb.h>
        !          6811: 
        !          6812: _ACEOF
        !          6813: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          6814:   $EGREP "gethostbyaddr_r" >/dev/null 2>&1; then :
        !          6815: 
        !          6816:       tmp_gethostbyaddr_r="proto_declared"
        !          6817: 
        !          6818: else
        !          6819: 
        !          6820:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6821: /* end confdefs.h.  */
        !          6822: 
        !          6823: #define _REENTRANT
        !          6824: #include <sys/types.h>
        !          6825: #include <netdb.h>
        !          6826: 
        !          6827: _ACEOF
        !          6828: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          6829:   $EGREP "gethostbyaddr_r" >/dev/null 2>&1; then :
        !          6830: 
        !          6831:         tmp_gethostbyaddr_r="proto_needs_reentrant"
        !          6832:         tmp_need_reentrant="yes"
        !          6833: 
        !          6834: fi
        !          6835: rm -f conftest*
        !          6836: 
        !          6837: 
        !          6838: fi
        !          6839: rm -f conftest*
        !          6840: 
        !          6841:   fi
        !          6842: 
        !          6843:   fi
        !          6844:   if test "$tmp_need_reentrant" = "no"; then
        !          6845: 
        !          6846:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6847: /* end confdefs.h.  */
        !          6848: 
        !          6849: 
        !          6850: #define gethostbyname_r innocuous_gethostbyname_r
        !          6851: #ifdef __STDC__
        !          6852: # include <limits.h>
        !          6853: #else
        !          6854: # include <assert.h>
        !          6855: #endif
        !          6856: #undef gethostbyname_r
        !          6857: #ifdef __cplusplus
        !          6858: extern "C"
        !          6859: #endif
        !          6860: char gethostbyname_r ();
        !          6861: #if defined __stub_gethostbyname_r || defined __stub___gethostbyname_r
        !          6862: choke me
        !          6863: #endif
        !          6864: 
        !          6865: int main (void)
        !          6866: {
        !          6867: return gethostbyname_r ();
        !          6868:  ;
        !          6869:  return 0;
        !          6870: }
        !          6871: 
        !          6872: _ACEOF
        !          6873: if ac_fn_c_try_link "$LINENO"; then :
        !          6874: 
        !          6875:     tmp_gethostbyname_r="yes"
        !          6876: 
        !          6877: else
        !          6878: 
        !          6879:     tmp_gethostbyname_r="no"
        !          6880: 
        !          6881: fi
        !          6882: rm -f core conftest.err conftest.$ac_objext \
        !          6883:     conftest$ac_exeext conftest.$ac_ext
        !          6884:   if test "$tmp_gethostbyname_r" = "yes"; then
        !          6885:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6886: /* end confdefs.h.  */
        !          6887: 
        !          6888: #include <sys/types.h>
        !          6889: #include <netdb.h>
        !          6890: 
        !          6891: _ACEOF
        !          6892: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          6893:   $EGREP "gethostbyname_r" >/dev/null 2>&1; then :
        !          6894: 
        !          6895:       tmp_gethostbyname_r="proto_declared"
        !          6896: 
        !          6897: else
        !          6898: 
        !          6899:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6900: /* end confdefs.h.  */
        !          6901: 
        !          6902: #define _REENTRANT
        !          6903: #include <sys/types.h>
        !          6904: #include <netdb.h>
        !          6905: 
        !          6906: _ACEOF
        !          6907: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          6908:   $EGREP "gethostbyname_r" >/dev/null 2>&1; then :
        !          6909: 
        !          6910:         tmp_gethostbyname_r="proto_needs_reentrant"
        !          6911:         tmp_need_reentrant="yes"
        !          6912: 
        !          6913: fi
        !          6914: rm -f conftest*
        !          6915: 
        !          6916: 
        !          6917: fi
        !          6918: rm -f conftest*
        !          6919: 
        !          6920:   fi
        !          6921: 
        !          6922:   fi
        !          6923:   if test "$tmp_need_reentrant" = "no"; then
        !          6924: 
        !          6925:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6926: /* end confdefs.h.  */
        !          6927: 
        !          6928: 
        !          6929: #define getprotobyname_r innocuous_getprotobyname_r
        !          6930: #ifdef __STDC__
        !          6931: # include <limits.h>
        !          6932: #else
        !          6933: # include <assert.h>
        !          6934: #endif
        !          6935: #undef getprotobyname_r
        !          6936: #ifdef __cplusplus
        !          6937: extern "C"
        !          6938: #endif
        !          6939: char getprotobyname_r ();
        !          6940: #if defined __stub_getprotobyname_r || defined __stub___getprotobyname_r
        !          6941: choke me
        !          6942: #endif
        !          6943: 
        !          6944: int main (void)
        !          6945: {
        !          6946: return getprotobyname_r ();
        !          6947:  ;
        !          6948:  return 0;
        !          6949: }
        !          6950: 
        !          6951: _ACEOF
        !          6952: if ac_fn_c_try_link "$LINENO"; then :
        !          6953: 
        !          6954:     tmp_getprotobyname_r="yes"
        !          6955: 
        !          6956: else
        !          6957: 
        !          6958:     tmp_getprotobyname_r="no"
        !          6959: 
        !          6960: fi
        !          6961: rm -f core conftest.err conftest.$ac_objext \
        !          6962:     conftest$ac_exeext conftest.$ac_ext
        !          6963:   if test "$tmp_getprotobyname_r" = "yes"; then
        !          6964:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6965: /* end confdefs.h.  */
        !          6966: 
        !          6967: #include <sys/types.h>
        !          6968: #include <netdb.h>
        !          6969: 
        !          6970: _ACEOF
        !          6971: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          6972:   $EGREP "getprotobyname_r" >/dev/null 2>&1; then :
        !          6973: 
        !          6974:       tmp_getprotobyname_r="proto_declared"
        !          6975: 
        !          6976: else
        !          6977: 
        !          6978:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6979: /* end confdefs.h.  */
        !          6980: 
        !          6981: #define _REENTRANT
        !          6982: #include <sys/types.h>
        !          6983: #include <netdb.h>
        !          6984: 
        !          6985: _ACEOF
        !          6986: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          6987:   $EGREP "getprotobyname_r" >/dev/null 2>&1; then :
        !          6988: 
        !          6989:         tmp_getprotobyname_r="proto_needs_reentrant"
        !          6990:         tmp_need_reentrant="yes"
        !          6991: 
        !          6992: fi
        !          6993: rm -f conftest*
        !          6994: 
        !          6995: 
        !          6996: fi
        !          6997: rm -f conftest*
        !          6998: 
        !          6999:   fi
        !          7000: 
        !          7001:   fi
        !          7002:   if test "$tmp_need_reentrant" = "no"; then
        !          7003: 
        !          7004:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          7005: /* end confdefs.h.  */
        !          7006: 
        !          7007: 
        !          7008: #define getservbyport_r innocuous_getservbyport_r
        !          7009: #ifdef __STDC__
        !          7010: # include <limits.h>
        !          7011: #else
        !          7012: # include <assert.h>
        !          7013: #endif
        !          7014: #undef getservbyport_r
        !          7015: #ifdef __cplusplus
        !          7016: extern "C"
        !          7017: #endif
        !          7018: char getservbyport_r ();
        !          7019: #if defined __stub_getservbyport_r || defined __stub___getservbyport_r
        !          7020: choke me
        !          7021: #endif
        !          7022: 
        !          7023: int main (void)
        !          7024: {
        !          7025: return getservbyport_r ();
        !          7026:  ;
        !          7027:  return 0;
        !          7028: }
        !          7029: 
        !          7030: _ACEOF
        !          7031: if ac_fn_c_try_link "$LINENO"; then :
        !          7032: 
        !          7033:     tmp_getservbyport_r="yes"
        !          7034: 
        !          7035: else
        !          7036: 
        !          7037:     tmp_getservbyport_r="no"
        !          7038: 
        !          7039: fi
        !          7040: rm -f core conftest.err conftest.$ac_objext \
        !          7041:     conftest$ac_exeext conftest.$ac_ext
        !          7042:   if test "$tmp_getservbyport_r" = "yes"; then
        !          7043:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          7044: /* end confdefs.h.  */
        !          7045: 
        !          7046: #include <sys/types.h>
        !          7047: #include <netdb.h>
        !          7048: 
        !          7049: _ACEOF
        !          7050: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          7051:   $EGREP "getservbyport_r" >/dev/null 2>&1; then :
        !          7052: 
        !          7053:       tmp_getservbyport_r="proto_declared"
        !          7054: 
        !          7055: else
        !          7056: 
        !          7057:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          7058: /* end confdefs.h.  */
        !          7059: 
        !          7060: #define _REENTRANT
        !          7061: #include <sys/types.h>
        !          7062: #include <netdb.h>
        !          7063: 
        !          7064: _ACEOF
        !          7065: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          7066:   $EGREP "getservbyport_r" >/dev/null 2>&1; then :
        !          7067: 
        !          7068:         tmp_getservbyport_r="proto_needs_reentrant"
        !          7069:         tmp_need_reentrant="yes"
        !          7070: 
        !          7071: fi
        !          7072: rm -f conftest*
        !          7073: 
        !          7074: 
        !          7075: fi
        !          7076: rm -f conftest*
        !          7077: 
        !          7078:   fi
        !          7079: 
        !          7080:   fi
        !          7081: 
        !          7082:     fi
        !          7083:     if test "$tmp_need_reentrant" = "yes"; then
        !          7084:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          7085: $as_echo "yes" >&6; }
        !          7086:     else
        !          7087:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7088: $as_echo "no" >&6; }
        !          7089:     fi
        !          7090:   fi
        !          7091:   #
        !          7092:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _REENTRANT is onwards defined" >&5
        !          7093: $as_echo_n "checking if _REENTRANT is onwards defined... " >&6; }
        !          7094:   if test "$tmp_reentrant_initially_defined" = "yes" ||
        !          7095:     test "$tmp_need_reentrant" = "yes"; then
        !          7096: 
        !          7097: 
        !          7098: $as_echo "#define NEED_REENTRANT 1" >>confdefs.h
        !          7099: 
        !          7100: cat >>confdefs.h <<_EOF
        !          7101: #ifndef _REENTRANT
        !          7102: #  define _REENTRANT
        !          7103: #endif
        !          7104: _EOF
        !          7105: 
        !          7106:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          7107: $as_echo "yes" >&6; }
        !          7108:   else
        !          7109:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7110: $as_echo "no" >&6; }
        !          7111:   fi
        !          7112:   #
        !          7113: 
        !          7114: 
        !          7115: # Check whether --enable-largefile was given.
        !          7116: if test "${enable_largefile+set}" = set; then :
        !          7117:   enableval=$enable_largefile;
        !          7118: fi
        !          7119: 
        !          7120: if test "$enable_largefile" != no; then
        !          7121: 
        !          7122:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
        !          7123: $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
        !          7124: if ${ac_cv_sys_largefile_CC+:} false; then :
        !          7125:   $as_echo_n "(cached) " >&6
        !          7126: else
        !          7127:   ac_cv_sys_largefile_CC=no
        !          7128:      if test "$GCC" != yes; then
        !          7129:        ac_save_CC=$CC
        !          7130:        while :; do
        !          7131:         # IRIX 6.2 and later do not support large files by default,
        !          7132:         # so use the C compiler's -n32 option if that helps.
        !          7133:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          7134: /* end confdefs.h.  */
        !          7135: #include <sys/types.h>
        !          7136:  /* Check that off_t can represent 2**63 - 1 correctly.
        !          7137:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
        !          7138:     since some C++ compilers masquerading as C compilers
        !          7139:     incorrectly reject 9223372036854775807.  */
        !          7140: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
        !          7141:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
        !          7142:                       && LARGE_OFF_T % 2147483647 == 1)
        !          7143:                      ? 1 : -1];
        !          7144: int main (void)
        !          7145: {
        !          7146: 
        !          7147:  ;
        !          7148:  return 0;
        !          7149: }
        !          7150: _ACEOF
        !          7151:         if ac_fn_c_try_compile "$LINENO"; then :
        !          7152:   break
        !          7153: fi
        !          7154: rm -f core conftest.err conftest.$ac_objext
        !          7155:         CC="$CC -n32"
        !          7156:         if ac_fn_c_try_compile "$LINENO"; then :
        !          7157:   ac_cv_sys_largefile_CC=' -n32'; break
        !          7158: fi
        !          7159: rm -f core conftest.err conftest.$ac_objext
        !          7160:         break
        !          7161:        done
        !          7162:        CC=$ac_save_CC
        !          7163:        rm -f conftest.$ac_ext
        !          7164:     fi
        !          7165: fi
        !          7166: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
        !          7167: $as_echo "$ac_cv_sys_largefile_CC" >&6; }
        !          7168:   if test "$ac_cv_sys_largefile_CC" != no; then
        !          7169:     CC=$CC$ac_cv_sys_largefile_CC
        !          7170:   fi
        !          7171: 
        !          7172:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
        !          7173: $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
        !          7174: if ${ac_cv_sys_file_offset_bits+:} false; then :
        !          7175:   $as_echo_n "(cached) " >&6
        !          7176: else
        !          7177:   while :; do
        !          7178:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          7179: /* end confdefs.h.  */
        !          7180: #include <sys/types.h>
        !          7181:  /* Check that off_t can represent 2**63 - 1 correctly.
        !          7182:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
        !          7183:     since some C++ compilers masquerading as C compilers
        !          7184:     incorrectly reject 9223372036854775807.  */
        !          7185: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
        !          7186:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
        !          7187:                       && LARGE_OFF_T % 2147483647 == 1)
        !          7188:                      ? 1 : -1];
        !          7189: int main (void)
        !          7190: {
        !          7191: 
        !          7192:  ;
        !          7193:  return 0;
        !          7194: }
        !          7195: _ACEOF
        !          7196: if ac_fn_c_try_compile "$LINENO"; then :
        !          7197:   ac_cv_sys_file_offset_bits=no; break
        !          7198: fi
        !          7199: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7200:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          7201: /* end confdefs.h.  */
        !          7202: #define _FILE_OFFSET_BITS 64
        !          7203: #include <sys/types.h>
        !          7204:  /* Check that off_t can represent 2**63 - 1 correctly.
        !          7205:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
        !          7206:     since some C++ compilers masquerading as C compilers
        !          7207:     incorrectly reject 9223372036854775807.  */
        !          7208: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
        !          7209:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
        !          7210:                       && LARGE_OFF_T % 2147483647 == 1)
        !          7211:                      ? 1 : -1];
        !          7212: int main (void)
        !          7213: {
        !          7214: 
        !          7215:  ;
        !          7216:  return 0;
        !          7217: }
        !          7218: _ACEOF
        !          7219: if ac_fn_c_try_compile "$LINENO"; then :
        !          7220:   ac_cv_sys_file_offset_bits=64; break
        !          7221: fi
        !          7222: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7223:   ac_cv_sys_file_offset_bits=unknown
        !          7224:   break
        !          7225: done
        !          7226: fi
        !          7227: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
        !          7228: $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
        !          7229: case $ac_cv_sys_file_offset_bits in #(
        !          7230:   no | unknown) ;;
        !          7231:   *)
        !          7232: cat >>confdefs.h <<_ACEOF
        !          7233: #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
        !          7234: _ACEOF
        !          7235: ;;
        !          7236: esac
        !          7237: rm -rf conftest*
        !          7238:   if test $ac_cv_sys_file_offset_bits = unknown; then
        !          7239:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
        !          7240: $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
        !          7241: if ${ac_cv_sys_large_files+:} false; then :
        !          7242:   $as_echo_n "(cached) " >&6
        !          7243: else
        !          7244:   while :; do
        !          7245:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          7246: /* end confdefs.h.  */
        !          7247: #include <sys/types.h>
        !          7248:  /* Check that off_t can represent 2**63 - 1 correctly.
        !          7249:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
        !          7250:     since some C++ compilers masquerading as C compilers
        !          7251:     incorrectly reject 9223372036854775807.  */
        !          7252: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
        !          7253:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
        !          7254:                       && LARGE_OFF_T % 2147483647 == 1)
        !          7255:                      ? 1 : -1];
        !          7256: int main (void)
        !          7257: {
        !          7258: 
        !          7259:  ;
        !          7260:  return 0;
        !          7261: }
        !          7262: _ACEOF
        !          7263: if ac_fn_c_try_compile "$LINENO"; then :
        !          7264:   ac_cv_sys_large_files=no; break
        !          7265: fi
        !          7266: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7267:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          7268: /* end confdefs.h.  */
        !          7269: #define _LARGE_FILES 1
        !          7270: #include <sys/types.h>
        !          7271:  /* Check that off_t can represent 2**63 - 1 correctly.
        !          7272:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
        !          7273:     since some C++ compilers masquerading as C compilers
        !          7274:     incorrectly reject 9223372036854775807.  */
        !          7275: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
        !          7276:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
        !          7277:                       && LARGE_OFF_T % 2147483647 == 1)
        !          7278:                      ? 1 : -1];
        !          7279: int main (void)
        !          7280: {
        !          7281: 
        !          7282:  ;
        !          7283:  return 0;
        !          7284: }
        !          7285: _ACEOF
        !          7286: if ac_fn_c_try_compile "$LINENO"; then :
        !          7287:   ac_cv_sys_large_files=1; break
        !          7288: fi
        !          7289: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7290:   ac_cv_sys_large_files=unknown
        !          7291:   break
        !          7292: done
        !          7293: fi
        !          7294: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
        !          7295: $as_echo "$ac_cv_sys_large_files" >&6; }
        !          7296: case $ac_cv_sys_large_files in #(
        !          7297:   no | unknown) ;;
        !          7298:   *)
        !          7299: cat >>confdefs.h <<_ACEOF
        !          7300: #define _LARGE_FILES $ac_cv_sys_large_files
        !          7301: _ACEOF
        !          7302: ;;
        !          7303: esac
        !          7304: rm -rf conftest*
        !          7305:   fi
        !          7306: 
        !          7307: 
        !          7308: fi
        !          7309: 
        !          7310: 
        !          7311: case `pwd` in
        !          7312:   *\ * | *\    *)
        !          7313:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
        !          7314: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
        !          7315: esac
        !          7316: 
        !          7317: 
        !          7318: 
        !          7319: macro_version='2.4.6'
        !          7320: macro_revision='2.4.6'
        !          7321: 
        !          7322: 
        !          7323: 
        !          7324: 
        !          7325: 
        !          7326: 
        !          7327: 
        !          7328: 
        !          7329: 
        !          7330: 
        !          7331: 
        !          7332: 
        !          7333: 
        !          7334: ltmain=$ac_aux_dir/ltmain.sh
        !          7335: 
        !          7336: # Backslashify metacharacters that are still active within
        !          7337: # double-quoted strings.
        !          7338: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
        !          7339: 
        !          7340: # Same as above, but do not quote variable references.
        !          7341: double_quote_subst='s/\(["`\\]\)/\\\1/g'
        !          7342: 
        !          7343: # Sed substitution to delay expansion of an escaped shell variable in a
        !          7344: # double_quote_subst'ed string.
        !          7345: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
        !          7346: 
        !          7347: # Sed substitution to delay expansion of an escaped single quote.
        !          7348: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
        !          7349: 
        !          7350: # Sed substitution to avoid accidental globbing in evaled expressions
        !          7351: no_glob_subst='s/\*/\\\*/g'
        !          7352: 
        !          7353: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
        !          7354: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
        !          7355: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
        !          7356: 
        !          7357: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
        !          7358: $as_echo_n "checking how to print strings... " >&6; }
        !          7359: # Test print first, because it will be a builtin if present.
        !          7360: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
        !          7361:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
        !          7362:   ECHO='print -r --'
        !          7363: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
        !          7364:   ECHO='printf %s\n'
        !          7365: else
        !          7366:   # Use this function as a fallback that always works.
        !          7367:   func_fallback_echo ()
        !          7368:   {
        !          7369:     eval 'cat <<_LTECHO_EOF
        !          7370: $1
        !          7371: _LTECHO_EOF'
        !          7372:   }
        !          7373:   ECHO='func_fallback_echo'
        !          7374: fi
        !          7375: 
        !          7376: # func_echo_all arg...
        !          7377: # Invoke $ECHO with all args, space-separated.
        !          7378: func_echo_all ()
        !          7379: {
        !          7380:     $ECHO ""
        !          7381: }
        !          7382: 
        !          7383: case $ECHO in
        !          7384:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
        !          7385: $as_echo "printf" >&6; } ;;
        !          7386:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
        !          7387: $as_echo "print -r" >&6; } ;;
        !          7388:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
        !          7389: $as_echo "cat" >&6; } ;;
        !          7390: esac
        !          7391: 
        !          7392: 
        !          7393: 
        !          7394: 
        !          7395: 
        !          7396: 
        !          7397: 
        !          7398: 
        !          7399: 
        !          7400: 
        !          7401: 
        !          7402: 
        !          7403: 
        !          7404: 
        !          7405: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
        !          7406: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
        !          7407: if ${ac_cv_path_SED+:} false; then :
        !          7408:   $as_echo_n "(cached) " >&6
        !          7409: else
        !          7410:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
        !          7411:      for ac_i in 1 2 3 4 5 6 7; do
        !          7412:        ac_script="$ac_script$as_nl$ac_script"
        !          7413:      done
        !          7414:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
        !          7415:      { ac_script=; unset ac_script;}
        !          7416:      if test -z "$SED"; then
        !          7417:   ac_path_SED_found=false
        !          7418:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          7419:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          7420: for as_dir in $PATH
        !          7421: do
        !          7422:   IFS=$as_save_IFS
        !          7423:   test -z "$as_dir" && as_dir=.
        !          7424:     for ac_prog in sed gsed; do
        !          7425:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          7426:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
        !          7427:       as_fn_executable_p "$ac_path_SED" || continue
        !          7428: # Check for GNU ac_path_SED and select it if it is found.
        !          7429:   # Check for GNU $ac_path_SED
        !          7430: case `"$ac_path_SED" --version 2>&1` in
        !          7431: *GNU*)
        !          7432:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
        !          7433: *)
        !          7434:   ac_count=0
        !          7435:   $as_echo_n 0123456789 >"conftest.in"
        !          7436:   while :
        !          7437:   do
        !          7438:     cat "conftest.in" "conftest.in" >"conftest.tmp"
        !          7439:     mv "conftest.tmp" "conftest.in"
        !          7440:     cp "conftest.in" "conftest.nl"
        !          7441:     $as_echo '' >> "conftest.nl"
        !          7442:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
        !          7443:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
        !          7444:     as_fn_arith $ac_count + 1 && ac_count=$as_val
        !          7445:     if test $ac_count -gt ${ac_path_SED_max-0}; then
        !          7446:       # Best one so far, save it but keep looking for a better one
        !          7447:       ac_cv_path_SED="$ac_path_SED"
        !          7448:       ac_path_SED_max=$ac_count
        !          7449:     fi
        !          7450:     # 10*(2^10) chars as input seems more than enough
        !          7451:     test $ac_count -gt 10 && break
        !          7452:   done
        !          7453:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
        !          7454: esac
        !          7455: 
        !          7456:       $ac_path_SED_found && break 3
        !          7457:     done
        !          7458:   done
        !          7459:   done
        !          7460: IFS=$as_save_IFS
        !          7461:   if test -z "$ac_cv_path_SED"; then
        !          7462:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
        !          7463:   fi
        !          7464: else
        !          7465:   ac_cv_path_SED=$SED
        !          7466: fi
        !          7467: 
        !          7468: fi
        !          7469: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
        !          7470: $as_echo "$ac_cv_path_SED" >&6; }
        !          7471:  SED="$ac_cv_path_SED"
        !          7472:   rm -f conftest.sed
        !          7473: 
        !          7474: test -z "$SED" && SED=sed
        !          7475: Xsed="$SED -e 1s/^X//"
        !          7476: 
        !          7477: 
        !          7478: 
        !          7479: 
        !          7480: 
        !          7481: 
        !          7482: 
        !          7483: 
        !          7484: 
        !          7485: 
        !          7486: 
        !          7487: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
        !          7488: $as_echo_n "checking for fgrep... " >&6; }
        !          7489: if ${ac_cv_path_FGREP+:} false; then :
        !          7490:   $as_echo_n "(cached) " >&6
        !          7491: else
        !          7492:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
        !          7493:    then ac_cv_path_FGREP="$GREP -F"
        !          7494:    else
        !          7495:      if test -z "$FGREP"; then
        !          7496:   ac_path_FGREP_found=false
        !          7497:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          7498:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          7499: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
        !          7500: do
        !          7501:   IFS=$as_save_IFS
        !          7502:   test -z "$as_dir" && as_dir=.
        !          7503:     for ac_prog in fgrep; do
        !          7504:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          7505:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
        !          7506:       as_fn_executable_p "$ac_path_FGREP" || continue
        !          7507: # Check for GNU ac_path_FGREP and select it if it is found.
        !          7508:   # Check for GNU $ac_path_FGREP
        !          7509: case `"$ac_path_FGREP" --version 2>&1` in
        !          7510: *GNU*)
        !          7511:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
        !          7512: *)
        !          7513:   ac_count=0
        !          7514:   $as_echo_n 0123456789 >"conftest.in"
        !          7515:   while :
        !          7516:   do
        !          7517:     cat "conftest.in" "conftest.in" >"conftest.tmp"
        !          7518:     mv "conftest.tmp" "conftest.in"
        !          7519:     cp "conftest.in" "conftest.nl"
        !          7520:     $as_echo 'FGREP' >> "conftest.nl"
        !          7521:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
        !          7522:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
        !          7523:     as_fn_arith $ac_count + 1 && ac_count=$as_val
        !          7524:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
        !          7525:       # Best one so far, save it but keep looking for a better one
        !          7526:       ac_cv_path_FGREP="$ac_path_FGREP"
        !          7527:       ac_path_FGREP_max=$ac_count
        !          7528:     fi
        !          7529:     # 10*(2^10) chars as input seems more than enough
        !          7530:     test $ac_count -gt 10 && break
        !          7531:   done
        !          7532:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
        !          7533: esac
        !          7534: 
        !          7535:       $ac_path_FGREP_found && break 3
        !          7536:     done
        !          7537:   done
        !          7538:   done
        !          7539: IFS=$as_save_IFS
        !          7540:   if test -z "$ac_cv_path_FGREP"; then
        !          7541:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
        !          7542:   fi
        !          7543: else
        !          7544:   ac_cv_path_FGREP=$FGREP
        !          7545: fi
        !          7546: 
        !          7547:    fi
        !          7548: fi
        !          7549: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
        !          7550: $as_echo "$ac_cv_path_FGREP" >&6; }
        !          7551:  FGREP="$ac_cv_path_FGREP"
        !          7552: 
        !          7553: 
        !          7554: test -z "$GREP" && GREP=grep
        !          7555: 
        !          7556: 
        !          7557: 
        !          7558: 
        !          7559: 
        !          7560: 
        !          7561: 
        !          7562: 
        !          7563: 
        !          7564: 
        !          7565: 
        !          7566: 
        !          7567: 
        !          7568: 
        !          7569: 
        !          7570: 
        !          7571: 
        !          7572: 
        !          7573: 
        !          7574: # Check whether --with-gnu-ld was given.
        !          7575: if test "${with_gnu_ld+set}" = set; then :
        !          7576:   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
        !          7577: else
        !          7578:   with_gnu_ld=no
        !          7579: fi
        !          7580: 
        !          7581: ac_prog=ld
        !          7582: if test yes = "$GCC"; then
        !          7583:   # Check if gcc -print-prog-name=ld gives a path.
        !          7584:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
        !          7585: $as_echo_n "checking for ld used by $CC... " >&6; }
        !          7586:   case $host in
        !          7587:   *-*-mingw*)
        !          7588:     # gcc leaves a trailing carriage return, which upsets mingw
        !          7589:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
        !          7590:   *)
        !          7591:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
        !          7592:   esac
        !          7593:   case $ac_prog in
        !          7594:     # Accept absolute paths.
        !          7595:     [\\/]* | ?:[\\/]*)
        !          7596:       re_direlt='/[^/][^/]*/\.\./'
        !          7597:       # Canonicalize the pathname of ld
        !          7598:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
        !          7599:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
        !          7600:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
        !          7601:       done
        !          7602:       test -z "$LD" && LD=$ac_prog
        !          7603:       ;;
        !          7604:   "")
        !          7605:     # If it fails, then pretend we aren't using GCC.
        !          7606:     ac_prog=ld
        !          7607:     ;;
        !          7608:   *)
        !          7609:     # If it is relative, then search for the first ld in PATH.
        !          7610:     with_gnu_ld=unknown
        !          7611:     ;;
        !          7612:   esac
        !          7613: elif test yes = "$with_gnu_ld"; then
        !          7614:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
        !          7615: $as_echo_n "checking for GNU ld... " >&6; }
        !          7616: else
        !          7617:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
        !          7618: $as_echo_n "checking for non-GNU ld... " >&6; }
        !          7619: fi
        !          7620: if ${lt_cv_path_LD+:} false; then :
        !          7621:   $as_echo_n "(cached) " >&6
        !          7622: else
        !          7623:   if test -z "$LD"; then
        !          7624:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
        !          7625:   for ac_dir in $PATH; do
        !          7626:     IFS=$lt_save_ifs
        !          7627:     test -z "$ac_dir" && ac_dir=.
        !          7628:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
        !          7629:       lt_cv_path_LD=$ac_dir/$ac_prog
        !          7630:       # Check to see if the program is GNU ld.  I'd rather use --version,
        !          7631:       # but apparently some variants of GNU ld only accept -v.
        !          7632:       # Break only if it was the GNU/non-GNU ld that we prefer.
        !          7633:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
        !          7634:       *GNU* | *'with BFD'*)
        !          7635:        test no != "$with_gnu_ld" && break
        !          7636:        ;;
        !          7637:       *)
        !          7638:        test yes != "$with_gnu_ld" && break
        !          7639:        ;;
        !          7640:       esac
        !          7641:     fi
        !          7642:   done
        !          7643:   IFS=$lt_save_ifs
        !          7644: else
        !          7645:   lt_cv_path_LD=$LD # Let the user override the test with a path.
        !          7646: fi
        !          7647: fi
        !          7648: 
        !          7649: LD=$lt_cv_path_LD
        !          7650: if test -n "$LD"; then
        !          7651:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
        !          7652: $as_echo "$LD" >&6; }
        !          7653: else
        !          7654:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7655: $as_echo "no" >&6; }
        !          7656: fi
        !          7657: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
        !          7658: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
        !          7659: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
        !          7660: if ${lt_cv_prog_gnu_ld+:} false; then :
        !          7661:   $as_echo_n "(cached) " >&6
        !          7662: else
        !          7663:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
        !          7664: case `$LD -v 2>&1 </dev/null` in
        !          7665: *GNU* | *'with BFD'*)
        !          7666:   lt_cv_prog_gnu_ld=yes
        !          7667:   ;;
        !          7668: *)
        !          7669:   lt_cv_prog_gnu_ld=no
        !          7670:   ;;
        !          7671: esac
        !          7672: fi
        !          7673: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
        !          7674: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
        !          7675: with_gnu_ld=$lt_cv_prog_gnu_ld
        !          7676: 
        !          7677: 
        !          7678: 
        !          7679: 
        !          7680: 
        !          7681: 
        !          7682: 
        !          7683: 
        !          7684: 
        !          7685: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
        !          7686: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
        !          7687: if ${lt_cv_path_NM+:} false; then :
        !          7688:   $as_echo_n "(cached) " >&6
        !          7689: else
        !          7690:   if test -n "$NM"; then
        !          7691:   # Let the user override the test.
        !          7692:   lt_cv_path_NM=$NM
        !          7693: else
        !          7694:   lt_nm_to_check=${ac_tool_prefix}nm
        !          7695:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
        !          7696:     lt_nm_to_check="$lt_nm_to_check nm"
        !          7697:   fi
        !          7698:   for lt_tmp_nm in $lt_nm_to_check; do
        !          7699:     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
        !          7700:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
        !          7701:       IFS=$lt_save_ifs
        !          7702:       test -z "$ac_dir" && ac_dir=.
        !          7703:       tmp_nm=$ac_dir/$lt_tmp_nm
        !          7704:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
        !          7705:        # Check to see if the nm accepts a BSD-compat flag.
        !          7706:        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
        !          7707:        #   nm: unknown option "B" ignored
        !          7708:        # Tru64's nm complains that /dev/null is an invalid object file
        !          7709:        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
        !          7710:        case $build_os in
        !          7711:        mingw*) lt_bad_file=conftest.nm/nofile ;;
        !          7712:        *) lt_bad_file=/dev/null ;;
        !          7713:        esac
        !          7714:        case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
        !          7715:        *$lt_bad_file* | *'Invalid file or object type'*)
        !          7716:          lt_cv_path_NM="$tmp_nm -B"
        !          7717:          break 2
        !          7718:          ;;
        !          7719:        *)
        !          7720:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
        !          7721:          */dev/null*)
        !          7722:            lt_cv_path_NM="$tmp_nm -p"
        !          7723:            break 2
        !          7724:            ;;
        !          7725:          *)
        !          7726:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
        !          7727:            continue # so that we can try to find one that supports BSD flags
        !          7728:            ;;
        !          7729:          esac
        !          7730:          ;;
        !          7731:        esac
        !          7732:       fi
        !          7733:     done
        !          7734:     IFS=$lt_save_ifs
        !          7735:   done
        !          7736:   : ${lt_cv_path_NM=no}
        !          7737: fi
        !          7738: fi
        !          7739: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
        !          7740: $as_echo "$lt_cv_path_NM" >&6; }
        !          7741: if test no != "$lt_cv_path_NM"; then
        !          7742:   NM=$lt_cv_path_NM
        !          7743: else
        !          7744:   # Didn't find any BSD compatible name lister, look for dumpbin.
        !          7745:   if test -n "$DUMPBIN"; then :
        !          7746:     # Let the user override the test.
        !          7747:   else
        !          7748:     if test -n "$ac_tool_prefix"; then
        !          7749:   for ac_prog in dumpbin "link -dump"
        !          7750:   do
        !          7751:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
        !          7752: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
        !          7753: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          7754: $as_echo_n "checking for $ac_word... " >&6; }
        !          7755: if ${ac_cv_prog_DUMPBIN+:} false; then :
        !          7756:   $as_echo_n "(cached) " >&6
        !          7757: else
        !          7758:   if test -n "$DUMPBIN"; then
        !          7759:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
        !          7760: else
        !          7761: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          7762: for as_dir in $PATH
        !          7763: do
        !          7764:   IFS=$as_save_IFS
        !          7765:   test -z "$as_dir" && as_dir=.
        !          7766:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          7767:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          7768:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
        !          7769:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          7770:     break 2
        !          7771:   fi
        !          7772: done
        !          7773:   done
        !          7774: IFS=$as_save_IFS
        !          7775: 
        !          7776: fi
        !          7777: fi
        !          7778: DUMPBIN=$ac_cv_prog_DUMPBIN
        !          7779: if test -n "$DUMPBIN"; then
        !          7780:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
        !          7781: $as_echo "$DUMPBIN" >&6; }
        !          7782: else
        !          7783:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7784: $as_echo "no" >&6; }
        !          7785: fi
        !          7786: 
        !          7787: 
        !          7788:     test -n "$DUMPBIN" && break
        !          7789:   done
        !          7790: fi
        !          7791: if test -z "$DUMPBIN"; then
        !          7792:   ac_ct_DUMPBIN=$DUMPBIN
        !          7793:   for ac_prog in dumpbin "link -dump"
        !          7794: do
        !          7795:   # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          7796: set dummy $ac_prog; ac_word=$2
        !          7797: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          7798: $as_echo_n "checking for $ac_word... " >&6; }
        !          7799: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
        !          7800:   $as_echo_n "(cached) " >&6
        !          7801: else
        !          7802:   if test -n "$ac_ct_DUMPBIN"; then
        !          7803:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
        !          7804: else
        !          7805: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          7806: for as_dir in $PATH
        !          7807: do
        !          7808:   IFS=$as_save_IFS
        !          7809:   test -z "$as_dir" && as_dir=.
        !          7810:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          7811:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          7812:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
        !          7813:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          7814:     break 2
        !          7815:   fi
        !          7816: done
        !          7817:   done
        !          7818: IFS=$as_save_IFS
        !          7819: 
        !          7820: fi
        !          7821: fi
        !          7822: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
        !          7823: if test -n "$ac_ct_DUMPBIN"; then
        !          7824:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
        !          7825: $as_echo "$ac_ct_DUMPBIN" >&6; }
        !          7826: else
        !          7827:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7828: $as_echo "no" >&6; }
        !          7829: fi
        !          7830: 
        !          7831: 
        !          7832:   test -n "$ac_ct_DUMPBIN" && break
        !          7833: done
        !          7834: 
        !          7835:   if test "x$ac_ct_DUMPBIN" = x; then
        !          7836:     DUMPBIN=":"
        !          7837:   else
        !          7838:     case $cross_compiling:$ac_tool_warned in
        !          7839: yes:)
        !          7840: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          7841: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          7842: ac_tool_warned=yes ;;
        !          7843: esac
        !          7844:     DUMPBIN=$ac_ct_DUMPBIN
        !          7845:   fi
        !          7846: fi
        !          7847: 
        !          7848:     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
        !          7849:     *COFF*)
        !          7850:       DUMPBIN="$DUMPBIN -symbols -headers"
        !          7851:       ;;
        !          7852:     *)
        !          7853:       DUMPBIN=:
        !          7854:       ;;
        !          7855:     esac
        !          7856:   fi
        !          7857: 
        !          7858:   if test : != "$DUMPBIN"; then
        !          7859:     NM=$DUMPBIN
        !          7860:   fi
        !          7861: fi
        !          7862: test -z "$NM" && NM=nm
        !          7863: 
        !          7864: 
        !          7865: 
        !          7866: 
        !          7867: 
        !          7868: 
        !          7869: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
        !          7870: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
        !          7871: if ${lt_cv_nm_interface+:} false; then :
        !          7872:   $as_echo_n "(cached) " >&6
        !          7873: else
        !          7874:   lt_cv_nm_interface="BSD nm"
        !          7875:   echo "int some_variable = 0;" > conftest.$ac_ext
        !          7876:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
        !          7877:   (eval "$ac_compile" 2>conftest.err)
        !          7878:   cat conftest.err >&5
        !          7879:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
        !          7880:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
        !          7881:   cat conftest.err >&5
        !          7882:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
        !          7883:   cat conftest.out >&5
        !          7884:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
        !          7885:     lt_cv_nm_interface="MS dumpbin"
        !          7886:   fi
        !          7887:   rm -f conftest*
        !          7888: fi
        !          7889: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
        !          7890: $as_echo "$lt_cv_nm_interface" >&6; }
        !          7891: 
        !          7892: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
        !          7893: $as_echo_n "checking whether ln -s works... " >&6; }
        !          7894: LN_S=$as_ln_s
        !          7895: if test "$LN_S" = "ln -s"; then
        !          7896:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          7897: $as_echo "yes" >&6; }
        !          7898: else
        !          7899:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
        !          7900: $as_echo "no, using $LN_S" >&6; }
        !          7901: fi
        !          7902: 
        !          7903: # find the maximum length of command line arguments
        !          7904: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
        !          7905: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
        !          7906: if ${lt_cv_sys_max_cmd_len+:} false; then :
        !          7907:   $as_echo_n "(cached) " >&6
        !          7908: else
        !          7909:     i=0
        !          7910:   teststring=ABCD
        !          7911: 
        !          7912:   case $build_os in
        !          7913:   msdosdjgpp*)
        !          7914:     # On DJGPP, this test can blow up pretty badly due to problems in libc
        !          7915:     # (any single argument exceeding 2000 bytes causes a buffer overrun
        !          7916:     # during glob expansion).  Even if it were fixed, the result of this
        !          7917:     # check would be larger than it should be.
        !          7918:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
        !          7919:     ;;
        !          7920: 
        !          7921:   gnu*)
        !          7922:     # Under GNU Hurd, this test is not required because there is
        !          7923:     # no limit to the length of command line arguments.
        !          7924:     # Libtool will interpret -1 as no limit whatsoever
        !          7925:     lt_cv_sys_max_cmd_len=-1;
        !          7926:     ;;
        !          7927: 
        !          7928:   cygwin* | mingw* | cegcc*)
        !          7929:     # On Win9x/ME, this test blows up -- it succeeds, but takes
        !          7930:     # about 5 minutes as the teststring grows exponentially.
        !          7931:     # Worse, since 9x/ME are not pre-emptively multitasking,
        !          7932:     # you end up with a "frozen" computer, even though with patience
        !          7933:     # the test eventually succeeds (with a max line length of 256k).
        !          7934:     # Instead, let's just punt: use the minimum linelength reported by
        !          7935:     # all of the supported platforms: 8192 (on NT/2K/XP).
        !          7936:     lt_cv_sys_max_cmd_len=8192;
        !          7937:     ;;
        !          7938: 
        !          7939:   mint*)
        !          7940:     # On MiNT this can take a long time and run out of memory.
        !          7941:     lt_cv_sys_max_cmd_len=8192;
        !          7942:     ;;
        !          7943: 
        !          7944:   amigaos*)
        !          7945:     # On AmigaOS with pdksh, this test takes hours, literally.
        !          7946:     # So we just punt and use a minimum line length of 8192.
        !          7947:     lt_cv_sys_max_cmd_len=8192;
        !          7948:     ;;
        !          7949: 
        !          7950:   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
        !          7951:     # This has been around since 386BSD, at least.  Likely further.
        !          7952:     if test -x /sbin/sysctl; then
        !          7953:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
        !          7954:     elif test -x /usr/sbin/sysctl; then
        !          7955:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
        !          7956:     else
        !          7957:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
        !          7958:     fi
        !          7959:     # And add a safety zone
        !          7960:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
        !          7961:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
        !          7962:     ;;
        !          7963: 
        !          7964:   interix*)
        !          7965:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
        !          7966:     lt_cv_sys_max_cmd_len=196608
        !          7967:     ;;
        !          7968: 
        !          7969:   os2*)
        !          7970:     # The test takes a long time on OS/2.
        !          7971:     lt_cv_sys_max_cmd_len=8192
        !          7972:     ;;
        !          7973: 
        !          7974:   osf*)
        !          7975:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
        !          7976:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
        !          7977:     # nice to cause kernel panics so lets avoid the loop below.
        !          7978:     # First set a reasonable default.
        !          7979:     lt_cv_sys_max_cmd_len=16384
        !          7980:     #
        !          7981:     if test -x /sbin/sysconfig; then
        !          7982:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
        !          7983:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
        !          7984:       esac
        !          7985:     fi
        !          7986:     ;;
        !          7987:   sco3.2v5*)
        !          7988:     lt_cv_sys_max_cmd_len=102400
        !          7989:     ;;
        !          7990:   sysv5* | sco5v6* | sysv4.2uw2*)
        !          7991:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
        !          7992:     if test -n "$kargmax"; then
        !          7993:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
        !          7994:     else
        !          7995:       lt_cv_sys_max_cmd_len=32768
        !          7996:     fi
        !          7997:     ;;
        !          7998:   *)
        !          7999:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
        !          8000:     if test -n "$lt_cv_sys_max_cmd_len" && \
        !          8001:        test undefined != "$lt_cv_sys_max_cmd_len"; then
        !          8002:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
        !          8003:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
        !          8004:     else
        !          8005:       # Make teststring a little bigger before we do anything with it.
        !          8006:       # a 1K string should be a reasonable start.
        !          8007:       for i in 1 2 3 4 5 6 7 8; do
        !          8008:         teststring=$teststring$teststring
        !          8009:       done
        !          8010:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
        !          8011:       # If test is not a shell built-in, we'll probably end up computing a
        !          8012:       # maximum length that is only half of the actual maximum length, but
        !          8013:       # we can't tell.
        !          8014:       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
        !          8015:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
        !          8016:              test 17 != "$i" # 1/2 MB should be enough
        !          8017:       do
        !          8018:         i=`expr $i + 1`
        !          8019:         teststring=$teststring$teststring
        !          8020:       done
        !          8021:       # Only check the string length outside the loop.
        !          8022:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
        !          8023:       teststring=
        !          8024:       # Add a significant safety factor because C++ compilers can tack on
        !          8025:       # massive amounts of additional arguments before passing them to the
        !          8026:       # linker.  It appears as though 1/2 is a usable value.
        !          8027:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
        !          8028:     fi
        !          8029:     ;;
        !          8030:   esac
        !          8031: 
        !          8032: fi
        !          8033: 
        !          8034: if test -n "$lt_cv_sys_max_cmd_len"; then
        !          8035:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
        !          8036: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
        !          8037: else
        !          8038:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
        !          8039: $as_echo "none" >&6; }
        !          8040: fi
        !          8041: max_cmd_len=$lt_cv_sys_max_cmd_len
        !          8042: 
        !          8043: 
        !          8044: 
        !          8045: 
        !          8046: 
        !          8047: 
        !          8048: : ${CP="cp -f"}
        !          8049: : ${MV="mv -f"}
        !          8050: : ${RM="rm -f"}
        !          8051: 
        !          8052: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
        !          8053:   lt_unset=unset
        !          8054: else
        !          8055:   lt_unset=false
        !          8056: fi
        !          8057: 
        !          8058: 
        !          8059: 
        !          8060: 
        !          8061: 
        !          8062: # test EBCDIC or ASCII
        !          8063: case `echo X|tr X '\101'` in
        !          8064:  A) # ASCII based system
        !          8065:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
        !          8066:   lt_SP2NL='tr \040 \012'
        !          8067:   lt_NL2SP='tr \015\012 \040\040'
        !          8068:   ;;
        !          8069:  *) # EBCDIC based system
        !          8070:   lt_SP2NL='tr \100 \n'
        !          8071:   lt_NL2SP='tr \r\n \100\100'
        !          8072:   ;;
        !          8073: esac
        !          8074: 
        !          8075: 
        !          8076: 
        !          8077: 
        !          8078: 
        !          8079: 
        !          8080: 
        !          8081: 
        !          8082: 
        !          8083: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
        !          8084: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
        !          8085: if ${lt_cv_to_host_file_cmd+:} false; then :
        !          8086:   $as_echo_n "(cached) " >&6
        !          8087: else
        !          8088:   case $host in
        !          8089:   *-*-mingw* )
        !          8090:     case $build in
        !          8091:       *-*-mingw* ) # actually msys
        !          8092:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
        !          8093:         ;;
        !          8094:       *-*-cygwin* )
        !          8095:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
        !          8096:         ;;
        !          8097:       * ) # otherwise, assume *nix
        !          8098:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
        !          8099:         ;;
        !          8100:     esac
        !          8101:     ;;
        !          8102:   *-*-cygwin* )
        !          8103:     case $build in
        !          8104:       *-*-mingw* ) # actually msys
        !          8105:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
        !          8106:         ;;
        !          8107:       *-*-cygwin* )
        !          8108:         lt_cv_to_host_file_cmd=func_convert_file_noop
        !          8109:         ;;
        !          8110:       * ) # otherwise, assume *nix
        !          8111:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
        !          8112:         ;;
        !          8113:     esac
        !          8114:     ;;
        !          8115:   * ) # unhandled hosts (and "normal" native builds)
        !          8116:     lt_cv_to_host_file_cmd=func_convert_file_noop
        !          8117:     ;;
        !          8118: esac
        !          8119: 
        !          8120: fi
        !          8121: 
        !          8122: to_host_file_cmd=$lt_cv_to_host_file_cmd
        !          8123: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
        !          8124: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
        !          8125: 
        !          8126: 
        !          8127: 
        !          8128: 
        !          8129: 
        !          8130: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
        !          8131: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
        !          8132: if ${lt_cv_to_tool_file_cmd+:} false; then :
        !          8133:   $as_echo_n "(cached) " >&6
        !          8134: else
        !          8135:   #assume ordinary cross tools, or native build.
        !          8136: lt_cv_to_tool_file_cmd=func_convert_file_noop
        !          8137: case $host in
        !          8138:   *-*-mingw* )
        !          8139:     case $build in
        !          8140:       *-*-mingw* ) # actually msys
        !          8141:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
        !          8142:         ;;
        !          8143:     esac
        !          8144:     ;;
        !          8145: esac
        !          8146: 
        !          8147: fi
        !          8148: 
        !          8149: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
        !          8150: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
        !          8151: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
        !          8152: 
        !          8153: 
        !          8154: 
        !          8155: 
        !          8156: 
        !          8157: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
        !          8158: $as_echo_n "checking for $LD option to reload object files... " >&6; }
        !          8159: if ${lt_cv_ld_reload_flag+:} false; then :
        !          8160:   $as_echo_n "(cached) " >&6
        !          8161: else
        !          8162:   lt_cv_ld_reload_flag='-r'
        !          8163: fi
        !          8164: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
        !          8165: $as_echo "$lt_cv_ld_reload_flag" >&6; }
        !          8166: reload_flag=$lt_cv_ld_reload_flag
        !          8167: case $reload_flag in
        !          8168: "" | " "*) ;;
        !          8169: *) reload_flag=" $reload_flag" ;;
        !          8170: esac
        !          8171: reload_cmds='$LD$reload_flag -o $output$reload_objs'
        !          8172: case $host_os in
        !          8173:   cygwin* | mingw* | pw32* | cegcc*)
        !          8174:     if test yes != "$GCC"; then
        !          8175:       reload_cmds=false
        !          8176:     fi
        !          8177:     ;;
        !          8178:   darwin*)
        !          8179:     if test yes = "$GCC"; then
        !          8180:       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
        !          8181:     else
        !          8182:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
        !          8183:     fi
        !          8184:     ;;
        !          8185: esac
        !          8186: 
        !          8187: 
        !          8188: 
        !          8189: 
        !          8190: 
        !          8191: 
        !          8192: 
        !          8193: 
        !          8194: 
        !          8195: if test -n "$ac_tool_prefix"; then
        !          8196:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
        !          8197: set dummy ${ac_tool_prefix}objdump; ac_word=$2
        !          8198: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8199: $as_echo_n "checking for $ac_word... " >&6; }
        !          8200: if ${ac_cv_prog_OBJDUMP+:} false; then :
        !          8201:   $as_echo_n "(cached) " >&6
        !          8202: else
        !          8203:   if test -n "$OBJDUMP"; then
        !          8204:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
        !          8205: else
        !          8206: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8207: for as_dir in $PATH
        !          8208: do
        !          8209:   IFS=$as_save_IFS
        !          8210:   test -z "$as_dir" && as_dir=.
        !          8211:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8212:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          8213:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
        !          8214:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          8215:     break 2
        !          8216:   fi
        !          8217: done
        !          8218:   done
        !          8219: IFS=$as_save_IFS
        !          8220: 
        !          8221: fi
        !          8222: fi
        !          8223: OBJDUMP=$ac_cv_prog_OBJDUMP
        !          8224: if test -n "$OBJDUMP"; then
        !          8225:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
        !          8226: $as_echo "$OBJDUMP" >&6; }
        !          8227: else
        !          8228:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8229: $as_echo "no" >&6; }
        !          8230: fi
        !          8231: 
        !          8232: 
        !          8233: fi
        !          8234: if test -z "$ac_cv_prog_OBJDUMP"; then
        !          8235:   ac_ct_OBJDUMP=$OBJDUMP
        !          8236:   # Extract the first word of "objdump", so it can be a program name with args.
        !          8237: set dummy objdump; ac_word=$2
        !          8238: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8239: $as_echo_n "checking for $ac_word... " >&6; }
        !          8240: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
        !          8241:   $as_echo_n "(cached) " >&6
        !          8242: else
        !          8243:   if test -n "$ac_ct_OBJDUMP"; then
        !          8244:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
        !          8245: else
        !          8246: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8247: for as_dir in $PATH
        !          8248: do
        !          8249:   IFS=$as_save_IFS
        !          8250:   test -z "$as_dir" && as_dir=.
        !          8251:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8252:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          8253:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
        !          8254:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          8255:     break 2
        !          8256:   fi
        !          8257: done
        !          8258:   done
        !          8259: IFS=$as_save_IFS
        !          8260: 
        !          8261: fi
        !          8262: fi
        !          8263: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
        !          8264: if test -n "$ac_ct_OBJDUMP"; then
        !          8265:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
        !          8266: $as_echo "$ac_ct_OBJDUMP" >&6; }
        !          8267: else
        !          8268:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8269: $as_echo "no" >&6; }
        !          8270: fi
        !          8271: 
        !          8272:   if test "x$ac_ct_OBJDUMP" = x; then
        !          8273:     OBJDUMP="false"
        !          8274:   else
        !          8275:     case $cross_compiling:$ac_tool_warned in
        !          8276: yes:)
        !          8277: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          8278: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          8279: ac_tool_warned=yes ;;
        !          8280: esac
        !          8281:     OBJDUMP=$ac_ct_OBJDUMP
        !          8282:   fi
        !          8283: else
        !          8284:   OBJDUMP="$ac_cv_prog_OBJDUMP"
        !          8285: fi
        !          8286: 
        !          8287: test -z "$OBJDUMP" && OBJDUMP=objdump
        !          8288: 
        !          8289: 
        !          8290: 
        !          8291: 
        !          8292: 
        !          8293: 
        !          8294: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
        !          8295: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
        !          8296: if ${lt_cv_deplibs_check_method+:} false; then :
        !          8297:   $as_echo_n "(cached) " >&6
        !          8298: else
        !          8299:   lt_cv_file_magic_cmd='$MAGIC_CMD'
        !          8300: lt_cv_file_magic_test_file=
        !          8301: lt_cv_deplibs_check_method='unknown'
        !          8302: # Need to set the preceding variable on all platforms that support
        !          8303: # interlibrary dependencies.
        !          8304: # 'none' -- dependencies not supported.
        !          8305: # 'unknown' -- same as none, but documents that we really don't know.
        !          8306: # 'pass_all' -- all dependencies passed with no checks.
        !          8307: # 'test_compile' -- check by making test program.
        !          8308: # 'file_magic [[regex]]' -- check by looking for files in library path
        !          8309: # that responds to the $file_magic_cmd with a given extended regex.
        !          8310: # If you have 'file' or equivalent on your system and you're not sure
        !          8311: # whether 'pass_all' will *always* work, you probably want this one.
        !          8312: 
        !          8313: case $host_os in
        !          8314: aix[4-9]*)
        !          8315:   lt_cv_deplibs_check_method=pass_all
        !          8316:   ;;
        !          8317: 
        !          8318: beos*)
        !          8319:   lt_cv_deplibs_check_method=pass_all
        !          8320:   ;;
        !          8321: 
        !          8322: bsdi[45]*)
        !          8323:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
        !          8324:   lt_cv_file_magic_cmd='/usr/bin/file -L'
        !          8325:   lt_cv_file_magic_test_file=/shlib/libc.so
        !          8326:   ;;
        !          8327: 
        !          8328: cygwin*)
        !          8329:   # func_win32_libid is a shell function defined in ltmain.sh
        !          8330:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
        !          8331:   lt_cv_file_magic_cmd='func_win32_libid'
        !          8332:   ;;
        !          8333: 
        !          8334: mingw* | pw32*)
        !          8335:   # Base MSYS/MinGW do not provide the 'file' command needed by
        !          8336:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
        !          8337:   # unless we find 'file', for example because we are cross-compiling.
        !          8338:   if ( file / ) >/dev/null 2>&1; then
        !          8339:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
        !          8340:     lt_cv_file_magic_cmd='func_win32_libid'
        !          8341:   else
        !          8342:     # Keep this pattern in sync with the one in func_win32_libid.
        !          8343:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
        !          8344:     lt_cv_file_magic_cmd='$OBJDUMP -f'
        !          8345:   fi
        !          8346:   ;;
        !          8347: 
        !          8348: cegcc*)
        !          8349:   # use the weaker test based on 'objdump'. See mingw*.
        !          8350:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
        !          8351:   lt_cv_file_magic_cmd='$OBJDUMP -f'
        !          8352:   ;;
        !          8353: 
        !          8354: darwin* | rhapsody*)
        !          8355:   lt_cv_deplibs_check_method=pass_all
        !          8356:   ;;
        !          8357: 
        !          8358: freebsd* | dragonfly*)
        !          8359:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
        !          8360:     case $host_cpu in
        !          8361:     i*86 )
        !          8362:       # Not sure whether the presence of OpenBSD here was a mistake.
        !          8363:       # Let's accept both of them until this is cleared up.
        !          8364:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
        !          8365:       lt_cv_file_magic_cmd=/usr/bin/file
        !          8366:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
        !          8367:       ;;
        !          8368:     esac
        !          8369:   else
        !          8370:     lt_cv_deplibs_check_method=pass_all
        !          8371:   fi
        !          8372:   ;;
        !          8373: 
        !          8374: haiku*)
        !          8375:   lt_cv_deplibs_check_method=pass_all
        !          8376:   ;;
        !          8377: 
        !          8378: hpux10.20* | hpux11*)
        !          8379:   lt_cv_file_magic_cmd=/usr/bin/file
        !          8380:   case $host_cpu in
        !          8381:   ia64*)
        !          8382:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
        !          8383:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
        !          8384:     ;;
        !          8385:   hppa*64*)
        !          8386:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
        !          8387:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
        !          8388:     ;;
        !          8389:   *)
        !          8390:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
        !          8391:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
        !          8392:     ;;
        !          8393:   esac
        !          8394:   ;;
        !          8395: 
        !          8396: interix[3-9]*)
        !          8397:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
        !          8398:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
        !          8399:   ;;
        !          8400: 
        !          8401: irix5* | irix6* | nonstopux*)
        !          8402:   case $LD in
        !          8403:   *-32|*"-32 ") libmagic=32-bit;;
        !          8404:   *-n32|*"-n32 ") libmagic=N32;;
        !          8405:   *-64|*"-64 ") libmagic=64-bit;;
        !          8406:   *) libmagic=never-match;;
        !          8407:   esac
        !          8408:   lt_cv_deplibs_check_method=pass_all
        !          8409:   ;;
        !          8410: 
        !          8411: # This must be glibc/ELF.
        !          8412: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
        !          8413:   lt_cv_deplibs_check_method=pass_all
        !          8414:   ;;
        !          8415: 
        !          8416: netbsd* | netbsdelf*-gnu)
        !          8417:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
        !          8418:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
        !          8419:   else
        !          8420:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
        !          8421:   fi
        !          8422:   ;;
        !          8423: 
        !          8424: newos6*)
        !          8425:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
        !          8426:   lt_cv_file_magic_cmd=/usr/bin/file
        !          8427:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
        !          8428:   ;;
        !          8429: 
        !          8430: *nto* | *qnx*)
        !          8431:   lt_cv_deplibs_check_method=pass_all
        !          8432:   ;;
        !          8433: 
        !          8434: openbsd* | bitrig*)
        !          8435:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
        !          8436:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
        !          8437:   else
        !          8438:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
        !          8439:   fi
        !          8440:   ;;
        !          8441: 
        !          8442: osf3* | osf4* | osf5*)
        !          8443:   lt_cv_deplibs_check_method=pass_all
        !          8444:   ;;
        !          8445: 
        !          8446: rdos*)
        !          8447:   lt_cv_deplibs_check_method=pass_all
        !          8448:   ;;
        !          8449: 
        !          8450: solaris*)
        !          8451:   lt_cv_deplibs_check_method=pass_all
        !          8452:   ;;
        !          8453: 
        !          8454: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
        !          8455:   lt_cv_deplibs_check_method=pass_all
        !          8456:   ;;
        !          8457: 
        !          8458: sysv4 | sysv4.3*)
        !          8459:   case $host_vendor in
        !          8460:   motorola)
        !          8461:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
        !          8462:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
        !          8463:     ;;
        !          8464:   ncr)
        !          8465:     lt_cv_deplibs_check_method=pass_all
        !          8466:     ;;
        !          8467:   sequent)
        !          8468:     lt_cv_file_magic_cmd='/bin/file'
        !          8469:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
        !          8470:     ;;
        !          8471:   sni)
        !          8472:     lt_cv_file_magic_cmd='/bin/file'
        !          8473:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
        !          8474:     lt_cv_file_magic_test_file=/lib/libc.so
        !          8475:     ;;
        !          8476:   siemens)
        !          8477:     lt_cv_deplibs_check_method=pass_all
        !          8478:     ;;
        !          8479:   pc)
        !          8480:     lt_cv_deplibs_check_method=pass_all
        !          8481:     ;;
        !          8482:   esac
        !          8483:   ;;
        !          8484: 
        !          8485: tpf*)
        !          8486:   lt_cv_deplibs_check_method=pass_all
        !          8487:   ;;
        !          8488: os2*)
        !          8489:   lt_cv_deplibs_check_method=pass_all
        !          8490:   ;;
        !          8491: esac
        !          8492: 
        !          8493: fi
        !          8494: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
        !          8495: $as_echo "$lt_cv_deplibs_check_method" >&6; }
        !          8496: 
        !          8497: file_magic_glob=
        !          8498: want_nocaseglob=no
        !          8499: if test "$build" = "$host"; then
        !          8500:   case $host_os in
        !          8501:   mingw* | pw32*)
        !          8502:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
        !          8503:       want_nocaseglob=yes
        !          8504:     else
        !          8505:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
        !          8506:     fi
        !          8507:     ;;
        !          8508:   esac
        !          8509: fi
        !          8510: 
        !          8511: file_magic_cmd=$lt_cv_file_magic_cmd
        !          8512: deplibs_check_method=$lt_cv_deplibs_check_method
        !          8513: test -z "$deplibs_check_method" && deplibs_check_method=unknown
        !          8514: 
        !          8515: 
        !          8516: 
        !          8517: 
        !          8518: 
        !          8519: 
        !          8520: 
        !          8521: 
        !          8522: 
        !          8523: 
        !          8524: 
        !          8525: 
        !          8526: 
        !          8527: 
        !          8528: 
        !          8529: 
        !          8530: 
        !          8531: 
        !          8532: 
        !          8533: 
        !          8534: 
        !          8535: 
        !          8536: if test -n "$ac_tool_prefix"; then
        !          8537:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
        !          8538: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
        !          8539: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8540: $as_echo_n "checking for $ac_word... " >&6; }
        !          8541: if ${ac_cv_prog_DLLTOOL+:} false; then :
        !          8542:   $as_echo_n "(cached) " >&6
        !          8543: else
        !          8544:   if test -n "$DLLTOOL"; then
        !          8545:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
        !          8546: else
        !          8547: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8548: for as_dir in $PATH
        !          8549: do
        !          8550:   IFS=$as_save_IFS
        !          8551:   test -z "$as_dir" && as_dir=.
        !          8552:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8553:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          8554:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
        !          8555:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          8556:     break 2
        !          8557:   fi
        !          8558: done
        !          8559:   done
        !          8560: IFS=$as_save_IFS
        !          8561: 
        !          8562: fi
        !          8563: fi
        !          8564: DLLTOOL=$ac_cv_prog_DLLTOOL
        !          8565: if test -n "$DLLTOOL"; then
        !          8566:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
        !          8567: $as_echo "$DLLTOOL" >&6; }
        !          8568: else
        !          8569:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8570: $as_echo "no" >&6; }
        !          8571: fi
        !          8572: 
        !          8573: 
        !          8574: fi
        !          8575: if test -z "$ac_cv_prog_DLLTOOL"; then
        !          8576:   ac_ct_DLLTOOL=$DLLTOOL
        !          8577:   # Extract the first word of "dlltool", so it can be a program name with args.
        !          8578: set dummy dlltool; ac_word=$2
        !          8579: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8580: $as_echo_n "checking for $ac_word... " >&6; }
        !          8581: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
        !          8582:   $as_echo_n "(cached) " >&6
        !          8583: else
        !          8584:   if test -n "$ac_ct_DLLTOOL"; then
        !          8585:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
        !          8586: else
        !          8587: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8588: for as_dir in $PATH
        !          8589: do
        !          8590:   IFS=$as_save_IFS
        !          8591:   test -z "$as_dir" && as_dir=.
        !          8592:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8593:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          8594:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
        !          8595:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          8596:     break 2
        !          8597:   fi
        !          8598: done
        !          8599:   done
        !          8600: IFS=$as_save_IFS
        !          8601: 
        !          8602: fi
        !          8603: fi
        !          8604: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
        !          8605: if test -n "$ac_ct_DLLTOOL"; then
        !          8606:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
        !          8607: $as_echo "$ac_ct_DLLTOOL" >&6; }
        !          8608: else
        !          8609:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8610: $as_echo "no" >&6; }
        !          8611: fi
        !          8612: 
        !          8613:   if test "x$ac_ct_DLLTOOL" = x; then
        !          8614:     DLLTOOL="false"
        !          8615:   else
        !          8616:     case $cross_compiling:$ac_tool_warned in
        !          8617: yes:)
        !          8618: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          8619: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          8620: ac_tool_warned=yes ;;
        !          8621: esac
        !          8622:     DLLTOOL=$ac_ct_DLLTOOL
        !          8623:   fi
        !          8624: else
        !          8625:   DLLTOOL="$ac_cv_prog_DLLTOOL"
        !          8626: fi
        !          8627: 
        !          8628: test -z "$DLLTOOL" && DLLTOOL=dlltool
        !          8629: 
        !          8630: 
        !          8631: 
        !          8632: 
        !          8633: 
        !          8634: 
        !          8635: 
        !          8636: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
        !          8637: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
        !          8638: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
        !          8639:   $as_echo_n "(cached) " >&6
        !          8640: else
        !          8641:   lt_cv_sharedlib_from_linklib_cmd='unknown'
        !          8642: 
        !          8643: case $host_os in
        !          8644: cygwin* | mingw* | pw32* | cegcc*)
        !          8645:   # two different shell functions defined in ltmain.sh;
        !          8646:   # decide which one to use based on capabilities of $DLLTOOL
        !          8647:   case `$DLLTOOL --help 2>&1` in
        !          8648:   *--identify-strict*)
        !          8649:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
        !          8650:     ;;
        !          8651:   *)
        !          8652:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
        !          8653:     ;;
        !          8654:   esac
        !          8655:   ;;
        !          8656: *)
        !          8657:   # fallback: assume linklib IS sharedlib
        !          8658:   lt_cv_sharedlib_from_linklib_cmd=$ECHO
        !          8659:   ;;
        !          8660: esac
        !          8661: 
        !          8662: fi
        !          8663: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
        !          8664: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
        !          8665: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
        !          8666: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
        !          8667: 
        !          8668: 
        !          8669: 
        !          8670: 
        !          8671: 
        !          8672: 
        !          8673: 
        !          8674: if test -n "$ac_tool_prefix"; then
        !          8675:   for ac_prog in ar
        !          8676:   do
        !          8677:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
        !          8678: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
        !          8679: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8680: $as_echo_n "checking for $ac_word... " >&6; }
        !          8681: if ${ac_cv_prog_AR+:} false; then :
        !          8682:   $as_echo_n "(cached) " >&6
        !          8683: else
        !          8684:   if test -n "$AR"; then
        !          8685:   ac_cv_prog_AR="$AR" # Let the user override the test.
        !          8686: else
        !          8687: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8688: for as_dir in $PATH
        !          8689: do
        !          8690:   IFS=$as_save_IFS
        !          8691:   test -z "$as_dir" && as_dir=.
        !          8692:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8693:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          8694:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
        !          8695:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          8696:     break 2
        !          8697:   fi
        !          8698: done
        !          8699:   done
        !          8700: IFS=$as_save_IFS
        !          8701: 
        !          8702: fi
        !          8703: fi
        !          8704: AR=$ac_cv_prog_AR
        !          8705: if test -n "$AR"; then
        !          8706:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
        !          8707: $as_echo "$AR" >&6; }
        !          8708: else
        !          8709:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8710: $as_echo "no" >&6; }
        !          8711: fi
        !          8712: 
        !          8713: 
        !          8714:     test -n "$AR" && break
        !          8715:   done
        !          8716: fi
        !          8717: if test -z "$AR"; then
        !          8718:   ac_ct_AR=$AR
        !          8719:   for ac_prog in ar
        !          8720: do
        !          8721:   # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          8722: set dummy $ac_prog; ac_word=$2
        !          8723: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8724: $as_echo_n "checking for $ac_word... " >&6; }
        !          8725: if ${ac_cv_prog_ac_ct_AR+:} false; then :
        !          8726:   $as_echo_n "(cached) " >&6
        !          8727: else
        !          8728:   if test -n "$ac_ct_AR"; then
        !          8729:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
        !          8730: else
        !          8731: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8732: for as_dir in $PATH
        !          8733: do
        !          8734:   IFS=$as_save_IFS
        !          8735:   test -z "$as_dir" && as_dir=.
        !          8736:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8737:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          8738:     ac_cv_prog_ac_ct_AR="$ac_prog"
        !          8739:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          8740:     break 2
        !          8741:   fi
        !          8742: done
        !          8743:   done
        !          8744: IFS=$as_save_IFS
        !          8745: 
        !          8746: fi
        !          8747: fi
        !          8748: ac_ct_AR=$ac_cv_prog_ac_ct_AR
        !          8749: if test -n "$ac_ct_AR"; then
        !          8750:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
        !          8751: $as_echo "$ac_ct_AR" >&6; }
        !          8752: else
        !          8753:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8754: $as_echo "no" >&6; }
        !          8755: fi
        !          8756: 
        !          8757: 
        !          8758:   test -n "$ac_ct_AR" && break
        !          8759: done
        !          8760: 
        !          8761:   if test "x$ac_ct_AR" = x; then
        !          8762:     AR="false"
        !          8763:   else
        !          8764:     case $cross_compiling:$ac_tool_warned in
        !          8765: yes:)
        !          8766: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          8767: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          8768: ac_tool_warned=yes ;;
        !          8769: esac
        !          8770:     AR=$ac_ct_AR
        !          8771:   fi
        !          8772: fi
        !          8773: 
        !          8774: : ${AR=ar}
        !          8775: : ${AR_FLAGS=cr}
        !          8776: 
        !          8777: 
        !          8778: 
        !          8779: 
        !          8780: 
        !          8781: 
        !          8782: 
        !          8783: 
        !          8784: 
        !          8785: 
        !          8786: 
        !          8787: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
        !          8788: $as_echo_n "checking for archiver @FILE support... " >&6; }
        !          8789: if ${lt_cv_ar_at_file+:} false; then :
        !          8790:   $as_echo_n "(cached) " >&6
        !          8791: else
        !          8792:   lt_cv_ar_at_file=no
        !          8793:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          8794: /* end confdefs.h.  */
        !          8795: 
        !          8796: int main (void)
        !          8797: {
        !          8798: 
        !          8799:  ;
        !          8800:  return 0;
        !          8801: }
        !          8802: _ACEOF
        !          8803: if ac_fn_c_try_compile "$LINENO"; then :
        !          8804:   echo conftest.$ac_objext > conftest.lst
        !          8805:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
        !          8806:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
        !          8807:   (eval $lt_ar_try) 2>&5
        !          8808:   ac_status=$?
        !          8809:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          8810:   test $ac_status = 0; }
        !          8811:       if test 0 -eq "$ac_status"; then
        !          8812:        # Ensure the archiver fails upon bogus file names.
        !          8813:        rm -f conftest.$ac_objext libconftest.a
        !          8814:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
        !          8815:   (eval $lt_ar_try) 2>&5
        !          8816:   ac_status=$?
        !          8817:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          8818:   test $ac_status = 0; }
        !          8819:        if test 0 -ne "$ac_status"; then
        !          8820:           lt_cv_ar_at_file=@
        !          8821:         fi
        !          8822:       fi
        !          8823:       rm -f conftest.* libconftest.a
        !          8824: 
        !          8825: fi
        !          8826: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          8827: 
        !          8828: fi
        !          8829: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
        !          8830: $as_echo "$lt_cv_ar_at_file" >&6; }
        !          8831: 
        !          8832: if test no = "$lt_cv_ar_at_file"; then
        !          8833:   archiver_list_spec=
        !          8834: else
        !          8835:   archiver_list_spec=$lt_cv_ar_at_file
        !          8836: fi
        !          8837: 
        !          8838: 
        !          8839: 
        !          8840: 
        !          8841: 
        !          8842: 
        !          8843: 
        !          8844: if test -n "$ac_tool_prefix"; then
        !          8845:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
        !          8846: set dummy ${ac_tool_prefix}strip; ac_word=$2
        !          8847: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8848: $as_echo_n "checking for $ac_word... " >&6; }
        !          8849: if ${ac_cv_prog_STRIP+:} false; then :
        !          8850:   $as_echo_n "(cached) " >&6
        !          8851: else
        !          8852:   if test -n "$STRIP"; then
        !          8853:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
        !          8854: else
        !          8855: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8856: for as_dir in $PATH
        !          8857: do
        !          8858:   IFS=$as_save_IFS
        !          8859:   test -z "$as_dir" && as_dir=.
        !          8860:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8861:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          8862:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
        !          8863:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          8864:     break 2
        !          8865:   fi
        !          8866: done
        !          8867:   done
        !          8868: IFS=$as_save_IFS
        !          8869: 
        !          8870: fi
        !          8871: fi
        !          8872: STRIP=$ac_cv_prog_STRIP
        !          8873: if test -n "$STRIP"; then
        !          8874:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
        !          8875: $as_echo "$STRIP" >&6; }
        !          8876: else
        !          8877:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8878: $as_echo "no" >&6; }
        !          8879: fi
        !          8880: 
        !          8881: 
        !          8882: fi
        !          8883: if test -z "$ac_cv_prog_STRIP"; then
        !          8884:   ac_ct_STRIP=$STRIP
        !          8885:   # Extract the first word of "strip", so it can be a program name with args.
        !          8886: set dummy strip; ac_word=$2
        !          8887: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8888: $as_echo_n "checking for $ac_word... " >&6; }
        !          8889: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
        !          8890:   $as_echo_n "(cached) " >&6
        !          8891: else
        !          8892:   if test -n "$ac_ct_STRIP"; then
        !          8893:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
        !          8894: else
        !          8895: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8896: for as_dir in $PATH
        !          8897: do
        !          8898:   IFS=$as_save_IFS
        !          8899:   test -z "$as_dir" && as_dir=.
        !          8900:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8901:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          8902:     ac_cv_prog_ac_ct_STRIP="strip"
        !          8903:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          8904:     break 2
        !          8905:   fi
        !          8906: done
        !          8907:   done
        !          8908: IFS=$as_save_IFS
        !          8909: 
        !          8910: fi
        !          8911: fi
        !          8912: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
        !          8913: if test -n "$ac_ct_STRIP"; then
        !          8914:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
        !          8915: $as_echo "$ac_ct_STRIP" >&6; }
        !          8916: else
        !          8917:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8918: $as_echo "no" >&6; }
        !          8919: fi
        !          8920: 
        !          8921:   if test "x$ac_ct_STRIP" = x; then
        !          8922:     STRIP=":"
        !          8923:   else
        !          8924:     case $cross_compiling:$ac_tool_warned in
        !          8925: yes:)
        !          8926: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          8927: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          8928: ac_tool_warned=yes ;;
        !          8929: esac
        !          8930:     STRIP=$ac_ct_STRIP
        !          8931:   fi
        !          8932: else
        !          8933:   STRIP="$ac_cv_prog_STRIP"
        !          8934: fi
        !          8935: 
        !          8936: test -z "$STRIP" && STRIP=:
        !          8937: 
        !          8938: 
        !          8939: 
        !          8940: 
        !          8941: 
        !          8942: 
        !          8943: if test -n "$ac_tool_prefix"; then
        !          8944:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
        !          8945: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
        !          8946: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8947: $as_echo_n "checking for $ac_word... " >&6; }
        !          8948: if ${ac_cv_prog_RANLIB+:} false; then :
        !          8949:   $as_echo_n "(cached) " >&6
        !          8950: else
        !          8951:   if test -n "$RANLIB"; then
        !          8952:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
        !          8953: else
        !          8954: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8955: for as_dir in $PATH
        !          8956: do
        !          8957:   IFS=$as_save_IFS
        !          8958:   test -z "$as_dir" && as_dir=.
        !          8959:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8960:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          8961:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
        !          8962:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          8963:     break 2
        !          8964:   fi
        !          8965: done
        !          8966:   done
        !          8967: IFS=$as_save_IFS
        !          8968: 
        !          8969: fi
        !          8970: fi
        !          8971: RANLIB=$ac_cv_prog_RANLIB
        !          8972: if test -n "$RANLIB"; then
        !          8973:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
        !          8974: $as_echo "$RANLIB" >&6; }
        !          8975: else
        !          8976:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8977: $as_echo "no" >&6; }
        !          8978: fi
        !          8979: 
        !          8980: 
        !          8981: fi
        !          8982: if test -z "$ac_cv_prog_RANLIB"; then
        !          8983:   ac_ct_RANLIB=$RANLIB
        !          8984:   # Extract the first word of "ranlib", so it can be a program name with args.
        !          8985: set dummy ranlib; ac_word=$2
        !          8986: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8987: $as_echo_n "checking for $ac_word... " >&6; }
        !          8988: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
        !          8989:   $as_echo_n "(cached) " >&6
        !          8990: else
        !          8991:   if test -n "$ac_ct_RANLIB"; then
        !          8992:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
        !          8993: else
        !          8994: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8995: for as_dir in $PATH
        !          8996: do
        !          8997:   IFS=$as_save_IFS
        !          8998:   test -z "$as_dir" && as_dir=.
        !          8999:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          9000:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          9001:     ac_cv_prog_ac_ct_RANLIB="ranlib"
        !          9002:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          9003:     break 2
        !          9004:   fi
        !          9005: done
        !          9006:   done
        !          9007: IFS=$as_save_IFS
        !          9008: 
        !          9009: fi
        !          9010: fi
        !          9011: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
        !          9012: if test -n "$ac_ct_RANLIB"; then
        !          9013:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
        !          9014: $as_echo "$ac_ct_RANLIB" >&6; }
        !          9015: else
        !          9016:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          9017: $as_echo "no" >&6; }
        !          9018: fi
        !          9019: 
        !          9020:   if test "x$ac_ct_RANLIB" = x; then
        !          9021:     RANLIB=":"
        !          9022:   else
        !          9023:     case $cross_compiling:$ac_tool_warned in
        !          9024: yes:)
        !          9025: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          9026: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          9027: ac_tool_warned=yes ;;
        !          9028: esac
        !          9029:     RANLIB=$ac_ct_RANLIB
        !          9030:   fi
        !          9031: else
        !          9032:   RANLIB="$ac_cv_prog_RANLIB"
        !          9033: fi
        !          9034: 
        !          9035: test -z "$RANLIB" && RANLIB=:
        !          9036: 
        !          9037: 
        !          9038: 
        !          9039: 
        !          9040: 
        !          9041: 
        !          9042: # Determine commands to create old-style static archives.
        !          9043: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
        !          9044: old_postinstall_cmds='chmod 644 $oldlib'
        !          9045: old_postuninstall_cmds=
        !          9046: 
        !          9047: if test -n "$RANLIB"; then
        !          9048:   case $host_os in
        !          9049:   bitrig* | openbsd*)
        !          9050:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
        !          9051:     ;;
        !          9052:   *)
        !          9053:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
        !          9054:     ;;
        !          9055:   esac
        !          9056:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
        !          9057: fi
        !          9058: 
        !          9059: case $host_os in
        !          9060:   darwin*)
        !          9061:     lock_old_archive_extraction=yes ;;
        !          9062:   *)
        !          9063:     lock_old_archive_extraction=no ;;
        !          9064: esac
        !          9065: 
        !          9066: 
        !          9067: 
        !          9068: 
        !          9069: 
        !          9070: 
        !          9071: 
        !          9072: 
        !          9073: 
        !          9074: 
        !          9075: 
        !          9076: 
        !          9077: 
        !          9078: 
        !          9079: 
        !          9080: 
        !          9081: 
        !          9082: 
        !          9083: 
        !          9084: 
        !          9085: 
        !          9086: 
        !          9087: 
        !          9088: 
        !          9089: 
        !          9090: 
        !          9091: 
        !          9092: 
        !          9093: 
        !          9094: 
        !          9095: 
        !          9096: 
        !          9097: 
        !          9098: 
        !          9099: 
        !          9100: 
        !          9101: 
        !          9102: 
        !          9103: 
        !          9104: # If no C compiler was specified, use CC.
        !          9105: LTCC=${LTCC-"$CC"}
        !          9106: 
        !          9107: # If no C compiler flags were specified, use CFLAGS.
        !          9108: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
        !          9109: 
        !          9110: # Allow CC to be a program name with arguments.
        !          9111: compiler=$CC
        !          9112: 
        !          9113: 
        !          9114: # Check for command to grab the raw symbol name followed by C symbol from nm.
        !          9115: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
        !          9116: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
        !          9117: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
        !          9118:   $as_echo_n "(cached) " >&6
        !          9119: else
        !          9120: 
        !          9121: # These are sane defaults that work on at least a few old systems.
        !          9122: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
        !          9123: 
        !          9124: # Character class describing NM global symbol codes.
        !          9125: symcode='[BCDEGRST]'
        !          9126: 
        !          9127: # Regexp to match symbols that can be accessed directly from C.
        !          9128: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
        !          9129: 
        !          9130: # Define system-specific variables.
        !          9131: case $host_os in
        !          9132: aix*)
        !          9133:   symcode='[BCDT]'
        !          9134:   ;;
        !          9135: cygwin* | mingw* | pw32* | cegcc*)
        !          9136:   symcode='[ABCDGISTW]'
        !          9137:   ;;
        !          9138: hpux*)
        !          9139:   if test ia64 = "$host_cpu"; then
        !          9140:     symcode='[ABCDEGRST]'
        !          9141:   fi
        !          9142:   ;;
        !          9143: irix* | nonstopux*)
        !          9144:   symcode='[BCDEGRST]'
        !          9145:   ;;
        !          9146: osf*)
        !          9147:   symcode='[BCDEGQRST]'
        !          9148:   ;;
        !          9149: solaris*)
        !          9150:   symcode='[BDRT]'
        !          9151:   ;;
        !          9152: sco3.2v5*)
        !          9153:   symcode='[DT]'
        !          9154:   ;;
        !          9155: sysv4.2uw2*)
        !          9156:   symcode='[DT]'
        !          9157:   ;;
        !          9158: sysv5* | sco5v6* | unixware* | OpenUNIX*)
        !          9159:   symcode='[ABDT]'
        !          9160:   ;;
        !          9161: sysv4)
        !          9162:   symcode='[DFNSTU]'
        !          9163:   ;;
        !          9164: esac
        !          9165: 
        !          9166: # If we're using GNU nm, then use its standard symbol codes.
        !          9167: case `$NM -V 2>&1` in
        !          9168: *GNU* | *'with BFD'*)
        !          9169:   symcode='[ABCDGIRSTW]' ;;
        !          9170: esac
        !          9171: 
        !          9172: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
        !          9173:   # Gets list of data symbols to import.
        !          9174:   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
        !          9175:   # Adjust the below global symbol transforms to fixup imported variables.
        !          9176:   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
        !          9177:   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
        !          9178:   lt_c_name_lib_hook="\
        !          9179:   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
        !          9180:   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
        !          9181: else
        !          9182:   # Disable hooks by default.
        !          9183:   lt_cv_sys_global_symbol_to_import=
        !          9184:   lt_cdecl_hook=
        !          9185:   lt_c_name_hook=
        !          9186:   lt_c_name_lib_hook=
        !          9187: fi
        !          9188: 
        !          9189: # Transform an extracted symbol line into a proper C declaration.
        !          9190: # Some systems (esp. on ia64) link data and code symbols differently,
        !          9191: # so use this general approach.
        !          9192: lt_cv_sys_global_symbol_to_cdecl="sed -n"\
        !          9193: $lt_cdecl_hook\
        !          9194: " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
        !          9195: " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
        !          9196: 
        !          9197: # Transform an extracted symbol line into symbol name and symbol address
        !          9198: lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
        !          9199: $lt_c_name_hook\
        !          9200: " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
        !          9201: " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
        !          9202: 
        !          9203: # Transform an extracted symbol line into symbol name with lib prefix and
        !          9204: # symbol address.
        !          9205: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
        !          9206: $lt_c_name_lib_hook\
        !          9207: " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
        !          9208: " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
        !          9209: " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
        !          9210: 
        !          9211: # Handle CRLF in mingw tool chain
        !          9212: opt_cr=
        !          9213: case $build_os in
        !          9214: mingw*)
        !          9215:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
        !          9216:   ;;
        !          9217: esac
        !          9218: 
        !          9219: # Try without a prefix underscore, then with it.
        !          9220: for ac_symprfx in "" "_"; do
        !          9221: 
        !          9222:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
        !          9223:   symxfrm="\\1 $ac_symprfx\\2 \\2"
        !          9224: 
        !          9225:   # Write the raw and C identifiers.
        !          9226:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
        !          9227:     # Fake it for dumpbin and say T for any non-static function,
        !          9228:     # D for any global variable and I for any imported variable.
        !          9229:     # Also find C++ and __fastcall symbols from MSVC++,
        !          9230:     # which start with @ or ?.
        !          9231:     lt_cv_sys_global_symbol_pipe="$AWK '"\
        !          9232: "     {last_section=section; section=\$ 3};"\
        !          9233: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
        !          9234: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
        !          9235: "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
        !          9236: "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
        !          9237: "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
        !          9238: "     \$ 0!~/External *\|/{next};"\
        !          9239: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
        !          9240: "     {if(hide[section]) next};"\
        !          9241: "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
        !          9242: "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
        !          9243: "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
        !          9244: "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
        !          9245: "     ' prfx=^$ac_symprfx"
        !          9246:   else
        !          9247:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
        !          9248:   fi
        !          9249:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
        !          9250: 
        !          9251:   # Check to see that the pipe works correctly.
        !          9252:   pipe_works=no
        !          9253: 
        !          9254:   rm -f conftest*
        !          9255:   cat > conftest.$ac_ext <<_LT_EOF
        !          9256: #ifdef __cplusplus
        !          9257: extern "C" {
        !          9258: #endif
        !          9259: char nm_test_var;
        !          9260: void nm_test_func(void);
        !          9261: void nm_test_func(void){}
        !          9262: #ifdef __cplusplus
        !          9263: }
        !          9264: #endif
        !          9265: int main(){nm_test_var='a';nm_test_func();return(0);}
        !          9266: _LT_EOF
        !          9267: 
        !          9268:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
        !          9269:   (eval $ac_compile) 2>&5
        !          9270:   ac_status=$?
        !          9271:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          9272:   test $ac_status = 0; }; then
        !          9273:     # Now try to grab the symbols.
        !          9274:     nlist=conftest.nm
        !          9275:     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
        !          9276:     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
        !          9277:       # Try sorting and uniquifying the output.
        !          9278:       if sort "$nlist" | uniq > "$nlist"T; then
        !          9279:        mv -f "$nlist"T "$nlist"
        !          9280:       else
        !          9281:        rm -f "$nlist"T
        !          9282:       fi
        !          9283: 
        !          9284:       # Make sure that we snagged all the symbols we need.
        !          9285:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
        !          9286:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
        !          9287:          cat <<_LT_EOF > conftest.$ac_ext
        !          9288: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
        !          9289: #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
        !          9290: /* DATA imports from DLLs on WIN32 can't be const, because runtime
        !          9291:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
        !          9292: # define LT_DLSYM_CONST
        !          9293: #elif defined __osf__
        !          9294: /* This system does not cope well with relocations in const data.  */
        !          9295: # define LT_DLSYM_CONST
        !          9296: #else
        !          9297: # define LT_DLSYM_CONST const
        !          9298: #endif
        !          9299: 
        !          9300: #ifdef __cplusplus
        !          9301: extern "C" {
        !          9302: #endif
        !          9303: 
        !          9304: _LT_EOF
        !          9305:          # Now generate the symbol file.
        !          9306:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
        !          9307: 
        !          9308:          cat <<_LT_EOF >> conftest.$ac_ext
        !          9309: 
        !          9310: /* The mapping between symbol names and symbols.  */
        !          9311: LT_DLSYM_CONST struct {
        !          9312:   const char *name;
        !          9313:   void       *address;
        !          9314: }
        !          9315: lt__PROGRAM__LTX_preloaded_symbols[] =
        !          9316: {
        !          9317:   { "@PROGRAM@", (void *) 0 },
        !          9318: _LT_EOF
        !          9319:          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
        !          9320:          cat <<\_LT_EOF >> conftest.$ac_ext
        !          9321:   {0, (void *) 0}
        !          9322: };
        !          9323: 
        !          9324: /* This works around a problem in FreeBSD linker */
        !          9325: #ifdef FREEBSD_WORKAROUND
        !          9326: static const void *lt_preloaded_setup() {
        !          9327:   return lt__PROGRAM__LTX_preloaded_symbols;
        !          9328: }
        !          9329: #endif
        !          9330: 
        !          9331: #ifdef __cplusplus
        !          9332: }
        !          9333: #endif
        !          9334: _LT_EOF
        !          9335:          # Now try linking the two files.
        !          9336:          mv -f conftest.$ac_objext conftstm.$ac_objext
        !          9337:          lt_globsym_save_LIBS=$LIBS
        !          9338:          lt_globsym_save_CFLAGS=$CFLAGS
        !          9339:          LIBS=conftstm.$ac_objext
        !          9340:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
        !          9341:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
        !          9342:   (eval $ac_link) 2>&5
        !          9343:   ac_status=$?
        !          9344:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          9345:   test $ac_status = 0; } && test -s conftest$ac_exeext; then
        !          9346:            pipe_works=yes
        !          9347:          fi
        !          9348:          LIBS=$lt_globsym_save_LIBS
        !          9349:          CFLAGS=$lt_globsym_save_CFLAGS
        !          9350:        else
        !          9351:          echo "cannot find nm_test_func in $nlist" >&5
        !          9352:        fi
        !          9353:       else
        !          9354:        echo "cannot find nm_test_var in $nlist" >&5
        !          9355:       fi
        !          9356:     else
        !          9357:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
        !          9358:     fi
        !          9359:   else
        !          9360:     echo "$progname: failed program was:" >&5
        !          9361:     cat conftest.$ac_ext >&5
        !          9362:   fi
        !          9363:   rm -rf conftest* conftst*
        !          9364: 
        !          9365:   # Do not use the global_symbol_pipe unless it works.
        !          9366:   if test yes = "$pipe_works"; then
        !          9367:     break
        !          9368:   else
        !          9369:     lt_cv_sys_global_symbol_pipe=
        !          9370:   fi
        !          9371: done
        !          9372: 
        !          9373: fi
        !          9374: 
        !          9375: if test -z "$lt_cv_sys_global_symbol_pipe"; then
        !          9376:   lt_cv_sys_global_symbol_to_cdecl=
        !          9377: fi
        !          9378: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
        !          9379:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
        !          9380: $as_echo "failed" >&6; }
        !          9381: else
        !          9382:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
        !          9383: $as_echo "ok" >&6; }
        !          9384: fi
        !          9385: 
        !          9386: # Response file support.
        !          9387: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
        !          9388:   nm_file_list_spec='@'
        !          9389: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
        !          9390:   nm_file_list_spec='@'
        !          9391: fi
        !          9392: 
        !          9393: 
        !          9394: 
        !          9395: 
        !          9396: 
        !          9397: 
        !          9398: 
        !          9399: 
        !          9400: 
        !          9401: 
        !          9402: 
        !          9403: 
        !          9404: 
        !          9405: 
        !          9406: 
        !          9407: 
        !          9408: 
        !          9409: 
        !          9410: 
        !          9411: 
        !          9412: 
        !          9413: 
        !          9414: 
        !          9415: 
        !          9416: 
        !          9417: 
        !          9418: 
        !          9419: 
        !          9420: 
        !          9421: 
        !          9422: 
        !          9423: 
        !          9424: 
        !          9425: 
        !          9426: 
        !          9427: 
        !          9428: 
        !          9429: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
        !          9430: $as_echo_n "checking for sysroot... " >&6; }
        !          9431: 
        !          9432: # Check whether --with-sysroot was given.
        !          9433: if test "${with_sysroot+set}" = set; then :
        !          9434:   withval=$with_sysroot;
        !          9435: else
        !          9436:   with_sysroot=no
        !          9437: fi
        !          9438: 
        !          9439: 
        !          9440: lt_sysroot=
        !          9441: case $with_sysroot in #(
        !          9442:  yes)
        !          9443:    if test yes = "$GCC"; then
        !          9444:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
        !          9445:    fi
        !          9446:    ;; #(
        !          9447:  /*)
        !          9448:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
        !          9449:    ;; #(
        !          9450:  no|'')
        !          9451:    ;; #(
        !          9452:  *)
        !          9453:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
        !          9454: $as_echo "$with_sysroot" >&6; }
        !          9455:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
        !          9456:    ;;
        !          9457: esac
        !          9458: 
        !          9459:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
        !          9460: $as_echo "${lt_sysroot:-no}" >&6; }
        !          9461: 
        !          9462: 
        !          9463: 
        !          9464: 
        !          9465: 
        !          9466: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
        !          9467: $as_echo_n "checking for a working dd... " >&6; }
        !          9468: if ${ac_cv_path_lt_DD+:} false; then :
        !          9469:   $as_echo_n "(cached) " >&6
        !          9470: else
        !          9471:   printf 0123456789abcdef0123456789abcdef >conftest.i
        !          9472: cat conftest.i conftest.i >conftest2.i
        !          9473: : ${lt_DD:=$DD}
        !          9474: if test -z "$lt_DD"; then
        !          9475:   ac_path_lt_DD_found=false
        !          9476:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          9477:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          9478: for as_dir in $PATH
        !          9479: do
        !          9480:   IFS=$as_save_IFS
        !          9481:   test -z "$as_dir" && as_dir=.
        !          9482:     for ac_prog in dd; do
        !          9483:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          9484:       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
        !          9485:       as_fn_executable_p "$ac_path_lt_DD" || continue
        !          9486: if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
        !          9487:   cmp -s conftest.i conftest.out \
        !          9488:   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
        !          9489: fi
        !          9490:       $ac_path_lt_DD_found && break 3
        !          9491:     done
        !          9492:   done
        !          9493:   done
        !          9494: IFS=$as_save_IFS
        !          9495:   if test -z "$ac_cv_path_lt_DD"; then
        !          9496:     :
        !          9497:   fi
        !          9498: else
        !          9499:   ac_cv_path_lt_DD=$lt_DD
        !          9500: fi
        !          9501: 
        !          9502: rm -f conftest.i conftest2.i conftest.out
        !          9503: fi
        !          9504: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
        !          9505: $as_echo "$ac_cv_path_lt_DD" >&6; }
        !          9506: 
        !          9507: 
        !          9508: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
        !          9509: $as_echo_n "checking how to truncate binary pipes... " >&6; }
        !          9510: if ${lt_cv_truncate_bin+:} false; then :
        !          9511:   $as_echo_n "(cached) " >&6
        !          9512: else
        !          9513:   printf 0123456789abcdef0123456789abcdef >conftest.i
        !          9514: cat conftest.i conftest.i >conftest2.i
        !          9515: lt_cv_truncate_bin=
        !          9516: if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
        !          9517:   cmp -s conftest.i conftest.out \
        !          9518:   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
        !          9519: fi
        !          9520: rm -f conftest.i conftest2.i conftest.out
        !          9521: test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
        !          9522: fi
        !          9523: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
        !          9524: $as_echo "$lt_cv_truncate_bin" >&6; }
        !          9525: 
        !          9526: 
        !          9527: 
        !          9528: 
        !          9529: 
        !          9530: 
        !          9531: 
        !          9532: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
        !          9533: func_cc_basename ()
        !          9534: {
        !          9535:     for cc_temp in $*""; do
        !          9536:       case $cc_temp in
        !          9537:         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
        !          9538:         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
        !          9539:         \-*) ;;
        !          9540:         *) break;;
        !          9541:       esac
        !          9542:     done
        !          9543:     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
        !          9544: }
        !          9545: 
        !          9546: # Check whether --enable-libtool-lock was given.
        !          9547: if test "${enable_libtool_lock+set}" = set; then :
        !          9548:   enableval=$enable_libtool_lock;
        !          9549: fi
        !          9550: 
        !          9551: test no = "$enable_libtool_lock" || enable_libtool_lock=yes
        !          9552: 
        !          9553: # Some flags need to be propagated to the compiler or linker for good
        !          9554: # libtool support.
        !          9555: case $host in
        !          9556: ia64-*-hpux*)
        !          9557:   # Find out what ABI is being produced by ac_compile, and set mode
        !          9558:   # options accordingly.
        !          9559:   echo 'int i;' > conftest.$ac_ext
        !          9560:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
        !          9561:   (eval $ac_compile) 2>&5
        !          9562:   ac_status=$?
        !          9563:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          9564:   test $ac_status = 0; }; then
        !          9565:     case `/usr/bin/file conftest.$ac_objext` in
        !          9566:       *ELF-32*)
        !          9567:        HPUX_IA64_MODE=32
        !          9568:        ;;
        !          9569:       *ELF-64*)
        !          9570:        HPUX_IA64_MODE=64
        !          9571:        ;;
        !          9572:     esac
        !          9573:   fi
        !          9574:   rm -rf conftest*
        !          9575:   ;;
        !          9576: *-*-irix6*)
        !          9577:   # Find out what ABI is being produced by ac_compile, and set linker
        !          9578:   # options accordingly.
        !          9579:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
        !          9580:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
        !          9581:   (eval $ac_compile) 2>&5
        !          9582:   ac_status=$?
        !          9583:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          9584:   test $ac_status = 0; }; then
        !          9585:     if test yes = "$lt_cv_prog_gnu_ld"; then
        !          9586:       case `/usr/bin/file conftest.$ac_objext` in
        !          9587:        *32-bit*)
        !          9588:          LD="${LD-ld} -melf32bsmip"
        !          9589:          ;;
        !          9590:        *N32*)
        !          9591:          LD="${LD-ld} -melf32bmipn32"
        !          9592:          ;;
        !          9593:        *64-bit*)
        !          9594:          LD="${LD-ld} -melf64bmip"
        !          9595:        ;;
        !          9596:       esac
        !          9597:     else
        !          9598:       case `/usr/bin/file conftest.$ac_objext` in
        !          9599:        *32-bit*)
        !          9600:          LD="${LD-ld} -32"
        !          9601:          ;;
        !          9602:        *N32*)
        !          9603:          LD="${LD-ld} -n32"
        !          9604:          ;;
        !          9605:        *64-bit*)
        !          9606:          LD="${LD-ld} -64"
        !          9607:          ;;
        !          9608:       esac
        !          9609:     fi
        !          9610:   fi
        !          9611:   rm -rf conftest*
        !          9612:   ;;
        !          9613: 
        !          9614: mips64*-*linux*)
        !          9615:   # Find out what ABI is being produced by ac_compile, and set linker
        !          9616:   # options accordingly.
        !          9617:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
        !          9618:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
        !          9619:   (eval $ac_compile) 2>&5
        !          9620:   ac_status=$?
        !          9621:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          9622:   test $ac_status = 0; }; then
        !          9623:     emul=elf
        !          9624:     case `/usr/bin/file conftest.$ac_objext` in
        !          9625:       *32-bit*)
        !          9626:        emul="${emul}32"
        !          9627:        ;;
        !          9628:       *64-bit*)
        !          9629:        emul="${emul}64"
        !          9630:        ;;
        !          9631:     esac
        !          9632:     case `/usr/bin/file conftest.$ac_objext` in
        !          9633:       *MSB*)
        !          9634:        emul="${emul}btsmip"
        !          9635:        ;;
        !          9636:       *LSB*)
        !          9637:        emul="${emul}ltsmip"
        !          9638:        ;;
        !          9639:     esac
        !          9640:     case `/usr/bin/file conftest.$ac_objext` in
        !          9641:       *N32*)
        !          9642:        emul="${emul}n32"
        !          9643:        ;;
        !          9644:     esac
        !          9645:     LD="${LD-ld} -m $emul"
        !          9646:   fi
        !          9647:   rm -rf conftest*
        !          9648:   ;;
        !          9649: 
        !          9650: x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
        !          9651: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
        !          9652:   # Find out what ABI is being produced by ac_compile, and set linker
        !          9653:   # options accordingly.  Note that the listed cases only cover the
        !          9654:   # situations where additional linker options are needed (such as when
        !          9655:   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
        !          9656:   # vice versa); the common cases where no linker options are needed do
        !          9657:   # not appear in the list.
        !          9658:   echo 'int i;' > conftest.$ac_ext
        !          9659:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
        !          9660:   (eval $ac_compile) 2>&5
        !          9661:   ac_status=$?
        !          9662:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          9663:   test $ac_status = 0; }; then
        !          9664:     case `/usr/bin/file conftest.o` in
        !          9665:       *32-bit*)
        !          9666:        case $host in
        !          9667:          x86_64-*kfreebsd*-gnu)
        !          9668:            LD="${LD-ld} -m elf_i386_fbsd"
        !          9669:            ;;
        !          9670:          x86_64-*linux*)
        !          9671:            case `/usr/bin/file conftest.o` in
        !          9672:              *x86-64*)
        !          9673:                LD="${LD-ld} -m elf32_x86_64"
        !          9674:                ;;
        !          9675:              *)
        !          9676:                LD="${LD-ld} -m elf_i386"
        !          9677:                ;;
        !          9678:            esac
        !          9679:            ;;
        !          9680:          powerpc64le-*linux*)
        !          9681:            LD="${LD-ld} -m elf32lppclinux"
        !          9682:            ;;
        !          9683:          powerpc64-*linux*)
        !          9684:            LD="${LD-ld} -m elf32ppclinux"
        !          9685:            ;;
        !          9686:          s390x-*linux*)
        !          9687:            LD="${LD-ld} -m elf_s390"
        !          9688:            ;;
        !          9689:          sparc64-*linux*)
        !          9690:            LD="${LD-ld} -m elf32_sparc"
        !          9691:            ;;
        !          9692:        esac
        !          9693:        ;;
        !          9694:       *64-bit*)
        !          9695:        case $host in
        !          9696:          x86_64-*kfreebsd*-gnu)
        !          9697:            LD="${LD-ld} -m elf_x86_64_fbsd"
        !          9698:            ;;
        !          9699:          x86_64-*linux*)
        !          9700:            LD="${LD-ld} -m elf_x86_64"
        !          9701:            ;;
        !          9702:          powerpcle-*linux*)
        !          9703:            LD="${LD-ld} -m elf64lppc"
        !          9704:            ;;
        !          9705:          powerpc-*linux*)
        !          9706:            LD="${LD-ld} -m elf64ppc"
        !          9707:            ;;
        !          9708:          s390*-*linux*|s390*-*tpf*)
        !          9709:            LD="${LD-ld} -m elf64_s390"
        !          9710:            ;;
        !          9711:          sparc*-*linux*)
        !          9712:            LD="${LD-ld} -m elf64_sparc"
        !          9713:            ;;
        !          9714:        esac
        !          9715:        ;;
        !          9716:     esac
        !          9717:   fi
        !          9718:   rm -rf conftest*
        !          9719:   ;;
        !          9720: 
        !          9721: *-*-sco3.2v5*)
        !          9722:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
        !          9723:   SAVE_CFLAGS=$CFLAGS
        !          9724:   CFLAGS="$CFLAGS -belf"
        !          9725:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
        !          9726: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
        !          9727: if ${lt_cv_cc_needs_belf+:} false; then :
        !          9728:   $as_echo_n "(cached) " >&6
        !          9729: else
        !          9730:   ac_ext=c
        !          9731: ac_cpp='$CPP $CPPFLAGS'
        !          9732: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          9733: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          9734: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          9735: 
        !          9736:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          9737: /* end confdefs.h.  */
        !          9738: 
        !          9739: int main (void)
        !          9740: {
        !          9741: 
        !          9742:  ;
        !          9743:  return 0;
        !          9744: }
        !          9745: _ACEOF
        !          9746: if ac_fn_c_try_link "$LINENO"; then :
        !          9747:   lt_cv_cc_needs_belf=yes
        !          9748: else
        !          9749:   lt_cv_cc_needs_belf=no
        !          9750: fi
        !          9751: rm -f core conftest.err conftest.$ac_objext \
        !          9752:     conftest$ac_exeext conftest.$ac_ext
        !          9753:      ac_ext=c
        !          9754: ac_cpp='$CPP $CPPFLAGS'
        !          9755: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          9756: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          9757: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          9758: 
        !          9759: fi
        !          9760: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
        !          9761: $as_echo "$lt_cv_cc_needs_belf" >&6; }
        !          9762:   if test yes != "$lt_cv_cc_needs_belf"; then
        !          9763:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
        !          9764:     CFLAGS=$SAVE_CFLAGS
        !          9765:   fi
        !          9766:   ;;
        !          9767: *-*solaris*)
        !          9768:   # Find out what ABI is being produced by ac_compile, and set linker
        !          9769:   # options accordingly.
        !          9770:   echo 'int i;' > conftest.$ac_ext
        !          9771:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
        !          9772:   (eval $ac_compile) 2>&5
        !          9773:   ac_status=$?
        !          9774:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          9775:   test $ac_status = 0; }; then
        !          9776:     case `/usr/bin/file conftest.o` in
        !          9777:     *64-bit*)
        !          9778:       case $lt_cv_prog_gnu_ld in
        !          9779:       yes*)
        !          9780:         case $host in
        !          9781:         i?86-*-solaris*|x86_64-*-solaris*)
        !          9782:           LD="${LD-ld} -m elf_x86_64"
        !          9783:           ;;
        !          9784:         sparc*-*-solaris*)
        !          9785:           LD="${LD-ld} -m elf64_sparc"
        !          9786:           ;;
        !          9787:         esac
        !          9788:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
        !          9789:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
        !          9790:           LD=${LD-ld}_sol2
        !          9791:         fi
        !          9792:         ;;
        !          9793:       *)
        !          9794:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
        !          9795:          LD="${LD-ld} -64"
        !          9796:        fi
        !          9797:        ;;
        !          9798:       esac
        !          9799:       ;;
        !          9800:     esac
        !          9801:   fi
        !          9802:   rm -rf conftest*
        !          9803:   ;;
        !          9804: esac
        !          9805: 
        !          9806: need_locks=$enable_libtool_lock
        !          9807: 
        !          9808: if test -n "$ac_tool_prefix"; then
        !          9809:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
        !          9810: set dummy ${ac_tool_prefix}mt; ac_word=$2
        !          9811: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          9812: $as_echo_n "checking for $ac_word... " >&6; }
        !          9813: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
        !          9814:   $as_echo_n "(cached) " >&6
        !          9815: else
        !          9816:   if test -n "$MANIFEST_TOOL"; then
        !          9817:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
        !          9818: else
        !          9819: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          9820: for as_dir in $PATH
        !          9821: do
        !          9822:   IFS=$as_save_IFS
        !          9823:   test -z "$as_dir" && as_dir=.
        !          9824:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          9825:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          9826:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
        !          9827:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          9828:     break 2
        !          9829:   fi
        !          9830: done
        !          9831:   done
        !          9832: IFS=$as_save_IFS
        !          9833: 
        !          9834: fi
        !          9835: fi
        !          9836: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
        !          9837: if test -n "$MANIFEST_TOOL"; then
        !          9838:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
        !          9839: $as_echo "$MANIFEST_TOOL" >&6; }
        !          9840: else
        !          9841:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          9842: $as_echo "no" >&6; }
        !          9843: fi
        !          9844: 
        !          9845: 
        !          9846: fi
        !          9847: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
        !          9848:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
        !          9849:   # Extract the first word of "mt", so it can be a program name with args.
        !          9850: set dummy mt; ac_word=$2
        !          9851: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          9852: $as_echo_n "checking for $ac_word... " >&6; }
        !          9853: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
        !          9854:   $as_echo_n "(cached) " >&6
        !          9855: else
        !          9856:   if test -n "$ac_ct_MANIFEST_TOOL"; then
        !          9857:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
        !          9858: else
        !          9859: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          9860: for as_dir in $PATH
        !          9861: do
        !          9862:   IFS=$as_save_IFS
        !          9863:   test -z "$as_dir" && as_dir=.
        !          9864:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          9865:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          9866:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
        !          9867:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          9868:     break 2
        !          9869:   fi
        !          9870: done
        !          9871:   done
        !          9872: IFS=$as_save_IFS
        !          9873: 
        !          9874: fi
        !          9875: fi
        !          9876: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
        !          9877: if test -n "$ac_ct_MANIFEST_TOOL"; then
        !          9878:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
        !          9879: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
        !          9880: else
        !          9881:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          9882: $as_echo "no" >&6; }
        !          9883: fi
        !          9884: 
        !          9885:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
        !          9886:     MANIFEST_TOOL=":"
        !          9887:   else
        !          9888:     case $cross_compiling:$ac_tool_warned in
        !          9889: yes:)
        !          9890: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          9891: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          9892: ac_tool_warned=yes ;;
        !          9893: esac
        !          9894:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
        !          9895:   fi
        !          9896: else
        !          9897:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
        !          9898: fi
        !          9899: 
        !          9900: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
        !          9901: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
        !          9902: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
        !          9903: if ${lt_cv_path_mainfest_tool+:} false; then :
        !          9904:   $as_echo_n "(cached) " >&6
        !          9905: else
        !          9906:   lt_cv_path_mainfest_tool=no
        !          9907:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
        !          9908:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
        !          9909:   cat conftest.err >&5
        !          9910:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
        !          9911:     lt_cv_path_mainfest_tool=yes
        !          9912:   fi
        !          9913:   rm -f conftest*
        !          9914: fi
        !          9915: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
        !          9916: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
        !          9917: if test yes != "$lt_cv_path_mainfest_tool"; then
        !          9918:   MANIFEST_TOOL=:
        !          9919: fi
        !          9920: 
        !          9921: 
        !          9922: 
        !          9923: 
        !          9924: 
        !          9925: 
        !          9926:   case $host_os in
        !          9927:     rhapsody* | darwin*)
        !          9928:     if test -n "$ac_tool_prefix"; then
        !          9929:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
        !          9930: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
        !          9931: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          9932: $as_echo_n "checking for $ac_word... " >&6; }
        !          9933: if ${ac_cv_prog_DSYMUTIL+:} false; then :
        !          9934:   $as_echo_n "(cached) " >&6
        !          9935: else
        !          9936:   if test -n "$DSYMUTIL"; then
        !          9937:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
        !          9938: else
        !          9939: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          9940: for as_dir in $PATH
        !          9941: do
        !          9942:   IFS=$as_save_IFS
        !          9943:   test -z "$as_dir" && as_dir=.
        !          9944:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          9945:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          9946:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
        !          9947:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          9948:     break 2
        !          9949:   fi
        !          9950: done
        !          9951:   done
        !          9952: IFS=$as_save_IFS
        !          9953: 
        !          9954: fi
        !          9955: fi
        !          9956: DSYMUTIL=$ac_cv_prog_DSYMUTIL
        !          9957: if test -n "$DSYMUTIL"; then
        !          9958:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
        !          9959: $as_echo "$DSYMUTIL" >&6; }
        !          9960: else
        !          9961:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          9962: $as_echo "no" >&6; }
        !          9963: fi
        !          9964: 
        !          9965: 
        !          9966: fi
        !          9967: if test -z "$ac_cv_prog_DSYMUTIL"; then
        !          9968:   ac_ct_DSYMUTIL=$DSYMUTIL
        !          9969:   # Extract the first word of "dsymutil", so it can be a program name with args.
        !          9970: set dummy dsymutil; ac_word=$2
        !          9971: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          9972: $as_echo_n "checking for $ac_word... " >&6; }
        !          9973: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
        !          9974:   $as_echo_n "(cached) " >&6
        !          9975: else
        !          9976:   if test -n "$ac_ct_DSYMUTIL"; then
        !          9977:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
        !          9978: else
        !          9979: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          9980: for as_dir in $PATH
        !          9981: do
        !          9982:   IFS=$as_save_IFS
        !          9983:   test -z "$as_dir" && as_dir=.
        !          9984:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          9985:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          9986:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
        !          9987:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          9988:     break 2
        !          9989:   fi
        !          9990: done
        !          9991:   done
        !          9992: IFS=$as_save_IFS
        !          9993: 
        !          9994: fi
        !          9995: fi
        !          9996: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
        !          9997: if test -n "$ac_ct_DSYMUTIL"; then
        !          9998:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
        !          9999: $as_echo "$ac_ct_DSYMUTIL" >&6; }
        !          10000: else
        !          10001:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          10002: $as_echo "no" >&6; }
        !          10003: fi
        !          10004: 
        !          10005:   if test "x$ac_ct_DSYMUTIL" = x; then
        !          10006:     DSYMUTIL=":"
        !          10007:   else
        !          10008:     case $cross_compiling:$ac_tool_warned in
        !          10009: yes:)
        !          10010: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          10011: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          10012: ac_tool_warned=yes ;;
        !          10013: esac
        !          10014:     DSYMUTIL=$ac_ct_DSYMUTIL
        !          10015:   fi
        !          10016: else
        !          10017:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
        !          10018: fi
        !          10019: 
        !          10020:     if test -n "$ac_tool_prefix"; then
        !          10021:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
        !          10022: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
        !          10023: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          10024: $as_echo_n "checking for $ac_word... " >&6; }
        !          10025: if ${ac_cv_prog_NMEDIT+:} false; then :
        !          10026:   $as_echo_n "(cached) " >&6
        !          10027: else
        !          10028:   if test -n "$NMEDIT"; then
        !          10029:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
        !          10030: else
        !          10031: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          10032: for as_dir in $PATH
        !          10033: do
        !          10034:   IFS=$as_save_IFS
        !          10035:   test -z "$as_dir" && as_dir=.
        !          10036:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          10037:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          10038:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
        !          10039:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          10040:     break 2
        !          10041:   fi
        !          10042: done
        !          10043:   done
        !          10044: IFS=$as_save_IFS
        !          10045: 
        !          10046: fi
        !          10047: fi
        !          10048: NMEDIT=$ac_cv_prog_NMEDIT
        !          10049: if test -n "$NMEDIT"; then
        !          10050:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
        !          10051: $as_echo "$NMEDIT" >&6; }
        !          10052: else
        !          10053:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          10054: $as_echo "no" >&6; }
        !          10055: fi
        !          10056: 
        !          10057: 
        !          10058: fi
        !          10059: if test -z "$ac_cv_prog_NMEDIT"; then
        !          10060:   ac_ct_NMEDIT=$NMEDIT
        !          10061:   # Extract the first word of "nmedit", so it can be a program name with args.
        !          10062: set dummy nmedit; ac_word=$2
        !          10063: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          10064: $as_echo_n "checking for $ac_word... " >&6; }
        !          10065: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
        !          10066:   $as_echo_n "(cached) " >&6
        !          10067: else
        !          10068:   if test -n "$ac_ct_NMEDIT"; then
        !          10069:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
        !          10070: else
        !          10071: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          10072: for as_dir in $PATH
        !          10073: do
        !          10074:   IFS=$as_save_IFS
        !          10075:   test -z "$as_dir" && as_dir=.
        !          10076:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          10077:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          10078:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
        !          10079:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          10080:     break 2
        !          10081:   fi
        !          10082: done
        !          10083:   done
        !          10084: IFS=$as_save_IFS
        !          10085: 
        !          10086: fi
        !          10087: fi
        !          10088: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
        !          10089: if test -n "$ac_ct_NMEDIT"; then
        !          10090:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
        !          10091: $as_echo "$ac_ct_NMEDIT" >&6; }
        !          10092: else
        !          10093:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          10094: $as_echo "no" >&6; }
        !          10095: fi
        !          10096: 
        !          10097:   if test "x$ac_ct_NMEDIT" = x; then
        !          10098:     NMEDIT=":"
        !          10099:   else
        !          10100:     case $cross_compiling:$ac_tool_warned in
        !          10101: yes:)
        !          10102: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          10103: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          10104: ac_tool_warned=yes ;;
        !          10105: esac
        !          10106:     NMEDIT=$ac_ct_NMEDIT
        !          10107:   fi
        !          10108: else
        !          10109:   NMEDIT="$ac_cv_prog_NMEDIT"
        !          10110: fi
        !          10111: 
        !          10112:     if test -n "$ac_tool_prefix"; then
        !          10113:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
        !          10114: set dummy ${ac_tool_prefix}lipo; ac_word=$2
        !          10115: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          10116: $as_echo_n "checking for $ac_word... " >&6; }
        !          10117: if ${ac_cv_prog_LIPO+:} false; then :
        !          10118:   $as_echo_n "(cached) " >&6
        !          10119: else
        !          10120:   if test -n "$LIPO"; then
        !          10121:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
        !          10122: else
        !          10123: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          10124: for as_dir in $PATH
        !          10125: do
        !          10126:   IFS=$as_save_IFS
        !          10127:   test -z "$as_dir" && as_dir=.
        !          10128:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          10129:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          10130:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
        !          10131:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          10132:     break 2
        !          10133:   fi
        !          10134: done
        !          10135:   done
        !          10136: IFS=$as_save_IFS
        !          10137: 
        !          10138: fi
        !          10139: fi
        !          10140: LIPO=$ac_cv_prog_LIPO
        !          10141: if test -n "$LIPO"; then
        !          10142:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
        !          10143: $as_echo "$LIPO" >&6; }
        !          10144: else
        !          10145:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          10146: $as_echo "no" >&6; }
        !          10147: fi
        !          10148: 
        !          10149: 
        !          10150: fi
        !          10151: if test -z "$ac_cv_prog_LIPO"; then
        !          10152:   ac_ct_LIPO=$LIPO
        !          10153:   # Extract the first word of "lipo", so it can be a program name with args.
        !          10154: set dummy lipo; ac_word=$2
        !          10155: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          10156: $as_echo_n "checking for $ac_word... " >&6; }
        !          10157: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
        !          10158:   $as_echo_n "(cached) " >&6
        !          10159: else
        !          10160:   if test -n "$ac_ct_LIPO"; then
        !          10161:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
        !          10162: else
        !          10163: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          10164: for as_dir in $PATH
        !          10165: do
        !          10166:   IFS=$as_save_IFS
        !          10167:   test -z "$as_dir" && as_dir=.
        !          10168:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          10169:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          10170:     ac_cv_prog_ac_ct_LIPO="lipo"
        !          10171:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          10172:     break 2
        !          10173:   fi
        !          10174: done
        !          10175:   done
        !          10176: IFS=$as_save_IFS
        !          10177: 
        !          10178: fi
        !          10179: fi
        !          10180: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
        !          10181: if test -n "$ac_ct_LIPO"; then
        !          10182:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
        !          10183: $as_echo "$ac_ct_LIPO" >&6; }
        !          10184: else
        !          10185:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          10186: $as_echo "no" >&6; }
        !          10187: fi
        !          10188: 
        !          10189:   if test "x$ac_ct_LIPO" = x; then
        !          10190:     LIPO=":"
        !          10191:   else
        !          10192:     case $cross_compiling:$ac_tool_warned in
        !          10193: yes:)
        !          10194: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          10195: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          10196: ac_tool_warned=yes ;;
        !          10197: esac
        !          10198:     LIPO=$ac_ct_LIPO
        !          10199:   fi
        !          10200: else
        !          10201:   LIPO="$ac_cv_prog_LIPO"
        !          10202: fi
        !          10203: 
        !          10204:     if test -n "$ac_tool_prefix"; then
        !          10205:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
        !          10206: set dummy ${ac_tool_prefix}otool; ac_word=$2
        !          10207: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          10208: $as_echo_n "checking for $ac_word... " >&6; }
        !          10209: if ${ac_cv_prog_OTOOL+:} false; then :
        !          10210:   $as_echo_n "(cached) " >&6
        !          10211: else
        !          10212:   if test -n "$OTOOL"; then
        !          10213:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
        !          10214: else
        !          10215: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          10216: for as_dir in $PATH
        !          10217: do
        !          10218:   IFS=$as_save_IFS
        !          10219:   test -z "$as_dir" && as_dir=.
        !          10220:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          10221:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          10222:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
        !          10223:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          10224:     break 2
        !          10225:   fi
        !          10226: done
        !          10227:   done
        !          10228: IFS=$as_save_IFS
        !          10229: 
        !          10230: fi
        !          10231: fi
        !          10232: OTOOL=$ac_cv_prog_OTOOL
        !          10233: if test -n "$OTOOL"; then
        !          10234:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
        !          10235: $as_echo "$OTOOL" >&6; }
        !          10236: else
        !          10237:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          10238: $as_echo "no" >&6; }
        !          10239: fi
        !          10240: 
        !          10241: 
        !          10242: fi
        !          10243: if test -z "$ac_cv_prog_OTOOL"; then
        !          10244:   ac_ct_OTOOL=$OTOOL
        !          10245:   # Extract the first word of "otool", so it can be a program name with args.
        !          10246: set dummy otool; ac_word=$2
        !          10247: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          10248: $as_echo_n "checking for $ac_word... " >&6; }
        !          10249: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
        !          10250:   $as_echo_n "(cached) " >&6
        !          10251: else
        !          10252:   if test -n "$ac_ct_OTOOL"; then
        !          10253:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
        !          10254: else
        !          10255: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          10256: for as_dir in $PATH
        !          10257: do
        !          10258:   IFS=$as_save_IFS
        !          10259:   test -z "$as_dir" && as_dir=.
        !          10260:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          10261:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          10262:     ac_cv_prog_ac_ct_OTOOL="otool"
        !          10263:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          10264:     break 2
        !          10265:   fi
        !          10266: done
        !          10267:   done
        !          10268: IFS=$as_save_IFS
        !          10269: 
        !          10270: fi
        !          10271: fi
        !          10272: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
        !          10273: if test -n "$ac_ct_OTOOL"; then
        !          10274:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
        !          10275: $as_echo "$ac_ct_OTOOL" >&6; }
        !          10276: else
        !          10277:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          10278: $as_echo "no" >&6; }
        !          10279: fi
        !          10280: 
        !          10281:   if test "x$ac_ct_OTOOL" = x; then
        !          10282:     OTOOL=":"
        !          10283:   else
        !          10284:     case $cross_compiling:$ac_tool_warned in
        !          10285: yes:)
        !          10286: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          10287: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          10288: ac_tool_warned=yes ;;
        !          10289: esac
        !          10290:     OTOOL=$ac_ct_OTOOL
        !          10291:   fi
        !          10292: else
        !          10293:   OTOOL="$ac_cv_prog_OTOOL"
        !          10294: fi
        !          10295: 
        !          10296:     if test -n "$ac_tool_prefix"; then
        !          10297:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
        !          10298: set dummy ${ac_tool_prefix}otool64; ac_word=$2
        !          10299: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          10300: $as_echo_n "checking for $ac_word... " >&6; }
        !          10301: if ${ac_cv_prog_OTOOL64+:} false; then :
        !          10302:   $as_echo_n "(cached) " >&6
        !          10303: else
        !          10304:   if test -n "$OTOOL64"; then
        !          10305:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
        !          10306: else
        !          10307: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          10308: for as_dir in $PATH
        !          10309: do
        !          10310:   IFS=$as_save_IFS
        !          10311:   test -z "$as_dir" && as_dir=.
        !          10312:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          10313:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          10314:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
        !          10315:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          10316:     break 2
        !          10317:   fi
        !          10318: done
        !          10319:   done
        !          10320: IFS=$as_save_IFS
        !          10321: 
        !          10322: fi
        !          10323: fi
        !          10324: OTOOL64=$ac_cv_prog_OTOOL64
        !          10325: if test -n "$OTOOL64"; then
        !          10326:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
        !          10327: $as_echo "$OTOOL64" >&6; }
        !          10328: else
        !          10329:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          10330: $as_echo "no" >&6; }
        !          10331: fi
        !          10332: 
        !          10333: 
        !          10334: fi
        !          10335: if test -z "$ac_cv_prog_OTOOL64"; then
        !          10336:   ac_ct_OTOOL64=$OTOOL64
        !          10337:   # Extract the first word of "otool64", so it can be a program name with args.
        !          10338: set dummy otool64; ac_word=$2
        !          10339: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          10340: $as_echo_n "checking for $ac_word... " >&6; }
        !          10341: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
        !          10342:   $as_echo_n "(cached) " >&6
        !          10343: else
        !          10344:   if test -n "$ac_ct_OTOOL64"; then
        !          10345:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
        !          10346: else
        !          10347: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          10348: for as_dir in $PATH
        !          10349: do
        !          10350:   IFS=$as_save_IFS
        !          10351:   test -z "$as_dir" && as_dir=.
        !          10352:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          10353:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          10354:     ac_cv_prog_ac_ct_OTOOL64="otool64"
        !          10355:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          10356:     break 2
        !          10357:   fi
        !          10358: done
        !          10359:   done
        !          10360: IFS=$as_save_IFS
        !          10361: 
        !          10362: fi
        !          10363: fi
        !          10364: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
        !          10365: if test -n "$ac_ct_OTOOL64"; then
        !          10366:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
        !          10367: $as_echo "$ac_ct_OTOOL64" >&6; }
        !          10368: else
        !          10369:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          10370: $as_echo "no" >&6; }
        !          10371: fi
        !          10372: 
        !          10373:   if test "x$ac_ct_OTOOL64" = x; then
        !          10374:     OTOOL64=":"
        !          10375:   else
        !          10376:     case $cross_compiling:$ac_tool_warned in
        !          10377: yes:)
        !          10378: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          10379: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          10380: ac_tool_warned=yes ;;
        !          10381: esac
        !          10382:     OTOOL64=$ac_ct_OTOOL64
        !          10383:   fi
        !          10384: else
        !          10385:   OTOOL64="$ac_cv_prog_OTOOL64"
        !          10386: fi
        !          10387: 
        !          10388: 
        !          10389: 
        !          10390: 
        !          10391: 
        !          10392: 
        !          10393: 
        !          10394: 
        !          10395: 
        !          10396: 
        !          10397: 
        !          10398: 
        !          10399: 
        !          10400: 
        !          10401: 
        !          10402: 
        !          10403: 
        !          10404: 
        !          10405: 
        !          10406: 
        !          10407: 
        !          10408: 
        !          10409: 
        !          10410: 
        !          10411: 
        !          10412: 
        !          10413: 
        !          10414:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
        !          10415: $as_echo_n "checking for -single_module linker flag... " >&6; }
        !          10416: if ${lt_cv_apple_cc_single_mod+:} false; then :
        !          10417:   $as_echo_n "(cached) " >&6
        !          10418: else
        !          10419:   lt_cv_apple_cc_single_mod=no
        !          10420:       if test -z "$LT_MULTI_MODULE"; then
        !          10421:        # By default we will add the -single_module flag. You can override
        !          10422:        # by either setting the environment variable LT_MULTI_MODULE
        !          10423:        # non-empty at configure time, or by adding -multi_module to the
        !          10424:        # link flags.
        !          10425:        rm -rf libconftest.dylib*
        !          10426:        echo "int foo(void){return 1;}" > conftest.c
        !          10427:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
        !          10428: -dynamiclib -Wl,-single_module conftest.c" >&5
        !          10429:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
        !          10430:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
        !          10431:         _lt_result=$?
        !          10432:        # If there is a non-empty error log, and "single_module"
        !          10433:        # appears in it, assume the flag caused a linker warning
        !          10434:         if test -s conftest.err && $GREP single_module conftest.err; then
        !          10435:          cat conftest.err >&5
        !          10436:        # Otherwise, if the output was created with a 0 exit code from
        !          10437:        # the compiler, it worked.
        !          10438:        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
        !          10439:          lt_cv_apple_cc_single_mod=yes
        !          10440:        else
        !          10441:          cat conftest.err >&5
        !          10442:        fi
        !          10443:        rm -rf libconftest.dylib*
        !          10444:        rm -f conftest.*
        !          10445:       fi
        !          10446: fi
        !          10447: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
        !          10448: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
        !          10449: 
        !          10450:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
        !          10451: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
        !          10452: if ${lt_cv_ld_exported_symbols_list+:} false; then :
        !          10453:   $as_echo_n "(cached) " >&6
        !          10454: else
        !          10455:   lt_cv_ld_exported_symbols_list=no
        !          10456:       save_LDFLAGS=$LDFLAGS
        !          10457:       echo "_main" > conftest.sym
        !          10458:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
        !          10459:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          10460: /* end confdefs.h.  */
        !          10461: 
        !          10462: int main (void)
        !          10463: {
        !          10464: 
        !          10465:  ;
        !          10466:  return 0;
        !          10467: }
        !          10468: _ACEOF
        !          10469: if ac_fn_c_try_link "$LINENO"; then :
        !          10470:   lt_cv_ld_exported_symbols_list=yes
        !          10471: else
        !          10472:   lt_cv_ld_exported_symbols_list=no
        !          10473: fi
        !          10474: rm -f core conftest.err conftest.$ac_objext \
        !          10475:     conftest$ac_exeext conftest.$ac_ext
        !          10476:        LDFLAGS=$save_LDFLAGS
        !          10477: 
        !          10478: fi
        !          10479: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
        !          10480: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
        !          10481: 
        !          10482:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
        !          10483: $as_echo_n "checking for -force_load linker flag... " >&6; }
        !          10484: if ${lt_cv_ld_force_load+:} false; then :
        !          10485:   $as_echo_n "(cached) " >&6
        !          10486: else
        !          10487:   lt_cv_ld_force_load=no
        !          10488:       cat > conftest.c << _LT_EOF
        !          10489: int forced_loaded() { return 2;}
        !          10490: _LT_EOF
        !          10491:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
        !          10492:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
        !          10493:       echo "$AR cr libconftest.a conftest.o" >&5
        !          10494:       $AR cr libconftest.a conftest.o 2>&5
        !          10495:       echo "$RANLIB libconftest.a" >&5
        !          10496:       $RANLIB libconftest.a 2>&5
        !          10497:       cat > conftest.c << _LT_EOF
        !          10498: int main() { return 0;}
        !          10499: _LT_EOF
        !          10500:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
        !          10501:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
        !          10502:       _lt_result=$?
        !          10503:       if test -s conftest.err && $GREP force_load conftest.err; then
        !          10504:        cat conftest.err >&5
        !          10505:       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
        !          10506:        lt_cv_ld_force_load=yes
        !          10507:       else
        !          10508:        cat conftest.err >&5
        !          10509:       fi
        !          10510:         rm -f conftest.err libconftest.a conftest conftest.c
        !          10511:         rm -rf conftest.dSYM
        !          10512: 
        !          10513: fi
        !          10514: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
        !          10515: $as_echo "$lt_cv_ld_force_load" >&6; }
        !          10516:     case $host_os in
        !          10517:     rhapsody* | darwin1.[012])
        !          10518:       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
        !          10519:     darwin1.*)
        !          10520:       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
        !          10521:     darwin*) # darwin 5.x on
        !          10522:       # if running on 10.5 or later, the deployment target defaults
        !          10523:       # to the OS version, if on x86, and 10.4, the deployment
        !          10524:       # target defaults to 10.4. Don't you love it?
        !          10525:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
        !          10526:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
        !          10527:          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
        !          10528:        10.[012][,.]*)
        !          10529:          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
        !          10530:        10.*)
        !          10531:          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
        !          10532:       esac
        !          10533:     ;;
        !          10534:   esac
        !          10535:     if test yes = "$lt_cv_apple_cc_single_mod"; then
        !          10536:       _lt_dar_single_mod='$single_module'
        !          10537:     fi
        !          10538:     if test yes = "$lt_cv_ld_exported_symbols_list"; then
        !          10539:       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
        !          10540:     else
        !          10541:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
        !          10542:     fi
        !          10543:     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
        !          10544:       _lt_dsymutil='~$DSYMUTIL $lib || :'
        !          10545:     else
        !          10546:       _lt_dsymutil=
        !          10547:     fi
        !          10548:     ;;
        !          10549:   esac
        !          10550: 
        !          10551: # func_munge_path_list VARIABLE PATH
        !          10552: # -----------------------------------
        !          10553: # VARIABLE is name of variable containing _space_ separated list of
        !          10554: # directories to be munged by the contents of PATH, which is string
        !          10555: # having a format:
        !          10556: # "DIR[:DIR]:"
        !          10557: #       string "DIR[ DIR]" will be prepended to VARIABLE
        !          10558: # ":DIR[:DIR]"
        !          10559: #       string "DIR[ DIR]" will be appended to VARIABLE
        !          10560: # "DIRP[:DIRP]::[DIRA:]DIRA"
        !          10561: #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
        !          10562: #       "DIRA[ DIRA]" will be appended to VARIABLE
        !          10563: # "DIR[:DIR]"
        !          10564: #       VARIABLE will be replaced by "DIR[ DIR]"
        !          10565: func_munge_path_list ()
        !          10566: {
        !          10567:     case x$2 in
        !          10568:     x)
        !          10569:         ;;
        !          10570:     *:)
        !          10571:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
        !          10572:         ;;
        !          10573:     x:*)
        !          10574:         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
        !          10575:         ;;
        !          10576:     *::*)
        !          10577:         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
        !          10578:         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
        !          10579:         ;;
        !          10580:     *)
        !          10581:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
        !          10582:         ;;
        !          10583:     esac
        !          10584: }
        !          10585: 
        !          10586: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
        !          10587: $as_echo_n "checking for ANSI C header files... " >&6; }
        !          10588: if ${ac_cv_header_stdc+:} false; then :
        !          10589:   $as_echo_n "(cached) " >&6
        !          10590: else
        !          10591:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          10592: /* end confdefs.h.  */
        !          10593: #include <stdlib.h>
        !          10594: #include <stdarg.h>
        !          10595: #include <string.h>
        !          10596: #include <float.h>
        !          10597: 
        !          10598: int main (void)
        !          10599: {
        !          10600: 
        !          10601:  ;
        !          10602:  return 0;
        !          10603: }
        !          10604: _ACEOF
        !          10605: if ac_fn_c_try_compile "$LINENO"; then :
        !          10606:   ac_cv_header_stdc=yes
        !          10607: else
        !          10608:   ac_cv_header_stdc=no
        !          10609: fi
        !          10610: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          10611: 
        !          10612: if test $ac_cv_header_stdc = yes; then
        !          10613:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
        !          10614:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          10615: /* end confdefs.h.  */
        !          10616: #include <string.h>
        !          10617: 
        !          10618: _ACEOF
        !          10619: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          10620:   $EGREP "memchr" >/dev/null 2>&1; then :
        !          10621: 
        !          10622: else
        !          10623:   ac_cv_header_stdc=no
        !          10624: fi
        !          10625: rm -f conftest*
        !          10626: 
        !          10627: fi
        !          10628: 
        !          10629: if test $ac_cv_header_stdc = yes; then
        !          10630:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
        !          10631:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          10632: /* end confdefs.h.  */
        !          10633: #include <stdlib.h>
        !          10634: 
        !          10635: _ACEOF
        !          10636: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          10637:   $EGREP "free" >/dev/null 2>&1; then :
        !          10638: 
        !          10639: else
        !          10640:   ac_cv_header_stdc=no
        !          10641: fi
        !          10642: rm -f conftest*
        !          10643: 
        !          10644: fi
        !          10645: 
        !          10646: if test $ac_cv_header_stdc = yes; then
        !          10647:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
        !          10648:   if test "$cross_compiling" = yes; then :
        !          10649:   :
        !          10650: else
        !          10651:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          10652: /* end confdefs.h.  */
        !          10653: #include <ctype.h>
        !          10654: #include <stdlib.h>
        !          10655: #if ((' ' & 0x0FF) == 0x020)
        !          10656: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
        !          10657: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
        !          10658: #else
        !          10659: # define ISLOWER(c) \
        !          10660:                   (('a' <= (c) && (c) <= 'i') \
        !          10661:                     || ('j' <= (c) && (c) <= 'r') \
        !          10662:                     || ('s' <= (c) && (c) <= 'z'))
        !          10663: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
        !          10664: #endif
        !          10665: 
        !          10666: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
        !          10667: int
        !          10668: main ()
        !          10669: {
        !          10670:   int i;
        !          10671:   for (i = 0; i < 256; i++)
        !          10672:     if (XOR (islower (i), ISLOWER (i))
        !          10673:        || toupper (i) != TOUPPER (i))
        !          10674:       return 2;
        !          10675:   return 0;
        !          10676: }
        !          10677: _ACEOF
        !          10678: if ac_fn_c_try_run "$LINENO"; then :
        !          10679: 
        !          10680: else
        !          10681:   ac_cv_header_stdc=no
        !          10682: fi
        !          10683: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          10684:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          10685: fi
        !          10686: 
        !          10687: fi
        !          10688: fi
        !          10689: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
        !          10690: $as_echo "$ac_cv_header_stdc" >&6; }
        !          10691: if test $ac_cv_header_stdc = yes; then
        !          10692: 
        !          10693: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
        !          10694: 
        !          10695: fi
        !          10696: 
        !          10697: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
        !          10698: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
        !          10699:                  inttypes.h stdint.h unistd.h
        !          10700: do :
        !          10701:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          10702: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
        !          10703: "
        !          10704: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          10705:   cat >>confdefs.h <<_ACEOF
        !          10706: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          10707: _ACEOF
        !          10708: 
        !          10709: fi
        !          10710: 
        !          10711: done
        !          10712: 
        !          10713: 
        !          10714: for ac_header in dlfcn.h
        !          10715: do :
        !          10716:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
        !          10717: "
        !          10718: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
        !          10719:   cat >>confdefs.h <<_ACEOF
        !          10720: #define HAVE_DLFCN_H 1
        !          10721: _ACEOF
        !          10722: 
        !          10723: fi
        !          10724: 
        !          10725: done
        !          10726: 
        !          10727: # ------------------------------------ #
        !          10728: #  Determine libtool default behavior  #
        !          10729: # ------------------------------------ #
        !          10730: 
        !          10731: #
        !          10732: # Default behavior is to enable shared and static libraries on systems
        !          10733: # where libtool knows how to build both library versions, and does not
        !          10734: # require separate configuration and build runs for each flavor.
        !          10735: #
        !          10736: 
        !          10737: xc_lt_want_enable_shared='yes'
        !          10738: xc_lt_want_enable_static='yes'
        !          10739: 
        !          10740: #
        !          10741: # User may have disabled shared or static libraries.
        !          10742: #
        !          10743: case "x$enable_shared" in # (
        !          10744:   xno)
        !          10745:     xc_lt_want_enable_shared='no'
        !          10746:     ;;
        !          10747: esac
        !          10748: case "x$enable_static" in # (
        !          10749:   xno)
        !          10750:     xc_lt_want_enable_static='no'
        !          10751:     ;;
        !          10752: esac
        !          10753: if test "x$xc_lt_want_enable_shared" = 'xno' &&
        !          10754:   test "x$xc_lt_want_enable_static" = 'xno'; then
        !          10755:   as_fn_error $? "can not disable shared and static libraries simultaneously" "$LINENO" 5
        !          10756: fi
        !          10757: 
        !          10758: #
        !          10759: # Default behavior on systems that require independent configuration
        !          10760: # and build runs for shared and static is to enable shared libraries
        !          10761: # and disable static ones. On these systems option '--disable-shared'
        !          10762: # must be used in order to build a proper static library.
        !          10763: #
        !          10764: 
        !          10765: if test "x$xc_lt_want_enable_shared" = 'xyes' &&
        !          10766:   test "x$xc_lt_want_enable_static" = 'xyes'; then
        !          10767:   case $host_os in # (
        !          10768:     pw32* | cegcc* | os2* | aix*)
        !          10769:       xc_lt_want_enable_static='no'
        !          10770:       ;;
        !          10771:   esac
        !          10772: fi
        !          10773: 
        !          10774: #
        !          10775: # Make libtool aware of current shared and static library preferences
        !          10776: # taking in account that, depending on host characteristics, libtool
        !          10777: # may modify these option preferences later in this configure script.
        !          10778: #
        !          10779: 
        !          10780: enable_shared=$xc_lt_want_enable_shared
        !          10781: enable_static=$xc_lt_want_enable_static
        !          10782: 
        !          10783: #
        !          10784: # Default behavior is to build PIC objects for shared libraries and
        !          10785: # non-PIC objects for static libraries.
        !          10786: #
        !          10787: 
        !          10788: xc_lt_want_with_pic='default'
        !          10789: 
        !          10790: #
        !          10791: # User may have specified PIC preference.
        !          10792: #
        !          10793: 
        !          10794: case "x$with_pic" in # ((
        !          10795:   xno)
        !          10796:     xc_lt_want_with_pic='no'
        !          10797:     ;;
        !          10798:   xyes)
        !          10799:     xc_lt_want_with_pic='yes'
        !          10800:     ;;
        !          10801: esac
        !          10802: 
        !          10803: #
        !          10804: # Default behavior on some systems where building a shared library out
        !          10805: # of non-PIC compiled objects will fail with following linker error
        !          10806: # "relocation R_X86_64_32 can not be used when making a shared object"
        !          10807: # is to build PIC objects even for static libraries. This behavior may
        !          10808: # be overridden using 'configure --disable-shared --without-pic'.
        !          10809: #
        !          10810: 
        !          10811: if test "x$xc_lt_want_with_pic" = 'xdefault'; then
        !          10812:   case $host_cpu in # (
        !          10813:     x86_64 | amd64 | ia64)
        !          10814:       case $host_os in # (
        !          10815:         linux* | freebsd*)
        !          10816:           xc_lt_want_with_pic='yes'
        !          10817:           ;;
        !          10818:       esac
        !          10819:       ;;
        !          10820:   esac
        !          10821: fi
        !          10822: 
        !          10823: #
        !          10824: # Make libtool aware of current PIC preference taking in account that,
        !          10825: # depending on host characteristics, libtool may modify PIC default
        !          10826: # behavior to fit host system idiosyncrasies later in this script.
        !          10827: #
        !          10828: 
        !          10829: with_pic=$xc_lt_want_with_pic
        !          10830: 
        !          10831: ## ----------------------- ##
        !          10832: ##  Start of libtool code  ##
        !          10833: ## ----------------------- ##
        !          10834: 
        !          10835: 
        !          10836: 
        !          10837: 
        !          10838: # Set options
        !          10839: enable_win32_dll=yes
        !          10840: 
        !          10841: case $host in
        !          10842: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
        !          10843:   if test -n "$ac_tool_prefix"; then
        !          10844:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
        !          10845: set dummy ${ac_tool_prefix}as; ac_word=$2
        !          10846: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          10847: $as_echo_n "checking for $ac_word... " >&6; }
        !          10848: if ${ac_cv_prog_AS+:} false; then :
        !          10849:   $as_echo_n "(cached) " >&6
        !          10850: else
        !          10851:   if test -n "$AS"; then
        !          10852:   ac_cv_prog_AS="$AS" # Let the user override the test.
        !          10853: else
        !          10854: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          10855: for as_dir in $PATH
        !          10856: do
        !          10857:   IFS=$as_save_IFS
        !          10858:   test -z "$as_dir" && as_dir=.
        !          10859:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          10860:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          10861:     ac_cv_prog_AS="${ac_tool_prefix}as"
        !          10862:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          10863:     break 2
        !          10864:   fi
        !          10865: done
        !          10866:   done
        !          10867: IFS=$as_save_IFS
        !          10868: 
        !          10869: fi
        !          10870: fi
        !          10871: AS=$ac_cv_prog_AS
        !          10872: if test -n "$AS"; then
        !          10873:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
        !          10874: $as_echo "$AS" >&6; }
        !          10875: else
        !          10876:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          10877: $as_echo "no" >&6; }
        !          10878: fi
        !          10879: 
        !          10880: 
        !          10881: fi
        !          10882: if test -z "$ac_cv_prog_AS"; then
        !          10883:   ac_ct_AS=$AS
        !          10884:   # Extract the first word of "as", so it can be a program name with args.
        !          10885: set dummy as; ac_word=$2
        !          10886: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          10887: $as_echo_n "checking for $ac_word... " >&6; }
        !          10888: if ${ac_cv_prog_ac_ct_AS+:} false; then :
        !          10889:   $as_echo_n "(cached) " >&6
        !          10890: else
        !          10891:   if test -n "$ac_ct_AS"; then
        !          10892:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
        !          10893: else
        !          10894: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          10895: for as_dir in $PATH
        !          10896: do
        !          10897:   IFS=$as_save_IFS
        !          10898:   test -z "$as_dir" && as_dir=.
        !          10899:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          10900:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          10901:     ac_cv_prog_ac_ct_AS="as"
        !          10902:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          10903:     break 2
        !          10904:   fi
        !          10905: done
        !          10906:   done
        !          10907: IFS=$as_save_IFS
        !          10908: 
        !          10909: fi
        !          10910: fi
        !          10911: ac_ct_AS=$ac_cv_prog_ac_ct_AS
        !          10912: if test -n "$ac_ct_AS"; then
        !          10913:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
        !          10914: $as_echo "$ac_ct_AS" >&6; }
        !          10915: else
        !          10916:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          10917: $as_echo "no" >&6; }
        !          10918: fi
        !          10919: 
        !          10920:   if test "x$ac_ct_AS" = x; then
        !          10921:     AS="false"
        !          10922:   else
        !          10923:     case $cross_compiling:$ac_tool_warned in
        !          10924: yes:)
        !          10925: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          10926: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          10927: ac_tool_warned=yes ;;
        !          10928: esac
        !          10929:     AS=$ac_ct_AS
        !          10930:   fi
        !          10931: else
        !          10932:   AS="$ac_cv_prog_AS"
        !          10933: fi
        !          10934: 
        !          10935:   if test -n "$ac_tool_prefix"; then
        !          10936:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
        !          10937: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
        !          10938: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          10939: $as_echo_n "checking for $ac_word... " >&6; }
        !          10940: if ${ac_cv_prog_DLLTOOL+:} false; then :
        !          10941:   $as_echo_n "(cached) " >&6
        !          10942: else
        !          10943:   if test -n "$DLLTOOL"; then
        !          10944:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
        !          10945: else
        !          10946: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          10947: for as_dir in $PATH
        !          10948: do
        !          10949:   IFS=$as_save_IFS
        !          10950:   test -z "$as_dir" && as_dir=.
        !          10951:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          10952:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          10953:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
        !          10954:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          10955:     break 2
        !          10956:   fi
        !          10957: done
        !          10958:   done
        !          10959: IFS=$as_save_IFS
        !          10960: 
        !          10961: fi
        !          10962: fi
        !          10963: DLLTOOL=$ac_cv_prog_DLLTOOL
        !          10964: if test -n "$DLLTOOL"; then
        !          10965:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
        !          10966: $as_echo "$DLLTOOL" >&6; }
        !          10967: else
        !          10968:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          10969: $as_echo "no" >&6; }
        !          10970: fi
        !          10971: 
        !          10972: 
        !          10973: fi
        !          10974: if test -z "$ac_cv_prog_DLLTOOL"; then
        !          10975:   ac_ct_DLLTOOL=$DLLTOOL
        !          10976:   # Extract the first word of "dlltool", so it can be a program name with args.
        !          10977: set dummy dlltool; ac_word=$2
        !          10978: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          10979: $as_echo_n "checking for $ac_word... " >&6; }
        !          10980: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
        !          10981:   $as_echo_n "(cached) " >&6
        !          10982: else
        !          10983:   if test -n "$ac_ct_DLLTOOL"; then
        !          10984:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
        !          10985: else
        !          10986: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          10987: for as_dir in $PATH
        !          10988: do
        !          10989:   IFS=$as_save_IFS
        !          10990:   test -z "$as_dir" && as_dir=.
        !          10991:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          10992:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          10993:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
        !          10994:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          10995:     break 2
        !          10996:   fi
        !          10997: done
        !          10998:   done
        !          10999: IFS=$as_save_IFS
        !          11000: 
        !          11001: fi
        !          11002: fi
        !          11003: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
        !          11004: if test -n "$ac_ct_DLLTOOL"; then
        !          11005:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
        !          11006: $as_echo "$ac_ct_DLLTOOL" >&6; }
        !          11007: else
        !          11008:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          11009: $as_echo "no" >&6; }
        !          11010: fi
        !          11011: 
        !          11012:   if test "x$ac_ct_DLLTOOL" = x; then
        !          11013:     DLLTOOL="false"
        !          11014:   else
        !          11015:     case $cross_compiling:$ac_tool_warned in
        !          11016: yes:)
        !          11017: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          11018: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          11019: ac_tool_warned=yes ;;
        !          11020: esac
        !          11021:     DLLTOOL=$ac_ct_DLLTOOL
        !          11022:   fi
        !          11023: else
        !          11024:   DLLTOOL="$ac_cv_prog_DLLTOOL"
        !          11025: fi
        !          11026: 
        !          11027:   if test -n "$ac_tool_prefix"; then
        !          11028:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
        !          11029: set dummy ${ac_tool_prefix}objdump; ac_word=$2
        !          11030: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          11031: $as_echo_n "checking for $ac_word... " >&6; }
        !          11032: if ${ac_cv_prog_OBJDUMP+:} false; then :
        !          11033:   $as_echo_n "(cached) " >&6
        !          11034: else
        !          11035:   if test -n "$OBJDUMP"; then
        !          11036:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
        !          11037: else
        !          11038: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          11039: for as_dir in $PATH
        !          11040: do
        !          11041:   IFS=$as_save_IFS
        !          11042:   test -z "$as_dir" && as_dir=.
        !          11043:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          11044:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          11045:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
        !          11046:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          11047:     break 2
        !          11048:   fi
        !          11049: done
        !          11050:   done
        !          11051: IFS=$as_save_IFS
        !          11052: 
        !          11053: fi
        !          11054: fi
        !          11055: OBJDUMP=$ac_cv_prog_OBJDUMP
        !          11056: if test -n "$OBJDUMP"; then
        !          11057:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
        !          11058: $as_echo "$OBJDUMP" >&6; }
        !          11059: else
        !          11060:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          11061: $as_echo "no" >&6; }
        !          11062: fi
        !          11063: 
        !          11064: 
        !          11065: fi
        !          11066: if test -z "$ac_cv_prog_OBJDUMP"; then
        !          11067:   ac_ct_OBJDUMP=$OBJDUMP
        !          11068:   # Extract the first word of "objdump", so it can be a program name with args.
        !          11069: set dummy objdump; ac_word=$2
        !          11070: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          11071: $as_echo_n "checking for $ac_word... " >&6; }
        !          11072: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
        !          11073:   $as_echo_n "(cached) " >&6
        !          11074: else
        !          11075:   if test -n "$ac_ct_OBJDUMP"; then
        !          11076:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
        !          11077: else
        !          11078: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          11079: for as_dir in $PATH
        !          11080: do
        !          11081:   IFS=$as_save_IFS
        !          11082:   test -z "$as_dir" && as_dir=.
        !          11083:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          11084:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          11085:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
        !          11086:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          11087:     break 2
        !          11088:   fi
        !          11089: done
        !          11090:   done
        !          11091: IFS=$as_save_IFS
        !          11092: 
        !          11093: fi
        !          11094: fi
        !          11095: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
        !          11096: if test -n "$ac_ct_OBJDUMP"; then
        !          11097:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
        !          11098: $as_echo "$ac_ct_OBJDUMP" >&6; }
        !          11099: else
        !          11100:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          11101: $as_echo "no" >&6; }
        !          11102: fi
        !          11103: 
        !          11104:   if test "x$ac_ct_OBJDUMP" = x; then
        !          11105:     OBJDUMP="false"
        !          11106:   else
        !          11107:     case $cross_compiling:$ac_tool_warned in
        !          11108: yes:)
        !          11109: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          11110: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          11111: ac_tool_warned=yes ;;
        !          11112: esac
        !          11113:     OBJDUMP=$ac_ct_OBJDUMP
        !          11114:   fi
        !          11115: else
        !          11116:   OBJDUMP="$ac_cv_prog_OBJDUMP"
        !          11117: fi
        !          11118: 
        !          11119:   ;;
        !          11120: esac
        !          11121: 
        !          11122: test -z "$AS" && AS=as
        !          11123: 
        !          11124: 
        !          11125: 
        !          11126: 
        !          11127: 
        !          11128: test -z "$DLLTOOL" && DLLTOOL=dlltool
        !          11129: 
        !          11130: 
        !          11131: 
        !          11132: 
        !          11133: 
        !          11134: test -z "$OBJDUMP" && OBJDUMP=objdump
        !          11135: 
        !          11136: 
        !          11137: 
        !          11138: 
        !          11139: 
        !          11140: 
        !          11141: 
        !          11142:         enable_dlopen=no
        !          11143: 
        !          11144: 
        !          11145: 
        !          11146:             # Check whether --enable-shared was given.
        !          11147: if test "${enable_shared+set}" = set; then :
        !          11148:   enableval=$enable_shared; p=${PACKAGE-default}
        !          11149:     case $enableval in
        !          11150:     yes) enable_shared=yes ;;
        !          11151:     no) enable_shared=no ;;
        !          11152:     *)
        !          11153:       enable_shared=no
        !          11154:       # Look at the argument we got.  We use all the common list separators.
        !          11155:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
        !          11156:       for pkg in $enableval; do
        !          11157:        IFS=$lt_save_ifs
        !          11158:        if test "X$pkg" = "X$p"; then
        !          11159:          enable_shared=yes
        !          11160:        fi
        !          11161:       done
        !          11162:       IFS=$lt_save_ifs
        !          11163:       ;;
        !          11164:     esac
        !          11165: else
        !          11166:   enable_shared=yes
        !          11167: fi
        !          11168: 
        !          11169: 
        !          11170: 
        !          11171: 
        !          11172: 
        !          11173: 
        !          11174: 
        !          11175: 
        !          11176: 
        !          11177:   # Check whether --enable-static was given.
        !          11178: if test "${enable_static+set}" = set; then :
        !          11179:   enableval=$enable_static; p=${PACKAGE-default}
        !          11180:     case $enableval in
        !          11181:     yes) enable_static=yes ;;
        !          11182:     no) enable_static=no ;;
        !          11183:     *)
        !          11184:      enable_static=no
        !          11185:       # Look at the argument we got.  We use all the common list separators.
        !          11186:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
        !          11187:       for pkg in $enableval; do
        !          11188:        IFS=$lt_save_ifs
        !          11189:        if test "X$pkg" = "X$p"; then
        !          11190:          enable_static=yes
        !          11191:        fi
        !          11192:       done
        !          11193:       IFS=$lt_save_ifs
        !          11194:       ;;
        !          11195:     esac
        !          11196: else
        !          11197:   enable_static=yes
        !          11198: fi
        !          11199: 
        !          11200: 
        !          11201: 
        !          11202: 
        !          11203: 
        !          11204: 
        !          11205: 
        !          11206: 
        !          11207: 
        !          11208: 
        !          11209: # Check whether --with-pic was given.
        !          11210: if test "${with_pic+set}" = set; then :
        !          11211:   withval=$with_pic; lt_p=${PACKAGE-default}
        !          11212:     case $withval in
        !          11213:     yes|no) pic_mode=$withval ;;
        !          11214:     *)
        !          11215:       pic_mode=default
        !          11216:       # Look at the argument we got.  We use all the common list separators.
        !          11217:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
        !          11218:       for lt_pkg in $withval; do
        !          11219:        IFS=$lt_save_ifs
        !          11220:        if test "X$lt_pkg" = "X$lt_p"; then
        !          11221:          pic_mode=yes
        !          11222:        fi
        !          11223:       done
        !          11224:       IFS=$lt_save_ifs
        !          11225:       ;;
        !          11226:     esac
        !          11227: else
        !          11228:   pic_mode=default
        !          11229: fi
        !          11230: 
        !          11231: 
        !          11232: 
        !          11233: 
        !          11234: 
        !          11235: 
        !          11236: 
        !          11237: 
        !          11238:   # Check whether --enable-fast-install was given.
        !          11239: if test "${enable_fast_install+set}" = set; then :
        !          11240:   enableval=$enable_fast_install; p=${PACKAGE-default}
        !          11241:     case $enableval in
        !          11242:     yes) enable_fast_install=yes ;;
        !          11243:     no) enable_fast_install=no ;;
        !          11244:     *)
        !          11245:       enable_fast_install=no
        !          11246:       # Look at the argument we got.  We use all the common list separators.
        !          11247:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
        !          11248:       for pkg in $enableval; do
        !          11249:        IFS=$lt_save_ifs
        !          11250:        if test "X$pkg" = "X$p"; then
        !          11251:          enable_fast_install=yes
        !          11252:        fi
        !          11253:       done
        !          11254:       IFS=$lt_save_ifs
        !          11255:       ;;
        !          11256:     esac
        !          11257: else
        !          11258:   enable_fast_install=yes
        !          11259: fi
        !          11260: 
        !          11261: 
        !          11262: 
        !          11263: 
        !          11264: 
        !          11265: 
        !          11266: 
        !          11267: 
        !          11268:   shared_archive_member_spec=
        !          11269: case $host,$enable_shared in
        !          11270: power*-*-aix[5-9]*,yes)
        !          11271:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
        !          11272: $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
        !          11273: 
        !          11274: # Check whether --with-aix-soname was given.
        !          11275: if test "${with_aix_soname+set}" = set; then :
        !          11276:   withval=$with_aix_soname; case $withval in
        !          11277:     aix|svr4|both)
        !          11278:       ;;
        !          11279:     *)
        !          11280:       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
        !          11281:       ;;
        !          11282:     esac
        !          11283:     lt_cv_with_aix_soname=$with_aix_soname
        !          11284: else
        !          11285:   if ${lt_cv_with_aix_soname+:} false; then :
        !          11286:   $as_echo_n "(cached) " >&6
        !          11287: else
        !          11288:   lt_cv_with_aix_soname=aix
        !          11289: fi
        !          11290: 
        !          11291:     with_aix_soname=$lt_cv_with_aix_soname
        !          11292: fi
        !          11293: 
        !          11294:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
        !          11295: $as_echo "$with_aix_soname" >&6; }
        !          11296:   if test aix != "$with_aix_soname"; then
        !          11297:     # For the AIX way of multilib, we name the shared archive member
        !          11298:     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
        !          11299:     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
        !          11300:     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
        !          11301:     # the AIX toolchain works better with OBJECT_MODE set (default 32).
        !          11302:     if test 64 = "${OBJECT_MODE-32}"; then
        !          11303:       shared_archive_member_spec=shr_64
        !          11304:     else
        !          11305:       shared_archive_member_spec=shr
        !          11306:     fi
        !          11307:   fi
        !          11308:   ;;
        !          11309: *)
        !          11310:   with_aix_soname=aix
        !          11311:   ;;
        !          11312: esac
        !          11313: 
        !          11314: 
        !          11315: 
        !          11316: 
        !          11317: 
        !          11318: 
        !          11319: 
        !          11320: 
        !          11321: 
        !          11322: 
        !          11323: # This can be used to rebuild libtool when needed
        !          11324: LIBTOOL_DEPS=$ltmain
        !          11325: 
        !          11326: # Always use our own libtool.
        !          11327: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
        !          11328: 
        !          11329: 
        !          11330: 
        !          11331: 
        !          11332: 
        !          11333: 
        !          11334: 
        !          11335: 
        !          11336: 
        !          11337: 
        !          11338: 
        !          11339: 
        !          11340: 
        !          11341: 
        !          11342: 
        !          11343: 
        !          11344: 
        !          11345: 
        !          11346: 
        !          11347: 
        !          11348: 
        !          11349: 
        !          11350: 
        !          11351: 
        !          11352: 
        !          11353: 
        !          11354: 
        !          11355: 
        !          11356: 
        !          11357: 
        !          11358: test -z "$LN_S" && LN_S="ln -s"
        !          11359: 
        !          11360: 
        !          11361: 
        !          11362: 
        !          11363: 
        !          11364: 
        !          11365: 
        !          11366: 
        !          11367: 
        !          11368: 
        !          11369: 
        !          11370: 
        !          11371: 
        !          11372: 
        !          11373: if test -n "${ZSH_VERSION+set}"; then
        !          11374:    setopt NO_GLOB_SUBST
        !          11375: fi
        !          11376: 
        !          11377: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
        !          11378: $as_echo_n "checking for objdir... " >&6; }
        !          11379: if ${lt_cv_objdir+:} false; then :
        !          11380:   $as_echo_n "(cached) " >&6
        !          11381: else
        !          11382:   rm -f .libs 2>/dev/null
        !          11383: mkdir .libs 2>/dev/null
        !          11384: if test -d .libs; then
        !          11385:   lt_cv_objdir=.libs
        !          11386: else
        !          11387:   # MS-DOS does not allow filenames that begin with a dot.
        !          11388:   lt_cv_objdir=_libs
        !          11389: fi
        !          11390: rmdir .libs 2>/dev/null
        !          11391: fi
        !          11392: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
        !          11393: $as_echo "$lt_cv_objdir" >&6; }
        !          11394: objdir=$lt_cv_objdir
        !          11395: 
        !          11396: 
        !          11397: 
        !          11398: 
        !          11399: 
        !          11400: cat >>confdefs.h <<_ACEOF
        !          11401: #define LT_OBJDIR "$lt_cv_objdir/"
        !          11402: _ACEOF
        !          11403: 
        !          11404: 
        !          11405: 
        !          11406: 
        !          11407: case $host_os in
        !          11408: aix3*)
        !          11409:   # AIX sometimes has problems with the GCC collect2 program.  For some
        !          11410:   # reason, if we set the COLLECT_NAMES environment variable, the problems
        !          11411:   # vanish in a puff of smoke.
        !          11412:   if test set != "${COLLECT_NAMES+set}"; then
        !          11413:     COLLECT_NAMES=
        !          11414:     export COLLECT_NAMES
        !          11415:   fi
        !          11416:   ;;
        !          11417: esac
        !          11418: 
        !          11419: # Global variables:
        !          11420: ofile=libtool
        !          11421: can_build_shared=yes
        !          11422: 
        !          11423: # All known linkers require a '.a' archive for static linking (except MSVC,
        !          11424: # which needs '.lib').
        !          11425: libext=a
        !          11426: 
        !          11427: with_gnu_ld=$lt_cv_prog_gnu_ld
        !          11428: 
        !          11429: old_CC=$CC
        !          11430: old_CFLAGS=$CFLAGS
        !          11431: 
        !          11432: # Set sane defaults for various variables
        !          11433: test -z "$CC" && CC=cc
        !          11434: test -z "$LTCC" && LTCC=$CC
        !          11435: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
        !          11436: test -z "$LD" && LD=ld
        !          11437: test -z "$ac_objext" && ac_objext=o
        !          11438: 
        !          11439: func_cc_basename $compiler
        !          11440: cc_basename=$func_cc_basename_result
        !          11441: 
        !          11442: 
        !          11443: # Only perform the check for file, if the check method requires it
        !          11444: test -z "$MAGIC_CMD" && MAGIC_CMD=file
        !          11445: case $deplibs_check_method in
        !          11446: file_magic*)
        !          11447:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
        !          11448:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
        !          11449: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
        !          11450: if ${lt_cv_path_MAGIC_CMD+:} false; then :
        !          11451:   $as_echo_n "(cached) " >&6
        !          11452: else
        !          11453:   case $MAGIC_CMD in
        !          11454: [\\/*] |  ?:[\\/]*)
        !          11455:   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
        !          11456:   ;;
        !          11457: *)
        !          11458:   lt_save_MAGIC_CMD=$MAGIC_CMD
        !          11459:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
        !          11460:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
        !          11461:   for ac_dir in $ac_dummy; do
        !          11462:     IFS=$lt_save_ifs
        !          11463:     test -z "$ac_dir" && ac_dir=.
        !          11464:     if test -f "$ac_dir/${ac_tool_prefix}file"; then
        !          11465:       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
        !          11466:       if test -n "$file_magic_test_file"; then
        !          11467:        case $deplibs_check_method in
        !          11468:        "file_magic "*)
        !          11469:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
        !          11470:          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
        !          11471:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
        !          11472:            $EGREP "$file_magic_regex" > /dev/null; then
        !          11473:            :
        !          11474:          else
        !          11475:            cat <<_LT_EOF 1>&2
        !          11476: 
        !          11477: *** Warning: the command libtool uses to detect shared libraries,
        !          11478: *** $file_magic_cmd, produces output that libtool cannot recognize.
        !          11479: *** The result is that libtool may fail to recognize shared libraries
        !          11480: *** as such.  This will affect the creation of libtool libraries that
        !          11481: *** depend on shared libraries, but programs linked with such libtool
        !          11482: *** libraries will work regardless of this problem.  Nevertheless, you
        !          11483: *** may want to report the problem to your system manager and/or to
        !          11484: *** bug-libtool@gnu.org
        !          11485: 
        !          11486: _LT_EOF
        !          11487:          fi ;;
        !          11488:        esac
        !          11489:       fi
        !          11490:       break
        !          11491:     fi
        !          11492:   done
        !          11493:   IFS=$lt_save_ifs
        !          11494:   MAGIC_CMD=$lt_save_MAGIC_CMD
        !          11495:   ;;
        !          11496: esac
        !          11497: fi
        !          11498: 
        !          11499: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
        !          11500: if test -n "$MAGIC_CMD"; then
        !          11501:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
        !          11502: $as_echo "$MAGIC_CMD" >&6; }
        !          11503: else
        !          11504:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          11505: $as_echo "no" >&6; }
        !          11506: fi
        !          11507: 
        !          11508: 
        !          11509: 
        !          11510: 
        !          11511: 
        !          11512: if test -z "$lt_cv_path_MAGIC_CMD"; then
        !          11513:   if test -n "$ac_tool_prefix"; then
        !          11514:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
        !          11515: $as_echo_n "checking for file... " >&6; }
        !          11516: if ${lt_cv_path_MAGIC_CMD+:} false; then :
        !          11517:   $as_echo_n "(cached) " >&6
        !          11518: else
        !          11519:   case $MAGIC_CMD in
        !          11520: [\\/*] |  ?:[\\/]*)
        !          11521:   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
        !          11522:   ;;
        !          11523: *)
        !          11524:   lt_save_MAGIC_CMD=$MAGIC_CMD
        !          11525:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
        !          11526:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
        !          11527:   for ac_dir in $ac_dummy; do
        !          11528:     IFS=$lt_save_ifs
        !          11529:     test -z "$ac_dir" && ac_dir=.
        !          11530:     if test -f "$ac_dir/file"; then
        !          11531:       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
        !          11532:       if test -n "$file_magic_test_file"; then
        !          11533:        case $deplibs_check_method in
        !          11534:        "file_magic "*)
        !          11535:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
        !          11536:          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
        !          11537:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
        !          11538:            $EGREP "$file_magic_regex" > /dev/null; then
        !          11539:            :
        !          11540:          else
        !          11541:            cat <<_LT_EOF 1>&2
        !          11542: 
        !          11543: *** Warning: the command libtool uses to detect shared libraries,
        !          11544: *** $file_magic_cmd, produces output that libtool cannot recognize.
        !          11545: *** The result is that libtool may fail to recognize shared libraries
        !          11546: *** as such.  This will affect the creation of libtool libraries that
        !          11547: *** depend on shared libraries, but programs linked with such libtool
        !          11548: *** libraries will work regardless of this problem.  Nevertheless, you
        !          11549: *** may want to report the problem to your system manager and/or to
        !          11550: *** bug-libtool@gnu.org
        !          11551: 
        !          11552: _LT_EOF
        !          11553:          fi ;;
        !          11554:        esac
        !          11555:       fi
        !          11556:       break
        !          11557:     fi
        !          11558:   done
        !          11559:   IFS=$lt_save_ifs
        !          11560:   MAGIC_CMD=$lt_save_MAGIC_CMD
        !          11561:   ;;
        !          11562: esac
        !          11563: fi
        !          11564: 
        !          11565: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
        !          11566: if test -n "$MAGIC_CMD"; then
        !          11567:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
        !          11568: $as_echo "$MAGIC_CMD" >&6; }
        !          11569: else
        !          11570:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          11571: $as_echo "no" >&6; }
        !          11572: fi
        !          11573: 
        !          11574: 
        !          11575:   else
        !          11576:     MAGIC_CMD=:
        !          11577:   fi
        !          11578: fi
        !          11579: 
        !          11580:   fi
        !          11581:   ;;
        !          11582: esac
        !          11583: 
        !          11584: # Use C for the default configuration in the libtool script
        !          11585: 
        !          11586: lt_save_CC=$CC
        !          11587: ac_ext=c
        !          11588: ac_cpp='$CPP $CPPFLAGS'
        !          11589: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          11590: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          11591: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          11592: 
        !          11593: 
        !          11594: # Source file extension for C test sources.
        !          11595: ac_ext=c
        !          11596: 
        !          11597: # Object file extension for compiled C test sources.
        !          11598: objext=o
        !          11599: objext=$objext
        !          11600: 
        !          11601: # Code to be used in simple compile tests
        !          11602: lt_simple_compile_test_code="int some_variable = 0;"
        !          11603: 
        !          11604: # Code to be used in simple link tests
        !          11605: lt_simple_link_test_code='int main(){return(0);}'
        !          11606: 
        !          11607: 
        !          11608: 
        !          11609: 
        !          11610: 
        !          11611: 
        !          11612: 
        !          11613: # If no C compiler was specified, use CC.
        !          11614: LTCC=${LTCC-"$CC"}
        !          11615: 
        !          11616: # If no C compiler flags were specified, use CFLAGS.
        !          11617: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
        !          11618: 
        !          11619: # Allow CC to be a program name with arguments.
        !          11620: compiler=$CC
        !          11621: 
        !          11622: # Save the default compiler, since it gets overwritten when the other
        !          11623: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
        !          11624: compiler_DEFAULT=$CC
        !          11625: 
        !          11626: # save warnings/boilerplate of simple test code
        !          11627: ac_outfile=conftest.$ac_objext
        !          11628: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
        !          11629: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
        !          11630: _lt_compiler_boilerplate=`cat conftest.err`
        !          11631: $RM conftest*
        !          11632: 
        !          11633: ac_outfile=conftest.$ac_objext
        !          11634: echo "$lt_simple_link_test_code" >conftest.$ac_ext
        !          11635: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
        !          11636: _lt_linker_boilerplate=`cat conftest.err`
        !          11637: $RM -r conftest*
        !          11638: 
        !          11639: 
        !          11640: ## CAVEAT EMPTOR:
        !          11641: ## There is no encapsulation within the following macros, do not change
        !          11642: ## the running order or otherwise move them around unless you know exactly
        !          11643: ## what you are doing...
        !          11644: if test -n "$compiler"; then
        !          11645: 
        !          11646: lt_prog_compiler_no_builtin_flag=
        !          11647: 
        !          11648: if test yes = "$GCC"; then
        !          11649:   case $cc_basename in
        !          11650:   nvcc*)
        !          11651:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
        !          11652:   *)
        !          11653:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
        !          11654:   esac
        !          11655: 
        !          11656:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
        !          11657: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
        !          11658: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
        !          11659:   $as_echo_n "(cached) " >&6
        !          11660: else
        !          11661:   lt_cv_prog_compiler_rtti_exceptions=no
        !          11662:    ac_outfile=conftest.$ac_objext
        !          11663:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
        !          11664:    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
        !          11665:    # Insert the option either (1) after the last *FLAGS variable, or
        !          11666:    # (2) before a word containing "conftest.", or (3) at the end.
        !          11667:    # Note that $ac_compile itself does not contain backslashes and begins
        !          11668:    # with a dollar sign (not a hyphen), so the echo should work correctly.
        !          11669:    # The option is referenced via a variable to avoid confusing sed.
        !          11670:    lt_compile=`echo "$ac_compile" | $SED \
        !          11671:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
        !          11672:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
        !          11673:    -e 's:$: $lt_compiler_flag:'`
        !          11674:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
        !          11675:    (eval "$lt_compile" 2>conftest.err)
        !          11676:    ac_status=$?
        !          11677:    cat conftest.err >&5
        !          11678:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11679:    if (exit $ac_status) && test -s "$ac_outfile"; then
        !          11680:      # The compiler can only warn and ignore the option if not recognized
        !          11681:      # So say no if there are warnings other than the usual output.
        !          11682:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
        !          11683:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
        !          11684:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
        !          11685:        lt_cv_prog_compiler_rtti_exceptions=yes
        !          11686:      fi
        !          11687:    fi
        !          11688:    $RM conftest*
        !          11689: 
        !          11690: fi
        !          11691: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
        !          11692: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
        !          11693: 
        !          11694: if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
        !          11695:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
        !          11696: else
        !          11697:     :
        !          11698: fi
        !          11699: 
        !          11700: fi
        !          11701: 
        !          11702: 
        !          11703: 
        !          11704: 
        !          11705: 
        !          11706: 
        !          11707:   lt_prog_compiler_wl=
        !          11708: lt_prog_compiler_pic=
        !          11709: lt_prog_compiler_static=
        !          11710: 
        !          11711: 
        !          11712:   if test yes = "$GCC"; then
        !          11713:     lt_prog_compiler_wl='-Wl,'
        !          11714:     lt_prog_compiler_static='-static'
        !          11715: 
        !          11716:     case $host_os in
        !          11717:       aix*)
        !          11718:       # All AIX code is PIC.
        !          11719:       if test ia64 = "$host_cpu"; then
        !          11720:        # AIX 5 now supports IA64 processor
        !          11721:        lt_prog_compiler_static='-Bstatic'
        !          11722:       fi
        !          11723:       lt_prog_compiler_pic='-fPIC'
        !          11724:       ;;
        !          11725: 
        !          11726:     amigaos*)
        !          11727:       case $host_cpu in
        !          11728:       powerpc)
        !          11729:             # see comment about AmigaOS4 .so support
        !          11730:             lt_prog_compiler_pic='-fPIC'
        !          11731:         ;;
        !          11732:       m68k)
        !          11733:             # FIXME: we need at least 68020 code to build shared libraries, but
        !          11734:             # adding the '-m68020' flag to GCC prevents building anything better,
        !          11735:             # like '-m68040'.
        !          11736:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
        !          11737:         ;;
        !          11738:       esac
        !          11739:       ;;
        !          11740: 
        !          11741:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
        !          11742:       # PIC is the default for these OSes.
        !          11743:       ;;
        !          11744: 
        !          11745:     mingw* | cygwin* | pw32* | os2* | cegcc*)
        !          11746:       # This hack is so that the source file can tell whether it is being
        !          11747:       # built for inclusion in a dll (and should export symbols for example).
        !          11748:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
        !          11749:       # (--disable-auto-import) libraries
        !          11750:       lt_prog_compiler_pic='-DDLL_EXPORT'
        !          11751:       case $host_os in
        !          11752:       os2*)
        !          11753:        lt_prog_compiler_static='$wl-static'
        !          11754:        ;;
        !          11755:       esac
        !          11756:       ;;
        !          11757: 
        !          11758:     darwin* | rhapsody*)
        !          11759:       # PIC is the default on this platform
        !          11760:       # Common symbols not allowed in MH_DYLIB files
        !          11761:       lt_prog_compiler_pic='-fno-common'
        !          11762:       ;;
        !          11763: 
        !          11764:     haiku*)
        !          11765:       # PIC is the default for Haiku.
        !          11766:       # The "-static" flag exists, but is broken.
        !          11767:       lt_prog_compiler_static=
        !          11768:       ;;
        !          11769: 
        !          11770:     hpux*)
        !          11771:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
        !          11772:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
        !          11773:       # sets the default TLS model and affects inlining.
        !          11774:       case $host_cpu in
        !          11775:       hppa*64*)
        !          11776:        # +Z the default
        !          11777:        ;;
        !          11778:       *)
        !          11779:        lt_prog_compiler_pic='-fPIC'
        !          11780:        ;;
        !          11781:       esac
        !          11782:       ;;
        !          11783: 
        !          11784:     interix[3-9]*)
        !          11785:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
        !          11786:       # Instead, we relocate shared libraries at runtime.
        !          11787:       ;;
        !          11788: 
        !          11789:     msdosdjgpp*)
        !          11790:       # Just because we use GCC doesn't mean we suddenly get shared libraries
        !          11791:       # on systems that don't support them.
        !          11792:       lt_prog_compiler_can_build_shared=no
        !          11793:       enable_shared=no
        !          11794:       ;;
        !          11795: 
        !          11796:     *nto* | *qnx*)
        !          11797:       # QNX uses GNU C++, but need to define -shared option too, otherwise
        !          11798:       # it will coredump.
        !          11799:       lt_prog_compiler_pic='-fPIC -shared'
        !          11800:       ;;
        !          11801: 
        !          11802:     sysv4*MP*)
        !          11803:       if test -d /usr/nec; then
        !          11804:        lt_prog_compiler_pic=-Kconform_pic
        !          11805:       fi
        !          11806:       ;;
        !          11807: 
        !          11808:     *)
        !          11809:       lt_prog_compiler_pic='-fPIC'
        !          11810:       ;;
        !          11811:     esac
        !          11812: 
        !          11813:     case $cc_basename in
        !          11814:     nvcc*) # Cuda Compiler Driver 2.2
        !          11815:       lt_prog_compiler_wl='-Xlinker '
        !          11816:       if test -n "$lt_prog_compiler_pic"; then
        !          11817:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
        !          11818:       fi
        !          11819:       ;;
        !          11820:     esac
        !          11821:   else
        !          11822:     # PORTME Check for flag to pass linker flags through the system compiler.
        !          11823:     case $host_os in
        !          11824:     aix*)
        !          11825:       lt_prog_compiler_wl='-Wl,'
        !          11826:       if test ia64 = "$host_cpu"; then
        !          11827:        # AIX 5 now supports IA64 processor
        !          11828:        lt_prog_compiler_static='-Bstatic'
        !          11829:       else
        !          11830:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
        !          11831:       fi
        !          11832:       ;;
        !          11833: 
        !          11834:     darwin* | rhapsody*)
        !          11835:       # PIC is the default on this platform
        !          11836:       # Common symbols not allowed in MH_DYLIB files
        !          11837:       lt_prog_compiler_pic='-fno-common'
        !          11838:       case $cc_basename in
        !          11839:       nagfor*)
        !          11840:         # NAG Fortran compiler
        !          11841:         lt_prog_compiler_wl='-Wl,-Wl,,'
        !          11842:         lt_prog_compiler_pic='-PIC'
        !          11843:         lt_prog_compiler_static='-Bstatic'
        !          11844:         ;;
        !          11845:       esac
        !          11846:       ;;
        !          11847: 
        !          11848:     mingw* | cygwin* | pw32* | os2* | cegcc*)
        !          11849:       # This hack is so that the source file can tell whether it is being
        !          11850:       # built for inclusion in a dll (and should export symbols for example).
        !          11851:       lt_prog_compiler_pic='-DDLL_EXPORT'
        !          11852:       case $host_os in
        !          11853:       os2*)
        !          11854:        lt_prog_compiler_static='$wl-static'
        !          11855:        ;;
        !          11856:       esac
        !          11857:       ;;
        !          11858: 
        !          11859:     hpux9* | hpux10* | hpux11*)
        !          11860:       lt_prog_compiler_wl='-Wl,'
        !          11861:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
        !          11862:       # not for PA HP-UX.
        !          11863:       case $host_cpu in
        !          11864:       hppa*64*|ia64*)
        !          11865:        # +Z the default
        !          11866:        ;;
        !          11867:       *)
        !          11868:        lt_prog_compiler_pic='+Z'
        !          11869:        ;;
        !          11870:       esac
        !          11871:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
        !          11872:       lt_prog_compiler_static='$wl-a ${wl}archive'
        !          11873:       ;;
        !          11874: 
        !          11875:     irix5* | irix6* | nonstopux*)
        !          11876:       lt_prog_compiler_wl='-Wl,'
        !          11877:       # PIC (with -KPIC) is the default.
        !          11878:       lt_prog_compiler_static='-non_shared'
        !          11879:       ;;
        !          11880: 
        !          11881:     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
        !          11882:       case $cc_basename in
        !          11883:       # old Intel for x86_64, which still supported -KPIC.
        !          11884:       ecc*)
        !          11885:        lt_prog_compiler_wl='-Wl,'
        !          11886:        lt_prog_compiler_pic='-KPIC'
        !          11887:        lt_prog_compiler_static='-static'
        !          11888:         ;;
        !          11889:       # flang / f18. f95 an alias for gfortran or flang on Debian
        !          11890:       flang* | f18* | f95*)
        !          11891:        lt_prog_compiler_wl='-Wl,'
        !          11892:        lt_prog_compiler_pic='-fPIC'
        !          11893:        lt_prog_compiler_static='-static'
        !          11894:         ;;
        !          11895:       # icc used to be incompatible with GCC.
        !          11896:       # ICC 10 doesn't accept -KPIC any more.
        !          11897:       icc* | ifort*)
        !          11898:        lt_prog_compiler_wl='-Wl,'
        !          11899:        lt_prog_compiler_pic='-fPIC'
        !          11900:        lt_prog_compiler_static='-static'
        !          11901:         ;;
        !          11902:       # Lahey Fortran 8.1.
        !          11903:       lf95*)
        !          11904:        lt_prog_compiler_wl='-Wl,'
        !          11905:        lt_prog_compiler_pic='--shared'
        !          11906:        lt_prog_compiler_static='--static'
        !          11907:        ;;
        !          11908:       nagfor*)
        !          11909:        # NAG Fortran compiler
        !          11910:        lt_prog_compiler_wl='-Wl,-Wl,,'
        !          11911:        lt_prog_compiler_pic='-PIC'
        !          11912:        lt_prog_compiler_static='-Bstatic'
        !          11913:        ;;
        !          11914:       tcc*)
        !          11915:        # Fabrice Bellard et al's Tiny C Compiler
        !          11916:        lt_prog_compiler_wl='-Wl,'
        !          11917:        lt_prog_compiler_pic='-fPIC'
        !          11918:        lt_prog_compiler_static='-static'
        !          11919:        ;;
        !          11920:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
        !          11921:         # Portland Group compilers (*not* the Pentium gcc compiler,
        !          11922:        # which looks to be a dead project)
        !          11923:        lt_prog_compiler_wl='-Wl,'
        !          11924:        lt_prog_compiler_pic='-fpic'
        !          11925:        lt_prog_compiler_static='-Bstatic'
        !          11926:         ;;
        !          11927:       ccc*)
        !          11928:         lt_prog_compiler_wl='-Wl,'
        !          11929:         # All Alpha code is PIC.
        !          11930:         lt_prog_compiler_static='-non_shared'
        !          11931:         ;;
        !          11932:       xl* | bgxl* | bgf* | mpixl*)
        !          11933:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
        !          11934:        lt_prog_compiler_wl='-Wl,'
        !          11935:        lt_prog_compiler_pic='-qpic'
        !          11936:        lt_prog_compiler_static='-qstaticlink'
        !          11937:        ;;
        !          11938:       *)
        !          11939:        case `$CC -V 2>&1 | sed 5q` in
        !          11940:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
        !          11941:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
        !          11942:          lt_prog_compiler_pic='-KPIC'
        !          11943:          lt_prog_compiler_static='-Bstatic'
        !          11944:          lt_prog_compiler_wl=''
        !          11945:          ;;
        !          11946:        *Sun\ F* | *Sun*Fortran*)
        !          11947:          lt_prog_compiler_pic='-KPIC'
        !          11948:          lt_prog_compiler_static='-Bstatic'
        !          11949:          lt_prog_compiler_wl='-Qoption ld '
        !          11950:          ;;
        !          11951:        *Sun\ C*)
        !          11952:          # Sun C 5.9
        !          11953:          lt_prog_compiler_pic='-KPIC'
        !          11954:          lt_prog_compiler_static='-Bstatic'
        !          11955:          lt_prog_compiler_wl='-Wl,'
        !          11956:          ;;
        !          11957:         *Intel*\ [CF]*Compiler*)
        !          11958:          lt_prog_compiler_wl='-Wl,'
        !          11959:          lt_prog_compiler_pic='-fPIC'
        !          11960:          lt_prog_compiler_static='-static'
        !          11961:          ;;
        !          11962:        *Portland\ Group*)
        !          11963:          lt_prog_compiler_wl='-Wl,'
        !          11964:          lt_prog_compiler_pic='-fpic'
        !          11965:          lt_prog_compiler_static='-Bstatic'
        !          11966:          ;;
        !          11967:        esac
        !          11968:        ;;
        !          11969:       esac
        !          11970:       ;;
        !          11971: 
        !          11972:     newsos6)
        !          11973:       lt_prog_compiler_pic='-KPIC'
        !          11974:       lt_prog_compiler_static='-Bstatic'
        !          11975:       ;;
        !          11976: 
        !          11977:     *nto* | *qnx*)
        !          11978:       # QNX uses GNU C++, but need to define -shared option too, otherwise
        !          11979:       # it will coredump.
        !          11980:       lt_prog_compiler_pic='-fPIC -shared'
        !          11981:       ;;
        !          11982: 
        !          11983:     osf3* | osf4* | osf5*)
        !          11984:       lt_prog_compiler_wl='-Wl,'
        !          11985:       # All OSF/1 code is PIC.
        !          11986:       lt_prog_compiler_static='-non_shared'
        !          11987:       ;;
        !          11988: 
        !          11989:     rdos*)
        !          11990:       lt_prog_compiler_static='-non_shared'
        !          11991:       ;;
        !          11992: 
        !          11993:     solaris*)
        !          11994:       lt_prog_compiler_pic='-KPIC'
        !          11995:       lt_prog_compiler_static='-Bstatic'
        !          11996:       case $cc_basename in
        !          11997:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
        !          11998:        lt_prog_compiler_wl='-Qoption ld ';;
        !          11999:       *)
        !          12000:        lt_prog_compiler_wl='-Wl,';;
        !          12001:       esac
        !          12002:       ;;
        !          12003: 
        !          12004:     sunos4*)
        !          12005:       lt_prog_compiler_wl='-Qoption ld '
        !          12006:       lt_prog_compiler_pic='-PIC'
        !          12007:       lt_prog_compiler_static='-Bstatic'
        !          12008:       ;;
        !          12009: 
        !          12010:     sysv4 | sysv4.2uw2* | sysv4.3*)
        !          12011:       lt_prog_compiler_wl='-Wl,'
        !          12012:       lt_prog_compiler_pic='-KPIC'
        !          12013:       lt_prog_compiler_static='-Bstatic'
        !          12014:       ;;
        !          12015: 
        !          12016:     sysv4*MP*)
        !          12017:       if test -d /usr/nec; then
        !          12018:        lt_prog_compiler_pic='-Kconform_pic'
        !          12019:        lt_prog_compiler_static='-Bstatic'
        !          12020:       fi
        !          12021:       ;;
        !          12022: 
        !          12023:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
        !          12024:       lt_prog_compiler_wl='-Wl,'
        !          12025:       lt_prog_compiler_pic='-KPIC'
        !          12026:       lt_prog_compiler_static='-Bstatic'
        !          12027:       ;;
        !          12028: 
        !          12029:     unicos*)
        !          12030:       lt_prog_compiler_wl='-Wl,'
        !          12031:       lt_prog_compiler_can_build_shared=no
        !          12032:       ;;
        !          12033: 
        !          12034:     uts4*)
        !          12035:       lt_prog_compiler_pic='-pic'
        !          12036:       lt_prog_compiler_static='-Bstatic'
        !          12037:       ;;
        !          12038: 
        !          12039:     *)
        !          12040:       lt_prog_compiler_can_build_shared=no
        !          12041:       ;;
        !          12042:     esac
        !          12043:   fi
        !          12044: 
        !          12045: case $host_os in
        !          12046:   # For platforms that do not support PIC, -DPIC is meaningless:
        !          12047:   *djgpp*)
        !          12048:     lt_prog_compiler_pic=
        !          12049:     ;;
        !          12050:   *)
        !          12051:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
        !          12052:     ;;
        !          12053: esac
        !          12054: 
        !          12055: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
        !          12056: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        !          12057: if ${lt_cv_prog_compiler_pic+:} false; then :
        !          12058:   $as_echo_n "(cached) " >&6
        !          12059: else
        !          12060:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
        !          12061: fi
        !          12062: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
        !          12063: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
        !          12064: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
        !          12065: 
        !          12066: #
        !          12067: # Check to make sure the PIC flag actually works.
        !          12068: #
        !          12069: if test -n "$lt_prog_compiler_pic"; then
        !          12070:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
        !          12071: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
        !          12072: if ${lt_cv_prog_compiler_pic_works+:} false; then :
        !          12073:   $as_echo_n "(cached) " >&6
        !          12074: else
        !          12075:   lt_cv_prog_compiler_pic_works=no
        !          12076:    ac_outfile=conftest.$ac_objext
        !          12077:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
        !          12078:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
        !          12079:    # Insert the option either (1) after the last *FLAGS variable, or
        !          12080:    # (2) before a word containing "conftest.", or (3) at the end.
        !          12081:    # Note that $ac_compile itself does not contain backslashes and begins
        !          12082:    # with a dollar sign (not a hyphen), so the echo should work correctly.
        !          12083:    # The option is referenced via a variable to avoid confusing sed.
        !          12084:    lt_compile=`echo "$ac_compile" | $SED \
        !          12085:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
        !          12086:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
        !          12087:    -e 's:$: $lt_compiler_flag:'`
        !          12088:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
        !          12089:    (eval "$lt_compile" 2>conftest.err)
        !          12090:    ac_status=$?
        !          12091:    cat conftest.err >&5
        !          12092:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12093:    if (exit $ac_status) && test -s "$ac_outfile"; then
        !          12094:      # The compiler can only warn and ignore the option if not recognized
        !          12095:      # So say no if there are warnings other than the usual output.
        !          12096:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
        !          12097:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
        !          12098:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
        !          12099:        lt_cv_prog_compiler_pic_works=yes
        !          12100:      fi
        !          12101:    fi
        !          12102:    $RM conftest*
        !          12103: 
        !          12104: fi
        !          12105: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
        !          12106: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
        !          12107: 
        !          12108: if test yes = "$lt_cv_prog_compiler_pic_works"; then
        !          12109:     case $lt_prog_compiler_pic in
        !          12110:      "" | " "*) ;;
        !          12111:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
        !          12112:      esac
        !          12113: else
        !          12114:     lt_prog_compiler_pic=
        !          12115:      lt_prog_compiler_can_build_shared=no
        !          12116: fi
        !          12117: 
        !          12118: fi
        !          12119: 
        !          12120: 
        !          12121: 
        !          12122: 
        !          12123: 
        !          12124: 
        !          12125: 
        !          12126: 
        !          12127: 
        !          12128: 
        !          12129: 
        !          12130: #
        !          12131: # Check to make sure the static flag actually works.
        !          12132: #
        !          12133: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
        !          12134: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
        !          12135: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
        !          12136: if ${lt_cv_prog_compiler_static_works+:} false; then :
        !          12137:   $as_echo_n "(cached) " >&6
        !          12138: else
        !          12139:   lt_cv_prog_compiler_static_works=no
        !          12140:    save_LDFLAGS=$LDFLAGS
        !          12141:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
        !          12142:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
        !          12143:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
        !          12144:      # The linker can only warn and ignore the option if not recognized
        !          12145:      # So say no if there are warnings
        !          12146:      if test -s conftest.err; then
        !          12147:        # Append any errors to the config.log.
        !          12148:        cat conftest.err 1>&5
        !          12149:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
        !          12150:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
        !          12151:        if diff conftest.exp conftest.er2 >/dev/null; then
        !          12152:          lt_cv_prog_compiler_static_works=yes
        !          12153:        fi
        !          12154:      else
        !          12155:        lt_cv_prog_compiler_static_works=yes
        !          12156:      fi
        !          12157:    fi
        !          12158:    $RM -r conftest*
        !          12159:    LDFLAGS=$save_LDFLAGS
        !          12160: 
        !          12161: fi
        !          12162: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
        !          12163: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
        !          12164: 
        !          12165: if test yes = "$lt_cv_prog_compiler_static_works"; then
        !          12166:     :
        !          12167: else
        !          12168:     lt_prog_compiler_static=
        !          12169: fi
        !          12170: 
        !          12171: 
        !          12172: 
        !          12173: 
        !          12174: 
        !          12175: 
        !          12176: 
        !          12177:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
        !          12178: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
        !          12179: if ${lt_cv_prog_compiler_c_o+:} false; then :
        !          12180:   $as_echo_n "(cached) " >&6
        !          12181: else
        !          12182:   lt_cv_prog_compiler_c_o=no
        !          12183:    $RM -r conftest 2>/dev/null
        !          12184:    mkdir conftest
        !          12185:    cd conftest
        !          12186:    mkdir out
        !          12187:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
        !          12188: 
        !          12189:    lt_compiler_flag="-o out/conftest2.$ac_objext"
        !          12190:    # Insert the option either (1) after the last *FLAGS variable, or
        !          12191:    # (2) before a word containing "conftest.", or (3) at the end.
        !          12192:    # Note that $ac_compile itself does not contain backslashes and begins
        !          12193:    # with a dollar sign (not a hyphen), so the echo should work correctly.
        !          12194:    lt_compile=`echo "$ac_compile" | $SED \
        !          12195:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
        !          12196:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
        !          12197:    -e 's:$: $lt_compiler_flag:'`
        !          12198:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
        !          12199:    (eval "$lt_compile" 2>out/conftest.err)
        !          12200:    ac_status=$?
        !          12201:    cat out/conftest.err >&5
        !          12202:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12203:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
        !          12204:    then
        !          12205:      # The compiler can only warn and ignore the option if not recognized
        !          12206:      # So say no if there are warnings
        !          12207:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
        !          12208:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
        !          12209:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
        !          12210:        lt_cv_prog_compiler_c_o=yes
        !          12211:      fi
        !          12212:    fi
        !          12213:    chmod u+w . 2>&5
        !          12214:    $RM conftest*
        !          12215:    # SGI C++ compiler will create directory out/ii_files/ for
        !          12216:    # template instantiation
        !          12217:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
        !          12218:    $RM out/* && rmdir out
        !          12219:    cd ..
        !          12220:    $RM -r conftest
        !          12221:    $RM conftest*
        !          12222: 
        !          12223: fi
        !          12224: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
        !          12225: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
        !          12226: 
        !          12227: 
        !          12228: 
        !          12229: 
        !          12230: 
        !          12231: 
        !          12232:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
        !          12233: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
        !          12234: if ${lt_cv_prog_compiler_c_o+:} false; then :
        !          12235:   $as_echo_n "(cached) " >&6
        !          12236: else
        !          12237:   lt_cv_prog_compiler_c_o=no
        !          12238:    $RM -r conftest 2>/dev/null
        !          12239:    mkdir conftest
        !          12240:    cd conftest
        !          12241:    mkdir out
        !          12242:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
        !          12243: 
        !          12244:    lt_compiler_flag="-o out/conftest2.$ac_objext"
        !          12245:    # Insert the option either (1) after the last *FLAGS variable, or
        !          12246:    # (2) before a word containing "conftest.", or (3) at the end.
        !          12247:    # Note that $ac_compile itself does not contain backslashes and begins
        !          12248:    # with a dollar sign (not a hyphen), so the echo should work correctly.
        !          12249:    lt_compile=`echo "$ac_compile" | $SED \
        !          12250:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
        !          12251:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
        !          12252:    -e 's:$: $lt_compiler_flag:'`
        !          12253:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
        !          12254:    (eval "$lt_compile" 2>out/conftest.err)
        !          12255:    ac_status=$?
        !          12256:    cat out/conftest.err >&5
        !          12257:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12258:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
        !          12259:    then
        !          12260:      # The compiler can only warn and ignore the option if not recognized
        !          12261:      # So say no if there are warnings
        !          12262:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
        !          12263:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
        !          12264:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
        !          12265:        lt_cv_prog_compiler_c_o=yes
        !          12266:      fi
        !          12267:    fi
        !          12268:    chmod u+w . 2>&5
        !          12269:    $RM conftest*
        !          12270:    # SGI C++ compiler will create directory out/ii_files/ for
        !          12271:    # template instantiation
        !          12272:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
        !          12273:    $RM out/* && rmdir out
        !          12274:    cd ..
        !          12275:    $RM -r conftest
        !          12276:    $RM conftest*
        !          12277: 
        !          12278: fi
        !          12279: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
        !          12280: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
        !          12281: 
        !          12282: 
        !          12283: 
        !          12284: 
        !          12285: hard_links=nottested
        !          12286: if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
        !          12287:   # do not overwrite the value of need_locks provided by the user
        !          12288:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
        !          12289: $as_echo_n "checking if we can lock with hard links... " >&6; }
        !          12290:   hard_links=yes
        !          12291:   $RM conftest*
        !          12292:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
        !          12293:   touch conftest.a
        !          12294:   ln conftest.a conftest.b 2>&5 || hard_links=no
        !          12295:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
        !          12296:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
        !          12297: $as_echo "$hard_links" >&6; }
        !          12298:   if test no = "$hard_links"; then
        !          12299:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
        !          12300: $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
        !          12301:     need_locks=warn
        !          12302:   fi
        !          12303: else
        !          12304:   need_locks=no
        !          12305: fi
        !          12306: 
        !          12307: 
        !          12308: 
        !          12309: 
        !          12310: 
        !          12311: 
        !          12312:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
        !          12313: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
        !          12314: 
        !          12315:   runpath_var=
        !          12316:   allow_undefined_flag=
        !          12317:   always_export_symbols=no
        !          12318:   archive_cmds=
        !          12319:   archive_expsym_cmds=
        !          12320:   compiler_needs_object=no
        !          12321:   enable_shared_with_static_runtimes=no
        !          12322:   export_dynamic_flag_spec=
        !          12323:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
        !          12324:   hardcode_automatic=no
        !          12325:   hardcode_direct=no
        !          12326:   hardcode_direct_absolute=no
        !          12327:   hardcode_libdir_flag_spec=
        !          12328:   hardcode_libdir_separator=
        !          12329:   hardcode_minus_L=no
        !          12330:   hardcode_shlibpath_var=unsupported
        !          12331:   inherit_rpath=no
        !          12332:   link_all_deplibs=unknown
        !          12333:   module_cmds=
        !          12334:   module_expsym_cmds=
        !          12335:   old_archive_from_new_cmds=
        !          12336:   old_archive_from_expsyms_cmds=
        !          12337:   thread_safe_flag_spec=
        !          12338:   whole_archive_flag_spec=
        !          12339:   # include_expsyms should be a list of space-separated symbols to be *always*
        !          12340:   # included in the symbol list
        !          12341:   include_expsyms=
        !          12342:   # exclude_expsyms can be an extended regexp of symbols to exclude
        !          12343:   # it will be wrapped by ' (' and ')$', so one must not match beginning or
        !          12344:   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
        !          12345:   # as well as any symbol that contains 'd'.
        !          12346:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
        !          12347:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
        !          12348:   # platforms (ab)use it in PIC code, but their linkers get confused if
        !          12349:   # the symbol is explicitly referenced.  Since portable code cannot
        !          12350:   # rely on this symbol name, it's probably fine to never include it in
        !          12351:   # preloaded symbol tables.
        !          12352:   # Exclude shared library initialization/finalization symbols.
        !          12353:   extract_expsyms_cmds=
        !          12354: 
        !          12355:   case $host_os in
        !          12356:   cygwin* | mingw* | pw32* | cegcc*)
        !          12357:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
        !          12358:     # When not using gcc, we currently assume that we are using
        !          12359:     # Microsoft Visual C++.
        !          12360:     if test yes != "$GCC"; then
        !          12361:       with_gnu_ld=no
        !          12362:     fi
        !          12363:     ;;
        !          12364:   interix*)
        !          12365:     # we just hope/assume this is gcc and not c89 (= MSVC++)
        !          12366:     with_gnu_ld=yes
        !          12367:     ;;
        !          12368:   openbsd* | bitrig*)
        !          12369:     with_gnu_ld=no
        !          12370:     ;;
        !          12371:   linux* | k*bsd*-gnu | gnu*)
        !          12372:     link_all_deplibs=no
        !          12373:     ;;
        !          12374:   esac
        !          12375: 
        !          12376:   ld_shlibs=yes
        !          12377: 
        !          12378:   # On some targets, GNU ld is compatible enough with the native linker
        !          12379:   # that we're better off using the native interface for both.
        !          12380:   lt_use_gnu_ld_interface=no
        !          12381:   if test yes = "$with_gnu_ld"; then
        !          12382:     case $host_os in
        !          12383:       aix*)
        !          12384:        # The AIX port of GNU ld has always aspired to compatibility
        !          12385:        # with the native linker.  However, as the warning in the GNU ld
        !          12386:        # block says, versions before 2.19.5* couldn't really create working
        !          12387:        # shared libraries, regardless of the interface used.
        !          12388:        case `$LD -v 2>&1` in
        !          12389:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
        !          12390:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
        !          12391:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
        !          12392:          *)
        !          12393:            lt_use_gnu_ld_interface=yes
        !          12394:            ;;
        !          12395:        esac
        !          12396:        ;;
        !          12397:       *)
        !          12398:        lt_use_gnu_ld_interface=yes
        !          12399:        ;;
        !          12400:     esac
        !          12401:   fi
        !          12402: 
        !          12403:   if test yes = "$lt_use_gnu_ld_interface"; then
        !          12404:     # If archive_cmds runs LD, not CC, wlarc should be empty
        !          12405:     wlarc='$wl'
        !          12406: 
        !          12407:     # Set some defaults for GNU ld with shared library support. These
        !          12408:     # are reset later if shared libraries are not supported. Putting them
        !          12409:     # here allows them to be overridden if necessary.
        !          12410:     runpath_var=LD_RUN_PATH
        !          12411:     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
        !          12412:     export_dynamic_flag_spec='$wl--export-dynamic'
        !          12413:     # ancient GNU ld didn't support --whole-archive et. al.
        !          12414:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
        !          12415:       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
        !          12416:     else
        !          12417:       whole_archive_flag_spec=
        !          12418:     fi
        !          12419:     supports_anon_versioning=no
        !          12420:     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
        !          12421:       *GNU\ gold*) supports_anon_versioning=yes ;;
        !          12422:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
        !          12423:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
        !          12424:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
        !          12425:       *\ 2.11.*) ;; # other 2.11 versions
        !          12426:       *) supports_anon_versioning=yes ;;
        !          12427:     esac
        !          12428: 
        !          12429:     # See if GNU ld supports shared libraries.
        !          12430:     case $host_os in
        !          12431:     aix[3-9]*)
        !          12432:       # On AIX/PPC, the GNU linker is very broken
        !          12433:       if test ia64 != "$host_cpu"; then
        !          12434:        ld_shlibs=no
        !          12435:        cat <<_LT_EOF 1>&2
        !          12436: 
        !          12437: *** Warning: the GNU linker, at least up to release 2.19, is reported
        !          12438: *** to be unable to reliably create shared libraries on AIX.
        !          12439: *** Therefore, libtool is disabling shared libraries support.  If you
        !          12440: *** really care for shared libraries, you may want to install binutils
        !          12441: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
        !          12442: *** You will then need to restart the configuration process.
        !          12443: 
        !          12444: _LT_EOF
        !          12445:       fi
        !          12446:       ;;
        !          12447: 
        !          12448:     amigaos*)
        !          12449:       case $host_cpu in
        !          12450:       powerpc)
        !          12451:             # see comment about AmigaOS4 .so support
        !          12452:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          12453:             archive_expsym_cmds=''
        !          12454:         ;;
        !          12455:       m68k)
        !          12456:             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
        !          12457:             hardcode_libdir_flag_spec='-L$libdir'
        !          12458:             hardcode_minus_L=yes
        !          12459:         ;;
        !          12460:       esac
        !          12461:       ;;
        !          12462: 
        !          12463:     beos*)
        !          12464:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
        !          12465:        allow_undefined_flag=unsupported
        !          12466:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
        !          12467:        # support --undefined.  This deserves some investigation.  FIXME
        !          12468:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          12469:       else
        !          12470:        ld_shlibs=no
        !          12471:       fi
        !          12472:       ;;
        !          12473: 
        !          12474:     cygwin* | mingw* | pw32* | cegcc*)
        !          12475:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
        !          12476:       # as there is no search path for DLLs.
        !          12477:       hardcode_libdir_flag_spec='-L$libdir'
        !          12478:       export_dynamic_flag_spec='$wl--export-all-symbols'
        !          12479:       allow_undefined_flag=unsupported
        !          12480:       always_export_symbols=no
        !          12481:       enable_shared_with_static_runtimes=yes
        !          12482:       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
        !          12483:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
        !          12484: 
        !          12485:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
        !          12486:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
        !          12487:        # If the export-symbols file already is a .def file, use it as
        !          12488:        # is; otherwise, prepend EXPORTS...
        !          12489:        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
        !          12490:           cp $export_symbols $output_objdir/$soname.def;
        !          12491:         else
        !          12492:           echo EXPORTS > $output_objdir/$soname.def;
        !          12493:           cat $export_symbols >> $output_objdir/$soname.def;
        !          12494:         fi~
        !          12495:         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
        !          12496:       else
        !          12497:        ld_shlibs=no
        !          12498:       fi
        !          12499:       ;;
        !          12500: 
        !          12501:     haiku*)
        !          12502:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          12503:       link_all_deplibs=yes
        !          12504:       ;;
        !          12505: 
        !          12506:     os2*)
        !          12507:       hardcode_libdir_flag_spec='-L$libdir'
        !          12508:       hardcode_minus_L=yes
        !          12509:       allow_undefined_flag=unsupported
        !          12510:       shrext_cmds=.dll
        !          12511:       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
        !          12512:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
        !          12513:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
        !          12514:        $ECHO EXPORTS >> $output_objdir/$libname.def~
        !          12515:        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
        !          12516:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
        !          12517:        emximp -o $lib $output_objdir/$libname.def'
        !          12518:       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
        !          12519:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
        !          12520:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
        !          12521:        $ECHO EXPORTS >> $output_objdir/$libname.def~
        !          12522:        prefix_cmds="$SED"~
        !          12523:        if test EXPORTS = "`$SED 1q $export_symbols`"; then
        !          12524:          prefix_cmds="$prefix_cmds -e 1d";
        !          12525:        fi~
        !          12526:        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
        !          12527:        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
        !          12528:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
        !          12529:        emximp -o $lib $output_objdir/$libname.def'
        !          12530:       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
        !          12531:       enable_shared_with_static_runtimes=yes
        !          12532:       ;;
        !          12533: 
        !          12534:     interix[3-9]*)
        !          12535:       hardcode_direct=no
        !          12536:       hardcode_shlibpath_var=no
        !          12537:       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
        !          12538:       export_dynamic_flag_spec='$wl-E'
        !          12539:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
        !          12540:       # Instead, shared libraries are loaded at an image base (0x10000000 by
        !          12541:       # default) and relocated if they conflict, which is a slow very memory
        !          12542:       # consuming and fragmenting process.  To avoid this, we pick a random,
        !          12543:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
        !          12544:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
        !          12545:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
        !          12546:       archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
        !          12547:       ;;
        !          12548: 
        !          12549:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
        !          12550:       tmp_diet=no
        !          12551:       if test linux-dietlibc = "$host_os"; then
        !          12552:        case $cc_basename in
        !          12553:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
        !          12554:        esac
        !          12555:       fi
        !          12556:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
        !          12557:         && test no = "$tmp_diet"
        !          12558:       then
        !          12559:        tmp_addflag=' $pic_flag'
        !          12560:        tmp_sharedflag='-shared'
        !          12561:        case $cc_basename,$host_cpu in
        !          12562:         pgcc*)                         # Portland Group C compiler
        !          12563:          whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
        !          12564:          tmp_addflag=' $pic_flag'
        !          12565:          ;;
        !          12566:        pgf77* | pgf90* | pgf95* | pgfortran*)
        !          12567:                                        # Portland Group f77 and f90 compilers
        !          12568:          whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
        !          12569:          tmp_addflag=' $pic_flag -Mnomain' ;;
        !          12570:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
        !          12571:          tmp_addflag=' -i_dynamic' ;;
        !          12572:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
        !          12573:          tmp_addflag=' -i_dynamic -nofor_main' ;;
        !          12574:        ifc* | ifort*)                  # Intel Fortran compiler
        !          12575:          tmp_addflag=' -nofor_main' ;;
        !          12576:        lf95*)                          # Lahey Fortran 8.1
        !          12577:          whole_archive_flag_spec=
        !          12578:          tmp_sharedflag='--shared' ;;
        !          12579:         nagfor*)                        # NAGFOR 5.3
        !          12580:           tmp_sharedflag='-Wl,-shared' ;;
        !          12581:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
        !          12582:          tmp_sharedflag='-qmkshrobj'
        !          12583:          tmp_addflag= ;;
        !          12584:        nvcc*)  # Cuda Compiler Driver 2.2
        !          12585:          whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
        !          12586:          compiler_needs_object=yes
        !          12587:          ;;
        !          12588:        esac
        !          12589:        case `$CC -V 2>&1 | sed 5q` in
        !          12590:        *Sun\ C*)                       # Sun C 5.9
        !          12591:          whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
        !          12592:          compiler_needs_object=yes
        !          12593:          tmp_sharedflag='-G' ;;
        !          12594:        *Sun\ F*)                       # Sun Fortran 8.3
        !          12595:          tmp_sharedflag='-G' ;;
        !          12596:        esac
        !          12597:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          12598: 
        !          12599:         if test yes = "$supports_anon_versioning"; then
        !          12600:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
        !          12601:             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
        !          12602:             echo "local: *; };" >> $output_objdir/$libname.ver~
        !          12603:             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
        !          12604:         fi
        !          12605: 
        !          12606:        case $cc_basename in
        !          12607:        tcc*)
        !          12608:          export_dynamic_flag_spec='-rdynamic'
        !          12609:          ;;
        !          12610:        xlf* | bgf* | bgxlf* | mpixlf*)
        !          12611:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
        !          12612:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
        !          12613:          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
        !          12614:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
        !          12615:          if test yes = "$supports_anon_versioning"; then
        !          12616:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
        !          12617:               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
        !          12618:               echo "local: *; };" >> $output_objdir/$libname.ver~
        !          12619:               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
        !          12620:          fi
        !          12621:          ;;
        !          12622:        esac
        !          12623:       else
        !          12624:         ld_shlibs=no
        !          12625:       fi
        !          12626:       ;;
        !          12627: 
        !          12628:     netbsd* | netbsdelf*-gnu)
        !          12629:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
        !          12630:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
        !          12631:        wlarc=
        !          12632:       else
        !          12633:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          12634:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
        !          12635:       fi
        !          12636:       ;;
        !          12637: 
        !          12638:     solaris*)
        !          12639:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
        !          12640:        ld_shlibs=no
        !          12641:        cat <<_LT_EOF 1>&2
        !          12642: 
        !          12643: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
        !          12644: *** create shared libraries on Solaris systems.  Therefore, libtool
        !          12645: *** is disabling shared libraries support.  We urge you to upgrade GNU
        !          12646: *** binutils to release 2.9.1 or newer.  Another option is to modify
        !          12647: *** your PATH or compiler configuration so that the native linker is
        !          12648: *** used, and then restart.
        !          12649: 
        !          12650: _LT_EOF
        !          12651:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
        !          12652:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          12653:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
        !          12654:       else
        !          12655:        ld_shlibs=no
        !          12656:       fi
        !          12657:       ;;
        !          12658: 
        !          12659:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
        !          12660:       case `$LD -v 2>&1` in
        !          12661:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
        !          12662:        ld_shlibs=no
        !          12663:        cat <<_LT_EOF 1>&2
        !          12664: 
        !          12665: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
        !          12666: *** reliably create shared libraries on SCO systems.  Therefore, libtool
        !          12667: *** is disabling shared libraries support.  We urge you to upgrade GNU
        !          12668: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
        !          12669: *** your PATH or compiler configuration so that the native linker is
        !          12670: *** used, and then restart.
        !          12671: 
        !          12672: _LT_EOF
        !          12673:        ;;
        !          12674:        *)
        !          12675:          # For security reasons, it is highly recommended that you always
        !          12676:          # use absolute paths for naming shared libraries, and exclude the
        !          12677:          # DT_RUNPATH tag from executables and libraries.  But doing so
        !          12678:          # requires that you compile everything twice, which is a pain.
        !          12679:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
        !          12680:            hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
        !          12681:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          12682:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
        !          12683:          else
        !          12684:            ld_shlibs=no
        !          12685:          fi
        !          12686:        ;;
        !          12687:       esac
        !          12688:       ;;
        !          12689: 
        !          12690:     sunos4*)
        !          12691:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
        !          12692:       wlarc=
        !          12693:       hardcode_direct=yes
        !          12694:       hardcode_shlibpath_var=no
        !          12695:       ;;
        !          12696: 
        !          12697:     *)
        !          12698:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
        !          12699:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          12700:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
        !          12701:       else
        !          12702:        ld_shlibs=no
        !          12703:       fi
        !          12704:       ;;
        !          12705:     esac
        !          12706: 
        !          12707:     if test no = "$ld_shlibs"; then
        !          12708:       runpath_var=
        !          12709:       hardcode_libdir_flag_spec=
        !          12710:       export_dynamic_flag_spec=
        !          12711:       whole_archive_flag_spec=
        !          12712:     fi
        !          12713:   else
        !          12714:     # PORTME fill in a description of your system's linker (not GNU ld)
        !          12715:     case $host_os in
        !          12716:     aix3*)
        !          12717:       allow_undefined_flag=unsupported
        !          12718:       always_export_symbols=yes
        !          12719:       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
        !          12720:       # Note: this linker hardcodes the directories in LIBPATH if there
        !          12721:       # are no directories specified by -L.
        !          12722:       hardcode_minus_L=yes
        !          12723:       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
        !          12724:        # Neither direct hardcoding nor static linking is supported with a
        !          12725:        # broken collect2.
        !          12726:        hardcode_direct=unsupported
        !          12727:       fi
        !          12728:       ;;
        !          12729: 
        !          12730:     aix[4-9]*)
        !          12731:       if test ia64 = "$host_cpu"; then
        !          12732:        # On IA64, the linker does run time linking by default, so we don't
        !          12733:        # have to do anything special.
        !          12734:        aix_use_runtimelinking=no
        !          12735:        exp_sym_flag='-Bexport'
        !          12736:        no_entry_flag=
        !          12737:       else
        !          12738:        # If we're using GNU nm, then we don't want the "-C" option.
        !          12739:        # -C means demangle to GNU nm, but means don't demangle to AIX nm.
        !          12740:        # Without the "-l" option, or with the "-B" option, AIX nm treats
        !          12741:        # weak defined symbols like other global defined symbols, whereas
        !          12742:        # GNU nm marks them as "W".
        !          12743:        # While the 'weak' keyword is ignored in the Export File, we need
        !          12744:        # it in the Import File for the 'aix-soname' feature, so we have
        !          12745:        # to replace the "-B" option with "-P" for AIX nm.
        !          12746:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
        !          12747:          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
        !          12748:        else
        !          12749:          export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
        !          12750:        fi
        !          12751:        aix_use_runtimelinking=no
        !          12752: 
        !          12753:        # Test if we are trying to use run time linking or normal
        !          12754:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
        !          12755:        # have runtime linking enabled, and use it for executables.
        !          12756:        # For shared libraries, we enable/disable runtime linking
        !          12757:        # depending on the kind of the shared library created -
        !          12758:        # when "with_aix_soname,aix_use_runtimelinking" is:
        !          12759:        # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
        !          12760:        # "aix,yes"  lib.so          shared, rtl:yes, for executables
        !          12761:        #            lib.a           static archive
        !          12762:        # "both,no"  lib.so.V(shr.o) shared, rtl:yes
        !          12763:        #            lib.a(lib.so.V) shared, rtl:no,  for executables
        !          12764:        # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
        !          12765:        #            lib.a(lib.so.V) shared, rtl:no
        !          12766:        # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
        !          12767:        #            lib.a           static archive
        !          12768:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
        !          12769:          for ld_flag in $LDFLAGS; do
        !          12770:          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
        !          12771:            aix_use_runtimelinking=yes
        !          12772:            break
        !          12773:          fi
        !          12774:          done
        !          12775:          if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
        !          12776:            # With aix-soname=svr4, we create the lib.so.V shared archives only,
        !          12777:            # so we don't have lib.a shared libs to link our executables.
        !          12778:            # We have to force runtime linking in this case.
        !          12779:            aix_use_runtimelinking=yes
        !          12780:            LDFLAGS="$LDFLAGS -Wl,-brtl"
        !          12781:          fi
        !          12782:          ;;
        !          12783:        esac
        !          12784: 
        !          12785:        exp_sym_flag='-bexport'
        !          12786:        no_entry_flag='-bnoentry'
        !          12787:       fi
        !          12788: 
        !          12789:       # When large executables or shared objects are built, AIX ld can
        !          12790:       # have problems creating the table of contents.  If linking a library
        !          12791:       # or program results in "error TOC overflow" add -mminimal-toc to
        !          12792:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
        !          12793:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
        !          12794: 
        !          12795:       archive_cmds=''
        !          12796:       hardcode_direct=yes
        !          12797:       hardcode_direct_absolute=yes
        !          12798:       hardcode_libdir_separator=':'
        !          12799:       link_all_deplibs=yes
        !          12800:       file_list_spec='$wl-f,'
        !          12801:       case $with_aix_soname,$aix_use_runtimelinking in
        !          12802:       aix,*) ;; # traditional, no import file
        !          12803:       svr4,* | *,yes) # use import file
        !          12804:        # The Import File defines what to hardcode.
        !          12805:        hardcode_direct=no
        !          12806:        hardcode_direct_absolute=no
        !          12807:        ;;
        !          12808:       esac
        !          12809: 
        !          12810:       if test yes = "$GCC"; then
        !          12811:        case $host_os in aix4.[012]|aix4.[012].*)
        !          12812:        # We only want to do this on AIX 4.2 and lower, the check
        !          12813:        # below for broken collect2 doesn't work under 4.3+
        !          12814:          collect2name=`$CC -print-prog-name=collect2`
        !          12815:          if test -f "$collect2name" &&
        !          12816:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
        !          12817:          then
        !          12818:          # We have reworked collect2
        !          12819:          :
        !          12820:          else
        !          12821:          # We have old collect2
        !          12822:          hardcode_direct=unsupported
        !          12823:          # It fails to find uninstalled libraries when the uninstalled
        !          12824:          # path is not listed in the libpath.  Setting hardcode_minus_L
        !          12825:          # to unsupported forces relinking
        !          12826:          hardcode_minus_L=yes
        !          12827:          hardcode_libdir_flag_spec='-L$libdir'
        !          12828:          hardcode_libdir_separator=
        !          12829:          fi
        !          12830:          ;;
        !          12831:        esac
        !          12832:        shared_flag='-shared'
        !          12833:        if test yes = "$aix_use_runtimelinking"; then
        !          12834:          shared_flag="$shared_flag "'$wl-G'
        !          12835:        fi
        !          12836:        # Need to ensure runtime linking is disabled for the traditional
        !          12837:        # shared library, or the linker may eventually find shared libraries
        !          12838:        # /with/ Import File - we do not want to mix them.
        !          12839:        shared_flag_aix='-shared'
        !          12840:        shared_flag_svr4='-shared $wl-G'
        !          12841:       else
        !          12842:        # not using gcc
        !          12843:        if test ia64 = "$host_cpu"; then
        !          12844:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
        !          12845:        # chokes on -Wl,-G. The following line is correct:
        !          12846:          shared_flag='-G'
        !          12847:        else
        !          12848:          if test yes = "$aix_use_runtimelinking"; then
        !          12849:            shared_flag='$wl-G'
        !          12850:          else
        !          12851:            shared_flag='$wl-bM:SRE'
        !          12852:          fi
        !          12853:          shared_flag_aix='$wl-bM:SRE'
        !          12854:          shared_flag_svr4='$wl-G'
        !          12855:        fi
        !          12856:       fi
        !          12857: 
        !          12858:       export_dynamic_flag_spec='$wl-bexpall'
        !          12859:       # It seems that -bexpall does not export symbols beginning with
        !          12860:       # underscore (_), so it is better to generate a list of symbols to export.
        !          12861:       always_export_symbols=yes
        !          12862:       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
        !          12863:        # Warning - without using the other runtime loading flags (-brtl),
        !          12864:        # -berok will link without error, but may produce a broken library.
        !          12865:        allow_undefined_flag='-berok'
        !          12866:         # Determine the default libpath from the value encoded in an
        !          12867:         # empty executable.
        !          12868:         if test set = "${lt_cv_aix_libpath+set}"; then
        !          12869:   aix_libpath=$lt_cv_aix_libpath
        !          12870: else
        !          12871:   if ${lt_cv_aix_libpath_+:} false; then :
        !          12872:   $as_echo_n "(cached) " >&6
        !          12873: else
        !          12874:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          12875: /* end confdefs.h.  */
        !          12876: 
        !          12877: int main (void)
        !          12878: {
        !          12879: 
        !          12880:  ;
        !          12881:  return 0;
        !          12882: }
        !          12883: _ACEOF
        !          12884: if ac_fn_c_try_link "$LINENO"; then :
        !          12885: 
        !          12886:   lt_aix_libpath_sed='
        !          12887:       /Import File Strings/,/^$/ {
        !          12888:          /^0/ {
        !          12889:              s/^0  *\([^ ]*\) *$/\1/
        !          12890:              p
        !          12891:          }
        !          12892:       }'
        !          12893:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
        !          12894:   # Check for a 64-bit object if we didn't find anything.
        !          12895:   if test -z "$lt_cv_aix_libpath_"; then
        !          12896:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
        !          12897:   fi
        !          12898: fi
        !          12899: rm -f core conftest.err conftest.$ac_objext \
        !          12900:     conftest$ac_exeext conftest.$ac_ext
        !          12901:   if test -z "$lt_cv_aix_libpath_"; then
        !          12902:     lt_cv_aix_libpath_=/usr/lib:/lib
        !          12903:   fi
        !          12904: 
        !          12905: fi
        !          12906: 
        !          12907:   aix_libpath=$lt_cv_aix_libpath_
        !          12908: fi
        !          12909: 
        !          12910:         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
        !          12911:         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
        !          12912:       else
        !          12913:        if test ia64 = "$host_cpu"; then
        !          12914:          hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
        !          12915:          allow_undefined_flag="-z nodefs"
        !          12916:          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
        !          12917:        else
        !          12918:         # Determine the default libpath from the value encoded in an
        !          12919:         # empty executable.
        !          12920:         if test set = "${lt_cv_aix_libpath+set}"; then
        !          12921:   aix_libpath=$lt_cv_aix_libpath
        !          12922: else
        !          12923:   if ${lt_cv_aix_libpath_+:} false; then :
        !          12924:   $as_echo_n "(cached) " >&6
        !          12925: else
        !          12926:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          12927: /* end confdefs.h.  */
        !          12928: 
        !          12929: int main (void)
        !          12930: {
        !          12931: 
        !          12932:  ;
        !          12933:  return 0;
        !          12934: }
        !          12935: _ACEOF
        !          12936: if ac_fn_c_try_link "$LINENO"; then :
        !          12937: 
        !          12938:   lt_aix_libpath_sed='
        !          12939:       /Import File Strings/,/^$/ {
        !          12940:          /^0/ {
        !          12941:              s/^0  *\([^ ]*\) *$/\1/
        !          12942:              p
        !          12943:          }
        !          12944:       }'
        !          12945:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
        !          12946:   # Check for a 64-bit object if we didn't find anything.
        !          12947:   if test -z "$lt_cv_aix_libpath_"; then
        !          12948:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
        !          12949:   fi
        !          12950: fi
        !          12951: rm -f core conftest.err conftest.$ac_objext \
        !          12952:     conftest$ac_exeext conftest.$ac_ext
        !          12953:   if test -z "$lt_cv_aix_libpath_"; then
        !          12954:     lt_cv_aix_libpath_=/usr/lib:/lib
        !          12955:   fi
        !          12956: 
        !          12957: fi
        !          12958: 
        !          12959:   aix_libpath=$lt_cv_aix_libpath_
        !          12960: fi
        !          12961: 
        !          12962:         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
        !          12963:          # Warning - without using the other run time loading flags,
        !          12964:          # -berok will link without error, but may produce a broken library.
        !          12965:          no_undefined_flag=' $wl-bernotok'
        !          12966:          allow_undefined_flag=' $wl-berok'
        !          12967:          if test yes = "$with_gnu_ld"; then
        !          12968:            # We only use this code for GNU lds that support --whole-archive.
        !          12969:            whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
        !          12970:          else
        !          12971:            # Exported symbols can be pulled into shared objects from archives
        !          12972:            whole_archive_flag_spec='$convenience'
        !          12973:          fi
        !          12974:          archive_cmds_need_lc=yes
        !          12975:          archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
        !          12976:          # -brtl affects multiple linker settings, -berok does not and is overridden later
        !          12977:          compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
        !          12978:          if test svr4 != "$with_aix_soname"; then
        !          12979:            # This is similar to how AIX traditionally builds its shared libraries.
        !          12980:            archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
        !          12981:          fi
        !          12982:          if test aix != "$with_aix_soname"; then
        !          12983:            archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
        !          12984:          else
        !          12985:            # used by -dlpreopen to get the symbols
        !          12986:            archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
        !          12987:          fi
        !          12988:          archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
        !          12989:        fi
        !          12990:       fi
        !          12991:       ;;
        !          12992: 
        !          12993:     amigaos*)
        !          12994:       case $host_cpu in
        !          12995:       powerpc)
        !          12996:             # see comment about AmigaOS4 .so support
        !          12997:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          12998:             archive_expsym_cmds=''
        !          12999:         ;;
        !          13000:       m68k)
        !          13001:             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
        !          13002:             hardcode_libdir_flag_spec='-L$libdir'
        !          13003:             hardcode_minus_L=yes
        !          13004:         ;;
        !          13005:       esac
        !          13006:       ;;
        !          13007: 
        !          13008:     bsdi[45]*)
        !          13009:       export_dynamic_flag_spec=-rdynamic
        !          13010:       ;;
        !          13011: 
        !          13012:     cygwin* | mingw* | pw32* | cegcc*)
        !          13013:       # When not using gcc, we currently assume that we are using
        !          13014:       # Microsoft Visual C++.
        !          13015:       # hardcode_libdir_flag_spec is actually meaningless, as there is
        !          13016:       # no search path for DLLs.
        !          13017:       case $cc_basename in
        !          13018:       cl*)
        !          13019:        # Native MSVC
        !          13020:        hardcode_libdir_flag_spec=' '
        !          13021:        allow_undefined_flag=unsupported
        !          13022:        always_export_symbols=yes
        !          13023:        file_list_spec='@'
        !          13024:        # Tell ltmain to make .lib files, not .a files.
        !          13025:        libext=lib
        !          13026:        # Tell ltmain to make .dll files, not .so files.
        !          13027:        shrext_cmds=.dll
        !          13028:        # FIXME: Setting linknames here is a bad hack.
        !          13029:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
        !          13030:        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
        !          13031:             cp "$export_symbols" "$output_objdir/$soname.def";
        !          13032:             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
        !          13033:           else
        !          13034:             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
        !          13035:           fi~
        !          13036:           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
        !          13037:           linknames='
        !          13038:        # The linker will not automatically build a static lib if we build a DLL.
        !          13039:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
        !          13040:        enable_shared_with_static_runtimes=yes
        !          13041:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
        !          13042:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
        !          13043:        # Don't use ranlib
        !          13044:        old_postinstall_cmds='chmod 644 $oldlib'
        !          13045:        postlink_cmds='lt_outputfile="@OUTPUT@"~
        !          13046:           lt_tool_outputfile="@TOOL_OUTPUT@"~
        !          13047:           case $lt_outputfile in
        !          13048:             *.exe|*.EXE) ;;
        !          13049:             *)
        !          13050:               lt_outputfile=$lt_outputfile.exe
        !          13051:               lt_tool_outputfile=$lt_tool_outputfile.exe
        !          13052:               ;;
        !          13053:           esac~
        !          13054:           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
        !          13055:             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
        !          13056:             $RM "$lt_outputfile.manifest";
        !          13057:           fi'
        !          13058:        ;;
        !          13059:       *)
        !          13060:        # Assume MSVC wrapper
        !          13061:        hardcode_libdir_flag_spec=' '
        !          13062:        allow_undefined_flag=unsupported
        !          13063:        # Tell ltmain to make .lib files, not .a files.
        !          13064:        libext=lib
        !          13065:        # Tell ltmain to make .dll files, not .so files.
        !          13066:        shrext_cmds=.dll
        !          13067:        # FIXME: Setting linknames here is a bad hack.
        !          13068:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
        !          13069:        # The linker will automatically build a .lib file if we build a DLL.
        !          13070:        old_archive_from_new_cmds='true'
        !          13071:        # FIXME: Should let the user specify the lib program.
        !          13072:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
        !          13073:        enable_shared_with_static_runtimes=yes
        !          13074:        ;;
        !          13075:       esac
        !          13076:       ;;
        !          13077: 
        !          13078:     darwin* | rhapsody*)
        !          13079: 
        !          13080: 
        !          13081:   archive_cmds_need_lc=no
        !          13082:   hardcode_direct=no
        !          13083:   hardcode_automatic=yes
        !          13084:   hardcode_shlibpath_var=unsupported
        !          13085:   if test yes = "$lt_cv_ld_force_load"; then
        !          13086:     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
        !          13087: 
        !          13088:   else
        !          13089:     whole_archive_flag_spec=''
        !          13090:   fi
        !          13091:   link_all_deplibs=yes
        !          13092:   allow_undefined_flag=$_lt_dar_allow_undefined
        !          13093:   case $cc_basename in
        !          13094:      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
        !          13095:      *) _lt_dar_can_shared=$GCC ;;
        !          13096:   esac
        !          13097:   if test yes = "$_lt_dar_can_shared"; then
        !          13098:     output_verbose_link_cmd=func_echo_all
        !          13099:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
        !          13100:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
        !          13101:     archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
        !          13102:     module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
        !          13103: 
        !          13104:   else
        !          13105:   ld_shlibs=no
        !          13106:   fi
        !          13107: 
        !          13108:       ;;
        !          13109: 
        !          13110:     dgux*)
        !          13111:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
        !          13112:       hardcode_libdir_flag_spec='-L$libdir'
        !          13113:       hardcode_shlibpath_var=no
        !          13114:       ;;
        !          13115: 
        !          13116:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
        !          13117:     # support.  Future versions do this automatically, but an explicit c++rt0.o
        !          13118:     # does not break anything, and helps significantly (at the cost of a little
        !          13119:     # extra space).
        !          13120:     freebsd2.2*)
        !          13121:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
        !          13122:       hardcode_libdir_flag_spec='-R$libdir'
        !          13123:       hardcode_direct=yes
        !          13124:       hardcode_shlibpath_var=no
        !          13125:       ;;
        !          13126: 
        !          13127:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
        !          13128:     freebsd2.*)
        !          13129:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
        !          13130:       hardcode_direct=yes
        !          13131:       hardcode_minus_L=yes
        !          13132:       hardcode_shlibpath_var=no
        !          13133:       ;;
        !          13134: 
        !          13135:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
        !          13136:     freebsd* | dragonfly*)
        !          13137:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
        !          13138:       hardcode_libdir_flag_spec='-R$libdir'
        !          13139:       hardcode_direct=yes
        !          13140:       hardcode_shlibpath_var=no
        !          13141:       ;;
        !          13142: 
        !          13143:     hpux9*)
        !          13144:       if test yes = "$GCC"; then
        !          13145:        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv -f $output_objdir/$soname $lib'
        !          13146:       else
        !          13147:        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv -f $output_objdir/$soname $lib'
        !          13148:       fi
        !          13149:       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
        !          13150:       hardcode_libdir_separator=:
        !          13151:       hardcode_direct=yes
        !          13152: 
        !          13153:       # hardcode_minus_L: Not really in the search PATH,
        !          13154:       # but as the default location of the library.
        !          13155:       hardcode_minus_L=yes
        !          13156:       export_dynamic_flag_spec='$wl-E'
        !          13157:       ;;
        !          13158: 
        !          13159:     hpux10*)
        !          13160:       if test yes,no = "$GCC,$with_gnu_ld"; then
        !          13161:        archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
        !          13162:       else
        !          13163:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
        !          13164:       fi
        !          13165:       if test no = "$with_gnu_ld"; then
        !          13166:        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
        !          13167:        hardcode_libdir_separator=:
        !          13168:        hardcode_direct=yes
        !          13169:        hardcode_direct_absolute=yes
        !          13170:        export_dynamic_flag_spec='$wl-E'
        !          13171:        # hardcode_minus_L: Not really in the search PATH,
        !          13172:        # but as the default location of the library.
        !          13173:        hardcode_minus_L=yes
        !          13174:       fi
        !          13175:       ;;
        !          13176: 
        !          13177:     hpux11*)
        !          13178:       if test yes,no = "$GCC,$with_gnu_ld"; then
        !          13179:        case $host_cpu in
        !          13180:        hppa*64*)
        !          13181:          archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          13182:          ;;
        !          13183:        ia64*)
        !          13184:          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
        !          13185:          ;;
        !          13186:        *)
        !          13187:          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
        !          13188:          ;;
        !          13189:        esac
        !          13190:       else
        !          13191:        case $host_cpu in
        !          13192:        hppa*64*)
        !          13193:          archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          13194:          ;;
        !          13195:        ia64*)
        !          13196:          archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
        !          13197:          ;;
        !          13198:        *)
        !          13199: 
        !          13200:          # Older versions of the 11.00 compiler do not understand -b yet
        !          13201:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
        !          13202:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
        !          13203: $as_echo_n "checking if $CC understands -b... " >&6; }
        !          13204: if ${lt_cv_prog_compiler__b+:} false; then :
        !          13205:   $as_echo_n "(cached) " >&6
        !          13206: else
        !          13207:   lt_cv_prog_compiler__b=no
        !          13208:    save_LDFLAGS=$LDFLAGS
        !          13209:    LDFLAGS="$LDFLAGS -b"
        !          13210:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
        !          13211:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
        !          13212:      # The linker can only warn and ignore the option if not recognized
        !          13213:      # So say no if there are warnings
        !          13214:      if test -s conftest.err; then
        !          13215:        # Append any errors to the config.log.
        !          13216:        cat conftest.err 1>&5
        !          13217:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
        !          13218:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
        !          13219:        if diff conftest.exp conftest.er2 >/dev/null; then
        !          13220:          lt_cv_prog_compiler__b=yes
        !          13221:        fi
        !          13222:      else
        !          13223:        lt_cv_prog_compiler__b=yes
        !          13224:      fi
        !          13225:    fi
        !          13226:    $RM -r conftest*
        !          13227:    LDFLAGS=$save_LDFLAGS
        !          13228: 
        !          13229: fi
        !          13230: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
        !          13231: $as_echo "$lt_cv_prog_compiler__b" >&6; }
        !          13232: 
        !          13233: if test yes = "$lt_cv_prog_compiler__b"; then
        !          13234:     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
        !          13235: else
        !          13236:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
        !          13237: fi
        !          13238: 
        !          13239:          ;;
        !          13240:        esac
        !          13241:       fi
        !          13242:       if test no = "$with_gnu_ld"; then
        !          13243:        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
        !          13244:        hardcode_libdir_separator=:
        !          13245: 
        !          13246:        case $host_cpu in
        !          13247:        hppa*64*|ia64*)
        !          13248:          hardcode_direct=no
        !          13249:          hardcode_shlibpath_var=no
        !          13250:          ;;
        !          13251:        *)
        !          13252:          hardcode_direct=yes
        !          13253:          hardcode_direct_absolute=yes
        !          13254:          export_dynamic_flag_spec='$wl-E'
        !          13255: 
        !          13256:          # hardcode_minus_L: Not really in the search PATH,
        !          13257:          # but as the default location of the library.
        !          13258:          hardcode_minus_L=yes
        !          13259:          ;;
        !          13260:        esac
        !          13261:       fi
        !          13262:       ;;
        !          13263: 
        !          13264:     irix5* | irix6* | nonstopux*)
        !          13265:       if test yes = "$GCC"; then
        !          13266:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
        !          13267:        # Try to use the -exported_symbol ld option, if it does not
        !          13268:        # work, assume that -exports_file does not work either and
        !          13269:        # implicitly export all symbols.
        !          13270:        # This should be the same for all languages, so no per-tag cache variable.
        !          13271:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
        !          13272: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
        !          13273: if ${lt_cv_irix_exported_symbol+:} false; then :
        !          13274:   $as_echo_n "(cached) " >&6
        !          13275: else
        !          13276:   save_LDFLAGS=$LDFLAGS
        !          13277:           LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
        !          13278:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          13279: /* end confdefs.h.  */
        !          13280: int foo (void) { return 0; }
        !          13281: _ACEOF
        !          13282: if ac_fn_c_try_link "$LINENO"; then :
        !          13283:   lt_cv_irix_exported_symbol=yes
        !          13284: else
        !          13285:   lt_cv_irix_exported_symbol=no
        !          13286: fi
        !          13287: rm -f core conftest.err conftest.$ac_objext \
        !          13288:     conftest$ac_exeext conftest.$ac_ext
        !          13289:            LDFLAGS=$save_LDFLAGS
        !          13290: fi
        !          13291: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
        !          13292: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
        !          13293:        if test yes = "$lt_cv_irix_exported_symbol"; then
        !          13294:           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
        !          13295:        fi
        !          13296:        link_all_deplibs=no
        !          13297:       else
        !          13298:        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
        !          13299:        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
        !          13300:       fi
        !          13301:       archive_cmds_need_lc='no'
        !          13302:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
        !          13303:       hardcode_libdir_separator=:
        !          13304:       inherit_rpath=yes
        !          13305:       link_all_deplibs=yes
        !          13306:       ;;
        !          13307: 
        !          13308:     linux*)
        !          13309:       case $cc_basename in
        !          13310:       tcc*)
        !          13311:        # Fabrice Bellard et al's Tiny C Compiler
        !          13312:        ld_shlibs=yes
        !          13313:        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
        !          13314:        ;;
        !          13315:       esac
        !          13316:       ;;
        !          13317: 
        !          13318:     netbsd* | netbsdelf*-gnu)
        !          13319:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
        !          13320:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
        !          13321:       else
        !          13322:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
        !          13323:       fi
        !          13324:       hardcode_libdir_flag_spec='-R$libdir'
        !          13325:       hardcode_direct=yes
        !          13326:       hardcode_shlibpath_var=no
        !          13327:       ;;
        !          13328: 
        !          13329:     newsos6)
        !          13330:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
        !          13331:       hardcode_direct=yes
        !          13332:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
        !          13333:       hardcode_libdir_separator=:
        !          13334:       hardcode_shlibpath_var=no
        !          13335:       ;;
        !          13336: 
        !          13337:     *nto* | *qnx*)
        !          13338:       ;;
        !          13339: 
        !          13340:     openbsd* | bitrig*)
        !          13341:       if test -f /usr/libexec/ld.so; then
        !          13342:        hardcode_direct=yes
        !          13343:        hardcode_shlibpath_var=no
        !          13344:        hardcode_direct_absolute=yes
        !          13345:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
        !          13346:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
        !          13347:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
        !          13348:          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
        !          13349:          export_dynamic_flag_spec='$wl-E'
        !          13350:        else
        !          13351:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
        !          13352:          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
        !          13353:        fi
        !          13354:       else
        !          13355:        ld_shlibs=no
        !          13356:       fi
        !          13357:       ;;
        !          13358: 
        !          13359:     os2*)
        !          13360:       hardcode_libdir_flag_spec='-L$libdir'
        !          13361:       hardcode_minus_L=yes
        !          13362:       allow_undefined_flag=unsupported
        !          13363:       shrext_cmds=.dll
        !          13364:       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
        !          13365:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
        !          13366:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
        !          13367:        $ECHO EXPORTS >> $output_objdir/$libname.def~
        !          13368:        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
        !          13369:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
        !          13370:        emximp -o $lib $output_objdir/$libname.def'
        !          13371:       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
        !          13372:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
        !          13373:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
        !          13374:        $ECHO EXPORTS >> $output_objdir/$libname.def~
        !          13375:        prefix_cmds="$SED"~
        !          13376:        if test EXPORTS = "`$SED 1q $export_symbols`"; then
        !          13377:          prefix_cmds="$prefix_cmds -e 1d";
        !          13378:        fi~
        !          13379:        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
        !          13380:        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
        !          13381:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
        !          13382:        emximp -o $lib $output_objdir/$libname.def'
        !          13383:       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
        !          13384:       enable_shared_with_static_runtimes=yes
        !          13385:       ;;
        !          13386: 
        !          13387:     osf3*)
        !          13388:       if test yes = "$GCC"; then
        !          13389:        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
        !          13390:        archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
        !          13391:       else
        !          13392:        allow_undefined_flag=' -expect_unresolved \*'
        !          13393:        archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
        !          13394:       fi
        !          13395:       archive_cmds_need_lc='no'
        !          13396:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
        !          13397:       hardcode_libdir_separator=:
        !          13398:       ;;
        !          13399: 
        !          13400:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
        !          13401:       if test yes = "$GCC"; then
        !          13402:        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
        !          13403:        archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
        !          13404:        hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
        !          13405:       else
        !          13406:        allow_undefined_flag=' -expect_unresolved \*'
        !          13407:        archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
        !          13408:        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
        !          13409:           $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
        !          13410: 
        !          13411:        # Both c and cxx compiler support -rpath directly
        !          13412:        hardcode_libdir_flag_spec='-rpath $libdir'
        !          13413:       fi
        !          13414:       archive_cmds_need_lc='no'
        !          13415:       hardcode_libdir_separator=:
        !          13416:       ;;
        !          13417: 
        !          13418:     solaris*)
        !          13419:       no_undefined_flag=' -z defs'
        !          13420:       if test yes = "$GCC"; then
        !          13421:        wlarc='$wl'
        !          13422:        archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          13423:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
        !          13424:           $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
        !          13425:       else
        !          13426:        case `$CC -V 2>&1` in
        !          13427:        *"Compilers 5.0"*)
        !          13428:          wlarc=''
        !          13429:          archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
        !          13430:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
        !          13431:             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
        !          13432:          ;;
        !          13433:        *)
        !          13434:          wlarc='$wl'
        !          13435:          archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
        !          13436:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
        !          13437:             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
        !          13438:          ;;
        !          13439:        esac
        !          13440:       fi
        !          13441:       hardcode_libdir_flag_spec='-R$libdir'
        !          13442:       hardcode_shlibpath_var=no
        !          13443:       case $host_os in
        !          13444:       solaris2.[0-5] | solaris2.[0-5].*) ;;
        !          13445:       *)
        !          13446:        # The compiler driver will combine and reorder linker options,
        !          13447:        # but understands '-z linker_flag'.  GCC discards it without '$wl',
        !          13448:        # but is careful enough not to reorder.
        !          13449:        # Supported since Solaris 2.6 (maybe 2.5.1?)
        !          13450:        if test yes = "$GCC"; then
        !          13451:          whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
        !          13452:        else
        !          13453:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
        !          13454:        fi
        !          13455:        ;;
        !          13456:       esac
        !          13457:       link_all_deplibs=yes
        !          13458:       ;;
        !          13459: 
        !          13460:     sunos4*)
        !          13461:       if test sequent = "$host_vendor"; then
        !          13462:        # Use $CC to link under sequent, because it throws in some extra .o
        !          13463:        # files that make .init and .fini sections work.
        !          13464:        archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
        !          13465:       else
        !          13466:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
        !          13467:       fi
        !          13468:       hardcode_libdir_flag_spec='-L$libdir'
        !          13469:       hardcode_direct=yes
        !          13470:       hardcode_minus_L=yes
        !          13471:       hardcode_shlibpath_var=no
        !          13472:       ;;
        !          13473: 
        !          13474:     sysv4)
        !          13475:       case $host_vendor in
        !          13476:        sni)
        !          13477:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
        !          13478:          hardcode_direct=yes # is this really true???
        !          13479:        ;;
        !          13480:        siemens)
        !          13481:          ## LD is ld it makes a PLAMLIB
        !          13482:          ## CC just makes a GrossModule.
        !          13483:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
        !          13484:          reload_cmds='$CC -r -o $output$reload_objs'
        !          13485:          hardcode_direct=no
        !          13486:         ;;
        !          13487:        motorola)
        !          13488:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
        !          13489:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
        !          13490:        ;;
        !          13491:       esac
        !          13492:       runpath_var='LD_RUN_PATH'
        !          13493:       hardcode_shlibpath_var=no
        !          13494:       ;;
        !          13495: 
        !          13496:     sysv4.3*)
        !          13497:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
        !          13498:       hardcode_shlibpath_var=no
        !          13499:       export_dynamic_flag_spec='-Bexport'
        !          13500:       ;;
        !          13501: 
        !          13502:     sysv4*MP*)
        !          13503:       if test -d /usr/nec; then
        !          13504:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
        !          13505:        hardcode_shlibpath_var=no
        !          13506:        runpath_var=LD_RUN_PATH
        !          13507:        hardcode_runpath_var=yes
        !          13508:        ld_shlibs=yes
        !          13509:       fi
        !          13510:       ;;
        !          13511: 
        !          13512:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
        !          13513:       no_undefined_flag='$wl-z,text'
        !          13514:       archive_cmds_need_lc=no
        !          13515:       hardcode_shlibpath_var=no
        !          13516:       runpath_var='LD_RUN_PATH'
        !          13517: 
        !          13518:       if test yes = "$GCC"; then
        !          13519:        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          13520:        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          13521:       else
        !          13522:        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          13523:        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          13524:       fi
        !          13525:       ;;
        !          13526: 
        !          13527:     sysv5* | sco3.2v5* | sco5v6*)
        !          13528:       # Note: We CANNOT use -z defs as we might desire, because we do not
        !          13529:       # link with -lc, and that would cause any symbols used from libc to
        !          13530:       # always be unresolved, which means just about no library would
        !          13531:       # ever link correctly.  If we're not using GNU ld we use -z text
        !          13532:       # though, which does catch some bad symbols but isn't as heavy-handed
        !          13533:       # as -z defs.
        !          13534:       no_undefined_flag='$wl-z,text'
        !          13535:       allow_undefined_flag='$wl-z,nodefs'
        !          13536:       archive_cmds_need_lc=no
        !          13537:       hardcode_shlibpath_var=no
        !          13538:       hardcode_libdir_flag_spec='$wl-R,$libdir'
        !          13539:       hardcode_libdir_separator=':'
        !          13540:       link_all_deplibs=yes
        !          13541:       export_dynamic_flag_spec='$wl-Bexport'
        !          13542:       runpath_var='LD_RUN_PATH'
        !          13543: 
        !          13544:       if test yes = "$GCC"; then
        !          13545:        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          13546:        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          13547:       else
        !          13548:        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          13549:        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          13550:       fi
        !          13551:       ;;
        !          13552: 
        !          13553:     uts4*)
        !          13554:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
        !          13555:       hardcode_libdir_flag_spec='-L$libdir'
        !          13556:       hardcode_shlibpath_var=no
        !          13557:       ;;
        !          13558: 
        !          13559:     *)
        !          13560:       ld_shlibs=no
        !          13561:       ;;
        !          13562:     esac
        !          13563: 
        !          13564:     if test sni = "$host_vendor"; then
        !          13565:       case $host in
        !          13566:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
        !          13567:        export_dynamic_flag_spec='$wl-Blargedynsym'
        !          13568:        ;;
        !          13569:       esac
        !          13570:     fi
        !          13571:   fi
        !          13572: 
        !          13573: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
        !          13574: $as_echo "$ld_shlibs" >&6; }
        !          13575: test no = "$ld_shlibs" && can_build_shared=no
        !          13576: 
        !          13577: with_gnu_ld=$with_gnu_ld
        !          13578: 
        !          13579: 
        !          13580: 
        !          13581: 
        !          13582: 
        !          13583: 
        !          13584: 
        !          13585: 
        !          13586: 
        !          13587: 
        !          13588: 
        !          13589: 
        !          13590: 
        !          13591: 
        !          13592: 
        !          13593: #
        !          13594: # Do we need to explicitly link libc?
        !          13595: #
        !          13596: case "x$archive_cmds_need_lc" in
        !          13597: x|xyes)
        !          13598:   # Assume -lc should be added
        !          13599:   archive_cmds_need_lc=yes
        !          13600: 
        !          13601:   if test yes,yes = "$GCC,$enable_shared"; then
        !          13602:     case $archive_cmds in
        !          13603:     *'~'*)
        !          13604:       # FIXME: we may have to deal with multi-command sequences.
        !          13605:       ;;
        !          13606:     '$CC '*)
        !          13607:       # Test whether the compiler implicitly links with -lc since on some
        !          13608:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
        !          13609:       # to ld, don't add -lc before -lgcc.
        !          13610:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
        !          13611: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
        !          13612: if ${lt_cv_archive_cmds_need_lc+:} false; then :
        !          13613:   $as_echo_n "(cached) " >&6
        !          13614: else
        !          13615:   $RM conftest*
        !          13616:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
        !          13617: 
        !          13618:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
        !          13619:   (eval $ac_compile) 2>&5
        !          13620:   ac_status=$?
        !          13621:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          13622:   test $ac_status = 0; } 2>conftest.err; then
        !          13623:          soname=conftest
        !          13624:          lib=conftest
        !          13625:          libobjs=conftest.$ac_objext
        !          13626:          deplibs=
        !          13627:          wl=$lt_prog_compiler_wl
        !          13628:          pic_flag=$lt_prog_compiler_pic
        !          13629:          compiler_flags=-v
        !          13630:          linker_flags=-v
        !          13631:          verstring=
        !          13632:          output_objdir=.
        !          13633:          libname=conftest
        !          13634:          lt_save_allow_undefined_flag=$allow_undefined_flag
        !          13635:          allow_undefined_flag=
        !          13636:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
        !          13637:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
        !          13638:   ac_status=$?
        !          13639:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          13640:   test $ac_status = 0; }
        !          13641:          then
        !          13642:            lt_cv_archive_cmds_need_lc=no
        !          13643:          else
        !          13644:            lt_cv_archive_cmds_need_lc=yes
        !          13645:          fi
        !          13646:          allow_undefined_flag=$lt_save_allow_undefined_flag
        !          13647:        else
        !          13648:          cat conftest.err 1>&5
        !          13649:        fi
        !          13650:        $RM conftest*
        !          13651: 
        !          13652: fi
        !          13653: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
        !          13654: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
        !          13655:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
        !          13656:       ;;
        !          13657:     esac
        !          13658:   fi
        !          13659:   ;;
        !          13660: esac
        !          13661: 
        !          13662: 
        !          13663: 
        !          13664: 
        !          13665: 
        !          13666: 
        !          13667: 
        !          13668: 
        !          13669: 
        !          13670: 
        !          13671: 
        !          13672: 
        !          13673: 
        !          13674: 
        !          13675: 
        !          13676: 
        !          13677: 
        !          13678: 
        !          13679: 
        !          13680: 
        !          13681: 
        !          13682: 
        !          13683: 
        !          13684: 
        !          13685: 
        !          13686: 
        !          13687: 
        !          13688: 
        !          13689: 
        !          13690: 
        !          13691: 
        !          13692: 
        !          13693: 
        !          13694: 
        !          13695: 
        !          13696: 
        !          13697: 
        !          13698: 
        !          13699: 
        !          13700: 
        !          13701: 
        !          13702: 
        !          13703: 
        !          13704: 
        !          13705: 
        !          13706: 
        !          13707: 
        !          13708: 
        !          13709: 
        !          13710: 
        !          13711: 
        !          13712: 
        !          13713: 
        !          13714: 
        !          13715: 
        !          13716: 
        !          13717: 
        !          13718: 
        !          13719: 
        !          13720: 
        !          13721: 
        !          13722: 
        !          13723: 
        !          13724: 
        !          13725: 
        !          13726: 
        !          13727: 
        !          13728: 
        !          13729: 
        !          13730: 
        !          13731: 
        !          13732: 
        !          13733: 
        !          13734: 
        !          13735: 
        !          13736: 
        !          13737: 
        !          13738: 
        !          13739: 
        !          13740: 
        !          13741: 
        !          13742: 
        !          13743: 
        !          13744: 
        !          13745: 
        !          13746: 
        !          13747: 
        !          13748: 
        !          13749: 
        !          13750: 
        !          13751: 
        !          13752: 
        !          13753: 
        !          13754: 
        !          13755: 
        !          13756: 
        !          13757: 
        !          13758: 
        !          13759: 
        !          13760: 
        !          13761: 
        !          13762: 
        !          13763: 
        !          13764: 
        !          13765: 
        !          13766: 
        !          13767: 
        !          13768: 
        !          13769: 
        !          13770: 
        !          13771: 
        !          13772: 
        !          13773: 
        !          13774: 
        !          13775: 
        !          13776: 
        !          13777: 
        !          13778: 
        !          13779: 
        !          13780: 
        !          13781: 
        !          13782: 
        !          13783: 
        !          13784: 
        !          13785: 
        !          13786: 
        !          13787: 
        !          13788: 
        !          13789: 
        !          13790: 
        !          13791: 
        !          13792: 
        !          13793: 
        !          13794: 
        !          13795: 
        !          13796: 
        !          13797: 
        !          13798: 
        !          13799: 
        !          13800: 
        !          13801: 
        !          13802: 
        !          13803: 
        !          13804: 
        !          13805: 
        !          13806: 
        !          13807: 
        !          13808: 
        !          13809: 
        !          13810: 
        !          13811: 
        !          13812: 
        !          13813:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
        !          13814: $as_echo_n "checking dynamic linker characteristics... " >&6; }
        !          13815: 
        !          13816: if test yes = "$GCC"; then
        !          13817:   case $host_os in
        !          13818:     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
        !          13819:     *) lt_awk_arg='/^libraries:/' ;;
        !          13820:   esac
        !          13821:   case $host_os in
        !          13822:     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
        !          13823:     *) lt_sed_strip_eq='s|=/|/|g' ;;
        !          13824:   esac
        !          13825:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
        !          13826:   case $lt_search_path_spec in
        !          13827:   *\;*)
        !          13828:     # if the path contains ";" then we assume it to be the separator
        !          13829:     # otherwise default to the standard path separator (i.e. ":") - it is
        !          13830:     # assumed that no part of a normal pathname contains ";" but that should
        !          13831:     # okay in the real world where ";" in dirpaths is itself problematic.
        !          13832:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
        !          13833:     ;;
        !          13834:   *)
        !          13835:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
        !          13836:     ;;
        !          13837:   esac
        !          13838:   # Ok, now we have the path, separated by spaces, we can step through it
        !          13839:   # and add multilib dir if necessary...
        !          13840:   lt_tmp_lt_search_path_spec=
        !          13841:   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
        !          13842:   # ...but if some path component already ends with the multilib dir we assume
        !          13843:   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
        !          13844:   case "$lt_multi_os_dir; $lt_search_path_spec " in
        !          13845:   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
        !          13846:     lt_multi_os_dir=
        !          13847:     ;;
        !          13848:   esac
        !          13849:   for lt_sys_path in $lt_search_path_spec; do
        !          13850:     if test -d "$lt_sys_path$lt_multi_os_dir"; then
        !          13851:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
        !          13852:     elif test -n "$lt_multi_os_dir"; then
        !          13853:       test -d "$lt_sys_path" && \
        !          13854:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
        !          13855:     fi
        !          13856:   done
        !          13857:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
        !          13858: BEGIN {RS = " "; FS = "/|\n";} {
        !          13859:   lt_foo = "";
        !          13860:   lt_count = 0;
        !          13861:   for (lt_i = NF; lt_i > 0; lt_i--) {
        !          13862:     if ($lt_i != "" && $lt_i != ".") {
        !          13863:       if ($lt_i == "..") {
        !          13864:         lt_count++;
        !          13865:       } else {
        !          13866:         if (lt_count == 0) {
        !          13867:           lt_foo = "/" $lt_i lt_foo;
        !          13868:         } else {
        !          13869:           lt_count--;
        !          13870:         }
        !          13871:       }
        !          13872:     }
        !          13873:   }
        !          13874:   if (lt_foo != "") { lt_freq[lt_foo]++; }
        !          13875:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
        !          13876: }'`
        !          13877:   # AWK program above erroneously prepends '/' to C:/dos/paths
        !          13878:   # for these hosts.
        !          13879:   case $host_os in
        !          13880:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
        !          13881:       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
        !          13882:   esac
        !          13883:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
        !          13884: else
        !          13885:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
        !          13886: fi
        !          13887: library_names_spec=
        !          13888: libname_spec='lib$name'
        !          13889: soname_spec=
        !          13890: shrext_cmds=.so
        !          13891: postinstall_cmds=
        !          13892: postuninstall_cmds=
        !          13893: finish_cmds=
        !          13894: finish_eval=
        !          13895: shlibpath_var=
        !          13896: shlibpath_overrides_runpath=unknown
        !          13897: version_type=none
        !          13898: dynamic_linker="$host_os ld.so"
        !          13899: sys_lib_dlsearch_path_spec="/lib /usr/lib"
        !          13900: need_lib_prefix=unknown
        !          13901: hardcode_into_libs=no
        !          13902: 
        !          13903: # when you set need_version to no, make sure it does not cause -set_version
        !          13904: # flags to be left without arguments
        !          13905: need_version=unknown
        !          13906: 
        !          13907: 
        !          13908: 
        !          13909: case $host_os in
        !          13910: aix3*)
        !          13911:   version_type=linux # correct to gnu/linux during the next big refactor
        !          13912:   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
        !          13913:   shlibpath_var=LIBPATH
        !          13914: 
        !          13915:   # AIX 3 has no versioning support, so we append a major version to the name.
        !          13916:   soname_spec='$libname$release$shared_ext$major'
        !          13917:   ;;
        !          13918: 
        !          13919: aix[4-9]*)
        !          13920:   version_type=linux # correct to gnu/linux during the next big refactor
        !          13921:   need_lib_prefix=no
        !          13922:   need_version=no
        !          13923:   hardcode_into_libs=yes
        !          13924:   if test ia64 = "$host_cpu"; then
        !          13925:     # AIX 5 supports IA64
        !          13926:     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
        !          13927:     shlibpath_var=LD_LIBRARY_PATH
        !          13928:   else
        !          13929:     # With GCC up to 2.95.x, collect2 would create an import file
        !          13930:     # for dependence libraries.  The import file would start with
        !          13931:     # the line '#! .'.  This would cause the generated library to
        !          13932:     # depend on '.', always an invalid library.  This was fixed in
        !          13933:     # development snapshots of GCC prior to 3.0.
        !          13934:     case $host_os in
        !          13935:       aix4 | aix4.[01] | aix4.[01].*)
        !          13936:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
        !          13937:           echo ' yes '
        !          13938:           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
        !          13939:        :
        !          13940:       else
        !          13941:        can_build_shared=no
        !          13942:       fi
        !          13943:       ;;
        !          13944:     esac
        !          13945:     # Using Import Files as archive members, it is possible to support
        !          13946:     # filename-based versioning of shared library archives on AIX. While
        !          13947:     # this would work for both with and without runtime linking, it will
        !          13948:     # prevent static linking of such archives. So we do filename-based
        !          13949:     # shared library versioning with .so extension only, which is used
        !          13950:     # when both runtime linking and shared linking is enabled.
        !          13951:     # Unfortunately, runtime linking may impact performance, so we do
        !          13952:     # not want this to be the default eventually. Also, we use the
        !          13953:     # versioned .so libs for executables only if there is the -brtl
        !          13954:     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
        !          13955:     # To allow for filename-based versioning support, we need to create
        !          13956:     # libNAME.so.V as an archive file, containing:
        !          13957:     # *) an Import File, referring to the versioned filename of the
        !          13958:     #    archive as well as the shared archive member, telling the
        !          13959:     #    bitwidth (32 or 64) of that shared object, and providing the
        !          13960:     #    list of exported symbols of that shared object, eventually
        !          13961:     #    decorated with the 'weak' keyword
        !          13962:     # *) the shared object with the F_LOADONLY flag set, to really avoid
        !          13963:     #    it being seen by the linker.
        !          13964:     # At run time we better use the real file rather than another symlink,
        !          13965:     # but for link time we create the symlink libNAME.so -> libNAME.so.V
        !          13966: 
        !          13967:     case $with_aix_soname,$aix_use_runtimelinking in
        !          13968:     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
        !          13969:     # soname into executable. Probably we can add versioning support to
        !          13970:     # collect2, so additional links can be useful in future.
        !          13971:     aix,yes) # traditional libtool
        !          13972:       dynamic_linker='AIX unversionable lib.so'
        !          13973:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
        !          13974:       # instead of lib<name>.a to let people know that these are not
        !          13975:       # typical AIX shared libraries.
        !          13976:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          13977:       ;;
        !          13978:     aix,no) # traditional AIX only
        !          13979:       dynamic_linker='AIX lib.a(lib.so.V)'
        !          13980:       # We preserve .a as extension for shared libraries through AIX4.2
        !          13981:       # and later when we are not doing run time linking.
        !          13982:       library_names_spec='$libname$release.a $libname.a'
        !          13983:       soname_spec='$libname$release$shared_ext$major'
        !          13984:       ;;
        !          13985:     svr4,*) # full svr4 only
        !          13986:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
        !          13987:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
        !          13988:       # We do not specify a path in Import Files, so LIBPATH fires.
        !          13989:       shlibpath_overrides_runpath=yes
        !          13990:       ;;
        !          13991:     *,yes) # both, prefer svr4
        !          13992:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
        !          13993:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
        !          13994:       # unpreferred sharedlib libNAME.a needs extra handling
        !          13995:       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
        !          13996:       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
        !          13997:       # We do not specify a path in Import Files, so LIBPATH fires.
        !          13998:       shlibpath_overrides_runpath=yes
        !          13999:       ;;
        !          14000:     *,no) # both, prefer aix
        !          14001:       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
        !          14002:       library_names_spec='$libname$release.a $libname.a'
        !          14003:       soname_spec='$libname$release$shared_ext$major'
        !          14004:       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
        !          14005:       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
        !          14006:       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
        !          14007:       ;;
        !          14008:     esac
        !          14009:     shlibpath_var=LIBPATH
        !          14010:   fi
        !          14011:   ;;
        !          14012: 
        !          14013: amigaos*)
        !          14014:   case $host_cpu in
        !          14015:   powerpc)
        !          14016:     # Since July 2007 AmigaOS4 officially supports .so libraries.
        !          14017:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
        !          14018:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          14019:     ;;
        !          14020:   m68k)
        !          14021:     library_names_spec='$libname.ixlibrary $libname.a'
        !          14022:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
        !          14023:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
        !          14024:     ;;
        !          14025:   esac
        !          14026:   ;;
        !          14027: 
        !          14028: beos*)
        !          14029:   library_names_spec='$libname$shared_ext'
        !          14030:   dynamic_linker="$host_os ld.so"
        !          14031:   shlibpath_var=LIBRARY_PATH
        !          14032:   ;;
        !          14033: 
        !          14034: bsdi[45]*)
        !          14035:   version_type=linux # correct to gnu/linux during the next big refactor
        !          14036:   need_version=no
        !          14037:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          14038:   soname_spec='$libname$release$shared_ext$major'
        !          14039:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
        !          14040:   shlibpath_var=LD_LIBRARY_PATH
        !          14041:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
        !          14042:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
        !          14043:   # the default ld.so.conf also contains /usr/contrib/lib and
        !          14044:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
        !          14045:   # libtool to hard-code these into programs
        !          14046:   ;;
        !          14047: 
        !          14048: cygwin* | mingw* | pw32* | cegcc*)
        !          14049:   version_type=windows
        !          14050:   shrext_cmds=.dll
        !          14051:   need_version=no
        !          14052:   need_lib_prefix=no
        !          14053: 
        !          14054:   case $GCC,$cc_basename in
        !          14055:   yes,*)
        !          14056:     # gcc
        !          14057:     library_names_spec='$libname.dll.a'
        !          14058:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
        !          14059:     postinstall_cmds='base_file=`basename \$file`~
        !          14060:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
        !          14061:       dldir=$destdir/`dirname \$dlpath`~
        !          14062:       test -d \$dldir || mkdir -p \$dldir~
        !          14063:       $install_prog $dir/$dlname \$dldir/$dlname~
        !          14064:       chmod a+x \$dldir/$dlname~
        !          14065:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
        !          14066:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
        !          14067:       fi'
        !          14068:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
        !          14069:       dlpath=$dir/\$dldll~
        !          14070:        $RM \$dlpath'
        !          14071:     shlibpath_overrides_runpath=yes
        !          14072: 
        !          14073:     case $host_os in
        !          14074:     cygwin*)
        !          14075:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
        !          14076:       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
        !          14077: 
        !          14078:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
        !          14079:       ;;
        !          14080:     mingw* | cegcc*)
        !          14081:       # MinGW DLLs use traditional 'lib' prefix
        !          14082:       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
        !          14083:       ;;
        !          14084:     pw32*)
        !          14085:       # pw32 DLLs use 'pw' prefix rather than 'lib'
        !          14086:       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
        !          14087:       ;;
        !          14088:     esac
        !          14089:     dynamic_linker='Win32 ld.exe'
        !          14090:     ;;
        !          14091: 
        !          14092:   *,cl*)
        !          14093:     # Native MSVC
        !          14094:     libname_spec='$name'
        !          14095:     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
        !          14096:     library_names_spec='$libname.dll.lib'
        !          14097: 
        !          14098:     case $build_os in
        !          14099:     mingw*)
        !          14100:       sys_lib_search_path_spec=
        !          14101:       lt_save_ifs=$IFS
        !          14102:       IFS=';'
        !          14103:       for lt_path in $LIB
        !          14104:       do
        !          14105:         IFS=$lt_save_ifs
        !          14106:         # Let DOS variable expansion print the short 8.3 style file name.
        !          14107:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
        !          14108:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
        !          14109:       done
        !          14110:       IFS=$lt_save_ifs
        !          14111:       # Convert to MSYS style.
        !          14112:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
        !          14113:       ;;
        !          14114:     cygwin*)
        !          14115:       # Convert to unix form, then to dos form, then back to unix form
        !          14116:       # but this time dos style (no spaces!) so that the unix form looks
        !          14117:       # like /cygdrive/c/PROGRA~1:/cygdr...
        !          14118:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
        !          14119:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
        !          14120:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
        !          14121:       ;;
        !          14122:     *)
        !          14123:       sys_lib_search_path_spec=$LIB
        !          14124:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
        !          14125:         # It is most probably a Windows format PATH.
        !          14126:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
        !          14127:       else
        !          14128:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
        !          14129:       fi
        !          14130:       # FIXME: find the short name or the path components, as spaces are
        !          14131:       # common. (e.g. "Program Files" -> "PROGRA~1")
        !          14132:       ;;
        !          14133:     esac
        !          14134: 
        !          14135:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
        !          14136:     postinstall_cmds='base_file=`basename \$file`~
        !          14137:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
        !          14138:       dldir=$destdir/`dirname \$dlpath`~
        !          14139:       test -d \$dldir || mkdir -p \$dldir~
        !          14140:       $install_prog $dir/$dlname \$dldir/$dlname'
        !          14141:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
        !          14142:       dlpath=$dir/\$dldll~
        !          14143:        $RM \$dlpath'
        !          14144:     shlibpath_overrides_runpath=yes
        !          14145:     dynamic_linker='Win32 link.exe'
        !          14146:     ;;
        !          14147: 
        !          14148:   *)
        !          14149:     # Assume MSVC wrapper
        !          14150:     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
        !          14151:     dynamic_linker='Win32 ld.exe'
        !          14152:     ;;
        !          14153:   esac
        !          14154:   # FIXME: first we should search . and the directory the executable is in
        !          14155:   shlibpath_var=PATH
        !          14156:   ;;
        !          14157: 
        !          14158: darwin* | rhapsody*)
        !          14159:   dynamic_linker="$host_os dyld"
        !          14160:   version_type=darwin
        !          14161:   need_lib_prefix=no
        !          14162:   need_version=no
        !          14163:   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
        !          14164:   soname_spec='$libname$release$major$shared_ext'
        !          14165:   shlibpath_overrides_runpath=yes
        !          14166:   shlibpath_var=DYLD_LIBRARY_PATH
        !          14167:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
        !          14168: 
        !          14169:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
        !          14170:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
        !          14171:   ;;
        !          14172: 
        !          14173: dgux*)
        !          14174:   version_type=linux # correct to gnu/linux during the next big refactor
        !          14175:   need_lib_prefix=no
        !          14176:   need_version=no
        !          14177:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          14178:   soname_spec='$libname$release$shared_ext$major'
        !          14179:   shlibpath_var=LD_LIBRARY_PATH
        !          14180:   ;;
        !          14181: 
        !          14182: freebsd* | dragonfly*)
        !          14183:   # DragonFly does not have aout.  When/if they implement a new
        !          14184:   # versioning mechanism, adjust this.
        !          14185:   if test -x /usr/bin/objformat; then
        !          14186:     objformat=`/usr/bin/objformat`
        !          14187:   else
        !          14188:     case $host_os in
        !          14189:     freebsd[23].*) objformat=aout ;;
        !          14190:     *) objformat=elf ;;
        !          14191:     esac
        !          14192:   fi
        !          14193:   version_type=freebsd-$objformat
        !          14194:   case $version_type in
        !          14195:     freebsd-elf*)
        !          14196:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          14197:       soname_spec='$libname$release$shared_ext$major'
        !          14198:       need_version=no
        !          14199:       need_lib_prefix=no
        !          14200:       ;;
        !          14201:     freebsd-*)
        !          14202:       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
        !          14203:       need_version=yes
        !          14204:       ;;
        !          14205:   esac
        !          14206:   shlibpath_var=LD_LIBRARY_PATH
        !          14207:   case $host_os in
        !          14208:   freebsd2.*)
        !          14209:     shlibpath_overrides_runpath=yes
        !          14210:     ;;
        !          14211:   freebsd3.[01]* | freebsdelf3.[01]*)
        !          14212:     shlibpath_overrides_runpath=yes
        !          14213:     hardcode_into_libs=yes
        !          14214:     ;;
        !          14215:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
        !          14216:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
        !          14217:     shlibpath_overrides_runpath=no
        !          14218:     hardcode_into_libs=yes
        !          14219:     ;;
        !          14220:   *) # from 4.6 on, and DragonFly
        !          14221:     shlibpath_overrides_runpath=yes
        !          14222:     hardcode_into_libs=yes
        !          14223:     ;;
        !          14224:   esac
        !          14225:   ;;
        !          14226: 
        !          14227: haiku*)
        !          14228:   version_type=linux # correct to gnu/linux during the next big refactor
        !          14229:   need_lib_prefix=no
        !          14230:   need_version=no
        !          14231:   dynamic_linker="$host_os runtime_loader"
        !          14232:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          14233:   soname_spec='$libname$release$shared_ext$major'
        !          14234:   shlibpath_var=LIBRARY_PATH
        !          14235:   shlibpath_overrides_runpath=no
        !          14236:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
        !          14237:   hardcode_into_libs=yes
        !          14238:   ;;
        !          14239: 
        !          14240: hpux9* | hpux10* | hpux11*)
        !          14241:   # Give a soname corresponding to the major version so that dld.sl refuses to
        !          14242:   # link against other versions.
        !          14243:   version_type=sunos
        !          14244:   need_lib_prefix=no
        !          14245:   need_version=no
        !          14246:   case $host_cpu in
        !          14247:   ia64*)
        !          14248:     shrext_cmds='.so'
        !          14249:     hardcode_into_libs=yes
        !          14250:     dynamic_linker="$host_os dld.so"
        !          14251:     shlibpath_var=LD_LIBRARY_PATH
        !          14252:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
        !          14253:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          14254:     soname_spec='$libname$release$shared_ext$major'
        !          14255:     if test 32 = "$HPUX_IA64_MODE"; then
        !          14256:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
        !          14257:       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
        !          14258:     else
        !          14259:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
        !          14260:       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
        !          14261:     fi
        !          14262:     ;;
        !          14263:   hppa*64*)
        !          14264:     shrext_cmds='.sl'
        !          14265:     hardcode_into_libs=yes
        !          14266:     dynamic_linker="$host_os dld.sl"
        !          14267:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
        !          14268:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
        !          14269:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          14270:     soname_spec='$libname$release$shared_ext$major'
        !          14271:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
        !          14272:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
        !          14273:     ;;
        !          14274:   *)
        !          14275:     shrext_cmds='.sl'
        !          14276:     dynamic_linker="$host_os dld.sl"
        !          14277:     shlibpath_var=SHLIB_PATH
        !          14278:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
        !          14279:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          14280:     soname_spec='$libname$release$shared_ext$major'
        !          14281:     ;;
        !          14282:   esac
        !          14283:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
        !          14284:   postinstall_cmds='chmod 555 $lib'
        !          14285:   # or fails outright, so override atomically:
        !          14286:   install_override_mode=555
        !          14287:   ;;
        !          14288: 
        !          14289: interix[3-9]*)
        !          14290:   version_type=linux # correct to gnu/linux during the next big refactor
        !          14291:   need_lib_prefix=no
        !          14292:   need_version=no
        !          14293:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          14294:   soname_spec='$libname$release$shared_ext$major'
        !          14295:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
        !          14296:   shlibpath_var=LD_LIBRARY_PATH
        !          14297:   shlibpath_overrides_runpath=no
        !          14298:   hardcode_into_libs=yes
        !          14299:   ;;
        !          14300: 
        !          14301: irix5* | irix6* | nonstopux*)
        !          14302:   case $host_os in
        !          14303:     nonstopux*) version_type=nonstopux ;;
        !          14304:     *)
        !          14305:        if test yes = "$lt_cv_prog_gnu_ld"; then
        !          14306:                version_type=linux # correct to gnu/linux during the next big refactor
        !          14307:        else
        !          14308:                version_type=irix
        !          14309:        fi ;;
        !          14310:   esac
        !          14311:   need_lib_prefix=no
        !          14312:   need_version=no
        !          14313:   soname_spec='$libname$release$shared_ext$major'
        !          14314:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
        !          14315:   case $host_os in
        !          14316:   irix5* | nonstopux*)
        !          14317:     libsuff= shlibsuff=
        !          14318:     ;;
        !          14319:   *)
        !          14320:     case $LD in # libtool.m4 will add one of these switches to LD
        !          14321:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
        !          14322:       libsuff= shlibsuff= libmagic=32-bit;;
        !          14323:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
        !          14324:       libsuff=32 shlibsuff=N32 libmagic=N32;;
        !          14325:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
        !          14326:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
        !          14327:     *) libsuff= shlibsuff= libmagic=never-match;;
        !          14328:     esac
        !          14329:     ;;
        !          14330:   esac
        !          14331:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
        !          14332:   shlibpath_overrides_runpath=no
        !          14333:   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
        !          14334:   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
        !          14335:   hardcode_into_libs=yes
        !          14336:   ;;
        !          14337: 
        !          14338: # No shared lib support for Linux oldld, aout, or coff.
        !          14339: linux*oldld* | linux*aout* | linux*coff*)
        !          14340:   dynamic_linker=no
        !          14341:   ;;
        !          14342: 
        !          14343: linux*android*)
        !          14344:   version_type=none # Android doesn't support versioned libraries.
        !          14345:   need_lib_prefix=no
        !          14346:   need_version=no
        !          14347:   library_names_spec='$libname$release$shared_ext'
        !          14348:   soname_spec='$libname$release$shared_ext'
        !          14349:   finish_cmds=
        !          14350:   shlibpath_var=LD_LIBRARY_PATH
        !          14351:   shlibpath_overrides_runpath=yes
        !          14352: 
        !          14353:   # This implies no fast_install, which is unacceptable.
        !          14354:   # Some rework will be needed to allow for fast_install
        !          14355:   # before this can be enabled.
        !          14356:   hardcode_into_libs=yes
        !          14357: 
        !          14358:   dynamic_linker='Android linker'
        !          14359:   # Don't embed -rpath directories since the linker doesn't support them.
        !          14360:   hardcode_libdir_flag_spec='-L$libdir'
        !          14361:   ;;
        !          14362: 
        !          14363: # This must be glibc/ELF.
        !          14364: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
        !          14365:   version_type=linux # correct to gnu/linux during the next big refactor
        !          14366:   need_lib_prefix=no
        !          14367:   need_version=no
        !          14368:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          14369:   soname_spec='$libname$release$shared_ext$major'
        !          14370:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
        !          14371:   shlibpath_var=LD_LIBRARY_PATH
        !          14372:   shlibpath_overrides_runpath=no
        !          14373: 
        !          14374:   # Some binutils ld are patched to set DT_RUNPATH
        !          14375:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
        !          14376:   $as_echo_n "(cached) " >&6
        !          14377: else
        !          14378:   lt_cv_shlibpath_overrides_runpath=no
        !          14379:     save_LDFLAGS=$LDFLAGS
        !          14380:     save_libdir=$libdir
        !          14381:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
        !          14382:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
        !          14383:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          14384: /* end confdefs.h.  */
        !          14385: 
        !          14386: int main (void)
        !          14387: {
        !          14388: 
        !          14389:  ;
        !          14390:  return 0;
        !          14391: }
        !          14392: _ACEOF
        !          14393: if ac_fn_c_try_link "$LINENO"; then :
        !          14394:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
        !          14395:   lt_cv_shlibpath_overrides_runpath=yes
        !          14396: fi
        !          14397: fi
        !          14398: rm -f core conftest.err conftest.$ac_objext \
        !          14399:     conftest$ac_exeext conftest.$ac_ext
        !          14400:     LDFLAGS=$save_LDFLAGS
        !          14401:     libdir=$save_libdir
        !          14402: 
        !          14403: fi
        !          14404: 
        !          14405:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
        !          14406: 
        !          14407:   # This implies no fast_install, which is unacceptable.
        !          14408:   # Some rework will be needed to allow for fast_install
        !          14409:   # before this can be enabled.
        !          14410:   hardcode_into_libs=yes
        !          14411: 
        !          14412:   # Ideally, we could use ldconfig to report *all* directores which are
        !          14413:   # searched for libraries, however this is still not possible.  Aside from not
        !          14414:   # being certain /sbin/ldconfig is available, command
        !          14415:   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
        !          14416:   # even though it is searched at run-time.  Try to do the best guess by
        !          14417:   # appending ld.so.conf contents (and includes) to the search path.
        !          14418:   if test -f /etc/ld.so.conf; then
        !          14419:     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
        !          14420:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
        !          14421:   fi
        !          14422: 
        !          14423:   # We used to test for /lib/ld.so.1 and disable shared libraries on
        !          14424:   # powerpc, because MkLinux only supported shared libraries with the
        !          14425:   # GNU dynamic linker.  Since this was broken with cross compilers,
        !          14426:   # most powerpc-linux boxes support dynamic linking these days and
        !          14427:   # people can always --disable-shared, the test was removed, and we
        !          14428:   # assume the GNU/Linux dynamic linker is in use.
        !          14429:   dynamic_linker='GNU/Linux ld.so'
        !          14430:   ;;
        !          14431: 
        !          14432: netbsdelf*-gnu)
        !          14433:   version_type=linux
        !          14434:   need_lib_prefix=no
        !          14435:   need_version=no
        !          14436:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
        !          14437:   soname_spec='${libname}${release}${shared_ext}$major'
        !          14438:   shlibpath_var=LD_LIBRARY_PATH
        !          14439:   shlibpath_overrides_runpath=no
        !          14440:   hardcode_into_libs=yes
        !          14441:   dynamic_linker='NetBSD ld.elf_so'
        !          14442:   ;;
        !          14443: 
        !          14444: netbsd*)
        !          14445:   version_type=sunos
        !          14446:   need_lib_prefix=no
        !          14447:   need_version=no
        !          14448:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
        !          14449:     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
        !          14450:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
        !          14451:     dynamic_linker='NetBSD (a.out) ld.so'
        !          14452:   else
        !          14453:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          14454:     soname_spec='$libname$release$shared_ext$major'
        !          14455:     dynamic_linker='NetBSD ld.elf_so'
        !          14456:   fi
        !          14457:   shlibpath_var=LD_LIBRARY_PATH
        !          14458:   shlibpath_overrides_runpath=yes
        !          14459:   hardcode_into_libs=yes
        !          14460:   ;;
        !          14461: 
        !          14462: newsos6)
        !          14463:   version_type=linux # correct to gnu/linux during the next big refactor
        !          14464:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          14465:   shlibpath_var=LD_LIBRARY_PATH
        !          14466:   shlibpath_overrides_runpath=yes
        !          14467:   ;;
        !          14468: 
        !          14469: *nto* | *qnx*)
        !          14470:   version_type=qnx
        !          14471:   need_lib_prefix=no
        !          14472:   need_version=no
        !          14473:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          14474:   soname_spec='$libname$release$shared_ext$major'
        !          14475:   shlibpath_var=LD_LIBRARY_PATH
        !          14476:   shlibpath_overrides_runpath=no
        !          14477:   hardcode_into_libs=yes
        !          14478:   dynamic_linker='ldqnx.so'
        !          14479:   ;;
        !          14480: 
        !          14481: openbsd* | bitrig*)
        !          14482:   version_type=sunos
        !          14483:   sys_lib_dlsearch_path_spec=/usr/lib
        !          14484:   need_lib_prefix=no
        !          14485:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
        !          14486:     need_version=no
        !          14487:   else
        !          14488:     need_version=yes
        !          14489:   fi
        !          14490:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
        !          14491:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
        !          14492:   shlibpath_var=LD_LIBRARY_PATH
        !          14493:   shlibpath_overrides_runpath=yes
        !          14494:   ;;
        !          14495: 
        !          14496: os2*)
        !          14497:   libname_spec='$name'
        !          14498:   version_type=windows
        !          14499:   shrext_cmds=.dll
        !          14500:   need_version=no
        !          14501:   need_lib_prefix=no
        !          14502:   # OS/2 can only load a DLL with a base name of 8 characters or less.
        !          14503:   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
        !          14504:     v=$($ECHO $release$versuffix | tr -d .-);
        !          14505:     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
        !          14506:     $ECHO $n$v`$shared_ext'
        !          14507:   library_names_spec='${libname}_dll.$libext'
        !          14508:   dynamic_linker='OS/2 ld.exe'
        !          14509:   shlibpath_var=BEGINLIBPATH
        !          14510:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
        !          14511:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
        !          14512:   postinstall_cmds='base_file=`basename \$file`~
        !          14513:     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
        !          14514:     dldir=$destdir/`dirname \$dlpath`~
        !          14515:     test -d \$dldir || mkdir -p \$dldir~
        !          14516:     $install_prog $dir/$dlname \$dldir/$dlname~
        !          14517:     chmod a+x \$dldir/$dlname~
        !          14518:     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
        !          14519:       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
        !          14520:     fi'
        !          14521:   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
        !          14522:     dlpath=$dir/\$dldll~
        !          14523:     $RM \$dlpath'
        !          14524:   ;;
        !          14525: 
        !          14526: osf3* | osf4* | osf5*)
        !          14527:   version_type=osf
        !          14528:   need_lib_prefix=no
        !          14529:   need_version=no
        !          14530:   soname_spec='$libname$release$shared_ext$major'
        !          14531:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          14532:   shlibpath_var=LD_LIBRARY_PATH
        !          14533:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
        !          14534:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
        !          14535:   ;;
        !          14536: 
        !          14537: rdos*)
        !          14538:   dynamic_linker=no
        !          14539:   ;;
        !          14540: 
        !          14541: solaris*)
        !          14542:   version_type=linux # correct to gnu/linux during the next big refactor
        !          14543:   need_lib_prefix=no
        !          14544:   need_version=no
        !          14545:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          14546:   soname_spec='$libname$release$shared_ext$major'
        !          14547:   shlibpath_var=LD_LIBRARY_PATH
        !          14548:   shlibpath_overrides_runpath=yes
        !          14549:   hardcode_into_libs=yes
        !          14550:   # ldd complains unless libraries are executable
        !          14551:   postinstall_cmds='chmod +x $lib'
        !          14552:   ;;
        !          14553: 
        !          14554: sunos4*)
        !          14555:   version_type=sunos
        !          14556:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
        !          14557:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
        !          14558:   shlibpath_var=LD_LIBRARY_PATH
        !          14559:   shlibpath_overrides_runpath=yes
        !          14560:   if test yes = "$with_gnu_ld"; then
        !          14561:     need_lib_prefix=no
        !          14562:   fi
        !          14563:   need_version=yes
        !          14564:   ;;
        !          14565: 
        !          14566: sysv4 | sysv4.3*)
        !          14567:   version_type=linux # correct to gnu/linux during the next big refactor
        !          14568:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          14569:   soname_spec='$libname$release$shared_ext$major'
        !          14570:   shlibpath_var=LD_LIBRARY_PATH
        !          14571:   case $host_vendor in
        !          14572:     sni)
        !          14573:       shlibpath_overrides_runpath=no
        !          14574:       need_lib_prefix=no
        !          14575:       runpath_var=LD_RUN_PATH
        !          14576:       ;;
        !          14577:     siemens)
        !          14578:       need_lib_prefix=no
        !          14579:       ;;
        !          14580:     motorola)
        !          14581:       need_lib_prefix=no
        !          14582:       need_version=no
        !          14583:       shlibpath_overrides_runpath=no
        !          14584:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
        !          14585:       ;;
        !          14586:   esac
        !          14587:   ;;
        !          14588: 
        !          14589: sysv4*MP*)
        !          14590:   if test -d /usr/nec; then
        !          14591:     version_type=linux # correct to gnu/linux during the next big refactor
        !          14592:     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
        !          14593:     soname_spec='$libname$shared_ext.$major'
        !          14594:     shlibpath_var=LD_LIBRARY_PATH
        !          14595:   fi
        !          14596:   ;;
        !          14597: 
        !          14598: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
        !          14599:   version_type=sco
        !          14600:   need_lib_prefix=no
        !          14601:   need_version=no
        !          14602:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
        !          14603:   soname_spec='$libname$release$shared_ext$major'
        !          14604:   shlibpath_var=LD_LIBRARY_PATH
        !          14605:   shlibpath_overrides_runpath=yes
        !          14606:   hardcode_into_libs=yes
        !          14607:   if test yes = "$with_gnu_ld"; then
        !          14608:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
        !          14609:   else
        !          14610:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
        !          14611:     case $host_os in
        !          14612:       sco3.2v5*)
        !          14613:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
        !          14614:        ;;
        !          14615:     esac
        !          14616:   fi
        !          14617:   sys_lib_dlsearch_path_spec='/usr/lib'
        !          14618:   ;;
        !          14619: 
        !          14620: tpf*)
        !          14621:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
        !          14622:   version_type=linux # correct to gnu/linux during the next big refactor
        !          14623:   need_lib_prefix=no
        !          14624:   need_version=no
        !          14625:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          14626:   shlibpath_var=LD_LIBRARY_PATH
        !          14627:   shlibpath_overrides_runpath=no
        !          14628:   hardcode_into_libs=yes
        !          14629:   ;;
        !          14630: 
        !          14631: uts4*)
        !          14632:   version_type=linux # correct to gnu/linux during the next big refactor
        !          14633:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          14634:   soname_spec='$libname$release$shared_ext$major'
        !          14635:   shlibpath_var=LD_LIBRARY_PATH
        !          14636:   ;;
        !          14637: 
        !          14638: *)
        !          14639:   dynamic_linker=no
        !          14640:   ;;
        !          14641: esac
        !          14642: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
        !          14643: $as_echo "$dynamic_linker" >&6; }
        !          14644: test no = "$dynamic_linker" && can_build_shared=no
        !          14645: 
        !          14646: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
        !          14647: if test yes = "$GCC"; then
        !          14648:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
        !          14649: fi
        !          14650: 
        !          14651: if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
        !          14652:   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
        !          14653: fi
        !          14654: 
        !          14655: if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
        !          14656:   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
        !          14657: fi
        !          14658: 
        !          14659: # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
        !          14660: configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
        !          14661: 
        !          14662: # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
        !          14663: func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
        !          14664: 
        !          14665: # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
        !          14666: configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
        !          14667: 
        !          14668: 
        !          14669: 
        !          14670: 
        !          14671: 
        !          14672: 
        !          14673: 
        !          14674: 
        !          14675: 
        !          14676: 
        !          14677: 
        !          14678: 
        !          14679: 
        !          14680: 
        !          14681: 
        !          14682: 
        !          14683: 
        !          14684: 
        !          14685: 
        !          14686: 
        !          14687: 
        !          14688: 
        !          14689: 
        !          14690: 
        !          14691: 
        !          14692: 
        !          14693: 
        !          14694: 
        !          14695: 
        !          14696: 
        !          14697: 
        !          14698: 
        !          14699: 
        !          14700: 
        !          14701: 
        !          14702: 
        !          14703: 
        !          14704: 
        !          14705: 
        !          14706: 
        !          14707: 
        !          14708: 
        !          14709: 
        !          14710: 
        !          14711: 
        !          14712: 
        !          14713: 
        !          14714: 
        !          14715: 
        !          14716: 
        !          14717: 
        !          14718: 
        !          14719: 
        !          14720: 
        !          14721: 
        !          14722: 
        !          14723: 
        !          14724: 
        !          14725: 
        !          14726: 
        !          14727: 
        !          14728: 
        !          14729: 
        !          14730: 
        !          14731: 
        !          14732: 
        !          14733: 
        !          14734: 
        !          14735: 
        !          14736: 
        !          14737: 
        !          14738: 
        !          14739: 
        !          14740: 
        !          14741: 
        !          14742: 
        !          14743: 
        !          14744: 
        !          14745: 
        !          14746: 
        !          14747: 
        !          14748: 
        !          14749: 
        !          14750: 
        !          14751: 
        !          14752: 
        !          14753: 
        !          14754: 
        !          14755: 
        !          14756: 
        !          14757: 
        !          14758: 
        !          14759: 
        !          14760: 
        !          14761: 
        !          14762: 
        !          14763: 
        !          14764:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
        !          14765: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
        !          14766: hardcode_action=
        !          14767: if test -n "$hardcode_libdir_flag_spec" ||
        !          14768:    test -n "$runpath_var" ||
        !          14769:    test yes = "$hardcode_automatic"; then
        !          14770: 
        !          14771:   # We can hardcode non-existent directories.
        !          14772:   if test no != "$hardcode_direct" &&
        !          14773:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
        !          14774:      # have to relink, otherwise we might link with an installed library
        !          14775:      # when we should be linking with a yet-to-be-installed one
        !          14776:      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
        !          14777:      test no != "$hardcode_minus_L"; then
        !          14778:     # Linking always hardcodes the temporary library directory.
        !          14779:     hardcode_action=relink
        !          14780:   else
        !          14781:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
        !          14782:     hardcode_action=immediate
        !          14783:   fi
        !          14784: else
        !          14785:   # We cannot hardcode anything, or else we can only hardcode existing
        !          14786:   # directories.
        !          14787:   hardcode_action=unsupported
        !          14788: fi
        !          14789: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
        !          14790: $as_echo "$hardcode_action" >&6; }
        !          14791: 
        !          14792: if test relink = "$hardcode_action" ||
        !          14793:    test yes = "$inherit_rpath"; then
        !          14794:   # Fast installation is not supported
        !          14795:   enable_fast_install=no
        !          14796: elif test yes = "$shlibpath_overrides_runpath" ||
        !          14797:      test no = "$enable_shared"; then
        !          14798:   # Fast installation is not necessary
        !          14799:   enable_fast_install=needless
        !          14800: fi
        !          14801: 
        !          14802: 
        !          14803: 
        !          14804: 
        !          14805: 
        !          14806: 
        !          14807:   if test yes != "$enable_dlopen"; then
        !          14808:   enable_dlopen=unknown
        !          14809:   enable_dlopen_self=unknown
        !          14810:   enable_dlopen_self_static=unknown
        !          14811: else
        !          14812:   lt_cv_dlopen=no
        !          14813:   lt_cv_dlopen_libs=
        !          14814: 
        !          14815:   case $host_os in
        !          14816:   beos*)
        !          14817:     lt_cv_dlopen=load_add_on
        !          14818:     lt_cv_dlopen_libs=
        !          14819:     lt_cv_dlopen_self=yes
        !          14820:     ;;
        !          14821: 
        !          14822:   mingw* | pw32* | cegcc*)
        !          14823:     lt_cv_dlopen=LoadLibrary
        !          14824:     lt_cv_dlopen_libs=
        !          14825:     ;;
        !          14826: 
        !          14827:   cygwin*)
        !          14828:     lt_cv_dlopen=dlopen
        !          14829:     lt_cv_dlopen_libs=
        !          14830:     ;;
        !          14831: 
        !          14832:   darwin*)
        !          14833:     # if libdl is installed we need to link against it
        !          14834:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
        !          14835: $as_echo_n "checking for dlopen in -ldl... " >&6; }
        !          14836: if ${ac_cv_lib_dl_dlopen+:} false; then :
        !          14837:   $as_echo_n "(cached) " >&6
        !          14838: else
        !          14839:   ac_check_lib_save_LIBS=$LIBS
        !          14840: LIBS="-ldl  $LIBS"
        !          14841: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          14842: /* end confdefs.h.  */
        !          14843: 
        !          14844: 
        !          14845: #ifdef __cplusplus
        !          14846: extern "C"
        !          14847: #endif
        !          14848: char dlopen ();
        !          14849: int main (void)
        !          14850: {
        !          14851: return dlopen ();
        !          14852:  ;
        !          14853:  return 0;
        !          14854: }
        !          14855: _ACEOF
        !          14856: if ac_fn_c_try_link "$LINENO"; then :
        !          14857:   ac_cv_lib_dl_dlopen=yes
        !          14858: else
        !          14859:   ac_cv_lib_dl_dlopen=no
        !          14860: fi
        !          14861: rm -f core conftest.err conftest.$ac_objext \
        !          14862:     conftest$ac_exeext conftest.$ac_ext
        !          14863: LIBS=$ac_check_lib_save_LIBS
        !          14864: fi
        !          14865: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
        !          14866: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
        !          14867: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
        !          14868:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
        !          14869: else
        !          14870: 
        !          14871:     lt_cv_dlopen=dyld
        !          14872:     lt_cv_dlopen_libs=
        !          14873:     lt_cv_dlopen_self=yes
        !          14874: 
        !          14875: fi
        !          14876: 
        !          14877:     ;;
        !          14878: 
        !          14879:   tpf*)
        !          14880:     # Don't try to run any link tests for TPF.  We know it's impossible
        !          14881:     # because TPF is a cross-compiler, and we know how we open DSOs.
        !          14882:     lt_cv_dlopen=dlopen
        !          14883:     lt_cv_dlopen_libs=
        !          14884:     lt_cv_dlopen_self=no
        !          14885:     ;;
        !          14886: 
        !          14887:   *)
        !          14888:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
        !          14889: if test "x$ac_cv_func_shl_load" = xyes; then :
        !          14890:   lt_cv_dlopen=shl_load
        !          14891: else
        !          14892:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
        !          14893: $as_echo_n "checking for shl_load in -ldld... " >&6; }
        !          14894: if ${ac_cv_lib_dld_shl_load+:} false; then :
        !          14895:   $as_echo_n "(cached) " >&6
        !          14896: else
        !          14897:   ac_check_lib_save_LIBS=$LIBS
        !          14898: LIBS="-ldld  $LIBS"
        !          14899: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          14900: /* end confdefs.h.  */
        !          14901: 
        !          14902: 
        !          14903: #ifdef __cplusplus
        !          14904: extern "C"
        !          14905: #endif
        !          14906: char shl_load ();
        !          14907: int main (void)
        !          14908: {
        !          14909: return shl_load ();
        !          14910:  ;
        !          14911:  return 0;
        !          14912: }
        !          14913: _ACEOF
        !          14914: if ac_fn_c_try_link "$LINENO"; then :
        !          14915:   ac_cv_lib_dld_shl_load=yes
        !          14916: else
        !          14917:   ac_cv_lib_dld_shl_load=no
        !          14918: fi
        !          14919: rm -f core conftest.err conftest.$ac_objext \
        !          14920:     conftest$ac_exeext conftest.$ac_ext
        !          14921: LIBS=$ac_check_lib_save_LIBS
        !          14922: fi
        !          14923: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
        !          14924: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
        !          14925: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
        !          14926:   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
        !          14927: else
        !          14928:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
        !          14929: if test "x$ac_cv_func_dlopen" = xyes; then :
        !          14930:   lt_cv_dlopen=dlopen
        !          14931: else
        !          14932:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
        !          14933: $as_echo_n "checking for dlopen in -ldl... " >&6; }
        !          14934: if ${ac_cv_lib_dl_dlopen+:} false; then :
        !          14935:   $as_echo_n "(cached) " >&6
        !          14936: else
        !          14937:   ac_check_lib_save_LIBS=$LIBS
        !          14938: LIBS="-ldl  $LIBS"
        !          14939: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          14940: /* end confdefs.h.  */
        !          14941: 
        !          14942: 
        !          14943: #ifdef __cplusplus
        !          14944: extern "C"
        !          14945: #endif
        !          14946: char dlopen ();
        !          14947: int main (void)
        !          14948: {
        !          14949: return dlopen ();
        !          14950:  ;
        !          14951:  return 0;
        !          14952: }
        !          14953: _ACEOF
        !          14954: if ac_fn_c_try_link "$LINENO"; then :
        !          14955:   ac_cv_lib_dl_dlopen=yes
        !          14956: else
        !          14957:   ac_cv_lib_dl_dlopen=no
        !          14958: fi
        !          14959: rm -f core conftest.err conftest.$ac_objext \
        !          14960:     conftest$ac_exeext conftest.$ac_ext
        !          14961: LIBS=$ac_check_lib_save_LIBS
        !          14962: fi
        !          14963: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
        !          14964: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
        !          14965: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
        !          14966:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
        !          14967: else
        !          14968:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
        !          14969: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
        !          14970: if ${ac_cv_lib_svld_dlopen+:} false; then :
        !          14971:   $as_echo_n "(cached) " >&6
        !          14972: else
        !          14973:   ac_check_lib_save_LIBS=$LIBS
        !          14974: LIBS="-lsvld  $LIBS"
        !          14975: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          14976: /* end confdefs.h.  */
        !          14977: 
        !          14978: 
        !          14979: #ifdef __cplusplus
        !          14980: extern "C"
        !          14981: #endif
        !          14982: char dlopen ();
        !          14983: int main (void)
        !          14984: {
        !          14985: return dlopen ();
        !          14986:  ;
        !          14987:  return 0;
        !          14988: }
        !          14989: _ACEOF
        !          14990: if ac_fn_c_try_link "$LINENO"; then :
        !          14991:   ac_cv_lib_svld_dlopen=yes
        !          14992: else
        !          14993:   ac_cv_lib_svld_dlopen=no
        !          14994: fi
        !          14995: rm -f core conftest.err conftest.$ac_objext \
        !          14996:     conftest$ac_exeext conftest.$ac_ext
        !          14997: LIBS=$ac_check_lib_save_LIBS
        !          14998: fi
        !          14999: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
        !          15000: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
        !          15001: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
        !          15002:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
        !          15003: else
        !          15004:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
        !          15005: $as_echo_n "checking for dld_link in -ldld... " >&6; }
        !          15006: if ${ac_cv_lib_dld_dld_link+:} false; then :
        !          15007:   $as_echo_n "(cached) " >&6
        !          15008: else
        !          15009:   ac_check_lib_save_LIBS=$LIBS
        !          15010: LIBS="-ldld  $LIBS"
        !          15011: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          15012: /* end confdefs.h.  */
        !          15013: 
        !          15014: 
        !          15015: #ifdef __cplusplus
        !          15016: extern "C"
        !          15017: #endif
        !          15018: char dld_link ();
        !          15019: int main (void)
        !          15020: {
        !          15021: return dld_link ();
        !          15022:  ;
        !          15023:  return 0;
        !          15024: }
        !          15025: _ACEOF
        !          15026: if ac_fn_c_try_link "$LINENO"; then :
        !          15027:   ac_cv_lib_dld_dld_link=yes
        !          15028: else
        !          15029:   ac_cv_lib_dld_dld_link=no
        !          15030: fi
        !          15031: rm -f core conftest.err conftest.$ac_objext \
        !          15032:     conftest$ac_exeext conftest.$ac_ext
        !          15033: LIBS=$ac_check_lib_save_LIBS
        !          15034: fi
        !          15035: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
        !          15036: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
        !          15037: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
        !          15038:   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
        !          15039: fi
        !          15040: 
        !          15041: 
        !          15042: fi
        !          15043: 
        !          15044: 
        !          15045: fi
        !          15046: 
        !          15047: 
        !          15048: fi
        !          15049: 
        !          15050: 
        !          15051: fi
        !          15052: 
        !          15053: 
        !          15054: fi
        !          15055: 
        !          15056:     ;;
        !          15057:   esac
        !          15058: 
        !          15059:   if test no = "$lt_cv_dlopen"; then
        !          15060:     enable_dlopen=no
        !          15061:   else
        !          15062:     enable_dlopen=yes
        !          15063:   fi
        !          15064: 
        !          15065:   case $lt_cv_dlopen in
        !          15066:   dlopen)
        !          15067:     save_CPPFLAGS=$CPPFLAGS
        !          15068:     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
        !          15069: 
        !          15070:     save_LDFLAGS=$LDFLAGS
        !          15071:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
        !          15072: 
        !          15073:     save_LIBS=$LIBS
        !          15074:     LIBS="$lt_cv_dlopen_libs $LIBS"
        !          15075: 
        !          15076:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
        !          15077: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
        !          15078: if ${lt_cv_dlopen_self+:} false; then :
        !          15079:   $as_echo_n "(cached) " >&6
        !          15080: else
        !          15081:          if test yes = "$cross_compiling"; then :
        !          15082:   lt_cv_dlopen_self=cross
        !          15083: else
        !          15084:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
        !          15085:   lt_status=$lt_dlunknown
        !          15086:   cat > conftest.$ac_ext <<_LT_EOF
        !          15087: #line $LINENO "configure"
        !          15088: #include "confdefs.h"
        !          15089: 
        !          15090: #if HAVE_DLFCN_H
        !          15091: #include <dlfcn.h>
        !          15092: #endif
        !          15093: 
        !          15094: #include <stdio.h>
        !          15095: 
        !          15096: #ifdef RTLD_GLOBAL
        !          15097: #  define LT_DLGLOBAL          RTLD_GLOBAL
        !          15098: #else
        !          15099: #  ifdef DL_GLOBAL
        !          15100: #    define LT_DLGLOBAL                DL_GLOBAL
        !          15101: #  else
        !          15102: #    define LT_DLGLOBAL                0
        !          15103: #  endif
        !          15104: #endif
        !          15105: 
        !          15106: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
        !          15107:    find out it does not work in some platform. */
        !          15108: #ifndef LT_DLLAZY_OR_NOW
        !          15109: #  ifdef RTLD_LAZY
        !          15110: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
        !          15111: #  else
        !          15112: #    ifdef DL_LAZY
        !          15113: #      define LT_DLLAZY_OR_NOW         DL_LAZY
        !          15114: #    else
        !          15115: #      ifdef RTLD_NOW
        !          15116: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
        !          15117: #      else
        !          15118: #        ifdef DL_NOW
        !          15119: #          define LT_DLLAZY_OR_NOW     DL_NOW
        !          15120: #        else
        !          15121: #          define LT_DLLAZY_OR_NOW     0
        !          15122: #        endif
        !          15123: #      endif
        !          15124: #    endif
        !          15125: #  endif
        !          15126: #endif
        !          15127: 
        !          15128: /* When -fvisibility=hidden is used, assume the code has been annotated
        !          15129:    correspondingly for the symbols needed.  */
        !          15130: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
        !          15131: int fnord () __attribute__((visibility("default")));
        !          15132: #endif
        !          15133: 
        !          15134: int fnord () { return 42; }
        !          15135: int main ()
        !          15136: {
        !          15137:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
        !          15138:   int status = $lt_dlunknown;
        !          15139: 
        !          15140:   if (self)
        !          15141:     {
        !          15142:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
        !          15143:       else
        !          15144:         {
        !          15145:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
        !          15146:           else puts (dlerror ());
        !          15147:        }
        !          15148:       /* dlclose (self); */
        !          15149:     }
        !          15150:   else
        !          15151:     puts (dlerror ());
        !          15152: 
        !          15153:   return status;
        !          15154: }
        !          15155: _LT_EOF
        !          15156:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
        !          15157:   (eval $ac_link) 2>&5
        !          15158:   ac_status=$?
        !          15159:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          15160:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
        !          15161:     (./conftest; exit; ) >&5 2>/dev/null
        !          15162:     lt_status=$?
        !          15163:     case x$lt_status in
        !          15164:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
        !          15165:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
        !          15166:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
        !          15167:     esac
        !          15168:   else :
        !          15169:     # compilation failed
        !          15170:     lt_cv_dlopen_self=no
        !          15171:   fi
        !          15172: fi
        !          15173: rm -fr conftest*
        !          15174: 
        !          15175: 
        !          15176: fi
        !          15177: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
        !          15178: $as_echo "$lt_cv_dlopen_self" >&6; }
        !          15179: 
        !          15180:     if test yes = "$lt_cv_dlopen_self"; then
        !          15181:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
        !          15182:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
        !          15183: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
        !          15184: if ${lt_cv_dlopen_self_static+:} false; then :
        !          15185:   $as_echo_n "(cached) " >&6
        !          15186: else
        !          15187:          if test yes = "$cross_compiling"; then :
        !          15188:   lt_cv_dlopen_self_static=cross
        !          15189: else
        !          15190:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
        !          15191:   lt_status=$lt_dlunknown
        !          15192:   cat > conftest.$ac_ext <<_LT_EOF
        !          15193: #line $LINENO "configure"
        !          15194: #include "confdefs.h"
        !          15195: 
        !          15196: #if HAVE_DLFCN_H
        !          15197: #include <dlfcn.h>
        !          15198: #endif
        !          15199: 
        !          15200: #include <stdio.h>
        !          15201: 
        !          15202: #ifdef RTLD_GLOBAL
        !          15203: #  define LT_DLGLOBAL          RTLD_GLOBAL
        !          15204: #else
        !          15205: #  ifdef DL_GLOBAL
        !          15206: #    define LT_DLGLOBAL                DL_GLOBAL
        !          15207: #  else
        !          15208: #    define LT_DLGLOBAL                0
        !          15209: #  endif
        !          15210: #endif
        !          15211: 
        !          15212: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
        !          15213:    find out it does not work in some platform. */
        !          15214: #ifndef LT_DLLAZY_OR_NOW
        !          15215: #  ifdef RTLD_LAZY
        !          15216: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
        !          15217: #  else
        !          15218: #    ifdef DL_LAZY
        !          15219: #      define LT_DLLAZY_OR_NOW         DL_LAZY
        !          15220: #    else
        !          15221: #      ifdef RTLD_NOW
        !          15222: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
        !          15223: #      else
        !          15224: #        ifdef DL_NOW
        !          15225: #          define LT_DLLAZY_OR_NOW     DL_NOW
        !          15226: #        else
        !          15227: #          define LT_DLLAZY_OR_NOW     0
        !          15228: #        endif
        !          15229: #      endif
        !          15230: #    endif
        !          15231: #  endif
        !          15232: #endif
        !          15233: 
        !          15234: /* When -fvisibility=hidden is used, assume the code has been annotated
        !          15235:    correspondingly for the symbols needed.  */
        !          15236: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
        !          15237: int fnord () __attribute__((visibility("default")));
        !          15238: #endif
        !          15239: 
        !          15240: int fnord () { return 42; }
        !          15241: int main ()
        !          15242: {
        !          15243:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
        !          15244:   int status = $lt_dlunknown;
        !          15245: 
        !          15246:   if (self)
        !          15247:     {
        !          15248:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
        !          15249:       else
        !          15250:         {
        !          15251:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
        !          15252:           else puts (dlerror ());
        !          15253:        }
        !          15254:       /* dlclose (self); */
        !          15255:     }
        !          15256:   else
        !          15257:     puts (dlerror ());
        !          15258: 
        !          15259:   return status;
        !          15260: }
        !          15261: _LT_EOF
        !          15262:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
        !          15263:   (eval $ac_link) 2>&5
        !          15264:   ac_status=$?
        !          15265:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          15266:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
        !          15267:     (./conftest; exit; ) >&5 2>/dev/null
        !          15268:     lt_status=$?
        !          15269:     case x$lt_status in
        !          15270:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
        !          15271:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
        !          15272:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
        !          15273:     esac
        !          15274:   else :
        !          15275:     # compilation failed
        !          15276:     lt_cv_dlopen_self_static=no
        !          15277:   fi
        !          15278: fi
        !          15279: rm -fr conftest*
        !          15280: 
        !          15281: 
        !          15282: fi
        !          15283: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
        !          15284: $as_echo "$lt_cv_dlopen_self_static" >&6; }
        !          15285:     fi
        !          15286: 
        !          15287:     CPPFLAGS=$save_CPPFLAGS
        !          15288:     LDFLAGS=$save_LDFLAGS
        !          15289:     LIBS=$save_LIBS
        !          15290:     ;;
        !          15291:   esac
        !          15292: 
        !          15293:   case $lt_cv_dlopen_self in
        !          15294:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
        !          15295:   *) enable_dlopen_self=unknown ;;
        !          15296:   esac
        !          15297: 
        !          15298:   case $lt_cv_dlopen_self_static in
        !          15299:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
        !          15300:   *) enable_dlopen_self_static=unknown ;;
        !          15301:   esac
        !          15302: fi
        !          15303: 
        !          15304: 
        !          15305: 
        !          15306: 
        !          15307: 
        !          15308: 
        !          15309: 
        !          15310: 
        !          15311: 
        !          15312: 
        !          15313: 
        !          15314: 
        !          15315: 
        !          15316: 
        !          15317: 
        !          15318: 
        !          15319: 
        !          15320: striplib=
        !          15321: old_striplib=
        !          15322: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
        !          15323: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
        !          15324: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
        !          15325:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
        !          15326:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
        !          15327:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          15328: $as_echo "yes" >&6; }
        !          15329: else
        !          15330: # FIXME - insert some real tests, host_os isn't really good enough
        !          15331:   case $host_os in
        !          15332:   darwin*)
        !          15333:     if test -n "$STRIP"; then
        !          15334:       striplib="$STRIP -x"
        !          15335:       old_striplib="$STRIP -S"
        !          15336:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          15337: $as_echo "yes" >&6; }
        !          15338:     else
        !          15339:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          15340: $as_echo "no" >&6; }
        !          15341:     fi
        !          15342:     ;;
        !          15343:   *)
        !          15344:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          15345: $as_echo "no" >&6; }
        !          15346:     ;;
        !          15347:   esac
        !          15348: fi
        !          15349: 
        !          15350: 
        !          15351: 
        !          15352: 
        !          15353: 
        !          15354: 
        !          15355: 
        !          15356: 
        !          15357: 
        !          15358: 
        !          15359: 
        !          15360: 
        !          15361:   # Report what library types will actually be built
        !          15362:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
        !          15363: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
        !          15364:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
        !          15365: $as_echo "$can_build_shared" >&6; }
        !          15366: 
        !          15367:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
        !          15368: $as_echo_n "checking whether to build shared libraries... " >&6; }
        !          15369:   test no = "$can_build_shared" && enable_shared=no
        !          15370: 
        !          15371:   # On AIX, shared libraries and static libraries use the same namespace, and
        !          15372:   # are all built from PIC.
        !          15373:   case $host_os in
        !          15374:   aix3*)
        !          15375:     test yes = "$enable_shared" && enable_static=no
        !          15376:     if test -n "$RANLIB"; then
        !          15377:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
        !          15378:       postinstall_cmds='$RANLIB $lib'
        !          15379:     fi
        !          15380:     ;;
        !          15381: 
        !          15382:   aix[4-9]*)
        !          15383:     if test ia64 != "$host_cpu"; then
        !          15384:       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
        !          15385:       yes,aix,yes) ;;                  # shared object as lib.so file only
        !          15386:       yes,svr4,*) ;;                   # shared object as lib.so archive member only
        !          15387:       yes,*) enable_static=no ;;       # shared object in lib.a archive as well
        !          15388:       esac
        !          15389:     fi
        !          15390:     ;;
        !          15391:   esac
        !          15392:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
        !          15393: $as_echo "$enable_shared" >&6; }
        !          15394: 
        !          15395:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
        !          15396: $as_echo_n "checking whether to build static libraries... " >&6; }
        !          15397:   # Make sure either enable_shared or enable_static is yes.
        !          15398:   test yes = "$enable_shared" || enable_static=yes
        !          15399:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
        !          15400: $as_echo "$enable_static" >&6; }
        !          15401: 
        !          15402: 
        !          15403: 
        !          15404: 
        !          15405: fi
        !          15406: ac_ext=c
        !          15407: ac_cpp='$CPP $CPPFLAGS'
        !          15408: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          15409: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          15410: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          15411: 
        !          15412: CC=$lt_save_CC
        !          15413: 
        !          15414: 
        !          15415: 
        !          15416: 
        !          15417: 
        !          15418: 
        !          15419: 
        !          15420: 
        !          15421: 
        !          15422: 
        !          15423: 
        !          15424: 
        !          15425: 
        !          15426: 
        !          15427: 
        !          15428:         ac_config_commands="$ac_config_commands libtool"
        !          15429: 
        !          15430: 
        !          15431: 
        !          15432: 
        !          15433: # Only expand once:
        !          15434: 
        !          15435: 
        !          15436: ## --------------------- ##
        !          15437: ##  End of libtool code  ##
        !          15438: ## --------------------- ##
        !          15439: 
        !          15440: #
        !          15441: # Verify if finally libtool shared libraries will be built
        !          15442: #
        !          15443: 
        !          15444: case "x$enable_shared" in # ((
        !          15445:   xyes | xno)
        !          15446:     xc_lt_build_shared=$enable_shared
        !          15447:     ;;
        !          15448:   *)
        !          15449:     as_fn_error $? "unexpected libtool enable_shared value: $enable_shared" "$LINENO" 5
        !          15450:     ;;
        !          15451: esac
        !          15452: 
        !          15453: #
        !          15454: # Verify if finally libtool static libraries will be built
        !          15455: #
        !          15456: 
        !          15457: case "x$enable_static" in # ((
        !          15458:   xyes | xno)
        !          15459:     xc_lt_build_static=$enable_static
        !          15460:     ;;
        !          15461:   *)
        !          15462:     as_fn_error $? "unexpected libtool enable_static value: $enable_static" "$LINENO" 5
        !          15463:     ;;
        !          15464: esac
        !          15465: 
        !          15466: #
        !          15467: # Verify if libtool shared libraries should be linked using flag -version-info
        !          15468: #
        !          15469: 
        !          15470: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with -version-info" >&5
        !          15471: $as_echo_n "checking whether to build shared libraries with -version-info... " >&6; }
        !          15472: xc_lt_shlib_use_version_info='yes'
        !          15473: if test "x$version_type" = 'xnone'; then
        !          15474:   xc_lt_shlib_use_version_info='no'
        !          15475: fi
        !          15476: case $host_os in # (
        !          15477:   amigaos*)
        !          15478:     xc_lt_shlib_use_version_info='yes'
        !          15479:     ;;
        !          15480: esac
        !          15481: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_shlib_use_version_info" >&5
        !          15482: $as_echo "$xc_lt_shlib_use_version_info" >&6; }
        !          15483: 
        !          15484: #
        !          15485: # Verify if libtool shared libraries should be linked using flag -no-undefined
        !          15486: #
        !          15487: 
        !          15488: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with -no-undefined" >&5
        !          15489: $as_echo_n "checking whether to build shared libraries with -no-undefined... " >&6; }
        !          15490: xc_lt_shlib_use_no_undefined='no'
        !          15491: if test "x$allow_undefined" = 'xno'; then
        !          15492:   xc_lt_shlib_use_no_undefined='yes'
        !          15493: elif test "x$allow_undefined_flag" = 'xunsupported'; then
        !          15494:   xc_lt_shlib_use_no_undefined='yes'
        !          15495: fi
        !          15496: case $host_os in # (
        !          15497:   cygwin* | mingw* | pw32* | cegcc* | os2* | aix*)
        !          15498:     xc_lt_shlib_use_no_undefined='yes'
        !          15499:     ;;
        !          15500: esac
        !          15501: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_shlib_use_no_undefined" >&5
        !          15502: $as_echo "$xc_lt_shlib_use_no_undefined" >&6; }
        !          15503: 
        !          15504: #
        !          15505: # Verify if libtool shared libraries should be linked using flag -mimpure-text
        !          15506: #
        !          15507: 
        !          15508: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with -mimpure-text" >&5
        !          15509: $as_echo_n "checking whether to build shared libraries with -mimpure-text... " >&6; }
        !          15510: xc_lt_shlib_use_mimpure_text='no'
        !          15511: case $host_os in # (
        !          15512:   solaris2*)
        !          15513:     if test "x$GCC" = 'xyes'; then
        !          15514:       xc_lt_shlib_use_mimpure_text='yes'
        !          15515:     fi
        !          15516:     ;;
        !          15517: esac
        !          15518: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_shlib_use_mimpure_text" >&5
        !          15519: $as_echo "$xc_lt_shlib_use_mimpure_text" >&6; }
        !          15520: 
        !          15521: #
        !          15522: # Find out whether libtool libraries would be built wit PIC
        !          15523: #
        !          15524: 
        !          15525: case "x$pic_mode" in # ((((
        !          15526:   xdefault)
        !          15527:     xc_lt_build_shared_with_pic='yes'
        !          15528:     xc_lt_build_static_with_pic='no'
        !          15529:     ;;
        !          15530:   xyes)
        !          15531:     xc_lt_build_shared_with_pic='yes'
        !          15532:     xc_lt_build_static_with_pic='yes'
        !          15533:     ;;
        !          15534:   xno)
        !          15535:     xc_lt_build_shared_with_pic='no'
        !          15536:     xc_lt_build_static_with_pic='no'
        !          15537:     ;;
        !          15538:   *)
        !          15539:     xc_lt_build_shared_with_pic='unknown'
        !          15540:     xc_lt_build_static_with_pic='unknown'
        !          15541:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unexpected libtool pic_mode value: $pic_mode" >&5
        !          15542: $as_echo "$as_me: WARNING: unexpected libtool pic_mode value: $pic_mode" >&2;}
        !          15543:     ;;
        !          15544: esac
        !          15545: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with PIC" >&5
        !          15546: $as_echo_n "checking whether to build shared libraries with PIC... " >&6; }
        !          15547: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_shared_with_pic" >&5
        !          15548: $as_echo "$xc_lt_build_shared_with_pic" >&6; }
        !          15549: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries with PIC" >&5
        !          15550: $as_echo_n "checking whether to build static libraries with PIC... " >&6; }
        !          15551: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_static_with_pic" >&5
        !          15552: $as_echo "$xc_lt_build_static_with_pic" >&6; }
        !          15553: 
        !          15554: #
        !          15555: # Verify if libtool shared libraries will be built while static not built
        !          15556: #
        !          15557: 
        !          15558: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries only" >&5
        !          15559: $as_echo_n "checking whether to build shared libraries only... " >&6; }
        !          15560: if test "$xc_lt_build_shared" = 'yes' &&
        !          15561:   test "$xc_lt_build_static" = 'no'; then
        !          15562:   xc_lt_build_shared_only='yes'
        !          15563: else
        !          15564:   xc_lt_build_shared_only='no'
        !          15565: fi
        !          15566: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_shared_only" >&5
        !          15567: $as_echo "$xc_lt_build_shared_only" >&6; }
        !          15568: 
        !          15569: #
        !          15570: # Verify if libtool static libraries will be built while shared not built
        !          15571: #
        !          15572: 
        !          15573: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries only" >&5
        !          15574: $as_echo_n "checking whether to build static libraries only... " >&6; }
        !          15575: if test "$xc_lt_build_static" = 'yes' &&
        !          15576:   test "$xc_lt_build_shared" = 'no'; then
        !          15577:   xc_lt_build_static_only='yes'
        !          15578: else
        !          15579:   xc_lt_build_static_only='no'
        !          15580: fi
        !          15581: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_static_only" >&5
        !          15582: $as_echo "$xc_lt_build_static_only" >&6; }
        !          15583: 
        !          15584: 
        !          15585: 
        !          15586: 
        !          15587: #
        !          15588: # Automake conditionals based on libtool related checks
        !          15589: #
        !          15590: 
        !          15591:  if test "x$xc_lt_shlib_use_version_info" = 'xyes'; then
        !          15592:   CURL_LT_SHLIB_USE_VERSION_INFO_TRUE=
        !          15593:   CURL_LT_SHLIB_USE_VERSION_INFO_FALSE='#'
        !          15594: else
        !          15595:   CURL_LT_SHLIB_USE_VERSION_INFO_TRUE='#'
        !          15596:   CURL_LT_SHLIB_USE_VERSION_INFO_FALSE=
        !          15597: fi
        !          15598: 
        !          15599:  if test "x$xc_lt_shlib_use_no_undefined" = 'xyes'; then
        !          15600:   CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE=
        !          15601:   CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE='#'
        !          15602: else
        !          15603:   CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE='#'
        !          15604:   CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE=
        !          15605: fi
        !          15606: 
        !          15607:  if test "x$xc_lt_shlib_use_mimpure_text" = 'xyes'; then
        !          15608:   CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE=
        !          15609:   CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE='#'
        !          15610: else
        !          15611:   CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE='#'
        !          15612:   CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE=
        !          15613: fi
        !          15614: 
        !          15615: 
        !          15616: #
        !          15617: # Due to libtool and automake machinery limitations of not allowing
        !          15618: # specifying separate CPPFLAGS or CFLAGS when compiling objects for
        !          15619: # inclusion of these in shared or static libraries, we are forced to
        !          15620: # build using separate configure runs for shared and static libraries
        !          15621: # on systems where different CPPFLAGS or CFLAGS are mandatory in order
        !          15622: # to compile objects for each kind of library. Notice that relying on
        !          15623: # the '-DPIC' CFLAG that libtool provides is not valid given that the
        !          15624: # user might for example choose to build static libraries with PIC.
        !          15625: #
        !          15626: 
        !          15627: #
        !          15628: # Make our Makefile.am files use the staticlib CPPFLAG only when strictly
        !          15629: # targeting a static library and not building its shared counterpart.
        !          15630: #
        !          15631: 
        !          15632:  if test "x$xc_lt_build_static_only" = 'xyes'; then
        !          15633:   USE_CPPFLAG_CURL_STATICLIB_TRUE=
        !          15634:   USE_CPPFLAG_CURL_STATICLIB_FALSE='#'
        !          15635: else
        !          15636:   USE_CPPFLAG_CURL_STATICLIB_TRUE='#'
        !          15637:   USE_CPPFLAG_CURL_STATICLIB_FALSE=
        !          15638: fi
        !          15639: 
        !          15640: 
        !          15641: #
        !          15642: # Make staticlib CPPFLAG variable and its definition visible in output
        !          15643: # files unconditionally, providing an empty definition unless strictly
        !          15644: # targeting a static library and not building its shared counterpart.
        !          15645: #
        !          15646: 
        !          15647: CPPFLAG_CURL_STATICLIB=
        !          15648: if test "x$xc_lt_build_static_only" = 'xyes'; then
        !          15649:   CPPFLAG_CURL_STATICLIB='-DCURL_STATICLIB'
        !          15650: fi
        !          15651: 
        !          15652: 
        !          15653: 
        !          15654: # Determine whether all dependent libraries must be specified when linking
        !          15655: if test "X$enable_shared" = "Xyes" -a "X$link_all_deplibs" = "Xno"
        !          15656: then
        !          15657:     REQUIRE_LIB_DEPS=no
        !          15658: else
        !          15659:     REQUIRE_LIB_DEPS=yes
        !          15660: fi
        !          15661: 
        !          15662:  if test x$REQUIRE_LIB_DEPS = xyes; then
        !          15663:   USE_EXPLICIT_LIB_DEPS_TRUE=
        !          15664:   USE_EXPLICIT_LIB_DEPS_FALSE='#'
        !          15665: else
        !          15666:   USE_EXPLICIT_LIB_DEPS_TRUE='#'
        !          15667:   USE_EXPLICIT_LIB_DEPS_FALSE=
        !          15668: fi
        !          15669: 
        !          15670: 
        !          15671: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
        !          15672: $as_echo_n "checking for inline... " >&6; }
        !          15673: if ${ac_cv_c_inline+:} false; then :
        !          15674:   $as_echo_n "(cached) " >&6
        !          15675: else
        !          15676:   ac_cv_c_inline=no
        !          15677: for ac_kw in inline __inline__ __inline; do
        !          15678:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          15679: /* end confdefs.h.  */
        !          15680: #ifndef __cplusplus
        !          15681: typedef int foo_t;
        !          15682: static $ac_kw foo_t static_foo () {return 0; }
        !          15683: $ac_kw foo_t foo () {return 0; }
        !          15684: #endif
        !          15685: 
        !          15686: _ACEOF
        !          15687: if ac_fn_c_try_compile "$LINENO"; then :
        !          15688:   ac_cv_c_inline=$ac_kw
        !          15689: fi
        !          15690: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          15691:   test "$ac_cv_c_inline" != no && break
        !          15692: done
        !          15693: 
        !          15694: fi
        !          15695: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
        !          15696: $as_echo "$ac_cv_c_inline" >&6; }
        !          15697: 
        !          15698: case $ac_cv_c_inline in
        !          15699:   inline | yes) ;;
        !          15700:   *)
        !          15701:     case $ac_cv_c_inline in
        !          15702:       no) ac_val=;;
        !          15703:       *) ac_val=$ac_cv_c_inline;;
        !          15704:     esac
        !          15705:     cat >>confdefs.h <<_ACEOF
        !          15706: #ifndef __cplusplus
        !          15707: #define inline $ac_val
        !          15708: #endif
        !          15709: _ACEOF
        !          15710:     ;;
        !          15711: esac
        !          15712: 
        !          15713: 
        !          15714: 
        !          15715: 
        !          15716:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cpp -P is needed" >&5
        !          15717: $as_echo_n "checking if cpp -P is needed... " >&6; }
        !          15718:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          15719: /* end confdefs.h.  */
        !          15720: 
        !          15721:  #include <errno.h>
        !          15722: TEST EINVAL TEST
        !          15723: 
        !          15724: _ACEOF
        !          15725: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          15726:   $EGREP "TEST.*TEST" >/dev/null 2>&1; then :
        !          15727:   cpp=no
        !          15728: else
        !          15729:   cpp=yes
        !          15730: fi
        !          15731: rm -f conftest*
        !          15732: 
        !          15733:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cpp" >&5
        !          15734: $as_echo "$cpp" >&6; }
        !          15735: 
        !          15736:     if test "x$cpp" = "xyes"; then
        !          15737:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cpp -P works" >&5
        !          15738: $as_echo_n "checking if cpp -P works... " >&6; }
        !          15739:     OLDCPPFLAGS=$CPPFLAGS
        !          15740:     CPPFLAGS="$CPPFLAGS -P"
        !          15741:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          15742: /* end confdefs.h.  */
        !          15743: 
        !          15744:  #include <errno.h>
        !          15745: TEST EINVAL TEST
        !          15746: 
        !          15747: _ACEOF
        !          15748: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          15749:   $EGREP "TEST.*TEST" >/dev/null 2>&1; then :
        !          15750:   cpp_p=yes
        !          15751: else
        !          15752:   cpp_p=no
        !          15753: fi
        !          15754: rm -f conftest*
        !          15755: 
        !          15756:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cpp_p" >&5
        !          15757: $as_echo "$cpp_p" >&6; }
        !          15758: 
        !          15759:     if test "x$cpp_p" = "xno"; then
        !          15760:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to figure out cpp -P alternative" >&5
        !          15761: $as_echo "$as_me: WARNING: failed to figure out cpp -P alternative" >&2;}
        !          15762:       # without -P
        !          15763:       CPPPFLAG=""
        !          15764:     else
        !          15765:       # with -P
        !          15766:       CPPPFLAG="-P"
        !          15767:     fi
        !          15768:         CPPFLAGS=$OLDCPPFLAGS
        !          15769:   else
        !          15770:     # without -P
        !          15771:     CPPPFLAG=""
        !          15772:   fi
        !          15773: 
        !          15774: 
        !          15775:   #
        !          15776:   compiler_id="unknown"
        !          15777:   compiler_num="0"
        !          15778:   #
        !          15779:   flags_dbg_all="unknown"
        !          15780:   flags_dbg_yes="unknown"
        !          15781:   flags_dbg_off="unknown"
        !          15782:   flags_opt_all="unknown"
        !          15783:   flags_opt_yes="unknown"
        !          15784:   flags_opt_off="unknown"
        !          15785:   #
        !          15786:   flags_prefer_cppflags="no"
        !          15787:   #
        !          15788: 
        !          15789:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is DEC/Compaq/HP C" >&5
        !          15790: $as_echo_n "checking if compiler is DEC/Compaq/HP C... " >&6; }
        !          15791: 
        !          15792:     OLDCPPFLAGS=$CPPFLAGS
        !          15793:   # CPPPFLAG comes from CURL_CPP_P
        !          15794:   CPPFLAGS="$CPPFLAGS $CPPPFLAG"
        !          15795:       if test -z "$SED"; then
        !          15796:     as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
        !          15797:   fi
        !          15798:   if test -z "$GREP"; then
        !          15799:     as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
        !          15800:   fi
        !          15801: 
        !          15802:   tmp_exp=""
        !          15803:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          15804: /* end confdefs.h.  */
        !          15805: 
        !          15806: 
        !          15807: #ifdef __DECC
        !          15808: CURL_DEF_TOKEN __DECC
        !          15809: #endif
        !          15810: 
        !          15811: 
        !          15812: _ACEOF
        !          15813: if ac_fn_c_try_cpp "$LINENO"; then :
        !          15814: 
        !          15815:     tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
        !          15816:       "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
        !          15817:       "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
        !          15818:       "$SED" 's/["][ ]*["]//g' 2>/dev/null`
        !          15819:     if test -z "$tmp_exp" || test "$tmp_exp" = "__DECC"; then
        !          15820:       tmp_exp=""
        !          15821:     fi
        !          15822: 
        !          15823: fi
        !          15824: rm -f conftest.err conftest.i conftest.$ac_ext
        !          15825:   if test -z "$tmp_exp"; then
        !          15826:     curl_cv_have_def___DECC=no
        !          15827: 
        !          15828:   else
        !          15829:     curl_cv_have_def___DECC=yes
        !          15830:     curl_cv_def___DECC=$tmp_exp
        !          15831: 
        !          15832:   fi
        !          15833:       CPPFLAGS=$OLDCPPFLAGS
        !          15834: 
        !          15835: 
        !          15836:     OLDCPPFLAGS=$CPPFLAGS
        !          15837:   # CPPPFLAG comes from CURL_CPP_P
        !          15838:   CPPFLAGS="$CPPFLAGS $CPPPFLAG"
        !          15839:       if test -z "$SED"; then
        !          15840:     as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
        !          15841:   fi
        !          15842:   if test -z "$GREP"; then
        !          15843:     as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
        !          15844:   fi
        !          15845: 
        !          15846:   tmp_exp=""
        !          15847:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          15848: /* end confdefs.h.  */
        !          15849: 
        !          15850: 
        !          15851: #ifdef __DECC_VER
        !          15852: CURL_DEF_TOKEN __DECC_VER
        !          15853: #endif
        !          15854: 
        !          15855: 
        !          15856: _ACEOF
        !          15857: if ac_fn_c_try_cpp "$LINENO"; then :
        !          15858: 
        !          15859:     tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
        !          15860:       "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
        !          15861:       "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
        !          15862:       "$SED" 's/["][ ]*["]//g' 2>/dev/null`
        !          15863:     if test -z "$tmp_exp" || test "$tmp_exp" = "__DECC_VER"; then
        !          15864:       tmp_exp=""
        !          15865:     fi
        !          15866: 
        !          15867: fi
        !          15868: rm -f conftest.err conftest.i conftest.$ac_ext
        !          15869:   if test -z "$tmp_exp"; then
        !          15870:     curl_cv_have_def___DECC_VER=no
        !          15871: 
        !          15872:   else
        !          15873:     curl_cv_have_def___DECC_VER=yes
        !          15874:     curl_cv_def___DECC_VER=$tmp_exp
        !          15875: 
        !          15876:   fi
        !          15877:       CPPFLAGS=$OLDCPPFLAGS
        !          15878: 
        !          15879:   if test "$curl_cv_have_def___DECC" = "yes" &&
        !          15880:     test "$curl_cv_have_def___DECC_VER" = "yes"; then
        !          15881:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          15882: $as_echo "yes" >&6; }
        !          15883:     compiler_id="DEC_C"
        !          15884:     flags_dbg_all="-g -g0 -g1 -g2 -g3"
        !          15885:     flags_dbg_yes="-g2"
        !          15886:     flags_dbg_off=""
        !          15887:     flags_opt_all="-O -O0 -O1 -O2 -O3 -O4"
        !          15888:     flags_opt_yes="-O1"
        !          15889:     flags_opt_off="-O0"
        !          15890:   else
        !          15891:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          15892: $as_echo "no" >&6; }
        !          15893:   fi
        !          15894: 
        !          15895: 
        !          15896:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is HP-UX C" >&5
        !          15897: $as_echo_n "checking if compiler is HP-UX C... " >&6; }
        !          15898: 
        !          15899:     OLDCPPFLAGS=$CPPFLAGS
        !          15900:   # CPPPFLAG comes from CURL_CPP_P
        !          15901:   CPPFLAGS="$CPPFLAGS $CPPPFLAG"
        !          15902:       if test -z "$SED"; then
        !          15903:     as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
        !          15904:   fi
        !          15905:   if test -z "$GREP"; then
        !          15906:     as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
        !          15907:   fi
        !          15908: 
        !          15909:   tmp_exp=""
        !          15910:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          15911: /* end confdefs.h.  */
        !          15912: 
        !          15913: 
        !          15914: #ifdef __HP_cc
        !          15915: CURL_DEF_TOKEN __HP_cc
        !          15916: #endif
        !          15917: 
        !          15918: 
        !          15919: _ACEOF
        !          15920: if ac_fn_c_try_cpp "$LINENO"; then :
        !          15921: 
        !          15922:     tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
        !          15923:       "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
        !          15924:       "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
        !          15925:       "$SED" 's/["][ ]*["]//g' 2>/dev/null`
        !          15926:     if test -z "$tmp_exp" || test "$tmp_exp" = "__HP_cc"; then
        !          15927:       tmp_exp=""
        !          15928:     fi
        !          15929: 
        !          15930: fi
        !          15931: rm -f conftest.err conftest.i conftest.$ac_ext
        !          15932:   if test -z "$tmp_exp"; then
        !          15933:     curl_cv_have_def___HP_cc=no
        !          15934: 
        !          15935:   else
        !          15936:     curl_cv_have_def___HP_cc=yes
        !          15937:     curl_cv_def___HP_cc=$tmp_exp
        !          15938: 
        !          15939:   fi
        !          15940:       CPPFLAGS=$OLDCPPFLAGS
        !          15941: 
        !          15942:   if test "$curl_cv_have_def___HP_cc" = "yes"; then
        !          15943:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          15944: $as_echo "yes" >&6; }
        !          15945:     compiler_id="HP_UX_C"
        !          15946:     flags_dbg_all="-g -s"
        !          15947:     flags_dbg_yes="-g"
        !          15948:     flags_dbg_off="-s"
        !          15949:     flags_opt_all="-O +O0 +O1 +O2 +O3 +O4"
        !          15950:     flags_opt_yes="+O2"
        !          15951:     flags_opt_off="+O0"
        !          15952:   else
        !          15953:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          15954: $as_echo "no" >&6; }
        !          15955:   fi
        !          15956: 
        !          15957: 
        !          15958:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is IBM C" >&5
        !          15959: $as_echo_n "checking if compiler is IBM C... " >&6; }
        !          15960: 
        !          15961:     OLDCPPFLAGS=$CPPFLAGS
        !          15962:   # CPPPFLAG comes from CURL_CPP_P
        !          15963:   CPPFLAGS="$CPPFLAGS $CPPPFLAG"
        !          15964:       if test -z "$SED"; then
        !          15965:     as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
        !          15966:   fi
        !          15967:   if test -z "$GREP"; then
        !          15968:     as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
        !          15969:   fi
        !          15970: 
        !          15971:   tmp_exp=""
        !          15972:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          15973: /* end confdefs.h.  */
        !          15974: 
        !          15975: 
        !          15976: #ifdef __IBMC__
        !          15977: CURL_DEF_TOKEN __IBMC__
        !          15978: #endif
        !          15979: 
        !          15980: 
        !          15981: _ACEOF
        !          15982: if ac_fn_c_try_cpp "$LINENO"; then :
        !          15983: 
        !          15984:     tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
        !          15985:       "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
        !          15986:       "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
        !          15987:       "$SED" 's/["][ ]*["]//g' 2>/dev/null`
        !          15988:     if test -z "$tmp_exp" || test "$tmp_exp" = "__IBMC__"; then
        !          15989:       tmp_exp=""
        !          15990:     fi
        !          15991: 
        !          15992: fi
        !          15993: rm -f conftest.err conftest.i conftest.$ac_ext
        !          15994:   if test -z "$tmp_exp"; then
        !          15995:     curl_cv_have_def___IBMC__=no
        !          15996: 
        !          15997:   else
        !          15998:     curl_cv_have_def___IBMC__=yes
        !          15999:     curl_cv_def___IBMC__=$tmp_exp
        !          16000: 
        !          16001:   fi
        !          16002:       CPPFLAGS=$OLDCPPFLAGS
        !          16003: 
        !          16004:   if test "$curl_cv_have_def___IBMC__" = "yes"; then
        !          16005:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          16006: $as_echo "yes" >&6; }
        !          16007:     compiler_id="IBM_C"
        !          16008:     flags_dbg_all="-g -g0 -g1 -g2 -g3"
        !          16009:     flags_dbg_yes="-g"
        !          16010:     flags_dbg_off=""
        !          16011:     flags_opt_all="-O -O0 -O1 -O2 -O3 -O4 -O5"
        !          16012:     flags_opt_all="$flags_opt_all -qnooptimize"
        !          16013:     flags_opt_all="$flags_opt_all -qoptimize=0"
        !          16014:     flags_opt_all="$flags_opt_all -qoptimize=1"
        !          16015:     flags_opt_all="$flags_opt_all -qoptimize=2"
        !          16016:     flags_opt_all="$flags_opt_all -qoptimize=3"
        !          16017:     flags_opt_all="$flags_opt_all -qoptimize=4"
        !          16018:     flags_opt_all="$flags_opt_all -qoptimize=5"
        !          16019:     flags_opt_yes="-O2"
        !          16020:     flags_opt_off="-qnooptimize"
        !          16021:     flags_prefer_cppflags="yes"
        !          16022:   else
        !          16023:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          16024: $as_echo "no" >&6; }
        !          16025:   fi
        !          16026: 
        !          16027: 
        !          16028:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is Intel C" >&5
        !          16029: $as_echo_n "checking if compiler is Intel C... " >&6; }
        !          16030: 
        !          16031:     OLDCPPFLAGS=$CPPFLAGS
        !          16032:   # CPPPFLAG comes from CURL_CPP_P
        !          16033:   CPPFLAGS="$CPPFLAGS $CPPPFLAG"
        !          16034:       if test -z "$SED"; then
        !          16035:     as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
        !          16036:   fi
        !          16037:   if test -z "$GREP"; then
        !          16038:     as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
        !          16039:   fi
        !          16040: 
        !          16041:   tmp_exp=""
        !          16042:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          16043: /* end confdefs.h.  */
        !          16044: 
        !          16045: 
        !          16046: #ifdef __INTEL_COMPILER
        !          16047: CURL_DEF_TOKEN __INTEL_COMPILER
        !          16048: #endif
        !          16049: 
        !          16050: 
        !          16051: _ACEOF
        !          16052: if ac_fn_c_try_cpp "$LINENO"; then :
        !          16053: 
        !          16054:     tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
        !          16055:       "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
        !          16056:       "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
        !          16057:       "$SED" 's/["][ ]*["]//g' 2>/dev/null`
        !          16058:     if test -z "$tmp_exp" || test "$tmp_exp" = "__INTEL_COMPILER"; then
        !          16059:       tmp_exp=""
        !          16060:     fi
        !          16061: 
        !          16062: fi
        !          16063: rm -f conftest.err conftest.i conftest.$ac_ext
        !          16064:   if test -z "$tmp_exp"; then
        !          16065:     curl_cv_have_def___INTEL_COMPILER=no
        !          16066: 
        !          16067:   else
        !          16068:     curl_cv_have_def___INTEL_COMPILER=yes
        !          16069:     curl_cv_def___INTEL_COMPILER=$tmp_exp
        !          16070: 
        !          16071:   fi
        !          16072:       CPPFLAGS=$OLDCPPFLAGS
        !          16073: 
        !          16074:   if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then
        !          16075:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          16076: $as_echo "yes" >&6; }
        !          16077:     compiler_num="$curl_cv_def___INTEL_COMPILER"
        !          16078: 
        !          16079:     OLDCPPFLAGS=$CPPFLAGS
        !          16080:   # CPPPFLAG comes from CURL_CPP_P
        !          16081:   CPPFLAGS="$CPPFLAGS $CPPPFLAG"
        !          16082:       if test -z "$SED"; then
        !          16083:     as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
        !          16084:   fi
        !          16085:   if test -z "$GREP"; then
        !          16086:     as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
        !          16087:   fi
        !          16088: 
        !          16089:   tmp_exp=""
        !          16090:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          16091: /* end confdefs.h.  */
        !          16092: 
        !          16093: 
        !          16094: #ifdef __unix__
        !          16095: CURL_DEF_TOKEN __unix__
        !          16096: #endif
        !          16097: 
        !          16098: 
        !          16099: _ACEOF
        !          16100: if ac_fn_c_try_cpp "$LINENO"; then :
        !          16101: 
        !          16102:     tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
        !          16103:       "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
        !          16104:       "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
        !          16105:       "$SED" 's/["][ ]*["]//g' 2>/dev/null`
        !          16106:     if test -z "$tmp_exp" || test "$tmp_exp" = ""; then
        !          16107:       tmp_exp=""
        !          16108:     fi
        !          16109: 
        !          16110: fi
        !          16111: rm -f conftest.err conftest.i conftest.$ac_ext
        !          16112:   if test -z "$tmp_exp"; then
        !          16113:     curl_cv_have_def___unix__=no
        !          16114: 
        !          16115:   else
        !          16116:     curl_cv_have_def___unix__=yes
        !          16117:     curl_cv_def___unix__=$tmp_exp
        !          16118: 
        !          16119:   fi
        !          16120:       CPPFLAGS=$OLDCPPFLAGS
        !          16121: 
        !          16122:     if test "$curl_cv_have_def___unix__" = "yes"; then
        !          16123:       compiler_id="INTEL_UNIX_C"
        !          16124:       flags_dbg_all="-g -g0"
        !          16125:       flags_dbg_yes="-g"
        !          16126:       flags_dbg_off=""
        !          16127:       flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
        !          16128:       flags_opt_yes="-O2"
        !          16129:       flags_opt_off="-O0"
        !          16130:     else
        !          16131:       compiler_id="INTEL_WINDOWS_C"
        !          16132:       flags_dbg_all="/ZI /Zi /zI /zi /ZD /Zd /zD /zd /Z7 /z7 /Oy /Oy-"
        !          16133:       flags_dbg_all="$flags_dbg_all /debug"
        !          16134:       flags_dbg_all="$flags_dbg_all /debug:none"
        !          16135:       flags_dbg_all="$flags_dbg_all /debug:minimal"
        !          16136:       flags_dbg_all="$flags_dbg_all /debug:partial"
        !          16137:       flags_dbg_all="$flags_dbg_all /debug:full"
        !          16138:       flags_dbg_all="$flags_dbg_all /debug:semantic_stepping"
        !          16139:       flags_dbg_all="$flags_dbg_all /debug:extended"
        !          16140:       flags_dbg_yes="/Zi /Oy-"
        !          16141:       flags_dbg_off="/debug:none /Oy-"
        !          16142:       flags_opt_all="/O /O0 /O1 /O2 /O3 /Od /Og /Og- /Oi /Oi-"
        !          16143:       flags_opt_yes="/O2"
        !          16144:       flags_opt_off="/Od"
        !          16145:     fi
        !          16146:   else
        !          16147:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          16148: $as_echo "no" >&6; }
        !          16149:   fi
        !          16150: 
        !          16151: 
        !          16152:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is clang" >&5
        !          16153: $as_echo_n "checking if compiler is clang... " >&6; }
        !          16154: 
        !          16155:     OLDCPPFLAGS=$CPPFLAGS
        !          16156:   # CPPPFLAG comes from CURL_CPP_P
        !          16157:   CPPFLAGS="$CPPFLAGS $CPPPFLAG"
        !          16158:       if test -z "$SED"; then
        !          16159:     as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
        !          16160:   fi
        !          16161:   if test -z "$GREP"; then
        !          16162:     as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
        !          16163:   fi
        !          16164: 
        !          16165:   tmp_exp=""
        !          16166:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          16167: /* end confdefs.h.  */
        !          16168: 
        !          16169: 
        !          16170: #ifdef __clang__
        !          16171: CURL_DEF_TOKEN __clang__
        !          16172: #endif
        !          16173: 
        !          16174: 
        !          16175: _ACEOF
        !          16176: if ac_fn_c_try_cpp "$LINENO"; then :
        !          16177: 
        !          16178:     tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
        !          16179:       "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
        !          16180:       "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
        !          16181:       "$SED" 's/["][ ]*["]//g' 2>/dev/null`
        !          16182:     if test -z "$tmp_exp" || test "$tmp_exp" = "__clang__"; then
        !          16183:       tmp_exp=""
        !          16184:     fi
        !          16185: 
        !          16186: fi
        !          16187: rm -f conftest.err conftest.i conftest.$ac_ext
        !          16188:   if test -z "$tmp_exp"; then
        !          16189:     curl_cv_have_def___clang__=no
        !          16190: 
        !          16191:   else
        !          16192:     curl_cv_have_def___clang__=yes
        !          16193:     curl_cv_def___clang__=$tmp_exp
        !          16194: 
        !          16195:   fi
        !          16196:       CPPFLAGS=$OLDCPPFLAGS
        !          16197: 
        !          16198:   if test "$curl_cv_have_def___clang__" = "yes"; then
        !          16199:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          16200: $as_echo "yes" >&6; }
        !          16201:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is xlclang" >&5
        !          16202: $as_echo_n "checking if compiler is xlclang... " >&6; }
        !          16203: 
        !          16204:     OLDCPPFLAGS=$CPPFLAGS
        !          16205:   # CPPPFLAG comes from CURL_CPP_P
        !          16206:   CPPFLAGS="$CPPFLAGS $CPPPFLAG"
        !          16207:       if test -z "$SED"; then
        !          16208:     as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
        !          16209:   fi
        !          16210:   if test -z "$GREP"; then
        !          16211:     as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
        !          16212:   fi
        !          16213: 
        !          16214:   tmp_exp=""
        !          16215:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          16216: /* end confdefs.h.  */
        !          16217: 
        !          16218: 
        !          16219: #ifdef __ibmxl__
        !          16220: CURL_DEF_TOKEN __ibmxl__
        !          16221: #endif
        !          16222: 
        !          16223: 
        !          16224: _ACEOF
        !          16225: if ac_fn_c_try_cpp "$LINENO"; then :
        !          16226: 
        !          16227:     tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
        !          16228:       "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
        !          16229:       "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
        !          16230:       "$SED" 's/["][ ]*["]//g' 2>/dev/null`
        !          16231:     if test -z "$tmp_exp" || test "$tmp_exp" = "__ibmxl__"; then
        !          16232:       tmp_exp=""
        !          16233:     fi
        !          16234: 
        !          16235: fi
        !          16236: rm -f conftest.err conftest.i conftest.$ac_ext
        !          16237:   if test -z "$tmp_exp"; then
        !          16238:     curl_cv_have_def___ibmxl__=no
        !          16239: 
        !          16240:   else
        !          16241:     curl_cv_have_def___ibmxl__=yes
        !          16242:     curl_cv_def___ibmxl__=$tmp_exp
        !          16243: 
        !          16244:   fi
        !          16245:       CPPFLAGS=$OLDCPPFLAGS
        !          16246: 
        !          16247:     if test "$curl_cv_have_def___ibmxl__" = "yes" ; then
        !          16248:             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          16249: $as_echo "yes" >&6; }
        !          16250:       compiler_id="XLCLANG"
        !          16251:     else
        !          16252:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          16253: $as_echo "no" >&6; }
        !          16254:       compiler_id="CLANG"
        !          16255:     fi
        !          16256:     fullclangver=`$CC -v 2>&1 | grep version`
        !          16257:     clangver=`echo $fullclangver | grep "based on LLVM " | "$SED" 's/.*(based on LLVM \([0-9]*\.[0-9]*\).*)/\1/'`
        !          16258:     if test -z "$clangver"; then
        !          16259:       if echo $fullclangver | grep "Apple LLVM version " >/dev/null; then
        !          16260:                 clangver="3.7"
        !          16261:       else
        !          16262:         clangver=`echo $fullclangver | "$SED" 's/.*version \([0-9]*\.[0-9]*\).*/\1/'`
        !          16263:       fi
        !          16264:     fi
        !          16265:     clangvhi=`echo $clangver | cut -d . -f1`
        !          16266:     clangvlo=`echo $clangver | cut -d . -f2`
        !          16267:     compiler_num=`(expr $clangvhi "*" 100 + $clangvlo) 2>/dev/null`
        !          16268:     flags_dbg_all="-g -g0 -g1 -g2 -g3"
        !          16269:     flags_dbg_all="$flags_dbg_all -ggdb"
        !          16270:     flags_dbg_all="$flags_dbg_all -gstabs"
        !          16271:     flags_dbg_all="$flags_dbg_all -gstabs+"
        !          16272:     flags_dbg_all="$flags_dbg_all -gcoff"
        !          16273:     flags_dbg_all="$flags_dbg_all -gxcoff"
        !          16274:     flags_dbg_all="$flags_dbg_all -gdwarf-2"
        !          16275:     flags_dbg_all="$flags_dbg_all -gvms"
        !          16276:     flags_dbg_yes="-g"
        !          16277:     flags_dbg_off=""
        !          16278:     flags_opt_all="-O -O0 -O1 -O2 -Os -O3 -O4"
        !          16279:     flags_opt_yes="-Os"
        !          16280:     flags_opt_off="-O0"
        !          16281:   else
        !          16282:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          16283: $as_echo "no" >&6; }
        !          16284:   fi
        !          16285: 
        !          16286: 
        !          16287:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is GNU C" >&5
        !          16288: $as_echo_n "checking if compiler is GNU C... " >&6; }
        !          16289: 
        !          16290:     OLDCPPFLAGS=$CPPFLAGS
        !          16291:   # CPPPFLAG comes from CURL_CPP_P
        !          16292:   CPPFLAGS="$CPPFLAGS $CPPPFLAG"
        !          16293:       if test -z "$SED"; then
        !          16294:     as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
        !          16295:   fi
        !          16296:   if test -z "$GREP"; then
        !          16297:     as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
        !          16298:   fi
        !          16299: 
        !          16300:   tmp_exp=""
        !          16301:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          16302: /* end confdefs.h.  */
        !          16303: 
        !          16304: 
        !          16305: #ifdef __GNUC__
        !          16306: CURL_DEF_TOKEN __GNUC__
        !          16307: #endif
        !          16308: 
        !          16309: 
        !          16310: _ACEOF
        !          16311: if ac_fn_c_try_cpp "$LINENO"; then :
        !          16312: 
        !          16313:     tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
        !          16314:       "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
        !          16315:       "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
        !          16316:       "$SED" 's/["][ ]*["]//g' 2>/dev/null`
        !          16317:     if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then
        !          16318:       tmp_exp=""
        !          16319:     fi
        !          16320: 
        !          16321: fi
        !          16322: rm -f conftest.err conftest.i conftest.$ac_ext
        !          16323:   if test -z "$tmp_exp"; then
        !          16324:     curl_cv_have_def___GNUC__=no
        !          16325: 
        !          16326:   else
        !          16327:     curl_cv_have_def___GNUC__=yes
        !          16328:     curl_cv_def___GNUC__=$tmp_exp
        !          16329: 
        !          16330:   fi
        !          16331:       CPPFLAGS=$OLDCPPFLAGS
        !          16332: 
        !          16333:   if test "$curl_cv_have_def___GNUC__" = "yes" &&
        !          16334:     test "$compiler_id" = "unknown"; then
        !          16335:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          16336: $as_echo "yes" >&6; }
        !          16337:     compiler_id="GNU_C"
        !          16338:     gccver=`$CC -dumpversion`
        !          16339:     gccvhi=`echo $gccver | cut -d . -f1`
        !          16340:     gccvlo=`echo $gccver | cut -d . -f2`
        !          16341:     compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null`
        !          16342:     flags_dbg_all="-g -g0 -g1 -g2 -g3"
        !          16343:     flags_dbg_all="$flags_dbg_all -ggdb"
        !          16344:     flags_dbg_all="$flags_dbg_all -gstabs"
        !          16345:     flags_dbg_all="$flags_dbg_all -gstabs+"
        !          16346:     flags_dbg_all="$flags_dbg_all -gcoff"
        !          16347:     flags_dbg_all="$flags_dbg_all -gxcoff"
        !          16348:     flags_dbg_all="$flags_dbg_all -gdwarf-2"
        !          16349:     flags_dbg_all="$flags_dbg_all -gvms"
        !          16350:     flags_dbg_yes="-g"
        !          16351:     flags_dbg_off=""
        !          16352:     flags_opt_all="-O -O0 -O1 -O2 -O3 -Os -Og -Ofast"
        !          16353:     flags_opt_yes="-O2"
        !          16354:     flags_opt_off="-O0"
        !          16355: 
        !          16356:     OLDCPPFLAGS=$CPPFLAGS
        !          16357:   # CPPPFLAG comes from CURL_CPP_P
        !          16358:   CPPFLAGS="$CPPFLAGS $CPPPFLAG"
        !          16359:       if test -z "$SED"; then
        !          16360:     as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
        !          16361:   fi
        !          16362:   if test -z "$GREP"; then
        !          16363:     as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
        !          16364:   fi
        !          16365: 
        !          16366:   tmp_exp=""
        !          16367:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          16368: /* end confdefs.h.  */
        !          16369: 
        !          16370: 
        !          16371: #ifdef _WIN32
        !          16372: CURL_DEF_TOKEN _WIN32
        !          16373: #endif
        !          16374: 
        !          16375: 
        !          16376: _ACEOF
        !          16377: if ac_fn_c_try_cpp "$LINENO"; then :
        !          16378: 
        !          16379:     tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
        !          16380:       "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
        !          16381:       "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
        !          16382:       "$SED" 's/["][ ]*["]//g' 2>/dev/null`
        !          16383:     if test -z "$tmp_exp" || test "$tmp_exp" = "_WIN32"; then
        !          16384:       tmp_exp=""
        !          16385:     fi
        !          16386: 
        !          16387: fi
        !          16388: rm -f conftest.err conftest.i conftest.$ac_ext
        !          16389:   if test -z "$tmp_exp"; then
        !          16390:     curl_cv_have_def__WIN32=no
        !          16391: 
        !          16392:   else
        !          16393:     curl_cv_have_def__WIN32=yes
        !          16394:     curl_cv_def__WIN32=$tmp_exp
        !          16395: 
        !          16396:   fi
        !          16397:       CPPFLAGS=$OLDCPPFLAGS
        !          16398: 
        !          16399:   else
        !          16400:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          16401: $as_echo "no" >&6; }
        !          16402:   fi
        !          16403: 
        !          16404: 
        !          16405:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is LCC" >&5
        !          16406: $as_echo_n "checking if compiler is LCC... " >&6; }
        !          16407: 
        !          16408:     OLDCPPFLAGS=$CPPFLAGS
        !          16409:   # CPPPFLAG comes from CURL_CPP_P
        !          16410:   CPPFLAGS="$CPPFLAGS $CPPPFLAG"
        !          16411:       if test -z "$SED"; then
        !          16412:     as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
        !          16413:   fi
        !          16414:   if test -z "$GREP"; then
        !          16415:     as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
        !          16416:   fi
        !          16417: 
        !          16418:   tmp_exp=""
        !          16419:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          16420: /* end confdefs.h.  */
        !          16421: 
        !          16422: 
        !          16423: #ifdef __LCC__
        !          16424: CURL_DEF_TOKEN __LCC__
        !          16425: #endif
        !          16426: 
        !          16427: 
        !          16428: _ACEOF
        !          16429: if ac_fn_c_try_cpp "$LINENO"; then :
        !          16430: 
        !          16431:     tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
        !          16432:       "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
        !          16433:       "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
        !          16434:       "$SED" 's/["][ ]*["]//g' 2>/dev/null`
        !          16435:     if test -z "$tmp_exp" || test "$tmp_exp" = "__LCC__"; then
        !          16436:       tmp_exp=""
        !          16437:     fi
        !          16438: 
        !          16439: fi
        !          16440: rm -f conftest.err conftest.i conftest.$ac_ext
        !          16441:   if test -z "$tmp_exp"; then
        !          16442:     curl_cv_have_def___LCC__=no
        !          16443: 
        !          16444:   else
        !          16445:     curl_cv_have_def___LCC__=yes
        !          16446:     curl_cv_def___LCC__=$tmp_exp
        !          16447: 
        !          16448:   fi
        !          16449:       CPPFLAGS=$OLDCPPFLAGS
        !          16450: 
        !          16451:   if test "$curl_cv_have_def___LCC__" = "yes"; then
        !          16452:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          16453: $as_echo "yes" >&6; }
        !          16454:     compiler_id="LCC"
        !          16455:     flags_dbg_all="-g"
        !          16456:     flags_dbg_yes="-g"
        !          16457:     flags_dbg_off=""
        !          16458:     flags_opt_all=""
        !          16459:     flags_opt_yes=""
        !          16460:     flags_opt_off=""
        !          16461:   else
        !          16462:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          16463: $as_echo "no" >&6; }
        !          16464:   fi
        !          16465: 
        !          16466: 
        !          16467:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is SGI MIPSpro C" >&5
        !          16468: $as_echo_n "checking if compiler is SGI MIPSpro C... " >&6; }
        !          16469: 
        !          16470:     OLDCPPFLAGS=$CPPFLAGS
        !          16471:   # CPPPFLAG comes from CURL_CPP_P
        !          16472:   CPPFLAGS="$CPPFLAGS $CPPPFLAG"
        !          16473:       if test -z "$SED"; then
        !          16474:     as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
        !          16475:   fi
        !          16476:   if test -z "$GREP"; then
        !          16477:     as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
        !          16478:   fi
        !          16479: 
        !          16480:   tmp_exp=""
        !          16481:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          16482: /* end confdefs.h.  */
        !          16483: 
        !          16484: 
        !          16485: #ifdef __GNUC__
        !          16486: CURL_DEF_TOKEN __GNUC__
        !          16487: #endif
        !          16488: 
        !          16489: 
        !          16490: _ACEOF
        !          16491: if ac_fn_c_try_cpp "$LINENO"; then :
        !          16492: 
        !          16493:     tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
        !          16494:       "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
        !          16495:       "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
        !          16496:       "$SED" 's/["][ ]*["]//g' 2>/dev/null`
        !          16497:     if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then
        !          16498:       tmp_exp=""
        !          16499:     fi
        !          16500: 
        !          16501: fi
        !          16502: rm -f conftest.err conftest.i conftest.$ac_ext
        !          16503:   if test -z "$tmp_exp"; then
        !          16504:     curl_cv_have_def___GNUC__=no
        !          16505: 
        !          16506:   else
        !          16507:     curl_cv_have_def___GNUC__=yes
        !          16508:     curl_cv_def___GNUC__=$tmp_exp
        !          16509: 
        !          16510:   fi
        !          16511:       CPPFLAGS=$OLDCPPFLAGS
        !          16512: 
        !          16513: 
        !          16514:     OLDCPPFLAGS=$CPPFLAGS
        !          16515:   # CPPPFLAG comes from CURL_CPP_P
        !          16516:   CPPFLAGS="$CPPFLAGS $CPPPFLAG"
        !          16517:       if test -z "$SED"; then
        !          16518:     as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
        !          16519:   fi
        !          16520:   if test -z "$GREP"; then
        !          16521:     as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
        !          16522:   fi
        !          16523: 
        !          16524:   tmp_exp=""
        !          16525:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          16526: /* end confdefs.h.  */
        !          16527: 
        !          16528: 
        !          16529: #ifdef _COMPILER_VERSION
        !          16530: CURL_DEF_TOKEN _COMPILER_VERSION
        !          16531: #endif
        !          16532: 
        !          16533: 
        !          16534: _ACEOF
        !          16535: if ac_fn_c_try_cpp "$LINENO"; then :
        !          16536: 
        !          16537:     tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
        !          16538:       "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
        !          16539:       "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
        !          16540:       "$SED" 's/["][ ]*["]//g' 2>/dev/null`
        !          16541:     if test -z "$tmp_exp" || test "$tmp_exp" = "_COMPILER_VERSION"; then
        !          16542:       tmp_exp=""
        !          16543:     fi
        !          16544: 
        !          16545: fi
        !          16546: rm -f conftest.err conftest.i conftest.$ac_ext
        !          16547:   if test -z "$tmp_exp"; then
        !          16548:     curl_cv_have_def__COMPILER_VERSION=no
        !          16549: 
        !          16550:   else
        !          16551:     curl_cv_have_def__COMPILER_VERSION=yes
        !          16552:     curl_cv_def__COMPILER_VERSION=$tmp_exp
        !          16553: 
        !          16554:   fi
        !          16555:       CPPFLAGS=$OLDCPPFLAGS
        !          16556: 
        !          16557: 
        !          16558:     OLDCPPFLAGS=$CPPFLAGS
        !          16559:   # CPPPFLAG comes from CURL_CPP_P
        !          16560:   CPPFLAGS="$CPPFLAGS $CPPPFLAG"
        !          16561:       if test -z "$SED"; then
        !          16562:     as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
        !          16563:   fi
        !          16564:   if test -z "$GREP"; then
        !          16565:     as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
        !          16566:   fi
        !          16567: 
        !          16568:   tmp_exp=""
        !          16569:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          16570: /* end confdefs.h.  */
        !          16571: 
        !          16572: 
        !          16573: #ifdef _SGI_COMPILER_VERSION
        !          16574: CURL_DEF_TOKEN _SGI_COMPILER_VERSION
        !          16575: #endif
        !          16576: 
        !          16577: 
        !          16578: _ACEOF
        !          16579: if ac_fn_c_try_cpp "$LINENO"; then :
        !          16580: 
        !          16581:     tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
        !          16582:       "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
        !          16583:       "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
        !          16584:       "$SED" 's/["][ ]*["]//g' 2>/dev/null`
        !          16585:     if test -z "$tmp_exp" || test "$tmp_exp" = "_SGI_COMPILER_VERSION"; then
        !          16586:       tmp_exp=""
        !          16587:     fi
        !          16588: 
        !          16589: fi
        !          16590: rm -f conftest.err conftest.i conftest.$ac_ext
        !          16591:   if test -z "$tmp_exp"; then
        !          16592:     curl_cv_have_def__SGI_COMPILER_VERSION=no
        !          16593: 
        !          16594:   else
        !          16595:     curl_cv_have_def__SGI_COMPILER_VERSION=yes
        !          16596:     curl_cv_def__SGI_COMPILER_VERSION=$tmp_exp
        !          16597: 
        !          16598:   fi
        !          16599:       CPPFLAGS=$OLDCPPFLAGS
        !          16600: 
        !          16601:   if test "$curl_cv_have_def___GNUC__" = "no" &&
        !          16602:     (test "$curl_cv_have_def__SGI_COMPILER_VERSION" = "yes" ||
        !          16603:      test "$curl_cv_have_def__COMPILER_VERSION" = "yes"); then
        !          16604:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          16605: $as_echo "yes" >&6; }
        !          16606:     compiler_id="SGI_MIPSPRO_C"
        !          16607:     flags_dbg_all="-g -g0 -g1 -g2 -g3"
        !          16608:     flags_dbg_yes="-g"
        !          16609:     flags_dbg_off=""
        !          16610:     flags_opt_all="-O -O0 -O1 -O2 -O3 -Ofast"
        !          16611:     flags_opt_yes="-O2"
        !          16612:     flags_opt_off="-O0"
        !          16613:   else
        !          16614:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          16615: $as_echo "no" >&6; }
        !          16616:   fi
        !          16617: 
        !          16618: 
        !          16619:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is SGI MIPS C" >&5
        !          16620: $as_echo_n "checking if compiler is SGI MIPS C... " >&6; }
        !          16621: 
        !          16622:     OLDCPPFLAGS=$CPPFLAGS
        !          16623:   # CPPPFLAG comes from CURL_CPP_P
        !          16624:   CPPFLAGS="$CPPFLAGS $CPPPFLAG"
        !          16625:       if test -z "$SED"; then
        !          16626:     as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
        !          16627:   fi
        !          16628:   if test -z "$GREP"; then
        !          16629:     as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
        !          16630:   fi
        !          16631: 
        !          16632:   tmp_exp=""
        !          16633:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          16634: /* end confdefs.h.  */
        !          16635: 
        !          16636: 
        !          16637: #ifdef __GNUC__
        !          16638: CURL_DEF_TOKEN __GNUC__
        !          16639: #endif
        !          16640: 
        !          16641: 
        !          16642: _ACEOF
        !          16643: if ac_fn_c_try_cpp "$LINENO"; then :
        !          16644: 
        !          16645:     tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
        !          16646:       "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
        !          16647:       "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
        !          16648:       "$SED" 's/["][ ]*["]//g' 2>/dev/null`
        !          16649:     if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then
        !          16650:       tmp_exp=""
        !          16651:     fi
        !          16652: 
        !          16653: fi
        !          16654: rm -f conftest.err conftest.i conftest.$ac_ext
        !          16655:   if test -z "$tmp_exp"; then
        !          16656:     curl_cv_have_def___GNUC__=no
        !          16657: 
        !          16658:   else
        !          16659:     curl_cv_have_def___GNUC__=yes
        !          16660:     curl_cv_def___GNUC__=$tmp_exp
        !          16661: 
        !          16662:   fi
        !          16663:       CPPFLAGS=$OLDCPPFLAGS
        !          16664: 
        !          16665: 
        !          16666:     OLDCPPFLAGS=$CPPFLAGS
        !          16667:   # CPPPFLAG comes from CURL_CPP_P
        !          16668:   CPPFLAGS="$CPPFLAGS $CPPPFLAG"
        !          16669:       if test -z "$SED"; then
        !          16670:     as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
        !          16671:   fi
        !          16672:   if test -z "$GREP"; then
        !          16673:     as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
        !          16674:   fi
        !          16675: 
        !          16676:   tmp_exp=""
        !          16677:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          16678: /* end confdefs.h.  */
        !          16679: 
        !          16680: 
        !          16681: #ifdef __sgi
        !          16682: CURL_DEF_TOKEN __sgi
        !          16683: #endif
        !          16684: 
        !          16685: 
        !          16686: _ACEOF
        !          16687: if ac_fn_c_try_cpp "$LINENO"; then :
        !          16688: 
        !          16689:     tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
        !          16690:       "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
        !          16691:       "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
        !          16692:       "$SED" 's/["][ ]*["]//g' 2>/dev/null`
        !          16693:     if test -z "$tmp_exp" || test "$tmp_exp" = "__sgi"; then
        !          16694:       tmp_exp=""
        !          16695:     fi
        !          16696: 
        !          16697: fi
        !          16698: rm -f conftest.err conftest.i conftest.$ac_ext
        !          16699:   if test -z "$tmp_exp"; then
        !          16700:     curl_cv_have_def___sgi=no
        !          16701: 
        !          16702:   else
        !          16703:     curl_cv_have_def___sgi=yes
        !          16704:     curl_cv_def___sgi=$tmp_exp
        !          16705: 
        !          16706:   fi
        !          16707:       CPPFLAGS=$OLDCPPFLAGS
        !          16708: 
        !          16709:   if test "$curl_cv_have_def___GNUC__" = "no" &&
        !          16710:     test "$curl_cv_have_def___sgi" = "yes" &&
        !          16711:     test "$compiler_id" = "unknown"; then
        !          16712:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          16713: $as_echo "yes" >&6; }
        !          16714:     compiler_id="SGI_MIPS_C"
        !          16715:     flags_dbg_all="-g -g0 -g1 -g2 -g3"
        !          16716:     flags_dbg_yes="-g"
        !          16717:     flags_dbg_off=""
        !          16718:     flags_opt_all="-O -O0 -O1 -O2 -O3 -Ofast"
        !          16719:     flags_opt_yes="-O2"
        !          16720:     flags_opt_off="-O0"
        !          16721:   else
        !          16722:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          16723: $as_echo "no" >&6; }
        !          16724:   fi
        !          16725: 
        !          16726: 
        !          16727:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is SunPro C" >&5
        !          16728: $as_echo_n "checking if compiler is SunPro C... " >&6; }
        !          16729: 
        !          16730:     OLDCPPFLAGS=$CPPFLAGS
        !          16731:   # CPPPFLAG comes from CURL_CPP_P
        !          16732:   CPPFLAGS="$CPPFLAGS $CPPPFLAG"
        !          16733:       if test -z "$SED"; then
        !          16734:     as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
        !          16735:   fi
        !          16736:   if test -z "$GREP"; then
        !          16737:     as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
        !          16738:   fi
        !          16739: 
        !          16740:   tmp_exp=""
        !          16741:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          16742: /* end confdefs.h.  */
        !          16743: 
        !          16744: 
        !          16745: #ifdef __SUNPRO_C
        !          16746: CURL_DEF_TOKEN __SUNPRO_C
        !          16747: #endif
        !          16748: 
        !          16749: 
        !          16750: _ACEOF
        !          16751: if ac_fn_c_try_cpp "$LINENO"; then :
        !          16752: 
        !          16753:     tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
        !          16754:       "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
        !          16755:       "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
        !          16756:       "$SED" 's/["][ ]*["]//g' 2>/dev/null`
        !          16757:     if test -z "$tmp_exp" || test "$tmp_exp" = "__SUNPRO_C"; then
        !          16758:       tmp_exp=""
        !          16759:     fi
        !          16760: 
        !          16761: fi
        !          16762: rm -f conftest.err conftest.i conftest.$ac_ext
        !          16763:   if test -z "$tmp_exp"; then
        !          16764:     curl_cv_have_def___SUNPRO_C=no
        !          16765: 
        !          16766:   else
        !          16767:     curl_cv_have_def___SUNPRO_C=yes
        !          16768:     curl_cv_def___SUNPRO_C=$tmp_exp
        !          16769: 
        !          16770:   fi
        !          16771:       CPPFLAGS=$OLDCPPFLAGS
        !          16772: 
        !          16773:   if test "$curl_cv_have_def___SUNPRO_C" = "yes"; then
        !          16774:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          16775: $as_echo "yes" >&6; }
        !          16776:     compiler_id="SUNPRO_C"
        !          16777:     flags_dbg_all="-g -s"
        !          16778:     flags_dbg_yes="-g"
        !          16779:     flags_dbg_off="-s"
        !          16780:     flags_opt_all="-O -xO -xO1 -xO2 -xO3 -xO4 -xO5"
        !          16781:     flags_opt_yes="-xO2"
        !          16782:     flags_opt_off=""
        !          16783:   else
        !          16784:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          16785: $as_echo "no" >&6; }
        !          16786:   fi
        !          16787: 
        !          16788: 
        !          16789:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is Tiny C" >&5
        !          16790: $as_echo_n "checking if compiler is Tiny C... " >&6; }
        !          16791: 
        !          16792:     OLDCPPFLAGS=$CPPFLAGS
        !          16793:   # CPPPFLAG comes from CURL_CPP_P
        !          16794:   CPPFLAGS="$CPPFLAGS $CPPPFLAG"
        !          16795:       if test -z "$SED"; then
        !          16796:     as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
        !          16797:   fi
        !          16798:   if test -z "$GREP"; then
        !          16799:     as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
        !          16800:   fi
        !          16801: 
        !          16802:   tmp_exp=""
        !          16803:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          16804: /* end confdefs.h.  */
        !          16805: 
        !          16806: 
        !          16807: #ifdef __TINYC__
        !          16808: CURL_DEF_TOKEN __TINYC__
        !          16809: #endif
        !          16810: 
        !          16811: 
        !          16812: _ACEOF
        !          16813: if ac_fn_c_try_cpp "$LINENO"; then :
        !          16814: 
        !          16815:     tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
        !          16816:       "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
        !          16817:       "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
        !          16818:       "$SED" 's/["][ ]*["]//g' 2>/dev/null`
        !          16819:     if test -z "$tmp_exp" || test "$tmp_exp" = "__TINYC__"; then
        !          16820:       tmp_exp=""
        !          16821:     fi
        !          16822: 
        !          16823: fi
        !          16824: rm -f conftest.err conftest.i conftest.$ac_ext
        !          16825:   if test -z "$tmp_exp"; then
        !          16826:     curl_cv_have_def___TINYC__=no
        !          16827: 
        !          16828:   else
        !          16829:     curl_cv_have_def___TINYC__=yes
        !          16830:     curl_cv_def___TINYC__=$tmp_exp
        !          16831: 
        !          16832:   fi
        !          16833:       CPPFLAGS=$OLDCPPFLAGS
        !          16834: 
        !          16835:   if test "$curl_cv_have_def___TINYC__" = "yes"; then
        !          16836:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          16837: $as_echo "yes" >&6; }
        !          16838:     compiler_id="TINY_C"
        !          16839:     flags_dbg_all="-g -b"
        !          16840:     flags_dbg_yes="-g"
        !          16841:     flags_dbg_off=""
        !          16842:     flags_opt_all=""
        !          16843:     flags_opt_yes=""
        !          16844:     flags_opt_off=""
        !          16845:   else
        !          16846:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          16847: $as_echo "no" >&6; }
        !          16848:   fi
        !          16849: 
        !          16850: 
        !          16851:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is Watcom C" >&5
        !          16852: $as_echo_n "checking if compiler is Watcom C... " >&6; }
        !          16853: 
        !          16854:     OLDCPPFLAGS=$CPPFLAGS
        !          16855:   # CPPPFLAG comes from CURL_CPP_P
        !          16856:   CPPFLAGS="$CPPFLAGS $CPPPFLAG"
        !          16857:       if test -z "$SED"; then
        !          16858:     as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
        !          16859:   fi
        !          16860:   if test -z "$GREP"; then
        !          16861:     as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
        !          16862:   fi
        !          16863: 
        !          16864:   tmp_exp=""
        !          16865:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          16866: /* end confdefs.h.  */
        !          16867: 
        !          16868: 
        !          16869: #ifdef __WATCOMC__
        !          16870: CURL_DEF_TOKEN __WATCOMC__
        !          16871: #endif
        !          16872: 
        !          16873: 
        !          16874: _ACEOF
        !          16875: if ac_fn_c_try_cpp "$LINENO"; then :
        !          16876: 
        !          16877:     tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
        !          16878:       "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
        !          16879:       "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
        !          16880:       "$SED" 's/["][ ]*["]//g' 2>/dev/null`
        !          16881:     if test -z "$tmp_exp" || test "$tmp_exp" = "__WATCOMC__"; then
        !          16882:       tmp_exp=""
        !          16883:     fi
        !          16884: 
        !          16885: fi
        !          16886: rm -f conftest.err conftest.i conftest.$ac_ext
        !          16887:   if test -z "$tmp_exp"; then
        !          16888:     curl_cv_have_def___WATCOMC__=no
        !          16889: 
        !          16890:   else
        !          16891:     curl_cv_have_def___WATCOMC__=yes
        !          16892:     curl_cv_def___WATCOMC__=$tmp_exp
        !          16893: 
        !          16894:   fi
        !          16895:       CPPFLAGS=$OLDCPPFLAGS
        !          16896: 
        !          16897:   if test "$curl_cv_have_def___WATCOMC__" = "yes"; then
        !          16898:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          16899: $as_echo "yes" >&6; }
        !          16900: 
        !          16901:     OLDCPPFLAGS=$CPPFLAGS
        !          16902:   # CPPPFLAG comes from CURL_CPP_P
        !          16903:   CPPFLAGS="$CPPFLAGS $CPPPFLAG"
        !          16904:       if test -z "$SED"; then
        !          16905:     as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
        !          16906:   fi
        !          16907:   if test -z "$GREP"; then
        !          16908:     as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
        !          16909:   fi
        !          16910: 
        !          16911:   tmp_exp=""
        !          16912:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          16913: /* end confdefs.h.  */
        !          16914: 
        !          16915: 
        !          16916: #ifdef __UNIX__
        !          16917: CURL_DEF_TOKEN __UNIX__
        !          16918: #endif
        !          16919: 
        !          16920: 
        !          16921: _ACEOF
        !          16922: if ac_fn_c_try_cpp "$LINENO"; then :
        !          16923: 
        !          16924:     tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
        !          16925:       "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
        !          16926:       "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
        !          16927:       "$SED" 's/["][ ]*["]//g' 2>/dev/null`
        !          16928:     if test -z "$tmp_exp" || test "$tmp_exp" = "__UNIX__"; then
        !          16929:       tmp_exp=""
        !          16930:     fi
        !          16931: 
        !          16932: fi
        !          16933: rm -f conftest.err conftest.i conftest.$ac_ext
        !          16934:   if test -z "$tmp_exp"; then
        !          16935:     curl_cv_have_def___UNIX__=no
        !          16936: 
        !          16937:   else
        !          16938:     curl_cv_have_def___UNIX__=yes
        !          16939:     curl_cv_def___UNIX__=$tmp_exp
        !          16940: 
        !          16941:   fi
        !          16942:       CPPFLAGS=$OLDCPPFLAGS
        !          16943: 
        !          16944:     if test "$curl_cv_have_def___UNIX__" = "yes"; then
        !          16945:       compiler_id="WATCOM_UNIX_C"
        !          16946:       flags_dbg_all="-g1 -g1+ -g2 -g3"
        !          16947:       flags_dbg_yes="-g2"
        !          16948:       flags_dbg_off=""
        !          16949:       flags_opt_all="-O0 -O1 -O2 -O3"
        !          16950:       flags_opt_yes="-O2"
        !          16951:       flags_opt_off="-O0"
        !          16952:     else
        !          16953:       compiler_id="WATCOM_WINDOWS_C"
        !          16954:       flags_dbg_all=""
        !          16955:       flags_dbg_yes=""
        !          16956:       flags_dbg_off=""
        !          16957:       flags_opt_all=""
        !          16958:       flags_opt_yes=""
        !          16959:       flags_opt_off=""
        !          16960:     fi
        !          16961:   else
        !          16962:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          16963: $as_echo "no" >&6; }
        !          16964:   fi
        !          16965: 
        !          16966:   #
        !          16967:   if test "$compiler_id" = "unknown"; then
        !          16968:   cat <<_EOF 1>&2
        !          16969: ***
        !          16970: *** Warning: This configure script does not have information about the
        !          16971: *** compiler you are using, relative to the flags required to enable or
        !          16972: *** disable generation of debug info, optimization options or warnings.
        !          16973: ***
        !          16974: *** Whatever settings are present in CFLAGS will be used for this run.
        !          16975: ***
        !          16976: *** If you wish to help the curl project to better support your compiler
        !          16977: *** you can report this and the required info on the libcurl development
        !          16978: *** mailing list: https://cool.haxx.se/mailman/listinfo/curl-library/
        !          16979: ***
        !          16980: _EOF
        !          16981:   fi
        !          16982: 
        !          16983: 
        !          16984: squeeze() {
        !          16985:   _sqz_result=""
        !          16986:   eval _sqz_input=\$$1
        !          16987:   for _sqz_token in $_sqz_input; do
        !          16988:     if test -z "$_sqz_result"; then
        !          16989:       _sqz_result="$_sqz_token"
        !          16990:     else
        !          16991:       _sqz_result="$_sqz_result $_sqz_token"
        !          16992:     fi
        !          16993:   done
        !          16994:   eval $1=\$_sqz_result
        !          16995:   return 0
        !          16996: }
        !          16997: 
        !          16998: 
        !          16999:       #
        !          17000:   if test "$compiler_id" != "unknown"; then
        !          17001:     #
        !          17002:     tmp_save_CPPFLAGS="$CPPFLAGS"
        !          17003:     tmp_save_CFLAGS="$CFLAGS"
        !          17004:     tmp_CPPFLAGS=""
        !          17005:     tmp_CFLAGS=""
        !          17006:     #
        !          17007:     case "$compiler_id" in
        !          17008:         #
        !          17009:       CLANG)
        !          17010:         #
        !          17011:                                 tmp_CFLAGS="$tmp_CFLAGS -Qunused-arguments"
        !          17012:         ;;
        !          17013:         #
        !          17014:       DEC_C)
        !          17015:         #
        !          17016:                 tmp_CFLAGS="$tmp_CFLAGS -std1"
        !          17017:                 tmp_CFLAGS="$tmp_CFLAGS -noansi_alias"
        !          17018:                 tmp_CFLAGS="$tmp_CFLAGS -warnprotos"
        !          17019:                 tmp_CFLAGS="$tmp_CFLAGS -msg_fatal toofewargs,toomanyargs"
        !          17020:         ;;
        !          17021:         #
        !          17022:       GNU_C)
        !          17023:         #
        !          17024:                         if test "$compiler_num" -ge "295"; then
        !          17025:           tmp_CFLAGS="$tmp_CFLAGS -Werror-implicit-function-declaration"
        !          17026:         fi
        !          17027:         ;;
        !          17028:         #
        !          17029:       HP_UX_C)
        !          17030:         #
        !          17031:                 tmp_CFLAGS="$tmp_CFLAGS -z"
        !          17032:                                 tmp_CFLAGS="$tmp_CFLAGS +W 4227,4255"
        !          17033:         ;;
        !          17034:         #
        !          17035:       IBM_C)
        !          17036:         #
        !          17037:                 tmp_CPPFLAGS="$tmp_CPPFLAGS -qthreaded"
        !          17038:                                         tmp_CPPFLAGS="$tmp_CPPFLAGS -qnoansialias"
        !          17039:                         tmp_CPPFLAGS="$tmp_CPPFLAGS -qhalt=e"
        !          17040:         ;;
        !          17041:         #
        !          17042:       INTEL_UNIX_C)
        !          17043:         #
        !          17044:                         tmp_CFLAGS="$tmp_CFLAGS -std=gnu89"
        !          17045:                                                 tmp_CPPFLAGS="$tmp_CPPFLAGS -we140,147,165,266"
        !          17046:                                         tmp_CPPFLAGS="$tmp_CPPFLAGS -wd279,981,1469"
        !          17047:         ;;
        !          17048:         #
        !          17049:       INTEL_WINDOWS_C)
        !          17050:         #
        !          17051:                 tmp_CFLAGS="$tmp_CFLAGS"
        !          17052:         ;;
        !          17053:         #
        !          17054:       LCC)
        !          17055:         #
        !          17056:                 tmp_CFLAGS="$tmp_CFLAGS -n"
        !          17057:         ;;
        !          17058:         #
        !          17059:       SGI_MIPS_C)
        !          17060:         #
        !          17061:                 tmp_CFLAGS="$tmp_CFLAGS"
        !          17062:         ;;
        !          17063:         #
        !          17064:       SGI_MIPSPRO_C)
        !          17065:         #
        !          17066:                 tmp_CFLAGS="$tmp_CFLAGS"
        !          17067:         ;;
        !          17068:         #
        !          17069:       SUNPRO_C)
        !          17070:         #
        !          17071:                 tmp_CFLAGS="$tmp_CFLAGS"
        !          17072:         ;;
        !          17073:         #
        !          17074:       TINY_C)
        !          17075:         #
        !          17076:                 tmp_CFLAGS="$tmp_CFLAGS"
        !          17077:         ;;
        !          17078:         #
        !          17079:       WATCOM_UNIX_C)
        !          17080:         #
        !          17081:                 tmp_CFLAGS="$tmp_CFLAGS"
        !          17082:         ;;
        !          17083:         #
        !          17084:       WATCOM_WINDOWS_C)
        !          17085:         #
        !          17086:                 tmp_CFLAGS="$tmp_CFLAGS"
        !          17087:         ;;
        !          17088:         #
        !          17089:     esac
        !          17090:     #
        !          17091:     squeeze tmp_CPPFLAGS
        !          17092:     squeeze tmp_CFLAGS
        !          17093:     #
        !          17094:     if test ! -z "$tmp_CFLAGS" || test ! -z "$tmp_CPPFLAGS"; then
        !          17095:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts some basic options" >&5
        !          17096: $as_echo_n "checking if compiler accepts some basic options... " >&6; }
        !          17097:       CPPFLAGS="$tmp_save_CPPFLAGS $tmp_CPPFLAGS"
        !          17098:       CFLAGS="$tmp_save_CFLAGS $tmp_CFLAGS"
        !          17099:       squeeze CPPFLAGS
        !          17100:       squeeze CFLAGS
        !          17101: 
        !          17102:     tmp_compiler_works="unknown"
        !          17103:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          17104: /* end confdefs.h.  */
        !          17105: 
        !          17106: 
        !          17107: 
        !          17108: int main (void)
        !          17109: {
        !          17110: 
        !          17111:       int i = 1;
        !          17112:       return i;
        !          17113: 
        !          17114:  ;
        !          17115:  return 0;
        !          17116: }
        !          17117: 
        !          17118: _ACEOF
        !          17119: if ac_fn_c_try_compile "$LINENO"; then :
        !          17120: 
        !          17121:     tmp_compiler_works="yes"
        !          17122: 
        !          17123: else
        !          17124: 
        !          17125:     tmp_compiler_works="no"
        !          17126:     echo " " >&6
        !          17127:     sed 's/^/cc-fail: /' conftest.err >&6
        !          17128:     echo " " >&6
        !          17129: 
        !          17130: fi
        !          17131: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          17132:     if test "$tmp_compiler_works" = "yes"; then
        !          17133:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          17134: /* end confdefs.h.  */
        !          17135: 
        !          17136: 
        !          17137: 
        !          17138: int main (void)
        !          17139: {
        !          17140: 
        !          17141:         int i = 1;
        !          17142:         return i;
        !          17143: 
        !          17144:  ;
        !          17145:  return 0;
        !          17146: }
        !          17147: 
        !          17148: _ACEOF
        !          17149: if ac_fn_c_try_link "$LINENO"; then :
        !          17150: 
        !          17151:       tmp_compiler_works="yes"
        !          17152: 
        !          17153: else
        !          17154: 
        !          17155:       tmp_compiler_works="no"
        !          17156:       echo " " >&6
        !          17157:       sed 's/^/link-fail: /' conftest.err >&6
        !          17158:       echo " " >&6
        !          17159: 
        !          17160: fi
        !          17161: rm -f core conftest.err conftest.$ac_objext \
        !          17162:     conftest$ac_exeext conftest.$ac_ext
        !          17163:   fi
        !          17164:     if test "x$cross_compiling" != "xyes" &&
        !          17165:     test "$tmp_compiler_works" = "yes"; then
        !          17166: 
        !          17167:    old=$LD_LIBRARY_PATH
        !          17168:    LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
        !          17169:    export LD_LIBRARY_PATH
        !          17170:    if test "$cross_compiling" = yes; then :
        !          17171:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          17172: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          17173: as_fn_error $? "cannot run test program while cross compiling
        !          17174: See \`config.log' for more details" "$LINENO" 5; }
        !          17175: else
        !          17176:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          17177: /* end confdefs.h.  */
        !          17178: 
        !          17179: 
        !          17180: #       ifdef __STDC__
        !          17181: #         include <stdlib.h>
        !          17182: #       endif
        !          17183: 
        !          17184: int main (void)
        !          17185: {
        !          17186: 
        !          17187:         int i = 0;
        !          17188:         exit(i);
        !          17189: 
        !          17190:  ;
        !          17191:  return 0;
        !          17192: }
        !          17193: 
        !          17194: _ACEOF
        !          17195: if ac_fn_c_try_run "$LINENO"; then :
        !          17196:   tmp_compiler_works="yes"
        !          17197: 
        !          17198: else
        !          17199:   tmp_compiler_works="no"
        !          17200:       echo " " >&6
        !          17201:       echo "run-fail: test program exited with status $ac_status" >&6
        !          17202:       echo " " >&6
        !          17203: 
        !          17204: fi
        !          17205: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          17206:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          17207: fi
        !          17208: 
        !          17209:    LD_LIBRARY_PATH=$old # restore
        !          17210: 
        !          17211:   fi
        !          17212:     if test "$tmp_compiler_works" = "yes"; then
        !          17213: 
        !          17214:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          17215: $as_echo "yes" >&6; }
        !          17216:         { $as_echo "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >&5
        !          17217: $as_echo "$as_me: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >&6;}
        !          17218: 
        !          17219:   else
        !          17220: 
        !          17221:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          17222: $as_echo "no" >&6; }
        !          17223:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_CFLAGS $tmp_CPPFLAGS" >&5
        !          17224: $as_echo "$as_me: WARNING: compiler options rejected: $tmp_CFLAGS $tmp_CPPFLAGS" >&2;}
        !          17225:                 CPPFLAGS="$tmp_save_CPPFLAGS"
        !          17226:         CFLAGS="$tmp_save_CFLAGS"
        !          17227: 
        !          17228:   fi
        !          17229: 
        !          17230:     fi
        !          17231:     #
        !          17232:   fi
        !          17233: 
        !          17234: 
        !          17235:         #
        !          17236:   if test "$compiler_id" != "unknown"; then
        !          17237:     #
        !          17238:     tmp_save_CFLAGS="$CFLAGS"
        !          17239:     tmp_save_CPPFLAGS="$CPPFLAGS"
        !          17240:     #
        !          17241:     tmp_options=""
        !          17242:     tmp_CFLAGS="$CFLAGS"
        !          17243:     tmp_CPPFLAGS="$CPPFLAGS"
        !          17244: 
        !          17245: # Do not remove the user-supplied debug flags in CFLAGS (PR/150854)
        !          17246: if false; then
        !          17247:     ac_var_stripped=""
        !          17248:   for word1 in $tmp_CFLAGS; do
        !          17249:     ac_var_strip_word="no"
        !          17250:     for word2 in $flags_dbg_all; do
        !          17251:       if test "$word1" = "$word2"; then
        !          17252:         ac_var_strip_word="yes"
        !          17253:       fi
        !          17254:     done
        !          17255:     if test "$ac_var_strip_word" = "no"; then
        !          17256:       ac_var_stripped="$ac_var_stripped $word1"
        !          17257:     fi
        !          17258:   done
        !          17259:     tmp_CFLAGS="$ac_var_stripped"
        !          17260:   squeeze tmp_CFLAGS
        !          17261: 
        !          17262: 
        !          17263:     ac_var_stripped=""
        !          17264:   for word1 in $tmp_CPPFLAGS; do
        !          17265:     ac_var_strip_word="no"
        !          17266:     for word2 in $flags_dbg_all; do
        !          17267:       if test "$word1" = "$word2"; then
        !          17268:         ac_var_strip_word="yes"
        !          17269:       fi
        !          17270:     done
        !          17271:     if test "$ac_var_strip_word" = "no"; then
        !          17272:       ac_var_stripped="$ac_var_stripped $word1"
        !          17273:     fi
        !          17274:   done
        !          17275:     tmp_CPPFLAGS="$ac_var_stripped"
        !          17276:   squeeze tmp_CPPFLAGS
        !          17277: fi
        !          17278: 
        !          17279:     #
        !          17280:     if test "$want_debug" = "yes"; then
        !          17281:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts debug enabling options" >&5
        !          17282: $as_echo_n "checking if compiler accepts debug enabling options... " >&6; }
        !          17283:       tmp_options="$flags_dbg_yes"
        !          17284:     fi
        !          17285:     if test "$want_debug" = "no"; then
        !          17286:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts debug disabling options" >&5
        !          17287: $as_echo_n "checking if compiler accepts debug disabling options... " >&6; }
        !          17288:       tmp_options="$flags_dbg_off"
        !          17289:     fi
        !          17290:     #
        !          17291:     if test "$flags_prefer_cppflags" = "yes"; then
        !          17292:       CPPFLAGS="$tmp_CPPFLAGS $tmp_options"
        !          17293:       CFLAGS="$tmp_CFLAGS"
        !          17294:     else
        !          17295:       CPPFLAGS="$tmp_CPPFLAGS"
        !          17296:       CFLAGS="$tmp_CFLAGS $tmp_options"
        !          17297:     fi
        !          17298:     squeeze CPPFLAGS
        !          17299:     squeeze CFLAGS
        !          17300: 
        !          17301:     tmp_compiler_works="unknown"
        !          17302:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          17303: /* end confdefs.h.  */
        !          17304: 
        !          17305: 
        !          17306: 
        !          17307: int main (void)
        !          17308: {
        !          17309: 
        !          17310:       int i = 1;
        !          17311:       return i;
        !          17312: 
        !          17313:  ;
        !          17314:  return 0;
        !          17315: }
        !          17316: 
        !          17317: _ACEOF
        !          17318: if ac_fn_c_try_compile "$LINENO"; then :
        !          17319: 
        !          17320:     tmp_compiler_works="yes"
        !          17321: 
        !          17322: else
        !          17323: 
        !          17324:     tmp_compiler_works="no"
        !          17325:     echo " " >&6
        !          17326:     sed 's/^/cc-fail: /' conftest.err >&6
        !          17327:     echo " " >&6
        !          17328: 
        !          17329: fi
        !          17330: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          17331:     if test "$tmp_compiler_works" = "yes"; then
        !          17332:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          17333: /* end confdefs.h.  */
        !          17334: 
        !          17335: 
        !          17336: 
        !          17337: int main (void)
        !          17338: {
        !          17339: 
        !          17340:         int i = 1;
        !          17341:         return i;
        !          17342: 
        !          17343:  ;
        !          17344:  return 0;
        !          17345: }
        !          17346: 
        !          17347: _ACEOF
        !          17348: if ac_fn_c_try_link "$LINENO"; then :
        !          17349: 
        !          17350:       tmp_compiler_works="yes"
        !          17351: 
        !          17352: else
        !          17353: 
        !          17354:       tmp_compiler_works="no"
        !          17355:       echo " " >&6
        !          17356:       sed 's/^/link-fail: /' conftest.err >&6
        !          17357:       echo " " >&6
        !          17358: 
        !          17359: fi
        !          17360: rm -f core conftest.err conftest.$ac_objext \
        !          17361:     conftest$ac_exeext conftest.$ac_ext
        !          17362:   fi
        !          17363:     if test "x$cross_compiling" != "xyes" &&
        !          17364:     test "$tmp_compiler_works" = "yes"; then
        !          17365: 
        !          17366:    old=$LD_LIBRARY_PATH
        !          17367:    LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
        !          17368:    export LD_LIBRARY_PATH
        !          17369:    if test "$cross_compiling" = yes; then :
        !          17370:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          17371: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          17372: as_fn_error $? "cannot run test program while cross compiling
        !          17373: See \`config.log' for more details" "$LINENO" 5; }
        !          17374: else
        !          17375:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          17376: /* end confdefs.h.  */
        !          17377: 
        !          17378: 
        !          17379: #       ifdef __STDC__
        !          17380: #         include <stdlib.h>
        !          17381: #       endif
        !          17382: 
        !          17383: int main (void)
        !          17384: {
        !          17385: 
        !          17386:         int i = 0;
        !          17387:         exit(i);
        !          17388: 
        !          17389:  ;
        !          17390:  return 0;
        !          17391: }
        !          17392: 
        !          17393: _ACEOF
        !          17394: if ac_fn_c_try_run "$LINENO"; then :
        !          17395:   tmp_compiler_works="yes"
        !          17396: 
        !          17397: else
        !          17398:   tmp_compiler_works="no"
        !          17399:       echo " " >&6
        !          17400:       echo "run-fail: test program exited with status $ac_status" >&6
        !          17401:       echo " " >&6
        !          17402: 
        !          17403: fi
        !          17404: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          17405:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          17406: fi
        !          17407: 
        !          17408:    LD_LIBRARY_PATH=$old # restore
        !          17409: 
        !          17410:   fi
        !          17411:     if test "$tmp_compiler_works" = "yes"; then
        !          17412: 
        !          17413:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          17414: $as_echo "yes" >&6; }
        !          17415:       { $as_echo "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_options" >&5
        !          17416: $as_echo "$as_me: compiler options added: $tmp_options" >&6;}
        !          17417: 
        !          17418:   else
        !          17419: 
        !          17420:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          17421: $as_echo "no" >&6; }
        !          17422:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_options" >&5
        !          17423: $as_echo "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;}
        !          17424:             CPPFLAGS="$tmp_save_CPPFLAGS"
        !          17425:       CFLAGS="$tmp_save_CFLAGS"
        !          17426: 
        !          17427:   fi
        !          17428: 
        !          17429:     #
        !          17430:   fi
        !          17431: 
        !          17432: 
        !          17433:         #
        !          17434:   if test "$compiler_id" != "unknown"; then
        !          17435:     #
        !          17436:     tmp_save_CFLAGS="$CFLAGS"
        !          17437:     tmp_save_CPPFLAGS="$CPPFLAGS"
        !          17438:     #
        !          17439:     tmp_options=""
        !          17440:     tmp_CFLAGS="$CFLAGS"
        !          17441:     tmp_CPPFLAGS="$CPPFLAGS"
        !          17442:     honor_optimize_option="yes"
        !          17443:     #
        !          17444:                         #
        !          17445:     if test "$want_optimize" = "assume_no" ||
        !          17446:        test "$want_optimize" = "assume_yes"; then
        !          17447:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler optimizer assumed setting might be used" >&5
        !          17448: $as_echo_n "checking if compiler optimizer assumed setting might be used... " >&6; }
        !          17449: 
        !          17450: 
        !          17451:   ac_var_match_word="no"
        !          17452:   for word1 in $tmp_CFLAGS; do
        !          17453:     for word2 in $flags_opt_all; do
        !          17454:       if test "$word1" = "$word2"; then
        !          17455:         ac_var_match_word="yes"
        !          17456:       fi
        !          17457:     done
        !          17458:   done
        !          17459: 
        !          17460:   if test "$ac_var_match_word" = "yes"; then
        !          17461: 
        !          17462:         honor_optimize_option="no"
        !          17463: 
        !          17464: 
        !          17465:   fi
        !          17466: 
        !          17467: 
        !          17468: 
        !          17469:   ac_var_match_word="no"
        !          17470:   for word1 in $tmp_CPPFLAGS; do
        !          17471:     for word2 in $flags_opt_all; do
        !          17472:       if test "$word1" = "$word2"; then
        !          17473:         ac_var_match_word="yes"
        !          17474:       fi
        !          17475:     done
        !          17476:   done
        !          17477: 
        !          17478:   if test "$ac_var_match_word" = "yes"; then
        !          17479: 
        !          17480:         honor_optimize_option="no"
        !          17481: 
        !          17482: 
        !          17483:   fi
        !          17484: 
        !          17485:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $honor_optimize_option" >&5
        !          17486: $as_echo "$honor_optimize_option" >&6; }
        !          17487:       if test "$honor_optimize_option" = "yes"; then
        !          17488:         if test "$want_optimize" = "assume_yes"; then
        !          17489:           want_optimize="yes"
        !          17490:         fi
        !          17491:         if test "$want_optimize" = "assume_no"; then
        !          17492:           want_optimize="no"
        !          17493:         fi
        !          17494:       fi
        !          17495:     fi
        !          17496:     #
        !          17497:     if test "$honor_optimize_option" = "yes"; then
        !          17498: 
        !          17499: # Do not remove the user-supplied optimization flags in CFLAGS (PR/150854)
        !          17500: if false; then
        !          17501:     ac_var_stripped=""
        !          17502:   for word1 in $tmp_CFLAGS; do
        !          17503:     ac_var_strip_word="no"
        !          17504:     for word2 in $flags_opt_all; do
        !          17505:       if test "$word1" = "$word2"; then
        !          17506:         ac_var_strip_word="yes"
        !          17507:       fi
        !          17508:     done
        !          17509:     if test "$ac_var_strip_word" = "no"; then
        !          17510:       ac_var_stripped="$ac_var_stripped $word1"
        !          17511:     fi
        !          17512:   done
        !          17513:     tmp_CFLAGS="$ac_var_stripped"
        !          17514:   squeeze tmp_CFLAGS
        !          17515: 
        !          17516: 
        !          17517:     ac_var_stripped=""
        !          17518:   for word1 in $tmp_CPPFLAGS; do
        !          17519:     ac_var_strip_word="no"
        !          17520:     for word2 in $flags_opt_all; do
        !          17521:       if test "$word1" = "$word2"; then
        !          17522:         ac_var_strip_word="yes"
        !          17523:       fi
        !          17524:     done
        !          17525:     if test "$ac_var_strip_word" = "no"; then
        !          17526:       ac_var_stripped="$ac_var_stripped $word1"
        !          17527:     fi
        !          17528:   done
        !          17529:     tmp_CPPFLAGS="$ac_var_stripped"
        !          17530:   squeeze tmp_CPPFLAGS
        !          17531: fi
        !          17532: 
        !          17533:       if test "$want_optimize" = "yes"; then
        !          17534:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer enabling options" >&5
        !          17535: $as_echo_n "checking if compiler accepts optimizer enabling options... " >&6; }
        !          17536:         tmp_options="$flags_opt_yes"
        !          17537:       fi
        !          17538:       if test "$want_optimize" = "no"; then
        !          17539:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer disabling options" >&5
        !          17540: $as_echo_n "checking if compiler accepts optimizer disabling options... " >&6; }
        !          17541:         tmp_options="$flags_opt_off"
        !          17542:       fi
        !          17543:       if test "$flags_prefer_cppflags" = "yes"; then
        !          17544:         CPPFLAGS="$tmp_CPPFLAGS $tmp_options"
        !          17545:         CFLAGS="$tmp_CFLAGS"
        !          17546:       else
        !          17547:         CPPFLAGS="$tmp_CPPFLAGS"
        !          17548:         CFLAGS="$tmp_CFLAGS $tmp_options"
        !          17549:       fi
        !          17550:       squeeze CPPFLAGS
        !          17551:       squeeze CFLAGS
        !          17552: 
        !          17553:     tmp_compiler_works="unknown"
        !          17554:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          17555: /* end confdefs.h.  */
        !          17556: 
        !          17557: 
        !          17558: 
        !          17559: int main (void)
        !          17560: {
        !          17561: 
        !          17562:       int i = 1;
        !          17563:       return i;
        !          17564: 
        !          17565:  ;
        !          17566:  return 0;
        !          17567: }
        !          17568: 
        !          17569: _ACEOF
        !          17570: if ac_fn_c_try_compile "$LINENO"; then :
        !          17571: 
        !          17572:     tmp_compiler_works="yes"
        !          17573: 
        !          17574: else
        !          17575: 
        !          17576:     tmp_compiler_works="no"
        !          17577:     echo " " >&6
        !          17578:     sed 's/^/cc-fail: /' conftest.err >&6
        !          17579:     echo " " >&6
        !          17580: 
        !          17581: fi
        !          17582: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          17583:     if test "$tmp_compiler_works" = "yes"; then
        !          17584:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          17585: /* end confdefs.h.  */
        !          17586: 
        !          17587: 
        !          17588: 
        !          17589: int main (void)
        !          17590: {
        !          17591: 
        !          17592:         int i = 1;
        !          17593:         return i;
        !          17594: 
        !          17595:  ;
        !          17596:  return 0;
        !          17597: }
        !          17598: 
        !          17599: _ACEOF
        !          17600: if ac_fn_c_try_link "$LINENO"; then :
        !          17601: 
        !          17602:       tmp_compiler_works="yes"
        !          17603: 
        !          17604: else
        !          17605: 
        !          17606:       tmp_compiler_works="no"
        !          17607:       echo " " >&6
        !          17608:       sed 's/^/link-fail: /' conftest.err >&6
        !          17609:       echo " " >&6
        !          17610: 
        !          17611: fi
        !          17612: rm -f core conftest.err conftest.$ac_objext \
        !          17613:     conftest$ac_exeext conftest.$ac_ext
        !          17614:   fi
        !          17615:     if test "x$cross_compiling" != "xyes" &&
        !          17616:     test "$tmp_compiler_works" = "yes"; then
        !          17617: 
        !          17618:    old=$LD_LIBRARY_PATH
        !          17619:    LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
        !          17620:    export LD_LIBRARY_PATH
        !          17621:    if test "$cross_compiling" = yes; then :
        !          17622:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          17623: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          17624: as_fn_error $? "cannot run test program while cross compiling
        !          17625: See \`config.log' for more details" "$LINENO" 5; }
        !          17626: else
        !          17627:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          17628: /* end confdefs.h.  */
        !          17629: 
        !          17630: 
        !          17631: #       ifdef __STDC__
        !          17632: #         include <stdlib.h>
        !          17633: #       endif
        !          17634: 
        !          17635: int main (void)
        !          17636: {
        !          17637: 
        !          17638:         int i = 0;
        !          17639:         exit(i);
        !          17640: 
        !          17641:  ;
        !          17642:  return 0;
        !          17643: }
        !          17644: 
        !          17645: _ACEOF
        !          17646: if ac_fn_c_try_run "$LINENO"; then :
        !          17647:   tmp_compiler_works="yes"
        !          17648: 
        !          17649: else
        !          17650:   tmp_compiler_works="no"
        !          17651:       echo " " >&6
        !          17652:       echo "run-fail: test program exited with status $ac_status" >&6
        !          17653:       echo " " >&6
        !          17654: 
        !          17655: fi
        !          17656: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          17657:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          17658: fi
        !          17659: 
        !          17660:    LD_LIBRARY_PATH=$old # restore
        !          17661: 
        !          17662:   fi
        !          17663:     if test "$tmp_compiler_works" = "yes"; then
        !          17664: 
        !          17665:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          17666: $as_echo "yes" >&6; }
        !          17667:         { $as_echo "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_options" >&5
        !          17668: $as_echo "$as_me: compiler options added: $tmp_options" >&6;}
        !          17669: 
        !          17670:   else
        !          17671: 
        !          17672:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          17673: $as_echo "no" >&6; }
        !          17674:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_options" >&5
        !          17675: $as_echo "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;}
        !          17676:                 CPPFLAGS="$tmp_save_CPPFLAGS"
        !          17677:         CFLAGS="$tmp_save_CFLAGS"
        !          17678: 
        !          17679:   fi
        !          17680: 
        !          17681:     fi
        !          17682:     #
        !          17683:   fi
        !          17684: 
        !          17685: 
        !          17686:         #
        !          17687:   if test "$compiler_id" != "unknown"; then
        !          17688:     #
        !          17689:     tmp_save_CPPFLAGS="$CPPFLAGS"
        !          17690:     tmp_save_CFLAGS="$CFLAGS"
        !          17691:     tmp_CPPFLAGS=""
        !          17692:     tmp_CFLAGS=""
        !          17693:     #
        !          17694:     case "$compiler_id" in
        !          17695:         #
        !          17696:       CLANG)
        !          17697:         #
        !          17698:         if test "$want_warnings" = "yes"; then
        !          17699:           tmp_CFLAGS="$tmp_CFLAGS -pedantic"
        !          17700:           tmp_CFLAGS="$tmp_CFLAGS -Wall -Wextra"
        !          17701:           tmp_CFLAGS="$tmp_CFLAGS -Wpointer-arith -Wwrite-strings"
        !          17702:           tmp_CFLAGS="$tmp_CFLAGS -Wshadow"
        !          17703:           tmp_CFLAGS="$tmp_CFLAGS -Winline -Wnested-externs"
        !          17704:           tmp_CFLAGS="$tmp_CFLAGS -Wmissing-declarations"
        !          17705:           tmp_CFLAGS="$tmp_CFLAGS -Wmissing-prototypes"
        !          17706:           tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long"
        !          17707:           tmp_CFLAGS="$tmp_CFLAGS -Wfloat-equal"
        !          17708:           tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar -Wsign-compare"
        !          17709:           tmp_CFLAGS="$tmp_CFLAGS -Wundef"
        !          17710:           tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral"
        !          17711:           tmp_CFLAGS="$tmp_CFLAGS -Wendif-labels -Wstrict-prototypes"
        !          17712:           tmp_CFLAGS="$tmp_CFLAGS -Wdeclaration-after-statement"
        !          17713:           tmp_CFLAGS="$tmp_CFLAGS -Wcast-align"
        !          17714:           tmp_CFLAGS="$tmp_CFLAGS -Wno-system-headers"
        !          17715:           tmp_CFLAGS="$tmp_CFLAGS -Wshorten-64-to-32"
        !          17716:           #
        !          17717:                     if test "$compiler_num" -ge "101"; then
        !          17718:             tmp_CFLAGS="$tmp_CFLAGS -Wunused"
        !          17719:           fi
        !          17720:           #
        !          17721:                     if test "$compiler_num" -ge "208"; then
        !          17722:             tmp_CFLAGS="$tmp_CFLAGS -Wvla"
        !          17723:           fi
        !          17724:           #
        !          17725:                     if test "$compiler_num" -ge "209"; then
        !          17726:             tmp_CFLAGS="$tmp_CFLAGS -Wshift-sign-overflow"
        !          17727:           fi
        !          17728:           #
        !          17729:                     if test "$compiler_num" -ge "302"; then
        !          17730:             case $host_os in
        !          17731:             cygwin* | mingw*)
        !          17732:                                           ;;
        !          17733:             *)
        !          17734:               tmp_CFLAGS="$tmp_CFLAGS -Wmissing-variable-declarations"
        !          17735:               ;;
        !          17736:             esac
        !          17737:           fi
        !          17738:           #
        !          17739:                     if test "$compiler_num" -ge "306"; then
        !          17740:             tmp_CFLAGS="$tmp_CFLAGS -Wdouble-promotion"
        !          17741:           fi
        !          17742:           #
        !          17743:                     if test "$compiler_num" -ge "309"; then
        !          17744:             tmp_CFLAGS="$tmp_CFLAGS -Wcomma"
        !          17745:             # avoid the varargs warning, fixed in 4.0
        !          17746:             # https://bugs.llvm.org/show_bug.cgi?id=29140
        !          17747:             if test "$compiler_num" -lt "400"; then
        !          17748:               tmp_CFLAGS="$tmp_CFLAGS -Wno-varargs"
        !          17749:             fi
        !          17750:           fi
        !          17751:         fi
        !          17752:         ;;
        !          17753:         #
        !          17754:       DEC_C)
        !          17755:         #
        !          17756:         if test "$want_warnings" = "yes"; then
        !          17757:                     tmp_CFLAGS="$tmp_CFLAGS -msg_enable level3"
        !          17758:         fi
        !          17759:         ;;
        !          17760:         #
        !          17761:       GNU_C)
        !          17762:         #
        !          17763:         if test "$want_warnings" = "yes"; then
        !          17764:           #
        !          17765:                               if test "x$cross_compiling" != "xyes" ||
        !          17766:             test "$compiler_num" -ge "300"; then
        !          17767:             tmp_CFLAGS="$tmp_CFLAGS -pedantic"
        !          17768:           fi
        !          17769:           #
        !          17770:                     tmp_CFLAGS="$tmp_CFLAGS -Wall -W"
        !          17771:           #
        !          17772:                     if test "$compiler_num" -ge "104"; then
        !          17773:             tmp_CFLAGS="$tmp_CFLAGS -Wpointer-arith -Wwrite-strings"
        !          17774:                         if test "x$cross_compiling" != "xyes" ||
        !          17775:               test "$compiler_num" -ge "300"; then
        !          17776:               tmp_CFLAGS="$tmp_CFLAGS -Wunused -Wshadow"
        !          17777:             fi
        !          17778:           fi
        !          17779:           #
        !          17780:                     if test "$compiler_num" -ge "207"; then
        !          17781:             tmp_CFLAGS="$tmp_CFLAGS -Winline -Wnested-externs"
        !          17782:                         if test "x$cross_compiling" != "xyes" ||
        !          17783:               test "$compiler_num" -ge "300"; then
        !          17784:               tmp_CFLAGS="$tmp_CFLAGS -Wmissing-declarations"
        !          17785:               tmp_CFLAGS="$tmp_CFLAGS -Wmissing-prototypes"
        !          17786:             fi
        !          17787:           fi
        !          17788:           #
        !          17789:                     if test "$compiler_num" -ge "295"; then
        !          17790:             tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long"
        !          17791:             tmp_CFLAGS="$tmp_CFLAGS -Wbad-function-cast"
        !          17792:           fi
        !          17793:           #
        !          17794:                     if test "$compiler_num" -ge "296"; then
        !          17795:             tmp_CFLAGS="$tmp_CFLAGS -Wfloat-equal"
        !          17796:             tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar -Wsign-compare"
        !          17797:                                                 tmp_CFLAGS="$tmp_CFLAGS -Wundef"
        !          17798:           fi
        !          17799:           #
        !          17800:                     if test "$compiler_num" -ge "297"; then
        !          17801:             tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral"
        !          17802:           fi
        !          17803:           #
        !          17804:                     if test "$compiler_num" -ge "300"; then
        !          17805:                                                             tmp_CFLAGS="$tmp_CFLAGS"
        !          17806:           fi
        !          17807:           #
        !          17808:                     if test "$compiler_num" -ge "303"; then
        !          17809:             tmp_CFLAGS="$tmp_CFLAGS -Wendif-labels -Wstrict-prototypes"
        !          17810:           fi
        !          17811:           #
        !          17812:                     if test "$compiler_num" -ge "304"; then
        !          17813:             tmp_CFLAGS="$tmp_CFLAGS -Wdeclaration-after-statement"
        !          17814:             tmp_CFLAGS="$tmp_CFLAGS -Wold-style-definition"
        !          17815:           fi
        !          17816:           #
        !          17817:                     if test "$compiler_num" -ge "400"; then
        !          17818:             tmp_CFLAGS="$tmp_CFLAGS -Wstrict-aliasing=3"
        !          17819:           fi
        !          17820:           #
        !          17821:                     if test "$compiler_num" -ge "402"; then
        !          17822:             tmp_CFLAGS="$tmp_CFLAGS -Wcast-align"
        !          17823:           fi
        !          17824:           #
        !          17825:                     if test "$compiler_num" -ge "403"; then
        !          17826:             tmp_CFLAGS="$tmp_CFLAGS -Wtype-limits -Wold-style-declaration"
        !          17827:             tmp_CFLAGS="$tmp_CFLAGS -Wmissing-parameter-type -Wempty-body"
        !          17828:             tmp_CFLAGS="$tmp_CFLAGS -Wclobbered -Wignored-qualifiers"
        !          17829:             tmp_CFLAGS="$tmp_CFLAGS -Wconversion -Wno-sign-conversion -Wvla"
        !          17830:                         tmp_CFLAGS="$tmp_CFLAGS -ftree-vrp"
        !          17831:           fi
        !          17832:           #
        !          17833:                     if test "$compiler_num" -ge "405"; then
        !          17834:                         if test "$curl_cv_have_def__WIN32" = "yes"; then
        !          17835:               tmp_CFLAGS="$tmp_CFLAGS -Wno-pedantic-ms-format"
        !          17836:             fi
        !          17837:           fi
        !          17838:           #
        !          17839:                     if test "$compiler_num" -ge "406"; then
        !          17840:             tmp_CFLAGS="$tmp_CFLAGS -Wdouble-promotion"
        !          17841:           fi
        !          17842:           #
        !          17843:                     if test "$compiler_num" -ge "408"; then
        !          17844:             tmp_CFLAGS="$tmp_CFLAGS -Wformat=2"
        !          17845:           fi
        !          17846:           #
        !          17847:                     if test "$compiler_num" -ge "500"; then
        !          17848:             tmp_CFLAGS="$tmp_CFLAGS -Warray-bounds=2"
        !          17849:           fi
        !          17850:           #
        !          17851:                     if test "$compiler_num" -ge "600"; then
        !          17852:             tmp_CFLAGS="$tmp_CFLAGS -Wshift-negative-value"
        !          17853:             tmp_CFLAGS="$tmp_CFLAGS -Wshift-overflow=2"
        !          17854:             tmp_CFLAGS="$tmp_CFLAGS -Wnull-dereference -fdelete-null-pointer-checks"
        !          17855:             tmp_CFLAGS="$tmp_CFLAGS -Wduplicated-cond"
        !          17856:             tmp_CFLAGS="$tmp_CFLAGS -Wunused-const-variable"
        !          17857:           fi
        !          17858:           #
        !          17859:                     if test "$compiler_num" -ge "700"; then
        !          17860:             tmp_CFLAGS="$tmp_CFLAGS -Wduplicated-branches"
        !          17861:             tmp_CFLAGS="$tmp_CFLAGS -Wrestrict"
        !          17862:             tmp_CFLAGS="$tmp_CFLAGS -Walloc-zero"
        !          17863:             tmp_CFLAGS="$tmp_CFLAGS -Wformat-overflow=2"
        !          17864:             tmp_CFLAGS="$tmp_CFLAGS -Wformat-truncation=2"
        !          17865:             tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough=4"
        !          17866:           fi
        !          17867:           #
        !          17868:         fi
        !          17869:         #
        !          17870:                 if test "$compiler_num" -ge "300"; then
        !          17871:           tmp_CFLAGS="$tmp_CFLAGS -Wno-system-headers"
        !          17872:         else
        !          17873:                               if test "x$cross_compiling" = "xyes"; then
        !          17874:             if test "$compiler_num" -ge "104"; then
        !          17875:                             tmp_CFLAGS="$tmp_CFLAGS -Wno-unused -Wno-shadow"
        !          17876:             fi
        !          17877:             if test "$compiler_num" -ge "207"; then
        !          17878:                             tmp_CFLAGS="$tmp_CFLAGS -Wno-missing-declarations"
        !          17879:               tmp_CFLAGS="$tmp_CFLAGS -Wno-missing-prototypes"
        !          17880:             fi
        !          17881:           fi
        !          17882:         fi
        !          17883:         ;;
        !          17884:         #
        !          17885:       HP_UX_C)
        !          17886:         #
        !          17887:         if test "$want_warnings" = "yes"; then
        !          17888:                     tmp_CFLAGS="$tmp_CFLAGS +w1"
        !          17889:         fi
        !          17890:         ;;
        !          17891:         #
        !          17892:       IBM_C)
        !          17893:         #
        !          17894:                 tmp_CFLAGS="$tmp_CFLAGS"
        !          17895:         ;;
        !          17896:         #
        !          17897:       INTEL_UNIX_C)
        !          17898:         #
        !          17899:         if test "$want_warnings" = "yes"; then
        !          17900:           if test "$compiler_num" -gt "600"; then
        !          17901:                         tmp_CPPFLAGS="$tmp_CPPFLAGS -Wall -w2"
        !          17902:                         tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcheck"
        !          17903:                         tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcomment"
        !          17904:                         tmp_CPPFLAGS="$tmp_CPPFLAGS -Wdeprecated"
        !          17905:                         tmp_CPPFLAGS="$tmp_CPPFLAGS -Wmissing-prototypes"
        !          17906:                         tmp_CPPFLAGS="$tmp_CPPFLAGS -Wp64"
        !          17907:                         tmp_CPPFLAGS="$tmp_CPPFLAGS -Wpointer-arith"
        !          17908:                         tmp_CPPFLAGS="$tmp_CPPFLAGS -Wreturn-type"
        !          17909:                         tmp_CPPFLAGS="$tmp_CPPFLAGS -Wshadow"
        !          17910:                         tmp_CPPFLAGS="$tmp_CPPFLAGS -Wuninitialized"
        !          17911:                         tmp_CPPFLAGS="$tmp_CPPFLAGS -Wunused-function"
        !          17912:           fi
        !          17913:         fi
        !          17914:                 tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer"
        !          17915:                 tmp_CFLAGS="$tmp_CFLAGS -fno-strict-aliasing"
        !          17916:                 tmp_CFLAGS="$tmp_CFLAGS -fp-model precise"
        !          17917:         ;;
        !          17918:         #
        !          17919:       INTEL_WINDOWS_C)
        !          17920:         #
        !          17921:                 tmp_CFLAGS="$tmp_CFLAGS"
        !          17922:         ;;
        !          17923:         #
        !          17924:       LCC)
        !          17925:         #
        !          17926:         if test "$want_warnings" = "yes"; then
        !          17927:                                                   tmp_CFLAGS="$tmp_CFLAGS"
        !          17928:         fi
        !          17929:         ;;
        !          17930:         #
        !          17931:       SGI_MIPS_C)
        !          17932:         #
        !          17933:         if test "$want_warnings" = "yes"; then
        !          17934:                     tmp_CFLAGS="$tmp_CFLAGS -fullwarn"
        !          17935:         fi
        !          17936:         ;;
        !          17937:         #
        !          17938:       SGI_MIPSPRO_C)
        !          17939:         #
        !          17940:         if test "$want_warnings" = "yes"; then
        !          17941:                     tmp_CFLAGS="$tmp_CFLAGS -fullwarn"
        !          17942:                               tmp_CFLAGS="$tmp_CFLAGS -woff 1209"
        !          17943:         fi
        !          17944:         ;;
        !          17945:         #
        !          17946:       SUNPRO_C)
        !          17947:         #
        !          17948:         if test "$want_warnings" = "yes"; then
        !          17949:                     tmp_CFLAGS="$tmp_CFLAGS -v"
        !          17950:         fi
        !          17951:         ;;
        !          17952:         #
        !          17953:       TINY_C)
        !          17954:         #
        !          17955:         if test "$want_warnings" = "yes"; then
        !          17956:                     tmp_CFLAGS="$tmp_CFLAGS -Wall"
        !          17957:                     tmp_CFLAGS="$tmp_CFLAGS -Wwrite-strings"
        !          17958:                     tmp_CFLAGS="$tmp_CFLAGS -Wunsupported"
        !          17959:         fi
        !          17960:         ;;
        !          17961:         #
        !          17962:       WATCOM_UNIX_C)
        !          17963:         #
        !          17964:         if test "$want_warnings" = "yes"; then
        !          17965:                     tmp_CFLAGS="$tmp_CFLAGS -Wall -Wextra"
        !          17966:         fi
        !          17967:         ;;
        !          17968:         #
        !          17969:       WATCOM_WINDOWS_C)
        !          17970:         #
        !          17971:                 tmp_CFLAGS="$tmp_CFLAGS"
        !          17972:         ;;
        !          17973:         #
        !          17974:     esac
        !          17975:     #
        !          17976:     squeeze tmp_CPPFLAGS
        !          17977:     squeeze tmp_CFLAGS
        !          17978:     #
        !          17979:     if test ! -z "$tmp_CFLAGS" || test ! -z "$tmp_CPPFLAGS"; then
        !          17980:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts strict warning options" >&5
        !          17981: $as_echo_n "checking if compiler accepts strict warning options... " >&6; }
        !          17982:       CPPFLAGS="$tmp_save_CPPFLAGS $tmp_CPPFLAGS"
        !          17983:       CFLAGS="$tmp_save_CFLAGS $tmp_CFLAGS"
        !          17984:       squeeze CPPFLAGS
        !          17985:       squeeze CFLAGS
        !          17986: 
        !          17987:     tmp_compiler_works="unknown"
        !          17988:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          17989: /* end confdefs.h.  */
        !          17990: 
        !          17991: 
        !          17992: 
        !          17993: int main (void)
        !          17994: {
        !          17995: 
        !          17996:       int i = 1;
        !          17997:       return i;
        !          17998: 
        !          17999:  ;
        !          18000:  return 0;
        !          18001: }
        !          18002: 
        !          18003: _ACEOF
        !          18004: if ac_fn_c_try_compile "$LINENO"; then :
        !          18005: 
        !          18006:     tmp_compiler_works="yes"
        !          18007: 
        !          18008: else
        !          18009: 
        !          18010:     tmp_compiler_works="no"
        !          18011:     echo " " >&6
        !          18012:     sed 's/^/cc-fail: /' conftest.err >&6
        !          18013:     echo " " >&6
        !          18014: 
        !          18015: fi
        !          18016: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          18017:     if test "$tmp_compiler_works" = "yes"; then
        !          18018:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          18019: /* end confdefs.h.  */
        !          18020: 
        !          18021: 
        !          18022: 
        !          18023: int main (void)
        !          18024: {
        !          18025: 
        !          18026:         int i = 1;
        !          18027:         return i;
        !          18028: 
        !          18029:  ;
        !          18030:  return 0;
        !          18031: }
        !          18032: 
        !          18033: _ACEOF
        !          18034: if ac_fn_c_try_link "$LINENO"; then :
        !          18035: 
        !          18036:       tmp_compiler_works="yes"
        !          18037: 
        !          18038: else
        !          18039: 
        !          18040:       tmp_compiler_works="no"
        !          18041:       echo " " >&6
        !          18042:       sed 's/^/link-fail: /' conftest.err >&6
        !          18043:       echo " " >&6
        !          18044: 
        !          18045: fi
        !          18046: rm -f core conftest.err conftest.$ac_objext \
        !          18047:     conftest$ac_exeext conftest.$ac_ext
        !          18048:   fi
        !          18049:     if test "x$cross_compiling" != "xyes" &&
        !          18050:     test "$tmp_compiler_works" = "yes"; then
        !          18051: 
        !          18052:    old=$LD_LIBRARY_PATH
        !          18053:    LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
        !          18054:    export LD_LIBRARY_PATH
        !          18055:    if test "$cross_compiling" = yes; then :
        !          18056:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          18057: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          18058: as_fn_error $? "cannot run test program while cross compiling
        !          18059: See \`config.log' for more details" "$LINENO" 5; }
        !          18060: else
        !          18061:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          18062: /* end confdefs.h.  */
        !          18063: 
        !          18064: 
        !          18065: #       ifdef __STDC__
        !          18066: #         include <stdlib.h>
        !          18067: #       endif
        !          18068: 
        !          18069: int main (void)
        !          18070: {
        !          18071: 
        !          18072:         int i = 0;
        !          18073:         exit(i);
        !          18074: 
        !          18075:  ;
        !          18076:  return 0;
        !          18077: }
        !          18078: 
        !          18079: _ACEOF
        !          18080: if ac_fn_c_try_run "$LINENO"; then :
        !          18081:   tmp_compiler_works="yes"
        !          18082: 
        !          18083: else
        !          18084:   tmp_compiler_works="no"
        !          18085:       echo " " >&6
        !          18086:       echo "run-fail: test program exited with status $ac_status" >&6
        !          18087:       echo " " >&6
        !          18088: 
        !          18089: fi
        !          18090: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          18091:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          18092: fi
        !          18093: 
        !          18094:    LD_LIBRARY_PATH=$old # restore
        !          18095: 
        !          18096:   fi
        !          18097:     if test "$tmp_compiler_works" = "yes"; then
        !          18098: 
        !          18099:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          18100: $as_echo "yes" >&6; }
        !          18101:         { $as_echo "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >&5
        !          18102: $as_echo "$as_me: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >&6;}
        !          18103: 
        !          18104:   else
        !          18105: 
        !          18106:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          18107: $as_echo "no" >&6; }
        !          18108:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_CFLAGS $tmp_CPPFLAGS" >&5
        !          18109: $as_echo "$as_me: WARNING: compiler options rejected: $tmp_CFLAGS $tmp_CPPFLAGS" >&2;}
        !          18110:                 CPPFLAGS="$tmp_save_CPPFLAGS"
        !          18111:         CFLAGS="$tmp_save_CFLAGS"
        !          18112: 
        !          18113:   fi
        !          18114: 
        !          18115:     fi
        !          18116:     #
        !          18117:   fi
        !          18118: 
        !          18119: 
        !          18120: if test "$compiler_id" = "INTEL_UNIX_C"; then
        !          18121:   #
        !          18122:   if test "$compiler_num" -ge "1000"; then
        !          18123:         CFLAGS="$CFLAGS -shared-intel"
        !          18124:   elif test "$compiler_num" -ge "900"; then
        !          18125:         CFLAGS="$CFLAGS -i-dynamic"
        !          18126:   fi
        !          18127:   #
        !          18128: fi
        !          18129: 
        !          18130: CURL_CFLAG_EXTRAS=""
        !          18131: if test X"$want_werror" = Xyes; then
        !          18132:   CURL_CFLAG_EXTRAS="-Werror"
        !          18133:   if test "$compiler_id" = "GNU_C"; then
        !          18134:             if test "$compiler_num" -ge "500"; then
        !          18135:       CURL_CFLAG_EXTRAS="$CURL_CFLAG_EXTRAS -pedantic-errors"
        !          18136:     fi
        !          18137:   fi
        !          18138: fi
        !          18139: 
        !          18140: 
        !          18141: 
        !          18142:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler halts on compilation errors" >&5
        !          18143: $as_echo_n "checking if compiler halts on compilation errors... " >&6; }
        !          18144:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          18145: /* end confdefs.h.  */
        !          18146: 
        !          18147: 
        !          18148: 
        !          18149: int main (void)
        !          18150: {
        !          18151: 
        !          18152:       force compilation error
        !          18153: 
        !          18154:  ;
        !          18155:  return 0;
        !          18156: }
        !          18157: 
        !          18158: _ACEOF
        !          18159: if ac_fn_c_try_compile "$LINENO"; then :
        !          18160: 
        !          18161:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          18162: $as_echo "no" >&6; }
        !          18163:     as_fn_error $? "compiler does not halt on compilation errors." "$LINENO" 5
        !          18164: 
        !          18165: else
        !          18166: 
        !          18167:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          18168: $as_echo "yes" >&6; }
        !          18169: 
        !          18170: fi
        !          18171: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          18172: 
        !          18173: 
        !          18174:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler halts on negative sized arrays" >&5
        !          18175: $as_echo_n "checking if compiler halts on negative sized arrays... " >&6; }
        !          18176:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          18177: /* end confdefs.h.  */
        !          18178: 
        !          18179: 
        !          18180:       typedef char bad_t[sizeof(char) == sizeof(int) ? -1 : -1 ];
        !          18181: 
        !          18182: int main (void)
        !          18183: {
        !          18184: 
        !          18185:       bad_t dummy;
        !          18186: 
        !          18187:  ;
        !          18188:  return 0;
        !          18189: }
        !          18190: 
        !          18191: _ACEOF
        !          18192: if ac_fn_c_try_compile "$LINENO"; then :
        !          18193: 
        !          18194:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          18195: $as_echo "no" >&6; }
        !          18196:     as_fn_error $? "compiler does not halt on negative sized arrays." "$LINENO" 5
        !          18197: 
        !          18198: else
        !          18199: 
        !          18200:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          18201: $as_echo "yes" >&6; }
        !          18202: 
        !          18203: fi
        !          18204: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          18205: 
        !          18206: 
        !          18207:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler halts on function prototype mismatch" >&5
        !          18208: $as_echo_n "checking if compiler halts on function prototype mismatch... " >&6; }
        !          18209:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          18210: /* end confdefs.h.  */
        !          18211: 
        !          18212: 
        !          18213: #     include <stdlib.h>
        !          18214:       int rand(int n);
        !          18215:       int rand(int n)
        !          18216:       {
        !          18217:         if(n)
        !          18218:           return ++n;
        !          18219:         else
        !          18220:           return n;
        !          18221:       }
        !          18222: 
        !          18223: int main (void)
        !          18224: {
        !          18225: 
        !          18226:       int i[2]={0,0};
        !          18227:       int j = rand(i[0]);
        !          18228:       if(j)
        !          18229:         return j;
        !          18230: 
        !          18231:  ;
        !          18232:  return 0;
        !          18233: }
        !          18234: 
        !          18235: _ACEOF
        !          18236: if ac_fn_c_try_compile "$LINENO"; then :
        !          18237: 
        !          18238:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          18239: $as_echo "no" >&6; }
        !          18240:     as_fn_error $? "compiler does not halt on function prototype mismatch." "$LINENO" 5
        !          18241: 
        !          18242: else
        !          18243: 
        !          18244:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          18245: $as_echo "yes" >&6; }
        !          18246: 
        !          18247: fi
        !          18248: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          18249: 
        !          18250: 
        !          18251:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports hiding library internal symbols" >&5
        !          18252: $as_echo_n "checking if compiler supports hiding library internal symbols... " >&6; }
        !          18253:   supports_symbol_hiding="no"
        !          18254:   symbol_hiding_CFLAGS=""
        !          18255:   symbol_hiding_EXTERN=""
        !          18256:   tmp_CFLAGS=""
        !          18257:   tmp_EXTERN=""
        !          18258:   case "$compiler_id" in
        !          18259:     CLANG)
        !          18260:             tmp_EXTERN="__attribute__ ((__visibility__ (\"default\")))"
        !          18261:       tmp_CFLAGS="-fvisibility=hidden"
        !          18262:       supports_symbol_hiding="yes"
        !          18263:       ;;
        !          18264:     GNU_C)
        !          18265:             if test "$compiler_num" -ge "304"; then
        !          18266:         if $CC --help --verbose 2>/dev/null | grep fvisibility= >/dev/null ; then
        !          18267:           tmp_EXTERN="__attribute__ ((__visibility__ (\"default\")))"
        !          18268:           tmp_CFLAGS="-fvisibility=hidden"
        !          18269:           supports_symbol_hiding="yes"
        !          18270:         fi
        !          18271:       fi
        !          18272:       ;;
        !          18273:     INTEL_UNIX_C)
        !          18274:             if test "$compiler_num" -ge "900"; then
        !          18275:         if $CC --help --verbose 2>&1 | grep fvisibility= > /dev/null ; then
        !          18276:           tmp_save_CFLAGS="$CFLAGS"
        !          18277:           CFLAGS="$CFLAGS -fvisibility=hidden"
        !          18278:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          18279: /* end confdefs.h.  */
        !          18280: 
        !          18281: 
        !          18282: #             include <stdio.h>
        !          18283: 
        !          18284: int main (void)
        !          18285: {
        !          18286: 
        !          18287:               printf("icc fvisibility bug test");
        !          18288: 
        !          18289:  ;
        !          18290:  return 0;
        !          18291: }
        !          18292: 
        !          18293: _ACEOF
        !          18294: if ac_fn_c_try_link "$LINENO"; then :
        !          18295: 
        !          18296:             tmp_EXTERN="__attribute__ ((__visibility__ (\"default\")))"
        !          18297:             tmp_CFLAGS="-fvisibility=hidden"
        !          18298:             supports_symbol_hiding="yes"
        !          18299: 
        !          18300: fi
        !          18301: rm -f core conftest.err conftest.$ac_objext \
        !          18302:     conftest$ac_exeext conftest.$ac_ext
        !          18303:           CFLAGS="$tmp_save_CFLAGS"
        !          18304:         fi
        !          18305:       fi
        !          18306:       ;;
        !          18307:     SUNPRO_C)
        !          18308:       if $CC 2>&1 | grep flags >/dev/null && $CC -flags | grep xldscope= >/dev/null ; then
        !          18309:         tmp_EXTERN="__global"
        !          18310:         tmp_CFLAGS="-xldscope=hidden"
        !          18311:         supports_symbol_hiding="yes"
        !          18312:       fi
        !          18313:       ;;
        !          18314:   esac
        !          18315:   if test "$supports_symbol_hiding" = "yes"; then
        !          18316:     tmp_save_CFLAGS="$CFLAGS"
        !          18317:     CFLAGS="$tmp_save_CFLAGS $tmp_CFLAGS"
        !          18318:     squeeze CFLAGS
        !          18319:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          18320: /* end confdefs.h.  */
        !          18321: 
        !          18322: 
        !          18323:         $tmp_EXTERN char *dummy(char *buff);
        !          18324:         char *dummy(char *buff)
        !          18325:         {
        !          18326:          if(buff)
        !          18327:            return ++buff;
        !          18328:          else
        !          18329:            return buff;
        !          18330:         }
        !          18331: 
        !          18332: int main (void)
        !          18333: {
        !          18334: 
        !          18335:         char b[16];
        !          18336:         char *r = dummy(&b[0]);
        !          18337:         if(r)
        !          18338:           return (int)*r;
        !          18339: 
        !          18340:  ;
        !          18341:  return 0;
        !          18342: }
        !          18343: 
        !          18344: _ACEOF
        !          18345: if ac_fn_c_try_compile "$LINENO"; then :
        !          18346: 
        !          18347:       supports_symbol_hiding="yes"
        !          18348:       if test -f conftest.err; then
        !          18349:         grep 'visibility' conftest.err >/dev/null
        !          18350:         if test "$?" -eq "0"; then
        !          18351:           supports_symbol_hiding="no"
        !          18352:         fi
        !          18353:       fi
        !          18354: 
        !          18355: else
        !          18356: 
        !          18357:       supports_symbol_hiding="no"
        !          18358:       echo " " >&6
        !          18359:       sed 's/^/cc-src: /' conftest.$ac_ext >&6
        !          18360:       sed 's/^/cc-err: /' conftest.err >&6
        !          18361:       echo " " >&6
        !          18362: 
        !          18363: fi
        !          18364: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          18365:     CFLAGS="$tmp_save_CFLAGS"
        !          18366:   fi
        !          18367:   if test "$supports_symbol_hiding" = "yes"; then
        !          18368:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          18369: $as_echo "yes" >&6; }
        !          18370:     symbol_hiding_CFLAGS="$tmp_CFLAGS"
        !          18371:     symbol_hiding_EXTERN="$tmp_EXTERN"
        !          18372:   else
        !          18373:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          18374: $as_echo "no" >&6; }
        !          18375:   fi
        !          18376: 
        !          18377: 
        !          18378: 
        !          18379:       supports_curldebug="unknown"
        !          18380:   if test "$want_curldebug" = "yes"; then
        !          18381:     if test "x$enable_shared" != "xno" &&
        !          18382:       test "x$enable_shared" != "xyes"; then
        !          18383:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown enable_shared setting." >&5
        !          18384: $as_echo "$as_me: WARNING: unknown enable_shared setting." >&2;}
        !          18385:       supports_curldebug="no"
        !          18386:     fi
        !          18387:     if test "x$enable_static" != "xno" &&
        !          18388:       test "x$enable_static" != "xyes"; then
        !          18389:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown enable_static setting." >&5
        !          18390: $as_echo "$as_me: WARNING: unknown enable_static setting." >&2;}
        !          18391:       supports_curldebug="no"
        !          18392:     fi
        !          18393:     if test "$supports_curldebug" != "no"; then
        !          18394:       if test "$enable_shared" = "yes" &&
        !          18395:         test "x$xc_lt_shlib_use_no_undefined" = 'xyes'; then
        !          18396:         supports_curldebug="no"
        !          18397:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: shared library does not support undefined symbols." >&5
        !          18398: $as_echo "$as_me: WARNING: shared library does not support undefined symbols." >&2;}
        !          18399:       fi
        !          18400:     fi
        !          18401:   fi
        !          18402:   #
        !          18403:   if test "$want_curldebug" = "yes"; then
        !          18404:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if curl debug memory tracking can be enabled" >&5
        !          18405: $as_echo_n "checking if curl debug memory tracking can be enabled... " >&6; }
        !          18406:     test "$supports_curldebug" = "no" || supports_curldebug="yes"
        !          18407:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supports_curldebug" >&5
        !          18408: $as_echo "$supports_curldebug" >&6; }
        !          18409:     if test "$supports_curldebug" = "no"; then
        !          18410:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot enable curl debug memory tracking." >&5
        !          18411: $as_echo "$as_me: WARNING: cannot enable curl debug memory tracking." >&2;}
        !          18412:       want_curldebug="no"
        !          18413:     fi
        !          18414:   fi
        !          18415: 
        !          18416:  if test x$want_curldebug = xyes; then
        !          18417:   CURLDEBUG_TRUE=
        !          18418:   CURLDEBUG_FALSE='#'
        !          18419: else
        !          18420:   CURLDEBUG_TRUE='#'
        !          18421:   CURLDEBUG_FALSE=
        !          18422: fi
        !          18423: 
        !          18424: 
        !          18425: supports_unittests=yes
        !          18426: # cross-compilation of unit tests static library/programs fails when
        !          18427: # libcurl shared library is built. This might be due to a libtool or
        !          18428: # automake issue. In this case we disable unit tests.
        !          18429: if test "x$cross_compiling" != "xno" &&
        !          18430:    test "x$enable_shared" != "xno"; then
        !          18431:   supports_unittests=no
        !          18432: fi
        !          18433: 
        !          18434: # IRIX 6.5.24 gcc 3.3 autobuilds fail unittests library compilation due to
        !          18435: # a problem related with OpenSSL headers and library versions not matching.
        !          18436: # Disable unit tests while time to further investigate this is found.
        !          18437: case $host in
        !          18438:   mips-sgi-irix6.5)
        !          18439:     if test "$compiler_id" = "GNU_C"; then
        !          18440:       supports_unittests=no
        !          18441:     fi
        !          18442:     ;;
        !          18443: esac
        !          18444: 
        !          18445: # All AIX autobuilds fails unit tests linking against unittests library
        !          18446: # due to unittests library being built with no symbols or members. Libtool ?
        !          18447: # Disable unit tests while time to further investigate this is found.
        !          18448: case $host_os in
        !          18449:   aix*)
        !          18450:     supports_unittests=no
        !          18451:     ;;
        !          18452: esac
        !          18453: 
        !          18454: if test "x$want_debug" = "xyes" &&
        !          18455:    test "x$supports_unittests" = "xyes"; then
        !          18456:   want_unittests=yes
        !          18457: else
        !          18458:   want_unittests=no
        !          18459: fi
        !          18460:  if test x$want_unittests = xyes; then
        !          18461:   BUILD_UNITTESTS_TRUE=
        !          18462:   BUILD_UNITTESTS_FALSE='#'
        !          18463: else
        !          18464:   BUILD_UNITTESTS_TRUE='#'
        !          18465:   BUILD_UNITTESTS_FALSE=
        !          18466: fi
        !          18467: 
        !          18468: 
        !          18469: 
        !          18470: 
        !          18471: 
        !          18472:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5
        !          18473: $as_echo_n "checking for windows.h... " >&6; }
        !          18474: if ${curl_cv_header_windows_h+:} false; then :
        !          18475:   $as_echo_n "(cached) " >&6
        !          18476: else
        !          18477: 
        !          18478:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          18479: /* end confdefs.h.  */
        !          18480: 
        !          18481: 
        !          18482: #undef inline
        !          18483: #ifndef WIN32_LEAN_AND_MEAN
        !          18484: #define WIN32_LEAN_AND_MEAN
        !          18485: #endif
        !          18486: #include <windows.h>
        !          18487: 
        !          18488: int main (void)
        !          18489: {
        !          18490: 
        !          18491: #if defined(__CYGWIN__) || defined(__CEGCC__)
        !          18492:         HAVE_WINDOWS_H shall not be defined.
        !          18493: #else
        !          18494:         int dummy=2*WINVER;
        !          18495: #endif
        !          18496: 
        !          18497:  ;
        !          18498:  return 0;
        !          18499: }
        !          18500: 
        !          18501: _ACEOF
        !          18502: if ac_fn_c_try_compile "$LINENO"; then :
        !          18503: 
        !          18504:       curl_cv_header_windows_h="yes"
        !          18505: 
        !          18506: else
        !          18507: 
        !          18508:       curl_cv_header_windows_h="no"
        !          18509: 
        !          18510: fi
        !          18511: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          18512: 
        !          18513: fi
        !          18514: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5
        !          18515: $as_echo "$curl_cv_header_windows_h" >&6; }
        !          18516:   case "$curl_cv_header_windows_h" in
        !          18517:     yes)
        !          18518: 
        !          18519: cat >>confdefs.h <<_ACEOF
        !          18520: #define HAVE_WINDOWS_H 1
        !          18521: _ACEOF
        !          18522: 
        !          18523:       ;;
        !          18524:   esac
        !          18525: 
        !          18526: 
        !          18527:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5
        !          18528: $as_echo_n "checking whether build target is a native Windows one... " >&6; }
        !          18529: if ${curl_cv_native_windows+:} false; then :
        !          18530:   $as_echo_n "(cached) " >&6
        !          18531: else
        !          18532: 
        !          18533:     if test "$curl_cv_header_windows_h" = "no"; then
        !          18534:       curl_cv_native_windows="no"
        !          18535:     else
        !          18536:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          18537: /* end confdefs.h.  */
        !          18538: 
        !          18539: 
        !          18540: 
        !          18541: int main (void)
        !          18542: {
        !          18543: 
        !          18544: #if defined(__MINGW32__) || defined(__MINGW32CE__) || \
        !          18545:    (defined(_MSC_VER) && (defined(_WIN32) || defined(_WIN64)))
        !          18546:           int dummy=1;
        !          18547: #else
        !          18548:           Not a native Windows build target.
        !          18549: #endif
        !          18550: 
        !          18551:  ;
        !          18552:  return 0;
        !          18553: }
        !          18554: 
        !          18555: _ACEOF
        !          18556: if ac_fn_c_try_compile "$LINENO"; then :
        !          18557: 
        !          18558:         curl_cv_native_windows="yes"
        !          18559: 
        !          18560: else
        !          18561: 
        !          18562:         curl_cv_native_windows="no"
        !          18563: 
        !          18564: fi
        !          18565: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          18566:     fi
        !          18567: 
        !          18568: fi
        !          18569: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5
        !          18570: $as_echo "$curl_cv_native_windows" >&6; }
        !          18571:    if test "x$curl_cv_native_windows" = xyes; then
        !          18572:   DOING_NATIVE_WINDOWS_TRUE=
        !          18573:   DOING_NATIVE_WINDOWS_FALSE='#'
        !          18574: else
        !          18575:   DOING_NATIVE_WINDOWS_TRUE='#'
        !          18576:   DOING_NATIVE_WINDOWS_FALSE=
        !          18577: fi
        !          18578: 
        !          18579: 
        !          18580: case X-"$curl_cv_native_windows" in
        !          18581:   X-yes)
        !          18582: 
        !          18583:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock.h" >&5
        !          18584: $as_echo_n "checking for winsock.h... " >&6; }
        !          18585: if ${curl_cv_header_winsock_h+:} false; then :
        !          18586:   $as_echo_n "(cached) " >&6
        !          18587: else
        !          18588: 
        !          18589:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          18590: /* end confdefs.h.  */
        !          18591: 
        !          18592: 
        !          18593: #undef inline
        !          18594: #ifndef WIN32_LEAN_AND_MEAN
        !          18595: #define WIN32_LEAN_AND_MEAN
        !          18596: #endif
        !          18597: #include <windows.h>
        !          18598: #include <winsock.h>
        !          18599: 
        !          18600: int main (void)
        !          18601: {
        !          18602: 
        !          18603: #if defined(__CYGWIN__) || defined(__CEGCC__)
        !          18604:         HAVE_WINSOCK_H shall not be defined.
        !          18605: #else
        !          18606:         int dummy=WSACleanup();
        !          18607: #endif
        !          18608: 
        !          18609:  ;
        !          18610:  return 0;
        !          18611: }
        !          18612: 
        !          18613: _ACEOF
        !          18614: if ac_fn_c_try_compile "$LINENO"; then :
        !          18615: 
        !          18616:       curl_cv_header_winsock_h="yes"
        !          18617: 
        !          18618: else
        !          18619: 
        !          18620:       curl_cv_header_winsock_h="no"
        !          18621: 
        !          18622: fi
        !          18623: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          18624: 
        !          18625: fi
        !          18626: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock_h" >&5
        !          18627: $as_echo "$curl_cv_header_winsock_h" >&6; }
        !          18628:   case "$curl_cv_header_winsock_h" in
        !          18629:     yes)
        !          18630: 
        !          18631: cat >>confdefs.h <<_ACEOF
        !          18632: #define HAVE_WINSOCK_H 1
        !          18633: _ACEOF
        !          18634: 
        !          18635:       ;;
        !          18636:   esac
        !          18637: 
        !          18638: 
        !          18639:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5
        !          18640: $as_echo_n "checking for winsock2.h... " >&6; }
        !          18641: if ${curl_cv_header_winsock2_h+:} false; then :
        !          18642:   $as_echo_n "(cached) " >&6
        !          18643: else
        !          18644: 
        !          18645:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          18646: /* end confdefs.h.  */
        !          18647: 
        !          18648: 
        !          18649: #undef inline
        !          18650: #ifndef WIN32_LEAN_AND_MEAN
        !          18651: #define WIN32_LEAN_AND_MEAN
        !          18652: #endif
        !          18653: #include <windows.h>
        !          18654: #include <winsock2.h>
        !          18655: 
        !          18656: int main (void)
        !          18657: {
        !          18658: 
        !          18659: #if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__)
        !          18660:         HAVE_WINSOCK2_H shall not be defined.
        !          18661: #else
        !          18662:         int dummy=2*IPPROTO_ESP;
        !          18663: #endif
        !          18664: 
        !          18665:  ;
        !          18666:  return 0;
        !          18667: }
        !          18668: 
        !          18669: _ACEOF
        !          18670: if ac_fn_c_try_compile "$LINENO"; then :
        !          18671: 
        !          18672:       curl_cv_header_winsock2_h="yes"
        !          18673: 
        !          18674: else
        !          18675: 
        !          18676:       curl_cv_header_winsock2_h="no"
        !          18677: 
        !          18678: fi
        !          18679: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          18680: 
        !          18681: fi
        !          18682: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5
        !          18683: $as_echo "$curl_cv_header_winsock2_h" >&6; }
        !          18684:   case "$curl_cv_header_winsock2_h" in
        !          18685:     yes)
        !          18686: 
        !          18687: cat >>confdefs.h <<_ACEOF
        !          18688: #define HAVE_WINSOCK2_H 1
        !          18689: _ACEOF
        !          18690: 
        !          18691:       ;;
        !          18692:   esac
        !          18693: 
        !          18694: 
        !          18695:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ws2tcpip.h" >&5
        !          18696: $as_echo_n "checking for ws2tcpip.h... " >&6; }
        !          18697: if ${curl_cv_header_ws2tcpip_h+:} false; then :
        !          18698:   $as_echo_n "(cached) " >&6
        !          18699: else
        !          18700: 
        !          18701:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          18702: /* end confdefs.h.  */
        !          18703: 
        !          18704: 
        !          18705: #undef inline
        !          18706: #ifndef WIN32_LEAN_AND_MEAN
        !          18707: #define WIN32_LEAN_AND_MEAN
        !          18708: #endif
        !          18709: #include <windows.h>
        !          18710: #include <winsock2.h>
        !          18711: #include <ws2tcpip.h>
        !          18712: 
        !          18713: int main (void)
        !          18714: {
        !          18715: 
        !          18716: #if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__)
        !          18717:         HAVE_WS2TCPIP_H shall not be defined.
        !          18718: #else
        !          18719:         int dummy=2*IP_PKTINFO;
        !          18720: #endif
        !          18721: 
        !          18722:  ;
        !          18723:  return 0;
        !          18724: }
        !          18725: 
        !          18726: _ACEOF
        !          18727: if ac_fn_c_try_compile "$LINENO"; then :
        !          18728: 
        !          18729:       curl_cv_header_ws2tcpip_h="yes"
        !          18730: 
        !          18731: else
        !          18732: 
        !          18733:       curl_cv_header_ws2tcpip_h="no"
        !          18734: 
        !          18735: fi
        !          18736: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          18737: 
        !          18738: fi
        !          18739: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ws2tcpip_h" >&5
        !          18740: $as_echo "$curl_cv_header_ws2tcpip_h" >&6; }
        !          18741:   case "$curl_cv_header_ws2tcpip_h" in
        !          18742:     yes)
        !          18743: 
        !          18744: cat >>confdefs.h <<_ACEOF
        !          18745: #define HAVE_WS2TCPIP_H 1
        !          18746: _ACEOF
        !          18747: 
        !          18748:       ;;
        !          18749:   esac
        !          18750: 
        !          18751: 
        !          18752:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winldap.h" >&5
        !          18753: $as_echo_n "checking for winldap.h... " >&6; }
        !          18754: if ${curl_cv_header_winldap_h+:} false; then :
        !          18755:   $as_echo_n "(cached) " >&6
        !          18756: else
        !          18757: 
        !          18758:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          18759: /* end confdefs.h.  */
        !          18760: 
        !          18761: 
        !          18762: #undef inline
        !          18763: #ifdef HAVE_WINDOWS_H
        !          18764: #ifndef WIN32_LEAN_AND_MEAN
        !          18765: #define WIN32_LEAN_AND_MEAN
        !          18766: #endif
        !          18767: #include <windows.h>
        !          18768: #endif
        !          18769: #include <winldap.h>
        !          18770: 
        !          18771: int main (void)
        !          18772: {
        !          18773: 
        !          18774: #if defined(__CYGWIN__) || defined(__CEGCC__)
        !          18775:         HAVE_WINLDAP_H shall not be defined.
        !          18776: #else
        !          18777:         LDAP *ldp = ldap_init("dummy", LDAP_PORT);
        !          18778:         ULONG res = ldap_unbind(ldp);
        !          18779: #endif
        !          18780: 
        !          18781:  ;
        !          18782:  return 0;
        !          18783: }
        !          18784: 
        !          18785: _ACEOF
        !          18786: if ac_fn_c_try_compile "$LINENO"; then :
        !          18787: 
        !          18788:       curl_cv_header_winldap_h="yes"
        !          18789: 
        !          18790: else
        !          18791: 
        !          18792:       curl_cv_header_winldap_h="no"
        !          18793: 
        !          18794: fi
        !          18795: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          18796: 
        !          18797: fi
        !          18798: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winldap_h" >&5
        !          18799: $as_echo "$curl_cv_header_winldap_h" >&6; }
        !          18800:   case "$curl_cv_header_winldap_h" in
        !          18801:     yes)
        !          18802: 
        !          18803: cat >>confdefs.h <<_ACEOF
        !          18804: #define HAVE_WINLDAP_H 1
        !          18805: _ACEOF
        !          18806: 
        !          18807:       ;;
        !          18808:   esac
        !          18809: 
        !          18810: 
        !          18811:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winber.h" >&5
        !          18812: $as_echo_n "checking for winber.h... " >&6; }
        !          18813: if ${curl_cv_header_winber_h+:} false; then :
        !          18814:   $as_echo_n "(cached) " >&6
        !          18815: else
        !          18816: 
        !          18817:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          18818: /* end confdefs.h.  */
        !          18819: 
        !          18820: 
        !          18821: #undef inline
        !          18822: #ifdef HAVE_WINDOWS_H
        !          18823: #ifndef WIN32_LEAN_AND_MEAN
        !          18824: #define WIN32_LEAN_AND_MEAN
        !          18825: #endif
        !          18826: #include <windows.h>
        !          18827: #endif
        !          18828: #include <winldap.h>
        !          18829: #include <winber.h>
        !          18830: 
        !          18831: int main (void)
        !          18832: {
        !          18833: 
        !          18834: #if defined(__CYGWIN__) || defined(__CEGCC__)
        !          18835:         HAVE_WINBER_H shall not be defined.
        !          18836: #else
        !          18837:         BERVAL *bvp = NULL;
        !          18838:         BerElement *bep = ber_init(bvp);
        !          18839:         ber_free(bep, 1);
        !          18840: #endif
        !          18841: 
        !          18842:  ;
        !          18843:  return 0;
        !          18844: }
        !          18845: 
        !          18846: _ACEOF
        !          18847: if ac_fn_c_try_compile "$LINENO"; then :
        !          18848: 
        !          18849:       curl_cv_header_winber_h="yes"
        !          18850: 
        !          18851: else
        !          18852: 
        !          18853:       curl_cv_header_winber_h="no"
        !          18854: 
        !          18855: fi
        !          18856: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          18857: 
        !          18858: fi
        !          18859: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winber_h" >&5
        !          18860: $as_echo "$curl_cv_header_winber_h" >&6; }
        !          18861:   case "$curl_cv_header_winber_h" in
        !          18862:     yes)
        !          18863: 
        !          18864: cat >>confdefs.h <<_ACEOF
        !          18865: #define HAVE_WINBER_H 1
        !          18866: _ACEOF
        !          18867: 
        !          18868:       ;;
        !          18869:   esac
        !          18870: 
        !          18871:     ;;
        !          18872:   *)
        !          18873:     curl_cv_header_winsock_h="no"
        !          18874:     curl_cv_header_winsock2_h="no"
        !          18875:     curl_cv_header_ws2tcpip_h="no"
        !          18876:     curl_cv_header_winldap_h="no"
        !          18877:     curl_cv_header_winber_h="no"
        !          18878:     ;;
        !          18879: esac
        !          18880: 
        !          18881:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build target supports WIN32 file API" >&5
        !          18882: $as_echo_n "checking whether build target supports WIN32 file API... " >&6; }
        !          18883:   curl_win32_file_api="no"
        !          18884:   if test "$curl_cv_header_windows_h" = "yes"; then
        !          18885:     if test x"$enable_largefile" != "xno"; then
        !          18886:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          18887: /* end confdefs.h.  */
        !          18888: 
        !          18889: 
        !          18890: 
        !          18891: int main (void)
        !          18892: {
        !          18893: 
        !          18894: #if !defined(_WIN32_WCE) && \
        !          18895:     (defined(__MINGW32__) || \
        !          18896:     (defined(_MSC_VER) && (defined(_WIN32) || defined(_WIN64))))
        !          18897:           int dummy=1;
        !          18898: #else
        !          18899:           WIN32 large file API not supported.
        !          18900: #endif
        !          18901: 
        !          18902:  ;
        !          18903:  return 0;
        !          18904: }
        !          18905: 
        !          18906: _ACEOF
        !          18907: if ac_fn_c_try_compile "$LINENO"; then :
        !          18908: 
        !          18909:         curl_win32_file_api="win32_large_files"
        !          18910: 
        !          18911: fi
        !          18912: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          18913:     fi
        !          18914:     if test "$curl_win32_file_api" = "no"; then
        !          18915:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          18916: /* end confdefs.h.  */
        !          18917: 
        !          18918: 
        !          18919: 
        !          18920: int main (void)
        !          18921: {
        !          18922: 
        !          18923: #if defined(_WIN32_WCE) || defined(__MINGW32__) || defined(_MSC_VER)
        !          18924:           int dummy=1;
        !          18925: #else
        !          18926:           WIN32 small file API not supported.
        !          18927: #endif
        !          18928: 
        !          18929:  ;
        !          18930:  return 0;
        !          18931: }
        !          18932: 
        !          18933: _ACEOF
        !          18934: if ac_fn_c_try_compile "$LINENO"; then :
        !          18935: 
        !          18936:         curl_win32_file_api="win32_small_files"
        !          18937: 
        !          18938: fi
        !          18939: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          18940:     fi
        !          18941:   fi
        !          18942:   case "$curl_win32_file_api" in
        !          18943:     win32_large_files)
        !          18944:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (large file enabled)" >&5
        !          18945: $as_echo "yes (large file enabled)" >&6; }
        !          18946: 
        !          18947: cat >>confdefs.h <<_ACEOF
        !          18948: #define USE_WIN32_LARGE_FILES 1
        !          18949: _ACEOF
        !          18950: 
        !          18951:       ;;
        !          18952:     win32_small_files)
        !          18953:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (large file disabled)" >&5
        !          18954: $as_echo "yes (large file disabled)" >&6; }
        !          18955: 
        !          18956: cat >>confdefs.h <<_ACEOF
        !          18957: #define USE_WIN32_SMALL_FILES 1
        !          18958: _ACEOF
        !          18959: 
        !          18960:       ;;
        !          18961:     *)
        !          18962:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          18963: $as_echo "no" >&6; }
        !          18964:       ;;
        !          18965:   esac
        !          18966: 
        !          18967: 
        !          18968: 
        !          18969: 
        !          18970:   tst_cflags="no"
        !          18971:   case $host_os in
        !          18972:     darwin*)
        !          18973:       tst_cflags="yes"
        !          18974:       ;;
        !          18975:   esac
        !          18976: 
        !          18977:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for good-to-use Mac CFLAGS" >&5
        !          18978: $as_echo_n "checking for good-to-use Mac CFLAGS... " >&6; }
        !          18979:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_cflags" >&5
        !          18980: $as_echo "$tst_cflags" >&6; };
        !          18981: 
        !          18982:   if test "$tst_cflags" = "yes"; then
        !          18983:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for *version-min in CFLAGS" >&5
        !          18984: $as_echo_n "checking for *version-min in CFLAGS... " >&6; }
        !          18985:     min=""
        !          18986:     if test -z "$(echo $CFLAGS | grep m.*os.*-version-min)"; then
        !          18987:       min="-mmacosx-version-min=10.8"
        !          18988:       CFLAGS="$CFLAGS $min"
        !          18989:     fi
        !          18990:     if test -z "$min"; then
        !          18991:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: set by user" >&5
        !          18992: $as_echo "set by user" >&6; }
        !          18993:     else
        !          18994:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $min set" >&5
        !          18995: $as_echo "$min set" >&6; }
        !          18996:     fi
        !          18997: 
        !          18998:     old_CFLAGS=$CFLAGS
        !          18999:     CFLAGS="$CFLAGS -Werror=partial-availability"
        !          19000:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Werror=partial-availability" >&5
        !          19001: $as_echo_n "checking whether $CC accepts -Werror=partial-availability... " >&6; }
        !          19002:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          19003: /* end confdefs.h.  */
        !          19004: 
        !          19005: int main (void)
        !          19006: {
        !          19007: 
        !          19008:  ;
        !          19009:  return 0;
        !          19010: }
        !          19011: _ACEOF
        !          19012: if ac_fn_c_try_compile "$LINENO"; then :
        !          19013:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19014: $as_echo "yes" >&6; }
        !          19015: else
        !          19016:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19017: $as_echo "no" >&6; }
        !          19018:       CFLAGS=$old_CFLAGS
        !          19019: fi
        !          19020: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          19021:   fi
        !          19022: 
        !          19023: 
        !          19024: 
        !          19025:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if the compiler supports __builtin_available()" >&5
        !          19026: $as_echo_n "checking to see if the compiler supports __builtin_available()... " >&6; }
        !          19027:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          19028: /* end confdefs.h.  */
        !          19029: 
        !          19030: 
        !          19031: #include <stdlib.h>
        !          19032: 
        !          19033: int main (void)
        !          19034: {
        !          19035: 
        !          19036:       if (__builtin_available(macOS 10.8, iOS 5.0, *)) {}
        !          19037: 
        !          19038:  ;
        !          19039:  return 0;
        !          19040: }
        !          19041: 
        !          19042: _ACEOF
        !          19043: if ac_fn_c_try_compile "$LINENO"; then :
        !          19044: 
        !          19045:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19046: $as_echo "yes" >&6; }
        !          19047: 
        !          19048: cat >>confdefs.h <<_ACEOF
        !          19049: #define HAVE_BUILTIN_AVAILABLE 1
        !          19050: _ACEOF
        !          19051: 
        !          19052: 
        !          19053: else
        !          19054: 
        !          19055:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19056: $as_echo "no" >&6; }
        !          19057: 
        !          19058: fi
        !          19059: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          19060: 
        !          19061: 
        !          19062: 
        !          19063: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support http" >&5
        !          19064: $as_echo_n "checking whether to support http... " >&6; }
        !          19065: # Check whether --enable-http was given.
        !          19066: if test "${enable_http+set}" = set; then :
        !          19067:   enableval=$enable_http;  case "$enableval" in
        !          19068:   no)
        !          19069:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19070: $as_echo "no" >&6; }
        !          19071: 
        !          19072: $as_echo "#define CURL_DISABLE_HTTP 1" >>confdefs.h
        !          19073: 
        !          19074:        disable_http="yes"
        !          19075:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disable HTTP disables FTP over proxy and RTSP" >&5
        !          19076: $as_echo "$as_me: WARNING: disable HTTP disables FTP over proxy and RTSP" >&2;}
        !          19077:        CURL_DISABLE_HTTP=1
        !          19078: 
        !          19079: 
        !          19080: $as_echo "#define CURL_DISABLE_RTSP 1" >>confdefs.h
        !          19081: 
        !          19082:        CURL_DISABLE_RTSP=1
        !          19083: 
        !          19084:        ;;
        !          19085:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19086: $as_echo "yes" >&6; }
        !          19087:        ;;
        !          19088:   esac
        !          19089: else
        !          19090:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19091: $as_echo "yes" >&6; }
        !          19092: 
        !          19093: fi
        !          19094: 
        !          19095: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support ftp" >&5
        !          19096: $as_echo_n "checking whether to support ftp... " >&6; }
        !          19097: # Check whether --enable-ftp was given.
        !          19098: if test "${enable_ftp+set}" = set; then :
        !          19099:   enableval=$enable_ftp;  case "$enableval" in
        !          19100:   no)
        !          19101:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19102: $as_echo "no" >&6; }
        !          19103: 
        !          19104: $as_echo "#define CURL_DISABLE_FTP 1" >>confdefs.h
        !          19105: 
        !          19106:        CURL_DISABLE_FTP=1
        !          19107: 
        !          19108:        ;;
        !          19109:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19110: $as_echo "yes" >&6; }
        !          19111:        ;;
        !          19112:   esac
        !          19113: else
        !          19114:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19115: $as_echo "yes" >&6; }
        !          19116: 
        !          19117: fi
        !          19118: 
        !          19119: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support file" >&5
        !          19120: $as_echo_n "checking whether to support file... " >&6; }
        !          19121: # Check whether --enable-file was given.
        !          19122: if test "${enable_file+set}" = set; then :
        !          19123:   enableval=$enable_file;  case "$enableval" in
        !          19124:   no)
        !          19125:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19126: $as_echo "no" >&6; }
        !          19127: 
        !          19128: $as_echo "#define CURL_DISABLE_FILE 1" >>confdefs.h
        !          19129: 
        !          19130:        CURL_DISABLE_FILE=1
        !          19131: 
        !          19132:        ;;
        !          19133:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19134: $as_echo "yes" >&6; }
        !          19135:        ;;
        !          19136:   esac
        !          19137: else
        !          19138:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19139: $as_echo "yes" >&6; }
        !          19140: 
        !          19141: fi
        !          19142: 
        !          19143: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support ldap" >&5
        !          19144: $as_echo_n "checking whether to support ldap... " >&6; }
        !          19145: # Check whether --enable-ldap was given.
        !          19146: if test "${enable_ldap+set}" = set; then :
        !          19147:   enableval=$enable_ldap;  case "$enableval" in
        !          19148:   no)
        !          19149:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19150: $as_echo "no" >&6; }
        !          19151: 
        !          19152: $as_echo "#define CURL_DISABLE_LDAP 1" >>confdefs.h
        !          19153: 
        !          19154:        CURL_DISABLE_LDAP=1
        !          19155: 
        !          19156:        ;;
        !          19157:   *)
        !          19158:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19159: $as_echo "yes" >&6; }
        !          19160:        ;;
        !          19161:   esac
        !          19162: else
        !          19163: 
        !          19164:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19165: $as_echo "yes" >&6; }
        !          19166: 
        !          19167: fi
        !          19168: 
        !          19169: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support ldaps" >&5
        !          19170: $as_echo_n "checking whether to support ldaps... " >&6; }
        !          19171: # Check whether --enable-ldaps was given.
        !          19172: if test "${enable_ldaps+set}" = set; then :
        !          19173:   enableval=$enable_ldaps;  case "$enableval" in
        !          19174:   no)
        !          19175:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19176: $as_echo "no" >&6; }
        !          19177: 
        !          19178: $as_echo "#define CURL_DISABLE_LDAPS 1" >>confdefs.h
        !          19179: 
        !          19180:        CURL_DISABLE_LDAPS=1
        !          19181: 
        !          19182:        ;;
        !          19183:   *)   if test "x$CURL_DISABLE_LDAP" = "x1" ; then
        !          19184:          { $as_echo "$as_me:${as_lineno-$LINENO}: result: LDAP needs to be enabled to support LDAPS" >&5
        !          19185: $as_echo "LDAP needs to be enabled to support LDAPS" >&6; }
        !          19186: 
        !          19187: $as_echo "#define CURL_DISABLE_LDAPS 1" >>confdefs.h
        !          19188: 
        !          19189:          CURL_DISABLE_LDAPS=1
        !          19190: 
        !          19191:        else
        !          19192:          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19193: $as_echo "yes" >&6; }
        !          19194: 
        !          19195: $as_echo "#define HAVE_LDAP_SSL 1" >>confdefs.h
        !          19196: 
        !          19197:          HAVE_LDAP_SSL=1
        !          19198: 
        !          19199:        fi
        !          19200:        ;;
        !          19201:   esac
        !          19202: else
        !          19203: 
        !          19204:        if test "x$CURL_DISABLE_LDAP" = "x1" ; then
        !          19205:          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19206: $as_echo "no" >&6; }
        !          19207: 
        !          19208: $as_echo "#define CURL_DISABLE_LDAPS 1" >>confdefs.h
        !          19209: 
        !          19210:          CURL_DISABLE_LDAPS=1
        !          19211: 
        !          19212:        else
        !          19213:          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19214: $as_echo "yes" >&6; }
        !          19215: 
        !          19216: $as_echo "#define HAVE_LDAP_SSL 1" >>confdefs.h
        !          19217: 
        !          19218:          HAVE_LDAP_SSL=1
        !          19219: 
        !          19220:        fi
        !          19221: 
        !          19222: fi
        !          19223: 
        !          19224: 
        !          19225: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support rtsp" >&5
        !          19226: $as_echo_n "checking whether to support rtsp... " >&6; }
        !          19227: # Check whether --enable-rtsp was given.
        !          19228: if test "${enable_rtsp+set}" = set; then :
        !          19229:   enableval=$enable_rtsp;  case "$enableval" in
        !          19230:   no)
        !          19231:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19232: $as_echo "no" >&6; }
        !          19233: 
        !          19234: $as_echo "#define CURL_DISABLE_RTSP 1" >>confdefs.h
        !          19235: 
        !          19236:        CURL_DISABLE_RTSP=1
        !          19237: 
        !          19238:        ;;
        !          19239:   *)   if test x$CURL_DISABLE_HTTP = x1 ; then
        !          19240:           as_fn_error $? "HTTP support needs to be enabled in order to enable RTSP support!" "$LINENO" 5
        !          19241:        else
        !          19242:           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19243: $as_echo "yes" >&6; }
        !          19244:           curl_rtsp_msg="enabled"
        !          19245:        fi
        !          19246:        ;;
        !          19247:   esac
        !          19248: else
        !          19249:   if test "x$CURL_DISABLE_HTTP" != "x1"; then
        !          19250:           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19251: $as_echo "yes" >&6; }
        !          19252:           curl_rtsp_msg="enabled"
        !          19253:        else
        !          19254:           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19255: $as_echo "no" >&6; }
        !          19256:        fi
        !          19257: 
        !          19258: fi
        !          19259: 
        !          19260: 
        !          19261: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support proxies" >&5
        !          19262: $as_echo_n "checking whether to support proxies... " >&6; }
        !          19263: # Check whether --enable-proxy was given.
        !          19264: if test "${enable_proxy+set}" = set; then :
        !          19265:   enableval=$enable_proxy;  case "$enableval" in
        !          19266:   no)
        !          19267:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19268: $as_echo "no" >&6; }
        !          19269: 
        !          19270: $as_echo "#define CURL_DISABLE_PROXY 1" >>confdefs.h
        !          19271: 
        !          19272:        CURL_DISABLE_PROXY=1
        !          19273: 
        !          19274:        ;;
        !          19275:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19276: $as_echo "yes" >&6; }
        !          19277:        ;;
        !          19278:   esac
        !          19279: else
        !          19280:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19281: $as_echo "yes" >&6; }
        !          19282: 
        !          19283: fi
        !          19284: 
        !          19285: 
        !          19286: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support dict" >&5
        !          19287: $as_echo_n "checking whether to support dict... " >&6; }
        !          19288: # Check whether --enable-dict was given.
        !          19289: if test "${enable_dict+set}" = set; then :
        !          19290:   enableval=$enable_dict;  case "$enableval" in
        !          19291:   no)
        !          19292:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19293: $as_echo "no" >&6; }
        !          19294: 
        !          19295: $as_echo "#define CURL_DISABLE_DICT 1" >>confdefs.h
        !          19296: 
        !          19297:        CURL_DISABLE_DICT=1
        !          19298: 
        !          19299:        ;;
        !          19300:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19301: $as_echo "yes" >&6; }
        !          19302:        ;;
        !          19303:   esac
        !          19304: else
        !          19305:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19306: $as_echo "yes" >&6; }
        !          19307: 
        !          19308: fi
        !          19309: 
        !          19310: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support telnet" >&5
        !          19311: $as_echo_n "checking whether to support telnet... " >&6; }
        !          19312: # Check whether --enable-telnet was given.
        !          19313: if test "${enable_telnet+set}" = set; then :
        !          19314:   enableval=$enable_telnet;  case "$enableval" in
        !          19315:   no)
        !          19316:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19317: $as_echo "no" >&6; }
        !          19318: 
        !          19319: $as_echo "#define CURL_DISABLE_TELNET 1" >>confdefs.h
        !          19320: 
        !          19321:        CURL_DISABLE_TELNET=1
        !          19322: 
        !          19323:        ;;
        !          19324:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19325: $as_echo "yes" >&6; }
        !          19326:        ;;
        !          19327:   esac
        !          19328: else
        !          19329:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19330: $as_echo "yes" >&6; }
        !          19331: 
        !          19332: fi
        !          19333: 
        !          19334: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support tftp" >&5
        !          19335: $as_echo_n "checking whether to support tftp... " >&6; }
        !          19336: # Check whether --enable-tftp was given.
        !          19337: if test "${enable_tftp+set}" = set; then :
        !          19338:   enableval=$enable_tftp;  case "$enableval" in
        !          19339:   no)
        !          19340:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19341: $as_echo "no" >&6; }
        !          19342: 
        !          19343: $as_echo "#define CURL_DISABLE_TFTP 1" >>confdefs.h
        !          19344: 
        !          19345:        CURL_DISABLE_TFTP=1
        !          19346: 
        !          19347:        ;;
        !          19348:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19349: $as_echo "yes" >&6; }
        !          19350:        ;;
        !          19351:   esac
        !          19352: else
        !          19353:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19354: $as_echo "yes" >&6; }
        !          19355: 
        !          19356: fi
        !          19357: 
        !          19358: 
        !          19359: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support pop3" >&5
        !          19360: $as_echo_n "checking whether to support pop3... " >&6; }
        !          19361: # Check whether --enable-pop3 was given.
        !          19362: if test "${enable_pop3+set}" = set; then :
        !          19363:   enableval=$enable_pop3;  case "$enableval" in
        !          19364:   no)
        !          19365:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19366: $as_echo "no" >&6; }
        !          19367: 
        !          19368: $as_echo "#define CURL_DISABLE_POP3 1" >>confdefs.h
        !          19369: 
        !          19370:        CURL_DISABLE_POP3=1
        !          19371: 
        !          19372:        ;;
        !          19373:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19374: $as_echo "yes" >&6; }
        !          19375:        ;;
        !          19376:   esac
        !          19377: else
        !          19378:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19379: $as_echo "yes" >&6; }
        !          19380: 
        !          19381: fi
        !          19382: 
        !          19383: 
        !          19384: 
        !          19385: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support imap" >&5
        !          19386: $as_echo_n "checking whether to support imap... " >&6; }
        !          19387: # Check whether --enable-imap was given.
        !          19388: if test "${enable_imap+set}" = set; then :
        !          19389:   enableval=$enable_imap;  case "$enableval" in
        !          19390:   no)
        !          19391:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19392: $as_echo "no" >&6; }
        !          19393: 
        !          19394: $as_echo "#define CURL_DISABLE_IMAP 1" >>confdefs.h
        !          19395: 
        !          19396:        CURL_DISABLE_IMAP=1
        !          19397: 
        !          19398:        ;;
        !          19399:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19400: $as_echo "yes" >&6; }
        !          19401:        ;;
        !          19402:   esac
        !          19403: else
        !          19404:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19405: $as_echo "yes" >&6; }
        !          19406: 
        !          19407: fi
        !          19408: 
        !          19409: 
        !          19410: 
        !          19411: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support smb" >&5
        !          19412: $as_echo_n "checking whether to support smb... " >&6; }
        !          19413: # Check whether --enable-smb was given.
        !          19414: if test "${enable_smb+set}" = set; then :
        !          19415:   enableval=$enable_smb;  case "$enableval" in
        !          19416:   no)
        !          19417:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19418: $as_echo "no" >&6; }
        !          19419: 
        !          19420: $as_echo "#define CURL_DISABLE_SMB 1" >>confdefs.h
        !          19421: 
        !          19422:        CURL_DISABLE_SMB=1
        !          19423: 
        !          19424:        ;;
        !          19425:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19426: $as_echo "yes" >&6; }
        !          19427:        ;;
        !          19428:   esac
        !          19429: else
        !          19430:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19431: $as_echo "yes" >&6; }
        !          19432: 
        !          19433: fi
        !          19434: 
        !          19435: 
        !          19436: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support smtp" >&5
        !          19437: $as_echo_n "checking whether to support smtp... " >&6; }
        !          19438: # Check whether --enable-smtp was given.
        !          19439: if test "${enable_smtp+set}" = set; then :
        !          19440:   enableval=$enable_smtp;  case "$enableval" in
        !          19441:   no)
        !          19442:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19443: $as_echo "no" >&6; }
        !          19444: 
        !          19445: $as_echo "#define CURL_DISABLE_SMTP 1" >>confdefs.h
        !          19446: 
        !          19447:        CURL_DISABLE_SMTP=1
        !          19448: 
        !          19449:        ;;
        !          19450:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19451: $as_echo "yes" >&6; }
        !          19452:        ;;
        !          19453:   esac
        !          19454: else
        !          19455:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19456: $as_echo "yes" >&6; }
        !          19457: 
        !          19458: fi
        !          19459: 
        !          19460: 
        !          19461: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support gopher" >&5
        !          19462: $as_echo_n "checking whether to support gopher... " >&6; }
        !          19463: # Check whether --enable-gopher was given.
        !          19464: if test "${enable_gopher+set}" = set; then :
        !          19465:   enableval=$enable_gopher;  case "$enableval" in
        !          19466:   no)
        !          19467:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19468: $as_echo "no" >&6; }
        !          19469: 
        !          19470: $as_echo "#define CURL_DISABLE_GOPHER 1" >>confdefs.h
        !          19471: 
        !          19472:        CURL_DISABLE_GOPHER=1
        !          19473: 
        !          19474:        ;;
        !          19475:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19476: $as_echo "yes" >&6; }
        !          19477:        ;;
        !          19478:   esac
        !          19479: else
        !          19480:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19481: $as_echo "yes" >&6; }
        !          19482: 
        !          19483: fi
        !          19484: 
        !          19485: 
        !          19486: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support mqtt" >&5
        !          19487: $as_echo_n "checking whether to support mqtt... " >&6; }
        !          19488: # Check whether --enable-mqtt was given.
        !          19489: if test "${enable_mqtt+set}" = set; then :
        !          19490:   enableval=$enable_mqtt;  case "$enableval" in
        !          19491:   no)
        !          19492:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19493: $as_echo "no" >&6; }
        !          19494:        ;;
        !          19495:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19496: $as_echo "yes" >&6; }
        !          19497:        experimental="$experimental MQTT"
        !          19498: 
        !          19499: $as_echo "#define CURL_ENABLE_MQTT 1" >>confdefs.h
        !          19500: 
        !          19501:        CURL_ENABLE_MQTT=1
        !          19502: 
        !          19503:        ;;
        !          19504:   esac
        !          19505: else
        !          19506:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19507: $as_echo "no" >&6; }
        !          19508: 
        !          19509: fi
        !          19510: 
        !          19511: 
        !          19512: 
        !          19513: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to provide built-in manual" >&5
        !          19514: $as_echo_n "checking whether to provide built-in manual... " >&6; }
        !          19515: # Check whether --enable-manual was given.
        !          19516: if test "${enable_manual+set}" = set; then :
        !          19517:   enableval=$enable_manual;  case "$enableval" in
        !          19518:   no)
        !          19519:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19520: $as_echo "no" >&6; }
        !          19521:        ;;
        !          19522:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19523: $as_echo "yes" >&6; }
        !          19524:        USE_MANUAL="1"
        !          19525:        ;;
        !          19526:   esac
        !          19527: else
        !          19528:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19529: $as_echo "yes" >&6; }
        !          19530:        USE_MANUAL="1"
        !          19531: 
        !          19532: fi
        !          19533: 
        !          19534: 
        !          19535: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable generation of C code" >&5
        !          19536: $as_echo_n "checking whether to enable generation of C code... " >&6; }
        !          19537: # Check whether --enable-libcurl_option was given.
        !          19538: if test "${enable_libcurl_option+set}" = set; then :
        !          19539:   enableval=$enable_libcurl_option;  case "$enableval" in
        !          19540:   no)
        !          19541:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19542: $as_echo "no" >&6; }
        !          19543: 
        !          19544: $as_echo "#define CURL_DISABLE_LIBCURL_OPTION 1" >>confdefs.h
        !          19545: 
        !          19546:        curl_libcurl_msg="no"
        !          19547:        ;;
        !          19548:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19549: $as_echo "yes" >&6; }
        !          19550:        ;;
        !          19551:   esac
        !          19552: else
        !          19553:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19554: $as_echo "yes" >&6; }
        !          19555: 
        !          19556: fi
        !          19557: 
        !          19558: 
        !          19559: 
        !          19560: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use libgcc" >&5
        !          19561: $as_echo_n "checking whether to use libgcc... " >&6; }
        !          19562: # Check whether --enable-libgcc was given.
        !          19563: if test "${enable_libgcc+set}" = set; then :
        !          19564:   enableval=$enable_libgcc;  case "$enableval" in
        !          19565:   yes)
        !          19566:        LIBS="-lgcc $LIBS"
        !          19567:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19568: $as_echo "yes" >&6; }
        !          19569:        ;;
        !          19570:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19571: $as_echo "no" >&6; }
        !          19572:        ;;
        !          19573:   esac
        !          19574: else
        !          19575:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19576: $as_echo "no" >&6; }
        !          19577: 
        !          19578: fi
        !          19579: 
        !          19580: 
        !          19581: 
        !          19582:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if X/Open network library is required" >&5
        !          19583: $as_echo_n "checking if X/Open network library is required... " >&6; }
        !          19584:   tst_lib_xnet_required="no"
        !          19585:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          19586: /* end confdefs.h.  */
        !          19587: 
        !          19588: 
        !          19589: int main (void)
        !          19590: {
        !          19591: #if defined(__hpux) && defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 600)
        !          19592:   return 0;
        !          19593: #elif defined(__hpux) && defined(_XOPEN_SOURCE_EXTENDED)
        !          19594:   return 0;
        !          19595: #else
        !          19596:   force compilation error
        !          19597: #endif
        !          19598: }
        !          19599: 
        !          19600: 
        !          19601: _ACEOF
        !          19602: if ac_fn_c_try_compile "$LINENO"; then :
        !          19603: 
        !          19604:     tst_lib_xnet_required="yes"
        !          19605:     LIBS="-lxnet $LIBS"
        !          19606: 
        !          19607: fi
        !          19608: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          19609:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_lib_xnet_required" >&5
        !          19610: $as_echo "$tst_lib_xnet_required" >&6; }
        !          19611: 
        !          19612: 
        !          19613: ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
        !          19614: if test "x$ac_cv_func_gethostbyname" = xyes; then :
        !          19615:   HAVE_GETHOSTBYNAME="1"
        !          19616: 
        !          19617: else
        !          19618:    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
        !          19619: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
        !          19620: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
        !          19621:   $as_echo_n "(cached) " >&6
        !          19622: else
        !          19623:   ac_check_lib_save_LIBS=$LIBS
        !          19624: LIBS="-lnsl  $LIBS"
        !          19625: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          19626: /* end confdefs.h.  */
        !          19627: 
        !          19628: 
        !          19629: #ifdef __cplusplus
        !          19630: extern "C"
        !          19631: #endif
        !          19632: char gethostbyname ();
        !          19633: int main (void)
        !          19634: {
        !          19635: return gethostbyname ();
        !          19636:  ;
        !          19637:  return 0;
        !          19638: }
        !          19639: _ACEOF
        !          19640: if ac_fn_c_try_link "$LINENO"; then :
        !          19641:   ac_cv_lib_nsl_gethostbyname=yes
        !          19642: else
        !          19643:   ac_cv_lib_nsl_gethostbyname=no
        !          19644: fi
        !          19645: rm -f core conftest.err conftest.$ac_objext \
        !          19646:     conftest$ac_exeext conftest.$ac_ext
        !          19647: LIBS=$ac_check_lib_save_LIBS
        !          19648: fi
        !          19649: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
        !          19650: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
        !          19651: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
        !          19652:   HAVE_GETHOSTBYNAME="1"
        !          19653:                              LIBS="-lnsl $LIBS"
        !          19654: 
        !          19655: fi
        !          19656: 
        !          19657: 
        !          19658: fi
        !          19659: 
        !          19660: 
        !          19661: if test "$HAVE_GETHOSTBYNAME" != "1"
        !          19662: then
        !          19663:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lsocket" >&5
        !          19664: $as_echo_n "checking for gethostbyname in -lsocket... " >&6; }
        !          19665: if ${ac_cv_lib_socket_gethostbyname+:} false; then :
        !          19666:   $as_echo_n "(cached) " >&6
        !          19667: else
        !          19668:   ac_check_lib_save_LIBS=$LIBS
        !          19669: LIBS="-lsocket  $LIBS"
        !          19670: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          19671: /* end confdefs.h.  */
        !          19672: 
        !          19673: 
        !          19674: #ifdef __cplusplus
        !          19675: extern "C"
        !          19676: #endif
        !          19677: char gethostbyname ();
        !          19678: int main (void)
        !          19679: {
        !          19680: return gethostbyname ();
        !          19681:  ;
        !          19682:  return 0;
        !          19683: }
        !          19684: _ACEOF
        !          19685: if ac_fn_c_try_link "$LINENO"; then :
        !          19686:   ac_cv_lib_socket_gethostbyname=yes
        !          19687: else
        !          19688:   ac_cv_lib_socket_gethostbyname=no
        !          19689: fi
        !          19690: rm -f core conftest.err conftest.$ac_objext \
        !          19691:     conftest$ac_exeext conftest.$ac_ext
        !          19692: LIBS=$ac_check_lib_save_LIBS
        !          19693: fi
        !          19694: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostbyname" >&5
        !          19695: $as_echo "$ac_cv_lib_socket_gethostbyname" >&6; }
        !          19696: if test "x$ac_cv_lib_socket_gethostbyname" = xyes; then :
        !          19697:   HAVE_GETHOSTBYNAME="1"
        !          19698:                LIBS="-lsocket $LIBS"
        !          19699: 
        !          19700: fi
        !          19701: 
        !          19702: fi
        !          19703: 
        !          19704: if test "$HAVE_GETHOSTBYNAME" != "1"
        !          19705: then
        !          19706:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lwatt" >&5
        !          19707: $as_echo_n "checking for gethostbyname in -lwatt... " >&6; }
        !          19708: if ${ac_cv_lib_watt_gethostbyname+:} false; then :
        !          19709:   $as_echo_n "(cached) " >&6
        !          19710: else
        !          19711:   ac_check_lib_save_LIBS=$LIBS
        !          19712: LIBS="-lwatt  $LIBS"
        !          19713: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          19714: /* end confdefs.h.  */
        !          19715: 
        !          19716: 
        !          19717: #ifdef __cplusplus
        !          19718: extern "C"
        !          19719: #endif
        !          19720: char gethostbyname ();
        !          19721: int main (void)
        !          19722: {
        !          19723: return gethostbyname ();
        !          19724:  ;
        !          19725:  return 0;
        !          19726: }
        !          19727: _ACEOF
        !          19728: if ac_fn_c_try_link "$LINENO"; then :
        !          19729:   ac_cv_lib_watt_gethostbyname=yes
        !          19730: else
        !          19731:   ac_cv_lib_watt_gethostbyname=no
        !          19732: fi
        !          19733: rm -f core conftest.err conftest.$ac_objext \
        !          19734:     conftest$ac_exeext conftest.$ac_ext
        !          19735: LIBS=$ac_check_lib_save_LIBS
        !          19736: fi
        !          19737: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_watt_gethostbyname" >&5
        !          19738: $as_echo "$ac_cv_lib_watt_gethostbyname" >&6; }
        !          19739: if test "x$ac_cv_lib_watt_gethostbyname" = xyes; then :
        !          19740:   HAVE_GETHOSTBYNAME="1"
        !          19741:                CPPFLAGS="-I/dev/env/WATT_ROOT/inc"
        !          19742:                LDFLAGS="-L/dev/env/WATT_ROOT/lib"
        !          19743:                LIBS="-lwatt $LIBS"
        !          19744: 
        !          19745: fi
        !          19746: 
        !          19747: fi
        !          19748: 
        !          19749: if test "$HAVE_GETHOSTBYNAME" != "1"
        !          19750: then
        !          19751:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname with both nsl and socket libs" >&5
        !          19752: $as_echo_n "checking for gethostbyname with both nsl and socket libs... " >&6; }
        !          19753:   my_ac_save_LIBS=$LIBS
        !          19754:   LIBS="-lnsl -lsocket $LIBS"
        !          19755:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          19756: /* end confdefs.h.  */
        !          19757: 
        !          19758: 
        !          19759: 
        !          19760: int main (void)
        !          19761: {
        !          19762: 
        !          19763:       gethostbyname();
        !          19764: 
        !          19765:  ;
        !          19766:  return 0;
        !          19767: }
        !          19768: 
        !          19769: _ACEOF
        !          19770: if ac_fn_c_try_link "$LINENO"; then :
        !          19771: 
        !          19772:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19773: $as_echo "yes" >&6; }
        !          19774:     HAVE_GETHOSTBYNAME="1"
        !          19775: 
        !          19776: else
        !          19777: 
        !          19778:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19779: $as_echo "no" >&6; }
        !          19780:     LIBS=$my_ac_save_LIBS
        !          19781: 
        !          19782: fi
        !          19783: rm -f core conftest.err conftest.$ac_objext \
        !          19784:     conftest$ac_exeext conftest.$ac_ext
        !          19785: fi
        !          19786: 
        !          19787: if test "$HAVE_GETHOSTBYNAME" != "1"
        !          19788: then
        !          19789:     if test "$curl_cv_header_windows_h" = "yes"; then
        !          19790:     if test "$curl_cv_header_winsock_h" = "yes"; then
        !          19791:       case $host in
        !          19792:         *-*-mingw32ce*)
        !          19793:           winsock_LIB="-lwinsock"
        !          19794:           ;;
        !          19795:         *)
        !          19796:           winsock_LIB="-lwsock32"
        !          19797:           ;;
        !          19798:       esac
        !          19799:     fi
        !          19800:     if test "$curl_cv_header_winsock2_h" = "yes"; then
        !          19801:       winsock_LIB="-lws2_32"
        !          19802:     fi
        !          19803:     if test ! -z "$winsock_LIB"; then
        !          19804:       my_ac_save_LIBS=$LIBS
        !          19805:       LIBS="$winsock_LIB $LIBS"
        !          19806:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in $winsock_LIB" >&5
        !          19807: $as_echo_n "checking for gethostbyname in $winsock_LIB... " >&6; }
        !          19808:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          19809: /* end confdefs.h.  */
        !          19810: 
        !          19811: 
        !          19812: #ifdef HAVE_WINDOWS_H
        !          19813: #ifndef WIN32_LEAN_AND_MEAN
        !          19814: #define WIN32_LEAN_AND_MEAN
        !          19815: #endif
        !          19816: #include <windows.h>
        !          19817: #ifdef HAVE_WINSOCK2_H
        !          19818: #include <winsock2.h>
        !          19819: #else
        !          19820: #ifdef HAVE_WINSOCK_H
        !          19821: #include <winsock.h>
        !          19822: #endif
        !          19823: #endif
        !          19824: #endif
        !          19825: 
        !          19826: int main (void)
        !          19827: {
        !          19828: 
        !          19829:           gethostbyname("www.dummysite.com");
        !          19830: 
        !          19831:  ;
        !          19832:  return 0;
        !          19833: }
        !          19834: 
        !          19835: _ACEOF
        !          19836: if ac_fn_c_try_link "$LINENO"; then :
        !          19837: 
        !          19838:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19839: $as_echo "yes" >&6; }
        !          19840:         HAVE_GETHOSTBYNAME="1"
        !          19841: 
        !          19842: else
        !          19843: 
        !          19844:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19845: $as_echo "no" >&6; }
        !          19846:         winsock_LIB=""
        !          19847:         LIBS=$my_ac_save_LIBS
        !          19848: 
        !          19849: fi
        !          19850: rm -f core conftest.err conftest.$ac_objext \
        !          19851:     conftest$ac_exeext conftest.$ac_ext
        !          19852:     fi
        !          19853:   fi
        !          19854: fi
        !          19855: 
        !          19856: if test "$HAVE_GETHOSTBYNAME" != "1"
        !          19857: then
        !          19858:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname for Minix 3" >&5
        !          19859: $as_echo_n "checking for gethostbyname for Minix 3... " >&6; }
        !          19860:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          19861: /* end confdefs.h.  */
        !          19862: 
        !          19863: 
        !          19864: /* Older Minix versions may need <net/gen/netdb.h> here instead */
        !          19865: #include <netdb.h>
        !          19866: 
        !          19867: int main (void)
        !          19868: {
        !          19869: 
        !          19870:       gethostbyname("www.dummysite.com");
        !          19871: 
        !          19872:  ;
        !          19873:  return 0;
        !          19874: }
        !          19875: 
        !          19876: _ACEOF
        !          19877: if ac_fn_c_try_link "$LINENO"; then :
        !          19878: 
        !          19879:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19880: $as_echo "yes" >&6; }
        !          19881:     HAVE_GETHOSTBYNAME="1"
        !          19882: 
        !          19883: else
        !          19884: 
        !          19885:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19886: $as_echo "no" >&6; }
        !          19887: 
        !          19888: fi
        !          19889: rm -f core conftest.err conftest.$ac_objext \
        !          19890:     conftest$ac_exeext conftest.$ac_ext
        !          19891: fi
        !          19892: 
        !          19893: if test "$HAVE_GETHOSTBYNAME" != "1"
        !          19894: then
        !          19895:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname for eCos" >&5
        !          19896: $as_echo_n "checking for gethostbyname for eCos... " >&6; }
        !          19897:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          19898: /* end confdefs.h.  */
        !          19899: 
        !          19900: 
        !          19901: #include <stdio.h>
        !          19902: #include <netdb.h>
        !          19903: 
        !          19904: int main (void)
        !          19905: {
        !          19906: 
        !          19907:       gethostbyname("www.dummysite.com");
        !          19908: 
        !          19909:  ;
        !          19910:  return 0;
        !          19911: }
        !          19912: 
        !          19913: _ACEOF
        !          19914: if ac_fn_c_try_link "$LINENO"; then :
        !          19915: 
        !          19916:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19917: $as_echo "yes" >&6; }
        !          19918:     HAVE_GETHOSTBYNAME="1"
        !          19919: 
        !          19920: else
        !          19921: 
        !          19922:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19923: $as_echo "no" >&6; }
        !          19924: 
        !          19925: fi
        !          19926: rm -f core conftest.err conftest.$ac_objext \
        !          19927:     conftest$ac_exeext conftest.$ac_ext
        !          19928: fi
        !          19929: 
        !          19930: if test "$HAVE_GETHOSTBYNAME" != "1"
        !          19931: then
        !          19932:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname for AmigaOS bsdsocket.library" >&5
        !          19933: $as_echo_n "checking for gethostbyname for AmigaOS bsdsocket.library... " >&6; }
        !          19934:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          19935: /* end confdefs.h.  */
        !          19936: 
        !          19937: 
        !          19938: #include <proto/bsdsocket.h>
        !          19939: struct Library *SocketBase = NULL;
        !          19940: 
        !          19941: int main (void)
        !          19942: {
        !          19943: 
        !          19944:       gethostbyname("www.dummysite.com");
        !          19945: 
        !          19946:  ;
        !          19947:  return 0;
        !          19948: }
        !          19949: 
        !          19950: _ACEOF
        !          19951: if ac_fn_c_try_link "$LINENO"; then :
        !          19952: 
        !          19953:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19954: $as_echo "yes" >&6; }
        !          19955:     HAVE_GETHOSTBYNAME="1"
        !          19956:     HAVE_PROTO_BSDSOCKET_H="1"
        !          19957: 
        !          19958: $as_echo "#define HAVE_PROTO_BSDSOCKET_H 1" >>confdefs.h
        !          19959: 
        !          19960:     HAVE_PROTO_BSDSOCKET_H=1
        !          19961: 
        !          19962: 
        !          19963: else
        !          19964: 
        !          19965:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19966: $as_echo "no" >&6; }
        !          19967: 
        !          19968: fi
        !          19969: rm -f core conftest.err conftest.$ac_objext \
        !          19970:     conftest$ac_exeext conftest.$ac_ext
        !          19971: fi
        !          19972: 
        !          19973: if test "$HAVE_GETHOSTBYNAME" != "1"
        !          19974: then
        !          19975:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnetwork" >&5
        !          19976: $as_echo_n "checking for gethostbyname in -lnetwork... " >&6; }
        !          19977: if ${ac_cv_lib_network_gethostbyname+:} false; then :
        !          19978:   $as_echo_n "(cached) " >&6
        !          19979: else
        !          19980:   ac_check_lib_save_LIBS=$LIBS
        !          19981: LIBS="-lnetwork  $LIBS"
        !          19982: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          19983: /* end confdefs.h.  */
        !          19984: 
        !          19985: 
        !          19986: #ifdef __cplusplus
        !          19987: extern "C"
        !          19988: #endif
        !          19989: char gethostbyname ();
        !          19990: int main (void)
        !          19991: {
        !          19992: return gethostbyname ();
        !          19993:  ;
        !          19994:  return 0;
        !          19995: }
        !          19996: _ACEOF
        !          19997: if ac_fn_c_try_link "$LINENO"; then :
        !          19998:   ac_cv_lib_network_gethostbyname=yes
        !          19999: else
        !          20000:   ac_cv_lib_network_gethostbyname=no
        !          20001: fi
        !          20002: rm -f core conftest.err conftest.$ac_objext \
        !          20003:     conftest$ac_exeext conftest.$ac_ext
        !          20004: LIBS=$ac_check_lib_save_LIBS
        !          20005: fi
        !          20006: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_network_gethostbyname" >&5
        !          20007: $as_echo "$ac_cv_lib_network_gethostbyname" >&6; }
        !          20008: if test "x$ac_cv_lib_network_gethostbyname" = xyes; then :
        !          20009:   HAVE_GETHOSTBYNAME="1"
        !          20010:                LIBS="-lnetwork $LIBS"
        !          20011: 
        !          20012: fi
        !          20013: 
        !          20014: fi
        !          20015: 
        !          20016: if test "$HAVE_GETHOSTBYNAME" != "1"
        !          20017: then
        !          20018:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnet" >&5
        !          20019: $as_echo_n "checking for gethostbyname in -lnet... " >&6; }
        !          20020: if ${ac_cv_lib_net_gethostbyname+:} false; then :
        !          20021:   $as_echo_n "(cached) " >&6
        !          20022: else
        !          20023:   ac_check_lib_save_LIBS=$LIBS
        !          20024: LIBS="-lnet  $LIBS"
        !          20025: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          20026: /* end confdefs.h.  */
        !          20027: 
        !          20028: 
        !          20029: #ifdef __cplusplus
        !          20030: extern "C"
        !          20031: #endif
        !          20032: char gethostbyname ();
        !          20033: int main (void)
        !          20034: {
        !          20035: return gethostbyname ();
        !          20036:  ;
        !          20037:  return 0;
        !          20038: }
        !          20039: _ACEOF
        !          20040: if ac_fn_c_try_link "$LINENO"; then :
        !          20041:   ac_cv_lib_net_gethostbyname=yes
        !          20042: else
        !          20043:   ac_cv_lib_net_gethostbyname=no
        !          20044: fi
        !          20045: rm -f core conftest.err conftest.$ac_objext \
        !          20046:     conftest$ac_exeext conftest.$ac_ext
        !          20047: LIBS=$ac_check_lib_save_LIBS
        !          20048: fi
        !          20049: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_net_gethostbyname" >&5
        !          20050: $as_echo "$ac_cv_lib_net_gethostbyname" >&6; }
        !          20051: if test "x$ac_cv_lib_net_gethostbyname" = xyes; then :
        !          20052:   HAVE_GETHOSTBYNAME="1"
        !          20053:                LIBS="-lnet $LIBS"
        !          20054: 
        !          20055: fi
        !          20056: 
        !          20057: fi
        !          20058: 
        !          20059: 
        !          20060: if test "$HAVE_GETHOSTBYNAME" != "1"; then
        !          20061:   as_fn_error $? "couldn't find libraries for gethostbyname()" "$LINENO" 5
        !          20062: fi
        !          20063: 
        !          20064: 
        !          20065: curl_includes_winsock2="\
        !          20066: /* includes start */
        !          20067: #ifdef HAVE_WINDOWS_H
        !          20068: #  ifndef WIN32_LEAN_AND_MEAN
        !          20069: #    define WIN32_LEAN_AND_MEAN
        !          20070: #  endif
        !          20071: #  include <windows.h>
        !          20072: #  ifdef HAVE_WINSOCK2_H
        !          20073: #    include <winsock2.h>
        !          20074: #  else
        !          20075: #    ifdef HAVE_WINSOCK_H
        !          20076: #      include <winsock.h>
        !          20077: #    endif
        !          20078: #  endif
        !          20079: #endif
        !          20080: /* includes end */"
        !          20081: 
        !          20082:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5
        !          20083: $as_echo_n "checking for windows.h... " >&6; }
        !          20084: if ${curl_cv_header_windows_h+:} false; then :
        !          20085:   $as_echo_n "(cached) " >&6
        !          20086: else
        !          20087: 
        !          20088:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          20089: /* end confdefs.h.  */
        !          20090: 
        !          20091: 
        !          20092: #undef inline
        !          20093: #ifndef WIN32_LEAN_AND_MEAN
        !          20094: #define WIN32_LEAN_AND_MEAN
        !          20095: #endif
        !          20096: #include <windows.h>
        !          20097: 
        !          20098: int main (void)
        !          20099: {
        !          20100: 
        !          20101: #if defined(__CYGWIN__) || defined(__CEGCC__)
        !          20102:         HAVE_WINDOWS_H shall not be defined.
        !          20103: #else
        !          20104:         int dummy=2*WINVER;
        !          20105: #endif
        !          20106: 
        !          20107:  ;
        !          20108:  return 0;
        !          20109: }
        !          20110: 
        !          20111: _ACEOF
        !          20112: if ac_fn_c_try_compile "$LINENO"; then :
        !          20113: 
        !          20114:       curl_cv_header_windows_h="yes"
        !          20115: 
        !          20116: else
        !          20117: 
        !          20118:       curl_cv_header_windows_h="no"
        !          20119: 
        !          20120: fi
        !          20121: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          20122: 
        !          20123: fi
        !          20124: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5
        !          20125: $as_echo "$curl_cv_header_windows_h" >&6; }
        !          20126:   case "$curl_cv_header_windows_h" in
        !          20127:     yes)
        !          20128: 
        !          20129: cat >>confdefs.h <<_ACEOF
        !          20130: #define HAVE_WINDOWS_H 1
        !          20131: _ACEOF
        !          20132: 
        !          20133:       ;;
        !          20134:   esac
        !          20135: 
        !          20136: 
        !          20137:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock.h" >&5
        !          20138: $as_echo_n "checking for winsock.h... " >&6; }
        !          20139: if ${curl_cv_header_winsock_h+:} false; then :
        !          20140:   $as_echo_n "(cached) " >&6
        !          20141: else
        !          20142: 
        !          20143:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          20144: /* end confdefs.h.  */
        !          20145: 
        !          20146: 
        !          20147: #undef inline
        !          20148: #ifndef WIN32_LEAN_AND_MEAN
        !          20149: #define WIN32_LEAN_AND_MEAN
        !          20150: #endif
        !          20151: #include <windows.h>
        !          20152: #include <winsock.h>
        !          20153: 
        !          20154: int main (void)
        !          20155: {
        !          20156: 
        !          20157: #if defined(__CYGWIN__) || defined(__CEGCC__)
        !          20158:         HAVE_WINSOCK_H shall not be defined.
        !          20159: #else
        !          20160:         int dummy=WSACleanup();
        !          20161: #endif
        !          20162: 
        !          20163:  ;
        !          20164:  return 0;
        !          20165: }
        !          20166: 
        !          20167: _ACEOF
        !          20168: if ac_fn_c_try_compile "$LINENO"; then :
        !          20169: 
        !          20170:       curl_cv_header_winsock_h="yes"
        !          20171: 
        !          20172: else
        !          20173: 
        !          20174:       curl_cv_header_winsock_h="no"
        !          20175: 
        !          20176: fi
        !          20177: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          20178: 
        !          20179: fi
        !          20180: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock_h" >&5
        !          20181: $as_echo "$curl_cv_header_winsock_h" >&6; }
        !          20182:   case "$curl_cv_header_winsock_h" in
        !          20183:     yes)
        !          20184: 
        !          20185: cat >>confdefs.h <<_ACEOF
        !          20186: #define HAVE_WINSOCK_H 1
        !          20187: _ACEOF
        !          20188: 
        !          20189:       ;;
        !          20190:   esac
        !          20191: 
        !          20192: 
        !          20193:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5
        !          20194: $as_echo_n "checking for winsock2.h... " >&6; }
        !          20195: if ${curl_cv_header_winsock2_h+:} false; then :
        !          20196:   $as_echo_n "(cached) " >&6
        !          20197: else
        !          20198: 
        !          20199:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          20200: /* end confdefs.h.  */
        !          20201: 
        !          20202: 
        !          20203: #undef inline
        !          20204: #ifndef WIN32_LEAN_AND_MEAN
        !          20205: #define WIN32_LEAN_AND_MEAN
        !          20206: #endif
        !          20207: #include <windows.h>
        !          20208: #include <winsock2.h>
        !          20209: 
        !          20210: int main (void)
        !          20211: {
        !          20212: 
        !          20213: #if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__)
        !          20214:         HAVE_WINSOCK2_H shall not be defined.
        !          20215: #else
        !          20216:         int dummy=2*IPPROTO_ESP;
        !          20217: #endif
        !          20218: 
        !          20219:  ;
        !          20220:  return 0;
        !          20221: }
        !          20222: 
        !          20223: _ACEOF
        !          20224: if ac_fn_c_try_compile "$LINENO"; then :
        !          20225: 
        !          20226:       curl_cv_header_winsock2_h="yes"
        !          20227: 
        !          20228: else
        !          20229: 
        !          20230:       curl_cv_header_winsock2_h="no"
        !          20231: 
        !          20232: fi
        !          20233: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          20234: 
        !          20235: fi
        !          20236: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5
        !          20237: $as_echo "$curl_cv_header_winsock2_h" >&6; }
        !          20238:   case "$curl_cv_header_winsock2_h" in
        !          20239:     yes)
        !          20240: 
        !          20241: cat >>confdefs.h <<_ACEOF
        !          20242: #define HAVE_WINSOCK2_H 1
        !          20243: _ACEOF
        !          20244: 
        !          20245:       ;;
        !          20246:   esac
        !          20247: 
        !          20248: 
        !          20249: 
        !          20250: curl_includes_bsdsocket="\
        !          20251: /* includes start */
        !          20252: #ifdef HAVE_PROTO_BSDSOCKET_H
        !          20253: #  include <proto/bsdsocket.h>
        !          20254:   struct Library *SocketBase = NULL;
        !          20255: #endif
        !          20256: /* includes end */"
        !          20257:   for ac_header in proto/bsdsocket.h
        !          20258: do :
        !          20259:   ac_fn_c_check_header_compile "$LINENO" "proto/bsdsocket.h" "ac_cv_header_proto_bsdsocket_h" "      $curl_includes_bsdsocket
        !          20260: "
        !          20261: if test "x$ac_cv_header_proto_bsdsocket_h" = xyes; then :
        !          20262:   cat >>confdefs.h <<_ACEOF
        !          20263: #define HAVE_PROTO_BSDSOCKET_H 1
        !          20264: _ACEOF
        !          20265: 
        !          20266: fi
        !          20267: 
        !          20268: done
        !          20269: 
        !          20270: 
        !          20271: 
        !          20272:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in libraries" >&5
        !          20273: $as_echo_n "checking for connect in libraries... " >&6; }
        !          20274:   tst_connect_save_LIBS="$LIBS"
        !          20275:   tst_connect_need_LIBS="unknown"
        !          20276:   for tst_lib in '' '-lsocket' ; do
        !          20277:     if test "$tst_connect_need_LIBS" = "unknown"; then
        !          20278:       LIBS="$tst_lib $tst_connect_save_LIBS"
        !          20279:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          20280: /* end confdefs.h.  */
        !          20281: 
        !          20282: 
        !          20283:           $curl_includes_winsock2
        !          20284:           $curl_includes_bsdsocket
        !          20285:           #if !defined(HAVE_WINDOWS_H) && !defined(HAVE_PROTO_BSDSOCKET_H)
        !          20286:             int connect(int, void*, int);
        !          20287:           #endif
        !          20288: 
        !          20289: int main (void)
        !          20290: {
        !          20291: 
        !          20292:           if(0 != connect(0, 0, 0))
        !          20293:             return 1;
        !          20294: 
        !          20295:  ;
        !          20296:  return 0;
        !          20297: }
        !          20298: 
        !          20299: _ACEOF
        !          20300: if ac_fn_c_try_link "$LINENO"; then :
        !          20301: 
        !          20302:         tst_connect_need_LIBS="$tst_lib"
        !          20303: 
        !          20304: fi
        !          20305: rm -f core conftest.err conftest.$ac_objext \
        !          20306:     conftest$ac_exeext conftest.$ac_ext
        !          20307:     fi
        !          20308:   done
        !          20309:   LIBS="$tst_connect_save_LIBS"
        !          20310:   #
        !          20311:   case X-"$tst_connect_need_LIBS" in
        !          20312:     X-unknown)
        !          20313:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find connect" >&5
        !          20314: $as_echo "cannot find connect" >&6; }
        !          20315:       as_fn_error $? "cannot find connect function in libraries." "$LINENO" 5
        !          20316:       ;;
        !          20317:     X-)
        !          20318:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          20319: $as_echo "yes" >&6; }
        !          20320:       ;;
        !          20321:     *)
        !          20322:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_connect_need_LIBS" >&5
        !          20323: $as_echo "$tst_connect_need_LIBS" >&6; }
        !          20324:       LIBS="$tst_connect_need_LIBS $tst_connect_save_LIBS"
        !          20325:       ;;
        !          20326:   esac
        !          20327: 
        !          20328: 
        !          20329: CURL_NETWORK_LIBS=$LIBS
        !          20330: 
        !          20331: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
        !          20332: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
        !          20333: if ${ac_cv_header_time+:} false; then :
        !          20334:   $as_echo_n "(cached) " >&6
        !          20335: else
        !          20336:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          20337: /* end confdefs.h.  */
        !          20338: #include <sys/types.h>
        !          20339: #include <sys/time.h>
        !          20340: #include <time.h>
        !          20341: 
        !          20342: int main (void)
        !          20343: {
        !          20344: if ((struct tm *) 0)
        !          20345: return 0;
        !          20346:  ;
        !          20347:  return 0;
        !          20348: }
        !          20349: _ACEOF
        !          20350: if ac_fn_c_try_compile "$LINENO"; then :
        !          20351:   ac_cv_header_time=yes
        !          20352: else
        !          20353:   ac_cv_header_time=no
        !          20354: fi
        !          20355: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          20356: fi
        !          20357: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
        !          20358: $as_echo "$ac_cv_header_time" >&6; }
        !          20359: if test $ac_cv_header_time = yes; then
        !          20360: 
        !          20361: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
        !          20362: 
        !          20363: fi
        !          20364: 
        !          20365: 
        !          20366:     for ac_header in sys/types.h sys/time.h time.h
        !          20367: do :
        !          20368:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          20369: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
        !          20370: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          20371:   cat >>confdefs.h <<_ACEOF
        !          20372: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          20373: _ACEOF
        !          20374: 
        !          20375: fi
        !          20376: 
        !          20377: done
        !          20378: 
        !          20379:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock_gettime" >&5
        !          20380: $as_echo_n "checking for monotonic clock_gettime... " >&6; }
        !          20381:   #
        !          20382:   if test "x$dontwant_rt" = "xno" ; then
        !          20383:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          20384: /* end confdefs.h.  */
        !          20385: 
        !          20386: 
        !          20387: #ifdef HAVE_SYS_TYPES_H
        !          20388: #include <sys/types.h>
        !          20389: #endif
        !          20390: #ifdef HAVE_SYS_TIME_H
        !          20391: #include <sys/time.h>
        !          20392: #ifdef TIME_WITH_SYS_TIME
        !          20393: #include <time.h>
        !          20394: #endif
        !          20395: #else
        !          20396: #ifdef HAVE_TIME_H
        !          20397: #include <time.h>
        !          20398: #endif
        !          20399: #endif
        !          20400: 
        !          20401: int main (void)
        !          20402: {
        !          20403: 
        !          20404:         struct timespec ts;
        !          20405:         (void)clock_gettime(CLOCK_MONOTONIC, &ts);
        !          20406: 
        !          20407:  ;
        !          20408:  return 0;
        !          20409: }
        !          20410: 
        !          20411: _ACEOF
        !          20412: if ac_fn_c_try_compile "$LINENO"; then :
        !          20413: 
        !          20414:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          20415: $as_echo "yes" >&6; }
        !          20416:       curl_func_clock_gettime="yes"
        !          20417: 
        !          20418: else
        !          20419: 
        !          20420:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          20421: $as_echo "no" >&6; }
        !          20422:       curl_func_clock_gettime="no"
        !          20423: 
        !          20424: fi
        !          20425: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          20426:   fi
        !          20427: 
        !          20428: 
        !          20429:     #
        !          20430:   if test "$curl_func_clock_gettime" = "yes"; then
        !          20431:     #
        !          20432:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in libraries" >&5
        !          20433: $as_echo_n "checking for clock_gettime in libraries... " >&6; }
        !          20434:     #
        !          20435:     curl_cv_save_LIBS="$LIBS"
        !          20436:     curl_cv_gclk_LIBS="unknown"
        !          20437:     #
        !          20438:     for x_xlibs in '' '-lrt' '-lposix4' ; do
        !          20439:       if test "$curl_cv_gclk_LIBS" = "unknown"; then
        !          20440:         if test -z "$x_xlibs"; then
        !          20441:           LIBS="$curl_cv_save_LIBS"
        !          20442:         else
        !          20443:           LIBS="$x_xlibs $curl_cv_save_LIBS"
        !          20444:         fi
        !          20445:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          20446: /* end confdefs.h.  */
        !          20447: 
        !          20448: 
        !          20449: #ifdef HAVE_SYS_TYPES_H
        !          20450: #include <sys/types.h>
        !          20451: #endif
        !          20452: #ifdef HAVE_SYS_TIME_H
        !          20453: #include <sys/time.h>
        !          20454: #ifdef TIME_WITH_SYS_TIME
        !          20455: #include <time.h>
        !          20456: #endif
        !          20457: #else
        !          20458: #ifdef HAVE_TIME_H
        !          20459: #include <time.h>
        !          20460: #endif
        !          20461: #endif
        !          20462: 
        !          20463: int main (void)
        !          20464: {
        !          20465: 
        !          20466:             struct timespec ts;
        !          20467:             (void)clock_gettime(CLOCK_MONOTONIC, &ts);
        !          20468: 
        !          20469:  ;
        !          20470:  return 0;
        !          20471: }
        !          20472: 
        !          20473: _ACEOF
        !          20474: if ac_fn_c_try_link "$LINENO"; then :
        !          20475: 
        !          20476:           curl_cv_gclk_LIBS="$x_xlibs"
        !          20477: 
        !          20478: fi
        !          20479: rm -f core conftest.err conftest.$ac_objext \
        !          20480:     conftest$ac_exeext conftest.$ac_ext
        !          20481:       fi
        !          20482:     done
        !          20483:     #
        !          20484:     LIBS="$curl_cv_save_LIBS"
        !          20485:     #
        !          20486:     case X-"$curl_cv_gclk_LIBS" in
        !          20487:       X-unknown)
        !          20488:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find clock_gettime" >&5
        !          20489: $as_echo "cannot find clock_gettime" >&6; }
        !          20490:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_CLOCK_GETTIME_MONOTONIC will not be defined" >&5
        !          20491: $as_echo "$as_me: WARNING: HAVE_CLOCK_GETTIME_MONOTONIC will not be defined" >&2;}
        !          20492:         curl_func_clock_gettime="no"
        !          20493:         ;;
        !          20494:       X-)
        !          20495:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no additional lib required" >&5
        !          20496: $as_echo "no additional lib required" >&6; }
        !          20497:         curl_func_clock_gettime="yes"
        !          20498:         ;;
        !          20499:       *)
        !          20500:         if test -z "$curl_cv_save_LIBS"; then
        !          20501:           LIBS="$curl_cv_gclk_LIBS"
        !          20502:         else
        !          20503:           LIBS="$curl_cv_gclk_LIBS $curl_cv_save_LIBS"
        !          20504:         fi
        !          20505:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_gclk_LIBS" >&5
        !          20506: $as_echo "$curl_cv_gclk_LIBS" >&6; }
        !          20507:         curl_func_clock_gettime="yes"
        !          20508:         ;;
        !          20509:     esac
        !          20510:     #
        !          20511:         if test "x$cross_compiling" != "xyes" &&
        !          20512:       test "$curl_func_clock_gettime" = "yes"; then
        !          20513:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if monotonic clock_gettime works" >&5
        !          20514: $as_echo_n "checking if monotonic clock_gettime works... " >&6; }
        !          20515: 
        !          20516:    old=$LD_LIBRARY_PATH
        !          20517:    LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
        !          20518:    export LD_LIBRARY_PATH
        !          20519:    if test "$cross_compiling" = yes; then :
        !          20520:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          20521: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          20522: as_fn_error $? "cannot run test program while cross compiling
        !          20523: See \`config.log' for more details" "$LINENO" 5; }
        !          20524: else
        !          20525:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          20526: /* end confdefs.h.  */
        !          20527: 
        !          20528: 
        !          20529: #ifdef HAVE_STDLIB_H
        !          20530: #include <stdlib.h>
        !          20531: #endif
        !          20532: #ifdef HAVE_SYS_TYPES_H
        !          20533: #include <sys/types.h>
        !          20534: #endif
        !          20535: #ifdef HAVE_SYS_TIME_H
        !          20536: #include <sys/time.h>
        !          20537: #ifdef TIME_WITH_SYS_TIME
        !          20538: #include <time.h>
        !          20539: #endif
        !          20540: #else
        !          20541: #ifdef HAVE_TIME_H
        !          20542: #include <time.h>
        !          20543: #endif
        !          20544: #endif
        !          20545: 
        !          20546: int main (void)
        !          20547: {
        !          20548: 
        !          20549:           struct timespec ts;
        !          20550:           if (0 == clock_gettime(CLOCK_MONOTONIC, &ts))
        !          20551:             exit(0);
        !          20552:           else
        !          20553:             exit(1);
        !          20554: 
        !          20555:  ;
        !          20556:  return 0;
        !          20557: }
        !          20558: 
        !          20559: _ACEOF
        !          20560: if ac_fn_c_try_run "$LINENO"; then :
        !          20561:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          20562: $as_echo "yes" >&6; }
        !          20563: 
        !          20564: else
        !          20565:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          20566: $as_echo "no" >&6; }
        !          20567:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_CLOCK_GETTIME_MONOTONIC will not be defined" >&5
        !          20568: $as_echo "$as_me: WARNING: HAVE_CLOCK_GETTIME_MONOTONIC will not be defined" >&2;}
        !          20569:         curl_func_clock_gettime="no"
        !          20570:         LIBS="$curl_cv_save_LIBS"
        !          20571: 
        !          20572: fi
        !          20573: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          20574:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          20575: fi
        !          20576: 
        !          20577:    LD_LIBRARY_PATH=$old # restore
        !          20578: 
        !          20579:     fi
        !          20580:     #
        !          20581:     case "$curl_func_clock_gettime" in
        !          20582:       yes)
        !          20583: 
        !          20584: cat >>confdefs.h <<_ACEOF
        !          20585: #define HAVE_CLOCK_GETTIME_MONOTONIC 1
        !          20586: _ACEOF
        !          20587: 
        !          20588:         ;;
        !          20589:     esac
        !          20590:     #
        !          20591:   fi
        !          20592:   #
        !          20593: 
        !          20594: 
        !          20595: CURL_NETWORK_AND_TIME_LIBS=$LIBS
        !          20596: 
        !          20597: 
        !          20598: 
        !          20599: clean_CPPFLAGS=$CPPFLAGS
        !          20600: clean_LDFLAGS=$LDFLAGS
        !          20601: clean_LIBS=$LIBS
        !          20602: ZLIB_LIBS=""
        !          20603: 
        !          20604: # Check whether --with-zlib was given.
        !          20605: if test "${with_zlib+set}" = set; then :
        !          20606:   withval=$with_zlib; OPT_ZLIB="$withval"
        !          20607: fi
        !          20608: 
        !          20609: 
        !          20610: if test "$OPT_ZLIB" = "no" ; then
        !          20611:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib disabled" >&5
        !          20612: $as_echo "$as_me: WARNING: zlib disabled" >&2;}
        !          20613: else
        !          20614:   if test "$OPT_ZLIB" = "yes" ; then
        !          20615:     OPT_ZLIB=""
        !          20616:   fi
        !          20617: 
        !          20618:   if test -z "$OPT_ZLIB" ; then
        !          20619: 
        !          20620:     if test -n "$PKG_CONFIG"; then
        !          20621:       PKGCONFIG="$PKG_CONFIG"
        !          20622:     else
        !          20623:       if test -n "$ac_tool_prefix"; then
        !          20624:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
        !          20625: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
        !          20626: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          20627: $as_echo_n "checking for $ac_word... " >&6; }
        !          20628: if ${ac_cv_path_PKGCONFIG+:} false; then :
        !          20629:   $as_echo_n "(cached) " >&6
        !          20630: else
        !          20631:   case $PKGCONFIG in
        !          20632:   [\\/]* | ?:[\\/]*)
        !          20633:   ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
        !          20634:   ;;
        !          20635:   *)
        !          20636:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          20637: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          20638: for as_dir in $as_dummy
        !          20639: do
        !          20640:   IFS=$as_save_IFS
        !          20641:   test -z "$as_dir" && as_dir=.
        !          20642:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          20643:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          20644:     ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          20645:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          20646:     break 2
        !          20647:   fi
        !          20648: done
        !          20649:   done
        !          20650: IFS=$as_save_IFS
        !          20651: 
        !          20652:   ;;
        !          20653: esac
        !          20654: fi
        !          20655: PKGCONFIG=$ac_cv_path_PKGCONFIG
        !          20656: if test -n "$PKGCONFIG"; then
        !          20657:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
        !          20658: $as_echo "$PKGCONFIG" >&6; }
        !          20659: else
        !          20660:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          20661: $as_echo "no" >&6; }
        !          20662: fi
        !          20663: 
        !          20664: 
        !          20665: fi
        !          20666: if test -z "$ac_cv_path_PKGCONFIG"; then
        !          20667:   ac_pt_PKGCONFIG=$PKGCONFIG
        !          20668:   # Extract the first word of "pkg-config", so it can be a program name with args.
        !          20669: set dummy pkg-config; ac_word=$2
        !          20670: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          20671: $as_echo_n "checking for $ac_word... " >&6; }
        !          20672: if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
        !          20673:   $as_echo_n "(cached) " >&6
        !          20674: else
        !          20675:   case $ac_pt_PKGCONFIG in
        !          20676:   [\\/]* | ?:[\\/]*)
        !          20677:   ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
        !          20678:   ;;
        !          20679:   *)
        !          20680:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          20681: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          20682: for as_dir in $as_dummy
        !          20683: do
        !          20684:   IFS=$as_save_IFS
        !          20685:   test -z "$as_dir" && as_dir=.
        !          20686:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          20687:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          20688:     ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          20689:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          20690:     break 2
        !          20691:   fi
        !          20692: done
        !          20693:   done
        !          20694: IFS=$as_save_IFS
        !          20695: 
        !          20696:   ;;
        !          20697: esac
        !          20698: fi
        !          20699: ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
        !          20700: if test -n "$ac_pt_PKGCONFIG"; then
        !          20701:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
        !          20702: $as_echo "$ac_pt_PKGCONFIG" >&6; }
        !          20703: else
        !          20704:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          20705: $as_echo "no" >&6; }
        !          20706: fi
        !          20707: 
        !          20708:   if test "x$ac_pt_PKGCONFIG" = x; then
        !          20709:     PKGCONFIG="no"
        !          20710:   else
        !          20711:     case $cross_compiling:$ac_tool_warned in
        !          20712: yes:)
        !          20713: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          20714: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          20715: ac_tool_warned=yes ;;
        !          20716: esac
        !          20717:     PKGCONFIG=$ac_pt_PKGCONFIG
        !          20718:   fi
        !          20719: else
        !          20720:   PKGCONFIG="$ac_cv_path_PKGCONFIG"
        !          20721: fi
        !          20722: 
        !          20723:     fi
        !          20724: 
        !          20725:     if test "x$PKGCONFIG" != "xno"; then
        !          20726:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib options with pkg-config" >&5
        !          20727: $as_echo_n "checking for zlib options with pkg-config... " >&6; }
        !          20728:             itexists=`
        !          20729:     if test -n ""; then
        !          20730:       PKG_CONFIG_LIBDIR=""
        !          20731:       export PKG_CONFIG_LIBDIR
        !          20732:     fi
        !          20733:          $PKGCONFIG --exists zlib >/dev/null 2>&1 && echo 1`
        !          20734: 
        !          20735:       if test -z "$itexists"; then
        !          20736:                         PKGCONFIG="no"
        !          20737:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          20738: $as_echo "no" >&6; }
        !          20739:       else
        !          20740:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
        !          20741: $as_echo "found" >&6; }
        !          20742:       fi
        !          20743:     fi
        !          20744: 
        !          20745: 
        !          20746:     if test "$PKGCONFIG" != "no" ; then
        !          20747:       LIBS="`$PKGCONFIG --libs-only-l zlib` $LIBS"
        !          20748:       LDFLAGS="$LDFLAGS `$PKGCONFIG --libs-only-L zlib`"
        !          20749:       CPPFLAGS="$CPPFLAGS `$PKGCONFIG --cflags-only-I zlib`"
        !          20750:       OPT_ZLIB=""
        !          20751:       HAVE_LIBZ="1"
        !          20752:     fi
        !          20753: 
        !          20754:     if test -z "$HAVE_LIBZ"; then
        !          20755: 
        !          20756: 
        !          20757:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflateEnd in -lz" >&5
        !          20758: $as_echo_n "checking for inflateEnd in -lz... " >&6; }
        !          20759: if ${ac_cv_lib_z_inflateEnd+:} false; then :
        !          20760:   $as_echo_n "(cached) " >&6
        !          20761: else
        !          20762:   ac_check_lib_save_LIBS=$LIBS
        !          20763: LIBS="-lz  $LIBS"
        !          20764: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          20765: /* end confdefs.h.  */
        !          20766: 
        !          20767: 
        !          20768: #ifdef __cplusplus
        !          20769: extern "C"
        !          20770: #endif
        !          20771: char inflateEnd ();
        !          20772: int main (void)
        !          20773: {
        !          20774: return inflateEnd ();
        !          20775:  ;
        !          20776:  return 0;
        !          20777: }
        !          20778: _ACEOF
        !          20779: if ac_fn_c_try_link "$LINENO"; then :
        !          20780:   ac_cv_lib_z_inflateEnd=yes
        !          20781: else
        !          20782:   ac_cv_lib_z_inflateEnd=no
        !          20783: fi
        !          20784: rm -f core conftest.err conftest.$ac_objext \
        !          20785:     conftest$ac_exeext conftest.$ac_ext
        !          20786: LIBS=$ac_check_lib_save_LIBS
        !          20787: fi
        !          20788: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateEnd" >&5
        !          20789: $as_echo "$ac_cv_lib_z_inflateEnd" >&6; }
        !          20790: if test "x$ac_cv_lib_z_inflateEnd" = xyes; then :
        !          20791:                      HAVE_LIBZ="1"
        !          20792:                     LIBS="-lz $LIBS"
        !          20793: else
        !          20794:                      OPT_ZLIB="/usr/local"
        !          20795: fi
        !          20796: 
        !          20797:     fi
        !          20798:   fi
        !          20799: 
        !          20800:     if test -n "$OPT_ZLIB"; then
        !          20801:      CPPFLAGS="$CPPFLAGS -I$OPT_ZLIB/include"
        !          20802:      LDFLAGS="$LDFLAGS -L$OPT_ZLIB/lib$libsuff"
        !          20803:   fi
        !          20804: 
        !          20805:   ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
        !          20806: if test "x$ac_cv_header_zlib_h" = xyes; then :
        !          20807: 
        !          20808:         HAVE_ZLIB_H="1"
        !          20809:         if test "$HAVE_LIBZ" != "1"; then
        !          20810:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
        !          20811: $as_echo_n "checking for gzread in -lz... " >&6; }
        !          20812: if ${ac_cv_lib_z_gzread+:} false; then :
        !          20813:   $as_echo_n "(cached) " >&6
        !          20814: else
        !          20815:   ac_check_lib_save_LIBS=$LIBS
        !          20816: LIBS="-lz  $LIBS"
        !          20817: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          20818: /* end confdefs.h.  */
        !          20819: 
        !          20820: 
        !          20821: #ifdef __cplusplus
        !          20822: extern "C"
        !          20823: #endif
        !          20824: char gzread ();
        !          20825: int main (void)
        !          20826: {
        !          20827: return gzread ();
        !          20828:  ;
        !          20829:  return 0;
        !          20830: }
        !          20831: _ACEOF
        !          20832: if ac_fn_c_try_link "$LINENO"; then :
        !          20833:   ac_cv_lib_z_gzread=yes
        !          20834: else
        !          20835:   ac_cv_lib_z_gzread=no
        !          20836: fi
        !          20837: rm -f core conftest.err conftest.$ac_objext \
        !          20838:     conftest$ac_exeext conftest.$ac_ext
        !          20839: LIBS=$ac_check_lib_save_LIBS
        !          20840: fi
        !          20841: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
        !          20842: $as_echo "$ac_cv_lib_z_gzread" >&6; }
        !          20843: if test "x$ac_cv_lib_z_gzread" = xyes; then :
        !          20844: 
        !          20845:                                       HAVE_LIBZ="1"
        !          20846:                    LIBS="-lz $LIBS"
        !          20847: 
        !          20848: else
        !          20849:    CPPFLAGS=$clean_CPPFLAGS
        !          20850:                    LDFLAGS=$clean_LDFLAGS
        !          20851: fi
        !          20852: 
        !          20853:     fi
        !          20854: 
        !          20855: else
        !          20856: 
        !          20857:             CPPFLAGS=$clean_CPPFLAGS
        !          20858:       LDFLAGS=$clean_LDFLAGS
        !          20859: 
        !          20860: fi
        !          20861: 
        !          20862: 
        !          20863: 
        !          20864:   if test "$HAVE_LIBZ" = "1" && test "$HAVE_ZLIB_H" != "1"
        !          20865:   then
        !          20866:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: configure found only the libz lib, not the header file!" >&5
        !          20867: $as_echo "$as_me: WARNING: configure found only the libz lib, not the header file!" >&2;}
        !          20868:     HAVE_LIBZ=""
        !          20869:     CPPFLAGS=$clean_CPPFLAGS
        !          20870:     LDFLAGS=$clean_LDFLAGS
        !          20871:     LIBS=$clean_LIBS
        !          20872:   elif test "$HAVE_LIBZ" != "1" && test "$HAVE_ZLIB_H" = "1"
        !          20873:   then
        !          20874:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: configure found only the libz header file, not the lib!" >&5
        !          20875: $as_echo "$as_me: WARNING: configure found only the libz header file, not the lib!" >&2;}
        !          20876:     CPPFLAGS=$clean_CPPFLAGS
        !          20877:     LDFLAGS=$clean_LDFLAGS
        !          20878:     LIBS=$clean_LIBS
        !          20879:   elif test "$HAVE_LIBZ" = "1" && test "$HAVE_ZLIB_H" = "1"
        !          20880:   then
        !          20881: 
        !          20882: 
        !          20883: $as_echo "#define HAVE_ZLIB_H 1" >>confdefs.h
        !          20884: 
        !          20885: 
        !          20886: $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
        !          20887: 
        !          20888: 
        !          20889:     ZLIB_LIBS="-lz"
        !          20890:     LIBS="-lz $clean_LIBS"
        !          20891: 
        !          20892:         AMFIXLIB="1"
        !          20893:     { $as_echo "$as_me:${as_lineno-$LINENO}: found both libz and libz.h header" >&5
        !          20894: $as_echo "$as_me: found both libz and libz.h header" >&6;}
        !          20895:     curl_zlib_msg="enabled"
        !          20896:   fi
        !          20897: fi
        !          20898: 
        !          20899:  if test x"$AMFIXLIB" = x1; then
        !          20900:   HAVE_LIBZ_TRUE=
        !          20901:   HAVE_LIBZ_FALSE='#'
        !          20902: else
        !          20903:   HAVE_LIBZ_TRUE='#'
        !          20904:   HAVE_LIBZ_FALSE=
        !          20905: fi
        !          20906: 
        !          20907: 
        !          20908: 
        !          20909: 
        !          20910: 
        !          20911: OPT_BROTLI=off
        !          20912: 
        !          20913: # Check whether --with-brotli was given.
        !          20914: if test "${with_brotli+set}" = set; then :
        !          20915:   withval=$with_brotli; OPT_BROTLI=$withval
        !          20916: fi
        !          20917: 
        !          20918: 
        !          20919: if test X"$OPT_BROTLI" != Xno; then
        !          20920:     CLEANLDFLAGS="$LDFLAGS"
        !          20921:   CLEANCPPFLAGS="$CPPFLAGS"
        !          20922:   CLEANLIBS="$LIBS"
        !          20923: 
        !          20924:   case "$OPT_BROTLI" in
        !          20925:   yes)
        !          20926: 
        !          20927:     if test -n "$PKG_CONFIG"; then
        !          20928:       PKGCONFIG="$PKG_CONFIG"
        !          20929:     else
        !          20930:       if test -n "$ac_tool_prefix"; then
        !          20931:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
        !          20932: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
        !          20933: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          20934: $as_echo_n "checking for $ac_word... " >&6; }
        !          20935: if ${ac_cv_path_PKGCONFIG+:} false; then :
        !          20936:   $as_echo_n "(cached) " >&6
        !          20937: else
        !          20938:   case $PKGCONFIG in
        !          20939:   [\\/]* | ?:[\\/]*)
        !          20940:   ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
        !          20941:   ;;
        !          20942:   *)
        !          20943:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          20944: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          20945: for as_dir in $as_dummy
        !          20946: do
        !          20947:   IFS=$as_save_IFS
        !          20948:   test -z "$as_dir" && as_dir=.
        !          20949:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          20950:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          20951:     ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          20952:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          20953:     break 2
        !          20954:   fi
        !          20955: done
        !          20956:   done
        !          20957: IFS=$as_save_IFS
        !          20958: 
        !          20959:   ;;
        !          20960: esac
        !          20961: fi
        !          20962: PKGCONFIG=$ac_cv_path_PKGCONFIG
        !          20963: if test -n "$PKGCONFIG"; then
        !          20964:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
        !          20965: $as_echo "$PKGCONFIG" >&6; }
        !          20966: else
        !          20967:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          20968: $as_echo "no" >&6; }
        !          20969: fi
        !          20970: 
        !          20971: 
        !          20972: fi
        !          20973: if test -z "$ac_cv_path_PKGCONFIG"; then
        !          20974:   ac_pt_PKGCONFIG=$PKGCONFIG
        !          20975:   # Extract the first word of "pkg-config", so it can be a program name with args.
        !          20976: set dummy pkg-config; ac_word=$2
        !          20977: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          20978: $as_echo_n "checking for $ac_word... " >&6; }
        !          20979: if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
        !          20980:   $as_echo_n "(cached) " >&6
        !          20981: else
        !          20982:   case $ac_pt_PKGCONFIG in
        !          20983:   [\\/]* | ?:[\\/]*)
        !          20984:   ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
        !          20985:   ;;
        !          20986:   *)
        !          20987:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          20988: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          20989: for as_dir in $as_dummy
        !          20990: do
        !          20991:   IFS=$as_save_IFS
        !          20992:   test -z "$as_dir" && as_dir=.
        !          20993:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          20994:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          20995:     ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          20996:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          20997:     break 2
        !          20998:   fi
        !          20999: done
        !          21000:   done
        !          21001: IFS=$as_save_IFS
        !          21002: 
        !          21003:   ;;
        !          21004: esac
        !          21005: fi
        !          21006: ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
        !          21007: if test -n "$ac_pt_PKGCONFIG"; then
        !          21008:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
        !          21009: $as_echo "$ac_pt_PKGCONFIG" >&6; }
        !          21010: else
        !          21011:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          21012: $as_echo "no" >&6; }
        !          21013: fi
        !          21014: 
        !          21015:   if test "x$ac_pt_PKGCONFIG" = x; then
        !          21016:     PKGCONFIG="no"
        !          21017:   else
        !          21018:     case $cross_compiling:$ac_tool_warned in
        !          21019: yes:)
        !          21020: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          21021: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          21022: ac_tool_warned=yes ;;
        !          21023: esac
        !          21024:     PKGCONFIG=$ac_pt_PKGCONFIG
        !          21025:   fi
        !          21026: else
        !          21027:   PKGCONFIG="$ac_cv_path_PKGCONFIG"
        !          21028: fi
        !          21029: 
        !          21030:     fi
        !          21031: 
        !          21032:     if test "x$PKGCONFIG" != "xno"; then
        !          21033:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbrotlidec options with pkg-config" >&5
        !          21034: $as_echo_n "checking for libbrotlidec options with pkg-config... " >&6; }
        !          21035:             itexists=`
        !          21036:     if test -n ""; then
        !          21037:       PKG_CONFIG_LIBDIR=""
        !          21038:       export PKG_CONFIG_LIBDIR
        !          21039:     fi
        !          21040:          $PKGCONFIG --exists libbrotlidec >/dev/null 2>&1 && echo 1`
        !          21041: 
        !          21042:       if test -z "$itexists"; then
        !          21043:                         PKGCONFIG="no"
        !          21044:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          21045: $as_echo "no" >&6; }
        !          21046:       else
        !          21047:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
        !          21048: $as_echo "found" >&6; }
        !          21049:       fi
        !          21050:     fi
        !          21051: 
        !          21052: 
        !          21053:     if test "$PKGCONFIG" != "no" ; then
        !          21054:       LIB_BROTLI=`$PKGCONFIG --libs-only-l libbrotlidec`
        !          21055:       LD_BROTLI=`$PKGCONFIG --libs-only-L libbrotlidec`
        !          21056:       CPP_BROTLI=`$PKGCONFIG --cflags-only-I libbrotlidec`
        !          21057:       version=`$PKGCONFIG --modversion libbrotlidec`
        !          21058:       DIR_BROTLI=`echo $LD_BROTLI | $SED -e 's/-L//'`
        !          21059:     fi
        !          21060: 
        !          21061:     ;;
        !          21062:   off)
        !          21063:         ;;
        !          21064:   *)
        !          21065:         PREFIX_BROTLI=$OPT_BROTLI
        !          21066:     ;;
        !          21067:   esac
        !          21068: 
        !          21069:     if test -n "$PREFIX_BROTLI"; then
        !          21070:     LIB_BROTLI="-lbrotlidec"
        !          21071:     LD_BROTLI=-L${PREFIX_BROTLI}/lib$libsuff
        !          21072:     CPP_BROTLI=-I${PREFIX_BROTLI}/include
        !          21073:     DIR_BROTLI=${PREFIX_BROTLI}/lib$libsuff
        !          21074:   fi
        !          21075: 
        !          21076:   LDFLAGS="$LDFLAGS $LD_BROTLI"
        !          21077:   CPPFLAGS="$CPPFLAGS $CPP_BROTLI"
        !          21078:   LIBS="$LIB_BROTLI $LIBS"
        !          21079: 
        !          21080:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BrotliDecoderDecompress in -lbrotlidec" >&5
        !          21081: $as_echo_n "checking for BrotliDecoderDecompress in -lbrotlidec... " >&6; }
        !          21082: if ${ac_cv_lib_brotlidec_BrotliDecoderDecompress+:} false; then :
        !          21083:   $as_echo_n "(cached) " >&6
        !          21084: else
        !          21085:   ac_check_lib_save_LIBS=$LIBS
        !          21086: LIBS="-lbrotlidec  $LIBS"
        !          21087: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          21088: /* end confdefs.h.  */
        !          21089: 
        !          21090: 
        !          21091: #ifdef __cplusplus
        !          21092: extern "C"
        !          21093: #endif
        !          21094: char BrotliDecoderDecompress ();
        !          21095: int main (void)
        !          21096: {
        !          21097: return BrotliDecoderDecompress ();
        !          21098:  ;
        !          21099:  return 0;
        !          21100: }
        !          21101: _ACEOF
        !          21102: if ac_fn_c_try_link "$LINENO"; then :
        !          21103:   ac_cv_lib_brotlidec_BrotliDecoderDecompress=yes
        !          21104: else
        !          21105:   ac_cv_lib_brotlidec_BrotliDecoderDecompress=no
        !          21106: fi
        !          21107: rm -f core conftest.err conftest.$ac_objext \
        !          21108:     conftest$ac_exeext conftest.$ac_ext
        !          21109: LIBS=$ac_check_lib_save_LIBS
        !          21110: fi
        !          21111: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_brotlidec_BrotliDecoderDecompress" >&5
        !          21112: $as_echo "$ac_cv_lib_brotlidec_BrotliDecoderDecompress" >&6; }
        !          21113: if test "x$ac_cv_lib_brotlidec_BrotliDecoderDecompress" = xyes; then :
        !          21114:   cat >>confdefs.h <<_ACEOF
        !          21115: #define HAVE_LIBBROTLIDEC 1
        !          21116: _ACEOF
        !          21117: 
        !          21118:   LIBS="-lbrotlidec $LIBS"
        !          21119: 
        !          21120: fi
        !          21121: 
        !          21122: 
        !          21123:   for ac_header in brotli/decode.h
        !          21124: do :
        !          21125:   ac_fn_c_check_header_mongrel "$LINENO" "brotli/decode.h" "ac_cv_header_brotli_decode_h" "$ac_includes_default"
        !          21126: if test "x$ac_cv_header_brotli_decode_h" = xyes; then :
        !          21127:   cat >>confdefs.h <<_ACEOF
        !          21128: #define HAVE_BROTLI_DECODE_H 1
        !          21129: _ACEOF
        !          21130:  curl_brotli_msg="enabled (libbrotlidec)"
        !          21131:     HAVE_BROTLI=1
        !          21132: 
        !          21133: $as_echo "#define HAVE_BROTLI 1" >>confdefs.h
        !          21134: 
        !          21135:     HAVE_BROTLI=1
        !          21136: 
        !          21137: 
        !          21138: fi
        !          21139: 
        !          21140: done
        !          21141: 
        !          21142: 
        !          21143:   if test X"$OPT_BROTLI" != Xoff &&
        !          21144:      test "$HAVE_BROTLI" != "1"; then
        !          21145:     as_fn_error $? "BROTLI libs and/or directories were not found where specified!" "$LINENO" 5
        !          21146:   fi
        !          21147: 
        !          21148:   if test "$HAVE_BROTLI" = "1"; then
        !          21149:     if test -n "$DIR_BROTLI"; then
        !          21150: 
        !          21151:        if test "x$cross_compiling" != "xyes"; then
        !          21152:          CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_BROTLI"
        !          21153:          export CURL_LIBRARY_PATH
        !          21154:          { $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_BROTLI to CURL_LIBRARY_PATH" >&5
        !          21155: $as_echo "$as_me: Added $DIR_BROTLI to CURL_LIBRARY_PATH" >&6;}
        !          21156:        fi
        !          21157:     fi
        !          21158:   else
        !          21159:         LDFLAGS=$CLEANLDFLAGS
        !          21160:     CPPFLAGS=$CLEANCPPFLAGS
        !          21161:     LIBS=$CLEANLIBS
        !          21162:   fi
        !          21163: fi
        !          21164: 
        !          21165: 
        !          21166: LDAPLIBNAME=""
        !          21167: 
        !          21168: # Check whether --with-ldap-lib was given.
        !          21169: if test "${with_ldap_lib+set}" = set; then :
        !          21170:   withval=$with_ldap_lib; LDAPLIBNAME="$withval"
        !          21171: fi
        !          21172: 
        !          21173: 
        !          21174: LBERLIBNAME=""
        !          21175: 
        !          21176: # Check whether --with-lber-lib was given.
        !          21177: if test "${with_lber_lib+set}" = set; then :
        !          21178:   withval=$with_lber_lib; LBERLIBNAME="$withval"
        !          21179: fi
        !          21180: 
        !          21181: 
        !          21182: if test x$CURL_DISABLE_LDAP != x1 ; then
        !          21183: 
        !          21184: 
        !          21185:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lber.h" >&5
        !          21186: $as_echo_n "checking for lber.h... " >&6; }
        !          21187: if ${curl_cv_header_lber_h+:} false; then :
        !          21188:   $as_echo_n "(cached) " >&6
        !          21189: else
        !          21190: 
        !          21191:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          21192: /* end confdefs.h.  */
        !          21193: 
        !          21194: 
        !          21195: #undef inline
        !          21196: #ifdef HAVE_WINDOWS_H
        !          21197: #ifndef WIN32_LEAN_AND_MEAN
        !          21198: #define WIN32_LEAN_AND_MEAN
        !          21199: #endif
        !          21200: #include <windows.h>
        !          21201: #else
        !          21202: #ifdef HAVE_SYS_TYPES_H
        !          21203: #include <sys/types.h>
        !          21204: #endif
        !          21205: #endif
        !          21206: #ifndef NULL
        !          21207: #define NULL (void *)0
        !          21208: #endif
        !          21209: #include <lber.h>
        !          21210: 
        !          21211: int main (void)
        !          21212: {
        !          21213: 
        !          21214:         BerValue *bvp = NULL;
        !          21215:         BerElement *bep = ber_init(bvp);
        !          21216:         ber_free(bep, 1);
        !          21217: 
        !          21218:  ;
        !          21219:  return 0;
        !          21220: }
        !          21221: 
        !          21222: _ACEOF
        !          21223: if ac_fn_c_try_compile "$LINENO"; then :
        !          21224: 
        !          21225:       curl_cv_header_lber_h="yes"
        !          21226: 
        !          21227: else
        !          21228: 
        !          21229:       curl_cv_header_lber_h="no"
        !          21230: 
        !          21231: fi
        !          21232: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          21233: 
        !          21234: fi
        !          21235: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_lber_h" >&5
        !          21236: $as_echo "$curl_cv_header_lber_h" >&6; }
        !          21237:   if test "$curl_cv_header_lber_h" = "yes"; then
        !          21238: 
        !          21239: cat >>confdefs.h <<_ACEOF
        !          21240: #define HAVE_LBER_H 1
        !          21241: _ACEOF
        !          21242: 
        !          21243:     #
        !          21244:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          21245: /* end confdefs.h.  */
        !          21246: 
        !          21247: 
        !          21248: #undef inline
        !          21249: #ifdef HAVE_WINDOWS_H
        !          21250: #ifndef WIN32_LEAN_AND_MEAN
        !          21251: #define WIN32_LEAN_AND_MEAN
        !          21252: #endif
        !          21253: #include <windows.h>
        !          21254: #else
        !          21255: #ifdef HAVE_SYS_TYPES_H
        !          21256: #include <sys/types.h>
        !          21257: #endif
        !          21258: #endif
        !          21259: #ifndef NULL
        !          21260: #define NULL (void *)0
        !          21261: #endif
        !          21262: #ifndef LDAP_DEPRECATED
        !          21263: #define LDAP_DEPRECATED 1
        !          21264: #endif
        !          21265: #include <ldap.h>
        !          21266: 
        !          21267: int main (void)
        !          21268: {
        !          21269: 
        !          21270:         BerValue *bvp = NULL;
        !          21271:         BerElement *bep = ber_init(bvp);
        !          21272:         ber_free(bep, 1);
        !          21273: 
        !          21274:  ;
        !          21275:  return 0;
        !          21276: }
        !          21277: 
        !          21278: _ACEOF
        !          21279: if ac_fn_c_try_compile "$LINENO"; then :
        !          21280: 
        !          21281:       curl_cv_need_header_lber_h="no"
        !          21282: 
        !          21283: else
        !          21284: 
        !          21285:       curl_cv_need_header_lber_h="yes"
        !          21286: 
        !          21287: fi
        !          21288: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          21289:     #
        !          21290:     case "$curl_cv_need_header_lber_h" in
        !          21291:       yes)
        !          21292: 
        !          21293: cat >>confdefs.h <<_ACEOF
        !          21294: #define NEED_LBER_H 1
        !          21295: _ACEOF
        !          21296: 
        !          21297:         ;;
        !          21298:     esac
        !          21299:   fi
        !          21300: 
        !          21301: 
        !          21302:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap.h" >&5
        !          21303: $as_echo_n "checking for ldap.h... " >&6; }
        !          21304: if ${curl_cv_header_ldap_h+:} false; then :
        !          21305:   $as_echo_n "(cached) " >&6
        !          21306: else
        !          21307: 
        !          21308:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          21309: /* end confdefs.h.  */
        !          21310: 
        !          21311: 
        !          21312: #undef inline
        !          21313: #ifdef HAVE_WINDOWS_H
        !          21314: #ifndef WIN32_LEAN_AND_MEAN
        !          21315: #define WIN32_LEAN_AND_MEAN
        !          21316: #endif
        !          21317: #include <windows.h>
        !          21318: #else
        !          21319: #ifdef HAVE_SYS_TYPES_H
        !          21320: #include <sys/types.h>
        !          21321: #endif
        !          21322: #endif
        !          21323: #ifndef LDAP_DEPRECATED
        !          21324: #define LDAP_DEPRECATED 1
        !          21325: #endif
        !          21326: #ifdef NEED_LBER_H
        !          21327: #include <lber.h>
        !          21328: #endif
        !          21329: #include <ldap.h>
        !          21330: 
        !          21331: int main (void)
        !          21332: {
        !          21333: 
        !          21334:         LDAP *ldp = ldap_init("dummy", LDAP_PORT);
        !          21335:         int res = ldap_unbind(ldp);
        !          21336: 
        !          21337:  ;
        !          21338:  return 0;
        !          21339: }
        !          21340: 
        !          21341: _ACEOF
        !          21342: if ac_fn_c_try_compile "$LINENO"; then :
        !          21343: 
        !          21344:       curl_cv_header_ldap_h="yes"
        !          21345: 
        !          21346: else
        !          21347: 
        !          21348:       curl_cv_header_ldap_h="no"
        !          21349: 
        !          21350: fi
        !          21351: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          21352: 
        !          21353: fi
        !          21354: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ldap_h" >&5
        !          21355: $as_echo "$curl_cv_header_ldap_h" >&6; }
        !          21356:   case "$curl_cv_header_ldap_h" in
        !          21357:     yes)
        !          21358: 
        !          21359: cat >>confdefs.h <<_ACEOF
        !          21360: #define HAVE_LDAP_H 1
        !          21361: _ACEOF
        !          21362: 
        !          21363:       ;;
        !          21364:   esac
        !          21365: 
        !          21366: 
        !          21367:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldapssl.h" >&5
        !          21368: $as_echo_n "checking for ldapssl.h... " >&6; }
        !          21369: if ${curl_cv_header_ldapssl_h+:} false; then :
        !          21370:   $as_echo_n "(cached) " >&6
        !          21371: else
        !          21372: 
        !          21373:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          21374: /* end confdefs.h.  */
        !          21375: 
        !          21376: 
        !          21377: #undef inline
        !          21378: #ifdef HAVE_WINDOWS_H
        !          21379: #ifndef WIN32_LEAN_AND_MEAN
        !          21380: #define WIN32_LEAN_AND_MEAN
        !          21381: #endif
        !          21382: #include <windows.h>
        !          21383: #else
        !          21384: #ifdef HAVE_SYS_TYPES_H
        !          21385: #include <sys/types.h>
        !          21386: #endif
        !          21387: #endif
        !          21388: #ifndef NULL
        !          21389: #define NULL (void *)0
        !          21390: #endif
        !          21391: #ifndef LDAP_DEPRECATED
        !          21392: #define LDAP_DEPRECATED 1
        !          21393: #endif
        !          21394: #ifdef NEED_LBER_H
        !          21395: #include <lber.h>
        !          21396: #endif
        !          21397: #ifdef HAVE_LDAP_H
        !          21398: #include <ldap.h>
        !          21399: #endif
        !          21400: #include <ldapssl.h>
        !          21401: 
        !          21402: int main (void)
        !          21403: {
        !          21404: 
        !          21405:         char *cert_label = NULL;
        !          21406:         LDAP *ldp = ldap_ssl_init("dummy", LDAPS_PORT, cert_label);
        !          21407: 
        !          21408:  ;
        !          21409:  return 0;
        !          21410: }
        !          21411: 
        !          21412: _ACEOF
        !          21413: if ac_fn_c_try_compile "$LINENO"; then :
        !          21414: 
        !          21415:       curl_cv_header_ldapssl_h="yes"
        !          21416: 
        !          21417: else
        !          21418: 
        !          21419:       curl_cv_header_ldapssl_h="no"
        !          21420: 
        !          21421: fi
        !          21422: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          21423: 
        !          21424: fi
        !          21425: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ldapssl_h" >&5
        !          21426: $as_echo "$curl_cv_header_ldapssl_h" >&6; }
        !          21427:   case "$curl_cv_header_ldapssl_h" in
        !          21428:     yes)
        !          21429: 
        !          21430: cat >>confdefs.h <<_ACEOF
        !          21431: #define HAVE_LDAPSSL_H 1
        !          21432: _ACEOF
        !          21433: 
        !          21434:       ;;
        !          21435:   esac
        !          21436: 
        !          21437: 
        !          21438:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_ssl.h" >&5
        !          21439: $as_echo_n "checking for ldap_ssl.h... " >&6; }
        !          21440: if ${curl_cv_header_ldap_ssl_h+:} false; then :
        !          21441:   $as_echo_n "(cached) " >&6
        !          21442: else
        !          21443: 
        !          21444:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          21445: /* end confdefs.h.  */
        !          21446: 
        !          21447: 
        !          21448: #undef inline
        !          21449: #ifdef HAVE_WINDOWS_H
        !          21450: #ifndef WIN32_LEAN_AND_MEAN
        !          21451: #define WIN32_LEAN_AND_MEAN
        !          21452: #endif
        !          21453: #include <windows.h>
        !          21454: #else
        !          21455: #ifdef HAVE_SYS_TYPES_H
        !          21456: #include <sys/types.h>
        !          21457: #endif
        !          21458: #endif
        !          21459: #ifndef LDAP_DEPRECATED
        !          21460: #define LDAP_DEPRECATED 1
        !          21461: #endif
        !          21462: #ifdef NEED_LBER_H
        !          21463: #include <lber.h>
        !          21464: #endif
        !          21465: #ifdef HAVE_LDAP_H
        !          21466: #include <ldap.h>
        !          21467: #endif
        !          21468: #include <ldap_ssl.h>
        !          21469: 
        !          21470: int main (void)
        !          21471: {
        !          21472: 
        !          21473:         LDAP *ldp = ldapssl_init("dummy", LDAPS_PORT, 1);
        !          21474: 
        !          21475:  ;
        !          21476:  return 0;
        !          21477: }
        !          21478: 
        !          21479: _ACEOF
        !          21480: if ac_fn_c_try_compile "$LINENO"; then :
        !          21481: 
        !          21482:       curl_cv_header_ldap_ssl_h="yes"
        !          21483: 
        !          21484: else
        !          21485: 
        !          21486:       curl_cv_header_ldap_ssl_h="no"
        !          21487: 
        !          21488: fi
        !          21489: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          21490: 
        !          21491: fi
        !          21492: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ldap_ssl_h" >&5
        !          21493: $as_echo "$curl_cv_header_ldap_ssl_h" >&6; }
        !          21494:   case "$curl_cv_header_ldap_ssl_h" in
        !          21495:     yes)
        !          21496: 
        !          21497: cat >>confdefs.h <<_ACEOF
        !          21498: #define HAVE_LDAP_SSL_H 1
        !          21499: _ACEOF
        !          21500: 
        !          21501:       ;;
        !          21502:   esac
        !          21503: 
        !          21504: 
        !          21505:   if test -z "$LDAPLIBNAME" ; then
        !          21506:     if test "$curl_cv_native_windows" = "yes"; then
        !          21507:             LDAPLIBNAME="wldap32"
        !          21508:       LBERLIBNAME="no"
        !          21509:     fi
        !          21510:   fi
        !          21511: 
        !          21512:   if test "$LDAPLIBNAME" ; then
        !          21513:     as_ac_Lib=`$as_echo "ac_cv_lib_"$LDAPLIBNAME"''_ldap_init" | $as_tr_sh`
        !          21514: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_init in -l\"$LDAPLIBNAME\"" >&5
        !          21515: $as_echo_n "checking for ldap_init in -l\"$LDAPLIBNAME\"... " >&6; }
        !          21516: if eval \${$as_ac_Lib+:} false; then :
        !          21517:   $as_echo_n "(cached) " >&6
        !          21518: else
        !          21519:   ac_check_lib_save_LIBS=$LIBS
        !          21520: LIBS="-l"$LDAPLIBNAME"  $LIBS"
        !          21521: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          21522: /* end confdefs.h.  */
        !          21523: 
        !          21524: 
        !          21525: #ifdef __cplusplus
        !          21526: extern "C"
        !          21527: #endif
        !          21528: char ldap_init ();
        !          21529: int main (void)
        !          21530: {
        !          21531: return ldap_init ();
        !          21532:  ;
        !          21533:  return 0;
        !          21534: }
        !          21535: _ACEOF
        !          21536: if ac_fn_c_try_link "$LINENO"; then :
        !          21537:   eval "$as_ac_Lib=yes"
        !          21538: else
        !          21539:   eval "$as_ac_Lib=no"
        !          21540: fi
        !          21541: rm -f core conftest.err conftest.$ac_objext \
        !          21542:     conftest$ac_exeext conftest.$ac_ext
        !          21543: LIBS=$ac_check_lib_save_LIBS
        !          21544: fi
        !          21545: eval ac_res=\$$as_ac_Lib
        !          21546:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          21547: $as_echo "$ac_res" >&6; }
        !          21548: if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
        !          21549:   cat >>confdefs.h <<_ACEOF
        !          21550: #define `$as_echo "HAVE_LIB"$LDAPLIBNAME"" | $as_tr_cpp` 1
        !          21551: _ACEOF
        !          21552: 
        !          21553:   LIBS="-l"$LDAPLIBNAME" $LIBS"
        !          21554: 
        !          21555: else
        !          21556: 
        !          21557:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"$LDAPLIBNAME\" is not an LDAP library: LDAP disabled" >&5
        !          21558: $as_echo "$as_me: WARNING: \"$LDAPLIBNAME\" is not an LDAP library: LDAP disabled" >&2;}
        !          21559: 
        !          21560: $as_echo "#define CURL_DISABLE_LDAP 1" >>confdefs.h
        !          21561: 
        !          21562:       CURL_DISABLE_LDAP=1
        !          21563: 
        !          21564: 
        !          21565: $as_echo "#define CURL_DISABLE_LDAPS 1" >>confdefs.h
        !          21566: 
        !          21567:       CURL_DISABLE_LDAPS=1
        !          21568: 
        !          21569: fi
        !          21570: 
        !          21571:   else
        !          21572: 
        !          21573:     #
        !          21574:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LDAP libraries" >&5
        !          21575: $as_echo_n "checking for LDAP libraries... " >&6; }
        !          21576:   #
        !          21577:   u_libs=""
        !          21578:   #
        !          21579: 
        !          21580:   #
        !          21581:   curl_cv_save_LIBS="$LIBS"
        !          21582:   curl_cv_ldap_LIBS="unknown"
        !          21583:   #
        !          21584:   for x_nlibs in '' "$u_libs" \
        !          21585:     '-lldap' \
        !          21586:     '-lldap -llber' \
        !          21587:     '-llber -lldap' \
        !          21588:     '-lldapssl -lldapx -lldapsdk' \
        !          21589:     '-lldapsdk -lldapx -lldapssl' \
        !          21590:     '-lldap -llber -lssl -lcrypto' ; do
        !          21591: 
        !          21592:     if test "$curl_cv_ldap_LIBS" = "unknown"; then
        !          21593:       if test -z "$x_nlibs"; then
        !          21594:         LIBS="$curl_cv_save_LIBS"
        !          21595:       else
        !          21596:         LIBS="$x_nlibs $curl_cv_save_LIBS"
        !          21597:       fi
        !          21598:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          21599: /* end confdefs.h.  */
        !          21600: 
        !          21601: 
        !          21602: #undef inline
        !          21603: #ifdef HAVE_WINDOWS_H
        !          21604: #ifndef WIN32_LEAN_AND_MEAN
        !          21605: #define WIN32_LEAN_AND_MEAN
        !          21606: #endif
        !          21607: #include <windows.h>
        !          21608: #else
        !          21609: #ifdef HAVE_SYS_TYPES_H
        !          21610: #include <sys/types.h>
        !          21611: #endif
        !          21612: #endif
        !          21613: #ifndef NULL
        !          21614: #define NULL (void *)0
        !          21615: #endif
        !          21616: #ifndef LDAP_DEPRECATED
        !          21617: #define LDAP_DEPRECATED 1
        !          21618: #endif
        !          21619: #ifdef NEED_LBER_H
        !          21620: #include <lber.h>
        !          21621: #endif
        !          21622: #ifdef HAVE_LDAP_H
        !          21623: #include <ldap.h>
        !          21624: #endif
        !          21625: 
        !          21626: int main (void)
        !          21627: {
        !          21628: 
        !          21629:           BerValue *bvp = NULL;
        !          21630:           BerElement *bep = ber_init(bvp);
        !          21631:           LDAP *ldp = ldap_init("dummy", LDAP_PORT);
        !          21632:           int res = ldap_unbind(ldp);
        !          21633:           ber_free(bep, 1);
        !          21634: 
        !          21635:  ;
        !          21636:  return 0;
        !          21637: }
        !          21638: 
        !          21639: _ACEOF
        !          21640: if ac_fn_c_try_link "$LINENO"; then :
        !          21641: 
        !          21642:         curl_cv_ldap_LIBS="$x_nlibs"
        !          21643: 
        !          21644: fi
        !          21645: rm -f core conftest.err conftest.$ac_objext \
        !          21646:     conftest$ac_exeext conftest.$ac_ext
        !          21647:     fi
        !          21648:   done
        !          21649:   #
        !          21650:   LIBS="$curl_cv_save_LIBS"
        !          21651:   #
        !          21652:   case X-"$curl_cv_ldap_LIBS" in
        !          21653:     X-unknown)
        !          21654:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find LDAP libraries" >&5
        !          21655: $as_echo "cannot find LDAP libraries" >&6; }
        !          21656:       ;;
        !          21657:     X-)
        !          21658:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no additional lib required" >&5
        !          21659: $as_echo "no additional lib required" >&6; }
        !          21660:       ;;
        !          21661:     *)
        !          21662:       if test -z "$curl_cv_save_LIBS"; then
        !          21663:         LIBS="$curl_cv_ldap_LIBS"
        !          21664:       else
        !          21665:         LIBS="$curl_cv_ldap_LIBS $curl_cv_save_LIBS"
        !          21666:       fi
        !          21667:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_ldap_LIBS" >&5
        !          21668: $as_echo "$curl_cv_ldap_LIBS" >&6; }
        !          21669:       ;;
        !          21670:   esac
        !          21671:   #
        !          21672: 
        !          21673:     case X-"$curl_cv_ldap_LIBS" in
        !          21674:       X-unknown)
        !          21675:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libraries for LDAP support: LDAP disabled" >&5
        !          21676: $as_echo "$as_me: WARNING: Cannot find libraries for LDAP support: LDAP disabled" >&2;}
        !          21677: 
        !          21678: $as_echo "#define CURL_DISABLE_LDAP 1" >>confdefs.h
        !          21679: 
        !          21680:         CURL_DISABLE_LDAP=1
        !          21681: 
        !          21682: 
        !          21683: $as_echo "#define CURL_DISABLE_LDAPS 1" >>confdefs.h
        !          21684: 
        !          21685:         CURL_DISABLE_LDAPS=1
        !          21686: 
        !          21687:         ;;
        !          21688:     esac
        !          21689:   fi
        !          21690: fi
        !          21691: 
        !          21692: if test x$CURL_DISABLE_LDAP != x1 ; then
        !          21693: 
        !          21694:   if test "$LBERLIBNAME" ; then
        !          21695:             if test "$LBERLIBNAME" != "no" ; then
        !          21696:       as_ac_Lib=`$as_echo "ac_cv_lib_"$LBERLIBNAME"''_ber_free" | $as_tr_sh`
        !          21697: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_free in -l\"$LBERLIBNAME\"" >&5
        !          21698: $as_echo_n "checking for ber_free in -l\"$LBERLIBNAME\"... " >&6; }
        !          21699: if eval \${$as_ac_Lib+:} false; then :
        !          21700:   $as_echo_n "(cached) " >&6
        !          21701: else
        !          21702:   ac_check_lib_save_LIBS=$LIBS
        !          21703: LIBS="-l"$LBERLIBNAME"  $LIBS"
        !          21704: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          21705: /* end confdefs.h.  */
        !          21706: 
        !          21707: 
        !          21708: #ifdef __cplusplus
        !          21709: extern "C"
        !          21710: #endif
        !          21711: char ber_free ();
        !          21712: int main (void)
        !          21713: {
        !          21714: return ber_free ();
        !          21715:  ;
        !          21716:  return 0;
        !          21717: }
        !          21718: _ACEOF
        !          21719: if ac_fn_c_try_link "$LINENO"; then :
        !          21720:   eval "$as_ac_Lib=yes"
        !          21721: else
        !          21722:   eval "$as_ac_Lib=no"
        !          21723: fi
        !          21724: rm -f core conftest.err conftest.$ac_objext \
        !          21725:     conftest$ac_exeext conftest.$ac_ext
        !          21726: LIBS=$ac_check_lib_save_LIBS
        !          21727: fi
        !          21728: eval ac_res=\$$as_ac_Lib
        !          21729:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          21730: $as_echo "$ac_res" >&6; }
        !          21731: if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
        !          21732:   cat >>confdefs.h <<_ACEOF
        !          21733: #define `$as_echo "HAVE_LIB"$LBERLIBNAME"" | $as_tr_cpp` 1
        !          21734: _ACEOF
        !          21735: 
        !          21736:   LIBS="-l"$LBERLIBNAME" $LIBS"
        !          21737: 
        !          21738: else
        !          21739: 
        !          21740:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"$LBERLIBNAME\" is not an LBER library: LDAP disabled" >&5
        !          21741: $as_echo "$as_me: WARNING: \"$LBERLIBNAME\" is not an LBER library: LDAP disabled" >&2;}
        !          21742: 
        !          21743: $as_echo "#define CURL_DISABLE_LDAP 1" >>confdefs.h
        !          21744: 
        !          21745:         CURL_DISABLE_LDAP=1
        !          21746: 
        !          21747: 
        !          21748: $as_echo "#define CURL_DISABLE_LDAPS 1" >>confdefs.h
        !          21749: 
        !          21750:         CURL_DISABLE_LDAPS=1
        !          21751: 
        !          21752: fi
        !          21753: 
        !          21754:     fi
        !          21755:   fi
        !          21756: fi
        !          21757: 
        !          21758: if test x$CURL_DISABLE_LDAP != x1 ; then
        !          21759:   for ac_func in ldap_url_parse ldap_init_fd
        !          21760: do :
        !          21761:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          21762: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
        !          21763: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
        !          21764:   cat >>confdefs.h <<_ACEOF
        !          21765: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
        !          21766: _ACEOF
        !          21767: 
        !          21768: fi
        !          21769: done
        !          21770: 
        !          21771: 
        !          21772:   if test "$LDAPLIBNAME" = "wldap32"; then
        !          21773:     curl_ldap_msg="enabled (winldap)"
        !          21774: 
        !          21775: $as_echo "#define USE_WIN32_LDAP 1" >>confdefs.h
        !          21776: 
        !          21777:   else
        !          21778:     curl_ldap_msg="enabled (OpenLDAP)"
        !          21779:     if test "x$ac_cv_func_ldap_init_fd" = "xyes"; then
        !          21780: 
        !          21781: $as_echo "#define USE_OPENLDAP 1" >>confdefs.h
        !          21782: 
        !          21783:       USE_OPENLDAP=1
        !          21784: 
        !          21785:     fi
        !          21786:   fi
        !          21787: fi
        !          21788: 
        !          21789: if test x$CURL_DISABLE_LDAPS != x1 ; then
        !          21790:     curl_ldaps_msg="enabled"
        !          21791: fi
        !          21792: 
        !          21793: 
        !          21794: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable IPv6" >&5
        !          21795: $as_echo_n "checking whether to enable IPv6... " >&6; }
        !          21796: # Check whether --enable-ipv6 was given.
        !          21797: if test "${enable_ipv6+set}" = set; then :
        !          21798:   enableval=$enable_ipv6;  case "$enableval" in
        !          21799:   no)
        !          21800:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          21801: $as_echo "no" >&6; }
        !          21802:        ipv6=no
        !          21803:        ;;
        !          21804:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          21805: $as_echo "yes" >&6; }
        !          21806:        ipv6=yes
        !          21807:        ;;
        !          21808:   esac
        !          21809: else
        !          21810:   if test "$cross_compiling" = yes; then :
        !          21811:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          21812: $as_echo "yes" >&6; }
        !          21813:   ipv6=yes
        !          21814: 
        !          21815: else
        !          21816:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          21817: /* end confdefs.h.  */
        !          21818:  /* are AF_INET6 and sockaddr_in6 available? */
        !          21819: #include <sys/types.h>
        !          21820: #ifdef HAVE_WINSOCK2_H
        !          21821: #include <winsock2.h>
        !          21822: #include <ws2tcpip.h>
        !          21823: #else
        !          21824: #include <sys/socket.h>
        !          21825: #include <netinet/in.h>
        !          21826: #if defined (__TANDEM)
        !          21827: # include <netinet/in6.h>
        !          21828: #endif
        !          21829: #endif
        !          21830: #include <stdlib.h> /* for exit() */
        !          21831: main()
        !          21832: {
        !          21833:  struct sockaddr_in6 s;
        !          21834:  (void)s;
        !          21835:  if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
        !          21836:    exit(1);
        !          21837:  else
        !          21838:    exit(0);
        !          21839: }
        !          21840: 
        !          21841: _ACEOF
        !          21842: if ac_fn_c_try_run "$LINENO"; then :
        !          21843:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          21844: $as_echo "yes" >&6; }
        !          21845:   ipv6=yes
        !          21846: else
        !          21847:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          21848: $as_echo "no" >&6; }
        !          21849:   ipv6=no
        !          21850: fi
        !          21851: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          21852:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          21853: fi
        !          21854: 
        !          21855: fi
        !          21856: 
        !          21857: 
        !          21858: if test "$ipv6" = yes; then
        !          21859:   curl_ipv6_msg="enabled"
        !          21860: 
        !          21861: $as_echo "#define ENABLE_IPV6 1" >>confdefs.h
        !          21862: 
        !          21863:   IPV6_ENABLED=1
        !          21864: 
        !          21865: 
        !          21866:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if struct sockaddr_in6 has sin6_scope_id member" >&5
        !          21867: $as_echo_n "checking if struct sockaddr_in6 has sin6_scope_id member... " >&6; }
        !          21868:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          21869: /* end confdefs.h.  */
        !          21870: 
        !          21871: #include <sys/types.h>
        !          21872: #ifdef HAVE_WINSOCK2_H
        !          21873: #include <winsock2.h>
        !          21874: #include <ws2tcpip.h>
        !          21875: #else
        !          21876: #include <netinet/in.h>
        !          21877: #if defined (__TANDEM)
        !          21878: # include <netinet/in6.h>
        !          21879: #endif
        !          21880: #endif
        !          21881: int main (void)
        !          21882: {
        !          21883: struct sockaddr_in6 s; s.sin6_scope_id = 0;
        !          21884:  ;
        !          21885:  return 0;
        !          21886: }
        !          21887: _ACEOF
        !          21888: if ac_fn_c_try_compile "$LINENO"; then :
        !          21889:   have_sin6_scope_id=yes
        !          21890: fi
        !          21891: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          21892:   if test "$have_sin6_scope_id" = yes; then
        !          21893:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          21894: $as_echo "yes" >&6; }
        !          21895: 
        !          21896: $as_echo "#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
        !          21897: 
        !          21898:   else
        !          21899:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          21900: $as_echo "no" >&6; }
        !          21901:   fi
        !          21902: fi
        !          21903: 
        !          21904: 
        !          21905: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argv can be written to" >&5
        !          21906: $as_echo_n "checking if argv can be written to... " >&6; }
        !          21907: 
        !          21908:    old=$LD_LIBRARY_PATH
        !          21909:    LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
        !          21910:    export LD_LIBRARY_PATH
        !          21911:    if test "$cross_compiling" = yes; then :
        !          21912:   curl_cv_writable_argv=cross
        !          21913: 
        !          21914: else
        !          21915:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          21916: /* end confdefs.h.  */
        !          21917: 
        !          21918: int main(int argc, char ** argv) {
        !          21919:     argv00 = ' ';
        !          21920:     return (argv00 == ' ')?0:1;
        !          21921: }
        !          21922: 
        !          21923: _ACEOF
        !          21924: if ac_fn_c_try_run "$LINENO"; then :
        !          21925:   curl_cv_writable_argv=yes
        !          21926: 
        !          21927: else
        !          21928:   curl_cv_writable_argv=no
        !          21929: 
        !          21930: fi
        !          21931: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          21932:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          21933: fi
        !          21934: 
        !          21935:    LD_LIBRARY_PATH=$old # restore
        !          21936: 
        !          21937: case $curl_cv_writable_argv in
        !          21938: yes)
        !          21939: 
        !          21940: $as_echo "#define HAVE_WRITABLE_ARGV 1" >>confdefs.h
        !          21941: 
        !          21942:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          21943: $as_echo "yes" >&6; }
        !          21944:         ;;
        !          21945: no)
        !          21946:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          21947: $as_echo "no" >&6; }
        !          21948:         ;;
        !          21949: *)
        !          21950:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          21951: $as_echo "no" >&6; }
        !          21952:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the previous check could not be made default was used" >&5
        !          21953: $as_echo "$as_me: WARNING: the previous check could not be made default was used" >&2;}
        !          21954:         ;;
        !          21955: esac
        !          21956: 
        !          21957: 
        !          21958: 
        !          21959: GSSAPI_ROOT="/usr"
        !          21960: 
        !          21961: # Check whether --with-gssapi-includes was given.
        !          21962: if test "${with_gssapi_includes+set}" = set; then :
        !          21963:   withval=$with_gssapi_includes;  GSSAPI_INCS="-I$withval"
        !          21964:     want_gss="yes"
        !          21965: 
        !          21966: fi
        !          21967: 
        !          21968: 
        !          21969: 
        !          21970: # Check whether --with-gssapi-libs was given.
        !          21971: if test "${with_gssapi_libs+set}" = set; then :
        !          21972:   withval=$with_gssapi_libs;  GSSAPI_LIB_DIR="-L$withval"
        !          21973:     want_gss="yes"
        !          21974: 
        !          21975: fi
        !          21976: 
        !          21977: 
        !          21978: 
        !          21979: # Check whether --with-gssapi was given.
        !          21980: if test "${with_gssapi+set}" = set; then :
        !          21981:   withval=$with_gssapi;
        !          21982:   GSSAPI_ROOT="$withval"
        !          21983:   if test x"$GSSAPI_ROOT" != xno; then
        !          21984:     want_gss="yes"
        !          21985:     if test x"$GSSAPI_ROOT" = xyes; then
        !          21986:             GSSAPI_ROOT="/usr"
        !          21987:     fi
        !          21988:   fi
        !          21989: 
        !          21990: fi
        !          21991: 
        !          21992: 
        !          21993: : ${KRB5CONFIG:="$GSSAPI_ROOT/bin/krb5-config"}
        !          21994: 
        !          21995: save_CPPFLAGS="$CPPFLAGS"
        !          21996: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GSS-API support is requested" >&5
        !          21997: $as_echo_n "checking if GSS-API support is requested... " >&6; }
        !          21998: if test x"$want_gss" = xyes; then
        !          21999:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          22000: $as_echo "yes" >&6; }
        !          22001: 
        !          22002:   if test -z "$GSSAPI_INCS"; then
        !          22003:      if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then
        !          22004:         GSSAPI_INCS=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --cflags gssapi`
        !          22005:      elif test -f "$KRB5CONFIG"; then
        !          22006:         GSSAPI_INCS=`$KRB5CONFIG --cflags gssapi`
        !          22007:      elif test "$GSSAPI_ROOT" != "yes"; then
        !          22008:         GSSAPI_INCS="-I$GSSAPI_ROOT/include"
        !          22009:      fi
        !          22010:   fi
        !          22011: 
        !          22012:   CPPFLAGS="$CPPFLAGS $GSSAPI_INCS"
        !          22013: 
        !          22014:   ac_fn_c_check_header_mongrel "$LINENO" "gss.h" "ac_cv_header_gss_h" "$ac_includes_default"
        !          22015: if test "x$ac_cv_header_gss_h" = xyes; then :
        !          22016: 
        !          22017: 
        !          22018: $as_echo "#define HAVE_GSSGNU 1" >>confdefs.h
        !          22019: 
        !          22020:       gnu_gss=yes
        !          22021: 
        !          22022: else
        !          22023: 
        !          22024:             for ac_header in gssapi/gssapi.h
        !          22025: do :
        !          22026:   ac_fn_c_check_header_mongrel "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
        !          22027: if test "x$ac_cv_header_gssapi_gssapi_h" = xyes; then :
        !          22028:   cat >>confdefs.h <<_ACEOF
        !          22029: #define HAVE_GSSAPI_GSSAPI_H 1
        !          22030: _ACEOF
        !          22031: 
        !          22032: else
        !          22033:   not_mit=1
        !          22034: fi
        !          22035: 
        !          22036: done
        !          22037: 
        !          22038:       for ac_header in gssapi/gssapi_generic.h gssapi/gssapi_krb5.h
        !          22039: do :
        !          22040:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          22041: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
        !          22042: $ac_includes_default
        !          22043: #ifdef HAVE_GSSAPI_GSSAPI_H
        !          22044: #include <gssapi/gssapi.h>
        !          22045: #endif
        !          22046: 
        !          22047: "
        !          22048: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          22049:   cat >>confdefs.h <<_ACEOF
        !          22050: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          22051: _ACEOF
        !          22052: 
        !          22053: else
        !          22054:   not_mit=1
        !          22055: fi
        !          22056: 
        !          22057: done
        !          22058: 
        !          22059:       if test "x$not_mit" = "x1"; then
        !          22060:                 ac_fn_c_check_header_mongrel "$LINENO" "gssapi.h" "ac_cv_header_gssapi_h" "$ac_includes_default"
        !          22061: if test "x$ac_cv_header_gssapi_h" = xyes; then :
        !          22062: 
        !          22063: 
        !          22064: $as_echo "#define HAVE_GSSHEIMDAL 1" >>confdefs.h
        !          22065: 
        !          22066: 
        !          22067: else
        !          22068: 
        !          22069:                             want_gss=no
        !          22070:               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling GSS-API support since no header files were found" >&5
        !          22071: $as_echo "$as_me: WARNING: disabling GSS-API support since no header files were found" >&2;}
        !          22072: 
        !          22073: 
        !          22074: fi
        !          22075: 
        !          22076: 
        !          22077:       else
        !          22078: 
        !          22079: $as_echo "#define HAVE_GSSMIT 1" >>confdefs.h
        !          22080: 
        !          22081:                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE" >&5
        !          22082: $as_echo_n "checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE... " >&6; }
        !          22083:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          22084: /* end confdefs.h.  */
        !          22085: 
        !          22086: 
        !          22087: #include <gssapi/gssapi.h>
        !          22088: #include <gssapi/gssapi_generic.h>
        !          22089: #include <gssapi/gssapi_krb5.h>
        !          22090: 
        !          22091: int main (void)
        !          22092: {
        !          22093: 
        !          22094:             gss_import_name(
        !          22095:                             (OM_uint32 *)0,
        !          22096:                             (gss_buffer_t)0,
        !          22097:                             GSS_C_NT_HOSTBASED_SERVICE,
        !          22098:                             (gss_name_t *)0);
        !          22099: 
        !          22100:  ;
        !          22101:  return 0;
        !          22102: }
        !          22103: 
        !          22104: _ACEOF
        !          22105: if ac_fn_c_try_compile "$LINENO"; then :
        !          22106: 
        !          22107:           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          22108: $as_echo "yes" >&6; }
        !          22109: 
        !          22110: else
        !          22111: 
        !          22112:           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          22113: $as_echo "no" >&6; }
        !          22114: 
        !          22115: $as_echo "#define HAVE_OLD_GSSMIT 1" >>confdefs.h
        !          22116: 
        !          22117: 
        !          22118: fi
        !          22119: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          22120:       fi
        !          22121: 
        !          22122: 
        !          22123: fi
        !          22124: 
        !          22125: 
        !          22126: else
        !          22127:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          22128: $as_echo "no" >&6; }
        !          22129: fi
        !          22130: if test x"$want_gss" = xyes; then
        !          22131: 
        !          22132: $as_echo "#define HAVE_GSSAPI 1" >>confdefs.h
        !          22133: 
        !          22134:   HAVE_GSSAPI=1
        !          22135:   curl_gss_msg="enabled (MIT Kerberos/Heimdal)"
        !          22136: 
        !          22137:   if test -n "$gnu_gss"; then
        !          22138:     curl_gss_msg="enabled (GNU GSS)"
        !          22139:     LDFLAGS="$LDFLAGS $GSSAPI_LIB_DIR"
        !          22140:     LIBS="-lgss $LIBS"
        !          22141:   elif test -z "$GSSAPI_LIB_DIR"; then
        !          22142:      case $host in
        !          22143:      *-*-darwin*)
        !          22144:         LIBS="-lgssapi_krb5 -lresolv $LIBS"
        !          22145:         ;;
        !          22146:      *)
        !          22147:         if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then
        !          22148:                                  gss_libs=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --libs gssapi`
        !          22149:            LIBS="$gss_libs $LIBS"
        !          22150:         elif test -f "$KRB5CONFIG"; then
        !          22151:                                  gss_libs=`$KRB5CONFIG --libs gssapi`
        !          22152:            LIBS="$gss_libs $LIBS"
        !          22153:         else
        !          22154:            case $host in
        !          22155:            *-hp-hpux*)
        !          22156:               gss_libname="gss"
        !          22157:               ;;
        !          22158:            *)
        !          22159:               gss_libname="gssapi"
        !          22160:               ;;
        !          22161:            esac
        !          22162: 
        !          22163:            if test "$GSSAPI_ROOT" != "yes"; then
        !          22164:               LDFLAGS="$LDFLAGS -L$GSSAPI_ROOT/lib$libsuff"
        !          22165:               LIBS="-l$gss_libname $LIBS"
        !          22166:            else
        !          22167:               LIBS="-l$gss_libname $LIBS"
        !          22168:            fi
        !          22169:         fi
        !          22170:         ;;
        !          22171:      esac
        !          22172:   else
        !          22173:      LDFLAGS="$LDFLAGS $GSSAPI_LIB_DIR"
        !          22174:      case $host in
        !          22175:      *-hp-hpux*)
        !          22176:         LIBS="-lgss $LIBS"
        !          22177:         ;;
        !          22178:      *)
        !          22179:         LIBS="-lgssapi $LIBS"
        !          22180:         ;;
        !          22181:      esac
        !          22182:   fi
        !          22183: else
        !          22184:   CPPFLAGS="$save_CPPFLAGS"
        !          22185: fi
        !          22186: 
        !          22187: build_libstubgss=no
        !          22188: if test x"$want_gss" = "xyes"; then
        !          22189:   build_libstubgss=yes
        !          22190: fi
        !          22191: 
        !          22192:  if test "x$build_libstubgss" = "xyes"; then
        !          22193:   BUILD_STUB_GSS_TRUE=
        !          22194:   BUILD_STUB_GSS_FALSE='#'
        !          22195: else
        !          22196:   BUILD_STUB_GSS_TRUE='#'
        !          22197:   BUILD_STUB_GSS_FALSE=
        !          22198: fi
        !          22199: 
        !          22200: 
        !          22201: 
        !          22202: DEFAULT_SSL_BACKEND=no
        !          22203: VALID_DEFAULT_SSL_BACKEND=
        !          22204: 
        !          22205: # Check whether --with-default-ssl-backend was given.
        !          22206: if test "${with_default_ssl_backend+set}" = set; then :
        !          22207:   withval=$with_default_ssl_backend; DEFAULT_SSL_BACKEND=$withval
        !          22208: fi
        !          22209: 
        !          22210: case "$DEFAULT_SSL_BACKEND" in
        !          22211:   no)
        !          22212:         ;;
        !          22213:   default|yes)
        !          22214:         as_fn_error $? "The name of the default SSL backend is required." "$LINENO" 5
        !          22215:     ;;
        !          22216:   *)
        !          22217: 
        !          22218:         VALID_DEFAULT_SSL_BACKEND=no
        !          22219:     ;;
        !          22220: esac
        !          22221: 
        !          22222: 
        !          22223: 
        !          22224: OPT_WINSSL=no
        !          22225: 
        !          22226: # Check whether --with-winssl was given.
        !          22227: if test "${with_winssl+set}" = set; then :
        !          22228:   withval=$with_winssl; OPT_WINSSL=$withval
        !          22229: fi
        !          22230: 
        !          22231: 
        !          22232: 
        !          22233: # Check whether --with-schannel was given.
        !          22234: if test "${with_schannel+set}" = set; then :
        !          22235:   withval=$with_schannel; OPT_WINSSL=$withval
        !          22236: fi
        !          22237: 
        !          22238: 
        !          22239: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Windows native SSL/TLS (Windows native builds only)" >&5
        !          22240: $as_echo_n "checking whether to enable Windows native SSL/TLS (Windows native builds only)... " >&6; }
        !          22241: if test -z "$ssl_backends" -o "x$OPT_WINSSL" != xno; then
        !          22242:   ssl_msg=
        !          22243:   if test "x$OPT_WINSSL" != "xno"  &&
        !          22244:      test "x$curl_cv_native_windows" = "xyes"; then
        !          22245:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          22246: $as_echo "yes" >&6; }
        !          22247: 
        !          22248: $as_echo "#define USE_SCHANNEL 1" >>confdefs.h
        !          22249: 
        !          22250:     USE_SCHANNEL=1
        !          22251: 
        !          22252:     ssl_msg="Windows-native"
        !          22253:     test schannel != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
        !          22254:     WINSSL_ENABLED=1
        !          22255:     # --with-winssl implies --enable-sspi
        !          22256: 
        !          22257: $as_echo "#define USE_WINDOWS_SSPI 1" >>confdefs.h
        !          22258: 
        !          22259:     USE_WINDOWS_SSPI=1
        !          22260: 
        !          22261:     curl_sspi_msg="enabled"
        !          22262:     LIBS="-lcrypt32 $LIBS"
        !          22263:   else
        !          22264:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          22265: $as_echo "no" >&6; }
        !          22266:   fi
        !          22267:   test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
        !          22268: else
        !          22269:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          22270: $as_echo "no" >&6; }
        !          22271: fi
        !          22272: 
        !          22273: OPT_SECURETRANSPORT=no
        !          22274: 
        !          22275: # Check whether --with-darwinssl was given.
        !          22276: if test "${with_darwinssl+set}" = set; then :
        !          22277:   withval=$with_darwinssl; OPT_SECURETRANSPORT=$withval
        !          22278: fi
        !          22279: 
        !          22280: 
        !          22281: 
        !          22282: # Check whether --with-secure-transport was given.
        !          22283: if test "${with_secure_transport+set}" = set; then :
        !          22284:   withval=$with_secure_transport; OPT_SECURETRANSPORT=$withval
        !          22285: fi
        !          22286: 
        !          22287: 
        !          22288: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Secure Transport" >&5
        !          22289: $as_echo_n "checking whether to enable Secure Transport... " >&6; }
        !          22290: if test -z "$ssl_backends" -o "x$OPT_SECURETRANSPORT" != xno; then
        !          22291:   if test "x$OPT_SECURETRANSPORT" != "xno" &&
        !          22292:      (test "x$cross_compiling" != "xno" || test -d "/System/Library/Frameworks/Security.framework"); then
        !          22293:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          22294: $as_echo "yes" >&6; }
        !          22295: 
        !          22296: $as_echo "#define USE_SECTRANSP 1" >>confdefs.h
        !          22297: 
        !          22298:     USE_SECTRANSP=1
        !          22299: 
        !          22300:     ssl_msg="Secure Transport"
        !          22301:     test secure-transport != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
        !          22302:     SECURETRANSPORT_ENABLED=1
        !          22303:     LDFLAGS="$LDFLAGS -framework CoreFoundation -framework Security"
        !          22304:   else
        !          22305:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          22306: $as_echo "no" >&6; }
        !          22307:   fi
        !          22308:   test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
        !          22309: else
        !          22310:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          22311: $as_echo "no" >&6; }
        !          22312: fi
        !          22313: 
        !          22314: OPT_AMISSL=no
        !          22315: 
        !          22316: # Check whether --with-amissl was given.
        !          22317: if test "${with_amissl+set}" = set; then :
        !          22318:   withval=$with_amissl; OPT_AMISSL=$withval
        !          22319: fi
        !          22320: 
        !          22321: 
        !          22322: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Amiga native SSL/TLS (AmiSSL)" >&5
        !          22323: $as_echo_n "checking whether to enable Amiga native SSL/TLS (AmiSSL)... " >&6; }
        !          22324: if test "$HAVE_PROTO_BSDSOCKET_H" = "1"; then
        !          22325:   if test -z "$ssl_backends" -o "x$OPT_AMISSL" != xno; then
        !          22326:     ssl_msg=
        !          22327:     if test "x$OPT_AMISSL" != "xno"; then
        !          22328:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          22329: $as_echo "yes" >&6; }
        !          22330:       ssl_msg="AmiSSL"
        !          22331:       test amissl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
        !          22332:       AMISSL_ENABLED=1
        !          22333:       LIBS="-lamisslauto $LIBS"
        !          22334: 
        !          22335: $as_echo "#define USE_AMISSL 1" >>confdefs.h
        !          22336: 
        !          22337: 
        !          22338: $as_echo "#define USE_OPENSSL 1" >>confdefs.h
        !          22339: 
        !          22340:     else
        !          22341:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          22342: $as_echo "no" >&6; }
        !          22343:     fi
        !          22344:     test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
        !          22345:   else
        !          22346:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          22347: $as_echo "no" >&6; }
        !          22348:   fi
        !          22349: else
        !          22350:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          22351: $as_echo "no" >&6; }
        !          22352: fi
        !          22353: 
        !          22354: 
        !          22355: OPT_SSL=off
        !          22356: ca="no"
        !          22357: 
        !          22358: # Check whether --with-ssl was given.
        !          22359: if test "${with_ssl+set}" = set; then :
        !          22360:   withval=$with_ssl; OPT_SSL=$withval
        !          22361: fi
        !          22362: 
        !          22363: 
        !          22364: if test -z "$ssl_backends" -o "x$OPT_SSL" != xno &&
        !          22365:    test X"$OPT_SSL" != Xno; then
        !          22366:   ssl_msg=
        !          22367: 
        !          22368:     CLEANLDFLAGS="$LDFLAGS"
        !          22369:   CLEANCPPFLAGS="$CPPFLAGS"
        !          22370:   CLEANLIBS="$LIBS"
        !          22371: 
        !          22372:     case $host in
        !          22373:     *-*-msys* | *-*-mingw*)
        !          22374:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdi32" >&5
        !          22375: $as_echo_n "checking for gdi32... " >&6; }
        !          22376:       my_ac_save_LIBS=$LIBS
        !          22377:       LIBS="-lgdi32 $LIBS"
        !          22378:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          22379: /* end confdefs.h.  */
        !          22380: #include <windef.h>
        !          22381:                    #include <wingdi.h>
        !          22382: int main (void)
        !          22383: {
        !          22384: GdiFlush();
        !          22385:  ;
        !          22386:  return 0;
        !          22387: }
        !          22388: _ACEOF
        !          22389: if ac_fn_c_try_link "$LINENO"; then :
        !          22390:                       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          22391: $as_echo "yes" >&6; }
        !          22392: else
        !          22393:                       LIBS=$my_ac_save_LIBS
        !          22394:                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          22395: $as_echo "no" >&6; }
        !          22396: 
        !          22397: fi
        !          22398: rm -f core conftest.err conftest.$ac_objext \
        !          22399:     conftest$ac_exeext conftest.$ac_ext
        !          22400:       ;;
        !          22401:   esac
        !          22402: 
        !          22403:   case "$OPT_SSL" in
        !          22404:   yes)
        !          22405:         if test x$cross_compiling != xyes; then
        !          22406:             PKGTEST="yes"
        !          22407:     fi
        !          22408:     PREFIX_OPENSSL=/usr/local/ssl
        !          22409:     LIB_OPENSSL="$PREFIX_OPENSSL/lib$libsuff"
        !          22410:     ;;
        !          22411:   off)
        !          22412:         if test x$cross_compiling != xyes; then
        !          22413:             PKGTEST="yes"
        !          22414:     fi
        !          22415:     PREFIX_OPENSSL=
        !          22416:     ;;
        !          22417:   *)
        !          22418:         PKGTEST="no"
        !          22419:     PREFIX_OPENSSL=$OPT_SSL
        !          22420: 
        !          22421:                 OPENSSL_PCDIR="$OPT_SSL/lib/pkgconfig"
        !          22422:     if test -f "$OPENSSL_PCDIR/openssl.pc"; then
        !          22423:       { $as_echo "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$OPENSSL_PCDIR\"" >&5
        !          22424: $as_echo "$as_me: PKG_CONFIG_LIBDIR will be set to \"$OPENSSL_PCDIR\"" >&6;}
        !          22425:       PKGTEST="yes"
        !          22426:     elif test ! -f "$PREFIX_OPENSSL/include/openssl/ssl.h"; then
        !          22427:       as_fn_error $? "$PREFIX_OPENSSL is a bad --with-ssl prefix!" "$LINENO" 5
        !          22428:     fi
        !          22429: 
        !          22430:             LIB_OPENSSL="$PREFIX_OPENSSL/lib$libsuff"
        !          22431:     if test "$PREFIX_OPENSSL" != "/usr" ; then
        !          22432:       SSL_LDFLAGS="-L$LIB_OPENSSL"
        !          22433:       SSL_CPPFLAGS="-I$PREFIX_OPENSSL/include"
        !          22434:     fi
        !          22435:     SSL_CPPFLAGS="$SSL_CPPFLAGS -I$PREFIX_OPENSSL/include/openssl"
        !          22436:     ;;
        !          22437:   esac
        !          22438: 
        !          22439:   if test "$PKGTEST" = "yes"; then
        !          22440: 
        !          22441: 
        !          22442:     if test -n "$PKG_CONFIG"; then
        !          22443:       PKGCONFIG="$PKG_CONFIG"
        !          22444:     else
        !          22445:       if test -n "$ac_tool_prefix"; then
        !          22446:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
        !          22447: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
        !          22448: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          22449: $as_echo_n "checking for $ac_word... " >&6; }
        !          22450: if ${ac_cv_path_PKGCONFIG+:} false; then :
        !          22451:   $as_echo_n "(cached) " >&6
        !          22452: else
        !          22453:   case $PKGCONFIG in
        !          22454:   [\\/]* | ?:[\\/]*)
        !          22455:   ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
        !          22456:   ;;
        !          22457:   *)
        !          22458:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          22459: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          22460: for as_dir in $as_dummy
        !          22461: do
        !          22462:   IFS=$as_save_IFS
        !          22463:   test -z "$as_dir" && as_dir=.
        !          22464:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          22465:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          22466:     ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          22467:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          22468:     break 2
        !          22469:   fi
        !          22470: done
        !          22471:   done
        !          22472: IFS=$as_save_IFS
        !          22473: 
        !          22474:   ;;
        !          22475: esac
        !          22476: fi
        !          22477: PKGCONFIG=$ac_cv_path_PKGCONFIG
        !          22478: if test -n "$PKGCONFIG"; then
        !          22479:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
        !          22480: $as_echo "$PKGCONFIG" >&6; }
        !          22481: else
        !          22482:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          22483: $as_echo "no" >&6; }
        !          22484: fi
        !          22485: 
        !          22486: 
        !          22487: fi
        !          22488: if test -z "$ac_cv_path_PKGCONFIG"; then
        !          22489:   ac_pt_PKGCONFIG=$PKGCONFIG
        !          22490:   # Extract the first word of "pkg-config", so it can be a program name with args.
        !          22491: set dummy pkg-config; ac_word=$2
        !          22492: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          22493: $as_echo_n "checking for $ac_word... " >&6; }
        !          22494: if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
        !          22495:   $as_echo_n "(cached) " >&6
        !          22496: else
        !          22497:   case $ac_pt_PKGCONFIG in
        !          22498:   [\\/]* | ?:[\\/]*)
        !          22499:   ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
        !          22500:   ;;
        !          22501:   *)
        !          22502:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          22503: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          22504: for as_dir in $as_dummy
        !          22505: do
        !          22506:   IFS=$as_save_IFS
        !          22507:   test -z "$as_dir" && as_dir=.
        !          22508:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          22509:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          22510:     ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          22511:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          22512:     break 2
        !          22513:   fi
        !          22514: done
        !          22515:   done
        !          22516: IFS=$as_save_IFS
        !          22517: 
        !          22518:   ;;
        !          22519: esac
        !          22520: fi
        !          22521: ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
        !          22522: if test -n "$ac_pt_PKGCONFIG"; then
        !          22523:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
        !          22524: $as_echo "$ac_pt_PKGCONFIG" >&6; }
        !          22525: else
        !          22526:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          22527: $as_echo "no" >&6; }
        !          22528: fi
        !          22529: 
        !          22530:   if test "x$ac_pt_PKGCONFIG" = x; then
        !          22531:     PKGCONFIG="no"
        !          22532:   else
        !          22533:     case $cross_compiling:$ac_tool_warned in
        !          22534: yes:)
        !          22535: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          22536: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          22537: ac_tool_warned=yes ;;
        !          22538: esac
        !          22539:     PKGCONFIG=$ac_pt_PKGCONFIG
        !          22540:   fi
        !          22541: else
        !          22542:   PKGCONFIG="$ac_cv_path_PKGCONFIG"
        !          22543: fi
        !          22544: 
        !          22545:     fi
        !          22546: 
        !          22547:     if test "x$PKGCONFIG" != "xno"; then
        !          22548:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl options with pkg-config" >&5
        !          22549: $as_echo_n "checking for openssl options with pkg-config... " >&6; }
        !          22550:             itexists=`
        !          22551:     if test -n "$OPENSSL_PCDIR"; then
        !          22552:       PKG_CONFIG_LIBDIR="$OPENSSL_PCDIR"
        !          22553:       export PKG_CONFIG_LIBDIR
        !          22554:     fi
        !          22555:          $PKGCONFIG --exists openssl >/dev/null 2>&1 && echo 1`
        !          22556: 
        !          22557:       if test -z "$itexists"; then
        !          22558:                         PKGCONFIG="no"
        !          22559:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          22560: $as_echo "no" >&6; }
        !          22561:       else
        !          22562:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
        !          22563: $as_echo "found" >&6; }
        !          22564:       fi
        !          22565:     fi
        !          22566: 
        !          22567: 
        !          22568:     if test "$PKGCONFIG" != "no" ; then
        !          22569:       SSL_LIBS=`
        !          22570:     if test -n "$OPENSSL_PCDIR"; then
        !          22571:       PKG_CONFIG_LIBDIR="$OPENSSL_PCDIR"
        !          22572:       export PKG_CONFIG_LIBDIR
        !          22573:     fi
        !          22574:          $PKGCONFIG --libs-only-l --libs-only-other openssl 2>/dev/null`
        !          22575: 
        !          22576:       SSL_LDFLAGS=`
        !          22577:     if test -n "$OPENSSL_PCDIR"; then
        !          22578:       PKG_CONFIG_LIBDIR="$OPENSSL_PCDIR"
        !          22579:       export PKG_CONFIG_LIBDIR
        !          22580:     fi
        !          22581:          $PKGCONFIG --libs-only-L openssl 2>/dev/null`
        !          22582: 
        !          22583:       SSL_CPPFLAGS=`
        !          22584:     if test -n "$OPENSSL_PCDIR"; then
        !          22585:       PKG_CONFIG_LIBDIR="$OPENSSL_PCDIR"
        !          22586:       export PKG_CONFIG_LIBDIR
        !          22587:     fi
        !          22588:          $PKGCONFIG --cflags-only-I openssl 2>/dev/null`
        !          22589: 
        !          22590: 
        !          22591:       { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&5
        !          22592: $as_echo "$as_me: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&6;}
        !          22593:       { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&5
        !          22594: $as_echo "$as_me: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&6;}
        !          22595:       { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&5
        !          22596: $as_echo "$as_me: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&6;}
        !          22597: 
        !          22598:       LIB_OPENSSL=`echo $SSL_LDFLAGS | sed -e 's/-L//g'`
        !          22599: 
        !          22600:                                           LIBS="$SSL_LIBS $LIBS"
        !          22601:     fi
        !          22602:   fi
        !          22603: 
        !          22604:     CPPFLAGS="$CPPFLAGS $SSL_CPPFLAGS"
        !          22605:   LDFLAGS="$LDFLAGS $SSL_LDFLAGS"
        !          22606: 
        !          22607:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HMAC_Update in -lcrypto" >&5
        !          22608: $as_echo_n "checking for HMAC_Update in -lcrypto... " >&6; }
        !          22609: if ${ac_cv_lib_crypto_HMAC_Update+:} false; then :
        !          22610:   $as_echo_n "(cached) " >&6
        !          22611: else
        !          22612:   ac_check_lib_save_LIBS=$LIBS
        !          22613: LIBS="-lcrypto  $LIBS"
        !          22614: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          22615: /* end confdefs.h.  */
        !          22616: 
        !          22617: 
        !          22618: #ifdef __cplusplus
        !          22619: extern "C"
        !          22620: #endif
        !          22621: char HMAC_Update ();
        !          22622: int main (void)
        !          22623: {
        !          22624: return HMAC_Update ();
        !          22625:  ;
        !          22626:  return 0;
        !          22627: }
        !          22628: _ACEOF
        !          22629: if ac_fn_c_try_link "$LINENO"; then :
        !          22630:   ac_cv_lib_crypto_HMAC_Update=yes
        !          22631: else
        !          22632:   ac_cv_lib_crypto_HMAC_Update=no
        !          22633: fi
        !          22634: rm -f core conftest.err conftest.$ac_objext \
        !          22635:     conftest$ac_exeext conftest.$ac_ext
        !          22636: LIBS=$ac_check_lib_save_LIBS
        !          22637: fi
        !          22638: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_HMAC_Update" >&5
        !          22639: $as_echo "$ac_cv_lib_crypto_HMAC_Update" >&6; }
        !          22640: if test "x$ac_cv_lib_crypto_HMAC_Update" = xyes; then :
        !          22641: 
        !          22642:      HAVECRYPTO="yes"
        !          22643:      LIBS="-lcrypto $LIBS"
        !          22644: 
        !          22645: else
        !          22646: 
        !          22647:      LDFLAGS="$CLEANLDFLAGS -L$LIB_OPENSSL"
        !          22648:      if test "$PKGCONFIG" = "no" ; then
        !          22649:        # only set this if pkg-config wasn't used
        !          22650:        CPPFLAGS="$CLEANCPPFLAGS -I$PREFIX_OPENSSL/include/openssl -I$PREFIX_OPENSSL/include"
        !          22651:      fi
        !          22652:      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HMAC_Init_ex in -lcrypto" >&5
        !          22653: $as_echo_n "checking for HMAC_Init_ex in -lcrypto... " >&6; }
        !          22654: if ${ac_cv_lib_crypto_HMAC_Init_ex+:} false; then :
        !          22655:   $as_echo_n "(cached) " >&6
        !          22656: else
        !          22657:   ac_check_lib_save_LIBS=$LIBS
        !          22658: LIBS="-lcrypto  $LIBS"
        !          22659: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          22660: /* end confdefs.h.  */
        !          22661: 
        !          22662: 
        !          22663: #ifdef __cplusplus
        !          22664: extern "C"
        !          22665: #endif
        !          22666: char HMAC_Init_ex ();
        !          22667: int main (void)
        !          22668: {
        !          22669: return HMAC_Init_ex ();
        !          22670:  ;
        !          22671:  return 0;
        !          22672: }
        !          22673: _ACEOF
        !          22674: if ac_fn_c_try_link "$LINENO"; then :
        !          22675:   ac_cv_lib_crypto_HMAC_Init_ex=yes
        !          22676: else
        !          22677:   ac_cv_lib_crypto_HMAC_Init_ex=no
        !          22678: fi
        !          22679: rm -f core conftest.err conftest.$ac_objext \
        !          22680:     conftest$ac_exeext conftest.$ac_ext
        !          22681: LIBS=$ac_check_lib_save_LIBS
        !          22682: fi
        !          22683: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_HMAC_Init_ex" >&5
        !          22684: $as_echo "$ac_cv_lib_crypto_HMAC_Init_ex" >&6; }
        !          22685: if test "x$ac_cv_lib_crypto_HMAC_Init_ex" = xyes; then :
        !          22686: 
        !          22687:        HAVECRYPTO="yes"
        !          22688:        LIBS="-lcrypto $LIBS"
        !          22689: else
        !          22690: 
        !          22691: 
        !          22692:               { $as_echo "$as_me:${as_lineno-$LINENO}: checking OpenSSL linking with -ldl" >&5
        !          22693: $as_echo_n "checking OpenSSL linking with -ldl... " >&6; }
        !          22694:        LIBS="$CLEANLIBS -lcrypto -ldl"
        !          22695:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          22696: /* end confdefs.h.  */
        !          22697: 
        !          22698:          #include <openssl/err.h>
        !          22699: 
        !          22700: int main (void)
        !          22701: {
        !          22702: 
        !          22703:          ERR_clear_error();
        !          22704: 
        !          22705:  ;
        !          22706:  return 0;
        !          22707: }
        !          22708: _ACEOF
        !          22709: if ac_fn_c_try_link "$LINENO"; then :
        !          22710: 
        !          22711:          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          22712: $as_echo "yes" >&6; }
        !          22713:          HAVECRYPTO="yes"
        !          22714: 
        !          22715: else
        !          22716: 
        !          22717:          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          22718: $as_echo "no" >&6; }
        !          22719: 
        !          22720:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking OpenSSL linking with -ldl and -lpthread" >&5
        !          22721: $as_echo_n "checking OpenSSL linking with -ldl and -lpthread... " >&6; }
        !          22722:          LIBS="$CLEANLIBS -lcrypto -ldl -lpthread"
        !          22723:          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          22724: /* end confdefs.h.  */
        !          22725: 
        !          22726:            #include <openssl/err.h>
        !          22727: 
        !          22728: int main (void)
        !          22729: {
        !          22730: 
        !          22731:            ERR_clear_error();
        !          22732: 
        !          22733:  ;
        !          22734:  return 0;
        !          22735: }
        !          22736: _ACEOF
        !          22737: if ac_fn_c_try_link "$LINENO"; then :
        !          22738: 
        !          22739:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          22740: $as_echo "yes" >&6; }
        !          22741:            HAVECRYPTO="yes"
        !          22742: 
        !          22743: else
        !          22744: 
        !          22745:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          22746: $as_echo "no" >&6; }
        !          22747:            LDFLAGS="$CLEANLDFLAGS"
        !          22748:            CPPFLAGS="$CLEANCPPFLAGS"
        !          22749:            LIBS="$CLEANLIBS"
        !          22750: 
        !          22751: 
        !          22752: fi
        !          22753: rm -f core conftest.err conftest.$ac_objext \
        !          22754:     conftest$ac_exeext conftest.$ac_ext
        !          22755: 
        !          22756: 
        !          22757: fi
        !          22758: rm -f core conftest.err conftest.$ac_objext \
        !          22759:     conftest$ac_exeext conftest.$ac_ext
        !          22760: 
        !          22761: 
        !          22762: fi
        !          22763: 
        !          22764: 
        !          22765: fi
        !          22766: 
        !          22767: 
        !          22768:   if test X"$HAVECRYPTO" = X"yes"; then
        !          22769: 
        !          22770:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
        !          22771: $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
        !          22772: if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
        !          22773:   $as_echo_n "(cached) " >&6
        !          22774: else
        !          22775:   ac_check_lib_save_LIBS=$LIBS
        !          22776: LIBS="-lssl  $LIBS"
        !          22777: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          22778: /* end confdefs.h.  */
        !          22779: 
        !          22780: 
        !          22781: #ifdef __cplusplus
        !          22782: extern "C"
        !          22783: #endif
        !          22784: char SSL_connect ();
        !          22785: int main (void)
        !          22786: {
        !          22787: return SSL_connect ();
        !          22788:  ;
        !          22789:  return 0;
        !          22790: }
        !          22791: _ACEOF
        !          22792: if ac_fn_c_try_link "$LINENO"; then :
        !          22793:   ac_cv_lib_ssl_SSL_connect=yes
        !          22794: else
        !          22795:   ac_cv_lib_ssl_SSL_connect=no
        !          22796: fi
        !          22797: rm -f core conftest.err conftest.$ac_objext \
        !          22798:     conftest$ac_exeext conftest.$ac_ext
        !          22799: LIBS=$ac_check_lib_save_LIBS
        !          22800: fi
        !          22801: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
        !          22802: $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
        !          22803: if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
        !          22804:   cat >>confdefs.h <<_ACEOF
        !          22805: #define HAVE_LIBSSL 1
        !          22806: _ACEOF
        !          22807: 
        !          22808:   LIBS="-lssl $LIBS"
        !          22809: 
        !          22810: fi
        !          22811: 
        !          22812: 
        !          22813:     if test "$ac_cv_lib_ssl_SSL_connect" != yes; then
        !          22814:                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssl with RSAglue/rsaref libs in use" >&5
        !          22815: $as_echo_n "checking for ssl with RSAglue/rsaref libs in use... " >&6; };
        !          22816:         OLIBS=$LIBS
        !          22817:         LIBS="-lRSAglue -lrsaref $LIBS"
        !          22818:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
        !          22819: $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
        !          22820: if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
        !          22821:   $as_echo_n "(cached) " >&6
        !          22822: else
        !          22823:   ac_check_lib_save_LIBS=$LIBS
        !          22824: LIBS="-lssl  $LIBS"
        !          22825: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          22826: /* end confdefs.h.  */
        !          22827: 
        !          22828: 
        !          22829: #ifdef __cplusplus
        !          22830: extern "C"
        !          22831: #endif
        !          22832: char SSL_connect ();
        !          22833: int main (void)
        !          22834: {
        !          22835: return SSL_connect ();
        !          22836:  ;
        !          22837:  return 0;
        !          22838: }
        !          22839: _ACEOF
        !          22840: if ac_fn_c_try_link "$LINENO"; then :
        !          22841:   ac_cv_lib_ssl_SSL_connect=yes
        !          22842: else
        !          22843:   ac_cv_lib_ssl_SSL_connect=no
        !          22844: fi
        !          22845: rm -f core conftest.err conftest.$ac_objext \
        !          22846:     conftest$ac_exeext conftest.$ac_ext
        !          22847: LIBS=$ac_check_lib_save_LIBS
        !          22848: fi
        !          22849: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
        !          22850: $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
        !          22851: if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
        !          22852:   cat >>confdefs.h <<_ACEOF
        !          22853: #define HAVE_LIBSSL 1
        !          22854: _ACEOF
        !          22855: 
        !          22856:   LIBS="-lssl $LIBS"
        !          22857: 
        !          22858: fi
        !          22859: 
        !          22860:         if test "$ac_cv_lib_ssl_SSL_connect" != yes; then
        !          22861:                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          22862: $as_echo "no" >&6; }
        !          22863:             LIBS=$OLIBS
        !          22864:         else
        !          22865:             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          22866: $as_echo "yes" >&6; }
        !          22867:         fi
        !          22868: 
        !          22869:     else
        !          22870: 
        !          22871:             for ac_header in openssl/x509.h openssl/rsa.h openssl/crypto.h \
        !          22872:                        openssl/pem.h openssl/ssl.h openssl/err.h
        !          22873: do :
        !          22874:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          22875: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
        !          22876: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          22877:   cat >>confdefs.h <<_ACEOF
        !          22878: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          22879: _ACEOF
        !          22880:  ssl_msg="OpenSSL"
        !          22881:        test openssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
        !          22882:         OPENSSL_ENABLED=1
        !          22883: 
        !          22884: $as_echo "#define USE_OPENSSL 1" >>confdefs.h
        !          22885: 
        !          22886: fi
        !          22887: 
        !          22888: done
        !          22889: 
        !          22890: 
        !          22891:       if test $ac_cv_header_openssl_x509_h = no; then
        !          22892:                                 for ac_header in x509.h rsa.h crypto.h pem.h ssl.h err.h
        !          22893: do :
        !          22894:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          22895: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
        !          22896: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          22897:   cat >>confdefs.h <<_ACEOF
        !          22898: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          22899: _ACEOF
        !          22900: 
        !          22901: fi
        !          22902: 
        !          22903: done
        !          22904: 
        !          22905: 
        !          22906:         if test $ac_cv_header_x509_h = yes &&
        !          22907:            test $ac_cv_header_crypto_h = yes &&
        !          22908:            test $ac_cv_header_ssl_h = yes; then
        !          22909:                     ssl_msg="OpenSSL"
        !          22910:           OPENSSL_ENABLED=1
        !          22911:         fi
        !          22912:       fi
        !          22913:     fi
        !          22914: 
        !          22915:     if test X"$OPENSSL_ENABLED" != X"1"; then
        !          22916:        LIBS="$CLEANLIBS"
        !          22917:     fi
        !          22918: 
        !          22919:     if test X"$OPT_SSL" != Xoff &&
        !          22920:        test "$OPENSSL_ENABLED" != "1"; then
        !          22921:       as_fn_error $? "OpenSSL libs and/or directories were not found where specified!" "$LINENO" 5
        !          22922:     fi
        !          22923:   fi
        !          22924: 
        !          22925:   if test X"$OPENSSL_ENABLED" = X"1"; then
        !          22926: 
        !          22927:     for ac_func in RAND_egd \
        !          22928:                     SSLv2_client_method \
        !          22929:                     OpenSSL_version
        !          22930: do :
        !          22931:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          22932: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
        !          22933: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
        !          22934:   cat >>confdefs.h <<_ACEOF
        !          22935: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
        !          22936: _ACEOF
        !          22937: 
        !          22938: fi
        !          22939: done
        !          22940: 
        !          22941: 
        !          22942:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BoringSSL" >&5
        !          22943: $as_echo_n "checking for BoringSSL... " >&6; }
        !          22944:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          22945: /* end confdefs.h.  */
        !          22946: 
        !          22947: 
        !          22948:                 #include <openssl/base.h>
        !          22949: 
        !          22950: int main (void)
        !          22951: {
        !          22952: 
        !          22953:                 #ifndef OPENSSL_IS_BORINGSSL
        !          22954:                 #error not boringssl
        !          22955:                 #endif
        !          22956: 
        !          22957:  ;
        !          22958:  return 0;
        !          22959: }
        !          22960: 
        !          22961: _ACEOF
        !          22962: if ac_fn_c_try_compile "$LINENO"; then :
        !          22963: 
        !          22964:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          22965: $as_echo "yes" >&6; }
        !          22966: 
        !          22967: cat >>confdefs.h <<_ACEOF
        !          22968: #define HAVE_BORINGSSL 1
        !          22969: _ACEOF
        !          22970: 
        !          22971:         ssl_msg="BoringSSL"
        !          22972: 
        !          22973: else
        !          22974: 
        !          22975:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          22976: $as_echo "no" >&6; }
        !          22977: 
        !          22978: fi
        !          22979: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          22980: 
        !          22981:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libressl" >&5
        !          22982: $as_echo_n "checking for libressl... " >&6; }
        !          22983:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          22984: /* end confdefs.h.  */
        !          22985: 
        !          22986: 
        !          22987: #include <openssl/opensslv.h>
        !          22988: 
        !          22989: int main (void)
        !          22990: {
        !          22991: 
        !          22992:         int dummy = LIBRESSL_VERSION_NUMBER;
        !          22993: 
        !          22994:  ;
        !          22995:  return 0;
        !          22996: }
        !          22997: 
        !          22998: _ACEOF
        !          22999: if ac_fn_c_try_compile "$LINENO"; then :
        !          23000: 
        !          23001:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          23002: $as_echo "yes" >&6; }
        !          23003: 
        !          23004: cat >>confdefs.h <<_ACEOF
        !          23005: #define HAVE_LIBRESSL 1
        !          23006: _ACEOF
        !          23007: 
        !          23008:       ssl_msg="libressl"
        !          23009: 
        !          23010: else
        !          23011: 
        !          23012:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          23013: $as_echo "no" >&6; }
        !          23014: 
        !          23015: fi
        !          23016: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          23017: 
        !          23018:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL >= v3" >&5
        !          23019: $as_echo_n "checking for OpenSSL >= v3... " >&6; }
        !          23020:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          23021: /* end confdefs.h.  */
        !          23022: 
        !          23023: 
        !          23024: #include <openssl/opensslv.h>
        !          23025: 
        !          23026: int main (void)
        !          23027: {
        !          23028: 
        !          23029:         #if defined(OPENSSL_VERSION_MAJOR) && (OPENSSL_VERSION_MAJOR >= 3)
        !          23030:         return 0;
        !          23031:         #else
        !          23032:         #error older than 3
        !          23033:         #endif
        !          23034: 
        !          23035:  ;
        !          23036:  return 0;
        !          23037: }
        !          23038: 
        !          23039: _ACEOF
        !          23040: if ac_fn_c_try_compile "$LINENO"; then :
        !          23041: 
        !          23042:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          23043: $as_echo "yes" >&6; }
        !          23044: 
        !          23045: cat >>confdefs.h <<_ACEOF
        !          23046: #define HAVE_OPENSSL3 1
        !          23047: _ACEOF
        !          23048: 
        !          23049:                               CPPFLAGS="$CPPFLAGS -DOPENSSL_SUPPRESS_DEPRECATED"
        !          23050:       ssl_msg="OpenSSL v3+"
        !          23051: 
        !          23052: else
        !          23053: 
        !          23054:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          23055: $as_echo "no" >&6; }
        !          23056: 
        !          23057: fi
        !          23058: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          23059:   fi
        !          23060: 
        !          23061:   if test "$OPENSSL_ENABLED" = "1"; then
        !          23062:     if test -n "$LIB_OPENSSL"; then
        !          23063:                             if test "x$cross_compiling" != "xyes"; then
        !          23064:          CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$LIB_OPENSSL"
        !          23065:          export CURL_LIBRARY_PATH
        !          23066:          { $as_echo "$as_me:${as_lineno-$LINENO}: Added $LIB_OPENSSL to CURL_LIBRARY_PATH" >&5
        !          23067: $as_echo "$as_me: Added $LIB_OPENSSL to CURL_LIBRARY_PATH" >&6;}
        !          23068:        fi
        !          23069:     fi
        !          23070: 
        !          23071:   #
        !          23072: 
        !          23073:   #
        !          23074:   tst_api="unknown"
        !          23075:   #
        !          23076:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL headers version" >&5
        !          23077: $as_echo_n "checking for OpenSSL headers version... " >&6; }
        !          23078: 
        !          23079:     OLDCPPFLAGS=$CPPFLAGS
        !          23080:   # CPPPFLAG comes from CURL_CPP_P
        !          23081:   CPPFLAGS="$CPPFLAGS $CPPPFLAG"
        !          23082:       if test -z "$SED"; then
        !          23083:     as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
        !          23084:   fi
        !          23085:   if test -z "$GREP"; then
        !          23086:     as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
        !          23087:   fi
        !          23088: 
        !          23089:   tmp_exp=""
        !          23090:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          23091: /* end confdefs.h.  */
        !          23092: 
        !          23093: 
        !          23094: #   ifdef USE_OPENSSL
        !          23095: #     include <openssl/crypto.h>
        !          23096: #   else
        !          23097: #     include <crypto.h>
        !          23098: #   endif
        !          23099: 
        !          23100: #ifdef OPENSSL_VERSION_NUMBER
        !          23101: CURL_DEF_TOKEN OPENSSL_VERSION_NUMBER
        !          23102: #endif
        !          23103: 
        !          23104: 
        !          23105: _ACEOF
        !          23106: if ac_fn_c_try_cpp "$LINENO"; then :
        !          23107: 
        !          23108:     tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
        !          23109:       "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
        !          23110:       "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
        !          23111:       "$SED" 's/["][ ]*["]//g' 2>/dev/null`
        !          23112:     if test -z "$tmp_exp" || test "$tmp_exp" = "OPENSSL_VERSION_NUMBER"; then
        !          23113:       tmp_exp=""
        !          23114:     fi
        !          23115: 
        !          23116: fi
        !          23117: rm -f conftest.err conftest.i conftest.$ac_ext
        !          23118:   if test -z "$tmp_exp"; then
        !          23119:     curl_cv_have_def_OPENSSL_VERSION_NUMBER=no
        !          23120: 
        !          23121:   else
        !          23122:     curl_cv_have_def_OPENSSL_VERSION_NUMBER=yes
        !          23123:     curl_cv_def_OPENSSL_VERSION_NUMBER=$tmp_exp
        !          23124: 
        !          23125:   fi
        !          23126:       CPPFLAGS=$OLDCPPFLAGS
        !          23127: 
        !          23128:   if test "$curl_cv_have_def_OPENSSL_VERSION_NUMBER" = "yes"; then
        !          23129:     tst_verlen=`expr "$curl_cv_def_OPENSSL_VERSION_NUMBER" : '.*'`
        !          23130:     case "x$tst_verlen" in
        !          23131:       x6)
        !          23132:         tst_vermaj=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 3`
        !          23133:         tst_vermin=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 4`
        !          23134:         tst_verfix=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 5`
        !          23135:         tst_api=0x$tst_vermaj$tst_vermin$tst_verfix
        !          23136:         ;;
        !          23137:       x11|x10)
        !          23138:         tst_vermaj=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 3`
        !          23139:         tst_vermin=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 5`
        !          23140:         tst_verfix=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 7`
        !          23141:         tst_api=0x$tst_vermaj$tst_vermin$tst_verfix
        !          23142:         ;;
        !          23143:       *)
        !          23144:         tst_api="unknown"
        !          23145:         ;;
        !          23146:     esac
        !          23147:     case $tst_api in
        !          23148:       0x111) tst_show="1.1.1" ;;
        !          23149:       0x110) tst_show="1.1.0" ;;
        !          23150:       0x102) tst_show="1.0.2" ;;
        !          23151:       0x101) tst_show="1.0.1" ;;
        !          23152:       0x100) tst_show="1.0.0" ;;
        !          23153:       0x099) tst_show="0.9.9" ;;
        !          23154:       0x098) tst_show="0.9.8" ;;
        !          23155:       0x097) tst_show="0.9.7" ;;
        !          23156:       0x096) tst_show="0.9.6" ;;
        !          23157:       0x095) tst_show="0.9.5" ;;
        !          23158:       0x094) tst_show="0.9.4" ;;
        !          23159:       0x093) tst_show="0.9.3" ;;
        !          23160:       0x092) tst_show="0.9.2" ;;
        !          23161:       0x091) tst_show="0.9.1" ;;
        !          23162:       *)     tst_show="unknown" ;;
        !          23163:     esac
        !          23164:     tst_show="$tst_show - $curl_cv_def_OPENSSL_VERSION_NUMBER"
        !          23165:   else
        !          23166:     tst_show="unknown"
        !          23167:   fi
        !          23168:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_show" >&5
        !          23169: $as_echo "$tst_show" >&6; }
        !          23170:   #
        !          23171:   curl_openssl_api_headers=$tst_api
        !          23172: 
        !          23173: 
        !          23174:   #
        !          23175:   tst_api="unknown"
        !          23176:   #
        !          23177:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL library version" >&5
        !          23178: $as_echo_n "checking for OpenSSL library version... " >&6; }
        !          23179:   if test "$tst_api" = "unknown"; then
        !          23180:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          23181: /* end confdefs.h.  */
        !          23182: 
        !          23183: 
        !          23184: #define ERR_clear_last_mark innocuous_ERR_clear_last_mark
        !          23185: #ifdef __STDC__
        !          23186: # include <limits.h>
        !          23187: #else
        !          23188: # include <assert.h>
        !          23189: #endif
        !          23190: #undef ERR_clear_last_mark
        !          23191: #ifdef __cplusplus
        !          23192: extern "C"
        !          23193: #endif
        !          23194: char ERR_clear_last_mark ();
        !          23195: #if defined __stub_ERR_clear_last_mark || defined __stub___ERR_clear_last_mark
        !          23196: choke me
        !          23197: #endif
        !          23198: 
        !          23199: int main (void)
        !          23200: {
        !          23201: return ERR_clear_last_mark ();
        !          23202:  ;
        !          23203:  return 0;
        !          23204: }
        !          23205: 
        !          23206: _ACEOF
        !          23207: if ac_fn_c_try_link "$LINENO"; then :
        !          23208: 
        !          23209:       tst_api="0x111"
        !          23210: 
        !          23211: fi
        !          23212: rm -f core conftest.err conftest.$ac_objext \
        !          23213:     conftest$ac_exeext conftest.$ac_ext
        !          23214:   fi
        !          23215:   if test "$tst_api" = "unknown"; then
        !          23216:     case $host in
        !          23217:       *-*-vms*)
        !          23218:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          23219: /* end confdefs.h.  */
        !          23220: 
        !          23221: 
        !          23222: #define SSL_CTX_set_not_resumbl_sess_cb innocuous_SSL_CTX_set_not_resumbl_sess_cb
        !          23223: #ifdef __STDC__
        !          23224: # include <limits.h>
        !          23225: #else
        !          23226: # include <assert.h>
        !          23227: #endif
        !          23228: #undef SSL_CTX_set_not_resumbl_sess_cb
        !          23229: #ifdef __cplusplus
        !          23230: extern "C"
        !          23231: #endif
        !          23232: char SSL_CTX_set_not_resumbl_sess_cb ();
        !          23233: #if defined __stub_SSL_CTX_set_not_resumbl_sess_cb || defined __stub___SSL_CTX_set_not_resumbl_sess_cb
        !          23234: choke me
        !          23235: #endif
        !          23236: 
        !          23237: int main (void)
        !          23238: {
        !          23239: return SSL_CTX_set_not_resumbl_sess_cb ();
        !          23240:  ;
        !          23241:  return 0;
        !          23242: }
        !          23243: 
        !          23244: _ACEOF
        !          23245: if ac_fn_c_try_link "$LINENO"; then :
        !          23246: 
        !          23247:           tst_api="0x110"
        !          23248: 
        !          23249: fi
        !          23250: rm -f core conftest.err conftest.$ac_objext \
        !          23251:     conftest$ac_exeext conftest.$ac_ext
        !          23252:         ;;
        !          23253:       *)
        !          23254:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          23255: /* end confdefs.h.  */
        !          23256: 
        !          23257: 
        !          23258: #define SSL_CTX_set_not_resumable_session_callback innocuous_SSL_CTX_set_not_resumable_session_callback
        !          23259: #ifdef __STDC__
        !          23260: # include <limits.h>
        !          23261: #else
        !          23262: # include <assert.h>
        !          23263: #endif
        !          23264: #undef SSL_CTX_set_not_resumable_session_callback
        !          23265: #ifdef __cplusplus
        !          23266: extern "C"
        !          23267: #endif
        !          23268: char SSL_CTX_set_not_resumable_session_callback ();
        !          23269: #if defined __stub_SSL_CTX_set_not_resumable_session_callback || defined __stub___SSL_CTX_set_not_resumable_session_callback
        !          23270: choke me
        !          23271: #endif
        !          23272: 
        !          23273: int main (void)
        !          23274: {
        !          23275: return SSL_CTX_set_not_resumable_session_callback ();
        !          23276:  ;
        !          23277:  return 0;
        !          23278: }
        !          23279: 
        !          23280: _ACEOF
        !          23281: if ac_fn_c_try_link "$LINENO"; then :
        !          23282: 
        !          23283:           tst_api="0x110"
        !          23284: 
        !          23285: fi
        !          23286: rm -f core conftest.err conftest.$ac_objext \
        !          23287:     conftest$ac_exeext conftest.$ac_ext
        !          23288:         ;;
        !          23289:     esac
        !          23290:   fi
        !          23291:   if test "$tst_api" = "unknown"; then
        !          23292:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          23293: /* end confdefs.h.  */
        !          23294: 
        !          23295: 
        !          23296: #define SSL_CONF_CTX_new innocuous_SSL_CONF_CTX_new
        !          23297: #ifdef __STDC__
        !          23298: # include <limits.h>
        !          23299: #else
        !          23300: # include <assert.h>
        !          23301: #endif
        !          23302: #undef SSL_CONF_CTX_new
        !          23303: #ifdef __cplusplus
        !          23304: extern "C"
        !          23305: #endif
        !          23306: char SSL_CONF_CTX_new ();
        !          23307: #if defined __stub_SSL_CONF_CTX_new || defined __stub___SSL_CONF_CTX_new
        !          23308: choke me
        !          23309: #endif
        !          23310: 
        !          23311: int main (void)
        !          23312: {
        !          23313: return SSL_CONF_CTX_new ();
        !          23314:  ;
        !          23315:  return 0;
        !          23316: }
        !          23317: 
        !          23318: _ACEOF
        !          23319: if ac_fn_c_try_link "$LINENO"; then :
        !          23320: 
        !          23321:       tst_api="0x102"
        !          23322: 
        !          23323: fi
        !          23324: rm -f core conftest.err conftest.$ac_objext \
        !          23325:     conftest$ac_exeext conftest.$ac_ext
        !          23326:   fi
        !          23327:   if test "$tst_api" = "unknown"; then
        !          23328:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          23329: /* end confdefs.h.  */
        !          23330: 
        !          23331: 
        !          23332: #define SSL_renegotiate_abbreviated innocuous_SSL_renegotiate_abbreviated
        !          23333: #ifdef __STDC__
        !          23334: # include <limits.h>
        !          23335: #else
        !          23336: # include <assert.h>
        !          23337: #endif
        !          23338: #undef SSL_renegotiate_abbreviated
        !          23339: #ifdef __cplusplus
        !          23340: extern "C"
        !          23341: #endif
        !          23342: char SSL_renegotiate_abbreviated ();
        !          23343: #if defined __stub_SSL_renegotiate_abbreviated || defined __stub___SSL_renegotiate_abbreviated
        !          23344: choke me
        !          23345: #endif
        !          23346: 
        !          23347: int main (void)
        !          23348: {
        !          23349: return SSL_renegotiate_abbreviated ();
        !          23350:  ;
        !          23351:  return 0;
        !          23352: }
        !          23353: 
        !          23354: _ACEOF
        !          23355: if ac_fn_c_try_link "$LINENO"; then :
        !          23356: 
        !          23357:       tst_api="0x101"
        !          23358: 
        !          23359: fi
        !          23360: rm -f core conftest.err conftest.$ac_objext \
        !          23361:     conftest$ac_exeext conftest.$ac_ext
        !          23362:   fi
        !          23363:   if test "$tst_api" = "unknown"; then
        !          23364:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          23365: /* end confdefs.h.  */
        !          23366: 
        !          23367: 
        !          23368: #define OBJ_add_sigid innocuous_OBJ_add_sigid
        !          23369: #ifdef __STDC__
        !          23370: # include <limits.h>
        !          23371: #else
        !          23372: # include <assert.h>
        !          23373: #endif
        !          23374: #undef OBJ_add_sigid
        !          23375: #ifdef __cplusplus
        !          23376: extern "C"
        !          23377: #endif
        !          23378: char OBJ_add_sigid ();
        !          23379: #if defined __stub_OBJ_add_sigid || defined __stub___OBJ_add_sigid
        !          23380: choke me
        !          23381: #endif
        !          23382: 
        !          23383: int main (void)
        !          23384: {
        !          23385: return OBJ_add_sigid ();
        !          23386:  ;
        !          23387:  return 0;
        !          23388: }
        !          23389: 
        !          23390: _ACEOF
        !          23391: if ac_fn_c_try_link "$LINENO"; then :
        !          23392: 
        !          23393:       tst_api="0x100"
        !          23394: 
        !          23395: fi
        !          23396: rm -f core conftest.err conftest.$ac_objext \
        !          23397:     conftest$ac_exeext conftest.$ac_ext
        !          23398:   fi
        !          23399:   if test "$tst_api" = "unknown"; then
        !          23400:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          23401: /* end confdefs.h.  */
        !          23402: 
        !          23403: 
        !          23404: #define ERR_set_mark innocuous_ERR_set_mark
        !          23405: #ifdef __STDC__
        !          23406: # include <limits.h>
        !          23407: #else
        !          23408: # include <assert.h>
        !          23409: #endif
        !          23410: #undef ERR_set_mark
        !          23411: #ifdef __cplusplus
        !          23412: extern "C"
        !          23413: #endif
        !          23414: char ERR_set_mark ();
        !          23415: #if defined __stub_ERR_set_mark || defined __stub___ERR_set_mark
        !          23416: choke me
        !          23417: #endif
        !          23418: 
        !          23419: int main (void)
        !          23420: {
        !          23421: return ERR_set_mark ();
        !          23422:  ;
        !          23423:  return 0;
        !          23424: }
        !          23425: 
        !          23426: _ACEOF
        !          23427: if ac_fn_c_try_link "$LINENO"; then :
        !          23428: 
        !          23429:       tst_api="0x098"
        !          23430: 
        !          23431: fi
        !          23432: rm -f core conftest.err conftest.$ac_objext \
        !          23433:     conftest$ac_exeext conftest.$ac_ext
        !          23434:   fi
        !          23435:   if test "$tst_api" = "unknown"; then
        !          23436:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          23437: /* end confdefs.h.  */
        !          23438: 
        !          23439: 
        !          23440: #define ERR_peek_last_error innocuous_ERR_peek_last_error
        !          23441: #ifdef __STDC__
        !          23442: # include <limits.h>
        !          23443: #else
        !          23444: # include <assert.h>
        !          23445: #endif
        !          23446: #undef ERR_peek_last_error
        !          23447: #ifdef __cplusplus
        !          23448: extern "C"
        !          23449: #endif
        !          23450: char ERR_peek_last_error ();
        !          23451: #if defined __stub_ERR_peek_last_error || defined __stub___ERR_peek_last_error
        !          23452: choke me
        !          23453: #endif
        !          23454: 
        !          23455: int main (void)
        !          23456: {
        !          23457: return ERR_peek_last_error ();
        !          23458:  ;
        !          23459:  return 0;
        !          23460: }
        !          23461: 
        !          23462: _ACEOF
        !          23463: if ac_fn_c_try_link "$LINENO"; then :
        !          23464: 
        !          23465:       tst_api="0x097"
        !          23466: 
        !          23467: fi
        !          23468: rm -f core conftest.err conftest.$ac_objext \
        !          23469:     conftest$ac_exeext conftest.$ac_ext
        !          23470:   fi
        !          23471:   if test "$tst_api" = "unknown"; then
        !          23472:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          23473: /* end confdefs.h.  */
        !          23474: 
        !          23475: 
        !          23476: #define c2i_ASN1_OBJECT innocuous_c2i_ASN1_OBJECT
        !          23477: #ifdef __STDC__
        !          23478: # include <limits.h>
        !          23479: #else
        !          23480: # include <assert.h>
        !          23481: #endif
        !          23482: #undef c2i_ASN1_OBJECT
        !          23483: #ifdef __cplusplus
        !          23484: extern "C"
        !          23485: #endif
        !          23486: char c2i_ASN1_OBJECT ();
        !          23487: #if defined __stub_c2i_ASN1_OBJECT || defined __stub___c2i_ASN1_OBJECT
        !          23488: choke me
        !          23489: #endif
        !          23490: 
        !          23491: int main (void)
        !          23492: {
        !          23493: return c2i_ASN1_OBJECT ();
        !          23494:  ;
        !          23495:  return 0;
        !          23496: }
        !          23497: 
        !          23498: _ACEOF
        !          23499: if ac_fn_c_try_link "$LINENO"; then :
        !          23500: 
        !          23501:       tst_api="0x096"
        !          23502: 
        !          23503: fi
        !          23504: rm -f core conftest.err conftest.$ac_objext \
        !          23505:     conftest$ac_exeext conftest.$ac_ext
        !          23506:   fi
        !          23507:   if test "$tst_api" = "unknown"; then
        !          23508:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          23509: /* end confdefs.h.  */
        !          23510: 
        !          23511: 
        !          23512: #define SSL_CTX_set_purpose innocuous_SSL_CTX_set_purpose
        !          23513: #ifdef __STDC__
        !          23514: # include <limits.h>
        !          23515: #else
        !          23516: # include <assert.h>
        !          23517: #endif
        !          23518: #undef SSL_CTX_set_purpose
        !          23519: #ifdef __cplusplus
        !          23520: extern "C"
        !          23521: #endif
        !          23522: char SSL_CTX_set_purpose ();
        !          23523: #if defined __stub_SSL_CTX_set_purpose || defined __stub___SSL_CTX_set_purpose
        !          23524: choke me
        !          23525: #endif
        !          23526: 
        !          23527: int main (void)
        !          23528: {
        !          23529: return SSL_CTX_set_purpose ();
        !          23530:  ;
        !          23531:  return 0;
        !          23532: }
        !          23533: 
        !          23534: _ACEOF
        !          23535: if ac_fn_c_try_link "$LINENO"; then :
        !          23536: 
        !          23537:       tst_api="0x095"
        !          23538: 
        !          23539: fi
        !          23540: rm -f core conftest.err conftest.$ac_objext \
        !          23541:     conftest$ac_exeext conftest.$ac_ext
        !          23542:   fi
        !          23543:   if test "$tst_api" = "unknown"; then
        !          23544:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          23545: /* end confdefs.h.  */
        !          23546: 
        !          23547: 
        !          23548: #define OBJ_obj2txt innocuous_OBJ_obj2txt
        !          23549: #ifdef __STDC__
        !          23550: # include <limits.h>
        !          23551: #else
        !          23552: # include <assert.h>
        !          23553: #endif
        !          23554: #undef OBJ_obj2txt
        !          23555: #ifdef __cplusplus
        !          23556: extern "C"
        !          23557: #endif
        !          23558: char OBJ_obj2txt ();
        !          23559: #if defined __stub_OBJ_obj2txt || defined __stub___OBJ_obj2txt
        !          23560: choke me
        !          23561: #endif
        !          23562: 
        !          23563: int main (void)
        !          23564: {
        !          23565: return OBJ_obj2txt ();
        !          23566:  ;
        !          23567:  return 0;
        !          23568: }
        !          23569: 
        !          23570: _ACEOF
        !          23571: if ac_fn_c_try_link "$LINENO"; then :
        !          23572: 
        !          23573:       tst_api="0x094"
        !          23574: 
        !          23575: fi
        !          23576: rm -f core conftest.err conftest.$ac_objext \
        !          23577:     conftest$ac_exeext conftest.$ac_ext
        !          23578:   fi
        !          23579:   if test "$tst_api" = "unknown"; then
        !          23580:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          23581: /* end confdefs.h.  */
        !          23582: 
        !          23583: 
        !          23584: #define SSL_get_verify_depth innocuous_SSL_get_verify_depth
        !          23585: #ifdef __STDC__
        !          23586: # include <limits.h>
        !          23587: #else
        !          23588: # include <assert.h>
        !          23589: #endif
        !          23590: #undef SSL_get_verify_depth
        !          23591: #ifdef __cplusplus
        !          23592: extern "C"
        !          23593: #endif
        !          23594: char SSL_get_verify_depth ();
        !          23595: #if defined __stub_SSL_get_verify_depth || defined __stub___SSL_get_verify_depth
        !          23596: choke me
        !          23597: #endif
        !          23598: 
        !          23599: int main (void)
        !          23600: {
        !          23601: return SSL_get_verify_depth ();
        !          23602:  ;
        !          23603:  return 0;
        !          23604: }
        !          23605: 
        !          23606: _ACEOF
        !          23607: if ac_fn_c_try_link "$LINENO"; then :
        !          23608: 
        !          23609:       tst_api="0x093"
        !          23610: 
        !          23611: fi
        !          23612: rm -f core conftest.err conftest.$ac_objext \
        !          23613:     conftest$ac_exeext conftest.$ac_ext
        !          23614:   fi
        !          23615:   if test "$tst_api" = "unknown"; then
        !          23616:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          23617: /* end confdefs.h.  */
        !          23618: 
        !          23619: 
        !          23620: #define SSL_library_init innocuous_SSL_library_init
        !          23621: #ifdef __STDC__
        !          23622: # include <limits.h>
        !          23623: #else
        !          23624: # include <assert.h>
        !          23625: #endif
        !          23626: #undef SSL_library_init
        !          23627: #ifdef __cplusplus
        !          23628: extern "C"
        !          23629: #endif
        !          23630: char SSL_library_init ();
        !          23631: #if defined __stub_SSL_library_init || defined __stub___SSL_library_init
        !          23632: choke me
        !          23633: #endif
        !          23634: 
        !          23635: int main (void)
        !          23636: {
        !          23637: return SSL_library_init ();
        !          23638:  ;
        !          23639:  return 0;
        !          23640: }
        !          23641: 
        !          23642: _ACEOF
        !          23643: if ac_fn_c_try_link "$LINENO"; then :
        !          23644: 
        !          23645:       tst_api="0x092"
        !          23646: 
        !          23647: fi
        !          23648: rm -f core conftest.err conftest.$ac_objext \
        !          23649:     conftest$ac_exeext conftest.$ac_ext
        !          23650:   fi
        !          23651:   if test "$tst_api" = "unknown"; then
        !          23652:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          23653: /* end confdefs.h.  */
        !          23654: 
        !          23655: 
        !          23656: #define SSL_CTX_set_cipher_list innocuous_SSL_CTX_set_cipher_list
        !          23657: #ifdef __STDC__
        !          23658: # include <limits.h>
        !          23659: #else
        !          23660: # include <assert.h>
        !          23661: #endif
        !          23662: #undef SSL_CTX_set_cipher_list
        !          23663: #ifdef __cplusplus
        !          23664: extern "C"
        !          23665: #endif
        !          23666: char SSL_CTX_set_cipher_list ();
        !          23667: #if defined __stub_SSL_CTX_set_cipher_list || defined __stub___SSL_CTX_set_cipher_list
        !          23668: choke me
        !          23669: #endif
        !          23670: 
        !          23671: int main (void)
        !          23672: {
        !          23673: return SSL_CTX_set_cipher_list ();
        !          23674:  ;
        !          23675:  return 0;
        !          23676: }
        !          23677: 
        !          23678: _ACEOF
        !          23679: if ac_fn_c_try_link "$LINENO"; then :
        !          23680: 
        !          23681:       tst_api="0x091"
        !          23682: 
        !          23683: fi
        !          23684: rm -f core conftest.err conftest.$ac_objext \
        !          23685:     conftest$ac_exeext conftest.$ac_ext
        !          23686:   fi
        !          23687:   case $tst_api in
        !          23688:     0x111) tst_show="1.1.1" ;;
        !          23689:     0x110) tst_show="1.1.0" ;;
        !          23690:     0x102) tst_show="1.0.2" ;;
        !          23691:     0x101) tst_show="1.0.1" ;;
        !          23692:     0x100) tst_show="1.0.0" ;;
        !          23693:     0x099) tst_show="0.9.9" ;;
        !          23694:     0x098) tst_show="0.9.8" ;;
        !          23695:     0x097) tst_show="0.9.7" ;;
        !          23696:     0x096) tst_show="0.9.6" ;;
        !          23697:     0x095) tst_show="0.9.5" ;;
        !          23698:     0x094) tst_show="0.9.4" ;;
        !          23699:     0x093) tst_show="0.9.3" ;;
        !          23700:     0x092) tst_show="0.9.2" ;;
        !          23701:     0x091) tst_show="0.9.1" ;;
        !          23702:     *)     tst_show="unknown" ;;
        !          23703:   esac
        !          23704:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_show" >&5
        !          23705: $as_echo "$tst_show" >&6; }
        !          23706:   #
        !          23707:   curl_openssl_api_library=$tst_api
        !          23708: 
        !          23709:   #
        !          23710:   tst_match="yes"
        !          23711:   #
        !          23712:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL headers and library versions matching" >&5
        !          23713: $as_echo_n "checking for OpenSSL headers and library versions matching... " >&6; }
        !          23714:   if test "$curl_openssl_api_headers" = "unknown" ||
        !          23715:     test "$curl_openssl_api_library" = "unknown"; then
        !          23716:     tst_match="fail"
        !          23717:     tst_warns="Can not compare OpenSSL headers and library versions."
        !          23718:   elif test "$curl_openssl_api_headers" != "$curl_openssl_api_library"; then
        !          23719:     tst_match="no"
        !          23720:     tst_warns="OpenSSL headers and library versions do not match."
        !          23721:   fi
        !          23722:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_match" >&5
        !          23723: $as_echo "$tst_match" >&6; }
        !          23724:   if test "$tst_match" != "yes"; then
        !          23725:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $tst_warns" >&5
        !          23726: $as_echo "$as_me: WARNING: $tst_warns" >&2;}
        !          23727:   fi
        !          23728: 
        !          23729:     check_for_ca_bundle=1
        !          23730:   fi
        !          23731: 
        !          23732:   test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
        !          23733: fi
        !          23734: 
        !          23735: if test X"$OPT_SSL" != Xoff &&
        !          23736:   test X"$OPT_SSL" != Xno &&
        !          23737:   test "$OPENSSL_ENABLED" != "1"; then
        !          23738:   { $as_echo "$as_me:${as_lineno-$LINENO}: OPT_SSL: $OPT_SSL" >&5
        !          23739: $as_echo "$as_me: OPT_SSL: $OPT_SSL" >&6;}
        !          23740:   { $as_echo "$as_me:${as_lineno-$LINENO}: OPENSSL_ENABLED: $OPENSSL_ENABLED" >&5
        !          23741: $as_echo "$as_me: OPENSSL_ENABLED: $OPENSSL_ENABLED" >&6;}
        !          23742:   as_fn_error $? "--with-ssl was given but OpenSSL could not be detected" "$LINENO" 5
        !          23743: fi
        !          23744: 
        !          23745: 
        !          23746: if test X"$OPENSSL_ENABLED" = X"1"; then
        !          23747: 
        !          23748: # Check whether --with-egd-socket was given.
        !          23749: if test "${with_egd_socket+set}" = set; then :
        !          23750:   withval=$with_egd_socket;  EGD_SOCKET="$withval"
        !          23751: 
        !          23752: fi
        !          23753: 
        !          23754:   if test -n "$EGD_SOCKET" ; then
        !          23755: 
        !          23756: cat >>confdefs.h <<_ACEOF
        !          23757: #define EGD_SOCKET "$EGD_SOCKET"
        !          23758: _ACEOF
        !          23759: 
        !          23760:   fi
        !          23761: 
        !          23762: 
        !          23763: # Check whether --with-random was given.
        !          23764: if test "${with_random+set}" = set; then :
        !          23765:   withval=$with_random;  RANDOM_FILE="$withval"
        !          23766: else
        !          23767: 
        !          23768:           if test x$cross_compiling != xyes; then
        !          23769:                         as_ac_File=`$as_echo "ac_cv_file_"/dev/urandom"" | $as_tr_sh`
        !          23770: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/urandom\"" >&5
        !          23771: $as_echo_n "checking for \"/dev/urandom\"... " >&6; }
        !          23772: if eval \${$as_ac_File+:} false; then :
        !          23773:   $as_echo_n "(cached) " >&6
        !          23774: else
        !          23775:   test "$cross_compiling" = yes &&
        !          23776:   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
        !          23777: if test -r ""/dev/urandom""; then
        !          23778:   eval "$as_ac_File=yes"
        !          23779: else
        !          23780:   eval "$as_ac_File=no"
        !          23781: fi
        !          23782: fi
        !          23783: eval ac_res=\$$as_ac_File
        !          23784:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          23785: $as_echo "$ac_res" >&6; }
        !          23786: if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
        !          23787:    RANDOM_FILE="/dev/urandom"
        !          23788: fi
        !          23789: 
        !          23790:           else
        !          23791:             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: skipped the /dev/urandom detection when cross-compiling" >&5
        !          23792: $as_echo "$as_me: WARNING: skipped the /dev/urandom detection when cross-compiling" >&2;}
        !          23793:           fi
        !          23794: 
        !          23795: 
        !          23796: fi
        !          23797: 
        !          23798:   if test -n "$RANDOM_FILE" && test X"$RANDOM_FILE" != Xno ; then
        !          23799: 
        !          23800: 
        !          23801: cat >>confdefs.h <<_ACEOF
        !          23802: #define RANDOM_FILE "$RANDOM_FILE"
        !          23803: _ACEOF
        !          23804: 
        !          23805:   fi
        !          23806: fi
        !          23807: 
        !          23808: if test "$OPENSSL_ENABLED" = "1"; then
        !          23809:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SRP_Calc_client_key in -lcrypto" >&5
        !          23810: $as_echo_n "checking for SRP_Calc_client_key in -lcrypto... " >&6; }
        !          23811: if ${ac_cv_lib_crypto_SRP_Calc_client_key+:} false; then :
        !          23812:   $as_echo_n "(cached) " >&6
        !          23813: else
        !          23814:   ac_check_lib_save_LIBS=$LIBS
        !          23815: LIBS="-lcrypto  $LIBS"
        !          23816: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          23817: /* end confdefs.h.  */
        !          23818: 
        !          23819: 
        !          23820: #ifdef __cplusplus
        !          23821: extern "C"
        !          23822: #endif
        !          23823: char SRP_Calc_client_key ();
        !          23824: int main (void)
        !          23825: {
        !          23826: return SRP_Calc_client_key ();
        !          23827:  ;
        !          23828:  return 0;
        !          23829: }
        !          23830: _ACEOF
        !          23831: if ac_fn_c_try_link "$LINENO"; then :
        !          23832:   ac_cv_lib_crypto_SRP_Calc_client_key=yes
        !          23833: else
        !          23834:   ac_cv_lib_crypto_SRP_Calc_client_key=no
        !          23835: fi
        !          23836: rm -f core conftest.err conftest.$ac_objext \
        !          23837:     conftest$ac_exeext conftest.$ac_ext
        !          23838: LIBS=$ac_check_lib_save_LIBS
        !          23839: fi
        !          23840: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SRP_Calc_client_key" >&5
        !          23841: $as_echo "$ac_cv_lib_crypto_SRP_Calc_client_key" >&6; }
        !          23842: if test "x$ac_cv_lib_crypto_SRP_Calc_client_key" = xyes; then :
        !          23843: 
        !          23844: 
        !          23845: $as_echo "#define HAVE_OPENSSL_SRP 1" >>confdefs.h
        !          23846: 
        !          23847:      HAVE_OPENSSL_SRP=1
        !          23848: 
        !          23849: 
        !          23850: fi
        !          23851: 
        !          23852: fi
        !          23853: 
        !          23854: if test X"$OPENSSL_ENABLED" = X"1"; then
        !          23855: # Check whether --enable-openssl-auto-load-config was given.
        !          23856: if test "${enable_openssl_auto_load_config+set}" = set; then :
        !          23857:   enableval=$enable_openssl_auto_load_config;  if test X"$enableval" = X"no"; then
        !          23858:     { $as_echo "$as_me:${as_lineno-$LINENO}: automatic loading of OpenSSL configuration disabled" >&5
        !          23859: $as_echo "$as_me: automatic loading of OpenSSL configuration disabled" >&6;}
        !          23860: 
        !          23861: $as_echo "#define CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG 1" >>confdefs.h
        !          23862: 
        !          23863:   fi
        !          23864: 
        !          23865: fi
        !          23866: 
        !          23867: fi
        !          23868: 
        !          23869: 
        !          23870: OPT_GNUTLS=no
        !          23871: 
        !          23872: 
        !          23873: # Check whether --with-gnutls was given.
        !          23874: if test "${with_gnutls+set}" = set; then :
        !          23875:   withval=$with_gnutls; OPT_GNUTLS=$withval
        !          23876: fi
        !          23877: 
        !          23878: 
        !          23879: if test -z "$ssl_backends" -o "x$OPT_GNUTLS" != xno; then
        !          23880:   ssl_msg=
        !          23881: 
        !          23882:   if test X"$OPT_GNUTLS" != Xno; then
        !          23883: 
        !          23884:     addld=""
        !          23885:     addlib=""
        !          23886:     gtlslib=""
        !          23887:     version=""
        !          23888:     addcflags=""
        !          23889: 
        !          23890:     if test "x$OPT_GNUTLS" = "xyes"; then
        !          23891: 
        !          23892:     if test -n "$PKG_CONFIG"; then
        !          23893:       PKGCONFIG="$PKG_CONFIG"
        !          23894:     else
        !          23895:       if test -n "$ac_tool_prefix"; then
        !          23896:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
        !          23897: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
        !          23898: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          23899: $as_echo_n "checking for $ac_word... " >&6; }
        !          23900: if ${ac_cv_path_PKGCONFIG+:} false; then :
        !          23901:   $as_echo_n "(cached) " >&6
        !          23902: else
        !          23903:   case $PKGCONFIG in
        !          23904:   [\\/]* | ?:[\\/]*)
        !          23905:   ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
        !          23906:   ;;
        !          23907:   *)
        !          23908:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          23909: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          23910: for as_dir in $as_dummy
        !          23911: do
        !          23912:   IFS=$as_save_IFS
        !          23913:   test -z "$as_dir" && as_dir=.
        !          23914:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          23915:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          23916:     ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          23917:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          23918:     break 2
        !          23919:   fi
        !          23920: done
        !          23921:   done
        !          23922: IFS=$as_save_IFS
        !          23923: 
        !          23924:   ;;
        !          23925: esac
        !          23926: fi
        !          23927: PKGCONFIG=$ac_cv_path_PKGCONFIG
        !          23928: if test -n "$PKGCONFIG"; then
        !          23929:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
        !          23930: $as_echo "$PKGCONFIG" >&6; }
        !          23931: else
        !          23932:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          23933: $as_echo "no" >&6; }
        !          23934: fi
        !          23935: 
        !          23936: 
        !          23937: fi
        !          23938: if test -z "$ac_cv_path_PKGCONFIG"; then
        !          23939:   ac_pt_PKGCONFIG=$PKGCONFIG
        !          23940:   # Extract the first word of "pkg-config", so it can be a program name with args.
        !          23941: set dummy pkg-config; ac_word=$2
        !          23942: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          23943: $as_echo_n "checking for $ac_word... " >&6; }
        !          23944: if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
        !          23945:   $as_echo_n "(cached) " >&6
        !          23946: else
        !          23947:   case $ac_pt_PKGCONFIG in
        !          23948:   [\\/]* | ?:[\\/]*)
        !          23949:   ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
        !          23950:   ;;
        !          23951:   *)
        !          23952:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          23953: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          23954: for as_dir in $as_dummy
        !          23955: do
        !          23956:   IFS=$as_save_IFS
        !          23957:   test -z "$as_dir" && as_dir=.
        !          23958:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          23959:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          23960:     ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          23961:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          23962:     break 2
        !          23963:   fi
        !          23964: done
        !          23965:   done
        !          23966: IFS=$as_save_IFS
        !          23967: 
        !          23968:   ;;
        !          23969: esac
        !          23970: fi
        !          23971: ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
        !          23972: if test -n "$ac_pt_PKGCONFIG"; then
        !          23973:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
        !          23974: $as_echo "$ac_pt_PKGCONFIG" >&6; }
        !          23975: else
        !          23976:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          23977: $as_echo "no" >&6; }
        !          23978: fi
        !          23979: 
        !          23980:   if test "x$ac_pt_PKGCONFIG" = x; then
        !          23981:     PKGCONFIG="no"
        !          23982:   else
        !          23983:     case $cross_compiling:$ac_tool_warned in
        !          23984: yes:)
        !          23985: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          23986: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          23987: ac_tool_warned=yes ;;
        !          23988: esac
        !          23989:     PKGCONFIG=$ac_pt_PKGCONFIG
        !          23990:   fi
        !          23991: else
        !          23992:   PKGCONFIG="$ac_cv_path_PKGCONFIG"
        !          23993: fi
        !          23994: 
        !          23995:     fi
        !          23996: 
        !          23997:     if test "x$PKGCONFIG" != "xno"; then
        !          23998:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls options with pkg-config" >&5
        !          23999: $as_echo_n "checking for gnutls options with pkg-config... " >&6; }
        !          24000:             itexists=`
        !          24001:     if test -n ""; then
        !          24002:       PKG_CONFIG_LIBDIR=""
        !          24003:       export PKG_CONFIG_LIBDIR
        !          24004:     fi
        !          24005:          $PKGCONFIG --exists gnutls >/dev/null 2>&1 && echo 1`
        !          24006: 
        !          24007:       if test -z "$itexists"; then
        !          24008:                         PKGCONFIG="no"
        !          24009:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          24010: $as_echo "no" >&6; }
        !          24011:       else
        !          24012:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
        !          24013: $as_echo "found" >&6; }
        !          24014:       fi
        !          24015:     fi
        !          24016: 
        !          24017: 
        !          24018:       if test "$PKGCONFIG" != "no" ; then
        !          24019:         addlib=`$PKGCONFIG --libs-only-l gnutls`
        !          24020:         addld=`$PKGCONFIG --libs-only-L gnutls`
        !          24021:         addcflags=`$PKGCONFIG --cflags-only-I gnutls`
        !          24022:         version=`$PKGCONFIG --modversion gnutls`
        !          24023:         gtlslib=`echo $addld | $SED -e 's/-L//'`
        !          24024:       else
        !          24025:                         check=`libgnutls-config --version 2>/dev/null`
        !          24026:         if test -n "$check"; then
        !          24027:           addlib=`libgnutls-config --libs`
        !          24028:           addcflags=`libgnutls-config --cflags`
        !          24029:           version=`libgnutls-config --version`
        !          24030:           gtlslib=`libgnutls-config --prefix`/lib$libsuff
        !          24031:         fi
        !          24032:       fi
        !          24033:     else
        !          24034:                   cfg=$OPT_GNUTLS/bin/libgnutls-config
        !          24035:       check=`$cfg --version 2>/dev/null`
        !          24036:       if test -n "$check"; then
        !          24037:         addlib=`$cfg --libs`
        !          24038:         addcflags=`$cfg --cflags`
        !          24039:         version=`$cfg --version`
        !          24040:         gtlslib=`$cfg --prefix`/lib$libsuff
        !          24041:       else
        !          24042:                 addlib=-lgnutls
        !          24043:         addld=-L$OPT_GNUTLS/lib$libsuff
        !          24044:         addcflags=-I$OPT_GNUTLS/include
        !          24045:         version="" # we just don't know
        !          24046:         gtlslib=$OPT_GNUTLS/lib$libsuff
        !          24047:       fi
        !          24048:     fi
        !          24049: 
        !          24050:     if test -z "$version"; then
        !          24051:             version="unknown"
        !          24052:     fi
        !          24053: 
        !          24054:     if test -n "$addlib"; then
        !          24055: 
        !          24056:       CLEANLIBS="$LIBS"
        !          24057:       CLEANCPPFLAGS="$CPPFLAGS"
        !          24058:       CLEANLDFLAGS="$LDFLAGS"
        !          24059: 
        !          24060:       LIBS="$addlib $LIBS"
        !          24061:       LDFLAGS="$LDFLAGS $addld"
        !          24062:       if test "$addcflags" != "-I/usr/include"; then
        !          24063:          CPPFLAGS="$CPPFLAGS $addcflags"
        !          24064:       fi
        !          24065: 
        !          24066:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_x509_crt_get_dn2 in -lgnutls" >&5
        !          24067: $as_echo_n "checking for gnutls_x509_crt_get_dn2 in -lgnutls... " >&6; }
        !          24068: if ${ac_cv_lib_gnutls_gnutls_x509_crt_get_dn2+:} false; then :
        !          24069:   $as_echo_n "(cached) " >&6
        !          24070: else
        !          24071:   ac_check_lib_save_LIBS=$LIBS
        !          24072: LIBS="-lgnutls  $LIBS"
        !          24073: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          24074: /* end confdefs.h.  */
        !          24075: 
        !          24076: 
        !          24077: #ifdef __cplusplus
        !          24078: extern "C"
        !          24079: #endif
        !          24080: char gnutls_x509_crt_get_dn2 ();
        !          24081: int main (void)
        !          24082: {
        !          24083: return gnutls_x509_crt_get_dn2 ();
        !          24084:  ;
        !          24085:  return 0;
        !          24086: }
        !          24087: _ACEOF
        !          24088: if ac_fn_c_try_link "$LINENO"; then :
        !          24089:   ac_cv_lib_gnutls_gnutls_x509_crt_get_dn2=yes
        !          24090: else
        !          24091:   ac_cv_lib_gnutls_gnutls_x509_crt_get_dn2=no
        !          24092: fi
        !          24093: rm -f core conftest.err conftest.$ac_objext \
        !          24094:     conftest$ac_exeext conftest.$ac_ext
        !          24095: LIBS=$ac_check_lib_save_LIBS
        !          24096: fi
        !          24097: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_x509_crt_get_dn2" >&5
        !          24098: $as_echo "$ac_cv_lib_gnutls_gnutls_x509_crt_get_dn2" >&6; }
        !          24099: if test "x$ac_cv_lib_gnutls_gnutls_x509_crt_get_dn2" = xyes; then :
        !          24100: 
        !          24101: 
        !          24102: $as_echo "#define USE_GNUTLS 1" >>confdefs.h
        !          24103: 
        !          24104:        USE_GNUTLS=1
        !          24105: 
        !          24106:        GNUTLS_ENABLED=1
        !          24107:        USE_GNUTLS="yes"
        !          24108:        ssl_msg="GnuTLS"
        !          24109:        test gnutls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
        !          24110: 
        !          24111: else
        !          24112: 
        !          24113:          LIBS="$CLEANLIBS"
        !          24114:          CPPFLAGS="$CLEANCPPFLAGS"
        !          24115: 
        !          24116: fi
        !          24117: 
        !          24118: 
        !          24119:       if test "x$USE_GNUTLS" = "xyes"; then
        !          24120:         { $as_echo "$as_me:${as_lineno-$LINENO}: detected GnuTLS version $version" >&5
        !          24121: $as_echo "$as_me: detected GnuTLS version $version" >&6;}
        !          24122:         check_for_ca_bundle=1
        !          24123:         if test -n "$gtlslib"; then
        !          24124:                                                   if test "x$cross_compiling" != "xyes"; then
        !          24125:             CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$gtlslib"
        !          24126:             export CURL_LIBRARY_PATH
        !          24127:             { $as_echo "$as_me:${as_lineno-$LINENO}: Added $gtlslib to CURL_LIBRARY_PATH" >&5
        !          24128: $as_echo "$as_me: Added $gtlslib to CURL_LIBRARY_PATH" >&6;}
        !          24129:           fi
        !          24130:         fi
        !          24131:       fi
        !          24132: 
        !          24133:     fi
        !          24134: 
        !          24135:   fi
        !          24136:   test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
        !          24137: fi
        !          24138: 
        !          24139: 
        !          24140: if test "$GNUTLS_ENABLED" = "1"; then
        !          24141:   USE_GNUTLS_NETTLE=
        !          24142:   # First check if we can detect either crypto library via transitive linking
        !          24143:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nettle_MD5Init in -lgnutls" >&5
        !          24144: $as_echo_n "checking for nettle_MD5Init in -lgnutls... " >&6; }
        !          24145: if ${ac_cv_lib_gnutls_nettle_MD5Init+:} false; then :
        !          24146:   $as_echo_n "(cached) " >&6
        !          24147: else
        !          24148:   ac_check_lib_save_LIBS=$LIBS
        !          24149: LIBS="-lgnutls  $LIBS"
        !          24150: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          24151: /* end confdefs.h.  */
        !          24152: 
        !          24153: 
        !          24154: #ifdef __cplusplus
        !          24155: extern "C"
        !          24156: #endif
        !          24157: char nettle_MD5Init ();
        !          24158: int main (void)
        !          24159: {
        !          24160: return nettle_MD5Init ();
        !          24161:  ;
        !          24162:  return 0;
        !          24163: }
        !          24164: _ACEOF
        !          24165: if ac_fn_c_try_link "$LINENO"; then :
        !          24166:   ac_cv_lib_gnutls_nettle_MD5Init=yes
        !          24167: else
        !          24168:   ac_cv_lib_gnutls_nettle_MD5Init=no
        !          24169: fi
        !          24170: rm -f core conftest.err conftest.$ac_objext \
        !          24171:     conftest$ac_exeext conftest.$ac_ext
        !          24172: LIBS=$ac_check_lib_save_LIBS
        !          24173: fi
        !          24174: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_nettle_MD5Init" >&5
        !          24175: $as_echo "$ac_cv_lib_gnutls_nettle_MD5Init" >&6; }
        !          24176: if test "x$ac_cv_lib_gnutls_nettle_MD5Init" = xyes; then :
        !          24177:    USE_GNUTLS_NETTLE=1
        !          24178: fi
        !          24179: 
        !          24180:   if test "$USE_GNUTLS_NETTLE" = ""; then
        !          24181:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcry_control in -lgnutls" >&5
        !          24182: $as_echo_n "checking for gcry_control in -lgnutls... " >&6; }
        !          24183: if ${ac_cv_lib_gnutls_gcry_control+:} false; then :
        !          24184:   $as_echo_n "(cached) " >&6
        !          24185: else
        !          24186:   ac_check_lib_save_LIBS=$LIBS
        !          24187: LIBS="-lgnutls  $LIBS"
        !          24188: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          24189: /* end confdefs.h.  */
        !          24190: 
        !          24191: 
        !          24192: #ifdef __cplusplus
        !          24193: extern "C"
        !          24194: #endif
        !          24195: char gcry_control ();
        !          24196: int main (void)
        !          24197: {
        !          24198: return gcry_control ();
        !          24199:  ;
        !          24200:  return 0;
        !          24201: }
        !          24202: _ACEOF
        !          24203: if ac_fn_c_try_link "$LINENO"; then :
        !          24204:   ac_cv_lib_gnutls_gcry_control=yes
        !          24205: else
        !          24206:   ac_cv_lib_gnutls_gcry_control=no
        !          24207: fi
        !          24208: rm -f core conftest.err conftest.$ac_objext \
        !          24209:     conftest$ac_exeext conftest.$ac_ext
        !          24210: LIBS=$ac_check_lib_save_LIBS
        !          24211: fi
        !          24212: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gcry_control" >&5
        !          24213: $as_echo "$ac_cv_lib_gnutls_gcry_control" >&6; }
        !          24214: if test "x$ac_cv_lib_gnutls_gcry_control" = xyes; then :
        !          24215:    USE_GNUTLS_NETTLE=0
        !          24216: fi
        !          24217: 
        !          24218:   fi
        !          24219:   # If not, try linking directly to both of them to see if they are available
        !          24220:   if test "$USE_GNUTLS_NETTLE" = ""; then
        !          24221:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nettle_MD5Init in -lnettle" >&5
        !          24222: $as_echo_n "checking for nettle_MD5Init in -lnettle... " >&6; }
        !          24223: if ${ac_cv_lib_nettle_nettle_MD5Init+:} false; then :
        !          24224:   $as_echo_n "(cached) " >&6
        !          24225: else
        !          24226:   ac_check_lib_save_LIBS=$LIBS
        !          24227: LIBS="-lnettle  $LIBS"
        !          24228: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          24229: /* end confdefs.h.  */
        !          24230: 
        !          24231: 
        !          24232: #ifdef __cplusplus
        !          24233: extern "C"
        !          24234: #endif
        !          24235: char nettle_MD5Init ();
        !          24236: int main (void)
        !          24237: {
        !          24238: return nettle_MD5Init ();
        !          24239:  ;
        !          24240:  return 0;
        !          24241: }
        !          24242: _ACEOF
        !          24243: if ac_fn_c_try_link "$LINENO"; then :
        !          24244:   ac_cv_lib_nettle_nettle_MD5Init=yes
        !          24245: else
        !          24246:   ac_cv_lib_nettle_nettle_MD5Init=no
        !          24247: fi
        !          24248: rm -f core conftest.err conftest.$ac_objext \
        !          24249:     conftest$ac_exeext conftest.$ac_ext
        !          24250: LIBS=$ac_check_lib_save_LIBS
        !          24251: fi
        !          24252: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nettle_nettle_MD5Init" >&5
        !          24253: $as_echo "$ac_cv_lib_nettle_nettle_MD5Init" >&6; }
        !          24254: if test "x$ac_cv_lib_nettle_nettle_MD5Init" = xyes; then :
        !          24255:    USE_GNUTLS_NETTLE=1
        !          24256: fi
        !          24257: 
        !          24258:   fi
        !          24259:   if test "$USE_GNUTLS_NETTLE" = ""; then
        !          24260:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcry_control in -lgcrypt" >&5
        !          24261: $as_echo_n "checking for gcry_control in -lgcrypt... " >&6; }
        !          24262: if ${ac_cv_lib_gcrypt_gcry_control+:} false; then :
        !          24263:   $as_echo_n "(cached) " >&6
        !          24264: else
        !          24265:   ac_check_lib_save_LIBS=$LIBS
        !          24266: LIBS="-lgcrypt  $LIBS"
        !          24267: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          24268: /* end confdefs.h.  */
        !          24269: 
        !          24270: 
        !          24271: #ifdef __cplusplus
        !          24272: extern "C"
        !          24273: #endif
        !          24274: char gcry_control ();
        !          24275: int main (void)
        !          24276: {
        !          24277: return gcry_control ();
        !          24278:  ;
        !          24279:  return 0;
        !          24280: }
        !          24281: _ACEOF
        !          24282: if ac_fn_c_try_link "$LINENO"; then :
        !          24283:   ac_cv_lib_gcrypt_gcry_control=yes
        !          24284: else
        !          24285:   ac_cv_lib_gcrypt_gcry_control=no
        !          24286: fi
        !          24287: rm -f core conftest.err conftest.$ac_objext \
        !          24288:     conftest$ac_exeext conftest.$ac_ext
        !          24289: LIBS=$ac_check_lib_save_LIBS
        !          24290: fi
        !          24291: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcrypt_gcry_control" >&5
        !          24292: $as_echo "$ac_cv_lib_gcrypt_gcry_control" >&6; }
        !          24293: if test "x$ac_cv_lib_gcrypt_gcry_control" = xyes; then :
        !          24294:    USE_GNUTLS_NETTLE=0
        !          24295: fi
        !          24296: 
        !          24297:   fi
        !          24298:   if test "$USE_GNUTLS_NETTLE" = ""; then
        !          24299:     as_fn_error $? "GnuTLS found, but neither gcrypt nor nettle found" "$LINENO" 5
        !          24300:   fi
        !          24301:   if test "$USE_GNUTLS_NETTLE" = "1"; then
        !          24302: 
        !          24303: $as_echo "#define USE_GNUTLS_NETTLE 1" >>confdefs.h
        !          24304: 
        !          24305:     USE_GNUTLS_NETTLE=1
        !          24306: 
        !          24307:     LIBS="-lnettle $LIBS"
        !          24308:   else
        !          24309:     LIBS="-lgcrypt $LIBS"
        !          24310:   fi
        !          24311: fi
        !          24312: 
        !          24313: if test "$GNUTLS_ENABLED" = "1"; then
        !          24314:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_srp_verifier in -lgnutls" >&5
        !          24315: $as_echo_n "checking for gnutls_srp_verifier in -lgnutls... " >&6; }
        !          24316: if ${ac_cv_lib_gnutls_gnutls_srp_verifier+:} false; then :
        !          24317:   $as_echo_n "(cached) " >&6
        !          24318: else
        !          24319:   ac_check_lib_save_LIBS=$LIBS
        !          24320: LIBS="-lgnutls  $LIBS"
        !          24321: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          24322: /* end confdefs.h.  */
        !          24323: 
        !          24324: 
        !          24325: #ifdef __cplusplus
        !          24326: extern "C"
        !          24327: #endif
        !          24328: char gnutls_srp_verifier ();
        !          24329: int main (void)
        !          24330: {
        !          24331: return gnutls_srp_verifier ();
        !          24332:  ;
        !          24333:  return 0;
        !          24334: }
        !          24335: _ACEOF
        !          24336: if ac_fn_c_try_link "$LINENO"; then :
        !          24337:   ac_cv_lib_gnutls_gnutls_srp_verifier=yes
        !          24338: else
        !          24339:   ac_cv_lib_gnutls_gnutls_srp_verifier=no
        !          24340: fi
        !          24341: rm -f core conftest.err conftest.$ac_objext \
        !          24342:     conftest$ac_exeext conftest.$ac_ext
        !          24343: LIBS=$ac_check_lib_save_LIBS
        !          24344: fi
        !          24345: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_srp_verifier" >&5
        !          24346: $as_echo "$ac_cv_lib_gnutls_gnutls_srp_verifier" >&6; }
        !          24347: if test "x$ac_cv_lib_gnutls_gnutls_srp_verifier" = xyes; then :
        !          24348: 
        !          24349: 
        !          24350: $as_echo "#define HAVE_GNUTLS_SRP 1" >>confdefs.h
        !          24351: 
        !          24352:      HAVE_GNUTLS_SRP=1
        !          24353: 
        !          24354: 
        !          24355: fi
        !          24356: 
        !          24357: fi
        !          24358: 
        !          24359: 
        !          24360: OPT_MBEDTLS=no
        !          24361: 
        !          24362: _cppflags=$CPPFLAGS
        !          24363: _ldflags=$LDFLAGS
        !          24364: 
        !          24365: # Check whether --with-mbedtls was given.
        !          24366: if test "${with_mbedtls+set}" = set; then :
        !          24367:   withval=$with_mbedtls; OPT_MBEDTLS=$withval
        !          24368: fi
        !          24369: 
        !          24370: 
        !          24371: if test -z "$ssl_backends" -o "x$OPT_MBEDTLS" != xno; then
        !          24372:   ssl_msg=
        !          24373: 
        !          24374:   if test X"$OPT_MBEDTLS" != Xno; then
        !          24375: 
        !          24376:     if test "$OPT_MBEDTLS" = "yes"; then
        !          24377:       OPT_MBEDTLS=""
        !          24378:     fi
        !          24379: 
        !          24380:     if test -z "$OPT_MBEDTLS" ; then
        !          24381: 
        !          24382:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbedtls_havege_init in -lmbedtls" >&5
        !          24383: $as_echo_n "checking for mbedtls_havege_init in -lmbedtls... " >&6; }
        !          24384: if ${ac_cv_lib_mbedtls_mbedtls_havege_init+:} false; then :
        !          24385:   $as_echo_n "(cached) " >&6
        !          24386: else
        !          24387:   ac_check_lib_save_LIBS=$LIBS
        !          24388: LIBS="-lmbedtls -lmbedx509 -lmbedcrypto $LIBS"
        !          24389: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          24390: /* end confdefs.h.  */
        !          24391: 
        !          24392: 
        !          24393: #ifdef __cplusplus
        !          24394: extern "C"
        !          24395: #endif
        !          24396: char mbedtls_havege_init ();
        !          24397: int main (void)
        !          24398: {
        !          24399: return mbedtls_havege_init ();
        !          24400:  ;
        !          24401:  return 0;
        !          24402: }
        !          24403: _ACEOF
        !          24404: if ac_fn_c_try_link "$LINENO"; then :
        !          24405:   ac_cv_lib_mbedtls_mbedtls_havege_init=yes
        !          24406: else
        !          24407:   ac_cv_lib_mbedtls_mbedtls_havege_init=no
        !          24408: fi
        !          24409: rm -f core conftest.err conftest.$ac_objext \
        !          24410:     conftest$ac_exeext conftest.$ac_ext
        !          24411: LIBS=$ac_check_lib_save_LIBS
        !          24412: fi
        !          24413: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mbedtls_mbedtls_havege_init" >&5
        !          24414: $as_echo "$ac_cv_lib_mbedtls_mbedtls_havege_init" >&6; }
        !          24415: if test "x$ac_cv_lib_mbedtls_mbedtls_havege_init" = xyes; then :
        !          24416: 
        !          24417: 
        !          24418: $as_echo "#define USE_MBEDTLS 1" >>confdefs.h
        !          24419: 
        !          24420:          USE_MBEDTLS=1
        !          24421: 
        !          24422:          MBEDTLS_ENABLED=1
        !          24423:          USE_MBEDTLS="yes"
        !          24424:          ssl_msg="mbedTLS"
        !          24425:         test mbedtls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
        !          24426: 
        !          24427: fi
        !          24428: 
        !          24429:     fi
        !          24430: 
        !          24431:     addld=""
        !          24432:     addlib=""
        !          24433:     addcflags=""
        !          24434:     mbedtlslib=""
        !          24435: 
        !          24436:     if test "x$USE_MBEDTLS" != "xyes"; then
        !          24437:             addld=-L$OPT_MBEDTLS/lib$libsuff
        !          24438:       addcflags=-I$OPT_MBEDTLS/include
        !          24439:       mbedtlslib=$OPT_MBEDTLS/lib$libsuff
        !          24440: 
        !          24441:       LDFLAGS="$LDFLAGS $addld"
        !          24442:       if test "$addcflags" != "-I/usr/include"; then
        !          24443:          CPPFLAGS="$CPPFLAGS $addcflags"
        !          24444:       fi
        !          24445: 
        !          24446:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbedtls_ssl_init in -lmbedtls" >&5
        !          24447: $as_echo_n "checking for mbedtls_ssl_init in -lmbedtls... " >&6; }
        !          24448: if ${ac_cv_lib_mbedtls_mbedtls_ssl_init+:} false; then :
        !          24449:   $as_echo_n "(cached) " >&6
        !          24450: else
        !          24451:   ac_check_lib_save_LIBS=$LIBS
        !          24452: LIBS="-lmbedtls -lmbedx509 -lmbedcrypto $LIBS"
        !          24453: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          24454: /* end confdefs.h.  */
        !          24455: 
        !          24456: 
        !          24457: #ifdef __cplusplus
        !          24458: extern "C"
        !          24459: #endif
        !          24460: char mbedtls_ssl_init ();
        !          24461: int main (void)
        !          24462: {
        !          24463: return mbedtls_ssl_init ();
        !          24464:  ;
        !          24465:  return 0;
        !          24466: }
        !          24467: _ACEOF
        !          24468: if ac_fn_c_try_link "$LINENO"; then :
        !          24469:   ac_cv_lib_mbedtls_mbedtls_ssl_init=yes
        !          24470: else
        !          24471:   ac_cv_lib_mbedtls_mbedtls_ssl_init=no
        !          24472: fi
        !          24473: rm -f core conftest.err conftest.$ac_objext \
        !          24474:     conftest$ac_exeext conftest.$ac_ext
        !          24475: LIBS=$ac_check_lib_save_LIBS
        !          24476: fi
        !          24477: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mbedtls_mbedtls_ssl_init" >&5
        !          24478: $as_echo "$ac_cv_lib_mbedtls_mbedtls_ssl_init" >&6; }
        !          24479: if test "x$ac_cv_lib_mbedtls_mbedtls_ssl_init" = xyes; then :
        !          24480: 
        !          24481: 
        !          24482: $as_echo "#define USE_MBEDTLS 1" >>confdefs.h
        !          24483: 
        !          24484:        USE_MBEDTLS=1
        !          24485: 
        !          24486:        MBEDTLS_ENABLED=1
        !          24487:        USE_MBEDTLS="yes"
        !          24488:        ssl_msg="mbedTLS"
        !          24489:        test mbedtls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
        !          24490: 
        !          24491: else
        !          24492: 
        !          24493:          CPPFLAGS=$_cppflags
        !          24494:          LDFLAGS=$_ldflags
        !          24495: 
        !          24496: fi
        !          24497: 
        !          24498:     fi
        !          24499: 
        !          24500:     if test "x$USE_MBEDTLS" = "xyes"; then
        !          24501:       { $as_echo "$as_me:${as_lineno-$LINENO}: detected mbedTLS" >&5
        !          24502: $as_echo "$as_me: detected mbedTLS" >&6;}
        !          24503:       check_for_ca_bundle=1
        !          24504: 
        !          24505:       LIBS="-lmbedtls -lmbedx509 -lmbedcrypto $LIBS"
        !          24506: 
        !          24507:       if test -n "$mbedtlslib"; then
        !          24508:                                         if test "x$cross_compiling" != "xyes"; then
        !          24509:           CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$mbedtlslib"
        !          24510:           export CURL_LIBRARY_PATH
        !          24511:           { $as_echo "$as_me:${as_lineno-$LINENO}: Added $mbedtlslib to CURL_LIBRARY_PATH" >&5
        !          24512: $as_echo "$as_me: Added $mbedtlslib to CURL_LIBRARY_PATH" >&6;}
        !          24513:         fi
        !          24514:       fi
        !          24515:     fi
        !          24516: 
        !          24517:   fi
        !          24518:   test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
        !          24519: fi
        !          24520: 
        !          24521: 
        !          24522: OPT_WOLFSSL=no
        !          24523: 
        !          24524: _cppflags=$CPPFLAGS
        !          24525: _ldflags=$LDFLAGS
        !          24526: 
        !          24527: 
        !          24528: # Check whether --with-wolfssl was given.
        !          24529: if test "${with_wolfssl+set}" = set; then :
        !          24530:   withval=$with_wolfssl; OPT_WOLFSSL=$withval
        !          24531: fi
        !          24532: 
        !          24533: 
        !          24534: if test -z "$ssl_backends" -o "x$OPT_WOLFSSL" != xno; then
        !          24535:   ssl_msg=
        !          24536: 
        !          24537:   if test X"$OPT_WOLFSSL" != Xno; then
        !          24538: 
        !          24539:     if test "$OPT_WOLFSSL" = "yes"; then
        !          24540:       OPT_WOLFSSL=""
        !          24541:     fi
        !          24542: 
        !          24543:     addld=""
        !          24544:     addlib=""
        !          24545:     addcflags=""
        !          24546: 
        !          24547:     if test "x$USE_WOLFSSL" != "xyes"; then
        !          24548:       addld=-L$OPT_WOLFSSL/lib$libsuff
        !          24549:       addcflags=-I$OPT_WOLFSSL/include
        !          24550:       wolfssllibpath=$OPT_WOLFSSL/lib$libsuff
        !          24551: 
        !          24552:       LDFLAGS="$LDFLAGS $addld"
        !          24553:       if test "$addcflags" != "-I/usr/include"; then
        !          24554:          CPPFLAGS="$CPPFLAGS $addcflags"
        !          24555:       fi
        !          24556: 
        !          24557:       my_ac_save_LIBS="$LIBS"
        !          24558:       LIBS="-lwolfssl -lm $LIBS"
        !          24559: 
        !          24560:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfSSL_Init in -lwolfssl" >&5
        !          24561: $as_echo_n "checking for wolfSSL_Init in -lwolfssl... " >&6; }
        !          24562:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          24563: /* end confdefs.h.  */
        !          24564: 
        !          24565: 
        !          24566: /* These aren't needed for detection and confuse WolfSSL.
        !          24567:    They are set up properly later if it is detected.  */
        !          24568: #undef SIZEOF_LONG
        !          24569: #undef SIZEOF_LONG_LONG
        !          24570: #include <wolfssl/ssl.h>
        !          24571: 
        !          24572: int main (void)
        !          24573: {
        !          24574: 
        !          24575:          return wolfSSL_Init();
        !          24576: 
        !          24577:  ;
        !          24578:  return 0;
        !          24579: }
        !          24580: 
        !          24581: _ACEOF
        !          24582: if ac_fn_c_try_link "$LINENO"; then :
        !          24583: 
        !          24584:          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          24585: $as_echo "yes" >&6; }
        !          24586: 
        !          24587: $as_echo "#define USE_WOLFSSL 1" >>confdefs.h
        !          24588: 
        !          24589:          USE_WOLFSSL=1
        !          24590: 
        !          24591:          WOLFSSL_ENABLED=1
        !          24592:          USE_WOLFSSL="yes"
        !          24593:          ssl_msg="WolfSSL"
        !          24594:         test wolfssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
        !          24595: 
        !          24596: else
        !          24597: 
        !          24598:          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          24599: $as_echo "no" >&6; }
        !          24600:          CPPFLAGS=$_cppflags
        !          24601:          LDFLAGS=$_ldflags
        !          24602:          wolfssllibpath=""
        !          24603: 
        !          24604: fi
        !          24605: rm -f core conftest.err conftest.$ac_objext \
        !          24606:     conftest$ac_exeext conftest.$ac_ext
        !          24607:       LIBS="$my_ac_save_LIBS"
        !          24608:     fi
        !          24609: 
        !          24610:     if test "x$USE_WOLFSSL" = "xyes"; then
        !          24611:       { $as_echo "$as_me:${as_lineno-$LINENO}: detected wolfSSL" >&5
        !          24612: $as_echo "$as_me: detected wolfSSL" >&6;}
        !          24613:       check_for_ca_bundle=1
        !          24614: 
        !          24615:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
        !          24616: $as_echo_n "checking size of long long... " >&6; }
        !          24617: if ${ac_cv_sizeof_long_long+:} false; then :
        !          24618:   $as_echo_n "(cached) " >&6
        !          24619: else
        !          24620:   for ac_size in 4 8 1 2 16  ; do # List sizes in rough order of prevalence.
        !          24621:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          24622: /* end confdefs.h.  */
        !          24623: 
        !          24624: #include <sys/types.h>
        !          24625: 
        !          24626: 
        !          24627: int main (void)
        !          24628: {
        !          24629: switch (0) case 0: case (sizeof (long long) == $ac_size):;
        !          24630:  ;
        !          24631:  return 0;
        !          24632: }
        !          24633: _ACEOF
        !          24634: if ac_fn_c_try_compile "$LINENO"; then :
        !          24635:   ac_cv_sizeof_long_long=$ac_size
        !          24636: fi
        !          24637: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          24638:   if test x$ac_cv_sizeof_long_long != x ; then break; fi
        !          24639: done
        !          24640: 
        !          24641: fi
        !          24642: 
        !          24643: if test x$ac_cv_sizeof_long_long = x ; then
        !          24644:   as_fn_error $? "cannot determine a size for long long" "$LINENO" 5
        !          24645: fi
        !          24646: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
        !          24647: $as_echo "$ac_cv_sizeof_long_long" >&6; }
        !          24648: 
        !          24649: cat >>confdefs.h <<_ACEOF
        !          24650: #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
        !          24651: _ACEOF
        !          24652: 
        !          24653: 
        !          24654: 
        !          24655:       LIBS="-lwolfssl -lm $LIBS"
        !          24656: 
        !          24657:                   for ac_func in wolfSSLv3_client_method \
        !          24658:                      wolfSSL_get_peer_certificate \
        !          24659:                      wolfSSL_UseALPN
        !          24660: do :
        !          24661:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          24662: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
        !          24663: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
        !          24664:   cat >>confdefs.h <<_ACEOF
        !          24665: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
        !          24666: _ACEOF
        !          24667: 
        !          24668: fi
        !          24669: done
        !          24670: 
        !          24671: 
        !          24672:       if test -n "$wolfssllibpath"; then
        !          24673:                                         if test "x$cross_compiling" != "xyes"; then
        !          24674:           CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$wolfssllibpath"
        !          24675:           export CURL_LIBRARY_PATH
        !          24676:           { $as_echo "$as_me:${as_lineno-$LINENO}: Added $wolfssllibpath to CURL_LIBRARY_PATH" >&5
        !          24677: $as_echo "$as_me: Added $wolfssllibpath to CURL_LIBRARY_PATH" >&6;}
        !          24678:         fi
        !          24679:       fi
        !          24680: 
        !          24681:     fi
        !          24682: 
        !          24683:   fi
        !          24684:   test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
        !          24685: fi
        !          24686: 
        !          24687: 
        !          24688: OPT_MESALINK=no
        !          24689: 
        !          24690: _cppflags=$CPPFLAGS
        !          24691: _ldflags=$LDFLAGS
        !          24692: 
        !          24693: # Check whether --with-mesalink was given.
        !          24694: if test "${with_mesalink+set}" = set; then :
        !          24695:   withval=$with_mesalink; OPT_MESALINK=$withval
        !          24696: fi
        !          24697: 
        !          24698: 
        !          24699: if test -z "$ssl_backends" -o "x$OPT_MESALINK" != xno; then
        !          24700:   ssl_msg=
        !          24701: 
        !          24702:   if test X"$OPT_MESALINK" != Xno; then
        !          24703: 
        !          24704:     if test "$OPT_MESALINK" = "yes"; then
        !          24705:       OPT_MESALINK=""
        !          24706:     fi
        !          24707: 
        !          24708:     if test -z "$OPT_MESALINK" ; then
        !          24709: 
        !          24710:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mesalink_library_init in -lmesalink" >&5
        !          24711: $as_echo_n "checking for mesalink_library_init in -lmesalink... " >&6; }
        !          24712: if ${ac_cv_lib_mesalink_mesalink_library_init+:} false; then :
        !          24713:   $as_echo_n "(cached) " >&6
        !          24714: else
        !          24715:   ac_check_lib_save_LIBS=$LIBS
        !          24716: LIBS="-lmesalink  $LIBS"
        !          24717: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          24718: /* end confdefs.h.  */
        !          24719: 
        !          24720: 
        !          24721: #ifdef __cplusplus
        !          24722: extern "C"
        !          24723: #endif
        !          24724: char mesalink_library_init ();
        !          24725: int main (void)
        !          24726: {
        !          24727: return mesalink_library_init ();
        !          24728:  ;
        !          24729:  return 0;
        !          24730: }
        !          24731: _ACEOF
        !          24732: if ac_fn_c_try_link "$LINENO"; then :
        !          24733:   ac_cv_lib_mesalink_mesalink_library_init=yes
        !          24734: else
        !          24735:   ac_cv_lib_mesalink_mesalink_library_init=no
        !          24736: fi
        !          24737: rm -f core conftest.err conftest.$ac_objext \
        !          24738:     conftest$ac_exeext conftest.$ac_ext
        !          24739: LIBS=$ac_check_lib_save_LIBS
        !          24740: fi
        !          24741: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mesalink_mesalink_library_init" >&5
        !          24742: $as_echo "$ac_cv_lib_mesalink_mesalink_library_init" >&6; }
        !          24743: if test "x$ac_cv_lib_mesalink_mesalink_library_init" = xyes; then :
        !          24744: 
        !          24745: 
        !          24746: $as_echo "#define USE_MESALINK 1" >>confdefs.h
        !          24747: 
        !          24748:          USE_MESALINK=1
        !          24749: 
        !          24750:          MESALINK_ENABLED=1
        !          24751:          USE_MESALINK="yes"
        !          24752:          ssl_msg="MesaLink"
        !          24753:         test mesalink != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
        !          24754: 
        !          24755: fi
        !          24756: 
        !          24757:     fi
        !          24758: 
        !          24759:     addld=""
        !          24760:     addlib=""
        !          24761:     addcflags=""
        !          24762:     mesalinklib=""
        !          24763: 
        !          24764:     if test "x$USE_MESALINK" != "xyes"; then
        !          24765:             addld=-L$OPT_MESALINK/lib$libsuff
        !          24766:       addcflags=-I$OPT_MESALINK/include
        !          24767:       mesalinklib=$OPT_MESALINK/lib$libsuff
        !          24768: 
        !          24769:       LDFLAGS="$LDFLAGS $addld"
        !          24770:       if test "$addcflags" != "-I/usr/include"; then
        !          24771:          CPPFLAGS="$CPPFLAGS $addcflags"
        !          24772:       fi
        !          24773: 
        !          24774:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mesalink_library_init in -lmesalink" >&5
        !          24775: $as_echo_n "checking for mesalink_library_init in -lmesalink... " >&6; }
        !          24776: if ${ac_cv_lib_mesalink_mesalink_library_init+:} false; then :
        !          24777:   $as_echo_n "(cached) " >&6
        !          24778: else
        !          24779:   ac_check_lib_save_LIBS=$LIBS
        !          24780: LIBS="-lmesalink  $LIBS"
        !          24781: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          24782: /* end confdefs.h.  */
        !          24783: 
        !          24784: 
        !          24785: #ifdef __cplusplus
        !          24786: extern "C"
        !          24787: #endif
        !          24788: char mesalink_library_init ();
        !          24789: int main (void)
        !          24790: {
        !          24791: return mesalink_library_init ();
        !          24792:  ;
        !          24793:  return 0;
        !          24794: }
        !          24795: _ACEOF
        !          24796: if ac_fn_c_try_link "$LINENO"; then :
        !          24797:   ac_cv_lib_mesalink_mesalink_library_init=yes
        !          24798: else
        !          24799:   ac_cv_lib_mesalink_mesalink_library_init=no
        !          24800: fi
        !          24801: rm -f core conftest.err conftest.$ac_objext \
        !          24802:     conftest$ac_exeext conftest.$ac_ext
        !          24803: LIBS=$ac_check_lib_save_LIBS
        !          24804: fi
        !          24805: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mesalink_mesalink_library_init" >&5
        !          24806: $as_echo "$ac_cv_lib_mesalink_mesalink_library_init" >&6; }
        !          24807: if test "x$ac_cv_lib_mesalink_mesalink_library_init" = xyes; then :
        !          24808: 
        !          24809: 
        !          24810: $as_echo "#define USE_MESALINK 1" >>confdefs.h
        !          24811: 
        !          24812:        USE_MESALINK=1
        !          24813: 
        !          24814:        MESALINK_ENABLED=1
        !          24815:        USE_MESALINK="yes"
        !          24816:        ssl_msg="MesaLink"
        !          24817:        test mesalink != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
        !          24818: 
        !          24819: else
        !          24820: 
        !          24821:          CPPFLAGS=$_cppflags
        !          24822:          LDFLAGS=$_ldflags
        !          24823: 
        !          24824: fi
        !          24825: 
        !          24826:     fi
        !          24827: 
        !          24828:     if test "x$USE_MESALINK" = "xyes"; then
        !          24829:       { $as_echo "$as_me:${as_lineno-$LINENO}: detected MesaLink" >&5
        !          24830: $as_echo "$as_me: detected MesaLink" >&6;}
        !          24831: 
        !          24832:       LIBS="-lmesalink $LIBS"
        !          24833: 
        !          24834:       if test -n "$mesalinklib"; then
        !          24835:                                         if test "x$cross_compiling" != "xyes"; then
        !          24836:           LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$mesalinklib"
        !          24837:           export LD_LIBRARY_PATH
        !          24838:           { $as_echo "$as_me:${as_lineno-$LINENO}: Added $mesalinklib to LD_LIBRARY_PATH" >&5
        !          24839: $as_echo "$as_me: Added $mesalinklib to LD_LIBRARY_PATH" >&6;}
        !          24840:         fi
        !          24841:       fi
        !          24842:     fi
        !          24843: 
        !          24844:   fi
        !          24845:   test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
        !          24846: fi
        !          24847: 
        !          24848: 
        !          24849: OPT_BEARSSL=no
        !          24850: 
        !          24851: _cppflags=$CPPFLAGS
        !          24852: _ldflags=$LDFLAGS
        !          24853: 
        !          24854: # Check whether --with-bearssl was given.
        !          24855: if test "${with_bearssl+set}" = set; then :
        !          24856:   withval=$with_bearssl; OPT_BEARSSL=$withval
        !          24857: fi
        !          24858: 
        !          24859: 
        !          24860: if test -z "$ssl_backends" -o "x$OPT_BEARSSL" != xno; then
        !          24861:   ssl_msg=
        !          24862: 
        !          24863:   if test X"$OPT_BEARSSL" != Xno; then
        !          24864: 
        !          24865:     if test "$OPT_BEARSSL" = "yes"; then
        !          24866:       OPT_BEARSSL=""
        !          24867:     fi
        !          24868: 
        !          24869:     if test -z "$OPT_BEARSSL" ; then
        !          24870: 
        !          24871:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for br_ssl_client_init_full in -lbearssl" >&5
        !          24872: $as_echo_n "checking for br_ssl_client_init_full in -lbearssl... " >&6; }
        !          24873: if ${ac_cv_lib_bearssl_br_ssl_client_init_full+:} false; then :
        !          24874:   $as_echo_n "(cached) " >&6
        !          24875: else
        !          24876:   ac_check_lib_save_LIBS=$LIBS
        !          24877: LIBS="-lbearssl -lbearssl $LIBS"
        !          24878: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          24879: /* end confdefs.h.  */
        !          24880: 
        !          24881: 
        !          24882: #ifdef __cplusplus
        !          24883: extern "C"
        !          24884: #endif
        !          24885: char br_ssl_client_init_full ();
        !          24886: int main (void)
        !          24887: {
        !          24888: return br_ssl_client_init_full ();
        !          24889:  ;
        !          24890:  return 0;
        !          24891: }
        !          24892: _ACEOF
        !          24893: if ac_fn_c_try_link "$LINENO"; then :
        !          24894:   ac_cv_lib_bearssl_br_ssl_client_init_full=yes
        !          24895: else
        !          24896:   ac_cv_lib_bearssl_br_ssl_client_init_full=no
        !          24897: fi
        !          24898: rm -f core conftest.err conftest.$ac_objext \
        !          24899:     conftest$ac_exeext conftest.$ac_ext
        !          24900: LIBS=$ac_check_lib_save_LIBS
        !          24901: fi
        !          24902: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bearssl_br_ssl_client_init_full" >&5
        !          24903: $as_echo "$ac_cv_lib_bearssl_br_ssl_client_init_full" >&6; }
        !          24904: if test "x$ac_cv_lib_bearssl_br_ssl_client_init_full" = xyes; then :
        !          24905: 
        !          24906: 
        !          24907: $as_echo "#define USE_BEARSSL 1" >>confdefs.h
        !          24908: 
        !          24909:          USE_BEARSSL=1
        !          24910: 
        !          24911:          BEARSSL_ENABLED=1
        !          24912:          USE_BEARSSL="yes"
        !          24913:          ssl_msg="BearSSL"
        !          24914:         test bearssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
        !          24915: 
        !          24916: fi
        !          24917: 
        !          24918:     fi
        !          24919: 
        !          24920:     addld=""
        !          24921:     addlib=""
        !          24922:     addcflags=""
        !          24923:     bearssllib=""
        !          24924: 
        !          24925:     if test "x$USE_BEARSSL" != "xyes"; then
        !          24926:             addld=-L$OPT_BEARSSL/lib$libsuff
        !          24927:       addcflags=-I$OPT_BEARSSL/include
        !          24928:       bearssllib=$OPT_BEARSSL/lib$libsuff
        !          24929: 
        !          24930:       LDFLAGS="$LDFLAGS $addld"
        !          24931:       if test "$addcflags" != "-I/usr/include"; then
        !          24932:          CPPFLAGS="$CPPFLAGS $addcflags"
        !          24933:       fi
        !          24934: 
        !          24935:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for br_ssl_client_init_full in -lbearssl" >&5
        !          24936: $as_echo_n "checking for br_ssl_client_init_full in -lbearssl... " >&6; }
        !          24937: if ${ac_cv_lib_bearssl_br_ssl_client_init_full+:} false; then :
        !          24938:   $as_echo_n "(cached) " >&6
        !          24939: else
        !          24940:   ac_check_lib_save_LIBS=$LIBS
        !          24941: LIBS="-lbearssl -lbearssl $LIBS"
        !          24942: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          24943: /* end confdefs.h.  */
        !          24944: 
        !          24945: 
        !          24946: #ifdef __cplusplus
        !          24947: extern "C"
        !          24948: #endif
        !          24949: char br_ssl_client_init_full ();
        !          24950: int main (void)
        !          24951: {
        !          24952: return br_ssl_client_init_full ();
        !          24953:  ;
        !          24954:  return 0;
        !          24955: }
        !          24956: _ACEOF
        !          24957: if ac_fn_c_try_link "$LINENO"; then :
        !          24958:   ac_cv_lib_bearssl_br_ssl_client_init_full=yes
        !          24959: else
        !          24960:   ac_cv_lib_bearssl_br_ssl_client_init_full=no
        !          24961: fi
        !          24962: rm -f core conftest.err conftest.$ac_objext \
        !          24963:     conftest$ac_exeext conftest.$ac_ext
        !          24964: LIBS=$ac_check_lib_save_LIBS
        !          24965: fi
        !          24966: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bearssl_br_ssl_client_init_full" >&5
        !          24967: $as_echo "$ac_cv_lib_bearssl_br_ssl_client_init_full" >&6; }
        !          24968: if test "x$ac_cv_lib_bearssl_br_ssl_client_init_full" = xyes; then :
        !          24969: 
        !          24970: 
        !          24971: $as_echo "#define USE_BEARSSL 1" >>confdefs.h
        !          24972: 
        !          24973:        USE_BEARSSL=1
        !          24974: 
        !          24975:        BEARSSL_ENABLED=1
        !          24976:        USE_BEARSSL="yes"
        !          24977:        ssl_msg="BearSSL"
        !          24978:        test bearssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
        !          24979: 
        !          24980: else
        !          24981: 
        !          24982:          CPPFLAGS=$_cppflags
        !          24983:          LDFLAGS=$_ldflags
        !          24984: 
        !          24985: fi
        !          24986: 
        !          24987:     fi
        !          24988: 
        !          24989:     if test "x$USE_BEARSSL" = "xyes"; then
        !          24990:       { $as_echo "$as_me:${as_lineno-$LINENO}: detected BearSSL" >&5
        !          24991: $as_echo "$as_me: detected BearSSL" >&6;}
        !          24992:       check_for_ca_bundle=1
        !          24993: 
        !          24994:       LIBS="-lbearssl $LIBS"
        !          24995: 
        !          24996:       if test -n "$bearssllib"; then
        !          24997:                                         if test "x$cross_compiling" != "xyes"; then
        !          24998:           CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$bearssllib"
        !          24999:           export CURL_LIBRARY_PATH
        !          25000:           { $as_echo "$as_me:${as_lineno-$LINENO}: Added $bearssllib to CURL_LIBRARY_PATH" >&5
        !          25001: $as_echo "$as_me: Added $bearssllib to CURL_LIBRARY_PATH" >&6;}
        !          25002:         fi
        !          25003:       fi
        !          25004:     fi
        !          25005: 
        !          25006:   fi
        !          25007:   test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
        !          25008: fi
        !          25009: 
        !          25010: 
        !          25011: OPT_NSS=no
        !          25012: 
        !          25013: 
        !          25014: # Check whether --with-nss was given.
        !          25015: if test "${with_nss+set}" = set; then :
        !          25016:   withval=$with_nss; OPT_NSS=$withval
        !          25017: fi
        !          25018: 
        !          25019: 
        !          25020: if test -z "$ssl_backends" -o "x$OPT_NSS" != xno; then
        !          25021:   ssl_msg=
        !          25022: 
        !          25023:   if test X"$OPT_NSS" != Xno; then
        !          25024: 
        !          25025:     addld=""
        !          25026:     addlib=""
        !          25027:     addcflags=""
        !          25028:     nssprefix=""
        !          25029:     version=""
        !          25030: 
        !          25031:     if test "x$OPT_NSS" = "xyes"; then
        !          25032: 
        !          25033: 
        !          25034:     if test -n "$PKG_CONFIG"; then
        !          25035:       PKGCONFIG="$PKG_CONFIG"
        !          25036:     else
        !          25037:       if test -n "$ac_tool_prefix"; then
        !          25038:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
        !          25039: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
        !          25040: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          25041: $as_echo_n "checking for $ac_word... " >&6; }
        !          25042: if ${ac_cv_path_PKGCONFIG+:} false; then :
        !          25043:   $as_echo_n "(cached) " >&6
        !          25044: else
        !          25045:   case $PKGCONFIG in
        !          25046:   [\\/]* | ?:[\\/]*)
        !          25047:   ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
        !          25048:   ;;
        !          25049:   *)
        !          25050:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          25051: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          25052: for as_dir in $as_dummy
        !          25053: do
        !          25054:   IFS=$as_save_IFS
        !          25055:   test -z "$as_dir" && as_dir=.
        !          25056:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          25057:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          25058:     ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          25059:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          25060:     break 2
        !          25061:   fi
        !          25062: done
        !          25063:   done
        !          25064: IFS=$as_save_IFS
        !          25065: 
        !          25066:   ;;
        !          25067: esac
        !          25068: fi
        !          25069: PKGCONFIG=$ac_cv_path_PKGCONFIG
        !          25070: if test -n "$PKGCONFIG"; then
        !          25071:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
        !          25072: $as_echo "$PKGCONFIG" >&6; }
        !          25073: else
        !          25074:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          25075: $as_echo "no" >&6; }
        !          25076: fi
        !          25077: 
        !          25078: 
        !          25079: fi
        !          25080: if test -z "$ac_cv_path_PKGCONFIG"; then
        !          25081:   ac_pt_PKGCONFIG=$PKGCONFIG
        !          25082:   # Extract the first word of "pkg-config", so it can be a program name with args.
        !          25083: set dummy pkg-config; ac_word=$2
        !          25084: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          25085: $as_echo_n "checking for $ac_word... " >&6; }
        !          25086: if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
        !          25087:   $as_echo_n "(cached) " >&6
        !          25088: else
        !          25089:   case $ac_pt_PKGCONFIG in
        !          25090:   [\\/]* | ?:[\\/]*)
        !          25091:   ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
        !          25092:   ;;
        !          25093:   *)
        !          25094:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          25095: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          25096: for as_dir in $as_dummy
        !          25097: do
        !          25098:   IFS=$as_save_IFS
        !          25099:   test -z "$as_dir" && as_dir=.
        !          25100:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          25101:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          25102:     ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          25103:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          25104:     break 2
        !          25105:   fi
        !          25106: done
        !          25107:   done
        !          25108: IFS=$as_save_IFS
        !          25109: 
        !          25110:   ;;
        !          25111: esac
        !          25112: fi
        !          25113: ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
        !          25114: if test -n "$ac_pt_PKGCONFIG"; then
        !          25115:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
        !          25116: $as_echo "$ac_pt_PKGCONFIG" >&6; }
        !          25117: else
        !          25118:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          25119: $as_echo "no" >&6; }
        !          25120: fi
        !          25121: 
        !          25122:   if test "x$ac_pt_PKGCONFIG" = x; then
        !          25123:     PKGCONFIG="no"
        !          25124:   else
        !          25125:     case $cross_compiling:$ac_tool_warned in
        !          25126: yes:)
        !          25127: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          25128: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          25129: ac_tool_warned=yes ;;
        !          25130: esac
        !          25131:     PKGCONFIG=$ac_pt_PKGCONFIG
        !          25132:   fi
        !          25133: else
        !          25134:   PKGCONFIG="$ac_cv_path_PKGCONFIG"
        !          25135: fi
        !          25136: 
        !          25137:     fi
        !          25138: 
        !          25139:     if test "x$PKGCONFIG" != "xno"; then
        !          25140:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nss options with pkg-config" >&5
        !          25141: $as_echo_n "checking for nss options with pkg-config... " >&6; }
        !          25142:             itexists=`
        !          25143:     if test -n ""; then
        !          25144:       PKG_CONFIG_LIBDIR=""
        !          25145:       export PKG_CONFIG_LIBDIR
        !          25146:     fi
        !          25147:          $PKGCONFIG --exists nss >/dev/null 2>&1 && echo 1`
        !          25148: 
        !          25149:       if test -z "$itexists"; then
        !          25150:                         PKGCONFIG="no"
        !          25151:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          25152: $as_echo "no" >&6; }
        !          25153:       else
        !          25154:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
        !          25155: $as_echo "found" >&6; }
        !          25156:       fi
        !          25157:     fi
        !          25158: 
        !          25159: 
        !          25160:       if test "$PKGCONFIG" != "no" ; then
        !          25161:         addlib=`$PKGCONFIG --libs nss`
        !          25162:         addcflags=`$PKGCONFIG --cflags nss`
        !          25163:         version=`$PKGCONFIG --modversion nss`
        !          25164:         nssprefix=`$PKGCONFIG --variable=prefix nss`
        !          25165:       else
        !          25166: 
        !          25167:         check=`nss-config --version 2>/dev/null`
        !          25168:         if test -n "$check"; then
        !          25169:           addlib=`nss-config --libs`
        !          25170:           addcflags=`nss-config --cflags`
        !          25171:           version=`nss-config --version`
        !          25172:           nssprefix=`nss-config --prefix`
        !          25173:         else
        !          25174:           addlib="-lnss3"
        !          25175:           addcflags=""
        !          25176:           version="unknown"
        !          25177:         fi
        !          25178:       fi
        !          25179:     else
        !          25180:       NSS_PCDIR="$OPT_NSS/lib/pkgconfig"
        !          25181:       if test -f "$NSS_PCDIR/nss.pc"; then
        !          25182: 
        !          25183:     if test -n "$PKG_CONFIG"; then
        !          25184:       PKGCONFIG="$PKG_CONFIG"
        !          25185:     else
        !          25186:       if test -n "$ac_tool_prefix"; then
        !          25187:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
        !          25188: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
        !          25189: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          25190: $as_echo_n "checking for $ac_word... " >&6; }
        !          25191: if ${ac_cv_path_PKGCONFIG+:} false; then :
        !          25192:   $as_echo_n "(cached) " >&6
        !          25193: else
        !          25194:   case $PKGCONFIG in
        !          25195:   [\\/]* | ?:[\\/]*)
        !          25196:   ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
        !          25197:   ;;
        !          25198:   *)
        !          25199:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          25200: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          25201: for as_dir in $as_dummy
        !          25202: do
        !          25203:   IFS=$as_save_IFS
        !          25204:   test -z "$as_dir" && as_dir=.
        !          25205:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          25206:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          25207:     ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          25208:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          25209:     break 2
        !          25210:   fi
        !          25211: done
        !          25212:   done
        !          25213: IFS=$as_save_IFS
        !          25214: 
        !          25215:   ;;
        !          25216: esac
        !          25217: fi
        !          25218: PKGCONFIG=$ac_cv_path_PKGCONFIG
        !          25219: if test -n "$PKGCONFIG"; then
        !          25220:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
        !          25221: $as_echo "$PKGCONFIG" >&6; }
        !          25222: else
        !          25223:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          25224: $as_echo "no" >&6; }
        !          25225: fi
        !          25226: 
        !          25227: 
        !          25228: fi
        !          25229: if test -z "$ac_cv_path_PKGCONFIG"; then
        !          25230:   ac_pt_PKGCONFIG=$PKGCONFIG
        !          25231:   # Extract the first word of "pkg-config", so it can be a program name with args.
        !          25232: set dummy pkg-config; ac_word=$2
        !          25233: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          25234: $as_echo_n "checking for $ac_word... " >&6; }
        !          25235: if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
        !          25236:   $as_echo_n "(cached) " >&6
        !          25237: else
        !          25238:   case $ac_pt_PKGCONFIG in
        !          25239:   [\\/]* | ?:[\\/]*)
        !          25240:   ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
        !          25241:   ;;
        !          25242:   *)
        !          25243:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          25244: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          25245: for as_dir in $as_dummy
        !          25246: do
        !          25247:   IFS=$as_save_IFS
        !          25248:   test -z "$as_dir" && as_dir=.
        !          25249:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          25250:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          25251:     ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          25252:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          25253:     break 2
        !          25254:   fi
        !          25255: done
        !          25256:   done
        !          25257: IFS=$as_save_IFS
        !          25258: 
        !          25259:   ;;
        !          25260: esac
        !          25261: fi
        !          25262: ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
        !          25263: if test -n "$ac_pt_PKGCONFIG"; then
        !          25264:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
        !          25265: $as_echo "$ac_pt_PKGCONFIG" >&6; }
        !          25266: else
        !          25267:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          25268: $as_echo "no" >&6; }
        !          25269: fi
        !          25270: 
        !          25271:   if test "x$ac_pt_PKGCONFIG" = x; then
        !          25272:     PKGCONFIG="no"
        !          25273:   else
        !          25274:     case $cross_compiling:$ac_tool_warned in
        !          25275: yes:)
        !          25276: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          25277: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          25278: ac_tool_warned=yes ;;
        !          25279: esac
        !          25280:     PKGCONFIG=$ac_pt_PKGCONFIG
        !          25281:   fi
        !          25282: else
        !          25283:   PKGCONFIG="$ac_cv_path_PKGCONFIG"
        !          25284: fi
        !          25285: 
        !          25286:     fi
        !          25287: 
        !          25288:     if test "x$PKGCONFIG" != "xno"; then
        !          25289:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nss options with pkg-config" >&5
        !          25290: $as_echo_n "checking for nss options with pkg-config... " >&6; }
        !          25291:             itexists=`
        !          25292:     if test -n "$NSS_PCDIR"; then
        !          25293:       PKG_CONFIG_LIBDIR="$NSS_PCDIR"
        !          25294:       export PKG_CONFIG_LIBDIR
        !          25295:     fi
        !          25296:          $PKGCONFIG --exists nss >/dev/null 2>&1 && echo 1`
        !          25297: 
        !          25298:       if test -z "$itexists"; then
        !          25299:                         PKGCONFIG="no"
        !          25300:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          25301: $as_echo "no" >&6; }
        !          25302:       else
        !          25303:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
        !          25304: $as_echo "found" >&6; }
        !          25305:       fi
        !          25306:     fi
        !          25307: 
        !          25308:         if test "$PKGCONFIG" != "no" ; then
        !          25309:           addld=`
        !          25310:     if test -n "$NSS_PCDIR"; then
        !          25311:       PKG_CONFIG_LIBDIR="$NSS_PCDIR"
        !          25312:       export PKG_CONFIG_LIBDIR
        !          25313:     fi
        !          25314:  $PKGCONFIG --libs-only-L nss`
        !          25315:           addlib=`
        !          25316:     if test -n "$NSS_PCDIR"; then
        !          25317:       PKG_CONFIG_LIBDIR="$NSS_PCDIR"
        !          25318:       export PKG_CONFIG_LIBDIR
        !          25319:     fi
        !          25320:  $PKGCONFIG --libs-only-l nss`
        !          25321:           addcflags=`
        !          25322:     if test -n "$NSS_PCDIR"; then
        !          25323:       PKG_CONFIG_LIBDIR="$NSS_PCDIR"
        !          25324:       export PKG_CONFIG_LIBDIR
        !          25325:     fi
        !          25326:  $PKGCONFIG --cflags nss`
        !          25327:           version=`
        !          25328:     if test -n "$NSS_PCDIR"; then
        !          25329:       PKG_CONFIG_LIBDIR="$NSS_PCDIR"
        !          25330:       export PKG_CONFIG_LIBDIR
        !          25331:     fi
        !          25332:  $PKGCONFIG --modversion nss`
        !          25333:           nssprefix=`
        !          25334:     if test -n "$NSS_PCDIR"; then
        !          25335:       PKG_CONFIG_LIBDIR="$NSS_PCDIR"
        !          25336:       export PKG_CONFIG_LIBDIR
        !          25337:     fi
        !          25338:  $PKGCONFIG --variable=prefix nss`
        !          25339:         fi
        !          25340:       fi
        !          25341:     fi
        !          25342: 
        !          25343:     if test -z "$addlib"; then
        !          25344:       # Without pkg-config, we'll kludge in some defaults
        !          25345:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Using hard-wired libraries and compilation flags for NSS." >&5
        !          25346: $as_echo "$as_me: WARNING: Using hard-wired libraries and compilation flags for NSS." >&2;}
        !          25347:       addld="-L$OPT_NSS/lib"
        !          25348:       addlib="-lssl3 -lsmime3 -lnss3 -lplds4 -lplc4 -lnspr4"
        !          25349:       addcflags="-I$OPT_NSS/include"
        !          25350:       version="unknown"
        !          25351:       nssprefix=$OPT_NSS
        !          25352:     fi
        !          25353: 
        !          25354:     CLEANLDFLAGS="$LDFLAGS"
        !          25355:     CLEANLIBS="$LIBS"
        !          25356:     CLEANCPPFLAGS="$CPPFLAGS"
        !          25357: 
        !          25358:     LDFLAGS="$addld $LDFLAGS"
        !          25359:     LIBS="$addlib $LIBS"
        !          25360:     if test "$addcflags" != "-I/usr/include"; then
        !          25361:        CPPFLAGS="$CPPFLAGS $addcflags"
        !          25362:     fi
        !          25363: 
        !          25364:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_VersionRangeSet in -lnss3" >&5
        !          25365: $as_echo_n "checking for SSL_VersionRangeSet in -lnss3... " >&6; }
        !          25366: if ${ac_cv_lib_nss3_SSL_VersionRangeSet+:} false; then :
        !          25367:   $as_echo_n "(cached) " >&6
        !          25368: else
        !          25369:   ac_check_lib_save_LIBS=$LIBS
        !          25370: LIBS="-lnss3  $LIBS"
        !          25371: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          25372: /* end confdefs.h.  */
        !          25373: 
        !          25374: 
        !          25375: #ifdef __cplusplus
        !          25376: extern "C"
        !          25377: #endif
        !          25378: char SSL_VersionRangeSet ();
        !          25379: int main (void)
        !          25380: {
        !          25381: return SSL_VersionRangeSet ();
        !          25382:  ;
        !          25383:  return 0;
        !          25384: }
        !          25385: _ACEOF
        !          25386: if ac_fn_c_try_link "$LINENO"; then :
        !          25387:   ac_cv_lib_nss3_SSL_VersionRangeSet=yes
        !          25388: else
        !          25389:   ac_cv_lib_nss3_SSL_VersionRangeSet=no
        !          25390: fi
        !          25391: rm -f core conftest.err conftest.$ac_objext \
        !          25392:     conftest$ac_exeext conftest.$ac_ext
        !          25393: LIBS=$ac_check_lib_save_LIBS
        !          25394: fi
        !          25395: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss3_SSL_VersionRangeSet" >&5
        !          25396: $as_echo "$ac_cv_lib_nss3_SSL_VersionRangeSet" >&6; }
        !          25397: if test "x$ac_cv_lib_nss3_SSL_VersionRangeSet" = xyes; then :
        !          25398: 
        !          25399: 
        !          25400: $as_echo "#define USE_NSS 1" >>confdefs.h
        !          25401: 
        !          25402:      USE_NSS=1
        !          25403: 
        !          25404:      USE_NSS="yes"
        !          25405:      NSS_ENABLED=1
        !          25406:      ssl_msg="NSS"
        !          25407:      test nss != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
        !          25408: 
        !          25409: else
        !          25410: 
        !          25411:        LDFLAGS="$CLEANLDFLAGS"
        !          25412:        LIBS="$CLEANLIBS"
        !          25413:        CPPFLAGS="$CLEANCPPFLAGS"
        !          25414: 
        !          25415: fi
        !          25416: 
        !          25417: 
        !          25418:     if test "x$USE_NSS" = "xyes"; then
        !          25419:       { $as_echo "$as_me:${as_lineno-$LINENO}: detected NSS version $version" >&5
        !          25420: $as_echo "$as_me: detected NSS version $version" >&6;}
        !          25421: 
        !          25422:                         ac_fn_c_check_func "$LINENO" "PK11_CreateManagedGenericObject" "ac_cv_func_PK11_CreateManagedGenericObject"
        !          25423: if test "x$ac_cv_func_PK11_CreateManagedGenericObject" = xyes; then :
        !          25424: 
        !          25425: 
        !          25426: $as_echo "#define HAVE_PK11_CREATEMANAGEDGENERICOBJECT 1" >>confdefs.h
        !          25427: 
        !          25428: 
        !          25429: fi
        !          25430: 
        !          25431: 
        !          25432:             NSS_LIBS=$addlib
        !          25433: 
        !          25434: 
        !          25435:                               if test "x$cross_compiling" != "xyes"; then
        !          25436:         CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$nssprefix/lib$libsuff"
        !          25437:         export CURL_LIBRARY_PATH
        !          25438:         { $as_echo "$as_me:${as_lineno-$LINENO}: Added $nssprefix/lib$libsuff to CURL_LIBRARY_PATH" >&5
        !          25439: $as_echo "$as_me: Added $nssprefix/lib$libsuff to CURL_LIBRARY_PATH" >&6;}
        !          25440:       fi
        !          25441: 
        !          25442:     fi
        !          25443:   fi
        !          25444:   test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
        !          25445: fi
        !          25446: 
        !          25447: case "x$OPENSSL_ENABLED$GNUTLS_ENABLED$NSS_ENABLED$MBEDTLS_ENABLED$WOLFSSL_ENABLED$WINSSL_ENABLED$SECURETRANSPORT_ENABLED$MESALINK_ENABLED$BEARSSL_ENABLED$AMISSL_ENABLED" in
        !          25448: x)
        !          25449:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more." >&5
        !          25450: $as_echo "$as_me: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more." >&2;}
        !          25451:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Use --with-ssl, --with-gnutls, --with-wolfssl, --with-mbedtls, --with-nss, --with-schannel, --with-secure-transport, --with-mesalink, --with-amissl or --with-bearssl to address this." >&5
        !          25452: $as_echo "$as_me: WARNING: Use --with-ssl, --with-gnutls, --with-wolfssl, --with-mbedtls, --with-nss, --with-schannel, --with-secure-transport, --with-mesalink, --with-amissl or --with-bearssl to address this." >&2;}
        !          25453:   ;;
        !          25454: x1)
        !          25455:   # one SSL backend is enabled
        !          25456: 
        !          25457:   SSL_ENABLED="1"
        !          25458:   { $as_echo "$as_me:${as_lineno-$LINENO}: built with one SSL backend" >&5
        !          25459: $as_echo "$as_me: built with one SSL backend" >&6;}
        !          25460:   ;;
        !          25461: *)
        !          25462:   # more than one SSL backend is enabled
        !          25463: 
        !          25464:   SSL_ENABLED="1"
        !          25465: 
        !          25466:   CURL_WITH_MULTI_SSL="1"
        !          25467: 
        !          25468: $as_echo "#define CURL_WITH_MULTI_SSL 1" >>confdefs.h
        !          25469: 
        !          25470:   { $as_echo "$as_me:${as_lineno-$LINENO}: built with multiple SSL backends" >&5
        !          25471: $as_echo "$as_me: built with multiple SSL backends" >&6;}
        !          25472:   ;;
        !          25473: esac
        !          25474: 
        !          25475: if test -n "$ssl_backends"; then
        !          25476:   curl_ssl_msg="enabled ($ssl_backends)"
        !          25477: fi
        !          25478: 
        !          25479: if test no = "$VALID_DEFAULT_SSL_BACKEND"
        !          25480: then
        !          25481:   if test -n "$SSL_ENABLED"
        !          25482:   then
        !          25483:     as_fn_error $? "Default SSL backend $DEFAULT_SSL_BACKEND not enabled!" "$LINENO" 5
        !          25484:   else
        !          25485:     as_fn_error $? "Default SSL backend requires SSL!" "$LINENO" 5
        !          25486:   fi
        !          25487: elif test yes = "$VALID_DEFAULT_SSL_BACKEND"
        !          25488: then
        !          25489: 
        !          25490: cat >>confdefs.h <<_ACEOF
        !          25491: #define CURL_DEFAULT_SSL_BACKEND "$DEFAULT_SSL_BACKEND"
        !          25492: _ACEOF
        !          25493: 
        !          25494: fi
        !          25495: 
        !          25496: 
        !          25497: if test -n "$check_for_ca_bundle"; then
        !          25498: 
        !          25499: 
        !          25500:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking default CA cert bundle/path" >&5
        !          25501: $as_echo_n "checking default CA cert bundle/path... " >&6; }
        !          25502: 
        !          25503: 
        !          25504: # Check whether --with-ca-bundle was given.
        !          25505: if test "${with_ca_bundle+set}" = set; then :
        !          25506:   withval=$with_ca_bundle;
        !          25507:     want_ca="$withval"
        !          25508:     if test "x$want_ca" = "xyes"; then
        !          25509:       as_fn_error $? "--with-ca-bundle=FILE requires a path to the CA bundle" "$LINENO" 5
        !          25510:     fi
        !          25511: 
        !          25512: else
        !          25513:    want_ca="unset"
        !          25514: fi
        !          25515: 
        !          25516: 
        !          25517: # Check whether --with-ca-path was given.
        !          25518: if test "${with_ca_path+set}" = set; then :
        !          25519:   withval=$with_ca_path;
        !          25520:     want_capath="$withval"
        !          25521:     if test "x$want_capath" = "xyes"; then
        !          25522:       as_fn_error $? "--with-ca-path=DIRECTORY requires a path to the CA path directory" "$LINENO" 5
        !          25523:     fi
        !          25524: 
        !          25525: else
        !          25526:    want_capath="unset"
        !          25527: fi
        !          25528: 
        !          25529: 
        !          25530:   ca_warning="   (warning: certs not found)"
        !          25531:   capath_warning="   (warning: certs not found)"
        !          25532:   check_capath=""
        !          25533: 
        !          25534:   if test "x$want_ca" != "xno" -a "x$want_ca" != "xunset" -a \
        !          25535:           "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then
        !          25536:         ca="$want_ca"
        !          25537:     capath="$want_capath"
        !          25538:   elif test "x$want_ca" != "xno" -a "x$want_ca" != "xunset"; then
        !          25539:         ca="$want_ca"
        !          25540:     capath="no"
        !          25541:   elif test "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then
        !          25542:         if test "x$OPENSSL_ENABLED" != "x1" -a "x$GNUTLS_ENABLED" != "x1" -a "x$MBEDTLS_ENABLED" != "x1"; then
        !          25543:       as_fn_error $? "--with-ca-path only works with OpenSSL, GnuTLS or mbedTLS" "$LINENO" 5
        !          25544:     fi
        !          25545:     capath="$want_capath"
        !          25546:     ca="no"
        !          25547:   else
        !          25548:             ca="no"
        !          25549:     capath="no"
        !          25550:     if test "x$cross_compiling" != "xyes"; then
        !          25551:                   if test "x$want_ca" = "xunset"; then
        !          25552:                                 if test "x$prefix" != xNONE; then
        !          25553:           cac="${prefix}/share/curl/curl-ca-bundle.crt"
        !          25554:         else
        !          25555:           cac="$ac_default_prefix/share/curl/curl-ca-bundle.crt"
        !          25556:         fi
        !          25557: 
        !          25558:         for a in /etc/ssl/certs/ca-certificates.crt \
        !          25559:                  /etc/pki/tls/certs/ca-bundle.crt \
        !          25560:                  /usr/share/ssl/certs/ca-bundle.crt \
        !          25561:                  /usr/local/share/certs/ca-root-nss.crt \
        !          25562:                  /etc/ssl/cert.pem \
        !          25563:                  "$cac"; do
        !          25564:           if test -f "$a"; then
        !          25565:             ca="$a"
        !          25566:             break
        !          25567:           fi
        !          25568:         done
        !          25569:       fi
        !          25570:       if test "x$want_capath" = "xunset" -a "x$ca" = "xno" -a \
        !          25571:               "x$OPENSSL_ENABLED" = "x1"; then
        !          25572:         check_capath="/etc/ssl/certs/"
        !          25573:       fi
        !          25574:     else
        !          25575:             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: skipped the ca-cert path detection when cross-compiling" >&5
        !          25576: $as_echo "$as_me: WARNING: skipped the ca-cert path detection when cross-compiling" >&2;}
        !          25577:     fi
        !          25578:   fi
        !          25579: 
        !          25580:   if test "x$ca" = "xno" || test -f "$ca"; then
        !          25581:     ca_warning=""
        !          25582:   fi
        !          25583: 
        !          25584:   if test "x$capath" != "xno"; then
        !          25585:     check_capath="$capath"
        !          25586:   fi
        !          25587: 
        !          25588:   if test ! -z "$check_capath"; then
        !          25589:     for a in "$check_capath"; do
        !          25590:       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 >/dev/null 2>/dev/null; then
        !          25591:         if test "x$capath" = "xno"; then
        !          25592:           capath="$a"
        !          25593:         fi
        !          25594:         capath_warning=""
        !          25595:         break
        !          25596:       fi
        !          25597:     done
        !          25598:   fi
        !          25599: 
        !          25600:   if test "x$capath" = "xno"; then
        !          25601:     capath_warning=""
        !          25602:   fi
        !          25603: 
        !          25604:   if test "x$ca" != "xno"; then
        !          25605:     CURL_CA_BUNDLE='"'$ca'"'
        !          25606: 
        !          25607: cat >>confdefs.h <<_ACEOF
        !          25608: #define CURL_CA_BUNDLE "$ca"
        !          25609: _ACEOF
        !          25610: 
        !          25611: 
        !          25612:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ca" >&5
        !          25613: $as_echo "$ca" >&6; }
        !          25614:   fi
        !          25615:   if test "x$capath" != "xno"; then
        !          25616:     CURL_CA_PATH="\"$capath\""
        !          25617: 
        !          25618: cat >>confdefs.h <<_ACEOF
        !          25619: #define CURL_CA_PATH "$capath"
        !          25620: _ACEOF
        !          25621: 
        !          25622:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $capath (capath)" >&5
        !          25623: $as_echo "$capath (capath)" >&6; }
        !          25624:   fi
        !          25625:   if test "x$ca" = "xno" && test "x$capath" = "xno"; then
        !          25626:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          25627: $as_echo "no" >&6; }
        !          25628:   fi
        !          25629: 
        !          25630:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use builtin CA store of SSL library" >&5
        !          25631: $as_echo_n "checking whether to use builtin CA store of SSL library... " >&6; }
        !          25632: 
        !          25633: # Check whether --with-ca-fallback was given.
        !          25634: if test "${with_ca_fallback+set}" = set; then :
        !          25635:   withval=$with_ca_fallback;
        !          25636:     if test "x$with_ca_fallback" != "xyes" -a "x$with_ca_fallback" != "xno"; then
        !          25637:       as_fn_error $? "--with-ca-fallback only allows yes or no as parameter" "$LINENO" 5
        !          25638:     fi
        !          25639: 
        !          25640: else
        !          25641:    with_ca_fallback="no"
        !          25642: fi
        !          25643: 
        !          25644:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ca_fallback" >&5
        !          25645: $as_echo "$with_ca_fallback" >&6; }
        !          25646:   if test "x$with_ca_fallback" = "xyes"; then
        !          25647:     if test "x$OPENSSL_ENABLED" != "x1" -a "x$GNUTLS_ENABLED" != "x1"; then
        !          25648:       as_fn_error $? "--with-ca-fallback only works with OpenSSL or GnuTLS" "$LINENO" 5
        !          25649:     fi
        !          25650: 
        !          25651: cat >>confdefs.h <<_ACEOF
        !          25652: #define CURL_CA_FALLBACK 1
        !          25653: _ACEOF
        !          25654: 
        !          25655:   fi
        !          25656: 
        !          25657: fi
        !          25658: 
        !          25659: 
        !          25660: 
        !          25661: # Check whether --with-libpsl was given.
        !          25662: if test "${with_libpsl+set}" = set; then :
        !          25663:   withval=$with_libpsl; with_libpsl=$withval
        !          25664: else
        !          25665:   with_libpsl=yes
        !          25666: fi
        !          25667: 
        !          25668: if test $with_libpsl != "no"; then
        !          25669:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing psl_builtin" >&5
        !          25670: $as_echo_n "checking for library containing psl_builtin... " >&6; }
        !          25671: if ${ac_cv_search_psl_builtin+:} false; then :
        !          25672:   $as_echo_n "(cached) " >&6
        !          25673: else
        !          25674:   ac_func_search_save_LIBS=$LIBS
        !          25675: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          25676: /* end confdefs.h.  */
        !          25677: 
        !          25678: 
        !          25679: #ifdef __cplusplus
        !          25680: extern "C"
        !          25681: #endif
        !          25682: char psl_builtin ();
        !          25683: int main (void)
        !          25684: {
        !          25685: return psl_builtin ();
        !          25686:  ;
        !          25687:  return 0;
        !          25688: }
        !          25689: _ACEOF
        !          25690: for ac_lib in '' psl; do
        !          25691:   if test -z "$ac_lib"; then
        !          25692:     ac_res="none required"
        !          25693:   else
        !          25694:     ac_res=-l$ac_lib
        !          25695:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
        !          25696:   fi
        !          25697:   if ac_fn_c_try_link "$LINENO"; then :
        !          25698:   ac_cv_search_psl_builtin=$ac_res
        !          25699: fi
        !          25700: rm -f core conftest.err conftest.$ac_objext \
        !          25701:     conftest$ac_exeext
        !          25702:   if ${ac_cv_search_psl_builtin+:} false; then :
        !          25703:   break
        !          25704: fi
        !          25705: done
        !          25706: if ${ac_cv_search_psl_builtin+:} false; then :
        !          25707: 
        !          25708: else
        !          25709:   ac_cv_search_psl_builtin=no
        !          25710: fi
        !          25711: rm conftest.$ac_ext
        !          25712: LIBS=$ac_func_search_save_LIBS
        !          25713: fi
        !          25714: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_psl_builtin" >&5
        !          25715: $as_echo "$ac_cv_search_psl_builtin" >&6; }
        !          25716: ac_res=$ac_cv_search_psl_builtin
        !          25717: if test "$ac_res" != no; then :
        !          25718:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
        !          25719:   curl_psl_msg="enabled";
        !          25720: 
        !          25721: $as_echo "#define USE_LIBPSL 1" >>confdefs.h
        !          25722: 
        !          25723: 
        !          25724: else
        !          25725:   curl_psl_msg="no      (libpsl not found)";
        !          25726:      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libpsl was not found" >&5
        !          25727: $as_echo "$as_me: WARNING: libpsl was not found" >&2;}
        !          25728: 
        !          25729: 
        !          25730: fi
        !          25731: 
        !          25732: fi
        !          25733:  if test "$curl_psl_msg" = "enabled"; then
        !          25734:   USE_LIBPSL_TRUE=
        !          25735:   USE_LIBPSL_FALSE='#'
        !          25736: else
        !          25737:   USE_LIBPSL_TRUE='#'
        !          25738:   USE_LIBPSL_FALSE=
        !          25739: fi
        !          25740: 
        !          25741: 
        !          25742: 
        !          25743: OPT_LIBMETALINK=no
        !          25744: 
        !          25745: 
        !          25746: # Check whether --with-libmetalink was given.
        !          25747: if test "${with_libmetalink+set}" = set; then :
        !          25748:   withval=$with_libmetalink; OPT_LIBMETALINK=$withval
        !          25749: fi
        !          25750: 
        !          25751: 
        !          25752: if test X"$OPT_LIBMETALINK" != Xno; then
        !          25753: 
        !          25754:   addld=""
        !          25755:   addlib=""
        !          25756:   addcflags=""
        !          25757:   version=""
        !          25758:   libmetalinklib=""
        !          25759: 
        !          25760:   PKGTEST="no"
        !          25761:   if test "x$OPT_LIBMETALINK" = "xyes"; then
        !          25762:         PKGTEST="yes"
        !          25763: 
        !          25764:     if test -n "$PKG_CONFIG"; then
        !          25765:       PKGCONFIG="$PKG_CONFIG"
        !          25766:     else
        !          25767:       if test -n "$ac_tool_prefix"; then
        !          25768:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
        !          25769: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
        !          25770: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          25771: $as_echo_n "checking for $ac_word... " >&6; }
        !          25772: if ${ac_cv_path_PKGCONFIG+:} false; then :
        !          25773:   $as_echo_n "(cached) " >&6
        !          25774: else
        !          25775:   case $PKGCONFIG in
        !          25776:   [\\/]* | ?:[\\/]*)
        !          25777:   ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
        !          25778:   ;;
        !          25779:   *)
        !          25780:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          25781: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          25782: for as_dir in $as_dummy
        !          25783: do
        !          25784:   IFS=$as_save_IFS
        !          25785:   test -z "$as_dir" && as_dir=.
        !          25786:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          25787:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          25788:     ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          25789:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          25790:     break 2
        !          25791:   fi
        !          25792: done
        !          25793:   done
        !          25794: IFS=$as_save_IFS
        !          25795: 
        !          25796:   ;;
        !          25797: esac
        !          25798: fi
        !          25799: PKGCONFIG=$ac_cv_path_PKGCONFIG
        !          25800: if test -n "$PKGCONFIG"; then
        !          25801:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
        !          25802: $as_echo "$PKGCONFIG" >&6; }
        !          25803: else
        !          25804:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          25805: $as_echo "no" >&6; }
        !          25806: fi
        !          25807: 
        !          25808: 
        !          25809: fi
        !          25810: if test -z "$ac_cv_path_PKGCONFIG"; then
        !          25811:   ac_pt_PKGCONFIG=$PKGCONFIG
        !          25812:   # Extract the first word of "pkg-config", so it can be a program name with args.
        !          25813: set dummy pkg-config; ac_word=$2
        !          25814: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          25815: $as_echo_n "checking for $ac_word... " >&6; }
        !          25816: if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
        !          25817:   $as_echo_n "(cached) " >&6
        !          25818: else
        !          25819:   case $ac_pt_PKGCONFIG in
        !          25820:   [\\/]* | ?:[\\/]*)
        !          25821:   ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
        !          25822:   ;;
        !          25823:   *)
        !          25824:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          25825: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          25826: for as_dir in $as_dummy
        !          25827: do
        !          25828:   IFS=$as_save_IFS
        !          25829:   test -z "$as_dir" && as_dir=.
        !          25830:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          25831:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          25832:     ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          25833:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          25834:     break 2
        !          25835:   fi
        !          25836: done
        !          25837:   done
        !          25838: IFS=$as_save_IFS
        !          25839: 
        !          25840:   ;;
        !          25841: esac
        !          25842: fi
        !          25843: ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
        !          25844: if test -n "$ac_pt_PKGCONFIG"; then
        !          25845:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
        !          25846: $as_echo "$ac_pt_PKGCONFIG" >&6; }
        !          25847: else
        !          25848:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          25849: $as_echo "no" >&6; }
        !          25850: fi
        !          25851: 
        !          25852:   if test "x$ac_pt_PKGCONFIG" = x; then
        !          25853:     PKGCONFIG="no"
        !          25854:   else
        !          25855:     case $cross_compiling:$ac_tool_warned in
        !          25856: yes:)
        !          25857: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          25858: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          25859: ac_tool_warned=yes ;;
        !          25860: esac
        !          25861:     PKGCONFIG=$ac_pt_PKGCONFIG
        !          25862:   fi
        !          25863: else
        !          25864:   PKGCONFIG="$ac_cv_path_PKGCONFIG"
        !          25865: fi
        !          25866: 
        !          25867:     fi
        !          25868: 
        !          25869:     if test "x$PKGCONFIG" != "xno"; then
        !          25870:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmetalink options with pkg-config" >&5
        !          25871: $as_echo_n "checking for libmetalink options with pkg-config... " >&6; }
        !          25872:             itexists=`
        !          25873:     if test -n ""; then
        !          25874:       PKG_CONFIG_LIBDIR=""
        !          25875:       export PKG_CONFIG_LIBDIR
        !          25876:     fi
        !          25877:          $PKGCONFIG --exists libmetalink >/dev/null 2>&1 && echo 1`
        !          25878: 
        !          25879:       if test -z "$itexists"; then
        !          25880:                         PKGCONFIG="no"
        !          25881:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          25882: $as_echo "no" >&6; }
        !          25883:       else
        !          25884:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
        !          25885: $as_echo "found" >&6; }
        !          25886:       fi
        !          25887:     fi
        !          25888: 
        !          25889:   else
        !          25890:         LIBMETALINK_PCDIR="$OPT_LIBMETALINK/lib/pkgconfig"
        !          25891:     { $as_echo "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$LIBMETALINK_PCDIR\"" >&5
        !          25892: $as_echo "$as_me: PKG_CONFIG_LIBDIR will be set to \"$LIBMETALINK_PCDIR\"" >&6;}
        !          25893:     if test -f "$LIBMETALINK_PCDIR/libmetalink.pc"; then
        !          25894:       PKGTEST="yes"
        !          25895:     fi
        !          25896:     if test "$PKGTEST" = "yes"; then
        !          25897: 
        !          25898:     if test -n "$PKG_CONFIG"; then
        !          25899:       PKGCONFIG="$PKG_CONFIG"
        !          25900:     else
        !          25901:       if test -n "$ac_tool_prefix"; then
        !          25902:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
        !          25903: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
        !          25904: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          25905: $as_echo_n "checking for $ac_word... " >&6; }
        !          25906: if ${ac_cv_path_PKGCONFIG+:} false; then :
        !          25907:   $as_echo_n "(cached) " >&6
        !          25908: else
        !          25909:   case $PKGCONFIG in
        !          25910:   [\\/]* | ?:[\\/]*)
        !          25911:   ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
        !          25912:   ;;
        !          25913:   *)
        !          25914:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          25915: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          25916: for as_dir in $as_dummy
        !          25917: do
        !          25918:   IFS=$as_save_IFS
        !          25919:   test -z "$as_dir" && as_dir=.
        !          25920:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          25921:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          25922:     ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          25923:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          25924:     break 2
        !          25925:   fi
        !          25926: done
        !          25927:   done
        !          25928: IFS=$as_save_IFS
        !          25929: 
        !          25930:   ;;
        !          25931: esac
        !          25932: fi
        !          25933: PKGCONFIG=$ac_cv_path_PKGCONFIG
        !          25934: if test -n "$PKGCONFIG"; then
        !          25935:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
        !          25936: $as_echo "$PKGCONFIG" >&6; }
        !          25937: else
        !          25938:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          25939: $as_echo "no" >&6; }
        !          25940: fi
        !          25941: 
        !          25942: 
        !          25943: fi
        !          25944: if test -z "$ac_cv_path_PKGCONFIG"; then
        !          25945:   ac_pt_PKGCONFIG=$PKGCONFIG
        !          25946:   # Extract the first word of "pkg-config", so it can be a program name with args.
        !          25947: set dummy pkg-config; ac_word=$2
        !          25948: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          25949: $as_echo_n "checking for $ac_word... " >&6; }
        !          25950: if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
        !          25951:   $as_echo_n "(cached) " >&6
        !          25952: else
        !          25953:   case $ac_pt_PKGCONFIG in
        !          25954:   [\\/]* | ?:[\\/]*)
        !          25955:   ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
        !          25956:   ;;
        !          25957:   *)
        !          25958:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          25959: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          25960: for as_dir in $as_dummy
        !          25961: do
        !          25962:   IFS=$as_save_IFS
        !          25963:   test -z "$as_dir" && as_dir=.
        !          25964:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          25965:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          25966:     ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          25967:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          25968:     break 2
        !          25969:   fi
        !          25970: done
        !          25971:   done
        !          25972: IFS=$as_save_IFS
        !          25973: 
        !          25974:   ;;
        !          25975: esac
        !          25976: fi
        !          25977: ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
        !          25978: if test -n "$ac_pt_PKGCONFIG"; then
        !          25979:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
        !          25980: $as_echo "$ac_pt_PKGCONFIG" >&6; }
        !          25981: else
        !          25982:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          25983: $as_echo "no" >&6; }
        !          25984: fi
        !          25985: 
        !          25986:   if test "x$ac_pt_PKGCONFIG" = x; then
        !          25987:     PKGCONFIG="no"
        !          25988:   else
        !          25989:     case $cross_compiling:$ac_tool_warned in
        !          25990: yes:)
        !          25991: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          25992: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          25993: ac_tool_warned=yes ;;
        !          25994: esac
        !          25995:     PKGCONFIG=$ac_pt_PKGCONFIG
        !          25996:   fi
        !          25997: else
        !          25998:   PKGCONFIG="$ac_cv_path_PKGCONFIG"
        !          25999: fi
        !          26000: 
        !          26001:     fi
        !          26002: 
        !          26003:     if test "x$PKGCONFIG" != "xno"; then
        !          26004:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmetalink options with pkg-config" >&5
        !          26005: $as_echo_n "checking for libmetalink options with pkg-config... " >&6; }
        !          26006:             itexists=`
        !          26007:     if test -n "$LIBMETALINK_PCDIR"; then
        !          26008:       PKG_CONFIG_LIBDIR="$LIBMETALINK_PCDIR"
        !          26009:       export PKG_CONFIG_LIBDIR
        !          26010:     fi
        !          26011:          $PKGCONFIG --exists libmetalink >/dev/null 2>&1 && echo 1`
        !          26012: 
        !          26013:       if test -z "$itexists"; then
        !          26014:                         PKGCONFIG="no"
        !          26015:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          26016: $as_echo "no" >&6; }
        !          26017:       else
        !          26018:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
        !          26019: $as_echo "found" >&6; }
        !          26020:       fi
        !          26021:     fi
        !          26022: 
        !          26023:     fi
        !          26024:   fi
        !          26025:   if test "$PKGTEST" = "yes" && test "$PKGCONFIG" != "no"; then
        !          26026:     addlib=`
        !          26027:     if test -n "$LIBMETALINK_PCDIR"; then
        !          26028:       PKG_CONFIG_LIBDIR="$LIBMETALINK_PCDIR"
        !          26029:       export PKG_CONFIG_LIBDIR
        !          26030:     fi
        !          26031:        $PKGCONFIG --libs-only-l libmetalink`
        !          26032:     addld=`
        !          26033:     if test -n "$LIBMETALINK_PCDIR"; then
        !          26034:       PKG_CONFIG_LIBDIR="$LIBMETALINK_PCDIR"
        !          26035:       export PKG_CONFIG_LIBDIR
        !          26036:     fi
        !          26037:        $PKGCONFIG --libs-only-L libmetalink`
        !          26038:     addcflags=`
        !          26039:     if test -n "$LIBMETALINK_PCDIR"; then
        !          26040:       PKG_CONFIG_LIBDIR="$LIBMETALINK_PCDIR"
        !          26041:       export PKG_CONFIG_LIBDIR
        !          26042:     fi
        !          26043:        $PKGCONFIG --cflags-only-I libmetalink`
        !          26044:     version=`
        !          26045:     if test -n "$LIBMETALINK_PCDIR"; then
        !          26046:       PKG_CONFIG_LIBDIR="$LIBMETALINK_PCDIR"
        !          26047:       export PKG_CONFIG_LIBDIR
        !          26048:     fi
        !          26049:        $PKGCONFIG --modversion libmetalink`
        !          26050:     libmetalinklib=`echo $addld | $SED -e 's/-L//'`
        !          26051:   fi
        !          26052:   if test -n "$addlib"; then
        !          26053: 
        !          26054:     clean_CPPFLAGS="$CPPFLAGS"
        !          26055:     clean_LDFLAGS="$LDFLAGS"
        !          26056:     clean_LIBS="$LIBS"
        !          26057:     CPPFLAGS="$clean_CPPFLAGS $addcflags"
        !          26058:     LDFLAGS="$clean_LDFLAGS $addld"
        !          26059:     LIBS="$addlib $clean_LIBS"
        !          26060:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libmetalink is recent enough" >&5
        !          26061: $as_echo_n "checking if libmetalink is recent enough... " >&6; }
        !          26062:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          26063: /* end confdefs.h.  */
        !          26064: 
        !          26065: 
        !          26066: #       include <metalink/metalink.h>
        !          26067: 
        !          26068: int main (void)
        !          26069: {
        !          26070: 
        !          26071:         if(0 != metalink_strerror(0)) /* added in 0.1.0 */
        !          26072:           return 1;
        !          26073: 
        !          26074:  ;
        !          26075:  return 0;
        !          26076: }
        !          26077: 
        !          26078: _ACEOF
        !          26079: if ac_fn_c_try_link "$LINENO"; then :
        !          26080: 
        !          26081:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($version)" >&5
        !          26082: $as_echo "yes ($version)" >&6; }
        !          26083:       want_metalink="yes"
        !          26084: 
        !          26085: else
        !          26086: 
        !          26087:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($version)" >&5
        !          26088: $as_echo "no ($version)" >&6; }
        !          26089:       { $as_echo "$as_me:${as_lineno-$LINENO}: libmetalink library defective or too old" >&5
        !          26090: $as_echo "$as_me: libmetalink library defective or too old" >&6;}
        !          26091:       want_metalink="no"
        !          26092: 
        !          26093: fi
        !          26094: rm -f core conftest.err conftest.$ac_objext \
        !          26095:     conftest$ac_exeext conftest.$ac_ext
        !          26096:     if test "x$OPENSSL_ENABLED" != "x1" -a "x$USE_WINDOWS_SSPI" != "x1" \
        !          26097:         -a "x$GNUTLS_ENABLED" != "x1" -a "x$NSS_ENABLED" != "x1" \
        !          26098:         -a "x$SECURETRANSPORT_ENABLED" != "x1"; then
        !          26099:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: metalink support requires a compatible SSL/TLS backend" >&5
        !          26100: $as_echo "$as_me: WARNING: metalink support requires a compatible SSL/TLS backend" >&2;}
        !          26101:       want_metalink="no"
        !          26102:     fi
        !          26103:     CPPFLAGS="$clean_CPPFLAGS"
        !          26104:     LDFLAGS="$clean_LDFLAGS"
        !          26105:     LIBS="$clean_LIBS"
        !          26106:     if test "$want_metalink" = "yes"; then
        !          26107: 
        !          26108: $as_echo "#define USE_METALINK 1" >>confdefs.h
        !          26109: 
        !          26110:       LIBMETALINK_LIBS=$addlib
        !          26111:       LIBMETALINK_LDFLAGS=$addld
        !          26112:       LIBMETALINK_CPPFLAGS=$addcflags
        !          26113: 
        !          26114: 
        !          26115: 
        !          26116:       curl_mtlnk_msg="enabled"
        !          26117:     fi
        !          26118: 
        !          26119:   fi
        !          26120: fi
        !          26121: 
        !          26122: 
        !          26123: OPT_LIBSSH2=off
        !          26124: 
        !          26125: # Check whether --with-libssh2 was given.
        !          26126: if test "${with_libssh2+set}" = set; then :
        !          26127:   withval=$with_libssh2; OPT_LIBSSH2=$withval
        !          26128: else
        !          26129:   OPT_LIBSSH2=no
        !          26130: fi
        !          26131: 
        !          26132: 
        !          26133: 
        !          26134: OPT_LIBSSH=off
        !          26135: 
        !          26136: # Check whether --with-libssh was given.
        !          26137: if test "${with_libssh+set}" = set; then :
        !          26138:   withval=$with_libssh; OPT_LIBSSH=$withval
        !          26139: else
        !          26140:   OPT_LIBSSH=no
        !          26141: fi
        !          26142: 
        !          26143: 
        !          26144: OPT_WOLFSSH=off
        !          26145: 
        !          26146: # Check whether --with-wolfssh was given.
        !          26147: if test "${with_wolfssh+set}" = set; then :
        !          26148:   withval=$with_wolfssh; OPT_WOLFSSH=$withval
        !          26149: else
        !          26150:   OPT_WOLFSSH=no
        !          26151: fi
        !          26152: 
        !          26153: 
        !          26154: if test X"$OPT_LIBSSH2" != Xno; then
        !          26155:     CLEANLDFLAGS="$LDFLAGS"
        !          26156:   CLEANCPPFLAGS="$CPPFLAGS"
        !          26157:   CLEANLIBS="$LIBS"
        !          26158: 
        !          26159:   case "$OPT_LIBSSH2" in
        !          26160:   yes)
        !          26161: 
        !          26162:     if test -n "$PKG_CONFIG"; then
        !          26163:       PKGCONFIG="$PKG_CONFIG"
        !          26164:     else
        !          26165:       if test -n "$ac_tool_prefix"; then
        !          26166:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
        !          26167: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
        !          26168: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          26169: $as_echo_n "checking for $ac_word... " >&6; }
        !          26170: if ${ac_cv_path_PKGCONFIG+:} false; then :
        !          26171:   $as_echo_n "(cached) " >&6
        !          26172: else
        !          26173:   case $PKGCONFIG in
        !          26174:   [\\/]* | ?:[\\/]*)
        !          26175:   ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
        !          26176:   ;;
        !          26177:   *)
        !          26178:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          26179: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          26180: for as_dir in $as_dummy
        !          26181: do
        !          26182:   IFS=$as_save_IFS
        !          26183:   test -z "$as_dir" && as_dir=.
        !          26184:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          26185:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          26186:     ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          26187:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          26188:     break 2
        !          26189:   fi
        !          26190: done
        !          26191:   done
        !          26192: IFS=$as_save_IFS
        !          26193: 
        !          26194:   ;;
        !          26195: esac
        !          26196: fi
        !          26197: PKGCONFIG=$ac_cv_path_PKGCONFIG
        !          26198: if test -n "$PKGCONFIG"; then
        !          26199:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
        !          26200: $as_echo "$PKGCONFIG" >&6; }
        !          26201: else
        !          26202:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          26203: $as_echo "no" >&6; }
        !          26204: fi
        !          26205: 
        !          26206: 
        !          26207: fi
        !          26208: if test -z "$ac_cv_path_PKGCONFIG"; then
        !          26209:   ac_pt_PKGCONFIG=$PKGCONFIG
        !          26210:   # Extract the first word of "pkg-config", so it can be a program name with args.
        !          26211: set dummy 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; }
        !          26214: if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
        !          26215:   $as_echo_n "(cached) " >&6
        !          26216: else
        !          26217:   case $ac_pt_PKGCONFIG in
        !          26218:   [\\/]* | ?:[\\/]*)
        !          26219:   ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
        !          26220:   ;;
        !          26221:   *)
        !          26222:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          26223: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          26224: for as_dir in $as_dummy
        !          26225: do
        !          26226:   IFS=$as_save_IFS
        !          26227:   test -z "$as_dir" && as_dir=.
        !          26228:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          26229:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          26230:     ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          26231:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          26232:     break 2
        !          26233:   fi
        !          26234: done
        !          26235:   done
        !          26236: IFS=$as_save_IFS
        !          26237: 
        !          26238:   ;;
        !          26239: esac
        !          26240: fi
        !          26241: ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
        !          26242: if test -n "$ac_pt_PKGCONFIG"; then
        !          26243:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
        !          26244: $as_echo "$ac_pt_PKGCONFIG" >&6; }
        !          26245: else
        !          26246:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          26247: $as_echo "no" >&6; }
        !          26248: fi
        !          26249: 
        !          26250:   if test "x$ac_pt_PKGCONFIG" = x; then
        !          26251:     PKGCONFIG="no"
        !          26252:   else
        !          26253:     case $cross_compiling:$ac_tool_warned in
        !          26254: yes:)
        !          26255: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          26256: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          26257: ac_tool_warned=yes ;;
        !          26258: esac
        !          26259:     PKGCONFIG=$ac_pt_PKGCONFIG
        !          26260:   fi
        !          26261: else
        !          26262:   PKGCONFIG="$ac_cv_path_PKGCONFIG"
        !          26263: fi
        !          26264: 
        !          26265:     fi
        !          26266: 
        !          26267:     if test "x$PKGCONFIG" != "xno"; then
        !          26268:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libssh2 options with pkg-config" >&5
        !          26269: $as_echo_n "checking for libssh2 options with pkg-config... " >&6; }
        !          26270:             itexists=`
        !          26271:     if test -n ""; then
        !          26272:       PKG_CONFIG_LIBDIR=""
        !          26273:       export PKG_CONFIG_LIBDIR
        !          26274:     fi
        !          26275:          $PKGCONFIG --exists libssh2 >/dev/null 2>&1 && echo 1`
        !          26276: 
        !          26277:       if test -z "$itexists"; then
        !          26278:                         PKGCONFIG="no"
        !          26279:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          26280: $as_echo "no" >&6; }
        !          26281:       else
        !          26282:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
        !          26283: $as_echo "found" >&6; }
        !          26284:       fi
        !          26285:     fi
        !          26286: 
        !          26287: 
        !          26288:     if test "$PKGCONFIG" != "no" ; then
        !          26289:       LIB_SSH2=`$PKGCONFIG --libs libssh2`
        !          26290:       LD_SSH2=`$PKGCONFIG --libs-only-L libssh2`
        !          26291:       CPP_SSH2=`$PKGCONFIG --cflags-only-I libssh2`
        !          26292:       version=`$PKGCONFIG --modversion libssh2`
        !          26293:       DIR_SSH2=`echo $LD_SSH2 | $SED -e 's/-L//'`
        !          26294:     fi
        !          26295: 
        !          26296:     ;;
        !          26297:   off)
        !          26298:         ;;
        !          26299:   *)
        !          26300:         PREFIX_SSH2=$OPT_LIBSSH2
        !          26301:     ;;
        !          26302:   esac
        !          26303: 
        !          26304:     if test -n "$PREFIX_SSH2"; then
        !          26305:     LIB_SSH2="-lssh2"
        !          26306:     LD_SSH2=-L${PREFIX_SSH2}/lib$libsuff
        !          26307:     CPP_SSH2=-I${PREFIX_SSH2}/include
        !          26308:     DIR_SSH2=${PREFIX_SSH2}/lib$libsuff
        !          26309:   fi
        !          26310: 
        !          26311:   LDFLAGS="$LDFLAGS $LD_SSH2"
        !          26312:   CPPFLAGS="$CPPFLAGS $CPP_SSH2"
        !          26313:   LIBS="$LIB_SSH2 $LIBS"
        !          26314: 
        !          26315:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libssh2_channel_open_ex in -lssh2" >&5
        !          26316: $as_echo_n "checking for libssh2_channel_open_ex in -lssh2... " >&6; }
        !          26317: if ${ac_cv_lib_ssh2_libssh2_channel_open_ex+:} false; then :
        !          26318:   $as_echo_n "(cached) " >&6
        !          26319: else
        !          26320:   ac_check_lib_save_LIBS=$LIBS
        !          26321: LIBS="-lssh2  $LIBS"
        !          26322: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          26323: /* end confdefs.h.  */
        !          26324: 
        !          26325: 
        !          26326: #ifdef __cplusplus
        !          26327: extern "C"
        !          26328: #endif
        !          26329: char libssh2_channel_open_ex ();
        !          26330: int main (void)
        !          26331: {
        !          26332: return libssh2_channel_open_ex ();
        !          26333:  ;
        !          26334:  return 0;
        !          26335: }
        !          26336: _ACEOF
        !          26337: if ac_fn_c_try_link "$LINENO"; then :
        !          26338:   ac_cv_lib_ssh2_libssh2_channel_open_ex=yes
        !          26339: else
        !          26340:   ac_cv_lib_ssh2_libssh2_channel_open_ex=no
        !          26341: fi
        !          26342: rm -f core conftest.err conftest.$ac_objext \
        !          26343:     conftest$ac_exeext conftest.$ac_ext
        !          26344: LIBS=$ac_check_lib_save_LIBS
        !          26345: fi
        !          26346: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh2_libssh2_channel_open_ex" >&5
        !          26347: $as_echo "$ac_cv_lib_ssh2_libssh2_channel_open_ex" >&6; }
        !          26348: if test "x$ac_cv_lib_ssh2_libssh2_channel_open_ex" = xyes; then :
        !          26349:   cat >>confdefs.h <<_ACEOF
        !          26350: #define HAVE_LIBSSH2 1
        !          26351: _ACEOF
        !          26352: 
        !          26353:   LIBS="-lssh2 $LIBS"
        !          26354: 
        !          26355: fi
        !          26356: 
        !          26357: 
        !          26358:   for ac_header in libssh2.h
        !          26359: do :
        !          26360:   ac_fn_c_check_header_mongrel "$LINENO" "libssh2.h" "ac_cv_header_libssh2_h" "$ac_includes_default"
        !          26361: if test "x$ac_cv_header_libssh2_h" = xyes; then :
        !          26362:   cat >>confdefs.h <<_ACEOF
        !          26363: #define HAVE_LIBSSH2_H 1
        !          26364: _ACEOF
        !          26365:  curl_ssh_msg="enabled (libSSH2)"
        !          26366:     LIBSSH2_ENABLED=1
        !          26367: 
        !          26368: $as_echo "#define USE_LIBSSH2 1" >>confdefs.h
        !          26369: 
        !          26370:     USE_LIBSSH2=1
        !          26371: 
        !          26372: 
        !          26373: fi
        !          26374: 
        !          26375: done
        !          26376: 
        !          26377: 
        !          26378:   if test X"$OPT_LIBSSH2" != Xoff &&
        !          26379:      test "$LIBSSH2_ENABLED" != "1"; then
        !          26380:     as_fn_error $? "libSSH2 libs and/or directories were not found where specified!" "$LINENO" 5
        !          26381:   fi
        !          26382: 
        !          26383:   if test "$LIBSSH2_ENABLED" = "1"; then
        !          26384:     if test -n "$DIR_SSH2"; then
        !          26385: 
        !          26386:        if test "x$cross_compiling" != "xyes"; then
        !          26387:          CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_SSH2"
        !          26388:          export CURL_LIBRARY_PATH
        !          26389:          { $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_SSH2 to CURL_LIBRARY_PATH" >&5
        !          26390: $as_echo "$as_me: Added $DIR_SSH2 to CURL_LIBRARY_PATH" >&6;}
        !          26391:        fi
        !          26392:     fi
        !          26393:   else
        !          26394:         LDFLAGS=$CLEANLDFLAGS
        !          26395:     CPPFLAGS=$CLEANCPPFLAGS
        !          26396:     LIBS=$CLEANLIBS
        !          26397:   fi
        !          26398: elif test X"$OPT_LIBSSH" != Xno; then
        !          26399:     CLEANLDFLAGS="$LDFLAGS"
        !          26400:   CLEANCPPFLAGS="$CPPFLAGS"
        !          26401:   CLEANLIBS="$LIBS"
        !          26402: 
        !          26403:   case "$OPT_LIBSSH" in
        !          26404:   yes)
        !          26405: 
        !          26406:     if test -n "$PKG_CONFIG"; then
        !          26407:       PKGCONFIG="$PKG_CONFIG"
        !          26408:     else
        !          26409:       if test -n "$ac_tool_prefix"; then
        !          26410:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
        !          26411: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
        !          26412: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          26413: $as_echo_n "checking for $ac_word... " >&6; }
        !          26414: if ${ac_cv_path_PKGCONFIG+:} false; then :
        !          26415:   $as_echo_n "(cached) " >&6
        !          26416: else
        !          26417:   case $PKGCONFIG in
        !          26418:   [\\/]* | ?:[\\/]*)
        !          26419:   ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
        !          26420:   ;;
        !          26421:   *)
        !          26422:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          26423: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          26424: for as_dir in $as_dummy
        !          26425: do
        !          26426:   IFS=$as_save_IFS
        !          26427:   test -z "$as_dir" && as_dir=.
        !          26428:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          26429:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          26430:     ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          26431:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          26432:     break 2
        !          26433:   fi
        !          26434: done
        !          26435:   done
        !          26436: IFS=$as_save_IFS
        !          26437: 
        !          26438:   ;;
        !          26439: esac
        !          26440: fi
        !          26441: PKGCONFIG=$ac_cv_path_PKGCONFIG
        !          26442: if test -n "$PKGCONFIG"; then
        !          26443:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
        !          26444: $as_echo "$PKGCONFIG" >&6; }
        !          26445: else
        !          26446:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          26447: $as_echo "no" >&6; }
        !          26448: fi
        !          26449: 
        !          26450: 
        !          26451: fi
        !          26452: if test -z "$ac_cv_path_PKGCONFIG"; then
        !          26453:   ac_pt_PKGCONFIG=$PKGCONFIG
        !          26454:   # Extract the first word of "pkg-config", so it can be a program name with args.
        !          26455: set dummy 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; }
        !          26458: if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
        !          26459:   $as_echo_n "(cached) " >&6
        !          26460: else
        !          26461:   case $ac_pt_PKGCONFIG in
        !          26462:   [\\/]* | ?:[\\/]*)
        !          26463:   ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
        !          26464:   ;;
        !          26465:   *)
        !          26466:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          26467: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          26468: for as_dir in $as_dummy
        !          26469: do
        !          26470:   IFS=$as_save_IFS
        !          26471:   test -z "$as_dir" && as_dir=.
        !          26472:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          26473:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          26474:     ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          26475:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          26476:     break 2
        !          26477:   fi
        !          26478: done
        !          26479:   done
        !          26480: IFS=$as_save_IFS
        !          26481: 
        !          26482:   ;;
        !          26483: esac
        !          26484: fi
        !          26485: ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
        !          26486: if test -n "$ac_pt_PKGCONFIG"; then
        !          26487:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
        !          26488: $as_echo "$ac_pt_PKGCONFIG" >&6; }
        !          26489: else
        !          26490:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          26491: $as_echo "no" >&6; }
        !          26492: fi
        !          26493: 
        !          26494:   if test "x$ac_pt_PKGCONFIG" = x; then
        !          26495:     PKGCONFIG="no"
        !          26496:   else
        !          26497:     case $cross_compiling:$ac_tool_warned in
        !          26498: yes:)
        !          26499: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          26500: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          26501: ac_tool_warned=yes ;;
        !          26502: esac
        !          26503:     PKGCONFIG=$ac_pt_PKGCONFIG
        !          26504:   fi
        !          26505: else
        !          26506:   PKGCONFIG="$ac_cv_path_PKGCONFIG"
        !          26507: fi
        !          26508: 
        !          26509:     fi
        !          26510: 
        !          26511:     if test "x$PKGCONFIG" != "xno"; then
        !          26512:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libssh options with pkg-config" >&5
        !          26513: $as_echo_n "checking for libssh options with pkg-config... " >&6; }
        !          26514:             itexists=`
        !          26515:     if test -n ""; then
        !          26516:       PKG_CONFIG_LIBDIR=""
        !          26517:       export PKG_CONFIG_LIBDIR
        !          26518:     fi
        !          26519:          $PKGCONFIG --exists libssh >/dev/null 2>&1 && echo 1`
        !          26520: 
        !          26521:       if test -z "$itexists"; then
        !          26522:                         PKGCONFIG="no"
        !          26523:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          26524: $as_echo "no" >&6; }
        !          26525:       else
        !          26526:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
        !          26527: $as_echo "found" >&6; }
        !          26528:       fi
        !          26529:     fi
        !          26530: 
        !          26531: 
        !          26532:     if test "$PKGCONFIG" != "no" ; then
        !          26533:       LIB_SSH=`$PKGCONFIG --libs-only-l libssh`
        !          26534:       LD_SSH=`$PKGCONFIG --libs-only-L libssh`
        !          26535:       CPP_SSH=`$PKGCONFIG --cflags-only-I libssh`
        !          26536:       version=`$PKGCONFIG --modversion libssh`
        !          26537:       DIR_SSH=`echo $LD_SSH | $SED -e 's/-L//'`
        !          26538:     fi
        !          26539: 
        !          26540:     ;;
        !          26541:   off)
        !          26542:         ;;
        !          26543:   *)
        !          26544:         PREFIX_SSH=$OPT_LIBSSH
        !          26545:     ;;
        !          26546:   esac
        !          26547: 
        !          26548:     if test -n "$PREFIX_SSH"; then
        !          26549:     LIB_SSH="-lssh"
        !          26550:     LD_SSH=-L${PREFIX_SSH}/lib$libsuff
        !          26551:     CPP_SSH=-I${PREFIX_SSH}/include
        !          26552:     DIR_SSH=${PREFIX_SSH}/lib$libsuff
        !          26553:   fi
        !          26554: 
        !          26555:   LDFLAGS="$LDFLAGS $LD_SSH"
        !          26556:   CPPFLAGS="$CPPFLAGS $CPP_SSH"
        !          26557:   LIBS="$LIB_SSH $LIBS"
        !          26558: 
        !          26559:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssh_new in -lssh" >&5
        !          26560: $as_echo_n "checking for ssh_new in -lssh... " >&6; }
        !          26561: if ${ac_cv_lib_ssh_ssh_new+:} false; then :
        !          26562:   $as_echo_n "(cached) " >&6
        !          26563: else
        !          26564:   ac_check_lib_save_LIBS=$LIBS
        !          26565: LIBS="-lssh  $LIBS"
        !          26566: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          26567: /* end confdefs.h.  */
        !          26568: 
        !          26569: 
        !          26570: #ifdef __cplusplus
        !          26571: extern "C"
        !          26572: #endif
        !          26573: char ssh_new ();
        !          26574: int main (void)
        !          26575: {
        !          26576: return ssh_new ();
        !          26577:  ;
        !          26578:  return 0;
        !          26579: }
        !          26580: _ACEOF
        !          26581: if ac_fn_c_try_link "$LINENO"; then :
        !          26582:   ac_cv_lib_ssh_ssh_new=yes
        !          26583: else
        !          26584:   ac_cv_lib_ssh_ssh_new=no
        !          26585: fi
        !          26586: rm -f core conftest.err conftest.$ac_objext \
        !          26587:     conftest$ac_exeext conftest.$ac_ext
        !          26588: LIBS=$ac_check_lib_save_LIBS
        !          26589: fi
        !          26590: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh_ssh_new" >&5
        !          26591: $as_echo "$ac_cv_lib_ssh_ssh_new" >&6; }
        !          26592: if test "x$ac_cv_lib_ssh_ssh_new" = xyes; then :
        !          26593:   cat >>confdefs.h <<_ACEOF
        !          26594: #define HAVE_LIBSSH 1
        !          26595: _ACEOF
        !          26596: 
        !          26597:   LIBS="-lssh $LIBS"
        !          26598: 
        !          26599: fi
        !          26600: 
        !          26601: 
        !          26602:   for ac_header in libssh/libssh.h
        !          26603: do :
        !          26604:   ac_fn_c_check_header_mongrel "$LINENO" "libssh/libssh.h" "ac_cv_header_libssh_libssh_h" "$ac_includes_default"
        !          26605: if test "x$ac_cv_header_libssh_libssh_h" = xyes; then :
        !          26606:   cat >>confdefs.h <<_ACEOF
        !          26607: #define HAVE_LIBSSH_LIBSSH_H 1
        !          26608: _ACEOF
        !          26609:  curl_ssh_msg="enabled (libSSH)"
        !          26610:     LIBSSH_ENABLED=1
        !          26611: 
        !          26612: $as_echo "#define USE_LIBSSH 1" >>confdefs.h
        !          26613: 
        !          26614:     USE_LIBSSH=1
        !          26615: 
        !          26616: 
        !          26617: fi
        !          26618: 
        !          26619: done
        !          26620: 
        !          26621: 
        !          26622:   if test X"$OPT_LIBSSH" != Xoff &&
        !          26623:      test "$LIBSSH_ENABLED" != "1"; then
        !          26624:     as_fn_error $? "libSSH libs and/or directories were not found where specified!" "$LINENO" 5
        !          26625:   fi
        !          26626: 
        !          26627:   if test "$LIBSSH_ENABLED" = "1"; then
        !          26628:     if test -n "$DIR_SSH"; then
        !          26629: 
        !          26630:        if test "x$cross_compiling" != "xyes"; then
        !          26631:          CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_SSH"
        !          26632:          export CURL_LIBRARY_PATH
        !          26633:          { $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_SSH to CURL_LIBRARY_PATH" >&5
        !          26634: $as_echo "$as_me: Added $DIR_SSH to CURL_LIBRARY_PATH" >&6;}
        !          26635:        fi
        !          26636:     fi
        !          26637:   else
        !          26638:         LDFLAGS=$CLEANLDFLAGS
        !          26639:     CPPFLAGS=$CLEANCPPFLAGS
        !          26640:     LIBS=$CLEANLIBS
        !          26641:   fi
        !          26642: elif test X"$OPT_WOLFSSH" != Xno; then
        !          26643:     CLEANLDFLAGS="$LDFLAGS"
        !          26644:   CLEANCPPFLAGS="$CPPFLAGS"
        !          26645:   CLEANLIBS="$LIBS"
        !          26646: 
        !          26647: 
        !          26648:   if test "$OPT_WOLFSSH" != yes; then
        !          26649:      WOLFCONFIG="$OPT_WOLFSSH/bin/wolfssh-config"
        !          26650:      LDFLAGS="$LDFLAGS `$WOLFCONFIG --libs`"
        !          26651:      CPPFLAGS="$CPPFLAGS `$WOLFCONFIG --cflags`"
        !          26652:   fi
        !          26653: 
        !          26654:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfSSH_Init in -lwolfssh" >&5
        !          26655: $as_echo_n "checking for wolfSSH_Init in -lwolfssh... " >&6; }
        !          26656: if ${ac_cv_lib_wolfssh_wolfSSH_Init+:} false; then :
        !          26657:   $as_echo_n "(cached) " >&6
        !          26658: else
        !          26659:   ac_check_lib_save_LIBS=$LIBS
        !          26660: LIBS="-lwolfssh  $LIBS"
        !          26661: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          26662: /* end confdefs.h.  */
        !          26663: 
        !          26664: 
        !          26665: #ifdef __cplusplus
        !          26666: extern "C"
        !          26667: #endif
        !          26668: char wolfSSH_Init ();
        !          26669: int main (void)
        !          26670: {
        !          26671: return wolfSSH_Init ();
        !          26672:  ;
        !          26673:  return 0;
        !          26674: }
        !          26675: _ACEOF
        !          26676: if ac_fn_c_try_link "$LINENO"; then :
        !          26677:   ac_cv_lib_wolfssh_wolfSSH_Init=yes
        !          26678: else
        !          26679:   ac_cv_lib_wolfssh_wolfSSH_Init=no
        !          26680: fi
        !          26681: rm -f core conftest.err conftest.$ac_objext \
        !          26682:     conftest$ac_exeext conftest.$ac_ext
        !          26683: LIBS=$ac_check_lib_save_LIBS
        !          26684: fi
        !          26685: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wolfssh_wolfSSH_Init" >&5
        !          26686: $as_echo "$ac_cv_lib_wolfssh_wolfSSH_Init" >&6; }
        !          26687: if test "x$ac_cv_lib_wolfssh_wolfSSH_Init" = xyes; then :
        !          26688:   cat >>confdefs.h <<_ACEOF
        !          26689: #define HAVE_LIBWOLFSSH 1
        !          26690: _ACEOF
        !          26691: 
        !          26692:   LIBS="-lwolfssh $LIBS"
        !          26693: 
        !          26694: fi
        !          26695: 
        !          26696: 
        !          26697:   for ac_header in wolfssh/ssh.h
        !          26698: do :
        !          26699:   ac_fn_c_check_header_mongrel "$LINENO" "wolfssh/ssh.h" "ac_cv_header_wolfssh_ssh_h" "$ac_includes_default"
        !          26700: if test "x$ac_cv_header_wolfssh_ssh_h" = xyes; then :
        !          26701:   cat >>confdefs.h <<_ACEOF
        !          26702: #define HAVE_WOLFSSH_SSH_H 1
        !          26703: _ACEOF
        !          26704:  curl_ssh_msg="enabled (wolfSSH)"
        !          26705:     WOLFSSH_ENABLED=1
        !          26706: 
        !          26707: $as_echo "#define USE_WOLFSSH 1" >>confdefs.h
        !          26708: 
        !          26709:     USE_WOLFSSH=1
        !          26710: 
        !          26711: 
        !          26712: fi
        !          26713: 
        !          26714: done
        !          26715: 
        !          26716: 
        !          26717: fi
        !          26718: 
        !          26719: 
        !          26720: OPT_LIBRTMP=off
        !          26721: 
        !          26722: # Check whether --with-librtmp was given.
        !          26723: if test "${with_librtmp+set}" = set; then :
        !          26724:   withval=$with_librtmp; OPT_LIBRTMP=$withval
        !          26725: fi
        !          26726: 
        !          26727: 
        !          26728: if test X"$OPT_LIBRTMP" != Xno; then
        !          26729:     CLEANLDFLAGS="$LDFLAGS"
        !          26730:   CLEANCPPFLAGS="$CPPFLAGS"
        !          26731:   CLEANLIBS="$LIBS"
        !          26732: 
        !          26733:   case "$OPT_LIBRTMP" in
        !          26734:   yes)
        !          26735: 
        !          26736:     if test -n "$PKG_CONFIG"; then
        !          26737:       PKGCONFIG="$PKG_CONFIG"
        !          26738:     else
        !          26739:       if test -n "$ac_tool_prefix"; then
        !          26740:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
        !          26741: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
        !          26742: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          26743: $as_echo_n "checking for $ac_word... " >&6; }
        !          26744: if ${ac_cv_path_PKGCONFIG+:} false; then :
        !          26745:   $as_echo_n "(cached) " >&6
        !          26746: else
        !          26747:   case $PKGCONFIG in
        !          26748:   [\\/]* | ?:[\\/]*)
        !          26749:   ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
        !          26750:   ;;
        !          26751:   *)
        !          26752:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          26753: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          26754: for as_dir in $as_dummy
        !          26755: do
        !          26756:   IFS=$as_save_IFS
        !          26757:   test -z "$as_dir" && as_dir=.
        !          26758:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          26759:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          26760:     ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          26761:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          26762:     break 2
        !          26763:   fi
        !          26764: done
        !          26765:   done
        !          26766: IFS=$as_save_IFS
        !          26767: 
        !          26768:   ;;
        !          26769: esac
        !          26770: fi
        !          26771: PKGCONFIG=$ac_cv_path_PKGCONFIG
        !          26772: if test -n "$PKGCONFIG"; then
        !          26773:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
        !          26774: $as_echo "$PKGCONFIG" >&6; }
        !          26775: else
        !          26776:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          26777: $as_echo "no" >&6; }
        !          26778: fi
        !          26779: 
        !          26780: 
        !          26781: fi
        !          26782: if test -z "$ac_cv_path_PKGCONFIG"; then
        !          26783:   ac_pt_PKGCONFIG=$PKGCONFIG
        !          26784:   # Extract the first word of "pkg-config", so it can be a program name with args.
        !          26785: set dummy pkg-config; ac_word=$2
        !          26786: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          26787: $as_echo_n "checking for $ac_word... " >&6; }
        !          26788: if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
        !          26789:   $as_echo_n "(cached) " >&6
        !          26790: else
        !          26791:   case $ac_pt_PKGCONFIG in
        !          26792:   [\\/]* | ?:[\\/]*)
        !          26793:   ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
        !          26794:   ;;
        !          26795:   *)
        !          26796:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          26797: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          26798: for as_dir in $as_dummy
        !          26799: do
        !          26800:   IFS=$as_save_IFS
        !          26801:   test -z "$as_dir" && as_dir=.
        !          26802:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          26803:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          26804:     ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          26805:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          26806:     break 2
        !          26807:   fi
        !          26808: done
        !          26809:   done
        !          26810: IFS=$as_save_IFS
        !          26811: 
        !          26812:   ;;
        !          26813: esac
        !          26814: fi
        !          26815: ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
        !          26816: if test -n "$ac_pt_PKGCONFIG"; then
        !          26817:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
        !          26818: $as_echo "$ac_pt_PKGCONFIG" >&6; }
        !          26819: else
        !          26820:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          26821: $as_echo "no" >&6; }
        !          26822: fi
        !          26823: 
        !          26824:   if test "x$ac_pt_PKGCONFIG" = x; then
        !          26825:     PKGCONFIG="no"
        !          26826:   else
        !          26827:     case $cross_compiling:$ac_tool_warned in
        !          26828: yes:)
        !          26829: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          26830: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          26831: ac_tool_warned=yes ;;
        !          26832: esac
        !          26833:     PKGCONFIG=$ac_pt_PKGCONFIG
        !          26834:   fi
        !          26835: else
        !          26836:   PKGCONFIG="$ac_cv_path_PKGCONFIG"
        !          26837: fi
        !          26838: 
        !          26839:     fi
        !          26840: 
        !          26841:     if test "x$PKGCONFIG" != "xno"; then
        !          26842:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for librtmp options with pkg-config" >&5
        !          26843: $as_echo_n "checking for librtmp options with pkg-config... " >&6; }
        !          26844:             itexists=`
        !          26845:     if test -n ""; then
        !          26846:       PKG_CONFIG_LIBDIR=""
        !          26847:       export PKG_CONFIG_LIBDIR
        !          26848:     fi
        !          26849:          $PKGCONFIG --exists librtmp >/dev/null 2>&1 && echo 1`
        !          26850: 
        !          26851:       if test -z "$itexists"; then
        !          26852:                         PKGCONFIG="no"
        !          26853:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          26854: $as_echo "no" >&6; }
        !          26855:       else
        !          26856:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
        !          26857: $as_echo "found" >&6; }
        !          26858:       fi
        !          26859:     fi
        !          26860: 
        !          26861: 
        !          26862:     if test "$PKGCONFIG" != "no" ; then
        !          26863:       LIB_RTMP=`$PKGCONFIG --libs-only-l librtmp`
        !          26864:       LD_RTMP=`$PKGCONFIG --libs-only-L librtmp`
        !          26865:       CPP_RTMP=`$PKGCONFIG --cflags-only-I librtmp`
        !          26866:       version=`$PKGCONFIG --modversion librtmp`
        !          26867:       DIR_RTMP=`echo $LD_RTMP | $SED -e 's/-L//'`
        !          26868:     else
        !          26869:                   as_fn_error $? "--librtmp was specified but could not find librtmp pkgconfig file." "$LINENO" 5
        !          26870:     fi
        !          26871: 
        !          26872:     ;;
        !          26873:   off)
        !          26874:         LIB_RTMP="-lrtmp"
        !          26875:         LD_RTMP=""
        !          26876:         CPP_RTMP=""
        !          26877:         DIR_RTMP=""
        !          26878:     ;;
        !          26879:   *)
        !          26880:         LIB_RTMP="-lrtmp"
        !          26881:         LD_RTMP="-L${PREFIX_RTMP}/lib$libsuff"
        !          26882:         CPP_RTMP="-I${PREFIX_RTMP}/include"
        !          26883:         DIR_RTMP="${PREFIX_RTMP}/lib$libsuff"
        !          26884:     PREFIX_RTMP=$OPT_LIBRTMP
        !          26885:     ;;
        !          26886:   esac
        !          26887: 
        !          26888:   LDFLAGS="$LDFLAGS $LD_RTMP"
        !          26889:   CPPFLAGS="$CPPFLAGS $CPP_RTMP"
        !          26890:   LIBS="$LIB_RTMP $LIBS"
        !          26891: 
        !          26892:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RTMP_Init in $LIB_RTMP" >&5
        !          26893: $as_echo_n "checking for RTMP_Init in $LIB_RTMP... " >&6; }
        !          26894: if ${ac_cv_lib_rtmp_RTMP_Init+:} false; then :
        !          26895:   $as_echo_n "(cached) " >&6
        !          26896: else
        !          26897:   ac_check_lib_save_LIBS=$LIBS
        !          26898: LIBS="$LIBS"
        !          26899: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          26900: /* end confdefs.h.  */
        !          26901: 
        !          26902: 
        !          26903: #ifdef __cplusplus
        !          26904: extern "C"
        !          26905: #endif
        !          26906: char RTMP_Init ();
        !          26907: int main (void)
        !          26908: {
        !          26909: return RTMP_Init ();
        !          26910:  ;
        !          26911:  return 0;
        !          26912: }
        !          26913: _ACEOF
        !          26914: if ac_fn_c_try_link "$LINENO"; then :
        !          26915:   ac_cv_lib_rtmp_RTMP_Init=yes
        !          26916: else
        !          26917:   ac_cv_lib_rtmp_RTMP_Init=no
        !          26918: fi
        !          26919: rm -f core conftest.err conftest.$ac_objext \
        !          26920:     conftest$ac_exeext conftest.$ac_ext
        !          26921: LIBS=$ac_check_lib_save_LIBS
        !          26922: fi
        !          26923: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rtmp_RTMP_Init" >&5
        !          26924: $as_echo "$ac_cv_lib_rtmp_RTMP_Init" >&6; }
        !          26925: if test "x$ac_cv_lib_rtmp_RTMP_Init" = xyes; then :
        !          26926: 
        !          26927:      for ac_header in librtmp/rtmp.h
        !          26928: do :
        !          26929:   ac_fn_c_check_header_mongrel "$LINENO" "librtmp/rtmp.h" "ac_cv_header_librtmp_rtmp_h" "$ac_includes_default"
        !          26930: if test "x$ac_cv_header_librtmp_rtmp_h" = xyes; then :
        !          26931:   cat >>confdefs.h <<_ACEOF
        !          26932: #define HAVE_LIBRTMP_RTMP_H 1
        !          26933: _ACEOF
        !          26934:  curl_rtmp_msg="enabled (librtmp)"
        !          26935:         LIBRTMP_ENABLED=1
        !          26936: 
        !          26937: $as_echo "#define USE_LIBRTMP 1" >>confdefs.h
        !          26938: 
        !          26939:         USE_LIBRTMP=1
        !          26940: 
        !          26941: 
        !          26942: fi
        !          26943: 
        !          26944: done
        !          26945: 
        !          26946: 
        !          26947: else
        !          26948:         LDFLAGS=$CLEANLDFLAGS
        !          26949:       CPPFLAGS=$CLEANCPPFLAGS
        !          26950:       LIBS=$CLEANLIBS
        !          26951: 
        !          26952: fi
        !          26953: 
        !          26954: 
        !          26955:   if test X"$OPT_LIBRTMP" != Xoff &&
        !          26956:      test "$LIBRTMP_ENABLED" != "1"; then
        !          26957:     as_fn_error $? "librtmp libs and/or directories were not found where specified!" "$LINENO" 5
        !          26958:   fi
        !          26959: 
        !          26960: fi
        !          26961: 
        !          26962: 
        !          26963: versioned_symbols_flavour=
        !          26964: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether versioned symbols are wanted" >&5
        !          26965: $as_echo_n "checking whether versioned symbols are wanted... " >&6; }
        !          26966: # Check whether --enable-versioned-symbols was given.
        !          26967: if test "${enable_versioned_symbols+set}" = set; then :
        !          26968:   enableval=$enable_versioned_symbols;  case "$enableval" in
        !          26969:   yes) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          26970: $as_echo "yes" >&6; }
        !          26971:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libraries can be versioned" >&5
        !          26972: $as_echo_n "checking if libraries can be versioned... " >&6; }
        !          26973:     GLD=`$LD --help < /dev/null 2>/dev/null | grep version-script`
        !          26974:     if test -z "$GLD"; then
        !          26975:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          26976: $as_echo "no" >&6; }
        !          26977:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You need an ld version supporting the --version-script option" >&5
        !          26978: $as_echo "$as_me: WARNING: You need an ld version supporting the --version-script option" >&2;}
        !          26979:     else
        !          26980:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          26981: $as_echo "yes" >&6; }
        !          26982:         if test "x$CURL_WITH_MULTI_SSL" = "x1"; then
        !          26983:           versioned_symbols_flavour="MULTISSL_"
        !          26984:         elif test "x$OPENSSL_ENABLED" = "x1"; then
        !          26985:           versioned_symbols_flavour="OPENSSL_"
        !          26986:         elif test "x$GNUTLS_ENABLED" = "x1"; then
        !          26987:           versioned_symbols_flavour="GNUTLS_"
        !          26988:         elif test "x$NSS_ENABLED" = "x1"; then
        !          26989:           versioned_symbols_flavour="NSS_"
        !          26990:         elif test "x$WOLFSSL_ENABLED" = "x1"; then
        !          26991:           versioned_symbols_flavour="WOLFSSL_"
        !          26992:         elif test "x$WINSSL_ENABLED" = "x1"; then
        !          26993:           versioned_symbols_flavour="SCHANNEL_"
        !          26994:         elif test "x$SECURETRANSPORT_ENABLED" = "x1"; then
        !          26995:           versioned_symbols_flavour="SECURE_TRANSPORT_"
        !          26996:         else
        !          26997:           versioned_symbols_flavour=""
        !          26998:         fi
        !          26999:         versioned_symbols="yes"
        !          27000:     fi
        !          27001:     ;;
        !          27002: 
        !          27003:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          27004: $as_echo "no" >&6; }
        !          27005:     ;;
        !          27006:   esac
        !          27007: 
        !          27008: else
        !          27009: 
        !          27010: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          27011: $as_echo "no" >&6; }
        !          27012: 
        !          27013: 
        !          27014: fi
        !          27015: 
        !          27016: 
        !          27017: CURL_LT_SHLIB_VERSIONED_FLAVOUR="$versioned_symbols_flavour"
        !          27018: 
        !          27019:  if test "x$versioned_symbols" = 'xyes'; then
        !          27020:   CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE=
        !          27021:   CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE='#'
        !          27022: else
        !          27023:   CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE='#'
        !          27024:   CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE=
        !          27025: fi
        !          27026: 
        !          27027: 
        !          27028: 
        !          27029: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Windows native IDN (Windows native builds only)" >&5
        !          27030: $as_echo_n "checking whether to enable Windows native IDN (Windows native builds only)... " >&6; }
        !          27031: OPT_WINIDN="default"
        !          27032: 
        !          27033: # Check whether --with-winidn was given.
        !          27034: if test "${with_winidn+set}" = set; then :
        !          27035:   withval=$with_winidn; OPT_WINIDN=$withval
        !          27036: fi
        !          27037: 
        !          27038: case "$OPT_WINIDN" in
        !          27039:   no|default)
        !          27040:         want_winidn="no"
        !          27041:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          27042: $as_echo "no" >&6; }
        !          27043:     ;;
        !          27044:   yes)
        !          27045:         want_winidn="yes"
        !          27046:     want_winidn_path="default"
        !          27047:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          27048: $as_echo "yes" >&6; }
        !          27049:     ;;
        !          27050:   *)
        !          27051:         want_winidn="yes"
        !          27052:     want_winidn_path="$withval"
        !          27053:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($withval)" >&5
        !          27054: $as_echo "yes ($withval)" >&6; }
        !          27055:     ;;
        !          27056: esac
        !          27057: 
        !          27058: if test "$want_winidn" = "yes"; then
        !          27059:     clean_CPPFLAGS="$CPPFLAGS"
        !          27060:   clean_LDFLAGS="$LDFLAGS"
        !          27061:   clean_LIBS="$LIBS"
        !          27062:   WINIDN_LIBS="-lnormaliz"
        !          27063:   WINIDN_CPPFLAGS="-DWINVER=0x0600"
        !          27064:   #
        !          27065:   if test "$want_winidn_path" != "default"; then
        !          27066:             WINIDN_LDFLAGS="-L$want_winidn_path/lib$libsuff"
        !          27067:     WINIDN_CPPFLAGS="-I$want_winidn_path/include"
        !          27068:     WINIDN_DIR="$want_winidn_path/lib$libsuff"
        !          27069:   fi
        !          27070:   #
        !          27071:   CPPFLAGS="$CPPFLAGS $WINIDN_CPPFLAGS"
        !          27072:   LDFLAGS="$LDFLAGS $WINIDN_LDFLAGS"
        !          27073:   LIBS="$WINIDN_LIBS $LIBS"
        !          27074:   #
        !          27075:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IdnToUnicode can be linked" >&5
        !          27076: $as_echo_n "checking if IdnToUnicode can be linked... " >&6; }
        !          27077:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          27078: /* end confdefs.h.  */
        !          27079: 
        !          27080: 
        !          27081:       #include <windows.h>
        !          27082: 
        !          27083: int main (void)
        !          27084: {
        !          27085: 
        !          27086:       IdnToUnicode(0, NULL, 0, NULL, 0);
        !          27087: 
        !          27088:  ;
        !          27089:  return 0;
        !          27090: }
        !          27091: 
        !          27092: _ACEOF
        !          27093: if ac_fn_c_try_link "$LINENO"; then :
        !          27094: 
        !          27095:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          27096: $as_echo "yes" >&6; }
        !          27097:     tst_links_winidn="yes"
        !          27098: 
        !          27099: else
        !          27100: 
        !          27101:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          27102: $as_echo "no" >&6; }
        !          27103:     tst_links_winidn="no"
        !          27104: 
        !          27105: fi
        !          27106: rm -f core conftest.err conftest.$ac_objext \
        !          27107:     conftest$ac_exeext conftest.$ac_ext
        !          27108:   #
        !          27109:   if test "$tst_links_winidn" = "yes"; then
        !          27110: 
        !          27111: $as_echo "#define USE_WIN32_IDN 1" >>confdefs.h
        !          27112: 
        !          27113: 
        !          27114: $as_echo "#define WANT_IDN_PROTOTYPES 1" >>confdefs.h
        !          27115: 
        !          27116:     IDN_ENABLED=1
        !          27117: 
        !          27118:     curl_idn_msg="enabled (Windows-native)"
        !          27119:   else
        !          27120:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libraries for IDN support: IDN disabled" >&5
        !          27121: $as_echo "$as_me: WARNING: Cannot find libraries for IDN support: IDN disabled" >&2;}
        !          27122:     CPPFLAGS="$clean_CPPFLAGS"
        !          27123:     LDFLAGS="$clean_LDFLAGS"
        !          27124:     LIBS="$clean_LIBS"
        !          27125:   fi
        !          27126: fi
        !          27127: 
        !          27128: 
        !          27129: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with libidn2" >&5
        !          27130: $as_echo_n "checking whether to build with libidn2... " >&6; }
        !          27131: OPT_IDN="default"
        !          27132: 
        !          27133: # Check whether --with-libidn2 was given.
        !          27134: if test "${with_libidn2+set}" = set; then :
        !          27135:   withval=$with_libidn2; OPT_IDN=$withval
        !          27136: fi
        !          27137: 
        !          27138: case "$OPT_IDN" in
        !          27139:   no)
        !          27140:         want_idn="no"
        !          27141:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          27142: $as_echo "no" >&6; }
        !          27143:     ;;
        !          27144:   default)
        !          27145:         want_idn="yes"
        !          27146:     want_idn_path="default"
        !          27147:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: (assumed) yes" >&5
        !          27148: $as_echo "(assumed) yes" >&6; }
        !          27149:     ;;
        !          27150:   yes)
        !          27151:         want_idn="yes"
        !          27152:     want_idn_path="default"
        !          27153:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          27154: $as_echo "yes" >&6; }
        !          27155:     ;;
        !          27156:   *)
        !          27157:         want_idn="yes"
        !          27158:     want_idn_path="$withval"
        !          27159:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($withval)" >&5
        !          27160: $as_echo "yes ($withval)" >&6; }
        !          27161:     ;;
        !          27162: esac
        !          27163: 
        !          27164: if test "$want_idn" = "yes"; then
        !          27165:     clean_CPPFLAGS="$CPPFLAGS"
        !          27166:   clean_LDFLAGS="$LDFLAGS"
        !          27167:   clean_LIBS="$LIBS"
        !          27168:   PKGCONFIG="no"
        !          27169:   #
        !          27170:   if test "$want_idn_path" != "default"; then
        !          27171:         IDN_PCDIR="$want_idn_path/lib$libsuff/pkgconfig"
        !          27172: 
        !          27173:     if test -n "$PKG_CONFIG"; then
        !          27174:       PKGCONFIG="$PKG_CONFIG"
        !          27175:     else
        !          27176:       if test -n "$ac_tool_prefix"; then
        !          27177:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
        !          27178: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
        !          27179: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          27180: $as_echo_n "checking for $ac_word... " >&6; }
        !          27181: if ${ac_cv_path_PKGCONFIG+:} false; then :
        !          27182:   $as_echo_n "(cached) " >&6
        !          27183: else
        !          27184:   case $PKGCONFIG in
        !          27185:   [\\/]* | ?:[\\/]*)
        !          27186:   ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
        !          27187:   ;;
        !          27188:   *)
        !          27189:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          27190: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          27191: for as_dir in $as_dummy
        !          27192: do
        !          27193:   IFS=$as_save_IFS
        !          27194:   test -z "$as_dir" && as_dir=.
        !          27195:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          27196:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          27197:     ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          27198:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          27199:     break 2
        !          27200:   fi
        !          27201: done
        !          27202:   done
        !          27203: IFS=$as_save_IFS
        !          27204: 
        !          27205:   ;;
        !          27206: esac
        !          27207: fi
        !          27208: PKGCONFIG=$ac_cv_path_PKGCONFIG
        !          27209: if test -n "$PKGCONFIG"; then
        !          27210:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
        !          27211: $as_echo "$PKGCONFIG" >&6; }
        !          27212: else
        !          27213:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          27214: $as_echo "no" >&6; }
        !          27215: fi
        !          27216: 
        !          27217: 
        !          27218: fi
        !          27219: if test -z "$ac_cv_path_PKGCONFIG"; then
        !          27220:   ac_pt_PKGCONFIG=$PKGCONFIG
        !          27221:   # Extract the first word of "pkg-config", so it can be a program name with args.
        !          27222: set dummy pkg-config; ac_word=$2
        !          27223: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          27224: $as_echo_n "checking for $ac_word... " >&6; }
        !          27225: if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
        !          27226:   $as_echo_n "(cached) " >&6
        !          27227: else
        !          27228:   case $ac_pt_PKGCONFIG in
        !          27229:   [\\/]* | ?:[\\/]*)
        !          27230:   ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
        !          27231:   ;;
        !          27232:   *)
        !          27233:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          27234: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          27235: for as_dir in $as_dummy
        !          27236: do
        !          27237:   IFS=$as_save_IFS
        !          27238:   test -z "$as_dir" && as_dir=.
        !          27239:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          27240:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          27241:     ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          27242:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          27243:     break 2
        !          27244:   fi
        !          27245: done
        !          27246:   done
        !          27247: IFS=$as_save_IFS
        !          27248: 
        !          27249:   ;;
        !          27250: esac
        !          27251: fi
        !          27252: ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
        !          27253: if test -n "$ac_pt_PKGCONFIG"; then
        !          27254:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
        !          27255: $as_echo "$ac_pt_PKGCONFIG" >&6; }
        !          27256: else
        !          27257:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          27258: $as_echo "no" >&6; }
        !          27259: fi
        !          27260: 
        !          27261:   if test "x$ac_pt_PKGCONFIG" = x; then
        !          27262:     PKGCONFIG="no"
        !          27263:   else
        !          27264:     case $cross_compiling:$ac_tool_warned in
        !          27265: yes:)
        !          27266: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          27267: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          27268: ac_tool_warned=yes ;;
        !          27269: esac
        !          27270:     PKGCONFIG=$ac_pt_PKGCONFIG
        !          27271:   fi
        !          27272: else
        !          27273:   PKGCONFIG="$ac_cv_path_PKGCONFIG"
        !          27274: fi
        !          27275: 
        !          27276:     fi
        !          27277: 
        !          27278:     if test "x$PKGCONFIG" != "xno"; then
        !          27279:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libidn2 options with pkg-config" >&5
        !          27280: $as_echo_n "checking for libidn2 options with pkg-config... " >&6; }
        !          27281:             itexists=`
        !          27282:     if test -n "$IDN_PCDIR"; then
        !          27283:       PKG_CONFIG_LIBDIR="$IDN_PCDIR"
        !          27284:       export PKG_CONFIG_LIBDIR
        !          27285:     fi
        !          27286:          $PKGCONFIG --exists libidn2 >/dev/null 2>&1 && echo 1`
        !          27287: 
        !          27288:       if test -z "$itexists"; then
        !          27289:                         PKGCONFIG="no"
        !          27290:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          27291: $as_echo "no" >&6; }
        !          27292:       else
        !          27293:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
        !          27294: $as_echo "found" >&6; }
        !          27295:       fi
        !          27296:     fi
        !          27297: 
        !          27298:     if test "$PKGCONFIG" != "no"; then
        !          27299:       IDN_LIBS=`
        !          27300:     if test -n "$IDN_PCDIR"; then
        !          27301:       PKG_CONFIG_LIBDIR="$IDN_PCDIR"
        !          27302:       export PKG_CONFIG_LIBDIR
        !          27303:     fi
        !          27304:          $PKGCONFIG --libs-only-l libidn2 2>/dev/null`
        !          27305:       IDN_LDFLAGS=`
        !          27306:     if test -n "$IDN_PCDIR"; then
        !          27307:       PKG_CONFIG_LIBDIR="$IDN_PCDIR"
        !          27308:       export PKG_CONFIG_LIBDIR
        !          27309:     fi
        !          27310:          $PKGCONFIG --libs-only-L libidn2 2>/dev/null`
        !          27311:       IDN_CPPFLAGS=`
        !          27312:     if test -n "$IDN_PCDIR"; then
        !          27313:       PKG_CONFIG_LIBDIR="$IDN_PCDIR"
        !          27314:       export PKG_CONFIG_LIBDIR
        !          27315:     fi
        !          27316:          $PKGCONFIG --cflags-only-I libidn2 2>/dev/null`
        !          27317:       IDN_DIR=`echo $IDN_LDFLAGS | $SED -e 's/-L//'`
        !          27318:     else
        !          27319:             IDN_LIBS="-lidn2"
        !          27320:       IDN_LDFLAGS="-L$want_idn_path/lib$libsuff"
        !          27321:       IDN_CPPFLAGS="-I$want_idn_path/include"
        !          27322:       IDN_DIR="$want_idn_path/lib$libsuff"
        !          27323:     fi
        !          27324:   else
        !          27325: 
        !          27326:     if test -n "$PKG_CONFIG"; then
        !          27327:       PKGCONFIG="$PKG_CONFIG"
        !          27328:     else
        !          27329:       if test -n "$ac_tool_prefix"; then
        !          27330:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
        !          27331: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
        !          27332: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          27333: $as_echo_n "checking for $ac_word... " >&6; }
        !          27334: if ${ac_cv_path_PKGCONFIG+:} false; then :
        !          27335:   $as_echo_n "(cached) " >&6
        !          27336: else
        !          27337:   case $PKGCONFIG in
        !          27338:   [\\/]* | ?:[\\/]*)
        !          27339:   ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
        !          27340:   ;;
        !          27341:   *)
        !          27342:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          27343: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          27344: for as_dir in $as_dummy
        !          27345: do
        !          27346:   IFS=$as_save_IFS
        !          27347:   test -z "$as_dir" && as_dir=.
        !          27348:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          27349:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          27350:     ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          27351:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          27352:     break 2
        !          27353:   fi
        !          27354: done
        !          27355:   done
        !          27356: IFS=$as_save_IFS
        !          27357: 
        !          27358:   ;;
        !          27359: esac
        !          27360: fi
        !          27361: PKGCONFIG=$ac_cv_path_PKGCONFIG
        !          27362: if test -n "$PKGCONFIG"; then
        !          27363:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
        !          27364: $as_echo "$PKGCONFIG" >&6; }
        !          27365: else
        !          27366:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          27367: $as_echo "no" >&6; }
        !          27368: fi
        !          27369: 
        !          27370: 
        !          27371: fi
        !          27372: if test -z "$ac_cv_path_PKGCONFIG"; then
        !          27373:   ac_pt_PKGCONFIG=$PKGCONFIG
        !          27374:   # Extract the first word of "pkg-config", so it can be a program name with args.
        !          27375: set dummy pkg-config; ac_word=$2
        !          27376: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          27377: $as_echo_n "checking for $ac_word... " >&6; }
        !          27378: if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
        !          27379:   $as_echo_n "(cached) " >&6
        !          27380: else
        !          27381:   case $ac_pt_PKGCONFIG in
        !          27382:   [\\/]* | ?:[\\/]*)
        !          27383:   ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
        !          27384:   ;;
        !          27385:   *)
        !          27386:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          27387: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          27388: for as_dir in $as_dummy
        !          27389: do
        !          27390:   IFS=$as_save_IFS
        !          27391:   test -z "$as_dir" && as_dir=.
        !          27392:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          27393:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          27394:     ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          27395:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          27396:     break 2
        !          27397:   fi
        !          27398: done
        !          27399:   done
        !          27400: IFS=$as_save_IFS
        !          27401: 
        !          27402:   ;;
        !          27403: esac
        !          27404: fi
        !          27405: ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
        !          27406: if test -n "$ac_pt_PKGCONFIG"; then
        !          27407:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
        !          27408: $as_echo "$ac_pt_PKGCONFIG" >&6; }
        !          27409: else
        !          27410:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          27411: $as_echo "no" >&6; }
        !          27412: fi
        !          27413: 
        !          27414:   if test "x$ac_pt_PKGCONFIG" = x; then
        !          27415:     PKGCONFIG="no"
        !          27416:   else
        !          27417:     case $cross_compiling:$ac_tool_warned in
        !          27418: yes:)
        !          27419: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          27420: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          27421: ac_tool_warned=yes ;;
        !          27422: esac
        !          27423:     PKGCONFIG=$ac_pt_PKGCONFIG
        !          27424:   fi
        !          27425: else
        !          27426:   PKGCONFIG="$ac_cv_path_PKGCONFIG"
        !          27427: fi
        !          27428: 
        !          27429:     fi
        !          27430: 
        !          27431:     if test "x$PKGCONFIG" != "xno"; then
        !          27432:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libidn2 options with pkg-config" >&5
        !          27433: $as_echo_n "checking for libidn2 options with pkg-config... " >&6; }
        !          27434:             itexists=`
        !          27435:     if test -n ""; then
        !          27436:       PKG_CONFIG_LIBDIR=""
        !          27437:       export PKG_CONFIG_LIBDIR
        !          27438:     fi
        !          27439:          $PKGCONFIG --exists libidn2 >/dev/null 2>&1 && echo 1`
        !          27440: 
        !          27441:       if test -z "$itexists"; then
        !          27442:                         PKGCONFIG="no"
        !          27443:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          27444: $as_echo "no" >&6; }
        !          27445:       else
        !          27446:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
        !          27447: $as_echo "found" >&6; }
        !          27448:       fi
        !          27449:     fi
        !          27450: 
        !          27451:     if test "$PKGCONFIG" != "no"; then
        !          27452:       IDN_LIBS=`$PKGCONFIG --libs-only-l libidn2 2>/dev/null`
        !          27453:       IDN_LDFLAGS=`$PKGCONFIG --libs-only-L libidn2 2>/dev/null`
        !          27454:       IDN_CPPFLAGS=`$PKGCONFIG --cflags-only-I libidn2 2>/dev/null`
        !          27455:       IDN_DIR=`echo $IDN_LDFLAGS | $SED -e 's/-L//'`
        !          27456:     else
        !          27457:             IDN_LIBS="-lidn2"
        !          27458:     fi
        !          27459:   fi
        !          27460:   #
        !          27461:   if test "$PKGCONFIG" != "no"; then
        !          27462:     { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_LIBS: \"$IDN_LIBS\"" >&5
        !          27463: $as_echo "$as_me: pkg-config: IDN_LIBS: \"$IDN_LIBS\"" >&6;}
        !          27464:     { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_LDFLAGS: \"$IDN_LDFLAGS\"" >&5
        !          27465: $as_echo "$as_me: pkg-config: IDN_LDFLAGS: \"$IDN_LDFLAGS\"" >&6;}
        !          27466:     { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_CPPFLAGS: \"$IDN_CPPFLAGS\"" >&5
        !          27467: $as_echo "$as_me: pkg-config: IDN_CPPFLAGS: \"$IDN_CPPFLAGS\"" >&6;}
        !          27468:     { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_DIR: \"$IDN_DIR\"" >&5
        !          27469: $as_echo "$as_me: pkg-config: IDN_DIR: \"$IDN_DIR\"" >&6;}
        !          27470:   else
        !          27471:     { $as_echo "$as_me:${as_lineno-$LINENO}: IDN_LIBS: \"$IDN_LIBS\"" >&5
        !          27472: $as_echo "$as_me: IDN_LIBS: \"$IDN_LIBS\"" >&6;}
        !          27473:     { $as_echo "$as_me:${as_lineno-$LINENO}: IDN_LDFLAGS: \"$IDN_LDFLAGS\"" >&5
        !          27474: $as_echo "$as_me: IDN_LDFLAGS: \"$IDN_LDFLAGS\"" >&6;}
        !          27475:     { $as_echo "$as_me:${as_lineno-$LINENO}: IDN_CPPFLAGS: \"$IDN_CPPFLAGS\"" >&5
        !          27476: $as_echo "$as_me: IDN_CPPFLAGS: \"$IDN_CPPFLAGS\"" >&6;}
        !          27477:     { $as_echo "$as_me:${as_lineno-$LINENO}: IDN_DIR: \"$IDN_DIR\"" >&5
        !          27478: $as_echo "$as_me: IDN_DIR: \"$IDN_DIR\"" >&6;}
        !          27479:   fi
        !          27480:   #
        !          27481:   CPPFLAGS="$CPPFLAGS $IDN_CPPFLAGS"
        !          27482:   LDFLAGS="$LDFLAGS $IDN_LDFLAGS"
        !          27483:   LIBS="$IDN_LIBS $LIBS"
        !          27484:   #
        !          27485:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if idn2_lookup_ul can be linked" >&5
        !          27486: $as_echo_n "checking if idn2_lookup_ul can be linked... " >&6; }
        !          27487:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          27488: /* end confdefs.h.  */
        !          27489: 
        !          27490: 
        !          27491: #define idn2_lookup_ul innocuous_idn2_lookup_ul
        !          27492: #ifdef __STDC__
        !          27493: # include <limits.h>
        !          27494: #else
        !          27495: # include <assert.h>
        !          27496: #endif
        !          27497: #undef idn2_lookup_ul
        !          27498: #ifdef __cplusplus
        !          27499: extern "C"
        !          27500: #endif
        !          27501: char idn2_lookup_ul ();
        !          27502: #if defined __stub_idn2_lookup_ul || defined __stub___idn2_lookup_ul
        !          27503: choke me
        !          27504: #endif
        !          27505: 
        !          27506: int main (void)
        !          27507: {
        !          27508: return idn2_lookup_ul ();
        !          27509:  ;
        !          27510:  return 0;
        !          27511: }
        !          27512: 
        !          27513: _ACEOF
        !          27514: if ac_fn_c_try_link "$LINENO"; then :
        !          27515: 
        !          27516:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          27517: $as_echo "yes" >&6; }
        !          27518:     tst_links_libidn="yes"
        !          27519: 
        !          27520: else
        !          27521: 
        !          27522:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          27523: $as_echo "no" >&6; }
        !          27524:     tst_links_libidn="no"
        !          27525: 
        !          27526: fi
        !          27527: rm -f core conftest.err conftest.$ac_objext \
        !          27528:     conftest$ac_exeext conftest.$ac_ext
        !          27529:   #
        !          27530:   for ac_header in idn2.h
        !          27531: do :
        !          27532:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          27533: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
        !          27534: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          27535:   cat >>confdefs.h <<_ACEOF
        !          27536: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          27537: _ACEOF
        !          27538: 
        !          27539: fi
        !          27540: 
        !          27541: done
        !          27542: 
        !          27543: 
        !          27544:   if test "$tst_links_libidn" = "yes"; then
        !          27545: 
        !          27546: $as_echo "#define HAVE_LIBIDN2 1" >>confdefs.h
        !          27547: 
        !          27548: 
        !          27549:     IDN_ENABLED=1
        !          27550: 
        !          27551:     curl_idn_msg="enabled (libidn2)"
        !          27552:     if test -n "$IDN_DIR" -a "x$cross_compiling" != "xyes"; then
        !          27553:       CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$IDN_DIR"
        !          27554:       export CURL_LIBRARY_PATH
        !          27555:       { $as_echo "$as_me:${as_lineno-$LINENO}: Added $IDN_DIR to CURL_LIBRARY_PATH" >&5
        !          27556: $as_echo "$as_me: Added $IDN_DIR to CURL_LIBRARY_PATH" >&6;}
        !          27557:     fi
        !          27558:   else
        !          27559:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libraries for IDN support: IDN disabled" >&5
        !          27560: $as_echo "$as_me: WARNING: Cannot find libraries for IDN support: IDN disabled" >&2;}
        !          27561:     CPPFLAGS="$clean_CPPFLAGS"
        !          27562:     LDFLAGS="$clean_LDFLAGS"
        !          27563:     LIBS="$clean_LIBS"
        !          27564:   fi
        !          27565: fi
        !          27566: 
        !          27567: 
        !          27568: 
        !          27569: 
        !          27570: 
        !          27571: OPT_H2="yes"
        !          27572: 
        !          27573: if test "x$disable_http" = "xyes"; then
        !          27574:   # without HTTP, nghttp2 is no use
        !          27575:   OPT_H2="no"
        !          27576: fi
        !          27577: 
        !          27578: 
        !          27579: # Check whether --with-nghttp2 was given.
        !          27580: if test "${with_nghttp2+set}" = set; then :
        !          27581:   withval=$with_nghttp2; OPT_H2=$withval
        !          27582: fi
        !          27583: 
        !          27584: case "$OPT_H2" in
        !          27585:   no)
        !          27586:         want_h2="no"
        !          27587:     ;;
        !          27588:   yes)
        !          27589:         want_h2="default"
        !          27590:     want_h2_path=""
        !          27591:     ;;
        !          27592:   *)
        !          27593:         want_h2="yes"
        !          27594:     want_h2_path="$withval/lib/pkgconfig"
        !          27595:     ;;
        !          27596: esac
        !          27597: 
        !          27598: curl_h2_msg="disabled (--with-nghttp2)"
        !          27599: if test X"$want_h2" != Xno; then
        !          27600:     CLEANLDFLAGS="$LDFLAGS"
        !          27601:   CLEANCPPFLAGS="$CPPFLAGS"
        !          27602:   CLEANLIBS="$LIBS"
        !          27603: 
        !          27604: 
        !          27605:     if test -n "$PKG_CONFIG"; then
        !          27606:       PKGCONFIG="$PKG_CONFIG"
        !          27607:     else
        !          27608:       if test -n "$ac_tool_prefix"; then
        !          27609:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
        !          27610: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
        !          27611: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          27612: $as_echo_n "checking for $ac_word... " >&6; }
        !          27613: if ${ac_cv_path_PKGCONFIG+:} false; then :
        !          27614:   $as_echo_n "(cached) " >&6
        !          27615: else
        !          27616:   case $PKGCONFIG in
        !          27617:   [\\/]* | ?:[\\/]*)
        !          27618:   ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
        !          27619:   ;;
        !          27620:   *)
        !          27621:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          27622: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          27623: for as_dir in $as_dummy
        !          27624: do
        !          27625:   IFS=$as_save_IFS
        !          27626:   test -z "$as_dir" && as_dir=.
        !          27627:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          27628:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          27629:     ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          27630:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          27631:     break 2
        !          27632:   fi
        !          27633: done
        !          27634:   done
        !          27635: IFS=$as_save_IFS
        !          27636: 
        !          27637:   ;;
        !          27638: esac
        !          27639: fi
        !          27640: PKGCONFIG=$ac_cv_path_PKGCONFIG
        !          27641: if test -n "$PKGCONFIG"; then
        !          27642:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
        !          27643: $as_echo "$PKGCONFIG" >&6; }
        !          27644: else
        !          27645:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          27646: $as_echo "no" >&6; }
        !          27647: fi
        !          27648: 
        !          27649: 
        !          27650: fi
        !          27651: if test -z "$ac_cv_path_PKGCONFIG"; then
        !          27652:   ac_pt_PKGCONFIG=$PKGCONFIG
        !          27653:   # Extract the first word of "pkg-config", so it can be a program name with args.
        !          27654: set dummy pkg-config; ac_word=$2
        !          27655: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          27656: $as_echo_n "checking for $ac_word... " >&6; }
        !          27657: if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
        !          27658:   $as_echo_n "(cached) " >&6
        !          27659: else
        !          27660:   case $ac_pt_PKGCONFIG in
        !          27661:   [\\/]* | ?:[\\/]*)
        !          27662:   ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
        !          27663:   ;;
        !          27664:   *)
        !          27665:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          27666: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          27667: for as_dir in $as_dummy
        !          27668: do
        !          27669:   IFS=$as_save_IFS
        !          27670:   test -z "$as_dir" && as_dir=.
        !          27671:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          27672:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          27673:     ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          27674:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          27675:     break 2
        !          27676:   fi
        !          27677: done
        !          27678:   done
        !          27679: IFS=$as_save_IFS
        !          27680: 
        !          27681:   ;;
        !          27682: esac
        !          27683: fi
        !          27684: ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
        !          27685: if test -n "$ac_pt_PKGCONFIG"; then
        !          27686:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
        !          27687: $as_echo "$ac_pt_PKGCONFIG" >&6; }
        !          27688: else
        !          27689:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          27690: $as_echo "no" >&6; }
        !          27691: fi
        !          27692: 
        !          27693:   if test "x$ac_pt_PKGCONFIG" = x; then
        !          27694:     PKGCONFIG="no"
        !          27695:   else
        !          27696:     case $cross_compiling:$ac_tool_warned in
        !          27697: yes:)
        !          27698: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          27699: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          27700: ac_tool_warned=yes ;;
        !          27701: esac
        !          27702:     PKGCONFIG=$ac_pt_PKGCONFIG
        !          27703:   fi
        !          27704: else
        !          27705:   PKGCONFIG="$ac_cv_path_PKGCONFIG"
        !          27706: fi
        !          27707: 
        !          27708:     fi
        !          27709: 
        !          27710:     if test "x$PKGCONFIG" != "xno"; then
        !          27711:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnghttp2 options with pkg-config" >&5
        !          27712: $as_echo_n "checking for libnghttp2 options with pkg-config... " >&6; }
        !          27713:             itexists=`
        !          27714:     if test -n "$want_h2_path"; then
        !          27715:       PKG_CONFIG_LIBDIR="$want_h2_path"
        !          27716:       export PKG_CONFIG_LIBDIR
        !          27717:     fi
        !          27718:          $PKGCONFIG --exists libnghttp2 >/dev/null 2>&1 && echo 1`
        !          27719: 
        !          27720:       if test -z "$itexists"; then
        !          27721:                         PKGCONFIG="no"
        !          27722:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          27723: $as_echo "no" >&6; }
        !          27724:       else
        !          27725:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
        !          27726: $as_echo "found" >&6; }
        !          27727:       fi
        !          27728:     fi
        !          27729: 
        !          27730: 
        !          27731:   if test "$PKGCONFIG" != "no" ; then
        !          27732:     LIB_H2=`
        !          27733:     if test -n "$want_h2_path"; then
        !          27734:       PKG_CONFIG_LIBDIR="$want_h2_path"
        !          27735:       export PKG_CONFIG_LIBDIR
        !          27736:     fi
        !          27737: 
        !          27738:       $PKGCONFIG --libs-only-l libnghttp2`
        !          27739:     { $as_echo "$as_me:${as_lineno-$LINENO}: -l is $LIB_H2" >&5
        !          27740: $as_echo "$as_me: -l is $LIB_H2" >&6;}
        !          27741: 
        !          27742:     CPP_H2=`
        !          27743:     if test -n "$want_h2_path"; then
        !          27744:       PKG_CONFIG_LIBDIR="$want_h2_path"
        !          27745:       export PKG_CONFIG_LIBDIR
        !          27746:     fi
        !          27747:        $PKGCONFIG --cflags-only-I libnghttp2`
        !          27748:     { $as_echo "$as_me:${as_lineno-$LINENO}: -I is $CPP_H2" >&5
        !          27749: $as_echo "$as_me: -I is $CPP_H2" >&6;}
        !          27750: 
        !          27751:     LD_H2=`
        !          27752:     if test -n "$want_h2_path"; then
        !          27753:       PKG_CONFIG_LIBDIR="$want_h2_path"
        !          27754:       export PKG_CONFIG_LIBDIR
        !          27755:     fi
        !          27756: 
        !          27757:       $PKGCONFIG --libs-only-L libnghttp2`
        !          27758:     { $as_echo "$as_me:${as_lineno-$LINENO}: -L is $LD_H2" >&5
        !          27759: $as_echo "$as_me: -L is $LD_H2" >&6;}
        !          27760: 
        !          27761:     LDFLAGS="$LDFLAGS $LD_H2"
        !          27762:     CPPFLAGS="$CPPFLAGS $CPP_H2"
        !          27763:     LIBS="$LIB_H2 $LIBS"
        !          27764: 
        !          27765:     # use nghttp2_session_set_local_window_size to require nghttp2
        !          27766:     # >= 1.12.0
        !          27767:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nghttp2_session_set_local_window_size in -lnghttp2" >&5
        !          27768: $as_echo_n "checking for nghttp2_session_set_local_window_size in -lnghttp2... " >&6; }
        !          27769: if ${ac_cv_lib_nghttp2_nghttp2_session_set_local_window_size+:} false; then :
        !          27770:   $as_echo_n "(cached) " >&6
        !          27771: else
        !          27772:   ac_check_lib_save_LIBS=$LIBS
        !          27773: LIBS="-lnghttp2  $LIBS"
        !          27774: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          27775: /* end confdefs.h.  */
        !          27776: 
        !          27777: 
        !          27778: #ifdef __cplusplus
        !          27779: extern "C"
        !          27780: #endif
        !          27781: char nghttp2_session_set_local_window_size ();
        !          27782: int main (void)
        !          27783: {
        !          27784: return nghttp2_session_set_local_window_size ();
        !          27785:  ;
        !          27786:  return 0;
        !          27787: }
        !          27788: _ACEOF
        !          27789: if ac_fn_c_try_link "$LINENO"; then :
        !          27790:   ac_cv_lib_nghttp2_nghttp2_session_set_local_window_size=yes
        !          27791: else
        !          27792:   ac_cv_lib_nghttp2_nghttp2_session_set_local_window_size=no
        !          27793: fi
        !          27794: rm -f core conftest.err conftest.$ac_objext \
        !          27795:     conftest$ac_exeext conftest.$ac_ext
        !          27796: LIBS=$ac_check_lib_save_LIBS
        !          27797: fi
        !          27798: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nghttp2_nghttp2_session_set_local_window_size" >&5
        !          27799: $as_echo "$ac_cv_lib_nghttp2_nghttp2_session_set_local_window_size" >&6; }
        !          27800: if test "x$ac_cv_lib_nghttp2_nghttp2_session_set_local_window_size" = xyes; then :
        !          27801: 
        !          27802:        for ac_header in nghttp2/nghttp2.h
        !          27803: do :
        !          27804:   ac_fn_c_check_header_mongrel "$LINENO" "nghttp2/nghttp2.h" "ac_cv_header_nghttp2_nghttp2_h" "$ac_includes_default"
        !          27805: if test "x$ac_cv_header_nghttp2_nghttp2_h" = xyes; then :
        !          27806:   cat >>confdefs.h <<_ACEOF
        !          27807: #define HAVE_NGHTTP2_NGHTTP2_H 1
        !          27808: _ACEOF
        !          27809:  curl_h2_msg="enabled (nghttp2)"
        !          27810:           NGHTTP2_ENABLED=1
        !          27811: 
        !          27812: $as_echo "#define USE_NGHTTP2 1" >>confdefs.h
        !          27813: 
        !          27814:           USE_NGHTTP2=1
        !          27815: 
        !          27816: 
        !          27817: fi
        !          27818: 
        !          27819: done
        !          27820: 
        !          27821: 
        !          27822: else
        !          27823:           LDFLAGS=$CLEANLDFLAGS
        !          27824:         CPPFLAGS=$CLEANCPPFLAGS
        !          27825:         LIBS=$CLEANLIBS
        !          27826: 
        !          27827: fi
        !          27828: 
        !          27829: 
        !          27830:   else
        !          27831:         if test X"$want_h2" != Xdefault; then
        !          27832:                   as_fn_error $? "--with-nghttp2 was specified but could not find libnghttp2 pkg-config file." "$LINENO" 5
        !          27833:     fi
        !          27834:   fi
        !          27835: 
        !          27836: fi
        !          27837: 
        !          27838: 
        !          27839: OPT_TCP2="yes"
        !          27840: curl_h3_msg="disabled (--with-ngtcp2, --with-quiche)"
        !          27841: 
        !          27842: if test "x$disable_http" = "xyes"; then
        !          27843:   # without HTTP, ngtcp2 is no use
        !          27844:   OPT_TCP2="no"
        !          27845: fi
        !          27846: 
        !          27847: 
        !          27848: # Check whether --with-ngtcp2 was given.
        !          27849: if test "${with_ngtcp2+set}" = set; then :
        !          27850:   withval=$with_ngtcp2; OPT_TCP2=$withval
        !          27851: fi
        !          27852: 
        !          27853: case "$OPT_TCP2" in
        !          27854:   no)
        !          27855:         want_tcp2="no"
        !          27856:     ;;
        !          27857:   yes)
        !          27858:         want_tcp2="default"
        !          27859:     want_tcp2_path=""
        !          27860:     ;;
        !          27861:   *)
        !          27862:         want_tcp2="yes"
        !          27863:     want_tcp2_path="$withval/lib/pkgconfig"
        !          27864:     ;;
        !          27865: esac
        !          27866: 
        !          27867: curl_tcp2_msg="disabled (--with-ngtcp2)"
        !          27868: if test X"$want_tcp2" != Xno; then
        !          27869:     CLEANLDFLAGS="$LDFLAGS"
        !          27870:   CLEANCPPFLAGS="$CPPFLAGS"
        !          27871:   CLEANLIBS="$LIBS"
        !          27872: 
        !          27873: 
        !          27874:     if test -n "$PKG_CONFIG"; then
        !          27875:       PKGCONFIG="$PKG_CONFIG"
        !          27876:     else
        !          27877:       if test -n "$ac_tool_prefix"; then
        !          27878:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
        !          27879: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
        !          27880: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          27881: $as_echo_n "checking for $ac_word... " >&6; }
        !          27882: if ${ac_cv_path_PKGCONFIG+:} false; then :
        !          27883:   $as_echo_n "(cached) " >&6
        !          27884: else
        !          27885:   case $PKGCONFIG in
        !          27886:   [\\/]* | ?:[\\/]*)
        !          27887:   ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
        !          27888:   ;;
        !          27889:   *)
        !          27890:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          27891: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          27892: for as_dir in $as_dummy
        !          27893: do
        !          27894:   IFS=$as_save_IFS
        !          27895:   test -z "$as_dir" && as_dir=.
        !          27896:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          27897:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          27898:     ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          27899:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          27900:     break 2
        !          27901:   fi
        !          27902: done
        !          27903:   done
        !          27904: IFS=$as_save_IFS
        !          27905: 
        !          27906:   ;;
        !          27907: esac
        !          27908: fi
        !          27909: PKGCONFIG=$ac_cv_path_PKGCONFIG
        !          27910: if test -n "$PKGCONFIG"; then
        !          27911:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
        !          27912: $as_echo "$PKGCONFIG" >&6; }
        !          27913: else
        !          27914:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          27915: $as_echo "no" >&6; }
        !          27916: fi
        !          27917: 
        !          27918: 
        !          27919: fi
        !          27920: if test -z "$ac_cv_path_PKGCONFIG"; then
        !          27921:   ac_pt_PKGCONFIG=$PKGCONFIG
        !          27922:   # Extract the first word of "pkg-config", so it can be a program name with args.
        !          27923: set dummy pkg-config; ac_word=$2
        !          27924: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          27925: $as_echo_n "checking for $ac_word... " >&6; }
        !          27926: if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
        !          27927:   $as_echo_n "(cached) " >&6
        !          27928: else
        !          27929:   case $ac_pt_PKGCONFIG in
        !          27930:   [\\/]* | ?:[\\/]*)
        !          27931:   ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
        !          27932:   ;;
        !          27933:   *)
        !          27934:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          27935: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          27936: for as_dir in $as_dummy
        !          27937: do
        !          27938:   IFS=$as_save_IFS
        !          27939:   test -z "$as_dir" && as_dir=.
        !          27940:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          27941:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          27942:     ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          27943:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          27944:     break 2
        !          27945:   fi
        !          27946: done
        !          27947:   done
        !          27948: IFS=$as_save_IFS
        !          27949: 
        !          27950:   ;;
        !          27951: esac
        !          27952: fi
        !          27953: ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
        !          27954: if test -n "$ac_pt_PKGCONFIG"; then
        !          27955:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
        !          27956: $as_echo "$ac_pt_PKGCONFIG" >&6; }
        !          27957: else
        !          27958:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          27959: $as_echo "no" >&6; }
        !          27960: fi
        !          27961: 
        !          27962:   if test "x$ac_pt_PKGCONFIG" = x; then
        !          27963:     PKGCONFIG="no"
        !          27964:   else
        !          27965:     case $cross_compiling:$ac_tool_warned in
        !          27966: yes:)
        !          27967: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          27968: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          27969: ac_tool_warned=yes ;;
        !          27970: esac
        !          27971:     PKGCONFIG=$ac_pt_PKGCONFIG
        !          27972:   fi
        !          27973: else
        !          27974:   PKGCONFIG="$ac_cv_path_PKGCONFIG"
        !          27975: fi
        !          27976: 
        !          27977:     fi
        !          27978: 
        !          27979:     if test "x$PKGCONFIG" != "xno"; then
        !          27980:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libngtcp2 options with pkg-config" >&5
        !          27981: $as_echo_n "checking for libngtcp2 options with pkg-config... " >&6; }
        !          27982:             itexists=`
        !          27983:     if test -n "$want_tcp2_path"; then
        !          27984:       PKG_CONFIG_LIBDIR="$want_tcp2_path"
        !          27985:       export PKG_CONFIG_LIBDIR
        !          27986:     fi
        !          27987:          $PKGCONFIG --exists libngtcp2 >/dev/null 2>&1 && echo 1`
        !          27988: 
        !          27989:       if test -z "$itexists"; then
        !          27990:                         PKGCONFIG="no"
        !          27991:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          27992: $as_echo "no" >&6; }
        !          27993:       else
        !          27994:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
        !          27995: $as_echo "found" >&6; }
        !          27996:       fi
        !          27997:     fi
        !          27998: 
        !          27999: 
        !          28000:   if test "$PKGCONFIG" != "no" ; then
        !          28001:     LIB_TCP2=`
        !          28002:     if test -n "$want_tcp2_path"; then
        !          28003:       PKG_CONFIG_LIBDIR="$want_tcp2_path"
        !          28004:       export PKG_CONFIG_LIBDIR
        !          28005:     fi
        !          28006: 
        !          28007:       $PKGCONFIG --libs-only-l libngtcp2`
        !          28008:     { $as_echo "$as_me:${as_lineno-$LINENO}: -l is $LIB_TCP2" >&5
        !          28009: $as_echo "$as_me: -l is $LIB_TCP2" >&6;}
        !          28010: 
        !          28011:     CPP_TCP2=`
        !          28012:     if test -n "$want_tcp2_path"; then
        !          28013:       PKG_CONFIG_LIBDIR="$want_tcp2_path"
        !          28014:       export PKG_CONFIG_LIBDIR
        !          28015:     fi
        !          28016:        $PKGCONFIG --cflags-only-I libngtcp2`
        !          28017:     { $as_echo "$as_me:${as_lineno-$LINENO}: -I is $CPP_TCP2" >&5
        !          28018: $as_echo "$as_me: -I is $CPP_TCP2" >&6;}
        !          28019: 
        !          28020:     LD_TCP2=`
        !          28021:     if test -n "$want_tcp2_path"; then
        !          28022:       PKG_CONFIG_LIBDIR="$want_tcp2_path"
        !          28023:       export PKG_CONFIG_LIBDIR
        !          28024:     fi
        !          28025: 
        !          28026:       $PKGCONFIG --libs-only-L libngtcp2`
        !          28027:     { $as_echo "$as_me:${as_lineno-$LINENO}: -L is $LD_TCP2" >&5
        !          28028: $as_echo "$as_me: -L is $LD_TCP2" >&6;}
        !          28029: 
        !          28030:     LDFLAGS="$LDFLAGS $LD_TCP2"
        !          28031:     CPPFLAGS="$CPPFLAGS $CPP_TCP2"
        !          28032:     LIBS="$LIB_TCP2 $LIBS"
        !          28033: 
        !          28034:     if test "x$cross_compiling" != "xyes"; then
        !          28035:       DIR_TCP2=`echo $LD_TCP2 | $SED -e 's/-L//'`
        !          28036:     fi
        !          28037:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_conn_client_new in -lngtcp2" >&5
        !          28038: $as_echo_n "checking for ngtcp2_conn_client_new in -lngtcp2... " >&6; }
        !          28039: if ${ac_cv_lib_ngtcp2_ngtcp2_conn_client_new+:} false; then :
        !          28040:   $as_echo_n "(cached) " >&6
        !          28041: else
        !          28042:   ac_check_lib_save_LIBS=$LIBS
        !          28043: LIBS="-lngtcp2  $LIBS"
        !          28044: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          28045: /* end confdefs.h.  */
        !          28046: 
        !          28047: 
        !          28048: #ifdef __cplusplus
        !          28049: extern "C"
        !          28050: #endif
        !          28051: char ngtcp2_conn_client_new ();
        !          28052: int main (void)
        !          28053: {
        !          28054: return ngtcp2_conn_client_new ();
        !          28055:  ;
        !          28056:  return 0;
        !          28057: }
        !          28058: _ACEOF
        !          28059: if ac_fn_c_try_link "$LINENO"; then :
        !          28060:   ac_cv_lib_ngtcp2_ngtcp2_conn_client_new=yes
        !          28061: else
        !          28062:   ac_cv_lib_ngtcp2_ngtcp2_conn_client_new=no
        !          28063: fi
        !          28064: rm -f core conftest.err conftest.$ac_objext \
        !          28065:     conftest$ac_exeext conftest.$ac_ext
        !          28066: LIBS=$ac_check_lib_save_LIBS
        !          28067: fi
        !          28068: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_ngtcp2_conn_client_new" >&5
        !          28069: $as_echo "$ac_cv_lib_ngtcp2_ngtcp2_conn_client_new" >&6; }
        !          28070: if test "x$ac_cv_lib_ngtcp2_ngtcp2_conn_client_new" = xyes; then :
        !          28071: 
        !          28072:        for ac_header in ngtcp2/ngtcp2.h
        !          28073: do :
        !          28074:   ac_fn_c_check_header_mongrel "$LINENO" "ngtcp2/ngtcp2.h" "ac_cv_header_ngtcp2_ngtcp2_h" "$ac_includes_default"
        !          28075: if test "x$ac_cv_header_ngtcp2_ngtcp2_h" = xyes; then :
        !          28076:   cat >>confdefs.h <<_ACEOF
        !          28077: #define HAVE_NGTCP2_NGTCP2_H 1
        !          28078: _ACEOF
        !          28079:  NGTCP2_ENABLED=1
        !          28080: 
        !          28081: $as_echo "#define USE_NGTCP2 1" >>confdefs.h
        !          28082: 
        !          28083:           USE_NGTCP2=1
        !          28084: 
        !          28085:           CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_TCP2"
        !          28086:           export CURL_LIBRARY_PATH
        !          28087:           { $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_TCP2 to CURL_LIBRARY_PATH" >&5
        !          28088: $as_echo "$as_me: Added $DIR_TCP2 to CURL_LIBRARY_PATH" >&6;}
        !          28089: 
        !          28090: fi
        !          28091: 
        !          28092: done
        !          28093: 
        !          28094: 
        !          28095: else
        !          28096:           LDFLAGS=$CLEANLDFLAGS
        !          28097:         CPPFLAGS=$CLEANCPPFLAGS
        !          28098:         LIBS=$CLEANLIBS
        !          28099: 
        !          28100: fi
        !          28101: 
        !          28102: 
        !          28103:   else
        !          28104:         if test X"$want_tcp2" != Xdefault; then
        !          28105:                   as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2 pkg-config file." "$LINENO" 5
        !          28106:     fi
        !          28107:   fi
        !          28108: 
        !          28109: fi
        !          28110: 
        !          28111: if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1"; then
        !          28112:     CLEANLDFLAGS="$LDFLAGS"
        !          28113:   CLEANCPPFLAGS="$CPPFLAGS"
        !          28114:   CLEANLIBS="$LIBS"
        !          28115: 
        !          28116: 
        !          28117:     if test -n "$PKG_CONFIG"; then
        !          28118:       PKGCONFIG="$PKG_CONFIG"
        !          28119:     else
        !          28120:       if test -n "$ac_tool_prefix"; then
        !          28121:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
        !          28122: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
        !          28123: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          28124: $as_echo_n "checking for $ac_word... " >&6; }
        !          28125: if ${ac_cv_path_PKGCONFIG+:} false; then :
        !          28126:   $as_echo_n "(cached) " >&6
        !          28127: else
        !          28128:   case $PKGCONFIG in
        !          28129:   [\\/]* | ?:[\\/]*)
        !          28130:   ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
        !          28131:   ;;
        !          28132:   *)
        !          28133:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          28134: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          28135: for as_dir in $as_dummy
        !          28136: do
        !          28137:   IFS=$as_save_IFS
        !          28138:   test -z "$as_dir" && as_dir=.
        !          28139:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          28140:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          28141:     ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          28142:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          28143:     break 2
        !          28144:   fi
        !          28145: done
        !          28146:   done
        !          28147: IFS=$as_save_IFS
        !          28148: 
        !          28149:   ;;
        !          28150: esac
        !          28151: fi
        !          28152: PKGCONFIG=$ac_cv_path_PKGCONFIG
        !          28153: if test -n "$PKGCONFIG"; then
        !          28154:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
        !          28155: $as_echo "$PKGCONFIG" >&6; }
        !          28156: else
        !          28157:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          28158: $as_echo "no" >&6; }
        !          28159: fi
        !          28160: 
        !          28161: 
        !          28162: fi
        !          28163: if test -z "$ac_cv_path_PKGCONFIG"; then
        !          28164:   ac_pt_PKGCONFIG=$PKGCONFIG
        !          28165:   # Extract the first word of "pkg-config", so it can be a program name with args.
        !          28166: set dummy pkg-config; ac_word=$2
        !          28167: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          28168: $as_echo_n "checking for $ac_word... " >&6; }
        !          28169: if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
        !          28170:   $as_echo_n "(cached) " >&6
        !          28171: else
        !          28172:   case $ac_pt_PKGCONFIG in
        !          28173:   [\\/]* | ?:[\\/]*)
        !          28174:   ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
        !          28175:   ;;
        !          28176:   *)
        !          28177:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          28178: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          28179: for as_dir in $as_dummy
        !          28180: do
        !          28181:   IFS=$as_save_IFS
        !          28182:   test -z "$as_dir" && as_dir=.
        !          28183:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          28184:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          28185:     ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          28186:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          28187:     break 2
        !          28188:   fi
        !          28189: done
        !          28190:   done
        !          28191: IFS=$as_save_IFS
        !          28192: 
        !          28193:   ;;
        !          28194: esac
        !          28195: fi
        !          28196: ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
        !          28197: if test -n "$ac_pt_PKGCONFIG"; then
        !          28198:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
        !          28199: $as_echo "$ac_pt_PKGCONFIG" >&6; }
        !          28200: else
        !          28201:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          28202: $as_echo "no" >&6; }
        !          28203: fi
        !          28204: 
        !          28205:   if test "x$ac_pt_PKGCONFIG" = x; then
        !          28206:     PKGCONFIG="no"
        !          28207:   else
        !          28208:     case $cross_compiling:$ac_tool_warned in
        !          28209: yes:)
        !          28210: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          28211: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          28212: ac_tool_warned=yes ;;
        !          28213: esac
        !          28214:     PKGCONFIG=$ac_pt_PKGCONFIG
        !          28215:   fi
        !          28216: else
        !          28217:   PKGCONFIG="$ac_cv_path_PKGCONFIG"
        !          28218: fi
        !          28219: 
        !          28220:     fi
        !          28221: 
        !          28222:     if test "x$PKGCONFIG" != "xno"; then
        !          28223:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_openssl options with pkg-config" >&5
        !          28224: $as_echo_n "checking for libngtcp2_crypto_openssl options with pkg-config... " >&6; }
        !          28225:             itexists=`
        !          28226:     if test -n "$want_tcp2_path"; then
        !          28227:       PKG_CONFIG_LIBDIR="$want_tcp2_path"
        !          28228:       export PKG_CONFIG_LIBDIR
        !          28229:     fi
        !          28230:          $PKGCONFIG --exists libngtcp2_crypto_openssl >/dev/null 2>&1 && echo 1`
        !          28231: 
        !          28232:       if test -z "$itexists"; then
        !          28233:                         PKGCONFIG="no"
        !          28234:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          28235: $as_echo "no" >&6; }
        !          28236:       else
        !          28237:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
        !          28238: $as_echo "found" >&6; }
        !          28239:       fi
        !          28240:     fi
        !          28241: 
        !          28242: 
        !          28243:   if test "$PKGCONFIG" != "no" ; then
        !          28244:     LIB_NGTCP2_CRYPTO_OPENSSL=`
        !          28245:     if test -n "$want_tcp2_path"; then
        !          28246:       PKG_CONFIG_LIBDIR="$want_tcp2_path"
        !          28247:       export PKG_CONFIG_LIBDIR
        !          28248:     fi
        !          28249: 
        !          28250:       $PKGCONFIG --libs-only-l libngtcp2_crypto_openssl`
        !          28251:     { $as_echo "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_OPENSSL" >&5
        !          28252: $as_echo "$as_me: -l is $LIB_NGTCP2_CRYPTO_OPENSSL" >&6;}
        !          28253: 
        !          28254:     CPP_NGTCP2_CRYPTO_OPENSSL=`
        !          28255:     if test -n "$want_tcp2_path"; then
        !          28256:       PKG_CONFIG_LIBDIR="$want_tcp2_path"
        !          28257:       export PKG_CONFIG_LIBDIR
        !          28258:     fi
        !          28259:        $PKGCONFIG --cflags-only-I libngtcp2_crypto_openssl`
        !          28260:     { $as_echo "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_OPENSSL" >&5
        !          28261: $as_echo "$as_me: -I is $CPP_NGTCP2_CRYPTO_OPENSSL" >&6;}
        !          28262: 
        !          28263:     LD_NGTCP2_CRYPTO_OPENSSL=`
        !          28264:     if test -n "$want_tcp2_path"; then
        !          28265:       PKG_CONFIG_LIBDIR="$want_tcp2_path"
        !          28266:       export PKG_CONFIG_LIBDIR
        !          28267:     fi
        !          28268: 
        !          28269:       $PKGCONFIG --libs-only-L libngtcp2_crypto_openssl`
        !          28270:     { $as_echo "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_OPENSSL" >&5
        !          28271: $as_echo "$as_me: -L is $LD_NGTCP2_CRYPTO_OPENSSL" >&6;}
        !          28272: 
        !          28273:     LDFLAGS="$LDFLAGS $LD_NGTCP2_CRYPTO_OPENSSL"
        !          28274:     CPPFLAGS="$CPPFLAGS $CPP_NGTCP2_CRYPTO_OPENSSL"
        !          28275:     LIBS="$LIB_NGTCP2_CRYPTO_OPENSSL $LIBS"
        !          28276: 
        !          28277:     if test "x$cross_compiling" != "xyes"; then
        !          28278:       DIR_NGTCP2_CRYPTO_OPENSSL=`echo $LD_NGTCP2_CRYPTO_OPENSSL | $SED -e 's/-L//'`
        !          28279:     fi
        !          28280:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_ctx_initial in -lngtcp2_crypto_openssl" >&5
        !          28281: $as_echo_n "checking for ngtcp2_crypto_ctx_initial in -lngtcp2_crypto_openssl... " >&6; }
        !          28282: if ${ac_cv_lib_ngtcp2_crypto_openssl_ngtcp2_crypto_ctx_initial+:} false; then :
        !          28283:   $as_echo_n "(cached) " >&6
        !          28284: else
        !          28285:   ac_check_lib_save_LIBS=$LIBS
        !          28286: LIBS="-lngtcp2_crypto_openssl  $LIBS"
        !          28287: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          28288: /* end confdefs.h.  */
        !          28289: 
        !          28290: 
        !          28291: #ifdef __cplusplus
        !          28292: extern "C"
        !          28293: #endif
        !          28294: char ngtcp2_crypto_ctx_initial ();
        !          28295: int main (void)
        !          28296: {
        !          28297: return ngtcp2_crypto_ctx_initial ();
        !          28298:  ;
        !          28299:  return 0;
        !          28300: }
        !          28301: _ACEOF
        !          28302: if ac_fn_c_try_link "$LINENO"; then :
        !          28303:   ac_cv_lib_ngtcp2_crypto_openssl_ngtcp2_crypto_ctx_initial=yes
        !          28304: else
        !          28305:   ac_cv_lib_ngtcp2_crypto_openssl_ngtcp2_crypto_ctx_initial=no
        !          28306: fi
        !          28307: rm -f core conftest.err conftest.$ac_objext \
        !          28308:     conftest$ac_exeext conftest.$ac_ext
        !          28309: LIBS=$ac_check_lib_save_LIBS
        !          28310: fi
        !          28311: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_openssl_ngtcp2_crypto_ctx_initial" >&5
        !          28312: $as_echo "$ac_cv_lib_ngtcp2_crypto_openssl_ngtcp2_crypto_ctx_initial" >&6; }
        !          28313: if test "x$ac_cv_lib_ngtcp2_crypto_openssl_ngtcp2_crypto_ctx_initial" = xyes; then :
        !          28314: 
        !          28315:        for ac_header in ngtcp2/ngtcp2_crypto.h
        !          28316: do :
        !          28317:   ac_fn_c_check_header_mongrel "$LINENO" "ngtcp2/ngtcp2_crypto.h" "ac_cv_header_ngtcp2_ngtcp2_crypto_h" "$ac_includes_default"
        !          28318: if test "x$ac_cv_header_ngtcp2_ngtcp2_crypto_h" = xyes; then :
        !          28319:   cat >>confdefs.h <<_ACEOF
        !          28320: #define HAVE_NGTCP2_NGTCP2_CRYPTO_H 1
        !          28321: _ACEOF
        !          28322:  NGTCP2_ENABLED=1
        !          28323: 
        !          28324: $as_echo "#define USE_NGTCP2_CRYPTO_OPENSSL 1" >>confdefs.h
        !          28325: 
        !          28326:           USE_NGTCP2_CRYPTO_OPENSSL=1
        !          28327: 
        !          28328:           CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_NGTCP2_CRYPTO_OPENSSL"
        !          28329:           export CURL_LIBRARY_PATH
        !          28330:           { $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_OPENSSL to CURL_LIBRARY_PATH" >&5
        !          28331: $as_echo "$as_me: Added $DIR_NGTCP2_CRYPTO_OPENSSL to CURL_LIBRARY_PATH" >&6;}
        !          28332: 
        !          28333: fi
        !          28334: 
        !          28335: done
        !          28336: 
        !          28337: 
        !          28338: else
        !          28339:           LDFLAGS=$CLEANLDFLAGS
        !          28340:         CPPFLAGS=$CLEANCPPFLAGS
        !          28341:         LIBS=$CLEANLIBS
        !          28342: 
        !          28343: fi
        !          28344: 
        !          28345: 
        !          28346:   else
        !          28347:         if test X"$want_tcp2" != Xdefault; then
        !          28348:                   as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_openssl pkg-config file." "$LINENO" 5
        !          28349:     fi
        !          28350:   fi
        !          28351: fi
        !          28352: 
        !          28353: if test "x$NGTCP2_ENABLED" = "x1" -a "x$GNUTLS_ENABLED" = "x1"; then
        !          28354:     CLEANLDFLAGS="$LDFLAGS"
        !          28355:   CLEANCPPFLAGS="$CPPFLAGS"
        !          28356:   CLEANLIBS="$LIBS"
        !          28357: 
        !          28358: 
        !          28359:     if test -n "$PKG_CONFIG"; then
        !          28360:       PKGCONFIG="$PKG_CONFIG"
        !          28361:     else
        !          28362:       if test -n "$ac_tool_prefix"; then
        !          28363:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
        !          28364: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
        !          28365: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          28366: $as_echo_n "checking for $ac_word... " >&6; }
        !          28367: if ${ac_cv_path_PKGCONFIG+:} false; then :
        !          28368:   $as_echo_n "(cached) " >&6
        !          28369: else
        !          28370:   case $PKGCONFIG in
        !          28371:   [\\/]* | ?:[\\/]*)
        !          28372:   ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
        !          28373:   ;;
        !          28374:   *)
        !          28375:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          28376: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          28377: for as_dir in $as_dummy
        !          28378: do
        !          28379:   IFS=$as_save_IFS
        !          28380:   test -z "$as_dir" && as_dir=.
        !          28381:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          28382:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          28383:     ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          28384:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          28385:     break 2
        !          28386:   fi
        !          28387: done
        !          28388:   done
        !          28389: IFS=$as_save_IFS
        !          28390: 
        !          28391:   ;;
        !          28392: esac
        !          28393: fi
        !          28394: PKGCONFIG=$ac_cv_path_PKGCONFIG
        !          28395: if test -n "$PKGCONFIG"; then
        !          28396:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
        !          28397: $as_echo "$PKGCONFIG" >&6; }
        !          28398: else
        !          28399:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          28400: $as_echo "no" >&6; }
        !          28401: fi
        !          28402: 
        !          28403: 
        !          28404: fi
        !          28405: if test -z "$ac_cv_path_PKGCONFIG"; then
        !          28406:   ac_pt_PKGCONFIG=$PKGCONFIG
        !          28407:   # Extract the first word of "pkg-config", so it can be a program name with args.
        !          28408: set dummy pkg-config; ac_word=$2
        !          28409: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          28410: $as_echo_n "checking for $ac_word... " >&6; }
        !          28411: if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
        !          28412:   $as_echo_n "(cached) " >&6
        !          28413: else
        !          28414:   case $ac_pt_PKGCONFIG in
        !          28415:   [\\/]* | ?:[\\/]*)
        !          28416:   ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
        !          28417:   ;;
        !          28418:   *)
        !          28419:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          28420: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          28421: for as_dir in $as_dummy
        !          28422: do
        !          28423:   IFS=$as_save_IFS
        !          28424:   test -z "$as_dir" && as_dir=.
        !          28425:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          28426:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          28427:     ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          28428:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          28429:     break 2
        !          28430:   fi
        !          28431: done
        !          28432:   done
        !          28433: IFS=$as_save_IFS
        !          28434: 
        !          28435:   ;;
        !          28436: esac
        !          28437: fi
        !          28438: ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
        !          28439: if test -n "$ac_pt_PKGCONFIG"; then
        !          28440:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
        !          28441: $as_echo "$ac_pt_PKGCONFIG" >&6; }
        !          28442: else
        !          28443:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          28444: $as_echo "no" >&6; }
        !          28445: fi
        !          28446: 
        !          28447:   if test "x$ac_pt_PKGCONFIG" = x; then
        !          28448:     PKGCONFIG="no"
        !          28449:   else
        !          28450:     case $cross_compiling:$ac_tool_warned in
        !          28451: yes:)
        !          28452: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          28453: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          28454: ac_tool_warned=yes ;;
        !          28455: esac
        !          28456:     PKGCONFIG=$ac_pt_PKGCONFIG
        !          28457:   fi
        !          28458: else
        !          28459:   PKGCONFIG="$ac_cv_path_PKGCONFIG"
        !          28460: fi
        !          28461: 
        !          28462:     fi
        !          28463: 
        !          28464:     if test "x$PKGCONFIG" != "xno"; then
        !          28465:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_gnutls options with pkg-config" >&5
        !          28466: $as_echo_n "checking for libngtcp2_crypto_gnutls options with pkg-config... " >&6; }
        !          28467:             itexists=`
        !          28468:     if test -n "$want_tcp2_path"; then
        !          28469:       PKG_CONFIG_LIBDIR="$want_tcp2_path"
        !          28470:       export PKG_CONFIG_LIBDIR
        !          28471:     fi
        !          28472:          $PKGCONFIG --exists libngtcp2_crypto_gnutls >/dev/null 2>&1 && echo 1`
        !          28473: 
        !          28474:       if test -z "$itexists"; then
        !          28475:                         PKGCONFIG="no"
        !          28476:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          28477: $as_echo "no" >&6; }
        !          28478:       else
        !          28479:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
        !          28480: $as_echo "found" >&6; }
        !          28481:       fi
        !          28482:     fi
        !          28483: 
        !          28484: 
        !          28485:   if test "$PKGCONFIG" != "no" ; then
        !          28486:     LIB_NGTCP2_CRYPTO_GNUTLS=`
        !          28487:     if test -n "$want_tcp2_path"; then
        !          28488:       PKG_CONFIG_LIBDIR="$want_tcp2_path"
        !          28489:       export PKG_CONFIG_LIBDIR
        !          28490:     fi
        !          28491: 
        !          28492:       $PKGCONFIG --libs-only-l libngtcp2_crypto_gnutls`
        !          28493:     { $as_echo "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_GNUTLS" >&5
        !          28494: $as_echo "$as_me: -l is $LIB_NGTCP2_CRYPTO_GNUTLS" >&6;}
        !          28495: 
        !          28496:     CPP_NGTCP2_CRYPTO_GNUTLS=`
        !          28497:     if test -n "$want_tcp2_path"; then
        !          28498:       PKG_CONFIG_LIBDIR="$want_tcp2_path"
        !          28499:       export PKG_CONFIG_LIBDIR
        !          28500:     fi
        !          28501:        $PKGCONFIG --cflags-only-I libngtcp2_crypto_gnutls`
        !          28502:     { $as_echo "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_GNUTLS" >&5
        !          28503: $as_echo "$as_me: -I is $CPP_NGTCP2_CRYPTO_GNUTLS" >&6;}
        !          28504: 
        !          28505:     LD_NGTCP2_CRYPTO_GNUTLS=`
        !          28506:     if test -n "$want_tcp2_path"; then
        !          28507:       PKG_CONFIG_LIBDIR="$want_tcp2_path"
        !          28508:       export PKG_CONFIG_LIBDIR
        !          28509:     fi
        !          28510: 
        !          28511:       $PKGCONFIG --libs-only-L libngtcp2_crypto_gnutls`
        !          28512:     { $as_echo "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_GNUTLS" >&5
        !          28513: $as_echo "$as_me: -L is $LD_NGTCP2_CRYPTO_GNUTLS" >&6;}
        !          28514: 
        !          28515:     LDFLAGS="$LDFLAGS $LD_NGTCP2_CRYPTO_GNUTLS"
        !          28516:     CPPFLAGS="$CPPFLAGS $CPP_NGTCP2_CRYPTO_GNUTLS"
        !          28517:     LIBS="$LIB_NGTCP2_CRYPTO_GNUTLS $LIBS"
        !          28518: 
        !          28519:     if test "x$cross_compiling" != "xyes"; then
        !          28520:       DIR_NGTCP2_CRYPTO_GNUTLS=`echo $LD_NGTCP2_CRYPTO_GNUTLS | $SED -e 's/-L//'`
        !          28521:     fi
        !          28522:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_ctx_initial in -lngtcp2_crypto_gnutls" >&5
        !          28523: $as_echo_n "checking for ngtcp2_crypto_ctx_initial in -lngtcp2_crypto_gnutls... " >&6; }
        !          28524: if ${ac_cv_lib_ngtcp2_crypto_gnutls_ngtcp2_crypto_ctx_initial+:} false; then :
        !          28525:   $as_echo_n "(cached) " >&6
        !          28526: else
        !          28527:   ac_check_lib_save_LIBS=$LIBS
        !          28528: LIBS="-lngtcp2_crypto_gnutls  $LIBS"
        !          28529: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          28530: /* end confdefs.h.  */
        !          28531: 
        !          28532: 
        !          28533: #ifdef __cplusplus
        !          28534: extern "C"
        !          28535: #endif
        !          28536: char ngtcp2_crypto_ctx_initial ();
        !          28537: int main (void)
        !          28538: {
        !          28539: return ngtcp2_crypto_ctx_initial ();
        !          28540:  ;
        !          28541:  return 0;
        !          28542: }
        !          28543: _ACEOF
        !          28544: if ac_fn_c_try_link "$LINENO"; then :
        !          28545:   ac_cv_lib_ngtcp2_crypto_gnutls_ngtcp2_crypto_ctx_initial=yes
        !          28546: else
        !          28547:   ac_cv_lib_ngtcp2_crypto_gnutls_ngtcp2_crypto_ctx_initial=no
        !          28548: fi
        !          28549: rm -f core conftest.err conftest.$ac_objext \
        !          28550:     conftest$ac_exeext conftest.$ac_ext
        !          28551: LIBS=$ac_check_lib_save_LIBS
        !          28552: fi
        !          28553: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_gnutls_ngtcp2_crypto_ctx_initial" >&5
        !          28554: $as_echo "$ac_cv_lib_ngtcp2_crypto_gnutls_ngtcp2_crypto_ctx_initial" >&6; }
        !          28555: if test "x$ac_cv_lib_ngtcp2_crypto_gnutls_ngtcp2_crypto_ctx_initial" = xyes; then :
        !          28556: 
        !          28557:        for ac_header in ngtcp2/ngtcp2_crypto.h
        !          28558: do :
        !          28559:   ac_fn_c_check_header_mongrel "$LINENO" "ngtcp2/ngtcp2_crypto.h" "ac_cv_header_ngtcp2_ngtcp2_crypto_h" "$ac_includes_default"
        !          28560: if test "x$ac_cv_header_ngtcp2_ngtcp2_crypto_h" = xyes; then :
        !          28561:   cat >>confdefs.h <<_ACEOF
        !          28562: #define HAVE_NGTCP2_NGTCP2_CRYPTO_H 1
        !          28563: _ACEOF
        !          28564:  NGTCP2_ENABLED=1
        !          28565: 
        !          28566: $as_echo "#define USE_NGTCP2_CRYPTO_GNUTLS 1" >>confdefs.h
        !          28567: 
        !          28568:           USE_NGTCP2_CRYPTO_GNUTLS=1
        !          28569: 
        !          28570:           CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_NGTCP2_CRYPTO_GNUTLS"
        !          28571:           export CURL_LIBRARY_PATH
        !          28572:           { $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_GNUTLS to CURL_LIBRARY_PATH" >&5
        !          28573: $as_echo "$as_me: Added $DIR_NGTCP2_CRYPTO_GNUTLS to CURL_LIBRARY_PATH" >&6;}
        !          28574: 
        !          28575: fi
        !          28576: 
        !          28577: done
        !          28578: 
        !          28579: 
        !          28580: else
        !          28581:           LDFLAGS=$CLEANLDFLAGS
        !          28582:         CPPFLAGS=$CLEANCPPFLAGS
        !          28583:         LIBS=$CLEANLIBS
        !          28584: 
        !          28585: fi
        !          28586: 
        !          28587: 
        !          28588:   else
        !          28589:         if test X"$want_tcp2" != Xdefault; then
        !          28590:                   as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_gnutls pkg-config file." "$LINENO" 5
        !          28591:     fi
        !          28592:   fi
        !          28593: fi
        !          28594: 
        !          28595: 
        !          28596: OPT_NGHTTP3="yes"
        !          28597: 
        !          28598: if test "x$NGTCP2_ENABLED" = "x"; then
        !          28599:   # without ngtcp2, nghttp3 is of no use for us
        !          28600:   OPT_NGHTTP3="no"
        !          28601: fi
        !          28602: 
        !          28603: 
        !          28604: # Check whether --with-nghttp3 was given.
        !          28605: if test "${with_nghttp3+set}" = set; then :
        !          28606:   withval=$with_nghttp3; OPT_NGHTTP3=$withval
        !          28607: fi
        !          28608: 
        !          28609: case "$OPT_NGHTTP3" in
        !          28610:   no)
        !          28611:         want_nghttp3="no"
        !          28612:     ;;
        !          28613:   yes)
        !          28614:         want_nghttp3="default"
        !          28615:     want_nghttp3_path=""
        !          28616:     ;;
        !          28617:   *)
        !          28618:         want_nghttp3="yes"
        !          28619:     want_nghttp3_path="$withval/lib/pkgconfig"
        !          28620:     ;;
        !          28621: esac
        !          28622: 
        !          28623: curl_http3_msg="disabled (--with-nghttp3)"
        !          28624: if test X"$want_nghttp3" != Xno; then
        !          28625:     CLEANLDFLAGS="$LDFLAGS"
        !          28626:   CLEANCPPFLAGS="$CPPFLAGS"
        !          28627:   CLEANLIBS="$LIBS"
        !          28628: 
        !          28629: 
        !          28630:     if test -n "$PKG_CONFIG"; then
        !          28631:       PKGCONFIG="$PKG_CONFIG"
        !          28632:     else
        !          28633:       if test -n "$ac_tool_prefix"; then
        !          28634:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
        !          28635: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
        !          28636: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          28637: $as_echo_n "checking for $ac_word... " >&6; }
        !          28638: if ${ac_cv_path_PKGCONFIG+:} false; then :
        !          28639:   $as_echo_n "(cached) " >&6
        !          28640: else
        !          28641:   case $PKGCONFIG in
        !          28642:   [\\/]* | ?:[\\/]*)
        !          28643:   ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
        !          28644:   ;;
        !          28645:   *)
        !          28646:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          28647: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          28648: for as_dir in $as_dummy
        !          28649: do
        !          28650:   IFS=$as_save_IFS
        !          28651:   test -z "$as_dir" && as_dir=.
        !          28652:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          28653:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          28654:     ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          28655:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          28656:     break 2
        !          28657:   fi
        !          28658: done
        !          28659:   done
        !          28660: IFS=$as_save_IFS
        !          28661: 
        !          28662:   ;;
        !          28663: esac
        !          28664: fi
        !          28665: PKGCONFIG=$ac_cv_path_PKGCONFIG
        !          28666: if test -n "$PKGCONFIG"; then
        !          28667:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
        !          28668: $as_echo "$PKGCONFIG" >&6; }
        !          28669: else
        !          28670:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          28671: $as_echo "no" >&6; }
        !          28672: fi
        !          28673: 
        !          28674: 
        !          28675: fi
        !          28676: if test -z "$ac_cv_path_PKGCONFIG"; then
        !          28677:   ac_pt_PKGCONFIG=$PKGCONFIG
        !          28678:   # Extract the first word of "pkg-config", so it can be a program name with args.
        !          28679: set dummy pkg-config; ac_word=$2
        !          28680: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          28681: $as_echo_n "checking for $ac_word... " >&6; }
        !          28682: if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
        !          28683:   $as_echo_n "(cached) " >&6
        !          28684: else
        !          28685:   case $ac_pt_PKGCONFIG in
        !          28686:   [\\/]* | ?:[\\/]*)
        !          28687:   ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
        !          28688:   ;;
        !          28689:   *)
        !          28690:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          28691: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          28692: for as_dir in $as_dummy
        !          28693: do
        !          28694:   IFS=$as_save_IFS
        !          28695:   test -z "$as_dir" && as_dir=.
        !          28696:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          28697:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          28698:     ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          28699:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          28700:     break 2
        !          28701:   fi
        !          28702: done
        !          28703:   done
        !          28704: IFS=$as_save_IFS
        !          28705: 
        !          28706:   ;;
        !          28707: esac
        !          28708: fi
        !          28709: ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
        !          28710: if test -n "$ac_pt_PKGCONFIG"; then
        !          28711:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
        !          28712: $as_echo "$ac_pt_PKGCONFIG" >&6; }
        !          28713: else
        !          28714:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          28715: $as_echo "no" >&6; }
        !          28716: fi
        !          28717: 
        !          28718:   if test "x$ac_pt_PKGCONFIG" = x; then
        !          28719:     PKGCONFIG="no"
        !          28720:   else
        !          28721:     case $cross_compiling:$ac_tool_warned in
        !          28722: yes:)
        !          28723: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          28724: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          28725: ac_tool_warned=yes ;;
        !          28726: esac
        !          28727:     PKGCONFIG=$ac_pt_PKGCONFIG
        !          28728:   fi
        !          28729: else
        !          28730:   PKGCONFIG="$ac_cv_path_PKGCONFIG"
        !          28731: fi
        !          28732: 
        !          28733:     fi
        !          28734: 
        !          28735:     if test "x$PKGCONFIG" != "xno"; then
        !          28736:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnghttp3 options with pkg-config" >&5
        !          28737: $as_echo_n "checking for libnghttp3 options with pkg-config... " >&6; }
        !          28738:             itexists=`
        !          28739:     if test -n "$want_nghttp3_path"; then
        !          28740:       PKG_CONFIG_LIBDIR="$want_nghttp3_path"
        !          28741:       export PKG_CONFIG_LIBDIR
        !          28742:     fi
        !          28743:          $PKGCONFIG --exists libnghttp3 >/dev/null 2>&1 && echo 1`
        !          28744: 
        !          28745:       if test -z "$itexists"; then
        !          28746:                         PKGCONFIG="no"
        !          28747:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          28748: $as_echo "no" >&6; }
        !          28749:       else
        !          28750:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
        !          28751: $as_echo "found" >&6; }
        !          28752:       fi
        !          28753:     fi
        !          28754: 
        !          28755: 
        !          28756:   if test "$PKGCONFIG" != "no" ; then
        !          28757:     LIB_NGHTTP3=`
        !          28758:     if test -n "$want_nghttp3_path"; then
        !          28759:       PKG_CONFIG_LIBDIR="$want_nghttp3_path"
        !          28760:       export PKG_CONFIG_LIBDIR
        !          28761:     fi
        !          28762: 
        !          28763:       $PKGCONFIG --libs-only-l libnghttp3`
        !          28764:     { $as_echo "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGHTTP3" >&5
        !          28765: $as_echo "$as_me: -l is $LIB_NGHTTP3" >&6;}
        !          28766: 
        !          28767:     CPP_NGHTTP3=`
        !          28768:     if test -n "$want_nghttp3_path"; then
        !          28769:       PKG_CONFIG_LIBDIR="$want_nghttp3_path"
        !          28770:       export PKG_CONFIG_LIBDIR
        !          28771:     fi
        !          28772:        $PKGCONFIG --cflags-only-I libnghttp3`
        !          28773:     { $as_echo "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGHTTP3" >&5
        !          28774: $as_echo "$as_me: -I is $CPP_NGHTTP3" >&6;}
        !          28775: 
        !          28776:     LD_NGHTTP3=`
        !          28777:     if test -n "$want_nghttp3_path"; then
        !          28778:       PKG_CONFIG_LIBDIR="$want_nghttp3_path"
        !          28779:       export PKG_CONFIG_LIBDIR
        !          28780:     fi
        !          28781: 
        !          28782:       $PKGCONFIG --libs-only-L libnghttp3`
        !          28783:     { $as_echo "$as_me:${as_lineno-$LINENO}: -L is $LD_NGHTTP3" >&5
        !          28784: $as_echo "$as_me: -L is $LD_NGHTTP3" >&6;}
        !          28785: 
        !          28786:     LDFLAGS="$LDFLAGS $LD_NGHTTP3"
        !          28787:     CPPFLAGS="$CPPFLAGS $CPP_NGHTTP3"
        !          28788:     LIBS="$LIB_NGHTTP3 $LIBS"
        !          28789: 
        !          28790:     if test "x$cross_compiling" != "xyes"; then
        !          28791:       DIR_NGHTTP3=`echo $LD_NGHTTP3 | $SED -e 's/-L//'`
        !          28792:     fi
        !          28793:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nghttp3_conn_client_new in -lnghttp3" >&5
        !          28794: $as_echo_n "checking for nghttp3_conn_client_new in -lnghttp3... " >&6; }
        !          28795: if ${ac_cv_lib_nghttp3_nghttp3_conn_client_new+:} false; then :
        !          28796:   $as_echo_n "(cached) " >&6
        !          28797: else
        !          28798:   ac_check_lib_save_LIBS=$LIBS
        !          28799: LIBS="-lnghttp3  $LIBS"
        !          28800: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          28801: /* end confdefs.h.  */
        !          28802: 
        !          28803: 
        !          28804: #ifdef __cplusplus
        !          28805: extern "C"
        !          28806: #endif
        !          28807: char nghttp3_conn_client_new ();
        !          28808: int main (void)
        !          28809: {
        !          28810: return nghttp3_conn_client_new ();
        !          28811:  ;
        !          28812:  return 0;
        !          28813: }
        !          28814: _ACEOF
        !          28815: if ac_fn_c_try_link "$LINENO"; then :
        !          28816:   ac_cv_lib_nghttp3_nghttp3_conn_client_new=yes
        !          28817: else
        !          28818:   ac_cv_lib_nghttp3_nghttp3_conn_client_new=no
        !          28819: fi
        !          28820: rm -f core conftest.err conftest.$ac_objext \
        !          28821:     conftest$ac_exeext conftest.$ac_ext
        !          28822: LIBS=$ac_check_lib_save_LIBS
        !          28823: fi
        !          28824: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nghttp3_nghttp3_conn_client_new" >&5
        !          28825: $as_echo "$ac_cv_lib_nghttp3_nghttp3_conn_client_new" >&6; }
        !          28826: if test "x$ac_cv_lib_nghttp3_nghttp3_conn_client_new" = xyes; then :
        !          28827: 
        !          28828:        for ac_header in nghttp3/nghttp3.h
        !          28829: do :
        !          28830:   ac_fn_c_check_header_mongrel "$LINENO" "nghttp3/nghttp3.h" "ac_cv_header_nghttp3_nghttp3_h" "$ac_includes_default"
        !          28831: if test "x$ac_cv_header_nghttp3_nghttp3_h" = xyes; then :
        !          28832:   cat >>confdefs.h <<_ACEOF
        !          28833: #define HAVE_NGHTTP3_NGHTTP3_H 1
        !          28834: _ACEOF
        !          28835:  curl_h3_msg="enabled (ngtcp2 + nghttp3)"
        !          28836:           NGHTTP3_ENABLED=1
        !          28837: 
        !          28838: $as_echo "#define USE_NGHTTP3 1" >>confdefs.h
        !          28839: 
        !          28840:           USE_NGHTTP3=1
        !          28841: 
        !          28842:           CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_NGHTTP3"
        !          28843:           export CURL_LIBRARY_PATH
        !          28844:           { $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_NGHTTP3 to CURL_LIBRARY_PATH" >&5
        !          28845: $as_echo "$as_me: Added $DIR_NGHTTP3 to CURL_LIBRARY_PATH" >&6;}
        !          28846:           experimental="$experimental HTTP3"
        !          28847: 
        !          28848: fi
        !          28849: 
        !          28850: done
        !          28851: 
        !          28852: 
        !          28853: else
        !          28854:           LDFLAGS=$CLEANLDFLAGS
        !          28855:         CPPFLAGS=$CLEANCPPFLAGS
        !          28856:         LIBS=$CLEANLIBS
        !          28857: 
        !          28858: fi
        !          28859: 
        !          28860: 
        !          28861:   else
        !          28862:         if test X"$want_nghttp3" != Xdefault; then
        !          28863:                   as_fn_error $? "--with-nghttp3 was specified but could not find nghttp3 pkg-config file." "$LINENO" 5
        !          28864:     fi
        !          28865:   fi
        !          28866: 
        !          28867: fi
        !          28868: 
        !          28869: 
        !          28870: OPT_QUICHE="yes"
        !          28871: 
        !          28872: if test "x$disable_http" = "xyes" -o "x$USE_NGTCP" = "x1"; then
        !          28873:   # without HTTP or with ngtcp2, quiche is no use
        !          28874:   OPT_QUICHE="no"
        !          28875: fi
        !          28876: 
        !          28877: 
        !          28878: # Check whether --with-quiche was given.
        !          28879: if test "${with_quiche+set}" = set; then :
        !          28880:   withval=$with_quiche; OPT_QUICHE=$withval
        !          28881: fi
        !          28882: 
        !          28883: case "$OPT_QUICHE" in
        !          28884:   no)
        !          28885:         want_quiche="no"
        !          28886:     ;;
        !          28887:   yes)
        !          28888:         want_quiche="default"
        !          28889:     want_quiche_path=""
        !          28890:     ;;
        !          28891:   *)
        !          28892:         want_quiche="yes"
        !          28893:     want_quiche_path="$withval"
        !          28894:     ;;
        !          28895: esac
        !          28896: 
        !          28897: if test X"$want_quiche" != Xno; then
        !          28898:     CLEANLDFLAGS="$LDFLAGS"
        !          28899:   CLEANCPPFLAGS="$CPPFLAGS"
        !          28900:   CLEANLIBS="$LIBS"
        !          28901: 
        !          28902: 
        !          28903:     if test -n "$PKG_CONFIG"; then
        !          28904:       PKGCONFIG="$PKG_CONFIG"
        !          28905:     else
        !          28906:       if test -n "$ac_tool_prefix"; then
        !          28907:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
        !          28908: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
        !          28909: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          28910: $as_echo_n "checking for $ac_word... " >&6; }
        !          28911: if ${ac_cv_path_PKGCONFIG+:} false; then :
        !          28912:   $as_echo_n "(cached) " >&6
        !          28913: else
        !          28914:   case $PKGCONFIG in
        !          28915:   [\\/]* | ?:[\\/]*)
        !          28916:   ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
        !          28917:   ;;
        !          28918:   *)
        !          28919:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          28920: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          28921: for as_dir in $as_dummy
        !          28922: do
        !          28923:   IFS=$as_save_IFS
        !          28924:   test -z "$as_dir" && as_dir=.
        !          28925:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          28926:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          28927:     ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          28928:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          28929:     break 2
        !          28930:   fi
        !          28931: done
        !          28932:   done
        !          28933: IFS=$as_save_IFS
        !          28934: 
        !          28935:   ;;
        !          28936: esac
        !          28937: fi
        !          28938: PKGCONFIG=$ac_cv_path_PKGCONFIG
        !          28939: if test -n "$PKGCONFIG"; then
        !          28940:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
        !          28941: $as_echo "$PKGCONFIG" >&6; }
        !          28942: else
        !          28943:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          28944: $as_echo "no" >&6; }
        !          28945: fi
        !          28946: 
        !          28947: 
        !          28948: fi
        !          28949: if test -z "$ac_cv_path_PKGCONFIG"; then
        !          28950:   ac_pt_PKGCONFIG=$PKGCONFIG
        !          28951:   # Extract the first word of "pkg-config", so it can be a program name with args.
        !          28952: set dummy pkg-config; ac_word=$2
        !          28953: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          28954: $as_echo_n "checking for $ac_word... " >&6; }
        !          28955: if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
        !          28956:   $as_echo_n "(cached) " >&6
        !          28957: else
        !          28958:   case $ac_pt_PKGCONFIG in
        !          28959:   [\\/]* | ?:[\\/]*)
        !          28960:   ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
        !          28961:   ;;
        !          28962:   *)
        !          28963:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          28964: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          28965: for as_dir in $as_dummy
        !          28966: do
        !          28967:   IFS=$as_save_IFS
        !          28968:   test -z "$as_dir" && as_dir=.
        !          28969:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          28970:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          28971:     ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          28972:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          28973:     break 2
        !          28974:   fi
        !          28975: done
        !          28976:   done
        !          28977: IFS=$as_save_IFS
        !          28978: 
        !          28979:   ;;
        !          28980: esac
        !          28981: fi
        !          28982: ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
        !          28983: if test -n "$ac_pt_PKGCONFIG"; then
        !          28984:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
        !          28985: $as_echo "$ac_pt_PKGCONFIG" >&6; }
        !          28986: else
        !          28987:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          28988: $as_echo "no" >&6; }
        !          28989: fi
        !          28990: 
        !          28991:   if test "x$ac_pt_PKGCONFIG" = x; then
        !          28992:     PKGCONFIG="no"
        !          28993:   else
        !          28994:     case $cross_compiling:$ac_tool_warned in
        !          28995: yes:)
        !          28996: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          28997: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          28998: ac_tool_warned=yes ;;
        !          28999: esac
        !          29000:     PKGCONFIG=$ac_pt_PKGCONFIG
        !          29001:   fi
        !          29002: else
        !          29003:   PKGCONFIG="$ac_cv_path_PKGCONFIG"
        !          29004: fi
        !          29005: 
        !          29006:     fi
        !          29007: 
        !          29008:     if test "x$PKGCONFIG" != "xno"; then
        !          29009:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quiche options with pkg-config" >&5
        !          29010: $as_echo_n "checking for quiche options with pkg-config... " >&6; }
        !          29011:             itexists=`
        !          29012:     if test -n "$want_quiche_path"; then
        !          29013:       PKG_CONFIG_LIBDIR="$want_quiche_path"
        !          29014:       export PKG_CONFIG_LIBDIR
        !          29015:     fi
        !          29016:          $PKGCONFIG --exists quiche >/dev/null 2>&1 && echo 1`
        !          29017: 
        !          29018:       if test -z "$itexists"; then
        !          29019:                         PKGCONFIG="no"
        !          29020:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          29021: $as_echo "no" >&6; }
        !          29022:       else
        !          29023:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
        !          29024: $as_echo "found" >&6; }
        !          29025:       fi
        !          29026:     fi
        !          29027: 
        !          29028: 
        !          29029:   if test "$PKGCONFIG" != "no" ; then
        !          29030:     LIB_QUICHE=`
        !          29031:     if test -n "$want_quiche_path"; then
        !          29032:       PKG_CONFIG_LIBDIR="$want_quiche_path"
        !          29033:       export PKG_CONFIG_LIBDIR
        !          29034:     fi
        !          29035: 
        !          29036:       $PKGCONFIG --libs-only-l quiche`
        !          29037:     { $as_echo "$as_me:${as_lineno-$LINENO}: -l is $LIB_QUICHE" >&5
        !          29038: $as_echo "$as_me: -l is $LIB_QUICHE" >&6;}
        !          29039: 
        !          29040:     CPP_QUICHE=`
        !          29041:     if test -n "$want_quiche_path"; then
        !          29042:       PKG_CONFIG_LIBDIR="$want_quiche_path"
        !          29043:       export PKG_CONFIG_LIBDIR
        !          29044:     fi
        !          29045:        $PKGCONFIG --cflags-only-I quiche`
        !          29046:     { $as_echo "$as_me:${as_lineno-$LINENO}: -I is $CPP_QUICHE" >&5
        !          29047: $as_echo "$as_me: -I is $CPP_QUICHE" >&6;}
        !          29048: 
        !          29049:     LD_QUICHE=`
        !          29050:     if test -n "$want_quiche_path"; then
        !          29051:       PKG_CONFIG_LIBDIR="$want_quiche_path"
        !          29052:       export PKG_CONFIG_LIBDIR
        !          29053:     fi
        !          29054: 
        !          29055:       $PKGCONFIG --libs-only-L quiche`
        !          29056:     { $as_echo "$as_me:${as_lineno-$LINENO}: -L is $LD_QUICHE" >&5
        !          29057: $as_echo "$as_me: -L is $LD_QUICHE" >&6;}
        !          29058: 
        !          29059:     LDFLAGS="$LDFLAGS $LD_QUICHE"
        !          29060:     CPPFLAGS="$CPPFLAGS $CPP_QUICHE"
        !          29061:     LIBS="$LIB_QUICHE $LIBS"
        !          29062: 
        !          29063:     if test "x$cross_compiling" != "xyes"; then
        !          29064:       DIR_QUICHE=`echo $LD_QUICHE | $SED -e 's/-L//'`
        !          29065:     fi
        !          29066:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quiche_connect in -lquiche" >&5
        !          29067: $as_echo_n "checking for quiche_connect in -lquiche... " >&6; }
        !          29068: if ${ac_cv_lib_quiche_quiche_connect+:} false; then :
        !          29069:   $as_echo_n "(cached) " >&6
        !          29070: else
        !          29071:   ac_check_lib_save_LIBS=$LIBS
        !          29072: LIBS="-lquiche  $LIBS"
        !          29073: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          29074: /* end confdefs.h.  */
        !          29075: 
        !          29076: 
        !          29077: #ifdef __cplusplus
        !          29078: extern "C"
        !          29079: #endif
        !          29080: char quiche_connect ();
        !          29081: int main (void)
        !          29082: {
        !          29083: return quiche_connect ();
        !          29084:  ;
        !          29085:  return 0;
        !          29086: }
        !          29087: _ACEOF
        !          29088: if ac_fn_c_try_link "$LINENO"; then :
        !          29089:   ac_cv_lib_quiche_quiche_connect=yes
        !          29090: else
        !          29091:   ac_cv_lib_quiche_quiche_connect=no
        !          29092: fi
        !          29093: rm -f core conftest.err conftest.$ac_objext \
        !          29094:     conftest$ac_exeext conftest.$ac_ext
        !          29095: LIBS=$ac_check_lib_save_LIBS
        !          29096: fi
        !          29097: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_quiche_quiche_connect" >&5
        !          29098: $as_echo "$ac_cv_lib_quiche_quiche_connect" >&6; }
        !          29099: if test "x$ac_cv_lib_quiche_quiche_connect" = xyes; then :
        !          29100: 
        !          29101:        for ac_header in quiche.h
        !          29102: do :
        !          29103:   ac_fn_c_check_header_mongrel "$LINENO" "quiche.h" "ac_cv_header_quiche_h" "$ac_includes_default"
        !          29104: if test "x$ac_cv_header_quiche_h" = xyes; then :
        !          29105:   cat >>confdefs.h <<_ACEOF
        !          29106: #define HAVE_QUICHE_H 1
        !          29107: _ACEOF
        !          29108:  experimental="$experimental HTTP3"
        !          29109:           { $as_echo "$as_me:${as_lineno-$LINENO}: HTTP3 support is experimental" >&5
        !          29110: $as_echo "$as_me: HTTP3 support is experimental" >&6;}
        !          29111:           curl_h3_msg="enabled (quiche)"
        !          29112:           QUICHE_ENABLED=1
        !          29113: 
        !          29114: $as_echo "#define USE_QUICHE 1" >>confdefs.h
        !          29115: 
        !          29116:           USE_QUICHE=1
        !          29117: 
        !          29118:           CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_QUICHE"
        !          29119:           export CURL_LIBRARY_PATH
        !          29120:           { $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_QUICHE to CURL_LIBRARY_PATH" >&5
        !          29121: $as_echo "$as_me: Added $DIR_QUICHE to CURL_LIBRARY_PATH" >&6;}
        !          29122: fi
        !          29123: 
        !          29124: done
        !          29125: 
        !          29126: 
        !          29127: else
        !          29128:           LDFLAGS=$CLEANLDFLAGS
        !          29129:         CPPFLAGS=$CLEANCPPFLAGS
        !          29130:         LIBS=$CLEANLIBS
        !          29131: 
        !          29132: fi
        !          29133: 
        !          29134:   else
        !          29135:         if test X"$want_quiche" != Xdefault; then
        !          29136:                   as_fn_error $? "--with-quiche was specified but could not find quiche pkg-config file." "$LINENO" 5
        !          29137:     fi
        !          29138:   fi
        !          29139: fi
        !          29140: 
        !          29141: 
        !          29142: OPT_ZSH_FPATH=default
        !          29143: 
        !          29144: # Check whether --with-zsh-functions-dir was given.
        !          29145: if test "${with_zsh_functions_dir+set}" = set; then :
        !          29146:   withval=$with_zsh_functions_dir; OPT_ZSH_FPATH=$withval
        !          29147: fi
        !          29148: 
        !          29149: case "$OPT_ZSH_FPATH" in
        !          29150:   no)
        !          29151:         ;;
        !          29152:   default|yes)
        !          29153:         ZSH_FUNCTIONS_DIR="$datarootdir/zsh/site-functions"
        !          29154: 
        !          29155:     ;;
        !          29156:   *)
        !          29157:         ZSH_FUNCTIONS_DIR="$withval"
        !          29158: 
        !          29159:     ;;
        !          29160: esac
        !          29161: 
        !          29162: 
        !          29163: OPT_FISH_FPATH=default
        !          29164: 
        !          29165: # Check whether --with-fish-functions-dir was given.
        !          29166: if test "${with_fish_functions_dir+set}" = set; then :
        !          29167:   withval=$with_fish_functions_dir; OPT_FISH_FPATH=$withval
        !          29168: fi
        !          29169: 
        !          29170: case "$OPT_FISH_FPATH" in
        !          29171:   no)
        !          29172:         ;;
        !          29173:   default|yes)
        !          29174: 
        !          29175:     if test -n "$PKG_CONFIG"; then
        !          29176:       PKGCONFIG="$PKG_CONFIG"
        !          29177:     else
        !          29178:       if test -n "$ac_tool_prefix"; then
        !          29179:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
        !          29180: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
        !          29181: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          29182: $as_echo_n "checking for $ac_word... " >&6; }
        !          29183: if ${ac_cv_path_PKGCONFIG+:} false; then :
        !          29184:   $as_echo_n "(cached) " >&6
        !          29185: else
        !          29186:   case $PKGCONFIG in
        !          29187:   [\\/]* | ?:[\\/]*)
        !          29188:   ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
        !          29189:   ;;
        !          29190:   *)
        !          29191:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          29192: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          29193: for as_dir in $as_dummy
        !          29194: do
        !          29195:   IFS=$as_save_IFS
        !          29196:   test -z "$as_dir" && as_dir=.
        !          29197:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          29198:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          29199:     ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          29200:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          29201:     break 2
        !          29202:   fi
        !          29203: done
        !          29204:   done
        !          29205: IFS=$as_save_IFS
        !          29206: 
        !          29207:   ;;
        !          29208: esac
        !          29209: fi
        !          29210: PKGCONFIG=$ac_cv_path_PKGCONFIG
        !          29211: if test -n "$PKGCONFIG"; then
        !          29212:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
        !          29213: $as_echo "$PKGCONFIG" >&6; }
        !          29214: else
        !          29215:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          29216: $as_echo "no" >&6; }
        !          29217: fi
        !          29218: 
        !          29219: 
        !          29220: fi
        !          29221: if test -z "$ac_cv_path_PKGCONFIG"; then
        !          29222:   ac_pt_PKGCONFIG=$PKGCONFIG
        !          29223:   # Extract the first word of "pkg-config", so it can be a program name with args.
        !          29224: set dummy pkg-config; ac_word=$2
        !          29225: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          29226: $as_echo_n "checking for $ac_word... " >&6; }
        !          29227: if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
        !          29228:   $as_echo_n "(cached) " >&6
        !          29229: else
        !          29230:   case $ac_pt_PKGCONFIG in
        !          29231:   [\\/]* | ?:[\\/]*)
        !          29232:   ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
        !          29233:   ;;
        !          29234:   *)
        !          29235:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          29236: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          29237: for as_dir in $as_dummy
        !          29238: do
        !          29239:   IFS=$as_save_IFS
        !          29240:   test -z "$as_dir" && as_dir=.
        !          29241:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          29242:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          29243:     ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          29244:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          29245:     break 2
        !          29246:   fi
        !          29247: done
        !          29248:   done
        !          29249: IFS=$as_save_IFS
        !          29250: 
        !          29251:   ;;
        !          29252: esac
        !          29253: fi
        !          29254: ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
        !          29255: if test -n "$ac_pt_PKGCONFIG"; then
        !          29256:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
        !          29257: $as_echo "$ac_pt_PKGCONFIG" >&6; }
        !          29258: else
        !          29259:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          29260: $as_echo "no" >&6; }
        !          29261: fi
        !          29262: 
        !          29263:   if test "x$ac_pt_PKGCONFIG" = x; then
        !          29264:     PKGCONFIG="no"
        !          29265:   else
        !          29266:     case $cross_compiling:$ac_tool_warned in
        !          29267: yes:)
        !          29268: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          29269: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          29270: ac_tool_warned=yes ;;
        !          29271: esac
        !          29272:     PKGCONFIG=$ac_pt_PKGCONFIG
        !          29273:   fi
        !          29274: else
        !          29275:   PKGCONFIG="$ac_cv_path_PKGCONFIG"
        !          29276: fi
        !          29277: 
        !          29278:     fi
        !          29279: 
        !          29280:     if test "x$PKGCONFIG" != "xno"; then
        !          29281:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fish options with pkg-config" >&5
        !          29282: $as_echo_n "checking for fish options with pkg-config... " >&6; }
        !          29283:             itexists=`
        !          29284:     if test -n ""; then
        !          29285:       PKG_CONFIG_LIBDIR=""
        !          29286:       export PKG_CONFIG_LIBDIR
        !          29287:     fi
        !          29288:          $PKGCONFIG --exists fish >/dev/null 2>&1 && echo 1`
        !          29289: 
        !          29290:       if test -z "$itexists"; then
        !          29291:                         PKGCONFIG="no"
        !          29292:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          29293: $as_echo "no" >&6; }
        !          29294:       else
        !          29295:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
        !          29296: $as_echo "found" >&6; }
        !          29297:       fi
        !          29298:     fi
        !          29299: 
        !          29300:     if test "$PKGCONFIG" != "no" ; then
        !          29301:       FISH_FUNCTIONS_DIR="$($PKGCONFIG --variable completionsdir fish)"
        !          29302:     else
        !          29303:       FISH_FUNCTIONS_DIR="$datarootdir/fish/vendor_completions.d"
        !          29304:     fi
        !          29305: 
        !          29306:     ;;
        !          29307:   *)
        !          29308:         FISH_FUNCTIONS_DIR="$withval"
        !          29309: 
        !          29310:     ;;
        !          29311: esac
        !          29312: 
        !          29313: 
        !          29314: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
        !          29315: $as_echo_n "checking for ANSI C header files... " >&6; }
        !          29316: if ${ac_cv_header_stdc+:} false; then :
        !          29317:   $as_echo_n "(cached) " >&6
        !          29318: else
        !          29319:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          29320: /* end confdefs.h.  */
        !          29321: #include <stdlib.h>
        !          29322: #include <stdarg.h>
        !          29323: #include <string.h>
        !          29324: #include <float.h>
        !          29325: 
        !          29326: int main (void)
        !          29327: {
        !          29328: 
        !          29329:  ;
        !          29330:  return 0;
        !          29331: }
        !          29332: _ACEOF
        !          29333: if ac_fn_c_try_compile "$LINENO"; then :
        !          29334:   ac_cv_header_stdc=yes
        !          29335: else
        !          29336:   ac_cv_header_stdc=no
        !          29337: fi
        !          29338: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          29339: 
        !          29340: if test $ac_cv_header_stdc = yes; then
        !          29341:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
        !          29342:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          29343: /* end confdefs.h.  */
        !          29344: #include <string.h>
        !          29345: 
        !          29346: _ACEOF
        !          29347: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          29348:   $EGREP "memchr" >/dev/null 2>&1; then :
        !          29349: 
        !          29350: else
        !          29351:   ac_cv_header_stdc=no
        !          29352: fi
        !          29353: rm -f conftest*
        !          29354: 
        !          29355: fi
        !          29356: 
        !          29357: if test $ac_cv_header_stdc = yes; then
        !          29358:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
        !          29359:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          29360: /* end confdefs.h.  */
        !          29361: #include <stdlib.h>
        !          29362: 
        !          29363: _ACEOF
        !          29364: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          29365:   $EGREP "free" >/dev/null 2>&1; then :
        !          29366: 
        !          29367: else
        !          29368:   ac_cv_header_stdc=no
        !          29369: fi
        !          29370: rm -f conftest*
        !          29371: 
        !          29372: fi
        !          29373: 
        !          29374: if test $ac_cv_header_stdc = yes; then
        !          29375:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
        !          29376:   if test "$cross_compiling" = yes; then :
        !          29377:   :
        !          29378: else
        !          29379:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          29380: /* end confdefs.h.  */
        !          29381: #include <ctype.h>
        !          29382: #include <stdlib.h>
        !          29383: #if ((' ' & 0x0FF) == 0x020)
        !          29384: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
        !          29385: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
        !          29386: #else
        !          29387: # define ISLOWER(c) \
        !          29388:                   (('a' <= (c) && (c) <= 'i') \
        !          29389:                     || ('j' <= (c) && (c) <= 'r') \
        !          29390:                     || ('s' <= (c) && (c) <= 'z'))
        !          29391: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
        !          29392: #endif
        !          29393: 
        !          29394: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
        !          29395: int
        !          29396: main ()
        !          29397: {
        !          29398:   int i;
        !          29399:   for (i = 0; i < 256; i++)
        !          29400:     if (XOR (islower (i), ISLOWER (i))
        !          29401:        || toupper (i) != TOUPPER (i))
        !          29402:       return 2;
        !          29403:   return 0;
        !          29404: }
        !          29405: _ACEOF
        !          29406: if ac_fn_c_try_run "$LINENO"; then :
        !          29407: 
        !          29408: else
        !          29409:   ac_cv_header_stdc=no
        !          29410: fi
        !          29411: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          29412:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          29413: fi
        !          29414: 
        !          29415: fi
        !          29416: fi
        !          29417: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
        !          29418: $as_echo "$ac_cv_header_stdc" >&6; }
        !          29419: if test $ac_cv_header_stdc = yes; then
        !          29420: 
        !          29421: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
        !          29422: 
        !          29423: fi
        !          29424: 
        !          29425: 
        !          29426: 
        !          29427:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc.h" >&5
        !          29428: $as_echo_n "checking for malloc.h... " >&6; }
        !          29429: if ${curl_cv_header_malloc_h+:} false; then :
        !          29430:   $as_echo_n "(cached) " >&6
        !          29431: else
        !          29432: 
        !          29433:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          29434: /* end confdefs.h.  */
        !          29435: 
        !          29436: 
        !          29437: #include <malloc.h>
        !          29438: 
        !          29439: int main (void)
        !          29440: {
        !          29441: 
        !          29442:         void *p = malloc(10);
        !          29443:         void *q = calloc(10,10);
        !          29444:         free(p);
        !          29445:         free(q);
        !          29446: 
        !          29447:  ;
        !          29448:  return 0;
        !          29449: }
        !          29450: 
        !          29451: _ACEOF
        !          29452: if ac_fn_c_try_compile "$LINENO"; then :
        !          29453: 
        !          29454:       curl_cv_header_malloc_h="yes"
        !          29455: 
        !          29456: else
        !          29457: 
        !          29458:       curl_cv_header_malloc_h="no"
        !          29459: 
        !          29460: fi
        !          29461: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          29462: 
        !          29463: fi
        !          29464: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_malloc_h" >&5
        !          29465: $as_echo "$curl_cv_header_malloc_h" >&6; }
        !          29466:   if test "$curl_cv_header_malloc_h" = "yes"; then
        !          29467: 
        !          29468: cat >>confdefs.h <<_ACEOF
        !          29469: #define HAVE_MALLOC_H 1
        !          29470: _ACEOF
        !          29471: 
        !          29472:     #
        !          29473:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          29474: /* end confdefs.h.  */
        !          29475: 
        !          29476: 
        !          29477: #include <stdlib.h>
        !          29478: 
        !          29479: int main (void)
        !          29480: {
        !          29481: 
        !          29482:         void *p = malloc(10);
        !          29483:         void *q = calloc(10,10);
        !          29484:         free(p);
        !          29485:         free(q);
        !          29486: 
        !          29487:  ;
        !          29488:  return 0;
        !          29489: }
        !          29490: 
        !          29491: _ACEOF
        !          29492: if ac_fn_c_try_compile "$LINENO"; then :
        !          29493: 
        !          29494:       curl_cv_need_header_malloc_h="no"
        !          29495: 
        !          29496: else
        !          29497: 
        !          29498:       curl_cv_need_header_malloc_h="yes"
        !          29499: 
        !          29500: fi
        !          29501: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          29502:     #
        !          29503:     case "$curl_cv_need_header_malloc_h" in
        !          29504:       yes)
        !          29505: 
        !          29506: cat >>confdefs.h <<_ACEOF
        !          29507: #define NEED_MALLOC_H 1
        !          29508: _ACEOF
        !          29509: 
        !          29510:         ;;
        !          29511:     esac
        !          29512:   fi
        !          29513: 
        !          29514: 
        !          29515:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for memory.h" >&5
        !          29516: $as_echo_n "checking for memory.h... " >&6; }
        !          29517: if ${curl_cv_header_memory_h+:} false; then :
        !          29518:   $as_echo_n "(cached) " >&6
        !          29519: else
        !          29520: 
        !          29521:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          29522: /* end confdefs.h.  */
        !          29523: 
        !          29524: 
        !          29525: #include <memory.h>
        !          29526: 
        !          29527: int main (void)
        !          29528: {
        !          29529: 
        !          29530:         void *p = malloc(10);
        !          29531:         void *q = calloc(10,10);
        !          29532:         free(p);
        !          29533:         free(q);
        !          29534: 
        !          29535:  ;
        !          29536:  return 0;
        !          29537: }
        !          29538: 
        !          29539: _ACEOF
        !          29540: if ac_fn_c_try_compile "$LINENO"; then :
        !          29541: 
        !          29542:       curl_cv_header_memory_h="yes"
        !          29543: 
        !          29544: else
        !          29545: 
        !          29546:       curl_cv_header_memory_h="no"
        !          29547: 
        !          29548: fi
        !          29549: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          29550: 
        !          29551: fi
        !          29552: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_memory_h" >&5
        !          29553: $as_echo "$curl_cv_header_memory_h" >&6; }
        !          29554:   if test "$curl_cv_header_memory_h" = "yes"; then
        !          29555: 
        !          29556: cat >>confdefs.h <<_ACEOF
        !          29557: #define HAVE_MEMORY_H 1
        !          29558: _ACEOF
        !          29559: 
        !          29560:     #
        !          29561:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          29562: /* end confdefs.h.  */
        !          29563: 
        !          29564: 
        !          29565: #include <stdlib.h>
        !          29566: 
        !          29567: int main (void)
        !          29568: {
        !          29569: 
        !          29570:         void *p = malloc(10);
        !          29571:         void *q = calloc(10,10);
        !          29572:         free(p);
        !          29573:         free(q);
        !          29574: 
        !          29575:  ;
        !          29576:  return 0;
        !          29577: }
        !          29578: 
        !          29579: _ACEOF
        !          29580: if ac_fn_c_try_compile "$LINENO"; then :
        !          29581: 
        !          29582:       curl_cv_need_header_memory_h="no"
        !          29583: 
        !          29584: else
        !          29585: 
        !          29586:       curl_cv_need_header_memory_h="yes"
        !          29587: 
        !          29588: fi
        !          29589: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          29590:     #
        !          29591:     case "$curl_cv_need_header_memory_h" in
        !          29592:       yes)
        !          29593: 
        !          29594: cat >>confdefs.h <<_ACEOF
        !          29595: #define NEED_MEMORY_H 1
        !          29596: _ACEOF
        !          29597: 
        !          29598:         ;;
        !          29599:     esac
        !          29600:   fi
        !          29601: 
        !          29602: 
        !          29603: for ac_header in sys/types.h \
        !          29604:         sys/time.h \
        !          29605:         sys/select.h \
        !          29606:         sys/socket.h \
        !          29607:         sys/ioctl.h \
        !          29608:         sys/uio.h \
        !          29609:         assert.h \
        !          29610:         unistd.h \
        !          29611:         stdlib.h \
        !          29612:         arpa/inet.h \
        !          29613:         net/if.h \
        !          29614:         netinet/in.h \
        !          29615:        netinet/in6.h \
        !          29616:         sys/un.h \
        !          29617:         linux/tcp.h \
        !          29618:         netinet/tcp.h \
        !          29619:         netdb.h \
        !          29620:         sys/sockio.h \
        !          29621:         sys/stat.h \
        !          29622:         sys/param.h \
        !          29623:         termios.h \
        !          29624:         termio.h \
        !          29625:         sgtty.h \
        !          29626:         fcntl.h \
        !          29627:         alloca.h \
        !          29628:         time.h \
        !          29629:         io.h \
        !          29630:         pwd.h \
        !          29631:         utime.h \
        !          29632:         sys/utime.h \
        !          29633:         sys/poll.h \
        !          29634:         poll.h \
        !          29635:         socket.h \
        !          29636:         sys/resource.h \
        !          29637:         libgen.h \
        !          29638:         locale.h \
        !          29639:         errno.h \
        !          29640:         stdbool.h \
        !          29641:         arpa/tftp.h \
        !          29642:         sys/filio.h \
        !          29643:         sys/wait.h \
        !          29644:         setjmp.h
        !          29645: do :
        !          29646:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          29647: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
        !          29648: #ifdef HAVE_SYS_TYPES_H
        !          29649: #include <sys/types.h>
        !          29650: #endif
        !          29651: #ifdef HAVE_SYS_TIME_H
        !          29652: #include <sys/time.h>
        !          29653: #endif
        !          29654: #ifdef HAVE_SYS_SELECT_H
        !          29655: #include <sys/select.h>
        !          29656: #elif defined(HAVE_UNISTD_H)
        !          29657: #include <unistd.h>
        !          29658: #endif
        !          29659: #ifdef HAVE_SYS_SOCKET_H
        !          29660: #include <sys/socket.h>
        !          29661: #endif
        !          29662: #ifdef HAVE_NETINET_IN_H
        !          29663: #include <netinet/in.h>
        !          29664: #endif
        !          29665: #ifdef HAVE_NETINET_IN6_H
        !          29666: #include <netinet/in6.h>
        !          29667: #endif
        !          29668: #ifdef HAVE_SYS_UN_H
        !          29669: #include <sys/un.h>
        !          29670: #endif
        !          29671: 
        !          29672: 
        !          29673: "
        !          29674: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          29675:   cat >>confdefs.h <<_ACEOF
        !          29676: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          29677: _ACEOF
        !          29678: 
        !          29679: fi
        !          29680: 
        !          29681: done
        !          29682: 
        !          29683: 
        !          29684: 
        !          29685: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
        !          29686: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
        !          29687: if ${ac_cv_c_const+:} false; then :
        !          29688:   $as_echo_n "(cached) " >&6
        !          29689: else
        !          29690:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          29691: /* end confdefs.h.  */
        !          29692: 
        !          29693: int main (void)
        !          29694: {
        !          29695: 
        !          29696: #ifndef __cplusplus
        !          29697:   /* Ultrix mips cc rejects this sort of thing.  */
        !          29698:   typedef int charset[2];
        !          29699:   const charset cs = { 0, 0 };
        !          29700:   /* SunOS 4.1.1 cc rejects this.  */
        !          29701:   char const *const *pcpcc;
        !          29702:   char **ppc;
        !          29703:   /* NEC SVR4.0.2 mips cc rejects this.  */
        !          29704:   struct point {int x, y;};
        !          29705:   static struct point const zero = {0,0};
        !          29706:   /* AIX XL C 1.02.0.0 rejects this.
        !          29707:      It does not let you subtract one const X* pointer from another in
        !          29708:      an arm of an if-expression whose if-part is not a constant
        !          29709:      expression */
        !          29710:   const char *g = "string";
        !          29711:   pcpcc = &g + (g ? g-g : 0);
        !          29712:   /* HPUX 7.0 cc rejects these. */
        !          29713:   ++pcpcc;
        !          29714:   ppc = (char**) pcpcc;
        !          29715:   pcpcc = (char const *const *) ppc;
        !          29716:   { /* SCO 3.2v4 cc rejects this sort of thing.  */
        !          29717:     char tx;
        !          29718:     char *t = &tx;
        !          29719:     char const *s = 0 ? (char *) 0 : (char const *) 0;
        !          29720: 
        !          29721:     *t++ = 0;
        !          29722:     if (s) return 0;
        !          29723:   }
        !          29724:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
        !          29725:     int x[] = {25, 17};
        !          29726:     const int *foo = &x[0];
        !          29727:     ++foo;
        !          29728:   }
        !          29729:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
        !          29730:     typedef const int *iptr;
        !          29731:     iptr p = 0;
        !          29732:     ++p;
        !          29733:   }
        !          29734:   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
        !          29735:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
        !          29736:     struct s { int j; const int *ap[3]; } bx;
        !          29737:     struct s *b = &bx; b->j = 5;
        !          29738:   }
        !          29739:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
        !          29740:     const int foo = 10;
        !          29741:     if (!foo) return 0;
        !          29742:   }
        !          29743:   return !cs[0] && !zero.x;
        !          29744: #endif
        !          29745: 
        !          29746:  ;
        !          29747:  return 0;
        !          29748: }
        !          29749: _ACEOF
        !          29750: if ac_fn_c_try_compile "$LINENO"; then :
        !          29751:   ac_cv_c_const=yes
        !          29752: else
        !          29753:   ac_cv_c_const=no
        !          29754: fi
        !          29755: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          29756: fi
        !          29757: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
        !          29758: $as_echo "$ac_cv_c_const" >&6; }
        !          29759: if test $ac_cv_c_const = no; then
        !          29760: 
        !          29761: $as_echo "#define const /**/" >>confdefs.h
        !          29762: 
        !          29763: fi
        !          29764: 
        !          29765: 
        !          29766:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler support of C99 variadic macro style" >&5
        !          29767: $as_echo_n "checking for compiler support of C99 variadic macro style... " >&6; }
        !          29768: if ${curl_cv_variadic_macros_c99+:} false; then :
        !          29769:   $as_echo_n "(cached) " >&6
        !          29770: else
        !          29771: 
        !          29772:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          29773: /* end confdefs.h.  */
        !          29774: 
        !          29775: 
        !          29776: #define c99_vmacro3(first, ...) fun3(first, __VA_ARGS__)
        !          29777: #define c99_vmacro2(first, ...) fun2(first, __VA_ARGS__)
        !          29778:         int fun3(int arg1, int arg2, int arg3);
        !          29779:         int fun2(int arg1, int arg2);
        !          29780:         int fun3(int arg1, int arg2, int arg3)
        !          29781:         { return arg1 + arg2 + arg3; }
        !          29782:         int fun2(int arg1, int arg2)
        !          29783:         { return arg1 + arg2; }
        !          29784: 
        !          29785: int main (void)
        !          29786: {
        !          29787: 
        !          29788:         int res3 = c99_vmacro3(1, 2, 3);
        !          29789:         int res2 = c99_vmacro2(1, 2);
        !          29790: 
        !          29791:  ;
        !          29792:  return 0;
        !          29793: }
        !          29794: 
        !          29795: _ACEOF
        !          29796: if ac_fn_c_try_compile "$LINENO"; then :
        !          29797: 
        !          29798:       curl_cv_variadic_macros_c99="yes"
        !          29799: 
        !          29800: else
        !          29801: 
        !          29802:       curl_cv_variadic_macros_c99="no"
        !          29803: 
        !          29804: fi
        !          29805: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          29806: 
        !          29807: fi
        !          29808: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_variadic_macros_c99" >&5
        !          29809: $as_echo "$curl_cv_variadic_macros_c99" >&6; }
        !          29810:   case "$curl_cv_variadic_macros_c99" in
        !          29811:     yes)
        !          29812: 
        !          29813: cat >>confdefs.h <<_ACEOF
        !          29814: #define HAVE_VARIADIC_MACROS_C99 1
        !          29815: _ACEOF
        !          29816: 
        !          29817:       ;;
        !          29818:   esac
        !          29819:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler support of old gcc variadic macro style" >&5
        !          29820: $as_echo_n "checking for compiler support of old gcc variadic macro style... " >&6; }
        !          29821: if ${curl_cv_variadic_macros_gcc+:} false; then :
        !          29822:   $as_echo_n "(cached) " >&6
        !          29823: else
        !          29824: 
        !          29825:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          29826: /* end confdefs.h.  */
        !          29827: 
        !          29828: 
        !          29829: #define gcc_vmacro3(first, args...) fun3(first, args)
        !          29830: #define gcc_vmacro2(first, args...) fun2(first, args)
        !          29831:         int fun3(int arg1, int arg2, int arg3);
        !          29832:         int fun2(int arg1, int arg2);
        !          29833:         int fun3(int arg1, int arg2, int arg3)
        !          29834:         { return arg1 + arg2 + arg3; }
        !          29835:         int fun2(int arg1, int arg2)
        !          29836:         { return arg1 + arg2; }
        !          29837: 
        !          29838: int main (void)
        !          29839: {
        !          29840: 
        !          29841:         int res3 = gcc_vmacro3(1, 2, 3);
        !          29842:         int res2 = gcc_vmacro2(1, 2);
        !          29843: 
        !          29844:  ;
        !          29845:  return 0;
        !          29846: }
        !          29847: 
        !          29848: _ACEOF
        !          29849: if ac_fn_c_try_compile "$LINENO"; then :
        !          29850: 
        !          29851:       curl_cv_variadic_macros_gcc="yes"
        !          29852: 
        !          29853: else
        !          29854: 
        !          29855:       curl_cv_variadic_macros_gcc="no"
        !          29856: 
        !          29857: fi
        !          29858: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          29859: 
        !          29860: fi
        !          29861: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_variadic_macros_gcc" >&5
        !          29862: $as_echo "$curl_cv_variadic_macros_gcc" >&6; }
        !          29863:   case "$curl_cv_variadic_macros_gcc" in
        !          29864:     yes)
        !          29865: 
        !          29866: cat >>confdefs.h <<_ACEOF
        !          29867: #define HAVE_VARIADIC_MACROS_GCC 1
        !          29868: _ACEOF
        !          29869: 
        !          29870:       ;;
        !          29871:   esac
        !          29872: 
        !          29873: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
        !          29874: if test "x$ac_cv_type_size_t" = xyes; then :
        !          29875: 
        !          29876: else
        !          29877: 
        !          29878: cat >>confdefs.h <<_ACEOF
        !          29879: #define size_t unsigned int
        !          29880: _ACEOF
        !          29881: 
        !          29882: fi
        !          29883: 
        !          29884: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
        !          29885: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
        !          29886: if ${ac_cv_header_time+:} false; then :
        !          29887:   $as_echo_n "(cached) " >&6
        !          29888: else
        !          29889:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          29890: /* end confdefs.h.  */
        !          29891: #include <sys/types.h>
        !          29892: #include <sys/time.h>
        !          29893: #include <time.h>
        !          29894: 
        !          29895: int main (void)
        !          29896: {
        !          29897: if ((struct tm *) 0)
        !          29898: return 0;
        !          29899:  ;
        !          29900:  return 0;
        !          29901: }
        !          29902: _ACEOF
        !          29903: if ac_fn_c_try_compile "$LINENO"; then :
        !          29904:   ac_cv_header_time=yes
        !          29905: else
        !          29906:   ac_cv_header_time=no
        !          29907: fi
        !          29908: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          29909: fi
        !          29910: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
        !          29911: $as_echo "$ac_cv_header_time" >&6; }
        !          29912: if test $ac_cv_header_time = yes; then
        !          29913: 
        !          29914: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
        !          29915: 
        !          29916: fi
        !          29917: 
        !          29918: 
        !          29919:         for ac_header in sys/types.h sys/time.h time.h sys/socket.h
        !          29920: do :
        !          29921:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          29922: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
        !          29923: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          29924:   cat >>confdefs.h <<_ACEOF
        !          29925: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          29926: _ACEOF
        !          29927: 
        !          29928: fi
        !          29929: 
        !          29930: done
        !          29931: 
        !          29932:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
        !          29933: $as_echo_n "checking for struct timeval... " >&6; }
        !          29934: if ${curl_cv_struct_timeval+:} false; then :
        !          29935:   $as_echo_n "(cached) " >&6
        !          29936: else
        !          29937: 
        !          29938:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          29939: /* end confdefs.h.  */
        !          29940: 
        !          29941: 
        !          29942: #undef inline
        !          29943: #ifdef HAVE_WINDOWS_H
        !          29944: #ifndef WIN32_LEAN_AND_MEAN
        !          29945: #define WIN32_LEAN_AND_MEAN
        !          29946: #endif
        !          29947: #include <windows.h>
        !          29948: #ifdef HAVE_WINSOCK2_H
        !          29949: #include <winsock2.h>
        !          29950: #else
        !          29951: #ifdef HAVE_WINSOCK_H
        !          29952: #include <winsock.h>
        !          29953: #endif
        !          29954: #endif
        !          29955: #endif
        !          29956: #ifdef HAVE_SYS_TYPES_H
        !          29957: #include <sys/types.h>
        !          29958: #endif
        !          29959: #ifdef HAVE_SYS_TIME_H
        !          29960: #include <sys/time.h>
        !          29961: #ifdef TIME_WITH_SYS_TIME
        !          29962: #include <time.h>
        !          29963: #endif
        !          29964: #else
        !          29965: #ifdef HAVE_TIME_H
        !          29966: #include <time.h>
        !          29967: #endif
        !          29968: #endif
        !          29969: #ifdef HAVE_SYS_SOCKET_H
        !          29970: #include <sys/socket.h>
        !          29971: #endif
        !          29972: 
        !          29973: int main (void)
        !          29974: {
        !          29975: 
        !          29976:         struct timeval ts;
        !          29977:         ts.tv_sec  = 0;
        !          29978:         ts.tv_usec = 0;
        !          29979: 
        !          29980:  ;
        !          29981:  return 0;
        !          29982: }
        !          29983: 
        !          29984: _ACEOF
        !          29985: if ac_fn_c_try_compile "$LINENO"; then :
        !          29986: 
        !          29987:       curl_cv_struct_timeval="yes"
        !          29988: 
        !          29989: else
        !          29990: 
        !          29991:       curl_cv_struct_timeval="no"
        !          29992: 
        !          29993: fi
        !          29994: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          29995: 
        !          29996: fi
        !          29997: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_struct_timeval" >&5
        !          29998: $as_echo "$curl_cv_struct_timeval" >&6; }
        !          29999:   case "$curl_cv_struct_timeval" in
        !          30000:     yes)
        !          30001: 
        !          30002: cat >>confdefs.h <<_ACEOF
        !          30003: #define HAVE_STRUCT_TIMEVAL 1
        !          30004: _ACEOF
        !          30005: 
        !          30006:       ;;
        !          30007:   esac
        !          30008: 
        !          30009: 
        !          30010: 
        !          30011:     if test "x$cross_compiling" != xyes; then
        !          30012: 
        !          30013:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking run-time libs availability" >&5
        !          30014: $as_echo_n "checking run-time libs availability... " >&6; }
        !          30015: 
        !          30016:    old=$LD_LIBRARY_PATH
        !          30017:    LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
        !          30018:    export LD_LIBRARY_PATH
        !          30019:    if test "$cross_compiling" = yes; then :
        !          30020:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          30021: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          30022: as_fn_error $? "cannot run test program while cross compiling
        !          30023: See \`config.log' for more details" "$LINENO" 5; }
        !          30024: else
        !          30025:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          30026: /* end confdefs.h.  */
        !          30027: 
        !          30028: int main()
        !          30029: {
        !          30030:   return 0;
        !          30031: }
        !          30032: 
        !          30033: _ACEOF
        !          30034: if ac_fn_c_try_run "$LINENO"; then :
        !          30035:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: fine" >&5
        !          30036: $as_echo "fine" >&6; }
        !          30037: else
        !          30038:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
        !          30039: $as_echo "failed" >&6; }
        !          30040:     as_fn_error $? "one or more libs available at link-time are not available run-time. Libs used at link-time: $LIBS" "$LINENO" 5
        !          30041: 
        !          30042: fi
        !          30043: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          30044:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          30045: fi
        !          30046: 
        !          30047:    LD_LIBRARY_PATH=$old # restore
        !          30048: 
        !          30049: 
        !          30050:       fi
        !          30051: 
        !          30052: 
        !          30053: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
        !          30054: $as_echo_n "checking size of size_t... " >&6; }
        !          30055: if ${ac_cv_sizeof_size_t+:} false; then :
        !          30056:   $as_echo_n "(cached) " >&6
        !          30057: else
        !          30058:   for ac_size in 4 8 1 2 16  ; do # List sizes in rough order of prevalence.
        !          30059:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          30060: /* end confdefs.h.  */
        !          30061: 
        !          30062: #include <sys/types.h>
        !          30063: 
        !          30064: 
        !          30065: int main (void)
        !          30066: {
        !          30067: switch (0) case 0: case (sizeof (size_t) == $ac_size):;
        !          30068:  ;
        !          30069:  return 0;
        !          30070: }
        !          30071: _ACEOF
        !          30072: if ac_fn_c_try_compile "$LINENO"; then :
        !          30073:   ac_cv_sizeof_size_t=$ac_size
        !          30074: fi
        !          30075: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          30076:   if test x$ac_cv_sizeof_size_t != x ; then break; fi
        !          30077: done
        !          30078: 
        !          30079: fi
        !          30080: 
        !          30081: if test x$ac_cv_sizeof_size_t = x ; then
        !          30082:   as_fn_error $? "cannot determine a size for size_t" "$LINENO" 5
        !          30083: fi
        !          30084: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
        !          30085: $as_echo "$ac_cv_sizeof_size_t" >&6; }
        !          30086: 
        !          30087: cat >>confdefs.h <<_ACEOF
        !          30088: #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
        !          30089: _ACEOF
        !          30090: 
        !          30091: 
        !          30092: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
        !          30093: $as_echo_n "checking size of long... " >&6; }
        !          30094: if ${ac_cv_sizeof_long+:} false; then :
        !          30095:   $as_echo_n "(cached) " >&6
        !          30096: else
        !          30097:   for ac_size in 4 8 1 2 16  ; do # List sizes in rough order of prevalence.
        !          30098:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          30099: /* end confdefs.h.  */
        !          30100: 
        !          30101: #include <sys/types.h>
        !          30102: 
        !          30103: 
        !          30104: int main (void)
        !          30105: {
        !          30106: switch (0) case 0: case (sizeof (long) == $ac_size):;
        !          30107:  ;
        !          30108:  return 0;
        !          30109: }
        !          30110: _ACEOF
        !          30111: if ac_fn_c_try_compile "$LINENO"; then :
        !          30112:   ac_cv_sizeof_long=$ac_size
        !          30113: fi
        !          30114: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          30115:   if test x$ac_cv_sizeof_long != x ; then break; fi
        !          30116: done
        !          30117: 
        !          30118: fi
        !          30119: 
        !          30120: if test x$ac_cv_sizeof_long = x ; then
        !          30121:   as_fn_error $? "cannot determine a size for long" "$LINENO" 5
        !          30122: fi
        !          30123: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
        !          30124: $as_echo "$ac_cv_sizeof_long" >&6; }
        !          30125: 
        !          30126: cat >>confdefs.h <<_ACEOF
        !          30127: #define SIZEOF_LONG $ac_cv_sizeof_long
        !          30128: _ACEOF
        !          30129: 
        !          30130: 
        !          30131: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
        !          30132: $as_echo_n "checking size of int... " >&6; }
        !          30133: if ${ac_cv_sizeof_int+:} false; then :
        !          30134:   $as_echo_n "(cached) " >&6
        !          30135: else
        !          30136:   for ac_size in 4 8 1 2 16  ; do # List sizes in rough order of prevalence.
        !          30137:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          30138: /* end confdefs.h.  */
        !          30139: 
        !          30140: #include <sys/types.h>
        !          30141: 
        !          30142: 
        !          30143: int main (void)
        !          30144: {
        !          30145: switch (0) case 0: case (sizeof (int) == $ac_size):;
        !          30146:  ;
        !          30147:  return 0;
        !          30148: }
        !          30149: _ACEOF
        !          30150: if ac_fn_c_try_compile "$LINENO"; then :
        !          30151:   ac_cv_sizeof_int=$ac_size
        !          30152: fi
        !          30153: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          30154:   if test x$ac_cv_sizeof_int != x ; then break; fi
        !          30155: done
        !          30156: 
        !          30157: fi
        !          30158: 
        !          30159: if test x$ac_cv_sizeof_int = x ; then
        !          30160:   as_fn_error $? "cannot determine a size for int" "$LINENO" 5
        !          30161: fi
        !          30162: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
        !          30163: $as_echo "$ac_cv_sizeof_int" >&6; }
        !          30164: 
        !          30165: cat >>confdefs.h <<_ACEOF
        !          30166: #define SIZEOF_INT $ac_cv_sizeof_int
        !          30167: _ACEOF
        !          30168: 
        !          30169: 
        !          30170: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
        !          30171: $as_echo_n "checking size of short... " >&6; }
        !          30172: if ${ac_cv_sizeof_short+:} false; then :
        !          30173:   $as_echo_n "(cached) " >&6
        !          30174: else
        !          30175:   for ac_size in 4 8 1 2 16  ; do # List sizes in rough order of prevalence.
        !          30176:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          30177: /* end confdefs.h.  */
        !          30178: 
        !          30179: #include <sys/types.h>
        !          30180: 
        !          30181: 
        !          30182: int main (void)
        !          30183: {
        !          30184: switch (0) case 0: case (sizeof (short) == $ac_size):;
        !          30185:  ;
        !          30186:  return 0;
        !          30187: }
        !          30188: _ACEOF
        !          30189: if ac_fn_c_try_compile "$LINENO"; then :
        !          30190:   ac_cv_sizeof_short=$ac_size
        !          30191: fi
        !          30192: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          30193:   if test x$ac_cv_sizeof_short != x ; then break; fi
        !          30194: done
        !          30195: 
        !          30196: fi
        !          30197: 
        !          30198: if test x$ac_cv_sizeof_short = x ; then
        !          30199:   as_fn_error $? "cannot determine a size for short" "$LINENO" 5
        !          30200: fi
        !          30201: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
        !          30202: $as_echo "$ac_cv_sizeof_short" >&6; }
        !          30203: 
        !          30204: cat >>confdefs.h <<_ACEOF
        !          30205: #define SIZEOF_SHORT $ac_cv_sizeof_short
        !          30206: _ACEOF
        !          30207: 
        !          30208: 
        !          30209: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
        !          30210: $as_echo_n "checking size of time_t... " >&6; }
        !          30211: if ${ac_cv_sizeof_time_t+:} false; then :
        !          30212:   $as_echo_n "(cached) " >&6
        !          30213: else
        !          30214:   for ac_size in 4 8 1 2 16  ; do # List sizes in rough order of prevalence.
        !          30215:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          30216: /* end confdefs.h.  */
        !          30217: 
        !          30218: #include <sys/types.h>
        !          30219: 
        !          30220: 
        !          30221: int main (void)
        !          30222: {
        !          30223: switch (0) case 0: case (sizeof (time_t) == $ac_size):;
        !          30224:  ;
        !          30225:  return 0;
        !          30226: }
        !          30227: _ACEOF
        !          30228: if ac_fn_c_try_compile "$LINENO"; then :
        !          30229:   ac_cv_sizeof_time_t=$ac_size
        !          30230: fi
        !          30231: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          30232:   if test x$ac_cv_sizeof_time_t != x ; then break; fi
        !          30233: done
        !          30234: 
        !          30235: fi
        !          30236: 
        !          30237: if test x$ac_cv_sizeof_time_t = x ; then
        !          30238:   as_fn_error $? "cannot determine a size for time_t" "$LINENO" 5
        !          30239: fi
        !          30240: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
        !          30241: $as_echo "$ac_cv_sizeof_time_t" >&6; }
        !          30242: 
        !          30243: cat >>confdefs.h <<_ACEOF
        !          30244: #define SIZEOF_TIME_T $ac_cv_sizeof_time_t
        !          30245: _ACEOF
        !          30246: 
        !          30247: 
        !          30248: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
        !          30249: $as_echo_n "checking size of off_t... " >&6; }
        !          30250: if ${ac_cv_sizeof_off_t+:} false; then :
        !          30251:   $as_echo_n "(cached) " >&6
        !          30252: else
        !          30253:   for ac_size in 4 8 1 2 16  ; do # List sizes in rough order of prevalence.
        !          30254:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          30255: /* end confdefs.h.  */
        !          30256: 
        !          30257: #include <sys/types.h>
        !          30258: 
        !          30259: 
        !          30260: int main (void)
        !          30261: {
        !          30262: switch (0) case 0: case (sizeof (off_t) == $ac_size):;
        !          30263:  ;
        !          30264:  return 0;
        !          30265: }
        !          30266: _ACEOF
        !          30267: if ac_fn_c_try_compile "$LINENO"; then :
        !          30268:   ac_cv_sizeof_off_t=$ac_size
        !          30269: fi
        !          30270: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          30271:   if test x$ac_cv_sizeof_off_t != x ; then break; fi
        !          30272: done
        !          30273: 
        !          30274: fi
        !          30275: 
        !          30276: if test x$ac_cv_sizeof_off_t = x ; then
        !          30277:   as_fn_error $? "cannot determine a size for off_t" "$LINENO" 5
        !          30278: fi
        !          30279: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
        !          30280: $as_echo "$ac_cv_sizeof_off_t" >&6; }
        !          30281: 
        !          30282: cat >>confdefs.h <<_ACEOF
        !          30283: #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
        !          30284: _ACEOF
        !          30285: 
        !          30286: 
        !          30287: 
        !          30288: o=$CPPFLAGS
        !          30289: CPPFLAGS="-I$srcdir/include $CPPFLAGS"
        !          30290: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of curl_off_t" >&5
        !          30291: $as_echo_n "checking size of curl_off_t... " >&6; }
        !          30292: if ${ac_cv_sizeof_curl_off_t+:} false; then :
        !          30293:   $as_echo_n "(cached) " >&6
        !          30294: else
        !          30295:   for ac_size in 4 8 1 2 16  ; do # List sizes in rough order of prevalence.
        !          30296:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          30297: /* end confdefs.h.  */
        !          30298: 
        !          30299: #include <sys/types.h>
        !          30300: 
        !          30301: #include <curl/system.h>
        !          30302: 
        !          30303: 
        !          30304: int main (void)
        !          30305: {
        !          30306: switch (0) case 0: case (sizeof (curl_off_t) == $ac_size):;
        !          30307:  ;
        !          30308:  return 0;
        !          30309: }
        !          30310: _ACEOF
        !          30311: if ac_fn_c_try_compile "$LINENO"; then :
        !          30312:   ac_cv_sizeof_curl_off_t=$ac_size
        !          30313: fi
        !          30314: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          30315:   if test x$ac_cv_sizeof_curl_off_t != x ; then break; fi
        !          30316: done
        !          30317: 
        !          30318: fi
        !          30319: 
        !          30320: if test x$ac_cv_sizeof_curl_off_t = x ; then
        !          30321:   as_fn_error $? "cannot determine a size for curl_off_t" "$LINENO" 5
        !          30322: fi
        !          30323: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_curl_off_t" >&5
        !          30324: $as_echo "$ac_cv_sizeof_curl_off_t" >&6; }
        !          30325: 
        !          30326: cat >>confdefs.h <<_ACEOF
        !          30327: #define SIZEOF_CURL_OFF_T $ac_cv_sizeof_curl_off_t
        !          30328: _ACEOF
        !          30329: 
        !          30330: 
        !          30331: CPPFLAGS=$o
        !          30332: 
        !          30333: ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
        !          30334: if test "x$ac_cv_type_long_long" = xyes; then :
        !          30335: 
        !          30336: $as_echo "#define HAVE_LONGLONG 1" >>confdefs.h
        !          30337: 
        !          30338:    longlong="yes"
        !          30339: 
        !          30340: fi
        !          30341: 
        !          30342: 
        !          30343: if test "xyes" = "x$longlong"; then
        !          30344:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if numberLL works" >&5
        !          30345: $as_echo_n "checking if numberLL works... " >&6; }
        !          30346:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          30347: /* end confdefs.h.  */
        !          30348: 
        !          30349: 
        !          30350: 
        !          30351: int main (void)
        !          30352: {
        !          30353: 
        !          30354:       long long val = 1000LL;
        !          30355: 
        !          30356:  ;
        !          30357:  return 0;
        !          30358: }
        !          30359: 
        !          30360: _ACEOF
        !          30361: if ac_fn_c_try_compile "$LINENO"; then :
        !          30362: 
        !          30363:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          30364: $as_echo "yes" >&6; }
        !          30365: 
        !          30366: $as_echo "#define HAVE_LL 1" >>confdefs.h
        !          30367: 
        !          30368: 
        !          30369: else
        !          30370: 
        !          30371:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          30372: $as_echo "no" >&6; }
        !          30373: 
        !          30374: fi
        !          30375: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          30376: fi
        !          30377: 
        !          30378: 
        !          30379: # check for ssize_t
        !          30380: ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
        !          30381: if test "x$ac_cv_type_ssize_t" = xyes; then :
        !          30382: 
        !          30383: else
        !          30384: 
        !          30385: $as_echo "#define ssize_t int" >>confdefs.h
        !          30386: 
        !          30387: fi
        !          30388: 
        !          30389: 
        !          30390: # check for bool type
        !          30391: ac_fn_c_check_type "$LINENO" "bool" "ac_cv_type_bool" "
        !          30392: #ifdef HAVE_SYS_TYPES_H
        !          30393: #include <sys/types.h>
        !          30394: #endif
        !          30395: #ifdef HAVE_STDBOOL_H
        !          30396: #include <stdbool.h>
        !          30397: #endif
        !          30398: 
        !          30399: "
        !          30400: if test "x$ac_cv_type_bool" = xyes; then :
        !          30401: 
        !          30402: 
        !          30403: $as_echo "#define HAVE_BOOL_T 1" >>confdefs.h
        !          30404: 
        !          30405: 
        !          30406: fi
        !          30407: 
        !          30408: 
        !          30409: # check for sa_family_t
        !          30410: ac_fn_c_check_type "$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" "
        !          30411: #ifdef HAVE_SYS_SOCKET_H
        !          30412: #include <sys/socket.h>
        !          30413: #endif
        !          30414: 
        !          30415: "
        !          30416: if test "x$ac_cv_type_sa_family_t" = xyes; then :
        !          30417: 
        !          30418: $as_echo "#define CURL_SA_FAMILY_T sa_family_t" >>confdefs.h
        !          30419: 
        !          30420: else
        !          30421: 
        !          30422:    # The windows name?
        !          30423:    ac_fn_c_check_type "$LINENO" "ADDRESS_FAMILY" "ac_cv_type_ADDRESS_FAMILY" "
        !          30424: #ifdef HAVE_SYS_SOCKET_H
        !          30425: #include <sys/socket.h>
        !          30426: #endif
        !          30427: 
        !          30428: "
        !          30429: if test "x$ac_cv_type_ADDRESS_FAMILY" = xyes; then :
        !          30430: 
        !          30431: $as_echo "#define CURL_SA_FAMILY_T ADDRESS_FAMILY" >>confdefs.h
        !          30432: 
        !          30433: else
        !          30434: 
        !          30435: $as_echo "#define CURL_SA_FAMILY_T unsigned short" >>confdefs.h
        !          30436: 
        !          30437: fi
        !          30438: 
        !          30439: 
        !          30440: fi
        !          30441: 
        !          30442: 
        !          30443: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if time_t is unsigned" >&5
        !          30444: $as_echo_n "checking if time_t is unsigned... " >&6; }
        !          30445: 
        !          30446:    old=$LD_LIBRARY_PATH
        !          30447:    LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
        !          30448:    export LD_LIBRARY_PATH
        !          30449:    if test "$cross_compiling" = yes; then :
        !          30450:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          30451: $as_echo "no" >&6; }
        !          30452: 
        !          30453: else
        !          30454:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          30455: /* end confdefs.h.  */
        !          30456: 
        !          30457:   #include <time.h>
        !          30458:   #include <limits.h>
        !          30459:   time_t t = -1;
        !          30460:   return (t > 0);
        !          30461: 
        !          30462: _ACEOF
        !          30463: if ac_fn_c_try_run "$LINENO"; then :
        !          30464:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          30465: $as_echo "yes" >&6; }
        !          30466: 
        !          30467: $as_echo "#define HAVE_TIME_T_UNSIGNED 1" >>confdefs.h
        !          30468: 
        !          30469: 
        !          30470: else
        !          30471:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          30472: $as_echo "no" >&6; }
        !          30473: 
        !          30474: fi
        !          30475: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          30476:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          30477: fi
        !          30478: 
        !          30479:    LD_LIBRARY_PATH=$old # restore
        !          30480: 
        !          30481: 
        !          30482: 
        !          30483: curl_includes_poll="\
        !          30484: /* includes start */
        !          30485: #ifdef HAVE_SYS_TYPES_H
        !          30486: #  include <sys/types.h>
        !          30487: #endif
        !          30488: #ifdef HAVE_POLL_H
        !          30489: #  include <poll.h>
        !          30490: #endif
        !          30491: #ifdef HAVE_SYS_POLL_H
        !          30492: #  include <sys/poll.h>
        !          30493: #endif
        !          30494: /* includes end */"
        !          30495:   for ac_header in sys/types.h poll.h sys/poll.h
        !          30496: do :
        !          30497:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          30498: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_poll
        !          30499: "
        !          30500: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          30501:   cat >>confdefs.h <<_ACEOF
        !          30502: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          30503: _ACEOF
        !          30504: 
        !          30505: fi
        !          30506: 
        !          30507: done
        !          30508: 
        !          30509: 
        !          30510: 
        !          30511:     #
        !          30512:   tst_poll_events_macro_defined="unknown"
        !          30513:   #
        !          30514:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          30515: /* end confdefs.h.  */
        !          30516: 
        !          30517: 
        !          30518:       $curl_includes_poll
        !          30519: 
        !          30520: int main (void)
        !          30521: {
        !          30522: 
        !          30523: #if defined(events) || defined(revents)
        !          30524:       return 0;
        !          30525: #else
        !          30526:       force compilation error
        !          30527: #endif
        !          30528: 
        !          30529:  ;
        !          30530:  return 0;
        !          30531: }
        !          30532: 
        !          30533: _ACEOF
        !          30534: if ac_fn_c_try_compile "$LINENO"; then :
        !          30535: 
        !          30536:     tst_poll_events_macro_defined="yes"
        !          30537: 
        !          30538: else
        !          30539: 
        !          30540:     tst_poll_events_macro_defined="no"
        !          30541: 
        !          30542: fi
        !          30543: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          30544:   #
        !          30545:   if test "$tst_poll_events_macro_defined" = "yes"; then
        !          30546:     if test "x$ac_cv_header_sys_poll_h" = "xyes"; then
        !          30547: 
        !          30548: cat >>confdefs.h <<_EOF
        !          30549: #define CURL_PULL_SYS_POLL_H 1
        !          30550: _EOF
        !          30551: 
        !          30552:     fi
        !          30553:   fi
        !          30554:   #
        !          30555: 
        !          30556: 
        !          30557: 
        !          30558:   ac_fn_c_check_type "$LINENO" "in_addr_t" "ac_cv_type_in_addr_t" "
        !          30559: #undef inline
        !          30560: #ifdef HAVE_WINDOWS_H
        !          30561: #ifndef WIN32_LEAN_AND_MEAN
        !          30562: #define WIN32_LEAN_AND_MEAN
        !          30563: #endif
        !          30564: #include <windows.h>
        !          30565: #ifdef HAVE_WINSOCK2_H
        !          30566: #include <winsock2.h>
        !          30567: #else
        !          30568: #ifdef HAVE_WINSOCK_H
        !          30569: #include <winsock.h>
        !          30570: #endif
        !          30571: #endif
        !          30572: #else
        !          30573: #ifdef HAVE_SYS_TYPES_H
        !          30574: #include <sys/types.h>
        !          30575: #endif
        !          30576: #ifdef HAVE_SYS_SOCKET_H
        !          30577: #include <sys/socket.h>
        !          30578: #endif
        !          30579: #ifdef HAVE_NETINET_IN_H
        !          30580: #include <netinet/in.h>
        !          30581: #endif
        !          30582: #ifdef HAVE_ARPA_INET_H
        !          30583: #include <arpa/inet.h>
        !          30584: #endif
        !          30585: #endif
        !          30586: 
        !          30587: "
        !          30588: if test "x$ac_cv_type_in_addr_t" = xyes; then :
        !          30589: 
        !          30590: else
        !          30591: 
        !          30592:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in_addr_t equivalent" >&5
        !          30593: $as_echo_n "checking for in_addr_t equivalent... " >&6; }
        !          30594: if ${curl_cv_in_addr_t_equiv+:} false; then :
        !          30595:   $as_echo_n "(cached) " >&6
        !          30596: else
        !          30597: 
        !          30598:       curl_cv_in_addr_t_equiv="unknown"
        !          30599:       for t in "unsigned long" int size_t unsigned long; do
        !          30600:         if test "$curl_cv_in_addr_t_equiv" = "unknown"; then
        !          30601:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          30602: /* end confdefs.h.  */
        !          30603: 
        !          30604: 
        !          30605: #undef inline
        !          30606: #ifdef HAVE_WINDOWS_H
        !          30607: #ifndef WIN32_LEAN_AND_MEAN
        !          30608: #define WIN32_LEAN_AND_MEAN
        !          30609: #endif
        !          30610: #include <windows.h>
        !          30611: #ifdef HAVE_WINSOCK2_H
        !          30612: #include <winsock2.h>
        !          30613: #else
        !          30614: #ifdef HAVE_WINSOCK_H
        !          30615: #include <winsock.h>
        !          30616: #endif
        !          30617: #endif
        !          30618: #else
        !          30619: #ifdef HAVE_SYS_TYPES_H
        !          30620: #include <sys/types.h>
        !          30621: #endif
        !          30622: #ifdef HAVE_SYS_SOCKET_H
        !          30623: #include <sys/socket.h>
        !          30624: #endif
        !          30625: #ifdef HAVE_NETINET_IN_H
        !          30626: #include <netinet/in.h>
        !          30627: #endif
        !          30628: #ifdef HAVE_ARPA_INET_H
        !          30629: #include <arpa/inet.h>
        !          30630: #endif
        !          30631: #endif
        !          30632: 
        !          30633: int main (void)
        !          30634: {
        !          30635: 
        !          30636:               $t data = inet_addr ("1.2.3.4");
        !          30637: 
        !          30638:  ;
        !          30639:  return 0;
        !          30640: }
        !          30641: 
        !          30642: _ACEOF
        !          30643: if ac_fn_c_try_link "$LINENO"; then :
        !          30644: 
        !          30645:             curl_cv_in_addr_t_equiv="$t"
        !          30646: 
        !          30647: fi
        !          30648: rm -f core conftest.err conftest.$ac_objext \
        !          30649:     conftest$ac_exeext conftest.$ac_ext
        !          30650:         fi
        !          30651:       done
        !          30652: 
        !          30653: fi
        !          30654: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_in_addr_t_equiv" >&5
        !          30655: $as_echo "$curl_cv_in_addr_t_equiv" >&6; }
        !          30656:     case "$curl_cv_in_addr_t_equiv" in
        !          30657:       unknown)
        !          30658:         as_fn_error $? "Cannot find a type to use in place of in_addr_t" "$LINENO" 5
        !          30659:         ;;
        !          30660:       *)
        !          30661: 
        !          30662: cat >>confdefs.h <<_ACEOF
        !          30663: #define in_addr_t $curl_cv_in_addr_t_equiv
        !          30664: _ACEOF
        !          30665: 
        !          30666:         ;;
        !          30667:     esac
        !          30668: 
        !          30669: fi
        !          30670: 
        !          30671: 
        !          30672: 
        !          30673: 
        !          30674:    ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "
        !          30675: #undef inline
        !          30676: #ifdef HAVE_WINDOWS_H
        !          30677: #ifndef WIN32_LEAN_AND_MEAN
        !          30678: #define WIN32_LEAN_AND_MEAN
        !          30679: #endif
        !          30680: #include <windows.h>
        !          30681: #ifdef HAVE_WINSOCK2_H
        !          30682: #include <winsock2.h>
        !          30683: #endif
        !          30684: #else
        !          30685: #ifdef HAVE_SYS_TYPES_H
        !          30686: #include <sys/types.h>
        !          30687: #endif
        !          30688: #ifdef HAVE_SYS_SOCKET_H
        !          30689: #include <sys/socket.h>
        !          30690: #endif
        !          30691: #ifdef HAVE_NETINET_IN_H
        !          30692: #include <netinet/in.h>
        !          30693: #endif
        !          30694: #ifdef HAVE_ARPA_INET_H
        !          30695: #include <arpa/inet.h>
        !          30696: #endif
        !          30697: #endif
        !          30698: 
        !          30699: "
        !          30700: if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
        !          30701: 
        !          30702: $as_echo "#define HAVE_STRUCT_SOCKADDR_STORAGE 1" >>confdefs.h
        !          30703: 
        !          30704: fi
        !          30705: 
        !          30706: 
        !          30707: 
        !          30708: 
        !          30709:   for ac_header in signal.h
        !          30710: do :
        !          30711:   ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
        !          30712: if test "x$ac_cv_header_signal_h" = xyes; then :
        !          30713:   cat >>confdefs.h <<_ACEOF
        !          30714: #define HAVE_SIGNAL_H 1
        !          30715: _ACEOF
        !          30716: 
        !          30717: fi
        !          30718: 
        !          30719: done
        !          30720: 
        !          30721:   ac_fn_c_check_type "$LINENO" "sig_atomic_t" "ac_cv_type_sig_atomic_t" "
        !          30722: #ifdef HAVE_SIGNAL_H
        !          30723: #include <signal.h>
        !          30724: #endif
        !          30725: 
        !          30726: "
        !          30727: if test "x$ac_cv_type_sig_atomic_t" = xyes; then :
        !          30728: 
        !          30729: 
        !          30730: $as_echo "#define HAVE_SIG_ATOMIC_T 1" >>confdefs.h
        !          30731: 
        !          30732: 
        !          30733: fi
        !          30734: 
        !          30735:   case "$ac_cv_type_sig_atomic_t" in
        !          30736:     yes)
        !          30737:       #
        !          30738:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sig_atomic_t is already defined as volatile" >&5
        !          30739: $as_echo_n "checking if sig_atomic_t is already defined as volatile... " >&6; }
        !          30740:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          30741: /* end confdefs.h.  */
        !          30742: 
        !          30743: 
        !          30744: #ifdef HAVE_SIGNAL_H
        !          30745: #include <signal.h>
        !          30746: #endif
        !          30747: 
        !          30748: int main (void)
        !          30749: {
        !          30750: 
        !          30751:           static volatile sig_atomic_t dummy = 0;
        !          30752: 
        !          30753:  ;
        !          30754:  return 0;
        !          30755: }
        !          30756: 
        !          30757: _ACEOF
        !          30758: if ac_fn_c_try_link "$LINENO"; then :
        !          30759: 
        !          30760:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          30761: $as_echo "no" >&6; }
        !          30762:         curl_cv_sig_atomic_t_volatile="no"
        !          30763: 
        !          30764: else
        !          30765: 
        !          30766:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          30767: $as_echo "yes" >&6; }
        !          30768:         curl_cv_sig_atomic_t_volatile="yes"
        !          30769: 
        !          30770: fi
        !          30771: rm -f core conftest.err conftest.$ac_objext \
        !          30772:     conftest$ac_exeext conftest.$ac_ext
        !          30773:       #
        !          30774:       if test "$curl_cv_sig_atomic_t_volatile" = "yes"; then
        !          30775: 
        !          30776: $as_echo "#define HAVE_SIG_ATOMIC_T_VOLATILE 1" >>confdefs.h
        !          30777: 
        !          30778:       fi
        !          30779:       ;;
        !          30780:   esac
        !          30781: 
        !          30782: 
        !          30783: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
        !          30784: $as_echo_n "checking return type of signal handlers... " >&6; }
        !          30785: if ${ac_cv_type_signal+:} false; then :
        !          30786:   $as_echo_n "(cached) " >&6
        !          30787: else
        !          30788:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          30789: /* end confdefs.h.  */
        !          30790: #include <sys/types.h>
        !          30791: #include <signal.h>
        !          30792: 
        !          30793: int main (void)
        !          30794: {
        !          30795: return *(signal (0, 0)) (0) == 1;
        !          30796:  ;
        !          30797:  return 0;
        !          30798: }
        !          30799: _ACEOF
        !          30800: if ac_fn_c_try_compile "$LINENO"; then :
        !          30801:   ac_cv_type_signal=int
        !          30802: else
        !          30803:   ac_cv_type_signal=void
        !          30804: fi
        !          30805: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          30806: fi
        !          30807: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
        !          30808: $as_echo "$ac_cv_type_signal" >&6; }
        !          30809: 
        !          30810: cat >>confdefs.h <<_ACEOF
        !          30811: #define RETSIGTYPE $ac_cv_type_signal
        !          30812: _ACEOF
        !          30813: 
        !          30814: 
        !          30815: 
        !          30816: 
        !          30817:     for ac_header in sys/select.h sys/socket.h
        !          30818: do :
        !          30819:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          30820: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
        !          30821: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          30822:   cat >>confdefs.h <<_ACEOF
        !          30823: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          30824: _ACEOF
        !          30825: 
        !          30826: fi
        !          30827: 
        !          30828: done
        !          30829: 
        !          30830:   #
        !          30831:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for select" >&5
        !          30832: $as_echo_n "checking for select... " >&6; }
        !          30833:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          30834: /* end confdefs.h.  */
        !          30835: 
        !          30836: 
        !          30837: #undef inline
        !          30838: #ifdef HAVE_WINDOWS_H
        !          30839: #ifndef WIN32_LEAN_AND_MEAN
        !          30840: #define WIN32_LEAN_AND_MEAN
        !          30841: #endif
        !          30842: #include <windows.h>
        !          30843: #ifdef HAVE_WINSOCK2_H
        !          30844: #include <winsock2.h>
        !          30845: #else
        !          30846: #ifdef HAVE_WINSOCK_H
        !          30847: #include <winsock.h>
        !          30848: #endif
        !          30849: #endif
        !          30850: #endif
        !          30851: #ifdef HAVE_SYS_TYPES_H
        !          30852: #include <sys/types.h>
        !          30853: #endif
        !          30854: #ifdef HAVE_SYS_TIME_H
        !          30855: #include <sys/time.h>
        !          30856: #ifdef TIME_WITH_SYS_TIME
        !          30857: #include <time.h>
        !          30858: #endif
        !          30859: #else
        !          30860: #ifdef HAVE_TIME_H
        !          30861: #include <time.h>
        !          30862: #endif
        !          30863: #endif
        !          30864: #ifndef HAVE_WINDOWS_H
        !          30865: #ifdef HAVE_PROTO_BSDSOCKET_H
        !          30866: #include <proto/bsdsocket.h>
        !          30867: struct Library *SocketBase = NULL;
        !          30868: #define select(a,b,c,d,e) WaitSelect(a,b,c,d,e,0)
        !          30869: #endif
        !          30870: #ifdef HAVE_SYS_SELECT_H
        !          30871: #include <sys/select.h>
        !          30872: #elif defined(HAVE_UNISTD_H)
        !          30873: #include <unistd.h>
        !          30874: #endif
        !          30875: #ifdef HAVE_SYS_SOCKET_H
        !          30876: #include <sys/socket.h>
        !          30877: #endif
        !          30878: #endif
        !          30879: 
        !          30880: int main (void)
        !          30881: {
        !          30882: 
        !          30883:       select(0, 0, 0, 0, 0);
        !          30884: 
        !          30885:  ;
        !          30886:  return 0;
        !          30887: }
        !          30888: 
        !          30889: _ACEOF
        !          30890: if ac_fn_c_try_link "$LINENO"; then :
        !          30891: 
        !          30892:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          30893: $as_echo "yes" >&6; }
        !          30894:     curl_cv_select="yes"
        !          30895: 
        !          30896: else
        !          30897: 
        !          30898:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          30899: $as_echo "no" >&6; }
        !          30900:     curl_cv_select="no"
        !          30901: 
        !          30902: fi
        !          30903: rm -f core conftest.err conftest.$ac_objext \
        !          30904:     conftest$ac_exeext conftest.$ac_ext
        !          30905:   #
        !          30906:   if test "$curl_cv_select" = "yes"; then
        !          30907:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of args and return type for select" >&5
        !          30908: $as_echo_n "checking types of args and return type for select... " >&6; }
        !          30909: if ${curl_cv_func_select_args+:} false; then :
        !          30910:   $as_echo_n "(cached) " >&6
        !          30911: else
        !          30912: 
        !          30913:       curl_cv_func_select_args="unknown"
        !          30914:       for sel_retv in 'int' 'ssize_t'; do
        !          30915:         for sel_arg1 in 'int' 'ssize_t' 'size_t' 'unsigned long int' 'unsigned int'; do
        !          30916:           for sel_arg234 in 'fd_set *' 'int *' 'void *'; do
        !          30917:             for sel_arg5 in 'struct timeval *' 'const struct timeval *'; do
        !          30918:               if test "$curl_cv_func_select_args" = "unknown"; then
        !          30919:                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          30920: /* end confdefs.h.  */
        !          30921: 
        !          30922: 
        !          30923: #undef inline
        !          30924: #ifdef HAVE_WINDOWS_H
        !          30925: #ifndef WIN32_LEAN_AND_MEAN
        !          30926: #define WIN32_LEAN_AND_MEAN
        !          30927: #endif
        !          30928: #include <windows.h>
        !          30929: #ifdef HAVE_WINSOCK2_H
        !          30930: #include <winsock2.h>
        !          30931: #else
        !          30932: #ifdef HAVE_WINSOCK_H
        !          30933: #include <winsock.h>
        !          30934: #endif
        !          30935: #endif
        !          30936: #define SELECTCALLCONV PASCAL
        !          30937: #endif
        !          30938: #ifdef HAVE_SYS_TYPES_H
        !          30939: #include <sys/types.h>
        !          30940: #endif
        !          30941: #ifdef HAVE_SYS_TIME_H
        !          30942: #include <sys/time.h>
        !          30943: #ifdef TIME_WITH_SYS_TIME
        !          30944: #include <time.h>
        !          30945: #endif
        !          30946: #else
        !          30947: #ifdef HAVE_TIME_H
        !          30948: #include <time.h>
        !          30949: #endif
        !          30950: #endif
        !          30951: #ifndef HAVE_WINDOWS_H
        !          30952: #ifdef HAVE_PROTO_BSDSOCKET_H
        !          30953: #include <proto/bsdsocket.h>
        !          30954: struct Library *SocketBase = NULL;
        !          30955: #define select(a,b,c,d,e) WaitSelect(a,b,c,d,e,0)
        !          30956: #endif
        !          30957: #ifdef HAVE_SYS_SELECT_H
        !          30958: #include <sys/select.h>
        !          30959: #elif defined(HAVE_UNISTD_H)
        !          30960: #include <unistd.h>
        !          30961: #endif
        !          30962: #ifdef HAVE_SYS_SOCKET_H
        !          30963: #include <sys/socket.h>
        !          30964: #endif
        !          30965: #define SELECTCALLCONV
        !          30966: #endif
        !          30967: #ifndef HAVE_STRUCT_TIMEVAL
        !          30968:                     struct timeval {
        !          30969:                       long tv_sec;
        !          30970:                       long tv_usec;
        !          30971:                     };
        !          30972: #endif
        !          30973: #ifndef HAVE_PROTO_BSDSOCKET_H
        !          30974:                     extern $sel_retv SELECTCALLCONV
        !          30975:                                select($sel_arg1,
        !          30976:                                        $sel_arg234,
        !          30977:                                        $sel_arg234,
        !          30978:                                        $sel_arg234,
        !          30979:                                        $sel_arg5);
        !          30980: #endif
        !          30981: 
        !          30982: int main (void)
        !          30983: {
        !          30984: 
        !          30985:                     $sel_arg1   nfds=0;
        !          30986:                     $sel_arg234 rfds=0;
        !          30987:                     $sel_arg234 wfds=0;
        !          30988:                     $sel_arg234 efds=0;
        !          30989:                     $sel_retv res = select(nfds, rfds, wfds, efds, 0);
        !          30990: 
        !          30991:  ;
        !          30992:  return 0;
        !          30993: }
        !          30994: 
        !          30995: _ACEOF
        !          30996: if ac_fn_c_try_compile "$LINENO"; then :
        !          30997: 
        !          30998:                   curl_cv_func_select_args="$sel_arg1,$sel_arg234,$sel_arg5,$sel_retv"
        !          30999: 
        !          31000: fi
        !          31001: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          31002:               fi
        !          31003:             done
        !          31004:           done
        !          31005:         done
        !          31006:       done
        !          31007: 
        !          31008: fi
        !          31009: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_func_select_args" >&5
        !          31010: $as_echo "$curl_cv_func_select_args" >&6; } # AC-CACHE-CHECK
        !          31011:     if test "$curl_cv_func_select_args" = "unknown"; then
        !          31012:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find proper types to use for select args" >&5
        !          31013: $as_echo "$as_me: WARNING: Cannot find proper types to use for select args" >&2;}
        !          31014:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_SELECT will not be defined" >&5
        !          31015: $as_echo "$as_me: WARNING: HAVE_SELECT will not be defined" >&2;}
        !          31016:     else
        !          31017:       select_prev_IFS=$IFS; IFS=','
        !          31018:       set dummy `echo "$curl_cv_func_select_args" | sed 's/\*/\*/g'`
        !          31019:       IFS=$select_prev_IFS
        !          31020:       shift
        !          31021:       #
        !          31022:       sel_qual_type_arg5=$3
        !          31023:       #
        !          31024: 
        !          31025: cat >>confdefs.h <<_ACEOF
        !          31026: #define SELECT_TYPE_ARG1 $1
        !          31027: _ACEOF
        !          31028: 
        !          31029: 
        !          31030: cat >>confdefs.h <<_ACEOF
        !          31031: #define SELECT_TYPE_ARG234 $2
        !          31032: _ACEOF
        !          31033: 
        !          31034: 
        !          31035: cat >>confdefs.h <<_ACEOF
        !          31036: #define SELECT_TYPE_RETV $4
        !          31037: _ACEOF
        !          31038: 
        !          31039:       #
        !          31040:       prev_sh_opts=$-
        !          31041:       #
        !          31042:       case $prev_sh_opts in
        !          31043:         *f*)
        !          31044:           ;;
        !          31045:         *)
        !          31046:           set -f
        !          31047:           ;;
        !          31048:       esac
        !          31049:       #
        !          31050:       case "$sel_qual_type_arg5" in
        !          31051:         const*)
        !          31052:           sel_qual_arg5=const
        !          31053:           sel_type_arg5=`echo $sel_qual_type_arg5 | sed 's/^const //'`
        !          31054:         ;;
        !          31055:         *)
        !          31056:           sel_qual_arg5=
        !          31057:           sel_type_arg5=$sel_qual_type_arg5
        !          31058:         ;;
        !          31059:       esac
        !          31060:       #
        !          31061: 
        !          31062: cat >>confdefs.h <<_ACEOF
        !          31063: #define SELECT_QUAL_ARG5 $sel_qual_arg5
        !          31064: _ACEOF
        !          31065: 
        !          31066: 
        !          31067: cat >>confdefs.h <<_ACEOF
        !          31068: #define SELECT_TYPE_ARG5 $sel_type_arg5
        !          31069: _ACEOF
        !          31070: 
        !          31071:       #
        !          31072:       case $prev_sh_opts in
        !          31073:         *f*)
        !          31074:           ;;
        !          31075:         *)
        !          31076:           set +f
        !          31077:           ;;
        !          31078:       esac
        !          31079:       #
        !          31080: 
        !          31081: cat >>confdefs.h <<_ACEOF
        !          31082: #define HAVE_SELECT 1
        !          31083: _ACEOF
        !          31084: 
        !          31085:       curl_cv_func_select="yes"
        !          31086:     fi
        !          31087:   fi
        !          31088: 
        !          31089: 
        !          31090: 
        !          31091:       for ac_header in sys/types.h sys/socket.h
        !          31092: do :
        !          31093:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          31094: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
        !          31095: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          31096:   cat >>confdefs.h <<_ACEOF
        !          31097: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          31098: _ACEOF
        !          31099: 
        !          31100: fi
        !          31101: 
        !          31102: done
        !          31103: 
        !          31104:   #
        !          31105:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recv" >&5
        !          31106: $as_echo_n "checking for recv... " >&6; }
        !          31107:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          31108: /* end confdefs.h.  */
        !          31109: 
        !          31110: 
        !          31111: #undef inline
        !          31112: #ifdef HAVE_WINDOWS_H
        !          31113: #ifndef WIN32_LEAN_AND_MEAN
        !          31114: #define WIN32_LEAN_AND_MEAN
        !          31115: #endif
        !          31116: #include <windows.h>
        !          31117: #ifdef HAVE_WINSOCK2_H
        !          31118: #include <winsock2.h>
        !          31119: #else
        !          31120: #ifdef HAVE_WINSOCK_H
        !          31121: #include <winsock.h>
        !          31122: #endif
        !          31123: #endif
        !          31124: #else
        !          31125: #ifdef HAVE_PROTO_BSDSOCKET_H
        !          31126: #include <proto/bsdsocket.h>
        !          31127: struct Library *SocketBase = NULL;
        !          31128: #endif
        !          31129: #ifdef HAVE_SYS_TYPES_H
        !          31130: #include <sys/types.h>
        !          31131: #endif
        !          31132: #ifdef HAVE_SYS_SOCKET_H
        !          31133: #include <sys/socket.h>
        !          31134: #endif
        !          31135: #endif
        !          31136: 
        !          31137: int main (void)
        !          31138: {
        !          31139: 
        !          31140:       recv(0, 0, 0, 0);
        !          31141: 
        !          31142:  ;
        !          31143:  return 0;
        !          31144: }
        !          31145: 
        !          31146: _ACEOF
        !          31147: if ac_fn_c_try_link "$LINENO"; then :
        !          31148: 
        !          31149:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          31150: $as_echo "yes" >&6; }
        !          31151:     curl_cv_recv="yes"
        !          31152: 
        !          31153: else
        !          31154: 
        !          31155:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          31156: $as_echo "no" >&6; }
        !          31157:     curl_cv_recv="no"
        !          31158: 
        !          31159: fi
        !          31160: rm -f core conftest.err conftest.$ac_objext \
        !          31161:     conftest$ac_exeext conftest.$ac_ext
        !          31162:   #
        !          31163:   if test "$curl_cv_recv" = "yes"; then
        !          31164:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of args and return type for recv" >&5
        !          31165: $as_echo_n "checking types of args and return type for recv... " >&6; }
        !          31166: if ${curl_cv_func_recv_args+:} false; then :
        !          31167:   $as_echo_n "(cached) " >&6
        !          31168: else
        !          31169: 
        !          31170:       curl_cv_func_recv_args="unknown"
        !          31171:       for recv_retv in 'int' 'ssize_t'; do
        !          31172:         for recv_arg1 in 'int' 'ssize_t' 'SOCKET'; do
        !          31173:           for recv_arg2 in 'char *' 'void *'; do
        !          31174:             for recv_arg3 in 'size_t' 'int' 'socklen_t' 'unsigned int'; do
        !          31175:               for recv_arg4 in 'int' 'unsigned int'; do
        !          31176:                 if test "$curl_cv_func_recv_args" = "unknown"; then
        !          31177:                   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          31178: /* end confdefs.h.  */
        !          31179: 
        !          31180: 
        !          31181: #undef inline
        !          31182: #ifdef HAVE_WINDOWS_H
        !          31183: #ifndef WIN32_LEAN_AND_MEAN
        !          31184: #define WIN32_LEAN_AND_MEAN
        !          31185: #endif
        !          31186: #include <windows.h>
        !          31187: #ifdef HAVE_WINSOCK2_H
        !          31188: #include <winsock2.h>
        !          31189: #else
        !          31190: #ifdef HAVE_WINSOCK_H
        !          31191: #include <winsock.h>
        !          31192: #endif
        !          31193: #endif
        !          31194: #define RECVCALLCONV PASCAL
        !          31195: #else
        !          31196: #ifdef HAVE_PROTO_BSDSOCKET_H
        !          31197: #include <proto/bsdsocket.h>
        !          31198: struct Library *SocketBase = NULL;
        !          31199: #endif
        !          31200: #ifdef HAVE_SYS_TYPES_H
        !          31201: #include <sys/types.h>
        !          31202: #endif
        !          31203: #ifdef HAVE_SYS_SOCKET_H
        !          31204: #include <sys/socket.h>
        !          31205: #endif
        !          31206: #define RECVCALLCONV
        !          31207: #endif
        !          31208: #ifndef HAVE_PROTO_BSDSOCKET_H
        !          31209:                       extern $recv_retv RECVCALLCONV
        !          31210:                       recv($recv_arg1, $recv_arg2, $recv_arg3, $recv_arg4);
        !          31211: #endif
        !          31212: 
        !          31213: int main (void)
        !          31214: {
        !          31215: 
        !          31216:                       $recv_arg1 s=0;
        !          31217:                       $recv_arg2 buf=0;
        !          31218:                       $recv_arg3 len=0;
        !          31219:                       $recv_arg4 flags=0;
        !          31220:                       $recv_retv res = recv(s, buf, len, flags);
        !          31221: 
        !          31222:  ;
        !          31223:  return 0;
        !          31224: }
        !          31225: 
        !          31226: _ACEOF
        !          31227: if ac_fn_c_try_compile "$LINENO"; then :
        !          31228: 
        !          31229:                     curl_cv_func_recv_args="$recv_arg1,$recv_arg2,$recv_arg3,$recv_arg4,$recv_retv"
        !          31230: 
        !          31231: fi
        !          31232: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          31233:                 fi
        !          31234:               done
        !          31235:             done
        !          31236:           done
        !          31237:         done
        !          31238:       done
        !          31239: 
        !          31240: fi
        !          31241: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_func_recv_args" >&5
        !          31242: $as_echo "$curl_cv_func_recv_args" >&6; } # AC-CACHE-CHECK
        !          31243:     if test "$curl_cv_func_recv_args" = "unknown"; then
        !          31244:       as_fn_error $? "Cannot find proper types to use for recv args" "$LINENO" 5
        !          31245:     else
        !          31246:       recv_prev_IFS=$IFS; IFS=','
        !          31247:       set dummy `echo "$curl_cv_func_recv_args" | sed 's/\*/\*/g'`
        !          31248:       IFS=$recv_prev_IFS
        !          31249:       shift
        !          31250:       #
        !          31251: 
        !          31252: cat >>confdefs.h <<_ACEOF
        !          31253: #define RECV_TYPE_ARG1 $1
        !          31254: _ACEOF
        !          31255: 
        !          31256: 
        !          31257: cat >>confdefs.h <<_ACEOF
        !          31258: #define RECV_TYPE_ARG2 $2
        !          31259: _ACEOF
        !          31260: 
        !          31261: 
        !          31262: cat >>confdefs.h <<_ACEOF
        !          31263: #define RECV_TYPE_ARG3 $3
        !          31264: _ACEOF
        !          31265: 
        !          31266: 
        !          31267: cat >>confdefs.h <<_ACEOF
        !          31268: #define RECV_TYPE_ARG4 $4
        !          31269: _ACEOF
        !          31270: 
        !          31271: 
        !          31272: cat >>confdefs.h <<_ACEOF
        !          31273: #define RECV_TYPE_RETV $5
        !          31274: _ACEOF
        !          31275: 
        !          31276:       #
        !          31277: 
        !          31278: cat >>confdefs.h <<_ACEOF
        !          31279: #define HAVE_RECV 1
        !          31280: _ACEOF
        !          31281: 
        !          31282:       curl_cv_func_recv="yes"
        !          31283:     fi
        !          31284:   else
        !          31285:     as_fn_error $? "Unable to link function recv" "$LINENO" 5
        !          31286:   fi
        !          31287: 
        !          31288: 
        !          31289:       for ac_header in sys/types.h sys/socket.h
        !          31290: do :
        !          31291:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          31292: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
        !          31293: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          31294:   cat >>confdefs.h <<_ACEOF
        !          31295: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          31296: _ACEOF
        !          31297: 
        !          31298: fi
        !          31299: 
        !          31300: done
        !          31301: 
        !          31302:   #
        !          31303:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for send" >&5
        !          31304: $as_echo_n "checking for send... " >&6; }
        !          31305:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          31306: /* end confdefs.h.  */
        !          31307: 
        !          31308: 
        !          31309: #undef inline
        !          31310: #ifdef HAVE_WINDOWS_H
        !          31311: #ifndef WIN32_LEAN_AND_MEAN
        !          31312: #define WIN32_LEAN_AND_MEAN
        !          31313: #endif
        !          31314: #include <windows.h>
        !          31315: #ifdef HAVE_WINSOCK2_H
        !          31316: #include <winsock2.h>
        !          31317: #else
        !          31318: #ifdef HAVE_WINSOCK_H
        !          31319: #include <winsock.h>
        !          31320: #endif
        !          31321: #endif
        !          31322: #else
        !          31323: #ifdef HAVE_PROTO_BSDSOCKET_H
        !          31324: #include <proto/bsdsocket.h>
        !          31325: struct Library *SocketBase = NULL;
        !          31326: #endif
        !          31327: #ifdef HAVE_SYS_TYPES_H
        !          31328: #include <sys/types.h>
        !          31329: #endif
        !          31330: #ifdef HAVE_SYS_SOCKET_H
        !          31331: #include <sys/socket.h>
        !          31332: #endif
        !          31333: #endif
        !          31334: 
        !          31335: int main (void)
        !          31336: {
        !          31337: 
        !          31338:       send(0, 0, 0, 0);
        !          31339: 
        !          31340:  ;
        !          31341:  return 0;
        !          31342: }
        !          31343: 
        !          31344: _ACEOF
        !          31345: if ac_fn_c_try_link "$LINENO"; then :
        !          31346: 
        !          31347:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          31348: $as_echo "yes" >&6; }
        !          31349:     curl_cv_send="yes"
        !          31350: 
        !          31351: else
        !          31352: 
        !          31353:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          31354: $as_echo "no" >&6; }
        !          31355:     curl_cv_send="no"
        !          31356: 
        !          31357: fi
        !          31358: rm -f core conftest.err conftest.$ac_objext \
        !          31359:     conftest$ac_exeext conftest.$ac_ext
        !          31360:   #
        !          31361:   if test "$curl_cv_send" = "yes"; then
        !          31362:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of args and return type for send" >&5
        !          31363: $as_echo_n "checking types of args and return type for send... " >&6; }
        !          31364: if ${curl_cv_func_send_args+:} false; then :
        !          31365:   $as_echo_n "(cached) " >&6
        !          31366: else
        !          31367: 
        !          31368:       curl_cv_func_send_args="unknown"
        !          31369:       for send_retv in 'int' 'ssize_t'; do
        !          31370:         for send_arg1 in 'int' 'ssize_t' 'SOCKET'; do
        !          31371:           for send_arg2 in 'char *' 'void *' 'const char *' 'const void *'; do
        !          31372:             for send_arg3 in 'size_t' 'int' 'socklen_t' 'unsigned int'; do
        !          31373:               for send_arg4 in 'int' 'unsigned int'; do
        !          31374:                 if test "$curl_cv_func_send_args" = "unknown"; then
        !          31375:                   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          31376: /* end confdefs.h.  */
        !          31377: 
        !          31378: 
        !          31379: #undef inline
        !          31380: #ifdef HAVE_WINDOWS_H
        !          31381: #ifndef WIN32_LEAN_AND_MEAN
        !          31382: #define WIN32_LEAN_AND_MEAN
        !          31383: #endif
        !          31384: #include <windows.h>
        !          31385: #ifdef HAVE_WINSOCK2_H
        !          31386: #include <winsock2.h>
        !          31387: #else
        !          31388: #ifdef HAVE_WINSOCK_H
        !          31389: #include <winsock.h>
        !          31390: #endif
        !          31391: #endif
        !          31392: #define SENDCALLCONV PASCAL
        !          31393: #else
        !          31394: #ifdef HAVE_PROTO_BSDSOCKET_H
        !          31395: #include <proto/bsdsocket.h>
        !          31396: struct Library *SocketBase = NULL;
        !          31397: #endif
        !          31398: #ifdef HAVE_SYS_TYPES_H
        !          31399: #include <sys/types.h>
        !          31400: #endif
        !          31401: #ifdef HAVE_SYS_SOCKET_H
        !          31402: #include <sys/socket.h>
        !          31403: #endif
        !          31404: #define SENDCALLCONV
        !          31405: #endif
        !          31406: #ifndef HAVE_PROTO_BSDSOCKET_H
        !          31407:                       extern $send_retv SENDCALLCONV
        !          31408:                       send($send_arg1, $send_arg2, $send_arg3, $send_arg4);
        !          31409: #endif
        !          31410: 
        !          31411: int main (void)
        !          31412: {
        !          31413: 
        !          31414:                       $send_arg1 s=0;
        !          31415:                       $send_arg3 len=0;
        !          31416:                       $send_arg4 flags=0;
        !          31417:                       $send_retv res = send(s, 0, len, flags);
        !          31418: 
        !          31419:  ;
        !          31420:  return 0;
        !          31421: }
        !          31422: 
        !          31423: _ACEOF
        !          31424: if ac_fn_c_try_compile "$LINENO"; then :
        !          31425: 
        !          31426:                     curl_cv_func_send_args="$send_arg1,$send_arg2,$send_arg3,$send_arg4,$send_retv"
        !          31427: 
        !          31428: fi
        !          31429: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          31430:                 fi
        !          31431:               done
        !          31432:             done
        !          31433:           done
        !          31434:         done
        !          31435:       done
        !          31436: 
        !          31437: fi
        !          31438: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_func_send_args" >&5
        !          31439: $as_echo "$curl_cv_func_send_args" >&6; } # AC-CACHE-CHECK
        !          31440:     if test "$curl_cv_func_send_args" = "unknown"; then
        !          31441:       as_fn_error $? "Cannot find proper types to use for send args" "$LINENO" 5
        !          31442:     else
        !          31443:       send_prev_IFS=$IFS; IFS=','
        !          31444:       set dummy `echo "$curl_cv_func_send_args" | sed 's/\*/\*/g'`
        !          31445:       IFS=$send_prev_IFS
        !          31446:       shift
        !          31447:       #
        !          31448:       send_qual_type_arg2=$2
        !          31449:       #
        !          31450: 
        !          31451: cat >>confdefs.h <<_ACEOF
        !          31452: #define SEND_TYPE_ARG1 $1
        !          31453: _ACEOF
        !          31454: 
        !          31455: 
        !          31456: cat >>confdefs.h <<_ACEOF
        !          31457: #define SEND_TYPE_ARG3 $3
        !          31458: _ACEOF
        !          31459: 
        !          31460: 
        !          31461: cat >>confdefs.h <<_ACEOF
        !          31462: #define SEND_TYPE_ARG4 $4
        !          31463: _ACEOF
        !          31464: 
        !          31465: 
        !          31466: cat >>confdefs.h <<_ACEOF
        !          31467: #define SEND_TYPE_RETV $5
        !          31468: _ACEOF
        !          31469: 
        !          31470:       #
        !          31471:       prev_sh_opts=$-
        !          31472:       #
        !          31473:       case $prev_sh_opts in
        !          31474:         *f*)
        !          31475:           ;;
        !          31476:         *)
        !          31477:           set -f
        !          31478:           ;;
        !          31479:       esac
        !          31480:       #
        !          31481:       case "$send_qual_type_arg2" in
        !          31482:         const*)
        !          31483:           send_qual_arg2=const
        !          31484:           send_type_arg2=`echo $send_qual_type_arg2 | sed 's/^const //'`
        !          31485:         ;;
        !          31486:         *)
        !          31487:           send_qual_arg2=
        !          31488:           send_type_arg2=$send_qual_type_arg2
        !          31489:         ;;
        !          31490:       esac
        !          31491:       #
        !          31492: 
        !          31493: cat >>confdefs.h <<_ACEOF
        !          31494: #define SEND_QUAL_ARG2 $send_qual_arg2
        !          31495: _ACEOF
        !          31496: 
        !          31497: 
        !          31498: cat >>confdefs.h <<_ACEOF
        !          31499: #define SEND_TYPE_ARG2 $send_type_arg2
        !          31500: _ACEOF
        !          31501: 
        !          31502:       #
        !          31503:       case $prev_sh_opts in
        !          31504:         *f*)
        !          31505:           ;;
        !          31506:         *)
        !          31507:           set +f
        !          31508:           ;;
        !          31509:       esac
        !          31510:       #
        !          31511: 
        !          31512: cat >>confdefs.h <<_ACEOF
        !          31513: #define HAVE_SEND 1
        !          31514: _ACEOF
        !          31515: 
        !          31516:       curl_cv_func_send="yes"
        !          31517:     fi
        !          31518:   else
        !          31519:     as_fn_error $? "Unable to link function send" "$LINENO" 5
        !          31520:   fi
        !          31521: 
        !          31522: 
        !          31523:   for ac_header in sys/types.h sys/socket.h
        !          31524: do :
        !          31525:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          31526: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
        !          31527: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          31528:   cat >>confdefs.h <<_ACEOF
        !          31529: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          31530: _ACEOF
        !          31531: 
        !          31532: fi
        !          31533: 
        !          31534: done
        !          31535: 
        !          31536:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MSG_NOSIGNAL" >&5
        !          31537: $as_echo_n "checking for MSG_NOSIGNAL... " >&6; }
        !          31538: if ${curl_cv_msg_nosignal+:} false; then :
        !          31539:   $as_echo_n "(cached) " >&6
        !          31540: else
        !          31541: 
        !          31542:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          31543: /* end confdefs.h.  */
        !          31544: 
        !          31545: 
        !          31546: #undef inline
        !          31547: #ifdef HAVE_WINDOWS_H
        !          31548: #ifndef WIN32_LEAN_AND_MEAN
        !          31549: #define WIN32_LEAN_AND_MEAN
        !          31550: #endif
        !          31551: #include <windows.h>
        !          31552: #ifdef HAVE_WINSOCK2_H
        !          31553: #include <winsock2.h>
        !          31554: #else
        !          31555: #ifdef HAVE_WINSOCK_H
        !          31556: #include <winsock.h>
        !          31557: #endif
        !          31558: #endif
        !          31559: #else
        !          31560: #ifdef HAVE_PROTO_BSDSOCKET_H
        !          31561: #include <proto/bsdsocket.h>
        !          31562: struct Library *SocketBase = NULL;
        !          31563: #endif
        !          31564: #ifdef HAVE_SYS_TYPES_H
        !          31565: #include <sys/types.h>
        !          31566: #endif
        !          31567: #ifdef HAVE_SYS_SOCKET_H
        !          31568: #include <sys/socket.h>
        !          31569: #endif
        !          31570: #endif
        !          31571: 
        !          31572: int main (void)
        !          31573: {
        !          31574: 
        !          31575:         int flag=MSG_NOSIGNAL;
        !          31576: 
        !          31577:  ;
        !          31578:  return 0;
        !          31579: }
        !          31580: 
        !          31581: _ACEOF
        !          31582: if ac_fn_c_try_compile "$LINENO"; then :
        !          31583: 
        !          31584:       curl_cv_msg_nosignal="yes"
        !          31585: 
        !          31586: else
        !          31587: 
        !          31588:       curl_cv_msg_nosignal="no"
        !          31589: 
        !          31590: fi
        !          31591: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          31592: 
        !          31593: fi
        !          31594: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_msg_nosignal" >&5
        !          31595: $as_echo "$curl_cv_msg_nosignal" >&6; }
        !          31596:   case "$curl_cv_msg_nosignal" in
        !          31597:     yes)
        !          31598: 
        !          31599: cat >>confdefs.h <<_ACEOF
        !          31600: #define HAVE_MSG_NOSIGNAL 1
        !          31601: _ACEOF
        !          31602: 
        !          31603:       ;;
        !          31604:   esac
        !          31605: 
        !          31606: 
        !          31607: 
        !          31608: curl_includes_unistd="\
        !          31609: /* includes start */
        !          31610: #ifdef HAVE_SYS_TYPES_H
        !          31611: #  include <sys/types.h>
        !          31612: #endif
        !          31613: #ifdef HAVE_UNISTD_H
        !          31614: #  include <unistd.h>
        !          31615: #endif
        !          31616: /* includes end */"
        !          31617:   for ac_header in sys/types.h unistd.h
        !          31618: do :
        !          31619:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          31620: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_unistd
        !          31621: "
        !          31622: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          31623:   cat >>confdefs.h <<_ACEOF
        !          31624: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          31625: _ACEOF
        !          31626: 
        !          31627: fi
        !          31628: 
        !          31629: done
        !          31630: 
        !          31631: 
        !          31632: 
        !          31633:     #
        !          31634:   tst_links_alarm="unknown"
        !          31635:   tst_proto_alarm="unknown"
        !          31636:   tst_compi_alarm="unknown"
        !          31637:   tst_allow_alarm="unknown"
        !          31638:   #
        !          31639:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if alarm can be linked" >&5
        !          31640: $as_echo_n "checking if alarm can be linked... " >&6; }
        !          31641:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          31642: /* end confdefs.h.  */
        !          31643: 
        !          31644: 
        !          31645: #define alarm innocuous_alarm
        !          31646: #ifdef __STDC__
        !          31647: # include <limits.h>
        !          31648: #else
        !          31649: # include <assert.h>
        !          31650: #endif
        !          31651: #undef alarm
        !          31652: #ifdef __cplusplus
        !          31653: extern "C"
        !          31654: #endif
        !          31655: char alarm ();
        !          31656: #if defined __stub_alarm || defined __stub___alarm
        !          31657: choke me
        !          31658: #endif
        !          31659: 
        !          31660: int main (void)
        !          31661: {
        !          31662: return alarm ();
        !          31663:  ;
        !          31664:  return 0;
        !          31665: }
        !          31666: 
        !          31667: _ACEOF
        !          31668: if ac_fn_c_try_link "$LINENO"; then :
        !          31669: 
        !          31670:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          31671: $as_echo "yes" >&6; }
        !          31672:     tst_links_alarm="yes"
        !          31673: 
        !          31674: else
        !          31675: 
        !          31676:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          31677: $as_echo "no" >&6; }
        !          31678:     tst_links_alarm="no"
        !          31679: 
        !          31680: fi
        !          31681: rm -f core conftest.err conftest.$ac_objext \
        !          31682:     conftest$ac_exeext conftest.$ac_ext
        !          31683:   #
        !          31684:   if test "$tst_links_alarm" = "yes"; then
        !          31685:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if alarm is prototyped" >&5
        !          31686: $as_echo_n "checking if alarm is prototyped... " >&6; }
        !          31687:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          31688: /* end confdefs.h.  */
        !          31689: 
        !          31690:       $curl_includes_unistd
        !          31691: 
        !          31692: _ACEOF
        !          31693: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          31694:   $EGREP "alarm" >/dev/null 2>&1; then :
        !          31695: 
        !          31696:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          31697: $as_echo "yes" >&6; }
        !          31698:       tst_proto_alarm="yes"
        !          31699: 
        !          31700: else
        !          31701: 
        !          31702:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          31703: $as_echo "no" >&6; }
        !          31704:       tst_proto_alarm="no"
        !          31705: 
        !          31706: fi
        !          31707: rm -f conftest*
        !          31708: 
        !          31709:   fi
        !          31710:   #
        !          31711:   if test "$tst_proto_alarm" = "yes"; then
        !          31712:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if alarm is compilable" >&5
        !          31713: $as_echo_n "checking if alarm is compilable... " >&6; }
        !          31714:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          31715: /* end confdefs.h.  */
        !          31716: 
        !          31717: 
        !          31718:         $curl_includes_unistd
        !          31719: 
        !          31720: int main (void)
        !          31721: {
        !          31722: 
        !          31723:         if(0 != alarm(0))
        !          31724:           return 1;
        !          31725: 
        !          31726:  ;
        !          31727:  return 0;
        !          31728: }
        !          31729: 
        !          31730: _ACEOF
        !          31731: if ac_fn_c_try_compile "$LINENO"; then :
        !          31732: 
        !          31733:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          31734: $as_echo "yes" >&6; }
        !          31735:       tst_compi_alarm="yes"
        !          31736: 
        !          31737: else
        !          31738: 
        !          31739:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          31740: $as_echo "no" >&6; }
        !          31741:       tst_compi_alarm="no"
        !          31742: 
        !          31743: fi
        !          31744: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          31745:   fi
        !          31746:   #
        !          31747:   if test "$tst_compi_alarm" = "yes"; then
        !          31748:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if alarm usage allowed" >&5
        !          31749: $as_echo_n "checking if alarm usage allowed... " >&6; }
        !          31750:     if test "x$curl_disallow_alarm" != "xyes"; then
        !          31751:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          31752: $as_echo "yes" >&6; }
        !          31753:       tst_allow_alarm="yes"
        !          31754:     else
        !          31755:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          31756: $as_echo "no" >&6; }
        !          31757:       tst_allow_alarm="no"
        !          31758:     fi
        !          31759:   fi
        !          31760:   #
        !          31761:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if alarm might be used" >&5
        !          31762: $as_echo_n "checking if alarm might be used... " >&6; }
        !          31763:   if test "$tst_links_alarm" = "yes" &&
        !          31764:      test "$tst_proto_alarm" = "yes" &&
        !          31765:      test "$tst_compi_alarm" = "yes" &&
        !          31766:      test "$tst_allow_alarm" = "yes"; then
        !          31767:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          31768: $as_echo "yes" >&6; }
        !          31769: 
        !          31770: cat >>confdefs.h <<_ACEOF
        !          31771: #define HAVE_ALARM 1
        !          31772: _ACEOF
        !          31773: 
        !          31774:     curl_cv_func_alarm="yes"
        !          31775:   else
        !          31776:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          31777: $as_echo "no" >&6; }
        !          31778:     curl_cv_func_alarm="no"
        !          31779:   fi
        !          31780: 
        !          31781: 
        !          31782: curl_includes_string="\
        !          31783: /* includes start */
        !          31784: #ifdef HAVE_SYS_TYPES_H
        !          31785: #  include <sys/types.h>
        !          31786: #endif
        !          31787: #ifdef HAVE_STRING_H
        !          31788: #  include <string.h>
        !          31789: #endif
        !          31790: #ifdef HAVE_STRINGS_H
        !          31791: #  include <strings.h>
        !          31792: #endif
        !          31793: /* includes end */"
        !          31794:   for ac_header in sys/types.h string.h strings.h
        !          31795: do :
        !          31796:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          31797: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_string
        !          31798: "
        !          31799: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          31800:   cat >>confdefs.h <<_ACEOF
        !          31801: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          31802: _ACEOF
        !          31803: 
        !          31804: fi
        !          31805: 
        !          31806: done
        !          31807: 
        !          31808: 
        !          31809: 
        !          31810: curl_includes_libgen="\
        !          31811: /* includes start */
        !          31812: #ifdef HAVE_SYS_TYPES_H
        !          31813: #  include <sys/types.h>
        !          31814: #endif
        !          31815: #ifdef HAVE_LIBGEN_H
        !          31816: #  include <libgen.h>
        !          31817: #endif
        !          31818: /* includes end */"
        !          31819:   for ac_header in sys/types.h libgen.h
        !          31820: do :
        !          31821:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          31822: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_libgen
        !          31823: "
        !          31824: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          31825:   cat >>confdefs.h <<_ACEOF
        !          31826: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          31827: _ACEOF
        !          31828: 
        !          31829: fi
        !          31830: 
        !          31831: done
        !          31832: 
        !          31833: 
        !          31834: 
        !          31835:         #
        !          31836:   tst_links_basename="unknown"
        !          31837:   tst_proto_basename="unknown"
        !          31838:   tst_compi_basename="unknown"
        !          31839:   tst_allow_basename="unknown"
        !          31840:   #
        !          31841:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if basename can be linked" >&5
        !          31842: $as_echo_n "checking if basename can be linked... " >&6; }
        !          31843:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          31844: /* end confdefs.h.  */
        !          31845: 
        !          31846: 
        !          31847: #define basename innocuous_basename
        !          31848: #ifdef __STDC__
        !          31849: # include <limits.h>
        !          31850: #else
        !          31851: # include <assert.h>
        !          31852: #endif
        !          31853: #undef basename
        !          31854: #ifdef __cplusplus
        !          31855: extern "C"
        !          31856: #endif
        !          31857: char basename ();
        !          31858: #if defined __stub_basename || defined __stub___basename
        !          31859: choke me
        !          31860: #endif
        !          31861: 
        !          31862: int main (void)
        !          31863: {
        !          31864: return basename ();
        !          31865:  ;
        !          31866:  return 0;
        !          31867: }
        !          31868: 
        !          31869: _ACEOF
        !          31870: if ac_fn_c_try_link "$LINENO"; then :
        !          31871: 
        !          31872:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          31873: $as_echo "yes" >&6; }
        !          31874:     tst_links_basename="yes"
        !          31875: 
        !          31876: else
        !          31877: 
        !          31878:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          31879: $as_echo "no" >&6; }
        !          31880:     tst_links_basename="no"
        !          31881: 
        !          31882: fi
        !          31883: rm -f core conftest.err conftest.$ac_objext \
        !          31884:     conftest$ac_exeext conftest.$ac_ext
        !          31885:   #
        !          31886:   if test "$tst_links_basename" = "yes"; then
        !          31887:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if basename is prototyped" >&5
        !          31888: $as_echo_n "checking if basename is prototyped... " >&6; }
        !          31889:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          31890: /* end confdefs.h.  */
        !          31891: 
        !          31892:       $curl_includes_string
        !          31893:       $curl_includes_libgen
        !          31894:       $curl_includes_unistd
        !          31895: 
        !          31896: _ACEOF
        !          31897: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          31898:   $EGREP "basename" >/dev/null 2>&1; then :
        !          31899: 
        !          31900:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          31901: $as_echo "yes" >&6; }
        !          31902:       tst_proto_basename="yes"
        !          31903: 
        !          31904: else
        !          31905: 
        !          31906:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          31907: $as_echo "no" >&6; }
        !          31908:       tst_proto_basename="no"
        !          31909: 
        !          31910: fi
        !          31911: rm -f conftest*
        !          31912: 
        !          31913:   fi
        !          31914:   #
        !          31915:   if test "$tst_proto_basename" = "yes"; then
        !          31916:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if basename is compilable" >&5
        !          31917: $as_echo_n "checking if basename is compilable... " >&6; }
        !          31918:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          31919: /* end confdefs.h.  */
        !          31920: 
        !          31921: 
        !          31922:         $curl_includes_string
        !          31923:         $curl_includes_libgen
        !          31924:         $curl_includes_unistd
        !          31925: 
        !          31926: int main (void)
        !          31927: {
        !          31928: 
        !          31929:         if(0 != basename(0))
        !          31930:           return 1;
        !          31931: 
        !          31932:  ;
        !          31933:  return 0;
        !          31934: }
        !          31935: 
        !          31936: _ACEOF
        !          31937: if ac_fn_c_try_compile "$LINENO"; then :
        !          31938: 
        !          31939:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          31940: $as_echo "yes" >&6; }
        !          31941:       tst_compi_basename="yes"
        !          31942: 
        !          31943: else
        !          31944: 
        !          31945:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          31946: $as_echo "no" >&6; }
        !          31947:       tst_compi_basename="no"
        !          31948: 
        !          31949: fi
        !          31950: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          31951:   fi
        !          31952:   #
        !          31953:   if test "$tst_compi_basename" = "yes"; then
        !          31954:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if basename usage allowed" >&5
        !          31955: $as_echo_n "checking if basename usage allowed... " >&6; }
        !          31956:     if test "x$curl_disallow_basename" != "xyes"; then
        !          31957:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          31958: $as_echo "yes" >&6; }
        !          31959:       tst_allow_basename="yes"
        !          31960:     else
        !          31961:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          31962: $as_echo "no" >&6; }
        !          31963:       tst_allow_basename="no"
        !          31964:     fi
        !          31965:   fi
        !          31966:   #
        !          31967:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if basename might be used" >&5
        !          31968: $as_echo_n "checking if basename might be used... " >&6; }
        !          31969:   if test "$tst_links_basename" = "yes" &&
        !          31970:      test "$tst_proto_basename" = "yes" &&
        !          31971:      test "$tst_compi_basename" = "yes" &&
        !          31972:      test "$tst_allow_basename" = "yes"; then
        !          31973:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          31974: $as_echo "yes" >&6; }
        !          31975: 
        !          31976: cat >>confdefs.h <<_ACEOF
        !          31977: #define HAVE_BASENAME 1
        !          31978: _ACEOF
        !          31979: 
        !          31980:     curl_cv_func_basename="yes"
        !          31981:   else
        !          31982:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          31983: $as_echo "no" >&6; }
        !          31984:     curl_cv_func_basename="no"
        !          31985:   fi
        !          31986: 
        !          31987: 
        !          31988: curl_includes_socket="\
        !          31989: /* includes start */
        !          31990: #ifdef HAVE_SYS_TYPES_H
        !          31991: #  include <sys/types.h>
        !          31992: #endif
        !          31993: #ifdef HAVE_SOCKET_H
        !          31994: #  include <socket.h>
        !          31995: #endif
        !          31996: /* includes end */"
        !          31997:   for ac_header in sys/types.h socket.h
        !          31998: do :
        !          31999:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          32000: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_socket
        !          32001: "
        !          32002: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          32003:   cat >>confdefs.h <<_ACEOF
        !          32004: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          32005: _ACEOF
        !          32006: 
        !          32007: fi
        !          32008: 
        !          32009: done
        !          32010: 
        !          32011: 
        !          32012: 
        !          32013:       #
        !          32014:   tst_links_closesocket="unknown"
        !          32015:   tst_proto_closesocket="unknown"
        !          32016:   tst_compi_closesocket="unknown"
        !          32017:   tst_allow_closesocket="unknown"
        !          32018:   #
        !          32019:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if closesocket can be linked" >&5
        !          32020: $as_echo_n "checking if closesocket can be linked... " >&6; }
        !          32021:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          32022: /* end confdefs.h.  */
        !          32023: 
        !          32024: 
        !          32025:       $curl_includes_winsock2
        !          32026:       $curl_includes_bsdsocket
        !          32027:       $curl_includes_socket
        !          32028: 
        !          32029: int main (void)
        !          32030: {
        !          32031: 
        !          32032:       if(0 != closesocket(0))
        !          32033:         return 1;
        !          32034: 
        !          32035:  ;
        !          32036:  return 0;
        !          32037: }
        !          32038: 
        !          32039: _ACEOF
        !          32040: if ac_fn_c_try_link "$LINENO"; then :
        !          32041: 
        !          32042:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32043: $as_echo "yes" >&6; }
        !          32044:     tst_links_closesocket="yes"
        !          32045: 
        !          32046: else
        !          32047: 
        !          32048:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          32049: $as_echo "no" >&6; }
        !          32050:     tst_links_closesocket="no"
        !          32051: 
        !          32052: fi
        !          32053: rm -f core conftest.err conftest.$ac_objext \
        !          32054:     conftest$ac_exeext conftest.$ac_ext
        !          32055:   #
        !          32056:   if test "$tst_links_closesocket" = "yes"; then
        !          32057:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if closesocket is prototyped" >&5
        !          32058: $as_echo_n "checking if closesocket is prototyped... " >&6; }
        !          32059:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          32060: /* end confdefs.h.  */
        !          32061: 
        !          32062:       $curl_includes_winsock2
        !          32063:       $curl_includes_bsdsocket
        !          32064:       $curl_includes_socket
        !          32065: 
        !          32066: _ACEOF
        !          32067: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          32068:   $EGREP "closesocket" >/dev/null 2>&1; then :
        !          32069: 
        !          32070:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32071: $as_echo "yes" >&6; }
        !          32072:       tst_proto_closesocket="yes"
        !          32073: 
        !          32074: else
        !          32075: 
        !          32076:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          32077: $as_echo "no" >&6; }
        !          32078:       tst_proto_closesocket="no"
        !          32079: 
        !          32080: fi
        !          32081: rm -f conftest*
        !          32082: 
        !          32083:   fi
        !          32084:   #
        !          32085:   if test "$tst_proto_closesocket" = "yes"; then
        !          32086:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if closesocket is compilable" >&5
        !          32087: $as_echo_n "checking if closesocket is compilable... " >&6; }
        !          32088:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          32089: /* end confdefs.h.  */
        !          32090: 
        !          32091: 
        !          32092:         $curl_includes_winsock2
        !          32093:       $curl_includes_bsdsocket
        !          32094:         $curl_includes_socket
        !          32095: 
        !          32096: int main (void)
        !          32097: {
        !          32098: 
        !          32099:         if(0 != closesocket(0))
        !          32100:           return 1;
        !          32101: 
        !          32102:  ;
        !          32103:  return 0;
        !          32104: }
        !          32105: 
        !          32106: _ACEOF
        !          32107: if ac_fn_c_try_compile "$LINENO"; then :
        !          32108: 
        !          32109:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32110: $as_echo "yes" >&6; }
        !          32111:       tst_compi_closesocket="yes"
        !          32112: 
        !          32113: else
        !          32114: 
        !          32115:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          32116: $as_echo "no" >&6; }
        !          32117:       tst_compi_closesocket="no"
        !          32118: 
        !          32119: fi
        !          32120: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          32121:   fi
        !          32122:   #
        !          32123:   if test "$tst_compi_closesocket" = "yes"; then
        !          32124:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if closesocket usage allowed" >&5
        !          32125: $as_echo_n "checking if closesocket usage allowed... " >&6; }
        !          32126:     if test "x$curl_disallow_closesocket" != "xyes"; then
        !          32127:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32128: $as_echo "yes" >&6; }
        !          32129:       tst_allow_closesocket="yes"
        !          32130:     else
        !          32131:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          32132: $as_echo "no" >&6; }
        !          32133:       tst_allow_closesocket="no"
        !          32134:     fi
        !          32135:   fi
        !          32136:   #
        !          32137:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if closesocket might be used" >&5
        !          32138: $as_echo_n "checking if closesocket might be used... " >&6; }
        !          32139:   if test "$tst_links_closesocket" = "yes" &&
        !          32140:      test "$tst_proto_closesocket" = "yes" &&
        !          32141:      test "$tst_compi_closesocket" = "yes" &&
        !          32142:      test "$tst_allow_closesocket" = "yes"; then
        !          32143:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32144: $as_echo "yes" >&6; }
        !          32145: 
        !          32146: cat >>confdefs.h <<_ACEOF
        !          32147: #define HAVE_CLOSESOCKET 1
        !          32148: _ACEOF
        !          32149: 
        !          32150:     curl_cv_func_closesocket="yes"
        !          32151:   else
        !          32152:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          32153: $as_echo "no" >&6; }
        !          32154:     curl_cv_func_closesocket="no"
        !          32155:   fi
        !          32156: 
        !          32157: 
        !          32158: curl_includes_sys_socket="\
        !          32159: /* includes start */
        !          32160: #ifdef HAVE_SYS_TYPES_H
        !          32161: #  include <sys/types.h>
        !          32162: #endif
        !          32163: #ifdef HAVE_SYS_SOCKET_H
        !          32164: #  include <sys/socket.h>
        !          32165: #endif
        !          32166: /* includes end */"
        !          32167:   for ac_header in sys/types.h sys/socket.h
        !          32168: do :
        !          32169:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          32170: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_sys_socket
        !          32171: "
        !          32172: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          32173:   cat >>confdefs.h <<_ACEOF
        !          32174: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          32175: _ACEOF
        !          32176: 
        !          32177: fi
        !          32178: 
        !          32179: done
        !          32180: 
        !          32181: 
        !          32182: 
        !          32183:     #
        !          32184:   tst_links_closesocket_camel="unknown"
        !          32185:   tst_proto_closesocket_camel="unknown"
        !          32186:   tst_compi_closesocket_camel="unknown"
        !          32187:   tst_allow_closesocket_camel="unknown"
        !          32188:   #
        !          32189:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CloseSocket can be linked" >&5
        !          32190: $as_echo_n "checking if CloseSocket can be linked... " >&6; }
        !          32191:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          32192: /* end confdefs.h.  */
        !          32193: 
        !          32194: 
        !          32195:       $curl_includes_sys_socket
        !          32196: 
        !          32197: int main (void)
        !          32198: {
        !          32199: 
        !          32200:       if(0 != CloseSocket(0))
        !          32201:         return 1;
        !          32202: 
        !          32203:  ;
        !          32204:  return 0;
        !          32205: }
        !          32206: 
        !          32207: _ACEOF
        !          32208: if ac_fn_c_try_link "$LINENO"; then :
        !          32209: 
        !          32210:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32211: $as_echo "yes" >&6; }
        !          32212:     tst_links_closesocket_camel="yes"
        !          32213: 
        !          32214: else
        !          32215: 
        !          32216:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          32217: $as_echo "no" >&6; }
        !          32218:     tst_links_closesocket_camel="no"
        !          32219: 
        !          32220: fi
        !          32221: rm -f core conftest.err conftest.$ac_objext \
        !          32222:     conftest$ac_exeext conftest.$ac_ext
        !          32223:   #
        !          32224:   if test "$tst_links_closesocket_camel" = "yes"; then
        !          32225:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CloseSocket is prototyped" >&5
        !          32226: $as_echo_n "checking if CloseSocket is prototyped... " >&6; }
        !          32227:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          32228: /* end confdefs.h.  */
        !          32229: 
        !          32230:       $curl_includes_sys_socket
        !          32231: 
        !          32232: _ACEOF
        !          32233: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          32234:   $EGREP "CloseSocket" >/dev/null 2>&1; then :
        !          32235: 
        !          32236:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32237: $as_echo "yes" >&6; }
        !          32238:       tst_proto_closesocket_camel="yes"
        !          32239: 
        !          32240: else
        !          32241: 
        !          32242:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          32243: $as_echo "no" >&6; }
        !          32244:       tst_proto_closesocket_camel="no"
        !          32245: 
        !          32246: fi
        !          32247: rm -f conftest*
        !          32248: 
        !          32249:   fi
        !          32250:   #
        !          32251:   if test "$tst_proto_closesocket_camel" = "yes"; then
        !          32252:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CloseSocket is compilable" >&5
        !          32253: $as_echo_n "checking if CloseSocket is compilable... " >&6; }
        !          32254:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          32255: /* end confdefs.h.  */
        !          32256: 
        !          32257: 
        !          32258:         $curl_includes_sys_socket
        !          32259: 
        !          32260: int main (void)
        !          32261: {
        !          32262: 
        !          32263:         if(0 != CloseSocket(0))
        !          32264:           return 1;
        !          32265: 
        !          32266:  ;
        !          32267:  return 0;
        !          32268: }
        !          32269: 
        !          32270: _ACEOF
        !          32271: if ac_fn_c_try_compile "$LINENO"; then :
        !          32272: 
        !          32273:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32274: $as_echo "yes" >&6; }
        !          32275:       tst_compi_closesocket_camel="yes"
        !          32276: 
        !          32277: else
        !          32278: 
        !          32279:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          32280: $as_echo "no" >&6; }
        !          32281:       tst_compi_closesocket_camel="no"
        !          32282: 
        !          32283: fi
        !          32284: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          32285:   fi
        !          32286:   #
        !          32287:   if test "$tst_compi_closesocket_camel" = "yes"; then
        !          32288:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CloseSocket usage allowed" >&5
        !          32289: $as_echo_n "checking if CloseSocket usage allowed... " >&6; }
        !          32290:     if test "x$curl_disallow_closesocket_camel" != "xyes"; then
        !          32291:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32292: $as_echo "yes" >&6; }
        !          32293:       tst_allow_closesocket_camel="yes"
        !          32294:     else
        !          32295:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          32296: $as_echo "no" >&6; }
        !          32297:       tst_allow_closesocket_camel="no"
        !          32298:     fi
        !          32299:   fi
        !          32300:   #
        !          32301:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CloseSocket might be used" >&5
        !          32302: $as_echo_n "checking if CloseSocket might be used... " >&6; }
        !          32303:   if test "$tst_links_closesocket_camel" = "yes" &&
        !          32304:      test "$tst_proto_closesocket_camel" = "yes" &&
        !          32305:      test "$tst_compi_closesocket_camel" = "yes" &&
        !          32306:      test "$tst_allow_closesocket_camel" = "yes"; then
        !          32307:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32308: $as_echo "yes" >&6; }
        !          32309: 
        !          32310: cat >>confdefs.h <<_ACEOF
        !          32311: #define HAVE_CLOSESOCKET_CAMEL 1
        !          32312: _ACEOF
        !          32313: 
        !          32314:     curl_cv_func_closesocket_camel="yes"
        !          32315:   else
        !          32316:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          32317: $as_echo "no" >&6; }
        !          32318:     curl_cv_func_closesocket_camel="no"
        !          32319:   fi
        !          32320: 
        !          32321: 
        !          32322:         #
        !          32323:   tst_links_connect="unknown"
        !          32324:   tst_proto_connect="unknown"
        !          32325:   tst_compi_connect="unknown"
        !          32326:   tst_allow_connect="unknown"
        !          32327:   #
        !          32328:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if connect can be linked" >&5
        !          32329: $as_echo_n "checking if connect can be linked... " >&6; }
        !          32330:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          32331: /* end confdefs.h.  */
        !          32332: 
        !          32333: 
        !          32334:       $curl_includes_winsock2
        !          32335:       $curl_includes_bsdsocket
        !          32336:       $curl_includes_sys_socket
        !          32337:       $curl_includes_socket
        !          32338: 
        !          32339: int main (void)
        !          32340: {
        !          32341: 
        !          32342:       if(0 != connect(0, 0, 0))
        !          32343:         return 1;
        !          32344: 
        !          32345:  ;
        !          32346:  return 0;
        !          32347: }
        !          32348: 
        !          32349: _ACEOF
        !          32350: if ac_fn_c_try_link "$LINENO"; then :
        !          32351: 
        !          32352:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32353: $as_echo "yes" >&6; }
        !          32354:     tst_links_connect="yes"
        !          32355: 
        !          32356: else
        !          32357: 
        !          32358:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          32359: $as_echo "no" >&6; }
        !          32360:     tst_links_connect="no"
        !          32361: 
        !          32362: fi
        !          32363: rm -f core conftest.err conftest.$ac_objext \
        !          32364:     conftest$ac_exeext conftest.$ac_ext
        !          32365:   #
        !          32366:   if test "$tst_links_connect" = "yes"; then
        !          32367:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if connect is prototyped" >&5
        !          32368: $as_echo_n "checking if connect is prototyped... " >&6; }
        !          32369:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          32370: /* end confdefs.h.  */
        !          32371: 
        !          32372:       $curl_includes_winsock2
        !          32373:       $curl_includes_bsdsocket
        !          32374:       $curl_includes_sys_socket
        !          32375:       $curl_includes_socket
        !          32376: 
        !          32377: _ACEOF
        !          32378: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          32379:   $EGREP "connect" >/dev/null 2>&1; then :
        !          32380: 
        !          32381:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32382: $as_echo "yes" >&6; }
        !          32383:       tst_proto_connect="yes"
        !          32384: 
        !          32385: else
        !          32386: 
        !          32387:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          32388: $as_echo "no" >&6; }
        !          32389:       tst_proto_connect="no"
        !          32390: 
        !          32391: fi
        !          32392: rm -f conftest*
        !          32393: 
        !          32394:   fi
        !          32395:   #
        !          32396:   if test "$tst_proto_connect" = "yes"; then
        !          32397:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if connect is compilable" >&5
        !          32398: $as_echo_n "checking if connect is compilable... " >&6; }
        !          32399:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          32400: /* end confdefs.h.  */
        !          32401: 
        !          32402: 
        !          32403:         $curl_includes_winsock2
        !          32404:       $curl_includes_bsdsocket
        !          32405:         $curl_includes_sys_socket
        !          32406:         $curl_includes_socket
        !          32407: 
        !          32408: int main (void)
        !          32409: {
        !          32410: 
        !          32411:         if(0 != connect(0, 0, 0))
        !          32412:           return 1;
        !          32413: 
        !          32414:  ;
        !          32415:  return 0;
        !          32416: }
        !          32417: 
        !          32418: _ACEOF
        !          32419: if ac_fn_c_try_compile "$LINENO"; then :
        !          32420: 
        !          32421:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32422: $as_echo "yes" >&6; }
        !          32423:       tst_compi_connect="yes"
        !          32424: 
        !          32425: else
        !          32426: 
        !          32427:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          32428: $as_echo "no" >&6; }
        !          32429:       tst_compi_connect="no"
        !          32430: 
        !          32431: fi
        !          32432: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          32433:   fi
        !          32434:   #
        !          32435:   if test "$tst_compi_connect" = "yes"; then
        !          32436:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if connect usage allowed" >&5
        !          32437: $as_echo_n "checking if connect usage allowed... " >&6; }
        !          32438:     if test "x$curl_disallow_connect" != "xyes"; then
        !          32439:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32440: $as_echo "yes" >&6; }
        !          32441:       tst_allow_connect="yes"
        !          32442:     else
        !          32443:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          32444: $as_echo "no" >&6; }
        !          32445:       tst_allow_connect="no"
        !          32446:     fi
        !          32447:   fi
        !          32448:   #
        !          32449:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if connect might be used" >&5
        !          32450: $as_echo_n "checking if connect might be used... " >&6; }
        !          32451:   if test "$tst_links_connect" = "yes" &&
        !          32452:      test "$tst_proto_connect" = "yes" &&
        !          32453:      test "$tst_compi_connect" = "yes" &&
        !          32454:      test "$tst_allow_connect" = "yes"; then
        !          32455:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32456: $as_echo "yes" >&6; }
        !          32457: 
        !          32458: cat >>confdefs.h <<_ACEOF
        !          32459: #define HAVE_CONNECT 1
        !          32460: _ACEOF
        !          32461: 
        !          32462:     curl_cv_func_connect="yes"
        !          32463:   else
        !          32464:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          32465: $as_echo "no" >&6; }
        !          32466:     curl_cv_func_connect="no"
        !          32467:   fi
        !          32468: 
        !          32469: 
        !          32470: curl_includes_fcntl="\
        !          32471: /* includes start */
        !          32472: #ifdef HAVE_SYS_TYPES_H
        !          32473: #  include <sys/types.h>
        !          32474: #endif
        !          32475: #ifdef HAVE_UNISTD_H
        !          32476: #  include <unistd.h>
        !          32477: #endif
        !          32478: #ifdef HAVE_FCNTL_H
        !          32479: #  include <fcntl.h>
        !          32480: #endif
        !          32481: /* includes end */"
        !          32482:   for ac_header in sys/types.h unistd.h fcntl.h
        !          32483: do :
        !          32484:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          32485: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_fcntl
        !          32486: "
        !          32487: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          32488:   cat >>confdefs.h <<_ACEOF
        !          32489: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          32490: _ACEOF
        !          32491: 
        !          32492: fi
        !          32493: 
        !          32494: done
        !          32495: 
        !          32496: 
        !          32497: 
        !          32498:     #
        !          32499:   tst_links_fcntl="unknown"
        !          32500:   tst_proto_fcntl="unknown"
        !          32501:   tst_compi_fcntl="unknown"
        !          32502:   tst_allow_fcntl="unknown"
        !          32503:   #
        !          32504:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl can be linked" >&5
        !          32505: $as_echo_n "checking if fcntl can be linked... " >&6; }
        !          32506:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          32507: /* end confdefs.h.  */
        !          32508: 
        !          32509: 
        !          32510: #define fcntl innocuous_fcntl
        !          32511: #ifdef __STDC__
        !          32512: # include <limits.h>
        !          32513: #else
        !          32514: # include <assert.h>
        !          32515: #endif
        !          32516: #undef fcntl
        !          32517: #ifdef __cplusplus
        !          32518: extern "C"
        !          32519: #endif
        !          32520: char fcntl ();
        !          32521: #if defined __stub_fcntl || defined __stub___fcntl
        !          32522: choke me
        !          32523: #endif
        !          32524: 
        !          32525: int main (void)
        !          32526: {
        !          32527: return fcntl ();
        !          32528:  ;
        !          32529:  return 0;
        !          32530: }
        !          32531: 
        !          32532: _ACEOF
        !          32533: if ac_fn_c_try_link "$LINENO"; then :
        !          32534: 
        !          32535:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32536: $as_echo "yes" >&6; }
        !          32537:     tst_links_fcntl="yes"
        !          32538: 
        !          32539: else
        !          32540: 
        !          32541:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          32542: $as_echo "no" >&6; }
        !          32543:     tst_links_fcntl="no"
        !          32544: 
        !          32545: fi
        !          32546: rm -f core conftest.err conftest.$ac_objext \
        !          32547:     conftest$ac_exeext conftest.$ac_ext
        !          32548:   #
        !          32549:   if test "$tst_links_fcntl" = "yes"; then
        !          32550:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl is prototyped" >&5
        !          32551: $as_echo_n "checking if fcntl is prototyped... " >&6; }
        !          32552:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          32553: /* end confdefs.h.  */
        !          32554: 
        !          32555:       $curl_includes_fcntl
        !          32556: 
        !          32557: _ACEOF
        !          32558: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          32559:   $EGREP "fcntl" >/dev/null 2>&1; then :
        !          32560: 
        !          32561:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32562: $as_echo "yes" >&6; }
        !          32563:       tst_proto_fcntl="yes"
        !          32564: 
        !          32565: else
        !          32566: 
        !          32567:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          32568: $as_echo "no" >&6; }
        !          32569:       tst_proto_fcntl="no"
        !          32570: 
        !          32571: fi
        !          32572: rm -f conftest*
        !          32573: 
        !          32574:   fi
        !          32575:   #
        !          32576:   if test "$tst_proto_fcntl" = "yes"; then
        !          32577:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl is compilable" >&5
        !          32578: $as_echo_n "checking if fcntl is compilable... " >&6; }
        !          32579:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          32580: /* end confdefs.h.  */
        !          32581: 
        !          32582: 
        !          32583:         $curl_includes_fcntl
        !          32584: 
        !          32585: int main (void)
        !          32586: {
        !          32587: 
        !          32588:         if(0 != fcntl(0, 0, 0))
        !          32589:           return 1;
        !          32590: 
        !          32591:  ;
        !          32592:  return 0;
        !          32593: }
        !          32594: 
        !          32595: _ACEOF
        !          32596: if ac_fn_c_try_compile "$LINENO"; then :
        !          32597: 
        !          32598:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32599: $as_echo "yes" >&6; }
        !          32600:       tst_compi_fcntl="yes"
        !          32601: 
        !          32602: else
        !          32603: 
        !          32604:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          32605: $as_echo "no" >&6; }
        !          32606:       tst_compi_fcntl="no"
        !          32607: 
        !          32608: fi
        !          32609: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          32610:   fi
        !          32611:   #
        !          32612:   if test "$tst_compi_fcntl" = "yes"; then
        !          32613:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl usage allowed" >&5
        !          32614: $as_echo_n "checking if fcntl usage allowed... " >&6; }
        !          32615:     if test "x$curl_disallow_fcntl" != "xyes"; then
        !          32616:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32617: $as_echo "yes" >&6; }
        !          32618:       tst_allow_fcntl="yes"
        !          32619:     else
        !          32620:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          32621: $as_echo "no" >&6; }
        !          32622:       tst_allow_fcntl="no"
        !          32623:     fi
        !          32624:   fi
        !          32625:   #
        !          32626:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl might be used" >&5
        !          32627: $as_echo_n "checking if fcntl might be used... " >&6; }
        !          32628:   if test "$tst_links_fcntl" = "yes" &&
        !          32629:      test "$tst_proto_fcntl" = "yes" &&
        !          32630:      test "$tst_compi_fcntl" = "yes" &&
        !          32631:      test "$tst_allow_fcntl" = "yes"; then
        !          32632:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32633: $as_echo "yes" >&6; }
        !          32634: 
        !          32635: cat >>confdefs.h <<_ACEOF
        !          32636: #define HAVE_FCNTL 1
        !          32637: _ACEOF
        !          32638: 
        !          32639:     curl_cv_func_fcntl="yes"
        !          32640: 
        !          32641:   #
        !          32642:   tst_compi_fcntl_o_nonblock="unknown"
        !          32643:   tst_allow_fcntl_o_nonblock="unknown"
        !          32644:   #
        !          32645:   case $host_os in
        !          32646:     sunos4* | aix3* | beos*)
        !          32647:             curl_disallow_fcntl_o_nonblock="yes"
        !          32648:       ;;
        !          32649:   esac
        !          32650:   #
        !          32651:   if test "$curl_cv_func_fcntl" = "yes"; then
        !          32652:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl O_NONBLOCK is compilable" >&5
        !          32653: $as_echo_n "checking if fcntl O_NONBLOCK is compilable... " >&6; }
        !          32654:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          32655: /* end confdefs.h.  */
        !          32656: 
        !          32657: 
        !          32658:         $curl_includes_fcntl
        !          32659: 
        !          32660: int main (void)
        !          32661: {
        !          32662: 
        !          32663:         int flags = 0;
        !          32664:         if(0 != fcntl(0, F_SETFL, flags | O_NONBLOCK))
        !          32665:           return 1;
        !          32666: 
        !          32667:  ;
        !          32668:  return 0;
        !          32669: }
        !          32670: 
        !          32671: _ACEOF
        !          32672: if ac_fn_c_try_compile "$LINENO"; then :
        !          32673: 
        !          32674:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32675: $as_echo "yes" >&6; }
        !          32676:       tst_compi_fcntl_o_nonblock="yes"
        !          32677: 
        !          32678: else
        !          32679: 
        !          32680:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          32681: $as_echo "no" >&6; }
        !          32682:       tst_compi_fcntl_o_nonblock="no"
        !          32683: 
        !          32684: fi
        !          32685: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          32686:   fi
        !          32687:   #
        !          32688:   if test "$tst_compi_fcntl_o_nonblock" = "yes"; then
        !          32689:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl O_NONBLOCK usage allowed" >&5
        !          32690: $as_echo_n "checking if fcntl O_NONBLOCK usage allowed... " >&6; }
        !          32691:     if test "x$curl_disallow_fcntl_o_nonblock" != "xyes"; then
        !          32692:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32693: $as_echo "yes" >&6; }
        !          32694:       tst_allow_fcntl_o_nonblock="yes"
        !          32695:     else
        !          32696:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          32697: $as_echo "no" >&6; }
        !          32698:       tst_allow_fcntl_o_nonblock="no"
        !          32699:     fi
        !          32700:   fi
        !          32701:   #
        !          32702:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl O_NONBLOCK might be used" >&5
        !          32703: $as_echo_n "checking if fcntl O_NONBLOCK might be used... " >&6; }
        !          32704:   if test "$tst_compi_fcntl_o_nonblock" = "yes" &&
        !          32705:      test "$tst_allow_fcntl_o_nonblock" = "yes"; then
        !          32706:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32707: $as_echo "yes" >&6; }
        !          32708: 
        !          32709: cat >>confdefs.h <<_ACEOF
        !          32710: #define HAVE_FCNTL_O_NONBLOCK 1
        !          32711: _ACEOF
        !          32712: 
        !          32713:     curl_cv_func_fcntl_o_nonblock="yes"
        !          32714:   else
        !          32715:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          32716: $as_echo "no" >&6; }
        !          32717:     curl_cv_func_fcntl_o_nonblock="no"
        !          32718:   fi
        !          32719: 
        !          32720:   else
        !          32721:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          32722: $as_echo "no" >&6; }
        !          32723:     curl_cv_func_fcntl="no"
        !          32724:   fi
        !          32725: 
        !          32726: 
        !          32727: curl_includes_ws2tcpip="\
        !          32728: /* includes start */
        !          32729: #ifdef HAVE_WINDOWS_H
        !          32730: #  ifndef WIN32_LEAN_AND_MEAN
        !          32731: #    define WIN32_LEAN_AND_MEAN
        !          32732: #  endif
        !          32733: #  include <windows.h>
        !          32734: #  ifdef HAVE_WINSOCK2_H
        !          32735: #    include <winsock2.h>
        !          32736: #    ifdef HAVE_WS2TCPIP_H
        !          32737: #       include <ws2tcpip.h>
        !          32738: #    endif
        !          32739: #  endif
        !          32740: #endif
        !          32741: /* includes end */"
        !          32742: 
        !          32743:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5
        !          32744: $as_echo_n "checking for windows.h... " >&6; }
        !          32745: if ${curl_cv_header_windows_h+:} false; then :
        !          32746:   $as_echo_n "(cached) " >&6
        !          32747: else
        !          32748: 
        !          32749:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          32750: /* end confdefs.h.  */
        !          32751: 
        !          32752: 
        !          32753: #undef inline
        !          32754: #ifndef WIN32_LEAN_AND_MEAN
        !          32755: #define WIN32_LEAN_AND_MEAN
        !          32756: #endif
        !          32757: #include <windows.h>
        !          32758: 
        !          32759: int main (void)
        !          32760: {
        !          32761: 
        !          32762: #if defined(__CYGWIN__) || defined(__CEGCC__)
        !          32763:         HAVE_WINDOWS_H shall not be defined.
        !          32764: #else
        !          32765:         int dummy=2*WINVER;
        !          32766: #endif
        !          32767: 
        !          32768:  ;
        !          32769:  return 0;
        !          32770: }
        !          32771: 
        !          32772: _ACEOF
        !          32773: if ac_fn_c_try_compile "$LINENO"; then :
        !          32774: 
        !          32775:       curl_cv_header_windows_h="yes"
        !          32776: 
        !          32777: else
        !          32778: 
        !          32779:       curl_cv_header_windows_h="no"
        !          32780: 
        !          32781: fi
        !          32782: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          32783: 
        !          32784: fi
        !          32785: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5
        !          32786: $as_echo "$curl_cv_header_windows_h" >&6; }
        !          32787:   case "$curl_cv_header_windows_h" in
        !          32788:     yes)
        !          32789: 
        !          32790: cat >>confdefs.h <<_ACEOF
        !          32791: #define HAVE_WINDOWS_H 1
        !          32792: _ACEOF
        !          32793: 
        !          32794:       ;;
        !          32795:   esac
        !          32796: 
        !          32797: 
        !          32798:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5
        !          32799: $as_echo_n "checking for winsock2.h... " >&6; }
        !          32800: if ${curl_cv_header_winsock2_h+:} false; then :
        !          32801:   $as_echo_n "(cached) " >&6
        !          32802: else
        !          32803: 
        !          32804:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          32805: /* end confdefs.h.  */
        !          32806: 
        !          32807: 
        !          32808: #undef inline
        !          32809: #ifndef WIN32_LEAN_AND_MEAN
        !          32810: #define WIN32_LEAN_AND_MEAN
        !          32811: #endif
        !          32812: #include <windows.h>
        !          32813: #include <winsock2.h>
        !          32814: 
        !          32815: int main (void)
        !          32816: {
        !          32817: 
        !          32818: #if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__)
        !          32819:         HAVE_WINSOCK2_H shall not be defined.
        !          32820: #else
        !          32821:         int dummy=2*IPPROTO_ESP;
        !          32822: #endif
        !          32823: 
        !          32824:  ;
        !          32825:  return 0;
        !          32826: }
        !          32827: 
        !          32828: _ACEOF
        !          32829: if ac_fn_c_try_compile "$LINENO"; then :
        !          32830: 
        !          32831:       curl_cv_header_winsock2_h="yes"
        !          32832: 
        !          32833: else
        !          32834: 
        !          32835:       curl_cv_header_winsock2_h="no"
        !          32836: 
        !          32837: fi
        !          32838: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          32839: 
        !          32840: fi
        !          32841: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5
        !          32842: $as_echo "$curl_cv_header_winsock2_h" >&6; }
        !          32843:   case "$curl_cv_header_winsock2_h" in
        !          32844:     yes)
        !          32845: 
        !          32846: cat >>confdefs.h <<_ACEOF
        !          32847: #define HAVE_WINSOCK2_H 1
        !          32848: _ACEOF
        !          32849: 
        !          32850:       ;;
        !          32851:   esac
        !          32852: 
        !          32853: 
        !          32854:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ws2tcpip.h" >&5
        !          32855: $as_echo_n "checking for ws2tcpip.h... " >&6; }
        !          32856: if ${curl_cv_header_ws2tcpip_h+:} false; then :
        !          32857:   $as_echo_n "(cached) " >&6
        !          32858: else
        !          32859: 
        !          32860:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          32861: /* end confdefs.h.  */
        !          32862: 
        !          32863: 
        !          32864: #undef inline
        !          32865: #ifndef WIN32_LEAN_AND_MEAN
        !          32866: #define WIN32_LEAN_AND_MEAN
        !          32867: #endif
        !          32868: #include <windows.h>
        !          32869: #include <winsock2.h>
        !          32870: #include <ws2tcpip.h>
        !          32871: 
        !          32872: int main (void)
        !          32873: {
        !          32874: 
        !          32875: #if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__)
        !          32876:         HAVE_WS2TCPIP_H shall not be defined.
        !          32877: #else
        !          32878:         int dummy=2*IP_PKTINFO;
        !          32879: #endif
        !          32880: 
        !          32881:  ;
        !          32882:  return 0;
        !          32883: }
        !          32884: 
        !          32885: _ACEOF
        !          32886: if ac_fn_c_try_compile "$LINENO"; then :
        !          32887: 
        !          32888:       curl_cv_header_ws2tcpip_h="yes"
        !          32889: 
        !          32890: else
        !          32891: 
        !          32892:       curl_cv_header_ws2tcpip_h="no"
        !          32893: 
        !          32894: fi
        !          32895: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          32896: 
        !          32897: fi
        !          32898: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ws2tcpip_h" >&5
        !          32899: $as_echo "$curl_cv_header_ws2tcpip_h" >&6; }
        !          32900:   case "$curl_cv_header_ws2tcpip_h" in
        !          32901:     yes)
        !          32902: 
        !          32903: cat >>confdefs.h <<_ACEOF
        !          32904: #define HAVE_WS2TCPIP_H 1
        !          32905: _ACEOF
        !          32906: 
        !          32907:       ;;
        !          32908:   esac
        !          32909: 
        !          32910: 
        !          32911: 
        !          32912: curl_includes_netdb="\
        !          32913: /* includes start */
        !          32914: #ifdef HAVE_SYS_TYPES_H
        !          32915: #  include <sys/types.h>
        !          32916: #endif
        !          32917: #ifdef HAVE_NETDB_H
        !          32918: #  include <netdb.h>
        !          32919: #endif
        !          32920: /* includes end */"
        !          32921:   for ac_header in sys/types.h netdb.h
        !          32922: do :
        !          32923:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          32924: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_netdb
        !          32925: "
        !          32926: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          32927:   cat >>confdefs.h <<_ACEOF
        !          32928: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          32929: _ACEOF
        !          32930: 
        !          32931: fi
        !          32932: 
        !          32933: done
        !          32934: 
        !          32935: 
        !          32936: 
        !          32937:         #
        !          32938:   tst_links_freeaddrinfo="unknown"
        !          32939:   tst_proto_freeaddrinfo="unknown"
        !          32940:   tst_compi_freeaddrinfo="unknown"
        !          32941:   tst_allow_freeaddrinfo="unknown"
        !          32942:   #
        !          32943:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo can be linked" >&5
        !          32944: $as_echo_n "checking if freeaddrinfo can be linked... " >&6; }
        !          32945:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          32946: /* end confdefs.h.  */
        !          32947: 
        !          32948: 
        !          32949:       $curl_includes_ws2tcpip
        !          32950:       $curl_includes_sys_socket
        !          32951:       $curl_includes_netdb
        !          32952: 
        !          32953: int main (void)
        !          32954: {
        !          32955: 
        !          32956:       freeaddrinfo(0);
        !          32957: 
        !          32958:  ;
        !          32959:  return 0;
        !          32960: }
        !          32961: 
        !          32962: _ACEOF
        !          32963: if ac_fn_c_try_link "$LINENO"; then :
        !          32964: 
        !          32965:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32966: $as_echo "yes" >&6; }
        !          32967:     tst_links_freeaddrinfo="yes"
        !          32968: 
        !          32969: else
        !          32970: 
        !          32971:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          32972: $as_echo "no" >&6; }
        !          32973:     tst_links_freeaddrinfo="no"
        !          32974: 
        !          32975: fi
        !          32976: rm -f core conftest.err conftest.$ac_objext \
        !          32977:     conftest$ac_exeext conftest.$ac_ext
        !          32978:   #
        !          32979:   if test "$tst_links_freeaddrinfo" = "yes"; then
        !          32980:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo is prototyped" >&5
        !          32981: $as_echo_n "checking if freeaddrinfo is prototyped... " >&6; }
        !          32982:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          32983: /* end confdefs.h.  */
        !          32984: 
        !          32985:       $curl_includes_ws2tcpip
        !          32986:       $curl_includes_sys_socket
        !          32987:       $curl_includes_netdb
        !          32988: 
        !          32989: _ACEOF
        !          32990: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          32991:   $EGREP "freeaddrinfo" >/dev/null 2>&1; then :
        !          32992: 
        !          32993:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          32994: $as_echo "yes" >&6; }
        !          32995:       tst_proto_freeaddrinfo="yes"
        !          32996: 
        !          32997: else
        !          32998: 
        !          32999:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33000: $as_echo "no" >&6; }
        !          33001:       tst_proto_freeaddrinfo="no"
        !          33002: 
        !          33003: fi
        !          33004: rm -f conftest*
        !          33005: 
        !          33006:   fi
        !          33007:   #
        !          33008:   if test "$tst_proto_freeaddrinfo" = "yes"; then
        !          33009:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo is compilable" >&5
        !          33010: $as_echo_n "checking if freeaddrinfo is compilable... " >&6; }
        !          33011:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          33012: /* end confdefs.h.  */
        !          33013: 
        !          33014: 
        !          33015:         $curl_includes_ws2tcpip
        !          33016:         $curl_includes_sys_socket
        !          33017:         $curl_includes_netdb
        !          33018: 
        !          33019: int main (void)
        !          33020: {
        !          33021: 
        !          33022:         freeaddrinfo(0);
        !          33023: 
        !          33024:  ;
        !          33025:  return 0;
        !          33026: }
        !          33027: 
        !          33028: _ACEOF
        !          33029: if ac_fn_c_try_compile "$LINENO"; then :
        !          33030: 
        !          33031:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33032: $as_echo "yes" >&6; }
        !          33033:       tst_compi_freeaddrinfo="yes"
        !          33034: 
        !          33035: else
        !          33036: 
        !          33037:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33038: $as_echo "no" >&6; }
        !          33039:       tst_compi_freeaddrinfo="no"
        !          33040: 
        !          33041: fi
        !          33042: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          33043:   fi
        !          33044:   #
        !          33045:   if test "$tst_compi_freeaddrinfo" = "yes"; then
        !          33046:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo usage allowed" >&5
        !          33047: $as_echo_n "checking if freeaddrinfo usage allowed... " >&6; }
        !          33048:     if test "x$curl_disallow_freeaddrinfo" != "xyes"; then
        !          33049:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33050: $as_echo "yes" >&6; }
        !          33051:       tst_allow_freeaddrinfo="yes"
        !          33052:     else
        !          33053:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33054: $as_echo "no" >&6; }
        !          33055:       tst_allow_freeaddrinfo="no"
        !          33056:     fi
        !          33057:   fi
        !          33058:   #
        !          33059:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo might be used" >&5
        !          33060: $as_echo_n "checking if freeaddrinfo might be used... " >&6; }
        !          33061:   if test "$tst_links_freeaddrinfo" = "yes" &&
        !          33062:      test "$tst_proto_freeaddrinfo" = "yes" &&
        !          33063:      test "$tst_compi_freeaddrinfo" = "yes" &&
        !          33064:      test "$tst_allow_freeaddrinfo" = "yes"; then
        !          33065:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33066: $as_echo "yes" >&6; }
        !          33067: 
        !          33068: cat >>confdefs.h <<_ACEOF
        !          33069: #define HAVE_FREEADDRINFO 1
        !          33070: _ACEOF
        !          33071: 
        !          33072:     curl_cv_func_freeaddrinfo="yes"
        !          33073:   else
        !          33074:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33075: $as_echo "no" >&6; }
        !          33076:     curl_cv_func_freeaddrinfo="no"
        !          33077:   fi
        !          33078: 
        !          33079: 
        !          33080: curl_includes_ifaddrs="\
        !          33081: /* includes start */
        !          33082: #ifdef HAVE_SYS_TYPES_H
        !          33083: #  include <sys/types.h>
        !          33084: #endif
        !          33085: #ifdef HAVE_SYS_SOCKET_H
        !          33086: #  include <sys/socket.h>
        !          33087: #endif
        !          33088: #ifdef HAVE_NETINET_IN_H
        !          33089: #  include <netinet/in.h>
        !          33090: #endif
        !          33091: #ifdef HAVE_IFADDRS_H
        !          33092: #  include <ifaddrs.h>
        !          33093: #endif
        !          33094: /* includes end */"
        !          33095:   for ac_header in sys/types.h sys/socket.h netinet/in.h ifaddrs.h
        !          33096: do :
        !          33097:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          33098: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_ifaddrs
        !          33099: "
        !          33100: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          33101:   cat >>confdefs.h <<_ACEOF
        !          33102: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          33103: _ACEOF
        !          33104: 
        !          33105: fi
        !          33106: 
        !          33107: done
        !          33108: 
        !          33109: 
        !          33110: 
        !          33111:     #
        !          33112:   tst_links_freeifaddrs="unknown"
        !          33113:   tst_proto_freeifaddrs="unknown"
        !          33114:   tst_compi_freeifaddrs="unknown"
        !          33115:   tst_allow_freeifaddrs="unknown"
        !          33116:   #
        !          33117:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeifaddrs can be linked" >&5
        !          33118: $as_echo_n "checking if freeifaddrs can be linked... " >&6; }
        !          33119:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          33120: /* end confdefs.h.  */
        !          33121: 
        !          33122: 
        !          33123: #define freeifaddrs innocuous_freeifaddrs
        !          33124: #ifdef __STDC__
        !          33125: # include <limits.h>
        !          33126: #else
        !          33127: # include <assert.h>
        !          33128: #endif
        !          33129: #undef freeifaddrs
        !          33130: #ifdef __cplusplus
        !          33131: extern "C"
        !          33132: #endif
        !          33133: char freeifaddrs ();
        !          33134: #if defined __stub_freeifaddrs || defined __stub___freeifaddrs
        !          33135: choke me
        !          33136: #endif
        !          33137: 
        !          33138: int main (void)
        !          33139: {
        !          33140: return freeifaddrs ();
        !          33141:  ;
        !          33142:  return 0;
        !          33143: }
        !          33144: 
        !          33145: _ACEOF
        !          33146: if ac_fn_c_try_link "$LINENO"; then :
        !          33147: 
        !          33148:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33149: $as_echo "yes" >&6; }
        !          33150:     tst_links_freeifaddrs="yes"
        !          33151: 
        !          33152: else
        !          33153: 
        !          33154:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33155: $as_echo "no" >&6; }
        !          33156:     tst_links_freeifaddrs="no"
        !          33157: 
        !          33158: fi
        !          33159: rm -f core conftest.err conftest.$ac_objext \
        !          33160:     conftest$ac_exeext conftest.$ac_ext
        !          33161:   #
        !          33162:   if test "$tst_links_freeifaddrs" = "yes"; then
        !          33163:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeifaddrs is prototyped" >&5
        !          33164: $as_echo_n "checking if freeifaddrs is prototyped... " >&6; }
        !          33165:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          33166: /* end confdefs.h.  */
        !          33167: 
        !          33168:       $curl_includes_ifaddrs
        !          33169: 
        !          33170: _ACEOF
        !          33171: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          33172:   $EGREP "freeifaddrs" >/dev/null 2>&1; then :
        !          33173: 
        !          33174:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33175: $as_echo "yes" >&6; }
        !          33176:       tst_proto_freeifaddrs="yes"
        !          33177: 
        !          33178: else
        !          33179: 
        !          33180:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33181: $as_echo "no" >&6; }
        !          33182:       tst_proto_freeifaddrs="no"
        !          33183: 
        !          33184: fi
        !          33185: rm -f conftest*
        !          33186: 
        !          33187:   fi
        !          33188:   #
        !          33189:   if test "$tst_proto_freeifaddrs" = "yes"; then
        !          33190:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeifaddrs is compilable" >&5
        !          33191: $as_echo_n "checking if freeifaddrs is compilable... " >&6; }
        !          33192:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          33193: /* end confdefs.h.  */
        !          33194: 
        !          33195: 
        !          33196:         $curl_includes_ifaddrs
        !          33197: 
        !          33198: int main (void)
        !          33199: {
        !          33200: 
        !          33201:         freeifaddrs(0);
        !          33202: 
        !          33203:  ;
        !          33204:  return 0;
        !          33205: }
        !          33206: 
        !          33207: _ACEOF
        !          33208: if ac_fn_c_try_compile "$LINENO"; then :
        !          33209: 
        !          33210:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33211: $as_echo "yes" >&6; }
        !          33212:       tst_compi_freeifaddrs="yes"
        !          33213: 
        !          33214: else
        !          33215: 
        !          33216:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33217: $as_echo "no" >&6; }
        !          33218:       tst_compi_freeifaddrs="no"
        !          33219: 
        !          33220: fi
        !          33221: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          33222:   fi
        !          33223:   #
        !          33224:   if test "$tst_compi_freeifaddrs" = "yes"; then
        !          33225:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeifaddrs usage allowed" >&5
        !          33226: $as_echo_n "checking if freeifaddrs usage allowed... " >&6; }
        !          33227:     if test "x$curl_disallow_freeifaddrs" != "xyes"; then
        !          33228:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33229: $as_echo "yes" >&6; }
        !          33230:       tst_allow_freeifaddrs="yes"
        !          33231:     else
        !          33232:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33233: $as_echo "no" >&6; }
        !          33234:       tst_allow_freeifaddrs="no"
        !          33235:     fi
        !          33236:   fi
        !          33237:   #
        !          33238:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeifaddrs might be used" >&5
        !          33239: $as_echo_n "checking if freeifaddrs might be used... " >&6; }
        !          33240:   if test "$tst_links_freeifaddrs" = "yes" &&
        !          33241:      test "$tst_proto_freeifaddrs" = "yes" &&
        !          33242:      test "$tst_compi_freeifaddrs" = "yes" &&
        !          33243:      test "$tst_allow_freeifaddrs" = "yes"; then
        !          33244:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33245: $as_echo "yes" >&6; }
        !          33246: 
        !          33247: cat >>confdefs.h <<_ACEOF
        !          33248: #define HAVE_FREEIFADDRS 1
        !          33249: _ACEOF
        !          33250: 
        !          33251:     curl_cv_func_freeifaddrs="yes"
        !          33252:   else
        !          33253:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33254: $as_echo "no" >&6; }
        !          33255:     curl_cv_func_freeifaddrs="no"
        !          33256:   fi
        !          33257: 
        !          33258: 
        !          33259: curl_includes_sys_xattr="\
        !          33260: /* includes start */
        !          33261: #ifdef HAVE_SYS_TYPES_H
        !          33262: #  include <sys/types.h>
        !          33263: #endif
        !          33264: #ifdef HAVE_SYS_XATTR_H
        !          33265: #  include <sys/xattr.h>
        !          33266: #endif
        !          33267: /* includes end */"
        !          33268:   for ac_header in sys/types.h sys/xattr.h
        !          33269: do :
        !          33270:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          33271: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_sys_xattr
        !          33272: "
        !          33273: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          33274:   cat >>confdefs.h <<_ACEOF
        !          33275: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          33276: _ACEOF
        !          33277: 
        !          33278: fi
        !          33279: 
        !          33280: done
        !          33281: 
        !          33282: 
        !          33283: 
        !          33284:     #
        !          33285:   tst_links_fsetxattr="unknown"
        !          33286:   tst_proto_fsetxattr="unknown"
        !          33287:   tst_compi_fsetxattr="unknown"
        !          33288:   tst_allow_fsetxattr="unknown"
        !          33289:   tst_nargs_fsetxattr="unknown"
        !          33290:   #
        !          33291:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fsetxattr can be linked" >&5
        !          33292: $as_echo_n "checking if fsetxattr can be linked... " >&6; }
        !          33293:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          33294: /* end confdefs.h.  */
        !          33295: 
        !          33296: 
        !          33297: #define fsetxattr innocuous_fsetxattr
        !          33298: #ifdef __STDC__
        !          33299: # include <limits.h>
        !          33300: #else
        !          33301: # include <assert.h>
        !          33302: #endif
        !          33303: #undef fsetxattr
        !          33304: #ifdef __cplusplus
        !          33305: extern "C"
        !          33306: #endif
        !          33307: char fsetxattr ();
        !          33308: #if defined __stub_fsetxattr || defined __stub___fsetxattr
        !          33309: choke me
        !          33310: #endif
        !          33311: 
        !          33312: int main (void)
        !          33313: {
        !          33314: return fsetxattr ();
        !          33315:  ;
        !          33316:  return 0;
        !          33317: }
        !          33318: 
        !          33319: _ACEOF
        !          33320: if ac_fn_c_try_link "$LINENO"; then :
        !          33321: 
        !          33322:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33323: $as_echo "yes" >&6; }
        !          33324:     tst_links_fsetxattr="yes"
        !          33325: 
        !          33326: else
        !          33327: 
        !          33328:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33329: $as_echo "no" >&6; }
        !          33330:     tst_links_fsetxattr="no"
        !          33331: 
        !          33332: fi
        !          33333: rm -f core conftest.err conftest.$ac_objext \
        !          33334:     conftest$ac_exeext conftest.$ac_ext
        !          33335:   #
        !          33336:   if test "$tst_links_fsetxattr" = "yes"; then
        !          33337:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fsetxattr is prototyped" >&5
        !          33338: $as_echo_n "checking if fsetxattr is prototyped... " >&6; }
        !          33339:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          33340: /* end confdefs.h.  */
        !          33341: 
        !          33342:       $curl_includes_sys_xattr
        !          33343: 
        !          33344: _ACEOF
        !          33345: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          33346:   $EGREP "fsetxattr" >/dev/null 2>&1; then :
        !          33347: 
        !          33348:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33349: $as_echo "yes" >&6; }
        !          33350:       tst_proto_fsetxattr="yes"
        !          33351: 
        !          33352: else
        !          33353: 
        !          33354:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33355: $as_echo "no" >&6; }
        !          33356:       tst_proto_fsetxattr="no"
        !          33357: 
        !          33358: fi
        !          33359: rm -f conftest*
        !          33360: 
        !          33361:   fi
        !          33362:   #
        !          33363:   if test "$tst_proto_fsetxattr" = "yes"; then
        !          33364:     if test "$tst_nargs_fsetxattr" = "unknown"; then
        !          33365:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fsetxattr takes 5 args." >&5
        !          33366: $as_echo_n "checking if fsetxattr takes 5 args.... " >&6; }
        !          33367:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          33368: /* end confdefs.h.  */
        !          33369: 
        !          33370: 
        !          33371:           $curl_includes_sys_xattr
        !          33372: 
        !          33373: int main (void)
        !          33374: {
        !          33375: 
        !          33376:           if(0 != fsetxattr(0, 0, 0, 0, 0))
        !          33377:             return 1;
        !          33378: 
        !          33379:  ;
        !          33380:  return 0;
        !          33381: }
        !          33382: 
        !          33383: _ACEOF
        !          33384: if ac_fn_c_try_compile "$LINENO"; then :
        !          33385: 
        !          33386:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33387: $as_echo "yes" >&6; }
        !          33388:         tst_compi_fsetxattr="yes"
        !          33389:         tst_nargs_fsetxattr="5"
        !          33390: 
        !          33391: else
        !          33392: 
        !          33393:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33394: $as_echo "no" >&6; }
        !          33395:         tst_compi_fsetxattr="no"
        !          33396: 
        !          33397: fi
        !          33398: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          33399:     fi
        !          33400:     if test "$tst_nargs_fsetxattr" = "unknown"; then
        !          33401:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fsetxattr takes 6 args." >&5
        !          33402: $as_echo_n "checking if fsetxattr takes 6 args.... " >&6; }
        !          33403:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          33404: /* end confdefs.h.  */
        !          33405: 
        !          33406: 
        !          33407:           $curl_includes_sys_xattr
        !          33408: 
        !          33409: int main (void)
        !          33410: {
        !          33411: 
        !          33412:           if(0 != fsetxattr(0, 0, 0, 0, 0, 0))
        !          33413:             return 1;
        !          33414: 
        !          33415:  ;
        !          33416:  return 0;
        !          33417: }
        !          33418: 
        !          33419: _ACEOF
        !          33420: if ac_fn_c_try_compile "$LINENO"; then :
        !          33421: 
        !          33422:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33423: $as_echo "yes" >&6; }
        !          33424:         tst_compi_fsetxattr="yes"
        !          33425:         tst_nargs_fsetxattr="6"
        !          33426: 
        !          33427: else
        !          33428: 
        !          33429:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33430: $as_echo "no" >&6; }
        !          33431:         tst_compi_fsetxattr="no"
        !          33432: 
        !          33433: fi
        !          33434: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          33435:     fi
        !          33436:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fsetxattr is compilable" >&5
        !          33437: $as_echo_n "checking if fsetxattr is compilable... " >&6; }
        !          33438:     if test "$tst_compi_fsetxattr" = "yes"; then
        !          33439:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33440: $as_echo "yes" >&6; }
        !          33441:     else
        !          33442:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33443: $as_echo "no" >&6; }
        !          33444:     fi
        !          33445:   fi
        !          33446:   #
        !          33447:   if test "$tst_compi_fsetxattr" = "yes"; then
        !          33448:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fsetxattr usage allowed" >&5
        !          33449: $as_echo_n "checking if fsetxattr usage allowed... " >&6; }
        !          33450:     if test "x$curl_disallow_fsetxattr" != "xyes"; then
        !          33451:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33452: $as_echo "yes" >&6; }
        !          33453:       tst_allow_fsetxattr="yes"
        !          33454:     else
        !          33455:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33456: $as_echo "no" >&6; }
        !          33457:       tst_allow_fsetxattr="no"
        !          33458:     fi
        !          33459:   fi
        !          33460:   #
        !          33461:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fsetxattr might be used" >&5
        !          33462: $as_echo_n "checking if fsetxattr might be used... " >&6; }
        !          33463:   if test "$tst_links_fsetxattr" = "yes" &&
        !          33464:      test "$tst_proto_fsetxattr" = "yes" &&
        !          33465:      test "$tst_compi_fsetxattr" = "yes" &&
        !          33466:      test "$tst_allow_fsetxattr" = "yes"; then
        !          33467:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33468: $as_echo "yes" >&6; }
        !          33469: 
        !          33470: cat >>confdefs.h <<_ACEOF
        !          33471: #define HAVE_FSETXATTR 1
        !          33472: _ACEOF
        !          33473: 
        !          33474:             #
        !          33475:     if test "$tst_nargs_fsetxattr" -eq "5"; then
        !          33476: 
        !          33477: $as_echo "#define HAVE_FSETXATTR_5 1" >>confdefs.h
        !          33478: 
        !          33479:     elif test "$tst_nargs_fsetxattr" -eq "6"; then
        !          33480: 
        !          33481: $as_echo "#define HAVE_FSETXATTR_6 1" >>confdefs.h
        !          33482: 
        !          33483:     fi
        !          33484:     #
        !          33485:     curl_cv_func_fsetxattr="yes"
        !          33486:   else
        !          33487:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33488: $as_echo "no" >&6; }
        !          33489:     curl_cv_func_fsetxattr="no"
        !          33490:   fi
        !          33491: 
        !          33492: 
        !          33493:     #
        !          33494:   tst_links_ftruncate="unknown"
        !          33495:   tst_proto_ftruncate="unknown"
        !          33496:   tst_compi_ftruncate="unknown"
        !          33497:   tst_allow_ftruncate="unknown"
        !          33498:   #
        !          33499:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ftruncate can be linked" >&5
        !          33500: $as_echo_n "checking if ftruncate can be linked... " >&6; }
        !          33501:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          33502: /* end confdefs.h.  */
        !          33503: 
        !          33504: 
        !          33505: #define ftruncate innocuous_ftruncate
        !          33506: #ifdef __STDC__
        !          33507: # include <limits.h>
        !          33508: #else
        !          33509: # include <assert.h>
        !          33510: #endif
        !          33511: #undef ftruncate
        !          33512: #ifdef __cplusplus
        !          33513: extern "C"
        !          33514: #endif
        !          33515: char ftruncate ();
        !          33516: #if defined __stub_ftruncate || defined __stub___ftruncate
        !          33517: choke me
        !          33518: #endif
        !          33519: 
        !          33520: int main (void)
        !          33521: {
        !          33522: return ftruncate ();
        !          33523:  ;
        !          33524:  return 0;
        !          33525: }
        !          33526: 
        !          33527: _ACEOF
        !          33528: if ac_fn_c_try_link "$LINENO"; then :
        !          33529: 
        !          33530:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33531: $as_echo "yes" >&6; }
        !          33532:     tst_links_ftruncate="yes"
        !          33533: 
        !          33534: else
        !          33535: 
        !          33536:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33537: $as_echo "no" >&6; }
        !          33538:     tst_links_ftruncate="no"
        !          33539: 
        !          33540: fi
        !          33541: rm -f core conftest.err conftest.$ac_objext \
        !          33542:     conftest$ac_exeext conftest.$ac_ext
        !          33543:   #
        !          33544:   if test "$tst_links_ftruncate" = "yes"; then
        !          33545:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ftruncate is prototyped" >&5
        !          33546: $as_echo_n "checking if ftruncate is prototyped... " >&6; }
        !          33547:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          33548: /* end confdefs.h.  */
        !          33549: 
        !          33550:       $curl_includes_unistd
        !          33551: 
        !          33552: _ACEOF
        !          33553: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          33554:   $EGREP "ftruncate" >/dev/null 2>&1; then :
        !          33555: 
        !          33556:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33557: $as_echo "yes" >&6; }
        !          33558:       tst_proto_ftruncate="yes"
        !          33559: 
        !          33560: else
        !          33561: 
        !          33562:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33563: $as_echo "no" >&6; }
        !          33564:       tst_proto_ftruncate="no"
        !          33565: 
        !          33566: fi
        !          33567: rm -f conftest*
        !          33568: 
        !          33569:   fi
        !          33570:   #
        !          33571:   if test "$tst_proto_ftruncate" = "yes"; then
        !          33572:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ftruncate is compilable" >&5
        !          33573: $as_echo_n "checking if ftruncate is compilable... " >&6; }
        !          33574:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          33575: /* end confdefs.h.  */
        !          33576: 
        !          33577: 
        !          33578:         $curl_includes_unistd
        !          33579: 
        !          33580: int main (void)
        !          33581: {
        !          33582: 
        !          33583:         if(0 != ftruncate(0, 0))
        !          33584:           return 1;
        !          33585: 
        !          33586:  ;
        !          33587:  return 0;
        !          33588: }
        !          33589: 
        !          33590: _ACEOF
        !          33591: if ac_fn_c_try_compile "$LINENO"; then :
        !          33592: 
        !          33593:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33594: $as_echo "yes" >&6; }
        !          33595:       tst_compi_ftruncate="yes"
        !          33596: 
        !          33597: else
        !          33598: 
        !          33599:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33600: $as_echo "no" >&6; }
        !          33601:       tst_compi_ftruncate="no"
        !          33602: 
        !          33603: fi
        !          33604: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          33605:   fi
        !          33606:   #
        !          33607:   if test "$tst_compi_ftruncate" = "yes"; then
        !          33608:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ftruncate usage allowed" >&5
        !          33609: $as_echo_n "checking if ftruncate usage allowed... " >&6; }
        !          33610:     if test "x$curl_disallow_ftruncate" != "xyes"; then
        !          33611:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33612: $as_echo "yes" >&6; }
        !          33613:       tst_allow_ftruncate="yes"
        !          33614:     else
        !          33615:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33616: $as_echo "no" >&6; }
        !          33617:       tst_allow_ftruncate="no"
        !          33618:     fi
        !          33619:   fi
        !          33620:   #
        !          33621:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ftruncate might be used" >&5
        !          33622: $as_echo_n "checking if ftruncate might be used... " >&6; }
        !          33623:   if test "$tst_links_ftruncate" = "yes" &&
        !          33624:      test "$tst_proto_ftruncate" = "yes" &&
        !          33625:      test "$tst_compi_ftruncate" = "yes" &&
        !          33626:      test "$tst_allow_ftruncate" = "yes"; then
        !          33627:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33628: $as_echo "yes" >&6; }
        !          33629: 
        !          33630: cat >>confdefs.h <<_ACEOF
        !          33631: #define HAVE_FTRUNCATE 1
        !          33632: _ACEOF
        !          33633: 
        !          33634:     curl_cv_func_ftruncate="yes"
        !          33635:   else
        !          33636:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33637: $as_echo "no" >&6; }
        !          33638:     curl_cv_func_ftruncate="no"
        !          33639:   fi
        !          33640: 
        !          33641: 
        !          33642: curl_includes_stdlib="\
        !          33643: /* includes start */
        !          33644: #ifdef HAVE_SYS_TYPES_H
        !          33645: #  include <sys/types.h>
        !          33646: #endif
        !          33647: #ifdef HAVE_STDLIB_H
        !          33648: #  include <stdlib.h>
        !          33649: #endif
        !          33650: /* includes end */"
        !          33651:   for ac_header in sys/types.h stdlib.h
        !          33652: do :
        !          33653:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          33654: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_stdlib
        !          33655: "
        !          33656: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          33657:   cat >>confdefs.h <<_ACEOF
        !          33658: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          33659: _ACEOF
        !          33660: 
        !          33661: fi
        !          33662: 
        !          33663: done
        !          33664: 
        !          33665: 
        !          33666: 
        !          33667:               #
        !          33668:   tst_links_getaddrinfo="unknown"
        !          33669:   tst_proto_getaddrinfo="unknown"
        !          33670:   tst_compi_getaddrinfo="unknown"
        !          33671:   tst_works_getaddrinfo="unknown"
        !          33672:   tst_allow_getaddrinfo="unknown"
        !          33673:   tst_tsafe_getaddrinfo="unknown"
        !          33674:   #
        !          33675:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo can be linked" >&5
        !          33676: $as_echo_n "checking if getaddrinfo can be linked... " >&6; }
        !          33677:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          33678: /* end confdefs.h.  */
        !          33679: 
        !          33680: 
        !          33681:       $curl_includes_ws2tcpip
        !          33682:       $curl_includes_sys_socket
        !          33683:       $curl_includes_netdb
        !          33684: 
        !          33685: int main (void)
        !          33686: {
        !          33687: 
        !          33688:       if(0 != getaddrinfo(0, 0, 0, 0))
        !          33689:         return 1;
        !          33690: 
        !          33691:  ;
        !          33692:  return 0;
        !          33693: }
        !          33694: 
        !          33695: _ACEOF
        !          33696: if ac_fn_c_try_link "$LINENO"; then :
        !          33697: 
        !          33698:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33699: $as_echo "yes" >&6; }
        !          33700:     tst_links_getaddrinfo="yes"
        !          33701: 
        !          33702: else
        !          33703: 
        !          33704:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33705: $as_echo "no" >&6; }
        !          33706:     tst_links_getaddrinfo="no"
        !          33707: 
        !          33708: fi
        !          33709: rm -f core conftest.err conftest.$ac_objext \
        !          33710:     conftest$ac_exeext conftest.$ac_ext
        !          33711:   #
        !          33712:   if test "$tst_links_getaddrinfo" = "yes"; then
        !          33713:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo is prototyped" >&5
        !          33714: $as_echo_n "checking if getaddrinfo is prototyped... " >&6; }
        !          33715:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          33716: /* end confdefs.h.  */
        !          33717: 
        !          33718:       $curl_includes_ws2tcpip
        !          33719:       $curl_includes_sys_socket
        !          33720:       $curl_includes_netdb
        !          33721: 
        !          33722: _ACEOF
        !          33723: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          33724:   $EGREP "getaddrinfo" >/dev/null 2>&1; then :
        !          33725: 
        !          33726:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33727: $as_echo "yes" >&6; }
        !          33728:       tst_proto_getaddrinfo="yes"
        !          33729: 
        !          33730: else
        !          33731: 
        !          33732:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33733: $as_echo "no" >&6; }
        !          33734:       tst_proto_getaddrinfo="no"
        !          33735: 
        !          33736: fi
        !          33737: rm -f conftest*
        !          33738: 
        !          33739:   fi
        !          33740:   #
        !          33741:   if test "$tst_proto_getaddrinfo" = "yes"; then
        !          33742:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo is compilable" >&5
        !          33743: $as_echo_n "checking if getaddrinfo is compilable... " >&6; }
        !          33744:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          33745: /* end confdefs.h.  */
        !          33746: 
        !          33747: 
        !          33748:         $curl_includes_ws2tcpip
        !          33749:         $curl_includes_sys_socket
        !          33750:         $curl_includes_netdb
        !          33751: 
        !          33752: int main (void)
        !          33753: {
        !          33754: 
        !          33755:         if(0 != getaddrinfo(0, 0, 0, 0))
        !          33756:           return 1;
        !          33757: 
        !          33758:  ;
        !          33759:  return 0;
        !          33760: }
        !          33761: 
        !          33762: _ACEOF
        !          33763: if ac_fn_c_try_compile "$LINENO"; then :
        !          33764: 
        !          33765:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33766: $as_echo "yes" >&6; }
        !          33767:       tst_compi_getaddrinfo="yes"
        !          33768: 
        !          33769: else
        !          33770: 
        !          33771:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33772: $as_echo "no" >&6; }
        !          33773:       tst_compi_getaddrinfo="no"
        !          33774: 
        !          33775: fi
        !          33776: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          33777:   fi
        !          33778:   #
        !          33779:     if test "x$cross_compiling" != "xyes" &&
        !          33780:     test "$tst_compi_getaddrinfo" = "yes"; then
        !          33781:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo seems to work" >&5
        !          33782: $as_echo_n "checking if getaddrinfo seems to work... " >&6; }
        !          33783: 
        !          33784:    old=$LD_LIBRARY_PATH
        !          33785:    LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
        !          33786:    export LD_LIBRARY_PATH
        !          33787:    if test "$cross_compiling" = yes; then :
        !          33788:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          33789: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          33790: as_fn_error $? "cannot run test program while cross compiling
        !          33791: See \`config.log' for more details" "$LINENO" 5; }
        !          33792: else
        !          33793:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          33794: /* end confdefs.h.  */
        !          33795: 
        !          33796: 
        !          33797:         $curl_includes_ws2tcpip
        !          33798:         $curl_includes_stdlib
        !          33799:         $curl_includes_string
        !          33800:         $curl_includes_sys_socket
        !          33801:         $curl_includes_netdb
        !          33802: 
        !          33803: int main (void)
        !          33804: {
        !          33805: 
        !          33806:         struct addrinfo hints;
        !          33807:         struct addrinfo *ai = 0;
        !          33808:         int error;
        !          33809: 
        !          33810:         #ifdef HAVE_WINSOCK2_H
        !          33811:         WSADATA wsa;
        !          33812:         if (WSAStartup(MAKEWORD(2,2), &wsa))
        !          33813:                 exit(2);
        !          33814:         #endif
        !          33815: 
        !          33816:         memset(&hints, 0, sizeof(hints));
        !          33817:         hints.ai_flags = AI_NUMERICHOST;
        !          33818:         hints.ai_family = AF_UNSPEC;
        !          33819:         hints.ai_socktype = SOCK_STREAM;
        !          33820:         error = getaddrinfo("127.0.0.1", 0, &hints, &ai);
        !          33821:         if(error || !ai)
        !          33822:           exit(1); /* fail */
        !          33823:         else
        !          33824:           exit(0);
        !          33825: 
        !          33826:  ;
        !          33827:  return 0;
        !          33828: }
        !          33829: 
        !          33830: _ACEOF
        !          33831: if ac_fn_c_try_run "$LINENO"; then :
        !          33832:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33833: $as_echo "yes" >&6; }
        !          33834:       tst_works_getaddrinfo="yes"
        !          33835: 
        !          33836: else
        !          33837:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33838: $as_echo "no" >&6; }
        !          33839:       tst_works_getaddrinfo="no"
        !          33840: 
        !          33841: fi
        !          33842: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          33843:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          33844: fi
        !          33845: 
        !          33846:    LD_LIBRARY_PATH=$old # restore
        !          33847: 
        !          33848:   fi
        !          33849:   #
        !          33850:   if test "$tst_compi_getaddrinfo" = "yes" &&
        !          33851:     test "$tst_works_getaddrinfo" != "no"; then
        !          33852:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo usage allowed" >&5
        !          33853: $as_echo_n "checking if getaddrinfo usage allowed... " >&6; }
        !          33854:     if test "x$curl_disallow_getaddrinfo" != "xyes"; then
        !          33855:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33856: $as_echo "yes" >&6; }
        !          33857:       tst_allow_getaddrinfo="yes"
        !          33858:     else
        !          33859:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33860: $as_echo "no" >&6; }
        !          33861:       tst_allow_getaddrinfo="no"
        !          33862:     fi
        !          33863:   fi
        !          33864:   #
        !          33865:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo might be used" >&5
        !          33866: $as_echo_n "checking if getaddrinfo might be used... " >&6; }
        !          33867:   if test "$tst_links_getaddrinfo" = "yes" &&
        !          33868:      test "$tst_proto_getaddrinfo" = "yes" &&
        !          33869:      test "$tst_compi_getaddrinfo" = "yes" &&
        !          33870:      test "$tst_allow_getaddrinfo" = "yes" &&
        !          33871:      test "$tst_works_getaddrinfo" != "no"; then
        !          33872:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          33873: $as_echo "yes" >&6; }
        !          33874: 
        !          33875: cat >>confdefs.h <<_ACEOF
        !          33876: #define HAVE_GETADDRINFO 1
        !          33877: _ACEOF
        !          33878: 
        !          33879:     curl_cv_func_getaddrinfo="yes"
        !          33880:   else
        !          33881:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          33882: $as_echo "no" >&6; }
        !          33883:     curl_cv_func_getaddrinfo="no"
        !          33884:     curl_cv_func_getaddrinfo_threadsafe="no"
        !          33885:   fi
        !          33886:   #
        !          33887:   if test "$curl_cv_func_getaddrinfo" = "yes"; then
        !          33888:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo is threadsafe" >&5
        !          33889: $as_echo_n "checking if getaddrinfo is threadsafe... " >&6; }
        !          33890:     case $host_os in
        !          33891:       aix[1234].* | aix5.[01].*)
        !          33892:                 tst_tsafe_getaddrinfo="no"
        !          33893:         ;;
        !          33894:       aix*)
        !          33895:                 tst_tsafe_getaddrinfo="yes"
        !          33896:         ;;
        !          33897:       darwin[12345].*)
        !          33898:                 tst_tsafe_getaddrinfo="no"
        !          33899:         ;;
        !          33900:       darwin*)
        !          33901:                 tst_tsafe_getaddrinfo="yes"
        !          33902:         ;;
        !          33903:       freebsd[1234].* | freebsd5.[1234]*)
        !          33904:                 tst_tsafe_getaddrinfo="no"
        !          33905:         ;;
        !          33906:       freebsd*)
        !          33907:                 tst_tsafe_getaddrinfo="yes"
        !          33908:         ;;
        !          33909:       hpux[123456789].* | hpux10.* | hpux11.0* | hpux11.10*)
        !          33910:                 tst_tsafe_getaddrinfo="no"
        !          33911:         ;;
        !          33912:       hpux*)
        !          33913:                 tst_tsafe_getaddrinfo="yes"
        !          33914:         ;;
        !          33915:       netbsd[123].*)
        !          33916:                 tst_tsafe_getaddrinfo="no"
        !          33917:         ;;
        !          33918:       netbsd*)
        !          33919:                 tst_tsafe_getaddrinfo="yes"
        !          33920:         ;;
        !          33921:       *bsd*)
        !          33922:                 tst_tsafe_getaddrinfo="no"
        !          33923:         ;;
        !          33924:       solaris2*)
        !          33925:                 tst_tsafe_getaddrinfo="yes"
        !          33926:         ;;
        !          33927:     esac
        !          33928:     if test "$tst_tsafe_getaddrinfo" = "unknown" &&
        !          33929:        test "$curl_cv_native_windows" = "yes"; then
        !          33930:       tst_tsafe_getaddrinfo="yes"
        !          33931:     fi
        !          33932:     if test "$tst_tsafe_getaddrinfo" = "unknown"; then
        !          33933: 
        !          33934: 
        !          33935:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          33936: /* end confdefs.h.  */
        !          33937: 
        !          33938: 
        !          33939:         $curl_includes_sys_socket
        !          33940:         $curl_includes_netdb
        !          33941: 
        !          33942: int main (void)
        !          33943: {
        !          33944: #ifdef h_errno
        !          33945:   return 0;
        !          33946: #else
        !          33947:   force compilation error
        !          33948: #endif
        !          33949: }
        !          33950: 
        !          33951: 
        !          33952: _ACEOF
        !          33953: if ac_fn_c_try_compile "$LINENO"; then :
        !          33954: 
        !          33955:     tst_symbol_defined="yes"
        !          33956: 
        !          33957: else
        !          33958: 
        !          33959:     tst_symbol_defined="no"
        !          33960: 
        !          33961: fi
        !          33962: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          33963:   if test "$tst_symbol_defined" = "yes"; then
        !          33964:     curl_cv_have_def_h_errno=yes
        !          33965: 
        !          33966:   else
        !          33967:     curl_cv_have_def_h_errno=no
        !          33968: 
        !          33969:   fi
        !          33970: 
        !          33971:       if test "$curl_cv_have_def_h_errno" = "yes"; then
        !          33972:         tst_h_errno_macro="yes"
        !          33973:       else
        !          33974:         tst_h_errno_macro="no"
        !          33975:       fi
        !          33976:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          33977: /* end confdefs.h.  */
        !          33978: 
        !          33979: 
        !          33980:           $curl_includes_sys_socket
        !          33981:           $curl_includes_netdb
        !          33982: 
        !          33983: int main (void)
        !          33984: {
        !          33985: 
        !          33986:           h_errno = 2;
        !          33987:           if(0 != h_errno)
        !          33988:             return 1;
        !          33989: 
        !          33990:  ;
        !          33991:  return 0;
        !          33992: }
        !          33993: 
        !          33994: _ACEOF
        !          33995: if ac_fn_c_try_compile "$LINENO"; then :
        !          33996: 
        !          33997:         tst_h_errno_modifiable_lvalue="yes"
        !          33998: 
        !          33999: else
        !          34000: 
        !          34001:         tst_h_errno_modifiable_lvalue="no"
        !          34002: 
        !          34003: fi
        !          34004: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          34005:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          34006: /* end confdefs.h.  */
        !          34007: 
        !          34008: 
        !          34009: 
        !          34010: int main (void)
        !          34011: {
        !          34012: 
        !          34013: #if defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 200809L)
        !          34014:           return 0;
        !          34015: #elif defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 700)
        !          34016:           return 0;
        !          34017: #else
        !          34018:           force compilation error
        !          34019: #endif
        !          34020: 
        !          34021:  ;
        !          34022:  return 0;
        !          34023: }
        !          34024: 
        !          34025: _ACEOF
        !          34026: if ac_fn_c_try_compile "$LINENO"; then :
        !          34027: 
        !          34028:         tst_h_errno_sbs_issue_7="yes"
        !          34029: 
        !          34030: else
        !          34031: 
        !          34032:         tst_h_errno_sbs_issue_7="no"
        !          34033: 
        !          34034: fi
        !          34035: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          34036:       if test "$tst_h_errno_macro" = "no" &&
        !          34037:          test "$tst_h_errno_modifiable_lvalue" = "no" &&
        !          34038:          test "$tst_h_errno_sbs_issue_7" = "no"; then
        !          34039:         tst_tsafe_getaddrinfo="no"
        !          34040:       else
        !          34041:         tst_tsafe_getaddrinfo="yes"
        !          34042:       fi
        !          34043:     fi
        !          34044:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_tsafe_getaddrinfo" >&5
        !          34045: $as_echo "$tst_tsafe_getaddrinfo" >&6; }
        !          34046:     if test "$tst_tsafe_getaddrinfo" = "yes"; then
        !          34047: 
        !          34048: cat >>confdefs.h <<_ACEOF
        !          34049: #define HAVE_GETADDRINFO_THREADSAFE 1
        !          34050: _ACEOF
        !          34051: 
        !          34052:       curl_cv_func_getaddrinfo_threadsafe="yes"
        !          34053:     else
        !          34054:       curl_cv_func_getaddrinfo_threadsafe="no"
        !          34055:     fi
        !          34056:   fi
        !          34057: 
        !          34058: 
        !          34059:       #
        !          34060:   tst_links_gai_strerror="unknown"
        !          34061:   tst_proto_gai_strerror="unknown"
        !          34062:   tst_compi_gai_strerror="unknown"
        !          34063:   tst_allow_gai_strerror="unknown"
        !          34064:   #
        !          34065:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gai_strerror can be linked" >&5
        !          34066: $as_echo_n "checking if gai_strerror can be linked... " >&6; }
        !          34067:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          34068: /* end confdefs.h.  */
        !          34069: 
        !          34070: 
        !          34071:       $curl_includes_winsock2
        !          34072:       $curl_includes_bsdsocket
        !          34073:       $curl_includes_netdb
        !          34074: 
        !          34075: int main (void)
        !          34076: {
        !          34077: 
        !          34078:       if(0 != gai_strerror(0))
        !          34079:         return 1;
        !          34080: 
        !          34081:  ;
        !          34082:  return 0;
        !          34083: }
        !          34084: 
        !          34085: _ACEOF
        !          34086: if ac_fn_c_try_link "$LINENO"; then :
        !          34087: 
        !          34088:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34089: $as_echo "yes" >&6; }
        !          34090:     tst_links_gai_strerror="yes"
        !          34091: 
        !          34092: else
        !          34093: 
        !          34094:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34095: $as_echo "no" >&6; }
        !          34096:     tst_links_gai_strerror="no"
        !          34097: 
        !          34098: fi
        !          34099: rm -f core conftest.err conftest.$ac_objext \
        !          34100:     conftest$ac_exeext conftest.$ac_ext
        !          34101:   #
        !          34102:   if test "$tst_links_gai_strerror" = "yes"; then
        !          34103:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gai_strerror is prototyped" >&5
        !          34104: $as_echo_n "checking if gai_strerror is prototyped... " >&6; }
        !          34105:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          34106: /* end confdefs.h.  */
        !          34107: 
        !          34108:       $curl_includes_winsock2
        !          34109:       $curl_includes_bsdsocket
        !          34110:       $curl_includes_netdb
        !          34111: 
        !          34112: _ACEOF
        !          34113: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          34114:   $EGREP "gai_strerror" >/dev/null 2>&1; then :
        !          34115: 
        !          34116:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34117: $as_echo "yes" >&6; }
        !          34118:       tst_proto_gai_strerror="yes"
        !          34119: 
        !          34120: else
        !          34121: 
        !          34122:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34123: $as_echo "no" >&6; }
        !          34124:       tst_proto_gai_strerror="no"
        !          34125: 
        !          34126: fi
        !          34127: rm -f conftest*
        !          34128: 
        !          34129:   fi
        !          34130:   #
        !          34131:   if test "$tst_proto_gai_strerror" = "yes"; then
        !          34132:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gai_strerror is compilable" >&5
        !          34133: $as_echo_n "checking if gai_strerror is compilable... " >&6; }
        !          34134:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          34135: /* end confdefs.h.  */
        !          34136: 
        !          34137: 
        !          34138:         $curl_includes_winsock2
        !          34139:       $curl_includes_bsdsocket
        !          34140:         $curl_includes_netdb
        !          34141: 
        !          34142: int main (void)
        !          34143: {
        !          34144: 
        !          34145:         if(0 != gai_strerror(0))
        !          34146:           return 1;
        !          34147: 
        !          34148:  ;
        !          34149:  return 0;
        !          34150: }
        !          34151: 
        !          34152: _ACEOF
        !          34153: if ac_fn_c_try_compile "$LINENO"; then :
        !          34154: 
        !          34155:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34156: $as_echo "yes" >&6; }
        !          34157:       tst_compi_gai_strerror="yes"
        !          34158: 
        !          34159: else
        !          34160: 
        !          34161:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34162: $as_echo "no" >&6; }
        !          34163:       tst_compi_gai_strerror="no"
        !          34164: 
        !          34165: fi
        !          34166: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          34167:   fi
        !          34168:   #
        !          34169:   if test "$tst_compi_gai_strerror" = "yes"; then
        !          34170:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gai_strerror usage allowed" >&5
        !          34171: $as_echo_n "checking if gai_strerror usage allowed... " >&6; }
        !          34172:     if test "x$curl_disallow_gai_strerror" != "xyes"; then
        !          34173:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34174: $as_echo "yes" >&6; }
        !          34175:       tst_allow_gai_strerror="yes"
        !          34176:     else
        !          34177:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34178: $as_echo "no" >&6; }
        !          34179:       tst_allow_gai_strerror="no"
        !          34180:     fi
        !          34181:   fi
        !          34182:   #
        !          34183:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gai_strerror might be used" >&5
        !          34184: $as_echo_n "checking if gai_strerror might be used... " >&6; }
        !          34185:   if test "$tst_links_gai_strerror" = "yes" &&
        !          34186:      test "$tst_proto_gai_strerror" = "yes" &&
        !          34187:      test "$tst_compi_gai_strerror" = "yes" &&
        !          34188:      test "$tst_allow_gai_strerror" = "yes"; then
        !          34189:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34190: $as_echo "yes" >&6; }
        !          34191: 
        !          34192: cat >>confdefs.h <<_ACEOF
        !          34193: #define HAVE_GAI_STRERROR 1
        !          34194: _ACEOF
        !          34195: 
        !          34196:     curl_cv_func_gai_strerror="yes"
        !          34197:   else
        !          34198:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34199: $as_echo "no" >&6; }
        !          34200:     curl_cv_func_gai_strerror="no"
        !          34201:   fi
        !          34202: 
        !          34203: 
        !          34204:       #
        !          34205:   tst_links_gethostbyaddr="unknown"
        !          34206:   tst_proto_gethostbyaddr="unknown"
        !          34207:   tst_compi_gethostbyaddr="unknown"
        !          34208:   tst_allow_gethostbyaddr="unknown"
        !          34209:   #
        !          34210:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr can be linked" >&5
        !          34211: $as_echo_n "checking if gethostbyaddr can be linked... " >&6; }
        !          34212:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          34213: /* end confdefs.h.  */
        !          34214: 
        !          34215: 
        !          34216:       $curl_includes_winsock2
        !          34217:       $curl_includes_bsdsocket
        !          34218:       $curl_includes_netdb
        !          34219: 
        !          34220: int main (void)
        !          34221: {
        !          34222: 
        !          34223:       if(0 != gethostbyaddr(0, 0, 0))
        !          34224:         return 1;
        !          34225: 
        !          34226:  ;
        !          34227:  return 0;
        !          34228: }
        !          34229: 
        !          34230: _ACEOF
        !          34231: if ac_fn_c_try_link "$LINENO"; then :
        !          34232: 
        !          34233:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34234: $as_echo "yes" >&6; }
        !          34235:     tst_links_gethostbyaddr="yes"
        !          34236: 
        !          34237: else
        !          34238: 
        !          34239:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34240: $as_echo "no" >&6; }
        !          34241:     tst_links_gethostbyaddr="no"
        !          34242: 
        !          34243: fi
        !          34244: rm -f core conftest.err conftest.$ac_objext \
        !          34245:     conftest$ac_exeext conftest.$ac_ext
        !          34246:   #
        !          34247:   if test "$tst_links_gethostbyaddr" = "yes"; then
        !          34248:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr is prototyped" >&5
        !          34249: $as_echo_n "checking if gethostbyaddr is prototyped... " >&6; }
        !          34250:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          34251: /* end confdefs.h.  */
        !          34252: 
        !          34253:       $curl_includes_winsock2
        !          34254:       $curl_includes_bsdsocket
        !          34255:       $curl_includes_netdb
        !          34256: 
        !          34257: _ACEOF
        !          34258: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          34259:   $EGREP "gethostbyaddr" >/dev/null 2>&1; then :
        !          34260: 
        !          34261:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34262: $as_echo "yes" >&6; }
        !          34263:       tst_proto_gethostbyaddr="yes"
        !          34264: 
        !          34265: else
        !          34266: 
        !          34267:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34268: $as_echo "no" >&6; }
        !          34269:       tst_proto_gethostbyaddr="no"
        !          34270: 
        !          34271: fi
        !          34272: rm -f conftest*
        !          34273: 
        !          34274:   fi
        !          34275:   #
        !          34276:   if test "$tst_proto_gethostbyaddr" = "yes"; then
        !          34277:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr is compilable" >&5
        !          34278: $as_echo_n "checking if gethostbyaddr is compilable... " >&6; }
        !          34279:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          34280: /* end confdefs.h.  */
        !          34281: 
        !          34282: 
        !          34283:         $curl_includes_winsock2
        !          34284:       $curl_includes_bsdsocket
        !          34285:         $curl_includes_netdb
        !          34286: 
        !          34287: int main (void)
        !          34288: {
        !          34289: 
        !          34290:         if(0 != gethostbyaddr(0, 0, 0))
        !          34291:           return 1;
        !          34292: 
        !          34293:  ;
        !          34294:  return 0;
        !          34295: }
        !          34296: 
        !          34297: _ACEOF
        !          34298: if ac_fn_c_try_compile "$LINENO"; then :
        !          34299: 
        !          34300:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34301: $as_echo "yes" >&6; }
        !          34302:       tst_compi_gethostbyaddr="yes"
        !          34303: 
        !          34304: else
        !          34305: 
        !          34306:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34307: $as_echo "no" >&6; }
        !          34308:       tst_compi_gethostbyaddr="no"
        !          34309: 
        !          34310: fi
        !          34311: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          34312:   fi
        !          34313:   #
        !          34314:   if test "$tst_compi_gethostbyaddr" = "yes"; then
        !          34315:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr usage allowed" >&5
        !          34316: $as_echo_n "checking if gethostbyaddr usage allowed... " >&6; }
        !          34317:     if test "x$curl_disallow_gethostbyaddr" != "xyes"; then
        !          34318:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34319: $as_echo "yes" >&6; }
        !          34320:       tst_allow_gethostbyaddr="yes"
        !          34321:     else
        !          34322:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34323: $as_echo "no" >&6; }
        !          34324:       tst_allow_gethostbyaddr="no"
        !          34325:     fi
        !          34326:   fi
        !          34327:   #
        !          34328:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr might be used" >&5
        !          34329: $as_echo_n "checking if gethostbyaddr might be used... " >&6; }
        !          34330:   if test "$tst_links_gethostbyaddr" = "yes" &&
        !          34331:      test "$tst_proto_gethostbyaddr" = "yes" &&
        !          34332:      test "$tst_compi_gethostbyaddr" = "yes" &&
        !          34333:      test "$tst_allow_gethostbyaddr" = "yes"; then
        !          34334:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34335: $as_echo "yes" >&6; }
        !          34336: 
        !          34337: cat >>confdefs.h <<_ACEOF
        !          34338: #define HAVE_GETHOSTBYADDR 1
        !          34339: _ACEOF
        !          34340: 
        !          34341:     curl_cv_func_gethostbyaddr="yes"
        !          34342:   else
        !          34343:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34344: $as_echo "no" >&6; }
        !          34345:     curl_cv_func_gethostbyaddr="no"
        !          34346:   fi
        !          34347: 
        !          34348: 
        !          34349:     #
        !          34350:   tst_links_gethostbyaddr_r="unknown"
        !          34351:   tst_proto_gethostbyaddr_r="unknown"
        !          34352:   tst_compi_gethostbyaddr_r="unknown"
        !          34353:   tst_allow_gethostbyaddr_r="unknown"
        !          34354:   tst_nargs_gethostbyaddr_r="unknown"
        !          34355:   #
        !          34356:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r can be linked" >&5
        !          34357: $as_echo_n "checking if gethostbyaddr_r can be linked... " >&6; }
        !          34358:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          34359: /* end confdefs.h.  */
        !          34360: 
        !          34361: 
        !          34362: #define gethostbyaddr_r innocuous_gethostbyaddr_r
        !          34363: #ifdef __STDC__
        !          34364: # include <limits.h>
        !          34365: #else
        !          34366: # include <assert.h>
        !          34367: #endif
        !          34368: #undef gethostbyaddr_r
        !          34369: #ifdef __cplusplus
        !          34370: extern "C"
        !          34371: #endif
        !          34372: char gethostbyaddr_r ();
        !          34373: #if defined __stub_gethostbyaddr_r || defined __stub___gethostbyaddr_r
        !          34374: choke me
        !          34375: #endif
        !          34376: 
        !          34377: int main (void)
        !          34378: {
        !          34379: return gethostbyaddr_r ();
        !          34380:  ;
        !          34381:  return 0;
        !          34382: }
        !          34383: 
        !          34384: _ACEOF
        !          34385: if ac_fn_c_try_link "$LINENO"; then :
        !          34386: 
        !          34387:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34388: $as_echo "yes" >&6; }
        !          34389:     tst_links_gethostbyaddr_r="yes"
        !          34390: 
        !          34391: else
        !          34392: 
        !          34393:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34394: $as_echo "no" >&6; }
        !          34395:     tst_links_gethostbyaddr_r="no"
        !          34396: 
        !          34397: fi
        !          34398: rm -f core conftest.err conftest.$ac_objext \
        !          34399:     conftest$ac_exeext conftest.$ac_ext
        !          34400:   #
        !          34401:   if test "$tst_links_gethostbyaddr_r" = "yes"; then
        !          34402:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r is prototyped" >&5
        !          34403: $as_echo_n "checking if gethostbyaddr_r is prototyped... " >&6; }
        !          34404:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          34405: /* end confdefs.h.  */
        !          34406: 
        !          34407:       $curl_includes_netdb
        !          34408: 
        !          34409: _ACEOF
        !          34410: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          34411:   $EGREP "gethostbyaddr_r" >/dev/null 2>&1; then :
        !          34412: 
        !          34413:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34414: $as_echo "yes" >&6; }
        !          34415:       tst_proto_gethostbyaddr_r="yes"
        !          34416: 
        !          34417: else
        !          34418: 
        !          34419:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34420: $as_echo "no" >&6; }
        !          34421:       tst_proto_gethostbyaddr_r="no"
        !          34422: 
        !          34423: fi
        !          34424: rm -f conftest*
        !          34425: 
        !          34426:   fi
        !          34427:   #
        !          34428:   if test "$tst_proto_gethostbyaddr_r" = "yes"; then
        !          34429:     if test "$tst_nargs_gethostbyaddr_r" = "unknown"; then
        !          34430:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r takes 5 args." >&5
        !          34431: $as_echo_n "checking if gethostbyaddr_r takes 5 args.... " >&6; }
        !          34432:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          34433: /* end confdefs.h.  */
        !          34434: 
        !          34435: 
        !          34436:           $curl_includes_netdb
        !          34437: 
        !          34438: int main (void)
        !          34439: {
        !          34440: 
        !          34441:           if(0 != gethostbyaddr_r(0, 0, 0, 0, 0))
        !          34442:             return 1;
        !          34443: 
        !          34444:  ;
        !          34445:  return 0;
        !          34446: }
        !          34447: 
        !          34448: _ACEOF
        !          34449: if ac_fn_c_try_compile "$LINENO"; then :
        !          34450: 
        !          34451:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34452: $as_echo "yes" >&6; }
        !          34453:         tst_compi_gethostbyaddr_r="yes"
        !          34454:         tst_nargs_gethostbyaddr_r="5"
        !          34455: 
        !          34456: else
        !          34457: 
        !          34458:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34459: $as_echo "no" >&6; }
        !          34460:         tst_compi_gethostbyaddr_r="no"
        !          34461: 
        !          34462: fi
        !          34463: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          34464:     fi
        !          34465:     if test "$tst_nargs_gethostbyaddr_r" = "unknown"; then
        !          34466:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r takes 7 args." >&5
        !          34467: $as_echo_n "checking if gethostbyaddr_r takes 7 args.... " >&6; }
        !          34468:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          34469: /* end confdefs.h.  */
        !          34470: 
        !          34471: 
        !          34472:           $curl_includes_netdb
        !          34473: 
        !          34474: int main (void)
        !          34475: {
        !          34476: 
        !          34477:           if(0 != gethostbyaddr_r(0, 0, 0, 0, 0, 0, 0))
        !          34478:             return 1;
        !          34479: 
        !          34480:  ;
        !          34481:  return 0;
        !          34482: }
        !          34483: 
        !          34484: _ACEOF
        !          34485: if ac_fn_c_try_compile "$LINENO"; then :
        !          34486: 
        !          34487:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34488: $as_echo "yes" >&6; }
        !          34489:         tst_compi_gethostbyaddr_r="yes"
        !          34490:         tst_nargs_gethostbyaddr_r="7"
        !          34491: 
        !          34492: else
        !          34493: 
        !          34494:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34495: $as_echo "no" >&6; }
        !          34496:         tst_compi_gethostbyaddr_r="no"
        !          34497: 
        !          34498: fi
        !          34499: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          34500:     fi
        !          34501:     if test "$tst_nargs_gethostbyaddr_r" = "unknown"; then
        !          34502:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r takes 8 args." >&5
        !          34503: $as_echo_n "checking if gethostbyaddr_r takes 8 args.... " >&6; }
        !          34504:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          34505: /* end confdefs.h.  */
        !          34506: 
        !          34507: 
        !          34508:           $curl_includes_netdb
        !          34509: 
        !          34510: int main (void)
        !          34511: {
        !          34512: 
        !          34513:           if(0 != gethostbyaddr_r(0, 0, 0, 0, 0, 0, 0, 0))
        !          34514:             return 1;
        !          34515: 
        !          34516:  ;
        !          34517:  return 0;
        !          34518: }
        !          34519: 
        !          34520: _ACEOF
        !          34521: if ac_fn_c_try_compile "$LINENO"; then :
        !          34522: 
        !          34523:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34524: $as_echo "yes" >&6; }
        !          34525:         tst_compi_gethostbyaddr_r="yes"
        !          34526:         tst_nargs_gethostbyaddr_r="8"
        !          34527: 
        !          34528: else
        !          34529: 
        !          34530:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34531: $as_echo "no" >&6; }
        !          34532:         tst_compi_gethostbyaddr_r="no"
        !          34533: 
        !          34534: fi
        !          34535: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          34536:     fi
        !          34537:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r is compilable" >&5
        !          34538: $as_echo_n "checking if gethostbyaddr_r is compilable... " >&6; }
        !          34539:     if test "$tst_compi_gethostbyaddr_r" = "yes"; then
        !          34540:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34541: $as_echo "yes" >&6; }
        !          34542:     else
        !          34543:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34544: $as_echo "no" >&6; }
        !          34545:     fi
        !          34546:   fi
        !          34547:   #
        !          34548:   if test "$tst_compi_gethostbyaddr_r" = "yes"; then
        !          34549:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r usage allowed" >&5
        !          34550: $as_echo_n "checking if gethostbyaddr_r usage allowed... " >&6; }
        !          34551:     if test "x$curl_disallow_gethostbyaddr_r" != "xyes"; then
        !          34552:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34553: $as_echo "yes" >&6; }
        !          34554:       tst_allow_gethostbyaddr_r="yes"
        !          34555:     else
        !          34556:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34557: $as_echo "no" >&6; }
        !          34558:       tst_allow_gethostbyaddr_r="no"
        !          34559:     fi
        !          34560:   fi
        !          34561:   #
        !          34562:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r might be used" >&5
        !          34563: $as_echo_n "checking if gethostbyaddr_r might be used... " >&6; }
        !          34564:   if test "$tst_links_gethostbyaddr_r" = "yes" &&
        !          34565:      test "$tst_proto_gethostbyaddr_r" = "yes" &&
        !          34566:      test "$tst_compi_gethostbyaddr_r" = "yes" &&
        !          34567:      test "$tst_allow_gethostbyaddr_r" = "yes"; then
        !          34568:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34569: $as_echo "yes" >&6; }
        !          34570: 
        !          34571: cat >>confdefs.h <<_ACEOF
        !          34572: #define HAVE_GETHOSTBYADDR_R 1
        !          34573: _ACEOF
        !          34574: 
        !          34575:             #
        !          34576:     if test "$tst_nargs_gethostbyaddr_r" -eq "5"; then
        !          34577: 
        !          34578: $as_echo "#define HAVE_GETHOSTBYADDR_R_5 1" >>confdefs.h
        !          34579: 
        !          34580:     elif test "$tst_nargs_gethostbyaddr_r" -eq "7"; then
        !          34581: 
        !          34582: $as_echo "#define HAVE_GETHOSTBYADDR_R_7 1" >>confdefs.h
        !          34583: 
        !          34584:     elif test "$tst_nargs_gethostbyaddr_r" -eq "8"; then
        !          34585: 
        !          34586: $as_echo "#define HAVE_GETHOSTBYADDR_R_8 1" >>confdefs.h
        !          34587: 
        !          34588:     fi
        !          34589:     #
        !          34590:     curl_cv_func_gethostbyaddr_r="yes"
        !          34591:   else
        !          34592:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34593: $as_echo "no" >&6; }
        !          34594:     curl_cv_func_gethostbyaddr_r="no"
        !          34595:   fi
        !          34596: 
        !          34597: 
        !          34598:       #
        !          34599:   tst_links_gethostbyname="unknown"
        !          34600:   tst_proto_gethostbyname="unknown"
        !          34601:   tst_compi_gethostbyname="unknown"
        !          34602:   tst_allow_gethostbyname="unknown"
        !          34603:   #
        !          34604:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname can be linked" >&5
        !          34605: $as_echo_n "checking if gethostbyname can be linked... " >&6; }
        !          34606:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          34607: /* end confdefs.h.  */
        !          34608: 
        !          34609: 
        !          34610:       $curl_includes_winsock2
        !          34611:       $curl_includes_bsdsocket
        !          34612:       $curl_includes_netdb
        !          34613: 
        !          34614: int main (void)
        !          34615: {
        !          34616: 
        !          34617:       if(0 != gethostbyname(0))
        !          34618:         return 1;
        !          34619: 
        !          34620:  ;
        !          34621:  return 0;
        !          34622: }
        !          34623: 
        !          34624: _ACEOF
        !          34625: if ac_fn_c_try_link "$LINENO"; then :
        !          34626: 
        !          34627:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34628: $as_echo "yes" >&6; }
        !          34629:     tst_links_gethostbyname="yes"
        !          34630: 
        !          34631: else
        !          34632: 
        !          34633:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34634: $as_echo "no" >&6; }
        !          34635:     tst_links_gethostbyname="no"
        !          34636: 
        !          34637: fi
        !          34638: rm -f core conftest.err conftest.$ac_objext \
        !          34639:     conftest$ac_exeext conftest.$ac_ext
        !          34640:   #
        !          34641:   if test "$tst_links_gethostbyname" = "yes"; then
        !          34642:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname is prototyped" >&5
        !          34643: $as_echo_n "checking if gethostbyname is prototyped... " >&6; }
        !          34644:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          34645: /* end confdefs.h.  */
        !          34646: 
        !          34647:       $curl_includes_winsock2
        !          34648:       $curl_includes_bsdsocket
        !          34649:       $curl_includes_netdb
        !          34650: 
        !          34651: _ACEOF
        !          34652: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          34653:   $EGREP "gethostbyname" >/dev/null 2>&1; then :
        !          34654: 
        !          34655:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34656: $as_echo "yes" >&6; }
        !          34657:       tst_proto_gethostbyname="yes"
        !          34658: 
        !          34659: else
        !          34660: 
        !          34661:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34662: $as_echo "no" >&6; }
        !          34663:       tst_proto_gethostbyname="no"
        !          34664: 
        !          34665: fi
        !          34666: rm -f conftest*
        !          34667: 
        !          34668:   fi
        !          34669:   #
        !          34670:   if test "$tst_proto_gethostbyname" = "yes"; then
        !          34671:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname is compilable" >&5
        !          34672: $as_echo_n "checking if gethostbyname is compilable... " >&6; }
        !          34673:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          34674: /* end confdefs.h.  */
        !          34675: 
        !          34676: 
        !          34677:         $curl_includes_winsock2
        !          34678:       $curl_includes_bsdsocket
        !          34679:         $curl_includes_netdb
        !          34680: 
        !          34681: int main (void)
        !          34682: {
        !          34683: 
        !          34684:         if(0 != gethostbyname(0))
        !          34685:           return 1;
        !          34686: 
        !          34687:  ;
        !          34688:  return 0;
        !          34689: }
        !          34690: 
        !          34691: _ACEOF
        !          34692: if ac_fn_c_try_compile "$LINENO"; then :
        !          34693: 
        !          34694:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34695: $as_echo "yes" >&6; }
        !          34696:       tst_compi_gethostbyname="yes"
        !          34697: 
        !          34698: else
        !          34699: 
        !          34700:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34701: $as_echo "no" >&6; }
        !          34702:       tst_compi_gethostbyname="no"
        !          34703: 
        !          34704: fi
        !          34705: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          34706:   fi
        !          34707:   #
        !          34708:   if test "$tst_compi_gethostbyname" = "yes"; then
        !          34709:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname usage allowed" >&5
        !          34710: $as_echo_n "checking if gethostbyname usage allowed... " >&6; }
        !          34711:     if test "x$curl_disallow_gethostbyname" != "xyes"; then
        !          34712:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34713: $as_echo "yes" >&6; }
        !          34714:       tst_allow_gethostbyname="yes"
        !          34715:     else
        !          34716:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34717: $as_echo "no" >&6; }
        !          34718:       tst_allow_gethostbyname="no"
        !          34719:     fi
        !          34720:   fi
        !          34721:   #
        !          34722:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname might be used" >&5
        !          34723: $as_echo_n "checking if gethostbyname might be used... " >&6; }
        !          34724:   if test "$tst_links_gethostbyname" = "yes" &&
        !          34725:      test "$tst_proto_gethostbyname" = "yes" &&
        !          34726:      test "$tst_compi_gethostbyname" = "yes" &&
        !          34727:      test "$tst_allow_gethostbyname" = "yes"; then
        !          34728:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34729: $as_echo "yes" >&6; }
        !          34730: 
        !          34731: cat >>confdefs.h <<_ACEOF
        !          34732: #define HAVE_GETHOSTBYNAME 1
        !          34733: _ACEOF
        !          34734: 
        !          34735:     curl_cv_func_gethostbyname="yes"
        !          34736:   else
        !          34737:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34738: $as_echo "no" >&6; }
        !          34739:     curl_cv_func_gethostbyname="no"
        !          34740:   fi
        !          34741: 
        !          34742: 
        !          34743:     #
        !          34744:   tst_links_gethostbyname_r="unknown"
        !          34745:   tst_proto_gethostbyname_r="unknown"
        !          34746:   tst_compi_gethostbyname_r="unknown"
        !          34747:   tst_allow_gethostbyname_r="unknown"
        !          34748:   tst_nargs_gethostbyname_r="unknown"
        !          34749:   #
        !          34750:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r can be linked" >&5
        !          34751: $as_echo_n "checking if gethostbyname_r can be linked... " >&6; }
        !          34752:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          34753: /* end confdefs.h.  */
        !          34754: 
        !          34755: 
        !          34756: #define gethostbyname_r innocuous_gethostbyname_r
        !          34757: #ifdef __STDC__
        !          34758: # include <limits.h>
        !          34759: #else
        !          34760: # include <assert.h>
        !          34761: #endif
        !          34762: #undef gethostbyname_r
        !          34763: #ifdef __cplusplus
        !          34764: extern "C"
        !          34765: #endif
        !          34766: char gethostbyname_r ();
        !          34767: #if defined __stub_gethostbyname_r || defined __stub___gethostbyname_r
        !          34768: choke me
        !          34769: #endif
        !          34770: 
        !          34771: int main (void)
        !          34772: {
        !          34773: return gethostbyname_r ();
        !          34774:  ;
        !          34775:  return 0;
        !          34776: }
        !          34777: 
        !          34778: _ACEOF
        !          34779: if ac_fn_c_try_link "$LINENO"; then :
        !          34780: 
        !          34781:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34782: $as_echo "yes" >&6; }
        !          34783:     tst_links_gethostbyname_r="yes"
        !          34784: 
        !          34785: else
        !          34786: 
        !          34787:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34788: $as_echo "no" >&6; }
        !          34789:     tst_links_gethostbyname_r="no"
        !          34790: 
        !          34791: fi
        !          34792: rm -f core conftest.err conftest.$ac_objext \
        !          34793:     conftest$ac_exeext conftest.$ac_ext
        !          34794:   #
        !          34795:   if test "$tst_links_gethostbyname_r" = "yes"; then
        !          34796:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r is prototyped" >&5
        !          34797: $as_echo_n "checking if gethostbyname_r is prototyped... " >&6; }
        !          34798:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          34799: /* end confdefs.h.  */
        !          34800: 
        !          34801:       $curl_includes_netdb
        !          34802: 
        !          34803: _ACEOF
        !          34804: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          34805:   $EGREP "gethostbyname_r" >/dev/null 2>&1; then :
        !          34806: 
        !          34807:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34808: $as_echo "yes" >&6; }
        !          34809:       tst_proto_gethostbyname_r="yes"
        !          34810: 
        !          34811: else
        !          34812: 
        !          34813:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34814: $as_echo "no" >&6; }
        !          34815:       tst_proto_gethostbyname_r="no"
        !          34816: 
        !          34817: fi
        !          34818: rm -f conftest*
        !          34819: 
        !          34820:   fi
        !          34821:   #
        !          34822:   if test "$tst_proto_gethostbyname_r" = "yes"; then
        !          34823:     if test "$tst_nargs_gethostbyname_r" = "unknown"; then
        !          34824:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r takes 3 args." >&5
        !          34825: $as_echo_n "checking if gethostbyname_r takes 3 args.... " >&6; }
        !          34826:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          34827: /* end confdefs.h.  */
        !          34828: 
        !          34829: 
        !          34830:           $curl_includes_netdb
        !          34831: 
        !          34832: int main (void)
        !          34833: {
        !          34834: 
        !          34835:           if(0 != gethostbyname_r(0, 0, 0))
        !          34836:             return 1;
        !          34837: 
        !          34838:  ;
        !          34839:  return 0;
        !          34840: }
        !          34841: 
        !          34842: _ACEOF
        !          34843: if ac_fn_c_try_compile "$LINENO"; then :
        !          34844: 
        !          34845:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34846: $as_echo "yes" >&6; }
        !          34847:         tst_compi_gethostbyname_r="yes"
        !          34848:         tst_nargs_gethostbyname_r="3"
        !          34849: 
        !          34850: else
        !          34851: 
        !          34852:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34853: $as_echo "no" >&6; }
        !          34854:         tst_compi_gethostbyname_r="no"
        !          34855: 
        !          34856: fi
        !          34857: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          34858:     fi
        !          34859:     if test "$tst_nargs_gethostbyname_r" = "unknown"; then
        !          34860:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r takes 5 args." >&5
        !          34861: $as_echo_n "checking if gethostbyname_r takes 5 args.... " >&6; }
        !          34862:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          34863: /* end confdefs.h.  */
        !          34864: 
        !          34865: 
        !          34866:           $curl_includes_netdb
        !          34867: 
        !          34868: int main (void)
        !          34869: {
        !          34870: 
        !          34871:           if(0 != gethostbyname_r(0, 0, 0, 0, 0))
        !          34872:             return 1;
        !          34873: 
        !          34874:  ;
        !          34875:  return 0;
        !          34876: }
        !          34877: 
        !          34878: _ACEOF
        !          34879: if ac_fn_c_try_compile "$LINENO"; then :
        !          34880: 
        !          34881:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34882: $as_echo "yes" >&6; }
        !          34883:         tst_compi_gethostbyname_r="yes"
        !          34884:         tst_nargs_gethostbyname_r="5"
        !          34885: 
        !          34886: else
        !          34887: 
        !          34888:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34889: $as_echo "no" >&6; }
        !          34890:         tst_compi_gethostbyname_r="no"
        !          34891: 
        !          34892: fi
        !          34893: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          34894:     fi
        !          34895:     if test "$tst_nargs_gethostbyname_r" = "unknown"; then
        !          34896:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r takes 6 args." >&5
        !          34897: $as_echo_n "checking if gethostbyname_r takes 6 args.... " >&6; }
        !          34898:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          34899: /* end confdefs.h.  */
        !          34900: 
        !          34901: 
        !          34902:           $curl_includes_netdb
        !          34903: 
        !          34904: int main (void)
        !          34905: {
        !          34906: 
        !          34907:           if(0 != gethostbyname_r(0, 0, 0, 0, 0, 0))
        !          34908:             return 1;
        !          34909: 
        !          34910:  ;
        !          34911:  return 0;
        !          34912: }
        !          34913: 
        !          34914: _ACEOF
        !          34915: if ac_fn_c_try_compile "$LINENO"; then :
        !          34916: 
        !          34917:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34918: $as_echo "yes" >&6; }
        !          34919:         tst_compi_gethostbyname_r="yes"
        !          34920:         tst_nargs_gethostbyname_r="6"
        !          34921: 
        !          34922: else
        !          34923: 
        !          34924:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34925: $as_echo "no" >&6; }
        !          34926:         tst_compi_gethostbyname_r="no"
        !          34927: 
        !          34928: fi
        !          34929: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          34930:     fi
        !          34931:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r is compilable" >&5
        !          34932: $as_echo_n "checking if gethostbyname_r is compilable... " >&6; }
        !          34933:     if test "$tst_compi_gethostbyname_r" = "yes"; then
        !          34934:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34935: $as_echo "yes" >&6; }
        !          34936:     else
        !          34937:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34938: $as_echo "no" >&6; }
        !          34939:     fi
        !          34940:   fi
        !          34941:   #
        !          34942:   if test "$tst_compi_gethostbyname_r" = "yes"; then
        !          34943:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r usage allowed" >&5
        !          34944: $as_echo_n "checking if gethostbyname_r usage allowed... " >&6; }
        !          34945:     if test "x$curl_disallow_gethostbyname_r" != "xyes"; then
        !          34946:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34947: $as_echo "yes" >&6; }
        !          34948:       tst_allow_gethostbyname_r="yes"
        !          34949:     else
        !          34950:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34951: $as_echo "no" >&6; }
        !          34952:       tst_allow_gethostbyname_r="no"
        !          34953:     fi
        !          34954:   fi
        !          34955:   #
        !          34956:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r might be used" >&5
        !          34957: $as_echo_n "checking if gethostbyname_r might be used... " >&6; }
        !          34958:   if test "$tst_links_gethostbyname_r" = "yes" &&
        !          34959:      test "$tst_proto_gethostbyname_r" = "yes" &&
        !          34960:      test "$tst_compi_gethostbyname_r" = "yes" &&
        !          34961:      test "$tst_allow_gethostbyname_r" = "yes"; then
        !          34962:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          34963: $as_echo "yes" >&6; }
        !          34964: 
        !          34965: cat >>confdefs.h <<_ACEOF
        !          34966: #define HAVE_GETHOSTBYNAME_R 1
        !          34967: _ACEOF
        !          34968: 
        !          34969:             #
        !          34970:     if test "$tst_nargs_gethostbyname_r" -eq "3"; then
        !          34971: 
        !          34972: $as_echo "#define HAVE_GETHOSTBYNAME_R_3 1" >>confdefs.h
        !          34973: 
        !          34974:     elif test "$tst_nargs_gethostbyname_r" -eq "5"; then
        !          34975: 
        !          34976: $as_echo "#define HAVE_GETHOSTBYNAME_R_5 1" >>confdefs.h
        !          34977: 
        !          34978:     elif test "$tst_nargs_gethostbyname_r" -eq "6"; then
        !          34979: 
        !          34980: $as_echo "#define HAVE_GETHOSTBYNAME_R_6 1" >>confdefs.h
        !          34981: 
        !          34982:     fi
        !          34983:     #
        !          34984:     curl_cv_func_gethostbyname_r="yes"
        !          34985:   else
        !          34986:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          34987: $as_echo "no" >&6; }
        !          34988:     curl_cv_func_gethostbyname_r="no"
        !          34989:   fi
        !          34990: 
        !          34991: 
        !          34992: curl_preprocess_callconv="\
        !          34993: /* preprocess start */
        !          34994: #ifdef HAVE_WINDOWS_H
        !          34995: #  define FUNCALLCONV __stdcall
        !          34996: #else
        !          34997: #  define FUNCALLCONV
        !          34998: #endif
        !          34999: /* preprocess end */"
        !          35000: 
        !          35001: 
        !          35002:           #
        !          35003:   tst_links_gethostname="unknown"
        !          35004:   tst_proto_gethostname="unknown"
        !          35005:   tst_compi_gethostname="unknown"
        !          35006:   tst_allow_gethostname="unknown"
        !          35007:   #
        !          35008:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostname can be linked" >&5
        !          35009: $as_echo_n "checking if gethostname can be linked... " >&6; }
        !          35010:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          35011: /* end confdefs.h.  */
        !          35012: 
        !          35013: 
        !          35014:       $curl_includes_winsock2
        !          35015:       $curl_includes_bsdsocket
        !          35016:       $curl_includes_unistd
        !          35017: 
        !          35018: int main (void)
        !          35019: {
        !          35020: 
        !          35021:       if(0 != gethostname(0, 0))
        !          35022:         return 1;
        !          35023: 
        !          35024:  ;
        !          35025:  return 0;
        !          35026: }
        !          35027: 
        !          35028: _ACEOF
        !          35029: if ac_fn_c_try_link "$LINENO"; then :
        !          35030: 
        !          35031:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35032: $as_echo "yes" >&6; }
        !          35033:     tst_links_gethostname="yes"
        !          35034: 
        !          35035: else
        !          35036: 
        !          35037:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35038: $as_echo "no" >&6; }
        !          35039:     tst_links_gethostname="no"
        !          35040: 
        !          35041: fi
        !          35042: rm -f core conftest.err conftest.$ac_objext \
        !          35043:     conftest$ac_exeext conftest.$ac_ext
        !          35044:   #
        !          35045:   if test "$tst_links_gethostname" = "yes"; then
        !          35046:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostname is prototyped" >&5
        !          35047: $as_echo_n "checking if gethostname is prototyped... " >&6; }
        !          35048:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          35049: /* end confdefs.h.  */
        !          35050: 
        !          35051:       $curl_includes_winsock2
        !          35052:       $curl_includes_bsdsocket
        !          35053:       $curl_includes_unistd
        !          35054: 
        !          35055: _ACEOF
        !          35056: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          35057:   $EGREP "gethostname" >/dev/null 2>&1; then :
        !          35058: 
        !          35059:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35060: $as_echo "yes" >&6; }
        !          35061:       tst_proto_gethostname="yes"
        !          35062: 
        !          35063: else
        !          35064: 
        !          35065:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35066: $as_echo "no" >&6; }
        !          35067:       tst_proto_gethostname="no"
        !          35068: 
        !          35069: fi
        !          35070: rm -f conftest*
        !          35071: 
        !          35072:   fi
        !          35073:   #
        !          35074:   if test "$tst_proto_gethostname" = "yes"; then
        !          35075:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostname is compilable" >&5
        !          35076: $as_echo_n "checking if gethostname is compilable... " >&6; }
        !          35077:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          35078: /* end confdefs.h.  */
        !          35079: 
        !          35080: 
        !          35081:         $curl_includes_winsock2
        !          35082:       $curl_includes_bsdsocket
        !          35083:         $curl_includes_unistd
        !          35084: 
        !          35085: int main (void)
        !          35086: {
        !          35087: 
        !          35088:         if(0 != gethostname(0, 0))
        !          35089:           return 1;
        !          35090: 
        !          35091:  ;
        !          35092:  return 0;
        !          35093: }
        !          35094: 
        !          35095: _ACEOF
        !          35096: if ac_fn_c_try_compile "$LINENO"; then :
        !          35097: 
        !          35098:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35099: $as_echo "yes" >&6; }
        !          35100:       tst_compi_gethostname="yes"
        !          35101: 
        !          35102: else
        !          35103: 
        !          35104:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35105: $as_echo "no" >&6; }
        !          35106:       tst_compi_gethostname="no"
        !          35107: 
        !          35108: fi
        !          35109: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          35110:   fi
        !          35111:   #
        !          35112:   if test "$tst_compi_gethostname" = "yes"; then
        !          35113:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname arg 2 data type" >&5
        !          35114: $as_echo_n "checking for gethostname arg 2 data type... " >&6; }
        !          35115:     tst_gethostname_type_arg2="unknown"
        !          35116:     for tst_arg1 in 'char *' 'unsigned char *' 'void *'; do
        !          35117:       for tst_arg2 in 'int' 'unsigned int' 'size_t'; do
        !          35118:         if test "$tst_gethostname_type_arg2" = "unknown"; then
        !          35119:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          35120: /* end confdefs.h.  */
        !          35121: 
        !          35122: 
        !          35123:               $curl_includes_winsock2
        !          35124:       $curl_includes_bsdsocket
        !          35125:               $curl_includes_unistd
        !          35126:               $curl_preprocess_callconv
        !          35127:               extern int FUNCALLCONV gethostname($tst_arg1, $tst_arg2);
        !          35128: 
        !          35129: int main (void)
        !          35130: {
        !          35131: 
        !          35132:               if(0 != gethostname(0, 0))
        !          35133:                 return 1;
        !          35134: 
        !          35135:  ;
        !          35136:  return 0;
        !          35137: }
        !          35138: 
        !          35139: _ACEOF
        !          35140: if ac_fn_c_try_compile "$LINENO"; then :
        !          35141: 
        !          35142:             tst_gethostname_type_arg2="$tst_arg2"
        !          35143: 
        !          35144: fi
        !          35145: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          35146:         fi
        !          35147:       done
        !          35148:     done
        !          35149:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_gethostname_type_arg2" >&5
        !          35150: $as_echo "$tst_gethostname_type_arg2" >&6; }
        !          35151:     if test "$tst_gethostname_type_arg2" != "unknown"; then
        !          35152: 
        !          35153: cat >>confdefs.h <<_ACEOF
        !          35154: #define GETHOSTNAME_TYPE_ARG2 $tst_gethostname_type_arg2
        !          35155: _ACEOF
        !          35156: 
        !          35157:     fi
        !          35158:   fi
        !          35159:   #
        !          35160:   if test "$tst_compi_gethostname" = "yes"; then
        !          35161:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostname usage allowed" >&5
        !          35162: $as_echo_n "checking if gethostname usage allowed... " >&6; }
        !          35163:     if test "x$curl_disallow_gethostname" != "xyes"; then
        !          35164:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35165: $as_echo "yes" >&6; }
        !          35166:       tst_allow_gethostname="yes"
        !          35167:     else
        !          35168:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35169: $as_echo "no" >&6; }
        !          35170:       tst_allow_gethostname="no"
        !          35171:     fi
        !          35172:   fi
        !          35173:   #
        !          35174:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostname might be used" >&5
        !          35175: $as_echo_n "checking if gethostname might be used... " >&6; }
        !          35176:   if test "$tst_links_gethostname" = "yes" &&
        !          35177:      test "$tst_proto_gethostname" = "yes" &&
        !          35178:      test "$tst_compi_gethostname" = "yes" &&
        !          35179:      test "$tst_allow_gethostname" = "yes"; then
        !          35180:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35181: $as_echo "yes" >&6; }
        !          35182: 
        !          35183: cat >>confdefs.h <<_ACEOF
        !          35184: #define HAVE_GETHOSTNAME 1
        !          35185: _ACEOF
        !          35186: 
        !          35187:     curl_cv_func_gethostname="yes"
        !          35188:   else
        !          35189:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35190: $as_echo "no" >&6; }
        !          35191:     curl_cv_func_gethostname="no"
        !          35192:   fi
        !          35193: 
        !          35194: 
        !          35195:           #
        !          35196:   tst_links_getpeername="unknown"
        !          35197:   tst_proto_getpeername="unknown"
        !          35198:   tst_compi_getpeername="unknown"
        !          35199:   tst_allow_getpeername="unknown"
        !          35200:   #
        !          35201:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getpeername can be linked" >&5
        !          35202: $as_echo_n "checking if getpeername can be linked... " >&6; }
        !          35203:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          35204: /* end confdefs.h.  */
        !          35205: 
        !          35206: 
        !          35207:       $curl_includes_winsock2
        !          35208:       $curl_includes_bsdsocket
        !          35209:       $curl_includes_sys_socket
        !          35210: 
        !          35211: int main (void)
        !          35212: {
        !          35213: 
        !          35214:       if(0 != getpeername(0, (void *)0, (void *)0))
        !          35215:         return 1;
        !          35216: 
        !          35217:  ;
        !          35218:  return 0;
        !          35219: }
        !          35220: 
        !          35221: _ACEOF
        !          35222: if ac_fn_c_try_link "$LINENO"; then :
        !          35223: 
        !          35224:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35225: $as_echo "yes" >&6; }
        !          35226:     tst_links_getpeername="yes"
        !          35227: 
        !          35228: else
        !          35229: 
        !          35230:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35231: $as_echo "no" >&6; }
        !          35232:     tst_links_getpeername="no"
        !          35233: 
        !          35234: fi
        !          35235: rm -f core conftest.err conftest.$ac_objext \
        !          35236:     conftest$ac_exeext conftest.$ac_ext
        !          35237:   #
        !          35238:   if test "$tst_links_getpeername" = "yes"; then
        !          35239:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getpeername is prototyped" >&5
        !          35240: $as_echo_n "checking if getpeername is prototyped... " >&6; }
        !          35241:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          35242: /* end confdefs.h.  */
        !          35243: 
        !          35244:       $curl_includes_winsock2
        !          35245:       $curl_includes_bsdsocket
        !          35246:       $curl_includes_sys_socket
        !          35247: 
        !          35248: _ACEOF
        !          35249: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          35250:   $EGREP "getpeername" >/dev/null 2>&1; then :
        !          35251: 
        !          35252:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35253: $as_echo "yes" >&6; }
        !          35254:       tst_proto_getpeername="yes"
        !          35255: 
        !          35256: else
        !          35257: 
        !          35258:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35259: $as_echo "no" >&6; }
        !          35260:       tst_proto_getpeername="no"
        !          35261: 
        !          35262: fi
        !          35263: rm -f conftest*
        !          35264: 
        !          35265:   fi
        !          35266:   #
        !          35267:   if test "$tst_proto_getpeername" = "yes"; then
        !          35268:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getpeername is compilable" >&5
        !          35269: $as_echo_n "checking if getpeername is compilable... " >&6; }
        !          35270:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          35271: /* end confdefs.h.  */
        !          35272: 
        !          35273: 
        !          35274:         $curl_includes_winsock2
        !          35275:         $curl_includes_bsdsocket
        !          35276:         $curl_includes_sys_socket
        !          35277: 
        !          35278: int main (void)
        !          35279: {
        !          35280: 
        !          35281:         if(0 != getpeername(0, (void *)0, (void *)0))
        !          35282:           return 1;
        !          35283: 
        !          35284:  ;
        !          35285:  return 0;
        !          35286: }
        !          35287: 
        !          35288: _ACEOF
        !          35289: if ac_fn_c_try_compile "$LINENO"; then :
        !          35290: 
        !          35291:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35292: $as_echo "yes" >&6; }
        !          35293:       tst_compi_getpeername="yes"
        !          35294: 
        !          35295: else
        !          35296: 
        !          35297:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35298: $as_echo "no" >&6; }
        !          35299:       tst_compi_getpeername="no"
        !          35300: 
        !          35301: fi
        !          35302: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          35303:   fi
        !          35304:   #
        !          35305:   if test "$tst_compi_getpeername" = "yes"; then
        !          35306:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getpeername usage allowed" >&5
        !          35307: $as_echo_n "checking if getpeername usage allowed... " >&6; }
        !          35308:     if test "x$curl_disallow_getpeername" != "xyes"; then
        !          35309:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35310: $as_echo "yes" >&6; }
        !          35311:       tst_allow_getpeername="yes"
        !          35312:     else
        !          35313:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35314: $as_echo "no" >&6; }
        !          35315:       tst_allow_getpeername="no"
        !          35316:     fi
        !          35317:   fi
        !          35318:   #
        !          35319:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getpeername might be used" >&5
        !          35320: $as_echo_n "checking if getpeername might be used... " >&6; }
        !          35321:   if test "$tst_links_getpeername" = "yes" &&
        !          35322:      test "$tst_proto_getpeername" = "yes" &&
        !          35323:      test "$tst_compi_getpeername" = "yes" &&
        !          35324:      test "$tst_allow_getpeername" = "yes"; then
        !          35325:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35326: $as_echo "yes" >&6; }
        !          35327: 
        !          35328: cat >>confdefs.h <<_ACEOF
        !          35329: #define HAVE_GETPEERNAME 1
        !          35330: _ACEOF
        !          35331: 
        !          35332:     curl_cv_func_getpeername="yes"
        !          35333:   else
        !          35334:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35335: $as_echo "no" >&6; }
        !          35336:     curl_cv_func_getpeername="no"
        !          35337:   fi
        !          35338: 
        !          35339: 
        !          35340:           #
        !          35341:   tst_links_getsockname="unknown"
        !          35342:   tst_proto_getsockname="unknown"
        !          35343:   tst_compi_getsockname="unknown"
        !          35344:   tst_allow_getsockname="unknown"
        !          35345:   #
        !          35346:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getsockname can be linked" >&5
        !          35347: $as_echo_n "checking if getsockname can be linked... " >&6; }
        !          35348:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          35349: /* end confdefs.h.  */
        !          35350: 
        !          35351: 
        !          35352:       $curl_includes_winsock2
        !          35353:       $curl_includes_bsdsocket
        !          35354:       $curl_includes_sys_socket
        !          35355: 
        !          35356: int main (void)
        !          35357: {
        !          35358: 
        !          35359:       if(0 != getsockname(0, (void *)0, (void *)0))
        !          35360:         return 1;
        !          35361: 
        !          35362:  ;
        !          35363:  return 0;
        !          35364: }
        !          35365: 
        !          35366: _ACEOF
        !          35367: if ac_fn_c_try_link "$LINENO"; then :
        !          35368: 
        !          35369:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35370: $as_echo "yes" >&6; }
        !          35371:     tst_links_getsockname="yes"
        !          35372: 
        !          35373: else
        !          35374: 
        !          35375:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35376: $as_echo "no" >&6; }
        !          35377:     tst_links_getsockname="no"
        !          35378: 
        !          35379: fi
        !          35380: rm -f core conftest.err conftest.$ac_objext \
        !          35381:     conftest$ac_exeext conftest.$ac_ext
        !          35382:   #
        !          35383:   if test "$tst_links_getsockname" = "yes"; then
        !          35384:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getsockname is prototyped" >&5
        !          35385: $as_echo_n "checking if getsockname is prototyped... " >&6; }
        !          35386:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          35387: /* end confdefs.h.  */
        !          35388: 
        !          35389:       $curl_includes_winsock2
        !          35390:       $curl_includes_bsdsocket
        !          35391:       $curl_includes_sys_socket
        !          35392: 
        !          35393: _ACEOF
        !          35394: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          35395:   $EGREP "getsockname" >/dev/null 2>&1; then :
        !          35396: 
        !          35397:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35398: $as_echo "yes" >&6; }
        !          35399:       tst_proto_getsockname="yes"
        !          35400: 
        !          35401: else
        !          35402: 
        !          35403:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35404: $as_echo "no" >&6; }
        !          35405:       tst_proto_getsockname="no"
        !          35406: 
        !          35407: fi
        !          35408: rm -f conftest*
        !          35409: 
        !          35410:   fi
        !          35411:   #
        !          35412:   if test "$tst_proto_getsockname" = "yes"; then
        !          35413:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getsockname is compilable" >&5
        !          35414: $as_echo_n "checking if getsockname is compilable... " >&6; }
        !          35415:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          35416: /* end confdefs.h.  */
        !          35417: 
        !          35418: 
        !          35419:         $curl_includes_winsock2
        !          35420:         $curl_includes_bsdsocket
        !          35421:         $curl_includes_sys_socket
        !          35422: 
        !          35423: int main (void)
        !          35424: {
        !          35425: 
        !          35426:         if(0 != getsockname(0, (void *)0, (void *)0))
        !          35427:           return 1;
        !          35428: 
        !          35429:  ;
        !          35430:  return 0;
        !          35431: }
        !          35432: 
        !          35433: _ACEOF
        !          35434: if ac_fn_c_try_compile "$LINENO"; then :
        !          35435: 
        !          35436:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35437: $as_echo "yes" >&6; }
        !          35438:       tst_compi_getsockname="yes"
        !          35439: 
        !          35440: else
        !          35441: 
        !          35442:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35443: $as_echo "no" >&6; }
        !          35444:       tst_compi_getsockname="no"
        !          35445: 
        !          35446: fi
        !          35447: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          35448:   fi
        !          35449:   #
        !          35450:   if test "$tst_compi_getsockname" = "yes"; then
        !          35451:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getsockname usage allowed" >&5
        !          35452: $as_echo_n "checking if getsockname usage allowed... " >&6; }
        !          35453:     if test "x$curl_disallow_getsockname" != "xyes"; then
        !          35454:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35455: $as_echo "yes" >&6; }
        !          35456:       tst_allow_getsockname="yes"
        !          35457:     else
        !          35458:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35459: $as_echo "no" >&6; }
        !          35460:       tst_allow_getsockname="no"
        !          35461:     fi
        !          35462:   fi
        !          35463:   #
        !          35464:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getsockname might be used" >&5
        !          35465: $as_echo_n "checking if getsockname might be used... " >&6; }
        !          35466:   if test "$tst_links_getsockname" = "yes" &&
        !          35467:      test "$tst_proto_getsockname" = "yes" &&
        !          35468:      test "$tst_compi_getsockname" = "yes" &&
        !          35469:      test "$tst_allow_getsockname" = "yes"; then
        !          35470:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35471: $as_echo "yes" >&6; }
        !          35472: 
        !          35473: cat >>confdefs.h <<_ACEOF
        !          35474: #define HAVE_GETSOCKNAME 1
        !          35475: _ACEOF
        !          35476: 
        !          35477:     curl_cv_func_getsockname="yes"
        !          35478:   else
        !          35479:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35480: $as_echo "no" >&6; }
        !          35481:     curl_cv_func_getsockname="no"
        !          35482:   fi
        !          35483: 
        !          35484: 
        !          35485: curl_includes_netif="\
        !          35486: /* includes start */
        !          35487: #ifdef HAVE_NET_IF_H
        !          35488: #  include <net/if.h>
        !          35489: #endif
        !          35490: /* includes end */"
        !          35491:   for ac_header in net/if.h
        !          35492: do :
        !          35493:   ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$curl_includes_netif
        !          35494: "
        !          35495: if test "x$ac_cv_header_net_if_h" = xyes; then :
        !          35496:   cat >>confdefs.h <<_ACEOF
        !          35497: #define HAVE_NET_IF_H 1
        !          35498: _ACEOF
        !          35499: 
        !          35500: fi
        !          35501: 
        !          35502: done
        !          35503: 
        !          35504: 
        !          35505: 
        !          35506:         #
        !          35507:   tst_links_if_nametoindex="unknown"
        !          35508:   tst_proto_if_nametoindex="unknown"
        !          35509:   tst_compi_if_nametoindex="unknown"
        !          35510:   tst_allow_if_nametoindex="unknown"
        !          35511:   #
        !          35512:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex can be linked" >&5
        !          35513: $as_echo_n "checking if if_nametoindex can be linked... " >&6; }
        !          35514:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          35515: /* end confdefs.h.  */
        !          35516: 
        !          35517: 
        !          35518:       $curl_includes_winsock2
        !          35519:       $curl_includes_bsdsocket
        !          35520:       #include <net/if.h>
        !          35521: 
        !          35522: int main (void)
        !          35523: {
        !          35524: 
        !          35525:       if(0 != if_nametoindex(""))
        !          35526:         return 1;
        !          35527: 
        !          35528:  ;
        !          35529:  return 0;
        !          35530: }
        !          35531: 
        !          35532: _ACEOF
        !          35533: if ac_fn_c_try_link "$LINENO"; then :
        !          35534: 
        !          35535:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35536: $as_echo "yes" >&6; }
        !          35537:     tst_links_if_nametoindex="yes"
        !          35538: 
        !          35539: else
        !          35540: 
        !          35541:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35542: $as_echo "no" >&6; }
        !          35543:     tst_links_if_nametoindex="no"
        !          35544: 
        !          35545: fi
        !          35546: rm -f core conftest.err conftest.$ac_objext \
        !          35547:     conftest$ac_exeext conftest.$ac_ext
        !          35548:   #
        !          35549:   if test "$tst_links_if_nametoindex" = "yes"; then
        !          35550:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex is prototyped" >&5
        !          35551: $as_echo_n "checking if if_nametoindex is prototyped... " >&6; }
        !          35552:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          35553: /* end confdefs.h.  */
        !          35554: 
        !          35555:       $curl_includes_winsock2
        !          35556:       $curl_includes_netif
        !          35557: 
        !          35558: _ACEOF
        !          35559: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          35560:   $EGREP "if_nametoindex" >/dev/null 2>&1; then :
        !          35561: 
        !          35562:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35563: $as_echo "yes" >&6; }
        !          35564:       tst_proto_if_nametoindex="yes"
        !          35565: 
        !          35566: else
        !          35567: 
        !          35568:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35569: $as_echo "no" >&6; }
        !          35570:       tst_proto_if_nametoindex="no"
        !          35571: 
        !          35572: fi
        !          35573: rm -f conftest*
        !          35574: 
        !          35575:   fi
        !          35576:   #
        !          35577:   if test "$tst_proto_if_nametoindex" = "yes"; then
        !          35578:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex is compilable" >&5
        !          35579: $as_echo_n "checking if if_nametoindex is compilable... " >&6; }
        !          35580:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          35581: /* end confdefs.h.  */
        !          35582: 
        !          35583: 
        !          35584:         $curl_includes_winsock2
        !          35585:         $curl_includes_netif
        !          35586: 
        !          35587: int main (void)
        !          35588: {
        !          35589: 
        !          35590:         if(0 != if_nametoindex(""))
        !          35591:           return 1;
        !          35592: 
        !          35593:  ;
        !          35594:  return 0;
        !          35595: }
        !          35596: 
        !          35597: _ACEOF
        !          35598: if ac_fn_c_try_compile "$LINENO"; then :
        !          35599: 
        !          35600:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35601: $as_echo "yes" >&6; }
        !          35602:       tst_compi_if_nametoindex="yes"
        !          35603: 
        !          35604: else
        !          35605: 
        !          35606:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35607: $as_echo "no" >&6; }
        !          35608:       tst_compi_if_nametoindex="no"
        !          35609: 
        !          35610: fi
        !          35611: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          35612:   fi
        !          35613:   #
        !          35614:   if test "$tst_compi_if_nametoindex" = "yes"; then
        !          35615:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex usage allowed" >&5
        !          35616: $as_echo_n "checking if if_nametoindex usage allowed... " >&6; }
        !          35617:     if test "x$curl_disallow_if_nametoindex" != "xyes"; then
        !          35618:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35619: $as_echo "yes" >&6; }
        !          35620:       tst_allow_if_nametoindex="yes"
        !          35621:     else
        !          35622:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35623: $as_echo "no" >&6; }
        !          35624:       tst_allow_if_nametoindex="no"
        !          35625:     fi
        !          35626:   fi
        !          35627:   #
        !          35628:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex might be used" >&5
        !          35629: $as_echo_n "checking if if_nametoindex might be used... " >&6; }
        !          35630:   if test "$tst_links_if_nametoindex" = "yes" &&
        !          35631:      test "$tst_proto_if_nametoindex" = "yes" &&
        !          35632:      test "$tst_compi_if_nametoindex" = "yes" &&
        !          35633:      test "$tst_allow_if_nametoindex" = "yes"; then
        !          35634:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35635: $as_echo "yes" >&6; }
        !          35636: 
        !          35637: cat >>confdefs.h <<_ACEOF
        !          35638: #define HAVE_IF_NAMETOINDEX 1
        !          35639: _ACEOF
        !          35640: 
        !          35641:     curl_cv_func_if_nametoindex="yes"
        !          35642:   else
        !          35643:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35644: $as_echo "no" >&6; }
        !          35645:     curl_cv_func_if_nametoindex="no"
        !          35646:   fi
        !          35647: 
        !          35648: 
        !          35649:       #
        !          35650:   tst_links_getifaddrs="unknown"
        !          35651:   tst_proto_getifaddrs="unknown"
        !          35652:   tst_compi_getifaddrs="unknown"
        !          35653:   tst_works_getifaddrs="unknown"
        !          35654:   tst_allow_getifaddrs="unknown"
        !          35655:   #
        !          35656:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getifaddrs can be linked" >&5
        !          35657: $as_echo_n "checking if getifaddrs can be linked... " >&6; }
        !          35658:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          35659: /* end confdefs.h.  */
        !          35660: 
        !          35661: 
        !          35662: #define getifaddrs innocuous_getifaddrs
        !          35663: #ifdef __STDC__
        !          35664: # include <limits.h>
        !          35665: #else
        !          35666: # include <assert.h>
        !          35667: #endif
        !          35668: #undef getifaddrs
        !          35669: #ifdef __cplusplus
        !          35670: extern "C"
        !          35671: #endif
        !          35672: char getifaddrs ();
        !          35673: #if defined __stub_getifaddrs || defined __stub___getifaddrs
        !          35674: choke me
        !          35675: #endif
        !          35676: 
        !          35677: int main (void)
        !          35678: {
        !          35679: return getifaddrs ();
        !          35680:  ;
        !          35681:  return 0;
        !          35682: }
        !          35683: 
        !          35684: _ACEOF
        !          35685: if ac_fn_c_try_link "$LINENO"; then :
        !          35686: 
        !          35687:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35688: $as_echo "yes" >&6; }
        !          35689:     tst_links_getifaddrs="yes"
        !          35690: 
        !          35691: else
        !          35692: 
        !          35693:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35694: $as_echo "no" >&6; }
        !          35695:     tst_links_getifaddrs="no"
        !          35696: 
        !          35697: fi
        !          35698: rm -f core conftest.err conftest.$ac_objext \
        !          35699:     conftest$ac_exeext conftest.$ac_ext
        !          35700:   #
        !          35701:   if test "$tst_links_getifaddrs" = "yes"; then
        !          35702:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getifaddrs is prototyped" >&5
        !          35703: $as_echo_n "checking if getifaddrs is prototyped... " >&6; }
        !          35704:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          35705: /* end confdefs.h.  */
        !          35706: 
        !          35707:       $curl_includes_ifaddrs
        !          35708: 
        !          35709: _ACEOF
        !          35710: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          35711:   $EGREP "getifaddrs" >/dev/null 2>&1; then :
        !          35712: 
        !          35713:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35714: $as_echo "yes" >&6; }
        !          35715:       tst_proto_getifaddrs="yes"
        !          35716: 
        !          35717: else
        !          35718: 
        !          35719:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35720: $as_echo "no" >&6; }
        !          35721:       tst_proto_getifaddrs="no"
        !          35722: 
        !          35723: fi
        !          35724: rm -f conftest*
        !          35725: 
        !          35726:   fi
        !          35727:   #
        !          35728:   if test "$tst_proto_getifaddrs" = "yes"; then
        !          35729:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getifaddrs is compilable" >&5
        !          35730: $as_echo_n "checking if getifaddrs is compilable... " >&6; }
        !          35731:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          35732: /* end confdefs.h.  */
        !          35733: 
        !          35734: 
        !          35735:         $curl_includes_ifaddrs
        !          35736: 
        !          35737: int main (void)
        !          35738: {
        !          35739: 
        !          35740:         if(0 != getifaddrs(0))
        !          35741:           return 1;
        !          35742: 
        !          35743:  ;
        !          35744:  return 0;
        !          35745: }
        !          35746: 
        !          35747: _ACEOF
        !          35748: if ac_fn_c_try_compile "$LINENO"; then :
        !          35749: 
        !          35750:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35751: $as_echo "yes" >&6; }
        !          35752:       tst_compi_getifaddrs="yes"
        !          35753: 
        !          35754: else
        !          35755: 
        !          35756:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35757: $as_echo "no" >&6; }
        !          35758:       tst_compi_getifaddrs="no"
        !          35759: 
        !          35760: fi
        !          35761: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          35762:   fi
        !          35763:   #
        !          35764:     if test "x$cross_compiling" != "xyes" &&
        !          35765:     test "$tst_compi_getifaddrs" = "yes"; then
        !          35766:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getifaddrs seems to work" >&5
        !          35767: $as_echo_n "checking if getifaddrs seems to work... " >&6; }
        !          35768: 
        !          35769:    old=$LD_LIBRARY_PATH
        !          35770:    LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
        !          35771:    export LD_LIBRARY_PATH
        !          35772:    if test "$cross_compiling" = yes; then :
        !          35773:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          35774: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          35775: as_fn_error $? "cannot run test program while cross compiling
        !          35776: See \`config.log' for more details" "$LINENO" 5; }
        !          35777: else
        !          35778:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          35779: /* end confdefs.h.  */
        !          35780: 
        !          35781: 
        !          35782:         $curl_includes_stdlib
        !          35783:         $curl_includes_ifaddrs
        !          35784: 
        !          35785: int main (void)
        !          35786: {
        !          35787: 
        !          35788:         struct ifaddrs *ifa = 0;
        !          35789:         int error;
        !          35790: 
        !          35791:         error = getifaddrs(&ifa);
        !          35792:         if(error || !ifa)
        !          35793:           exit(1); /* fail */
        !          35794:         else
        !          35795:           exit(0);
        !          35796: 
        !          35797:  ;
        !          35798:  return 0;
        !          35799: }
        !          35800: 
        !          35801: _ACEOF
        !          35802: if ac_fn_c_try_run "$LINENO"; then :
        !          35803:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35804: $as_echo "yes" >&6; }
        !          35805:       tst_works_getifaddrs="yes"
        !          35806: 
        !          35807: else
        !          35808:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35809: $as_echo "no" >&6; }
        !          35810:       tst_works_getifaddrs="no"
        !          35811: 
        !          35812: fi
        !          35813: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          35814:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          35815: fi
        !          35816: 
        !          35817:    LD_LIBRARY_PATH=$old # restore
        !          35818: 
        !          35819:   fi
        !          35820:   #
        !          35821:   if test "$tst_compi_getifaddrs" = "yes" &&
        !          35822:     test "$tst_works_getifaddrs" != "no"; then
        !          35823:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getifaddrs usage allowed" >&5
        !          35824: $as_echo_n "checking if getifaddrs usage allowed... " >&6; }
        !          35825:     if test "x$curl_disallow_getifaddrs" != "xyes"; then
        !          35826:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35827: $as_echo "yes" >&6; }
        !          35828:       tst_allow_getifaddrs="yes"
        !          35829:     else
        !          35830:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35831: $as_echo "no" >&6; }
        !          35832:       tst_allow_getifaddrs="no"
        !          35833:     fi
        !          35834:   fi
        !          35835:   #
        !          35836:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getifaddrs might be used" >&5
        !          35837: $as_echo_n "checking if getifaddrs might be used... " >&6; }
        !          35838:   if test "$tst_links_getifaddrs" = "yes" &&
        !          35839:      test "$tst_proto_getifaddrs" = "yes" &&
        !          35840:      test "$tst_compi_getifaddrs" = "yes" &&
        !          35841:      test "$tst_allow_getifaddrs" = "yes" &&
        !          35842:      test "$tst_works_getifaddrs" != "no"; then
        !          35843:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35844: $as_echo "yes" >&6; }
        !          35845: 
        !          35846: cat >>confdefs.h <<_ACEOF
        !          35847: #define HAVE_GETIFADDRS 1
        !          35848: _ACEOF
        !          35849: 
        !          35850:     curl_cv_func_getifaddrs="yes"
        !          35851:   else
        !          35852:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35853: $as_echo "no" >&6; }
        !          35854:     curl_cv_func_getifaddrs="no"
        !          35855:   fi
        !          35856: 
        !          35857: 
        !          35858:     #
        !          35859:   tst_links_getservbyport_r="unknown"
        !          35860:   tst_proto_getservbyport_r="unknown"
        !          35861:   tst_compi_getservbyport_r="unknown"
        !          35862:   tst_allow_getservbyport_r="unknown"
        !          35863:   tst_nargs_getservbyport_r="unknown"
        !          35864:   #
        !          35865:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r can be linked" >&5
        !          35866: $as_echo_n "checking if getservbyport_r can be linked... " >&6; }
        !          35867:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          35868: /* end confdefs.h.  */
        !          35869: 
        !          35870: 
        !          35871: #define getservbyport_r innocuous_getservbyport_r
        !          35872: #ifdef __STDC__
        !          35873: # include <limits.h>
        !          35874: #else
        !          35875: # include <assert.h>
        !          35876: #endif
        !          35877: #undef getservbyport_r
        !          35878: #ifdef __cplusplus
        !          35879: extern "C"
        !          35880: #endif
        !          35881: char getservbyport_r ();
        !          35882: #if defined __stub_getservbyport_r || defined __stub___getservbyport_r
        !          35883: choke me
        !          35884: #endif
        !          35885: 
        !          35886: int main (void)
        !          35887: {
        !          35888: return getservbyport_r ();
        !          35889:  ;
        !          35890:  return 0;
        !          35891: }
        !          35892: 
        !          35893: _ACEOF
        !          35894: if ac_fn_c_try_link "$LINENO"; then :
        !          35895: 
        !          35896:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35897: $as_echo "yes" >&6; }
        !          35898:     tst_links_getservbyport_r="yes"
        !          35899: 
        !          35900: else
        !          35901: 
        !          35902:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35903: $as_echo "no" >&6; }
        !          35904:     tst_links_getservbyport_r="no"
        !          35905: 
        !          35906: fi
        !          35907: rm -f core conftest.err conftest.$ac_objext \
        !          35908:     conftest$ac_exeext conftest.$ac_ext
        !          35909:   #
        !          35910:   if test "$tst_links_getservbyport_r" = "yes"; then
        !          35911:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r is prototyped" >&5
        !          35912: $as_echo_n "checking if getservbyport_r is prototyped... " >&6; }
        !          35913:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          35914: /* end confdefs.h.  */
        !          35915: 
        !          35916:       $curl_includes_netdb
        !          35917: 
        !          35918: _ACEOF
        !          35919: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          35920:   $EGREP "getservbyport_r" >/dev/null 2>&1; then :
        !          35921: 
        !          35922:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35923: $as_echo "yes" >&6; }
        !          35924:       tst_proto_getservbyport_r="yes"
        !          35925: 
        !          35926: else
        !          35927: 
        !          35928:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35929: $as_echo "no" >&6; }
        !          35930:       tst_proto_getservbyport_r="no"
        !          35931: 
        !          35932: fi
        !          35933: rm -f conftest*
        !          35934: 
        !          35935:   fi
        !          35936:   #
        !          35937:   if test "$tst_proto_getservbyport_r" = "yes"; then
        !          35938:     if test "$tst_nargs_getservbyport_r" = "unknown"; then
        !          35939:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r takes 4 args." >&5
        !          35940: $as_echo_n "checking if getservbyport_r takes 4 args.... " >&6; }
        !          35941:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          35942: /* end confdefs.h.  */
        !          35943: 
        !          35944: 
        !          35945:           $curl_includes_netdb
        !          35946: 
        !          35947: int main (void)
        !          35948: {
        !          35949: 
        !          35950:           if(0 != getservbyport_r(0, 0, 0, 0))
        !          35951:             return 1;
        !          35952: 
        !          35953:  ;
        !          35954:  return 0;
        !          35955: }
        !          35956: 
        !          35957: _ACEOF
        !          35958: if ac_fn_c_try_compile "$LINENO"; then :
        !          35959: 
        !          35960:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35961: $as_echo "yes" >&6; }
        !          35962:         tst_compi_getservbyport_r="yes"
        !          35963:         tst_nargs_getservbyport_r="4"
        !          35964: 
        !          35965: else
        !          35966: 
        !          35967:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          35968: $as_echo "no" >&6; }
        !          35969:         tst_compi_getservbyport_r="no"
        !          35970: 
        !          35971: fi
        !          35972: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          35973:     fi
        !          35974:     if test "$tst_nargs_getservbyport_r" = "unknown"; then
        !          35975:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r takes 5 args." >&5
        !          35976: $as_echo_n "checking if getservbyport_r takes 5 args.... " >&6; }
        !          35977:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          35978: /* end confdefs.h.  */
        !          35979: 
        !          35980: 
        !          35981:           $curl_includes_netdb
        !          35982: 
        !          35983: int main (void)
        !          35984: {
        !          35985: 
        !          35986:           if(0 != getservbyport_r(0, 0, 0, 0, 0))
        !          35987:             return 1;
        !          35988: 
        !          35989:  ;
        !          35990:  return 0;
        !          35991: }
        !          35992: 
        !          35993: _ACEOF
        !          35994: if ac_fn_c_try_compile "$LINENO"; then :
        !          35995: 
        !          35996:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          35997: $as_echo "yes" >&6; }
        !          35998:         tst_compi_getservbyport_r="yes"
        !          35999:         tst_nargs_getservbyport_r="5"
        !          36000: 
        !          36001: else
        !          36002: 
        !          36003:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36004: $as_echo "no" >&6; }
        !          36005:         tst_compi_getservbyport_r="no"
        !          36006: 
        !          36007: fi
        !          36008: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          36009:     fi
        !          36010:     if test "$tst_nargs_getservbyport_r" = "unknown"; then
        !          36011:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r takes 6 args." >&5
        !          36012: $as_echo_n "checking if getservbyport_r takes 6 args.... " >&6; }
        !          36013:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          36014: /* end confdefs.h.  */
        !          36015: 
        !          36016: 
        !          36017:           $curl_includes_netdb
        !          36018: 
        !          36019: int main (void)
        !          36020: {
        !          36021: 
        !          36022:           if(0 != getservbyport_r(0, 0, 0, 0, 0, 0))
        !          36023:             return 1;
        !          36024: 
        !          36025:  ;
        !          36026:  return 0;
        !          36027: }
        !          36028: 
        !          36029: _ACEOF
        !          36030: if ac_fn_c_try_compile "$LINENO"; then :
        !          36031: 
        !          36032:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36033: $as_echo "yes" >&6; }
        !          36034:         tst_compi_getservbyport_r="yes"
        !          36035:         tst_nargs_getservbyport_r="6"
        !          36036: 
        !          36037: else
        !          36038: 
        !          36039:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36040: $as_echo "no" >&6; }
        !          36041:         tst_compi_getservbyport_r="no"
        !          36042: 
        !          36043: fi
        !          36044: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          36045:     fi
        !          36046:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r is compilable" >&5
        !          36047: $as_echo_n "checking if getservbyport_r is compilable... " >&6; }
        !          36048:     if test "$tst_compi_getservbyport_r" = "yes"; then
        !          36049:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36050: $as_echo "yes" >&6; }
        !          36051:     else
        !          36052:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36053: $as_echo "no" >&6; }
        !          36054:     fi
        !          36055:   fi
        !          36056:   #
        !          36057:   if test "$tst_compi_getservbyport_r" = "yes"; then
        !          36058:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r usage allowed" >&5
        !          36059: $as_echo_n "checking if getservbyport_r usage allowed... " >&6; }
        !          36060:     if test "x$curl_disallow_getservbyport_r" != "xyes"; then
        !          36061:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36062: $as_echo "yes" >&6; }
        !          36063:       tst_allow_getservbyport_r="yes"
        !          36064:     else
        !          36065:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36066: $as_echo "no" >&6; }
        !          36067:       tst_allow_getservbyport_r="no"
        !          36068:     fi
        !          36069:   fi
        !          36070:   #
        !          36071:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r might be used" >&5
        !          36072: $as_echo_n "checking if getservbyport_r might be used... " >&6; }
        !          36073:   if test "$tst_links_getservbyport_r" = "yes" &&
        !          36074:      test "$tst_proto_getservbyport_r" = "yes" &&
        !          36075:      test "$tst_compi_getservbyport_r" = "yes" &&
        !          36076:      test "$tst_allow_getservbyport_r" = "yes"; then
        !          36077:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36078: $as_echo "yes" >&6; }
        !          36079: 
        !          36080: cat >>confdefs.h <<_ACEOF
        !          36081: #define HAVE_GETSERVBYPORT_R 1
        !          36082: _ACEOF
        !          36083: 
        !          36084: 
        !          36085: cat >>confdefs.h <<_ACEOF
        !          36086: #define GETSERVBYPORT_R_ARGS $tst_nargs_getservbyport_r
        !          36087: _ACEOF
        !          36088: 
        !          36089:     if test "$tst_nargs_getservbyport_r" -eq "4"; then
        !          36090: 
        !          36091: $as_echo "#define GETSERVBYPORT_R_BUFSIZE sizeof(struct servent_data)" >>confdefs.h
        !          36092: 
        !          36093:     else
        !          36094: 
        !          36095: $as_echo "#define GETSERVBYPORT_R_BUFSIZE 4096" >>confdefs.h
        !          36096: 
        !          36097:     fi
        !          36098:     curl_cv_func_getservbyport_r="yes"
        !          36099:   else
        !          36100:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36101: $as_echo "no" >&6; }
        !          36102:     curl_cv_func_getservbyport_r="no"
        !          36103:   fi
        !          36104: 
        !          36105: 
        !          36106: curl_includes_time="\
        !          36107: /* includes start */
        !          36108: #ifdef HAVE_SYS_TYPES_H
        !          36109: #  include <sys/types.h>
        !          36110: #endif
        !          36111: #ifdef HAVE_SYS_TIME_H
        !          36112: #  include <sys/time.h>
        !          36113: #  ifdef TIME_WITH_SYS_TIME
        !          36114: #    include <time.h>
        !          36115: #  endif
        !          36116: #else
        !          36117: #  ifdef HAVE_TIME_H
        !          36118: #    include <time.h>
        !          36119: #  endif
        !          36120: #endif
        !          36121: /* includes end */"
        !          36122:   for ac_header in sys/types.h sys/time.h time.h
        !          36123: do :
        !          36124:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          36125: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_time
        !          36126: "
        !          36127: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          36128:   cat >>confdefs.h <<_ACEOF
        !          36129: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          36130: _ACEOF
        !          36131: 
        !          36132: fi
        !          36133: 
        !          36134: done
        !          36135: 
        !          36136: 
        !          36137: 
        !          36138:       #
        !          36139:   tst_links_gmtime_r="unknown"
        !          36140:   tst_proto_gmtime_r="unknown"
        !          36141:   tst_compi_gmtime_r="unknown"
        !          36142:   tst_works_gmtime_r="unknown"
        !          36143:   tst_allow_gmtime_r="unknown"
        !          36144:   #
        !          36145:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmtime_r can be linked" >&5
        !          36146: $as_echo_n "checking if gmtime_r can be linked... " >&6; }
        !          36147:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          36148: /* end confdefs.h.  */
        !          36149: 
        !          36150: 
        !          36151: #define gmtime_r innocuous_gmtime_r
        !          36152: #ifdef __STDC__
        !          36153: # include <limits.h>
        !          36154: #else
        !          36155: # include <assert.h>
        !          36156: #endif
        !          36157: #undef gmtime_r
        !          36158: #ifdef __cplusplus
        !          36159: extern "C"
        !          36160: #endif
        !          36161: char gmtime_r ();
        !          36162: #if defined __stub_gmtime_r || defined __stub___gmtime_r
        !          36163: choke me
        !          36164: #endif
        !          36165: 
        !          36166: int main (void)
        !          36167: {
        !          36168: return gmtime_r ();
        !          36169:  ;
        !          36170:  return 0;
        !          36171: }
        !          36172: 
        !          36173: _ACEOF
        !          36174: if ac_fn_c_try_link "$LINENO"; then :
        !          36175: 
        !          36176:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36177: $as_echo "yes" >&6; }
        !          36178:     tst_links_gmtime_r="yes"
        !          36179: 
        !          36180: else
        !          36181: 
        !          36182:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36183: $as_echo "no" >&6; }
        !          36184:     tst_links_gmtime_r="no"
        !          36185: 
        !          36186: fi
        !          36187: rm -f core conftest.err conftest.$ac_objext \
        !          36188:     conftest$ac_exeext conftest.$ac_ext
        !          36189:   #
        !          36190:   if test "$tst_links_gmtime_r" = "yes"; then
        !          36191:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmtime_r is prototyped" >&5
        !          36192: $as_echo_n "checking if gmtime_r is prototyped... " >&6; }
        !          36193:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          36194: /* end confdefs.h.  */
        !          36195: 
        !          36196:       $curl_includes_time
        !          36197: 
        !          36198: _ACEOF
        !          36199: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          36200:   $EGREP "gmtime_r" >/dev/null 2>&1; then :
        !          36201: 
        !          36202:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36203: $as_echo "yes" >&6; }
        !          36204:       tst_proto_gmtime_r="yes"
        !          36205: 
        !          36206: else
        !          36207: 
        !          36208:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36209: $as_echo "no" >&6; }
        !          36210:       tst_proto_gmtime_r="no"
        !          36211: 
        !          36212: fi
        !          36213: rm -f conftest*
        !          36214: 
        !          36215:   fi
        !          36216:   #
        !          36217:   if test "$tst_proto_gmtime_r" = "yes"; then
        !          36218:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmtime_r is compilable" >&5
        !          36219: $as_echo_n "checking if gmtime_r is compilable... " >&6; }
        !          36220:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          36221: /* end confdefs.h.  */
        !          36222: 
        !          36223: 
        !          36224:         $curl_includes_time
        !          36225: 
        !          36226: int main (void)
        !          36227: {
        !          36228: 
        !          36229:         if(0 != gmtime_r(0, 0))
        !          36230:           return 1;
        !          36231: 
        !          36232:  ;
        !          36233:  return 0;
        !          36234: }
        !          36235: 
        !          36236: _ACEOF
        !          36237: if ac_fn_c_try_compile "$LINENO"; then :
        !          36238: 
        !          36239:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36240: $as_echo "yes" >&6; }
        !          36241:       tst_compi_gmtime_r="yes"
        !          36242: 
        !          36243: else
        !          36244: 
        !          36245:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36246: $as_echo "no" >&6; }
        !          36247:       tst_compi_gmtime_r="no"
        !          36248: 
        !          36249: fi
        !          36250: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          36251:   fi
        !          36252:   #
        !          36253:     if test "x$cross_compiling" != "xyes" &&
        !          36254:     test "$tst_compi_gmtime_r" = "yes"; then
        !          36255:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmtime_r seems to work" >&5
        !          36256: $as_echo_n "checking if gmtime_r seems to work... " >&6; }
        !          36257: 
        !          36258:    old=$LD_LIBRARY_PATH
        !          36259:    LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
        !          36260:    export LD_LIBRARY_PATH
        !          36261:    if test "$cross_compiling" = yes; then :
        !          36262:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          36263: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          36264: as_fn_error $? "cannot run test program while cross compiling
        !          36265: See \`config.log' for more details" "$LINENO" 5; }
        !          36266: else
        !          36267:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          36268: /* end confdefs.h.  */
        !          36269: 
        !          36270: 
        !          36271:         $curl_includes_stdlib
        !          36272:         $curl_includes_time
        !          36273: 
        !          36274: int main (void)
        !          36275: {
        !          36276: 
        !          36277:         time_t local = 1170352587;
        !          36278:         struct tm *gmt = 0;
        !          36279:         struct tm result;
        !          36280:         gmt = gmtime_r(&local, &result);
        !          36281:         if(gmt)
        !          36282:           exit(0);
        !          36283:         else
        !          36284:           exit(1);
        !          36285: 
        !          36286:  ;
        !          36287:  return 0;
        !          36288: }
        !          36289: 
        !          36290: _ACEOF
        !          36291: if ac_fn_c_try_run "$LINENO"; then :
        !          36292:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36293: $as_echo "yes" >&6; }
        !          36294:       tst_works_gmtime_r="yes"
        !          36295: 
        !          36296: else
        !          36297:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36298: $as_echo "no" >&6; }
        !          36299:       tst_works_gmtime_r="no"
        !          36300: 
        !          36301: fi
        !          36302: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          36303:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          36304: fi
        !          36305: 
        !          36306:    LD_LIBRARY_PATH=$old # restore
        !          36307: 
        !          36308:   fi
        !          36309:   #
        !          36310:   if test "$tst_compi_gmtime_r" = "yes" &&
        !          36311:     test "$tst_works_gmtime_r" != "no"; then
        !          36312:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmtime_r usage allowed" >&5
        !          36313: $as_echo_n "checking if gmtime_r usage allowed... " >&6; }
        !          36314:     if test "x$curl_disallow_gmtime_r" != "xyes"; then
        !          36315:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36316: $as_echo "yes" >&6; }
        !          36317:       tst_allow_gmtime_r="yes"
        !          36318:     else
        !          36319:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36320: $as_echo "no" >&6; }
        !          36321:       tst_allow_gmtime_r="no"
        !          36322:     fi
        !          36323:   fi
        !          36324:   #
        !          36325:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmtime_r might be used" >&5
        !          36326: $as_echo_n "checking if gmtime_r might be used... " >&6; }
        !          36327:   if test "$tst_links_gmtime_r" = "yes" &&
        !          36328:      test "$tst_proto_gmtime_r" = "yes" &&
        !          36329:      test "$tst_compi_gmtime_r" = "yes" &&
        !          36330:      test "$tst_allow_gmtime_r" = "yes" &&
        !          36331:      test "$tst_works_gmtime_r" != "no"; then
        !          36332:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36333: $as_echo "yes" >&6; }
        !          36334: 
        !          36335: cat >>confdefs.h <<_ACEOF
        !          36336: #define HAVE_GMTIME_R 1
        !          36337: _ACEOF
        !          36338: 
        !          36339:     curl_cv_func_gmtime_r="yes"
        !          36340:   else
        !          36341:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36342: $as_echo "no" >&6; }
        !          36343:     curl_cv_func_gmtime_r="no"
        !          36344:   fi
        !          36345: 
        !          36346: 
        !          36347: curl_includes_arpa_inet="\
        !          36348: /* includes start */
        !          36349: #ifdef HAVE_SYS_TYPES_H
        !          36350: #  include <sys/types.h>
        !          36351: #endif
        !          36352: #ifdef HAVE_SYS_SOCKET_H
        !          36353: #  include <sys/socket.h>
        !          36354: #endif
        !          36355: #ifdef HAVE_NETINET_IN_H
        !          36356: #  include <netinet/in.h>
        !          36357: #endif
        !          36358: #ifdef HAVE_ARPA_INET_H
        !          36359: #  include <arpa/inet.h>
        !          36360: #endif
        !          36361: #ifdef HAVE_WINSOCK2_H
        !          36362: #include <winsock2.h>
        !          36363: #include <ws2tcpip.h>
        !          36364: #endif
        !          36365: /* includes end */"
        !          36366:   for ac_header in sys/types.h sys/socket.h netinet/in.h arpa/inet.h
        !          36367: do :
        !          36368:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          36369: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_arpa_inet
        !          36370: "
        !          36371: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          36372:   cat >>confdefs.h <<_ACEOF
        !          36373: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          36374: _ACEOF
        !          36375: 
        !          36376: fi
        !          36377: 
        !          36378: done
        !          36379: 
        !          36380: 
        !          36381: 
        !          36382:     #
        !          36383:   tst_links_inet_ntoa_r="unknown"
        !          36384:   tst_proto_inet_ntoa_r="unknown"
        !          36385:   tst_compi_inet_ntoa_r="unknown"
        !          36386:   tst_allow_inet_ntoa_r="unknown"
        !          36387:   tst_nargs_inet_ntoa_r="unknown"
        !          36388:   #
        !          36389:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r can be linked" >&5
        !          36390: $as_echo_n "checking if inet_ntoa_r can be linked... " >&6; }
        !          36391:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          36392: /* end confdefs.h.  */
        !          36393: 
        !          36394: 
        !          36395: #define inet_ntoa_r innocuous_inet_ntoa_r
        !          36396: #ifdef __STDC__
        !          36397: # include <limits.h>
        !          36398: #else
        !          36399: # include <assert.h>
        !          36400: #endif
        !          36401: #undef inet_ntoa_r
        !          36402: #ifdef __cplusplus
        !          36403: extern "C"
        !          36404: #endif
        !          36405: char inet_ntoa_r ();
        !          36406: #if defined __stub_inet_ntoa_r || defined __stub___inet_ntoa_r
        !          36407: choke me
        !          36408: #endif
        !          36409: 
        !          36410: int main (void)
        !          36411: {
        !          36412: return inet_ntoa_r ();
        !          36413:  ;
        !          36414:  return 0;
        !          36415: }
        !          36416: 
        !          36417: _ACEOF
        !          36418: if ac_fn_c_try_link "$LINENO"; then :
        !          36419: 
        !          36420:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36421: $as_echo "yes" >&6; }
        !          36422:     tst_links_inet_ntoa_r="yes"
        !          36423: 
        !          36424: else
        !          36425: 
        !          36426:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36427: $as_echo "no" >&6; }
        !          36428:     tst_links_inet_ntoa_r="no"
        !          36429: 
        !          36430: fi
        !          36431: rm -f core conftest.err conftest.$ac_objext \
        !          36432:     conftest$ac_exeext conftest.$ac_ext
        !          36433:   #
        !          36434:   if test "$tst_links_inet_ntoa_r" = "yes"; then
        !          36435:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r is prototyped" >&5
        !          36436: $as_echo_n "checking if inet_ntoa_r is prototyped... " >&6; }
        !          36437:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          36438: /* end confdefs.h.  */
        !          36439: 
        !          36440:       $curl_includes_arpa_inet
        !          36441: 
        !          36442: _ACEOF
        !          36443: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          36444:   $EGREP "inet_ntoa_r" >/dev/null 2>&1; then :
        !          36445: 
        !          36446:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36447: $as_echo "yes" >&6; }
        !          36448:       tst_proto_inet_ntoa_r="yes"
        !          36449: 
        !          36450: else
        !          36451: 
        !          36452:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36453: $as_echo "no" >&6; }
        !          36454:       tst_proto_inet_ntoa_r="no"
        !          36455: 
        !          36456: fi
        !          36457: rm -f conftest*
        !          36458: 
        !          36459:   fi
        !          36460:   #
        !          36461:   if test "$tst_proto_inet_ntoa_r" = "yes"; then
        !          36462:     if test "$tst_nargs_inet_ntoa_r" = "unknown"; then
        !          36463:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r takes 2 args." >&5
        !          36464: $as_echo_n "checking if inet_ntoa_r takes 2 args.... " >&6; }
        !          36465:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          36466: /* end confdefs.h.  */
        !          36467: 
        !          36468: 
        !          36469:           $curl_includes_arpa_inet
        !          36470: 
        !          36471: int main (void)
        !          36472: {
        !          36473: 
        !          36474:           struct in_addr addr;
        !          36475:           if(0 != inet_ntoa_r(addr, 0))
        !          36476:             return 1;
        !          36477: 
        !          36478:  ;
        !          36479:  return 0;
        !          36480: }
        !          36481: 
        !          36482: _ACEOF
        !          36483: if ac_fn_c_try_compile "$LINENO"; then :
        !          36484: 
        !          36485:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36486: $as_echo "yes" >&6; }
        !          36487:         tst_compi_inet_ntoa_r="yes"
        !          36488:         tst_nargs_inet_ntoa_r="2"
        !          36489: 
        !          36490: else
        !          36491: 
        !          36492:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36493: $as_echo "no" >&6; }
        !          36494:         tst_compi_inet_ntoa_r="no"
        !          36495: 
        !          36496: fi
        !          36497: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          36498:     fi
        !          36499:     if test "$tst_nargs_inet_ntoa_r" = "unknown"; then
        !          36500:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r takes 3 args." >&5
        !          36501: $as_echo_n "checking if inet_ntoa_r takes 3 args.... " >&6; }
        !          36502:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          36503: /* end confdefs.h.  */
        !          36504: 
        !          36505: 
        !          36506:           $curl_includes_arpa_inet
        !          36507: 
        !          36508: int main (void)
        !          36509: {
        !          36510: 
        !          36511:           struct in_addr addr;
        !          36512:           if(0 != inet_ntoa_r(addr, 0, 0))
        !          36513:             return 1;
        !          36514: 
        !          36515:  ;
        !          36516:  return 0;
        !          36517: }
        !          36518: 
        !          36519: _ACEOF
        !          36520: if ac_fn_c_try_compile "$LINENO"; then :
        !          36521: 
        !          36522:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36523: $as_echo "yes" >&6; }
        !          36524:         tst_compi_inet_ntoa_r="yes"
        !          36525:         tst_nargs_inet_ntoa_r="3"
        !          36526: 
        !          36527: else
        !          36528: 
        !          36529:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36530: $as_echo "no" >&6; }
        !          36531:         tst_compi_inet_ntoa_r="no"
        !          36532: 
        !          36533: fi
        !          36534: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          36535:     fi
        !          36536:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r is compilable" >&5
        !          36537: $as_echo_n "checking if inet_ntoa_r is compilable... " >&6; }
        !          36538:     if test "$tst_compi_inet_ntoa_r" = "yes"; then
        !          36539:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36540: $as_echo "yes" >&6; }
        !          36541:     else
        !          36542:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36543: $as_echo "no" >&6; }
        !          36544:     fi
        !          36545:   fi
        !          36546:   #
        !          36547:   if test "$tst_compi_inet_ntoa_r" = "yes"; then
        !          36548:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r usage allowed" >&5
        !          36549: $as_echo_n "checking if inet_ntoa_r usage allowed... " >&6; }
        !          36550:     if test "x$curl_disallow_inet_ntoa_r" != "xyes"; then
        !          36551:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36552: $as_echo "yes" >&6; }
        !          36553:       tst_allow_inet_ntoa_r="yes"
        !          36554:     else
        !          36555:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36556: $as_echo "no" >&6; }
        !          36557:       tst_allow_inet_ntoa_r="no"
        !          36558:     fi
        !          36559:   fi
        !          36560:   #
        !          36561:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r might be used" >&5
        !          36562: $as_echo_n "checking if inet_ntoa_r might be used... " >&6; }
        !          36563:   if test "$tst_links_inet_ntoa_r" = "yes" &&
        !          36564:      test "$tst_proto_inet_ntoa_r" = "yes" &&
        !          36565:      test "$tst_compi_inet_ntoa_r" = "yes" &&
        !          36566:      test "$tst_allow_inet_ntoa_r" = "yes"; then
        !          36567:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36568: $as_echo "yes" >&6; }
        !          36569: 
        !          36570: cat >>confdefs.h <<_ACEOF
        !          36571: #define HAVE_INET_NTOA_R 1
        !          36572: _ACEOF
        !          36573: 
        !          36574:             #
        !          36575:     if test "$tst_nargs_inet_ntoa_r" -eq "2"; then
        !          36576: 
        !          36577: $as_echo "#define HAVE_INET_NTOA_R_2 1" >>confdefs.h
        !          36578: 
        !          36579:     elif test "$tst_nargs_inet_ntoa_r" -eq "3"; then
        !          36580: 
        !          36581: $as_echo "#define HAVE_INET_NTOA_R_3 1" >>confdefs.h
        !          36582: 
        !          36583:     fi
        !          36584:     #
        !          36585:     curl_cv_func_inet_ntoa_r="yes"
        !          36586:   else
        !          36587:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36588: $as_echo "no" >&6; }
        !          36589:     curl_cv_func_inet_ntoa_r="no"
        !          36590:   fi
        !          36591: 
        !          36592: 
        !          36593:         #
        !          36594:   tst_links_inet_ntop="unknown"
        !          36595:   tst_proto_inet_ntop="unknown"
        !          36596:   tst_compi_inet_ntop="unknown"
        !          36597:   tst_works_inet_ntop="unknown"
        !          36598:   tst_allow_inet_ntop="unknown"
        !          36599:   #
        !          36600:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop can be linked" >&5
        !          36601: $as_echo_n "checking if inet_ntop can be linked... " >&6; }
        !          36602:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          36603: /* end confdefs.h.  */
        !          36604: 
        !          36605: 
        !          36606: #define inet_ntop innocuous_inet_ntop
        !          36607: #ifdef __STDC__
        !          36608: # include <limits.h>
        !          36609: #else
        !          36610: # include <assert.h>
        !          36611: #endif
        !          36612: #undef inet_ntop
        !          36613: #ifdef __cplusplus
        !          36614: extern "C"
        !          36615: #endif
        !          36616: char inet_ntop ();
        !          36617: #if defined __stub_inet_ntop || defined __stub___inet_ntop
        !          36618: choke me
        !          36619: #endif
        !          36620: 
        !          36621: int main (void)
        !          36622: {
        !          36623: return inet_ntop ();
        !          36624:  ;
        !          36625:  return 0;
        !          36626: }
        !          36627: 
        !          36628: _ACEOF
        !          36629: if ac_fn_c_try_link "$LINENO"; then :
        !          36630: 
        !          36631:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36632: $as_echo "yes" >&6; }
        !          36633:     tst_links_inet_ntop="yes"
        !          36634: 
        !          36635: else
        !          36636: 
        !          36637:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36638: $as_echo "no" >&6; }
        !          36639:     tst_links_inet_ntop="no"
        !          36640: 
        !          36641: fi
        !          36642: rm -f core conftest.err conftest.$ac_objext \
        !          36643:     conftest$ac_exeext conftest.$ac_ext
        !          36644:   #
        !          36645:   if test "$tst_links_inet_ntop" = "yes"; then
        !          36646:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop is prototyped" >&5
        !          36647: $as_echo_n "checking if inet_ntop is prototyped... " >&6; }
        !          36648:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          36649: /* end confdefs.h.  */
        !          36650: 
        !          36651:       $curl_includes_arpa_inet
        !          36652: 
        !          36653: _ACEOF
        !          36654: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          36655:   $EGREP "inet_ntop" >/dev/null 2>&1; then :
        !          36656: 
        !          36657:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36658: $as_echo "yes" >&6; }
        !          36659:       tst_proto_inet_ntop="yes"
        !          36660: 
        !          36661: else
        !          36662: 
        !          36663:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36664: $as_echo "no" >&6; }
        !          36665:       tst_proto_inet_ntop="no"
        !          36666: 
        !          36667: fi
        !          36668: rm -f conftest*
        !          36669: 
        !          36670:   fi
        !          36671:   #
        !          36672:   if test "$tst_proto_inet_ntop" = "yes"; then
        !          36673:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop is compilable" >&5
        !          36674: $as_echo_n "checking if inet_ntop is compilable... " >&6; }
        !          36675:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          36676: /* end confdefs.h.  */
        !          36677: 
        !          36678: 
        !          36679:         $curl_includes_arpa_inet
        !          36680: 
        !          36681: int main (void)
        !          36682: {
        !          36683: 
        !          36684:         if(0 != inet_ntop(0, 0, 0, 0))
        !          36685:           return 1;
        !          36686: 
        !          36687:  ;
        !          36688:  return 0;
        !          36689: }
        !          36690: 
        !          36691: _ACEOF
        !          36692: if ac_fn_c_try_compile "$LINENO"; then :
        !          36693: 
        !          36694:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36695: $as_echo "yes" >&6; }
        !          36696:       tst_compi_inet_ntop="yes"
        !          36697: 
        !          36698: else
        !          36699: 
        !          36700:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36701: $as_echo "no" >&6; }
        !          36702:       tst_compi_inet_ntop="no"
        !          36703: 
        !          36704: fi
        !          36705: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          36706:   fi
        !          36707:   #
        !          36708:     if test "x$cross_compiling" != "xyes" &&
        !          36709:     test "$tst_compi_inet_ntop" = "yes"; then
        !          36710:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop seems to work" >&5
        !          36711: $as_echo_n "checking if inet_ntop seems to work... " >&6; }
        !          36712: 
        !          36713:    old=$LD_LIBRARY_PATH
        !          36714:    LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
        !          36715:    export LD_LIBRARY_PATH
        !          36716:    if test "$cross_compiling" = yes; then :
        !          36717:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          36718: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          36719: as_fn_error $? "cannot run test program while cross compiling
        !          36720: See \`config.log' for more details" "$LINENO" 5; }
        !          36721: else
        !          36722:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          36723: /* end confdefs.h.  */
        !          36724: 
        !          36725: 
        !          36726:         $curl_includes_stdlib
        !          36727:         $curl_includes_arpa_inet
        !          36728:         $curl_includes_string
        !          36729: 
        !          36730: int main (void)
        !          36731: {
        !          36732: 
        !          36733:         char ipv6res[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")];
        !          36734:         char ipv4res[sizeof "255.255.255.255"];
        !          36735:         unsigned char ipv6a[26];
        !          36736:         unsigned char ipv4a[5];
        !          36737:         char *ipv6ptr = 0;
        !          36738:         char *ipv4ptr = 0;
        !          36739:         /* - */
        !          36740:         ipv4res[0] = '\0';
        !          36741:         ipv4a[0] = 0xc0;
        !          36742:         ipv4a[1] = 0xa8;
        !          36743:         ipv4a[2] = 0x64;
        !          36744:         ipv4a[3] = 0x01;
        !          36745:         ipv4a[4] = 0x01;
        !          36746:         /* - */
        !          36747:         ipv4ptr = inet_ntop(AF_INET, ipv4a, ipv4res, sizeof(ipv4res));
        !          36748:         if(!ipv4ptr)
        !          36749:           exit(1); /* fail */
        !          36750:         if(ipv4ptr != ipv4res)
        !          36751:           exit(1); /* fail */
        !          36752:         if(!ipv4ptr[0])
        !          36753:           exit(1); /* fail */
        !          36754:         if(memcmp(ipv4res, "192.168.100.1", 13) != 0)
        !          36755:           exit(1); /* fail */
        !          36756:         /* - */
        !          36757:         ipv6res[0] = '\0';
        !          36758:         memset(ipv6a, 0, sizeof(ipv6a));
        !          36759:         ipv6a[0] = 0xfe;
        !          36760:         ipv6a[1] = 0x80;
        !          36761:         ipv6a[8] = 0x02;
        !          36762:         ipv6a[9] = 0x14;
        !          36763:         ipv6a[10] = 0x4f;
        !          36764:         ipv6a[11] = 0xff;
        !          36765:         ipv6a[12] = 0xfe;
        !          36766:         ipv6a[13] = 0x0b;
        !          36767:         ipv6a[14] = 0x76;
        !          36768:         ipv6a[15] = 0xc8;
        !          36769:         ipv6a[25] = 0x01;
        !          36770:         /* - */
        !          36771:         ipv6ptr = inet_ntop(AF_INET6, ipv6a, ipv6res, sizeof(ipv6res));
        !          36772:         if(!ipv6ptr)
        !          36773:           exit(1); /* fail */
        !          36774:         if(ipv6ptr != ipv6res)
        !          36775:           exit(1); /* fail */
        !          36776:         if(!ipv6ptr[0])
        !          36777:           exit(1); /* fail */
        !          36778:         if(memcmp(ipv6res, "fe80::214:4fff:fe0b:76c8", 24) != 0)
        !          36779:           exit(1); /* fail */
        !          36780:         /* - */
        !          36781:         exit(0);
        !          36782: 
        !          36783:  ;
        !          36784:  return 0;
        !          36785: }
        !          36786: 
        !          36787: _ACEOF
        !          36788: if ac_fn_c_try_run "$LINENO"; then :
        !          36789:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36790: $as_echo "yes" >&6; }
        !          36791:       tst_works_inet_ntop="yes"
        !          36792: 
        !          36793: else
        !          36794:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36795: $as_echo "no" >&6; }
        !          36796:       tst_works_inet_ntop="no"
        !          36797: 
        !          36798: fi
        !          36799: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          36800:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          36801: fi
        !          36802: 
        !          36803:    LD_LIBRARY_PATH=$old # restore
        !          36804: 
        !          36805:   fi
        !          36806:   #
        !          36807:   if test "$tst_compi_inet_ntop" = "yes" &&
        !          36808:     test "$tst_works_inet_ntop" != "no"; then
        !          36809:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop usage allowed" >&5
        !          36810: $as_echo_n "checking if inet_ntop usage allowed... " >&6; }
        !          36811:     if test "x$curl_disallow_inet_ntop" != "xyes"; then
        !          36812:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36813: $as_echo "yes" >&6; }
        !          36814:       tst_allow_inet_ntop="yes"
        !          36815:     else
        !          36816:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36817: $as_echo "no" >&6; }
        !          36818:       tst_allow_inet_ntop="no"
        !          36819:     fi
        !          36820:   fi
        !          36821:   #
        !          36822:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop might be used" >&5
        !          36823: $as_echo_n "checking if inet_ntop might be used... " >&6; }
        !          36824:   if test "$tst_links_inet_ntop" = "yes" &&
        !          36825:      test "$tst_proto_inet_ntop" = "yes" &&
        !          36826:      test "$tst_compi_inet_ntop" = "yes" &&
        !          36827:      test "$tst_allow_inet_ntop" = "yes" &&
        !          36828:      test "$tst_works_inet_ntop" != "no"; then
        !          36829:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36830: $as_echo "yes" >&6; }
        !          36831: 
        !          36832: cat >>confdefs.h <<_ACEOF
        !          36833: #define HAVE_INET_NTOP 1
        !          36834: _ACEOF
        !          36835: 
        !          36836:     curl_cv_func_inet_ntop="yes"
        !          36837:   else
        !          36838:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36839: $as_echo "no" >&6; }
        !          36840:     curl_cv_func_inet_ntop="no"
        !          36841:   fi
        !          36842: 
        !          36843: 
        !          36844:         #
        !          36845:   tst_links_inet_pton="unknown"
        !          36846:   tst_proto_inet_pton="unknown"
        !          36847:   tst_compi_inet_pton="unknown"
        !          36848:   tst_works_inet_pton="unknown"
        !          36849:   tst_allow_inet_pton="unknown"
        !          36850:   #
        !          36851:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton can be linked" >&5
        !          36852: $as_echo_n "checking if inet_pton can be linked... " >&6; }
        !          36853:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          36854: /* end confdefs.h.  */
        !          36855: 
        !          36856: 
        !          36857: #define inet_pton innocuous_inet_pton
        !          36858: #ifdef __STDC__
        !          36859: # include <limits.h>
        !          36860: #else
        !          36861: # include <assert.h>
        !          36862: #endif
        !          36863: #undef inet_pton
        !          36864: #ifdef __cplusplus
        !          36865: extern "C"
        !          36866: #endif
        !          36867: char inet_pton ();
        !          36868: #if defined __stub_inet_pton || defined __stub___inet_pton
        !          36869: choke me
        !          36870: #endif
        !          36871: 
        !          36872: int main (void)
        !          36873: {
        !          36874: return inet_pton ();
        !          36875:  ;
        !          36876:  return 0;
        !          36877: }
        !          36878: 
        !          36879: _ACEOF
        !          36880: if ac_fn_c_try_link "$LINENO"; then :
        !          36881: 
        !          36882:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36883: $as_echo "yes" >&6; }
        !          36884:     tst_links_inet_pton="yes"
        !          36885: 
        !          36886: else
        !          36887: 
        !          36888:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36889: $as_echo "no" >&6; }
        !          36890:     tst_links_inet_pton="no"
        !          36891: 
        !          36892: fi
        !          36893: rm -f core conftest.err conftest.$ac_objext \
        !          36894:     conftest$ac_exeext conftest.$ac_ext
        !          36895:   #
        !          36896:   if test "$tst_links_inet_pton" = "yes"; then
        !          36897:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton is prototyped" >&5
        !          36898: $as_echo_n "checking if inet_pton is prototyped... " >&6; }
        !          36899:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          36900: /* end confdefs.h.  */
        !          36901: 
        !          36902:       $curl_includes_arpa_inet
        !          36903: 
        !          36904: _ACEOF
        !          36905: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          36906:   $EGREP "inet_pton" >/dev/null 2>&1; then :
        !          36907: 
        !          36908:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36909: $as_echo "yes" >&6; }
        !          36910:       tst_proto_inet_pton="yes"
        !          36911: 
        !          36912: else
        !          36913: 
        !          36914:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36915: $as_echo "no" >&6; }
        !          36916:       tst_proto_inet_pton="no"
        !          36917: 
        !          36918: fi
        !          36919: rm -f conftest*
        !          36920: 
        !          36921:   fi
        !          36922:   #
        !          36923:   if test "$tst_proto_inet_pton" = "yes"; then
        !          36924:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton is compilable" >&5
        !          36925: $as_echo_n "checking if inet_pton is compilable... " >&6; }
        !          36926:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          36927: /* end confdefs.h.  */
        !          36928: 
        !          36929: 
        !          36930:         $curl_includes_arpa_inet
        !          36931: 
        !          36932: int main (void)
        !          36933: {
        !          36934: 
        !          36935:         if(0 != inet_pton(0, 0, 0))
        !          36936:           return 1;
        !          36937: 
        !          36938:  ;
        !          36939:  return 0;
        !          36940: }
        !          36941: 
        !          36942: _ACEOF
        !          36943: if ac_fn_c_try_compile "$LINENO"; then :
        !          36944: 
        !          36945:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          36946: $as_echo "yes" >&6; }
        !          36947:       tst_compi_inet_pton="yes"
        !          36948: 
        !          36949: else
        !          36950: 
        !          36951:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          36952: $as_echo "no" >&6; }
        !          36953:       tst_compi_inet_pton="no"
        !          36954: 
        !          36955: fi
        !          36956: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          36957:   fi
        !          36958:   #
        !          36959:     if test "x$cross_compiling" != "xyes" &&
        !          36960:     test "$tst_compi_inet_pton" = "yes"; then
        !          36961:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton seems to work" >&5
        !          36962: $as_echo_n "checking if inet_pton seems to work... " >&6; }
        !          36963: 
        !          36964:    old=$LD_LIBRARY_PATH
        !          36965:    LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
        !          36966:    export LD_LIBRARY_PATH
        !          36967:    if test "$cross_compiling" = yes; then :
        !          36968:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          36969: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          36970: as_fn_error $? "cannot run test program while cross compiling
        !          36971: See \`config.log' for more details" "$LINENO" 5; }
        !          36972: else
        !          36973:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          36974: /* end confdefs.h.  */
        !          36975: 
        !          36976: 
        !          36977:         $curl_includes_stdlib
        !          36978:         $curl_includes_arpa_inet
        !          36979:         $curl_includes_string
        !          36980: 
        !          36981: int main (void)
        !          36982: {
        !          36983: 
        !          36984:         unsigned char ipv6a[16+1];
        !          36985:         unsigned char ipv4a[4+1];
        !          36986:         const char *ipv6src = "fe80::214:4fff:fe0b:76c8";
        !          36987:         const char *ipv4src = "192.168.100.1";
        !          36988:         /* - */
        !          36989:         memset(ipv4a, 1, sizeof(ipv4a));
        !          36990:         if(1 != inet_pton(AF_INET, ipv4src, ipv4a))
        !          36991:           exit(1); /* fail */
        !          36992:         /* - */
        !          36993:         if( (ipv4a[0] != 0xc0) ||
        !          36994:             (ipv4a[1] != 0xa8) ||
        !          36995:             (ipv4a[2] != 0x64) ||
        !          36996:             (ipv4a[3] != 0x01) ||
        !          36997:             (ipv4a[4] != 0x01) )
        !          36998:           exit(1); /* fail */
        !          36999:         /* - */
        !          37000:         memset(ipv6a, 1, sizeof(ipv6a));
        !          37001:         if(1 != inet_pton(AF_INET6, ipv6src, ipv6a))
        !          37002:           exit(1); /* fail */
        !          37003:         /* - */
        !          37004:         if( (ipv6a[0]  != 0xfe) ||
        !          37005:             (ipv6a[1]  != 0x80) ||
        !          37006:             (ipv6a[8]  != 0x02) ||
        !          37007:             (ipv6a[9]  != 0x14) ||
        !          37008:             (ipv6a[10] != 0x4f) ||
        !          37009:             (ipv6a[11] != 0xff) ||
        !          37010:             (ipv6a[12] != 0xfe) ||
        !          37011:             (ipv6a[13] != 0x0b) ||
        !          37012:             (ipv6a[14] != 0x76) ||
        !          37013:             (ipv6a[15] != 0xc8) ||
        !          37014:             (ipv6a[16] != 0x01) )
        !          37015:           exit(1); /* fail */
        !          37016:         /* - */
        !          37017:         if( (ipv6a[2]  != 0x0) ||
        !          37018:             (ipv6a[3]  != 0x0) ||
        !          37019:             (ipv6a[4]  != 0x0) ||
        !          37020:             (ipv6a[5]  != 0x0) ||
        !          37021:             (ipv6a[6]  != 0x0) ||
        !          37022:             (ipv6a[7]  != 0x0) )
        !          37023:           exit(1); /* fail */
        !          37024:         /* - */
        !          37025:         exit(0);
        !          37026: 
        !          37027:  ;
        !          37028:  return 0;
        !          37029: }
        !          37030: 
        !          37031: _ACEOF
        !          37032: if ac_fn_c_try_run "$LINENO"; then :
        !          37033:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37034: $as_echo "yes" >&6; }
        !          37035:       tst_works_inet_pton="yes"
        !          37036: 
        !          37037: else
        !          37038:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37039: $as_echo "no" >&6; }
        !          37040:       tst_works_inet_pton="no"
        !          37041: 
        !          37042: fi
        !          37043: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          37044:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          37045: fi
        !          37046: 
        !          37047:    LD_LIBRARY_PATH=$old # restore
        !          37048: 
        !          37049:   fi
        !          37050:   #
        !          37051:   if test "$tst_compi_inet_pton" = "yes" &&
        !          37052:     test "$tst_works_inet_pton" != "no"; then
        !          37053:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton usage allowed" >&5
        !          37054: $as_echo_n "checking if inet_pton usage allowed... " >&6; }
        !          37055:     if test "x$curl_disallow_inet_pton" != "xyes"; then
        !          37056:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37057: $as_echo "yes" >&6; }
        !          37058:       tst_allow_inet_pton="yes"
        !          37059:     else
        !          37060:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37061: $as_echo "no" >&6; }
        !          37062:       tst_allow_inet_pton="no"
        !          37063:     fi
        !          37064:   fi
        !          37065:   #
        !          37066:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton might be used" >&5
        !          37067: $as_echo_n "checking if inet_pton might be used... " >&6; }
        !          37068:   if test "$tst_links_inet_pton" = "yes" &&
        !          37069:      test "$tst_proto_inet_pton" = "yes" &&
        !          37070:      test "$tst_compi_inet_pton" = "yes" &&
        !          37071:      test "$tst_allow_inet_pton" = "yes" &&
        !          37072:      test "$tst_works_inet_pton" != "no"; then
        !          37073:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37074: $as_echo "yes" >&6; }
        !          37075: 
        !          37076: cat >>confdefs.h <<_ACEOF
        !          37077: #define HAVE_INET_PTON 1
        !          37078: _ACEOF
        !          37079: 
        !          37080:     curl_cv_func_inet_pton="yes"
        !          37081:   else
        !          37082:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37083: $as_echo "no" >&6; }
        !          37084:     curl_cv_func_inet_pton="no"
        !          37085:   fi
        !          37086: 
        !          37087: 
        !          37088: curl_includes_stropts="\
        !          37089: /* includes start */
        !          37090: #ifdef HAVE_SYS_TYPES_H
        !          37091: #  include <sys/types.h>
        !          37092: #endif
        !          37093: #ifdef HAVE_UNISTD_H
        !          37094: #  include <unistd.h>
        !          37095: #endif
        !          37096: #ifdef HAVE_SYS_SOCKET_H
        !          37097: #  include <sys/socket.h>
        !          37098: #endif
        !          37099: #ifdef HAVE_SYS_IOCTL_H
        !          37100: #  include <sys/ioctl.h>
        !          37101: #endif
        !          37102: #ifdef HAVE_STROPTS_H
        !          37103: #  include <stropts.h>
        !          37104: #endif
        !          37105: /* includes end */"
        !          37106:   for ac_header in sys/types.h unistd.h sys/socket.h sys/ioctl.h stropts.h
        !          37107: do :
        !          37108:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          37109: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_stropts
        !          37110: "
        !          37111: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          37112:   cat >>confdefs.h <<_ACEOF
        !          37113: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          37114: _ACEOF
        !          37115: 
        !          37116: fi
        !          37117: 
        !          37118: done
        !          37119: 
        !          37120: 
        !          37121: 
        !          37122:     #
        !          37123:   tst_links_ioctl="unknown"
        !          37124:   tst_proto_ioctl="unknown"
        !          37125:   tst_compi_ioctl="unknown"
        !          37126:   tst_allow_ioctl="unknown"
        !          37127:   #
        !          37128:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl can be linked" >&5
        !          37129: $as_echo_n "checking if ioctl can be linked... " >&6; }
        !          37130:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          37131: /* end confdefs.h.  */
        !          37132: 
        !          37133: 
        !          37134: #define ioctl innocuous_ioctl
        !          37135: #ifdef __STDC__
        !          37136: # include <limits.h>
        !          37137: #else
        !          37138: # include <assert.h>
        !          37139: #endif
        !          37140: #undef ioctl
        !          37141: #ifdef __cplusplus
        !          37142: extern "C"
        !          37143: #endif
        !          37144: char ioctl ();
        !          37145: #if defined __stub_ioctl || defined __stub___ioctl
        !          37146: choke me
        !          37147: #endif
        !          37148: 
        !          37149: int main (void)
        !          37150: {
        !          37151: return ioctl ();
        !          37152:  ;
        !          37153:  return 0;
        !          37154: }
        !          37155: 
        !          37156: _ACEOF
        !          37157: if ac_fn_c_try_link "$LINENO"; then :
        !          37158: 
        !          37159:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37160: $as_echo "yes" >&6; }
        !          37161:     tst_links_ioctl="yes"
        !          37162: 
        !          37163: else
        !          37164: 
        !          37165:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37166: $as_echo "no" >&6; }
        !          37167:     tst_links_ioctl="no"
        !          37168: 
        !          37169: fi
        !          37170: rm -f core conftest.err conftest.$ac_objext \
        !          37171:     conftest$ac_exeext conftest.$ac_ext
        !          37172:   #
        !          37173:   if test "$tst_links_ioctl" = "yes"; then
        !          37174:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl is prototyped" >&5
        !          37175: $as_echo_n "checking if ioctl is prototyped... " >&6; }
        !          37176:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          37177: /* end confdefs.h.  */
        !          37178: 
        !          37179:       $curl_includes_stropts
        !          37180: 
        !          37181: _ACEOF
        !          37182: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          37183:   $EGREP "ioctl" >/dev/null 2>&1; then :
        !          37184: 
        !          37185:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37186: $as_echo "yes" >&6; }
        !          37187:       tst_proto_ioctl="yes"
        !          37188: 
        !          37189: else
        !          37190: 
        !          37191:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37192: $as_echo "no" >&6; }
        !          37193:       tst_proto_ioctl="no"
        !          37194: 
        !          37195: fi
        !          37196: rm -f conftest*
        !          37197: 
        !          37198:   fi
        !          37199:   #
        !          37200:   if test "$tst_proto_ioctl" = "yes"; then
        !          37201:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl is compilable" >&5
        !          37202: $as_echo_n "checking if ioctl is compilable... " >&6; }
        !          37203:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          37204: /* end confdefs.h.  */
        !          37205: 
        !          37206: 
        !          37207:         $curl_includes_stropts
        !          37208: 
        !          37209: int main (void)
        !          37210: {
        !          37211: 
        !          37212:         if(0 != ioctl(0, 0, 0))
        !          37213:           return 1;
        !          37214: 
        !          37215:  ;
        !          37216:  return 0;
        !          37217: }
        !          37218: 
        !          37219: _ACEOF
        !          37220: if ac_fn_c_try_compile "$LINENO"; then :
        !          37221: 
        !          37222:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37223: $as_echo "yes" >&6; }
        !          37224:       tst_compi_ioctl="yes"
        !          37225: 
        !          37226: else
        !          37227: 
        !          37228:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37229: $as_echo "no" >&6; }
        !          37230:       tst_compi_ioctl="no"
        !          37231: 
        !          37232: fi
        !          37233: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          37234:   fi
        !          37235:   #
        !          37236:   if test "$tst_compi_ioctl" = "yes"; then
        !          37237:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl usage allowed" >&5
        !          37238: $as_echo_n "checking if ioctl usage allowed... " >&6; }
        !          37239:     if test "x$curl_disallow_ioctl" != "xyes"; then
        !          37240:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37241: $as_echo "yes" >&6; }
        !          37242:       tst_allow_ioctl="yes"
        !          37243:     else
        !          37244:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37245: $as_echo "no" >&6; }
        !          37246:       tst_allow_ioctl="no"
        !          37247:     fi
        !          37248:   fi
        !          37249:   #
        !          37250:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl might be used" >&5
        !          37251: $as_echo_n "checking if ioctl might be used... " >&6; }
        !          37252:   if test "$tst_links_ioctl" = "yes" &&
        !          37253:      test "$tst_proto_ioctl" = "yes" &&
        !          37254:      test "$tst_compi_ioctl" = "yes" &&
        !          37255:      test "$tst_allow_ioctl" = "yes"; then
        !          37256:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37257: $as_echo "yes" >&6; }
        !          37258: 
        !          37259: cat >>confdefs.h <<_ACEOF
        !          37260: #define HAVE_IOCTL 1
        !          37261: _ACEOF
        !          37262: 
        !          37263:     curl_cv_func_ioctl="yes"
        !          37264: 
        !          37265:   #
        !          37266:   tst_compi_ioctl_fionbio="unknown"
        !          37267:   tst_allow_ioctl_fionbio="unknown"
        !          37268:   #
        !          37269:   if test "$curl_cv_func_ioctl" = "yes"; then
        !          37270:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl FIONBIO is compilable" >&5
        !          37271: $as_echo_n "checking if ioctl FIONBIO is compilable... " >&6; }
        !          37272:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          37273: /* end confdefs.h.  */
        !          37274: 
        !          37275: 
        !          37276:         $curl_includes_stropts
        !          37277: 
        !          37278: int main (void)
        !          37279: {
        !          37280: 
        !          37281:         int flags = 0;
        !          37282:         if(0 != ioctl(0, FIONBIO, &flags))
        !          37283:           return 1;
        !          37284: 
        !          37285:  ;
        !          37286:  return 0;
        !          37287: }
        !          37288: 
        !          37289: _ACEOF
        !          37290: if ac_fn_c_try_compile "$LINENO"; then :
        !          37291: 
        !          37292:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37293: $as_echo "yes" >&6; }
        !          37294:       tst_compi_ioctl_fionbio="yes"
        !          37295: 
        !          37296: else
        !          37297: 
        !          37298:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37299: $as_echo "no" >&6; }
        !          37300:       tst_compi_ioctl_fionbio="no"
        !          37301: 
        !          37302: fi
        !          37303: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          37304:   fi
        !          37305:   #
        !          37306:   if test "$tst_compi_ioctl_fionbio" = "yes"; then
        !          37307:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl FIONBIO usage allowed" >&5
        !          37308: $as_echo_n "checking if ioctl FIONBIO usage allowed... " >&6; }
        !          37309:     if test "x$curl_disallow_ioctl_fionbio" != "xyes"; then
        !          37310:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37311: $as_echo "yes" >&6; }
        !          37312:       tst_allow_ioctl_fionbio="yes"
        !          37313:     else
        !          37314:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37315: $as_echo "no" >&6; }
        !          37316:       tst_allow_ioctl_fionbio="no"
        !          37317:     fi
        !          37318:   fi
        !          37319:   #
        !          37320:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl FIONBIO might be used" >&5
        !          37321: $as_echo_n "checking if ioctl FIONBIO might be used... " >&6; }
        !          37322:   if test "$tst_compi_ioctl_fionbio" = "yes" &&
        !          37323:      test "$tst_allow_ioctl_fionbio" = "yes"; then
        !          37324:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37325: $as_echo "yes" >&6; }
        !          37326: 
        !          37327: cat >>confdefs.h <<_ACEOF
        !          37328: #define HAVE_IOCTL_FIONBIO 1
        !          37329: _ACEOF
        !          37330: 
        !          37331:     curl_cv_func_ioctl_fionbio="yes"
        !          37332:   else
        !          37333:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37334: $as_echo "no" >&6; }
        !          37335:     curl_cv_func_ioctl_fionbio="no"
        !          37336:   fi
        !          37337: 
        !          37338: 
        !          37339:   #
        !          37340:   tst_compi_ioctl_siocgifaddr="unknown"
        !          37341:   tst_allow_ioctl_siocgifaddr="unknown"
        !          37342:   #
        !          37343:   if test "$curl_cv_func_ioctl" = "yes"; then
        !          37344:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl SIOCGIFADDR is compilable" >&5
        !          37345: $as_echo_n "checking if ioctl SIOCGIFADDR is compilable... " >&6; }
        !          37346:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          37347: /* end confdefs.h.  */
        !          37348: 
        !          37349: 
        !          37350:         $curl_includes_stropts
        !          37351:         #include <net/if.h>
        !          37352: 
        !          37353: int main (void)
        !          37354: {
        !          37355: 
        !          37356:         struct ifreq ifr;
        !          37357:         if(0 != ioctl(0, SIOCGIFADDR, &ifr))
        !          37358:           return 1;
        !          37359: 
        !          37360:  ;
        !          37361:  return 0;
        !          37362: }
        !          37363: 
        !          37364: _ACEOF
        !          37365: if ac_fn_c_try_compile "$LINENO"; then :
        !          37366: 
        !          37367:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37368: $as_echo "yes" >&6; }
        !          37369:       tst_compi_ioctl_siocgifaddr="yes"
        !          37370: 
        !          37371: else
        !          37372: 
        !          37373:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37374: $as_echo "no" >&6; }
        !          37375:       tst_compi_ioctl_siocgifaddr="no"
        !          37376: 
        !          37377: fi
        !          37378: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          37379:   fi
        !          37380:   #
        !          37381:   if test "$tst_compi_ioctl_siocgifaddr" = "yes"; then
        !          37382:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl SIOCGIFADDR usage allowed" >&5
        !          37383: $as_echo_n "checking if ioctl SIOCGIFADDR usage allowed... " >&6; }
        !          37384:     if test "x$curl_disallow_ioctl_siocgifaddr" != "xyes"; then
        !          37385:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37386: $as_echo "yes" >&6; }
        !          37387:       tst_allow_ioctl_siocgifaddr="yes"
        !          37388:     else
        !          37389:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37390: $as_echo "no" >&6; }
        !          37391:       tst_allow_ioctl_siocgifaddr="no"
        !          37392:     fi
        !          37393:   fi
        !          37394:   #
        !          37395:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl SIOCGIFADDR might be used" >&5
        !          37396: $as_echo_n "checking if ioctl SIOCGIFADDR might be used... " >&6; }
        !          37397:   if test "$tst_compi_ioctl_siocgifaddr" = "yes" &&
        !          37398:      test "$tst_allow_ioctl_siocgifaddr" = "yes"; then
        !          37399:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37400: $as_echo "yes" >&6; }
        !          37401: 
        !          37402: cat >>confdefs.h <<_ACEOF
        !          37403: #define HAVE_IOCTL_SIOCGIFADDR 1
        !          37404: _ACEOF
        !          37405: 
        !          37406:     curl_cv_func_ioctl_siocgifaddr="yes"
        !          37407:   else
        !          37408:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37409: $as_echo "no" >&6; }
        !          37410:     curl_cv_func_ioctl_siocgifaddr="no"
        !          37411:   fi
        !          37412: 
        !          37413:   else
        !          37414:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37415: $as_echo "no" >&6; }
        !          37416:     curl_cv_func_ioctl="no"
        !          37417:   fi
        !          37418: 
        !          37419: 
        !          37420:     #
        !          37421:   tst_links_ioctlsocket="unknown"
        !          37422:   tst_proto_ioctlsocket="unknown"
        !          37423:   tst_compi_ioctlsocket="unknown"
        !          37424:   tst_allow_ioctlsocket="unknown"
        !          37425:   #
        !          37426:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket can be linked" >&5
        !          37427: $as_echo_n "checking if ioctlsocket can be linked... " >&6; }
        !          37428:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          37429: /* end confdefs.h.  */
        !          37430: 
        !          37431: 
        !          37432:       $curl_includes_winsock2
        !          37433:       $curl_includes_bsdsocket
        !          37434: 
        !          37435: int main (void)
        !          37436: {
        !          37437: 
        !          37438:       if(0 != ioctlsocket(0, 0, 0))
        !          37439:         return 1;
        !          37440: 
        !          37441:  ;
        !          37442:  return 0;
        !          37443: }
        !          37444: 
        !          37445: _ACEOF
        !          37446: if ac_fn_c_try_link "$LINENO"; then :
        !          37447: 
        !          37448:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37449: $as_echo "yes" >&6; }
        !          37450:     tst_links_ioctlsocket="yes"
        !          37451: 
        !          37452: else
        !          37453: 
        !          37454:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37455: $as_echo "no" >&6; }
        !          37456:     tst_links_ioctlsocket="no"
        !          37457: 
        !          37458: fi
        !          37459: rm -f core conftest.err conftest.$ac_objext \
        !          37460:     conftest$ac_exeext conftest.$ac_ext
        !          37461:   #
        !          37462:   if test "$tst_links_ioctlsocket" = "yes"; then
        !          37463:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket is prototyped" >&5
        !          37464: $as_echo_n "checking if ioctlsocket is prototyped... " >&6; }
        !          37465:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          37466: /* end confdefs.h.  */
        !          37467: 
        !          37468:       $curl_includes_winsock2
        !          37469:       $curl_includes_bsdsocket
        !          37470: 
        !          37471: _ACEOF
        !          37472: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          37473:   $EGREP "ioctlsocket" >/dev/null 2>&1; then :
        !          37474: 
        !          37475:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37476: $as_echo "yes" >&6; }
        !          37477:       tst_proto_ioctlsocket="yes"
        !          37478: 
        !          37479: else
        !          37480: 
        !          37481:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37482: $as_echo "no" >&6; }
        !          37483:       tst_proto_ioctlsocket="no"
        !          37484: 
        !          37485: fi
        !          37486: rm -f conftest*
        !          37487: 
        !          37488:   fi
        !          37489:   #
        !          37490:   if test "$tst_proto_ioctlsocket" = "yes"; then
        !          37491:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket is compilable" >&5
        !          37492: $as_echo_n "checking if ioctlsocket is compilable... " >&6; }
        !          37493:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          37494: /* end confdefs.h.  */
        !          37495: 
        !          37496: 
        !          37497:         $curl_includes_winsock2
        !          37498:       $curl_includes_bsdsocket
        !          37499: 
        !          37500: int main (void)
        !          37501: {
        !          37502: 
        !          37503:         if(0 != ioctlsocket(0, 0, 0))
        !          37504:           return 1;
        !          37505: 
        !          37506:  ;
        !          37507:  return 0;
        !          37508: }
        !          37509: 
        !          37510: _ACEOF
        !          37511: if ac_fn_c_try_compile "$LINENO"; then :
        !          37512: 
        !          37513:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37514: $as_echo "yes" >&6; }
        !          37515:       tst_compi_ioctlsocket="yes"
        !          37516: 
        !          37517: else
        !          37518: 
        !          37519:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37520: $as_echo "no" >&6; }
        !          37521:       tst_compi_ioctlsocket="no"
        !          37522: 
        !          37523: fi
        !          37524: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          37525:   fi
        !          37526:   #
        !          37527:   if test "$tst_compi_ioctlsocket" = "yes"; then
        !          37528:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket usage allowed" >&5
        !          37529: $as_echo_n "checking if ioctlsocket usage allowed... " >&6; }
        !          37530:     if test "x$curl_disallow_ioctlsocket" != "xyes"; then
        !          37531:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37532: $as_echo "yes" >&6; }
        !          37533:       tst_allow_ioctlsocket="yes"
        !          37534:     else
        !          37535:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37536: $as_echo "no" >&6; }
        !          37537:       tst_allow_ioctlsocket="no"
        !          37538:     fi
        !          37539:   fi
        !          37540:   #
        !          37541:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket might be used" >&5
        !          37542: $as_echo_n "checking if ioctlsocket might be used... " >&6; }
        !          37543:   if test "$tst_links_ioctlsocket" = "yes" &&
        !          37544:      test "$tst_proto_ioctlsocket" = "yes" &&
        !          37545:      test "$tst_compi_ioctlsocket" = "yes" &&
        !          37546:      test "$tst_allow_ioctlsocket" = "yes"; then
        !          37547:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37548: $as_echo "yes" >&6; }
        !          37549: 
        !          37550: cat >>confdefs.h <<_ACEOF
        !          37551: #define HAVE_IOCTLSOCKET 1
        !          37552: _ACEOF
        !          37553: 
        !          37554:     curl_cv_func_ioctlsocket="yes"
        !          37555: 
        !          37556:   #
        !          37557:   tst_compi_ioctlsocket_fionbio="unknown"
        !          37558:   tst_allow_ioctlsocket_fionbio="unknown"
        !          37559:   #
        !          37560:   if test "$curl_cv_func_ioctlsocket" = "yes"; then
        !          37561:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket FIONBIO is compilable" >&5
        !          37562: $as_echo_n "checking if ioctlsocket FIONBIO is compilable... " >&6; }
        !          37563:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          37564: /* end confdefs.h.  */
        !          37565: 
        !          37566: 
        !          37567:         $curl_includes_winsock2
        !          37568:       $curl_includes_bsdsocket
        !          37569: 
        !          37570: int main (void)
        !          37571: {
        !          37572: 
        !          37573:         int flags = 0;
        !          37574:         if(0 != ioctlsocket(0, FIONBIO, &flags))
        !          37575:           return 1;
        !          37576: 
        !          37577:  ;
        !          37578:  return 0;
        !          37579: }
        !          37580: 
        !          37581: _ACEOF
        !          37582: if ac_fn_c_try_compile "$LINENO"; then :
        !          37583: 
        !          37584:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37585: $as_echo "yes" >&6; }
        !          37586:       tst_compi_ioctlsocket_fionbio="yes"
        !          37587: 
        !          37588: else
        !          37589: 
        !          37590:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37591: $as_echo "no" >&6; }
        !          37592:       tst_compi_ioctlsocket_fionbio="no"
        !          37593: 
        !          37594: fi
        !          37595: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          37596:   fi
        !          37597:   #
        !          37598:   if test "$tst_compi_ioctlsocket_fionbio" = "yes"; then
        !          37599:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket FIONBIO usage allowed" >&5
        !          37600: $as_echo_n "checking if ioctlsocket FIONBIO usage allowed... " >&6; }
        !          37601:     if test "x$curl_disallow_ioctlsocket_fionbio" != "xyes"; then
        !          37602:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37603: $as_echo "yes" >&6; }
        !          37604:       tst_allow_ioctlsocket_fionbio="yes"
        !          37605:     else
        !          37606:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37607: $as_echo "no" >&6; }
        !          37608:       tst_allow_ioctlsocket_fionbio="no"
        !          37609:     fi
        !          37610:   fi
        !          37611:   #
        !          37612:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket FIONBIO might be used" >&5
        !          37613: $as_echo_n "checking if ioctlsocket FIONBIO might be used... " >&6; }
        !          37614:   if test "$tst_compi_ioctlsocket_fionbio" = "yes" &&
        !          37615:      test "$tst_allow_ioctlsocket_fionbio" = "yes"; then
        !          37616:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37617: $as_echo "yes" >&6; }
        !          37618: 
        !          37619: cat >>confdefs.h <<_ACEOF
        !          37620: #define HAVE_IOCTLSOCKET_FIONBIO 1
        !          37621: _ACEOF
        !          37622: 
        !          37623:     curl_cv_func_ioctlsocket_fionbio="yes"
        !          37624:   else
        !          37625:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37626: $as_echo "no" >&6; }
        !          37627:     curl_cv_func_ioctlsocket_fionbio="no"
        !          37628:   fi
        !          37629: 
        !          37630:   else
        !          37631:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37632: $as_echo "no" >&6; }
        !          37633:     curl_cv_func_ioctlsocket="no"
        !          37634:   fi
        !          37635: 
        !          37636: 
        !          37637:     #
        !          37638:   tst_links_ioctlsocket_camel="unknown"
        !          37639:   tst_proto_ioctlsocket_camel="unknown"
        !          37640:   tst_compi_ioctlsocket_camel="unknown"
        !          37641:   tst_allow_ioctlsocket_camel="unknown"
        !          37642:   #
        !          37643:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket can be linked" >&5
        !          37644: $as_echo_n "checking if IoctlSocket can be linked... " >&6; }
        !          37645:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          37646: /* end confdefs.h.  */
        !          37647: 
        !          37648: 
        !          37649: #define IoctlSocket innocuous_IoctlSocket
        !          37650: #ifdef __STDC__
        !          37651: # include <limits.h>
        !          37652: #else
        !          37653: # include <assert.h>
        !          37654: #endif
        !          37655: #undef IoctlSocket
        !          37656: #ifdef __cplusplus
        !          37657: extern "C"
        !          37658: #endif
        !          37659: char IoctlSocket ();
        !          37660: #if defined __stub_IoctlSocket || defined __stub___IoctlSocket
        !          37661: choke me
        !          37662: #endif
        !          37663: 
        !          37664: int main (void)
        !          37665: {
        !          37666: return IoctlSocket ();
        !          37667:  ;
        !          37668:  return 0;
        !          37669: }
        !          37670: 
        !          37671: _ACEOF
        !          37672: if ac_fn_c_try_link "$LINENO"; then :
        !          37673: 
        !          37674:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37675: $as_echo "yes" >&6; }
        !          37676:     tst_links_ioctlsocket_camel="yes"
        !          37677: 
        !          37678: else
        !          37679: 
        !          37680:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37681: $as_echo "no" >&6; }
        !          37682:     tst_links_ioctlsocket_camel="no"
        !          37683: 
        !          37684: fi
        !          37685: rm -f core conftest.err conftest.$ac_objext \
        !          37686:     conftest$ac_exeext conftest.$ac_ext
        !          37687:   #
        !          37688:   if test "$tst_links_ioctlsocket_camel" = "yes"; then
        !          37689:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket is prototyped" >&5
        !          37690: $as_echo_n "checking if IoctlSocket is prototyped... " >&6; }
        !          37691:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          37692: /* end confdefs.h.  */
        !          37693: 
        !          37694:       $curl_includes_stropts
        !          37695: 
        !          37696: _ACEOF
        !          37697: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          37698:   $EGREP "IoctlSocket" >/dev/null 2>&1; then :
        !          37699: 
        !          37700:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37701: $as_echo "yes" >&6; }
        !          37702:       tst_proto_ioctlsocket_camel="yes"
        !          37703: 
        !          37704: else
        !          37705: 
        !          37706:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37707: $as_echo "no" >&6; }
        !          37708:       tst_proto_ioctlsocket_camel="no"
        !          37709: 
        !          37710: fi
        !          37711: rm -f conftest*
        !          37712: 
        !          37713:   fi
        !          37714:   #
        !          37715:   if test "$tst_proto_ioctlsocket_camel" = "yes"; then
        !          37716:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket is compilable" >&5
        !          37717: $as_echo_n "checking if IoctlSocket is compilable... " >&6; }
        !          37718:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          37719: /* end confdefs.h.  */
        !          37720: 
        !          37721: 
        !          37722:         $curl_includes_stropts
        !          37723: 
        !          37724: int main (void)
        !          37725: {
        !          37726: 
        !          37727:         if(0 != IoctlSocket(0, 0, 0))
        !          37728:           return 1;
        !          37729: 
        !          37730:  ;
        !          37731:  return 0;
        !          37732: }
        !          37733: 
        !          37734: _ACEOF
        !          37735: if ac_fn_c_try_compile "$LINENO"; then :
        !          37736: 
        !          37737:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37738: $as_echo "yes" >&6; }
        !          37739:       tst_compi_ioctlsocket_camel="yes"
        !          37740: 
        !          37741: else
        !          37742: 
        !          37743:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37744: $as_echo "no" >&6; }
        !          37745:       tst_compi_ioctlsocket_camel="no"
        !          37746: 
        !          37747: fi
        !          37748: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          37749:   fi
        !          37750:   #
        !          37751:   if test "$tst_compi_ioctlsocket_camel" = "yes"; then
        !          37752:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket usage allowed" >&5
        !          37753: $as_echo_n "checking if IoctlSocket usage allowed... " >&6; }
        !          37754:     if test "x$curl_disallow_ioctlsocket_camel" != "xyes"; then
        !          37755:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37756: $as_echo "yes" >&6; }
        !          37757:       tst_allow_ioctlsocket_camel="yes"
        !          37758:     else
        !          37759:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37760: $as_echo "no" >&6; }
        !          37761:       tst_allow_ioctlsocket_camel="no"
        !          37762:     fi
        !          37763:   fi
        !          37764:   #
        !          37765:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket might be used" >&5
        !          37766: $as_echo_n "checking if IoctlSocket might be used... " >&6; }
        !          37767:   if test "$tst_links_ioctlsocket_camel" = "yes" &&
        !          37768:      test "$tst_proto_ioctlsocket_camel" = "yes" &&
        !          37769:      test "$tst_compi_ioctlsocket_camel" = "yes" &&
        !          37770:      test "$tst_allow_ioctlsocket_camel" = "yes"; then
        !          37771:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37772: $as_echo "yes" >&6; }
        !          37773: 
        !          37774: cat >>confdefs.h <<_ACEOF
        !          37775: #define HAVE_IOCTLSOCKET_CAMEL 1
        !          37776: _ACEOF
        !          37777: 
        !          37778:     curl_cv_func_ioctlsocket_camel="yes"
        !          37779: 
        !          37780:   #
        !          37781:   tst_compi_ioctlsocket_camel_fionbio="unknown"
        !          37782:   tst_allow_ioctlsocket_camel_fionbio="unknown"
        !          37783:   #
        !          37784:   if test "$curl_cv_func_ioctlsocket_camel" = "yes"; then
        !          37785:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket FIONBIO is compilable" >&5
        !          37786: $as_echo_n "checking if IoctlSocket FIONBIO is compilable... " >&6; }
        !          37787:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          37788: /* end confdefs.h.  */
        !          37789: 
        !          37790: 
        !          37791:         $curl_includes_stropts
        !          37792: 
        !          37793: int main (void)
        !          37794: {
        !          37795: 
        !          37796:         long flags = 0;
        !          37797:         if(0 != ioctlsocket(0, FIONBIO, &flags))
        !          37798:           return 1;
        !          37799: 
        !          37800:  ;
        !          37801:  return 0;
        !          37802: }
        !          37803: 
        !          37804: _ACEOF
        !          37805: if ac_fn_c_try_compile "$LINENO"; then :
        !          37806: 
        !          37807:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37808: $as_echo "yes" >&6; }
        !          37809:       tst_compi_ioctlsocket_camel_fionbio="yes"
        !          37810: 
        !          37811: else
        !          37812: 
        !          37813:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37814: $as_echo "no" >&6; }
        !          37815:       tst_compi_ioctlsocket_camel_fionbio="no"
        !          37816: 
        !          37817: fi
        !          37818: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          37819:   fi
        !          37820:   #
        !          37821:   if test "$tst_compi_ioctlsocket_camel_fionbio" = "yes"; then
        !          37822:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket FIONBIO usage allowed" >&5
        !          37823: $as_echo_n "checking if IoctlSocket FIONBIO usage allowed... " >&6; }
        !          37824:     if test "x$curl_disallow_ioctlsocket_camel_fionbio" != "xyes"; then
        !          37825:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37826: $as_echo "yes" >&6; }
        !          37827:       tst_allow_ioctlsocket_camel_fionbio="yes"
        !          37828:     else
        !          37829:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37830: $as_echo "no" >&6; }
        !          37831:       tst_allow_ioctlsocket_camel_fionbio="no"
        !          37832:     fi
        !          37833:   fi
        !          37834:   #
        !          37835:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket FIONBIO might be used" >&5
        !          37836: $as_echo_n "checking if IoctlSocket FIONBIO might be used... " >&6; }
        !          37837:   if test "$tst_compi_ioctlsocket_camel_fionbio" = "yes" &&
        !          37838:      test "$tst_allow_ioctlsocket_camel_fionbio" = "yes"; then
        !          37839:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37840: $as_echo "yes" >&6; }
        !          37841: 
        !          37842: cat >>confdefs.h <<_ACEOF
        !          37843: #define HAVE_IOCTLSOCKET_CAMEL_FIONBIO 1
        !          37844: _ACEOF
        !          37845: 
        !          37846:     curl_cv_func_ioctlsocket_camel_fionbio="yes"
        !          37847:   else
        !          37848:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37849: $as_echo "no" >&6; }
        !          37850:     curl_cv_func_ioctlsocket_camel_fionbio="no"
        !          37851:   fi
        !          37852: 
        !          37853:   else
        !          37854:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37855: $as_echo "no" >&6; }
        !          37856:     curl_cv_func_ioctlsocket_camel="no"
        !          37857:   fi
        !          37858: 
        !          37859: 
        !          37860:       #
        !          37861:   tst_links_localtime_r="unknown"
        !          37862:   tst_proto_localtime_r="unknown"
        !          37863:   tst_compi_localtime_r="unknown"
        !          37864:   tst_works_localtime_r="unknown"
        !          37865:   tst_allow_localtime_r="unknown"
        !          37866:   #
        !          37867:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if localtime_r can be linked" >&5
        !          37868: $as_echo_n "checking if localtime_r can be linked... " >&6; }
        !          37869:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          37870: /* end confdefs.h.  */
        !          37871: 
        !          37872: 
        !          37873: #define localtime_r innocuous_localtime_r
        !          37874: #ifdef __STDC__
        !          37875: # include <limits.h>
        !          37876: #else
        !          37877: # include <assert.h>
        !          37878: #endif
        !          37879: #undef localtime_r
        !          37880: #ifdef __cplusplus
        !          37881: extern "C"
        !          37882: #endif
        !          37883: char localtime_r ();
        !          37884: #if defined __stub_localtime_r || defined __stub___localtime_r
        !          37885: choke me
        !          37886: #endif
        !          37887: 
        !          37888: int main (void)
        !          37889: {
        !          37890: return localtime_r ();
        !          37891:  ;
        !          37892:  return 0;
        !          37893: }
        !          37894: 
        !          37895: _ACEOF
        !          37896: if ac_fn_c_try_link "$LINENO"; then :
        !          37897: 
        !          37898:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37899: $as_echo "yes" >&6; }
        !          37900:     tst_links_localtime_r="yes"
        !          37901: 
        !          37902: else
        !          37903: 
        !          37904:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37905: $as_echo "no" >&6; }
        !          37906:     tst_links_localtime_r="no"
        !          37907: 
        !          37908: fi
        !          37909: rm -f core conftest.err conftest.$ac_objext \
        !          37910:     conftest$ac_exeext conftest.$ac_ext
        !          37911:   #
        !          37912:   if test "$tst_links_localtime_r" = "yes"; then
        !          37913:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if localtime_r is prototyped" >&5
        !          37914: $as_echo_n "checking if localtime_r is prototyped... " >&6; }
        !          37915:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          37916: /* end confdefs.h.  */
        !          37917: 
        !          37918:       $curl_includes_time
        !          37919: 
        !          37920: _ACEOF
        !          37921: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          37922:   $EGREP "localtime_r" >/dev/null 2>&1; then :
        !          37923: 
        !          37924:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37925: $as_echo "yes" >&6; }
        !          37926:       tst_proto_localtime_r="yes"
        !          37927: 
        !          37928: else
        !          37929: 
        !          37930:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37931: $as_echo "no" >&6; }
        !          37932:       tst_proto_localtime_r="no"
        !          37933: 
        !          37934: fi
        !          37935: rm -f conftest*
        !          37936: 
        !          37937:   fi
        !          37938:   #
        !          37939:   if test "$tst_proto_localtime_r" = "yes"; then
        !          37940:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if localtime_r is compilable" >&5
        !          37941: $as_echo_n "checking if localtime_r is compilable... " >&6; }
        !          37942:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          37943: /* end confdefs.h.  */
        !          37944: 
        !          37945: 
        !          37946:         $curl_includes_time
        !          37947: 
        !          37948: int main (void)
        !          37949: {
        !          37950: 
        !          37951:         if(0 != localtime_r(0, 0))
        !          37952:           return 1;
        !          37953: 
        !          37954:  ;
        !          37955:  return 0;
        !          37956: }
        !          37957: 
        !          37958: _ACEOF
        !          37959: if ac_fn_c_try_compile "$LINENO"; then :
        !          37960: 
        !          37961:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          37962: $as_echo "yes" >&6; }
        !          37963:       tst_compi_localtime_r="yes"
        !          37964: 
        !          37965: else
        !          37966: 
        !          37967:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          37968: $as_echo "no" >&6; }
        !          37969:       tst_compi_localtime_r="no"
        !          37970: 
        !          37971: fi
        !          37972: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          37973:   fi
        !          37974:   #
        !          37975:     if test "x$cross_compiling" != "xyes" &&
        !          37976:     test "$tst_compi_localtime_r" = "yes"; then
        !          37977:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if localtime_r seems to work" >&5
        !          37978: $as_echo_n "checking if localtime_r seems to work... " >&6; }
        !          37979: 
        !          37980:    old=$LD_LIBRARY_PATH
        !          37981:    LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
        !          37982:    export LD_LIBRARY_PATH
        !          37983:    if test "$cross_compiling" = yes; then :
        !          37984:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          37985: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          37986: as_fn_error $? "cannot run test program while cross compiling
        !          37987: See \`config.log' for more details" "$LINENO" 5; }
        !          37988: else
        !          37989:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          37990: /* end confdefs.h.  */
        !          37991: 
        !          37992: 
        !          37993:         $curl_includes_stdlib
        !          37994:         $curl_includes_time
        !          37995: 
        !          37996: int main (void)
        !          37997: {
        !          37998: 
        !          37999:         time_t clock = 1170352587;
        !          38000:         struct tm *tmp = 0;
        !          38001:         struct tm result;
        !          38002:         tmp = localtime_r(&clock, &result);
        !          38003:         if(tmp)
        !          38004:           exit(0);
        !          38005:         else
        !          38006:           exit(1);
        !          38007: 
        !          38008:  ;
        !          38009:  return 0;
        !          38010: }
        !          38011: 
        !          38012: _ACEOF
        !          38013: if ac_fn_c_try_run "$LINENO"; then :
        !          38014:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38015: $as_echo "yes" >&6; }
        !          38016:       tst_works_localtime_r="yes"
        !          38017: 
        !          38018: else
        !          38019:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38020: $as_echo "no" >&6; }
        !          38021:       tst_works_localtime_r="no"
        !          38022: 
        !          38023: fi
        !          38024: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          38025:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          38026: fi
        !          38027: 
        !          38028:    LD_LIBRARY_PATH=$old # restore
        !          38029: 
        !          38030:   fi
        !          38031:   #
        !          38032:   if test "$tst_compi_localtime_r" = "yes" &&
        !          38033:     test "$tst_works_localtime_r" != "no"; then
        !          38034:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if localtime_r usage allowed" >&5
        !          38035: $as_echo_n "checking if localtime_r usage allowed... " >&6; }
        !          38036:     if test "x$curl_disallow_localtime_r" != "xyes"; then
        !          38037:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38038: $as_echo "yes" >&6; }
        !          38039:       tst_allow_localtime_r="yes"
        !          38040:     else
        !          38041:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38042: $as_echo "no" >&6; }
        !          38043:       tst_allow_localtime_r="no"
        !          38044:     fi
        !          38045:   fi
        !          38046:   #
        !          38047:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if localtime_r might be used" >&5
        !          38048: $as_echo_n "checking if localtime_r might be used... " >&6; }
        !          38049:   if test "$tst_links_localtime_r" = "yes" &&
        !          38050:      test "$tst_proto_localtime_r" = "yes" &&
        !          38051:      test "$tst_compi_localtime_r" = "yes" &&
        !          38052:      test "$tst_allow_localtime_r" = "yes" &&
        !          38053:      test "$tst_works_localtime_r" != "no"; then
        !          38054:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38055: $as_echo "yes" >&6; }
        !          38056: 
        !          38057: cat >>confdefs.h <<_ACEOF
        !          38058: #define HAVE_LOCALTIME_R 1
        !          38059: _ACEOF
        !          38060: 
        !          38061:     curl_cv_func_localtime_r="yes"
        !          38062:   else
        !          38063:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38064: $as_echo "no" >&6; }
        !          38065:     curl_cv_func_localtime_r="no"
        !          38066:   fi
        !          38067: 
        !          38068: 
        !          38069:     #
        !          38070:   tst_links_memrchr="unknown"
        !          38071:   tst_macro_memrchr="unknown"
        !          38072:   tst_proto_memrchr="unknown"
        !          38073:   tst_compi_memrchr="unknown"
        !          38074:   tst_allow_memrchr="unknown"
        !          38075:   #
        !          38076:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if memrchr can be linked" >&5
        !          38077: $as_echo_n "checking if memrchr can be linked... " >&6; }
        !          38078:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          38079: /* end confdefs.h.  */
        !          38080: 
        !          38081: 
        !          38082: #define memrchr innocuous_memrchr
        !          38083: #ifdef __STDC__
        !          38084: # include <limits.h>
        !          38085: #else
        !          38086: # include <assert.h>
        !          38087: #endif
        !          38088: #undef memrchr
        !          38089: #ifdef __cplusplus
        !          38090: extern "C"
        !          38091: #endif
        !          38092: char memrchr ();
        !          38093: #if defined __stub_memrchr || defined __stub___memrchr
        !          38094: choke me
        !          38095: #endif
        !          38096: 
        !          38097: int main (void)
        !          38098: {
        !          38099: return memrchr ();
        !          38100:  ;
        !          38101:  return 0;
        !          38102: }
        !          38103: 
        !          38104: _ACEOF
        !          38105: if ac_fn_c_try_link "$LINENO"; then :
        !          38106: 
        !          38107:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38108: $as_echo "yes" >&6; }
        !          38109:     tst_links_memrchr="yes"
        !          38110: 
        !          38111: else
        !          38112: 
        !          38113:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38114: $as_echo "no" >&6; }
        !          38115:     tst_links_memrchr="no"
        !          38116: 
        !          38117: fi
        !          38118: rm -f core conftest.err conftest.$ac_objext \
        !          38119:     conftest$ac_exeext conftest.$ac_ext
        !          38120:   #
        !          38121:   if test "$tst_links_memrchr" = "no"; then
        !          38122:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if memrchr seems a macro" >&5
        !          38123: $as_echo_n "checking if memrchr seems a macro... " >&6; }
        !          38124:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          38125: /* end confdefs.h.  */
        !          38126: 
        !          38127: 
        !          38128:         $curl_includes_string
        !          38129: 
        !          38130: int main (void)
        !          38131: {
        !          38132: 
        !          38133:         if(0 != memrchr(0, 0, 0))
        !          38134:           return 1;
        !          38135: 
        !          38136:  ;
        !          38137:  return 0;
        !          38138: }
        !          38139: 
        !          38140: _ACEOF
        !          38141: if ac_fn_c_try_link "$LINENO"; then :
        !          38142: 
        !          38143:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38144: $as_echo "yes" >&6; }
        !          38145:       tst_macro_memrchr="yes"
        !          38146: 
        !          38147: else
        !          38148: 
        !          38149:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38150: $as_echo "no" >&6; }
        !          38151:       tst_macro_memrchr="no"
        !          38152: 
        !          38153: fi
        !          38154: rm -f core conftest.err conftest.$ac_objext \
        !          38155:     conftest$ac_exeext conftest.$ac_ext
        !          38156:   fi
        !          38157:   #
        !          38158:   if test "$tst_links_memrchr" = "yes"; then
        !          38159:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if memrchr is prototyped" >&5
        !          38160: $as_echo_n "checking if memrchr is prototyped... " >&6; }
        !          38161:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          38162: /* end confdefs.h.  */
        !          38163: 
        !          38164:       $curl_includes_string
        !          38165: 
        !          38166: _ACEOF
        !          38167: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          38168:   $EGREP "memrchr" >/dev/null 2>&1; then :
        !          38169: 
        !          38170:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38171: $as_echo "yes" >&6; }
        !          38172:       tst_proto_memrchr="yes"
        !          38173: 
        !          38174: else
        !          38175: 
        !          38176:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38177: $as_echo "no" >&6; }
        !          38178:       tst_proto_memrchr="no"
        !          38179: 
        !          38180: fi
        !          38181: rm -f conftest*
        !          38182: 
        !          38183:   fi
        !          38184:   #
        !          38185:   if test "$tst_proto_memrchr" = "yes" ||
        !          38186:      test "$tst_macro_memrchr" = "yes"; then
        !          38187:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if memrchr is compilable" >&5
        !          38188: $as_echo_n "checking if memrchr is compilable... " >&6; }
        !          38189:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          38190: /* end confdefs.h.  */
        !          38191: 
        !          38192: 
        !          38193:         $curl_includes_string
        !          38194: 
        !          38195: int main (void)
        !          38196: {
        !          38197: 
        !          38198:         if(0 != memrchr(0, 0, 0))
        !          38199:           return 1;
        !          38200: 
        !          38201:  ;
        !          38202:  return 0;
        !          38203: }
        !          38204: 
        !          38205: _ACEOF
        !          38206: if ac_fn_c_try_compile "$LINENO"; then :
        !          38207: 
        !          38208:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38209: $as_echo "yes" >&6; }
        !          38210:       tst_compi_memrchr="yes"
        !          38211: 
        !          38212: else
        !          38213: 
        !          38214:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38215: $as_echo "no" >&6; }
        !          38216:       tst_compi_memrchr="no"
        !          38217: 
        !          38218: fi
        !          38219: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          38220:   fi
        !          38221:   #
        !          38222:   if test "$tst_compi_memrchr" = "yes"; then
        !          38223:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if memrchr usage allowed" >&5
        !          38224: $as_echo_n "checking if memrchr usage allowed... " >&6; }
        !          38225:     if test "x$curl_disallow_memrchr" != "xyes"; then
        !          38226:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38227: $as_echo "yes" >&6; }
        !          38228:       tst_allow_memrchr="yes"
        !          38229:     else
        !          38230:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38231: $as_echo "no" >&6; }
        !          38232:       tst_allow_memrchr="no"
        !          38233:     fi
        !          38234:   fi
        !          38235:   #
        !          38236:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if memrchr might be used" >&5
        !          38237: $as_echo_n "checking if memrchr might be used... " >&6; }
        !          38238:   if (test "$tst_proto_memrchr" = "yes" ||
        !          38239:       test "$tst_macro_memrchr" = "yes") &&
        !          38240:      test "$tst_compi_memrchr" = "yes" &&
        !          38241:      test "$tst_allow_memrchr" = "yes"; then
        !          38242:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38243: $as_echo "yes" >&6; }
        !          38244: 
        !          38245: cat >>confdefs.h <<_ACEOF
        !          38246: #define HAVE_MEMRCHR 1
        !          38247: _ACEOF
        !          38248: 
        !          38249:     curl_cv_func_memrchr="yes"
        !          38250:   else
        !          38251:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38252: $as_echo "no" >&6; }
        !          38253:     curl_cv_func_memrchr="no"
        !          38254:   fi
        !          38255: 
        !          38256: 
        !          38257:       #
        !          38258:   tst_links_poll="unknown"
        !          38259:   tst_proto_poll="unknown"
        !          38260:   tst_compi_poll="unknown"
        !          38261:   tst_works_poll="unknown"
        !          38262:   tst_allow_poll="unknown"
        !          38263:   #
        !          38264:   case $host_os in
        !          38265:     darwin*|interix*)
        !          38266:                                           curl_disallow_poll="yes"
        !          38267:       tst_compi_poll="no"
        !          38268:       ;;
        !          38269:   esac
        !          38270:   #
        !          38271:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll can be linked" >&5
        !          38272: $as_echo_n "checking if poll can be linked... " >&6; }
        !          38273:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          38274: /* end confdefs.h.  */
        !          38275: 
        !          38276: 
        !          38277:       $curl_includes_poll
        !          38278: 
        !          38279: int main (void)
        !          38280: {
        !          38281: 
        !          38282:       if(0 != poll(0, 0, 0))
        !          38283:         return 1;
        !          38284: 
        !          38285:  ;
        !          38286:  return 0;
        !          38287: }
        !          38288: 
        !          38289: _ACEOF
        !          38290: if ac_fn_c_try_link "$LINENO"; then :
        !          38291: 
        !          38292:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38293: $as_echo "yes" >&6; }
        !          38294:     tst_links_poll="yes"
        !          38295: 
        !          38296: else
        !          38297: 
        !          38298:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38299: $as_echo "no" >&6; }
        !          38300:     tst_links_poll="no"
        !          38301: 
        !          38302: fi
        !          38303: rm -f core conftest.err conftest.$ac_objext \
        !          38304:     conftest$ac_exeext conftest.$ac_ext
        !          38305:   #
        !          38306:   if test "$tst_links_poll" = "yes"; then
        !          38307:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll is prototyped" >&5
        !          38308: $as_echo_n "checking if poll is prototyped... " >&6; }
        !          38309:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          38310: /* end confdefs.h.  */
        !          38311: 
        !          38312:       $curl_includes_poll
        !          38313: 
        !          38314: _ACEOF
        !          38315: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          38316:   $EGREP "poll" >/dev/null 2>&1; then :
        !          38317: 
        !          38318:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38319: $as_echo "yes" >&6; }
        !          38320:       tst_proto_poll="yes"
        !          38321: 
        !          38322: else
        !          38323: 
        !          38324:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38325: $as_echo "no" >&6; }
        !          38326:       tst_proto_poll="no"
        !          38327: 
        !          38328: fi
        !          38329: rm -f conftest*
        !          38330: 
        !          38331:   fi
        !          38332:   #
        !          38333:   if test "$tst_proto_poll" = "yes"; then
        !          38334:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll is compilable" >&5
        !          38335: $as_echo_n "checking if poll is compilable... " >&6; }
        !          38336:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          38337: /* end confdefs.h.  */
        !          38338: 
        !          38339: 
        !          38340:         $curl_includes_poll
        !          38341: 
        !          38342: int main (void)
        !          38343: {
        !          38344: 
        !          38345:         if(0 != poll(0, 0, 0))
        !          38346:           return 1;
        !          38347: 
        !          38348:  ;
        !          38349:  return 0;
        !          38350: }
        !          38351: 
        !          38352: _ACEOF
        !          38353: if ac_fn_c_try_compile "$LINENO"; then :
        !          38354: 
        !          38355:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38356: $as_echo "yes" >&6; }
        !          38357:       tst_compi_poll="yes"
        !          38358: 
        !          38359: else
        !          38360: 
        !          38361:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38362: $as_echo "no" >&6; }
        !          38363:       tst_compi_poll="no"
        !          38364: 
        !          38365: fi
        !          38366: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          38367:   fi
        !          38368:   #
        !          38369:     if test "x$cross_compiling" != "xyes" &&
        !          38370:     test "$tst_compi_poll" = "yes"; then
        !          38371:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll seems to work" >&5
        !          38372: $as_echo_n "checking if poll seems to work... " >&6; }
        !          38373: 
        !          38374:    old=$LD_LIBRARY_PATH
        !          38375:    LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
        !          38376:    export LD_LIBRARY_PATH
        !          38377:    if test "$cross_compiling" = yes; then :
        !          38378:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          38379: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          38380: as_fn_error $? "cannot run test program while cross compiling
        !          38381: See \`config.log' for more details" "$LINENO" 5; }
        !          38382: else
        !          38383:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          38384: /* end confdefs.h.  */
        !          38385: 
        !          38386: 
        !          38387:         $curl_includes_stdlib
        !          38388:         $curl_includes_poll
        !          38389:         $curl_includes_time
        !          38390: 
        !          38391: int main (void)
        !          38392: {
        !          38393: 
        !          38394:         /* detect the original poll() breakage */
        !          38395:         if(0 != poll(0, 0, 10))
        !          38396:           exit(1); /* fail */
        !          38397:         else {
        !          38398:           /* detect the 10.12 poll() breakage */
        !          38399:           struct timeval before, after;
        !          38400:           int rc;
        !          38401:           size_t us;
        !          38402: 
        !          38403:           gettimeofday(&before, NULL);
        !          38404:           rc = poll(NULL, 0, 500);
        !          38405:           gettimeofday(&after, NULL);
        !          38406: 
        !          38407:           us = (after.tv_sec - before.tv_sec) * 1000000 +
        !          38408:             (after.tv_usec - before.tv_usec);
        !          38409: 
        !          38410:           if(us < 400000)
        !          38411:             exit(1);
        !          38412:         }
        !          38413: 
        !          38414:  ;
        !          38415:  return 0;
        !          38416: }
        !          38417: 
        !          38418: _ACEOF
        !          38419: if ac_fn_c_try_run "$LINENO"; then :
        !          38420:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38421: $as_echo "yes" >&6; }
        !          38422:       tst_works_poll="yes"
        !          38423: 
        !          38424: else
        !          38425:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38426: $as_echo "no" >&6; }
        !          38427:       tst_works_poll="no"
        !          38428: 
        !          38429: fi
        !          38430: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          38431:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          38432: fi
        !          38433: 
        !          38434:    LD_LIBRARY_PATH=$old # restore
        !          38435: 
        !          38436:   fi
        !          38437:   #
        !          38438:   if test "$tst_compi_poll" = "yes" &&
        !          38439:     test "$tst_works_poll" != "no"; then
        !          38440:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll usage allowed" >&5
        !          38441: $as_echo_n "checking if poll usage allowed... " >&6; }
        !          38442:     if test "x$curl_disallow_poll" != "xyes"; then
        !          38443:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38444: $as_echo "yes" >&6; }
        !          38445:       tst_allow_poll="yes"
        !          38446:     else
        !          38447:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38448: $as_echo "no" >&6; }
        !          38449:       tst_allow_poll="no"
        !          38450:     fi
        !          38451:   fi
        !          38452:   #
        !          38453:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll might be used" >&5
        !          38454: $as_echo_n "checking if poll might be used... " >&6; }
        !          38455:   if test "$tst_links_poll" = "yes" &&
        !          38456:      test "$tst_proto_poll" = "yes" &&
        !          38457:      test "$tst_compi_poll" = "yes" &&
        !          38458:      test "$tst_allow_poll" = "yes" &&
        !          38459:      test "$tst_works_poll" != "no"; then
        !          38460:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38461: $as_echo "yes" >&6; }
        !          38462: 
        !          38463: cat >>confdefs.h <<_ACEOF
        !          38464: #define HAVE_POLL 1
        !          38465: _ACEOF
        !          38466: 
        !          38467: 
        !          38468: cat >>confdefs.h <<_ACEOF
        !          38469: #define HAVE_POLL_FINE 1
        !          38470: _ACEOF
        !          38471: 
        !          38472:     curl_cv_func_poll="yes"
        !          38473:   else
        !          38474:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38475: $as_echo "no" >&6; }
        !          38476:     curl_cv_func_poll="no"
        !          38477:   fi
        !          38478: 
        !          38479: 
        !          38480:       #
        !          38481:   tst_links_setsockopt="unknown"
        !          38482:   tst_proto_setsockopt="unknown"
        !          38483:   tst_compi_setsockopt="unknown"
        !          38484:   tst_allow_setsockopt="unknown"
        !          38485:   #
        !          38486:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt can be linked" >&5
        !          38487: $as_echo_n "checking if setsockopt can be linked... " >&6; }
        !          38488:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          38489: /* end confdefs.h.  */
        !          38490: 
        !          38491: 
        !          38492:       $curl_includes_winsock2
        !          38493:       $curl_includes_bsdsocket
        !          38494:       $curl_includes_sys_socket
        !          38495: 
        !          38496: int main (void)
        !          38497: {
        !          38498: 
        !          38499:       if(0 != setsockopt(0, 0, 0, 0, 0))
        !          38500:         return 1;
        !          38501: 
        !          38502:  ;
        !          38503:  return 0;
        !          38504: }
        !          38505: 
        !          38506: _ACEOF
        !          38507: if ac_fn_c_try_link "$LINENO"; then :
        !          38508: 
        !          38509:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38510: $as_echo "yes" >&6; }
        !          38511:     tst_links_setsockopt="yes"
        !          38512: 
        !          38513: else
        !          38514: 
        !          38515:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38516: $as_echo "no" >&6; }
        !          38517:     tst_links_setsockopt="no"
        !          38518: 
        !          38519: fi
        !          38520: rm -f core conftest.err conftest.$ac_objext \
        !          38521:     conftest$ac_exeext conftest.$ac_ext
        !          38522:   #
        !          38523:   if test "$tst_links_setsockopt" = "yes"; then
        !          38524:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt is prototyped" >&5
        !          38525: $as_echo_n "checking if setsockopt is prototyped... " >&6; }
        !          38526:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          38527: /* end confdefs.h.  */
        !          38528: 
        !          38529:       $curl_includes_winsock2
        !          38530:       $curl_includes_bsdsocket
        !          38531:       $curl_includes_sys_socket
        !          38532: 
        !          38533: _ACEOF
        !          38534: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          38535:   $EGREP "setsockopt" >/dev/null 2>&1; then :
        !          38536: 
        !          38537:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38538: $as_echo "yes" >&6; }
        !          38539:       tst_proto_setsockopt="yes"
        !          38540: 
        !          38541: else
        !          38542: 
        !          38543:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38544: $as_echo "no" >&6; }
        !          38545:       tst_proto_setsockopt="no"
        !          38546: 
        !          38547: fi
        !          38548: rm -f conftest*
        !          38549: 
        !          38550:   fi
        !          38551:   #
        !          38552:   if test "$tst_proto_setsockopt" = "yes"; then
        !          38553:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt is compilable" >&5
        !          38554: $as_echo_n "checking if setsockopt is compilable... " >&6; }
        !          38555:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          38556: /* end confdefs.h.  */
        !          38557: 
        !          38558: 
        !          38559:         $curl_includes_winsock2
        !          38560:       $curl_includes_bsdsocket
        !          38561:         $curl_includes_sys_socket
        !          38562: 
        !          38563: int main (void)
        !          38564: {
        !          38565: 
        !          38566:         if(0 != setsockopt(0, 0, 0, 0, 0))
        !          38567:           return 1;
        !          38568: 
        !          38569:  ;
        !          38570:  return 0;
        !          38571: }
        !          38572: 
        !          38573: _ACEOF
        !          38574: if ac_fn_c_try_compile "$LINENO"; then :
        !          38575: 
        !          38576:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38577: $as_echo "yes" >&6; }
        !          38578:       tst_compi_setsockopt="yes"
        !          38579: 
        !          38580: else
        !          38581: 
        !          38582:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38583: $as_echo "no" >&6; }
        !          38584:       tst_compi_setsockopt="no"
        !          38585: 
        !          38586: fi
        !          38587: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          38588:   fi
        !          38589:   #
        !          38590:   if test "$tst_compi_setsockopt" = "yes"; then
        !          38591:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt usage allowed" >&5
        !          38592: $as_echo_n "checking if setsockopt usage allowed... " >&6; }
        !          38593:     if test "x$curl_disallow_setsockopt" != "xyes"; then
        !          38594:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38595: $as_echo "yes" >&6; }
        !          38596:       tst_allow_setsockopt="yes"
        !          38597:     else
        !          38598:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38599: $as_echo "no" >&6; }
        !          38600:       tst_allow_setsockopt="no"
        !          38601:     fi
        !          38602:   fi
        !          38603:   #
        !          38604:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt might be used" >&5
        !          38605: $as_echo_n "checking if setsockopt might be used... " >&6; }
        !          38606:   if test "$tst_links_setsockopt" = "yes" &&
        !          38607:      test "$tst_proto_setsockopt" = "yes" &&
        !          38608:      test "$tst_compi_setsockopt" = "yes" &&
        !          38609:      test "$tst_allow_setsockopt" = "yes"; then
        !          38610:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38611: $as_echo "yes" >&6; }
        !          38612: 
        !          38613: cat >>confdefs.h <<_ACEOF
        !          38614: #define HAVE_SETSOCKOPT 1
        !          38615: _ACEOF
        !          38616: 
        !          38617:     curl_cv_func_setsockopt="yes"
        !          38618: 
        !          38619:   #
        !          38620:   tst_compi_setsockopt_so_nonblock="unknown"
        !          38621:   tst_allow_setsockopt_so_nonblock="unknown"
        !          38622:   #
        !          38623:   if test "$curl_cv_func_setsockopt" = "yes"; then
        !          38624:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt SO_NONBLOCK is compilable" >&5
        !          38625: $as_echo_n "checking if setsockopt SO_NONBLOCK is compilable... " >&6; }
        !          38626:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          38627: /* end confdefs.h.  */
        !          38628: 
        !          38629: 
        !          38630:         $curl_includes_winsock2
        !          38631:       $curl_includes_bsdsocket
        !          38632:         $curl_includes_sys_socket
        !          38633: 
        !          38634: int main (void)
        !          38635: {
        !          38636: 
        !          38637:         if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0))
        !          38638:           return 1;
        !          38639: 
        !          38640:  ;
        !          38641:  return 0;
        !          38642: }
        !          38643: 
        !          38644: _ACEOF
        !          38645: if ac_fn_c_try_compile "$LINENO"; then :
        !          38646: 
        !          38647:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38648: $as_echo "yes" >&6; }
        !          38649:       tst_compi_setsockopt_so_nonblock="yes"
        !          38650: 
        !          38651: else
        !          38652: 
        !          38653:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38654: $as_echo "no" >&6; }
        !          38655:       tst_compi_setsockopt_so_nonblock="no"
        !          38656: 
        !          38657: fi
        !          38658: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          38659:   fi
        !          38660:   #
        !          38661:   if test "$tst_compi_setsockopt_so_nonblock" = "yes"; then
        !          38662:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt SO_NONBLOCK usage allowed" >&5
        !          38663: $as_echo_n "checking if setsockopt SO_NONBLOCK usage allowed... " >&6; }
        !          38664:     if test "x$curl_disallow_setsockopt_so_nonblock" != "xyes"; then
        !          38665:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38666: $as_echo "yes" >&6; }
        !          38667:       tst_allow_setsockopt_so_nonblock="yes"
        !          38668:     else
        !          38669:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38670: $as_echo "no" >&6; }
        !          38671:       tst_allow_setsockopt_so_nonblock="no"
        !          38672:     fi
        !          38673:   fi
        !          38674:   #
        !          38675:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt SO_NONBLOCK might be used" >&5
        !          38676: $as_echo_n "checking if setsockopt SO_NONBLOCK might be used... " >&6; }
        !          38677:   if test "$tst_compi_setsockopt_so_nonblock" = "yes" &&
        !          38678:      test "$tst_allow_setsockopt_so_nonblock" = "yes"; then
        !          38679:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38680: $as_echo "yes" >&6; }
        !          38681: 
        !          38682: cat >>confdefs.h <<_ACEOF
        !          38683: #define HAVE_SETSOCKOPT_SO_NONBLOCK 1
        !          38684: _ACEOF
        !          38685: 
        !          38686:     curl_cv_func_setsockopt_so_nonblock="yes"
        !          38687:   else
        !          38688:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38689: $as_echo "no" >&6; }
        !          38690:     curl_cv_func_setsockopt_so_nonblock="no"
        !          38691:   fi
        !          38692: 
        !          38693:   else
        !          38694:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38695: $as_echo "no" >&6; }
        !          38696:     curl_cv_func_setsockopt="no"
        !          38697:   fi
        !          38698: 
        !          38699: 
        !          38700: curl_includes_signal="\
        !          38701: /* includes start */
        !          38702: #ifdef HAVE_SYS_TYPES_H
        !          38703: #  include <sys/types.h>
        !          38704: #endif
        !          38705: #ifdef HAVE_SIGNAL_H
        !          38706: #  include <signal.h>
        !          38707: #endif
        !          38708: /* includes end */"
        !          38709:   for ac_header in sys/types.h signal.h
        !          38710: do :
        !          38711:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          38712: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_signal
        !          38713: "
        !          38714: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          38715:   cat >>confdefs.h <<_ACEOF
        !          38716: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          38717: _ACEOF
        !          38718: 
        !          38719: fi
        !          38720: 
        !          38721: done
        !          38722: 
        !          38723: 
        !          38724: 
        !          38725:     #
        !          38726:   tst_links_sigaction="unknown"
        !          38727:   tst_proto_sigaction="unknown"
        !          38728:   tst_compi_sigaction="unknown"
        !          38729:   tst_allow_sigaction="unknown"
        !          38730:   #
        !          38731:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigaction can be linked" >&5
        !          38732: $as_echo_n "checking if sigaction can be linked... " >&6; }
        !          38733:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          38734: /* end confdefs.h.  */
        !          38735: 
        !          38736: 
        !          38737: #define sigaction innocuous_sigaction
        !          38738: #ifdef __STDC__
        !          38739: # include <limits.h>
        !          38740: #else
        !          38741: # include <assert.h>
        !          38742: #endif
        !          38743: #undef sigaction
        !          38744: #ifdef __cplusplus
        !          38745: extern "C"
        !          38746: #endif
        !          38747: char sigaction ();
        !          38748: #if defined __stub_sigaction || defined __stub___sigaction
        !          38749: choke me
        !          38750: #endif
        !          38751: 
        !          38752: int main (void)
        !          38753: {
        !          38754: return sigaction ();
        !          38755:  ;
        !          38756:  return 0;
        !          38757: }
        !          38758: 
        !          38759: _ACEOF
        !          38760: if ac_fn_c_try_link "$LINENO"; then :
        !          38761: 
        !          38762:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38763: $as_echo "yes" >&6; }
        !          38764:     tst_links_sigaction="yes"
        !          38765: 
        !          38766: else
        !          38767: 
        !          38768:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38769: $as_echo "no" >&6; }
        !          38770:     tst_links_sigaction="no"
        !          38771: 
        !          38772: fi
        !          38773: rm -f core conftest.err conftest.$ac_objext \
        !          38774:     conftest$ac_exeext conftest.$ac_ext
        !          38775:   #
        !          38776:   if test "$tst_links_sigaction" = "yes"; then
        !          38777:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigaction is prototyped" >&5
        !          38778: $as_echo_n "checking if sigaction is prototyped... " >&6; }
        !          38779:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          38780: /* end confdefs.h.  */
        !          38781: 
        !          38782:       $curl_includes_signal
        !          38783: 
        !          38784: _ACEOF
        !          38785: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          38786:   $EGREP "sigaction" >/dev/null 2>&1; then :
        !          38787: 
        !          38788:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38789: $as_echo "yes" >&6; }
        !          38790:       tst_proto_sigaction="yes"
        !          38791: 
        !          38792: else
        !          38793: 
        !          38794:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38795: $as_echo "no" >&6; }
        !          38796:       tst_proto_sigaction="no"
        !          38797: 
        !          38798: fi
        !          38799: rm -f conftest*
        !          38800: 
        !          38801:   fi
        !          38802:   #
        !          38803:   if test "$tst_proto_sigaction" = "yes"; then
        !          38804:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigaction is compilable" >&5
        !          38805: $as_echo_n "checking if sigaction is compilable... " >&6; }
        !          38806:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          38807: /* end confdefs.h.  */
        !          38808: 
        !          38809: 
        !          38810:         $curl_includes_signal
        !          38811: 
        !          38812: int main (void)
        !          38813: {
        !          38814: 
        !          38815:         if(0 != sigaction(0, 0, 0))
        !          38816:           return 1;
        !          38817: 
        !          38818:  ;
        !          38819:  return 0;
        !          38820: }
        !          38821: 
        !          38822: _ACEOF
        !          38823: if ac_fn_c_try_compile "$LINENO"; then :
        !          38824: 
        !          38825:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38826: $as_echo "yes" >&6; }
        !          38827:       tst_compi_sigaction="yes"
        !          38828: 
        !          38829: else
        !          38830: 
        !          38831:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38832: $as_echo "no" >&6; }
        !          38833:       tst_compi_sigaction="no"
        !          38834: 
        !          38835: fi
        !          38836: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          38837:   fi
        !          38838:   #
        !          38839:   if test "$tst_compi_sigaction" = "yes"; then
        !          38840:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigaction usage allowed" >&5
        !          38841: $as_echo_n "checking if sigaction usage allowed... " >&6; }
        !          38842:     if test "x$curl_disallow_sigaction" != "xyes"; then
        !          38843:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38844: $as_echo "yes" >&6; }
        !          38845:       tst_allow_sigaction="yes"
        !          38846:     else
        !          38847:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38848: $as_echo "no" >&6; }
        !          38849:       tst_allow_sigaction="no"
        !          38850:     fi
        !          38851:   fi
        !          38852:   #
        !          38853:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigaction might be used" >&5
        !          38854: $as_echo_n "checking if sigaction might be used... " >&6; }
        !          38855:   if test "$tst_links_sigaction" = "yes" &&
        !          38856:      test "$tst_proto_sigaction" = "yes" &&
        !          38857:      test "$tst_compi_sigaction" = "yes" &&
        !          38858:      test "$tst_allow_sigaction" = "yes"; then
        !          38859:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38860: $as_echo "yes" >&6; }
        !          38861: 
        !          38862: cat >>confdefs.h <<_ACEOF
        !          38863: #define HAVE_SIGACTION 1
        !          38864: _ACEOF
        !          38865: 
        !          38866:     curl_cv_func_sigaction="yes"
        !          38867:   else
        !          38868:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38869: $as_echo "no" >&6; }
        !          38870:     curl_cv_func_sigaction="no"
        !          38871:   fi
        !          38872: 
        !          38873: 
        !          38874:     #
        !          38875:   tst_links_siginterrupt="unknown"
        !          38876:   tst_proto_siginterrupt="unknown"
        !          38877:   tst_compi_siginterrupt="unknown"
        !          38878:   tst_allow_siginterrupt="unknown"
        !          38879:   #
        !          38880:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if siginterrupt can be linked" >&5
        !          38881: $as_echo_n "checking if siginterrupt can be linked... " >&6; }
        !          38882:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          38883: /* end confdefs.h.  */
        !          38884: 
        !          38885: 
        !          38886: #define siginterrupt innocuous_siginterrupt
        !          38887: #ifdef __STDC__
        !          38888: # include <limits.h>
        !          38889: #else
        !          38890: # include <assert.h>
        !          38891: #endif
        !          38892: #undef siginterrupt
        !          38893: #ifdef __cplusplus
        !          38894: extern "C"
        !          38895: #endif
        !          38896: char siginterrupt ();
        !          38897: #if defined __stub_siginterrupt || defined __stub___siginterrupt
        !          38898: choke me
        !          38899: #endif
        !          38900: 
        !          38901: int main (void)
        !          38902: {
        !          38903: return siginterrupt ();
        !          38904:  ;
        !          38905:  return 0;
        !          38906: }
        !          38907: 
        !          38908: _ACEOF
        !          38909: if ac_fn_c_try_link "$LINENO"; then :
        !          38910: 
        !          38911:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38912: $as_echo "yes" >&6; }
        !          38913:     tst_links_siginterrupt="yes"
        !          38914: 
        !          38915: else
        !          38916: 
        !          38917:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38918: $as_echo "no" >&6; }
        !          38919:     tst_links_siginterrupt="no"
        !          38920: 
        !          38921: fi
        !          38922: rm -f core conftest.err conftest.$ac_objext \
        !          38923:     conftest$ac_exeext conftest.$ac_ext
        !          38924:   #
        !          38925:   if test "$tst_links_siginterrupt" = "yes"; then
        !          38926:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if siginterrupt is prototyped" >&5
        !          38927: $as_echo_n "checking if siginterrupt is prototyped... " >&6; }
        !          38928:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          38929: /* end confdefs.h.  */
        !          38930: 
        !          38931:       $curl_includes_signal
        !          38932: 
        !          38933: _ACEOF
        !          38934: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          38935:   $EGREP "siginterrupt" >/dev/null 2>&1; then :
        !          38936: 
        !          38937:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38938: $as_echo "yes" >&6; }
        !          38939:       tst_proto_siginterrupt="yes"
        !          38940: 
        !          38941: else
        !          38942: 
        !          38943:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38944: $as_echo "no" >&6; }
        !          38945:       tst_proto_siginterrupt="no"
        !          38946: 
        !          38947: fi
        !          38948: rm -f conftest*
        !          38949: 
        !          38950:   fi
        !          38951:   #
        !          38952:   if test "$tst_proto_siginterrupt" = "yes"; then
        !          38953:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if siginterrupt is compilable" >&5
        !          38954: $as_echo_n "checking if siginterrupt is compilable... " >&6; }
        !          38955:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          38956: /* end confdefs.h.  */
        !          38957: 
        !          38958: 
        !          38959:         $curl_includes_signal
        !          38960: 
        !          38961: int main (void)
        !          38962: {
        !          38963: 
        !          38964:         if(0 != siginterrupt(0, 0))
        !          38965:           return 1;
        !          38966: 
        !          38967:  ;
        !          38968:  return 0;
        !          38969: }
        !          38970: 
        !          38971: _ACEOF
        !          38972: if ac_fn_c_try_compile "$LINENO"; then :
        !          38973: 
        !          38974:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38975: $as_echo "yes" >&6; }
        !          38976:       tst_compi_siginterrupt="yes"
        !          38977: 
        !          38978: else
        !          38979: 
        !          38980:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38981: $as_echo "no" >&6; }
        !          38982:       tst_compi_siginterrupt="no"
        !          38983: 
        !          38984: fi
        !          38985: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          38986:   fi
        !          38987:   #
        !          38988:   if test "$tst_compi_siginterrupt" = "yes"; then
        !          38989:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if siginterrupt usage allowed" >&5
        !          38990: $as_echo_n "checking if siginterrupt usage allowed... " >&6; }
        !          38991:     if test "x$curl_disallow_siginterrupt" != "xyes"; then
        !          38992:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          38993: $as_echo "yes" >&6; }
        !          38994:       tst_allow_siginterrupt="yes"
        !          38995:     else
        !          38996:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          38997: $as_echo "no" >&6; }
        !          38998:       tst_allow_siginterrupt="no"
        !          38999:     fi
        !          39000:   fi
        !          39001:   #
        !          39002:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if siginterrupt might be used" >&5
        !          39003: $as_echo_n "checking if siginterrupt might be used... " >&6; }
        !          39004:   if test "$tst_links_siginterrupt" = "yes" &&
        !          39005:      test "$tst_proto_siginterrupt" = "yes" &&
        !          39006:      test "$tst_compi_siginterrupt" = "yes" &&
        !          39007:      test "$tst_allow_siginterrupt" = "yes"; then
        !          39008:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39009: $as_echo "yes" >&6; }
        !          39010: 
        !          39011: cat >>confdefs.h <<_ACEOF
        !          39012: #define HAVE_SIGINTERRUPT 1
        !          39013: _ACEOF
        !          39014: 
        !          39015:     curl_cv_func_siginterrupt="yes"
        !          39016:   else
        !          39017:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39018: $as_echo "no" >&6; }
        !          39019:     curl_cv_func_siginterrupt="no"
        !          39020:   fi
        !          39021: 
        !          39022: 
        !          39023:     #
        !          39024:   tst_links_signal="unknown"
        !          39025:   tst_proto_signal="unknown"
        !          39026:   tst_compi_signal="unknown"
        !          39027:   tst_allow_signal="unknown"
        !          39028:   #
        !          39029:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal can be linked" >&5
        !          39030: $as_echo_n "checking if signal can be linked... " >&6; }
        !          39031:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          39032: /* end confdefs.h.  */
        !          39033: 
        !          39034: 
        !          39035: #define signal innocuous_signal
        !          39036: #ifdef __STDC__
        !          39037: # include <limits.h>
        !          39038: #else
        !          39039: # include <assert.h>
        !          39040: #endif
        !          39041: #undef signal
        !          39042: #ifdef __cplusplus
        !          39043: extern "C"
        !          39044: #endif
        !          39045: char signal ();
        !          39046: #if defined __stub_signal || defined __stub___signal
        !          39047: choke me
        !          39048: #endif
        !          39049: 
        !          39050: int main (void)
        !          39051: {
        !          39052: return signal ();
        !          39053:  ;
        !          39054:  return 0;
        !          39055: }
        !          39056: 
        !          39057: _ACEOF
        !          39058: if ac_fn_c_try_link "$LINENO"; then :
        !          39059: 
        !          39060:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39061: $as_echo "yes" >&6; }
        !          39062:     tst_links_signal="yes"
        !          39063: 
        !          39064: else
        !          39065: 
        !          39066:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39067: $as_echo "no" >&6; }
        !          39068:     tst_links_signal="no"
        !          39069: 
        !          39070: fi
        !          39071: rm -f core conftest.err conftest.$ac_objext \
        !          39072:     conftest$ac_exeext conftest.$ac_ext
        !          39073:   #
        !          39074:   if test "$tst_links_signal" = "yes"; then
        !          39075:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal is prototyped" >&5
        !          39076: $as_echo_n "checking if signal is prototyped... " >&6; }
        !          39077:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          39078: /* end confdefs.h.  */
        !          39079: 
        !          39080:       $curl_includes_signal
        !          39081: 
        !          39082: _ACEOF
        !          39083: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          39084:   $EGREP "signal" >/dev/null 2>&1; then :
        !          39085: 
        !          39086:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39087: $as_echo "yes" >&6; }
        !          39088:       tst_proto_signal="yes"
        !          39089: 
        !          39090: else
        !          39091: 
        !          39092:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39093: $as_echo "no" >&6; }
        !          39094:       tst_proto_signal="no"
        !          39095: 
        !          39096: fi
        !          39097: rm -f conftest*
        !          39098: 
        !          39099:   fi
        !          39100:   #
        !          39101:   if test "$tst_proto_signal" = "yes"; then
        !          39102:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal is compilable" >&5
        !          39103: $as_echo_n "checking if signal is compilable... " >&6; }
        !          39104:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          39105: /* end confdefs.h.  */
        !          39106: 
        !          39107: 
        !          39108:         $curl_includes_signal
        !          39109: 
        !          39110: int main (void)
        !          39111: {
        !          39112: 
        !          39113:         if(0 != signal(0, 0))
        !          39114:           return 1;
        !          39115: 
        !          39116:  ;
        !          39117:  return 0;
        !          39118: }
        !          39119: 
        !          39120: _ACEOF
        !          39121: if ac_fn_c_try_compile "$LINENO"; then :
        !          39122: 
        !          39123:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39124: $as_echo "yes" >&6; }
        !          39125:       tst_compi_signal="yes"
        !          39126: 
        !          39127: else
        !          39128: 
        !          39129:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39130: $as_echo "no" >&6; }
        !          39131:       tst_compi_signal="no"
        !          39132: 
        !          39133: fi
        !          39134: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          39135:   fi
        !          39136:   #
        !          39137:   if test "$tst_compi_signal" = "yes"; then
        !          39138:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal usage allowed" >&5
        !          39139: $as_echo_n "checking if signal usage allowed... " >&6; }
        !          39140:     if test "x$curl_disallow_signal" != "xyes"; then
        !          39141:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39142: $as_echo "yes" >&6; }
        !          39143:       tst_allow_signal="yes"
        !          39144:     else
        !          39145:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39146: $as_echo "no" >&6; }
        !          39147:       tst_allow_signal="no"
        !          39148:     fi
        !          39149:   fi
        !          39150:   #
        !          39151:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal might be used" >&5
        !          39152: $as_echo_n "checking if signal might be used... " >&6; }
        !          39153:   if test "$tst_links_signal" = "yes" &&
        !          39154:      test "$tst_proto_signal" = "yes" &&
        !          39155:      test "$tst_compi_signal" = "yes" &&
        !          39156:      test "$tst_allow_signal" = "yes"; then
        !          39157:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39158: $as_echo "yes" >&6; }
        !          39159: 
        !          39160: cat >>confdefs.h <<_ACEOF
        !          39161: #define HAVE_SIGNAL 1
        !          39162: _ACEOF
        !          39163: 
        !          39164:     curl_cv_func_signal="yes"
        !          39165:   else
        !          39166:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39167: $as_echo "no" >&6; }
        !          39168:     curl_cv_func_signal="no"
        !          39169:   fi
        !          39170: 
        !          39171: 
        !          39172: curl_includes_setjmp="\
        !          39173: /* includes start */
        !          39174: #ifdef HAVE_SYS_TYPES_H
        !          39175: #  include <sys/types.h>
        !          39176: #endif
        !          39177: #ifdef HAVE_SETJMP_H
        !          39178: #  include <setjmp.h>
        !          39179: #endif
        !          39180: /* includes end */"
        !          39181:   for ac_header in sys/types.h setjmp.h
        !          39182: do :
        !          39183:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          39184: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_setjmp
        !          39185: "
        !          39186: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          39187:   cat >>confdefs.h <<_ACEOF
        !          39188: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          39189: _ACEOF
        !          39190: 
        !          39191: fi
        !          39192: 
        !          39193: done
        !          39194: 
        !          39195: 
        !          39196: 
        !          39197:     #
        !          39198:   tst_links_sigsetjmp="unknown"
        !          39199:   tst_macro_sigsetjmp="unknown"
        !          39200:   tst_proto_sigsetjmp="unknown"
        !          39201:   tst_compi_sigsetjmp="unknown"
        !          39202:   tst_allow_sigsetjmp="unknown"
        !          39203:   #
        !          39204:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp can be linked" >&5
        !          39205: $as_echo_n "checking if sigsetjmp can be linked... " >&6; }
        !          39206:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          39207: /* end confdefs.h.  */
        !          39208: 
        !          39209: 
        !          39210: #define sigsetjmp innocuous_sigsetjmp
        !          39211: #ifdef __STDC__
        !          39212: # include <limits.h>
        !          39213: #else
        !          39214: # include <assert.h>
        !          39215: #endif
        !          39216: #undef sigsetjmp
        !          39217: #ifdef __cplusplus
        !          39218: extern "C"
        !          39219: #endif
        !          39220: char sigsetjmp ();
        !          39221: #if defined __stub_sigsetjmp || defined __stub___sigsetjmp
        !          39222: choke me
        !          39223: #endif
        !          39224: 
        !          39225: int main (void)
        !          39226: {
        !          39227: return sigsetjmp ();
        !          39228:  ;
        !          39229:  return 0;
        !          39230: }
        !          39231: 
        !          39232: _ACEOF
        !          39233: if ac_fn_c_try_link "$LINENO"; then :
        !          39234: 
        !          39235:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39236: $as_echo "yes" >&6; }
        !          39237:     tst_links_sigsetjmp="yes"
        !          39238: 
        !          39239: else
        !          39240: 
        !          39241:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39242: $as_echo "no" >&6; }
        !          39243:     tst_links_sigsetjmp="no"
        !          39244: 
        !          39245: fi
        !          39246: rm -f core conftest.err conftest.$ac_objext \
        !          39247:     conftest$ac_exeext conftest.$ac_ext
        !          39248:   #
        !          39249:   if test "$tst_links_sigsetjmp" = "no"; then
        !          39250:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp seems a macro" >&5
        !          39251: $as_echo_n "checking if sigsetjmp seems a macro... " >&6; }
        !          39252:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          39253: /* end confdefs.h.  */
        !          39254: 
        !          39255: 
        !          39256:         $curl_includes_setjmp
        !          39257: 
        !          39258: int main (void)
        !          39259: {
        !          39260: 
        !          39261:         sigjmp_buf env;
        !          39262:         if(0 != sigsetjmp(env, 0))
        !          39263:           return 1;
        !          39264: 
        !          39265:  ;
        !          39266:  return 0;
        !          39267: }
        !          39268: 
        !          39269: _ACEOF
        !          39270: if ac_fn_c_try_link "$LINENO"; then :
        !          39271: 
        !          39272:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39273: $as_echo "yes" >&6; }
        !          39274:       tst_macro_sigsetjmp="yes"
        !          39275: 
        !          39276: else
        !          39277: 
        !          39278:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39279: $as_echo "no" >&6; }
        !          39280:       tst_macro_sigsetjmp="no"
        !          39281: 
        !          39282: fi
        !          39283: rm -f core conftest.err conftest.$ac_objext \
        !          39284:     conftest$ac_exeext conftest.$ac_ext
        !          39285:   fi
        !          39286:   #
        !          39287:   if test "$tst_links_sigsetjmp" = "yes"; then
        !          39288:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp is prototyped" >&5
        !          39289: $as_echo_n "checking if sigsetjmp is prototyped... " >&6; }
        !          39290:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          39291: /* end confdefs.h.  */
        !          39292: 
        !          39293:       $curl_includes_setjmp
        !          39294: 
        !          39295: _ACEOF
        !          39296: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          39297:   $EGREP "sigsetjmp" >/dev/null 2>&1; then :
        !          39298: 
        !          39299:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39300: $as_echo "yes" >&6; }
        !          39301:       tst_proto_sigsetjmp="yes"
        !          39302: 
        !          39303: else
        !          39304: 
        !          39305:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39306: $as_echo "no" >&6; }
        !          39307:       tst_proto_sigsetjmp="no"
        !          39308: 
        !          39309: fi
        !          39310: rm -f conftest*
        !          39311: 
        !          39312:   fi
        !          39313:   #
        !          39314:   if test "$tst_proto_sigsetjmp" = "yes" ||
        !          39315:      test "$tst_macro_sigsetjmp" = "yes"; then
        !          39316:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp is compilable" >&5
        !          39317: $as_echo_n "checking if sigsetjmp is compilable... " >&6; }
        !          39318:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          39319: /* end confdefs.h.  */
        !          39320: 
        !          39321: 
        !          39322:         $curl_includes_setjmp
        !          39323: 
        !          39324: int main (void)
        !          39325: {
        !          39326: 
        !          39327:         sigjmp_buf env;
        !          39328:         if(0 != sigsetjmp(env, 0))
        !          39329:           return 1;
        !          39330: 
        !          39331:  ;
        !          39332:  return 0;
        !          39333: }
        !          39334: 
        !          39335: _ACEOF
        !          39336: if ac_fn_c_try_compile "$LINENO"; then :
        !          39337: 
        !          39338:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39339: $as_echo "yes" >&6; }
        !          39340:       tst_compi_sigsetjmp="yes"
        !          39341: 
        !          39342: else
        !          39343: 
        !          39344:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39345: $as_echo "no" >&6; }
        !          39346:       tst_compi_sigsetjmp="no"
        !          39347: 
        !          39348: fi
        !          39349: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          39350:   fi
        !          39351:   #
        !          39352:   if test "$tst_compi_sigsetjmp" = "yes"; then
        !          39353:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp usage allowed" >&5
        !          39354: $as_echo_n "checking if sigsetjmp usage allowed... " >&6; }
        !          39355:     if test "x$curl_disallow_sigsetjmp" != "xyes"; then
        !          39356:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39357: $as_echo "yes" >&6; }
        !          39358:       tst_allow_sigsetjmp="yes"
        !          39359:     else
        !          39360:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39361: $as_echo "no" >&6; }
        !          39362:       tst_allow_sigsetjmp="no"
        !          39363:     fi
        !          39364:   fi
        !          39365:   #
        !          39366:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp might be used" >&5
        !          39367: $as_echo_n "checking if sigsetjmp might be used... " >&6; }
        !          39368:   if (test "$tst_proto_sigsetjmp" = "yes" ||
        !          39369:       test "$tst_macro_sigsetjmp" = "yes") &&
        !          39370:      test "$tst_compi_sigsetjmp" = "yes" &&
        !          39371:      test "$tst_allow_sigsetjmp" = "yes"; then
        !          39372:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39373: $as_echo "yes" >&6; }
        !          39374: 
        !          39375: cat >>confdefs.h <<_ACEOF
        !          39376: #define HAVE_SIGSETJMP 1
        !          39377: _ACEOF
        !          39378: 
        !          39379:     curl_cv_func_sigsetjmp="yes"
        !          39380:   else
        !          39381:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39382: $as_echo "no" >&6; }
        !          39383:     curl_cv_func_sigsetjmp="no"
        !          39384:   fi
        !          39385: 
        !          39386: 
        !          39387:         #
        !          39388:   tst_links_socket="unknown"
        !          39389:   tst_proto_socket="unknown"
        !          39390:   tst_compi_socket="unknown"
        !          39391:   tst_allow_socket="unknown"
        !          39392:   #
        !          39393:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socket can be linked" >&5
        !          39394: $as_echo_n "checking if socket can be linked... " >&6; }
        !          39395:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          39396: /* end confdefs.h.  */
        !          39397: 
        !          39398: 
        !          39399:       $curl_includes_winsock2
        !          39400:       $curl_includes_bsdsocket
        !          39401:       $curl_includes_sys_socket
        !          39402:       $curl_includes_socket
        !          39403: 
        !          39404: int main (void)
        !          39405: {
        !          39406: 
        !          39407:       if(0 != socket(0, 0, 0))
        !          39408:         return 1;
        !          39409: 
        !          39410:  ;
        !          39411:  return 0;
        !          39412: }
        !          39413: 
        !          39414: _ACEOF
        !          39415: if ac_fn_c_try_link "$LINENO"; then :
        !          39416: 
        !          39417:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39418: $as_echo "yes" >&6; }
        !          39419:     tst_links_socket="yes"
        !          39420: 
        !          39421: else
        !          39422: 
        !          39423:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39424: $as_echo "no" >&6; }
        !          39425:     tst_links_socket="no"
        !          39426: 
        !          39427: fi
        !          39428: rm -f core conftest.err conftest.$ac_objext \
        !          39429:     conftest$ac_exeext conftest.$ac_ext
        !          39430:   #
        !          39431:   if test "$tst_links_socket" = "yes"; then
        !          39432:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socket is prototyped" >&5
        !          39433: $as_echo_n "checking if socket is prototyped... " >&6; }
        !          39434:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          39435: /* end confdefs.h.  */
        !          39436: 
        !          39437:       $curl_includes_winsock2
        !          39438:       $curl_includes_bsdsocket
        !          39439:       $curl_includes_sys_socket
        !          39440:       $curl_includes_socket
        !          39441: 
        !          39442: _ACEOF
        !          39443: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          39444:   $EGREP "socket" >/dev/null 2>&1; then :
        !          39445: 
        !          39446:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39447: $as_echo "yes" >&6; }
        !          39448:       tst_proto_socket="yes"
        !          39449: 
        !          39450: else
        !          39451: 
        !          39452:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39453: $as_echo "no" >&6; }
        !          39454:       tst_proto_socket="no"
        !          39455: 
        !          39456: fi
        !          39457: rm -f conftest*
        !          39458: 
        !          39459:   fi
        !          39460:   #
        !          39461:   if test "$tst_proto_socket" = "yes"; then
        !          39462:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socket is compilable" >&5
        !          39463: $as_echo_n "checking if socket is compilable... " >&6; }
        !          39464:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          39465: /* end confdefs.h.  */
        !          39466: 
        !          39467: 
        !          39468:         $curl_includes_winsock2
        !          39469:       $curl_includes_bsdsocket
        !          39470:         $curl_includes_sys_socket
        !          39471:         $curl_includes_socket
        !          39472: 
        !          39473: int main (void)
        !          39474: {
        !          39475: 
        !          39476:         if(0 != socket(0, 0, 0))
        !          39477:           return 1;
        !          39478: 
        !          39479:  ;
        !          39480:  return 0;
        !          39481: }
        !          39482: 
        !          39483: _ACEOF
        !          39484: if ac_fn_c_try_compile "$LINENO"; then :
        !          39485: 
        !          39486:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39487: $as_echo "yes" >&6; }
        !          39488:       tst_compi_socket="yes"
        !          39489: 
        !          39490: else
        !          39491: 
        !          39492:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39493: $as_echo "no" >&6; }
        !          39494:       tst_compi_socket="no"
        !          39495: 
        !          39496: fi
        !          39497: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          39498:   fi
        !          39499:   #
        !          39500:   if test "$tst_compi_socket" = "yes"; then
        !          39501:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socket usage allowed" >&5
        !          39502: $as_echo_n "checking if socket usage allowed... " >&6; }
        !          39503:     if test "x$curl_disallow_socket" != "xyes"; then
        !          39504:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39505: $as_echo "yes" >&6; }
        !          39506:       tst_allow_socket="yes"
        !          39507:     else
        !          39508:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39509: $as_echo "no" >&6; }
        !          39510:       tst_allow_socket="no"
        !          39511:     fi
        !          39512:   fi
        !          39513:   #
        !          39514:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socket might be used" >&5
        !          39515: $as_echo_n "checking if socket might be used... " >&6; }
        !          39516:   if test "$tst_links_socket" = "yes" &&
        !          39517:      test "$tst_proto_socket" = "yes" &&
        !          39518:      test "$tst_compi_socket" = "yes" &&
        !          39519:      test "$tst_allow_socket" = "yes"; then
        !          39520:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39521: $as_echo "yes" >&6; }
        !          39522: 
        !          39523: cat >>confdefs.h <<_ACEOF
        !          39524: #define HAVE_SOCKET 1
        !          39525: _ACEOF
        !          39526: 
        !          39527:     curl_cv_func_socket="yes"
        !          39528:   else
        !          39529:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39530: $as_echo "no" >&6; }
        !          39531:     curl_cv_func_socket="no"
        !          39532:   fi
        !          39533: 
        !          39534: 
        !          39535:       #
        !          39536:   tst_links_socketpair="unknown"
        !          39537:   tst_proto_socketpair="unknown"
        !          39538:   tst_compi_socketpair="unknown"
        !          39539:   tst_allow_socketpair="unknown"
        !          39540:   #
        !          39541:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socketpair can be linked" >&5
        !          39542: $as_echo_n "checking if socketpair can be linked... " >&6; }
        !          39543:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          39544: /* end confdefs.h.  */
        !          39545: 
        !          39546: 
        !          39547: #define socketpair innocuous_socketpair
        !          39548: #ifdef __STDC__
        !          39549: # include <limits.h>
        !          39550: #else
        !          39551: # include <assert.h>
        !          39552: #endif
        !          39553: #undef socketpair
        !          39554: #ifdef __cplusplus
        !          39555: extern "C"
        !          39556: #endif
        !          39557: char socketpair ();
        !          39558: #if defined __stub_socketpair || defined __stub___socketpair
        !          39559: choke me
        !          39560: #endif
        !          39561: 
        !          39562: int main (void)
        !          39563: {
        !          39564: return socketpair ();
        !          39565:  ;
        !          39566:  return 0;
        !          39567: }
        !          39568: 
        !          39569: _ACEOF
        !          39570: if ac_fn_c_try_link "$LINENO"; then :
        !          39571: 
        !          39572:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39573: $as_echo "yes" >&6; }
        !          39574:     tst_links_socketpair="yes"
        !          39575: 
        !          39576: else
        !          39577: 
        !          39578:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39579: $as_echo "no" >&6; }
        !          39580:     tst_links_socketpair="no"
        !          39581: 
        !          39582: fi
        !          39583: rm -f core conftest.err conftest.$ac_objext \
        !          39584:     conftest$ac_exeext conftest.$ac_ext
        !          39585:   #
        !          39586:   if test "$tst_links_socketpair" = "yes"; then
        !          39587:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socketpair is prototyped" >&5
        !          39588: $as_echo_n "checking if socketpair is prototyped... " >&6; }
        !          39589:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          39590: /* end confdefs.h.  */
        !          39591: 
        !          39592:       $curl_includes_sys_socket
        !          39593:       $curl_includes_socket
        !          39594: 
        !          39595: _ACEOF
        !          39596: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          39597:   $EGREP "socketpair" >/dev/null 2>&1; then :
        !          39598: 
        !          39599:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39600: $as_echo "yes" >&6; }
        !          39601:       tst_proto_socketpair="yes"
        !          39602: 
        !          39603: else
        !          39604: 
        !          39605:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39606: $as_echo "no" >&6; }
        !          39607:       tst_proto_socketpair="no"
        !          39608: 
        !          39609: fi
        !          39610: rm -f conftest*
        !          39611: 
        !          39612:   fi
        !          39613:   #
        !          39614:   if test "$tst_proto_socketpair" = "yes"; then
        !          39615:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socketpair is compilable" >&5
        !          39616: $as_echo_n "checking if socketpair is compilable... " >&6; }
        !          39617:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          39618: /* end confdefs.h.  */
        !          39619: 
        !          39620: 
        !          39621:         $curl_includes_sys_socket
        !          39622:         $curl_includes_socket
        !          39623: 
        !          39624: int main (void)
        !          39625: {
        !          39626: 
        !          39627:         int sv[2];
        !          39628:         if(0 != socketpair(0, 0, 0, sv))
        !          39629:           return 1;
        !          39630: 
        !          39631:  ;
        !          39632:  return 0;
        !          39633: }
        !          39634: 
        !          39635: _ACEOF
        !          39636: if ac_fn_c_try_compile "$LINENO"; then :
        !          39637: 
        !          39638:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39639: $as_echo "yes" >&6; }
        !          39640:       tst_compi_socketpair="yes"
        !          39641: 
        !          39642: else
        !          39643: 
        !          39644:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39645: $as_echo "no" >&6; }
        !          39646:       tst_compi_socketpair="no"
        !          39647: 
        !          39648: fi
        !          39649: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          39650:   fi
        !          39651:   #
        !          39652:   if test "$tst_compi_socketpair" = "yes"; then
        !          39653:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socketpair usage allowed" >&5
        !          39654: $as_echo_n "checking if socketpair usage allowed... " >&6; }
        !          39655:     if test "x$curl_disallow_socketpair" != "xyes"; then
        !          39656:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39657: $as_echo "yes" >&6; }
        !          39658:       tst_allow_socketpair="yes"
        !          39659:     else
        !          39660:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39661: $as_echo "no" >&6; }
        !          39662:       tst_allow_socketpair="no"
        !          39663:     fi
        !          39664:   fi
        !          39665:   #
        !          39666:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socketpair might be used" >&5
        !          39667: $as_echo_n "checking if socketpair might be used... " >&6; }
        !          39668:   if test "$tst_links_socketpair" = "yes" &&
        !          39669:      test "$tst_proto_socketpair" = "yes" &&
        !          39670:      test "$tst_compi_socketpair" = "yes" &&
        !          39671:      test "$tst_allow_socketpair" = "yes"; then
        !          39672:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39673: $as_echo "yes" >&6; }
        !          39674: 
        !          39675: cat >>confdefs.h <<_ACEOF
        !          39676: #define HAVE_SOCKETPAIR 1
        !          39677: _ACEOF
        !          39678: 
        !          39679:     curl_cv_func_socketpair="yes"
        !          39680:   else
        !          39681:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39682: $as_echo "no" >&6; }
        !          39683:     curl_cv_func_socketpair="no"
        !          39684:   fi
        !          39685: 
        !          39686: 
        !          39687:     #
        !          39688:   tst_links_strcasecmp="unknown"
        !          39689:   tst_proto_strcasecmp="unknown"
        !          39690:   tst_compi_strcasecmp="unknown"
        !          39691:   tst_allow_strcasecmp="unknown"
        !          39692:   #
        !          39693:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasecmp can be linked" >&5
        !          39694: $as_echo_n "checking if strcasecmp can be linked... " >&6; }
        !          39695:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          39696: /* end confdefs.h.  */
        !          39697: 
        !          39698: 
        !          39699: #define strcasecmp innocuous_strcasecmp
        !          39700: #ifdef __STDC__
        !          39701: # include <limits.h>
        !          39702: #else
        !          39703: # include <assert.h>
        !          39704: #endif
        !          39705: #undef strcasecmp
        !          39706: #ifdef __cplusplus
        !          39707: extern "C"
        !          39708: #endif
        !          39709: char strcasecmp ();
        !          39710: #if defined __stub_strcasecmp || defined __stub___strcasecmp
        !          39711: choke me
        !          39712: #endif
        !          39713: 
        !          39714: int main (void)
        !          39715: {
        !          39716: return strcasecmp ();
        !          39717:  ;
        !          39718:  return 0;
        !          39719: }
        !          39720: 
        !          39721: _ACEOF
        !          39722: if ac_fn_c_try_link "$LINENO"; then :
        !          39723: 
        !          39724:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39725: $as_echo "yes" >&6; }
        !          39726:     tst_links_strcasecmp="yes"
        !          39727: 
        !          39728: else
        !          39729: 
        !          39730:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39731: $as_echo "no" >&6; }
        !          39732:     tst_links_strcasecmp="no"
        !          39733: 
        !          39734: fi
        !          39735: rm -f core conftest.err conftest.$ac_objext \
        !          39736:     conftest$ac_exeext conftest.$ac_ext
        !          39737:   #
        !          39738:   if test "$tst_links_strcasecmp" = "yes"; then
        !          39739:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasecmp is prototyped" >&5
        !          39740: $as_echo_n "checking if strcasecmp is prototyped... " >&6; }
        !          39741:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          39742: /* end confdefs.h.  */
        !          39743: 
        !          39744:       $curl_includes_string
        !          39745: 
        !          39746: _ACEOF
        !          39747: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          39748:   $EGREP "strcasecmp" >/dev/null 2>&1; then :
        !          39749: 
        !          39750:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39751: $as_echo "yes" >&6; }
        !          39752:       tst_proto_strcasecmp="yes"
        !          39753: 
        !          39754: else
        !          39755: 
        !          39756:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39757: $as_echo "no" >&6; }
        !          39758:       tst_proto_strcasecmp="no"
        !          39759: 
        !          39760: fi
        !          39761: rm -f conftest*
        !          39762: 
        !          39763:   fi
        !          39764:   #
        !          39765:   if test "$tst_proto_strcasecmp" = "yes"; then
        !          39766:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasecmp is compilable" >&5
        !          39767: $as_echo_n "checking if strcasecmp is compilable... " >&6; }
        !          39768:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          39769: /* end confdefs.h.  */
        !          39770: 
        !          39771: 
        !          39772:         $curl_includes_string
        !          39773: 
        !          39774: int main (void)
        !          39775: {
        !          39776: 
        !          39777:         if(0 != strcasecmp(0, 0))
        !          39778:           return 1;
        !          39779: 
        !          39780:  ;
        !          39781:  return 0;
        !          39782: }
        !          39783: 
        !          39784: _ACEOF
        !          39785: if ac_fn_c_try_compile "$LINENO"; then :
        !          39786: 
        !          39787:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39788: $as_echo "yes" >&6; }
        !          39789:       tst_compi_strcasecmp="yes"
        !          39790: 
        !          39791: else
        !          39792: 
        !          39793:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39794: $as_echo "no" >&6; }
        !          39795:       tst_compi_strcasecmp="no"
        !          39796: 
        !          39797: fi
        !          39798: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          39799:   fi
        !          39800:   #
        !          39801:   if test "$tst_compi_strcasecmp" = "yes"; then
        !          39802:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasecmp usage allowed" >&5
        !          39803: $as_echo_n "checking if strcasecmp usage allowed... " >&6; }
        !          39804:     if test "x$curl_disallow_strcasecmp" != "xyes"; then
        !          39805:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39806: $as_echo "yes" >&6; }
        !          39807:       tst_allow_strcasecmp="yes"
        !          39808:     else
        !          39809:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39810: $as_echo "no" >&6; }
        !          39811:       tst_allow_strcasecmp="no"
        !          39812:     fi
        !          39813:   fi
        !          39814:   #
        !          39815:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasecmp might be used" >&5
        !          39816: $as_echo_n "checking if strcasecmp might be used... " >&6; }
        !          39817:   if test "$tst_links_strcasecmp" = "yes" &&
        !          39818:      test "$tst_proto_strcasecmp" = "yes" &&
        !          39819:      test "$tst_compi_strcasecmp" = "yes" &&
        !          39820:      test "$tst_allow_strcasecmp" = "yes"; then
        !          39821:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39822: $as_echo "yes" >&6; }
        !          39823: 
        !          39824: cat >>confdefs.h <<_ACEOF
        !          39825: #define HAVE_STRCASECMP 1
        !          39826: _ACEOF
        !          39827: 
        !          39828:     curl_cv_func_strcasecmp="yes"
        !          39829:   else
        !          39830:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39831: $as_echo "no" >&6; }
        !          39832:     curl_cv_func_strcasecmp="no"
        !          39833:   fi
        !          39834: 
        !          39835: 
        !          39836:     #
        !          39837:   tst_links_strcmpi="unknown"
        !          39838:   tst_proto_strcmpi="unknown"
        !          39839:   tst_compi_strcmpi="unknown"
        !          39840:   tst_allow_strcmpi="unknown"
        !          39841:   #
        !          39842:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcmpi can be linked" >&5
        !          39843: $as_echo_n "checking if strcmpi can be linked... " >&6; }
        !          39844:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          39845: /* end confdefs.h.  */
        !          39846: 
        !          39847: 
        !          39848: #define strcmpi innocuous_strcmpi
        !          39849: #ifdef __STDC__
        !          39850: # include <limits.h>
        !          39851: #else
        !          39852: # include <assert.h>
        !          39853: #endif
        !          39854: #undef strcmpi
        !          39855: #ifdef __cplusplus
        !          39856: extern "C"
        !          39857: #endif
        !          39858: char strcmpi ();
        !          39859: #if defined __stub_strcmpi || defined __stub___strcmpi
        !          39860: choke me
        !          39861: #endif
        !          39862: 
        !          39863: int main (void)
        !          39864: {
        !          39865: return strcmpi ();
        !          39866:  ;
        !          39867:  return 0;
        !          39868: }
        !          39869: 
        !          39870: _ACEOF
        !          39871: if ac_fn_c_try_link "$LINENO"; then :
        !          39872: 
        !          39873:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39874: $as_echo "yes" >&6; }
        !          39875:     tst_links_strcmpi="yes"
        !          39876: 
        !          39877: else
        !          39878: 
        !          39879:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39880: $as_echo "no" >&6; }
        !          39881:     tst_links_strcmpi="no"
        !          39882: 
        !          39883: fi
        !          39884: rm -f core conftest.err conftest.$ac_objext \
        !          39885:     conftest$ac_exeext conftest.$ac_ext
        !          39886:   #
        !          39887:   if test "$tst_links_strcmpi" = "yes"; then
        !          39888:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcmpi is prototyped" >&5
        !          39889: $as_echo_n "checking if strcmpi is prototyped... " >&6; }
        !          39890:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          39891: /* end confdefs.h.  */
        !          39892: 
        !          39893:       $curl_includes_string
        !          39894: 
        !          39895: _ACEOF
        !          39896: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          39897:   $EGREP "strcmpi" >/dev/null 2>&1; then :
        !          39898: 
        !          39899:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39900: $as_echo "yes" >&6; }
        !          39901:       tst_proto_strcmpi="yes"
        !          39902: 
        !          39903: else
        !          39904: 
        !          39905:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39906: $as_echo "no" >&6; }
        !          39907:       tst_proto_strcmpi="no"
        !          39908: 
        !          39909: fi
        !          39910: rm -f conftest*
        !          39911: 
        !          39912:   fi
        !          39913:   #
        !          39914:   if test "$tst_proto_strcmpi" = "yes"; then
        !          39915:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcmpi is compilable" >&5
        !          39916: $as_echo_n "checking if strcmpi is compilable... " >&6; }
        !          39917:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          39918: /* end confdefs.h.  */
        !          39919: 
        !          39920: 
        !          39921:         $curl_includes_string
        !          39922: 
        !          39923: int main (void)
        !          39924: {
        !          39925: 
        !          39926:         if(0 != strcmpi(0, 0))
        !          39927:           return 1;
        !          39928: 
        !          39929:  ;
        !          39930:  return 0;
        !          39931: }
        !          39932: 
        !          39933: _ACEOF
        !          39934: if ac_fn_c_try_compile "$LINENO"; then :
        !          39935: 
        !          39936:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39937: $as_echo "yes" >&6; }
        !          39938:       tst_compi_strcmpi="yes"
        !          39939: 
        !          39940: else
        !          39941: 
        !          39942:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39943: $as_echo "no" >&6; }
        !          39944:       tst_compi_strcmpi="no"
        !          39945: 
        !          39946: fi
        !          39947: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          39948:   fi
        !          39949:   #
        !          39950:   if test "$tst_compi_strcmpi" = "yes"; then
        !          39951:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcmpi usage allowed" >&5
        !          39952: $as_echo_n "checking if strcmpi usage allowed... " >&6; }
        !          39953:     if test "x$curl_disallow_strcmpi" != "xyes"; then
        !          39954:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39955: $as_echo "yes" >&6; }
        !          39956:       tst_allow_strcmpi="yes"
        !          39957:     else
        !          39958:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39959: $as_echo "no" >&6; }
        !          39960:       tst_allow_strcmpi="no"
        !          39961:     fi
        !          39962:   fi
        !          39963:   #
        !          39964:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcmpi might be used" >&5
        !          39965: $as_echo_n "checking if strcmpi might be used... " >&6; }
        !          39966:   if test "$tst_links_strcmpi" = "yes" &&
        !          39967:      test "$tst_proto_strcmpi" = "yes" &&
        !          39968:      test "$tst_compi_strcmpi" = "yes" &&
        !          39969:      test "$tst_allow_strcmpi" = "yes"; then
        !          39970:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          39971: $as_echo "yes" >&6; }
        !          39972: 
        !          39973: cat >>confdefs.h <<_ACEOF
        !          39974: #define HAVE_STRCMPI 1
        !          39975: _ACEOF
        !          39976: 
        !          39977:     curl_cv_func_strcmpi="yes"
        !          39978:   else
        !          39979:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          39980: $as_echo "no" >&6; }
        !          39981:     curl_cv_func_strcmpi="no"
        !          39982:   fi
        !          39983: 
        !          39984: 
        !          39985:     #
        !          39986:   tst_links_strdup="unknown"
        !          39987:   tst_proto_strdup="unknown"
        !          39988:   tst_compi_strdup="unknown"
        !          39989:   tst_allow_strdup="unknown"
        !          39990:   #
        !          39991:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strdup can be linked" >&5
        !          39992: $as_echo_n "checking if strdup can be linked... " >&6; }
        !          39993:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          39994: /* end confdefs.h.  */
        !          39995: 
        !          39996: 
        !          39997: #define strdup innocuous_strdup
        !          39998: #ifdef __STDC__
        !          39999: # include <limits.h>
        !          40000: #else
        !          40001: # include <assert.h>
        !          40002: #endif
        !          40003: #undef strdup
        !          40004: #ifdef __cplusplus
        !          40005: extern "C"
        !          40006: #endif
        !          40007: char strdup ();
        !          40008: #if defined __stub_strdup || defined __stub___strdup
        !          40009: choke me
        !          40010: #endif
        !          40011: 
        !          40012: int main (void)
        !          40013: {
        !          40014: return strdup ();
        !          40015:  ;
        !          40016:  return 0;
        !          40017: }
        !          40018: 
        !          40019: _ACEOF
        !          40020: if ac_fn_c_try_link "$LINENO"; then :
        !          40021: 
        !          40022:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40023: $as_echo "yes" >&6; }
        !          40024:     tst_links_strdup="yes"
        !          40025: 
        !          40026: else
        !          40027: 
        !          40028:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40029: $as_echo "no" >&6; }
        !          40030:     tst_links_strdup="no"
        !          40031: 
        !          40032: fi
        !          40033: rm -f core conftest.err conftest.$ac_objext \
        !          40034:     conftest$ac_exeext conftest.$ac_ext
        !          40035:   #
        !          40036:   if test "$tst_links_strdup" = "yes"; then
        !          40037:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strdup is prototyped" >&5
        !          40038: $as_echo_n "checking if strdup is prototyped... " >&6; }
        !          40039:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          40040: /* end confdefs.h.  */
        !          40041: 
        !          40042:       $curl_includes_string
        !          40043: 
        !          40044: _ACEOF
        !          40045: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          40046:   $EGREP "strdup" >/dev/null 2>&1; then :
        !          40047: 
        !          40048:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40049: $as_echo "yes" >&6; }
        !          40050:       tst_proto_strdup="yes"
        !          40051: 
        !          40052: else
        !          40053: 
        !          40054:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40055: $as_echo "no" >&6; }
        !          40056:       tst_proto_strdup="no"
        !          40057: 
        !          40058: fi
        !          40059: rm -f conftest*
        !          40060: 
        !          40061:   fi
        !          40062:   #
        !          40063:   if test "$tst_proto_strdup" = "yes"; then
        !          40064:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strdup is compilable" >&5
        !          40065: $as_echo_n "checking if strdup is compilable... " >&6; }
        !          40066:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          40067: /* end confdefs.h.  */
        !          40068: 
        !          40069: 
        !          40070:         $curl_includes_string
        !          40071: 
        !          40072: int main (void)
        !          40073: {
        !          40074: 
        !          40075:         if(0 != strdup(0))
        !          40076:           return 1;
        !          40077: 
        !          40078:  ;
        !          40079:  return 0;
        !          40080: }
        !          40081: 
        !          40082: _ACEOF
        !          40083: if ac_fn_c_try_compile "$LINENO"; then :
        !          40084: 
        !          40085:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40086: $as_echo "yes" >&6; }
        !          40087:       tst_compi_strdup="yes"
        !          40088: 
        !          40089: else
        !          40090: 
        !          40091:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40092: $as_echo "no" >&6; }
        !          40093:       tst_compi_strdup="no"
        !          40094: 
        !          40095: fi
        !          40096: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          40097:   fi
        !          40098:   #
        !          40099:   if test "$tst_compi_strdup" = "yes"; then
        !          40100:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strdup usage allowed" >&5
        !          40101: $as_echo_n "checking if strdup usage allowed... " >&6; }
        !          40102:     if test "x$curl_disallow_strdup" != "xyes"; then
        !          40103:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40104: $as_echo "yes" >&6; }
        !          40105:       tst_allow_strdup="yes"
        !          40106:     else
        !          40107:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40108: $as_echo "no" >&6; }
        !          40109:       tst_allow_strdup="no"
        !          40110:     fi
        !          40111:   fi
        !          40112:   #
        !          40113:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strdup might be used" >&5
        !          40114: $as_echo_n "checking if strdup might be used... " >&6; }
        !          40115:   if test "$tst_links_strdup" = "yes" &&
        !          40116:      test "$tst_proto_strdup" = "yes" &&
        !          40117:      test "$tst_compi_strdup" = "yes" &&
        !          40118:      test "$tst_allow_strdup" = "yes"; then
        !          40119:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40120: $as_echo "yes" >&6; }
        !          40121: 
        !          40122: cat >>confdefs.h <<_ACEOF
        !          40123: #define HAVE_STRDUP 1
        !          40124: _ACEOF
        !          40125: 
        !          40126:     curl_cv_func_strdup="yes"
        !          40127:   else
        !          40128:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40129: $as_echo "no" >&6; }
        !          40130:     curl_cv_func_strdup="no"
        !          40131:   fi
        !          40132: 
        !          40133: 
        !          40134:       #
        !          40135:   tst_links_strerror_r="unknown"
        !          40136:   tst_proto_strerror_r="unknown"
        !          40137:   tst_compi_strerror_r="unknown"
        !          40138:   tst_glibc_strerror_r="unknown"
        !          40139:   tst_posix_strerror_r="unknown"
        !          40140:   tst_allow_strerror_r="unknown"
        !          40141:   tst_works_glibc_strerror_r="unknown"
        !          40142:   tst_works_posix_strerror_r="unknown"
        !          40143:   tst_glibc_strerror_r_type_arg3="unknown"
        !          40144:   tst_posix_strerror_r_type_arg3="unknown"
        !          40145:   #
        !          40146:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r can be linked" >&5
        !          40147: $as_echo_n "checking if strerror_r can be linked... " >&6; }
        !          40148:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          40149: /* end confdefs.h.  */
        !          40150: 
        !          40151: 
        !          40152: #define strerror_r innocuous_strerror_r
        !          40153: #ifdef __STDC__
        !          40154: # include <limits.h>
        !          40155: #else
        !          40156: # include <assert.h>
        !          40157: #endif
        !          40158: #undef strerror_r
        !          40159: #ifdef __cplusplus
        !          40160: extern "C"
        !          40161: #endif
        !          40162: char strerror_r ();
        !          40163: #if defined __stub_strerror_r || defined __stub___strerror_r
        !          40164: choke me
        !          40165: #endif
        !          40166: 
        !          40167: int main (void)
        !          40168: {
        !          40169: return strerror_r ();
        !          40170:  ;
        !          40171:  return 0;
        !          40172: }
        !          40173: 
        !          40174: _ACEOF
        !          40175: if ac_fn_c_try_link "$LINENO"; then :
        !          40176: 
        !          40177:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40178: $as_echo "yes" >&6; }
        !          40179:     tst_links_strerror_r="yes"
        !          40180: 
        !          40181: else
        !          40182: 
        !          40183:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40184: $as_echo "no" >&6; }
        !          40185:     tst_links_strerror_r="no"
        !          40186: 
        !          40187: fi
        !          40188: rm -f core conftest.err conftest.$ac_objext \
        !          40189:     conftest$ac_exeext conftest.$ac_ext
        !          40190:   #
        !          40191:   if test "$tst_links_strerror_r" = "yes"; then
        !          40192:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r is prototyped" >&5
        !          40193: $as_echo_n "checking if strerror_r is prototyped... " >&6; }
        !          40194:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          40195: /* end confdefs.h.  */
        !          40196: 
        !          40197:       $curl_includes_string
        !          40198: 
        !          40199: _ACEOF
        !          40200: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          40201:   $EGREP "strerror_r" >/dev/null 2>&1; then :
        !          40202: 
        !          40203:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40204: $as_echo "yes" >&6; }
        !          40205:       tst_proto_strerror_r="yes"
        !          40206: 
        !          40207: else
        !          40208: 
        !          40209:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40210: $as_echo "no" >&6; }
        !          40211:       tst_proto_strerror_r="no"
        !          40212: 
        !          40213: fi
        !          40214: rm -f conftest*
        !          40215: 
        !          40216:   fi
        !          40217:   #
        !          40218:   if test "$tst_proto_strerror_r" = "yes"; then
        !          40219:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r is compilable" >&5
        !          40220: $as_echo_n "checking if strerror_r is compilable... " >&6; }
        !          40221:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          40222: /* end confdefs.h.  */
        !          40223: 
        !          40224: 
        !          40225:         $curl_includes_string
        !          40226: 
        !          40227: int main (void)
        !          40228: {
        !          40229: 
        !          40230:         if(0 != strerror_r(0, 0, 0))
        !          40231:           return 1;
        !          40232: 
        !          40233:  ;
        !          40234:  return 0;
        !          40235: }
        !          40236: 
        !          40237: _ACEOF
        !          40238: if ac_fn_c_try_compile "$LINENO"; then :
        !          40239: 
        !          40240:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40241: $as_echo "yes" >&6; }
        !          40242:       tst_compi_strerror_r="yes"
        !          40243: 
        !          40244: else
        !          40245: 
        !          40246:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40247: $as_echo "no" >&6; }
        !          40248:       tst_compi_strerror_r="no"
        !          40249: 
        !          40250: fi
        !          40251: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          40252:   fi
        !          40253:   #
        !          40254:   if test "$tst_compi_strerror_r" = "yes"; then
        !          40255:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r is glibc like" >&5
        !          40256: $as_echo_n "checking if strerror_r is glibc like... " >&6; }
        !          40257:     tst_glibc_strerror_r_type_arg3="unknown"
        !          40258:     for arg3 in 'size_t' 'int' 'unsigned int'; do
        !          40259:       if test "$tst_glibc_strerror_r_type_arg3" = "unknown"; then
        !          40260:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          40261: /* end confdefs.h.  */
        !          40262: 
        !          40263: 
        !          40264:             $curl_includes_string
        !          40265:             char *strerror_r(int errnum, char *workbuf, $arg3 bufsize);
        !          40266: 
        !          40267: int main (void)
        !          40268: {
        !          40269: 
        !          40270:             if(0 != strerror_r(0, 0, 0))
        !          40271:               return 1;
        !          40272: 
        !          40273:  ;
        !          40274:  return 0;
        !          40275: }
        !          40276: 
        !          40277: _ACEOF
        !          40278: if ac_fn_c_try_compile "$LINENO"; then :
        !          40279: 
        !          40280:           tst_glibc_strerror_r_type_arg3="$arg3"
        !          40281: 
        !          40282: fi
        !          40283: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          40284:       fi
        !          40285:     done
        !          40286:     case "$tst_glibc_strerror_r_type_arg3" in
        !          40287:       unknown)
        !          40288:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40289: $as_echo "no" >&6; }
        !          40290:         tst_glibc_strerror_r="no"
        !          40291:         ;;
        !          40292:       *)
        !          40293:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40294: $as_echo "yes" >&6; }
        !          40295:         tst_glibc_strerror_r="yes"
        !          40296:         ;;
        !          40297:     esac
        !          40298:   fi
        !          40299:   #
        !          40300:     if test "x$cross_compiling" != "xyes" &&
        !          40301:     test "$tst_glibc_strerror_r" = "yes"; then
        !          40302:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r seems to work" >&5
        !          40303: $as_echo_n "checking if strerror_r seems to work... " >&6; }
        !          40304: 
        !          40305:    old=$LD_LIBRARY_PATH
        !          40306:    LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
        !          40307:    export LD_LIBRARY_PATH
        !          40308:    if test "$cross_compiling" = yes; then :
        !          40309:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          40310: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          40311: as_fn_error $? "cannot run test program while cross compiling
        !          40312: See \`config.log' for more details" "$LINENO" 5; }
        !          40313: else
        !          40314:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          40315: /* end confdefs.h.  */
        !          40316: 
        !          40317: 
        !          40318:         $curl_includes_stdlib
        !          40319:         $curl_includes_string
        !          40320: #       include <errno.h>
        !          40321: 
        !          40322: int main (void)
        !          40323: {
        !          40324: 
        !          40325:         char buffer[1024];
        !          40326:         char *string = 0;
        !          40327:         buffer[0] = '\0';
        !          40328:         string = strerror_r(EACCES, buffer, sizeof(buffer));
        !          40329:         if(!string)
        !          40330:           exit(1); /* fail */
        !          40331:         if(!string[0])
        !          40332:           exit(1); /* fail */
        !          40333:         else
        !          40334:           exit(0);
        !          40335: 
        !          40336:  ;
        !          40337:  return 0;
        !          40338: }
        !          40339: 
        !          40340: _ACEOF
        !          40341: if ac_fn_c_try_run "$LINENO"; then :
        !          40342:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40343: $as_echo "yes" >&6; }
        !          40344:       tst_works_glibc_strerror_r="yes"
        !          40345: 
        !          40346: else
        !          40347:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40348: $as_echo "no" >&6; }
        !          40349:       tst_works_glibc_strerror_r="no"
        !          40350: 
        !          40351: fi
        !          40352: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          40353:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          40354: fi
        !          40355: 
        !          40356:    LD_LIBRARY_PATH=$old # restore
        !          40357: 
        !          40358:   fi
        !          40359:   #
        !          40360:   if test "$tst_compi_strerror_r" = "yes" &&
        !          40361:     test "$tst_works_glibc_strerror_r" != "yes"; then
        !          40362:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r is POSIX like" >&5
        !          40363: $as_echo_n "checking if strerror_r is POSIX like... " >&6; }
        !          40364:     tst_posix_strerror_r_type_arg3="unknown"
        !          40365:     for arg3 in 'size_t' 'int' 'unsigned int'; do
        !          40366:       if test "$tst_posix_strerror_r_type_arg3" = "unknown"; then
        !          40367:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          40368: /* end confdefs.h.  */
        !          40369: 
        !          40370: 
        !          40371:             $curl_includes_string
        !          40372:             int strerror_r(int errnum, char *resultbuf, $arg3 bufsize);
        !          40373: 
        !          40374: int main (void)
        !          40375: {
        !          40376: 
        !          40377:             if(0 != strerror_r(0, 0, 0))
        !          40378:               return 1;
        !          40379: 
        !          40380:  ;
        !          40381:  return 0;
        !          40382: }
        !          40383: 
        !          40384: _ACEOF
        !          40385: if ac_fn_c_try_compile "$LINENO"; then :
        !          40386: 
        !          40387:           tst_posix_strerror_r_type_arg3="$arg3"
        !          40388: 
        !          40389: fi
        !          40390: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          40391:       fi
        !          40392:     done
        !          40393:     case "$tst_posix_strerror_r_type_arg3" in
        !          40394:       unknown)
        !          40395:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40396: $as_echo "no" >&6; }
        !          40397:         tst_posix_strerror_r="no"
        !          40398:         ;;
        !          40399:       *)
        !          40400:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40401: $as_echo "yes" >&6; }
        !          40402:         tst_posix_strerror_r="yes"
        !          40403:         ;;
        !          40404:     esac
        !          40405:   fi
        !          40406:   #
        !          40407:     if test "x$cross_compiling" != "xyes" &&
        !          40408:     test "$tst_posix_strerror_r" = "yes"; then
        !          40409:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r seems to work" >&5
        !          40410: $as_echo_n "checking if strerror_r seems to work... " >&6; }
        !          40411: 
        !          40412:    old=$LD_LIBRARY_PATH
        !          40413:    LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
        !          40414:    export LD_LIBRARY_PATH
        !          40415:    if test "$cross_compiling" = yes; then :
        !          40416:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          40417: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          40418: as_fn_error $? "cannot run test program while cross compiling
        !          40419: See \`config.log' for more details" "$LINENO" 5; }
        !          40420: else
        !          40421:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          40422: /* end confdefs.h.  */
        !          40423: 
        !          40424: 
        !          40425:         $curl_includes_stdlib
        !          40426:         $curl_includes_string
        !          40427: #       include <errno.h>
        !          40428: 
        !          40429: int main (void)
        !          40430: {
        !          40431: 
        !          40432:         char buffer[1024];
        !          40433:         int error = 1;
        !          40434:         buffer[0] = '\0';
        !          40435:         error = strerror_r(EACCES, buffer, sizeof(buffer));
        !          40436:         if(error)
        !          40437:           exit(1); /* fail */
        !          40438:         if(buffer[0] == '\0')
        !          40439:           exit(1); /* fail */
        !          40440:         else
        !          40441:           exit(0);
        !          40442: 
        !          40443:  ;
        !          40444:  return 0;
        !          40445: }
        !          40446: 
        !          40447: _ACEOF
        !          40448: if ac_fn_c_try_run "$LINENO"; then :
        !          40449:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40450: $as_echo "yes" >&6; }
        !          40451:       tst_works_posix_strerror_r="yes"
        !          40452: 
        !          40453: else
        !          40454:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40455: $as_echo "no" >&6; }
        !          40456:       tst_works_posix_strerror_r="no"
        !          40457: 
        !          40458: fi
        !          40459: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          40460:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          40461: fi
        !          40462: 
        !          40463:    LD_LIBRARY_PATH=$old # restore
        !          40464: 
        !          40465:   fi
        !          40466:   #
        !          40467:   if test "$tst_works_glibc_strerror_r" = "yes"; then
        !          40468:     tst_posix_strerror_r="no"
        !          40469:   fi
        !          40470:   if test "$tst_works_posix_strerror_r" = "yes"; then
        !          40471:     tst_glibc_strerror_r="no"
        !          40472:   fi
        !          40473:   if test "$tst_glibc_strerror_r" = "yes" &&
        !          40474:     test "$tst_works_glibc_strerror_r" != "no" &&
        !          40475:     test "$tst_posix_strerror_r" != "yes"; then
        !          40476:     tst_allow_strerror_r="check"
        !          40477:   fi
        !          40478:   if test "$tst_posix_strerror_r" = "yes" &&
        !          40479:     test "$tst_works_posix_strerror_r" != "no" &&
        !          40480:     test "$tst_glibc_strerror_r" != "yes"; then
        !          40481:     tst_allow_strerror_r="check"
        !          40482:   fi
        !          40483:   if test "$tst_allow_strerror_r" = "check"; then
        !          40484:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r usage allowed" >&5
        !          40485: $as_echo_n "checking if strerror_r usage allowed... " >&6; }
        !          40486:     if test "x$curl_disallow_strerror_r" != "xyes"; then
        !          40487:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40488: $as_echo "yes" >&6; }
        !          40489:       tst_allow_strerror_r="yes"
        !          40490:     else
        !          40491:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40492: $as_echo "no" >&6; }
        !          40493:       tst_allow_strerror_r="no"
        !          40494:     fi
        !          40495:   fi
        !          40496:   #
        !          40497:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r might be used" >&5
        !          40498: $as_echo_n "checking if strerror_r might be used... " >&6; }
        !          40499:   if test "$tst_links_strerror_r" = "yes" &&
        !          40500:      test "$tst_proto_strerror_r" = "yes" &&
        !          40501:      test "$tst_compi_strerror_r" = "yes" &&
        !          40502:      test "$tst_allow_strerror_r" = "yes"; then
        !          40503:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40504: $as_echo "yes" >&6; }
        !          40505:     if test "$tst_glibc_strerror_r" = "yes"; then
        !          40506: 
        !          40507: cat >>confdefs.h <<_ACEOF
        !          40508: #define HAVE_STRERROR_R 1
        !          40509: _ACEOF
        !          40510: 
        !          40511: 
        !          40512: cat >>confdefs.h <<_ACEOF
        !          40513: #define HAVE_GLIBC_STRERROR_R 1
        !          40514: _ACEOF
        !          40515: 
        !          40516: 
        !          40517: cat >>confdefs.h <<_ACEOF
        !          40518: #define STRERROR_R_TYPE_ARG3 $tst_glibc_strerror_r_type_arg3
        !          40519: _ACEOF
        !          40520: 
        !          40521:     fi
        !          40522:     if test "$tst_posix_strerror_r" = "yes"; then
        !          40523: 
        !          40524: cat >>confdefs.h <<_ACEOF
        !          40525: #define HAVE_STRERROR_R 1
        !          40526: _ACEOF
        !          40527: 
        !          40528: 
        !          40529: cat >>confdefs.h <<_ACEOF
        !          40530: #define HAVE_POSIX_STRERROR_R 1
        !          40531: _ACEOF
        !          40532: 
        !          40533: 
        !          40534: cat >>confdefs.h <<_ACEOF
        !          40535: #define STRERROR_R_TYPE_ARG3 $tst_posix_strerror_r_type_arg3
        !          40536: _ACEOF
        !          40537: 
        !          40538:     fi
        !          40539:     curl_cv_func_strerror_r="yes"
        !          40540:   else
        !          40541:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40542: $as_echo "no" >&6; }
        !          40543:     curl_cv_func_strerror_r="no"
        !          40544:   fi
        !          40545:   #
        !          40546:   if test "$tst_compi_strerror_r" = "yes" &&
        !          40547:      test "$tst_allow_strerror_r" = "unknown"; then
        !          40548:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine strerror_r() style: edit lib/curl_config.h manually." >&5
        !          40549: $as_echo "$as_me: WARNING: cannot determine strerror_r() style: edit lib/curl_config.h manually." >&2;}
        !          40550:   fi
        !          40551:   #
        !          40552: 
        !          40553: 
        !          40554:     #
        !          40555:   tst_links_stricmp="unknown"
        !          40556:   tst_proto_stricmp="unknown"
        !          40557:   tst_compi_stricmp="unknown"
        !          40558:   tst_allow_stricmp="unknown"
        !          40559:   #
        !          40560:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if stricmp can be linked" >&5
        !          40561: $as_echo_n "checking if stricmp can be linked... " >&6; }
        !          40562:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          40563: /* end confdefs.h.  */
        !          40564: 
        !          40565: 
        !          40566: #define stricmp innocuous_stricmp
        !          40567: #ifdef __STDC__
        !          40568: # include <limits.h>
        !          40569: #else
        !          40570: # include <assert.h>
        !          40571: #endif
        !          40572: #undef stricmp
        !          40573: #ifdef __cplusplus
        !          40574: extern "C"
        !          40575: #endif
        !          40576: char stricmp ();
        !          40577: #if defined __stub_stricmp || defined __stub___stricmp
        !          40578: choke me
        !          40579: #endif
        !          40580: 
        !          40581: int main (void)
        !          40582: {
        !          40583: return stricmp ();
        !          40584:  ;
        !          40585:  return 0;
        !          40586: }
        !          40587: 
        !          40588: _ACEOF
        !          40589: if ac_fn_c_try_link "$LINENO"; then :
        !          40590: 
        !          40591:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40592: $as_echo "yes" >&6; }
        !          40593:     tst_links_stricmp="yes"
        !          40594: 
        !          40595: else
        !          40596: 
        !          40597:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40598: $as_echo "no" >&6; }
        !          40599:     tst_links_stricmp="no"
        !          40600: 
        !          40601: fi
        !          40602: rm -f core conftest.err conftest.$ac_objext \
        !          40603:     conftest$ac_exeext conftest.$ac_ext
        !          40604:   #
        !          40605:   if test "$tst_links_stricmp" = "yes"; then
        !          40606:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if stricmp is prototyped" >&5
        !          40607: $as_echo_n "checking if stricmp is prototyped... " >&6; }
        !          40608:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          40609: /* end confdefs.h.  */
        !          40610: 
        !          40611:       $curl_includes_string
        !          40612: 
        !          40613: _ACEOF
        !          40614: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          40615:   $EGREP "stricmp" >/dev/null 2>&1; then :
        !          40616: 
        !          40617:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40618: $as_echo "yes" >&6; }
        !          40619:       tst_proto_stricmp="yes"
        !          40620: 
        !          40621: else
        !          40622: 
        !          40623:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40624: $as_echo "no" >&6; }
        !          40625:       tst_proto_stricmp="no"
        !          40626: 
        !          40627: fi
        !          40628: rm -f conftest*
        !          40629: 
        !          40630:   fi
        !          40631:   #
        !          40632:   if test "$tst_proto_stricmp" = "yes"; then
        !          40633:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if stricmp is compilable" >&5
        !          40634: $as_echo_n "checking if stricmp is compilable... " >&6; }
        !          40635:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          40636: /* end confdefs.h.  */
        !          40637: 
        !          40638: 
        !          40639:         $curl_includes_string
        !          40640: 
        !          40641: int main (void)
        !          40642: {
        !          40643: 
        !          40644:         if(0 != stricmp(0, 0))
        !          40645:           return 1;
        !          40646: 
        !          40647:  ;
        !          40648:  return 0;
        !          40649: }
        !          40650: 
        !          40651: _ACEOF
        !          40652: if ac_fn_c_try_compile "$LINENO"; then :
        !          40653: 
        !          40654:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40655: $as_echo "yes" >&6; }
        !          40656:       tst_compi_stricmp="yes"
        !          40657: 
        !          40658: else
        !          40659: 
        !          40660:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40661: $as_echo "no" >&6; }
        !          40662:       tst_compi_stricmp="no"
        !          40663: 
        !          40664: fi
        !          40665: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          40666:   fi
        !          40667:   #
        !          40668:   if test "$tst_compi_stricmp" = "yes"; then
        !          40669:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if stricmp usage allowed" >&5
        !          40670: $as_echo_n "checking if stricmp usage allowed... " >&6; }
        !          40671:     if test "x$curl_disallow_stricmp" != "xyes"; then
        !          40672:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40673: $as_echo "yes" >&6; }
        !          40674:       tst_allow_stricmp="yes"
        !          40675:     else
        !          40676:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40677: $as_echo "no" >&6; }
        !          40678:       tst_allow_stricmp="no"
        !          40679:     fi
        !          40680:   fi
        !          40681:   #
        !          40682:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if stricmp might be used" >&5
        !          40683: $as_echo_n "checking if stricmp might be used... " >&6; }
        !          40684:   if test "$tst_links_stricmp" = "yes" &&
        !          40685:      test "$tst_proto_stricmp" = "yes" &&
        !          40686:      test "$tst_compi_stricmp" = "yes" &&
        !          40687:      test "$tst_allow_stricmp" = "yes"; then
        !          40688:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40689: $as_echo "yes" >&6; }
        !          40690: 
        !          40691: cat >>confdefs.h <<_ACEOF
        !          40692: #define HAVE_STRICMP 1
        !          40693: _ACEOF
        !          40694: 
        !          40695:     curl_cv_func_stricmp="yes"
        !          40696:   else
        !          40697:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40698: $as_echo "no" >&6; }
        !          40699:     curl_cv_func_stricmp="no"
        !          40700:   fi
        !          40701: 
        !          40702: 
        !          40703:     #
        !          40704:   tst_links_strncasecmp="unknown"
        !          40705:   tst_proto_strncasecmp="unknown"
        !          40706:   tst_compi_strncasecmp="unknown"
        !          40707:   tst_allow_strncasecmp="unknown"
        !          40708:   #
        !          40709:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncasecmp can be linked" >&5
        !          40710: $as_echo_n "checking if strncasecmp can be linked... " >&6; }
        !          40711:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          40712: /* end confdefs.h.  */
        !          40713: 
        !          40714: 
        !          40715: #define strncasecmp innocuous_strncasecmp
        !          40716: #ifdef __STDC__
        !          40717: # include <limits.h>
        !          40718: #else
        !          40719: # include <assert.h>
        !          40720: #endif
        !          40721: #undef strncasecmp
        !          40722: #ifdef __cplusplus
        !          40723: extern "C"
        !          40724: #endif
        !          40725: char strncasecmp ();
        !          40726: #if defined __stub_strncasecmp || defined __stub___strncasecmp
        !          40727: choke me
        !          40728: #endif
        !          40729: 
        !          40730: int main (void)
        !          40731: {
        !          40732: return strncasecmp ();
        !          40733:  ;
        !          40734:  return 0;
        !          40735: }
        !          40736: 
        !          40737: _ACEOF
        !          40738: if ac_fn_c_try_link "$LINENO"; then :
        !          40739: 
        !          40740:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40741: $as_echo "yes" >&6; }
        !          40742:     tst_links_strncasecmp="yes"
        !          40743: 
        !          40744: else
        !          40745: 
        !          40746:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40747: $as_echo "no" >&6; }
        !          40748:     tst_links_strncasecmp="no"
        !          40749: 
        !          40750: fi
        !          40751: rm -f core conftest.err conftest.$ac_objext \
        !          40752:     conftest$ac_exeext conftest.$ac_ext
        !          40753:   #
        !          40754:   if test "$tst_links_strncasecmp" = "yes"; then
        !          40755:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncasecmp is prototyped" >&5
        !          40756: $as_echo_n "checking if strncasecmp is prototyped... " >&6; }
        !          40757:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          40758: /* end confdefs.h.  */
        !          40759: 
        !          40760:       $curl_includes_string
        !          40761: 
        !          40762: _ACEOF
        !          40763: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          40764:   $EGREP "strncasecmp" >/dev/null 2>&1; then :
        !          40765: 
        !          40766:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40767: $as_echo "yes" >&6; }
        !          40768:       tst_proto_strncasecmp="yes"
        !          40769: 
        !          40770: else
        !          40771: 
        !          40772:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40773: $as_echo "no" >&6; }
        !          40774:       tst_proto_strncasecmp="no"
        !          40775: 
        !          40776: fi
        !          40777: rm -f conftest*
        !          40778: 
        !          40779:   fi
        !          40780:   #
        !          40781:   if test "$tst_proto_strncasecmp" = "yes"; then
        !          40782:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncasecmp is compilable" >&5
        !          40783: $as_echo_n "checking if strncasecmp is compilable... " >&6; }
        !          40784:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          40785: /* end confdefs.h.  */
        !          40786: 
        !          40787: 
        !          40788:         $curl_includes_string
        !          40789: 
        !          40790: int main (void)
        !          40791: {
        !          40792: 
        !          40793:         if(0 != strncasecmp(0, 0, 0))
        !          40794:           return 1;
        !          40795: 
        !          40796:  ;
        !          40797:  return 0;
        !          40798: }
        !          40799: 
        !          40800: _ACEOF
        !          40801: if ac_fn_c_try_compile "$LINENO"; then :
        !          40802: 
        !          40803:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40804: $as_echo "yes" >&6; }
        !          40805:       tst_compi_strncasecmp="yes"
        !          40806: 
        !          40807: else
        !          40808: 
        !          40809:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40810: $as_echo "no" >&6; }
        !          40811:       tst_compi_strncasecmp="no"
        !          40812: 
        !          40813: fi
        !          40814: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          40815:   fi
        !          40816:   #
        !          40817:   if test "$tst_compi_strncasecmp" = "yes"; then
        !          40818:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncasecmp usage allowed" >&5
        !          40819: $as_echo_n "checking if strncasecmp usage allowed... " >&6; }
        !          40820:     if test "x$curl_disallow_strncasecmp" != "xyes"; then
        !          40821:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40822: $as_echo "yes" >&6; }
        !          40823:       tst_allow_strncasecmp="yes"
        !          40824:     else
        !          40825:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40826: $as_echo "no" >&6; }
        !          40827:       tst_allow_strncasecmp="no"
        !          40828:     fi
        !          40829:   fi
        !          40830:   #
        !          40831:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncasecmp might be used" >&5
        !          40832: $as_echo_n "checking if strncasecmp might be used... " >&6; }
        !          40833:   if test "$tst_links_strncasecmp" = "yes" &&
        !          40834:      test "$tst_proto_strncasecmp" = "yes" &&
        !          40835:      test "$tst_compi_strncasecmp" = "yes" &&
        !          40836:      test "$tst_allow_strncasecmp" = "yes"; then
        !          40837:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40838: $as_echo "yes" >&6; }
        !          40839: 
        !          40840: cat >>confdefs.h <<_ACEOF
        !          40841: #define HAVE_STRNCASECMP 1
        !          40842: _ACEOF
        !          40843: 
        !          40844:     curl_cv_func_strncasecmp="yes"
        !          40845:   else
        !          40846:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40847: $as_echo "no" >&6; }
        !          40848:     curl_cv_func_strncasecmp="no"
        !          40849:   fi
        !          40850: 
        !          40851: 
        !          40852:     #
        !          40853:   tst_links_strncmpi="unknown"
        !          40854:   tst_proto_strncmpi="unknown"
        !          40855:   tst_compi_strncmpi="unknown"
        !          40856:   tst_allow_strncmpi="unknown"
        !          40857:   #
        !          40858:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncmpi can be linked" >&5
        !          40859: $as_echo_n "checking if strncmpi can be linked... " >&6; }
        !          40860:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          40861: /* end confdefs.h.  */
        !          40862: 
        !          40863: 
        !          40864: #define strncmpi innocuous_strncmpi
        !          40865: #ifdef __STDC__
        !          40866: # include <limits.h>
        !          40867: #else
        !          40868: # include <assert.h>
        !          40869: #endif
        !          40870: #undef strncmpi
        !          40871: #ifdef __cplusplus
        !          40872: extern "C"
        !          40873: #endif
        !          40874: char strncmpi ();
        !          40875: #if defined __stub_strncmpi || defined __stub___strncmpi
        !          40876: choke me
        !          40877: #endif
        !          40878: 
        !          40879: int main (void)
        !          40880: {
        !          40881: return strncmpi ();
        !          40882:  ;
        !          40883:  return 0;
        !          40884: }
        !          40885: 
        !          40886: _ACEOF
        !          40887: if ac_fn_c_try_link "$LINENO"; then :
        !          40888: 
        !          40889:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40890: $as_echo "yes" >&6; }
        !          40891:     tst_links_strncmpi="yes"
        !          40892: 
        !          40893: else
        !          40894: 
        !          40895:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40896: $as_echo "no" >&6; }
        !          40897:     tst_links_strncmpi="no"
        !          40898: 
        !          40899: fi
        !          40900: rm -f core conftest.err conftest.$ac_objext \
        !          40901:     conftest$ac_exeext conftest.$ac_ext
        !          40902:   #
        !          40903:   if test "$tst_links_strncmpi" = "yes"; then
        !          40904:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncmpi is prototyped" >&5
        !          40905: $as_echo_n "checking if strncmpi is prototyped... " >&6; }
        !          40906:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          40907: /* end confdefs.h.  */
        !          40908: 
        !          40909:       $curl_includes_string
        !          40910: 
        !          40911: _ACEOF
        !          40912: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          40913:   $EGREP "strncmpi" >/dev/null 2>&1; then :
        !          40914: 
        !          40915:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40916: $as_echo "yes" >&6; }
        !          40917:       tst_proto_strncmpi="yes"
        !          40918: 
        !          40919: else
        !          40920: 
        !          40921:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40922: $as_echo "no" >&6; }
        !          40923:       tst_proto_strncmpi="no"
        !          40924: 
        !          40925: fi
        !          40926: rm -f conftest*
        !          40927: 
        !          40928:   fi
        !          40929:   #
        !          40930:   if test "$tst_proto_strncmpi" = "yes"; then
        !          40931:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncmpi is compilable" >&5
        !          40932: $as_echo_n "checking if strncmpi is compilable... " >&6; }
        !          40933:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          40934: /* end confdefs.h.  */
        !          40935: 
        !          40936: 
        !          40937:         $curl_includes_string
        !          40938: 
        !          40939: int main (void)
        !          40940: {
        !          40941: 
        !          40942:         if(0 != strncmpi(0, 0))
        !          40943:           return 1;
        !          40944: 
        !          40945:  ;
        !          40946:  return 0;
        !          40947: }
        !          40948: 
        !          40949: _ACEOF
        !          40950: if ac_fn_c_try_compile "$LINENO"; then :
        !          40951: 
        !          40952:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40953: $as_echo "yes" >&6; }
        !          40954:       tst_compi_strncmpi="yes"
        !          40955: 
        !          40956: else
        !          40957: 
        !          40958:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40959: $as_echo "no" >&6; }
        !          40960:       tst_compi_strncmpi="no"
        !          40961: 
        !          40962: fi
        !          40963: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          40964:   fi
        !          40965:   #
        !          40966:   if test "$tst_compi_strncmpi" = "yes"; then
        !          40967:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncmpi usage allowed" >&5
        !          40968: $as_echo_n "checking if strncmpi usage allowed... " >&6; }
        !          40969:     if test "x$curl_disallow_strncmpi" != "xyes"; then
        !          40970:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40971: $as_echo "yes" >&6; }
        !          40972:       tst_allow_strncmpi="yes"
        !          40973:     else
        !          40974:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40975: $as_echo "no" >&6; }
        !          40976:       tst_allow_strncmpi="no"
        !          40977:     fi
        !          40978:   fi
        !          40979:   #
        !          40980:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncmpi might be used" >&5
        !          40981: $as_echo_n "checking if strncmpi might be used... " >&6; }
        !          40982:   if test "$tst_links_strncmpi" = "yes" &&
        !          40983:      test "$tst_proto_strncmpi" = "yes" &&
        !          40984:      test "$tst_compi_strncmpi" = "yes" &&
        !          40985:      test "$tst_allow_strncmpi" = "yes"; then
        !          40986:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          40987: $as_echo "yes" >&6; }
        !          40988: 
        !          40989: cat >>confdefs.h <<_ACEOF
        !          40990: #define HAVE_STRNCMPI 1
        !          40991: _ACEOF
        !          40992: 
        !          40993:     curl_cv_func_strncmpi="yes"
        !          40994:   else
        !          40995:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          40996: $as_echo "no" >&6; }
        !          40997:     curl_cv_func_strncmpi="no"
        !          40998:   fi
        !          40999: 
        !          41000: 
        !          41001:     #
        !          41002:   tst_links_strnicmp="unknown"
        !          41003:   tst_proto_strnicmp="unknown"
        !          41004:   tst_compi_strnicmp="unknown"
        !          41005:   tst_allow_strnicmp="unknown"
        !          41006:   #
        !          41007:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnicmp can be linked" >&5
        !          41008: $as_echo_n "checking if strnicmp can be linked... " >&6; }
        !          41009:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          41010: /* end confdefs.h.  */
        !          41011: 
        !          41012: 
        !          41013: #define strnicmp innocuous_strnicmp
        !          41014: #ifdef __STDC__
        !          41015: # include <limits.h>
        !          41016: #else
        !          41017: # include <assert.h>
        !          41018: #endif
        !          41019: #undef strnicmp
        !          41020: #ifdef __cplusplus
        !          41021: extern "C"
        !          41022: #endif
        !          41023: char strnicmp ();
        !          41024: #if defined __stub_strnicmp || defined __stub___strnicmp
        !          41025: choke me
        !          41026: #endif
        !          41027: 
        !          41028: int main (void)
        !          41029: {
        !          41030: return strnicmp ();
        !          41031:  ;
        !          41032:  return 0;
        !          41033: }
        !          41034: 
        !          41035: _ACEOF
        !          41036: if ac_fn_c_try_link "$LINENO"; then :
        !          41037: 
        !          41038:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41039: $as_echo "yes" >&6; }
        !          41040:     tst_links_strnicmp="yes"
        !          41041: 
        !          41042: else
        !          41043: 
        !          41044:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41045: $as_echo "no" >&6; }
        !          41046:     tst_links_strnicmp="no"
        !          41047: 
        !          41048: fi
        !          41049: rm -f core conftest.err conftest.$ac_objext \
        !          41050:     conftest$ac_exeext conftest.$ac_ext
        !          41051:   #
        !          41052:   if test "$tst_links_strnicmp" = "yes"; then
        !          41053:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnicmp is prototyped" >&5
        !          41054: $as_echo_n "checking if strnicmp is prototyped... " >&6; }
        !          41055:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          41056: /* end confdefs.h.  */
        !          41057: 
        !          41058:       $curl_includes_string
        !          41059: 
        !          41060: _ACEOF
        !          41061: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          41062:   $EGREP "strnicmp" >/dev/null 2>&1; then :
        !          41063: 
        !          41064:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41065: $as_echo "yes" >&6; }
        !          41066:       tst_proto_strnicmp="yes"
        !          41067: 
        !          41068: else
        !          41069: 
        !          41070:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41071: $as_echo "no" >&6; }
        !          41072:       tst_proto_strnicmp="no"
        !          41073: 
        !          41074: fi
        !          41075: rm -f conftest*
        !          41076: 
        !          41077:   fi
        !          41078:   #
        !          41079:   if test "$tst_proto_strnicmp" = "yes"; then
        !          41080:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnicmp is compilable" >&5
        !          41081: $as_echo_n "checking if strnicmp is compilable... " >&6; }
        !          41082:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          41083: /* end confdefs.h.  */
        !          41084: 
        !          41085: 
        !          41086:         $curl_includes_string
        !          41087: 
        !          41088: int main (void)
        !          41089: {
        !          41090: 
        !          41091:         if(0 != strnicmp(0, 0))
        !          41092:           return 1;
        !          41093: 
        !          41094:  ;
        !          41095:  return 0;
        !          41096: }
        !          41097: 
        !          41098: _ACEOF
        !          41099: if ac_fn_c_try_compile "$LINENO"; then :
        !          41100: 
        !          41101:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41102: $as_echo "yes" >&6; }
        !          41103:       tst_compi_strnicmp="yes"
        !          41104: 
        !          41105: else
        !          41106: 
        !          41107:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41108: $as_echo "no" >&6; }
        !          41109:       tst_compi_strnicmp="no"
        !          41110: 
        !          41111: fi
        !          41112: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          41113:   fi
        !          41114:   #
        !          41115:   if test "$tst_compi_strnicmp" = "yes"; then
        !          41116:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnicmp usage allowed" >&5
        !          41117: $as_echo_n "checking if strnicmp usage allowed... " >&6; }
        !          41118:     if test "x$curl_disallow_strnicmp" != "xyes"; then
        !          41119:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41120: $as_echo "yes" >&6; }
        !          41121:       tst_allow_strnicmp="yes"
        !          41122:     else
        !          41123:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41124: $as_echo "no" >&6; }
        !          41125:       tst_allow_strnicmp="no"
        !          41126:     fi
        !          41127:   fi
        !          41128:   #
        !          41129:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnicmp might be used" >&5
        !          41130: $as_echo_n "checking if strnicmp might be used... " >&6; }
        !          41131:   if test "$tst_links_strnicmp" = "yes" &&
        !          41132:      test "$tst_proto_strnicmp" = "yes" &&
        !          41133:      test "$tst_compi_strnicmp" = "yes" &&
        !          41134:      test "$tst_allow_strnicmp" = "yes"; then
        !          41135:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41136: $as_echo "yes" >&6; }
        !          41137: 
        !          41138: cat >>confdefs.h <<_ACEOF
        !          41139: #define HAVE_STRNICMP 1
        !          41140: _ACEOF
        !          41141: 
        !          41142:     curl_cv_func_strnicmp="yes"
        !          41143:   else
        !          41144:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41145: $as_echo "no" >&6; }
        !          41146:     curl_cv_func_strnicmp="no"
        !          41147:   fi
        !          41148: 
        !          41149: 
        !          41150:     #
        !          41151:   tst_links_strstr="unknown"
        !          41152:   tst_proto_strstr="unknown"
        !          41153:   tst_compi_strstr="unknown"
        !          41154:   tst_allow_strstr="unknown"
        !          41155:   #
        !          41156:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strstr can be linked" >&5
        !          41157: $as_echo_n "checking if strstr can be linked... " >&6; }
        !          41158:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          41159: /* end confdefs.h.  */
        !          41160: 
        !          41161: 
        !          41162: #define strstr innocuous_strstr
        !          41163: #ifdef __STDC__
        !          41164: # include <limits.h>
        !          41165: #else
        !          41166: # include <assert.h>
        !          41167: #endif
        !          41168: #undef strstr
        !          41169: #ifdef __cplusplus
        !          41170: extern "C"
        !          41171: #endif
        !          41172: char strstr ();
        !          41173: #if defined __stub_strstr || defined __stub___strstr
        !          41174: choke me
        !          41175: #endif
        !          41176: 
        !          41177: int main (void)
        !          41178: {
        !          41179: return strstr ();
        !          41180:  ;
        !          41181:  return 0;
        !          41182: }
        !          41183: 
        !          41184: _ACEOF
        !          41185: if ac_fn_c_try_link "$LINENO"; then :
        !          41186: 
        !          41187:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41188: $as_echo "yes" >&6; }
        !          41189:     tst_links_strstr="yes"
        !          41190: 
        !          41191: else
        !          41192: 
        !          41193:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41194: $as_echo "no" >&6; }
        !          41195:     tst_links_strstr="no"
        !          41196: 
        !          41197: fi
        !          41198: rm -f core conftest.err conftest.$ac_objext \
        !          41199:     conftest$ac_exeext conftest.$ac_ext
        !          41200:   #
        !          41201:   if test "$tst_links_strstr" = "yes"; then
        !          41202:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strstr is prototyped" >&5
        !          41203: $as_echo_n "checking if strstr is prototyped... " >&6; }
        !          41204:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          41205: /* end confdefs.h.  */
        !          41206: 
        !          41207:       $curl_includes_string
        !          41208: 
        !          41209: _ACEOF
        !          41210: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          41211:   $EGREP "strstr" >/dev/null 2>&1; then :
        !          41212: 
        !          41213:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41214: $as_echo "yes" >&6; }
        !          41215:       tst_proto_strstr="yes"
        !          41216: 
        !          41217: else
        !          41218: 
        !          41219:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41220: $as_echo "no" >&6; }
        !          41221:       tst_proto_strstr="no"
        !          41222: 
        !          41223: fi
        !          41224: rm -f conftest*
        !          41225: 
        !          41226:   fi
        !          41227:   #
        !          41228:   if test "$tst_proto_strstr" = "yes"; then
        !          41229:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strstr is compilable" >&5
        !          41230: $as_echo_n "checking if strstr is compilable... " >&6; }
        !          41231:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          41232: /* end confdefs.h.  */
        !          41233: 
        !          41234: 
        !          41235:         $curl_includes_string
        !          41236: 
        !          41237: int main (void)
        !          41238: {
        !          41239: 
        !          41240:         if(0 != strstr(0, 0))
        !          41241:           return 1;
        !          41242: 
        !          41243:  ;
        !          41244:  return 0;
        !          41245: }
        !          41246: 
        !          41247: _ACEOF
        !          41248: if ac_fn_c_try_compile "$LINENO"; then :
        !          41249: 
        !          41250:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41251: $as_echo "yes" >&6; }
        !          41252:       tst_compi_strstr="yes"
        !          41253: 
        !          41254: else
        !          41255: 
        !          41256:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41257: $as_echo "no" >&6; }
        !          41258:       tst_compi_strstr="no"
        !          41259: 
        !          41260: fi
        !          41261: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          41262:   fi
        !          41263:   #
        !          41264:   if test "$tst_compi_strstr" = "yes"; then
        !          41265:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strstr usage allowed" >&5
        !          41266: $as_echo_n "checking if strstr usage allowed... " >&6; }
        !          41267:     if test "x$curl_disallow_strstr" != "xyes"; then
        !          41268:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41269: $as_echo "yes" >&6; }
        !          41270:       tst_allow_strstr="yes"
        !          41271:     else
        !          41272:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41273: $as_echo "no" >&6; }
        !          41274:       tst_allow_strstr="no"
        !          41275:     fi
        !          41276:   fi
        !          41277:   #
        !          41278:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strstr might be used" >&5
        !          41279: $as_echo_n "checking if strstr might be used... " >&6; }
        !          41280:   if test "$tst_links_strstr" = "yes" &&
        !          41281:      test "$tst_proto_strstr" = "yes" &&
        !          41282:      test "$tst_compi_strstr" = "yes" &&
        !          41283:      test "$tst_allow_strstr" = "yes"; then
        !          41284:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41285: $as_echo "yes" >&6; }
        !          41286: 
        !          41287: cat >>confdefs.h <<_ACEOF
        !          41288: #define HAVE_STRSTR 1
        !          41289: _ACEOF
        !          41290: 
        !          41291:     curl_cv_func_strstr="yes"
        !          41292:   else
        !          41293:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41294: $as_echo "no" >&6; }
        !          41295:     curl_cv_func_strstr="no"
        !          41296:   fi
        !          41297: 
        !          41298: 
        !          41299:     #
        !          41300:   tst_links_strtok_r="unknown"
        !          41301:   tst_proto_strtok_r="unknown"
        !          41302:   tst_compi_strtok_r="unknown"
        !          41303:   tst_allow_strtok_r="unknown"
        !          41304:   #
        !          41305:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtok_r can be linked" >&5
        !          41306: $as_echo_n "checking if strtok_r can be linked... " >&6; }
        !          41307:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          41308: /* end confdefs.h.  */
        !          41309: 
        !          41310: 
        !          41311: #define strtok_r innocuous_strtok_r
        !          41312: #ifdef __STDC__
        !          41313: # include <limits.h>
        !          41314: #else
        !          41315: # include <assert.h>
        !          41316: #endif
        !          41317: #undef strtok_r
        !          41318: #ifdef __cplusplus
        !          41319: extern "C"
        !          41320: #endif
        !          41321: char strtok_r ();
        !          41322: #if defined __stub_strtok_r || defined __stub___strtok_r
        !          41323: choke me
        !          41324: #endif
        !          41325: 
        !          41326: int main (void)
        !          41327: {
        !          41328: return strtok_r ();
        !          41329:  ;
        !          41330:  return 0;
        !          41331: }
        !          41332: 
        !          41333: _ACEOF
        !          41334: if ac_fn_c_try_link "$LINENO"; then :
        !          41335: 
        !          41336:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41337: $as_echo "yes" >&6; }
        !          41338:     tst_links_strtok_r="yes"
        !          41339: 
        !          41340: else
        !          41341: 
        !          41342:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41343: $as_echo "no" >&6; }
        !          41344:     tst_links_strtok_r="no"
        !          41345: 
        !          41346: fi
        !          41347: rm -f core conftest.err conftest.$ac_objext \
        !          41348:     conftest$ac_exeext conftest.$ac_ext
        !          41349:   #
        !          41350:   if test "$tst_links_strtok_r" = "yes"; then
        !          41351:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtok_r is prototyped" >&5
        !          41352: $as_echo_n "checking if strtok_r is prototyped... " >&6; }
        !          41353:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          41354: /* end confdefs.h.  */
        !          41355: 
        !          41356:       $curl_includes_string
        !          41357: 
        !          41358: _ACEOF
        !          41359: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          41360:   $EGREP "strtok_r" >/dev/null 2>&1; then :
        !          41361: 
        !          41362:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41363: $as_echo "yes" >&6; }
        !          41364:       tst_proto_strtok_r="yes"
        !          41365: 
        !          41366: else
        !          41367: 
        !          41368:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41369: $as_echo "no" >&6; }
        !          41370:       tst_proto_strtok_r="no"
        !          41371: 
        !          41372: fi
        !          41373: rm -f conftest*
        !          41374: 
        !          41375:   fi
        !          41376:   #
        !          41377:   if test "$tst_proto_strtok_r" = "yes"; then
        !          41378:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtok_r is compilable" >&5
        !          41379: $as_echo_n "checking if strtok_r is compilable... " >&6; }
        !          41380:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          41381: /* end confdefs.h.  */
        !          41382: 
        !          41383: 
        !          41384:         $curl_includes_string
        !          41385: 
        !          41386: int main (void)
        !          41387: {
        !          41388: 
        !          41389:         if(0 != strtok_r(0, 0, 0))
        !          41390:           return 1;
        !          41391: 
        !          41392:  ;
        !          41393:  return 0;
        !          41394: }
        !          41395: 
        !          41396: _ACEOF
        !          41397: if ac_fn_c_try_compile "$LINENO"; then :
        !          41398: 
        !          41399:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41400: $as_echo "yes" >&6; }
        !          41401:       tst_compi_strtok_r="yes"
        !          41402: 
        !          41403: else
        !          41404: 
        !          41405:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41406: $as_echo "no" >&6; }
        !          41407:       tst_compi_strtok_r="no"
        !          41408: 
        !          41409: fi
        !          41410: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          41411:   fi
        !          41412:   #
        !          41413:   if test "$tst_compi_strtok_r" = "yes"; then
        !          41414:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtok_r usage allowed" >&5
        !          41415: $as_echo_n "checking if strtok_r usage allowed... " >&6; }
        !          41416:     if test "x$curl_disallow_strtok_r" != "xyes"; then
        !          41417:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41418: $as_echo "yes" >&6; }
        !          41419:       tst_allow_strtok_r="yes"
        !          41420:     else
        !          41421:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41422: $as_echo "no" >&6; }
        !          41423:       tst_allow_strtok_r="no"
        !          41424:     fi
        !          41425:   fi
        !          41426:   #
        !          41427:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtok_r might be used" >&5
        !          41428: $as_echo_n "checking if strtok_r might be used... " >&6; }
        !          41429:   if test "$tst_links_strtok_r" = "yes" &&
        !          41430:      test "$tst_proto_strtok_r" = "yes" &&
        !          41431:      test "$tst_compi_strtok_r" = "yes" &&
        !          41432:      test "$tst_allow_strtok_r" = "yes"; then
        !          41433:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41434: $as_echo "yes" >&6; }
        !          41435: 
        !          41436: cat >>confdefs.h <<_ACEOF
        !          41437: #define HAVE_STRTOK_R 1
        !          41438: _ACEOF
        !          41439: 
        !          41440:     curl_cv_func_strtok_r="yes"
        !          41441:   else
        !          41442:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41443: $as_echo "no" >&6; }
        !          41444:     curl_cv_func_strtok_r="no"
        !          41445:   fi
        !          41446: 
        !          41447: 
        !          41448:     #
        !          41449:   tst_links_strtoll="unknown"
        !          41450:   tst_proto_strtoll="unknown"
        !          41451:   tst_compi_strtoll="unknown"
        !          41452:   tst_allow_strtoll="unknown"
        !          41453:   #
        !          41454:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtoll can be linked" >&5
        !          41455: $as_echo_n "checking if strtoll can be linked... " >&6; }
        !          41456:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          41457: /* end confdefs.h.  */
        !          41458: 
        !          41459: 
        !          41460: #define strtoll innocuous_strtoll
        !          41461: #ifdef __STDC__
        !          41462: # include <limits.h>
        !          41463: #else
        !          41464: # include <assert.h>
        !          41465: #endif
        !          41466: #undef strtoll
        !          41467: #ifdef __cplusplus
        !          41468: extern "C"
        !          41469: #endif
        !          41470: char strtoll ();
        !          41471: #if defined __stub_strtoll || defined __stub___strtoll
        !          41472: choke me
        !          41473: #endif
        !          41474: 
        !          41475: int main (void)
        !          41476: {
        !          41477: return strtoll ();
        !          41478:  ;
        !          41479:  return 0;
        !          41480: }
        !          41481: 
        !          41482: _ACEOF
        !          41483: if ac_fn_c_try_link "$LINENO"; then :
        !          41484: 
        !          41485:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41486: $as_echo "yes" >&6; }
        !          41487:     tst_links_strtoll="yes"
        !          41488: 
        !          41489: else
        !          41490: 
        !          41491:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41492: $as_echo "no" >&6; }
        !          41493:     tst_links_strtoll="no"
        !          41494: 
        !          41495: fi
        !          41496: rm -f core conftest.err conftest.$ac_objext \
        !          41497:     conftest$ac_exeext conftest.$ac_ext
        !          41498:   #
        !          41499:   if test "$tst_links_strtoll" = "yes"; then
        !          41500:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtoll is prototyped" >&5
        !          41501: $as_echo_n "checking if strtoll is prototyped... " >&6; }
        !          41502:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          41503: /* end confdefs.h.  */
        !          41504: 
        !          41505:       $curl_includes_stdlib
        !          41506: 
        !          41507: _ACEOF
        !          41508: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          41509:   $EGREP "strtoll" >/dev/null 2>&1; then :
        !          41510: 
        !          41511:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41512: $as_echo "yes" >&6; }
        !          41513:       tst_proto_strtoll="yes"
        !          41514: 
        !          41515: else
        !          41516: 
        !          41517:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41518: $as_echo "no" >&6; }
        !          41519:       tst_proto_strtoll="no"
        !          41520: 
        !          41521: fi
        !          41522: rm -f conftest*
        !          41523: 
        !          41524:   fi
        !          41525:   #
        !          41526:   if test "$tst_proto_strtoll" = "yes"; then
        !          41527:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtoll is compilable" >&5
        !          41528: $as_echo_n "checking if strtoll is compilable... " >&6; }
        !          41529:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          41530: /* end confdefs.h.  */
        !          41531: 
        !          41532: 
        !          41533:         $curl_includes_stdlib
        !          41534: 
        !          41535: int main (void)
        !          41536: {
        !          41537: 
        !          41538:         if(0 != strtoll(0, 0, 0))
        !          41539:           return 1;
        !          41540: 
        !          41541:  ;
        !          41542:  return 0;
        !          41543: }
        !          41544: 
        !          41545: _ACEOF
        !          41546: if ac_fn_c_try_compile "$LINENO"; then :
        !          41547: 
        !          41548:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41549: $as_echo "yes" >&6; }
        !          41550:       tst_compi_strtoll="yes"
        !          41551: 
        !          41552: else
        !          41553: 
        !          41554:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41555: $as_echo "no" >&6; }
        !          41556:       tst_compi_strtoll="no"
        !          41557: 
        !          41558: fi
        !          41559: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          41560:   fi
        !          41561:   #
        !          41562:   if test "$tst_compi_strtoll" = "yes"; then
        !          41563:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtoll usage allowed" >&5
        !          41564: $as_echo_n "checking if strtoll usage allowed... " >&6; }
        !          41565:     if test "x$curl_disallow_strtoll" != "xyes"; then
        !          41566:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41567: $as_echo "yes" >&6; }
        !          41568:       tst_allow_strtoll="yes"
        !          41569:     else
        !          41570:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41571: $as_echo "no" >&6; }
        !          41572:       tst_allow_strtoll="no"
        !          41573:     fi
        !          41574:   fi
        !          41575:   #
        !          41576:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtoll might be used" >&5
        !          41577: $as_echo_n "checking if strtoll might be used... " >&6; }
        !          41578:   if test "$tst_links_strtoll" = "yes" &&
        !          41579:      test "$tst_proto_strtoll" = "yes" &&
        !          41580:      test "$tst_compi_strtoll" = "yes" &&
        !          41581:      test "$tst_allow_strtoll" = "yes"; then
        !          41582:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41583: $as_echo "yes" >&6; }
        !          41584: 
        !          41585: cat >>confdefs.h <<_ACEOF
        !          41586: #define HAVE_STRTOLL 1
        !          41587: _ACEOF
        !          41588: 
        !          41589:     curl_cv_func_strtoll="yes"
        !          41590:   else
        !          41591:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41592: $as_echo "no" >&6; }
        !          41593:     curl_cv_func_strtoll="no"
        !          41594:   fi
        !          41595: 
        !          41596: 
        !          41597: curl_includes_sys_uio="\
        !          41598: /* includes start */
        !          41599: #ifdef HAVE_SYS_TYPES_H
        !          41600: #  include <sys/types.h>
        !          41601: #endif
        !          41602: #ifdef HAVE_SYS_UIO_H
        !          41603: #  include <sys/uio.h>
        !          41604: #endif
        !          41605: /* includes end */"
        !          41606:   for ac_header in sys/types.h sys/uio.h
        !          41607: do :
        !          41608:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          41609: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_sys_uio
        !          41610: "
        !          41611: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          41612:   cat >>confdefs.h <<_ACEOF
        !          41613: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          41614: _ACEOF
        !          41615: 
        !          41616: fi
        !          41617: 
        !          41618: done
        !          41619: 
        !          41620: 
        !          41621: 
        !          41622:     #
        !          41623:   tst_links_writev="unknown"
        !          41624:   tst_proto_writev="unknown"
        !          41625:   tst_compi_writev="unknown"
        !          41626:   tst_allow_writev="unknown"
        !          41627:   #
        !          41628:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if writev can be linked" >&5
        !          41629: $as_echo_n "checking if writev can be linked... " >&6; }
        !          41630:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          41631: /* end confdefs.h.  */
        !          41632: 
        !          41633: 
        !          41634: #define writev innocuous_writev
        !          41635: #ifdef __STDC__
        !          41636: # include <limits.h>
        !          41637: #else
        !          41638: # include <assert.h>
        !          41639: #endif
        !          41640: #undef writev
        !          41641: #ifdef __cplusplus
        !          41642: extern "C"
        !          41643: #endif
        !          41644: char writev ();
        !          41645: #if defined __stub_writev || defined __stub___writev
        !          41646: choke me
        !          41647: #endif
        !          41648: 
        !          41649: int main (void)
        !          41650: {
        !          41651: return writev ();
        !          41652:  ;
        !          41653:  return 0;
        !          41654: }
        !          41655: 
        !          41656: _ACEOF
        !          41657: if ac_fn_c_try_link "$LINENO"; then :
        !          41658: 
        !          41659:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41660: $as_echo "yes" >&6; }
        !          41661:     tst_links_writev="yes"
        !          41662: 
        !          41663: else
        !          41664: 
        !          41665:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41666: $as_echo "no" >&6; }
        !          41667:     tst_links_writev="no"
        !          41668: 
        !          41669: fi
        !          41670: rm -f core conftest.err conftest.$ac_objext \
        !          41671:     conftest$ac_exeext conftest.$ac_ext
        !          41672:   #
        !          41673:   if test "$tst_links_writev" = "yes"; then
        !          41674:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if writev is prototyped" >&5
        !          41675: $as_echo_n "checking if writev is prototyped... " >&6; }
        !          41676:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          41677: /* end confdefs.h.  */
        !          41678: 
        !          41679:       $curl_includes_sys_uio
        !          41680: 
        !          41681: _ACEOF
        !          41682: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          41683:   $EGREP "writev" >/dev/null 2>&1; then :
        !          41684: 
        !          41685:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41686: $as_echo "yes" >&6; }
        !          41687:       tst_proto_writev="yes"
        !          41688: 
        !          41689: else
        !          41690: 
        !          41691:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41692: $as_echo "no" >&6; }
        !          41693:       tst_proto_writev="no"
        !          41694: 
        !          41695: fi
        !          41696: rm -f conftest*
        !          41697: 
        !          41698:   fi
        !          41699:   #
        !          41700:   if test "$tst_proto_writev" = "yes"; then
        !          41701:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if writev is compilable" >&5
        !          41702: $as_echo_n "checking if writev is compilable... " >&6; }
        !          41703:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          41704: /* end confdefs.h.  */
        !          41705: 
        !          41706: 
        !          41707:         $curl_includes_sys_uio
        !          41708: 
        !          41709: int main (void)
        !          41710: {
        !          41711: 
        !          41712:         if(0 != writev(0, 0, 0))
        !          41713:           return 1;
        !          41714: 
        !          41715:  ;
        !          41716:  return 0;
        !          41717: }
        !          41718: 
        !          41719: _ACEOF
        !          41720: if ac_fn_c_try_compile "$LINENO"; then :
        !          41721: 
        !          41722:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41723: $as_echo "yes" >&6; }
        !          41724:       tst_compi_writev="yes"
        !          41725: 
        !          41726: else
        !          41727: 
        !          41728:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41729: $as_echo "no" >&6; }
        !          41730:       tst_compi_writev="no"
        !          41731: 
        !          41732: fi
        !          41733: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          41734:   fi
        !          41735:   #
        !          41736:   if test "$tst_compi_writev" = "yes"; then
        !          41737:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if writev usage allowed" >&5
        !          41738: $as_echo_n "checking if writev usage allowed... " >&6; }
        !          41739:     if test "x$curl_disallow_writev" != "xyes"; then
        !          41740:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41741: $as_echo "yes" >&6; }
        !          41742:       tst_allow_writev="yes"
        !          41743:     else
        !          41744:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41745: $as_echo "no" >&6; }
        !          41746:       tst_allow_writev="no"
        !          41747:     fi
        !          41748:   fi
        !          41749:   #
        !          41750:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if writev might be used" >&5
        !          41751: $as_echo_n "checking if writev might be used... " >&6; }
        !          41752:   if test "$tst_links_writev" = "yes" &&
        !          41753:      test "$tst_proto_writev" = "yes" &&
        !          41754:      test "$tst_compi_writev" = "yes" &&
        !          41755:      test "$tst_allow_writev" = "yes"; then
        !          41756:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41757: $as_echo "yes" >&6; }
        !          41758: 
        !          41759: cat >>confdefs.h <<_ACEOF
        !          41760: #define HAVE_WRITEV 1
        !          41761: _ACEOF
        !          41762: 
        !          41763:     curl_cv_func_writev="yes"
        !          41764:   else
        !          41765:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41766: $as_echo "no" >&6; }
        !          41767:     curl_cv_func_writev="no"
        !          41768:   fi
        !          41769: 
        !          41770: 
        !          41771: case $host in
        !          41772:   *msdosdjgpp)
        !          41773:      ac_cv_func_pipe=no
        !          41774:      skipcheck_pipe=yes
        !          41775:      { $as_echo "$as_me:${as_lineno-$LINENO}: skip check for pipe on msdosdjgpp" >&5
        !          41776: $as_echo "$as_me: skip check for pipe on msdosdjgpp" >&6;}
        !          41777:     ;;
        !          41778: esac
        !          41779: 
        !          41780: ac_fn_c_check_decl "$LINENO" "getpwuid_r" "ac_cv_have_decl_getpwuid_r" "#include <pwd.h>
        !          41781:           #include <sys/types.h>
        !          41782: "
        !          41783: if test "x$ac_cv_have_decl_getpwuid_r" = xyes; then :
        !          41784:   ac_have_decl=1
        !          41785: else
        !          41786:   ac_have_decl=0
        !          41787: fi
        !          41788: 
        !          41789: cat >>confdefs.h <<_ACEOF
        !          41790: #define HAVE_DECL_GETPWUID_R $ac_have_decl
        !          41791: _ACEOF
        !          41792: if test $ac_have_decl = 1; then :
        !          41793: 
        !          41794: else
        !          41795: 
        !          41796: $as_echo "#define HAVE_DECL_GETPWUID_R_MISSING 1" >>confdefs.h
        !          41797: 
        !          41798: fi
        !          41799: 
        !          41800: 
        !          41801: 
        !          41802: for ac_func in fnmatch \
        !          41803:   geteuid \
        !          41804:   getpass_r \
        !          41805:   getppid \
        !          41806:   getpwuid \
        !          41807:   getpwuid_r \
        !          41808:   getrlimit \
        !          41809:   gettimeofday \
        !          41810:   if_nametoindex \
        !          41811:   mach_absolute_time \
        !          41812:   pipe \
        !          41813:   setlocale \
        !          41814:   setmode \
        !          41815:   setrlimit \
        !          41816:   usleep \
        !          41817:   utime \
        !          41818:   utimes
        !          41819: 
        !          41820: do :
        !          41821:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          41822: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
        !          41823: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
        !          41824:   cat >>confdefs.h <<_ACEOF
        !          41825: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
        !          41826: _ACEOF
        !          41827: 
        !          41828: 
        !          41829: else
        !          41830: 
        !          41831:   func="$ac_func"
        !          41832:   eval skipcheck=\$skipcheck_$func
        !          41833:   if test "x$skipcheck" != "xyes"; then
        !          41834:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking deeper for $func" >&5
        !          41835: $as_echo_n "checking deeper for $func... " >&6; }
        !          41836:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          41837: /* end confdefs.h.  */
        !          41838: 
        !          41839: 
        !          41840: 
        !          41841: int main (void)
        !          41842: {
        !          41843: 
        !          41844:         $func ();
        !          41845: 
        !          41846:  ;
        !          41847:  return 0;
        !          41848: }
        !          41849: 
        !          41850: _ACEOF
        !          41851: if ac_fn_c_try_link "$LINENO"; then :
        !          41852: 
        !          41853:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          41854: $as_echo "yes" >&6; }
        !          41855:       eval "ac_cv_func_$func=yes"
        !          41856: 
        !          41857: cat >>confdefs.h <<_ACEOF
        !          41858: #define `echo "HAVE_$func" | sed 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' | sed 's/^A-Z0-9_/_/g'` 1
        !          41859: _ACEOF
        !          41860: 
        !          41861: 
        !          41862: else
        !          41863: 
        !          41864:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: but still no" >&5
        !          41865: $as_echo "but still no" >&6; }
        !          41866: 
        !          41867: fi
        !          41868: rm -f core conftest.err conftest.$ac_objext \
        !          41869:     conftest$ac_exeext conftest.$ac_ext
        !          41870:   fi
        !          41871: 
        !          41872: fi
        !          41873: done
        !          41874: 
        !          41875: 
        !          41876: 
        !          41877:             #
        !          41878:   tst_method="unknown"
        !          41879: 
        !          41880:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to set a socket into non-blocking mode" >&5
        !          41881: $as_echo_n "checking how to set a socket into non-blocking mode... " >&6; }
        !          41882:   if test "x$curl_cv_func_fcntl_o_nonblock" = "xyes"; then
        !          41883:     tst_method="fcntl O_NONBLOCK"
        !          41884:   elif test "x$curl_cv_func_ioctl_fionbio" = "xyes"; then
        !          41885:     tst_method="ioctl FIONBIO"
        !          41886:   elif test "x$curl_cv_func_ioctlsocket_fionbio" = "xyes"; then
        !          41887:     tst_method="ioctlsocket FIONBIO"
        !          41888:   elif test "x$curl_cv_func_ioctlsocket_camel_fionbio" = "xyes"; then
        !          41889:     tst_method="IoctlSocket FIONBIO"
        !          41890:   elif test "x$curl_cv_func_setsockopt_so_nonblock" = "xyes"; then
        !          41891:     tst_method="setsockopt SO_NONBLOCK"
        !          41892:   fi
        !          41893:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_method" >&5
        !          41894: $as_echo "$tst_method" >&6; }
        !          41895:   if test "$tst_method" = "unknown"; then
        !          41896:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine non-blocking socket method." >&5
        !          41897: $as_echo "$as_me: WARNING: cannot determine non-blocking socket method." >&2;}
        !          41898:   fi
        !          41899: 
        !          41900: 
        !          41901: 
        !          41902: # Extract the first word of "perl", so it can be a program name with args.
        !          41903: set dummy perl; ac_word=$2
        !          41904: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          41905: $as_echo_n "checking for $ac_word... " >&6; }
        !          41906: if ${ac_cv_path_PERL+:} false; then :
        !          41907:   $as_echo_n "(cached) " >&6
        !          41908: else
        !          41909:   case $PERL in
        !          41910:   [\\/]* | ?:[\\/]*)
        !          41911:   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
        !          41912:   ;;
        !          41913:   *)
        !          41914:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          41915: as_dummy="$PATH:/usr/local/bin/perl:/usr/bin/:/usr/local/bin "
        !          41916: for as_dir in $as_dummy
        !          41917: do
        !          41918:   IFS=$as_save_IFS
        !          41919:   test -z "$as_dir" && as_dir=.
        !          41920:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          41921:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          41922:     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
        !          41923:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          41924:     break 2
        !          41925:   fi
        !          41926: done
        !          41927:   done
        !          41928: IFS=$as_save_IFS
        !          41929: 
        !          41930:   ;;
        !          41931: esac
        !          41932: fi
        !          41933: PERL=$ac_cv_path_PERL
        !          41934: if test -n "$PERL"; then
        !          41935:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
        !          41936: $as_echo "$PERL" >&6; }
        !          41937: else
        !          41938:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41939: $as_echo "no" >&6; }
        !          41940: fi
        !          41941: 
        !          41942: 
        !          41943: 
        !          41944: 
        !          41945: for ac_prog in gnroff nroff
        !          41946: do
        !          41947:   # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          41948: set dummy $ac_prog; ac_word=$2
        !          41949: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          41950: $as_echo_n "checking for $ac_word... " >&6; }
        !          41951: if ${ac_cv_path_NROFF+:} false; then :
        !          41952:   $as_echo_n "(cached) " >&6
        !          41953: else
        !          41954:   case $NROFF in
        !          41955:   [\\/]* | ?:[\\/]*)
        !          41956:   ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path.
        !          41957:   ;;
        !          41958:   *)
        !          41959:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          41960: as_dummy="$PATH:/usr/bin/:/usr/local/bin "
        !          41961: for as_dir in $as_dummy
        !          41962: do
        !          41963:   IFS=$as_save_IFS
        !          41964:   test -z "$as_dir" && as_dir=.
        !          41965:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          41966:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          41967:     ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext"
        !          41968:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          41969:     break 2
        !          41970:   fi
        !          41971: done
        !          41972:   done
        !          41973: IFS=$as_save_IFS
        !          41974: 
        !          41975:   ;;
        !          41976: esac
        !          41977: fi
        !          41978: NROFF=$ac_cv_path_NROFF
        !          41979: if test -n "$NROFF"; then
        !          41980:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NROFF" >&5
        !          41981: $as_echo "$NROFF" >&6; }
        !          41982: else
        !          41983:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          41984: $as_echo "no" >&6; }
        !          41985: fi
        !          41986: 
        !          41987: 
        !          41988:   test -n "$NROFF" && break
        !          41989: done
        !          41990: 
        !          41991: 
        !          41992: 
        !          41993: if test -n "$NROFF"; then
        !          41994: 
        !          41995:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use *nroff to get plain text from man pages" >&5
        !          41996: $as_echo_n "checking how to use *nroff to get plain text from man pages... " >&6; }
        !          41997:   MANOPT="-man"
        !          41998:   mancheck=`echo foo | $NROFF $MANOPT 2>/dev/null`
        !          41999:   if test -z "$mancheck"; then
        !          42000:     MANOPT="-mandoc"
        !          42001:    mancheck=`echo foo | $NROFF $MANOPT 2>/dev/null`
        !          42002:     if test -z "$mancheck"; then
        !          42003:       MANOPT=""
        !          42004:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
        !          42005: $as_echo "failed" >&6; }
        !          42006:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: found no *nroff option to get plaintext from man pages" >&5
        !          42007: $as_echo "$as_me: WARNING: found no *nroff option to get plaintext from man pages" >&2;}
        !          42008:     else
        !          42009:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANOPT" >&5
        !          42010: $as_echo "$MANOPT" >&6; }
        !          42011:     fi
        !          42012:   else
        !          42013:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANOPT" >&5
        !          42014: $as_echo "$MANOPT" >&6; }
        !          42015:   fi
        !          42016: 
        !          42017: fi
        !          42018: 
        !          42019: if test -z "$MANOPT"
        !          42020: then
        !          42021:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling built-in manual" >&5
        !          42022: $as_echo "$as_me: WARNING: disabling built-in manual" >&2;}
        !          42023:   USE_MANUAL="no";
        !          42024: fi
        !          42025: 
        !          42026: 
        !          42027: if test "$USE_MANUAL" = "1"; then
        !          42028: 
        !          42029: $as_echo "#define USE_MANUAL 1" >>confdefs.h
        !          42030: 
        !          42031:   curl_manual_msg="enabled"
        !          42032: fi
        !          42033: 
        !          42034:  if test x"$USE_MANUAL" = x1; then
        !          42035:   USE_MANUAL_TRUE=
        !          42036:   USE_MANUAL_FALSE='#'
        !          42037: else
        !          42038:   USE_MANUAL_TRUE='#'
        !          42039:   USE_MANUAL_FALSE=
        !          42040: fi
        !          42041: 
        !          42042: 
        !          42043: 
        !          42044: 
        !          42045: 
        !          42046:   #
        !          42047:   if test "$want_ares" = "yes"; then
        !          42048:         clean_CPPFLAGS="$CPPFLAGS"
        !          42049:     clean_LDFLAGS="$LDFLAGS"
        !          42050:     clean_LIBS="$LIBS"
        !          42051:     embedded_ares="unknown"
        !          42052:     configure_runpath=`pwd`
        !          42053:     embedded_ares_builddir="$configure_runpath/ares"
        !          42054:     if test -n "$want_ares_path"; then
        !          42055:             ARES_PCDIR="$want_ares_path/lib/pkgconfig"
        !          42056: 
        !          42057:     if test -n "$PKG_CONFIG"; then
        !          42058:       PKGCONFIG="$PKG_CONFIG"
        !          42059:     else
        !          42060:       if test -n "$ac_tool_prefix"; then
        !          42061:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
        !          42062: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
        !          42063: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          42064: $as_echo_n "checking for $ac_word... " >&6; }
        !          42065: if ${ac_cv_path_PKGCONFIG+:} false; then :
        !          42066:   $as_echo_n "(cached) " >&6
        !          42067: else
        !          42068:   case $PKGCONFIG in
        !          42069:   [\\/]* | ?:[\\/]*)
        !          42070:   ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
        !          42071:   ;;
        !          42072:   *)
        !          42073:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          42074: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          42075: for as_dir in $as_dummy
        !          42076: do
        !          42077:   IFS=$as_save_IFS
        !          42078:   test -z "$as_dir" && as_dir=.
        !          42079:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          42080:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          42081:     ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          42082:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          42083:     break 2
        !          42084:   fi
        !          42085: done
        !          42086:   done
        !          42087: IFS=$as_save_IFS
        !          42088: 
        !          42089:   ;;
        !          42090: esac
        !          42091: fi
        !          42092: PKGCONFIG=$ac_cv_path_PKGCONFIG
        !          42093: if test -n "$PKGCONFIG"; then
        !          42094:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
        !          42095: $as_echo "$PKGCONFIG" >&6; }
        !          42096: else
        !          42097:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          42098: $as_echo "no" >&6; }
        !          42099: fi
        !          42100: 
        !          42101: 
        !          42102: fi
        !          42103: if test -z "$ac_cv_path_PKGCONFIG"; then
        !          42104:   ac_pt_PKGCONFIG=$PKGCONFIG
        !          42105:   # Extract the first word of "pkg-config", so it can be a program name with args.
        !          42106: set dummy pkg-config; ac_word=$2
        !          42107: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          42108: $as_echo_n "checking for $ac_word... " >&6; }
        !          42109: if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
        !          42110:   $as_echo_n "(cached) " >&6
        !          42111: else
        !          42112:   case $ac_pt_PKGCONFIG in
        !          42113:   [\\/]* | ?:[\\/]*)
        !          42114:   ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
        !          42115:   ;;
        !          42116:   *)
        !          42117:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          42118: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          42119: for as_dir in $as_dummy
        !          42120: do
        !          42121:   IFS=$as_save_IFS
        !          42122:   test -z "$as_dir" && as_dir=.
        !          42123:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          42124:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          42125:     ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          42126:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          42127:     break 2
        !          42128:   fi
        !          42129: done
        !          42130:   done
        !          42131: IFS=$as_save_IFS
        !          42132: 
        !          42133:   ;;
        !          42134: esac
        !          42135: fi
        !          42136: ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
        !          42137: if test -n "$ac_pt_PKGCONFIG"; then
        !          42138:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
        !          42139: $as_echo "$ac_pt_PKGCONFIG" >&6; }
        !          42140: else
        !          42141:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          42142: $as_echo "no" >&6; }
        !          42143: fi
        !          42144: 
        !          42145:   if test "x$ac_pt_PKGCONFIG" = x; then
        !          42146:     PKGCONFIG="no"
        !          42147:   else
        !          42148:     case $cross_compiling:$ac_tool_warned in
        !          42149: yes:)
        !          42150: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          42151: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          42152: ac_tool_warned=yes ;;
        !          42153: esac
        !          42154:     PKGCONFIG=$ac_pt_PKGCONFIG
        !          42155:   fi
        !          42156: else
        !          42157:   PKGCONFIG="$ac_cv_path_PKGCONFIG"
        !          42158: fi
        !          42159: 
        !          42160:     fi
        !          42161: 
        !          42162:     if test "x$PKGCONFIG" != "xno"; then
        !          42163:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcares options with pkg-config" >&5
        !          42164: $as_echo_n "checking for libcares options with pkg-config... " >&6; }
        !          42165:             itexists=`
        !          42166:     if test -n "$ARES_PCDIR"; then
        !          42167:       PKG_CONFIG_LIBDIR="$ARES_PCDIR"
        !          42168:       export PKG_CONFIG_LIBDIR
        !          42169:     fi
        !          42170:          $PKGCONFIG --exists libcares >/dev/null 2>&1 && echo 1`
        !          42171: 
        !          42172:       if test -z "$itexists"; then
        !          42173:                         PKGCONFIG="no"
        !          42174:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          42175: $as_echo "no" >&6; }
        !          42176:       else
        !          42177:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
        !          42178: $as_echo "found" >&6; }
        !          42179:       fi
        !          42180:     fi
        !          42181: 
        !          42182:       if test "$PKGCONFIG" != "no" ; then
        !          42183:         ares_LIBS=`
        !          42184:     if test -n "$ARES_PCDIR"; then
        !          42185:       PKG_CONFIG_LIBDIR="$ARES_PCDIR"
        !          42186:       export PKG_CONFIG_LIBDIR
        !          42187:     fi
        !          42188: 
        !          42189:           $PKGCONFIG --libs-only-l libcares`
        !          42190:         ares_LDFLAGS=`
        !          42191:     if test -n "$ARES_PCDIR"; then
        !          42192:       PKG_CONFIG_LIBDIR="$ARES_PCDIR"
        !          42193:       export PKG_CONFIG_LIBDIR
        !          42194:     fi
        !          42195: 
        !          42196:           $PKGCONFIG --libs-only-L libcares`
        !          42197:         ares_CPPFLAGS=`
        !          42198:     if test -n "$ARES_PCDIR"; then
        !          42199:       PKG_CONFIG_LIBDIR="$ARES_PCDIR"
        !          42200:       export PKG_CONFIG_LIBDIR
        !          42201:     fi
        !          42202: 
        !          42203:           $PKGCONFIG --cflags-only-I libcares`
        !          42204:         { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: ares LIBS: \"$ares_LIBS\"" >&5
        !          42205: $as_echo "$as_me: pkg-config: ares LIBS: \"$ares_LIBS\"" >&6;}
        !          42206:         { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: ares LDFLAGS: \"$ares_LDFLAGS\"" >&5
        !          42207: $as_echo "$as_me: pkg-config: ares LDFLAGS: \"$ares_LDFLAGS\"" >&6;}
        !          42208:         { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: ares CPPFLAGS: \"$ares_CPPFLAGS\"" >&5
        !          42209: $as_echo "$as_me: pkg-config: ares CPPFLAGS: \"$ares_CPPFLAGS\"" >&6;}
        !          42210:       else
        !          42211:                 ares_CPPFLAGS="-I$want_ares_path/include"
        !          42212:         ares_LDFLAGS="-L$want_ares_path/lib"
        !          42213:         ares_LIBS="-lcares"
        !          42214:       fi
        !          42215:     else
        !          42216:             if test -d "$srcdir/ares"; then
        !          42217:                 embedded_ares="yes"
        !          42218:         subdirs="$subdirs ares"
        !          42219: 
        !          42220:                         ares_CPPFLAGS=""
        !          42221:         ares_LDFLAGS="-L$embedded_ares_builddir"
        !          42222:         ares_LIBS="-lcares"
        !          42223:       else
        !          42224: 
        !          42225:     if test -n "$PKG_CONFIG"; then
        !          42226:       PKGCONFIG="$PKG_CONFIG"
        !          42227:     else
        !          42228:       if test -n "$ac_tool_prefix"; then
        !          42229:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
        !          42230: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
        !          42231: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          42232: $as_echo_n "checking for $ac_word... " >&6; }
        !          42233: if ${ac_cv_path_PKGCONFIG+:} false; then :
        !          42234:   $as_echo_n "(cached) " >&6
        !          42235: else
        !          42236:   case $PKGCONFIG in
        !          42237:   [\\/]* | ?:[\\/]*)
        !          42238:   ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
        !          42239:   ;;
        !          42240:   *)
        !          42241:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          42242: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          42243: for as_dir in $as_dummy
        !          42244: do
        !          42245:   IFS=$as_save_IFS
        !          42246:   test -z "$as_dir" && as_dir=.
        !          42247:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          42248:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          42249:     ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          42250:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          42251:     break 2
        !          42252:   fi
        !          42253: done
        !          42254:   done
        !          42255: IFS=$as_save_IFS
        !          42256: 
        !          42257:   ;;
        !          42258: esac
        !          42259: fi
        !          42260: PKGCONFIG=$ac_cv_path_PKGCONFIG
        !          42261: if test -n "$PKGCONFIG"; then
        !          42262:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
        !          42263: $as_echo "$PKGCONFIG" >&6; }
        !          42264: else
        !          42265:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          42266: $as_echo "no" >&6; }
        !          42267: fi
        !          42268: 
        !          42269: 
        !          42270: fi
        !          42271: if test -z "$ac_cv_path_PKGCONFIG"; then
        !          42272:   ac_pt_PKGCONFIG=$PKGCONFIG
        !          42273:   # Extract the first word of "pkg-config", so it can be a program name with args.
        !          42274: set dummy pkg-config; ac_word=$2
        !          42275: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          42276: $as_echo_n "checking for $ac_word... " >&6; }
        !          42277: if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
        !          42278:   $as_echo_n "(cached) " >&6
        !          42279: else
        !          42280:   case $ac_pt_PKGCONFIG in
        !          42281:   [\\/]* | ?:[\\/]*)
        !          42282:   ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
        !          42283:   ;;
        !          42284:   *)
        !          42285:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          42286: as_dummy="$PATH:/usr/bin:/usr/local/bin"
        !          42287: for as_dir in $as_dummy
        !          42288: do
        !          42289:   IFS=$as_save_IFS
        !          42290:   test -z "$as_dir" && as_dir=.
        !          42291:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          42292:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          42293:     ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          42294:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          42295:     break 2
        !          42296:   fi
        !          42297: done
        !          42298:   done
        !          42299: IFS=$as_save_IFS
        !          42300: 
        !          42301:   ;;
        !          42302: esac
        !          42303: fi
        !          42304: ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
        !          42305: if test -n "$ac_pt_PKGCONFIG"; then
        !          42306:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
        !          42307: $as_echo "$ac_pt_PKGCONFIG" >&6; }
        !          42308: else
        !          42309:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          42310: $as_echo "no" >&6; }
        !          42311: fi
        !          42312: 
        !          42313:   if test "x$ac_pt_PKGCONFIG" = x; then
        !          42314:     PKGCONFIG="no"
        !          42315:   else
        !          42316:     case $cross_compiling:$ac_tool_warned in
        !          42317: yes:)
        !          42318: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          42319: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          42320: ac_tool_warned=yes ;;
        !          42321: esac
        !          42322:     PKGCONFIG=$ac_pt_PKGCONFIG
        !          42323:   fi
        !          42324: else
        !          42325:   PKGCONFIG="$ac_cv_path_PKGCONFIG"
        !          42326: fi
        !          42327: 
        !          42328:     fi
        !          42329: 
        !          42330:     if test "x$PKGCONFIG" != "xno"; then
        !          42331:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcares options with pkg-config" >&5
        !          42332: $as_echo_n "checking for libcares options with pkg-config... " >&6; }
        !          42333:             itexists=`
        !          42334:     if test -n ""; then
        !          42335:       PKG_CONFIG_LIBDIR=""
        !          42336:       export PKG_CONFIG_LIBDIR
        !          42337:     fi
        !          42338:          $PKGCONFIG --exists libcares >/dev/null 2>&1 && echo 1`
        !          42339: 
        !          42340:       if test -z "$itexists"; then
        !          42341:                         PKGCONFIG="no"
        !          42342:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          42343: $as_echo "no" >&6; }
        !          42344:       else
        !          42345:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
        !          42346: $as_echo "found" >&6; }
        !          42347:       fi
        !          42348:     fi
        !          42349: 
        !          42350:         if test "$PKGCONFIG" != "no" ; then
        !          42351:           ares_LIBS=`$PKGCONFIG --libs-only-l libcares`
        !          42352:           ares_LDFLAGS=`$PKGCONFIG --libs-only-L libcares`
        !          42353:           ares_CPPFLAGS=`$PKGCONFIG --cflags-only-I libcares`
        !          42354:           { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: ares_LIBS: \"$ares_LIBS\"" >&5
        !          42355: $as_echo "$as_me: pkg-config: ares_LIBS: \"$ares_LIBS\"" >&6;}
        !          42356:           { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: ares_LDFLAGS: \"$ares_LDFLAGS\"" >&5
        !          42357: $as_echo "$as_me: pkg-config: ares_LDFLAGS: \"$ares_LDFLAGS\"" >&6;}
        !          42358:           { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: ares_CPPFLAGS: \"$ares_CPPFLAGS\"" >&5
        !          42359: $as_echo "$as_me: pkg-config: ares_CPPFLAGS: \"$ares_CPPFLAGS\"" >&6;}
        !          42360:         else
        !          42361:           ares_CPPFLAGS=""
        !          42362:           ares_LDFLAGS=""
        !          42363:           ares_LIBS="-lcares"
        !          42364:         fi
        !          42365:       fi
        !          42366:     fi
        !          42367:     #
        !          42368:     CPPFLAGS="$clean_CPPFLAGS $ares_CPPFLAGS"
        !          42369:     LDFLAGS="$clean_LDFLAGS $ares_LDFLAGS"
        !          42370:     LIBS="$ares_LIBS $clean_LIBS"
        !          42371:     #
        !          42372:     if test "$embedded_ares" != "yes"; then
        !          42373:                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking that c-ares is good and recent enough" >&5
        !          42374: $as_echo_n "checking that c-ares is good and recent enough... " >&6; }
        !          42375:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          42376: /* end confdefs.h.  */
        !          42377: 
        !          42378: 
        !          42379: #include <ares.h>
        !          42380:           /* set of dummy functions in case c-ares was built with debug */
        !          42381:           void curl_dofree() { }
        !          42382:           void curl_sclose() { }
        !          42383:           void curl_domalloc() { }
        !          42384:           void curl_docalloc() { }
        !          42385:           void curl_socket() { }
        !          42386: 
        !          42387: int main (void)
        !          42388: {
        !          42389: 
        !          42390:           ares_channel channel;
        !          42391:           ares_cancel(channel); /* added in 1.2.0 */
        !          42392:           ares_process_fd(channel, 0, 0); /* added in 1.4.0 */
        !          42393:           ares_dup(&channel, channel); /* added in 1.6.0 */
        !          42394: 
        !          42395:  ;
        !          42396:  return 0;
        !          42397: }
        !          42398: 
        !          42399: _ACEOF
        !          42400: if ac_fn_c_try_link "$LINENO"; then :
        !          42401: 
        !          42402:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          42403: $as_echo "yes" >&6; }
        !          42404: 
        !          42405: else
        !          42406: 
        !          42407:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          42408: $as_echo "no" >&6; }
        !          42409:         as_fn_error $? "c-ares library defective or too old" "$LINENO" 5
        !          42410:                 CPPFLAGS="$clean_CPPFLAGS"
        !          42411:         LDFLAGS="$clean_LDFLAGS"
        !          42412:         LIBS="$clean_LIBS"
        !          42413:         # prevent usage
        !          42414:         want_ares="no"
        !          42415: 
        !          42416: fi
        !          42417: rm -f core conftest.err conftest.$ac_objext \
        !          42418:     conftest$ac_exeext conftest.$ac_ext
        !          42419:     fi
        !          42420:     if test "$want_ares" = "yes"; then
        !          42421: 
        !          42422: $as_echo "#define USE_ARES 1" >>confdefs.h
        !          42423: 
        !          42424:       USE_ARES=1
        !          42425: 
        !          42426:       curl_res_msg="c-ares"
        !          42427:     fi
        !          42428:   fi
        !          42429: 
        !          42430:  if test x$embedded_ares = xyes; then
        !          42431:   USE_EMBEDDED_ARES_TRUE=
        !          42432:   USE_EMBEDDED_ARES_FALSE='#'
        !          42433: else
        !          42434:   USE_EMBEDDED_ARES_TRUE='#'
        !          42435:   USE_EMBEDDED_ARES_FALSE=
        !          42436: fi
        !          42437: 
        !          42438: 
        !          42439: if test "x$curl_cv_native_windows" != "xyes" &&
        !          42440:    test "x$enable_shared" = "xyes"; then
        !          42441:   build_libhostname=yes
        !          42442: else
        !          42443:   build_libhostname=no
        !          42444: fi
        !          42445:  if test x$build_libhostname = xyes; then
        !          42446:   BUILD_LIBHOSTNAME_TRUE=
        !          42447:   BUILD_LIBHOSTNAME_FALSE='#'
        !          42448: else
        !          42449:   BUILD_LIBHOSTNAME_TRUE='#'
        !          42450:   BUILD_LIBHOSTNAME_FALSE=
        !          42451: fi
        !          42452: 
        !          42453: 
        !          42454: if test "x$want_ares" != xyes; then
        !          42455: 
        !          42456:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the threaded resolver" >&5
        !          42457: $as_echo_n "checking whether to enable the threaded resolver... " >&6; }
        !          42458:   OPT_THRES="default"
        !          42459:   # Check whether --enable-threaded_resolver was given.
        !          42460: if test "${enable_threaded_resolver+set}" = set; then :
        !          42461:   enableval=$enable_threaded_resolver; OPT_THRES=$enableval
        !          42462: fi
        !          42463: 
        !          42464:   case "$OPT_THRES" in
        !          42465:     no)
        !          42466:             want_thres="no"
        !          42467:       ;;
        !          42468:     *)
        !          42469:             want_thres="yes"
        !          42470:       ;;
        !          42471:   esac
        !          42472:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_thres" >&5
        !          42473: $as_echo "$want_thres" >&6; }
        !          42474: 
        !          42475: fi
        !          42476: 
        !          42477: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use POSIX threads for threaded resolver" >&5
        !          42478: $as_echo_n "checking whether to use POSIX threads for threaded resolver... " >&6; }
        !          42479: # Check whether --enable-pthreads was given.
        !          42480: if test "${enable_pthreads+set}" = set; then :
        !          42481:   enableval=$enable_pthreads;  case "$enableval" in
        !          42482:   no)  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          42483: $as_echo "no" >&6; }
        !          42484:        want_pthreads=no
        !          42485:        ;;
        !          42486:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          42487: $as_echo "yes" >&6; }
        !          42488:        want_pthreads=yes
        !          42489:        ;;
        !          42490:   esac
        !          42491: else
        !          42492: 
        !          42493:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: auto" >&5
        !          42494: $as_echo "auto" >&6; }
        !          42495:        want_pthreads=auto
        !          42496: 
        !          42497: 
        !          42498: fi
        !          42499: 
        !          42500: 
        !          42501: if test "$want_pthreads" != "no"; then
        !          42502:   if test "$want_pthreads" = "yes" && test "$dontwant_rt" = "yes"; then
        !          42503:     as_fn_error $? "options --enable-pthreads and --disable-rt are mutually exclusive" "$LINENO" 5
        !          42504:   fi
        !          42505:   if test "$dontwant_rt" != "no"; then
        !          42506:         if test "$want_pthreads" = "yes"; then
        !          42507:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-pthreads Ignored since librt is disabled." >&5
        !          42508: $as_echo "$as_me: WARNING: --enable-pthreads Ignored since librt is disabled." >&2;}
        !          42509:     fi
        !          42510:     want_pthreads=no
        !          42511:   fi
        !          42512: fi
        !          42513: 
        !          42514: if test "$want_pthreads" != "no" && test "$want_thres" != "yes"; then
        !          42515:   want_pthreads=no
        !          42516: fi
        !          42517: 
        !          42518: if test "$want_pthreads" != "no"; then
        !          42519:   ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
        !          42520: if test "x$ac_cv_header_pthread_h" = xyes; then :
        !          42521: 
        !          42522: $as_echo "#define HAVE_PTHREAD_H 1" >>confdefs.h
        !          42523: 
        !          42524:       save_CFLAGS="$CFLAGS"
        !          42525: 
        !          42526:             ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
        !          42527: if test "x$ac_cv_func_pthread_create" = xyes; then :
        !          42528:   USE_THREADS_POSIX=1
        !          42529: fi
        !          42530: 
        !          42531: 
        !          42532:             case $host in
        !          42533:       *-hp-hpux*)
        !          42534:                   USE_THREADS_POSIX=""
        !          42535:          ;;
        !          42536:       *)
        !          42537:          ;;
        !          42538:       esac
        !          42539: 
        !          42540:             if test "$USE_THREADS_POSIX" != "1"
        !          42541:       then
        !          42542:         CFLAGS="$CFLAGS -pthread"
        !          42543:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
        !          42544: $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
        !          42545: if ${ac_cv_lib_pthread_pthread_create+:} false; then :
        !          42546:   $as_echo_n "(cached) " >&6
        !          42547: else
        !          42548:   ac_check_lib_save_LIBS=$LIBS
        !          42549: LIBS="-lpthread  $LIBS"
        !          42550: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          42551: /* end confdefs.h.  */
        !          42552: 
        !          42553: 
        !          42554: #ifdef __cplusplus
        !          42555: extern "C"
        !          42556: #endif
        !          42557: char pthread_create ();
        !          42558: int main (void)
        !          42559: {
        !          42560: return pthread_create ();
        !          42561:  ;
        !          42562:  return 0;
        !          42563: }
        !          42564: _ACEOF
        !          42565: if ac_fn_c_try_link "$LINENO"; then :
        !          42566:   ac_cv_lib_pthread_pthread_create=yes
        !          42567: else
        !          42568:   ac_cv_lib_pthread_pthread_create=no
        !          42569: fi
        !          42570: rm -f core conftest.err conftest.$ac_objext \
        !          42571:     conftest$ac_exeext conftest.$ac_ext
        !          42572: LIBS=$ac_check_lib_save_LIBS
        !          42573: fi
        !          42574: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
        !          42575: $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
        !          42576: if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
        !          42577:   USE_THREADS_POSIX=1
        !          42578: else
        !          42579:    CFLAGS="$save_CFLAGS"
        !          42580: fi
        !          42581: 
        !          42582:       fi
        !          42583: 
        !          42584:       if test "x$USE_THREADS_POSIX" = "x1"
        !          42585:       then
        !          42586: 
        !          42587: $as_echo "#define USE_THREADS_POSIX 1" >>confdefs.h
        !          42588: 
        !          42589:         curl_res_msg="POSIX threaded"
        !          42590:       fi
        !          42591: 
        !          42592: fi
        !          42593: 
        !          42594: 
        !          42595: fi
        !          42596: 
        !          42597: if test "$want_thres" = "yes" && test "x$USE_THREADS_POSIX" != "x1"; then
        !          42598:   if test "$want_pthreads" = "yes"; then
        !          42599:     as_fn_error $? "--enable-pthreads but pthreads was not found" "$LINENO" 5
        !          42600:   fi
        !          42601:     if test "$curl_cv_native_windows" = "yes"; then
        !          42602:     USE_THREADS_WIN32=1
        !          42603: 
        !          42604: $as_echo "#define USE_THREADS_WIN32 1" >>confdefs.h
        !          42605: 
        !          42606:     curl_res_msg="Win32 threaded"
        !          42607:   else
        !          42608:     as_fn_error $? "Threaded resolver enabled but no thread library found" "$LINENO" 5
        !          42609:   fi
        !          42610: fi
        !          42611: 
        !          42612: 
        !          42613:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking convert -I options to -isystem" >&5
        !          42614: $as_echo_n "checking convert -I options to -isystem... " >&6; }
        !          42615:   if test "$compiler_id" = "GNU_C" ||
        !          42616:     test "$compiler_id" = "CLANG"; then
        !          42617:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          42618: $as_echo "yes" >&6; }
        !          42619:     tmp_has_include="no"
        !          42620:     tmp_chg_FLAGS="$CFLAGS"
        !          42621:     for word1 in $tmp_chg_FLAGS; do
        !          42622:       case "$word1" in
        !          42623:         -I*)
        !          42624:           tmp_has_include="yes"
        !          42625:           ;;
        !          42626:       esac
        !          42627:     done
        !          42628:     if test "$tmp_has_include" = "yes"; then
        !          42629:       tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'`
        !          42630:       tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'`
        !          42631:       CFLAGS="$tmp_chg_FLAGS"
        !          42632:       squeeze CFLAGS
        !          42633:     fi
        !          42634:     tmp_has_include="no"
        !          42635:     tmp_chg_FLAGS="$CPPFLAGS"
        !          42636:     for word1 in $tmp_chg_FLAGS; do
        !          42637:       case "$word1" in
        !          42638:         -I*)
        !          42639:           tmp_has_include="yes"
        !          42640:           ;;
        !          42641:       esac
        !          42642:     done
        !          42643:     if test "$tmp_has_include" = "yes"; then
        !          42644:       tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'`
        !          42645:       tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'`
        !          42646:       CPPFLAGS="$tmp_chg_FLAGS"
        !          42647:       squeeze CPPFLAGS
        !          42648:     fi
        !          42649:   else
        !          42650:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          42651: $as_echo "no" >&6; }
        !          42652:   fi
        !          42653: 
        !          42654: 
        !          42655: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable verbose strings" >&5
        !          42656: $as_echo_n "checking whether to enable verbose strings... " >&6; }
        !          42657: # Check whether --enable-verbose was given.
        !          42658: if test "${enable_verbose+set}" = set; then :
        !          42659:   enableval=$enable_verbose;  case "$enableval" in
        !          42660:   no)
        !          42661:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          42662: $as_echo "no" >&6; }
        !          42663: 
        !          42664: $as_echo "#define CURL_DISABLE_VERBOSE_STRINGS 1" >>confdefs.h
        !          42665: 
        !          42666:        curl_verbose_msg="no"
        !          42667:        ;;
        !          42668:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          42669: $as_echo "yes" >&6; }
        !          42670:        ;;
        !          42671:   esac
        !          42672: else
        !          42673:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          42674: $as_echo "yes" >&6; }
        !          42675: 
        !          42676: fi
        !          42677: 
        !          42678: 
        !          42679: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SSPI support (Windows native builds only)" >&5
        !          42680: $as_echo_n "checking whether to enable SSPI support (Windows native builds only)... " >&6; }
        !          42681: # Check whether --enable-sspi was given.
        !          42682: if test "${enable_sspi+set}" = set; then :
        !          42683:   enableval=$enable_sspi;  case "$enableval" in
        !          42684:   yes)
        !          42685:        if test "$curl_cv_native_windows" = "yes"; then
        !          42686:          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          42687: $as_echo "yes" >&6; }
        !          42688: 
        !          42689: $as_echo "#define USE_WINDOWS_SSPI 1" >>confdefs.h
        !          42690: 
        !          42691:          USE_WINDOWS_SSPI=1
        !          42692: 
        !          42693:          curl_sspi_msg="enabled"
        !          42694:        else
        !          42695:          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          42696: $as_echo "no" >&6; }
        !          42697:          { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-sspi Ignored. Only supported on native Windows builds." >&5
        !          42698: $as_echo "$as_me: WARNING: --enable-sspi Ignored. Only supported on native Windows builds." >&2;}
        !          42699:        fi
        !          42700:        ;;
        !          42701:   *)
        !          42702:        if test "x$WINSSL_ENABLED" = "x1"; then
        !          42703:          # --with-winssl implies --enable-sspi
        !          42704:          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          42705: $as_echo "yes" >&6; }
        !          42706:        else
        !          42707:          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          42708: $as_echo "no" >&6; }
        !          42709:        fi
        !          42710:        ;;
        !          42711:   esac
        !          42712: else
        !          42713:   if test "x$WINSSL_ENABLED" = "x1"; then
        !          42714:          # --with-winssl implies --enable-sspi
        !          42715:          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          42716: $as_echo "yes" >&6; }
        !          42717:        else
        !          42718:          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          42719: $as_echo "no" >&6; }
        !          42720:        fi
        !          42721: 
        !          42722: fi
        !          42723: 
        !          42724: 
        !          42725: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable cryptographic authentication methods" >&5
        !          42726: $as_echo_n "checking whether to enable cryptographic authentication methods... " >&6; }
        !          42727: # Check whether --enable-crypto-auth was given.
        !          42728: if test "${enable_crypto_auth+set}" = set; then :
        !          42729:   enableval=$enable_crypto_auth;  case "$enableval" in
        !          42730:   no)
        !          42731:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          42732: $as_echo "no" >&6; }
        !          42733: 
        !          42734: $as_echo "#define CURL_DISABLE_CRYPTO_AUTH 1" >>confdefs.h
        !          42735: 
        !          42736:        CURL_DISABLE_CRYPTO_AUTH=1
        !          42737:        ;;
        !          42738:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          42739: $as_echo "yes" >&6; }
        !          42740:        ;;
        !          42741:   esac
        !          42742: else
        !          42743:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          42744: $as_echo "yes" >&6; }
        !          42745: 
        !          42746: fi
        !          42747: 
        !          42748: 
        !          42749: 
        !          42750:     OPT_NTLM_WB="default"
        !          42751:   # Check whether --enable-ntlm-wb was given.
        !          42752: if test "${enable_ntlm_wb+set}" = set; then :
        !          42753:   enableval=$enable_ntlm_wb; OPT_NTLM_WB=$enableval
        !          42754: fi
        !          42755: 
        !          42756:   want_ntlm_wb_file="/usr/bin/ntlm_auth"
        !          42757:   case "$OPT_NTLM_WB" in
        !          42758:     no)
        !          42759:             want_ntlm_wb="no"
        !          42760:       ;;
        !          42761:     default)
        !          42762:             want_ntlm_wb="yes"
        !          42763:       ;;
        !          42764:     *)
        !          42765:             want_ntlm_wb="yes"
        !          42766:       if test -n "$enableval" && test "$enableval" != "yes"; then
        !          42767:         want_ntlm_wb_file="$enableval"
        !          42768:       fi
        !          42769:       ;;
        !          42770:   esac
        !          42771: 
        !          42772: 
        !          42773: 
        !          42774:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable NTLM delegation to winbind's helper" >&5
        !          42775: $as_echo_n "checking whether to enable NTLM delegation to winbind's helper... " >&6; }
        !          42776:   if test "$curl_cv_native_windows" = "yes" ||
        !          42777:     test "x$SSL_ENABLED" = "x"; then
        !          42778:     want_ntlm_wb_file=""
        !          42779:     want_ntlm_wb="no"
        !          42780:   fi
        !          42781:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_ntlm_wb" >&5
        !          42782: $as_echo "$want_ntlm_wb" >&6; }
        !          42783:   if test "$want_ntlm_wb" = "yes"; then
        !          42784: 
        !          42785: $as_echo "#define NTLM_WB_ENABLED 1" >>confdefs.h
        !          42786: 
        !          42787: 
        !          42788: cat >>confdefs.h <<_ACEOF
        !          42789: #define NTLM_WB_FILE "$want_ntlm_wb_file"
        !          42790: _ACEOF
        !          42791: 
        !          42792:     NTLM_WB_ENABLED=1
        !          42793:   fi
        !          42794: 
        !          42795: 
        !          42796: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable TLS-SRP authentication" >&5
        !          42797: $as_echo_n "checking whether to enable TLS-SRP authentication... " >&6; }
        !          42798: # Check whether --enable-tls-srp was given.
        !          42799: if test "${enable_tls_srp+set}" = set; then :
        !          42800:   enableval=$enable_tls_srp;  case "$enableval" in
        !          42801:   no)
        !          42802:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          42803: $as_echo "no" >&6; }
        !          42804:        want_tls_srp=no
        !          42805:        ;;
        !          42806:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          42807: $as_echo "yes" >&6; }
        !          42808:        want_tls_srp=yes
        !          42809:        ;;
        !          42810:   esac
        !          42811: else
        !          42812:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          42813: $as_echo "yes" >&6; }
        !          42814:        want_tls_srp=yes
        !          42815: 
        !          42816: fi
        !          42817: 
        !          42818: 
        !          42819: if test "$want_tls_srp" = "yes" && ( test "x$HAVE_GNUTLS_SRP" = "x1" || test "x$HAVE_OPENSSL_SRP" = "x1") ; then
        !          42820: 
        !          42821: $as_echo "#define USE_TLS_SRP 1" >>confdefs.h
        !          42822: 
        !          42823:    USE_TLS_SRP=1
        !          42824:    curl_tls_srp_msg="enabled"
        !          42825: fi
        !          42826: 
        !          42827: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Unix domain sockets" >&5
        !          42828: $as_echo_n "checking whether to enable Unix domain sockets... " >&6; }
        !          42829: # Check whether --enable-unix-sockets was given.
        !          42830: if test "${enable_unix_sockets+set}" = set; then :
        !          42831:   enableval=$enable_unix_sockets;  case "$enableval" in
        !          42832:   no)  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          42833: $as_echo "no" >&6; }
        !          42834:        want_unix_sockets=no
        !          42835:        ;;
        !          42836:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          42837: $as_echo "yes" >&6; }
        !          42838:        want_unix_sockets=yes
        !          42839:        ;;
        !          42840:   esac
        !          42841: else
        !          42842: 
        !          42843:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: auto" >&5
        !          42844: $as_echo "auto" >&6; }
        !          42845:        want_unix_sockets=auto
        !          42846: 
        !          42847: 
        !          42848: fi
        !          42849: 
        !          42850: if test "x$want_unix_sockets" != "xno"; then
        !          42851:   ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_path" "ac_cv_member_struct_sockaddr_un_sun_path" "
        !          42852:     #include <sys/un.h>
        !          42853: 
        !          42854: "
        !          42855: if test "x$ac_cv_member_struct_sockaddr_un_sun_path" = xyes; then :
        !          42856: 
        !          42857: 
        !          42858: $as_echo "#define USE_UNIX_SOCKETS 1" >>confdefs.h
        !          42859: 
        !          42860:     USE_UNIX_SOCKETS=1
        !          42861: 
        !          42862:     curl_unix_sockets_msg="enabled"
        !          42863: 
        !          42864: else
        !          42865: 
        !          42866:     if test "x$want_unix_sockets" = "xyes"; then
        !          42867:       as_fn_error $? "--enable-unix-sockets is not available on this platform!" "$LINENO" 5
        !          42868:     fi
        !          42869: 
        !          42870: fi
        !          42871: 
        !          42872: fi
        !          42873: 
        !          42874: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support cookies" >&5
        !          42875: $as_echo_n "checking whether to support cookies... " >&6; }
        !          42876: # Check whether --enable-cookies was given.
        !          42877: if test "${enable_cookies+set}" = set; then :
        !          42878:   enableval=$enable_cookies;  case "$enableval" in
        !          42879:   no)
        !          42880:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          42881: $as_echo "no" >&6; }
        !          42882: 
        !          42883: $as_echo "#define CURL_DISABLE_COOKIES 1" >>confdefs.h
        !          42884: 
        !          42885:        ;;
        !          42886:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          42887: $as_echo "yes" >&6; }
        !          42888:        ;;
        !          42889:   esac
        !          42890: else
        !          42891:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          42892: $as_echo "yes" >&6; }
        !          42893: 
        !          42894: fi
        !          42895: 
        !          42896: 
        !          42897: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support HTTP authentication" >&5
        !          42898: $as_echo_n "checking whether to support HTTP authentication... " >&6; }
        !          42899: # Check whether --enable-http-auth was given.
        !          42900: if test "${enable_http_auth+set}" = set; then :
        !          42901:   enableval=$enable_http_auth;  case "$enableval" in
        !          42902:   no)
        !          42903:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          42904: $as_echo "no" >&6; }
        !          42905: 
        !          42906: $as_echo "#define CURL_DISABLE_HTTP_AUTH 1" >>confdefs.h
        !          42907: 
        !          42908:        ;;
        !          42909:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          42910: $as_echo "yes" >&6; }
        !          42911:        ;;
        !          42912:   esac
        !          42913: else
        !          42914:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          42915: $as_echo "yes" >&6; }
        !          42916: 
        !          42917: fi
        !          42918: 
        !          42919: 
        !          42920: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support DoH" >&5
        !          42921: $as_echo_n "checking whether to support DoH... " >&6; }
        !          42922: # Check whether --enable-doh was given.
        !          42923: if test "${enable_doh+set}" = set; then :
        !          42924:   enableval=$enable_doh;  case "$enableval" in
        !          42925:   no)
        !          42926:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          42927: $as_echo "no" >&6; }
        !          42928: 
        !          42929: $as_echo "#define CURL_DISABLE_DOH 1" >>confdefs.h
        !          42930: 
        !          42931:        ;;
        !          42932:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          42933: $as_echo "yes" >&6; }
        !          42934:        ;;
        !          42935:   esac
        !          42936: else
        !          42937:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          42938: $as_echo "yes" >&6; }
        !          42939: 
        !          42940: fi
        !          42941: 
        !          42942: 
        !          42943: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support the MIME API" >&5
        !          42944: $as_echo_n "checking whether to support the MIME API... " >&6; }
        !          42945: # Check whether --enable-mime was given.
        !          42946: if test "${enable_mime+set}" = set; then :
        !          42947:   enableval=$enable_mime;  case "$enableval" in
        !          42948:   no)
        !          42949:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          42950: $as_echo "no" >&6; }
        !          42951: 
        !          42952: $as_echo "#define CURL_DISABLE_MIME 1" >>confdefs.h
        !          42953: 
        !          42954:        ;;
        !          42955:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          42956: $as_echo "yes" >&6; }
        !          42957:        ;;
        !          42958:   esac
        !          42959: else
        !          42960:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          42961: $as_echo "yes" >&6; }
        !          42962: 
        !          42963: fi
        !          42964: 
        !          42965: 
        !          42966: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support date parsing" >&5
        !          42967: $as_echo_n "checking whether to support date parsing... " >&6; }
        !          42968: # Check whether --enable-dateparse was given.
        !          42969: if test "${enable_dateparse+set}" = set; then :
        !          42970:   enableval=$enable_dateparse;  case "$enableval" in
        !          42971:   no)
        !          42972:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          42973: $as_echo "no" >&6; }
        !          42974: 
        !          42975: $as_echo "#define CURL_DISABLE_PARSEDATE 1" >>confdefs.h
        !          42976: 
        !          42977:        ;;
        !          42978:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          42979: $as_echo "yes" >&6; }
        !          42980:        ;;
        !          42981:   esac
        !          42982: else
        !          42983:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          42984: $as_echo "yes" >&6; }
        !          42985: 
        !          42986: fi
        !          42987: 
        !          42988: 
        !          42989: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support netrc parsing" >&5
        !          42990: $as_echo_n "checking whether to support netrc parsing... " >&6; }
        !          42991: # Check whether --enable-netrc was given.
        !          42992: if test "${enable_netrc+set}" = set; then :
        !          42993:   enableval=$enable_netrc;  case "$enableval" in
        !          42994:   no)
        !          42995:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          42996: $as_echo "no" >&6; }
        !          42997: 
        !          42998: $as_echo "#define CURL_DISABLE_NETRC 1" >>confdefs.h
        !          42999: 
        !          43000:        ;;
        !          43001:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          43002: $as_echo "yes" >&6; }
        !          43003:        ;;
        !          43004:   esac
        !          43005: else
        !          43006:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          43007: $as_echo "yes" >&6; }
        !          43008: 
        !          43009: fi
        !          43010: 
        !          43011: 
        !          43012: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support progress-meter" >&5
        !          43013: $as_echo_n "checking whether to support progress-meter... " >&6; }
        !          43014: # Check whether --enable-progress-meter was given.
        !          43015: if test "${enable_progress_meter+set}" = set; then :
        !          43016:   enableval=$enable_progress_meter;  case "$enableval" in
        !          43017:   no)
        !          43018:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          43019: $as_echo "no" >&6; }
        !          43020: 
        !          43021: $as_echo "#define CURL_DISABLE_PROGRESS_METER 1" >>confdefs.h
        !          43022: 
        !          43023:        ;;
        !          43024:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          43025: $as_echo "yes" >&6; }
        !          43026:        ;;
        !          43027:   esac
        !          43028: else
        !          43029:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          43030: $as_echo "yes" >&6; }
        !          43031: 
        !          43032: fi
        !          43033: 
        !          43034: 
        !          43035: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support DNS shuffling" >&5
        !          43036: $as_echo_n "checking whether to support DNS shuffling... " >&6; }
        !          43037: # Check whether --enable-dnsshuffle was given.
        !          43038: if test "${enable_dnsshuffle+set}" = set; then :
        !          43039:   enableval=$enable_dnsshuffle;  case "$enableval" in
        !          43040:   no)
        !          43041:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          43042: $as_echo "no" >&6; }
        !          43043: 
        !          43044: $as_echo "#define CURL_DISABLE_SHUFFLE_DNS 1" >>confdefs.h
        !          43045: 
        !          43046:        ;;
        !          43047:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          43048: $as_echo "yes" >&6; }
        !          43049:        ;;
        !          43050:   esac
        !          43051: else
        !          43052:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          43053: $as_echo "yes" >&6; }
        !          43054: 
        !          43055: fi
        !          43056: 
        !          43057: 
        !          43058: curl_altsvc_msg="no      (--enable-alt-svc)";
        !          43059: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support alt-svc" >&5
        !          43060: $as_echo_n "checking whether to support alt-svc... " >&6; }
        !          43061: # Check whether --enable-alt-svc was given.
        !          43062: if test "${enable_alt_svc+set}" = set; then :
        !          43063:   enableval=$enable_alt_svc;  case "$enableval" in
        !          43064:   no)
        !          43065:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          43066: $as_echo "no" >&6; }
        !          43067:        ;;
        !          43068:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          43069: $as_echo "yes" >&6; }
        !          43070:        curl_altsvc_msg="enabled";
        !          43071:        enable_altsvc="yes"
        !          43072:        ;;
        !          43073:   esac
        !          43074: else
        !          43075:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          43076: $as_echo "no" >&6; }
        !          43077: 
        !          43078: fi
        !          43079: 
        !          43080: 
        !          43081: if test "$enable_altsvc" = "yes"; then
        !          43082: 
        !          43083: $as_echo "#define USE_ALTSVC 1" >>confdefs.h
        !          43084: 
        !          43085:   experimental="$experimental alt-svc"
        !          43086: fi
        !          43087: 
        !          43088: if test "x$want_esni" != "xno"; then
        !          43089:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ESNI support is available" >&5
        !          43090: $as_echo_n "checking whether ESNI support is available... " >&6; }
        !          43091: 
        !          43092:     ESNI_ENABLED=0
        !          43093:   ESNI_SUPPORT=''
        !          43094: 
        !          43095:       if test "x$OPENSSL_ENABLED" = "x1"; then
        !          43096:     for ac_func in SSL_get_esni_status
        !          43097: do :
        !          43098:   ac_fn_c_check_func "$LINENO" "SSL_get_esni_status" "ac_cv_func_SSL_get_esni_status"
        !          43099: if test "x$ac_cv_func_SSL_get_esni_status" = xyes; then :
        !          43100:   cat >>confdefs.h <<_ACEOF
        !          43101: #define HAVE_SSL_GET_ESNI_STATUS 1
        !          43102: _ACEOF
        !          43103:  ESNI_SUPPORT="ESNI support available (OpenSSL with SSL_get_esni_status)"
        !          43104:       ESNI_ENABLED=1
        !          43105: fi
        !          43106: done
        !          43107: 
        !          43108: 
        !          43109:     fi
        !          43110: 
        !          43111:     if test "x$ESNI_ENABLED" = "x1"; then
        !          43112: 
        !          43113: $as_echo "#define USE_ESNI 1" >>confdefs.h
        !          43114: 
        !          43115:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ESNI_SUPPORT" >&5
        !          43116: $as_echo "$ESNI_SUPPORT" >&6; }
        !          43117:     experimental="$experimental ESNI"
        !          43118:   else
        !          43119:     as_fn_error $? "--enable-esni ignored: No ESNI support found" "$LINENO" 5
        !          43120:   fi
        !          43121: fi
        !          43122: 
        !          43123: 
        !          43124:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether hiding of library internal symbols will actually happen" >&5
        !          43125: $as_echo_n "checking whether hiding of library internal symbols will actually happen... " >&6; }
        !          43126:   CFLAG_CURL_SYMBOL_HIDING=""
        !          43127:   doing_symbol_hiding="no"
        !          43128:   if test x"$curl_cv_native_windows" != "xyes" &&
        !          43129:     test "$want_symbol_hiding" = "yes" &&
        !          43130:     test "$supports_symbol_hiding" = "yes"; then
        !          43131:     doing_symbol_hiding="yes"
        !          43132:     CFLAG_CURL_SYMBOL_HIDING="$symbol_hiding_CFLAGS"
        !          43133: 
        !          43134: cat >>confdefs.h <<_ACEOF
        !          43135: #define CURL_EXTERN_SYMBOL $symbol_hiding_EXTERN
        !          43136: _ACEOF
        !          43137: 
        !          43138:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          43139: $as_echo "yes" >&6; }
        !          43140:   else
        !          43141:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          43142: $as_echo "no" >&6; }
        !          43143:   fi
        !          43144:    if test x$doing_symbol_hiding = xyes; then
        !          43145:   DOING_CURL_SYMBOL_HIDING_TRUE=
        !          43146:   DOING_CURL_SYMBOL_HIDING_FALSE='#'
        !          43147: else
        !          43148:   DOING_CURL_SYMBOL_HIDING_TRUE='#'
        !          43149:   DOING_CURL_SYMBOL_HIDING_FALSE=
        !          43150: fi
        !          43151: 
        !          43152: 
        !          43153: 
        !          43154: 
        !          43155: LIBCURL_LIBS=$LIBS
        !          43156: 
        !          43157: 
        !          43158: 
        !          43159: 
        !          43160: 
        !          43161: BLANK_AT_MAKETIME=
        !          43162: 
        !          43163: 
        !          43164:  if test x$cross_compiling = xyes; then
        !          43165:   CROSSCOMPILING_TRUE=
        !          43166:   CROSSCOMPILING_FALSE='#'
        !          43167: else
        !          43168:   CROSSCOMPILING_TRUE='#'
        !          43169:   CROSSCOMPILING_FALSE=
        !          43170: fi
        !          43171: 
        !          43172: 
        !          43173: ENABLE_SHARED="$enable_shared"
        !          43174: 
        !          43175: 
        !          43176: ENABLE_STATIC="$enable_static"
        !          43177: 
        !          43178: 
        !          43179: 
        !          43180: 
        !          43181: if test "x$OPENSSL_ENABLED" = "x1"; then
        !          43182:   SUPPORT_FEATURES="$SUPPORT_FEATURES SSL"
        !          43183: elif test -n "$SSL_ENABLED"; then
        !          43184:   SUPPORT_FEATURES="$SUPPORT_FEATURES SSL"
        !          43185: fi
        !          43186: if test "x$IPV6_ENABLED" = "x1"; then
        !          43187:   SUPPORT_FEATURES="$SUPPORT_FEATURES IPv6"
        !          43188: fi
        !          43189: if test "x$USE_UNIX_SOCKETS" = "x1"; then
        !          43190:   SUPPORT_FEATURES="$SUPPORT_FEATURES UnixSockets"
        !          43191: fi
        !          43192: if test "x$HAVE_LIBZ" = "x1"; then
        !          43193:   SUPPORT_FEATURES="$SUPPORT_FEATURES libz"
        !          43194: fi
        !          43195: if test "x$HAVE_BROTLI" = "x1"; then
        !          43196:   SUPPORT_FEATURES="$SUPPORT_FEATURES brotli"
        !          43197: fi
        !          43198: if test "x$USE_ARES" = "x1" -o "x$USE_THREADS_POSIX" = "x1" \
        !          43199:                             -o "x$USE_THREADS_WIN32" = "x1"; then
        !          43200:   SUPPORT_FEATURES="$SUPPORT_FEATURES AsynchDNS"
        !          43201: fi
        !          43202: if test "x$IDN_ENABLED" = "x1"; then
        !          43203:   SUPPORT_FEATURES="$SUPPORT_FEATURES IDN"
        !          43204: fi
        !          43205: if test "x$USE_WINDOWS_SSPI" = "x1"; then
        !          43206:   SUPPORT_FEATURES="$SUPPORT_FEATURES SSPI"
        !          43207: fi
        !          43208: 
        !          43209: if test "x$HAVE_GSSAPI" = "x1"; then
        !          43210:   SUPPORT_FEATURES="$SUPPORT_FEATURES GSS-API"
        !          43211: fi
        !          43212: 
        !          43213: if test "x$curl_psl_msg" = "xenabled"; then
        !          43214:   SUPPORT_FEATURES="$SUPPORT_FEATURES PSL"
        !          43215: fi
        !          43216: 
        !          43217: if test "x$enable_altsvc" = "xyes"; then
        !          43218:   SUPPORT_FEATURES="$SUPPORT_FEATURES alt-svc"
        !          43219: fi
        !          43220: 
        !          43221: if test "x$CURL_DISABLE_CRYPTO_AUTH" != "x1" -a \
        !          43222:     \( "x$HAVE_GSSAPI" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \); then
        !          43223:   SUPPORT_FEATURES="$SUPPORT_FEATURES SPNEGO"
        !          43224: fi
        !          43225: 
        !          43226: if test "x$CURL_DISABLE_CRYPTO_AUTH" != "x1" -a \
        !          43227:     \( "x$HAVE_GSSAPI" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \); then
        !          43228:   SUPPORT_FEATURES="$SUPPORT_FEATURES Kerberos"
        !          43229: fi
        !          43230: 
        !          43231: if test "x$CURL_DISABLE_CRYPTO_AUTH" != "x1"; then
        !          43232:   if test "x$OPENSSL_ENABLED" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \
        !          43233:       -o "x$GNUTLS_ENABLED" = "x1" -o "x$MBEDTLS_ENABLED" = "x1" \
        !          43234:       -o "x$NSS_ENABLED" = "x1" -o "x$SECURETRANSPORT_ENABLED" = "x1"; then
        !          43235:     SUPPORT_FEATURES="$SUPPORT_FEATURES NTLM"
        !          43236: 
        !          43237:     if test "x$CURL_DISABLE_HTTP" != "x1" -a \
        !          43238:         "x$NTLM_WB_ENABLED" = "x1"; then
        !          43239:       SUPPORT_FEATURES="$SUPPORT_FEATURES NTLM_WB"
        !          43240:     fi
        !          43241:   fi
        !          43242: fi
        !          43243: 
        !          43244: if test "x$USE_TLS_SRP" = "x1"; then
        !          43245:   SUPPORT_FEATURES="$SUPPORT_FEATURES TLS-SRP"
        !          43246: fi
        !          43247: 
        !          43248: if test "x$USE_NGHTTP2" = "x1"; then
        !          43249:   SUPPORT_FEATURES="$SUPPORT_FEATURES HTTP2"
        !          43250: fi
        !          43251: 
        !          43252: if test "x$USE_NGTCP2" = "x1" -o "x$USE_QUICHE" = "x1"; then
        !          43253:   SUPPORT_FEATURES="$SUPPORT_FEATURES HTTP3"
        !          43254: fi
        !          43255: 
        !          43256: if test "x$CURL_WITH_MULTI_SSL" = "x1"; then
        !          43257:   SUPPORT_FEATURES="$SUPPORT_FEATURES MultiSSL"
        !          43258: fi
        !          43259: 
        !          43260: if test "x$OPENSSL_ENABLED" = "x1" -o "x$GNUTLS_ENABLED" = "x1" \
        !          43261:     -o "x$NSS_ENABLED" = "x1"; then
        !          43262:   SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy"
        !          43263: fi
        !          43264: 
        !          43265: if test "x$ESNI_ENABLED" = "x1"; then
        !          43266:   SUPPORT_FEATURES="$SUPPORT_FEATURES ESNI"
        !          43267: fi
        !          43268: 
        !          43269: 
        !          43270: 
        !          43271: if test "x$CURL_DISABLE_HTTP" != "x1"; then
        !          43272:   SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS HTTP"
        !          43273:   if test "x$SSL_ENABLED" = "x1"; then
        !          43274:     SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS HTTPS"
        !          43275:   fi
        !          43276: fi
        !          43277: if test "x$CURL_DISABLE_FTP" != "x1"; then
        !          43278:   SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS FTP"
        !          43279:   if test "x$SSL_ENABLED" = "x1"; then
        !          43280:     SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS FTPS"
        !          43281:   fi
        !          43282: fi
        !          43283: if test "x$CURL_DISABLE_FILE" != "x1"; then
        !          43284:   SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS FILE"
        !          43285: fi
        !          43286: if test "x$CURL_DISABLE_TELNET" != "x1"; then
        !          43287:   SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS TELNET"
        !          43288: fi
        !          43289: if test "x$CURL_DISABLE_LDAP" != "x1"; then
        !          43290:   SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS LDAP"
        !          43291:   if test "x$CURL_DISABLE_LDAPS" != "x1"; then
        !          43292:     if (test "x$USE_OPENLDAP" = "x1" && test "x$SSL_ENABLED" = "x1") ||
        !          43293:       (test "x$USE_OPENLDAP" != "x1"  && test "x$HAVE_LDAP_SSL" = "x1"); then
        !          43294:       SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS LDAPS"
        !          43295:     fi
        !          43296:   fi
        !          43297: fi
        !          43298: if test "x$CURL_DISABLE_DICT" != "x1"; then
        !          43299:   SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS DICT"
        !          43300: fi
        !          43301: if test "x$CURL_DISABLE_TFTP" != "x1"; then
        !          43302:   SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS TFTP"
        !          43303: fi
        !          43304: if test "x$CURL_DISABLE_GOPHER" != "x1"; then
        !          43305:   SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS GOPHER"
        !          43306: fi
        !          43307: if test "x$CURL_ENABLE_MQTT" = "x1"; then
        !          43308:   SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS MQTT"
        !          43309: fi
        !          43310: if test "x$CURL_DISABLE_POP3" != "x1"; then
        !          43311:   SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS POP3"
        !          43312:   if test "x$SSL_ENABLED" = "x1"; then
        !          43313:     SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS POP3S"
        !          43314:   fi
        !          43315: fi
        !          43316: if test "x$CURL_DISABLE_IMAP" != "x1"; then
        !          43317:   SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS IMAP"
        !          43318:   if test "x$SSL_ENABLED" = "x1"; then
        !          43319:     SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS IMAPS"
        !          43320:   fi
        !          43321: fi
        !          43322: if test "x$CURL_DISABLE_SMB" != "x1" \
        !          43323:     -a "x$CURL_DISABLE_CRYPTO_AUTH" != "x1" \
        !          43324:     -a \( "x$OPENSSL_ENABLED" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \
        !          43325:       -o "x$GNUTLS_ENABLED" = "x1" -o "x$MBEDTLS_ENABLED" = "x1" \
        !          43326:       -o "x$NSS_ENABLED" = "x1" -o "x$SECURETRANSPORT_ENABLED" = "x1" \); then
        !          43327:   SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS SMB"
        !          43328:   if test "x$SSL_ENABLED" = "x1"; then
        !          43329:     SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS SMBS"
        !          43330:   fi
        !          43331: fi
        !          43332: if test "x$CURL_DISABLE_SMTP" != "x1"; then
        !          43333:   SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS SMTP"
        !          43334:   if test "x$SSL_ENABLED" = "x1"; then
        !          43335:     SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS SMTPS"
        !          43336:   fi
        !          43337: fi
        !          43338: if test "x$USE_LIBSSH2" = "x1"; then
        !          43339:   SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS SCP"
        !          43340:   SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS SFTP"
        !          43341: fi
        !          43342: if test "x$USE_LIBSSH" = "x1"; then
        !          43343:   SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS SCP"
        !          43344:   SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS SFTP"
        !          43345: fi
        !          43346: if test "x$USE_WOLFSSH" = "x1"; then
        !          43347:   SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS SCP"
        !          43348:   SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS SFTP"
        !          43349: fi
        !          43350: if test "x$CURL_DISABLE_RTSP" != "x1"; then
        !          43351:   SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS RTSP"
        !          43352: fi
        !          43353: if test "x$USE_LIBRTMP" = "x1"; then
        !          43354:   SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS RTMP"
        !          43355: fi
        !          43356: 
        !          43357: SUPPORT_PROTOCOLS=`echo $SUPPORT_PROTOCOLS | tr ' ' '\012' | sort | tr '\012' ' '`
        !          43358: 
        !          43359: 
        !          43360: 
        !          43361: 
        !          43362: squeeze CFLAGS
        !          43363: squeeze CPPFLAGS
        !          43364: squeeze DEFS
        !          43365: squeeze LDFLAGS
        !          43366: squeeze LIBS
        !          43367: 
        !          43368: squeeze LIBCURL_LIBS
        !          43369: squeeze CURL_NETWORK_LIBS
        !          43370: squeeze CURL_NETWORK_AND_TIME_LIBS
        !          43371: 
        !          43372: squeeze SUPPORT_FEATURES
        !          43373: squeeze SUPPORT_PROTOCOLS
        !          43374: 
        !          43375: 
        !          43376: 
        !          43377:   xc_bad_var_libs=no
        !          43378:   for xc_word in $LIBS; do
        !          43379:     case "$xc_word" in
        !          43380:       -l* | --library=*)
        !          43381:         :
        !          43382:         ;;
        !          43383:       *)
        !          43384:         xc_bad_var_libs=yes
        !          43385:         ;;
        !          43386:     esac
        !          43387:   done
        !          43388:   if test $xc_bad_var_libs = yes; then
        !          43389:     { $as_echo "$as_me:${as_lineno-$LINENO}: using LIBS: $LIBS" >&5
        !          43390: $as_echo "$as_me: using LIBS: $LIBS" >&6;}
        !          43391:     { $as_echo "$as_me:${as_lineno-$LINENO}: LIBS note: LIBS should only be used to specify libraries (-lname)." >&5
        !          43392: $as_echo "$as_me: LIBS note: LIBS should only be used to specify libraries (-lname)." >&6;}
        !          43393:   fi
        !          43394: 
        !          43395: 
        !          43396:   xc_bad_var_ldflags=no
        !          43397:   for xc_word in $LDFLAGS; do
        !          43398:     case "$xc_word" in
        !          43399:       -D*)
        !          43400:         xc_bad_var_ldflags=yes
        !          43401:         ;;
        !          43402:       -U*)
        !          43403:         xc_bad_var_ldflags=yes
        !          43404:         ;;
        !          43405:       -I*)
        !          43406:         xc_bad_var_ldflags=yes
        !          43407:         ;;
        !          43408: # Temporarily disable -l* flag check for SSP support (Mk/bsd.ssp.mk)
        !          43409: #      -l* | --library=*)
        !          43410: #        xc_bad_var_ldflags=yes
        !          43411: #        ;;
        !          43412:     esac
        !          43413:   done
        !          43414:   if test $xc_bad_var_ldflags = yes; then
        !          43415:     { $as_echo "$as_me:${as_lineno-$LINENO}: using LDFLAGS: $LDFLAGS" >&5
        !          43416: $as_echo "$as_me: using LDFLAGS: $LDFLAGS" >&6;}
        !          43417:     xc_bad_var_msg="LDFLAGS note: LDFLAGS should only be used to specify linker flags, not"
        !          43418:     for xc_word in $LDFLAGS; do
        !          43419:       case "$xc_word" in
        !          43420:         -D*)
        !          43421:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&5
        !          43422: $as_echo "$as_me: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&6;}
        !          43423:           ;;
        !          43424:         -U*)
        !          43425:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&5
        !          43426: $as_echo "$as_me: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&6;}
        !          43427:           ;;
        !          43428:         -I*)
        !          43429:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&5
        !          43430: $as_echo "$as_me: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&6;}
        !          43431:           ;;
        !          43432:         -l* | --library=*)
        !          43433:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&5
        !          43434: $as_echo "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
        !          43435:           ;;
        !          43436:       esac
        !          43437:     done
        !          43438:   fi
        !          43439: 
        !          43440: 
        !          43441:   xc_bad_var_cppflags=no
        !          43442:   for xc_word in $CPPFLAGS; do
        !          43443:     case "$xc_word" in
        !          43444:       -rpath*)
        !          43445:         xc_bad_var_cppflags=yes
        !          43446:         ;;
        !          43447:       -L* | --library-path=*)
        !          43448:         xc_bad_var_cppflags=yes
        !          43449:         ;;
        !          43450:       -l* | --library=*)
        !          43451:         xc_bad_var_cppflags=yes
        !          43452:         ;;
        !          43453:     esac
        !          43454:   done
        !          43455:   if test $xc_bad_var_cppflags = yes; then
        !          43456:     { $as_echo "$as_me:${as_lineno-$LINENO}: using CPPFLAGS: $CPPFLAGS" >&5
        !          43457: $as_echo "$as_me: using CPPFLAGS: $CPPFLAGS" >&6;}
        !          43458:     xc_bad_var_msg="CPPFLAGS note: CPPFLAGS should only be used to specify C preprocessor flags, not"
        !          43459:     for xc_word in $CPPFLAGS; do
        !          43460:       case "$xc_word" in
        !          43461:         -rpath*)
        !          43462:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&5
        !          43463: $as_echo "$as_me: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&6;}
        !          43464:           ;;
        !          43465:         -L* | --library-path=*)
        !          43466:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&5
        !          43467: $as_echo "$as_me: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&6;}
        !          43468:           ;;
        !          43469:         -l* | --library=*)
        !          43470:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&5
        !          43471: $as_echo "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
        !          43472:           ;;
        !          43473:       esac
        !          43474:     done
        !          43475:   fi
        !          43476: 
        !          43477: 
        !          43478:   xc_bad_var_cflags=no
        !          43479:   for xc_word in $CFLAGS; do
        !          43480:     case "$xc_word" in
        !          43481: # Temporarily disable -D* flag check (PR/177401, PR/180944)
        !          43482: #      -D*)
        !          43483: #        xc_bad_var_cflags=yes
        !          43484: #        ;;
        !          43485:       -U*)
        !          43486:         xc_bad_var_cflags=yes
        !          43487:         ;;
        !          43488:       -I*)
        !          43489:         xc_bad_var_cflags=yes
        !          43490:         ;;
        !          43491:       -rpath*)
        !          43492:         xc_bad_var_cflags=yes
        !          43493:         ;;
        !          43494:       -L* | --library-path=*)
        !          43495:         xc_bad_var_cflags=yes
        !          43496:         ;;
        !          43497:       -l* | --library=*)
        !          43498:         xc_bad_var_cflags=yes
        !          43499:         ;;
        !          43500:     esac
        !          43501:   done
        !          43502:   if test $xc_bad_var_cflags = yes; then
        !          43503:     { $as_echo "$as_me:${as_lineno-$LINENO}: using CFLAGS: $CFLAGS" >&5
        !          43504: $as_echo "$as_me: using CFLAGS: $CFLAGS" >&6;}
        !          43505:     xc_bad_var_msg="CFLAGS note: CFLAGS should only be used to specify C compiler flags, not"
        !          43506:     for xc_word in $CFLAGS; do
        !          43507:       case "$xc_word" in
        !          43508:         -D*)
        !          43509:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&5
        !          43510: $as_echo "$as_me: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&6;}
        !          43511:           ;;
        !          43512:         -U*)
        !          43513:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&5
        !          43514: $as_echo "$as_me: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&6;}
        !          43515:           ;;
        !          43516:         -I*)
        !          43517:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&5
        !          43518: $as_echo "$as_me: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&6;}
        !          43519:           ;;
        !          43520:         -rpath*)
        !          43521:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&5
        !          43522: $as_echo "$as_me: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&6;}
        !          43523:           ;;
        !          43524:         -L* | --library-path=*)
        !          43525:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&5
        !          43526: $as_echo "$as_me: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&6;}
        !          43527:           ;;
        !          43528:         -l* | --library=*)
        !          43529:           { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&5
        !          43530: $as_echo "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
        !          43531:           ;;
        !          43532:       esac
        !          43533:     done
        !          43534:   fi
        !          43535: 
        !          43536:   if test $xc_bad_var_libs = yes ||
        !          43537:      test $xc_bad_var_cflags = yes ||
        !          43538:      test $xc_bad_var_ldflags = yes ||
        !          43539:      test $xc_bad_var_cppflags = yes; then
        !          43540:      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Continuing even with errors mentioned immediately above this line." >&5
        !          43541: $as_echo "$as_me: WARNING: Continuing even with errors mentioned immediately above this line." >&2;}
        !          43542:   fi
        !          43543: 
        !          43544: 
        !          43545: SSL_BACKENDS=${ssl_backends}
        !          43546: 
        !          43547: 
        !          43548: if test "x$want_curldebug_assumed" = "xyes" &&
        !          43549:   test "x$want_curldebug" = "xyes" && test "x$USE_ARES" = "x1"; then
        !          43550:   ac_configure_args="$ac_configure_args --enable-curldebug"
        !          43551: fi
        !          43552: 
        !          43553: ac_config_files="$ac_config_files Makefile docs/Makefile docs/examples/Makefile docs/libcurl/Makefile docs/libcurl/opts/Makefile docs/cmdline-opts/Makefile include/Makefile include/curl/Makefile src/Makefile lib/Makefile scripts/Makefile lib/libcurl.vers tests/Makefile tests/certs/Makefile tests/certs/scripts/Makefile tests/data/Makefile tests/server/Makefile tests/libtest/Makefile tests/unit/Makefile packages/Makefile packages/vms/Makefile curl-config libcurl.pc"
        !          43554: 
        !          43555: cat >confcache <<\_ACEOF
        !          43556: # This file is a shell script that caches the results of configure
        !          43557: # tests run on this system so they can be shared between configure
        !          43558: # scripts and configure runs, see configure's option --config-cache.
        !          43559: # It is not useful on other systems.  If it contains results you don't
        !          43560: # want to keep, you may remove or edit it.
        !          43561: #
        !          43562: # config.status only pays attention to the cache file if you give it
        !          43563: # the --recheck option to rerun configure.
        !          43564: #
        !          43565: # `ac_cv_env_foo' variables (set or unset) will be overridden when
        !          43566: # loading this file, other *unset* `ac_cv_foo' will be assigned the
        !          43567: # following values.
        !          43568: 
        !          43569: _ACEOF
        !          43570: 
        !          43571: # The following way of writing the cache mishandles newlines in values,
        !          43572: # but we know of no workaround that is simple, portable, and efficient.
        !          43573: # So, we kill variables containing newlines.
        !          43574: # Ultrix sh set writes to stderr and can't be redirected directly,
        !          43575: # and sets the high bit in the cache file unless we assign to the vars.
        !          43576: (
        !          43577:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
        !          43578:     eval ac_val=\$$ac_var
        !          43579:     case $ac_val in #(
        !          43580:     *${as_nl}*)
        !          43581:       case $ac_var in #(
        !          43582:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
        !          43583: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
        !          43584:       esac
        !          43585:       case $ac_var in #(
        !          43586:       _ | IFS | as_nl) ;; #(
        !          43587:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
        !          43588:       *) { eval $ac_var=; unset $ac_var;} ;;
        !          43589:       esac ;;
        !          43590:     esac
        !          43591:   done
        !          43592: 
        !          43593:   (set) 2>&1 |
        !          43594:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
        !          43595:     *${as_nl}ac_space=\ *)
        !          43596:       # `set' does not quote correctly, so add quotes: double-quote
        !          43597:       # substitution turns \\\\ into \\, and sed turns \\ into \.
        !          43598:       sed -n \
        !          43599:        "s/'/'\\\\''/g;
        !          43600:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
        !          43601:       ;; #(
        !          43602:     *)
        !          43603:       # `set' quotes correctly as required by POSIX, so do not add quotes.
        !          43604:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
        !          43605:       ;;
        !          43606:     esac |
        !          43607:     sort
        !          43608: ) |
        !          43609:   sed '
        !          43610:      /^ac_cv_env_/b end
        !          43611:      t clear
        !          43612:      :clear
        !          43613:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
        !          43614:      t end
        !          43615:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
        !          43616:      :end' >>confcache
        !          43617: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
        !          43618:   if test -w "$cache_file"; then
        !          43619:     if test "x$cache_file" != "x/dev/null"; then
        !          43620:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
        !          43621: $as_echo "$as_me: updating cache $cache_file" >&6;}
        !          43622:       if test ! -f "$cache_file" || test -h "$cache_file"; then
        !          43623:        cat confcache >"$cache_file"
        !          43624:       else
        !          43625:         case $cache_file in #(
        !          43626:         */* | ?:*)
        !          43627:          mv -f confcache "$cache_file"$$ &&
        !          43628:          mv -f "$cache_file"$$ "$cache_file" ;; #(
        !          43629:         *)
        !          43630:          mv -f confcache "$cache_file" ;;
        !          43631:        esac
        !          43632:       fi
        !          43633:     fi
        !          43634:   else
        !          43635:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
        !          43636: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
        !          43637:   fi
        !          43638: fi
        !          43639: rm -f confcache
        !          43640: 
        !          43641: test "x$prefix" = xNONE && prefix=$ac_default_prefix
        !          43642: # Let make expand exec_prefix.
        !          43643: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
        !          43644: 
        !          43645: DEFS=-DHAVE_CONFIG_H
        !          43646: 
        !          43647: ac_libobjs=
        !          43648: ac_ltlibobjs=
        !          43649: U=
        !          43650: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
        !          43651:   # 1. Remove the extension, and $U if already installed.
        !          43652:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
        !          43653:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
        !          43654:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
        !          43655:   #    will be set to the directory where LIBOBJS objects are built.
        !          43656:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
        !          43657:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
        !          43658: done
        !          43659: LIBOBJS=$ac_libobjs
        !          43660: 
        !          43661: LTLIBOBJS=$ac_ltlibobjs
        !          43662: 
        !          43663: 
        !          43664: if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
        !          43665:   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
        !          43666: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          43667: fi
        !          43668: { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
        !          43669: $as_echo_n "checking that generated files are newer than configure... " >&6; }
        !          43670:    if test -n "$am_sleep_pid"; then
        !          43671:      # Hide warnings about reused PIDs.
        !          43672:      wait $am_sleep_pid 2>/dev/null
        !          43673:    fi
        !          43674:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
        !          43675: $as_echo "done" >&6; }
        !          43676: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
        !          43677:   as_fn_error $? "conditional \"AMDEP\" was never defined.
        !          43678: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          43679: fi
        !          43680: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
        !          43681:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
        !          43682: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          43683: fi
        !          43684:  if test -n "$EXEEXT"; then
        !          43685:   am__EXEEXT_TRUE=
        !          43686:   am__EXEEXT_FALSE='#'
        !          43687: else
        !          43688:   am__EXEEXT_TRUE='#'
        !          43689:   am__EXEEXT_FALSE=
        !          43690: fi
        !          43691: 
        !          43692: if test -z "${CURL_LT_SHLIB_USE_VERSION_INFO_TRUE}" && test -z "${CURL_LT_SHLIB_USE_VERSION_INFO_FALSE}"; then
        !          43693:   as_fn_error $? "conditional \"CURL_LT_SHLIB_USE_VERSION_INFO\" was never defined.
        !          43694: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          43695: fi
        !          43696: if test -z "${CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE}" && test -z "${CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE}"; then
        !          43697:   as_fn_error $? "conditional \"CURL_LT_SHLIB_USE_NO_UNDEFINED\" was never defined.
        !          43698: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          43699: fi
        !          43700: if test -z "${CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE}" && test -z "${CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE}"; then
        !          43701:   as_fn_error $? "conditional \"CURL_LT_SHLIB_USE_MIMPURE_TEXT\" was never defined.
        !          43702: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          43703: fi
        !          43704: if test -z "${USE_CPPFLAG_CURL_STATICLIB_TRUE}" && test -z "${USE_CPPFLAG_CURL_STATICLIB_FALSE}"; then
        !          43705:   as_fn_error $? "conditional \"USE_CPPFLAG_CURL_STATICLIB\" was never defined.
        !          43706: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          43707: fi
        !          43708: if test -z "${USE_EXPLICIT_LIB_DEPS_TRUE}" && test -z "${USE_EXPLICIT_LIB_DEPS_FALSE}"; then
        !          43709:   as_fn_error $? "conditional \"USE_EXPLICIT_LIB_DEPS\" was never defined.
        !          43710: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          43711: fi
        !          43712: if test -z "${CURLDEBUG_TRUE}" && test -z "${CURLDEBUG_FALSE}"; then
        !          43713:   as_fn_error $? "conditional \"CURLDEBUG\" was never defined.
        !          43714: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          43715: fi
        !          43716: if test -z "${BUILD_UNITTESTS_TRUE}" && test -z "${BUILD_UNITTESTS_FALSE}"; then
        !          43717:   as_fn_error $? "conditional \"BUILD_UNITTESTS\" was never defined.
        !          43718: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          43719: fi
        !          43720: if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then
        !          43721:   as_fn_error $? "conditional \"DOING_NATIVE_WINDOWS\" was never defined.
        !          43722: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          43723: fi
        !          43724: if test -z "${HAVE_LIBZ_TRUE}" && test -z "${HAVE_LIBZ_FALSE}"; then
        !          43725:   as_fn_error $? "conditional \"HAVE_LIBZ\" was never defined.
        !          43726: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          43727: fi
        !          43728: if test -z "${BUILD_STUB_GSS_TRUE}" && test -z "${BUILD_STUB_GSS_FALSE}"; then
        !          43729:   as_fn_error $? "conditional \"BUILD_STUB_GSS\" was never defined.
        !          43730: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          43731: fi
        !          43732: if test -z "${USE_LIBPSL_TRUE}" && test -z "${USE_LIBPSL_FALSE}"; then
        !          43733:   as_fn_error $? "conditional \"USE_LIBPSL\" was never defined.
        !          43734: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          43735: fi
        !          43736: if test -z "${CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE}" && test -z "${CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE}"; then
        !          43737:   as_fn_error $? "conditional \"CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS\" was never defined.
        !          43738: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          43739: fi
        !          43740: if test -z "${USE_MANUAL_TRUE}" && test -z "${USE_MANUAL_FALSE}"; then
        !          43741:   as_fn_error $? "conditional \"USE_MANUAL\" was never defined.
        !          43742: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          43743: fi
        !          43744: if test -z "${USE_EMBEDDED_ARES_TRUE}" && test -z "${USE_EMBEDDED_ARES_FALSE}"; then
        !          43745:   as_fn_error $? "conditional \"USE_EMBEDDED_ARES\" was never defined.
        !          43746: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          43747: fi
        !          43748: if test -z "${BUILD_LIBHOSTNAME_TRUE}" && test -z "${BUILD_LIBHOSTNAME_FALSE}"; then
        !          43749:   as_fn_error $? "conditional \"BUILD_LIBHOSTNAME\" was never defined.
        !          43750: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          43751: fi
        !          43752: if test -z "${DOING_CURL_SYMBOL_HIDING_TRUE}" && test -z "${DOING_CURL_SYMBOL_HIDING_FALSE}"; then
        !          43753:   as_fn_error $? "conditional \"DOING_CURL_SYMBOL_HIDING\" was never defined.
        !          43754: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          43755: fi
        !          43756: if test -z "${CROSSCOMPILING_TRUE}" && test -z "${CROSSCOMPILING_FALSE}"; then
        !          43757:   as_fn_error $? "conditional \"CROSSCOMPILING\" was never defined.
        !          43758: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          43759: fi
        !          43760: 
        !          43761: : "${CONFIG_STATUS=./config.status}"
        !          43762: ac_write_fail=0
        !          43763: ac_clean_files_save=$ac_clean_files
        !          43764: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
        !          43765: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
        !          43766: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
        !          43767: as_write_fail=0
        !          43768: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
        !          43769: #! $SHELL
        !          43770: # Generated by $as_me.
        !          43771: # Run this file to recreate the current configuration.
        !          43772: # Compiler output produced by configure, useful for debugging
        !          43773: # configure, is in config.log if it exists.
        !          43774: 
        !          43775: debug=false
        !          43776: ac_cs_recheck=false
        !          43777: ac_cs_silent=false
        !          43778: 
        !          43779: SHELL=\${CONFIG_SHELL-$SHELL}
        !          43780: export SHELL
        !          43781: _ASEOF
        !          43782: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
        !          43783: ## -------------------- ##
        !          43784: ## M4sh Initialization. ##
        !          43785: ## -------------------- ##
        !          43786: 
        !          43787: # Be more Bourne compatible
        !          43788: DUALCASE=1; export DUALCASE # for MKS sh
        !          43789: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
        !          43790:   emulate sh
        !          43791:   NULLCMD=:
        !          43792:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
        !          43793:   # is contrary to our usage.  Disable this feature.
        !          43794:   alias -g '${1+"$@"}'='"$@"'
        !          43795:   setopt NO_GLOB_SUBST
        !          43796: else
        !          43797:   case `(set -o) 2>/dev/null` in #(
        !          43798:   *posix*) :
        !          43799:     set -o posix ;; #(
        !          43800:   *) :
        !          43801:      ;;
        !          43802: esac
        !          43803: fi
        !          43804: 
        !          43805: 
        !          43806: as_nl='
        !          43807: '
        !          43808: export as_nl
        !          43809: # Printing a long string crashes Solaris 7 /usr/bin/printf.
        !          43810: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
        !          43811: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
        !          43812: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
        !          43813: # Prefer a ksh shell builtin over an external printf program on Solaris,
        !          43814: # but without wasting forks for bash or zsh.
        !          43815: if test -z "$BASH_VERSION$ZSH_VERSION" \
        !          43816:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
        !          43817:   as_echo='print -r --'
        !          43818:   as_echo_n='print -rn --'
        !          43819: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
        !          43820:   as_echo='printf %s\n'
        !          43821:   as_echo_n='printf %s'
        !          43822: else
        !          43823:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
        !          43824:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
        !          43825:     as_echo_n='/usr/ucb/echo -n'
        !          43826:   else
        !          43827:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
        !          43828:     as_echo_n_body='eval
        !          43829:       arg=$1;
        !          43830:       case $arg in #(
        !          43831:       *"$as_nl"*)
        !          43832:        expr "X$arg" : "X\\(.*\\)$as_nl";
        !          43833:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
        !          43834:       esac;
        !          43835:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
        !          43836:     '
        !          43837:     export as_echo_n_body
        !          43838:     as_echo_n='sh -c $as_echo_n_body as_echo'
        !          43839:   fi
        !          43840:   export as_echo_body
        !          43841:   as_echo='sh -c $as_echo_body as_echo'
        !          43842: fi
        !          43843: 
        !          43844: 
        !          43845: 
        !          43846: # IFS
        !          43847: # We need space, tab and new line, in precisely that order.  Quoting is
        !          43848: # there to prevent editors from complaining about space-tab.
        !          43849: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
        !          43850: # splitting by setting IFS to empty value.)
        !          43851: IFS=" ""       $as_nl"
        !          43852: 
        !          43853: # Find who we are.  Look in the path if we contain no directory separator.
        !          43854: as_myself=
        !          43855: case $0 in #((
        !          43856:   *[\\/]* ) as_myself=$0 ;;
        !          43857:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          43858: for as_dir in $PATH
        !          43859: do
        !          43860:   IFS=$as_save_IFS
        !          43861:   test -z "$as_dir" && as_dir=.
        !          43862:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
        !          43863:   done
        !          43864: IFS=$as_save_IFS
        !          43865: 
        !          43866:      ;;
        !          43867: esac
        !          43868: # We did not find ourselves, most probably we were run as `sh COMMAND'
        !          43869: # in which case we are not to be found in the path.
        !          43870: if test "x$as_myself" = x; then
        !          43871:   as_myself=$0
        !          43872: fi
        !          43873: if test ! -f "$as_myself"; then
        !          43874:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
        !          43875:   exit 1
        !          43876: fi
        !          43877: 
        !          43878: # Unset variables that we do not need and which cause bugs (e.g. in
        !          43879: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
        !          43880: # suppresses any "Segmentation fault" message there.  '((' could
        !          43881: # trigger a bug in pdksh 5.2.14.
        !          43882: for as_var in BASH_ENV ENV MAIL MAILPATH
        !          43883: do eval test x\${$as_var+set} = xset \
        !          43884:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
        !          43885: done
        !          43886: PS1='$ '
        !          43887: PS2='> '
        !          43888: PS4='+ '
        !          43889: 
        !          43890: # NLS nuisances.
        !          43891: LC_ALL=C
        !          43892: export LC_ALL
        !          43893: LANGUAGE=C
        !          43894: export LANGUAGE
        !          43895: 
        !          43896: # CDPATH.
        !          43897: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
        !          43898: 
        !          43899: 
        !          43900: # as_fn_error STATUS ERROR [LINENO LOG_FD]
        !          43901: # ----------------------------------------
        !          43902: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
        !          43903: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
        !          43904: # script with STATUS, using 1 if that was 0.
        !          43905: as_fn_error ()
        !          43906: {
        !          43907:   as_status=$1; test $as_status -eq 0 && as_status=1
        !          43908:   if test "$4"; then
        !          43909:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          43910:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
        !          43911:   fi
        !          43912:   $as_echo "$as_me: error: $2" >&2
        !          43913:   as_fn_exit $as_status
        !          43914: } # as_fn_error
        !          43915: 
        !          43916: 
        !          43917: # as_fn_set_status STATUS
        !          43918: # -----------------------
        !          43919: # Set $? to STATUS, without forking.
        !          43920: as_fn_set_status ()
        !          43921: {
        !          43922:   return $1
        !          43923: } # as_fn_set_status
        !          43924: 
        !          43925: # as_fn_exit STATUS
        !          43926: # -----------------
        !          43927: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
        !          43928: as_fn_exit ()
        !          43929: {
        !          43930:   set +e
        !          43931:   as_fn_set_status $1
        !          43932:   exit $1
        !          43933: } # as_fn_exit
        !          43934: 
        !          43935: # as_fn_unset VAR
        !          43936: # ---------------
        !          43937: # Portably unset VAR.
        !          43938: as_fn_unset ()
        !          43939: {
        !          43940:   { eval $1=; unset $1;}
        !          43941: }
        !          43942: as_unset=as_fn_unset
        !          43943: # as_fn_append VAR VALUE
        !          43944: # ----------------------
        !          43945: # Append the text in VALUE to the end of the definition contained in VAR. Take
        !          43946: # advantage of any shell optimizations that allow amortized linear growth over
        !          43947: # repeated appends, instead of the typical quadratic growth present in naive
        !          43948: # implementations.
        !          43949: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
        !          43950:   eval 'as_fn_append ()
        !          43951:   {
        !          43952:     eval $1+=\$2
        !          43953:   }'
        !          43954: else
        !          43955:   as_fn_append ()
        !          43956:   {
        !          43957:     eval $1=\$$1\$2
        !          43958:   }
        !          43959: fi # as_fn_append
        !          43960: 
        !          43961: # as_fn_arith ARG...
        !          43962: # ------------------
        !          43963: # Perform arithmetic evaluation on the ARGs, and store the result in the
        !          43964: # global $as_val. Take advantage of shells that can avoid forks. The arguments
        !          43965: # must be portable across $(()) and expr.
        !          43966: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
        !          43967:   eval 'as_fn_arith ()
        !          43968:   {
        !          43969:     as_val=$(( $* ))
        !          43970:   }'
        !          43971: else
        !          43972:   as_fn_arith ()
        !          43973:   {
        !          43974:     as_val=`expr "$@" || test $? -eq 1`
        !          43975:   }
        !          43976: fi # as_fn_arith
        !          43977: 
        !          43978: 
        !          43979: if expr a : '\(a\)' >/dev/null 2>&1 &&
        !          43980:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
        !          43981:   as_expr=expr
        !          43982: else
        !          43983:   as_expr=false
        !          43984: fi
        !          43985: 
        !          43986: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
        !          43987:   as_basename=basename
        !          43988: else
        !          43989:   as_basename=false
        !          43990: fi
        !          43991: 
        !          43992: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
        !          43993:   as_dirname=dirname
        !          43994: else
        !          43995:   as_dirname=false
        !          43996: fi
        !          43997: 
        !          43998: as_me=`$as_basename -- "$0" ||
        !          43999: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
        !          44000:         X"$0" : 'X\(//\)$' \| \
        !          44001:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
        !          44002: $as_echo X/"$0" |
        !          44003:     sed '/^.*\/\([^/][^/]*\)\/*$/{
        !          44004:            s//\1/
        !          44005:            q
        !          44006:          }
        !          44007:          /^X\/\(\/\/\)$/{
        !          44008:            s//\1/
        !          44009:            q
        !          44010:          }
        !          44011:          /^X\/\(\/\).*/{
        !          44012:            s//\1/
        !          44013:            q
        !          44014:          }
        !          44015:          s/.*/./; q'`
        !          44016: 
        !          44017: # Avoid depending upon Character Ranges.
        !          44018: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
        !          44019: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
        !          44020: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
        !          44021: as_cr_digits='0123456789'
        !          44022: as_cr_alnum=$as_cr_Letters$as_cr_digits
        !          44023: 
        !          44024: ECHO_C= ECHO_N= ECHO_T=
        !          44025: case `echo -n x` in #(((((
        !          44026: -n*)
        !          44027:   case `echo 'xy\c'` in
        !          44028:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
        !          44029:   xy)  ECHO_C='\c';;
        !          44030:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
        !          44031:        ECHO_T='        ';;
        !          44032:   esac;;
        !          44033: *)
        !          44034:   ECHO_N='-n';;
        !          44035: esac
        !          44036: 
        !          44037: rm -f conf$$ conf$$.exe conf$$.file
        !          44038: if test -d conf$$.dir; then
        !          44039:   rm -f conf$$.dir/conf$$.file
        !          44040: else
        !          44041:   rm -f conf$$.dir
        !          44042:   mkdir conf$$.dir 2>/dev/null
        !          44043: fi
        !          44044: if (echo >conf$$.file) 2>/dev/null; then
        !          44045:   if ln -s conf$$.file conf$$ 2>/dev/null; then
        !          44046:     as_ln_s='ln -s'
        !          44047:     # ... but there are two gotchas:
        !          44048:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
        !          44049:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
        !          44050:     # In both cases, we have to default to `cp -pR'.
        !          44051:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
        !          44052:       as_ln_s='cp -pR'
        !          44053:   elif ln conf$$.file conf$$ 2>/dev/null; then
        !          44054:     as_ln_s=ln
        !          44055:   else
        !          44056:     as_ln_s='cp -pR'
        !          44057:   fi
        !          44058: else
        !          44059:   as_ln_s='cp -pR'
        !          44060: fi
        !          44061: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
        !          44062: rmdir conf$$.dir 2>/dev/null
        !          44063: 
        !          44064: 
        !          44065: # as_fn_mkdir_p
        !          44066: # -------------
        !          44067: # Create "$as_dir" as a directory, including parents if necessary.
        !          44068: as_fn_mkdir_p ()
        !          44069: {
        !          44070: 
        !          44071:   case $as_dir in #(
        !          44072:   -*) as_dir=./$as_dir;;
        !          44073:   esac
        !          44074:   test -d "$as_dir" || eval $as_mkdir_p || {
        !          44075:     as_dirs=
        !          44076:     while :; do
        !          44077:       case $as_dir in #(
        !          44078:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
        !          44079:       *) as_qdir=$as_dir;;
        !          44080:       esac
        !          44081:       as_dirs="'$as_qdir' $as_dirs"
        !          44082:       as_dir=`$as_dirname -- "$as_dir" ||
        !          44083: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          44084:         X"$as_dir" : 'X\(//\)[^/]' \| \
        !          44085:         X"$as_dir" : 'X\(//\)$' \| \
        !          44086:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
        !          44087: $as_echo X"$as_dir" |
        !          44088:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
        !          44089:            s//\1/
        !          44090:            q
        !          44091:          }
        !          44092:          /^X\(\/\/\)[^/].*/{
        !          44093:            s//\1/
        !          44094:            q
        !          44095:          }
        !          44096:          /^X\(\/\/\)$/{
        !          44097:            s//\1/
        !          44098:            q
        !          44099:          }
        !          44100:          /^X\(\/\).*/{
        !          44101:            s//\1/
        !          44102:            q
        !          44103:          }
        !          44104:          s/.*/./; q'`
        !          44105:       test -d "$as_dir" && break
        !          44106:     done
        !          44107:     test -z "$as_dirs" || eval "mkdir $as_dirs"
        !          44108:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
        !          44109: 
        !          44110: 
        !          44111: } # as_fn_mkdir_p
        !          44112: if mkdir -p . 2>/dev/null; then
        !          44113:   as_mkdir_p='mkdir -p "$as_dir"'
        !          44114: else
        !          44115:   test -d ./-p && rmdir ./-p
        !          44116:   as_mkdir_p=false
        !          44117: fi
        !          44118: 
        !          44119: 
        !          44120: # as_fn_executable_p FILE
        !          44121: # -----------------------
        !          44122: # Test if FILE is an executable regular file.
        !          44123: as_fn_executable_p ()
        !          44124: {
        !          44125:   test -f "$1" && test -x "$1"
        !          44126: } # as_fn_executable_p
        !          44127: as_test_x='test -x'
        !          44128: as_executable_p=as_fn_executable_p
        !          44129: 
        !          44130: # Sed expression to map a string onto a valid CPP name.
        !          44131: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
        !          44132: 
        !          44133: # Sed expression to map a string onto a valid variable name.
        !          44134: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
        !          44135: 
        !          44136: 
        !          44137: exec 6>&1
        !          44138: ## ----------------------------------- ##
        !          44139: ## Main body of $CONFIG_STATUS script. ##
        !          44140: ## ----------------------------------- ##
        !          44141: _ASEOF
        !          44142: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
        !          44143: 
        !          44144: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          44145: # Save the log message, to keep $0 and so on meaningful, and to
        !          44146: # report actual input values of CONFIG_FILES etc. instead of their
        !          44147: # values after options handling.
        !          44148: ac_log="
        !          44149: This file was extended by curl $as_me -, which was
        !          44150: generated by GNU Autoconf 2.69.  Invocation command line was
        !          44151: 
        !          44152:   CONFIG_FILES    = $CONFIG_FILES
        !          44153:   CONFIG_HEADERS  = $CONFIG_HEADERS
        !          44154:   CONFIG_LINKS    = $CONFIG_LINKS
        !          44155:   CONFIG_COMMANDS = $CONFIG_COMMANDS
        !          44156:   $ $0 $@
        !          44157: 
        !          44158: on `(hostname || uname -n) 2>/dev/null | sed 1q`
        !          44159: "
        !          44160: 
        !          44161: _ACEOF
        !          44162: 
        !          44163: case $ac_config_files in *"
        !          44164: "*) set x $ac_config_files; shift; ac_config_files=$*;;
        !          44165: esac
        !          44166: 
        !          44167: case $ac_config_headers in *"
        !          44168: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
        !          44169: esac
        !          44170: 
        !          44171: 
        !          44172: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          44173: # Files that config.status was made for.
        !          44174: config_files="$ac_config_files"
        !          44175: config_headers="$ac_config_headers"
        !          44176: config_commands="$ac_config_commands"
        !          44177: 
        !          44178: _ACEOF
        !          44179: 
        !          44180: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          44181: ac_cs_usage="\
        !          44182: \`$as_me' instantiates files and other configuration actions
        !          44183: from templates according to the current configuration.  Unless the files
        !          44184: and actions are specified as TAGs, all are instantiated by default.
        !          44185: 
        !          44186: Usage: $0 [OPTION]... [TAG]...
        !          44187: 
        !          44188:   -h, --help       print this help, then exit
        !          44189:   -V, --version    print version number and configuration settings, then exit
        !          44190:       --config     print configuration, then exit
        !          44191:   -q, --quiet, --silent
        !          44192:                    do not print progress messages
        !          44193:   -d, --debug      don't remove temporary files
        !          44194:       --recheck    update $as_me by reconfiguring in the same conditions
        !          44195:       --file=FILE[:TEMPLATE]
        !          44196:                    instantiate the configuration file FILE
        !          44197:       --header=FILE[:TEMPLATE]
        !          44198:                    instantiate the configuration header FILE
        !          44199: 
        !          44200: Configuration files:
        !          44201: $config_files
        !          44202: 
        !          44203: Configuration headers:
        !          44204: $config_headers
        !          44205: 
        !          44206: Configuration commands:
        !          44207: $config_commands
        !          44208: 
        !          44209: Report bugs to <a suitable curl mailing list: https://curl.haxx.se/mail/>."
        !          44210: 
        !          44211: _ACEOF
        !          44212: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          44213: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
        !          44214: ac_cs_version="\\
        !          44215: curl config.status -
        !          44216: configured by $0, generated by GNU Autoconf 2.69,
        !          44217:   with options \\"\$ac_cs_config\\"
        !          44218: 
        !          44219: Copyright (C) 2012 Free Software Foundation, Inc.
        !          44220: This config.status script is free software; the Free Software Foundation
        !          44221: gives unlimited permission to copy, distribute and modify it."
        !          44222: 
        !          44223: ac_pwd='$ac_pwd'
        !          44224: srcdir='$srcdir'
        !          44225: INSTALL='$INSTALL'
        !          44226: MKDIR_P='$MKDIR_P'
        !          44227: AWK='$AWK'
        !          44228: test -n "\$AWK" || AWK=awk
        !          44229: _ACEOF
        !          44230: 
        !          44231: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          44232: # The default lists apply if the user does not specify any file.
        !          44233: ac_need_defaults=:
        !          44234: while test $# != 0
        !          44235: do
        !          44236:   case $1 in
        !          44237:   --*=?*)
        !          44238:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
        !          44239:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
        !          44240:     ac_shift=:
        !          44241:     ;;
        !          44242:   --*=)
        !          44243:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
        !          44244:     ac_optarg=
        !          44245:     ac_shift=:
        !          44246:     ;;
        !          44247:   *)
        !          44248:     ac_option=$1
        !          44249:     ac_optarg=$2
        !          44250:     ac_shift=shift
        !          44251:     ;;
        !          44252:   esac
        !          44253: 
        !          44254:   case $ac_option in
        !          44255:   # Handling of the options.
        !          44256:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
        !          44257:     ac_cs_recheck=: ;;
        !          44258:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
        !          44259:     $as_echo "$ac_cs_version"; exit ;;
        !          44260:   --config | --confi | --conf | --con | --co | --c )
        !          44261:     $as_echo "$ac_cs_config"; exit ;;
        !          44262:   --debug | --debu | --deb | --de | --d | -d )
        !          44263:     debug=: ;;
        !          44264:   --file | --fil | --fi | --f )
        !          44265:     $ac_shift
        !          44266:     case $ac_optarg in
        !          44267:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          44268:     '') as_fn_error $? "missing file argument" ;;
        !          44269:     esac
        !          44270:     as_fn_append CONFIG_FILES " '$ac_optarg'"
        !          44271:     ac_need_defaults=false;;
        !          44272:   --header | --heade | --head | --hea )
        !          44273:     $ac_shift
        !          44274:     case $ac_optarg in
        !          44275:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          44276:     esac
        !          44277:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
        !          44278:     ac_need_defaults=false;;
        !          44279:   --he | --h)
        !          44280:     # Conflict between --help and --header
        !          44281:     as_fn_error $? "ambiguous option: \`$1'
        !          44282: Try \`$0 --help' for more information.";;
        !          44283:   --help | --hel | -h )
        !          44284:     $as_echo "$ac_cs_usage"; exit ;;
        !          44285:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
        !          44286:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
        !          44287:     ac_cs_silent=: ;;
        !          44288: 
        !          44289:   # This is an error.
        !          44290:   -*) as_fn_error $? "unrecognized option: \`$1'
        !          44291: Try \`$0 --help' for more information." ;;
        !          44292: 
        !          44293:   *) as_fn_append ac_config_targets " $1"
        !          44294:      ac_need_defaults=false ;;
        !          44295: 
        !          44296:   esac
        !          44297:   shift
        !          44298: done
        !          44299: 
        !          44300: ac_configure_extra_args=
        !          44301: 
        !          44302: if $ac_cs_silent; then
        !          44303:   exec 6>/dev/null
        !          44304:   ac_configure_extra_args="$ac_configure_extra_args --silent"
        !          44305: fi
        !          44306: 
        !          44307: _ACEOF
        !          44308: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          44309: if \$ac_cs_recheck; then
        !          44310:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
        !          44311:   shift
        !          44312:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
        !          44313:   CONFIG_SHELL='$SHELL'
        !          44314:   export CONFIG_SHELL
        !          44315:   exec "\$@"
        !          44316: fi
        !          44317: 
        !          44318: _ACEOF
        !          44319: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          44320: exec 5>>config.log
        !          44321: {
        !          44322:   echo
        !          44323:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
        !          44324: ## Running $as_me. ##
        !          44325: _ASBOX
        !          44326:   $as_echo "$ac_log"
        !          44327: } >&5
        !          44328: 
        !          44329: _ACEOF
        !          44330: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          44331: #
        !          44332: # INIT-COMMANDS
        !          44333: #
        !          44334: AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
        !          44335: 
        !          44336: 
        !          44337: # The HP-UX ksh and POSIX shell print the target directory to stdout
        !          44338: # if CDPATH is set.
        !          44339: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
        !          44340: 
        !          44341: sed_quote_subst='$sed_quote_subst'
        !          44342: double_quote_subst='$double_quote_subst'
        !          44343: delay_variable_subst='$delay_variable_subst'
        !          44344: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
        !          44345: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
        !          44346: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
        !          44347: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
        !          44348: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
        !          44349: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
        !          44350: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
        !          44351: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
        !          44352: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
        !          44353: shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
        !          44354: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
        !          44355: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
        !          44356: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
        !          44357: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
        !          44358: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
        !          44359: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
        !          44360: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
        !          44361: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
        !          44362: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
        !          44363: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
        !          44364: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
        !          44365: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
        !          44366: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
        !          44367: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
        !          44368: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
        !          44369: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
        !          44370: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
        !          44371: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
        !          44372: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
        !          44373: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
        !          44374: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
        !          44375: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
        !          44376: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
        !          44377: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
        !          44378: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
        !          44379: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
        !          44380: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
        !          44381: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
        !          44382: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
        !          44383: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
        !          44384: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
        !          44385: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
        !          44386: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
        !          44387: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
        !          44388: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
        !          44389: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
        !          44390: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
        !          44391: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
        !          44392: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
        !          44393: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
        !          44394: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
        !          44395: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
        !          44396: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
        !          44397: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
        !          44398: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
        !          44399: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
        !          44400: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
        !          44401: lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
        !          44402: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
        !          44403: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
        !          44404: lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
        !          44405: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
        !          44406: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
        !          44407: lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
        !          44408: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
        !          44409: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
        !          44410: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
        !          44411: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
        !          44412: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
        !          44413: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
        !          44414: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
        !          44415: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
        !          44416: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
        !          44417: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
        !          44418: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
        !          44419: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
        !          44420: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
        !          44421: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
        !          44422: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
        !          44423: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
        !          44424: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
        !          44425: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
        !          44426: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
        !          44427: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
        !          44428: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
        !          44429: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
        !          44430: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
        !          44431: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
        !          44432: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
        !          44433: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
        !          44434: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
        !          44435: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
        !          44436: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
        !          44437: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
        !          44438: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
        !          44439: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
        !          44440: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
        !          44441: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
        !          44442: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
        !          44443: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
        !          44444: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
        !          44445: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
        !          44446: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
        !          44447: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
        !          44448: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
        !          44449: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
        !          44450: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
        !          44451: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
        !          44452: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
        !          44453: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
        !          44454: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
        !          44455: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
        !          44456: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
        !          44457: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
        !          44458: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
        !          44459: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
        !          44460: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
        !          44461: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
        !          44462: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
        !          44463: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
        !          44464: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
        !          44465: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
        !          44466: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
        !          44467: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
        !          44468: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
        !          44469: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
        !          44470: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
        !          44471: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
        !          44472: configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
        !          44473: configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
        !          44474: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
        !          44475: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
        !          44476: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
        !          44477: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
        !          44478: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
        !          44479: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
        !          44480: 
        !          44481: LTCC='$LTCC'
        !          44482: LTCFLAGS='$LTCFLAGS'
        !          44483: compiler='$compiler_DEFAULT'
        !          44484: 
        !          44485: # A function that is used when there is no print builtin or printf.
        !          44486: func_fallback_echo ()
        !          44487: {
        !          44488:   eval 'cat <<_LTECHO_EOF
        !          44489: \$1
        !          44490: _LTECHO_EOF'
        !          44491: }
        !          44492: 
        !          44493: # Quote evaled strings.
        !          44494: for var in AS \
        !          44495: DLLTOOL \
        !          44496: OBJDUMP \
        !          44497: SHELL \
        !          44498: ECHO \
        !          44499: PATH_SEPARATOR \
        !          44500: SED \
        !          44501: GREP \
        !          44502: EGREP \
        !          44503: FGREP \
        !          44504: LD \
        !          44505: NM \
        !          44506: LN_S \
        !          44507: lt_SP2NL \
        !          44508: lt_NL2SP \
        !          44509: reload_flag \
        !          44510: deplibs_check_method \
        !          44511: file_magic_cmd \
        !          44512: file_magic_glob \
        !          44513: want_nocaseglob \
        !          44514: sharedlib_from_linklib_cmd \
        !          44515: AR \
        !          44516: AR_FLAGS \
        !          44517: archiver_list_spec \
        !          44518: STRIP \
        !          44519: RANLIB \
        !          44520: CC \
        !          44521: CFLAGS \
        !          44522: compiler \
        !          44523: lt_cv_sys_global_symbol_pipe \
        !          44524: lt_cv_sys_global_symbol_to_cdecl \
        !          44525: lt_cv_sys_global_symbol_to_import \
        !          44526: lt_cv_sys_global_symbol_to_c_name_address \
        !          44527: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
        !          44528: lt_cv_nm_interface \
        !          44529: nm_file_list_spec \
        !          44530: lt_cv_truncate_bin \
        !          44531: lt_prog_compiler_no_builtin_flag \
        !          44532: lt_prog_compiler_pic \
        !          44533: lt_prog_compiler_wl \
        !          44534: lt_prog_compiler_static \
        !          44535: lt_cv_prog_compiler_c_o \
        !          44536: need_locks \
        !          44537: MANIFEST_TOOL \
        !          44538: DSYMUTIL \
        !          44539: NMEDIT \
        !          44540: LIPO \
        !          44541: OTOOL \
        !          44542: OTOOL64 \
        !          44543: shrext_cmds \
        !          44544: export_dynamic_flag_spec \
        !          44545: whole_archive_flag_spec \
        !          44546: compiler_needs_object \
        !          44547: with_gnu_ld \
        !          44548: allow_undefined_flag \
        !          44549: no_undefined_flag \
        !          44550: hardcode_libdir_flag_spec \
        !          44551: hardcode_libdir_separator \
        !          44552: exclude_expsyms \
        !          44553: include_expsyms \
        !          44554: file_list_spec \
        !          44555: variables_saved_for_relink \
        !          44556: libname_spec \
        !          44557: library_names_spec \
        !          44558: soname_spec \
        !          44559: install_override_mode \
        !          44560: finish_eval \
        !          44561: old_striplib \
        !          44562: striplib; do
        !          44563:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
        !          44564:     *[\\\\\\\`\\"\\\$]*)
        !          44565:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
        !          44566:       ;;
        !          44567:     *)
        !          44568:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
        !          44569:       ;;
        !          44570:     esac
        !          44571: done
        !          44572: 
        !          44573: # Double-quote double-evaled strings.
        !          44574: for var in reload_cmds \
        !          44575: old_postinstall_cmds \
        !          44576: old_postuninstall_cmds \
        !          44577: old_archive_cmds \
        !          44578: extract_expsyms_cmds \
        !          44579: old_archive_from_new_cmds \
        !          44580: old_archive_from_expsyms_cmds \
        !          44581: archive_cmds \
        !          44582: archive_expsym_cmds \
        !          44583: module_cmds \
        !          44584: module_expsym_cmds \
        !          44585: export_symbols_cmds \
        !          44586: prelink_cmds \
        !          44587: postlink_cmds \
        !          44588: postinstall_cmds \
        !          44589: postuninstall_cmds \
        !          44590: finish_cmds \
        !          44591: sys_lib_search_path_spec \
        !          44592: configure_time_dlsearch_path \
        !          44593: configure_time_lt_sys_library_path; do
        !          44594:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
        !          44595:     *[\\\\\\\`\\"\\\$]*)
        !          44596:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
        !          44597:       ;;
        !          44598:     *)
        !          44599:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
        !          44600:       ;;
        !          44601:     esac
        !          44602: done
        !          44603: 
        !          44604: ac_aux_dir='$ac_aux_dir'
        !          44605: 
        !          44606: # See if we are running on zsh, and set the options that allow our
        !          44607: # commands through without removal of \ escapes INIT.
        !          44608: if test -n "\${ZSH_VERSION+set}"; then
        !          44609:    setopt NO_GLOB_SUBST
        !          44610: fi
        !          44611: 
        !          44612: 
        !          44613:     PACKAGE='$PACKAGE'
        !          44614:     VERSION='$VERSION'
        !          44615:     RM='$RM'
        !          44616:     ofile='$ofile'
        !          44617: 
        !          44618: 
        !          44619: 
        !          44620: 
        !          44621: _ACEOF
        !          44622: 
        !          44623: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          44624: 
        !          44625: # Handling of arguments.
        !          44626: for ac_config_target in $ac_config_targets
        !          44627: do
        !          44628:   case $ac_config_target in
        !          44629:     "lib/curl_config.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/curl_config.h" ;;
        !          44630:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
        !          44631:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
        !          44632:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
        !          44633:     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
        !          44634:     "docs/examples/Makefile") CONFIG_FILES="$CONFIG_FILES docs/examples/Makefile" ;;
        !          44635:     "docs/libcurl/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libcurl/Makefile" ;;
        !          44636:     "docs/libcurl/opts/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libcurl/opts/Makefile" ;;
        !          44637:     "docs/cmdline-opts/Makefile") CONFIG_FILES="$CONFIG_FILES docs/cmdline-opts/Makefile" ;;
        !          44638:     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
        !          44639:     "include/curl/Makefile") CONFIG_FILES="$CONFIG_FILES include/curl/Makefile" ;;
        !          44640:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
        !          44641:     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
        !          44642:     "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
        !          44643:     "lib/libcurl.vers") CONFIG_FILES="$CONFIG_FILES lib/libcurl.vers" ;;
        !          44644:     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
        !          44645:     "tests/certs/Makefile") CONFIG_FILES="$CONFIG_FILES tests/certs/Makefile" ;;
        !          44646:     "tests/certs/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES tests/certs/scripts/Makefile" ;;
        !          44647:     "tests/data/Makefile") CONFIG_FILES="$CONFIG_FILES tests/data/Makefile" ;;
        !          44648:     "tests/server/Makefile") CONFIG_FILES="$CONFIG_FILES tests/server/Makefile" ;;
        !          44649:     "tests/libtest/Makefile") CONFIG_FILES="$CONFIG_FILES tests/libtest/Makefile" ;;
        !          44650:     "tests/unit/Makefile") CONFIG_FILES="$CONFIG_FILES tests/unit/Makefile" ;;
        !          44651:     "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
        !          44652:     "packages/vms/Makefile") CONFIG_FILES="$CONFIG_FILES packages/vms/Makefile" ;;
        !          44653:     "curl-config") CONFIG_FILES="$CONFIG_FILES curl-config" ;;
        !          44654:     "libcurl.pc") CONFIG_FILES="$CONFIG_FILES libcurl.pc" ;;
        !          44655: 
        !          44656:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
        !          44657:   esac
        !          44658: done
        !          44659: 
        !          44660: 
        !          44661: # If the user did not use the arguments to specify the items to instantiate,
        !          44662: # then the envvar interface is used.  Set only those that are not.
        !          44663: # We use the long form for the default assignment because of an extremely
        !          44664: # bizarre bug on SunOS 4.1.3.
        !          44665: if $ac_need_defaults; then
        !          44666:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
        !          44667:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
        !          44668:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
        !          44669: fi
        !          44670: 
        !          44671: # Have a temporary directory for convenience.  Make it in the build tree
        !          44672: # simply because there is no reason against having it here, and in addition,
        !          44673: # creating and moving files from /tmp can sometimes cause problems.
        !          44674: # Hook for its removal unless debugging.
        !          44675: # Note that there is a small window in which the directory will not be cleaned:
        !          44676: # after its creation but before its name has been assigned to `$tmp'.
        !          44677: $debug ||
        !          44678: {
        !          44679:   tmp= ac_tmp=
        !          44680:   trap 'exit_status=$?
        !          44681:   : "${ac_tmp:=$tmp}"
        !          44682:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
        !          44683: ' 0
        !          44684:   trap 'as_fn_exit 1' 1 2 13 15
        !          44685: }
        !          44686: # Create a (secure) tmp directory for tmp files.
        !          44687: 
        !          44688: {
        !          44689:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
        !          44690:   test -d "$tmp"
        !          44691: }  ||
        !          44692: {
        !          44693:   tmp=./conf$$-$RANDOM
        !          44694:   (umask 077 && mkdir "$tmp")
        !          44695: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
        !          44696: ac_tmp=$tmp
        !          44697: 
        !          44698: # Set up the scripts for CONFIG_FILES section.
        !          44699: # No need to generate them if there are no CONFIG_FILES.
        !          44700: # This happens for instance with `./config.status config.h'.
        !          44701: if test -n "$CONFIG_FILES"; then
        !          44702: 
        !          44703: 
        !          44704: ac_cr=`echo X | tr X '\015'`
        !          44705: # On cygwin, bash can eat \r inside `` if the user requested igncr.
        !          44706: # But we know of no other shell where ac_cr would be empty at this
        !          44707: # point, so we can use a bashism as a fallback.
        !          44708: if test "x$ac_cr" = x; then
        !          44709:   eval ac_cr=\$\'\\r\'
        !          44710: fi
        !          44711: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
        !          44712: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
        !          44713:   ac_cs_awk_cr='\\r'
        !          44714: else
        !          44715:   ac_cs_awk_cr=$ac_cr
        !          44716: fi
        !          44717: 
        !          44718: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
        !          44719: _ACEOF
        !          44720: 
        !          44721: 
        !          44722: {
        !          44723:   echo "cat >conf$$subs.awk <<_ACEOF" &&
        !          44724:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
        !          44725:   echo "_ACEOF"
        !          44726: } >conf$$subs.sh ||
        !          44727:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
        !          44728: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
        !          44729: ac_delim='%!_!# '
        !          44730: for ac_last_try in false false false false false :; do
        !          44731:   . ./conf$$subs.sh ||
        !          44732:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
        !          44733: 
        !          44734:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
        !          44735:   if test $ac_delim_n = $ac_delim_num; then
        !          44736:     break
        !          44737:   elif $ac_last_try; then
        !          44738:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
        !          44739:   else
        !          44740:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
        !          44741:   fi
        !          44742: done
        !          44743: rm -f conf$$subs.sh
        !          44744: 
        !          44745: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          44746: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
        !          44747: _ACEOF
        !          44748: sed -n '
        !          44749: h
        !          44750: s/^/S["/; s/!.*/"]=/
        !          44751: p
        !          44752: g
        !          44753: s/^[^!]*!//
        !          44754: :repl
        !          44755: t repl
        !          44756: s/'"$ac_delim"'$//
        !          44757: t delim
        !          44758: :nl
        !          44759: h
        !          44760: s/\(.\{148\}\)..*/\1/
        !          44761: t more1
        !          44762: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
        !          44763: p
        !          44764: n
        !          44765: b repl
        !          44766: :more1
        !          44767: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
        !          44768: p
        !          44769: g
        !          44770: s/.\{148\}//
        !          44771: t nl
        !          44772: :delim
        !          44773: h
        !          44774: s/\(.\{148\}\)..*/\1/
        !          44775: t more2
        !          44776: s/["\\]/\\&/g; s/^/"/; s/$/"/
        !          44777: p
        !          44778: b
        !          44779: :more2
        !          44780: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
        !          44781: p
        !          44782: g
        !          44783: s/.\{148\}//
        !          44784: t delim
        !          44785: ' <conf$$subs.awk | sed '
        !          44786: /^[^""]/{
        !          44787:   N
        !          44788:   s/\n//
        !          44789: }
        !          44790: ' >>$CONFIG_STATUS || ac_write_fail=1
        !          44791: rm -f conf$$subs.awk
        !          44792: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          44793: _ACAWK
        !          44794: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
        !          44795:   for (key in S) S_is_set[key] = 1
        !          44796:   FS = ""
        !          44797: 
        !          44798: }
        !          44799: {
        !          44800:   line = $ 0
        !          44801:   nfields = split(line, field, "@")
        !          44802:   substed = 0
        !          44803:   len = length(field[1])
        !          44804:   for (i = 2; i < nfields; i++) {
        !          44805:     key = field[i]
        !          44806:     keylen = length(key)
        !          44807:     if (S_is_set[key]) {
        !          44808:       value = S[key]
        !          44809:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
        !          44810:       len += length(value) + length(field[++i])
        !          44811:       substed = 1
        !          44812:     } else
        !          44813:       len += 1 + keylen
        !          44814:   }
        !          44815: 
        !          44816:   print line
        !          44817: }
        !          44818: 
        !          44819: _ACAWK
        !          44820: _ACEOF
        !          44821: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          44822: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
        !          44823:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
        !          44824: else
        !          44825:   cat
        !          44826: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
        !          44827:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
        !          44828: _ACEOF
        !          44829: 
        !          44830: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
        !          44831: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
        !          44832: # trailing colons and then remove the whole line if VPATH becomes empty
        !          44833: # (actually we leave an empty line to preserve line numbers).
        !          44834: if test "x$srcdir" = x.; then
        !          44835:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
        !          44836: h
        !          44837: s///
        !          44838: s/^/:/
        !          44839: s/[     ]*$/:/
        !          44840: s/:\$(srcdir):/:/g
        !          44841: s/:\${srcdir}:/:/g
        !          44842: s/:@srcdir@:/:/g
        !          44843: s/^:*//
        !          44844: s/:*$//
        !          44845: x
        !          44846: s/\(=[  ]*\).*/\1/
        !          44847: G
        !          44848: s/\n//
        !          44849: s/^[^=]*=[      ]*$//
        !          44850: }'
        !          44851: fi
        !          44852: 
        !          44853: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          44854: fi # test -n "$CONFIG_FILES"
        !          44855: 
        !          44856: # Set up the scripts for CONFIG_HEADERS section.
        !          44857: # No need to generate them if there are no CONFIG_HEADERS.
        !          44858: # This happens for instance with `./config.status Makefile'.
        !          44859: if test -n "$CONFIG_HEADERS"; then
        !          44860: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
        !          44861: BEGIN {
        !          44862: _ACEOF
        !          44863: 
        !          44864: # Transform confdefs.h into an awk script `defines.awk', embedded as
        !          44865: # here-document in config.status, that substitutes the proper values into
        !          44866: # config.h.in to produce config.h.
        !          44867: 
        !          44868: # Create a delimiter string that does not exist in confdefs.h, to ease
        !          44869: # handling of long lines.
        !          44870: ac_delim='%!_!# '
        !          44871: for ac_last_try in false false :; do
        !          44872:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
        !          44873:   if test -z "$ac_tt"; then
        !          44874:     break
        !          44875:   elif $ac_last_try; then
        !          44876:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
        !          44877:   else
        !          44878:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
        !          44879:   fi
        !          44880: done
        !          44881: 
        !          44882: # For the awk script, D is an array of macro values keyed by name,
        !          44883: # likewise P contains macro parameters if any.  Preserve backslash
        !          44884: # newline sequences.
        !          44885: 
        !          44886: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
        !          44887: sed -n '
        !          44888: s/.\{148\}/&'"$ac_delim"'/g
        !          44889: t rset
        !          44890: :rset
        !          44891: s/^[    ]*#[    ]*define[       ][      ]*/ /
        !          44892: t def
        !          44893: d
        !          44894: :def
        !          44895: s/\\$//
        !          44896: t bsnl
        !          44897: s/["\\]/\\&/g
        !          44898: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
        !          44899: D["\1"]=" \3"/p
        !          44900: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
        !          44901: d
        !          44902: :bsnl
        !          44903: s/["\\]/\\&/g
        !          44904: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
        !          44905: D["\1"]=" \3\\\\\\n"\\/p
        !          44906: t cont
        !          44907: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
        !          44908: t cont
        !          44909: d
        !          44910: :cont
        !          44911: n
        !          44912: s/.\{148\}/&'"$ac_delim"'/g
        !          44913: t clear
        !          44914: :clear
        !          44915: s/\\$//
        !          44916: t bsnlc
        !          44917: s/["\\]/\\&/g; s/^/"/; s/$/"/p
        !          44918: d
        !          44919: :bsnlc
        !          44920: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
        !          44921: b cont
        !          44922: ' <confdefs.h | sed '
        !          44923: s/'"$ac_delim"'/"\\\
        !          44924: "/g' >>$CONFIG_STATUS || ac_write_fail=1
        !          44925: 
        !          44926: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          44927:   for (key in D) D_is_set[key] = 1
        !          44928:   FS = ""
        !          44929: }
        !          44930: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
        !          44931:   line = \$ 0
        !          44932:   split(line, arg, " ")
        !          44933:   if (arg[1] == "#") {
        !          44934:     defundef = arg[2]
        !          44935:     mac1 = arg[3]
        !          44936:   } else {
        !          44937:     defundef = substr(arg[1], 2)
        !          44938:     mac1 = arg[2]
        !          44939:   }
        !          44940:   split(mac1, mac2, "(") #)
        !          44941:   macro = mac2[1]
        !          44942:   prefix = substr(line, 1, index(line, defundef) - 1)
        !          44943:   if (D_is_set[macro]) {
        !          44944:     # Preserve the white space surrounding the "#".
        !          44945:     print prefix "define", macro P[macro] D[macro]
        !          44946:     next
        !          44947:   } else {
        !          44948:     # Replace #undef with comments.  This is necessary, for example,
        !          44949:     # in the case of _POSIX_SOURCE, which is predefined and required
        !          44950:     # on some systems where configure will not decide to define it.
        !          44951:     if (defundef == "undef") {
        !          44952:       print "/*", prefix defundef, macro, "*/"
        !          44953:       next
        !          44954:     }
        !          44955:   }
        !          44956: }
        !          44957: { print }
        !          44958: _ACAWK
        !          44959: _ACEOF
        !          44960: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          44961:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
        !          44962: fi # test -n "$CONFIG_HEADERS"
        !          44963: 
        !          44964: 
        !          44965: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
        !          44966: shift
        !          44967: for ac_tag
        !          44968: do
        !          44969:   case $ac_tag in
        !          44970:   :[FHLC]) ac_mode=$ac_tag; continue;;
        !          44971:   esac
        !          44972:   case $ac_mode$ac_tag in
        !          44973:   :[FHL]*:*);;
        !          44974:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
        !          44975:   :[FH]-) ac_tag=-:-;;
        !          44976:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
        !          44977:   esac
        !          44978:   ac_save_IFS=$IFS
        !          44979:   IFS=:
        !          44980:   set x $ac_tag
        !          44981:   IFS=$ac_save_IFS
        !          44982:   shift
        !          44983:   ac_file=$1
        !          44984:   shift
        !          44985: 
        !          44986:   case $ac_mode in
        !          44987:   :L) ac_source=$1;;
        !          44988:   :[FH])
        !          44989:     ac_file_inputs=
        !          44990:     for ac_f
        !          44991:     do
        !          44992:       case $ac_f in
        !          44993:       -) ac_f="$ac_tmp/stdin";;
        !          44994:       *) # Look for the file first in the build tree, then in the source tree
        !          44995:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
        !          44996:         # because $ac_f cannot contain `:'.
        !          44997:         test -f "$ac_f" ||
        !          44998:           case $ac_f in
        !          44999:           [\\/$]*) false;;
        !          45000:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
        !          45001:           esac ||
        !          45002:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
        !          45003:       esac
        !          45004:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
        !          45005:       as_fn_append ac_file_inputs " '$ac_f'"
        !          45006:     done
        !          45007: 
        !          45008:     # Let's still pretend it is `configure' which instantiates (i.e., don't
        !          45009:     # use $as_me), people would be surprised to read:
        !          45010:     #    /* config.h.  Generated by config.status.  */
        !          45011:     configure_input='Generated from '`
        !          45012:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
        !          45013:        `' by configure.'
        !          45014:     if test x"$ac_file" != x-; then
        !          45015:       configure_input="$ac_file.  $configure_input"
        !          45016:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
        !          45017: $as_echo "$as_me: creating $ac_file" >&6;}
        !          45018:     fi
        !          45019:     # Neutralize special characters interpreted by sed in replacement strings.
        !          45020:     case $configure_input in #(
        !          45021:     *\&* | *\|* | *\\* )
        !          45022:        ac_sed_conf_input=`$as_echo "$configure_input" |
        !          45023:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
        !          45024:     *) ac_sed_conf_input=$configure_input;;
        !          45025:     esac
        !          45026: 
        !          45027:     case $ac_tag in
        !          45028:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
        !          45029:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
        !          45030:     esac
        !          45031:     ;;
        !          45032:   esac
        !          45033: 
        !          45034:   ac_dir=`$as_dirname -- "$ac_file" ||
        !          45035: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          45036:         X"$ac_file" : 'X\(//\)[^/]' \| \
        !          45037:         X"$ac_file" : 'X\(//\)$' \| \
        !          45038:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
        !          45039: $as_echo X"$ac_file" |
        !          45040:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
        !          45041:            s//\1/
        !          45042:            q
        !          45043:          }
        !          45044:          /^X\(\/\/\)[^/].*/{
        !          45045:            s//\1/
        !          45046:            q
        !          45047:          }
        !          45048:          /^X\(\/\/\)$/{
        !          45049:            s//\1/
        !          45050:            q
        !          45051:          }
        !          45052:          /^X\(\/\).*/{
        !          45053:            s//\1/
        !          45054:            q
        !          45055:          }
        !          45056:          s/.*/./; q'`
        !          45057:   as_dir="$ac_dir"; as_fn_mkdir_p
        !          45058:   ac_builddir=.
        !          45059: 
        !          45060: case "$ac_dir" in
        !          45061: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
        !          45062: *)
        !          45063:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
        !          45064:   # A ".." for each directory in $ac_dir_suffix.
        !          45065:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
        !          45066:   case $ac_top_builddir_sub in
        !          45067:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
        !          45068:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
        !          45069:   esac ;;
        !          45070: esac
        !          45071: ac_abs_top_builddir=$ac_pwd
        !          45072: ac_abs_builddir=$ac_pwd$ac_dir_suffix
        !          45073: # for backward compatibility:
        !          45074: ac_top_builddir=$ac_top_build_prefix
        !          45075: 
        !          45076: case $srcdir in
        !          45077:   .)  # We are building in place.
        !          45078:     ac_srcdir=.
        !          45079:     ac_top_srcdir=$ac_top_builddir_sub
        !          45080:     ac_abs_top_srcdir=$ac_pwd ;;
        !          45081:   [\\/]* | ?:[\\/]* )  # Absolute name.
        !          45082:     ac_srcdir=$srcdir$ac_dir_suffix;
        !          45083:     ac_top_srcdir=$srcdir
        !          45084:     ac_abs_top_srcdir=$srcdir ;;
        !          45085:   *) # Relative name.
        !          45086:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
        !          45087:     ac_top_srcdir=$ac_top_build_prefix$srcdir
        !          45088:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
        !          45089: esac
        !          45090: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
        !          45091: 
        !          45092: 
        !          45093:   case $ac_mode in
        !          45094:   :F)
        !          45095:   #
        !          45096:   # CONFIG_FILE
        !          45097:   #
        !          45098: 
        !          45099:   case $INSTALL in
        !          45100:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
        !          45101:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
        !          45102:   esac
        !          45103:   ac_MKDIR_P=$MKDIR_P
        !          45104:   case $MKDIR_P in
        !          45105:   [\\/$]* | ?:[\\/]* ) ;;
        !          45106:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
        !          45107:   esac
        !          45108: _ACEOF
        !          45109: 
        !          45110: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          45111: # If the template does not know about datarootdir, expand it.
        !          45112: # FIXME: This hack should be removed a few years after 2.60.
        !          45113: ac_datarootdir_hack=; ac_datarootdir_seen=
        !          45114: ac_sed_dataroot='
        !          45115: /datarootdir/ {
        !          45116:   p
        !          45117:   q
        !          45118: }
        !          45119: /@datadir@/p
        !          45120: /@docdir@/p
        !          45121: /@infodir@/p
        !          45122: /@localedir@/p
        !          45123: /@mandir@/p'
        !          45124: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
        !          45125: *datarootdir*) ac_datarootdir_seen=yes;;
        !          45126: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
        !          45127:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
        !          45128: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
        !          45129: _ACEOF
        !          45130: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          45131:   ac_datarootdir_hack='
        !          45132:   s&@datadir@&$datadir&g
        !          45133:   s&@docdir@&$docdir&g
        !          45134:   s&@infodir@&$infodir&g
        !          45135:   s&@localedir@&$localedir&g
        !          45136:   s&@mandir@&$mandir&g
        !          45137:   s&\\\${datarootdir}&$datarootdir&g' ;;
        !          45138: esac
        !          45139: _ACEOF
        !          45140: 
        !          45141: # Neutralize VPATH when `$srcdir' = `.'.
        !          45142: # Shell code in configure.ac might set extrasub.
        !          45143: # FIXME: do we really want to maintain this feature?
        !          45144: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          45145: ac_sed_extra="$ac_vpsub
        !          45146: $extrasub
        !          45147: _ACEOF
        !          45148: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          45149: :t
        !          45150: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
        !          45151: s|@configure_input@|$ac_sed_conf_input|;t t
        !          45152: s&@top_builddir@&$ac_top_builddir_sub&;t t
        !          45153: s&@top_build_prefix@&$ac_top_build_prefix&;t t
        !          45154: s&@srcdir@&$ac_srcdir&;t t
        !          45155: s&@abs_srcdir@&$ac_abs_srcdir&;t t
        !          45156: s&@top_srcdir@&$ac_top_srcdir&;t t
        !          45157: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
        !          45158: s&@builddir@&$ac_builddir&;t t
        !          45159: s&@abs_builddir@&$ac_abs_builddir&;t t
        !          45160: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
        !          45161: s&@INSTALL@&$ac_INSTALL&;t t
        !          45162: s&@MKDIR_P@&$ac_MKDIR_P&;t t
        !          45163: $ac_datarootdir_hack
        !          45164: "
        !          45165: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
        !          45166:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
        !          45167: 
        !          45168: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
        !          45169:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
        !          45170:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
        !          45171:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
        !          45172:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
        !          45173: which seems to be undefined.  Please make sure it is defined" >&5
        !          45174: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
        !          45175: which seems to be undefined.  Please make sure it is defined" >&2;}
        !          45176: 
        !          45177:   rm -f "$ac_tmp/stdin"
        !          45178:   case $ac_file in
        !          45179:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
        !          45180:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
        !          45181:   esac \
        !          45182:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
        !          45183:  ;;
        !          45184:   :H)
        !          45185:   #
        !          45186:   # CONFIG_HEADER
        !          45187:   #
        !          45188:   if test x"$ac_file" != x-; then
        !          45189:     {
        !          45190:       $as_echo "/* $configure_input  */" \
        !          45191:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
        !          45192:     } >"$ac_tmp/config.h" \
        !          45193:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
        !          45194:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
        !          45195:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
        !          45196: $as_echo "$as_me: $ac_file is unchanged" >&6;}
        !          45197:     else
        !          45198:       rm -f "$ac_file"
        !          45199:       mv "$ac_tmp/config.h" "$ac_file" \
        !          45200:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
        !          45201:     fi
        !          45202:   else
        !          45203:     $as_echo "/* $configure_input  */" \
        !          45204:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
        !          45205:       || as_fn_error $? "could not create -" "$LINENO" 5
        !          45206:   fi
        !          45207: # Compute "$ac_file"'s index in $config_headers.
        !          45208: _am_arg="$ac_file"
        !          45209: _am_stamp_count=1
        !          45210: for _am_header in $config_headers :; do
        !          45211:   case $_am_header in
        !          45212:     $_am_arg | $_am_arg:* )
        !          45213:       break ;;
        !          45214:     * )
        !          45215:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
        !          45216:   esac
        !          45217: done
        !          45218: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
        !          45219: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          45220:         X"$_am_arg" : 'X\(//\)[^/]' \| \
        !          45221:         X"$_am_arg" : 'X\(//\)$' \| \
        !          45222:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
        !          45223: $as_echo X"$_am_arg" |
        !          45224:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
        !          45225:            s//\1/
        !          45226:            q
        !          45227:          }
        !          45228:          /^X\(\/\/\)[^/].*/{
        !          45229:            s//\1/
        !          45230:            q
        !          45231:          }
        !          45232:          /^X\(\/\/\)$/{
        !          45233:            s//\1/
        !          45234:            q
        !          45235:          }
        !          45236:          /^X\(\/\).*/{
        !          45237:            s//\1/
        !          45238:            q
        !          45239:          }
        !          45240:          s/.*/./; q'`/stamp-h$_am_stamp_count
        !          45241:  ;;
        !          45242: 
        !          45243:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
        !          45244: $as_echo "$as_me: executing $ac_file commands" >&6;}
        !          45245:  ;;
        !          45246:   esac
        !          45247: 
        !          45248: 
        !          45249:   case $ac_file$ac_mode in
        !          45250:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
        !          45251:   # Older Autoconf quotes --file arguments for eval, but not when files
        !          45252:   # are listed without --file.  Let's play safe and only enable the eval
        !          45253:   # if we detect the quoting.
        !          45254:   # TODO: see whether this extra hack can be removed once we start
        !          45255:   # requiring Autoconf 2.70 or later.
        !          45256:   case $CONFIG_FILES in #(
        !          45257:   *\'*) :
        !          45258:     eval set x "$CONFIG_FILES" ;; #(
        !          45259:   *) :
        !          45260:     set x $CONFIG_FILES ;; #(
        !          45261:   *) :
        !          45262:      ;;
        !          45263: esac
        !          45264:   shift
        !          45265:   # Used to flag and report bootstrapping failures.
        !          45266:   am_rc=0
        !          45267:   for am_mf
        !          45268:   do
        !          45269:     # Strip MF so we end up with the name of the file.
        !          45270:     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
        !          45271:     # Check whether this is an Automake generated Makefile which includes
        !          45272:     # dependency-tracking related rules and includes.
        !          45273:     # Grep'ing the whole file directly is not great: AIX grep has a line
        !          45274:     # limit of 2048, but all sed's we know have understand at least 4000.
        !          45275:     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
        !          45276:       || continue
        !          45277:     am_dirpart=`$as_dirname -- "$am_mf" ||
        !          45278: $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          45279:         X"$am_mf" : 'X\(//\)[^/]' \| \
        !          45280:         X"$am_mf" : 'X\(//\)$' \| \
        !          45281:         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
        !          45282: $as_echo X"$am_mf" |
        !          45283:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
        !          45284:            s//\1/
        !          45285:            q
        !          45286:          }
        !          45287:          /^X\(\/\/\)[^/].*/{
        !          45288:            s//\1/
        !          45289:            q
        !          45290:          }
        !          45291:          /^X\(\/\/\)$/{
        !          45292:            s//\1/
        !          45293:            q
        !          45294:          }
        !          45295:          /^X\(\/\).*/{
        !          45296:            s//\1/
        !          45297:            q
        !          45298:          }
        !          45299:          s/.*/./; q'`
        !          45300:     am_filepart=`$as_basename -- "$am_mf" ||
        !          45301: $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
        !          45302:         X"$am_mf" : 'X\(//\)$' \| \
        !          45303:         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
        !          45304: $as_echo X/"$am_mf" |
        !          45305:     sed '/^.*\/\([^/][^/]*\)\/*$/{
        !          45306:            s//\1/
        !          45307:            q
        !          45308:          }
        !          45309:          /^X\/\(\/\/\)$/{
        !          45310:            s//\1/
        !          45311:            q
        !          45312:          }
        !          45313:          /^X\/\(\/\).*/{
        !          45314:            s//\1/
        !          45315:            q
        !          45316:          }
        !          45317:          s/.*/./; q'`
        !          45318:     { echo "$as_me:$LINENO: cd "$am_dirpart" \
        !          45319:       && sed -e '/# am--include-marker/d' "$am_filepart" \
        !          45320:         | $MAKE -f - am--depfiles" >&5
        !          45321:    (cd "$am_dirpart" \
        !          45322:       && sed -e '/# am--include-marker/d' "$am_filepart" \
        !          45323:         | $MAKE -f - am--depfiles) >&5 2>&5
        !          45324:    ac_status=$?
        !          45325:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          45326:    (exit $ac_status); } || am_rc=$?
        !          45327:   done
        !          45328:   if test $am_rc -ne 0; then
        !          45329:     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          45330: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          45331: as_fn_error $? "Something went wrong bootstrapping makefile fragments
        !          45332:     for automatic dependency tracking.  If GNU make was not used, consider
        !          45333:     re-running the configure script with MAKE=\"gmake\" (or whatever is
        !          45334:     necessary).  You can also try re-running configure with the
        !          45335:     '--disable-dependency-tracking' option to at least be able to build
        !          45336:     the package (albeit without support for automatic dependency tracking).
        !          45337: See \`config.log' for more details" "$LINENO" 5; }
        !          45338:   fi
        !          45339:   { am_dirpart=; unset am_dirpart;}
        !          45340:   { am_filepart=; unset am_filepart;}
        !          45341:   { am_mf=; unset am_mf;}
        !          45342:   { am_rc=; unset am_rc;}
        !          45343:   rm -f conftest-deps.mk
        !          45344: }
        !          45345:  ;;
        !          45346:     "libtool":C)
        !          45347: 
        !          45348:     # See if we are running on zsh, and set the options that allow our
        !          45349:     # commands through without removal of \ escapes.
        !          45350:     if test -n "${ZSH_VERSION+set}"; then
        !          45351:       setopt NO_GLOB_SUBST
        !          45352:     fi
        !          45353: 
        !          45354:     cfgfile=${ofile}T
        !          45355:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
        !          45356:     $RM "$cfgfile"
        !          45357: 
        !          45358:     cat <<_LT_EOF >> "$cfgfile"
        !          45359: #! $SHELL
        !          45360: # Generated automatically by $as_me ($PACKAGE) $VERSION
        !          45361: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
        !          45362: 
        !          45363: # Provide generalized library-building support services.
        !          45364: # Written by Gordon Matzigkeit, 1996
        !          45365: 
        !          45366: # Copyright (C) 2014 Free Software Foundation, Inc.
        !          45367: # This is free software; see the source for copying conditions.  There is NO
        !          45368: # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
        !          45369: 
        !          45370: # GNU Libtool is free software; you can redistribute it and/or modify
        !          45371: # it under the terms of the GNU General Public License as published by
        !          45372: # the Free Software Foundation; either version 2 of of the License, or
        !          45373: # (at your option) any later version.
        !          45374: #
        !          45375: # As a special exception to the GNU General Public License, if you
        !          45376: # distribute this file as part of a program or library that is built
        !          45377: # using GNU Libtool, you may include this file under the  same
        !          45378: # distribution terms that you use for the rest of that program.
        !          45379: #
        !          45380: # GNU Libtool is distributed in the hope that it will be useful, but
        !          45381: # WITHOUT ANY WARRANTY; without even the implied warranty of
        !          45382: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !          45383: # GNU General Public License for more details.
        !          45384: #
        !          45385: # You should have received a copy of the GNU General Public License
        !          45386: # along with this program.  If not, see <http://www.gnu.org/licenses/>.
        !          45387: 
        !          45388: 
        !          45389: # The names of the tagged configurations supported by this script.
        !          45390: available_tags=''
        !          45391: 
        !          45392: # Configured defaults for sys_lib_dlsearch_path munging.
        !          45393: : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
        !          45394: 
        !          45395: # ### BEGIN LIBTOOL CONFIG
        !          45396: 
        !          45397: # Which release of libtool.m4 was used?
        !          45398: macro_version=$macro_version
        !          45399: macro_revision=$macro_revision
        !          45400: 
        !          45401: # Assembler program.
        !          45402: AS=$lt_AS
        !          45403: 
        !          45404: # DLL creation program.
        !          45405: DLLTOOL=$lt_DLLTOOL
        !          45406: 
        !          45407: # Object dumper program.
        !          45408: OBJDUMP=$lt_OBJDUMP
        !          45409: 
        !          45410: # Whether or not to build shared libraries.
        !          45411: build_libtool_libs=$enable_shared
        !          45412: 
        !          45413: # Whether or not to build static libraries.
        !          45414: build_old_libs=$enable_static
        !          45415: 
        !          45416: # What type of objects to build.
        !          45417: pic_mode=$pic_mode
        !          45418: 
        !          45419: # Whether or not to optimize for fast installation.
        !          45420: fast_install=$enable_fast_install
        !          45421: 
        !          45422: # Shared archive member basename,for filename based shared library versioning on AIX.
        !          45423: shared_archive_member_spec=$shared_archive_member_spec
        !          45424: 
        !          45425: # Shell to use when invoking shell scripts.
        !          45426: SHELL=$lt_SHELL
        !          45427: 
        !          45428: # An echo program that protects backslashes.
        !          45429: ECHO=$lt_ECHO
        !          45430: 
        !          45431: # The PATH separator for the build system.
        !          45432: PATH_SEPARATOR=$lt_PATH_SEPARATOR
        !          45433: 
        !          45434: # The host system.
        !          45435: host_alias=$host_alias
        !          45436: host=$host
        !          45437: host_os=$host_os
        !          45438: 
        !          45439: # The build system.
        !          45440: build_alias=$build_alias
        !          45441: build=$build
        !          45442: build_os=$build_os
        !          45443: 
        !          45444: # A sed program that does not truncate output.
        !          45445: SED=$lt_SED
        !          45446: 
        !          45447: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
        !          45448: Xsed="\$SED -e 1s/^X//"
        !          45449: 
        !          45450: # A grep program that handles long lines.
        !          45451: GREP=$lt_GREP
        !          45452: 
        !          45453: # An ERE matcher.
        !          45454: EGREP=$lt_EGREP
        !          45455: 
        !          45456: # A literal string matcher.
        !          45457: FGREP=$lt_FGREP
        !          45458: 
        !          45459: # A BSD- or MS-compatible name lister.
        !          45460: NM=$lt_NM
        !          45461: 
        !          45462: # Whether we need soft or hard links.
        !          45463: LN_S=$lt_LN_S
        !          45464: 
        !          45465: # What is the maximum length of a command?
        !          45466: max_cmd_len=$max_cmd_len
        !          45467: 
        !          45468: # Object file suffix (normally "o").
        !          45469: objext=$ac_objext
        !          45470: 
        !          45471: # Executable file suffix (normally "").
        !          45472: exeext=$exeext
        !          45473: 
        !          45474: # whether the shell understands "unset".
        !          45475: lt_unset=$lt_unset
        !          45476: 
        !          45477: # turn spaces into newlines.
        !          45478: SP2NL=$lt_lt_SP2NL
        !          45479: 
        !          45480: # turn newlines into spaces.
        !          45481: NL2SP=$lt_lt_NL2SP
        !          45482: 
        !          45483: # convert \$build file names to \$host format.
        !          45484: to_host_file_cmd=$lt_cv_to_host_file_cmd
        !          45485: 
        !          45486: # convert \$build files to toolchain format.
        !          45487: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
        !          45488: 
        !          45489: # Method to check whether dependent libraries are shared objects.
        !          45490: deplibs_check_method=$lt_deplibs_check_method
        !          45491: 
        !          45492: # Command to use when deplibs_check_method = "file_magic".
        !          45493: file_magic_cmd=$lt_file_magic_cmd
        !          45494: 
        !          45495: # How to find potential files when deplibs_check_method = "file_magic".
        !          45496: file_magic_glob=$lt_file_magic_glob
        !          45497: 
        !          45498: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
        !          45499: want_nocaseglob=$lt_want_nocaseglob
        !          45500: 
        !          45501: # Command to associate shared and link libraries.
        !          45502: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
        !          45503: 
        !          45504: # The archiver.
        !          45505: AR=$lt_AR
        !          45506: 
        !          45507: # Flags to create an archive.
        !          45508: AR_FLAGS=$lt_AR_FLAGS
        !          45509: 
        !          45510: # How to feed a file listing to the archiver.
        !          45511: archiver_list_spec=$lt_archiver_list_spec
        !          45512: 
        !          45513: # A symbol stripping program.
        !          45514: STRIP=$lt_STRIP
        !          45515: 
        !          45516: # Commands used to install an old-style archive.
        !          45517: RANLIB=$lt_RANLIB
        !          45518: old_postinstall_cmds=$lt_old_postinstall_cmds
        !          45519: old_postuninstall_cmds=$lt_old_postuninstall_cmds
        !          45520: 
        !          45521: # Whether to use a lock for old archive extraction.
        !          45522: lock_old_archive_extraction=$lock_old_archive_extraction
        !          45523: 
        !          45524: # A C compiler.
        !          45525: LTCC=$lt_CC
        !          45526: 
        !          45527: # LTCC compiler flags.
        !          45528: LTCFLAGS=$lt_CFLAGS
        !          45529: 
        !          45530: # Take the output of nm and produce a listing of raw symbols and C names.
        !          45531: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
        !          45532: 
        !          45533: # Transform the output of nm in a proper C declaration.
        !          45534: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
        !          45535: 
        !          45536: # Transform the output of nm into a list of symbols to manually relocate.
        !          45537: global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
        !          45538: 
        !          45539: # Transform the output of nm in a C name address pair.
        !          45540: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
        !          45541: 
        !          45542: # Transform the output of nm in a C name address pair when lib prefix is needed.
        !          45543: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
        !          45544: 
        !          45545: # The name lister interface.
        !          45546: nm_interface=$lt_lt_cv_nm_interface
        !          45547: 
        !          45548: # Specify filename containing input files for \$NM.
        !          45549: nm_file_list_spec=$lt_nm_file_list_spec
        !          45550: 
        !          45551: # The root where to search for dependent libraries,and where our libraries should be installed.
        !          45552: lt_sysroot=$lt_sysroot
        !          45553: 
        !          45554: # Command to truncate a binary pipe.
        !          45555: lt_truncate_bin=$lt_lt_cv_truncate_bin
        !          45556: 
        !          45557: # The name of the directory that contains temporary libtool files.
        !          45558: objdir=$objdir
        !          45559: 
        !          45560: # Used to examine libraries when file_magic_cmd begins with "file".
        !          45561: MAGIC_CMD=$MAGIC_CMD
        !          45562: 
        !          45563: # Must we lock files when doing compilation?
        !          45564: need_locks=$lt_need_locks
        !          45565: 
        !          45566: # Manifest tool.
        !          45567: MANIFEST_TOOL=$lt_MANIFEST_TOOL
        !          45568: 
        !          45569: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
        !          45570: DSYMUTIL=$lt_DSYMUTIL
        !          45571: 
        !          45572: # Tool to change global to local symbols on Mac OS X.
        !          45573: NMEDIT=$lt_NMEDIT
        !          45574: 
        !          45575: # Tool to manipulate fat objects and archives on Mac OS X.
        !          45576: LIPO=$lt_LIPO
        !          45577: 
        !          45578: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
        !          45579: OTOOL=$lt_OTOOL
        !          45580: 
        !          45581: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
        !          45582: OTOOL64=$lt_OTOOL64
        !          45583: 
        !          45584: # Old archive suffix (normally "a").
        !          45585: libext=$libext
        !          45586: 
        !          45587: # Shared library suffix (normally ".so").
        !          45588: shrext_cmds=$lt_shrext_cmds
        !          45589: 
        !          45590: # The commands to extract the exported symbol list from a shared archive.
        !          45591: extract_expsyms_cmds=$lt_extract_expsyms_cmds
        !          45592: 
        !          45593: # Variables whose values should be saved in libtool wrapper scripts and
        !          45594: # restored at link time.
        !          45595: variables_saved_for_relink=$lt_variables_saved_for_relink
        !          45596: 
        !          45597: # Do we need the "lib" prefix for modules?
        !          45598: need_lib_prefix=$need_lib_prefix
        !          45599: 
        !          45600: # Do we need a version for libraries?
        !          45601: need_version=$need_version
        !          45602: 
        !          45603: # Library versioning type.
        !          45604: version_type=$version_type
        !          45605: 
        !          45606: # Shared library runtime path variable.
        !          45607: runpath_var=$runpath_var
        !          45608: 
        !          45609: # Shared library path variable.
        !          45610: shlibpath_var=$shlibpath_var
        !          45611: 
        !          45612: # Is shlibpath searched before the hard-coded library search path?
        !          45613: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
        !          45614: 
        !          45615: # Format of library name prefix.
        !          45616: libname_spec=$lt_libname_spec
        !          45617: 
        !          45618: # List of archive names.  First name is the real one, the rest are links.
        !          45619: # The last name is the one that the linker finds with -lNAME
        !          45620: library_names_spec=$lt_library_names_spec
        !          45621: 
        !          45622: # The coded name of the library, if different from the real name.
        !          45623: soname_spec=$lt_soname_spec
        !          45624: 
        !          45625: # Permission mode override for installation of shared libraries.
        !          45626: install_override_mode=$lt_install_override_mode
        !          45627: 
        !          45628: # Command to use after installation of a shared archive.
        !          45629: postinstall_cmds=$lt_postinstall_cmds
        !          45630: 
        !          45631: # Command to use after uninstallation of a shared archive.
        !          45632: postuninstall_cmds=$lt_postuninstall_cmds
        !          45633: 
        !          45634: # Commands used to finish a libtool library installation in a directory.
        !          45635: finish_cmds=$lt_finish_cmds
        !          45636: 
        !          45637: # As "finish_cmds", except a single script fragment to be evaled but
        !          45638: # not shown.
        !          45639: finish_eval=$lt_finish_eval
        !          45640: 
        !          45641: # Whether we should hardcode library paths into libraries.
        !          45642: hardcode_into_libs=$hardcode_into_libs
        !          45643: 
        !          45644: # Compile-time system search path for libraries.
        !          45645: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
        !          45646: 
        !          45647: # Detected run-time system search path for libraries.
        !          45648: sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
        !          45649: 
        !          45650: # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
        !          45651: configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
        !          45652: 
        !          45653: # Whether dlopen is supported.
        !          45654: dlopen_support=$enable_dlopen
        !          45655: 
        !          45656: # Whether dlopen of programs is supported.
        !          45657: dlopen_self=$enable_dlopen_self
        !          45658: 
        !          45659: # Whether dlopen of statically linked programs is supported.
        !          45660: dlopen_self_static=$enable_dlopen_self_static
        !          45661: 
        !          45662: # Commands to strip libraries.
        !          45663: old_striplib=$lt_old_striplib
        !          45664: striplib=$lt_striplib
        !          45665: 
        !          45666: 
        !          45667: # The linker used to build libraries.
        !          45668: LD=$lt_LD
        !          45669: 
        !          45670: # How to create reloadable object files.
        !          45671: reload_flag=$lt_reload_flag
        !          45672: reload_cmds=$lt_reload_cmds
        !          45673: 
        !          45674: # Commands used to build an old-style archive.
        !          45675: old_archive_cmds=$lt_old_archive_cmds
        !          45676: 
        !          45677: # A language specific compiler.
        !          45678: CC=$lt_compiler
        !          45679: 
        !          45680: # Is the compiler the GNU compiler?
        !          45681: with_gcc=$GCC
        !          45682: 
        !          45683: # Compiler flag to turn off builtin functions.
        !          45684: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
        !          45685: 
        !          45686: # Additional compiler flags for building library objects.
        !          45687: pic_flag=$lt_lt_prog_compiler_pic
        !          45688: 
        !          45689: # How to pass a linker flag through the compiler.
        !          45690: wl=$lt_lt_prog_compiler_wl
        !          45691: 
        !          45692: # Compiler flag to prevent dynamic linking.
        !          45693: link_static_flag=$lt_lt_prog_compiler_static
        !          45694: 
        !          45695: # Does compiler simultaneously support -c and -o options?
        !          45696: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
        !          45697: 
        !          45698: # Whether or not to add -lc for building shared libraries.
        !          45699: build_libtool_need_lc=$archive_cmds_need_lc
        !          45700: 
        !          45701: # Whether or not to disallow shared libs when runtime libs are static.
        !          45702: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
        !          45703: 
        !          45704: # Compiler flag to allow reflexive dlopens.
        !          45705: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
        !          45706: 
        !          45707: # Compiler flag to generate shared objects directly from archives.
        !          45708: whole_archive_flag_spec=$lt_whole_archive_flag_spec
        !          45709: 
        !          45710: # Whether the compiler copes with passing no objects directly.
        !          45711: compiler_needs_object=$lt_compiler_needs_object
        !          45712: 
        !          45713: # Create an old-style archive from a shared archive.
        !          45714: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
        !          45715: 
        !          45716: # Create a temporary old-style archive to link instead of a shared archive.
        !          45717: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
        !          45718: 
        !          45719: # Commands used to build a shared archive.
        !          45720: archive_cmds=$lt_archive_cmds
        !          45721: archive_expsym_cmds=$lt_archive_expsym_cmds
        !          45722: 
        !          45723: # Commands used to build a loadable module if different from building
        !          45724: # a shared archive.
        !          45725: module_cmds=$lt_module_cmds
        !          45726: module_expsym_cmds=$lt_module_expsym_cmds
        !          45727: 
        !          45728: # Whether we are building with GNU ld or not.
        !          45729: with_gnu_ld=$lt_with_gnu_ld
        !          45730: 
        !          45731: # Flag that allows shared libraries with undefined symbols to be built.
        !          45732: allow_undefined_flag=$lt_allow_undefined_flag
        !          45733: 
        !          45734: # Flag that enforces no undefined symbols.
        !          45735: no_undefined_flag=$lt_no_undefined_flag
        !          45736: 
        !          45737: # Flag to hardcode \$libdir into a binary during linking.
        !          45738: # This must work even if \$libdir does not exist
        !          45739: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
        !          45740: 
        !          45741: # Whether we need a single "-rpath" flag with a separated argument.
        !          45742: hardcode_libdir_separator=$lt_hardcode_libdir_separator
        !          45743: 
        !          45744: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
        !          45745: # DIR into the resulting binary.
        !          45746: hardcode_direct=$hardcode_direct
        !          45747: 
        !          45748: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
        !          45749: # DIR into the resulting binary and the resulting library dependency is
        !          45750: # "absolute",i.e impossible to change by setting \$shlibpath_var if the
        !          45751: # library is relocated.
        !          45752: hardcode_direct_absolute=$hardcode_direct_absolute
        !          45753: 
        !          45754: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
        !          45755: # into the resulting binary.
        !          45756: hardcode_minus_L=$hardcode_minus_L
        !          45757: 
        !          45758: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
        !          45759: # into the resulting binary.
        !          45760: hardcode_shlibpath_var=$hardcode_shlibpath_var
        !          45761: 
        !          45762: # Set to "yes" if building a shared library automatically hardcodes DIR
        !          45763: # into the library and all subsequent libraries and executables linked
        !          45764: # against it.
        !          45765: hardcode_automatic=$hardcode_automatic
        !          45766: 
        !          45767: # Set to yes if linker adds runtime paths of dependent libraries
        !          45768: # to runtime path list.
        !          45769: inherit_rpath=$inherit_rpath
        !          45770: 
        !          45771: # Whether libtool must link a program against all its dependency libraries.
        !          45772: link_all_deplibs=$link_all_deplibs
        !          45773: 
        !          45774: # Set to "yes" if exported symbols are required.
        !          45775: always_export_symbols=$always_export_symbols
        !          45776: 
        !          45777: # The commands to list exported symbols.
        !          45778: export_symbols_cmds=$lt_export_symbols_cmds
        !          45779: 
        !          45780: # Symbols that should not be listed in the preloaded symbols.
        !          45781: exclude_expsyms=$lt_exclude_expsyms
        !          45782: 
        !          45783: # Symbols that must always be exported.
        !          45784: include_expsyms=$lt_include_expsyms
        !          45785: 
        !          45786: # Commands necessary for linking programs (against libraries) with templates.
        !          45787: prelink_cmds=$lt_prelink_cmds
        !          45788: 
        !          45789: # Commands necessary for finishing linking programs.
        !          45790: postlink_cmds=$lt_postlink_cmds
        !          45791: 
        !          45792: # Specify filename containing input files.
        !          45793: file_list_spec=$lt_file_list_spec
        !          45794: 
        !          45795: # How to hardcode a shared library path into an executable.
        !          45796: hardcode_action=$hardcode_action
        !          45797: 
        !          45798: # ### END LIBTOOL CONFIG
        !          45799: 
        !          45800: _LT_EOF
        !          45801: 
        !          45802:     cat <<'_LT_EOF' >> "$cfgfile"
        !          45803: 
        !          45804: # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
        !          45805: 
        !          45806: # func_munge_path_list VARIABLE PATH
        !          45807: # -----------------------------------
        !          45808: # VARIABLE is name of variable containing _space_ separated list of
        !          45809: # directories to be munged by the contents of PATH, which is string
        !          45810: # having a format:
        !          45811: # "DIR[:DIR]:"
        !          45812: #       string "DIR[ DIR]" will be prepended to VARIABLE
        !          45813: # ":DIR[:DIR]"
        !          45814: #       string "DIR[ DIR]" will be appended to VARIABLE
        !          45815: # "DIRP[:DIRP]::[DIRA:]DIRA"
        !          45816: #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
        !          45817: #       "DIRA[ DIRA]" will be appended to VARIABLE
        !          45818: # "DIR[:DIR]"
        !          45819: #       VARIABLE will be replaced by "DIR[ DIR]"
        !          45820: func_munge_path_list ()
        !          45821: {
        !          45822:     case x$2 in
        !          45823:     x)
        !          45824:         ;;
        !          45825:     *:)
        !          45826:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
        !          45827:         ;;
        !          45828:     x:*)
        !          45829:         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
        !          45830:         ;;
        !          45831:     *::*)
        !          45832:         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
        !          45833:         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
        !          45834:         ;;
        !          45835:     *)
        !          45836:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
        !          45837:         ;;
        !          45838:     esac
        !          45839: }
        !          45840: 
        !          45841: 
        !          45842: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
        !          45843: func_cc_basename ()
        !          45844: {
        !          45845:     for cc_temp in $*""; do
        !          45846:       case $cc_temp in
        !          45847:         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
        !          45848:         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
        !          45849:         \-*) ;;
        !          45850:         *) break;;
        !          45851:       esac
        !          45852:     done
        !          45853:     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
        !          45854: }
        !          45855: 
        !          45856: 
        !          45857: # ### END FUNCTIONS SHARED WITH CONFIGURE
        !          45858: 
        !          45859: _LT_EOF
        !          45860: 
        !          45861:   case $host_os in
        !          45862:   aix3*)
        !          45863:     cat <<\_LT_EOF >> "$cfgfile"
        !          45864: # AIX sometimes has problems with the GCC collect2 program.  For some
        !          45865: # reason, if we set the COLLECT_NAMES environment variable, the problems
        !          45866: # vanish in a puff of smoke.
        !          45867: if test set != "${COLLECT_NAMES+set}"; then
        !          45868:   COLLECT_NAMES=
        !          45869:   export COLLECT_NAMES
        !          45870: fi
        !          45871: _LT_EOF
        !          45872:     ;;
        !          45873:   esac
        !          45874: 
        !          45875: 
        !          45876: ltmain=$ac_aux_dir/ltmain.sh
        !          45877: 
        !          45878: 
        !          45879:   # We use sed instead of cat because bash on DJGPP gets confused if
        !          45880:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
        !          45881:   # text mode, it properly converts lines to CR/LF.  This bash problem
        !          45882:   # is reportedly fixed, but why not run on old versions too?
        !          45883:   sed '$q' "$ltmain" >> "$cfgfile" \
        !          45884:      || (rm -f "$cfgfile"; exit 1)
        !          45885: 
        !          45886:    mv -f "$cfgfile" "$ofile" ||
        !          45887:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
        !          45888:   chmod +x "$ofile"
        !          45889: 
        !          45890:  ;;
        !          45891: 
        !          45892:   esac
        !          45893: done # for ac_tag
        !          45894: 
        !          45895: 
        !          45896: as_fn_exit 0
        !          45897: _ACEOF
        !          45898: ac_clean_files=$ac_clean_files_save
        !          45899: 
        !          45900: test $ac_write_fail = 0 ||
        !          45901:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
        !          45902: 
        !          45903: 
        !          45904: # configure is writing to config.log, and then calls config.status.
        !          45905: # config.status does its own redirection, appending to config.log.
        !          45906: # Unfortunately, on DOS this fails, as config.log is still kept open
        !          45907: # by configure, so config.status won't be able to write to it; its
        !          45908: # output is simply discarded.  So we exec the FD to /dev/null,
        !          45909: # effectively closing config.log, so it can be properly (re)opened and
        !          45910: # appended to by config.status.  When coming back to configure, we
        !          45911: # need to make the FD available again.
        !          45912: if test "$no_create" != yes; then
        !          45913:   ac_cs_success=:
        !          45914:   ac_config_status_args=
        !          45915:   test "$silent" = yes &&
        !          45916:     ac_config_status_args="$ac_config_status_args --quiet"
        !          45917:   exec 5>/dev/null
        !          45918:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
        !          45919:   exec 5>>config.log
        !          45920:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
        !          45921:   # would make configure fail if this is the last instruction.
        !          45922:   $ac_cs_success || as_fn_exit 1
        !          45923: fi
        !          45924: 
        !          45925: #
        !          45926: # CONFIG_SUBDIRS section.
        !          45927: #
        !          45928: if test "$no_recursion" != yes; then
        !          45929: 
        !          45930:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
        !          45931:   # so they do not pile up.
        !          45932:   ac_sub_configure_args=
        !          45933:   ac_prev=
        !          45934:   eval "set x $ac_configure_args"
        !          45935:   shift
        !          45936:   for ac_arg
        !          45937:   do
        !          45938:     if test -n "$ac_prev"; then
        !          45939:       ac_prev=
        !          45940:       continue
        !          45941:     fi
        !          45942:     case $ac_arg in
        !          45943:     -cache-file | --cache-file | --cache-fil | --cache-fi \
        !          45944:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
        !          45945:       ac_prev=cache_file ;;
        !          45946:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
        !          45947:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
        !          45948:     | --c=*)
        !          45949:       ;;
        !          45950:     --config-cache | -C)
        !          45951:       ;;
        !          45952:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
        !          45953:       ac_prev=srcdir ;;
        !          45954:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
        !          45955:       ;;
        !          45956:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
        !          45957:       ac_prev=prefix ;;
        !          45958:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
        !          45959:       ;;
        !          45960:     --disable-option-checking)
        !          45961:       ;;
        !          45962:     *)
        !          45963:       case $ac_arg in
        !          45964:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          45965:       esac
        !          45966:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
        !          45967:     esac
        !          45968:   done
        !          45969: 
        !          45970:   # Always prepend --prefix to ensure using the same prefix
        !          45971:   # in subdir configurations.
        !          45972:   ac_arg="--prefix=$prefix"
        !          45973:   case $ac_arg in
        !          45974:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          45975:   esac
        !          45976:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
        !          45977: 
        !          45978:   # Pass --silent
        !          45979:   if test "$silent" = yes; then
        !          45980:     ac_sub_configure_args="--silent $ac_sub_configure_args"
        !          45981:   fi
        !          45982: 
        !          45983:   # Always prepend --disable-option-checking to silence warnings, since
        !          45984:   # different subdirs can have different --enable and --with options.
        !          45985:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
        !          45986: 
        !          45987:   ac_popdir=`pwd`
        !          45988:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
        !          45989: 
        !          45990:     # Do not complain, so a configure script can configure whichever
        !          45991:     # parts of a large source tree are present.
        !          45992:     test -d "$srcdir/$ac_dir" || continue
        !          45993: 
        !          45994:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
        !          45995:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
        !          45996:     $as_echo "$ac_msg" >&6
        !          45997:     as_dir="$ac_dir"; as_fn_mkdir_p
        !          45998:     ac_builddir=.
        !          45999: 
        !          46000: case "$ac_dir" in
        !          46001: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
        !          46002: *)
        !          46003:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
        !          46004:   # A ".." for each directory in $ac_dir_suffix.
        !          46005:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
        !          46006:   case $ac_top_builddir_sub in
        !          46007:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
        !          46008:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
        !          46009:   esac ;;
        !          46010: esac
        !          46011: ac_abs_top_builddir=$ac_pwd
        !          46012: ac_abs_builddir=$ac_pwd$ac_dir_suffix
        !          46013: # for backward compatibility:
        !          46014: ac_top_builddir=$ac_top_build_prefix
        !          46015: 
        !          46016: case $srcdir in
        !          46017:   .)  # We are building in place.
        !          46018:     ac_srcdir=.
        !          46019:     ac_top_srcdir=$ac_top_builddir_sub
        !          46020:     ac_abs_top_srcdir=$ac_pwd ;;
        !          46021:   [\\/]* | ?:[\\/]* )  # Absolute name.
        !          46022:     ac_srcdir=$srcdir$ac_dir_suffix;
        !          46023:     ac_top_srcdir=$srcdir
        !          46024:     ac_abs_top_srcdir=$srcdir ;;
        !          46025:   *) # Relative name.
        !          46026:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
        !          46027:     ac_top_srcdir=$ac_top_build_prefix$srcdir
        !          46028:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
        !          46029: esac
        !          46030: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
        !          46031: 
        !          46032: 
        !          46033:     cd "$ac_dir"
        !          46034: 
        !          46035:     # Check for guested configure; otherwise get Cygnus style configure.
        !          46036:     if test -f "$ac_srcdir/configure.gnu"; then
        !          46037:       ac_sub_configure=$ac_srcdir/configure.gnu
        !          46038:     elif test -f "$ac_srcdir/configure"; then
        !          46039:       ac_sub_configure=$ac_srcdir/configure
        !          46040:     elif test -f "$ac_srcdir/configure.in"; then
        !          46041:       # This should be Cygnus configure.
        !          46042:       ac_sub_configure=$ac_aux_dir/configure
        !          46043:     else
        !          46044:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
        !          46045: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
        !          46046:       ac_sub_configure=
        !          46047:     fi
        !          46048: 
        !          46049:     # The recursion is here.
        !          46050:     if test -n "$ac_sub_configure"; then
        !          46051:       # Make the cache file name correct relative to the subdirectory.
        !          46052:       case $cache_file in
        !          46053:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
        !          46054:       *) # Relative name.
        !          46055:        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
        !          46056:       esac
        !          46057: 
        !          46058:       { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
        !          46059: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
        !          46060:       # The eval makes quoting arguments work.
        !          46061:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
        !          46062:           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
        !          46063:        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
        !          46064:     fi
        !          46065: 
        !          46066:     cd "$ac_popdir"
        !          46067:   done
        !          46068: fi
        !          46069: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
        !          46070:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
        !          46071: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
        !          46072: fi
        !          46073: 
        !          46074: 
        !          46075: 
        !          46076:     tmp_cpp=`eval echo "$ac_cpp" 2>/dev/null`
        !          46077:   if test -z "$tmp_cpp"; then
        !          46078:     tmp_cpp='cpp'
        !          46079:   fi
        !          46080:   cat >./tests/configurehelp.pm <<_EOF
        !          46081: # This is a generated file.  Do not edit.
        !          46082: 
        !          46083: package configurehelp;
        !          46084: 
        !          46085: use strict;
        !          46086: use warnings;
        !          46087: use Exporter;
        !          46088: 
        !          46089: use vars qw(
        !          46090:     @ISA
        !          46091:     @EXPORT_OK
        !          46092:     \$Cpreprocessor
        !          46093:     );
        !          46094: 
        !          46095: @ISA = qw(Exporter);
        !          46096: 
        !          46097: @EXPORT_OK = qw(
        !          46098:     \$Cpreprocessor
        !          46099:     );
        !          46100: 
        !          46101: \$Cpreprocessor = '$tmp_cpp';
        !          46102: 
        !          46103: 1;
        !          46104: _EOF
        !          46105: 
        !          46106: 
        !          46107: 
        !          46108: ## ---------------------------------- ##
        !          46109: ##  Start of distclean amending code  ##
        !          46110: ## ---------------------------------- ##
        !          46111: 
        !          46112: for xc_subdir in lib src tests/unit tests/server tests/libtest docs/examples
        !          46113: do
        !          46114: 
        !          46115: if test ! -f "$xc_subdir/Makefile"; then
        !          46116:   echo "$xc_msg_err $xc_subdir/Makefile file not found. $xc_msg_abrt" >&2
        !          46117:   exit 1
        !          46118: fi
        !          46119: 
        !          46120: # Fetch dependency tracking file list from Makefile include lines.
        !          46121: 
        !          46122: xc_inc_lines=`grep '^include .*(DEPDIR)' "$xc_subdir/Makefile" 2>/dev/null`
        !          46123: xc_cnt_words=`echo "$xc_inc_lines" | wc -w | tr -d "$xc_space$xc_tab"`
        !          46124: 
        !          46125: # --disable-dependency-tracking might have been used, consequently
        !          46126: # there is nothing to amend without a dependency tracking file list.
        !          46127: 
        !          46128: if test $xc_cnt_words -gt 0; then
        !          46129: 
        !          46130: { $as_echo "$as_me:${as_lineno-$LINENO}: amending $xc_subdir/Makefile" >&5
        !          46131: $as_echo "$as_me: amending $xc_subdir/Makefile" >&6;}
        !          46132: 
        !          46133: # Build Makefile specific patch hunk.
        !          46134: 
        !          46135: xc_p="$xc_subdir/xc_patch.tmp"
        !          46136: 
        !          46137: xc_rm_depfiles=`echo "$xc_inc_lines" \
        !          46138:   | $SED 's%include%   -rm -f%' 2>/dev/null`
        !          46139: 
        !          46140: xc_dep_subdirs=`echo "$xc_inc_lines" \
        !          46141:   | $SED 's%include[ ][ ]*%%' 2>/dev/null \
        !          46142:   | $SED 's%(DEPDIR)/.*%(DEPDIR)%' 2>/dev/null \
        !          46143:   | sort | uniq`
        !          46144: 
        !          46145: echo "$xc_rm_depfiles" >$xc_p
        !          46146: 
        !          46147: for xc_dep_dir in $xc_dep_subdirs; do
        !          46148:   echo "${xc_tab}@xm_dep_cnt=\`ls $xc_dep_dir | wc -l 2>/dev/null\`; \\"            >>$xc_p
        !          46149:   echo "${xc_tab}if test \$\$xm_dep_cnt -eq 0 && test -d $xc_dep_dir; then \\"      >>$xc_p
        !          46150:   echo "${xc_tab}  rm -rf $xc_dep_dir; \\"                                          >>$xc_p
        !          46151:   echo "${xc_tab}fi"                                                                >>$xc_p
        !          46152: done
        !          46153: 
        !          46154: # Build Makefile patching sed scripts.
        !          46155: 
        !          46156: xc_s1="$xc_subdir/xc_script_1.tmp"
        !          46157: xc_s2="$xc_subdir/xc_script_2.tmp"
        !          46158: xc_s3="$xc_subdir/xc_script_3.tmp"
        !          46159: 
        !          46160: cat >$xc_s1 <<\_EOT
        !          46161: /^distclean[ ]*:/,/^[^ ][^     ]*:/{
        !          46162:   s/^.*(DEPDIR)/___xc_depdir_line___/
        !          46163: }
        !          46164: /^maintainer-clean[ ]*:/,/^[^  ][^     ]*:/{
        !          46165:   s/^.*(DEPDIR)/___xc_depdir_line___/
        !          46166: }
        !          46167: _EOT
        !          46168: 
        !          46169: cat >$xc_s2 <<\_EOT
        !          46170: /___xc_depdir_line___$/{
        !          46171:   N
        !          46172:   /___xc_depdir_line___$/D
        !          46173: }
        !          46174: _EOT
        !          46175: 
        !          46176: cat >$xc_s3 <<_EOT
        !          46177: /^___xc_depdir_line___/{
        !          46178:   r $xc_p
        !          46179:   d
        !          46180: }
        !          46181: _EOT
        !          46182: 
        !          46183: # Apply patch to Makefile and cleanup.
        !          46184: 
        !          46185: $SED -f "$xc_s1" "$xc_subdir/Makefile"      >"$xc_subdir/Makefile.tmp1"
        !          46186: $SED -f "$xc_s2" "$xc_subdir/Makefile.tmp1" >"$xc_subdir/Makefile.tmp2"
        !          46187: $SED -f "$xc_s3" "$xc_subdir/Makefile.tmp2" >"$xc_subdir/Makefile.tmp3"
        !          46188: 
        !          46189: if test -f "$xc_subdir/Makefile.tmp3"; then
        !          46190:   mv -f "$xc_subdir/Makefile.tmp3" "$xc_subdir/Makefile"
        !          46191: fi
        !          46192: 
        !          46193: test -f "$xc_subdir/Makefile.tmp1" && rm -f "$xc_subdir/Makefile.tmp1"
        !          46194: test -f "$xc_subdir/Makefile.tmp2" && rm -f "$xc_subdir/Makefile.tmp2"
        !          46195: test -f "$xc_subdir/Makefile.tmp3" && rm -f "$xc_subdir/Makefile.tmp3"
        !          46196: 
        !          46197: test -f "$xc_p"  && rm -f "$xc_p"
        !          46198: test -f "$xc_s1" && rm -f "$xc_s1"
        !          46199: test -f "$xc_s2" && rm -f "$xc_s2"
        !          46200: test -f "$xc_s3" && rm -f "$xc_s3"
        !          46201: 
        !          46202: fi
        !          46203: 
        !          46204: done
        !          46205: 
        !          46206: ## -------------------------------- ##
        !          46207: ##  End of distclean amending code  ##
        !          46208: ## -------------------------------- ##
        !          46209: 
        !          46210: 
        !          46211: 
        !          46212: { $as_echo "$as_me:${as_lineno-$LINENO}: Configured to build curl/libcurl:
        !          46213: 
        !          46214:   Host setup:       ${host}
        !          46215:   Install prefix:   ${prefix}
        !          46216:   Compiler:         ${CC}
        !          46217:    CFLAGS:          ${CFLAGS}
        !          46218:    CPPFLAGS:        ${CPPFLAGS}
        !          46219:    LDFLAGS:         ${LDFLAGS}
        !          46220:    LIBS:            ${LIBS}
        !          46221: 
        !          46222:   curl version:     ${CURLVERSION}
        !          46223:   SSL:              ${curl_ssl_msg}
        !          46224:   SSH:              ${curl_ssh_msg}
        !          46225:   zlib:             ${curl_zlib_msg}
        !          46226:   brotli:           ${curl_brotli_msg}
        !          46227:   GSS-API:          ${curl_gss_msg}
        !          46228:   TLS-SRP:          ${curl_tls_srp_msg}
        !          46229:   resolver:         ${curl_res_msg}
        !          46230:   IPv6:             ${curl_ipv6_msg}
        !          46231:   Unix sockets:     ${curl_unix_sockets_msg}
        !          46232:   IDN:              ${curl_idn_msg}
        !          46233:   Build libcurl:    Shared=${enable_shared}, Static=${enable_static}
        !          46234:   Built-in manual:  ${curl_manual_msg}
        !          46235:   --libcurl option: ${curl_libcurl_msg}
        !          46236:   Verbose errors:   ${curl_verbose_msg}
        !          46237:   Code coverage:    ${curl_coverage_msg}
        !          46238:   SSPI:             ${curl_sspi_msg}
        !          46239:   ca cert bundle:   ${ca}${ca_warning}
        !          46240:   ca cert path:     ${capath}${capath_warning}
        !          46241:   ca fallback:      ${with_ca_fallback}
        !          46242:   LDAP:             ${curl_ldap_msg}
        !          46243:   LDAPS:            ${curl_ldaps_msg}
        !          46244:   RTSP:             ${curl_rtsp_msg}
        !          46245:   RTMP:             ${curl_rtmp_msg}
        !          46246:   Metalink:         ${curl_mtlnk_msg}
        !          46247:   PSL:              ${curl_psl_msg}
        !          46248:   Alt-svc:          ${curl_altsvc_msg}
        !          46249:   HTTP2:            ${curl_h2_msg}
        !          46250:   HTTP3:            ${curl_h3_msg}
        !          46251:   ESNI:             ${curl_esni_msg}
        !          46252:   Protocols:        ${SUPPORT_PROTOCOLS}
        !          46253:   Features:         ${SUPPORT_FEATURES}
        !          46254: " >&5
        !          46255: $as_echo "$as_me: Configured to build curl/libcurl:
        !          46256: 
        !          46257:   Host setup:       ${host}
        !          46258:   Install prefix:   ${prefix}
        !          46259:   Compiler:         ${CC}
        !          46260:    CFLAGS:          ${CFLAGS}
        !          46261:    CPPFLAGS:        ${CPPFLAGS}
        !          46262:    LDFLAGS:         ${LDFLAGS}
        !          46263:    LIBS:            ${LIBS}
        !          46264: 
        !          46265:   curl version:     ${CURLVERSION}
        !          46266:   SSL:              ${curl_ssl_msg}
        !          46267:   SSH:              ${curl_ssh_msg}
        !          46268:   zlib:             ${curl_zlib_msg}
        !          46269:   brotli:           ${curl_brotli_msg}
        !          46270:   GSS-API:          ${curl_gss_msg}
        !          46271:   TLS-SRP:          ${curl_tls_srp_msg}
        !          46272:   resolver:         ${curl_res_msg}
        !          46273:   IPv6:             ${curl_ipv6_msg}
        !          46274:   Unix sockets:     ${curl_unix_sockets_msg}
        !          46275:   IDN:              ${curl_idn_msg}
        !          46276:   Build libcurl:    Shared=${enable_shared}, Static=${enable_static}
        !          46277:   Built-in manual:  ${curl_manual_msg}
        !          46278:   --libcurl option: ${curl_libcurl_msg}
        !          46279:   Verbose errors:   ${curl_verbose_msg}
        !          46280:   Code coverage:    ${curl_coverage_msg}
        !          46281:   SSPI:             ${curl_sspi_msg}
        !          46282:   ca cert bundle:   ${ca}${ca_warning}
        !          46283:   ca cert path:     ${capath}${capath_warning}
        !          46284:   ca fallback:      ${with_ca_fallback}
        !          46285:   LDAP:             ${curl_ldap_msg}
        !          46286:   LDAPS:            ${curl_ldaps_msg}
        !          46287:   RTSP:             ${curl_rtsp_msg}
        !          46288:   RTMP:             ${curl_rtmp_msg}
        !          46289:   Metalink:         ${curl_mtlnk_msg}
        !          46290:   PSL:              ${curl_psl_msg}
        !          46291:   Alt-svc:          ${curl_altsvc_msg}
        !          46292:   HTTP2:            ${curl_h2_msg}
        !          46293:   HTTP3:            ${curl_h3_msg}
        !          46294:   ESNI:             ${curl_esni_msg}
        !          46295:   Protocols:        ${SUPPORT_PROTOCOLS}
        !          46296:   Features:         ${SUPPORT_FEATURES}
        !          46297: " >&6;}
        !          46298: if test -n "$experimental"; then
        !          46299:  cat >&2 << _EOF
        !          46300:   WARNING: $experimental enabled but marked EXPERIMENTAL. Use with caution!
        !          46301: _EOF
        !          46302: fi

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>