Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for BIND 9.20.27.
      4 #
      5 # Report bugs to <https://gitlab.isc.org/isc-projects/bind9/-/issues/new?issuable_template=Bug>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     21 then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else case e in #(
     29   e) case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed 'exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    144 then :
    145   emulate sh
    146   NULLCMD=:
    147   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    148   # is contrary to our usage.  Disable this feature.
    149   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    150   setopt NO_GLOB_SUBST
    151 else case e in #(
    152   e) case \`(set -o) 2>/dev/null\` in #(
    153   *posix*) :
    154     set -o posix ;; #(
    155   *) :
    156      ;;
    157 esac ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else case e in #(
    176   e) exitcode=1; echo positional parameters were not saved. ;;
    177 esac
    178 fi
    179 test x\$exitcode = x0 || exit 1
    180 blah=\$(echo \$(echo blah))
    181 test x\"\$blah\" = xblah || exit 1
    182 test -x / || exit 1"
    183   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    184   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    185   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    186   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    187 
    188   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    189     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    192     PATH=/empty FPATH=/empty; export PATH FPATH
    193     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    194       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    195 test \$(( 1 + 1 )) = 2 || exit 1"
    196   if (eval "$as_required") 2>/dev/null
    197 then :
    198   as_have_required=yes
    199 else case e in #(
    200   e) as_have_required=no ;;
    201 esac
    202 fi
    203   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    204 then :
    205 
    206 else case e in #(
    207   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    208 as_found=false
    209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    210 do
    211   IFS=$as_save_IFS
    212   case $as_dir in #(((
    213     '') as_dir=./ ;;
    214     */) ;;
    215     *) as_dir=$as_dir/ ;;
    216   esac
    217   as_found=:
    218   case $as_dir in #(
    219 	 /*)
    220 	   for as_base in sh bash ksh sh5; do
    221 	     # Try only shells that exist, to save several forks.
    222 	     as_shell=$as_dir$as_base
    223 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    224 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    225 then :
    226   CONFIG_SHELL=$as_shell as_have_required=yes
    227 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    228 then :
    229   break 2
    230 fi
    231 fi
    232 	   done;;
    233        esac
    234   as_found=false
    235 done
    236 IFS=$as_save_IFS
    237 if $as_found
    238 then :
    239 
    240 else case e in #(
    241   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    243 then :
    244   CONFIG_SHELL=$SHELL as_have_required=yes
    245 fi ;;
    246 esac
    247 fi
    248 
    249 
    250       if test "x$CONFIG_SHELL" != x
    251 then :
    252   export CONFIG_SHELL
    253              # We cannot yet assume a decent shell, so we have to provide a
    254 # neutralization value for shells without unset; and this also
    255 # works around shells that cannot unset nonexistent variables.
    256 # Preserve -v and -x to the replacement shell.
    257 BASH_ENV=/dev/null
    258 ENV=/dev/null
    259 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    260 case $- in # ((((
    261   *v*x* | *x*v* ) as_opts=-vx ;;
    262   *v* ) as_opts=-v ;;
    263   *x* ) as_opts=-x ;;
    264   * ) as_opts= ;;
    265 esac
    266 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    267 # Admittedly, this is quite paranoid, since all the known shells bail
    268 # out after a failed 'exec'.
    269 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    270 exit 255
    271 fi
    272 
    273     if test x$as_have_required = xno
    274 then :
    275   printf "%s\n" "$0: This script requires a shell more modern than all"
    276   printf "%s\n" "$0: the shells that I found on your system."
    277   if test ${ZSH_VERSION+y} ; then
    278     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    279     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    280   else
    281     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    282 $0: https://gitlab.isc.org/isc-projects/bind9/-/issues/new?issuable_template=Bug
    283 $0: about your system, including any error possibly output
    284 $0: before this message. Then install a modern shell, or
    285 $0: manually run the script under such a shell if you do
    286 $0: have one."
    287   fi
    288   exit 1
    289 fi ;;
    290 esac
    291 fi
    292 fi
    293 SHELL=${CONFIG_SHELL-/bin/sh}
    294 export SHELL
    295 # Unset more variables known to interfere with behavior of common tools.
    296 CLICOLOR_FORCE= GREP_OPTIONS=
    297 unset CLICOLOR_FORCE GREP_OPTIONS
    298 
    299 ## --------------------- ##
    300 ## M4sh Shell Functions. ##
    301 ## --------------------- ##
    302 # as_fn_unset VAR
    303 # ---------------
    304 # Portably unset VAR.
    305 as_fn_unset ()
    306 {
    307   { eval $1=; unset $1;}
    308 }
    309 as_unset=as_fn_unset
    310 
    311 
    312 # as_fn_set_status STATUS
    313 # -----------------------
    314 # Set $? to STATUS, without forking.
    315 as_fn_set_status ()
    316 {
    317   return $1
    318 } # as_fn_set_status
    319 
    320 # as_fn_exit STATUS
    321 # -----------------
    322 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    323 as_fn_exit ()
    324 {
    325   set +e
    326   as_fn_set_status $1
    327   exit $1
    328 } # as_fn_exit
    329 
    330 # as_fn_mkdir_p
    331 # -------------
    332 # Create "$as_dir" as a directory, including parents if necessary.
    333 as_fn_mkdir_p ()
    334 {
    335 
    336   case $as_dir in #(
    337   -*) as_dir=./$as_dir;;
    338   esac
    339   test -d "$as_dir" || eval $as_mkdir_p || {
    340     as_dirs=
    341     while :; do
    342       case $as_dir in #(
    343       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    344       *) as_qdir=$as_dir;;
    345       esac
    346       as_dirs="'$as_qdir' $as_dirs"
    347       as_dir=`$as_dirname -- "$as_dir" ||
    348 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    349 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    350 	 X"$as_dir" : 'X\(//\)$' \| \
    351 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    352 printf "%s\n" X"$as_dir" |
    353     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\/\)[^/].*/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\/\)$/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  /^X\(\/\).*/{
    366 	    s//\1/
    367 	    q
    368 	  }
    369 	  s/.*/./; q'`
    370       test -d "$as_dir" && break
    371     done
    372     test -z "$as_dirs" || eval "mkdir $as_dirs"
    373   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    374 
    375 
    376 } # as_fn_mkdir_p
    377 
    378 # as_fn_executable_p FILE
    379 # -----------------------
    380 # Test if FILE is an executable regular file.
    381 as_fn_executable_p ()
    382 {
    383   test -f "$1" && test -x "$1"
    384 } # as_fn_executable_p
    385 # as_fn_append VAR VALUE
    386 # ----------------------
    387 # Append the text in VALUE to the end of the definition contained in VAR. Take
    388 # advantage of any shell optimizations that allow amortized linear growth over
    389 # repeated appends, instead of the typical quadratic growth present in naive
    390 # implementations.
    391 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    392 then :
    393   eval 'as_fn_append ()
    394   {
    395     eval $1+=\$2
    396   }'
    397 else case e in #(
    398   e) as_fn_append ()
    399   {
    400     eval $1=\$$1\$2
    401   } ;;
    402 esac
    403 fi # as_fn_append
    404 
    405 # as_fn_arith ARG...
    406 # ------------------
    407 # Perform arithmetic evaluation on the ARGs, and store the result in the
    408 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    409 # must be portable across $(()) and expr.
    410 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    411 then :
    412   eval 'as_fn_arith ()
    413   {
    414     as_val=$(( $* ))
    415   }'
    416 else case e in #(
    417   e) as_fn_arith ()
    418   {
    419     as_val=`expr "$@" || test $? -eq 1`
    420   } ;;
    421 esac
    422 fi # as_fn_arith
    423 
    424 
    425 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    426 # ----------------------------------------
    427 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    428 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    429 # script with STATUS, using 1 if that was 0.
    430 as_fn_error ()
    431 {
    432   as_status=$1; test $as_status -eq 0 && as_status=1
    433   if test "$4"; then
    434     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    435     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    436   fi
    437   printf "%s\n" "$as_me: error: $2" >&2
    438   as_fn_exit $as_status
    439 } # as_fn_error
    440 
    441 if expr a : '\(a\)' >/dev/null 2>&1 &&
    442    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    443   as_expr=expr
    444 else
    445   as_expr=false
    446 fi
    447 
    448 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    449   as_basename=basename
    450 else
    451   as_basename=false
    452 fi
    453 
    454 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    455   as_dirname=dirname
    456 else
    457   as_dirname=false
    458 fi
    459 
    460 as_me=`$as_basename -- "$0" ||
    461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    462 	 X"$0" : 'X\(//\)$' \| \
    463 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    464 printf "%s\n" X/"$0" |
    465     sed '/^.*\/\([^/][^/]*\)\/*$/{
    466 	    s//\1/
    467 	    q
    468 	  }
    469 	  /^X\/\(\/\/\)$/{
    470 	    s//\1/
    471 	    q
    472 	  }
    473 	  /^X\/\(\/\).*/{
    474 	    s//\1/
    475 	    q
    476 	  }
    477 	  s/.*/./; q'`
    478 
    479 # Avoid depending upon Character Ranges.
    480 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    481 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    482 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    483 as_cr_digits='0123456789'
    484 as_cr_alnum=$as_cr_Letters$as_cr_digits
    485 
    486 
    487   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    488   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    489   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    490   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    491   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    492   sed -n '
    493     p
    494     /[$]LINENO/=
    495   ' <$as_myself |
    496     sed '
    497       t clear
    498       :clear
    499       s/[$]LINENO.*/&-/
    500       t lineno
    501       b
    502       :lineno
    503       N
    504       :loop
    505       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    506       t loop
    507       s/-\n.*//
    508     ' >$as_me.lineno &&
    509   chmod +x "$as_me.lineno" ||
    510     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    511 
    512   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    513   # already done that, so ensure we don't try to do so again and fall
    514   # in an infinite loop.  This has already happened in practice.
    515   _as_can_reexec=no; export _as_can_reexec
    516   # Don't try to exec as it changes $[0], causing all sort of problems
    517   # (the dirname of $[0] is not the place where we might find the
    518   # original and so on.  Autoconf is especially sensitive to this).
    519   . "./$as_me.lineno"
    520   # Exit status is that of the last command.
    521   exit
    522 }
    523 
    524 
    525 # Determine whether it's possible to make 'echo' print without a newline.
    526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    527 # for compatibility with existing Makefiles.
    528 ECHO_C= ECHO_N= ECHO_T=
    529 case `echo -n x` in #(((((
    530 -n*)
    531   case `echo 'xy\c'` in
    532   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    533   xy)  ECHO_C='\c';;
    534   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    535        ECHO_T='	';;
    536   esac;;
    537 *)
    538   ECHO_N='-n';;
    539 esac
    540 
    541 # For backward compatibility with old third-party macros, we provide
    542 # the shell variables $as_echo and $as_echo_n.  New code should use
    543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    544 as_echo='printf %s\n'
    545 as_echo_n='printf %s'
    546 
    547 rm -f conf$$ conf$$.exe conf$$.file
    548 if test -d conf$$.dir; then
    549   rm -f conf$$.dir/conf$$.file
    550 else
    551   rm -f conf$$.dir
    552   mkdir conf$$.dir 2>/dev/null
    553 fi
    554 if (echo >conf$$.file) 2>/dev/null; then
    555   if ln -s conf$$.file conf$$ 2>/dev/null; then
    556     as_ln_s='ln -s'
    557     # ... but there are two gotchas:
    558     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    559     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    560     # In both cases, we have to default to 'cp -pR'.
    561     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    562       as_ln_s='cp -pR'
    563   elif ln conf$$.file conf$$ 2>/dev/null; then
    564     as_ln_s=ln
    565   else
    566     as_ln_s='cp -pR'
    567   fi
    568 else
    569   as_ln_s='cp -pR'
    570 fi
    571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    572 rmdir conf$$.dir 2>/dev/null
    573 
    574 if mkdir -p . 2>/dev/null; then
    575   as_mkdir_p='mkdir -p "$as_dir"'
    576 else
    577   test -d ./-p && rmdir ./-p
    578   as_mkdir_p=false
    579 fi
    580 
    581 as_test_x='test -x'
    582 as_executable_p=as_fn_executable_p
    583 
    584 # Sed expression to map a string onto a valid CPP name.
    585 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    586 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    587 
    588 # Sed expression to map a string onto a valid variable name.
    589 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    590 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    591 
    592 SHELL=${CONFIG_SHELL-/bin/sh}
    593 
    594 
    595 test -n "$DJDIR" || exec 7<&0 </dev/null
    596 exec 6>&1
    597 
    598 # Name of the host.
    599 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    600 # so uname gets run too.
    601 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    602 
    603 #
    604 # Initializations.
    605 #
    606 ac_default_prefix=/usr/local
    607 ac_clean_files=
    608 ac_config_libobj_dir=.
    609 LIBOBJS=
    610 cross_compiling=no
    611 subdirs=
    612 MFLAGS=
    613 MAKEFLAGS=
    614 
    615 # Identity of this package.
    616 PACKAGE_NAME='BIND'
    617 PACKAGE_TARNAME='bind'
    618 PACKAGE_VERSION='9.20.27'
    619 PACKAGE_STRING='BIND 9.20.27'
    620 PACKAGE_BUGREPORT='https://gitlab.isc.org/isc-projects/bind9/-/issues/new?issuable_template=Bug'
    621 PACKAGE_URL='https://www.isc.org/downloads/'
    622 
    623 ac_unique_file="bin/named/main.c"
    624 # Factoring default headers for most tests.
    625 ac_includes_default="\
    626 #include <stddef.h>
    627 #ifdef HAVE_STDIO_H
    628 # include <stdio.h>
    629 #endif
    630 #ifdef HAVE_STDLIB_H
    631 # include <stdlib.h>
    632 #endif
    633 #ifdef HAVE_STRING_H
    634 # include <string.h>
    635 #endif
    636 #ifdef HAVE_INTTYPES_H
    637 # include <inttypes.h>
    638 #endif
    639 #ifdef HAVE_STDINT_H
    640 # include <stdint.h>
    641 #endif
    642 #ifdef HAVE_STRINGS_H
    643 # include <strings.h>
    644 #endif
    645 #ifdef HAVE_SYS_TYPES_H
    646 # include <sys/types.h>
    647 #endif
    648 #ifdef HAVE_SYS_STAT_H
    649 # include <sys/stat.h>
    650 #endif
    651 #ifdef HAVE_UNISTD_H
    652 # include <unistd.h>
    653 #endif"
    654 
    655 ac_header_c_list=
    656 ac_func_c_list=
    657 enable_year2038=no
    658 ac_subst_vars='am__EXEEXT_FALSE
    659 am__EXEEXT_TRUE
    660 LTLIBOBJS
    661 LIBOBJS
    662 LIBSCF_LIBS
    663 HAVE_DTRACE_FALSE
    664 HAVE_DTRACE_TRUE
    665 HAVE_SYSTEMTAP_FALSE
    666 HAVE_SYSTEMTAP_TRUE
    667 DTRACE
    668 DNSRPS_FALSE
    669 DNSRPS_TRUE
    670 HAVE_JEMALLOC_FALSE
    671 HAVE_JEMALLOC_TRUE
    672 JEMALLOC_VERSION
    673 JEMALLOC_LIBS
    674 JEMALLOC_CFLAGS
    675 HAVE_CMOCKA_FALSE
    676 HAVE_CMOCKA_TRUE
    677 CMOCKA_LIBS
    678 CMOCKA_CFLAGS
    679 LIBIDN2_LIBS
    680 LIBIDN2_CFLAGS
    681 NC
    682 CURL
    683 DOXYGEN
    684 RELEASE_DATE
    685 BUILD_MANPAGES_FALSE
    686 BUILD_MANPAGES_TRUE
    687 HAVE_SPHINX_BUILD_FALSE
    688 HAVE_SPHINX_BUILD_TRUE
    689 SPHINX_BUILD
    690 HAVE_DNSTAP_FALSE
    691 HAVE_DNSTAP_TRUE
    692 PROTOC_C
    693 FSTRM_CAPTURE
    694 DNSTAP_LIBS
    695 DNSTAP_CFLAGS
    696 LIBCAP_LIBS
    697 LIBCAP_CFLAGS
    698 HAVE_READLINE_FALSE
    699 HAVE_READLINE_TRUE
    700 READLINE_LIBS
    701 READLINE_CFLAGS
    702 ZLIB_LIBS
    703 ZLIB_CFLAGS
    704 HAVE_JSON_C_FALSE
    705 HAVE_JSON_C_TRUE
    706 JSON_C_LIBS
    707 JSON_C_CFLAGS
    708 HAVE_LIBXML2_FALSE
    709 HAVE_LIBXML2_TRUE
    710 LIBXML2_LIBS
    711 LIBXML2_CFLAGS
    712 HAVE_LMDB_FALSE
    713 HAVE_LMDB_TRUE
    714 LMDB_LIBS
    715 LMDB_CFLAGS
    716 KRB5_LIBS
    717 KRB5_CFLAGS
    718 GSSAPI_LIBS
    719 GSSAPI_CFLAGS
    720 HAVE_GSSAPI_FALSE
    721 HAVE_GSSAPI_TRUE
    722 KRB5_CONFIG
    723 OPENSSL_VERSION
    724 OPENSSL_LDFLAGS
    725 OPENSSL_LIBS
    726 OPENSSL_CFLAGS
    727 USE_ISC_RWLOCK_FALSE
    728 USE_ISC_RWLOCK_TRUE
    729 HAVE_LIBNGHTTP2_FALSE
    730 HAVE_LIBNGHTTP2_TRUE
    731 LIBNGHTTP2_LIBS
    732 LIBNGHTTP2_CFLAGS
    733 LIBUV_VERSION
    734 LIBUV_LIBS
    735 LIBUV_CFLAGS
    736 PTHREAD_CFLAGS
    737 PTHREAD_LIBS
    738 PTHREAD_CXX
    739 PTHREAD_CC
    740 ax_pthread_config
    741 HAVE_GEOIP2_FALSE
    742 HAVE_GEOIP2_TRUE
    743 MAXMINDDB_PREFIX
    744 MAXMINDDB_LIBS
    745 MAXMINDDB_CFLAGS
    746 XSLTPROC
    747 XMLLINT
    748 JQ
    749 HAVE_PYTEST_FALSE
    750 HAVE_PYTEST_TRUE
    751 PYTEST
    752 HAVE_PYTHON_FALSE
    753 HAVE_PYTHON_TRUE
    754 pkgpyexecdir
    755 pyexecdir
    756 pkgpythondir
    757 pythondir
    758 PYTHON_EXEC_PREFIX
    759 PYTHON_PREFIX
    760 PYTHON_PLATFORM
    761 PYTHON_VERSION
    762 PYTHON
    763 HAVE_PERL_FALSE
    764 HAVE_PERL_TRUE
    765 PERL
    766 FUZZ_LDFLAGS
    767 FUZZ_LOG_COMPILER
    768 HAVE_FUZZ_LOG_COMPILER_FALSE
    769 HAVE_FUZZ_LOG_COMPILER_TRUE
    770 RCU_VERSION
    771 LIBURCU_LIBS
    772 LIBURCU_CFLAGS
    773 PKG_CONFIG_LIBDIR
    774 PKG_CONFIG_PATH
    775 PKG_CONFIG
    776 TEST_CFLAGS
    777 STD_LDFLAGS
    778 STD_CPPFLAGS
    779 STD_CFLAGS
    780 DEVELOPER_MODE
    781 HOST_MACOS_FALSE
    782 HOST_MACOS_TRUE
    783 DLOPEN_LIBS
    784 LT_SYS_LIBRARY_PATH
    785 OTOOL64
    786 OTOOL
    787 LIPO
    788 NMEDIT
    789 DSYMUTIL
    790 MANIFEST_TOOL
    791 RANLIB
    792 DLLTOOL
    793 OBJDUMP
    794 FILECMD
    795 NM
    796 ac_ct_DUMPBIN
    797 DUMPBIN
    798 LD
    799 FGREP
    800 EGREP
    801 GREP
    802 SED
    803 LIBTOOL
    804 LN_S
    805 ac_ct_AR
    806 AR
    807 LDFLAGS_FOR_BUILD
    808 CPPFLAGS_FOR_BUILD
    809 CFLAGS_FOR_BUILD
    810 BUILD_OBJEXT
    811 BUILD_EXEEXT
    812 CPP_FOR_BUILD
    813 ac_ct_CC_FOR_BUILD
    814 CC_FOR_BUILD
    815 CPP
    816 am__fastdepCC_FALSE
    817 am__fastdepCC_TRUE
    818 CCDEPMODE
    819 am__nodep
    820 AMDEPBACKSLASH
    821 AMDEP_FALSE
    822 AMDEP_TRUE
    823 am__include
    824 DEPDIR
    825 OBJEXT
    826 EXEEXT
    827 ac_ct_CC
    828 CPPFLAGS
    829 LDFLAGS
    830 CFLAGS
    831 CC
    832 MAINT
    833 MAINTAINER_MODE_FALSE
    834 MAINTAINER_MODE_TRUE
    835 am__xargs_n
    836 am__rm_f_notfound
    837 AM_BACKSLASH
    838 AM_DEFAULT_VERBOSITY
    839 AM_DEFAULT_V
    840 AM_V
    841 CSCOPE
    842 ETAGS
    843 CTAGS
    844 am__untar
    845 am__tar
    846 AMTAR
    847 am__leading_dot
    848 SET_MAKE
    849 AWK
    850 mkdir_p
    851 MKDIR_P
    852 INSTALL_STRIP_PROGRAM
    853 STRIP
    854 install_sh
    855 MAKEINFO
    856 AUTOHEADER
    857 AUTOMAKE
    858 AUTOCONF
    859 ACLOCAL
    860 VERSION
    861 PACKAGE
    862 CYGPATH_W
    863 am__isrc
    864 INSTALL_DATA
    865 INSTALL_SCRIPT
    866 INSTALL_PROGRAM
    867 target_os
    868 target_vendor
    869 target_cpu
    870 target
    871 host_os
    872 host_vendor
    873 host_cpu
    874 host
    875 build_os
    876 build_vendor
    877 build_cpu
    878 build
    879 target_alias
    880 host_alias
    881 build_alias
    882 LIBS
    883 ECHO_T
    884 ECHO_N
    885 ECHO_C
    886 DEFS
    887 mandir
    888 localedir
    889 libdir
    890 psdir
    891 pdfdir
    892 dvidir
    893 htmldir
    894 infodir
    895 docdir
    896 oldincludedir
    897 includedir
    898 runstatedir
    899 localstatedir
    900 sharedstatedir
    901 sysconfdir
    902 datadir
    903 datarootdir
    904 libexecdir
    905 sbindir
    906 bindir
    907 program_transform_name
    908 prefix
    909 exec_prefix
    910 PACKAGE_URL
    911 PACKAGE_BUGREPORT
    912 PACKAGE_STRING
    913 PACKAGE_VERSION
    914 PACKAGE_TARNAME
    915 PACKAGE_NAME
    916 PATH_SEPARATOR
    917 SHELL
    918 am__quote'
    919 ac_subst_files=''
    920 ac_user_opts='
    921 enable_option_checking
    922 enable_silent_rules
    923 enable_maintainer_mode
    924 enable_dependency_tracking
    925 enable_largefile
    926 enable_static
    927 enable_pic
    928 with_pic
    929 enable_shared
    930 enable_fast_install
    931 enable_aix_soname
    932 with_aix_soname
    933 with_gnu_ld
    934 with_sysroot
    935 enable_libtool_lock
    936 enable_developer
    937 enable_warn_error
    938 with_liburcu
    939 enable_fuzzing
    940 with_python_sys_prefix
    941 with_python_prefix
    942 with_python_exec_prefix
    943 enable_geoip
    944 with_maxminddb
    945 enable_doh
    946 with_libnghttp2
    947 enable_pthread_rwlock
    948 with_openssl
    949 enable_fips_mode
    950 with_gssapi
    951 with_lmdb
    952 with_libxml2
    953 with_json_c
    954 with_zlib
    955 enable_tcp_fastopen
    956 with_readline
    957 enable_chroot
    958 enable_fixed_rrset
    959 enable_dnstap
    960 with_libidn2
    961 with_cmocka
    962 with_jemalloc
    963 enable_leak_detection
    964 enable_singletrace
    965 enable_querytrace
    966 enable_auto_validation
    967 enable_dnsrps_dl
    968 with_dnsrps_libname
    969 with_dnsrps_dir
    970 enable_dnsrps
    971 enable_tracing
    972 with_zonedb
    973 with_cachedb
    974 enable_year2038
    975 enable_full_report
    976 '
    977       ac_precious_vars='build_alias
    978 host_alias
    979 target_alias
    980 CC
    981 CFLAGS
    982 LDFLAGS
    983 LIBS
    984 CPPFLAGS
    985 CPP
    986 LT_SYS_LIBRARY_PATH
    987 PKG_CONFIG
    988 PKG_CONFIG_PATH
    989 PKG_CONFIG_LIBDIR
    990 LIBURCU_CFLAGS
    991 LIBURCU_LIBS
    992 RCU_VERSION
    993 PYTHON
    994 MAXMINDDB_CFLAGS
    995 MAXMINDDB_LIBS
    996 MAXMINDDB_PREFIX
    997 LIBUV_CFLAGS
    998 LIBUV_LIBS
    999 LIBUV_VERSION
   1000 LIBNGHTTP2_CFLAGS
   1001 LIBNGHTTP2_LIBS
   1002 OPENSSL_CFLAGS
   1003 OPENSSL_LIBS
   1004 OPENSSL_VERSION
   1005 LMDB_CFLAGS
   1006 LMDB_LIBS
   1007 LIBXML2_CFLAGS
   1008 LIBXML2_LIBS
   1009 JSON_C_CFLAGS
   1010 JSON_C_LIBS
   1011 ZLIB_CFLAGS
   1012 ZLIB_LIBS
   1013 READLINE_CFLAGS
   1014 READLINE_LIBS
   1015 LIBCAP_CFLAGS
   1016 LIBCAP_LIBS
   1017 DNSTAP_CFLAGS
   1018 DNSTAP_LIBS
   1019 SPHINX_BUILD
   1020 LIBIDN2_CFLAGS
   1021 LIBIDN2_LIBS
   1022 CMOCKA_CFLAGS
   1023 CMOCKA_LIBS
   1024 JEMALLOC_CFLAGS
   1025 JEMALLOC_LIBS
   1026 JEMALLOC_VERSION
   1027 DTRACE'
   1028 
   1029 
   1030 # Initialize some variables set by options.
   1031 ac_init_help=
   1032 ac_init_version=false
   1033 ac_unrecognized_opts=
   1034 ac_unrecognized_sep=
   1035 # The variables have the same names as the options, with
   1036 # dashes changed to underlines.
   1037 cache_file=/dev/null
   1038 exec_prefix=NONE
   1039 no_create=
   1040 no_recursion=
   1041 prefix=NONE
   1042 program_prefix=NONE
   1043 program_suffix=NONE
   1044 program_transform_name=s,x,x,
   1045 silent=
   1046 site=
   1047 srcdir=
   1048 verbose=
   1049 x_includes=NONE
   1050 x_libraries=NONE
   1051 
   1052 # Installation directory options.
   1053 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1054 # and all the variables that are supposed to be based on exec_prefix
   1055 # by default will actually change.
   1056 # Use braces instead of parens because sh, perl, etc. also accept them.
   1057 # (The list follows the same order as the GNU Coding Standards.)
   1058 bindir='${exec_prefix}/bin'
   1059 sbindir='${exec_prefix}/sbin'
   1060 libexecdir='${exec_prefix}/libexec'
   1061 datarootdir='${prefix}/share'
   1062 datadir='${datarootdir}'
   1063 sysconfdir='${prefix}/etc'
   1064 sharedstatedir='${prefix}/com'
   1065 localstatedir='${prefix}/var'
   1066 runstatedir='${localstatedir}/run'
   1067 includedir='${prefix}/include'
   1068 oldincludedir='/usr/include'
   1069 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1070 infodir='${datarootdir}/info'
   1071 htmldir='${docdir}'
   1072 dvidir='${docdir}'
   1073 pdfdir='${docdir}'
   1074 psdir='${docdir}'
   1075 libdir='${exec_prefix}/lib'
   1076 localedir='${datarootdir}/locale'
   1077 mandir='${datarootdir}/man'
   1078 
   1079 ac_prev=
   1080 ac_dashdash=
   1081 for ac_option
   1082 do
   1083   # If the previous option needs an argument, assign it.
   1084   if test -n "$ac_prev"; then
   1085     eval $ac_prev=\$ac_option
   1086     ac_prev=
   1087     continue
   1088   fi
   1089 
   1090   case $ac_option in
   1091   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1092   *=)   ac_optarg= ;;
   1093   *)    ac_optarg=yes ;;
   1094   esac
   1095 
   1096   case $ac_dashdash$ac_option in
   1097   --)
   1098     ac_dashdash=yes ;;
   1099 
   1100   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1101     ac_prev=bindir ;;
   1102   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1103     bindir=$ac_optarg ;;
   1104 
   1105   -build | --build | --buil | --bui | --bu)
   1106     ac_prev=build_alias ;;
   1107   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1108     build_alias=$ac_optarg ;;
   1109 
   1110   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1111   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1112     ac_prev=cache_file ;;
   1113   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1114   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1115     cache_file=$ac_optarg ;;
   1116 
   1117   --config-cache | -C)
   1118     cache_file=config.cache ;;
   1119 
   1120   -datadir | --datadir | --datadi | --datad)
   1121     ac_prev=datadir ;;
   1122   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1123     datadir=$ac_optarg ;;
   1124 
   1125   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1126   | --dataroo | --dataro | --datar)
   1127     ac_prev=datarootdir ;;
   1128   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1129   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1130     datarootdir=$ac_optarg ;;
   1131 
   1132   -disable-* | --disable-*)
   1133     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1134     # Reject names that are not valid shell variable names.
   1135     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1136       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1137     ac_useropt_orig=$ac_useropt
   1138     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1139     case $ac_user_opts in
   1140       *"
   1141 "enable_$ac_useropt"
   1142 "*) ;;
   1143       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1144 	 ac_unrecognized_sep=', ';;
   1145     esac
   1146     eval enable_$ac_useropt=no ;;
   1147 
   1148   -docdir | --docdir | --docdi | --doc | --do)
   1149     ac_prev=docdir ;;
   1150   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1151     docdir=$ac_optarg ;;
   1152 
   1153   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1154     ac_prev=dvidir ;;
   1155   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1156     dvidir=$ac_optarg ;;
   1157 
   1158   -enable-* | --enable-*)
   1159     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1160     # Reject names that are not valid shell variable names.
   1161     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1162       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1163     ac_useropt_orig=$ac_useropt
   1164     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1165     case $ac_user_opts in
   1166       *"
   1167 "enable_$ac_useropt"
   1168 "*) ;;
   1169       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1170 	 ac_unrecognized_sep=', ';;
   1171     esac
   1172     eval enable_$ac_useropt=\$ac_optarg ;;
   1173 
   1174   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1175   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1176   | --exec | --exe | --ex)
   1177     ac_prev=exec_prefix ;;
   1178   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1179   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1180   | --exec=* | --exe=* | --ex=*)
   1181     exec_prefix=$ac_optarg ;;
   1182 
   1183   -gas | --gas | --ga | --g)
   1184     # Obsolete; use --with-gas.
   1185     with_gas=yes ;;
   1186 
   1187   -help | --help | --hel | --he | -h)
   1188     ac_init_help=long ;;
   1189   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1190     ac_init_help=recursive ;;
   1191   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1192     ac_init_help=short ;;
   1193 
   1194   -host | --host | --hos | --ho)
   1195     ac_prev=host_alias ;;
   1196   -host=* | --host=* | --hos=* | --ho=*)
   1197     host_alias=$ac_optarg ;;
   1198 
   1199   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1200     ac_prev=htmldir ;;
   1201   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1202   | --ht=*)
   1203     htmldir=$ac_optarg ;;
   1204 
   1205   -includedir | --includedir | --includedi | --included | --include \
   1206   | --includ | --inclu | --incl | --inc)
   1207     ac_prev=includedir ;;
   1208   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1209   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1210     includedir=$ac_optarg ;;
   1211 
   1212   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1213     ac_prev=infodir ;;
   1214   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1215     infodir=$ac_optarg ;;
   1216 
   1217   -libdir | --libdir | --libdi | --libd)
   1218     ac_prev=libdir ;;
   1219   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1220     libdir=$ac_optarg ;;
   1221 
   1222   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1223   | --libexe | --libex | --libe)
   1224     ac_prev=libexecdir ;;
   1225   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1226   | --libexe=* | --libex=* | --libe=*)
   1227     libexecdir=$ac_optarg ;;
   1228 
   1229   -localedir | --localedir | --localedi | --localed | --locale)
   1230     ac_prev=localedir ;;
   1231   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1232     localedir=$ac_optarg ;;
   1233 
   1234   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1235   | --localstate | --localstat | --localsta | --localst | --locals)
   1236     ac_prev=localstatedir ;;
   1237   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1238   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1239     localstatedir=$ac_optarg ;;
   1240 
   1241   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1242     ac_prev=mandir ;;
   1243   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1244     mandir=$ac_optarg ;;
   1245 
   1246   -nfp | --nfp | --nf)
   1247     # Obsolete; use --without-fp.
   1248     with_fp=no ;;
   1249 
   1250   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1251   | --no-cr | --no-c | -n)
   1252     no_create=yes ;;
   1253 
   1254   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1255   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1256     no_recursion=yes ;;
   1257 
   1258   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1259   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1260   | --oldin | --oldi | --old | --ol | --o)
   1261     ac_prev=oldincludedir ;;
   1262   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1263   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1264   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1265     oldincludedir=$ac_optarg ;;
   1266 
   1267   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1268     ac_prev=prefix ;;
   1269   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1270     prefix=$ac_optarg ;;
   1271 
   1272   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1273   | --program-pre | --program-pr | --program-p)
   1274     ac_prev=program_prefix ;;
   1275   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1276   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1277     program_prefix=$ac_optarg ;;
   1278 
   1279   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1280   | --program-suf | --program-su | --program-s)
   1281     ac_prev=program_suffix ;;
   1282   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1283   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1284     program_suffix=$ac_optarg ;;
   1285 
   1286   -program-transform-name | --program-transform-name \
   1287   | --program-transform-nam | --program-transform-na \
   1288   | --program-transform-n | --program-transform- \
   1289   | --program-transform | --program-transfor \
   1290   | --program-transfo | --program-transf \
   1291   | --program-trans | --program-tran \
   1292   | --progr-tra | --program-tr | --program-t)
   1293     ac_prev=program_transform_name ;;
   1294   -program-transform-name=* | --program-transform-name=* \
   1295   | --program-transform-nam=* | --program-transform-na=* \
   1296   | --program-transform-n=* | --program-transform-=* \
   1297   | --program-transform=* | --program-transfor=* \
   1298   | --program-transfo=* | --program-transf=* \
   1299   | --program-trans=* | --program-tran=* \
   1300   | --progr-tra=* | --program-tr=* | --program-t=*)
   1301     program_transform_name=$ac_optarg ;;
   1302 
   1303   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1304     ac_prev=pdfdir ;;
   1305   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1306     pdfdir=$ac_optarg ;;
   1307 
   1308   -psdir | --psdir | --psdi | --psd | --ps)
   1309     ac_prev=psdir ;;
   1310   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1311     psdir=$ac_optarg ;;
   1312 
   1313   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1314   | -silent | --silent | --silen | --sile | --sil)
   1315     silent=yes ;;
   1316 
   1317   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1318   | --runstate | --runstat | --runsta | --runst | --runs \
   1319   | --run | --ru | --r)
   1320     ac_prev=runstatedir ;;
   1321   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1322   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1323   | --run=* | --ru=* | --r=*)
   1324     runstatedir=$ac_optarg ;;
   1325 
   1326   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1327     ac_prev=sbindir ;;
   1328   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1329   | --sbi=* | --sb=*)
   1330     sbindir=$ac_optarg ;;
   1331 
   1332   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1333   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1334   | --sharedst | --shareds | --shared | --share | --shar \
   1335   | --sha | --sh)
   1336     ac_prev=sharedstatedir ;;
   1337   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1338   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1339   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1340   | --sha=* | --sh=*)
   1341     sharedstatedir=$ac_optarg ;;
   1342 
   1343   -site | --site | --sit)
   1344     ac_prev=site ;;
   1345   -site=* | --site=* | --sit=*)
   1346     site=$ac_optarg ;;
   1347 
   1348   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1349     ac_prev=srcdir ;;
   1350   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1351     srcdir=$ac_optarg ;;
   1352 
   1353   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1354   | --syscon | --sysco | --sysc | --sys | --sy)
   1355     ac_prev=sysconfdir ;;
   1356   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1357   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1358     sysconfdir=$ac_optarg ;;
   1359 
   1360   -target | --target | --targe | --targ | --tar | --ta | --t)
   1361     ac_prev=target_alias ;;
   1362   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1363     target_alias=$ac_optarg ;;
   1364 
   1365   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1366     verbose=yes ;;
   1367 
   1368   -version | --version | --versio | --versi | --vers | -V)
   1369     ac_init_version=: ;;
   1370 
   1371   -with-* | --with-*)
   1372     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1373     # Reject names that are not valid shell variable names.
   1374     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1375       as_fn_error $? "invalid package name: '$ac_useropt'"
   1376     ac_useropt_orig=$ac_useropt
   1377     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1378     case $ac_user_opts in
   1379       *"
   1380 "with_$ac_useropt"
   1381 "*) ;;
   1382       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1383 	 ac_unrecognized_sep=', ';;
   1384     esac
   1385     eval with_$ac_useropt=\$ac_optarg ;;
   1386 
   1387   -without-* | --without-*)
   1388     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1389     # Reject names that are not valid shell variable names.
   1390     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1391       as_fn_error $? "invalid package name: '$ac_useropt'"
   1392     ac_useropt_orig=$ac_useropt
   1393     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1394     case $ac_user_opts in
   1395       *"
   1396 "with_$ac_useropt"
   1397 "*) ;;
   1398       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1399 	 ac_unrecognized_sep=', ';;
   1400     esac
   1401     eval with_$ac_useropt=no ;;
   1402 
   1403   --x)
   1404     # Obsolete; use --with-x.
   1405     with_x=yes ;;
   1406 
   1407   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1408   | --x-incl | --x-inc | --x-in | --x-i)
   1409     ac_prev=x_includes ;;
   1410   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1411   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1412     x_includes=$ac_optarg ;;
   1413 
   1414   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1415   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1416     ac_prev=x_libraries ;;
   1417   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1418   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1419     x_libraries=$ac_optarg ;;
   1420 
   1421   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1422 Try '$0 --help' for more information"
   1423     ;;
   1424 
   1425   *=*)
   1426     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1427     # Reject names that are not valid shell variable names.
   1428     case $ac_envvar in #(
   1429       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1430       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1431     esac
   1432     eval $ac_envvar=\$ac_optarg
   1433     export $ac_envvar ;;
   1434 
   1435   *)
   1436     # FIXME: should be removed in autoconf 3.0.
   1437     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1438     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1439       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1440     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1441     ;;
   1442 
   1443   esac
   1444 done
   1445 
   1446 if test -n "$ac_prev"; then
   1447   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1448   as_fn_error $? "missing argument to $ac_option"
   1449 fi
   1450 
   1451 if test -n "$ac_unrecognized_opts"; then
   1452   case $enable_option_checking in
   1453     no) ;;
   1454     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1455     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1456   esac
   1457 fi
   1458 
   1459 # Check all directory arguments for consistency.
   1460 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1461 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1462 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1463 		libdir localedir mandir runstatedir
   1464 do
   1465   eval ac_val=\$$ac_var
   1466   # Remove trailing slashes.
   1467   case $ac_val in
   1468     */ )
   1469       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1470       eval $ac_var=\$ac_val;;
   1471   esac
   1472   # Be sure to have absolute directory names.
   1473   case $ac_val in
   1474     [\\/$]* | ?:[\\/]* )  continue;;
   1475     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1476   esac
   1477   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1478 done
   1479 
   1480 # There might be people who depend on the old broken behavior: '$host'
   1481 # used to hold the argument of --host etc.
   1482 # FIXME: To remove some day.
   1483 build=$build_alias
   1484 host=$host_alias
   1485 target=$target_alias
   1486 
   1487 # FIXME: To remove some day.
   1488 if test "x$host_alias" != x; then
   1489   if test "x$build_alias" = x; then
   1490     cross_compiling=maybe
   1491   elif test "x$build_alias" != "x$host_alias"; then
   1492     cross_compiling=yes
   1493   fi
   1494 fi
   1495 
   1496 ac_tool_prefix=
   1497 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1498 
   1499 test "$silent" = yes && exec 6>/dev/null
   1500 
   1501 
   1502 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1503 ac_ls_di=`ls -di .` &&
   1504 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1505   as_fn_error $? "working directory cannot be determined"
   1506 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1507   as_fn_error $? "pwd does not report name of working directory"
   1508 
   1509 
   1510 # Find the source files, if location was not specified.
   1511 if test -z "$srcdir"; then
   1512   ac_srcdir_defaulted=yes
   1513   # Try the directory containing this script, then the parent directory.
   1514   ac_confdir=`$as_dirname -- "$as_myself" ||
   1515 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1516 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1517 	 X"$as_myself" : 'X\(//\)$' \| \
   1518 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1519 printf "%s\n" X"$as_myself" |
   1520     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1521 	    s//\1/
   1522 	    q
   1523 	  }
   1524 	  /^X\(\/\/\)[^/].*/{
   1525 	    s//\1/
   1526 	    q
   1527 	  }
   1528 	  /^X\(\/\/\)$/{
   1529 	    s//\1/
   1530 	    q
   1531 	  }
   1532 	  /^X\(\/\).*/{
   1533 	    s//\1/
   1534 	    q
   1535 	  }
   1536 	  s/.*/./; q'`
   1537   srcdir=$ac_confdir
   1538   if test ! -r "$srcdir/$ac_unique_file"; then
   1539     srcdir=..
   1540   fi
   1541 else
   1542   ac_srcdir_defaulted=no
   1543 fi
   1544 if test ! -r "$srcdir/$ac_unique_file"; then
   1545   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1546   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1547 fi
   1548 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1549 ac_abs_confdir=`(
   1550 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1551 	pwd)`
   1552 # When building in place, set srcdir=.
   1553 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1554   srcdir=.
   1555 fi
   1556 # Remove unnecessary trailing slashes from srcdir.
   1557 # Double slashes in file names in object file debugging info
   1558 # mess up M-x gdb in Emacs.
   1559 case $srcdir in
   1560 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1561 esac
   1562 for ac_var in $ac_precious_vars; do
   1563   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1564   eval ac_env_${ac_var}_value=\$${ac_var}
   1565   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1566   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1567 done
   1568 
   1569 #
   1570 # Report the --help message.
   1571 #
   1572 if test "$ac_init_help" = "long"; then
   1573   # Omit some internal or obsolete options to make the list less imposing.
   1574   # This message is too long to be a string in the A/UX 3.1 sh.
   1575   cat <<_ACEOF
   1576 'configure' configures BIND 9.20.27 to adapt to many kinds of systems.
   1577 
   1578 Usage: $0 [OPTION]... [VAR=VALUE]...
   1579 
   1580 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1581 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1582 
   1583 Defaults for the options are specified in brackets.
   1584 
   1585 Configuration:
   1586   -h, --help              display this help and exit
   1587       --help=short        display options specific to this package
   1588       --help=recursive    display the short help of all the included packages
   1589   -V, --version           display version information and exit
   1590   -q, --quiet, --silent   do not print 'checking ...' messages
   1591       --cache-file=FILE   cache test results in FILE [disabled]
   1592   -C, --config-cache      alias for '--cache-file=config.cache'
   1593   -n, --no-create         do not create output files
   1594       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1595 
   1596 Installation directories:
   1597   --prefix=PREFIX         install architecture-independent files in PREFIX
   1598                           [$ac_default_prefix]
   1599   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1600                           [PREFIX]
   1601 
   1602 By default, 'make install' will install all the files in
   1603 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1604 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1605 for instance '--prefix=\$HOME'.
   1606 
   1607 For better control, use the options below.
   1608 
   1609 Fine tuning of the installation directories:
   1610   --bindir=DIR            user executables [EPREFIX/bin]
   1611   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1612   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1613   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1614   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1615   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1616   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1617   --libdir=DIR            object code libraries [EPREFIX/lib]
   1618   --includedir=DIR        C header files [PREFIX/include]
   1619   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1620   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1621   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1622   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1623   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1624   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1625   --docdir=DIR            documentation root [DATAROOTDIR/doc/bind]
   1626   --htmldir=DIR           html documentation [DOCDIR]
   1627   --dvidir=DIR            dvi documentation [DOCDIR]
   1628   --pdfdir=DIR            pdf documentation [DOCDIR]
   1629   --psdir=DIR             ps documentation [DOCDIR]
   1630 _ACEOF
   1631 
   1632   cat <<\_ACEOF
   1633 
   1634 Program names:
   1635   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1636   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1637   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1638 
   1639 System types:
   1640   --build=BUILD     configure for building on BUILD [guessed]
   1641   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1642   --target=TARGET   configure for building compilers for TARGET [HOST]
   1643 _ACEOF
   1644 fi
   1645 
   1646 if test -n "$ac_init_help"; then
   1647   case $ac_init_help in
   1648      short | recursive ) echo "Configuration of BIND 9.20.27:";;
   1649    esac
   1650   cat <<\_ACEOF
   1651 
   1652 Optional Features:
   1653   --disable-option-checking  ignore unrecognized --enable/--with options
   1654   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1655   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1656   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1657   --disable-silent-rules  verbose build output (undo: "make V=0")
   1658   --disable-maintainer-mode
   1659                           disable make rules and dependencies not useful (and
   1660                           sometimes confusing) to the casual installer
   1661   --enable-dependency-tracking
   1662                           do not reject slow dependency extractors
   1663   --disable-dependency-tracking
   1664                           speeds up one-time build
   1665   --disable-largefile     omit support for large files
   1666   --enable-static[=PKGS]  build static libraries [default=no]
   1667   --enable-pic[=PKGS]     try to use only PIC/non-PIC objects [default=use
   1668                           both]
   1669   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1670   --enable-fast-install[=PKGS]
   1671                           optimize for fast installation [default=yes]
   1672   --enable-aix-soname=aix|svr4|both
   1673                           shared library versioning (aka "SONAME") variant to
   1674                           provide on AIX, [default=aix].
   1675   --disable-libtool-lock  avoid locking (might break parallel builds)
   1676   --enable-developer      enable developer build settings
   1677   --enable-warn-error     turn on -Werror when compiling
   1678   --enable-fuzzing=<afl|libfuzzer|ossfuzz>
   1679                           Enable fuzzing using American Fuzzy Lop or libFuzzer
   1680                           (default=no)
   1681   --disable-geoip         support GeoIP2 geolocation ACLs if available
   1682                           [default=yes]
   1683   --disable-doh           disable DNS over HTTPS, removes dependency on
   1684                           libnghttp2 (default is --enable-doh)
   1685   --enable-pthread-rwlock use pthread rwlock instead of internal rwlock
   1686                           implementation
   1687   --enable-fips-mode      enable FIPS mode in OpenSSL library [default=no]
   1688   --disable-tcp-fastopen  disable TCP Fast Open support [default=yes]
   1689   --disable-chroot        disable chroot
   1690   --enable-fixed-rrset    enable fixed rrset ordering [default=no]
   1691   --enable-dnstap         enable dnstap support (requires fstrm, protobuf-c)
   1692   --enable-leak-detection enable the memory leak detection in external
   1693                           libraries (libxml2, libuv, OpenSSL) (disabled by
   1694                           default)
   1695   --enable-singletrace    enable single-query trace logging [default=no]
   1696   --enable-querytrace     enable very verbose query trace logging [default=no]
   1697   --enable-auto-validation
   1698                           turn on DNSSEC validation by default, using the IANA
   1699                           root key [default=yes]
   1700   --enable-dnsrps-dl      DNS Response Policy Service delayed link
   1701                           [default=yes]
   1702   --enable-dnsrps         enable DNS Response Policy Service API
   1703   --enable-tracing        enable User Statically Defined Tracing
   1704   --enable-year2038       support timestamps after 2038
   1705   --enable-full-report    report values of all configure options
   1706 
   1707 Optional Packages:
   1708   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1709   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1710   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1711   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1712                           compiler's sysroot if not specified).
   1713   --with-liburcu=FLAVOR   Build with Userspace-RCU variant (developer-only
   1714                           option) (membarrier|qsbr|mb|bp) [default=membarrier])
   1715   --with-python-sys-prefix
   1716                           use Python's sys.prefix and sys.exec_prefix values
   1717   --with-python_prefix    override the default PYTHON_PREFIX
   1718   --with-python_exec_prefix
   1719                           override the default PYTHON_EXEC_PREFIX
   1720   --with-maxminddb=PATH   Build with MaxMind GeoIP2 support (auto|yes|no|path)
   1721                           [default=auto]
   1722   --with-libnghttp2       build with libnghttp2 library [yes|no|auto] (default
   1723                           is auto)
   1724   --with-openssl=DIR      root of the OpenSSL directory
   1725   --with-gssapi=PATH|[/path/]krb5-config
   1726                           Specify path for system-supplied GSSAPI
   1727                           [default=auto]
   1728   --with-lmdb=[PATH]      use LMDB library [default=auto], optionally specify
   1729                           the prefix for lmdb library
   1730   --with-libxml2          build with libxml2 library [yes|no|auto] (default is
   1731                           auto)
   1732   --with-json-c           build with json-c library [yes|no|detect] (default
   1733                           is detect)
   1734   --with-zlib             build with zlib for HTTP compression [default=yes]
   1735   --with-readline=yes|no|libedit|readline
   1736                           specify readline library [default auto]
   1737   --with-libidn2=PATH     enable IDN support using GNU libidn2
   1738                           [yes|no(default)|path]
   1739   --with-cmocka=detect    enable CMocka based tests (default is detect)
   1740   --with-jemalloc=detect  enable jemalloc memory allocator (default is detect)
   1741   --with-dnsrps-libname   DNSRPS provider library name (librpz.so)
   1742   --with-dnsrps-dir       path to DNSRPS provider library
   1743   --with-zonedb=detect    specify default zone database type (default is
   1744                           "qpzone")
   1745   --with-cachedb=detect   specify default cache database type (default is
   1746                           "qpcache")
   1747 
   1748 Some influential environment variables:
   1749   CC          C compiler command
   1750   CFLAGS      C compiler flags
   1751   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1752               nonstandard directory <lib dir>
   1753   LIBS        libraries to pass to the linker, e.g. -l<library>
   1754   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1755               you have headers in a nonstandard directory <include dir>
   1756   CPP         C preprocessor
   1757   LT_SYS_LIBRARY_PATH
   1758               User-defined run-time library search path.
   1759   PKG_CONFIG  path to pkg-config utility
   1760   PKG_CONFIG_PATH
   1761               directories to add to pkg-config's search path
   1762   PKG_CONFIG_LIBDIR
   1763               path overriding pkg-config's built-in search path
   1764   LIBURCU_CFLAGS
   1765               C compiler flags for LIBURCU, overriding pkg-config
   1766   LIBURCU_LIBS
   1767               linker flags for LIBURCU, overriding pkg-config
   1768   RCU_VERSION version of $RCU_FLAVOR, overriding pkg-config
   1769   PYTHON      the Python interpreter
   1770   MAXMINDDB_CFLAGS
   1771               C compiler flags for MAXMINDDB, overriding pkg-config
   1772   MAXMINDDB_LIBS
   1773               linker flags for MAXMINDDB, overriding pkg-config
   1774   MAXMINDDB_PREFIX
   1775               value of prefix for libmaxminddb, overriding pkg-config
   1776   LIBUV_CFLAGS
   1777               C compiler flags for LIBUV, overriding pkg-config
   1778   LIBUV_LIBS  linker flags for LIBUV, overriding pkg-config
   1779   LIBUV_VERSION
   1780               version of libuv, overriding pkg-config
   1781   LIBNGHTTP2_CFLAGS
   1782               C compiler flags for LIBNGHTTP2, overriding pkg-config
   1783   LIBNGHTTP2_LIBS
   1784               linker flags for LIBNGHTTP2, overriding pkg-config
   1785   OPENSSL_CFLAGS
   1786               C compiler flags for OPENSSL, overriding pkg-config
   1787   OPENSSL_LIBS
   1788               linker flags for OPENSSL, overriding pkg-config
   1789   OPENSSL_VERSION
   1790               version of openssl, overriding pkg-config
   1791   LMDB_CFLAGS C compiler flags for LMDB, overriding pkg-config
   1792   LMDB_LIBS   linker flags for LMDB, overriding pkg-config
   1793   LIBXML2_CFLAGS
   1794               C compiler flags for LIBXML2, overriding pkg-config
   1795   LIBXML2_LIBS
   1796               linker flags for LIBXML2, overriding pkg-config
   1797   JSON_C_CFLAGS
   1798               C compiler flags for JSON_C, overriding pkg-config
   1799   JSON_C_LIBS linker flags for JSON_C, overriding pkg-config
   1800   ZLIB_CFLAGS C compiler flags for ZLIB, overriding pkg-config
   1801   ZLIB_LIBS   linker flags for ZLIB, overriding pkg-config
   1802   READLINE_CFLAGS
   1803               C compiler flags for READLINE, overriding pkg-config
   1804   READLINE_LIBS
   1805               linker flags for READLINE, overriding pkg-config
   1806   LIBCAP_CFLAGS
   1807               C compiler flags for LIBCAP, overriding pkg-config
   1808   LIBCAP_LIBS linker flags for LIBCAP, overriding pkg-config
   1809   DNSTAP_CFLAGS
   1810               C compiler flags for DNSTAP, overriding pkg-config
   1811   DNSTAP_LIBS linker flags for DNSTAP, overriding pkg-config
   1812   SPHINX_BUILD
   1813               path to sphinx-build binary used to build the documentation
   1814   LIBIDN2_CFLAGS
   1815               C compiler flags for LIBIDN2, overriding pkg-config
   1816   LIBIDN2_LIBS
   1817               linker flags for LIBIDN2, overriding pkg-config
   1818   CMOCKA_CFLAGS
   1819               C compiler flags for CMOCKA, overriding pkg-config
   1820   CMOCKA_LIBS linker flags for CMOCKA, overriding pkg-config
   1821   JEMALLOC_CFLAGS
   1822               C compiler flags for JEMALLOC, overriding pkg-config
   1823   JEMALLOC_LIBS
   1824               linker flags for JEMALLOC, overriding pkg-config
   1825   JEMALLOC_VERSION
   1826               version of jemalloc, overriding pkg-config
   1827   DTRACE      path to dtrace binary used to build User Statically Defined
   1828               Tracing probes
   1829 
   1830 Use these variables to override the choices made by 'configure' or to help
   1831 it to find libraries and programs with nonstandard names/locations.
   1832 
   1833 Report bugs to <https://gitlab.isc.org/isc-projects/bind9/-/issues/new?issuable_template=Bug>.
   1834 BIND home page: <https://www.isc.org/downloads/>.
   1835 _ACEOF
   1836 ac_status=$?
   1837 fi
   1838 
   1839 if test "$ac_init_help" = "recursive"; then
   1840   # If there are subdirs, report their specific --help.
   1841   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1842     test -d "$ac_dir" ||
   1843       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1844       continue
   1845     ac_builddir=.
   1846 
   1847 case "$ac_dir" in
   1848 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1849 *)
   1850   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1851   # A ".." for each directory in $ac_dir_suffix.
   1852   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1853   case $ac_top_builddir_sub in
   1854   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1855   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1856   esac ;;
   1857 esac
   1858 ac_abs_top_builddir=$ac_pwd
   1859 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1860 # for backward compatibility:
   1861 ac_top_builddir=$ac_top_build_prefix
   1862 
   1863 case $srcdir in
   1864   .)  # We are building in place.
   1865     ac_srcdir=.
   1866     ac_top_srcdir=$ac_top_builddir_sub
   1867     ac_abs_top_srcdir=$ac_pwd ;;
   1868   [\\/]* | ?:[\\/]* )  # Absolute name.
   1869     ac_srcdir=$srcdir$ac_dir_suffix;
   1870     ac_top_srcdir=$srcdir
   1871     ac_abs_top_srcdir=$srcdir ;;
   1872   *) # Relative name.
   1873     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1874     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1875     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1876 esac
   1877 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1878 
   1879     cd "$ac_dir" || { ac_status=$?; continue; }
   1880     # Check for configure.gnu first; this name is used for a wrapper for
   1881     # Metaconfig's "Configure" on case-insensitive file systems.
   1882     if test -f "$ac_srcdir/configure.gnu"; then
   1883       echo &&
   1884       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1885     elif test -f "$ac_srcdir/configure"; then
   1886       echo &&
   1887       $SHELL "$ac_srcdir/configure" --help=recursive
   1888     else
   1889       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1890     fi || ac_status=$?
   1891     cd "$ac_pwd" || { ac_status=$?; break; }
   1892   done
   1893 fi
   1894 
   1895 test -n "$ac_init_help" && exit $ac_status
   1896 if $ac_init_version; then
   1897   cat <<\_ACEOF
   1898 BIND configure 9.20.27
   1899 generated by GNU Autoconf 2.72
   1900 
   1901 Copyright (C) 2023 Free Software Foundation, Inc.
   1902 This configure script is free software; the Free Software Foundation
   1903 gives unlimited permission to copy, distribute and modify it.
   1904 _ACEOF
   1905   exit
   1906 fi
   1907 
   1908 ## ------------------------ ##
   1909 ## Autoconf initialization. ##
   1910 ## ------------------------ ##
   1911 
   1912 # ac_fn_c_try_compile LINENO
   1913 # --------------------------
   1914 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1915 ac_fn_c_try_compile ()
   1916 {
   1917   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1918   rm -f conftest.$ac_objext conftest.beam
   1919   if { { ac_try="$ac_compile"
   1920 case "(($ac_try" in
   1921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1922   *) ac_try_echo=$ac_try;;
   1923 esac
   1924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1925 printf "%s\n" "$ac_try_echo"; } >&5
   1926   (eval "$ac_compile") 2>conftest.err
   1927   ac_status=$?
   1928   if test -s conftest.err; then
   1929     grep -v '^ *+' conftest.err >conftest.er1
   1930     cat conftest.er1 >&5
   1931     mv -f conftest.er1 conftest.err
   1932   fi
   1933   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1934   test $ac_status = 0; } && {
   1935 	 test -z "$ac_c_werror_flag" ||
   1936 	 test ! -s conftest.err
   1937        } && test -s conftest.$ac_objext
   1938 then :
   1939   ac_retval=0
   1940 else case e in #(
   1941   e) printf "%s\n" "$as_me: failed program was:" >&5
   1942 sed 's/^/| /' conftest.$ac_ext >&5
   1943 
   1944 	ac_retval=1 ;;
   1945 esac
   1946 fi
   1947   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1948   as_fn_set_status $ac_retval
   1949 
   1950 } # ac_fn_c_try_compile
   1951 
   1952 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1953 # -------------------------------------------------------
   1954 # Tests whether HEADER exists and can be compiled using the include files in
   1955 # INCLUDES, setting the cache variable VAR accordingly.
   1956 ac_fn_c_check_header_compile ()
   1957 {
   1958   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1959   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1960 printf %s "checking for $2... " >&6; }
   1961 if eval test \${$3+y}
   1962 then :
   1963   printf %s "(cached) " >&6
   1964 else case e in #(
   1965   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1966 /* end confdefs.h.  */
   1967 $4
   1968 #include <$2>
   1969 _ACEOF
   1970 if ac_fn_c_try_compile "$LINENO"
   1971 then :
   1972   eval "$3=yes"
   1973 else case e in #(
   1974   e) eval "$3=no" ;;
   1975 esac
   1976 fi
   1977 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1978 esac
   1979 fi
   1980 eval ac_res=\$$3
   1981 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1982 printf "%s\n" "$ac_res" >&6; }
   1983   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1984 
   1985 } # ac_fn_c_check_header_compile
   1986 
   1987 # ac_fn_c_try_cpp LINENO
   1988 # ----------------------
   1989 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1990 ac_fn_c_try_cpp ()
   1991 {
   1992   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1993   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1994 case "(($ac_try" in
   1995   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1996   *) ac_try_echo=$ac_try;;
   1997 esac
   1998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1999 printf "%s\n" "$ac_try_echo"; } >&5
   2000   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   2001   ac_status=$?
   2002   if test -s conftest.err; then
   2003     grep -v '^ *+' conftest.err >conftest.er1
   2004     cat conftest.er1 >&5
   2005     mv -f conftest.er1 conftest.err
   2006   fi
   2007   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2008   test $ac_status = 0; } > conftest.i && {
   2009 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   2010 	 test ! -s conftest.err
   2011        }
   2012 then :
   2013   ac_retval=0
   2014 else case e in #(
   2015   e) printf "%s\n" "$as_me: failed program was:" >&5
   2016 sed 's/^/| /' conftest.$ac_ext >&5
   2017 
   2018     ac_retval=1 ;;
   2019 esac
   2020 fi
   2021   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2022   as_fn_set_status $ac_retval
   2023 
   2024 } # ac_fn_c_try_cpp
   2025 
   2026 # ac_fn_c_try_link LINENO
   2027 # -----------------------
   2028 # Try to link conftest.$ac_ext, and return whether this succeeded.
   2029 ac_fn_c_try_link ()
   2030 {
   2031   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2032   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   2033   if { { ac_try="$ac_link"
   2034 case "(($ac_try" in
   2035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2036   *) ac_try_echo=$ac_try;;
   2037 esac
   2038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2039 printf "%s\n" "$ac_try_echo"; } >&5
   2040   (eval "$ac_link") 2>conftest.err
   2041   ac_status=$?
   2042   if test -s conftest.err; then
   2043     grep -v '^ *+' conftest.err >conftest.er1
   2044     cat conftest.er1 >&5
   2045     mv -f conftest.er1 conftest.err
   2046   fi
   2047   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2048   test $ac_status = 0; } && {
   2049 	 test -z "$ac_c_werror_flag" ||
   2050 	 test ! -s conftest.err
   2051        } && test -s conftest$ac_exeext && {
   2052 	 test "$cross_compiling" = yes ||
   2053 	 test -x conftest$ac_exeext
   2054        }
   2055 then :
   2056   ac_retval=0
   2057 else case e in #(
   2058   e) printf "%s\n" "$as_me: failed program was:" >&5
   2059 sed 's/^/| /' conftest.$ac_ext >&5
   2060 
   2061 	ac_retval=1 ;;
   2062 esac
   2063 fi
   2064   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2065   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2066   # interfere with the next link command; also delete a directory that is
   2067   # left behind by Apple's compiler.  We do this before executing the actions.
   2068   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2069   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2070   as_fn_set_status $ac_retval
   2071 
   2072 } # ac_fn_c_try_link
   2073 
   2074 # ac_fn_c_try_run LINENO
   2075 # ----------------------
   2076 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   2077 # executables *can* be run.
   2078 ac_fn_c_try_run ()
   2079 {
   2080   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2081   if { { ac_try="$ac_link"
   2082 case "(($ac_try" in
   2083   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2084   *) ac_try_echo=$ac_try;;
   2085 esac
   2086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2087 printf "%s\n" "$ac_try_echo"; } >&5
   2088   (eval "$ac_link") 2>&5
   2089   ac_status=$?
   2090   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2091   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   2092   { { case "(($ac_try" in
   2093   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2094   *) ac_try_echo=$ac_try;;
   2095 esac
   2096 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2097 printf "%s\n" "$ac_try_echo"; } >&5
   2098   (eval "$ac_try") 2>&5
   2099   ac_status=$?
   2100   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2101   test $ac_status = 0; }; }
   2102 then :
   2103   ac_retval=0
   2104 else case e in #(
   2105   e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5
   2106        printf "%s\n" "$as_me: failed program was:" >&5
   2107 sed 's/^/| /' conftest.$ac_ext >&5
   2108 
   2109        ac_retval=$ac_status ;;
   2110 esac
   2111 fi
   2112   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2113   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2114   as_fn_set_status $ac_retval
   2115 
   2116 } # ac_fn_c_try_run
   2117 
   2118 # ac_fn_c_check_func LINENO FUNC VAR
   2119 # ----------------------------------
   2120 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   2121 ac_fn_c_check_func ()
   2122 {
   2123   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2124   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2125 printf %s "checking for $2... " >&6; }
   2126 if eval test \${$3+y}
   2127 then :
   2128   printf %s "(cached) " >&6
   2129 else case e in #(
   2130   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2131 /* end confdefs.h.  */
   2132 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   2133    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   2134 #define $2 innocuous_$2
   2135 
   2136 /* System header to define __stub macros and hopefully few prototypes,
   2137    which can conflict with char $2 (void); below.  */
   2138 
   2139 #include <limits.h>
   2140 #undef $2
   2141 
   2142 /* Override any GCC internal prototype to avoid an error.
   2143    Use char because int might match the return type of a GCC
   2144    builtin and then its argument prototype would still apply.  */
   2145 #ifdef __cplusplus
   2146 extern "C"
   2147 #endif
   2148 char $2 (void);
   2149 /* The GNU C library defines this for functions which it implements
   2150     to always fail with ENOSYS.  Some functions are actually named
   2151     something starting with __ and the normal name is an alias.  */
   2152 #if defined __stub_$2 || defined __stub___$2
   2153 choke me
   2154 #endif
   2155 
   2156 int
   2157 main (void)
   2158 {
   2159 return $2 ();
   2160   ;
   2161   return 0;
   2162 }
   2163 _ACEOF
   2164 if ac_fn_c_try_link "$LINENO"
   2165 then :
   2166   eval "$3=yes"
   2167 else case e in #(
   2168   e) eval "$3=no" ;;
   2169 esac
   2170 fi
   2171 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   2172     conftest$ac_exeext conftest.$ac_ext ;;
   2173 esac
   2174 fi
   2175 eval ac_res=\$$3
   2176 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2177 printf "%s\n" "$ac_res" >&6; }
   2178   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2179 
   2180 } # ac_fn_c_check_func
   2181 
   2182 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2183 # -------------------------------------------
   2184 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2185 # variable VAR accordingly.
   2186 ac_fn_c_check_type ()
   2187 {
   2188   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2189   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2190 printf %s "checking for $2... " >&6; }
   2191 if eval test \${$3+y}
   2192 then :
   2193   printf %s "(cached) " >&6
   2194 else case e in #(
   2195   e) eval "$3=no"
   2196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2197 /* end confdefs.h.  */
   2198 $4
   2199 int
   2200 main (void)
   2201 {
   2202 if (sizeof ($2))
   2203 	 return 0;
   2204   ;
   2205   return 0;
   2206 }
   2207 _ACEOF
   2208 if ac_fn_c_try_compile "$LINENO"
   2209 then :
   2210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2211 /* end confdefs.h.  */
   2212 $4
   2213 int
   2214 main (void)
   2215 {
   2216 if (sizeof (($2)))
   2217 	    return 0;
   2218   ;
   2219   return 0;
   2220 }
   2221 _ACEOF
   2222 if ac_fn_c_try_compile "$LINENO"
   2223 then :
   2224 
   2225 else case e in #(
   2226   e) eval "$3=yes" ;;
   2227 esac
   2228 fi
   2229 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2230 fi
   2231 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2232 esac
   2233 fi
   2234 eval ac_res=\$$3
   2235 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2236 printf "%s\n" "$ac_res" >&6; }
   2237   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2238 
   2239 } # ac_fn_c_check_type
   2240 
   2241 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   2242 # ------------------------------------------------------------------
   2243 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2244 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   2245 ac_fn_check_decl ()
   2246 {
   2247   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2248   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2249   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2250 printf %s "checking whether $as_decl_name is declared... " >&6; }
   2251 if eval test \${$3+y}
   2252 then :
   2253   printf %s "(cached) " >&6
   2254 else case e in #(
   2255   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2256   eval ac_save_FLAGS=\$$6
   2257   as_fn_append $6 " $5"
   2258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2259 /* end confdefs.h.  */
   2260 $4
   2261 int
   2262 main (void)
   2263 {
   2264 #ifndef $as_decl_name
   2265 #ifdef __cplusplus
   2266   (void) $as_decl_use;
   2267 #else
   2268   (void) $as_decl_name;
   2269 #endif
   2270 #endif
   2271 
   2272   ;
   2273   return 0;
   2274 }
   2275 _ACEOF
   2276 if ac_fn_c_try_compile "$LINENO"
   2277 then :
   2278   eval "$3=yes"
   2279 else case e in #(
   2280   e) eval "$3=no" ;;
   2281 esac
   2282 fi
   2283 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2284   eval $6=\$ac_save_FLAGS
   2285  ;;
   2286 esac
   2287 fi
   2288 eval ac_res=\$$3
   2289 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2290 printf "%s\n" "$ac_res" >&6; }
   2291   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2292 
   2293 } # ac_fn_check_decl
   2294 ac_configure_args_raw=
   2295 for ac_arg
   2296 do
   2297   case $ac_arg in
   2298   *\'*)
   2299     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2300   esac
   2301   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2302 done
   2303 
   2304 case $ac_configure_args_raw in
   2305   *$as_nl*)
   2306     ac_safe_unquote= ;;
   2307   *)
   2308     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2309     ac_unsafe_a="$ac_unsafe_z#~"
   2310     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2311     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2312 esac
   2313 
   2314 cat >config.log <<_ACEOF
   2315 This file contains any messages produced by compilers while
   2316 running configure, to aid debugging if configure makes a mistake.
   2317 
   2318 It was created by BIND $as_me 9.20.27, which was
   2319 generated by GNU Autoconf 2.72.  Invocation command line was
   2320 
   2321   $ $0$ac_configure_args_raw
   2322 
   2323 _ACEOF
   2324 exec 5>>config.log
   2325 {
   2326 cat <<_ASUNAME
   2327 ## --------- ##
   2328 ## Platform. ##
   2329 ## --------- ##
   2330 
   2331 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2332 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2333 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2334 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2335 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2336 
   2337 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2338 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2339 
   2340 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2341 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2342 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2343 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2344 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2345 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2346 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2347 
   2348 _ASUNAME
   2349 
   2350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2351 for as_dir in $PATH
   2352 do
   2353   IFS=$as_save_IFS
   2354   case $as_dir in #(((
   2355     '') as_dir=./ ;;
   2356     */) ;;
   2357     *) as_dir=$as_dir/ ;;
   2358   esac
   2359     printf "%s\n" "PATH: $as_dir"
   2360   done
   2361 IFS=$as_save_IFS
   2362 
   2363 } >&5
   2364 
   2365 cat >&5 <<_ACEOF
   2366 
   2367 
   2368 ## ----------- ##
   2369 ## Core tests. ##
   2370 ## ----------- ##
   2371 
   2372 _ACEOF
   2373 
   2374 
   2375 # Keep a trace of the command line.
   2376 # Strip out --no-create and --no-recursion so they do not pile up.
   2377 # Strip out --silent because we don't want to record it for future runs.
   2378 # Also quote any args containing shell meta-characters.
   2379 # Make two passes to allow for proper duplicate-argument suppression.
   2380 ac_configure_args=
   2381 ac_configure_args0=
   2382 ac_configure_args1=
   2383 ac_must_keep_next=false
   2384 for ac_pass in 1 2
   2385 do
   2386   for ac_arg
   2387   do
   2388     case $ac_arg in
   2389     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2390     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2391     | -silent | --silent | --silen | --sile | --sil)
   2392       continue ;;
   2393     *\'*)
   2394       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2395     esac
   2396     case $ac_pass in
   2397     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2398     2)
   2399       as_fn_append ac_configure_args1 " '$ac_arg'"
   2400       if test $ac_must_keep_next = true; then
   2401 	ac_must_keep_next=false # Got value, back to normal.
   2402       else
   2403 	case $ac_arg in
   2404 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2405 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2406 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2407 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2408 	    case "$ac_configure_args0 " in
   2409 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2410 	    esac
   2411 	    ;;
   2412 	  -* ) ac_must_keep_next=true ;;
   2413 	esac
   2414       fi
   2415       as_fn_append ac_configure_args " '$ac_arg'"
   2416       ;;
   2417     esac
   2418   done
   2419 done
   2420 { ac_configure_args0=; unset ac_configure_args0;}
   2421 { ac_configure_args1=; unset ac_configure_args1;}
   2422 
   2423 # When interrupted or exit'd, cleanup temporary files, and complete
   2424 # config.log.  We remove comments because anyway the quotes in there
   2425 # would cause problems or look ugly.
   2426 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2427 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2428 trap 'exit_status=$?
   2429   # Sanitize IFS.
   2430   IFS=" ""	$as_nl"
   2431   # Save into config.log some information that might help in debugging.
   2432   {
   2433     echo
   2434 
   2435     printf "%s\n" "## ---------------- ##
   2436 ## Cache variables. ##
   2437 ## ---------------- ##"
   2438     echo
   2439     # The following way of writing the cache mishandles newlines in values,
   2440 (
   2441   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2442     eval ac_val=\$$ac_var
   2443     case $ac_val in #(
   2444     *${as_nl}*)
   2445       case $ac_var in #(
   2446       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2447 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2448       esac
   2449       case $ac_var in #(
   2450       _ | IFS | as_nl) ;; #(
   2451       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2452       *) { eval $ac_var=; unset $ac_var;} ;;
   2453       esac ;;
   2454     esac
   2455   done
   2456   (set) 2>&1 |
   2457     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2458     *${as_nl}ac_space=\ *)
   2459       sed -n \
   2460 	"s/'\''/'\''\\\\'\'''\''/g;
   2461 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2462       ;; #(
   2463     *)
   2464       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2465       ;;
   2466     esac |
   2467     sort
   2468 )
   2469     echo
   2470 
   2471     printf "%s\n" "## ----------------- ##
   2472 ## Output variables. ##
   2473 ## ----------------- ##"
   2474     echo
   2475     for ac_var in $ac_subst_vars
   2476     do
   2477       eval ac_val=\$$ac_var
   2478       case $ac_val in
   2479       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2480       esac
   2481       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2482     done | sort
   2483     echo
   2484 
   2485     if test -n "$ac_subst_files"; then
   2486       printf "%s\n" "## ------------------- ##
   2487 ## File substitutions. ##
   2488 ## ------------------- ##"
   2489       echo
   2490       for ac_var in $ac_subst_files
   2491       do
   2492 	eval ac_val=\$$ac_var
   2493 	case $ac_val in
   2494 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2495 	esac
   2496 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2497       done | sort
   2498       echo
   2499     fi
   2500 
   2501     if test -s confdefs.h; then
   2502       printf "%s\n" "## ----------- ##
   2503 ## confdefs.h. ##
   2504 ## ----------- ##"
   2505       echo
   2506       cat confdefs.h
   2507       echo
   2508     fi
   2509     test "$ac_signal" != 0 &&
   2510       printf "%s\n" "$as_me: caught signal $ac_signal"
   2511     printf "%s\n" "$as_me: exit $exit_status"
   2512   } >&5
   2513   rm -f core *.core core.conftest.* &&
   2514     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2515     exit $exit_status
   2516 ' 0
   2517 for ac_signal in 1 2 13 15; do
   2518   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2519 done
   2520 ac_signal=0
   2521 
   2522 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2523 rm -f -r conftest* confdefs.h
   2524 
   2525 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2526 
   2527 # Predefined preprocessor variables.
   2528 
   2529 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2530 
   2531 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2532 
   2533 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2534 
   2535 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2536 
   2537 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2538 
   2539 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2540 
   2541 
   2542 # Let the site file select an alternate cache file if it wants to.
   2543 # Prefer an explicitly selected file to automatically selected ones.
   2544 if test -n "$CONFIG_SITE"; then
   2545   ac_site_files="$CONFIG_SITE"
   2546 elif test "x$prefix" != xNONE; then
   2547   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2548 else
   2549   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2550 fi
   2551 
   2552 for ac_site_file in $ac_site_files
   2553 do
   2554   case $ac_site_file in #(
   2555   */*) :
   2556      ;; #(
   2557   *) :
   2558     ac_site_file=./$ac_site_file ;;
   2559 esac
   2560   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2561     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2562 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2563     sed 's/^/| /' "$ac_site_file" >&5
   2564     . "$ac_site_file" \
   2565       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2566 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2567 as_fn_error $? "failed to load site script $ac_site_file
   2568 See 'config.log' for more details" "$LINENO" 5; }
   2569   fi
   2570 done
   2571 
   2572 if test -r "$cache_file"; then
   2573   # Some versions of bash will fail to source /dev/null (special files
   2574   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2575   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2576     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2577 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2578     case $cache_file in
   2579       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2580       *)                      . "./$cache_file";;
   2581     esac
   2582   fi
   2583 else
   2584   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2585 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2586   >$cache_file
   2587 fi
   2588 
   2589 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2590 # Test code for whether the C compiler supports C89 (global declarations)
   2591 ac_c_conftest_c89_globals='
   2592 /* Does the compiler advertise C89 conformance?
   2593    Do not test the value of __STDC__, because some compilers set it to 0
   2594    while being otherwise adequately conformant. */
   2595 #if !defined __STDC__
   2596 # error "Compiler does not advertise C89 conformance"
   2597 #endif
   2598 
   2599 #include <stddef.h>
   2600 #include <stdarg.h>
   2601 struct stat;
   2602 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2603 struct buf { int x; };
   2604 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2605 static char *e (char **p, int i)
   2606 {
   2607   return p[i];
   2608 }
   2609 static char *f (char * (*g) (char **, int), char **p, ...)
   2610 {
   2611   char *s;
   2612   va_list v;
   2613   va_start (v,p);
   2614   s = g (p, va_arg (v,int));
   2615   va_end (v);
   2616   return s;
   2617 }
   2618 
   2619 /* C89 style stringification. */
   2620 #define noexpand_stringify(a) #a
   2621 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2622 
   2623 /* C89 style token pasting.  Exercises some of the corner cases that
   2624    e.g. old MSVC gets wrong, but not very hard. */
   2625 #define noexpand_concat(a,b) a##b
   2626 #define expand_concat(a,b) noexpand_concat(a,b)
   2627 extern int vA;
   2628 extern int vbee;
   2629 #define aye A
   2630 #define bee B
   2631 int *pvA = &expand_concat(v,aye);
   2632 int *pvbee = &noexpand_concat(v,bee);
   2633 
   2634 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2635    function prototypes and stuff, but not \xHH hex character constants.
   2636    These do not provoke an error unfortunately, instead are silently treated
   2637    as an "x".  The following induces an error, until -std is added to get
   2638    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2639    array size at least.  It is necessary to write \x00 == 0 to get something
   2640    that is true only with -std.  */
   2641 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2642 
   2643 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2644    inside strings and character constants.  */
   2645 #define FOO(x) '\''x'\''
   2646 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2647 
   2648 int test (int i, double x);
   2649 struct s1 {int (*f) (int a);};
   2650 struct s2 {int (*f) (double a);};
   2651 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2652                int, int);'
   2653 
   2654 # Test code for whether the C compiler supports C89 (body of main).
   2655 ac_c_conftest_c89_main='
   2656 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2657 '
   2658 
   2659 # Test code for whether the C compiler supports C99 (global declarations)
   2660 ac_c_conftest_c99_globals='
   2661 /* Does the compiler advertise C99 conformance? */
   2662 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2663 # error "Compiler does not advertise C99 conformance"
   2664 #endif
   2665 
   2666 // See if C++-style comments work.
   2667 
   2668 #include <stdbool.h>
   2669 extern int puts (const char *);
   2670 extern int printf (const char *, ...);
   2671 extern int dprintf (int, const char *, ...);
   2672 extern void *malloc (size_t);
   2673 extern void free (void *);
   2674 
   2675 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2676 // dprintf is used instead of fprintf to avoid needing to declare
   2677 // FILE and stderr.
   2678 #define debug(...) dprintf (2, __VA_ARGS__)
   2679 #define showlist(...) puts (#__VA_ARGS__)
   2680 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2681 static void
   2682 test_varargs_macros (void)
   2683 {
   2684   int x = 1234;
   2685   int y = 5678;
   2686   debug ("Flag");
   2687   debug ("X = %d\n", x);
   2688   showlist (The first, second, and third items.);
   2689   report (x>y, "x is %d but y is %d", x, y);
   2690 }
   2691 
   2692 // Check long long types.
   2693 #define BIG64 18446744073709551615ull
   2694 #define BIG32 4294967295ul
   2695 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2696 #if !BIG_OK
   2697   #error "your preprocessor is broken"
   2698 #endif
   2699 #if BIG_OK
   2700 #else
   2701   #error "your preprocessor is broken"
   2702 #endif
   2703 static long long int bignum = -9223372036854775807LL;
   2704 static unsigned long long int ubignum = BIG64;
   2705 
   2706 struct incomplete_array
   2707 {
   2708   int datasize;
   2709   double data[];
   2710 };
   2711 
   2712 struct named_init {
   2713   int number;
   2714   const wchar_t *name;
   2715   double average;
   2716 };
   2717 
   2718 typedef const char *ccp;
   2719 
   2720 static inline int
   2721 test_restrict (ccp restrict text)
   2722 {
   2723   // Iterate through items via the restricted pointer.
   2724   // Also check for declarations in for loops.
   2725   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2726     continue;
   2727   return 0;
   2728 }
   2729 
   2730 // Check varargs and va_copy.
   2731 static bool
   2732 test_varargs (const char *format, ...)
   2733 {
   2734   va_list args;
   2735   va_start (args, format);
   2736   va_list args_copy;
   2737   va_copy (args_copy, args);
   2738 
   2739   const char *str = "";
   2740   int number = 0;
   2741   float fnumber = 0;
   2742 
   2743   while (*format)
   2744     {
   2745       switch (*format++)
   2746 	{
   2747 	case '\''s'\'': // string
   2748 	  str = va_arg (args_copy, const char *);
   2749 	  break;
   2750 	case '\''d'\'': // int
   2751 	  number = va_arg (args_copy, int);
   2752 	  break;
   2753 	case '\''f'\'': // float
   2754 	  fnumber = va_arg (args_copy, double);
   2755 	  break;
   2756 	default:
   2757 	  break;
   2758 	}
   2759     }
   2760   va_end (args_copy);
   2761   va_end (args);
   2762 
   2763   return *str && number && fnumber;
   2764 }
   2765 '
   2766 
   2767 # Test code for whether the C compiler supports C99 (body of main).
   2768 ac_c_conftest_c99_main='
   2769   // Check bool.
   2770   _Bool success = false;
   2771   success |= (argc != 0);
   2772 
   2773   // Check restrict.
   2774   if (test_restrict ("String literal") == 0)
   2775     success = true;
   2776   char *restrict newvar = "Another string";
   2777 
   2778   // Check varargs.
   2779   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2780   test_varargs_macros ();
   2781 
   2782   // Check flexible array members.
   2783   struct incomplete_array *ia =
   2784     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2785   ia->datasize = 10;
   2786   for (int i = 0; i < ia->datasize; ++i)
   2787     ia->data[i] = i * 1.234;
   2788   // Work around memory leak warnings.
   2789   free (ia);
   2790 
   2791   // Check named initializers.
   2792   struct named_init ni = {
   2793     .number = 34,
   2794     .name = L"Test wide string",
   2795     .average = 543.34343,
   2796   };
   2797 
   2798   ni.number = 58;
   2799 
   2800   int dynamic_array[ni.number];
   2801   dynamic_array[0] = argv[0][0];
   2802   dynamic_array[ni.number - 1] = 543;
   2803 
   2804   // work around unused variable warnings
   2805   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2806 	 || dynamic_array[ni.number - 1] != 543);
   2807 '
   2808 
   2809 # Test code for whether the C compiler supports C11 (global declarations)
   2810 ac_c_conftest_c11_globals='
   2811 /* Does the compiler advertise C11 conformance? */
   2812 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2813 # error "Compiler does not advertise C11 conformance"
   2814 #endif
   2815 
   2816 // Check _Alignas.
   2817 char _Alignas (double) aligned_as_double;
   2818 char _Alignas (0) no_special_alignment;
   2819 extern char aligned_as_int;
   2820 char _Alignas (0) _Alignas (int) aligned_as_int;
   2821 
   2822 // Check _Alignof.
   2823 enum
   2824 {
   2825   int_alignment = _Alignof (int),
   2826   int_array_alignment = _Alignof (int[100]),
   2827   char_alignment = _Alignof (char)
   2828 };
   2829 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2830 
   2831 // Check _Noreturn.
   2832 int _Noreturn does_not_return (void) { for (;;) continue; }
   2833 
   2834 // Check _Static_assert.
   2835 struct test_static_assert
   2836 {
   2837   int x;
   2838   _Static_assert (sizeof (int) <= sizeof (long int),
   2839                   "_Static_assert does not work in struct");
   2840   long int y;
   2841 };
   2842 
   2843 // Check UTF-8 literals.
   2844 #define u8 syntax error!
   2845 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2846 
   2847 // Check duplicate typedefs.
   2848 typedef long *long_ptr;
   2849 typedef long int *long_ptr;
   2850 typedef long_ptr long_ptr;
   2851 
   2852 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2853 struct anonymous
   2854 {
   2855   union {
   2856     struct { int i; int j; };
   2857     struct { int k; long int l; } w;
   2858   };
   2859   int m;
   2860 } v1;
   2861 '
   2862 
   2863 # Test code for whether the C compiler supports C11 (body of main).
   2864 ac_c_conftest_c11_main='
   2865   _Static_assert ((offsetof (struct anonymous, i)
   2866 		   == offsetof (struct anonymous, w.k)),
   2867 		  "Anonymous union alignment botch");
   2868   v1.i = 2;
   2869   v1.w.k = 5;
   2870   ok |= v1.i != 5;
   2871 '
   2872 
   2873 # Test code for whether the C compiler supports C11 (complete).
   2874 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2875 ${ac_c_conftest_c99_globals}
   2876 ${ac_c_conftest_c11_globals}
   2877 
   2878 int
   2879 main (int argc, char **argv)
   2880 {
   2881   int ok = 0;
   2882   ${ac_c_conftest_c89_main}
   2883   ${ac_c_conftest_c99_main}
   2884   ${ac_c_conftest_c11_main}
   2885   return ok;
   2886 }
   2887 "
   2888 
   2889 # Test code for whether the C compiler supports C99 (complete).
   2890 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2891 ${ac_c_conftest_c99_globals}
   2892 
   2893 int
   2894 main (int argc, char **argv)
   2895 {
   2896   int ok = 0;
   2897   ${ac_c_conftest_c89_main}
   2898   ${ac_c_conftest_c99_main}
   2899   return ok;
   2900 }
   2901 "
   2902 
   2903 # Test code for whether the C compiler supports C89 (complete).
   2904 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2905 
   2906 int
   2907 main (int argc, char **argv)
   2908 {
   2909   int ok = 0;
   2910   ${ac_c_conftest_c89_main}
   2911   return ok;
   2912 }
   2913 "
   2914 
   2915 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2916 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2917 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2918 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2919 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2920 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2921 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2922 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2923 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2924 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2925 as_fn_append ac_func_c_list " arc4random HAVE_ARC4RANDOM"
   2926 
   2927 # Auxiliary files required by this configure script.
   2928 ac_aux_files="ltmain.sh ar-lib compile missing install-sh config.guess config.sub"
   2929 
   2930 # Locations in which to look for auxiliary files.
   2931 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2932 
   2933 # Search for a directory containing all of the required auxiliary files,
   2934 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2935 # If we don't find one directory that contains all the files we need,
   2936 # we report the set of missing files from the *first* directory in
   2937 # $ac_aux_dir_candidates and give up.
   2938 ac_missing_aux_files=""
   2939 ac_first_candidate=:
   2940 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2942 as_found=false
   2943 for as_dir in $ac_aux_dir_candidates
   2944 do
   2945   IFS=$as_save_IFS
   2946   case $as_dir in #(((
   2947     '') as_dir=./ ;;
   2948     */) ;;
   2949     *) as_dir=$as_dir/ ;;
   2950   esac
   2951   as_found=:
   2952 
   2953   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2954   ac_aux_dir_found=yes
   2955   ac_install_sh=
   2956   for ac_aux in $ac_aux_files
   2957   do
   2958     # As a special case, if "install-sh" is required, that requirement
   2959     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2960     # and $ac_install_sh is set appropriately for whichever one is found.
   2961     if test x"$ac_aux" = x"install-sh"
   2962     then
   2963       if test -f "${as_dir}install-sh"; then
   2964         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2965         ac_install_sh="${as_dir}install-sh -c"
   2966       elif test -f "${as_dir}install.sh"; then
   2967         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2968         ac_install_sh="${as_dir}install.sh -c"
   2969       elif test -f "${as_dir}shtool"; then
   2970         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2971         ac_install_sh="${as_dir}shtool install -c"
   2972       else
   2973         ac_aux_dir_found=no
   2974         if $ac_first_candidate; then
   2975           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2976         else
   2977           break
   2978         fi
   2979       fi
   2980     else
   2981       if test -f "${as_dir}${ac_aux}"; then
   2982         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2983       else
   2984         ac_aux_dir_found=no
   2985         if $ac_first_candidate; then
   2986           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2987         else
   2988           break
   2989         fi
   2990       fi
   2991     fi
   2992   done
   2993   if test "$ac_aux_dir_found" = yes; then
   2994     ac_aux_dir="$as_dir"
   2995     break
   2996   fi
   2997   ac_first_candidate=false
   2998 
   2999   as_found=false
   3000 done
   3001 IFS=$as_save_IFS
   3002 if $as_found
   3003 then :
   3004 
   3005 else case e in #(
   3006   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   3007 esac
   3008 fi
   3009 
   3010 
   3011 # These three variables are undocumented and unsupported,
   3012 # and are intended to be withdrawn in a future Autoconf release.
   3013 # They can cause serious problems if a builder's source tree is in a directory
   3014 # whose full name contains unusual characters.
   3015 if test -f "${ac_aux_dir}config.guess"; then
   3016   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   3017 fi
   3018 if test -f "${ac_aux_dir}config.sub"; then
   3019   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   3020 fi
   3021 if test -f "$ac_aux_dir/configure"; then
   3022   ac_configure="$SHELL ${ac_aux_dir}configure"
   3023 fi
   3024 
   3025 # Check that the precious variables saved in the cache have kept the same
   3026 # value.
   3027 ac_cache_corrupted=false
   3028 for ac_var in $ac_precious_vars; do
   3029   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   3030   eval ac_new_set=\$ac_env_${ac_var}_set
   3031   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   3032   eval ac_new_val=\$ac_env_${ac_var}_value
   3033   case $ac_old_set,$ac_new_set in
   3034     set,)
   3035       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   3036 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   3037       ac_cache_corrupted=: ;;
   3038     ,set)
   3039       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   3040 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   3041       ac_cache_corrupted=: ;;
   3042     ,);;
   3043     *)
   3044       if test "x$ac_old_val" != "x$ac_new_val"; then
   3045 	# differences in whitespace do not lead to failure.
   3046 	ac_old_val_w=`echo x $ac_old_val`
   3047 	ac_new_val_w=`echo x $ac_new_val`
   3048 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   3049 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   3050 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   3051 	  ac_cache_corrupted=:
   3052 	else
   3053 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   3054 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   3055 	  eval $ac_var=\$ac_old_val
   3056 	fi
   3057 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   3058 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   3059 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   3060 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   3061       fi;;
   3062   esac
   3063   # Pass precious variables to config.status.
   3064   if test "$ac_new_set" = set; then
   3065     case $ac_new_val in
   3066     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   3067     *) ac_arg=$ac_var=$ac_new_val ;;
   3068     esac
   3069     case " $ac_configure_args " in
   3070       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   3071       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   3072     esac
   3073   fi
   3074 done
   3075 if $ac_cache_corrupted; then
   3076   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3077 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3078   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   3079 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   3080   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   3081 	    and start over" "$LINENO" 5
   3082 fi
   3083 ## -------------------- ##
   3084 ## Main body of script. ##
   3085 ## -------------------- ##
   3086 
   3087 ac_ext=c
   3088 ac_cpp='$CPP $CPPFLAGS'
   3089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3092 
   3093 
   3094 
   3095 
   3096 
   3097 printf "%s\n" "#define PACKAGE_VERSION_MAJOR \"9\"" >>confdefs.h
   3098 
   3099 
   3100 printf "%s\n" "#define PACKAGE_VERSION_MINOR \"20\"" >>confdefs.h
   3101 
   3102 
   3103 printf "%s\n" "#define PACKAGE_VERSION_PATCH \"27\"" >>confdefs.h
   3104 
   3105 
   3106 printf "%s\n" "#define PACKAGE_VERSION_EXTRA \"\"" >>confdefs.h
   3107 
   3108 
   3109 printf "%s\n" "#define PACKAGE_DESCRIPTION \" (Stable Release)\"" >>confdefs.h
   3110 
   3111 
   3112 printf "%s\n" "#define PACKAGE_SRCID \"74d0754\"" >>confdefs.h
   3113 
   3114 
   3115 bind_CONFIGARGS="${ac_configure_args:-default}"
   3116 
   3117 printf "%s\n" "#define PACKAGE_CONFIGARGS \"$bind_CONFIGARGS\"" >>confdefs.h
   3118 
   3119 
   3120 
   3121 printf "%s\n" "#define PACKAGE_BUILDER \"make\"" >>confdefs.h
   3122 
   3123 
   3124 #
   3125 # Get the Canonical System Type
   3126 #
   3127 
   3128 
   3129 
   3130   # Make sure we can run config.sub.
   3131 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3132   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3133 
   3134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3135 printf %s "checking build system type... " >&6; }
   3136 if test ${ac_cv_build+y}
   3137 then :
   3138   printf %s "(cached) " >&6
   3139 else case e in #(
   3140   e) ac_build_alias=$build_alias
   3141 test "x$ac_build_alias" = x &&
   3142   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3143 test "x$ac_build_alias" = x &&
   3144   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3145 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3146   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3147  ;;
   3148 esac
   3149 fi
   3150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3151 printf "%s\n" "$ac_cv_build" >&6; }
   3152 case $ac_cv_build in
   3153 *-*-*) ;;
   3154 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3155 esac
   3156 build=$ac_cv_build
   3157 ac_save_IFS=$IFS; IFS='-'
   3158 set x $ac_cv_build
   3159 shift
   3160 build_cpu=$1
   3161 build_vendor=$2
   3162 shift; shift
   3163 # Remember, the first character of IFS is used to create $*,
   3164 # except with old shells:
   3165 build_os=$*
   3166 IFS=$ac_save_IFS
   3167 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3168 
   3169 
   3170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3171 printf %s "checking host system type... " >&6; }
   3172 if test ${ac_cv_host+y}
   3173 then :
   3174   printf %s "(cached) " >&6
   3175 else case e in #(
   3176   e) if test "x$host_alias" = x; then
   3177   ac_cv_host=$ac_cv_build
   3178 else
   3179   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3180     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3181 fi
   3182  ;;
   3183 esac
   3184 fi
   3185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3186 printf "%s\n" "$ac_cv_host" >&6; }
   3187 case $ac_cv_host in
   3188 *-*-*) ;;
   3189 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3190 esac
   3191 host=$ac_cv_host
   3192 ac_save_IFS=$IFS; IFS='-'
   3193 set x $ac_cv_host
   3194 shift
   3195 host_cpu=$1
   3196 host_vendor=$2
   3197 shift; shift
   3198 # Remember, the first character of IFS is used to create $*,
   3199 # except with old shells:
   3200 host_os=$*
   3201 IFS=$ac_save_IFS
   3202 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3203 
   3204 
   3205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   3206 printf %s "checking target system type... " >&6; }
   3207 if test ${ac_cv_target+y}
   3208 then :
   3209   printf %s "(cached) " >&6
   3210 else case e in #(
   3211   e) if test "x$target_alias" = x; then
   3212   ac_cv_target=$ac_cv_host
   3213 else
   3214   ac_cv_target=`$SHELL "${ac_aux_dir}config.sub" $target_alias` ||
   3215     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $target_alias failed" "$LINENO" 5
   3216 fi
   3217  ;;
   3218 esac
   3219 fi
   3220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   3221 printf "%s\n" "$ac_cv_target" >&6; }
   3222 case $ac_cv_target in
   3223 *-*-*) ;;
   3224 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   3225 esac
   3226 target=$ac_cv_target
   3227 ac_save_IFS=$IFS; IFS='-'
   3228 set x $ac_cv_target
   3229 shift
   3230 target_cpu=$1
   3231 target_vendor=$2
   3232 shift; shift
   3233 # Remember, the first character of IFS is used to create $*,
   3234 # except with old shells:
   3235 target_os=$*
   3236 IFS=$ac_save_IFS
   3237 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   3238 
   3239 
   3240 # The aliases save the names the user supplied, while $host etc.
   3241 # will get canonicalized.
   3242 test -n "$target_alias" &&
   3243   test "$program_prefix$program_suffix$program_transform_name" = \
   3244     NONENONEs,x,x, &&
   3245   program_prefix=${target_alias}-
   3246 
   3247 
   3248 am__api_version='1.17'
   3249 
   3250 
   3251   # Find a good install program.  We prefer a C program (faster),
   3252 # so one script is as good as another.  But avoid the broken or
   3253 # incompatible versions:
   3254 # SysV /etc/install, /usr/sbin/install
   3255 # SunOS /usr/etc/install
   3256 # IRIX /sbin/install
   3257 # AIX /bin/install
   3258 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3259 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3260 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3261 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3262 # OS/2's system install, which has a completely different semantic
   3263 # ./install, which can be erroneously created by make from ./install.sh.
   3264 # Reject install programs that cannot install multiple files.
   3265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3266 printf %s "checking for a BSD-compatible install... " >&6; }
   3267 if test -z "$INSTALL"; then
   3268 if test ${ac_cv_path_install+y}
   3269 then :
   3270   printf %s "(cached) " >&6
   3271 else case e in #(
   3272   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3273 for as_dir in $PATH
   3274 do
   3275   IFS=$as_save_IFS
   3276   case $as_dir in #(((
   3277     '') as_dir=./ ;;
   3278     */) ;;
   3279     *) as_dir=$as_dir/ ;;
   3280   esac
   3281     # Account for fact that we put trailing slashes in our PATH walk.
   3282 case $as_dir in #((
   3283   ./ | /[cC]/* | \
   3284   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3285   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3286   /usr/ucb/* ) ;;
   3287   *)
   3288     # OSF1 and SCO ODT 3.0 have their own names for install.
   3289     # Don't use installbsd from OSF since it installs stuff as root
   3290     # by default.
   3291     for ac_prog in ginstall scoinst install; do
   3292       for ac_exec_ext in '' $ac_executable_extensions; do
   3293 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   3294 	  if test $ac_prog = install &&
   3295 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3296 	    # AIX install.  It has an incompatible calling convention.
   3297 	    :
   3298 	  elif test $ac_prog = install &&
   3299 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3300 	    # program-specific install script used by HP pwplus--don't use.
   3301 	    :
   3302 	  else
   3303 	    rm -rf conftest.one conftest.two conftest.dir
   3304 	    echo one > conftest.one
   3305 	    echo two > conftest.two
   3306 	    mkdir conftest.dir
   3307 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   3308 	      test -s conftest.one && test -s conftest.two &&
   3309 	      test -s conftest.dir/conftest.one &&
   3310 	      test -s conftest.dir/conftest.two
   3311 	    then
   3312 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   3313 	      break 3
   3314 	    fi
   3315 	  fi
   3316 	fi
   3317       done
   3318     done
   3319     ;;
   3320 esac
   3321 
   3322   done
   3323 IFS=$as_save_IFS
   3324 
   3325 rm -rf conftest.one conftest.two conftest.dir
   3326  ;;
   3327 esac
   3328 fi
   3329   if test ${ac_cv_path_install+y}; then
   3330     INSTALL=$ac_cv_path_install
   3331   else
   3332     # As a last resort, use the slow shell script.  Don't cache a
   3333     # value for INSTALL within a source directory, because that will
   3334     # break other packages using the cache if that directory is
   3335     # removed, or if the value is a relative name.
   3336     INSTALL=$ac_install_sh
   3337   fi
   3338 fi
   3339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3340 printf "%s\n" "$INSTALL" >&6; }
   3341 
   3342 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3343 # It thinks the first close brace ends the variable substitution.
   3344 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3345 
   3346 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3347 
   3348 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3349 
   3350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   3351 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   3352 if test ${am_cv_sleep_fractional_seconds+y}
   3353 then :
   3354   printf %s "(cached) " >&6
   3355 else case e in #(
   3356   e) if sleep 0.001 2>/dev/null
   3357 then :
   3358   am_cv_sleep_fractional_seconds=yes
   3359 else case e in #(
   3360   e) am_cv_sleep_fractional_seconds=no ;;
   3361 esac
   3362 fi
   3363  ;;
   3364 esac
   3365 fi
   3366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   3367 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   3368 
   3369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   3370 printf %s "checking filesystem timestamp resolution... " >&6; }
   3371 if test ${am_cv_filesystem_timestamp_resolution+y}
   3372 then :
   3373   printf %s "(cached) " >&6
   3374 else case e in #(
   3375   e) # Default to the worst case.
   3376 am_cv_filesystem_timestamp_resolution=2
   3377 
   3378 # Only try to go finer than 1 sec if sleep can do it.
   3379 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   3380 # - 1 sec is not much of a win compared to 2 sec, and
   3381 # - it takes 2 seconds to perform the test whether 1 sec works.
   3382 #
   3383 # Instead, just use the default 2s on platforms that have 1s resolution,
   3384 # accept the extra 1s delay when using $sleep in the Automake tests, in
   3385 # exchange for not incurring the 2s delay for running the test for all
   3386 # packages.
   3387 #
   3388 am_try_resolutions=
   3389 if test "$am_cv_sleep_fractional_seconds" = yes; then
   3390   # Even a millisecond often causes a bunch of false positives,
   3391   # so just try a hundredth of a second. The time saved between .001 and
   3392   # .01 is not terribly consequential.
   3393   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   3394 fi
   3395 
   3396 # In order to catch current-generation FAT out, we must *modify* files
   3397 # that already exist; the *creation* timestamp is finer.  Use names
   3398 # that make ls -t sort them differently when they have equal
   3399 # timestamps than when they have distinct timestamps, keeping
   3400 # in mind that ls -t prints the *newest* file first.
   3401 rm -f conftest.ts?
   3402 : > conftest.ts1
   3403 : > conftest.ts2
   3404 : > conftest.ts3
   3405 
   3406 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   3407 # clobber the current shell's arguments. (Outer-level square brackets
   3408 # are removed by m4; they're present so that m4 does not expand
   3409 # <dollar><star>; be careful, easy to get confused.)
   3410 if (
   3411      set X `ls -t conftest.ts[12]` &&
   3412      {
   3413        test "$*" != "X conftest.ts1 conftest.ts2" ||
   3414        test "$*" != "X conftest.ts2 conftest.ts1";
   3415      }
   3416 ); then :; else
   3417   # If neither matched, then we have a broken ls.  This can happen
   3418   # if, for instance, CONFIG_SHELL is bash and it inherits a
   3419   # broken ls alias from the environment.  This has actually
   3420   # happened.  Such a system could not be considered "sane".
   3421   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   3422   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3423 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3424 as_fn_error $? "ls -t produces unexpected output.
   3425 Make sure there is not a broken ls alias in your environment.
   3426 See 'config.log' for more details" "$LINENO" 5; }
   3427 fi
   3428 
   3429 for am_try_res in $am_try_resolutions; do
   3430   # Any one fine-grained sleep might happen to cross the boundary
   3431   # between two values of a coarser actual resolution, but if we do
   3432   # two fine-grained sleeps in a row, at least one of them will fall
   3433   # entirely within a coarse interval.
   3434   echo alpha > conftest.ts1
   3435   sleep $am_try_res
   3436   echo beta > conftest.ts2
   3437   sleep $am_try_res
   3438   echo gamma > conftest.ts3
   3439 
   3440   # We assume that 'ls -t' will make use of high-resolution
   3441   # timestamps if the operating system supports them at all.
   3442   if (set X `ls -t conftest.ts?` &&
   3443       test "$2" = conftest.ts3 &&
   3444       test "$3" = conftest.ts2 &&
   3445       test "$4" = conftest.ts1); then
   3446     #
   3447     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   3448     # because we don't need to test make.
   3449     make_ok=true
   3450     if test $am_try_res != 1; then
   3451       # But if we've succeeded so far with a subsecond resolution, we
   3452       # have one more thing to check: make. It can happen that
   3453       # everything else supports the subsecond mtimes, but make doesn't;
   3454       # notably on macOS, which ships make 3.81 from 2006 (the last one
   3455       # released under GPLv2). https://bugs.gnu.org/68808
   3456       #
   3457       # We test $MAKE if it is defined in the environment, else "make".
   3458       # It might get overridden later, but our hope is that in practice
   3459       # it does not matter: it is the system "make" which is (by far)
   3460       # the most likely to be broken, whereas if the user overrides it,
   3461       # probably they did so with a better, or at least not worse, make.
   3462       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   3463       #
   3464       # Create a Makefile (real tab character here):
   3465       rm -f conftest.mk
   3466       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   3467       echo '	touch conftest.ts2' >>conftest.mk
   3468       #
   3469       # Now, running
   3470       #   touch conftest.ts1; touch conftest.ts2; make
   3471       # should touch ts1 because ts2 is newer. This could happen by luck,
   3472       # but most often, it will fail if make's support is insufficient. So
   3473       # test for several consecutive successes.
   3474       #
   3475       # (We reuse conftest.ts[12] because we still want to modify existing
   3476       # files, not create new ones, per above.)
   3477       n=0
   3478       make=${MAKE-make}
   3479       until test $n -eq 3; do
   3480         echo one > conftest.ts1
   3481         sleep $am_try_res
   3482         echo two > conftest.ts2 # ts2 should now be newer than ts1
   3483         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   3484           make_ok=false
   3485           break # out of $n loop
   3486         fi
   3487         n=`expr $n + 1`
   3488       done
   3489     fi
   3490     #
   3491     if $make_ok; then
   3492       # Everything we know to check worked out, so call this resolution good.
   3493       am_cv_filesystem_timestamp_resolution=$am_try_res
   3494       break # out of $am_try_res loop
   3495     fi
   3496     # Otherwise, we'll go on to check the next resolution.
   3497   fi
   3498 done
   3499 rm -f conftest.ts?
   3500 # (end _am_filesystem_timestamp_resolution)
   3501  ;;
   3502 esac
   3503 fi
   3504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   3505 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   3506 
   3507 # This check should not be cached, as it may vary across builds of
   3508 # different projects.
   3509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3510 printf %s "checking whether build environment is sane... " >&6; }
   3511 # Reject unsafe characters in $srcdir or the absolute working directory
   3512 # name.  Accept space and tab only in the latter.
   3513 am_lf='
   3514 '
   3515 case `pwd` in
   3516   *[\\\"\#\$\&\'\`$am_lf]*)
   3517     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3518 esac
   3519 case $srcdir in
   3520   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3521     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3522 esac
   3523 
   3524 # Do 'set' in a subshell so we don't clobber the current shell's
   3525 # arguments.  Must try -L first in case configure is actually a
   3526 # symlink; some systems play weird games with the mod time of symlinks
   3527 # (eg FreeBSD returns the mod time of the symlink's containing
   3528 # directory).
   3529 am_build_env_is_sane=no
   3530 am_has_slept=no
   3531 rm -f conftest.file
   3532 for am_try in 1 2; do
   3533   echo "timestamp, slept: $am_has_slept" > conftest.file
   3534   if (
   3535     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3536     if test "$*" = "X"; then
   3537       # -L didn't work.
   3538       set X `ls -t "$srcdir/configure" conftest.file`
   3539     fi
   3540     test "$2" = conftest.file
   3541   ); then
   3542     am_build_env_is_sane=yes
   3543     break
   3544   fi
   3545   # Just in case.
   3546   sleep "$am_cv_filesystem_timestamp_resolution"
   3547   am_has_slept=yes
   3548 done
   3549 
   3550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   3551 printf "%s\n" "$am_build_env_is_sane" >&6; }
   3552 if test "$am_build_env_is_sane" = no; then
   3553   as_fn_error $? "newly created file is older than distributed files!
   3554 Check your system clock" "$LINENO" 5
   3555 fi
   3556 
   3557 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3558 # generated files are strictly newer.
   3559 am_sleep_pid=
   3560 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   3561 then :
   3562 
   3563 else case e in #(
   3564   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   3565   am_sleep_pid=$!
   3566  ;;
   3567 esac
   3568 fi
   3569 
   3570 rm -f conftest.file
   3571 
   3572 test "$program_prefix" != NONE &&
   3573   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3574 # Use a double $ so make ignores it.
   3575 test "$program_suffix" != NONE &&
   3576   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3577 # Double any \ or $.
   3578 # By default was 's,x,x', remove it if useless.
   3579 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3580 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   3581 
   3582 
   3583 # Expand $ac_aux_dir to an absolute path.
   3584 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3585 
   3586 
   3587   if test x"${MISSING+set}" != xset; then
   3588   MISSING="\${SHELL} '$am_aux_dir/missing'"
   3589 fi
   3590 # Use eval to expand $SHELL
   3591 if eval "$MISSING --is-lightweight"; then
   3592   am_missing_run="$MISSING "
   3593 else
   3594   am_missing_run=
   3595   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3596 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3597 fi
   3598 
   3599 if test x"${install_sh+set}" != xset; then
   3600   case $am_aux_dir in
   3601   *\ * | *\	*)
   3602     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3603   *)
   3604     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3605   esac
   3606 fi
   3607 
   3608 # Installed binaries are usually stripped using 'strip' when the user
   3609 # run "make install-strip".  However 'strip' might not be the right
   3610 # tool to use in cross-compilation environments, therefore Automake
   3611 # will honor the 'STRIP' environment variable to overrule this program.
   3612 if test "$cross_compiling" != no; then
   3613   if test -n "$ac_tool_prefix"; then
   3614   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3615 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3617 printf %s "checking for $ac_word... " >&6; }
   3618 if test ${ac_cv_prog_STRIP+y}
   3619 then :
   3620   printf %s "(cached) " >&6
   3621 else case e in #(
   3622   e) if test -n "$STRIP"; then
   3623   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3624 else
   3625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3626 for as_dir in $PATH
   3627 do
   3628   IFS=$as_save_IFS
   3629   case $as_dir in #(((
   3630     '') as_dir=./ ;;
   3631     */) ;;
   3632     *) as_dir=$as_dir/ ;;
   3633   esac
   3634     for ac_exec_ext in '' $ac_executable_extensions; do
   3635   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3636     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3637     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3638     break 2
   3639   fi
   3640 done
   3641   done
   3642 IFS=$as_save_IFS
   3643 
   3644 fi ;;
   3645 esac
   3646 fi
   3647 STRIP=$ac_cv_prog_STRIP
   3648 if test -n "$STRIP"; then
   3649   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3650 printf "%s\n" "$STRIP" >&6; }
   3651 else
   3652   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3653 printf "%s\n" "no" >&6; }
   3654 fi
   3655 
   3656 
   3657 fi
   3658 if test -z "$ac_cv_prog_STRIP"; then
   3659   ac_ct_STRIP=$STRIP
   3660   # Extract the first word of "strip", so it can be a program name with args.
   3661 set dummy strip; ac_word=$2
   3662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3663 printf %s "checking for $ac_word... " >&6; }
   3664 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3665 then :
   3666   printf %s "(cached) " >&6
   3667 else case e in #(
   3668   e) if test -n "$ac_ct_STRIP"; then
   3669   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3670 else
   3671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3672 for as_dir in $PATH
   3673 do
   3674   IFS=$as_save_IFS
   3675   case $as_dir in #(((
   3676     '') as_dir=./ ;;
   3677     */) ;;
   3678     *) as_dir=$as_dir/ ;;
   3679   esac
   3680     for ac_exec_ext in '' $ac_executable_extensions; do
   3681   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3682     ac_cv_prog_ac_ct_STRIP="strip"
   3683     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3684     break 2
   3685   fi
   3686 done
   3687   done
   3688 IFS=$as_save_IFS
   3689 
   3690 fi ;;
   3691 esac
   3692 fi
   3693 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3694 if test -n "$ac_ct_STRIP"; then
   3695   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3696 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3697 else
   3698   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3699 printf "%s\n" "no" >&6; }
   3700 fi
   3701 
   3702   if test "x$ac_ct_STRIP" = x; then
   3703     STRIP=":"
   3704   else
   3705     case $cross_compiling:$ac_tool_warned in
   3706 yes:)
   3707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3708 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3709 ac_tool_warned=yes ;;
   3710 esac
   3711     STRIP=$ac_ct_STRIP
   3712   fi
   3713 else
   3714   STRIP="$ac_cv_prog_STRIP"
   3715 fi
   3716 
   3717 fi
   3718 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3719 
   3720 
   3721   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3722 printf %s "checking for a race-free mkdir -p... " >&6; }
   3723 if test -z "$MKDIR_P"; then
   3724   if test ${ac_cv_path_mkdir+y}
   3725 then :
   3726   printf %s "(cached) " >&6
   3727 else case e in #(
   3728   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3729 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3730 do
   3731   IFS=$as_save_IFS
   3732   case $as_dir in #(((
   3733     '') as_dir=./ ;;
   3734     */) ;;
   3735     *) as_dir=$as_dir/ ;;
   3736   esac
   3737     for ac_prog in mkdir gmkdir; do
   3738 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3739 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3740 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3741 	     'mkdir ('*'coreutils) '* | \
   3742 	     *'BusyBox '* | \
   3743 	     'mkdir (fileutils) '4.1*)
   3744 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3745 	       break 3;;
   3746 	   esac
   3747 	 done
   3748        done
   3749   done
   3750 IFS=$as_save_IFS
   3751  ;;
   3752 esac
   3753 fi
   3754 
   3755   test -d ./--version && rmdir ./--version
   3756   if test ${ac_cv_path_mkdir+y}; then
   3757     MKDIR_P="$ac_cv_path_mkdir -p"
   3758   else
   3759     # As a last resort, use plain mkdir -p,
   3760     # in the hope it doesn't have the bugs of ancient mkdir.
   3761     MKDIR_P='mkdir -p'
   3762   fi
   3763 fi
   3764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3765 printf "%s\n" "$MKDIR_P" >&6; }
   3766 
   3767 for ac_prog in gawk mawk nawk awk
   3768 do
   3769   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3770 set dummy $ac_prog; ac_word=$2
   3771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3772 printf %s "checking for $ac_word... " >&6; }
   3773 if test ${ac_cv_prog_AWK+y}
   3774 then :
   3775   printf %s "(cached) " >&6
   3776 else case e in #(
   3777   e) if test -n "$AWK"; then
   3778   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3779 else
   3780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3781 for as_dir in $PATH
   3782 do
   3783   IFS=$as_save_IFS
   3784   case $as_dir in #(((
   3785     '') as_dir=./ ;;
   3786     */) ;;
   3787     *) as_dir=$as_dir/ ;;
   3788   esac
   3789     for ac_exec_ext in '' $ac_executable_extensions; do
   3790   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3791     ac_cv_prog_AWK="$ac_prog"
   3792     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3793     break 2
   3794   fi
   3795 done
   3796   done
   3797 IFS=$as_save_IFS
   3798 
   3799 fi ;;
   3800 esac
   3801 fi
   3802 AWK=$ac_cv_prog_AWK
   3803 if test -n "$AWK"; then
   3804   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3805 printf "%s\n" "$AWK" >&6; }
   3806 else
   3807   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3808 printf "%s\n" "no" >&6; }
   3809 fi
   3810 
   3811 
   3812   test -n "$AWK" && break
   3813 done
   3814 
   3815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3816 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3817 set x ${MAKE-make}
   3818 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3819 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3820 then :
   3821   printf %s "(cached) " >&6
   3822 else case e in #(
   3823   e) cat >conftest.make <<\_ACEOF
   3824 SHELL = /bin/sh
   3825 all:
   3826 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3827 _ACEOF
   3828 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3829 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3830   *@@@%%%=?*=@@@%%%*)
   3831     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3832   *)
   3833     eval ac_cv_prog_make_${ac_make}_set=no;;
   3834 esac
   3835 rm -f conftest.make ;;
   3836 esac
   3837 fi
   3838 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3839   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3840 printf "%s\n" "yes" >&6; }
   3841   SET_MAKE=
   3842 else
   3843   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3844 printf "%s\n" "no" >&6; }
   3845   SET_MAKE="MAKE=${MAKE-make}"
   3846 fi
   3847 
   3848 rm -rf .tst 2>/dev/null
   3849 mkdir .tst 2>/dev/null
   3850 if test -d .tst; then
   3851   am__leading_dot=.
   3852 else
   3853   am__leading_dot=_
   3854 fi
   3855 rmdir .tst 2>/dev/null
   3856 
   3857 AM_DEFAULT_VERBOSITY=1
   3858 # Check whether --enable-silent-rules was given.
   3859 if test ${enable_silent_rules+y}
   3860 then :
   3861   enableval=$enable_silent_rules;
   3862 fi
   3863 
   3864 am_make=${MAKE-make}
   3865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3866 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3867 if test ${am_cv_make_support_nested_variables+y}
   3868 then :
   3869   printf %s "(cached) " >&6
   3870 else case e in #(
   3871   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3872 BAR0=false
   3873 BAR1=true
   3874 V=1
   3875 am__doit:
   3876 	@$(TRUE)
   3877 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3878   am_cv_make_support_nested_variables=yes
   3879 else
   3880   am_cv_make_support_nested_variables=no
   3881 fi ;;
   3882 esac
   3883 fi
   3884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3885 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3886 AM_BACKSLASH='\'
   3887 
   3888 am__rm_f_notfound=
   3889 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3890 then :
   3891 
   3892 else case e in #(
   3893   e) am__rm_f_notfound='""' ;;
   3894 esac
   3895 fi
   3896 
   3897 
   3898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3899 printf %s "checking xargs -n works... " >&6; }
   3900 if test ${am_cv_xargs_n_works+y}
   3901 then :
   3902   printf %s "(cached) " >&6
   3903 else case e in #(
   3904   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3905 3"
   3906 then :
   3907   am_cv_xargs_n_works=yes
   3908 else case e in #(
   3909   e) am_cv_xargs_n_works=no ;;
   3910 esac
   3911 fi ;;
   3912 esac
   3913 fi
   3914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3915 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   3916 if test "$am_cv_xargs_n_works" = yes
   3917 then :
   3918   am__xargs_n='xargs -n'
   3919 else case e in #(
   3920   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3921  ;;
   3922 esac
   3923 fi
   3924 
   3925 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3926   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3927   # is not polluted with repeated "-I."
   3928   am__isrc=' -I$(srcdir)'
   3929   # test to see if srcdir already configured
   3930   if test -f $srcdir/config.status; then
   3931     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3932   fi
   3933 fi
   3934 
   3935 # test whether we have cygpath
   3936 if test -z "$CYGPATH_W"; then
   3937   if (cygpath --version) >/dev/null 2>/dev/null; then
   3938     CYGPATH_W='cygpath -w'
   3939   else
   3940     CYGPATH_W=echo
   3941   fi
   3942 fi
   3943 
   3944 
   3945 # Define the identity of the package.
   3946  PACKAGE='bind'
   3947  VERSION='9.20.27'
   3948 
   3949 
   3950 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3951 
   3952 
   3953 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3954 
   3955 # Some tools Automake needs.
   3956 
   3957 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3958 
   3959 
   3960 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3961 
   3962 
   3963 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3964 
   3965 
   3966 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3967 
   3968 
   3969 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3970 
   3971 # For better backward compatibility.  To be removed once Automake 1.9.x
   3972 # dies out for good.  For more background, see:
   3973 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3974 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3975 mkdir_p='$(MKDIR_P)'
   3976 
   3977 # We need awk for the "check" target (and possibly the TAP driver).  The
   3978 # system "awk" is bad on some platforms.
   3979 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3980 # in the wild :-(  We should find a proper way to deprecate it ...
   3981 AMTAR='$${TAR-tar}'
   3982 
   3983 
   3984 # We'll loop over all known methods to create a tar archive until one works.
   3985 _am_tools='gnutar  pax cpio none'
   3986 
   3987 
   3988 
   3989   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
   3990 printf %s "checking how to create a pax tar archive... " >&6; }
   3991 
   3992   # Go ahead even if we have the value already cached.  We do so because we
   3993   # need to set the values for the 'am__tar' and 'am__untar' variables.
   3994   _am_tools=${am_cv_prog_tar_pax-$_am_tools}
   3995 
   3996   for _am_tool in $_am_tools; do
   3997     case $_am_tool in
   3998     gnutar)
   3999       for _am_tar in tar gnutar gtar; do
   4000         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   4001    ($_am_tar --version) >&5 2>&5
   4002    ac_status=$?
   4003    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4004    (exit $ac_status); } && break
   4005       done
   4006       am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
   4007       am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
   4008       am__untar="$_am_tar -xf -"
   4009       ;;
   4010     plaintar)
   4011       # Must skip GNU tar: if it does not support --format= it doesn't create
   4012       # ustar tarball either.
   4013       (tar --version) >/dev/null 2>&1 && continue
   4014       am__tar='tar chf - "$$tardir"'
   4015       am__tar_='tar chf - "$tardir"'
   4016       am__untar='tar xf -'
   4017       ;;
   4018     pax)
   4019       am__tar='pax -L -x pax -w "$$tardir"'
   4020       am__tar_='pax -L -x pax -w "$tardir"'
   4021       am__untar='pax -r'
   4022       ;;
   4023     cpio)
   4024       am__tar='find "$$tardir" -print | cpio -o -H pax -L'
   4025       am__tar_='find "$tardir" -print | cpio -o -H pax -L'
   4026       am__untar='cpio -i -H pax -d'
   4027       ;;
   4028     none)
   4029       am__tar=false
   4030       am__tar_=false
   4031       am__untar=false
   4032       ;;
   4033     esac
   4034 
   4035     # If the value was cached, stop now.  We just wanted to have am__tar
   4036     # and am__untar set.
   4037     test -n "${am_cv_prog_tar_pax}" && break
   4038 
   4039     # tar/untar a dummy directory, and stop if the command works.
   4040     rm -rf conftest.dir
   4041     mkdir conftest.dir
   4042     echo GrepMe > conftest.dir/file
   4043     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   4044    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   4045    ac_status=$?
   4046    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4047    (exit $ac_status); }
   4048     rm -rf conftest.dir
   4049     if test -s conftest.tar; then
   4050       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   4051    ($am__untar <conftest.tar) >&5 2>&5
   4052    ac_status=$?
   4053    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4054    (exit $ac_status); }
   4055       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   4056    (cat conftest.dir/file) >&5 2>&5
   4057    ac_status=$?
   4058    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4059    (exit $ac_status); }
   4060       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   4061     fi
   4062   done
   4063   rm -rf conftest.dir
   4064 
   4065   if test ${am_cv_prog_tar_pax+y}
   4066 then :
   4067   printf %s "(cached) " >&6
   4068 else case e in #(
   4069   e) am_cv_prog_tar_pax=$_am_tool ;;
   4070 esac
   4071 fi
   4072 
   4073   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
   4074 printf "%s\n" "$am_cv_prog_tar_pax" >&6; }
   4075 
   4076 
   4077 
   4078 
   4079 
   4080 # Variables for tags utilities; see am/tags.am
   4081 if test -z "$CTAGS"; then
   4082   CTAGS=ctags
   4083 fi
   4084 
   4085 if test -z "$ETAGS"; then
   4086   ETAGS=etags
   4087 fi
   4088 
   4089 if test -z "$CSCOPE"; then
   4090   CSCOPE=cscope
   4091 fi
   4092 
   4093 
   4094 
   4095 
   4096 
   4097 
   4098 
   4099 
   4100 AM_DEFAULT_VERBOSITY=0
   4101 
   4102 
   4103 ac_config_headers="$ac_config_headers config.h"
   4104 
   4105 
   4106 
   4107 #
   4108 # Enable maintainer mode by default only when building from git repository
   4109 # and not cross compling
   4110 #
   4111 if test "$cross_compiling" = no
   4112 then :
   4113 
   4114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   4115 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   4116     # Check whether --enable-maintainer-mode was given.
   4117 if test ${enable_maintainer_mode+y}
   4118 then :
   4119   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   4120 else case e in #(
   4121   e) USE_MAINTAINER_MODE=yes ;;
   4122 esac
   4123 fi
   4124 
   4125   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   4126 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
   4127    if test $USE_MAINTAINER_MODE = yes; then
   4128   MAINTAINER_MODE_TRUE=
   4129   MAINTAINER_MODE_FALSE='#'
   4130 else
   4131   MAINTAINER_MODE_TRUE='#'
   4132   MAINTAINER_MODE_FALSE=
   4133 fi
   4134 
   4135   MAINT=$MAINTAINER_MODE_TRUE
   4136 
   4137 
   4138 else case e in #(
   4139   e)
   4140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   4141 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   4142     # Check whether --enable-maintainer-mode was given.
   4143 if test ${enable_maintainer_mode+y}
   4144 then :
   4145   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   4146 else case e in #(
   4147   e) USE_MAINTAINER_MODE=no ;;
   4148 esac
   4149 fi
   4150 
   4151   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   4152 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
   4153    if test $USE_MAINTAINER_MODE = yes; then
   4154   MAINTAINER_MODE_TRUE=
   4155   MAINTAINER_MODE_FALSE='#'
   4156 else
   4157   MAINTAINER_MODE_TRUE='#'
   4158   MAINTAINER_MODE_FALSE=
   4159 fi
   4160 
   4161   MAINT=$MAINTAINER_MODE_TRUE
   4162 
   4163  ;;
   4164 esac
   4165 fi
   4166 
   4167 #
   4168 # Enable system extensions to C and POSIX
   4169 #
   4170 
   4171 
   4172 
   4173 
   4174 
   4175 
   4176 
   4177 
   4178 
   4179 DEPDIR="${am__leading_dot}deps"
   4180 
   4181 ac_config_commands="$ac_config_commands depfiles"
   4182 
   4183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4184 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4185 cat > confinc.mk << 'END'
   4186 am__doit:
   4187 	@echo this is the am__doit target >confinc.out
   4188 .PHONY: am__doit
   4189 END
   4190 am__include="#"
   4191 am__quote=
   4192 # BSD make does it like this.
   4193 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4194 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4195 echo 'include confinc.mk # ignored' > confmf.GNU
   4196 _am_result=no
   4197 for s in GNU BSD; do
   4198   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4199    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4200    ac_status=$?
   4201    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4202    (exit $ac_status); }
   4203   case $?:`cat confinc.out 2>/dev/null` in #(
   4204   '0:this is the am__doit target') :
   4205     case $s in #(
   4206   BSD) :
   4207     am__include='.include' am__quote='"' ;; #(
   4208   *) :
   4209     am__include='include' am__quote='' ;;
   4210 esac ;; #(
   4211   *) :
   4212      ;;
   4213 esac
   4214   if test "$am__include" != "#"; then
   4215     _am_result="yes ($s style)"
   4216     break
   4217   fi
   4218 done
   4219 rm -f confinc.* confmf.*
   4220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4221 printf "%s\n" "${_am_result}" >&6; }
   4222 
   4223 # Check whether --enable-dependency-tracking was given.
   4224 if test ${enable_dependency_tracking+y}
   4225 then :
   4226   enableval=$enable_dependency_tracking;
   4227 fi
   4228 
   4229 if test "x$enable_dependency_tracking" != xno; then
   4230   am_depcomp="$ac_aux_dir/depcomp"
   4231   AMDEPBACKSLASH='\'
   4232   am__nodep='_no'
   4233 fi
   4234  if test "x$enable_dependency_tracking" != xno; then
   4235   AMDEP_TRUE=
   4236   AMDEP_FALSE='#'
   4237 else
   4238   AMDEP_TRUE='#'
   4239   AMDEP_FALSE=
   4240 fi
   4241 
   4242 
   4243 ac_ext=c
   4244 ac_cpp='$CPP $CPPFLAGS'
   4245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4248 if test -n "$ac_tool_prefix"; then
   4249   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4250 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4252 printf %s "checking for $ac_word... " >&6; }
   4253 if test ${ac_cv_prog_CC+y}
   4254 then :
   4255   printf %s "(cached) " >&6
   4256 else case e in #(
   4257   e) if test -n "$CC"; then
   4258   ac_cv_prog_CC="$CC" # Let the user override the test.
   4259 else
   4260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4261 for as_dir in $PATH
   4262 do
   4263   IFS=$as_save_IFS
   4264   case $as_dir in #(((
   4265     '') as_dir=./ ;;
   4266     */) ;;
   4267     *) as_dir=$as_dir/ ;;
   4268   esac
   4269     for ac_exec_ext in '' $ac_executable_extensions; do
   4270   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4271     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4272     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4273     break 2
   4274   fi
   4275 done
   4276   done
   4277 IFS=$as_save_IFS
   4278 
   4279 fi ;;
   4280 esac
   4281 fi
   4282 CC=$ac_cv_prog_CC
   4283 if test -n "$CC"; then
   4284   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4285 printf "%s\n" "$CC" >&6; }
   4286 else
   4287   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4288 printf "%s\n" "no" >&6; }
   4289 fi
   4290 
   4291 
   4292 fi
   4293 if test -z "$ac_cv_prog_CC"; then
   4294   ac_ct_CC=$CC
   4295   # Extract the first word of "gcc", so it can be a program name with args.
   4296 set dummy gcc; ac_word=$2
   4297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4298 printf %s "checking for $ac_word... " >&6; }
   4299 if test ${ac_cv_prog_ac_ct_CC+y}
   4300 then :
   4301   printf %s "(cached) " >&6
   4302 else case e in #(
   4303   e) if test -n "$ac_ct_CC"; then
   4304   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4305 else
   4306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4307 for as_dir in $PATH
   4308 do
   4309   IFS=$as_save_IFS
   4310   case $as_dir in #(((
   4311     '') as_dir=./ ;;
   4312     */) ;;
   4313     *) as_dir=$as_dir/ ;;
   4314   esac
   4315     for ac_exec_ext in '' $ac_executable_extensions; do
   4316   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4317     ac_cv_prog_ac_ct_CC="gcc"
   4318     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4319     break 2
   4320   fi
   4321 done
   4322   done
   4323 IFS=$as_save_IFS
   4324 
   4325 fi ;;
   4326 esac
   4327 fi
   4328 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4329 if test -n "$ac_ct_CC"; then
   4330   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4331 printf "%s\n" "$ac_ct_CC" >&6; }
   4332 else
   4333   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4334 printf "%s\n" "no" >&6; }
   4335 fi
   4336 
   4337   if test "x$ac_ct_CC" = x; then
   4338     CC=""
   4339   else
   4340     case $cross_compiling:$ac_tool_warned in
   4341 yes:)
   4342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4343 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4344 ac_tool_warned=yes ;;
   4345 esac
   4346     CC=$ac_ct_CC
   4347   fi
   4348 else
   4349   CC="$ac_cv_prog_CC"
   4350 fi
   4351 
   4352 if test -z "$CC"; then
   4353           if test -n "$ac_tool_prefix"; then
   4354     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4355 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4357 printf %s "checking for $ac_word... " >&6; }
   4358 if test ${ac_cv_prog_CC+y}
   4359 then :
   4360   printf %s "(cached) " >&6
   4361 else case e in #(
   4362   e) if test -n "$CC"; then
   4363   ac_cv_prog_CC="$CC" # Let the user override the test.
   4364 else
   4365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4366 for as_dir in $PATH
   4367 do
   4368   IFS=$as_save_IFS
   4369   case $as_dir in #(((
   4370     '') as_dir=./ ;;
   4371     */) ;;
   4372     *) as_dir=$as_dir/ ;;
   4373   esac
   4374     for ac_exec_ext in '' $ac_executable_extensions; do
   4375   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4376     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4377     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4378     break 2
   4379   fi
   4380 done
   4381   done
   4382 IFS=$as_save_IFS
   4383 
   4384 fi ;;
   4385 esac
   4386 fi
   4387 CC=$ac_cv_prog_CC
   4388 if test -n "$CC"; then
   4389   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4390 printf "%s\n" "$CC" >&6; }
   4391 else
   4392   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4393 printf "%s\n" "no" >&6; }
   4394 fi
   4395 
   4396 
   4397   fi
   4398 fi
   4399 if test -z "$CC"; then
   4400   # Extract the first word of "cc", so it can be a program name with args.
   4401 set dummy cc; ac_word=$2
   4402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4403 printf %s "checking for $ac_word... " >&6; }
   4404 if test ${ac_cv_prog_CC+y}
   4405 then :
   4406   printf %s "(cached) " >&6
   4407 else case e in #(
   4408   e) if test -n "$CC"; then
   4409   ac_cv_prog_CC="$CC" # Let the user override the test.
   4410 else
   4411   ac_prog_rejected=no
   4412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4413 for as_dir in $PATH
   4414 do
   4415   IFS=$as_save_IFS
   4416   case $as_dir in #(((
   4417     '') as_dir=./ ;;
   4418     */) ;;
   4419     *) as_dir=$as_dir/ ;;
   4420   esac
   4421     for ac_exec_ext in '' $ac_executable_extensions; do
   4422   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4423     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4424        ac_prog_rejected=yes
   4425        continue
   4426      fi
   4427     ac_cv_prog_CC="cc"
   4428     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4429     break 2
   4430   fi
   4431 done
   4432   done
   4433 IFS=$as_save_IFS
   4434 
   4435 if test $ac_prog_rejected = yes; then
   4436   # We found a bogon in the path, so make sure we never use it.
   4437   set dummy $ac_cv_prog_CC
   4438   shift
   4439   if test $# != 0; then
   4440     # We chose a different compiler from the bogus one.
   4441     # However, it has the same basename, so the bogon will be chosen
   4442     # first if we set CC to just the basename; use the full file name.
   4443     shift
   4444     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   4445   fi
   4446 fi
   4447 fi ;;
   4448 esac
   4449 fi
   4450 CC=$ac_cv_prog_CC
   4451 if test -n "$CC"; then
   4452   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4453 printf "%s\n" "$CC" >&6; }
   4454 else
   4455   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4456 printf "%s\n" "no" >&6; }
   4457 fi
   4458 
   4459 
   4460 fi
   4461 if test -z "$CC"; then
   4462   if test -n "$ac_tool_prefix"; then
   4463   for ac_prog in cl.exe
   4464   do
   4465     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4466 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4468 printf %s "checking for $ac_word... " >&6; }
   4469 if test ${ac_cv_prog_CC+y}
   4470 then :
   4471   printf %s "(cached) " >&6
   4472 else case e in #(
   4473   e) if test -n "$CC"; then
   4474   ac_cv_prog_CC="$CC" # Let the user override the test.
   4475 else
   4476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4477 for as_dir in $PATH
   4478 do
   4479   IFS=$as_save_IFS
   4480   case $as_dir in #(((
   4481     '') as_dir=./ ;;
   4482     */) ;;
   4483     *) as_dir=$as_dir/ ;;
   4484   esac
   4485     for ac_exec_ext in '' $ac_executable_extensions; do
   4486   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4487     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4488     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4489     break 2
   4490   fi
   4491 done
   4492   done
   4493 IFS=$as_save_IFS
   4494 
   4495 fi ;;
   4496 esac
   4497 fi
   4498 CC=$ac_cv_prog_CC
   4499 if test -n "$CC"; then
   4500   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4501 printf "%s\n" "$CC" >&6; }
   4502 else
   4503   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4504 printf "%s\n" "no" >&6; }
   4505 fi
   4506 
   4507 
   4508     test -n "$CC" && break
   4509   done
   4510 fi
   4511 if test -z "$CC"; then
   4512   ac_ct_CC=$CC
   4513   for ac_prog in cl.exe
   4514 do
   4515   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4516 set dummy $ac_prog; ac_word=$2
   4517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4518 printf %s "checking for $ac_word... " >&6; }
   4519 if test ${ac_cv_prog_ac_ct_CC+y}
   4520 then :
   4521   printf %s "(cached) " >&6
   4522 else case e in #(
   4523   e) if test -n "$ac_ct_CC"; then
   4524   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4525 else
   4526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4527 for as_dir in $PATH
   4528 do
   4529   IFS=$as_save_IFS
   4530   case $as_dir in #(((
   4531     '') as_dir=./ ;;
   4532     */) ;;
   4533     *) as_dir=$as_dir/ ;;
   4534   esac
   4535     for ac_exec_ext in '' $ac_executable_extensions; do
   4536   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4537     ac_cv_prog_ac_ct_CC="$ac_prog"
   4538     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4539     break 2
   4540   fi
   4541 done
   4542   done
   4543 IFS=$as_save_IFS
   4544 
   4545 fi ;;
   4546 esac
   4547 fi
   4548 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4549 if test -n "$ac_ct_CC"; then
   4550   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4551 printf "%s\n" "$ac_ct_CC" >&6; }
   4552 else
   4553   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4554 printf "%s\n" "no" >&6; }
   4555 fi
   4556 
   4557 
   4558   test -n "$ac_ct_CC" && break
   4559 done
   4560 
   4561   if test "x$ac_ct_CC" = x; then
   4562     CC=""
   4563   else
   4564     case $cross_compiling:$ac_tool_warned in
   4565 yes:)
   4566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4567 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4568 ac_tool_warned=yes ;;
   4569 esac
   4570     CC=$ac_ct_CC
   4571   fi
   4572 fi
   4573 
   4574 fi
   4575 if test -z "$CC"; then
   4576   if test -n "$ac_tool_prefix"; then
   4577   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   4578 set dummy ${ac_tool_prefix}clang; ac_word=$2
   4579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4580 printf %s "checking for $ac_word... " >&6; }
   4581 if test ${ac_cv_prog_CC+y}
   4582 then :
   4583   printf %s "(cached) " >&6
   4584 else case e in #(
   4585   e) if test -n "$CC"; then
   4586   ac_cv_prog_CC="$CC" # Let the user override the test.
   4587 else
   4588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4589 for as_dir in $PATH
   4590 do
   4591   IFS=$as_save_IFS
   4592   case $as_dir in #(((
   4593     '') as_dir=./ ;;
   4594     */) ;;
   4595     *) as_dir=$as_dir/ ;;
   4596   esac
   4597     for ac_exec_ext in '' $ac_executable_extensions; do
   4598   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4599     ac_cv_prog_CC="${ac_tool_prefix}clang"
   4600     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4601     break 2
   4602   fi
   4603 done
   4604   done
   4605 IFS=$as_save_IFS
   4606 
   4607 fi ;;
   4608 esac
   4609 fi
   4610 CC=$ac_cv_prog_CC
   4611 if test -n "$CC"; then
   4612   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4613 printf "%s\n" "$CC" >&6; }
   4614 else
   4615   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4616 printf "%s\n" "no" >&6; }
   4617 fi
   4618 
   4619 
   4620 fi
   4621 if test -z "$ac_cv_prog_CC"; then
   4622   ac_ct_CC=$CC
   4623   # Extract the first word of "clang", so it can be a program name with args.
   4624 set dummy clang; ac_word=$2
   4625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4626 printf %s "checking for $ac_word... " >&6; }
   4627 if test ${ac_cv_prog_ac_ct_CC+y}
   4628 then :
   4629   printf %s "(cached) " >&6
   4630 else case e in #(
   4631   e) if test -n "$ac_ct_CC"; then
   4632   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4633 else
   4634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4635 for as_dir in $PATH
   4636 do
   4637   IFS=$as_save_IFS
   4638   case $as_dir in #(((
   4639     '') as_dir=./ ;;
   4640     */) ;;
   4641     *) as_dir=$as_dir/ ;;
   4642   esac
   4643     for ac_exec_ext in '' $ac_executable_extensions; do
   4644   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4645     ac_cv_prog_ac_ct_CC="clang"
   4646     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4647     break 2
   4648   fi
   4649 done
   4650   done
   4651 IFS=$as_save_IFS
   4652 
   4653 fi ;;
   4654 esac
   4655 fi
   4656 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4657 if test -n "$ac_ct_CC"; then
   4658   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4659 printf "%s\n" "$ac_ct_CC" >&6; }
   4660 else
   4661   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4662 printf "%s\n" "no" >&6; }
   4663 fi
   4664 
   4665   if test "x$ac_ct_CC" = x; then
   4666     CC=""
   4667   else
   4668     case $cross_compiling:$ac_tool_warned in
   4669 yes:)
   4670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4671 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4672 ac_tool_warned=yes ;;
   4673 esac
   4674     CC=$ac_ct_CC
   4675   fi
   4676 else
   4677   CC="$ac_cv_prog_CC"
   4678 fi
   4679 
   4680 fi
   4681 
   4682 
   4683 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4684 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4685 as_fn_error $? "no acceptable C compiler found in \$PATH
   4686 See 'config.log' for more details" "$LINENO" 5; }
   4687 
   4688 # Provide some information about the compiler.
   4689 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4690 set X $ac_compile
   4691 ac_compiler=$2
   4692 for ac_option in --version -v -V -qversion -version; do
   4693   { { ac_try="$ac_compiler $ac_option >&5"
   4694 case "(($ac_try" in
   4695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4696   *) ac_try_echo=$ac_try;;
   4697 esac
   4698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4699 printf "%s\n" "$ac_try_echo"; } >&5
   4700   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4701   ac_status=$?
   4702   if test -s conftest.err; then
   4703     sed '10a\
   4704 ... rest of stderr output deleted ...
   4705          10q' conftest.err >conftest.er1
   4706     cat conftest.er1 >&5
   4707   fi
   4708   rm -f conftest.er1 conftest.err
   4709   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4710   test $ac_status = 0; }
   4711 done
   4712 
   4713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4714 /* end confdefs.h.  */
   4715 
   4716 int
   4717 main (void)
   4718 {
   4719 
   4720   ;
   4721   return 0;
   4722 }
   4723 _ACEOF
   4724 ac_clean_files_save=$ac_clean_files
   4725 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4726 # Try to create an executable without -o first, disregard a.out.
   4727 # It will help us diagnose broken compilers, and finding out an intuition
   4728 # of exeext.
   4729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4730 printf %s "checking whether the C compiler works... " >&6; }
   4731 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4732 
   4733 # The possible output files:
   4734 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4735 
   4736 ac_rmfiles=
   4737 for ac_file in $ac_files
   4738 do
   4739   case $ac_file in
   4740     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4741     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4742   esac
   4743 done
   4744 rm -f $ac_rmfiles
   4745 
   4746 if { { ac_try="$ac_link_default"
   4747 case "(($ac_try" in
   4748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4749   *) ac_try_echo=$ac_try;;
   4750 esac
   4751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4752 printf "%s\n" "$ac_try_echo"; } >&5
   4753   (eval "$ac_link_default") 2>&5
   4754   ac_status=$?
   4755   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4756   test $ac_status = 0; }
   4757 then :
   4758   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4759 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4760 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4761 # so that the user can short-circuit this test for compilers unknown to
   4762 # Autoconf.
   4763 for ac_file in $ac_files ''
   4764 do
   4765   test -f "$ac_file" || continue
   4766   case $ac_file in
   4767     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4768 	;;
   4769     [ab].out )
   4770 	# We found the default executable, but exeext='' is most
   4771 	# certainly right.
   4772 	break;;
   4773     *.* )
   4774 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4775 	then :; else
   4776 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4777 	fi
   4778 	# We set ac_cv_exeext here because the later test for it is not
   4779 	# safe: cross compilers may not add the suffix if given an '-o'
   4780 	# argument, so we may need to know it at that point already.
   4781 	# Even if this section looks crufty: it has the advantage of
   4782 	# actually working.
   4783 	break;;
   4784     * )
   4785 	break;;
   4786   esac
   4787 done
   4788 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4789 
   4790 else case e in #(
   4791   e) ac_file='' ;;
   4792 esac
   4793 fi
   4794 if test -z "$ac_file"
   4795 then :
   4796   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4797 printf "%s\n" "no" >&6; }
   4798 printf "%s\n" "$as_me: failed program was:" >&5
   4799 sed 's/^/| /' conftest.$ac_ext >&5
   4800 
   4801 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4802 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4803 as_fn_error 77 "C compiler cannot create executables
   4804 See 'config.log' for more details" "$LINENO" 5; }
   4805 else case e in #(
   4806   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4807 printf "%s\n" "yes" >&6; } ;;
   4808 esac
   4809 fi
   4810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4811 printf %s "checking for C compiler default output file name... " >&6; }
   4812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4813 printf "%s\n" "$ac_file" >&6; }
   4814 ac_exeext=$ac_cv_exeext
   4815 
   4816 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4817 ac_clean_files=$ac_clean_files_save
   4818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4819 printf %s "checking for suffix of executables... " >&6; }
   4820 if { { ac_try="$ac_link"
   4821 case "(($ac_try" in
   4822   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4823   *) ac_try_echo=$ac_try;;
   4824 esac
   4825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4826 printf "%s\n" "$ac_try_echo"; } >&5
   4827   (eval "$ac_link") 2>&5
   4828   ac_status=$?
   4829   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4830   test $ac_status = 0; }
   4831 then :
   4832   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4833 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4834 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4835 # 'rm'.
   4836 for ac_file in conftest.exe conftest conftest.*; do
   4837   test -f "$ac_file" || continue
   4838   case $ac_file in
   4839     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4840     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4841 	  break;;
   4842     * ) break;;
   4843   esac
   4844 done
   4845 else case e in #(
   4846   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4847 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4848 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4849 See 'config.log' for more details" "$LINENO" 5; } ;;
   4850 esac
   4851 fi
   4852 rm -f conftest conftest$ac_cv_exeext
   4853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4854 printf "%s\n" "$ac_cv_exeext" >&6; }
   4855 
   4856 rm -f conftest.$ac_ext
   4857 EXEEXT=$ac_cv_exeext
   4858 ac_exeext=$EXEEXT
   4859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4860 /* end confdefs.h.  */
   4861 #include <stdio.h>
   4862 int
   4863 main (void)
   4864 {
   4865 FILE *f = fopen ("conftest.out", "w");
   4866  if (!f)
   4867   return 1;
   4868  return ferror (f) || fclose (f) != 0;
   4869 
   4870   ;
   4871   return 0;
   4872 }
   4873 _ACEOF
   4874 ac_clean_files="$ac_clean_files conftest.out"
   4875 # Check that the compiler produces executables we can run.  If not, either
   4876 # the compiler is broken, or we cross compile.
   4877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4878 printf %s "checking whether we are cross compiling... " >&6; }
   4879 if test "$cross_compiling" != yes; then
   4880   { { ac_try="$ac_link"
   4881 case "(($ac_try" in
   4882   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4883   *) ac_try_echo=$ac_try;;
   4884 esac
   4885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4886 printf "%s\n" "$ac_try_echo"; } >&5
   4887   (eval "$ac_link") 2>&5
   4888   ac_status=$?
   4889   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4890   test $ac_status = 0; }
   4891   if { ac_try='./conftest$ac_cv_exeext'
   4892   { { case "(($ac_try" in
   4893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4894   *) ac_try_echo=$ac_try;;
   4895 esac
   4896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4897 printf "%s\n" "$ac_try_echo"; } >&5
   4898   (eval "$ac_try") 2>&5
   4899   ac_status=$?
   4900   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4901   test $ac_status = 0; }; }; then
   4902     cross_compiling=no
   4903   else
   4904     if test "$cross_compiling" = maybe; then
   4905 	cross_compiling=yes
   4906     else
   4907 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4908 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4909 as_fn_error 77 "cannot run C compiled programs.
   4910 If you meant to cross compile, use '--host'.
   4911 See 'config.log' for more details" "$LINENO" 5; }
   4912     fi
   4913   fi
   4914 fi
   4915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4916 printf "%s\n" "$cross_compiling" >&6; }
   4917 
   4918 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4919   conftest.o conftest.obj conftest.out
   4920 ac_clean_files=$ac_clean_files_save
   4921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4922 printf %s "checking for suffix of object files... " >&6; }
   4923 if test ${ac_cv_objext+y}
   4924 then :
   4925   printf %s "(cached) " >&6
   4926 else case e in #(
   4927   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4928 /* end confdefs.h.  */
   4929 
   4930 int
   4931 main (void)
   4932 {
   4933 
   4934   ;
   4935   return 0;
   4936 }
   4937 _ACEOF
   4938 rm -f conftest.o conftest.obj
   4939 if { { ac_try="$ac_compile"
   4940 case "(($ac_try" in
   4941   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4942   *) ac_try_echo=$ac_try;;
   4943 esac
   4944 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4945 printf "%s\n" "$ac_try_echo"; } >&5
   4946   (eval "$ac_compile") 2>&5
   4947   ac_status=$?
   4948   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4949   test $ac_status = 0; }
   4950 then :
   4951   for ac_file in conftest.o conftest.obj conftest.*; do
   4952   test -f "$ac_file" || continue;
   4953   case $ac_file in
   4954     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4955     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4956        break;;
   4957   esac
   4958 done
   4959 else case e in #(
   4960   e) printf "%s\n" "$as_me: failed program was:" >&5
   4961 sed 's/^/| /' conftest.$ac_ext >&5
   4962 
   4963 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4964 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4965 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4966 See 'config.log' for more details" "$LINENO" 5; } ;;
   4967 esac
   4968 fi
   4969 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4970 esac
   4971 fi
   4972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4973 printf "%s\n" "$ac_cv_objext" >&6; }
   4974 OBJEXT=$ac_cv_objext
   4975 ac_objext=$OBJEXT
   4976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4977 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4978 if test ${ac_cv_c_compiler_gnu+y}
   4979 then :
   4980   printf %s "(cached) " >&6
   4981 else case e in #(
   4982   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4983 /* end confdefs.h.  */
   4984 
   4985 int
   4986 main (void)
   4987 {
   4988 #ifndef __GNUC__
   4989        choke me
   4990 #endif
   4991 
   4992   ;
   4993   return 0;
   4994 }
   4995 _ACEOF
   4996 if ac_fn_c_try_compile "$LINENO"
   4997 then :
   4998   ac_compiler_gnu=yes
   4999 else case e in #(
   5000   e) ac_compiler_gnu=no ;;
   5001 esac
   5002 fi
   5003 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5004 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   5005  ;;
   5006 esac
   5007 fi
   5008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   5009 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   5010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5011 
   5012 if test $ac_compiler_gnu = yes; then
   5013   GCC=yes
   5014 else
   5015   GCC=
   5016 fi
   5017 ac_test_CFLAGS=${CFLAGS+y}
   5018 ac_save_CFLAGS=$CFLAGS
   5019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   5020 printf %s "checking whether $CC accepts -g... " >&6; }
   5021 if test ${ac_cv_prog_cc_g+y}
   5022 then :
   5023   printf %s "(cached) " >&6
   5024 else case e in #(
   5025   e) ac_save_c_werror_flag=$ac_c_werror_flag
   5026    ac_c_werror_flag=yes
   5027    ac_cv_prog_cc_g=no
   5028    CFLAGS="-g"
   5029    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5030 /* end confdefs.h.  */
   5031 
   5032 int
   5033 main (void)
   5034 {
   5035 
   5036   ;
   5037   return 0;
   5038 }
   5039 _ACEOF
   5040 if ac_fn_c_try_compile "$LINENO"
   5041 then :
   5042   ac_cv_prog_cc_g=yes
   5043 else case e in #(
   5044   e) CFLAGS=""
   5045       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5046 /* end confdefs.h.  */
   5047 
   5048 int
   5049 main (void)
   5050 {
   5051 
   5052   ;
   5053   return 0;
   5054 }
   5055 _ACEOF
   5056 if ac_fn_c_try_compile "$LINENO"
   5057 then :
   5058 
   5059 else case e in #(
   5060   e) ac_c_werror_flag=$ac_save_c_werror_flag
   5061 	 CFLAGS="-g"
   5062 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5063 /* end confdefs.h.  */
   5064 
   5065 int
   5066 main (void)
   5067 {
   5068 
   5069   ;
   5070   return 0;
   5071 }
   5072 _ACEOF
   5073 if ac_fn_c_try_compile "$LINENO"
   5074 then :
   5075   ac_cv_prog_cc_g=yes
   5076 fi
   5077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5078 esac
   5079 fi
   5080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5081 esac
   5082 fi
   5083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5084    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   5085 esac
   5086 fi
   5087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   5088 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   5089 if test $ac_test_CFLAGS; then
   5090   CFLAGS=$ac_save_CFLAGS
   5091 elif test $ac_cv_prog_cc_g = yes; then
   5092   if test "$GCC" = yes; then
   5093     CFLAGS="-g -O2"
   5094   else
   5095     CFLAGS="-g"
   5096   fi
   5097 else
   5098   if test "$GCC" = yes; then
   5099     CFLAGS="-O2"
   5100   else
   5101     CFLAGS=
   5102   fi
   5103 fi
   5104 ac_prog_cc_stdc=no
   5105 if test x$ac_prog_cc_stdc = xno
   5106 then :
   5107   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   5108 printf %s "checking for $CC option to enable C11 features... " >&6; }
   5109 if test ${ac_cv_prog_cc_c11+y}
   5110 then :
   5111   printf %s "(cached) " >&6
   5112 else case e in #(
   5113   e) ac_cv_prog_cc_c11=no
   5114 ac_save_CC=$CC
   5115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5116 /* end confdefs.h.  */
   5117 $ac_c_conftest_c11_program
   5118 _ACEOF
   5119 for ac_arg in '' -std=gnu11
   5120 do
   5121   CC="$ac_save_CC $ac_arg"
   5122   if ac_fn_c_try_compile "$LINENO"
   5123 then :
   5124   ac_cv_prog_cc_c11=$ac_arg
   5125 fi
   5126 rm -f core conftest.err conftest.$ac_objext conftest.beam
   5127   test "x$ac_cv_prog_cc_c11" != "xno" && break
   5128 done
   5129 rm -f conftest.$ac_ext
   5130 CC=$ac_save_CC ;;
   5131 esac
   5132 fi
   5133 
   5134 if test "x$ac_cv_prog_cc_c11" = xno
   5135 then :
   5136   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5137 printf "%s\n" "unsupported" >&6; }
   5138 else case e in #(
   5139   e) if test "x$ac_cv_prog_cc_c11" = x
   5140 then :
   5141   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5142 printf "%s\n" "none needed" >&6; }
   5143 else case e in #(
   5144   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   5145 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   5146      CC="$CC $ac_cv_prog_cc_c11" ;;
   5147 esac
   5148 fi
   5149   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   5150   ac_prog_cc_stdc=c11 ;;
   5151 esac
   5152 fi
   5153 fi
   5154 if test x$ac_prog_cc_stdc = xno
   5155 then :
   5156   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   5157 printf %s "checking for $CC option to enable C99 features... " >&6; }
   5158 if test ${ac_cv_prog_cc_c99+y}
   5159 then :
   5160   printf %s "(cached) " >&6
   5161 else case e in #(
   5162   e) ac_cv_prog_cc_c99=no
   5163 ac_save_CC=$CC
   5164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5165 /* end confdefs.h.  */
   5166 $ac_c_conftest_c99_program
   5167 _ACEOF
   5168 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   5169 do
   5170   CC="$ac_save_CC $ac_arg"
   5171   if ac_fn_c_try_compile "$LINENO"
   5172 then :
   5173   ac_cv_prog_cc_c99=$ac_arg
   5174 fi
   5175 rm -f core conftest.err conftest.$ac_objext conftest.beam
   5176   test "x$ac_cv_prog_cc_c99" != "xno" && break
   5177 done
   5178 rm -f conftest.$ac_ext
   5179 CC=$ac_save_CC ;;
   5180 esac
   5181 fi
   5182 
   5183 if test "x$ac_cv_prog_cc_c99" = xno
   5184 then :
   5185   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5186 printf "%s\n" "unsupported" >&6; }
   5187 else case e in #(
   5188   e) if test "x$ac_cv_prog_cc_c99" = x
   5189 then :
   5190   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5191 printf "%s\n" "none needed" >&6; }
   5192 else case e in #(
   5193   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   5194 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   5195      CC="$CC $ac_cv_prog_cc_c99" ;;
   5196 esac
   5197 fi
   5198   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   5199   ac_prog_cc_stdc=c99 ;;
   5200 esac
   5201 fi
   5202 fi
   5203 if test x$ac_prog_cc_stdc = xno
   5204 then :
   5205   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   5206 printf %s "checking for $CC option to enable C89 features... " >&6; }
   5207 if test ${ac_cv_prog_cc_c89+y}
   5208 then :
   5209   printf %s "(cached) " >&6
   5210 else case e in #(
   5211   e) ac_cv_prog_cc_c89=no
   5212 ac_save_CC=$CC
   5213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5214 /* end confdefs.h.  */
   5215 $ac_c_conftest_c89_program
   5216 _ACEOF
   5217 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   5218 do
   5219   CC="$ac_save_CC $ac_arg"
   5220   if ac_fn_c_try_compile "$LINENO"
   5221 then :
   5222   ac_cv_prog_cc_c89=$ac_arg
   5223 fi
   5224 rm -f core conftest.err conftest.$ac_objext conftest.beam
   5225   test "x$ac_cv_prog_cc_c89" != "xno" && break
   5226 done
   5227 rm -f conftest.$ac_ext
   5228 CC=$ac_save_CC ;;
   5229 esac
   5230 fi
   5231 
   5232 if test "x$ac_cv_prog_cc_c89" = xno
   5233 then :
   5234   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5235 printf "%s\n" "unsupported" >&6; }
   5236 else case e in #(
   5237   e) if test "x$ac_cv_prog_cc_c89" = x
   5238 then :
   5239   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5240 printf "%s\n" "none needed" >&6; }
   5241 else case e in #(
   5242   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   5243 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   5244      CC="$CC $ac_cv_prog_cc_c89" ;;
   5245 esac
   5246 fi
   5247   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   5248   ac_prog_cc_stdc=c89 ;;
   5249 esac
   5250 fi
   5251 fi
   5252 
   5253 ac_ext=c
   5254 ac_cpp='$CPP $CPPFLAGS'
   5255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5258 
   5259 
   5260   ac_ext=c
   5261 ac_cpp='$CPP $CPPFLAGS'
   5262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   5266 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   5267 if test ${am_cv_prog_cc_c_o+y}
   5268 then :
   5269   printf %s "(cached) " >&6
   5270 else case e in #(
   5271   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5272 /* end confdefs.h.  */
   5273 
   5274 int
   5275 main (void)
   5276 {
   5277 
   5278   ;
   5279   return 0;
   5280 }
   5281 _ACEOF
   5282   # Make sure it works both with $CC and with simple cc.
   5283   # Following AC_PROG_CC_C_O, we do the test twice because some
   5284   # compilers refuse to overwrite an existing .o file with -o,
   5285   # though they will create one.
   5286   am_cv_prog_cc_c_o=yes
   5287   for am_i in 1 2; do
   5288     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   5289    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   5290    ac_status=$?
   5291    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5292    (exit $ac_status); } \
   5293          && test -f conftest2.$ac_objext; then
   5294       : OK
   5295     else
   5296       am_cv_prog_cc_c_o=no
   5297       break
   5298     fi
   5299   done
   5300   rm -f core conftest*
   5301   unset am_i ;;
   5302 esac
   5303 fi
   5304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   5305 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   5306 if test "$am_cv_prog_cc_c_o" != yes; then
   5307    # Losing compiler, so override with the script.
   5308    # FIXME: It is wrong to rewrite CC.
   5309    # But if we don't then we get into trouble of one sort or another.
   5310    # A longer-term fix would be to have automake use am__CC in this case,
   5311    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   5312    CC="$am_aux_dir/compile $CC"
   5313 fi
   5314 ac_ext=c
   5315 ac_cpp='$CPP $CPPFLAGS'
   5316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5319 
   5320 
   5321 depcc="$CC"   am_compiler_list=
   5322 
   5323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5324 printf %s "checking dependency style of $depcc... " >&6; }
   5325 if test ${am_cv_CC_dependencies_compiler_type+y}
   5326 then :
   5327   printf %s "(cached) " >&6
   5328 else case e in #(
   5329   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5330   # We make a subdir and do the tests there.  Otherwise we can end up
   5331   # making bogus files that we don't know about and never remove.  For
   5332   # instance it was reported that on HP-UX the gcc test will end up
   5333   # making a dummy file named 'D' -- because '-MD' means "put the output
   5334   # in D".
   5335   rm -rf conftest.dir
   5336   mkdir conftest.dir
   5337   # Copy depcomp to subdir because otherwise we won't find it if we're
   5338   # using a relative directory.
   5339   cp "$am_depcomp" conftest.dir
   5340   cd conftest.dir
   5341   # We will build objects and dependencies in a subdirectory because
   5342   # it helps to detect inapplicable dependency modes.  For instance
   5343   # both Tru64's cc and ICC support -MD to output dependencies as a
   5344   # side effect of compilation, but ICC will put the dependencies in
   5345   # the current directory while Tru64 will put them in the object
   5346   # directory.
   5347   mkdir sub
   5348 
   5349   am_cv_CC_dependencies_compiler_type=none
   5350   if test "$am_compiler_list" = ""; then
   5351      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5352   fi
   5353   am__universal=false
   5354   case " $depcc " in #(
   5355      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5356      esac
   5357 
   5358   for depmode in $am_compiler_list; do
   5359     # Setup a source with many dependencies, because some compilers
   5360     # like to wrap large dependency lists on column 80 (with \), and
   5361     # we should not choose a depcomp mode which is confused by this.
   5362     #
   5363     # We need to recreate these files for each test, as the compiler may
   5364     # overwrite some of them when testing with obscure command lines.
   5365     # This happens at least with the AIX C compiler.
   5366     : > sub/conftest.c
   5367     for i in 1 2 3 4 5 6; do
   5368       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5369       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5370       # Solaris 10 /bin/sh.
   5371       echo '/* dummy */' > sub/conftst$i.h
   5372     done
   5373     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5374 
   5375     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5376     # mode.  It turns out that the SunPro C++ compiler does not properly
   5377     # handle '-M -o', and we need to detect this.  Also, some Intel
   5378     # versions had trouble with output in subdirs.
   5379     am__obj=sub/conftest.${OBJEXT-o}
   5380     am__minus_obj="-o $am__obj"
   5381     case $depmode in
   5382     gcc)
   5383       # This depmode causes a compiler race in universal mode.
   5384       test "$am__universal" = false || continue
   5385       ;;
   5386     nosideeffect)
   5387       # After this tag, mechanisms are not by side-effect, so they'll
   5388       # only be used when explicitly requested.
   5389       if test "x$enable_dependency_tracking" = xyes; then
   5390 	continue
   5391       else
   5392 	break
   5393       fi
   5394       ;;
   5395     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5396       # This compiler won't grok '-c -o', but also, the minuso test has
   5397       # not run yet.  These depmodes are late enough in the game, and
   5398       # so weak that their functioning should not be impacted.
   5399       am__obj=conftest.${OBJEXT-o}
   5400       am__minus_obj=
   5401       ;;
   5402     none) break ;;
   5403     esac
   5404     if depmode=$depmode \
   5405        source=sub/conftest.c object=$am__obj \
   5406        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5407        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5408          >/dev/null 2>conftest.err &&
   5409        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5410        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5411        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5412        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5413       # icc doesn't choke on unknown options, it will just issue warnings
   5414       # or remarks (even with -Werror).  So we grep stderr for any message
   5415       # that says an option was ignored or not supported.
   5416       # When given -MP, icc 7.0 and 7.1 complain thus:
   5417       #   icc: Command line warning: ignoring option '-M'; no argument required
   5418       # The diagnosis changed in icc 8.0:
   5419       #   icc: Command line remark: option '-MP' not supported
   5420       if (grep 'ignoring option' conftest.err ||
   5421           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5422         am_cv_CC_dependencies_compiler_type=$depmode
   5423         break
   5424       fi
   5425     fi
   5426   done
   5427 
   5428   cd ..
   5429   rm -rf conftest.dir
   5430 else
   5431   am_cv_CC_dependencies_compiler_type=none
   5432 fi
   5433  ;;
   5434 esac
   5435 fi
   5436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5437 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   5438 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5439 
   5440  if
   5441   test "x$enable_dependency_tracking" != xno \
   5442   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5443   am__fastdepCC_TRUE=
   5444   am__fastdepCC_FALSE='#'
   5445 else
   5446   am__fastdepCC_TRUE='#'
   5447   am__fastdepCC_FALSE=
   5448 fi
   5449 
   5450 
   5451 
   5452 ac_header= ac_cache=
   5453 for ac_item in $ac_header_c_list
   5454 do
   5455   if test $ac_cache; then
   5456     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   5457     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   5458       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   5459     fi
   5460     ac_header= ac_cache=
   5461   elif test $ac_header; then
   5462     ac_cache=$ac_item
   5463   else
   5464     ac_header=$ac_item
   5465   fi
   5466 done
   5467 
   5468 
   5469 
   5470 
   5471 
   5472 
   5473 
   5474 
   5475 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   5476 then :
   5477 
   5478 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   5479 
   5480 fi
   5481 
   5482 
   5483 
   5484 
   5485 
   5486 
   5487   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   5488 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   5489 if test ${ac_cv_safe_to_define___extensions__+y}
   5490 then :
   5491   printf %s "(cached) " >&6
   5492 else case e in #(
   5493   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5494 /* end confdefs.h.  */
   5495 
   5496 #         define __EXTENSIONS__ 1
   5497           $ac_includes_default
   5498 int
   5499 main (void)
   5500 {
   5501 
   5502   ;
   5503   return 0;
   5504 }
   5505 _ACEOF
   5506 if ac_fn_c_try_compile "$LINENO"
   5507 then :
   5508   ac_cv_safe_to_define___extensions__=yes
   5509 else case e in #(
   5510   e) ac_cv_safe_to_define___extensions__=no ;;
   5511 esac
   5512 fi
   5513 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5514 esac
   5515 fi
   5516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   5517 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   5518 
   5519   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   5520 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   5521 if test ${ac_cv_should_define__xopen_source+y}
   5522 then :
   5523   printf %s "(cached) " >&6
   5524 else case e in #(
   5525   e) ac_cv_should_define__xopen_source=no
   5526     if test $ac_cv_header_wchar_h = yes
   5527 then :
   5528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5529 /* end confdefs.h.  */
   5530 
   5531           #include <wchar.h>
   5532           mbstate_t x;
   5533 int
   5534 main (void)
   5535 {
   5536 
   5537   ;
   5538   return 0;
   5539 }
   5540 _ACEOF
   5541 if ac_fn_c_try_compile "$LINENO"
   5542 then :
   5543 
   5544 else case e in #(
   5545   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5546 /* end confdefs.h.  */
   5547 
   5548             #define _XOPEN_SOURCE 500
   5549             #include <wchar.h>
   5550             mbstate_t x;
   5551 int
   5552 main (void)
   5553 {
   5554 
   5555   ;
   5556   return 0;
   5557 }
   5558 _ACEOF
   5559 if ac_fn_c_try_compile "$LINENO"
   5560 then :
   5561   ac_cv_should_define__xopen_source=yes
   5562 fi
   5563 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5564 esac
   5565 fi
   5566 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5567 fi ;;
   5568 esac
   5569 fi
   5570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   5571 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   5572 
   5573   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   5574 
   5575   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   5576 
   5577   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   5578 
   5579   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   5580 
   5581   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   5582 
   5583   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   5584 
   5585   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   5586 
   5587   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   5588 
   5589   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   5590 
   5591   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   5592 
   5593   printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
   5594 
   5595   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   5596 
   5597   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   5598 
   5599   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   5600 
   5601   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   5602 
   5603   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   5604 
   5605   if test $ac_cv_header_minix_config_h = yes
   5606 then :
   5607   MINIX=yes
   5608     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   5609 
   5610     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   5611 
   5612     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   5613 
   5614 else case e in #(
   5615   e) MINIX= ;;
   5616 esac
   5617 fi
   5618   if test $ac_cv_safe_to_define___extensions__ = yes
   5619 then :
   5620   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   5621 
   5622 fi
   5623   if test $ac_cv_should_define__xopen_source = yes
   5624 then :
   5625   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   5626 
   5627 fi
   5628 
   5629 
   5630 #
   5631 # Compiler compatibility flags
   5632 #
   5633 ac_ext=c
   5634 ac_cpp='$CPP $CPPFLAGS'
   5635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5638 if test -n "$ac_tool_prefix"; then
   5639   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   5640 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   5641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5642 printf %s "checking for $ac_word... " >&6; }
   5643 if test ${ac_cv_prog_CC+y}
   5644 then :
   5645   printf %s "(cached) " >&6
   5646 else case e in #(
   5647   e) if test -n "$CC"; then
   5648   ac_cv_prog_CC="$CC" # Let the user override the test.
   5649 else
   5650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5651 for as_dir in $PATH
   5652 do
   5653   IFS=$as_save_IFS
   5654   case $as_dir in #(((
   5655     '') as_dir=./ ;;
   5656     */) ;;
   5657     *) as_dir=$as_dir/ ;;
   5658   esac
   5659     for ac_exec_ext in '' $ac_executable_extensions; do
   5660   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5661     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   5662     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5663     break 2
   5664   fi
   5665 done
   5666   done
   5667 IFS=$as_save_IFS
   5668 
   5669 fi ;;
   5670 esac
   5671 fi
   5672 CC=$ac_cv_prog_CC
   5673 if test -n "$CC"; then
   5674   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   5675 printf "%s\n" "$CC" >&6; }
   5676 else
   5677   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5678 printf "%s\n" "no" >&6; }
   5679 fi
   5680 
   5681 
   5682 fi
   5683 if test -z "$ac_cv_prog_CC"; then
   5684   ac_ct_CC=$CC
   5685   # Extract the first word of "gcc", so it can be a program name with args.
   5686 set dummy gcc; ac_word=$2
   5687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5688 printf %s "checking for $ac_word... " >&6; }
   5689 if test ${ac_cv_prog_ac_ct_CC+y}
   5690 then :
   5691   printf %s "(cached) " >&6
   5692 else case e in #(
   5693   e) if test -n "$ac_ct_CC"; then
   5694   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   5695 else
   5696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5697 for as_dir in $PATH
   5698 do
   5699   IFS=$as_save_IFS
   5700   case $as_dir in #(((
   5701     '') as_dir=./ ;;
   5702     */) ;;
   5703     *) as_dir=$as_dir/ ;;
   5704   esac
   5705     for ac_exec_ext in '' $ac_executable_extensions; do
   5706   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5707     ac_cv_prog_ac_ct_CC="gcc"
   5708     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5709     break 2
   5710   fi
   5711 done
   5712   done
   5713 IFS=$as_save_IFS
   5714 
   5715 fi ;;
   5716 esac
   5717 fi
   5718 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   5719 if test -n "$ac_ct_CC"; then
   5720   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   5721 printf "%s\n" "$ac_ct_CC" >&6; }
   5722 else
   5723   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5724 printf "%s\n" "no" >&6; }
   5725 fi
   5726 
   5727   if test "x$ac_ct_CC" = x; then
   5728     CC=""
   5729   else
   5730     case $cross_compiling:$ac_tool_warned in
   5731 yes:)
   5732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5733 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5734 ac_tool_warned=yes ;;
   5735 esac
   5736     CC=$ac_ct_CC
   5737   fi
   5738 else
   5739   CC="$ac_cv_prog_CC"
   5740 fi
   5741 
   5742 if test -z "$CC"; then
   5743           if test -n "$ac_tool_prefix"; then
   5744     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   5745 set dummy ${ac_tool_prefix}cc; ac_word=$2
   5746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5747 printf %s "checking for $ac_word... " >&6; }
   5748 if test ${ac_cv_prog_CC+y}
   5749 then :
   5750   printf %s "(cached) " >&6
   5751 else case e in #(
   5752   e) if test -n "$CC"; then
   5753   ac_cv_prog_CC="$CC" # Let the user override the test.
   5754 else
   5755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5756 for as_dir in $PATH
   5757 do
   5758   IFS=$as_save_IFS
   5759   case $as_dir in #(((
   5760     '') as_dir=./ ;;
   5761     */) ;;
   5762     *) as_dir=$as_dir/ ;;
   5763   esac
   5764     for ac_exec_ext in '' $ac_executable_extensions; do
   5765   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5766     ac_cv_prog_CC="${ac_tool_prefix}cc"
   5767     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5768     break 2
   5769   fi
   5770 done
   5771   done
   5772 IFS=$as_save_IFS
   5773 
   5774 fi ;;
   5775 esac
   5776 fi
   5777 CC=$ac_cv_prog_CC
   5778 if test -n "$CC"; then
   5779   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   5780 printf "%s\n" "$CC" >&6; }
   5781 else
   5782   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5783 printf "%s\n" "no" >&6; }
   5784 fi
   5785 
   5786 
   5787   fi
   5788 fi
   5789 if test -z "$CC"; then
   5790   # Extract the first word of "cc", so it can be a program name with args.
   5791 set dummy cc; ac_word=$2
   5792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5793 printf %s "checking for $ac_word... " >&6; }
   5794 if test ${ac_cv_prog_CC+y}
   5795 then :
   5796   printf %s "(cached) " >&6
   5797 else case e in #(
   5798   e) if test -n "$CC"; then
   5799   ac_cv_prog_CC="$CC" # Let the user override the test.
   5800 else
   5801   ac_prog_rejected=no
   5802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5803 for as_dir in $PATH
   5804 do
   5805   IFS=$as_save_IFS
   5806   case $as_dir in #(((
   5807     '') as_dir=./ ;;
   5808     */) ;;
   5809     *) as_dir=$as_dir/ ;;
   5810   esac
   5811     for ac_exec_ext in '' $ac_executable_extensions; do
   5812   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5813     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   5814        ac_prog_rejected=yes
   5815        continue
   5816      fi
   5817     ac_cv_prog_CC="cc"
   5818     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5819     break 2
   5820   fi
   5821 done
   5822   done
   5823 IFS=$as_save_IFS
   5824 
   5825 if test $ac_prog_rejected = yes; then
   5826   # We found a bogon in the path, so make sure we never use it.
   5827   set dummy $ac_cv_prog_CC
   5828   shift
   5829   if test $# != 0; then
   5830     # We chose a different compiler from the bogus one.
   5831     # However, it has the same basename, so the bogon will be chosen
   5832     # first if we set CC to just the basename; use the full file name.
   5833     shift
   5834     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   5835   fi
   5836 fi
   5837 fi ;;
   5838 esac
   5839 fi
   5840 CC=$ac_cv_prog_CC
   5841 if test -n "$CC"; then
   5842   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   5843 printf "%s\n" "$CC" >&6; }
   5844 else
   5845   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5846 printf "%s\n" "no" >&6; }
   5847 fi
   5848 
   5849 
   5850 fi
   5851 if test -z "$CC"; then
   5852   if test -n "$ac_tool_prefix"; then
   5853   for ac_prog in cl.exe
   5854   do
   5855     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5856 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5858 printf %s "checking for $ac_word... " >&6; }
   5859 if test ${ac_cv_prog_CC+y}
   5860 then :
   5861   printf %s "(cached) " >&6
   5862 else case e in #(
   5863   e) if test -n "$CC"; then
   5864   ac_cv_prog_CC="$CC" # Let the user override the test.
   5865 else
   5866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5867 for as_dir in $PATH
   5868 do
   5869   IFS=$as_save_IFS
   5870   case $as_dir in #(((
   5871     '') as_dir=./ ;;
   5872     */) ;;
   5873     *) as_dir=$as_dir/ ;;
   5874   esac
   5875     for ac_exec_ext in '' $ac_executable_extensions; do
   5876   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5877     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   5878     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5879     break 2
   5880   fi
   5881 done
   5882   done
   5883 IFS=$as_save_IFS
   5884 
   5885 fi ;;
   5886 esac
   5887 fi
   5888 CC=$ac_cv_prog_CC
   5889 if test -n "$CC"; then
   5890   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   5891 printf "%s\n" "$CC" >&6; }
   5892 else
   5893   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5894 printf "%s\n" "no" >&6; }
   5895 fi
   5896 
   5897 
   5898     test -n "$CC" && break
   5899   done
   5900 fi
   5901 if test -z "$CC"; then
   5902   ac_ct_CC=$CC
   5903   for ac_prog in cl.exe
   5904 do
   5905   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5906 set dummy $ac_prog; ac_word=$2
   5907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5908 printf %s "checking for $ac_word... " >&6; }
   5909 if test ${ac_cv_prog_ac_ct_CC+y}
   5910 then :
   5911   printf %s "(cached) " >&6
   5912 else case e in #(
   5913   e) if test -n "$ac_ct_CC"; then
   5914   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   5915 else
   5916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5917 for as_dir in $PATH
   5918 do
   5919   IFS=$as_save_IFS
   5920   case $as_dir in #(((
   5921     '') as_dir=./ ;;
   5922     */) ;;
   5923     *) as_dir=$as_dir/ ;;
   5924   esac
   5925     for ac_exec_ext in '' $ac_executable_extensions; do
   5926   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5927     ac_cv_prog_ac_ct_CC="$ac_prog"
   5928     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5929     break 2
   5930   fi
   5931 done
   5932   done
   5933 IFS=$as_save_IFS
   5934 
   5935 fi ;;
   5936 esac
   5937 fi
   5938 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   5939 if test -n "$ac_ct_CC"; then
   5940   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   5941 printf "%s\n" "$ac_ct_CC" >&6; }
   5942 else
   5943   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5944 printf "%s\n" "no" >&6; }
   5945 fi
   5946 
   5947 
   5948   test -n "$ac_ct_CC" && break
   5949 done
   5950 
   5951   if test "x$ac_ct_CC" = x; then
   5952     CC=""
   5953   else
   5954     case $cross_compiling:$ac_tool_warned in
   5955 yes:)
   5956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5957 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5958 ac_tool_warned=yes ;;
   5959 esac
   5960     CC=$ac_ct_CC
   5961   fi
   5962 fi
   5963 
   5964 fi
   5965 if test -z "$CC"; then
   5966   if test -n "$ac_tool_prefix"; then
   5967   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   5968 set dummy ${ac_tool_prefix}clang; ac_word=$2
   5969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5970 printf %s "checking for $ac_word... " >&6; }
   5971 if test ${ac_cv_prog_CC+y}
   5972 then :
   5973   printf %s "(cached) " >&6
   5974 else case e in #(
   5975   e) if test -n "$CC"; then
   5976   ac_cv_prog_CC="$CC" # Let the user override the test.
   5977 else
   5978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5979 for as_dir in $PATH
   5980 do
   5981   IFS=$as_save_IFS
   5982   case $as_dir in #(((
   5983     '') as_dir=./ ;;
   5984     */) ;;
   5985     *) as_dir=$as_dir/ ;;
   5986   esac
   5987     for ac_exec_ext in '' $ac_executable_extensions; do
   5988   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5989     ac_cv_prog_CC="${ac_tool_prefix}clang"
   5990     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5991     break 2
   5992   fi
   5993 done
   5994   done
   5995 IFS=$as_save_IFS
   5996 
   5997 fi ;;
   5998 esac
   5999 fi
   6000 CC=$ac_cv_prog_CC
   6001 if test -n "$CC"; then
   6002   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   6003 printf "%s\n" "$CC" >&6; }
   6004 else
   6005   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6006 printf "%s\n" "no" >&6; }
   6007 fi
   6008 
   6009 
   6010 fi
   6011 if test -z "$ac_cv_prog_CC"; then
   6012   ac_ct_CC=$CC
   6013   # Extract the first word of "clang", so it can be a program name with args.
   6014 set dummy clang; ac_word=$2
   6015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6016 printf %s "checking for $ac_word... " >&6; }
   6017 if test ${ac_cv_prog_ac_ct_CC+y}
   6018 then :
   6019   printf %s "(cached) " >&6
   6020 else case e in #(
   6021   e) if test -n "$ac_ct_CC"; then
   6022   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   6023 else
   6024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6025 for as_dir in $PATH
   6026 do
   6027   IFS=$as_save_IFS
   6028   case $as_dir in #(((
   6029     '') as_dir=./ ;;
   6030     */) ;;
   6031     *) as_dir=$as_dir/ ;;
   6032   esac
   6033     for ac_exec_ext in '' $ac_executable_extensions; do
   6034   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6035     ac_cv_prog_ac_ct_CC="clang"
   6036     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6037     break 2
   6038   fi
   6039 done
   6040   done
   6041 IFS=$as_save_IFS
   6042 
   6043 fi ;;
   6044 esac
   6045 fi
   6046 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   6047 if test -n "$ac_ct_CC"; then
   6048   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   6049 printf "%s\n" "$ac_ct_CC" >&6; }
   6050 else
   6051   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6052 printf "%s\n" "no" >&6; }
   6053 fi
   6054 
   6055   if test "x$ac_ct_CC" = x; then
   6056     CC=""
   6057   else
   6058     case $cross_compiling:$ac_tool_warned in
   6059 yes:)
   6060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6061 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6062 ac_tool_warned=yes ;;
   6063 esac
   6064     CC=$ac_ct_CC
   6065   fi
   6066 else
   6067   CC="$ac_cv_prog_CC"
   6068 fi
   6069 
   6070 fi
   6071 
   6072 
   6073 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   6074 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   6075 as_fn_error $? "no acceptable C compiler found in \$PATH
   6076 See 'config.log' for more details" "$LINENO" 5; }
   6077 
   6078 # Provide some information about the compiler.
   6079 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   6080 set X $ac_compile
   6081 ac_compiler=$2
   6082 for ac_option in --version -v -V -qversion -version; do
   6083   { { ac_try="$ac_compiler $ac_option >&5"
   6084 case "(($ac_try" in
   6085   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6086   *) ac_try_echo=$ac_try;;
   6087 esac
   6088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   6089 printf "%s\n" "$ac_try_echo"; } >&5
   6090   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   6091   ac_status=$?
   6092   if test -s conftest.err; then
   6093     sed '10a\
   6094 ... rest of stderr output deleted ...
   6095          10q' conftest.err >conftest.er1
   6096     cat conftest.er1 >&5
   6097   fi
   6098   rm -f conftest.er1 conftest.err
   6099   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6100   test $ac_status = 0; }
   6101 done
   6102 
   6103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   6104 printf %s "checking whether the compiler supports GNU C... " >&6; }
   6105 if test ${ac_cv_c_compiler_gnu+y}
   6106 then :
   6107   printf %s "(cached) " >&6
   6108 else case e in #(
   6109   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6110 /* end confdefs.h.  */
   6111 
   6112 int
   6113 main (void)
   6114 {
   6115 #ifndef __GNUC__
   6116        choke me
   6117 #endif
   6118 
   6119   ;
   6120   return 0;
   6121 }
   6122 _ACEOF
   6123 if ac_fn_c_try_compile "$LINENO"
   6124 then :
   6125   ac_compiler_gnu=yes
   6126 else case e in #(
   6127   e) ac_compiler_gnu=no ;;
   6128 esac
   6129 fi
   6130 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6131 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   6132  ;;
   6133 esac
   6134 fi
   6135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   6136 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   6137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6138 
   6139 if test $ac_compiler_gnu = yes; then
   6140   GCC=yes
   6141 else
   6142   GCC=
   6143 fi
   6144 ac_test_CFLAGS=${CFLAGS+y}
   6145 ac_save_CFLAGS=$CFLAGS
   6146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   6147 printf %s "checking whether $CC accepts -g... " >&6; }
   6148 if test ${ac_cv_prog_cc_g+y}
   6149 then :
   6150   printf %s "(cached) " >&6
   6151 else case e in #(
   6152   e) ac_save_c_werror_flag=$ac_c_werror_flag
   6153    ac_c_werror_flag=yes
   6154    ac_cv_prog_cc_g=no
   6155    CFLAGS="-g"
   6156    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6157 /* end confdefs.h.  */
   6158 
   6159 int
   6160 main (void)
   6161 {
   6162 
   6163   ;
   6164   return 0;
   6165 }
   6166 _ACEOF
   6167 if ac_fn_c_try_compile "$LINENO"
   6168 then :
   6169   ac_cv_prog_cc_g=yes
   6170 else case e in #(
   6171   e) CFLAGS=""
   6172       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6173 /* end confdefs.h.  */
   6174 
   6175 int
   6176 main (void)
   6177 {
   6178 
   6179   ;
   6180   return 0;
   6181 }
   6182 _ACEOF
   6183 if ac_fn_c_try_compile "$LINENO"
   6184 then :
   6185 
   6186 else case e in #(
   6187   e) ac_c_werror_flag=$ac_save_c_werror_flag
   6188 	 CFLAGS="-g"
   6189 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6190 /* end confdefs.h.  */
   6191 
   6192 int
   6193 main (void)
   6194 {
   6195 
   6196   ;
   6197   return 0;
   6198 }
   6199 _ACEOF
   6200 if ac_fn_c_try_compile "$LINENO"
   6201 then :
   6202   ac_cv_prog_cc_g=yes
   6203 fi
   6204 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6205 esac
   6206 fi
   6207 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6208 esac
   6209 fi
   6210 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6211    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   6212 esac
   6213 fi
   6214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   6215 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   6216 if test $ac_test_CFLAGS; then
   6217   CFLAGS=$ac_save_CFLAGS
   6218 elif test $ac_cv_prog_cc_g = yes; then
   6219   if test "$GCC" = yes; then
   6220     CFLAGS="-g -O2"
   6221   else
   6222     CFLAGS="-g"
   6223   fi
   6224 else
   6225   if test "$GCC" = yes; then
   6226     CFLAGS="-O2"
   6227   else
   6228     CFLAGS=
   6229   fi
   6230 fi
   6231 ac_prog_cc_stdc=no
   6232 if test x$ac_prog_cc_stdc = xno
   6233 then :
   6234   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   6235 printf %s "checking for $CC option to enable C11 features... " >&6; }
   6236 if test ${ac_cv_prog_cc_c11+y}
   6237 then :
   6238   printf %s "(cached) " >&6
   6239 else case e in #(
   6240   e) ac_cv_prog_cc_c11=no
   6241 ac_save_CC=$CC
   6242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6243 /* end confdefs.h.  */
   6244 $ac_c_conftest_c11_program
   6245 _ACEOF
   6246 for ac_arg in '' -std=gnu11
   6247 do
   6248   CC="$ac_save_CC $ac_arg"
   6249   if ac_fn_c_try_compile "$LINENO"
   6250 then :
   6251   ac_cv_prog_cc_c11=$ac_arg
   6252 fi
   6253 rm -f core conftest.err conftest.$ac_objext conftest.beam
   6254   test "x$ac_cv_prog_cc_c11" != "xno" && break
   6255 done
   6256 rm -f conftest.$ac_ext
   6257 CC=$ac_save_CC ;;
   6258 esac
   6259 fi
   6260 
   6261 if test "x$ac_cv_prog_cc_c11" = xno
   6262 then :
   6263   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   6264 printf "%s\n" "unsupported" >&6; }
   6265 else case e in #(
   6266   e) if test "x$ac_cv_prog_cc_c11" = x
   6267 then :
   6268   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   6269 printf "%s\n" "none needed" >&6; }
   6270 else case e in #(
   6271   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   6272 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   6273      CC="$CC $ac_cv_prog_cc_c11" ;;
   6274 esac
   6275 fi
   6276   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   6277   ac_prog_cc_stdc=c11 ;;
   6278 esac
   6279 fi
   6280 fi
   6281 if test x$ac_prog_cc_stdc = xno
   6282 then :
   6283   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   6284 printf %s "checking for $CC option to enable C99 features... " >&6; }
   6285 if test ${ac_cv_prog_cc_c99+y}
   6286 then :
   6287   printf %s "(cached) " >&6
   6288 else case e in #(
   6289   e) ac_cv_prog_cc_c99=no
   6290 ac_save_CC=$CC
   6291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6292 /* end confdefs.h.  */
   6293 $ac_c_conftest_c99_program
   6294 _ACEOF
   6295 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   6296 do
   6297   CC="$ac_save_CC $ac_arg"
   6298   if ac_fn_c_try_compile "$LINENO"
   6299 then :
   6300   ac_cv_prog_cc_c99=$ac_arg
   6301 fi
   6302 rm -f core conftest.err conftest.$ac_objext conftest.beam
   6303   test "x$ac_cv_prog_cc_c99" != "xno" && break
   6304 done
   6305 rm -f conftest.$ac_ext
   6306 CC=$ac_save_CC ;;
   6307 esac
   6308 fi
   6309 
   6310 if test "x$ac_cv_prog_cc_c99" = xno
   6311 then :
   6312   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   6313 printf "%s\n" "unsupported" >&6; }
   6314 else case e in #(
   6315   e) if test "x$ac_cv_prog_cc_c99" = x
   6316 then :
   6317   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   6318 printf "%s\n" "none needed" >&6; }
   6319 else case e in #(
   6320   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   6321 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   6322      CC="$CC $ac_cv_prog_cc_c99" ;;
   6323 esac
   6324 fi
   6325   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   6326   ac_prog_cc_stdc=c99 ;;
   6327 esac
   6328 fi
   6329 fi
   6330 if test x$ac_prog_cc_stdc = xno
   6331 then :
   6332   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   6333 printf %s "checking for $CC option to enable C89 features... " >&6; }
   6334 if test ${ac_cv_prog_cc_c89+y}
   6335 then :
   6336   printf %s "(cached) " >&6
   6337 else case e in #(
   6338   e) ac_cv_prog_cc_c89=no
   6339 ac_save_CC=$CC
   6340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6341 /* end confdefs.h.  */
   6342 $ac_c_conftest_c89_program
   6343 _ACEOF
   6344 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   6345 do
   6346   CC="$ac_save_CC $ac_arg"
   6347   if ac_fn_c_try_compile "$LINENO"
   6348 then :
   6349   ac_cv_prog_cc_c89=$ac_arg
   6350 fi
   6351 rm -f core conftest.err conftest.$ac_objext conftest.beam
   6352   test "x$ac_cv_prog_cc_c89" != "xno" && break
   6353 done
   6354 rm -f conftest.$ac_ext
   6355 CC=$ac_save_CC ;;
   6356 esac
   6357 fi
   6358 
   6359 if test "x$ac_cv_prog_cc_c89" = xno
   6360 then :
   6361   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   6362 printf "%s\n" "unsupported" >&6; }
   6363 else case e in #(
   6364   e) if test "x$ac_cv_prog_cc_c89" = x
   6365 then :
   6366   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   6367 printf "%s\n" "none needed" >&6; }
   6368 else case e in #(
   6369   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   6370 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   6371      CC="$CC $ac_cv_prog_cc_c89" ;;
   6372 esac
   6373 fi
   6374   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   6375   ac_prog_cc_stdc=c89 ;;
   6376 esac
   6377 fi
   6378 fi
   6379 
   6380 ac_ext=c
   6381 ac_cpp='$CPP $CPPFLAGS'
   6382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6385 
   6386 
   6387   ac_ext=c
   6388 ac_cpp='$CPP $CPPFLAGS'
   6389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   6393 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   6394 if test ${am_cv_prog_cc_c_o+y}
   6395 then :
   6396   printf %s "(cached) " >&6
   6397 else case e in #(
   6398   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6399 /* end confdefs.h.  */
   6400 
   6401 int
   6402 main (void)
   6403 {
   6404 
   6405   ;
   6406   return 0;
   6407 }
   6408 _ACEOF
   6409   # Make sure it works both with $CC and with simple cc.
   6410   # Following AC_PROG_CC_C_O, we do the test twice because some
   6411   # compilers refuse to overwrite an existing .o file with -o,
   6412   # though they will create one.
   6413   am_cv_prog_cc_c_o=yes
   6414   for am_i in 1 2; do
   6415     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   6416    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   6417    ac_status=$?
   6418    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6419    (exit $ac_status); } \
   6420          && test -f conftest2.$ac_objext; then
   6421       : OK
   6422     else
   6423       am_cv_prog_cc_c_o=no
   6424       break
   6425     fi
   6426   done
   6427   rm -f core conftest*
   6428   unset am_i ;;
   6429 esac
   6430 fi
   6431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   6432 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   6433 if test "$am_cv_prog_cc_c_o" != yes; then
   6434    # Losing compiler, so override with the script.
   6435    # FIXME: It is wrong to rewrite CC.
   6436    # But if we don't then we get into trouble of one sort or another.
   6437    # A longer-term fix would be to have automake use am__CC in this case,
   6438    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   6439    CC="$am_aux_dir/compile $CC"
   6440 fi
   6441 ac_ext=c
   6442 ac_cpp='$CPP $CPPFLAGS'
   6443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6446 
   6447 
   6448 depcc="$CC"   am_compiler_list=
   6449 
   6450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   6451 printf %s "checking dependency style of $depcc... " >&6; }
   6452 if test ${am_cv_CC_dependencies_compiler_type+y}
   6453 then :
   6454   printf %s "(cached) " >&6
   6455 else case e in #(
   6456   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   6457   # We make a subdir and do the tests there.  Otherwise we can end up
   6458   # making bogus files that we don't know about and never remove.  For
   6459   # instance it was reported that on HP-UX the gcc test will end up
   6460   # making a dummy file named 'D' -- because '-MD' means "put the output
   6461   # in D".
   6462   rm -rf conftest.dir
   6463   mkdir conftest.dir
   6464   # Copy depcomp to subdir because otherwise we won't find it if we're
   6465   # using a relative directory.
   6466   cp "$am_depcomp" conftest.dir
   6467   cd conftest.dir
   6468   # We will build objects and dependencies in a subdirectory because
   6469   # it helps to detect inapplicable dependency modes.  For instance
   6470   # both Tru64's cc and ICC support -MD to output dependencies as a
   6471   # side effect of compilation, but ICC will put the dependencies in
   6472   # the current directory while Tru64 will put them in the object
   6473   # directory.
   6474   mkdir sub
   6475 
   6476   am_cv_CC_dependencies_compiler_type=none
   6477   if test "$am_compiler_list" = ""; then
   6478      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   6479   fi
   6480   am__universal=false
   6481   case " $depcc " in #(
   6482      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   6483      esac
   6484 
   6485   for depmode in $am_compiler_list; do
   6486     # Setup a source with many dependencies, because some compilers
   6487     # like to wrap large dependency lists on column 80 (with \), and
   6488     # we should not choose a depcomp mode which is confused by this.
   6489     #
   6490     # We need to recreate these files for each test, as the compiler may
   6491     # overwrite some of them when testing with obscure command lines.
   6492     # This happens at least with the AIX C compiler.
   6493     : > sub/conftest.c
   6494     for i in 1 2 3 4 5 6; do
   6495       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   6496       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   6497       # Solaris 10 /bin/sh.
   6498       echo '/* dummy */' > sub/conftst$i.h
   6499     done
   6500     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   6501 
   6502     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   6503     # mode.  It turns out that the SunPro C++ compiler does not properly
   6504     # handle '-M -o', and we need to detect this.  Also, some Intel
   6505     # versions had trouble with output in subdirs.
   6506     am__obj=sub/conftest.${OBJEXT-o}
   6507     am__minus_obj="-o $am__obj"
   6508     case $depmode in
   6509     gcc)
   6510       # This depmode causes a compiler race in universal mode.
   6511       test "$am__universal" = false || continue
   6512       ;;
   6513     nosideeffect)
   6514       # After this tag, mechanisms are not by side-effect, so they'll
   6515       # only be used when explicitly requested.
   6516       if test "x$enable_dependency_tracking" = xyes; then
   6517 	continue
   6518       else
   6519 	break
   6520       fi
   6521       ;;
   6522     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   6523       # This compiler won't grok '-c -o', but also, the minuso test has
   6524       # not run yet.  These depmodes are late enough in the game, and
   6525       # so weak that their functioning should not be impacted.
   6526       am__obj=conftest.${OBJEXT-o}
   6527       am__minus_obj=
   6528       ;;
   6529     none) break ;;
   6530     esac
   6531     if depmode=$depmode \
   6532        source=sub/conftest.c object=$am__obj \
   6533        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   6534        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   6535          >/dev/null 2>conftest.err &&
   6536        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   6537        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   6538        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   6539        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   6540       # icc doesn't choke on unknown options, it will just issue warnings
   6541       # or remarks (even with -Werror).  So we grep stderr for any message
   6542       # that says an option was ignored or not supported.
   6543       # When given -MP, icc 7.0 and 7.1 complain thus:
   6544       #   icc: Command line warning: ignoring option '-M'; no argument required
   6545       # The diagnosis changed in icc 8.0:
   6546       #   icc: Command line remark: option '-MP' not supported
   6547       if (grep 'ignoring option' conftest.err ||
   6548           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   6549         am_cv_CC_dependencies_compiler_type=$depmode
   6550         break
   6551       fi
   6552     fi
   6553   done
   6554 
   6555   cd ..
   6556   rm -rf conftest.dir
   6557 else
   6558   am_cv_CC_dependencies_compiler_type=none
   6559 fi
   6560  ;;
   6561 esac
   6562 fi
   6563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   6564 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   6565 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   6566 
   6567  if
   6568   test "x$enable_dependency_tracking" != xno \
   6569   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   6570   am__fastdepCC_TRUE=
   6571   am__fastdepCC_FALSE='#'
   6572 else
   6573   am__fastdepCC_TRUE='#'
   6574   am__fastdepCC_FALSE=
   6575 fi
   6576 
   6577 
   6578 ac_ext=c
   6579 ac_cpp='$CPP $CPPFLAGS'
   6580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   6584 printf %s "checking how to run the C preprocessor... " >&6; }
   6585 # On Suns, sometimes $CPP names a directory.
   6586 if test -n "$CPP" && test -d "$CPP"; then
   6587   CPP=
   6588 fi
   6589 if test -z "$CPP"; then
   6590   if test ${ac_cv_prog_CPP+y}
   6591 then :
   6592   printf %s "(cached) " >&6
   6593 else case e in #(
   6594   e)     # Double quotes because $CC needs to be expanded
   6595     for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
   6596     do
   6597       ac_preproc_ok=false
   6598 for ac_c_preproc_warn_flag in '' yes
   6599 do
   6600   # Use a header file that comes with gcc, so configuring glibc
   6601   # with a fresh cross-compiler works.
   6602   # On the NeXT, cc -E runs the code through the compiler's parser,
   6603   # not just through cpp. "Syntax error" is here to catch this case.
   6604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6605 /* end confdefs.h.  */
   6606 #include <limits.h>
   6607 		     Syntax error
   6608 _ACEOF
   6609 if ac_fn_c_try_cpp "$LINENO"
   6610 then :
   6611 
   6612 else case e in #(
   6613   e) # Broken: fails on valid input.
   6614 continue ;;
   6615 esac
   6616 fi
   6617 rm -f conftest.err conftest.i conftest.$ac_ext
   6618 
   6619   # OK, works on sane cases.  Now check whether nonexistent headers
   6620   # can be detected and how.
   6621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6622 /* end confdefs.h.  */
   6623 #include <ac_nonexistent.h>
   6624 _ACEOF
   6625 if ac_fn_c_try_cpp "$LINENO"
   6626 then :
   6627   # Broken: success on invalid input.
   6628 continue
   6629 else case e in #(
   6630   e) # Passes both tests.
   6631 ac_preproc_ok=:
   6632 break ;;
   6633 esac
   6634 fi
   6635 rm -f conftest.err conftest.i conftest.$ac_ext
   6636 
   6637 done
   6638 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6639 rm -f conftest.i conftest.err conftest.$ac_ext
   6640 if $ac_preproc_ok
   6641 then :
   6642   break
   6643 fi
   6644 
   6645     done
   6646     ac_cv_prog_CPP=$CPP
   6647    ;;
   6648 esac
   6649 fi
   6650   CPP=$ac_cv_prog_CPP
   6651 else
   6652   ac_cv_prog_CPP=$CPP
   6653 fi
   6654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   6655 printf "%s\n" "$CPP" >&6; }
   6656 ac_preproc_ok=false
   6657 for ac_c_preproc_warn_flag in '' yes
   6658 do
   6659   # Use a header file that comes with gcc, so configuring glibc
   6660   # with a fresh cross-compiler works.
   6661   # On the NeXT, cc -E runs the code through the compiler's parser,
   6662   # not just through cpp. "Syntax error" is here to catch this case.
   6663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6664 /* end confdefs.h.  */
   6665 #include <limits.h>
   6666 		     Syntax error
   6667 _ACEOF
   6668 if ac_fn_c_try_cpp "$LINENO"
   6669 then :
   6670 
   6671 else case e in #(
   6672   e) # Broken: fails on valid input.
   6673 continue ;;
   6674 esac
   6675 fi
   6676 rm -f conftest.err conftest.i conftest.$ac_ext
   6677 
   6678   # OK, works on sane cases.  Now check whether nonexistent headers
   6679   # can be detected and how.
   6680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6681 /* end confdefs.h.  */
   6682 #include <ac_nonexistent.h>
   6683 _ACEOF
   6684 if ac_fn_c_try_cpp "$LINENO"
   6685 then :
   6686   # Broken: success on invalid input.
   6687 continue
   6688 else case e in #(
   6689   e) # Passes both tests.
   6690 ac_preproc_ok=:
   6691 break ;;
   6692 esac
   6693 fi
   6694 rm -f conftest.err conftest.i conftest.$ac_ext
   6695 
   6696 done
   6697 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6698 rm -f conftest.i conftest.err conftest.$ac_ext
   6699 if $ac_preproc_ok
   6700 then :
   6701 
   6702 else case e in #(
   6703   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   6704 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   6705 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   6706 See 'config.log' for more details" "$LINENO" 5; } ;;
   6707 esac
   6708 fi
   6709 
   6710 ac_ext=c
   6711 ac_cpp='$CPP $CPPFLAGS'
   6712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6715 
   6716 ac_c_preproc_warn_flag=yes
   6717 
   6718 #
   6719 # Find build compiler when cross compiling
   6720 #
   6721 
   6722 
   6723 cross_compiling_build=no
   6724 
   6725 ac_build_tool_prefix=
   6726 if test -n "$build"
   6727 then :
   6728   ac_build_tool_prefix="$build-"
   6729 elif test -n "$build_alias"
   6730 then :
   6731   ac_build_tool_prefix="$build_alias-"
   6732 fi
   6733 
   6734 ac_ext=c
   6735 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
   6736 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
   6737 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
   6738 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
   6739 
   6740 
   6741 was_set_c_compiler_gnu=${ac_cv_c_compiler_gnu+y}
   6742 if test ${was_set_c_compiler_gnu}
   6743 then :
   6744   saved_c_compiler_gnu=$ac_cv_c_compiler_gnu
   6745     { ac_cv_c_compiler_gnu=; unset ac_cv_c_compiler_gnu;}
   6746 fi
   6747 
   6748 ac_ext=c
   6749 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
   6750 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
   6751 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
   6752 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
   6753 if test -n "$ac_build_tool_prefix"; then
   6754   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   6755 set dummy ${ac_build_tool_prefix}gcc; ac_word=$2
   6756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6757 printf %s "checking for $ac_word... " >&6; }
   6758 if test ${ac_cv_prog_CC_FOR_BUILD+y}
   6759 then :
   6760   printf %s "(cached) " >&6
   6761 else case e in #(
   6762   e) if test -n "$CC_FOR_BUILD"; then
   6763   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   6764 else
   6765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6766 for as_dir in $PATH
   6767 do
   6768   IFS=$as_save_IFS
   6769   case $as_dir in #(((
   6770     '') as_dir=./ ;;
   6771     */) ;;
   6772     *) as_dir=$as_dir/ ;;
   6773   esac
   6774     for ac_exec_ext in '' $ac_executable_extensions; do
   6775   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6776     ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}gcc"
   6777     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6778     break 2
   6779   fi
   6780 done
   6781   done
   6782 IFS=$as_save_IFS
   6783 
   6784 fi ;;
   6785 esac
   6786 fi
   6787 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   6788 if test -n "$CC_FOR_BUILD"; then
   6789   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   6790 printf "%s\n" "$CC_FOR_BUILD" >&6; }
   6791 else
   6792   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6793 printf "%s\n" "no" >&6; }
   6794 fi
   6795 
   6796 
   6797 fi
   6798 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
   6799   ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
   6800   # Extract the first word of "gcc", so it can be a program name with args.
   6801 set dummy gcc; ac_word=$2
   6802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6803 printf %s "checking for $ac_word... " >&6; }
   6804 if test ${ac_cv_prog_ac_ct_CC_FOR_BUILD+y}
   6805 then :
   6806   printf %s "(cached) " >&6
   6807 else case e in #(
   6808   e) if test -n "$ac_ct_CC_FOR_BUILD"; then
   6809   ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
   6810 else
   6811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6812 for as_dir in $PATH
   6813 do
   6814   IFS=$as_save_IFS
   6815   case $as_dir in #(((
   6816     '') as_dir=./ ;;
   6817     */) ;;
   6818     *) as_dir=$as_dir/ ;;
   6819   esac
   6820     for ac_exec_ext in '' $ac_executable_extensions; do
   6821   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6822     ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc"
   6823     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6824     break 2
   6825   fi
   6826 done
   6827   done
   6828 IFS=$as_save_IFS
   6829 
   6830 fi ;;
   6831 esac
   6832 fi
   6833 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
   6834 if test -n "$ac_ct_CC_FOR_BUILD"; then
   6835   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
   6836 printf "%s\n" "$ac_ct_CC_FOR_BUILD" >&6; }
   6837 else
   6838   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6839 printf "%s\n" "no" >&6; }
   6840 fi
   6841 
   6842   if test "x$ac_ct_CC_FOR_BUILD" = x; then
   6843     CC_FOR_BUILD=""
   6844   else
   6845     case $cross_compiling_build:$ac_tool_warned in
   6846 yes:)
   6847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
   6848 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
   6849 ac_tool_warned=yes ;;
   6850 esac
   6851     CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
   6852   fi
   6853 else
   6854   CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD"
   6855 fi
   6856 
   6857 if test -z "$CC_FOR_BUILD"; then
   6858           if test -n "$ac_build_tool_prefix"; then
   6859     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   6860 set dummy ${ac_build_tool_prefix}cc; ac_word=$2
   6861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6862 printf %s "checking for $ac_word... " >&6; }
   6863 if test ${ac_cv_prog_CC_FOR_BUILD+y}
   6864 then :
   6865   printf %s "(cached) " >&6
   6866 else case e in #(
   6867   e) if test -n "$CC_FOR_BUILD"; then
   6868   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   6869 else
   6870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6871 for as_dir in $PATH
   6872 do
   6873   IFS=$as_save_IFS
   6874   case $as_dir in #(((
   6875     '') as_dir=./ ;;
   6876     */) ;;
   6877     *) as_dir=$as_dir/ ;;
   6878   esac
   6879     for ac_exec_ext in '' $ac_executable_extensions; do
   6880   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6881     ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}cc"
   6882     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6883     break 2
   6884   fi
   6885 done
   6886   done
   6887 IFS=$as_save_IFS
   6888 
   6889 fi ;;
   6890 esac
   6891 fi
   6892 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   6893 if test -n "$CC_FOR_BUILD"; then
   6894   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   6895 printf "%s\n" "$CC_FOR_BUILD" >&6; }
   6896 else
   6897   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6898 printf "%s\n" "no" >&6; }
   6899 fi
   6900 
   6901 
   6902   fi
   6903 fi
   6904 if test -z "$CC_FOR_BUILD"; then
   6905   # Extract the first word of "cc", so it can be a program name with args.
   6906 set dummy cc; ac_word=$2
   6907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6908 printf %s "checking for $ac_word... " >&6; }
   6909 if test ${ac_cv_prog_CC_FOR_BUILD+y}
   6910 then :
   6911   printf %s "(cached) " >&6
   6912 else case e in #(
   6913   e) if test -n "$CC_FOR_BUILD"; then
   6914   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   6915 else
   6916   ac_prog_rejected=no
   6917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6918 for as_dir in $PATH
   6919 do
   6920   IFS=$as_save_IFS
   6921   case $as_dir in #(((
   6922     '') as_dir=./ ;;
   6923     */) ;;
   6924     *) as_dir=$as_dir/ ;;
   6925   esac
   6926     for ac_exec_ext in '' $ac_executable_extensions; do
   6927   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6928     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   6929        ac_prog_rejected=yes
   6930        continue
   6931      fi
   6932     ac_cv_prog_CC_FOR_BUILD="cc"
   6933     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6934     break 2
   6935   fi
   6936 done
   6937   done
   6938 IFS=$as_save_IFS
   6939 
   6940 if test $ac_prog_rejected = yes; then
   6941   # We found a bogon in the path, so make sure we never use it.
   6942   set dummy $ac_cv_prog_CC_FOR_BUILD
   6943   shift
   6944   if test $# != 0; then
   6945     # We chose a different compiler from the bogus one.
   6946     # However, it has the same basename, so the bogon will be chosen
   6947     # first if we set CC_FOR_BUILD to just the basename; use the full file name.
   6948     shift
   6949     ac_cv_prog_CC_FOR_BUILD="$as_dir$ac_word${1+' '}$@"
   6950   fi
   6951 fi
   6952 fi ;;
   6953 esac
   6954 fi
   6955 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   6956 if test -n "$CC_FOR_BUILD"; then
   6957   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   6958 printf "%s\n" "$CC_FOR_BUILD" >&6; }
   6959 else
   6960   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6961 printf "%s\n" "no" >&6; }
   6962 fi
   6963 
   6964 
   6965 fi
   6966 if test -z "$CC_FOR_BUILD"; then
   6967   if test -n "$ac_build_tool_prefix"; then
   6968   for ac_prog in cl.exe
   6969   do
   6970     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6971 set dummy $ac_build_tool_prefix$ac_prog; ac_word=$2
   6972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6973 printf %s "checking for $ac_word... " >&6; }
   6974 if test ${ac_cv_prog_CC_FOR_BUILD+y}
   6975 then :
   6976   printf %s "(cached) " >&6
   6977 else case e in #(
   6978   e) if test -n "$CC_FOR_BUILD"; then
   6979   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   6980 else
   6981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6982 for as_dir in $PATH
   6983 do
   6984   IFS=$as_save_IFS
   6985   case $as_dir in #(((
   6986     '') as_dir=./ ;;
   6987     */) ;;
   6988     *) as_dir=$as_dir/ ;;
   6989   esac
   6990     for ac_exec_ext in '' $ac_executable_extensions; do
   6991   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6992     ac_cv_prog_CC_FOR_BUILD="$ac_build_tool_prefix$ac_prog"
   6993     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6994     break 2
   6995   fi
   6996 done
   6997   done
   6998 IFS=$as_save_IFS
   6999 
   7000 fi ;;
   7001 esac
   7002 fi
   7003 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   7004 if test -n "$CC_FOR_BUILD"; then
   7005   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   7006 printf "%s\n" "$CC_FOR_BUILD" >&6; }
   7007 else
   7008   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7009 printf "%s\n" "no" >&6; }
   7010 fi
   7011 
   7012 
   7013     test -n "$CC_FOR_BUILD" && break
   7014   done
   7015 fi
   7016 if test -z "$CC_FOR_BUILD"; then
   7017   ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
   7018   for ac_prog in cl.exe
   7019 do
   7020   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7021 set dummy $ac_prog; ac_word=$2
   7022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7023 printf %s "checking for $ac_word... " >&6; }
   7024 if test ${ac_cv_prog_ac_ct_CC_FOR_BUILD+y}
   7025 then :
   7026   printf %s "(cached) " >&6
   7027 else case e in #(
   7028   e) if test -n "$ac_ct_CC_FOR_BUILD"; then
   7029   ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
   7030 else
   7031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7032 for as_dir in $PATH
   7033 do
   7034   IFS=$as_save_IFS
   7035   case $as_dir in #(((
   7036     '') as_dir=./ ;;
   7037     */) ;;
   7038     *) as_dir=$as_dir/ ;;
   7039   esac
   7040     for ac_exec_ext in '' $ac_executable_extensions; do
   7041   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7042     ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog"
   7043     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7044     break 2
   7045   fi
   7046 done
   7047   done
   7048 IFS=$as_save_IFS
   7049 
   7050 fi ;;
   7051 esac
   7052 fi
   7053 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
   7054 if test -n "$ac_ct_CC_FOR_BUILD"; then
   7055   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
   7056 printf "%s\n" "$ac_ct_CC_FOR_BUILD" >&6; }
   7057 else
   7058   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7059 printf "%s\n" "no" >&6; }
   7060 fi
   7061 
   7062 
   7063   test -n "$ac_ct_CC_FOR_BUILD" && break
   7064 done
   7065 
   7066   if test "x$ac_ct_CC_FOR_BUILD" = x; then
   7067     CC_FOR_BUILD=""
   7068   else
   7069     case $cross_compiling_build:$ac_tool_warned in
   7070 yes:)
   7071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
   7072 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
   7073 ac_tool_warned=yes ;;
   7074 esac
   7075     CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
   7076   fi
   7077 fi
   7078 
   7079 fi
   7080 if test -z "$CC_FOR_BUILD"; then
   7081   if test -n "$ac_build_tool_prefix"; then
   7082   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   7083 set dummy ${ac_build_tool_prefix}clang; ac_word=$2
   7084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7085 printf %s "checking for $ac_word... " >&6; }
   7086 if test ${ac_cv_prog_CC_FOR_BUILD+y}
   7087 then :
   7088   printf %s "(cached) " >&6
   7089 else case e in #(
   7090   e) if test -n "$CC_FOR_BUILD"; then
   7091   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   7092 else
   7093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7094 for as_dir in $PATH
   7095 do
   7096   IFS=$as_save_IFS
   7097   case $as_dir in #(((
   7098     '') as_dir=./ ;;
   7099     */) ;;
   7100     *) as_dir=$as_dir/ ;;
   7101   esac
   7102     for ac_exec_ext in '' $ac_executable_extensions; do
   7103   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7104     ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}clang"
   7105     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7106     break 2
   7107   fi
   7108 done
   7109   done
   7110 IFS=$as_save_IFS
   7111 
   7112 fi ;;
   7113 esac
   7114 fi
   7115 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   7116 if test -n "$CC_FOR_BUILD"; then
   7117   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   7118 printf "%s\n" "$CC_FOR_BUILD" >&6; }
   7119 else
   7120   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7121 printf "%s\n" "no" >&6; }
   7122 fi
   7123 
   7124 
   7125 fi
   7126 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
   7127   ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
   7128   # Extract the first word of "clang", so it can be a program name with args.
   7129 set dummy clang; ac_word=$2
   7130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7131 printf %s "checking for $ac_word... " >&6; }
   7132 if test ${ac_cv_prog_ac_ct_CC_FOR_BUILD+y}
   7133 then :
   7134   printf %s "(cached) " >&6
   7135 else case e in #(
   7136   e) if test -n "$ac_ct_CC_FOR_BUILD"; then
   7137   ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
   7138 else
   7139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7140 for as_dir in $PATH
   7141 do
   7142   IFS=$as_save_IFS
   7143   case $as_dir in #(((
   7144     '') as_dir=./ ;;
   7145     */) ;;
   7146     *) as_dir=$as_dir/ ;;
   7147   esac
   7148     for ac_exec_ext in '' $ac_executable_extensions; do
   7149   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7150     ac_cv_prog_ac_ct_CC_FOR_BUILD="clang"
   7151     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7152     break 2
   7153   fi
   7154 done
   7155   done
   7156 IFS=$as_save_IFS
   7157 
   7158 fi ;;
   7159 esac
   7160 fi
   7161 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
   7162 if test -n "$ac_ct_CC_FOR_BUILD"; then
   7163   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
   7164 printf "%s\n" "$ac_ct_CC_FOR_BUILD" >&6; }
   7165 else
   7166   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7167 printf "%s\n" "no" >&6; }
   7168 fi
   7169 
   7170   if test "x$ac_ct_CC_FOR_BUILD" = x; then
   7171     CC_FOR_BUILD=""
   7172   else
   7173     case $cross_compiling_build:$ac_tool_warned in
   7174 yes:)
   7175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
   7176 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
   7177 ac_tool_warned=yes ;;
   7178 esac
   7179     CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
   7180   fi
   7181 else
   7182   CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD"
   7183 fi
   7184 
   7185 fi
   7186 
   7187 
   7188 test -z "$CC_FOR_BUILD" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   7189 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   7190 as_fn_error $? "no acceptable C compiler found in \$PATH
   7191 See 'config.log' for more details" "$LINENO" 5; }
   7192 
   7193 # Provide some information about the compiler.
   7194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   7195 set X $ac_compile
   7196 ac_compiler=$2
   7197 for ac_option in --version -v -V -qversion -version; do
   7198   { { ac_try="$ac_compiler $ac_option >&5"
   7199 case "(($ac_try" in
   7200   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7201   *) ac_try_echo=$ac_try;;
   7202 esac
   7203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   7204 printf "%s\n" "$ac_try_echo"; } >&5
   7205   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   7206   ac_status=$?
   7207   if test -s conftest.err; then
   7208     sed '10a\
   7209 ... rest of stderr output deleted ...
   7210          10q' conftest.err >conftest.er1
   7211     cat conftest.er1 >&5
   7212   fi
   7213   rm -f conftest.er1 conftest.err
   7214   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7215   test $ac_status = 0; }
   7216 done
   7217 
   7218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   7219 printf %s "checking whether the compiler supports GNU C... " >&6; }
   7220 if test ${ac_cv_c_compiler_gnu+y}
   7221 then :
   7222   printf %s "(cached) " >&6
   7223 else case e in #(
   7224   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7225 /* end confdefs.h.  */
   7226 
   7227 int
   7228 main (void)
   7229 {
   7230 #ifndef __GNUC__
   7231        choke me
   7232 #endif
   7233 
   7234   ;
   7235   return 0;
   7236 }
   7237 _ACEOF
   7238 if ac_fn_c_try_compile "$LINENO"
   7239 then :
   7240   ac_compiler_gnu=yes
   7241 else case e in #(
   7242   e) ac_compiler_gnu=no ;;
   7243 esac
   7244 fi
   7245 rm -f core conftest.err conftest.$ac_build_objext conftest.beam conftest.$ac_ext
   7246 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   7247  ;;
   7248 esac
   7249 fi
   7250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   7251 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   7252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7253 
   7254 if test $ac_compiler_gnu = yes; then
   7255   GCC_FOR_BUILD=yes
   7256 else
   7257   GCC_FOR_BUILD=
   7258 fi
   7259 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+y}
   7260 ac_save_CFLAGS=$CFLAGS_FOR_BUILD
   7261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5
   7262 printf %s "checking whether $CC_FOR_BUILD accepts -g... " >&6; }
   7263 if test ${ac_cv_build_prog_cc_g+y}
   7264 then :
   7265   printf %s "(cached) " >&6
   7266 else case e in #(
   7267   e) ac_save_c_werror_flag=$ac_c_werror_flag
   7268    ac_c_werror_flag=yes
   7269    ac_cv_build_prog_cc_g=no
   7270    CFLAGS_FOR_BUILD="-g"
   7271    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7272 /* end confdefs.h.  */
   7273 
   7274 int
   7275 main (void)
   7276 {
   7277 
   7278   ;
   7279   return 0;
   7280 }
   7281 _ACEOF
   7282 if ac_fn_c_try_compile "$LINENO"
   7283 then :
   7284   ac_cv_build_prog_cc_g=yes
   7285 else case e in #(
   7286   e) CFLAGS_FOR_BUILD=""
   7287       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7288 /* end confdefs.h.  */
   7289 
   7290 int
   7291 main (void)
   7292 {
   7293 
   7294   ;
   7295   return 0;
   7296 }
   7297 _ACEOF
   7298 if ac_fn_c_try_compile "$LINENO"
   7299 then :
   7300 
   7301 else case e in #(
   7302   e) ac_c_werror_flag=$ac_save_c_werror_flag
   7303 	 CFLAGS_FOR_BUILD="-g"
   7304 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7305 /* end confdefs.h.  */
   7306 
   7307 int
   7308 main (void)
   7309 {
   7310 
   7311   ;
   7312   return 0;
   7313 }
   7314 _ACEOF
   7315 if ac_fn_c_try_compile "$LINENO"
   7316 then :
   7317   ac_cv_build_prog_cc_g=yes
   7318 fi
   7319 rm -f core conftest.err conftest.$ac_build_objext conftest.beam conftest.$ac_ext ;;
   7320 esac
   7321 fi
   7322 rm -f core conftest.err conftest.$ac_build_objext conftest.beam conftest.$ac_ext ;;
   7323 esac
   7324 fi
   7325 rm -f core conftest.err conftest.$ac_build_objext conftest.beam conftest.$ac_ext
   7326    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   7327 esac
   7328 fi
   7329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5
   7330 printf "%s\n" "$ac_cv_build_prog_cc_g" >&6; }
   7331 if test $ac_test_CFLAGS; then
   7332   CFLAGS_FOR_BUILD=$ac_save_CFLAGS
   7333 elif test $ac_cv_build_prog_cc_g = yes; then
   7334   if test "$GCC_FOR_BUILD" = yes; then
   7335     CFLAGS_FOR_BUILD="-g -O2"
   7336   else
   7337     CFLAGS_FOR_BUILD="-g"
   7338   fi
   7339 else
   7340   if test "$GCC_FOR_BUILD" = yes; then
   7341     CFLAGS_FOR_BUILD="-O2"
   7342   else
   7343     CFLAGS_FOR_BUILD=
   7344   fi
   7345 fi
   7346 ac_prog_cc_stdc=no
   7347 if test x$ac_prog_cc_stdc = xno
   7348 then :
   7349   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to enable C11 features" >&5
   7350 printf %s "checking for $CC_FOR_BUILD option to enable C11 features... " >&6; }
   7351 if test ${ac_cv_build_prog_cc_c11+y}
   7352 then :
   7353   printf %s "(cached) " >&6
   7354 else case e in #(
   7355   e) ac_cv_build_prog_cc_c11=no
   7356 ac_save_CC=$CC_FOR_BUILD
   7357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7358 /* end confdefs.h.  */
   7359 $ac_c_conftest_c11_program
   7360 _ACEOF
   7361 for ac_arg in '' -std=gnu11
   7362 do
   7363   CC_FOR_BUILD="$ac_save_CC $ac_arg"
   7364   if ac_fn_c_try_compile "$LINENO"
   7365 then :
   7366   ac_cv_build_prog_cc_c11=$ac_arg
   7367 fi
   7368 rm -f core conftest.err conftest.$ac_build_objext conftest.beam
   7369   test "x$ac_cv_build_prog_cc_c11" != "xno" && break
   7370 done
   7371 rm -f conftest.$ac_ext
   7372 CC_FOR_BUILD=$ac_save_CC ;;
   7373 esac
   7374 fi
   7375 
   7376 if test "x$ac_cv_build_prog_cc_c11" = xno
   7377 then :
   7378   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   7379 printf "%s\n" "unsupported" >&6; }
   7380 else case e in #(
   7381   e) if test "x$ac_cv_build_prog_cc_c11" = x
   7382 then :
   7383   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   7384 printf "%s\n" "none needed" >&6; }
   7385 else case e in #(
   7386   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_c11" >&5
   7387 printf "%s\n" "$ac_cv_build_prog_cc_c11" >&6; }
   7388      CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_c11" ;;
   7389 esac
   7390 fi
   7391   ac_cv_prog_cc_stdc=$ac_cv_build_prog_cc_c11
   7392   ac_prog_cc_stdc=c11 ;;
   7393 esac
   7394 fi
   7395 fi
   7396 if test x$ac_prog_cc_stdc = xno
   7397 then :
   7398   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to enable C99 features" >&5
   7399 printf %s "checking for $CC_FOR_BUILD option to enable C99 features... " >&6; }
   7400 if test ${ac_cv_build_prog_cc_c99+y}
   7401 then :
   7402   printf %s "(cached) " >&6
   7403 else case e in #(
   7404   e) ac_cv_build_prog_cc_c99=no
   7405 ac_save_CC=$CC_FOR_BUILD
   7406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7407 /* end confdefs.h.  */
   7408 $ac_c_conftest_c99_program
   7409 _ACEOF
   7410 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   7411 do
   7412   CC_FOR_BUILD="$ac_save_CC $ac_arg"
   7413   if ac_fn_c_try_compile "$LINENO"
   7414 then :
   7415   ac_cv_build_prog_cc_c99=$ac_arg
   7416 fi
   7417 rm -f core conftest.err conftest.$ac_build_objext conftest.beam
   7418   test "x$ac_cv_build_prog_cc_c99" != "xno" && break
   7419 done
   7420 rm -f conftest.$ac_ext
   7421 CC_FOR_BUILD=$ac_save_CC ;;
   7422 esac
   7423 fi
   7424 
   7425 if test "x$ac_cv_build_prog_cc_c99" = xno
   7426 then :
   7427   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   7428 printf "%s\n" "unsupported" >&6; }
   7429 else case e in #(
   7430   e) if test "x$ac_cv_build_prog_cc_c99" = x
   7431 then :
   7432   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   7433 printf "%s\n" "none needed" >&6; }
   7434 else case e in #(
   7435   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_c99" >&5
   7436 printf "%s\n" "$ac_cv_build_prog_cc_c99" >&6; }
   7437      CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_c99" ;;
   7438 esac
   7439 fi
   7440   ac_cv_prog_cc_stdc=$ac_cv_build_prog_cc_c99
   7441   ac_prog_cc_stdc=c99 ;;
   7442 esac
   7443 fi
   7444 fi
   7445 if test x$ac_prog_cc_stdc = xno
   7446 then :
   7447   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to enable C89 features" >&5
   7448 printf %s "checking for $CC_FOR_BUILD option to enable C89 features... " >&6; }
   7449 if test ${ac_cv_build_prog_cc_c89+y}
   7450 then :
   7451   printf %s "(cached) " >&6
   7452 else case e in #(
   7453   e) ac_cv_build_prog_cc_c89=no
   7454 ac_save_CC=$CC_FOR_BUILD
   7455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7456 /* end confdefs.h.  */
   7457 $ac_c_conftest_c89_program
   7458 _ACEOF
   7459 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   7460 do
   7461   CC_FOR_BUILD="$ac_save_CC $ac_arg"
   7462   if ac_fn_c_try_compile "$LINENO"
   7463 then :
   7464   ac_cv_build_prog_cc_c89=$ac_arg
   7465 fi
   7466 rm -f core conftest.err conftest.$ac_build_objext conftest.beam
   7467   test "x$ac_cv_build_prog_cc_c89" != "xno" && break
   7468 done
   7469 rm -f conftest.$ac_ext
   7470 CC_FOR_BUILD=$ac_save_CC ;;
   7471 esac
   7472 fi
   7473 
   7474 if test "x$ac_cv_build_prog_cc_c89" = xno
   7475 then :
   7476   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   7477 printf "%s\n" "unsupported" >&6; }
   7478 else case e in #(
   7479   e) if test "x$ac_cv_build_prog_cc_c89" = x
   7480 then :
   7481   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   7482 printf "%s\n" "none needed" >&6; }
   7483 else case e in #(
   7484   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_c89" >&5
   7485 printf "%s\n" "$ac_cv_build_prog_cc_c89" >&6; }
   7486      CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_c89" ;;
   7487 esac
   7488 fi
   7489   ac_cv_prog_cc_stdc=$ac_cv_build_prog_cc_c89
   7490   ac_prog_cc_stdc=c89 ;;
   7491 esac
   7492 fi
   7493 fi
   7494 
   7495 ac_ext=c
   7496 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
   7497 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
   7498 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
   7499 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
   7500 
   7501 
   7502   ac_ext=c
   7503 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
   7504 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
   7505 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
   7506 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
   7507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD understands -c and -o together" >&5
   7508 printf %s "checking whether $CC_FOR_BUILD understands -c and -o together... " >&6; }
   7509 if test ${am_cv_build_prog_cc_c_o+y}
   7510 then :
   7511   printf %s "(cached) " >&6
   7512 else case e in #(
   7513   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7514 /* end confdefs.h.  */
   7515 
   7516 int
   7517 main (void)
   7518 {
   7519 
   7520   ;
   7521   return 0;
   7522 }
   7523 _ACEOF
   7524   # Make sure it works both with $CC and with simple cc.
   7525   # Following AC_PROG_CC_C_O, we do the test twice because some
   7526   # compilers refuse to overwrite an existing .o file with -o,
   7527   # though they will create one.
   7528   am_cv_build_prog_cc_c_o=yes
   7529   for am_i in 1 2; do
   7530     if { echo "$as_me:$LINENO: $CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext" >&5
   7531    ($CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext) >&5 2>&5
   7532    ac_status=$?
   7533    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7534    (exit $ac_status); } \
   7535          && test -f conftest2.$ac_build_objext; then
   7536       : OK
   7537     else
   7538       am_cv_build_prog_cc_c_o=no
   7539       break
   7540     fi
   7541   done
   7542   rm -f core conftest*
   7543   unset am_i ;;
   7544 esac
   7545 fi
   7546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_prog_cc_c_o" >&5
   7547 printf "%s\n" "$am_cv_build_prog_cc_c_o" >&6; }
   7548 if test "$am_cv_build_prog_cc_c_o" != yes; then
   7549    # Losing compiler, so override with the script.
   7550    # FIXME: It is wrong to rewrite CC.
   7551    # But if we don't then we get into trouble of one sort or another.
   7552    # A longer-term fix would be to have automake use am__CC in this case,
   7553    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   7554    CC_FOR_BUILD="$am_aux_dir/compile $CC_FOR_BUILD"
   7555 fi
   7556 ac_ext=c
   7557 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
   7558 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
   7559 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
   7560 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
   7561 
   7562 
   7563 depcc="$CC_FOR_BUILD"   am_compiler_list=
   7564 
   7565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   7566 printf %s "checking dependency style of $depcc... " >&6; }
   7567 if test ${am_cv_build_CC_dependencies_compiler_type+y}
   7568 then :
   7569   printf %s "(cached) " >&6
   7570 else case e in #(
   7571   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   7572   # We make a subdir and do the tests there.  Otherwise we can end up
   7573   # making bogus files that we don't know about and never remove.  For
   7574   # instance it was reported that on HP-UX the gcc test will end up
   7575   # making a dummy file named 'D' -- because '-MD' means "put the output
   7576   # in D".
   7577   rm -rf conftest.dir
   7578   mkdir conftest.dir
   7579   # Copy depcomp to subdir because otherwise we won't find it if we're
   7580   # using a relative directory.
   7581   cp "$am_depcomp" conftest.dir
   7582   cd conftest.dir
   7583   # We will build objects and dependencies in a subdirectory because
   7584   # it helps to detect inapplicable dependency modes.  For instance
   7585   # both Tru64's cc and ICC support -MD to output dependencies as a
   7586   # side effect of compilation, but ICC will put the dependencies in
   7587   # the current directory while Tru64 will put them in the object
   7588   # directory.
   7589   mkdir sub
   7590 
   7591   am_cv_build_CC_dependencies_compiler_type=none
   7592   if test "$am_compiler_list" = ""; then
   7593      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   7594   fi
   7595   am__universal=false
   7596   case " $depcc " in #(
   7597      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   7598      esac
   7599 
   7600   for depmode in $am_compiler_list; do
   7601     # Setup a source with many dependencies, because some compilers
   7602     # like to wrap large dependency lists on column 80 (with \), and
   7603     # we should not choose a depcomp mode which is confused by this.
   7604     #
   7605     # We need to recreate these files for each test, as the compiler may
   7606     # overwrite some of them when testing with obscure command lines.
   7607     # This happens at least with the AIX C compiler.
   7608     : > sub/conftest.c
   7609     for i in 1 2 3 4 5 6; do
   7610       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   7611       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   7612       # Solaris 10 /bin/sh.
   7613       echo '/* dummy */' > sub/conftst$i.h
   7614     done
   7615     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   7616 
   7617     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   7618     # mode.  It turns out that the SunPro C++ compiler does not properly
   7619     # handle '-M -o', and we need to detect this.  Also, some Intel
   7620     # versions had trouble with output in subdirs.
   7621     am__obj=sub/conftest.${BUILD_OBJEXT-o}
   7622     am__minus_obj="-o $am__obj"
   7623     case $depmode in
   7624     gcc)
   7625       # This depmode causes a compiler race in universal mode.
   7626       test "$am__universal" = false || continue
   7627       ;;
   7628     nosideeffect)
   7629       # After this tag, mechanisms are not by side-effect, so they'll
   7630       # only be used when explicitly requested.
   7631       if test "x$enable_dependency_tracking" = xyes; then
   7632 	continue
   7633       else
   7634 	break
   7635       fi
   7636       ;;
   7637     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   7638       # This compiler won't grok '-c -o', but also, the minuso test has
   7639       # not run yet.  These depmodes are late enough in the game, and
   7640       # so weak that their functioning should not be impacted.
   7641       am__obj=conftest.${BUILD_OBJEXT-o}
   7642       am__minus_obj=
   7643       ;;
   7644     none) break ;;
   7645     esac
   7646     if depmode=$depmode \
   7647        source=sub/conftest.c object=$am__obj \
   7648        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   7649        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   7650          >/dev/null 2>conftest.err &&
   7651        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   7652        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   7653        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   7654        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   7655       # icc doesn't choke on unknown options, it will just issue warnings
   7656       # or remarks (even with -Werror).  So we grep stderr for any message
   7657       # that says an option was ignored or not supported.
   7658       # When given -MP, icc 7.0 and 7.1 complain thus:
   7659       #   icc: Command line warning: ignoring option '-M'; no argument required
   7660       # The diagnosis changed in icc 8.0:
   7661       #   icc: Command line remark: option '-MP' not supported
   7662       if (grep 'ignoring option' conftest.err ||
   7663           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   7664         am_cv_build_CC_dependencies_compiler_type=$depmode
   7665         break
   7666       fi
   7667     fi
   7668   done
   7669 
   7670   cd ..
   7671   rm -rf conftest.dir
   7672 else
   7673   am_cv_build_CC_dependencies_compiler_type=none
   7674 fi
   7675  ;;
   7676 esac
   7677 fi
   7678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_CC_dependencies_compiler_type" >&5
   7679 printf "%s\n" "$am_cv_build_CC_dependencies_compiler_type" >&6; }
   7680 CCDEPMODE=depmode=$am_cv_build_CC_dependencies_compiler_type
   7681 
   7682  if
   7683   test "x$enable_dependency_tracking" != xno \
   7684   && test "$am_cv_build_CC_dependencies_compiler_type" = gcc3; then
   7685   am__fastdepCC_TRUE=
   7686   am__fastdepCC_FALSE='#'
   7687 else
   7688   am__fastdepCC_TRUE='#'
   7689   am__fastdepCC_FALSE=
   7690 fi
   7691 
   7692 
   7693 
   7694 if test ${was_set_c_compiler_gnu}
   7695 then :
   7696   ac_cv_c_compiler_gnu=$saved_c_compiler_gnu
   7697 fi
   7698 
   7699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7700 /* end confdefs.h.  */
   7701 
   7702 int
   7703 main (void)
   7704 {
   7705 
   7706   ;
   7707   return 0;
   7708 }
   7709 _ACEOF
   7710 ac_clean_files_save=$ac_clean_files
   7711 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   7712 # Try to create an executable without -o first, disregard a.out.
   7713 # It will help us diagnose broken compilers, and finding out an intuition
   7714 # of exeext.
   7715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   7716 printf %s "checking whether the C compiler works... " >&6; }
   7717 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   7718 
   7719 # The possible output files:
   7720 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   7721 
   7722 ac_rmfiles=
   7723 for ac_file in $ac_files
   7724 do
   7725   case $ac_file in
   7726     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   7727     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   7728   esac
   7729 done
   7730 rm -f $ac_rmfiles
   7731 
   7732 if { { ac_try="$ac_link_default"
   7733 case "(($ac_try" in
   7734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7735   *) ac_try_echo=$ac_try;;
   7736 esac
   7737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   7738 printf "%s\n" "$ac_try_echo"; } >&5
   7739   (eval "$ac_link_default") 2>&5
   7740   ac_status=$?
   7741   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7742   test $ac_status = 0; }
   7743 then :
   7744   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   7745 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   7746 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   7747 # so that the user can short-circuit this test for compilers unknown to
   7748 # Autoconf.
   7749 for ac_file in $ac_files ''
   7750 do
   7751   test -f "$ac_file" || continue
   7752   case $ac_file in
   7753     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   7754 	;;
   7755     [ab].out )
   7756 	# We found the default executable, but exeext='' is most
   7757 	# certainly right.
   7758 	break;;
   7759     *.* )
   7760 	if test ${ac_cv_build_exeext+y} && test "$ac_cv_build_exeext" != no;
   7761 	then :; else
   7762 	   ac_cv_build_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   7763 	fi
   7764 	# We set ac_cv_exeext here because the later test for it is not
   7765 	# safe: cross compilers may not add the suffix if given an '-o'
   7766 	# argument, so we may need to know it at that point already.
   7767 	# Even if this section looks crufty: it has the advantage of
   7768 	# actually working.
   7769 	break;;
   7770     * )
   7771 	break;;
   7772   esac
   7773 done
   7774 test "$ac_cv_build_exeext" = no && ac_cv_build_exeext=
   7775 
   7776 else case e in #(
   7777   e) ac_file='' ;;
   7778 esac
   7779 fi
   7780 if test -z "$ac_file"
   7781 then :
   7782   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7783 printf "%s\n" "no" >&6; }
   7784 printf "%s\n" "$as_me: failed program was:" >&5
   7785 sed 's/^/| /' conftest.$ac_ext >&5
   7786 
   7787 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   7788 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   7789 as_fn_error 77 "C compiler cannot create executables
   7790 See 'config.log' for more details" "$LINENO" 5; }
   7791 else case e in #(
   7792   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   7793 printf "%s\n" "yes" >&6; } ;;
   7794 esac
   7795 fi
   7796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   7797 printf %s "checking for C compiler default output file name... " >&6; }
   7798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   7799 printf "%s\n" "$ac_file" >&6; }
   7800 ac_build_exeext=$ac_cv_build_exeext
   7801 
   7802 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_build_exeext b.out
   7803 ac_clean_files=$ac_clean_files_save
   7804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   7805 printf %s "checking for suffix of executables... " >&6; }
   7806 if { { ac_try="$ac_link"
   7807 case "(($ac_try" in
   7808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7809   *) ac_try_echo=$ac_try;;
   7810 esac
   7811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   7812 printf "%s\n" "$ac_try_echo"; } >&5
   7813   (eval "$ac_link") 2>&5
   7814   ac_status=$?
   7815   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7816   test $ac_status = 0; }
   7817 then :
   7818   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   7819 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   7820 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   7821 # 'rm'.
   7822 for ac_file in conftest.exe conftest conftest.*; do
   7823   test -f "$ac_file" || continue
   7824   case $ac_file in
   7825     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   7826     *.* ) ac_cv_build_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   7827 	  break;;
   7828     * ) break;;
   7829   esac
   7830 done
   7831 else case e in #(
   7832   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   7833 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   7834 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   7835 See 'config.log' for more details" "$LINENO" 5; } ;;
   7836 esac
   7837 fi
   7838 rm -f conftest conftest$ac_cv_build_exeext
   7839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_exeext" >&5
   7840 printf "%s\n" "$ac_cv_build_exeext" >&6; }
   7841 
   7842 rm -f conftest.$ac_ext
   7843 EXEEXT=$ac_cv_build_exeext
   7844 ac_build_exeext=$BUILD_EXEEXT
   7845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7846 /* end confdefs.h.  */
   7847 #include <stdio.h>
   7848 int
   7849 main (void)
   7850 {
   7851 FILE *f = fopen ("conftest.out", "w");
   7852  if (!f)
   7853   return 1;
   7854  return ferror (f) || fclose (f) != 0;
   7855 
   7856   ;
   7857   return 0;
   7858 }
   7859 _ACEOF
   7860 ac_clean_files="$ac_clean_files conftest.out"
   7861 # Check that the compiler produces executables we can run.  If not, either
   7862 # the compiler is broken, or we cross compile.
   7863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   7864 printf %s "checking whether we are cross compiling... " >&6; }
   7865 if test "$cross_compiling_build" != yes; then
   7866   { { ac_try="$ac_link"
   7867 case "(($ac_try" in
   7868   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7869   *) ac_try_echo=$ac_try;;
   7870 esac
   7871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   7872 printf "%s\n" "$ac_try_echo"; } >&5
   7873   (eval "$ac_link") 2>&5
   7874   ac_status=$?
   7875   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7876   test $ac_status = 0; }
   7877   if { ac_try='./conftest$ac_cv_build_exeext'
   7878   { { case "(($ac_try" in
   7879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7880   *) ac_try_echo=$ac_try;;
   7881 esac
   7882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   7883 printf "%s\n" "$ac_try_echo"; } >&5
   7884   (eval "$ac_try") 2>&5
   7885   ac_status=$?
   7886   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7887   test $ac_status = 0; }; }; then
   7888     cross_compiling_build=no
   7889   else
   7890     if test "$cross_compiling_build" = maybe; then
   7891 	cross_compiling_build=yes
   7892     else
   7893 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   7894 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   7895 as_fn_error 77 "cannot run C compiled programs.
   7896 If you meant to cross compile, use '--build'.
   7897 See 'config.log' for more details" "$LINENO" 5; }
   7898     fi
   7899   fi
   7900 fi
   7901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling_build" >&5
   7902 printf "%s\n" "$cross_compiling_build" >&6; }
   7903 
   7904 rm -f conftest.$ac_ext conftest$ac_cv_build_exeext \
   7905   conftest.o conftest.obj conftest.out
   7906 ac_clean_files=$ac_clean_files_save
   7907 
   7908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   7909 printf %s "checking for suffix of object files... " >&6; }
   7910 if test ${ac_cv_build_objext+y}
   7911 then :
   7912   printf %s "(cached) " >&6
   7913 else case e in #(
   7914   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7915 /* end confdefs.h.  */
   7916 
   7917 int
   7918 main (void)
   7919 {
   7920 
   7921   ;
   7922   return 0;
   7923 }
   7924 _ACEOF
   7925 rm -f conftest.o conftest.obj
   7926 if { { ac_try="$ac_compile"
   7927 case "(($ac_try" in
   7928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7929   *) ac_try_echo=$ac_try;;
   7930 esac
   7931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   7932 printf "%s\n" "$ac_try_echo"; } >&5
   7933   (eval "$ac_compile") 2>&5
   7934   ac_status=$?
   7935   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7936   test $ac_status = 0; }
   7937 then :
   7938   for ac_file in conftest.o conftest.obj conftest.*; do
   7939   test -f "$ac_file" || continue;
   7940   case $ac_file in
   7941     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   7942     *) ac_cv_build_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   7943        break;;
   7944   esac
   7945 done
   7946 else case e in #(
   7947   e) printf "%s\n" "$as_me: failed program was:" >&5
   7948 sed 's/^/| /' conftest.$ac_ext >&5
   7949 
   7950 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   7951 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   7952 as_fn_error $? "cannot compute suffix of object files: cannot compile
   7953 See 'config.log' for more details" "$LINENO" 5; } ;;
   7954 esac
   7955 fi
   7956 rm -f conftest.$ac_cv_build_objext conftest.$ac_ext ;;
   7957 esac
   7958 fi
   7959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_objext" >&5
   7960 printf "%s\n" "$ac_cv_build_objext" >&6; }
   7961 OBJEXT=$ac_cv_build_objext
   7962 ac_build_objext=$BUILD_OBJEXT
   7963 
   7964 ac_ext=c
   7965 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
   7966 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
   7967 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
   7968 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
   7969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7970 printf %s "checking how to run the C preprocessor... " >&6; }
   7971 # On Suns, sometimes $CPP names a directory.
   7972 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
   7973   CPP_FOR_BUILD=
   7974 fi
   7975 if test -z "$CPP_FOR_BUILD"; then
   7976   if test ${ac_cv_build_prog_CPP+y}
   7977 then :
   7978   printf %s "(cached) " >&6
   7979 else case e in #(
   7980   e)     # Double quotes because $CC needs to be expanded
   7981     for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" cpp /lib/cpp
   7982     do
   7983       ac_preproc_ok=false
   7984 for ac_c_preproc_warn_flag in '' yes
   7985 do
   7986   # Use a header file that comes with gcc, so configuring glibc
   7987   # with a fresh cross-compiler works.
   7988   # On the NeXT, cc -E runs the code through the compiler's parser,
   7989   # not just through cpp. "Syntax error" is here to catch this case.
   7990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7991 /* end confdefs.h.  */
   7992 #include <limits.h>
   7993 		     Syntax error
   7994 _ACEOF
   7995 if ac_fn_c_try_cpp "$LINENO"
   7996 then :
   7997 
   7998 else case e in #(
   7999   e) # Broken: fails on valid input.
   8000 continue ;;
   8001 esac
   8002 fi
   8003 rm -f conftest.err conftest.i conftest.$ac_ext
   8004 
   8005   # OK, works on sane cases.  Now check whether nonexistent headers
   8006   # can be detected and how.
   8007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8008 /* end confdefs.h.  */
   8009 #include <ac_nonexistent.h>
   8010 _ACEOF
   8011 if ac_fn_c_try_cpp "$LINENO"
   8012 then :
   8013   # Broken: success on invalid input.
   8014 continue
   8015 else case e in #(
   8016   e) # Passes both tests.
   8017 ac_preproc_ok=:
   8018 break ;;
   8019 esac
   8020 fi
   8021 rm -f conftest.err conftest.i conftest.$ac_ext
   8022 
   8023 done
   8024 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   8025 rm -f conftest.i conftest.err conftest.$ac_ext
   8026 if $ac_preproc_ok
   8027 then :
   8028   break
   8029 fi
   8030 
   8031     done
   8032     ac_cv_build_prog_CPP=$CPP_FOR_BUILD
   8033    ;;
   8034 esac
   8035 fi
   8036   CPP_FOR_BUILD=$ac_cv_build_prog_CPP
   8037 else
   8038   ac_cv_build_prog_CPP=$CPP_FOR_BUILD
   8039 fi
   8040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5
   8041 printf "%s\n" "$CPP_FOR_BUILD" >&6; }
   8042 ac_preproc_ok=false
   8043 for ac_c_preproc_warn_flag in '' yes
   8044 do
   8045   # Use a header file that comes with gcc, so configuring glibc
   8046   # with a fresh cross-compiler works.
   8047   # On the NeXT, cc -E runs the code through the compiler's parser,
   8048   # not just through cpp. "Syntax error" is here to catch this case.
   8049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8050 /* end confdefs.h.  */
   8051 #include <limits.h>
   8052 		     Syntax error
   8053 _ACEOF
   8054 if ac_fn_c_try_cpp "$LINENO"
   8055 then :
   8056 
   8057 else case e in #(
   8058   e) # Broken: fails on valid input.
   8059 continue ;;
   8060 esac
   8061 fi
   8062 rm -f conftest.err conftest.i conftest.$ac_ext
   8063 
   8064   # OK, works on sane cases.  Now check whether nonexistent headers
   8065   # can be detected and how.
   8066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8067 /* end confdefs.h.  */
   8068 #include <ac_nonexistent.h>
   8069 _ACEOF
   8070 if ac_fn_c_try_cpp "$LINENO"
   8071 then :
   8072   # Broken: success on invalid input.
   8073 continue
   8074 else case e in #(
   8075   e) # Passes both tests.
   8076 ac_preproc_ok=:
   8077 break ;;
   8078 esac
   8079 fi
   8080 rm -f conftest.err conftest.i conftest.$ac_ext
   8081 
   8082 done
   8083 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   8084 rm -f conftest.i conftest.err conftest.$ac_ext
   8085 if $ac_preproc_ok
   8086 then :
   8087 
   8088 else case e in #(
   8089   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   8090 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   8091 as_fn_error $? "C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
   8092 See 'config.log' for more details" "$LINENO" 5; } ;;
   8093 esac
   8094 fi
   8095 
   8096 ac_ext=c
   8097 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
   8098 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
   8099 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
   8100 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
   8101 
   8102 
   8103 
   8104 ac_ext=c
   8105 ac_cpp='$CPP $CPPFLAGS'
   8106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8109 
   8110 
   8111 
   8112 
   8113 #
   8114 # Find the machine's endian flavor.
   8115 #
   8116  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   8117 printf %s "checking whether byte ordering is bigendian... " >&6; }
   8118 if test ${ac_cv_c_bigendian+y}
   8119 then :
   8120   printf %s "(cached) " >&6
   8121 else case e in #(
   8122   e) ac_cv_c_bigendian=unknown
   8123     # See if we're dealing with a universal compiler.
   8124     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8125 /* end confdefs.h.  */
   8126 #ifndef __APPLE_CC__
   8127 	       not a universal capable compiler
   8128 	     #endif
   8129 	     typedef int dummy;
   8130 
   8131 _ACEOF
   8132 if ac_fn_c_try_compile "$LINENO"
   8133 then :
   8134 
   8135 	# Check for potential -arch flags.  It is not universal unless
   8136 	# there are at least two -arch flags with different values.
   8137 	ac_arch=
   8138 	ac_prev=
   8139 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   8140 	 if test -n "$ac_prev"; then
   8141 	   case $ac_word in
   8142 	     i?86 | x86_64 | ppc | ppc64)
   8143 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   8144 		 ac_arch=$ac_word
   8145 	       else
   8146 		 ac_cv_c_bigendian=universal
   8147 		 break
   8148 	       fi
   8149 	       ;;
   8150 	   esac
   8151 	   ac_prev=
   8152 	 elif test "x$ac_word" = "x-arch"; then
   8153 	   ac_prev=arch
   8154 	 fi
   8155        done
   8156 fi
   8157 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8158     if test $ac_cv_c_bigendian = unknown; then
   8159       # See if sys/param.h defines the BYTE_ORDER macro.
   8160       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8161 /* end confdefs.h.  */
   8162 #include <sys/types.h>
   8163 	     #include <sys/param.h>
   8164 
   8165 int
   8166 main (void)
   8167 {
   8168 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \\
   8169 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \\
   8170 		     && LITTLE_ENDIAN)
   8171 	      bogus endian macros
   8172 	     #endif
   8173 
   8174   ;
   8175   return 0;
   8176 }
   8177 _ACEOF
   8178 if ac_fn_c_try_compile "$LINENO"
   8179 then :
   8180   # It does; now see whether it defined to BIG_ENDIAN or not.
   8181 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8182 /* end confdefs.h.  */
   8183 #include <sys/types.h>
   8184 		#include <sys/param.h>
   8185 
   8186 int
   8187 main (void)
   8188 {
   8189 #if BYTE_ORDER != BIG_ENDIAN
   8190 		 not big endian
   8191 		#endif
   8192 
   8193   ;
   8194   return 0;
   8195 }
   8196 _ACEOF
   8197 if ac_fn_c_try_compile "$LINENO"
   8198 then :
   8199   ac_cv_c_bigendian=yes
   8200 else case e in #(
   8201   e) ac_cv_c_bigendian=no ;;
   8202 esac
   8203 fi
   8204 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8205 fi
   8206 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8207     fi
   8208     if test $ac_cv_c_bigendian = unknown; then
   8209       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   8210       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8211 /* end confdefs.h.  */
   8212 #include <limits.h>
   8213 
   8214 int
   8215 main (void)
   8216 {
   8217 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   8218 	      bogus endian macros
   8219 	     #endif
   8220 
   8221   ;
   8222   return 0;
   8223 }
   8224 _ACEOF
   8225 if ac_fn_c_try_compile "$LINENO"
   8226 then :
   8227   # It does; now see whether it defined to _BIG_ENDIAN or not.
   8228 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8229 /* end confdefs.h.  */
   8230 #include <limits.h>
   8231 
   8232 int
   8233 main (void)
   8234 {
   8235 #ifndef _BIG_ENDIAN
   8236 		 not big endian
   8237 		#endif
   8238 
   8239   ;
   8240   return 0;
   8241 }
   8242 _ACEOF
   8243 if ac_fn_c_try_compile "$LINENO"
   8244 then :
   8245   ac_cv_c_bigendian=yes
   8246 else case e in #(
   8247   e) ac_cv_c_bigendian=no ;;
   8248 esac
   8249 fi
   8250 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8251 fi
   8252 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8253     fi
   8254     if test $ac_cv_c_bigendian = unknown; then
   8255       # Compile a test program.
   8256       if test "$cross_compiling" = yes
   8257 then :
   8258   # Try to guess by grepping values from an object file.
   8259 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8260 /* end confdefs.h.  */
   8261 unsigned short int ascii_mm[] =
   8262 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   8263 		unsigned short int ascii_ii[] =
   8264 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   8265 		int use_ascii (int i) {
   8266 		  return ascii_mm[i] + ascii_ii[i];
   8267 		}
   8268 		unsigned short int ebcdic_ii[] =
   8269 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   8270 		unsigned short int ebcdic_mm[] =
   8271 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   8272 		int use_ebcdic (int i) {
   8273 		  return ebcdic_mm[i] + ebcdic_ii[i];
   8274 		}
   8275 		int
   8276 		main (int argc, char **argv)
   8277 		{
   8278 		  /* Intimidate the compiler so that it does not
   8279 		     optimize the arrays away.  */
   8280 		  char *p = argv[0];
   8281 		  ascii_mm[1] = *p++; ebcdic_mm[1] = *p++;
   8282 		  ascii_ii[1] = *p++; ebcdic_ii[1] = *p++;
   8283 		  return use_ascii (argc) == use_ebcdic (*p);
   8284 		}
   8285 _ACEOF
   8286 if ac_fn_c_try_link "$LINENO"
   8287 then :
   8288   if grep BIGenDianSyS conftest$ac_exeext >/dev/null; then
   8289 	      ac_cv_c_bigendian=yes
   8290 	    fi
   8291 	    if grep LiTTleEnDian conftest$ac_exeext >/dev/null ; then
   8292 	      if test "$ac_cv_c_bigendian" = unknown; then
   8293 		ac_cv_c_bigendian=no
   8294 	      else
   8295 		# finding both strings is unlikely to happen, but who knows?
   8296 		ac_cv_c_bigendian=unknown
   8297 	      fi
   8298 	    fi
   8299 fi
   8300 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8301     conftest$ac_exeext conftest.$ac_ext
   8302 else case e in #(
   8303   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8304 /* end confdefs.h.  */
   8305 $ac_includes_default
   8306 int
   8307 main (void)
   8308 {
   8309 
   8310 	     /* Are we little or big endian?  From Harbison&Steele.  */
   8311 	     union
   8312 	     {
   8313 	       long int l;
   8314 	       char c[sizeof (long int)];
   8315 	     } u;
   8316 	     u.l = 1;
   8317 	     return u.c[sizeof (long int) - 1] == 1;
   8318 
   8319   ;
   8320   return 0;
   8321 }
   8322 _ACEOF
   8323 if ac_fn_c_try_run "$LINENO"
   8324 then :
   8325   ac_cv_c_bigendian=no
   8326 else case e in #(
   8327   e) ac_cv_c_bigendian=yes ;;
   8328 esac
   8329 fi
   8330 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   8331   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8332 esac
   8333 fi
   8334 
   8335     fi ;;
   8336 esac
   8337 fi
   8338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   8339 printf "%s\n" "$ac_cv_c_bigendian" >&6; }
   8340  case $ac_cv_c_bigendian in #(
   8341    yes)
   8342      printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h
   8343 ;; #(
   8344    no)
   8345       ;; #(
   8346    universal)
   8347 
   8348 printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   8349 
   8350      ;; #(
   8351    *)
   8352      as_fn_error $? "unknown endianness
   8353  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   8354  esac
   8355 
   8356 
   8357 #
   8358 # Enable large file support
   8359 #
   8360 # Check whether --enable-largefile was given.
   8361 if test ${enable_largefile+y}
   8362 then :
   8363   enableval=$enable_largefile;
   8364 fi
   8365 if test "$enable_largefile,$enable_year2038" != no,no
   8366 then :
   8367   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CPPFLAGS option for large files" >&5
   8368 printf %s "checking for $CPPFLAGS option for large files... " >&6; }
   8369 if test ${ac_cv_sys_largefile_opts+y}
   8370 then :
   8371   printf %s "(cached) " >&6
   8372 else case e in #(
   8373   e) ac_save_CPPFLAGS=$CPPFLAGS
   8374   ac_opt_found=no
   8375   for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1"; do
   8376     if test x"$ac_opt" != x"none needed"
   8377 then :
   8378   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   8379 fi
   8380     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8381 /* end confdefs.h.  */
   8382 #include <sys/types.h>
   8383 #ifndef FTYPE
   8384 # define FTYPE off_t
   8385 #endif
   8386  /* Check that FTYPE can represent 2**63 - 1 correctly.
   8387     We can't simply define LARGE_FTYPE to be 9223372036854775807,
   8388     since some C++ compilers masquerading as C compilers
   8389     incorrectly reject 9223372036854775807.  */
   8390 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
   8391   int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
   8392 		       && LARGE_FTYPE % 2147483647 == 1)
   8393 		      ? 1 : -1];
   8394 int
   8395 main (void)
   8396 {
   8397 
   8398   ;
   8399   return 0;
   8400 }
   8401 _ACEOF
   8402 if ac_fn_c_try_compile "$LINENO"
   8403 then :
   8404   if test x"$ac_opt" = x"none needed"
   8405 then :
   8406   # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
   8407 	 CPPFLAGS="$CPPFLAGS -DFTYPE=ino_t"
   8408 	 if ac_fn_c_try_compile "$LINENO"
   8409 then :
   8410 
   8411 else case e in #(
   8412   e) CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
   8413 	    if ac_fn_c_try_compile "$LINENO"
   8414 then :
   8415   ac_opt='-D_FILE_OFFSET_BITS=64'
   8416 fi
   8417 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
   8418 esac
   8419 fi
   8420 rm -f core conftest.err conftest.$ac_objext conftest.beam
   8421 fi
   8422       ac_cv_sys_largefile_opts=$ac_opt
   8423       ac_opt_found=yes
   8424 fi
   8425 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8426     test $ac_opt_found = no || break
   8427   done
   8428   CPPFLAGS=$ac_save_CPPFLAGS
   8429 
   8430   test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
   8431 esac
   8432 fi
   8433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
   8434 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
   8435 
   8436 ac_have_largefile=yes
   8437 case $ac_cv_sys_largefile_opts in #(
   8438   "none needed") :
   8439      ;; #(
   8440   "supported through gnulib") :
   8441      ;; #(
   8442   "support not detected") :
   8443     ac_have_largefile=no ;; #(
   8444   "-D_FILE_OFFSET_BITS=64") :
   8445 
   8446 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
   8447  ;; #(
   8448   "-D_LARGE_FILES=1") :
   8449 
   8450 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
   8451  ;; #(
   8452   *) :
   8453     as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
   8454 esac
   8455 
   8456 if test "$enable_year2038" != no
   8457 then :
   8458   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CPPFLAGS option for timestamps after 2038" >&5
   8459 printf %s "checking for $CPPFLAGS option for timestamps after 2038... " >&6; }
   8460 if test ${ac_cv_sys_year2038_opts+y}
   8461 then :
   8462   printf %s "(cached) " >&6
   8463 else case e in #(
   8464   e) ac_save_CPPFLAGS="$CPPFLAGS"
   8465   ac_opt_found=no
   8466   for ac_opt in "none needed" "-D_TIME_BITS=64" "-D__MINGW_USE_VC2005_COMPAT" "-U_USE_32_BIT_TIME_T -D__MINGW_USE_VC2005_COMPAT"; do
   8467     if test x"$ac_opt" != x"none needed"
   8468 then :
   8469   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   8470 fi
   8471     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8472 /* end confdefs.h.  */
   8473 
   8474   #include <time.h>
   8475   /* Check that time_t can represent 2**32 - 1 correctly.  */
   8476   #define LARGE_TIME_T \\
   8477     ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
   8478   int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
   8479                            && LARGE_TIME_T % 65537 == 0)
   8480                           ? 1 : -1];
   8481 
   8482 int
   8483 main (void)
   8484 {
   8485 
   8486   ;
   8487   return 0;
   8488 }
   8489 _ACEOF
   8490 if ac_fn_c_try_compile "$LINENO"
   8491 then :
   8492   ac_cv_sys_year2038_opts="$ac_opt"
   8493       ac_opt_found=yes
   8494 fi
   8495 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8496     test $ac_opt_found = no || break
   8497   done
   8498   CPPFLAGS="$ac_save_CPPFLAGS"
   8499   test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
   8500 esac
   8501 fi
   8502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
   8503 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
   8504 
   8505 ac_have_year2038=yes
   8506 case $ac_cv_sys_year2038_opts in #(
   8507   "none needed") :
   8508      ;; #(
   8509   "support not detected") :
   8510     ac_have_year2038=no ;; #(
   8511   "-D_TIME_BITS=64") :
   8512 
   8513 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
   8514  ;; #(
   8515   "-D__MINGW_USE_VC2005_COMPAT") :
   8516 
   8517 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
   8518  ;; #(
   8519   "-U_USE_32_BIT_TIME_T"*) :
   8520     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   8521 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   8522 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
   8523 will stop working after mid-January 2038. Remove
   8524 _USE_32BIT_TIME_T from the compiler flags.
   8525 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   8526   *) :
   8527     as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
   8528 esac
   8529 
   8530 fi
   8531 
   8532 fi
   8533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for declarations of fseeko and ftello" >&5
   8534 printf %s "checking for declarations of fseeko and ftello... " >&6; }
   8535 if test ${ac_cv_func_fseeko_ftello+y}
   8536 then :
   8537   printf %s "(cached) " >&6
   8538 else case e in #(
   8539   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8540 /* end confdefs.h.  */
   8541 
   8542 #if defined __hpux && !defined _LARGEFILE_SOURCE
   8543 # include <limits.h>
   8544 # if LONG_MAX >> 31 == 0
   8545 #  error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++"
   8546 # endif
   8547 #endif
   8548 #include <sys/types.h> /* for off_t */
   8549 #include <stdio.h>
   8550 
   8551 int
   8552 main (void)
   8553 {
   8554 
   8555   int (*fp1) (FILE *, off_t, int) = fseeko;
   8556   off_t (*fp2) (FILE *) = ftello;
   8557   return fseeko (stdin, 0, 0)
   8558       && fp1 (stdin, 0, 0)
   8559       && ftello (stdin) >= 0
   8560       && fp2 (stdin) >= 0;
   8561 
   8562   ;
   8563   return 0;
   8564 }
   8565 _ACEOF
   8566 if ac_fn_c_try_compile "$LINENO"
   8567 then :
   8568   ac_cv_func_fseeko_ftello=yes
   8569 else case e in #(
   8570   e) ac_save_CPPFLAGS="$CPPFLAGS"
   8571     CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE=1"
   8572     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8573 /* end confdefs.h.  */
   8574 
   8575 #if defined __hpux && !defined _LARGEFILE_SOURCE
   8576 # include <limits.h>
   8577 # if LONG_MAX >> 31 == 0
   8578 #  error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++"
   8579 # endif
   8580 #endif
   8581 #include <sys/types.h> /* for off_t */
   8582 #include <stdio.h>
   8583 
   8584 int
   8585 main (void)
   8586 {
   8587 
   8588   int (*fp1) (FILE *, off_t, int) = fseeko;
   8589   off_t (*fp2) (FILE *) = ftello;
   8590   return fseeko (stdin, 0, 0)
   8591       && fp1 (stdin, 0, 0)
   8592       && ftello (stdin) >= 0
   8593       && fp2 (stdin) >= 0;
   8594 
   8595   ;
   8596   return 0;
   8597 }
   8598 _ACEOF
   8599 if ac_fn_c_try_compile "$LINENO"
   8600 then :
   8601   ac_cv_func_fseeko_ftello="need _LARGEFILE_SOURCE"
   8602 else case e in #(
   8603   e) ac_cv_func_fseeko_ftello=no ;;
   8604 esac
   8605 fi
   8606 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8607 esac
   8608 fi
   8609 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8610 esac
   8611 fi
   8612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fseeko_ftello" >&5
   8613 printf "%s\n" "$ac_cv_func_fseeko_ftello" >&6; }
   8614 if test "$ac_cv_func_fseeko_ftello" != no
   8615 then :
   8616 
   8617 printf "%s\n" "#define HAVE_FSEEKO 1" >>confdefs.h
   8618 
   8619 fi
   8620 if test "$ac_cv_func_fseeko_ftello" = "need _LARGEFILE_SOURCE"
   8621 then :
   8622 
   8623 printf "%s\n" "#define _LARGEFILE_SOURCE 1" >>confdefs.h
   8624 
   8625 fi
   8626 
   8627 
   8628 # Enable RFC 3542 APIs on macOS
   8629 
   8630 printf "%s\n" "#define __APPLE_USE_RFC_3542 1" >>confdefs.h
   8631 
   8632 
   8633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   8634 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   8635 set x ${MAKE-make}
   8636 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   8637 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   8638 then :
   8639   printf %s "(cached) " >&6
   8640 else case e in #(
   8641   e) cat >conftest.make <<\_ACEOF
   8642 SHELL = /bin/sh
   8643 all:
   8644 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   8645 _ACEOF
   8646 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   8647 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   8648   *@@@%%%=?*=@@@%%%*)
   8649     eval ac_cv_prog_make_${ac_make}_set=yes;;
   8650   *)
   8651     eval ac_cv_prog_make_${ac_make}_set=no;;
   8652 esac
   8653 rm -f conftest.make ;;
   8654 esac
   8655 fi
   8656 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   8657   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   8658 printf "%s\n" "yes" >&6; }
   8659   SET_MAKE=
   8660 else
   8661   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8662 printf "%s\n" "no" >&6; }
   8663   SET_MAKE="MAKE=${MAKE-make}"
   8664 fi
   8665 
   8666 
   8667 # Checks for programs.
   8668 
   8669   if test -n "$ac_tool_prefix"; then
   8670   for ac_prog in ar lib "link -lib"
   8671   do
   8672     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   8673 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   8674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8675 printf %s "checking for $ac_word... " >&6; }
   8676 if test ${ac_cv_prog_AR+y}
   8677 then :
   8678   printf %s "(cached) " >&6
   8679 else case e in #(
   8680   e) if test -n "$AR"; then
   8681   ac_cv_prog_AR="$AR" # Let the user override the test.
   8682 else
   8683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8684 for as_dir in $PATH
   8685 do
   8686   IFS=$as_save_IFS
   8687   case $as_dir in #(((
   8688     '') as_dir=./ ;;
   8689     */) ;;
   8690     *) as_dir=$as_dir/ ;;
   8691   esac
   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     printf "%s\n" "$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 esac
   8704 fi
   8705 AR=$ac_cv_prog_AR
   8706 if test -n "$AR"; then
   8707   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   8708 printf "%s\n" "$AR" >&6; }
   8709 else
   8710   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8711 printf "%s\n" "no" >&6; }
   8712 fi
   8713 
   8714 
   8715     test -n "$AR" && break
   8716   done
   8717 fi
   8718 if test -z "$AR"; then
   8719   ac_ct_AR=$AR
   8720   for ac_prog in ar lib "link -lib"
   8721 do
   8722   # Extract the first word of "$ac_prog", so it can be a program name with args.
   8723 set dummy $ac_prog; ac_word=$2
   8724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8725 printf %s "checking for $ac_word... " >&6; }
   8726 if test ${ac_cv_prog_ac_ct_AR+y}
   8727 then :
   8728   printf %s "(cached) " >&6
   8729 else case e in #(
   8730   e) if test -n "$ac_ct_AR"; then
   8731   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   8732 else
   8733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8734 for as_dir in $PATH
   8735 do
   8736   IFS=$as_save_IFS
   8737   case $as_dir in #(((
   8738     '') as_dir=./ ;;
   8739     */) ;;
   8740     *) as_dir=$as_dir/ ;;
   8741   esac
   8742     for ac_exec_ext in '' $ac_executable_extensions; do
   8743   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8744     ac_cv_prog_ac_ct_AR="$ac_prog"
   8745     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8746     break 2
   8747   fi
   8748 done
   8749   done
   8750 IFS=$as_save_IFS
   8751 
   8752 fi ;;
   8753 esac
   8754 fi
   8755 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   8756 if test -n "$ac_ct_AR"; then
   8757   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   8758 printf "%s\n" "$ac_ct_AR" >&6; }
   8759 else
   8760   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8761 printf "%s\n" "no" >&6; }
   8762 fi
   8763 
   8764 
   8765   test -n "$ac_ct_AR" && break
   8766 done
   8767 
   8768   if test "x$ac_ct_AR" = x; then
   8769     AR="false"
   8770   else
   8771     case $cross_compiling:$ac_tool_warned in
   8772 yes:)
   8773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8774 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8775 ac_tool_warned=yes ;;
   8776 esac
   8777     AR=$ac_ct_AR
   8778   fi
   8779 fi
   8780 
   8781 : ${AR=ar}
   8782 : ${ARFLAGS=cr}
   8783 
   8784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
   8785 printf %s "checking the archiver ($AR) interface... " >&6; }
   8786 if test ${am_cv_ar_interface+y}
   8787 then :
   8788   printf %s "(cached) " >&6
   8789 else case e in #(
   8790   e) ac_ext=c
   8791 ac_cpp='$CPP $CPPFLAGS'
   8792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8795 
   8796    am_cv_ar_interface=ar
   8797    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8798 /* end confdefs.h.  */
   8799 int some_variable = 0;
   8800 _ACEOF
   8801 if ac_fn_c_try_compile "$LINENO"
   8802 then :
   8803   am_ar_try='$AR $ARFLAGS libconftest.a conftest.$ac_objext >&5'
   8804       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   8805   (eval $am_ar_try) 2>&5
   8806   ac_status=$?
   8807   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8808   test $ac_status = 0; }
   8809       if test "$ac_status" -eq 0; then
   8810         am_cv_ar_interface=ar
   8811       else
   8812         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
   8813         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   8814   (eval $am_ar_try) 2>&5
   8815   ac_status=$?
   8816   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8817   test $ac_status = 0; }
   8818         if test "$ac_status" -eq 0; then
   8819           am_cv_ar_interface=lib
   8820         else
   8821           am_cv_ar_interface=unknown
   8822         fi
   8823       fi
   8824       rm -f conftest.lib libconftest.a
   8825 
   8826 fi
   8827 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8828    ac_ext=c
   8829 ac_cpp='$CPP $CPPFLAGS'
   8830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8833  ;;
   8834 esac
   8835 fi
   8836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
   8837 printf "%s\n" "$am_cv_ar_interface" >&6; }
   8838 
   8839 case $am_cv_ar_interface in
   8840 ar)
   8841   ;;
   8842 lib)
   8843   # Microsoft lib, so override with the ar-lib wrapper script.
   8844   # FIXME: It is wrong to rewrite AR.
   8845   # But if we don't then we get into trouble of one sort or another.
   8846   # A longer-term fix would be to have automake use am__AR in this case,
   8847   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
   8848   # similar.
   8849   AR="$am_aux_dir/ar-lib $AR"
   8850   ;;
   8851 unknown)
   8852   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
   8853   ;;
   8854 esac
   8855  # call AM_PROG_AR only if available
   8856 
   8857 
   8858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   8859 printf %s "checking whether ln -s works... " >&6; }
   8860 LN_S=$as_ln_s
   8861 if test "$LN_S" = "ln -s"; then
   8862   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   8863 printf "%s\n" "yes" >&6; }
   8864 else
   8865   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   8866 printf "%s\n" "no, using $LN_S" >&6; }
   8867 fi
   8868 
   8869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a POSIX-compatible shell" >&5
   8870 printf %s "checking for a POSIX-compatible shell... " >&6; }
   8871 if test ${ac_cv_prog_shell+y}
   8872 then :
   8873   printf %s "(cached) " >&6
   8874 else case e in #(
   8875   e) ac_test_shell_script='
   8876 			  test "$(expr 1 + 1)" = "2" &&
   8877 			  test "$(( 1 + 1 ))" = "2"
   8878 			  '
   8879 
   8880 			  for ac_cv_prog_shell in \
   8881 			    "$CONFIG_SHELL" "$SHELL" /bin/sh /bin/bash /bin/ksh /bin/sh5 no; do
   8882 			    case $ac_cv_prog_shell in #(
   8883   /*) :
   8884 
   8885 				      if "$ac_cv_prog_shell" -c "$ac_test_shell_script" 2>/dev/null
   8886 then :
   8887   break
   8888 fi
   8889 				     ;; #(
   8890   *) :
   8891      ;;
   8892 esac
   8893 			  done
   8894 			  ;;
   8895 esac
   8896 fi
   8897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_shell" >&5
   8898 printf "%s\n" "$ac_cv_prog_shell" >&6; }
   8899 	  if test "$ac_cv_prog_shell" = "no"
   8900 then :
   8901   SHELL=/bin/sh
   8902 		 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using $SHELL, even though it does not conform to POSIX" >&5
   8903 printf "%s\n" "$as_me: WARNING: using $SHELL, even though it does not conform to POSIX" >&2;}
   8904 
   8905 else case e in #(
   8906   e) SHELL="$ac_cv_prog_shell"
   8907 		 ;;
   8908 esac
   8909 fi
   8910 
   8911 
   8912 
   8913 
   8914 # Initialize libtool
   8915 case `pwd` in
   8916   *\ * | *\	*)
   8917     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   8918 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   8919 esac
   8920 
   8921 
   8922 
   8923 macro_version='2.5.4'
   8924 macro_revision='2.5.4'
   8925 
   8926 
   8927 
   8928 
   8929 
   8930 
   8931 
   8932 
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 
   8939 ltmain=$ac_aux_dir/ltmain.sh
   8940 
   8941 # Backslashify metacharacters that are still active within
   8942 # double-quoted strings.
   8943 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   8944 
   8945 # Same as above, but do not quote variable references.
   8946 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   8947 
   8948 # Sed substitution to delay expansion of an escaped shell variable in a
   8949 # double_quote_subst'ed string.
   8950 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   8951 
   8952 # Sed substitution to delay expansion of an escaped single quote.
   8953 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   8954 
   8955 # Sed substitution to avoid accidental globbing in evaled expressions
   8956 no_glob_subst='s/\*/\\\*/g'
   8957 
   8958 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   8959 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   8960 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   8961 
   8962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   8963 printf %s "checking how to print strings... " >&6; }
   8964 # Test print first, because it will be a builtin if present.
   8965 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   8966    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   8967   ECHO='print -r --'
   8968 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   8969   ECHO='printf %s\n'
   8970 else
   8971   # Use this function as a fallback that always works.
   8972   func_fallback_echo ()
   8973   {
   8974     eval 'cat <<_LTECHO_EOF
   8975 $1
   8976 _LTECHO_EOF'
   8977   }
   8978   ECHO='func_fallback_echo'
   8979 fi
   8980 
   8981 # func_echo_all arg...
   8982 # Invoke $ECHO with all args, space-separated.
   8983 func_echo_all ()
   8984 {
   8985     $ECHO ""
   8986 }
   8987 
   8988 case $ECHO in
   8989   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   8990 printf "%s\n" "printf" >&6; } ;;
   8991   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   8992 printf "%s\n" "print -r" >&6; } ;;
   8993   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   8994 printf "%s\n" "cat" >&6; } ;;
   8995 esac
   8996 
   8997 
   8998 
   8999 
   9000 
   9001 
   9002 
   9003 
   9004 
   9005 
   9006 
   9007 
   9008 
   9009 
   9010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   9011 printf %s "checking for a sed that does not truncate output... " >&6; }
   9012 if test ${ac_cv_path_SED+y}
   9013 then :
   9014   printf %s "(cached) " >&6
   9015 else case e in #(
   9016   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   9017      for ac_i in 1 2 3 4 5 6 7; do
   9018        ac_script="$ac_script$as_nl$ac_script"
   9019      done
   9020      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   9021      { ac_script=; unset ac_script;}
   9022      if test -z "$SED"; then
   9023   ac_path_SED_found=false
   9024   # Loop through the user's path and test for each of PROGNAME-LIST
   9025   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9026 for as_dir in $PATH
   9027 do
   9028   IFS=$as_save_IFS
   9029   case $as_dir in #(((
   9030     '') as_dir=./ ;;
   9031     */) ;;
   9032     *) as_dir=$as_dir/ ;;
   9033   esac
   9034     for ac_prog in sed gsed
   9035    do
   9036     for ac_exec_ext in '' $ac_executable_extensions; do
   9037       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   9038       as_fn_executable_p "$ac_path_SED" || continue
   9039 # Check for GNU ac_path_SED and select it if it is found.
   9040   # Check for GNU $ac_path_SED
   9041 case `"$ac_path_SED" --version 2>&1` in #(
   9042 *GNU*)
   9043   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   9044 #(
   9045 *)
   9046   ac_count=0
   9047   printf %s 0123456789 >"conftest.in"
   9048   while :
   9049   do
   9050     cat "conftest.in" "conftest.in" >"conftest.tmp"
   9051     mv "conftest.tmp" "conftest.in"
   9052     cp "conftest.in" "conftest.nl"
   9053     printf "%s\n" '' >> "conftest.nl"
   9054     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   9055     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   9056     as_fn_arith $ac_count + 1 && ac_count=$as_val
   9057     if test $ac_count -gt ${ac_path_SED_max-0}; then
   9058       # Best one so far, save it but keep looking for a better one
   9059       ac_cv_path_SED="$ac_path_SED"
   9060       ac_path_SED_max=$ac_count
   9061     fi
   9062     # 10*(2^10) chars as input seems more than enough
   9063     test $ac_count -gt 10 && break
   9064   done
   9065   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   9066 esac
   9067 
   9068       $ac_path_SED_found && break 3
   9069     done
   9070   done
   9071   done
   9072 IFS=$as_save_IFS
   9073   if test -z "$ac_cv_path_SED"; then
   9074     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   9075   fi
   9076 else
   9077   ac_cv_path_SED=$SED
   9078 fi
   9079  ;;
   9080 esac
   9081 fi
   9082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   9083 printf "%s\n" "$ac_cv_path_SED" >&6; }
   9084  SED="$ac_cv_path_SED"
   9085   rm -f conftest.sed
   9086 
   9087 test -z "$SED" && SED=sed
   9088 Xsed="$SED -e 1s/^X//"
   9089 
   9090 
   9091 
   9092 
   9093 
   9094 
   9095 
   9096 
   9097 
   9098 
   9099 
   9100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   9101 printf %s "checking for grep that handles long lines and -e... " >&6; }
   9102 if test ${ac_cv_path_GREP+y}
   9103 then :
   9104   printf %s "(cached) " >&6
   9105 else case e in #(
   9106   e) if test -z "$GREP"; then
   9107   ac_path_GREP_found=false
   9108   # Loop through the user's path and test for each of PROGNAME-LIST
   9109   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9110 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   9111 do
   9112   IFS=$as_save_IFS
   9113   case $as_dir in #(((
   9114     '') as_dir=./ ;;
   9115     */) ;;
   9116     *) as_dir=$as_dir/ ;;
   9117   esac
   9118     for ac_prog in grep ggrep
   9119    do
   9120     for ac_exec_ext in '' $ac_executable_extensions; do
   9121       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   9122       as_fn_executable_p "$ac_path_GREP" || continue
   9123 # Check for GNU ac_path_GREP and select it if it is found.
   9124   # Check for GNU $ac_path_GREP
   9125 case `"$ac_path_GREP" --version 2>&1` in #(
   9126 *GNU*)
   9127   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   9128 #(
   9129 *)
   9130   ac_count=0
   9131   printf %s 0123456789 >"conftest.in"
   9132   while :
   9133   do
   9134     cat "conftest.in" "conftest.in" >"conftest.tmp"
   9135     mv "conftest.tmp" "conftest.in"
   9136     cp "conftest.in" "conftest.nl"
   9137     printf "%s\n" 'GREP' >> "conftest.nl"
   9138     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   9139     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   9140     as_fn_arith $ac_count + 1 && ac_count=$as_val
   9141     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   9142       # Best one so far, save it but keep looking for a better one
   9143       ac_cv_path_GREP="$ac_path_GREP"
   9144       ac_path_GREP_max=$ac_count
   9145     fi
   9146     # 10*(2^10) chars as input seems more than enough
   9147     test $ac_count -gt 10 && break
   9148   done
   9149   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   9150 esac
   9151 
   9152       $ac_path_GREP_found && break 3
   9153     done
   9154   done
   9155   done
   9156 IFS=$as_save_IFS
   9157   if test -z "$ac_cv_path_GREP"; then
   9158     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   9159   fi
   9160 else
   9161   ac_cv_path_GREP=$GREP
   9162 fi
   9163  ;;
   9164 esac
   9165 fi
   9166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   9167 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   9168  GREP="$ac_cv_path_GREP"
   9169 
   9170 
   9171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   9172 printf %s "checking for egrep... " >&6; }
   9173 if test ${ac_cv_path_EGREP+y}
   9174 then :
   9175   printf %s "(cached) " >&6
   9176 else case e in #(
   9177   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   9178    then ac_cv_path_EGREP="$GREP -E"
   9179    else
   9180      if test -z "$EGREP"; then
   9181   ac_path_EGREP_found=false
   9182   # Loop through the user's path and test for each of PROGNAME-LIST
   9183   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9184 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   9185 do
   9186   IFS=$as_save_IFS
   9187   case $as_dir in #(((
   9188     '') as_dir=./ ;;
   9189     */) ;;
   9190     *) as_dir=$as_dir/ ;;
   9191   esac
   9192     for ac_prog in egrep
   9193    do
   9194     for ac_exec_ext in '' $ac_executable_extensions; do
   9195       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   9196       as_fn_executable_p "$ac_path_EGREP" || continue
   9197 # Check for GNU ac_path_EGREP and select it if it is found.
   9198   # Check for GNU $ac_path_EGREP
   9199 case `"$ac_path_EGREP" --version 2>&1` in #(
   9200 *GNU*)
   9201   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   9202 #(
   9203 *)
   9204   ac_count=0
   9205   printf %s 0123456789 >"conftest.in"
   9206   while :
   9207   do
   9208     cat "conftest.in" "conftest.in" >"conftest.tmp"
   9209     mv "conftest.tmp" "conftest.in"
   9210     cp "conftest.in" "conftest.nl"
   9211     printf "%s\n" 'EGREP' >> "conftest.nl"
   9212     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   9213     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   9214     as_fn_arith $ac_count + 1 && ac_count=$as_val
   9215     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   9216       # Best one so far, save it but keep looking for a better one
   9217       ac_cv_path_EGREP="$ac_path_EGREP"
   9218       ac_path_EGREP_max=$ac_count
   9219     fi
   9220     # 10*(2^10) chars as input seems more than enough
   9221     test $ac_count -gt 10 && break
   9222   done
   9223   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   9224 esac
   9225 
   9226       $ac_path_EGREP_found && break 3
   9227     done
   9228   done
   9229   done
   9230 IFS=$as_save_IFS
   9231   if test -z "$ac_cv_path_EGREP"; then
   9232     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   9233   fi
   9234 else
   9235   ac_cv_path_EGREP=$EGREP
   9236 fi
   9237 
   9238    fi ;;
   9239 esac
   9240 fi
   9241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   9242 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   9243  EGREP="$ac_cv_path_EGREP"
   9244 
   9245          EGREP_TRADITIONAL=$EGREP
   9246  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   9247 
   9248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   9249 printf %s "checking for fgrep... " >&6; }
   9250 if test ${ac_cv_path_FGREP+y}
   9251 then :
   9252   printf %s "(cached) " >&6
   9253 else case e in #(
   9254   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   9255    then ac_cv_path_FGREP="$GREP -F"
   9256    else
   9257      if test -z "$FGREP"; then
   9258   ac_path_FGREP_found=false
   9259   # Loop through the user's path and test for each of PROGNAME-LIST
   9260   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9261 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   9262 do
   9263   IFS=$as_save_IFS
   9264   case $as_dir in #(((
   9265     '') as_dir=./ ;;
   9266     */) ;;
   9267     *) as_dir=$as_dir/ ;;
   9268   esac
   9269     for ac_prog in fgrep
   9270    do
   9271     for ac_exec_ext in '' $ac_executable_extensions; do
   9272       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   9273       as_fn_executable_p "$ac_path_FGREP" || continue
   9274 # Check for GNU ac_path_FGREP and select it if it is found.
   9275   # Check for GNU $ac_path_FGREP
   9276 case `"$ac_path_FGREP" --version 2>&1` in #(
   9277 *GNU*)
   9278   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   9279 #(
   9280 *)
   9281   ac_count=0
   9282   printf %s 0123456789 >"conftest.in"
   9283   while :
   9284   do
   9285     cat "conftest.in" "conftest.in" >"conftest.tmp"
   9286     mv "conftest.tmp" "conftest.in"
   9287     cp "conftest.in" "conftest.nl"
   9288     printf "%s\n" 'FGREP' >> "conftest.nl"
   9289     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   9290     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   9291     as_fn_arith $ac_count + 1 && ac_count=$as_val
   9292     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   9293       # Best one so far, save it but keep looking for a better one
   9294       ac_cv_path_FGREP="$ac_path_FGREP"
   9295       ac_path_FGREP_max=$ac_count
   9296     fi
   9297     # 10*(2^10) chars as input seems more than enough
   9298     test $ac_count -gt 10 && break
   9299   done
   9300   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   9301 esac
   9302 
   9303       $ac_path_FGREP_found && break 3
   9304     done
   9305   done
   9306   done
   9307 IFS=$as_save_IFS
   9308   if test -z "$ac_cv_path_FGREP"; then
   9309     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   9310   fi
   9311 else
   9312   ac_cv_path_FGREP=$FGREP
   9313 fi
   9314 
   9315    fi ;;
   9316 esac
   9317 fi
   9318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   9319 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   9320  FGREP="$ac_cv_path_FGREP"
   9321 
   9322 
   9323 test -z "$GREP" && GREP=grep
   9324 
   9325 
   9326 
   9327 
   9328 
   9329 
   9330 
   9331 
   9332 
   9333 
   9334 
   9335 
   9336 
   9337 
   9338 
   9339 
   9340 
   9341 
   9342 
   9343 # Check whether --with-gnu-ld was given.
   9344 if test ${with_gnu_ld+y}
   9345 then :
   9346   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   9347 else case e in #(
   9348   e) with_gnu_ld=no ;;
   9349 esac
   9350 fi
   9351 
   9352 ac_prog=ld
   9353 if test yes = "$GCC"; then
   9354   # Check if gcc -print-prog-name=ld gives a path.
   9355   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   9356 printf %s "checking for ld used by $CC... " >&6; }
   9357   case $host in
   9358   *-*-mingw* | *-*-windows*)
   9359     # gcc leaves a trailing carriage return, which upsets mingw
   9360     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   9361   *)
   9362     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   9363   esac
   9364   case $ac_prog in
   9365     # Accept absolute paths.
   9366     [\\/]* | ?:[\\/]*)
   9367       re_direlt='/[^/][^/]*/\.\./'
   9368       # Canonicalize the pathname of ld
   9369       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   9370       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   9371 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   9372       done
   9373       test -z "$LD" && LD=$ac_prog
   9374       ;;
   9375   "")
   9376     # If it fails, then pretend we aren't using GCC.
   9377     ac_prog=ld
   9378     ;;
   9379   *)
   9380     # If it is relative, then search for the first ld in PATH.
   9381     with_gnu_ld=unknown
   9382     ;;
   9383   esac
   9384 elif test yes = "$with_gnu_ld"; then
   9385   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   9386 printf %s "checking for GNU ld... " >&6; }
   9387 else
   9388   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   9389 printf %s "checking for non-GNU ld... " >&6; }
   9390 fi
   9391 if test ${lt_cv_path_LD+y}
   9392 then :
   9393   printf %s "(cached) " >&6
   9394 else case e in #(
   9395   e) if test -z "$LD"; then
   9396   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9397   for ac_dir in $PATH; do
   9398     IFS=$lt_save_ifs
   9399     test -z "$ac_dir" && ac_dir=.
   9400     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   9401       lt_cv_path_LD=$ac_dir/$ac_prog
   9402       # Check to see if the program is GNU ld.  I'd rather use --version,
   9403       # but apparently some variants of GNU ld only accept -v.
   9404       # Break only if it was the GNU/non-GNU ld that we prefer.
   9405       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   9406       *GNU* | *'with BFD'*)
   9407 	test no != "$with_gnu_ld" && break
   9408 	;;
   9409       *)
   9410 	test yes != "$with_gnu_ld" && break
   9411 	;;
   9412       esac
   9413     fi
   9414   done
   9415   IFS=$lt_save_ifs
   9416 else
   9417   lt_cv_path_LD=$LD # Let the user override the test with a path.
   9418 fi ;;
   9419 esac
   9420 fi
   9421 
   9422 LD=$lt_cv_path_LD
   9423 if test -n "$LD"; then
   9424   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   9425 printf "%s\n" "$LD" >&6; }
   9426 else
   9427   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9428 printf "%s\n" "no" >&6; }
   9429 fi
   9430 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   9431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   9432 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   9433 if test ${lt_cv_prog_gnu_ld+y}
   9434 then :
   9435   printf %s "(cached) " >&6
   9436 else case e in #(
   9437   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   9438 case `$LD -v 2>&1 </dev/null` in
   9439 *GNU* | *'with BFD'*)
   9440   lt_cv_prog_gnu_ld=yes
   9441   ;;
   9442 *)
   9443   lt_cv_prog_gnu_ld=no
   9444   ;;
   9445 esac ;;
   9446 esac
   9447 fi
   9448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   9449 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   9450 with_gnu_ld=$lt_cv_prog_gnu_ld
   9451 
   9452 
   9453 
   9454 
   9455 
   9456 
   9457 
   9458 
   9459 
   9460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   9461 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   9462 if test ${lt_cv_path_NM+y}
   9463 then :
   9464   printf %s "(cached) " >&6
   9465 else case e in #(
   9466   e) if test -n "$NM"; then
   9467   # Let the user override the test.
   9468   lt_cv_path_NM=$NM
   9469 else
   9470   lt_nm_to_check=${ac_tool_prefix}nm
   9471   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   9472     lt_nm_to_check="$lt_nm_to_check nm"
   9473   fi
   9474   for lt_tmp_nm in $lt_nm_to_check; do
   9475     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9476     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   9477       IFS=$lt_save_ifs
   9478       test -z "$ac_dir" && ac_dir=.
   9479       tmp_nm=$ac_dir/$lt_tmp_nm
   9480       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   9481 	# Check to see if the nm accepts a BSD-compat flag.
   9482 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   9483 	#   nm: unknown option "B" ignored
   9484 	# Tru64's nm complains that /dev/null is an invalid object file
   9485 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   9486 	case $build_os in
   9487 	mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
   9488 	*) lt_bad_file=/dev/null ;;
   9489 	esac
   9490 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   9491 	*$lt_bad_file* | *'Invalid file or object type'*)
   9492 	  lt_cv_path_NM="$tmp_nm -B"
   9493 	  break 2
   9494 	  ;;
   9495 	*)
   9496 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   9497 	  */dev/null*)
   9498 	    lt_cv_path_NM="$tmp_nm -p"
   9499 	    break 2
   9500 	    ;;
   9501 	  *)
   9502 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   9503 	    continue # so that we can try to find one that supports BSD flags
   9504 	    ;;
   9505 	  esac
   9506 	  ;;
   9507 	esac
   9508       fi
   9509     done
   9510     IFS=$lt_save_ifs
   9511   done
   9512   : ${lt_cv_path_NM=no}
   9513 fi ;;
   9514 esac
   9515 fi
   9516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   9517 printf "%s\n" "$lt_cv_path_NM" >&6; }
   9518 if test no != "$lt_cv_path_NM"; then
   9519   NM=$lt_cv_path_NM
   9520 else
   9521   # Didn't find any BSD compatible name lister, look for dumpbin.
   9522   if test -n "$DUMPBIN"; then :
   9523     # Let the user override the test.
   9524   else
   9525     if test -n "$ac_tool_prefix"; then
   9526   for ac_prog in dumpbin "link -dump"
   9527   do
   9528     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   9529 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   9530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9531 printf %s "checking for $ac_word... " >&6; }
   9532 if test ${ac_cv_prog_DUMPBIN+y}
   9533 then :
   9534   printf %s "(cached) " >&6
   9535 else case e in #(
   9536   e) if test -n "$DUMPBIN"; then
   9537   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   9538 else
   9539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9540 for as_dir in $PATH
   9541 do
   9542   IFS=$as_save_IFS
   9543   case $as_dir in #(((
   9544     '') as_dir=./ ;;
   9545     */) ;;
   9546     *) as_dir=$as_dir/ ;;
   9547   esac
   9548     for ac_exec_ext in '' $ac_executable_extensions; do
   9549   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9550     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   9551     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9552     break 2
   9553   fi
   9554 done
   9555   done
   9556 IFS=$as_save_IFS
   9557 
   9558 fi ;;
   9559 esac
   9560 fi
   9561 DUMPBIN=$ac_cv_prog_DUMPBIN
   9562 if test -n "$DUMPBIN"; then
   9563   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   9564 printf "%s\n" "$DUMPBIN" >&6; }
   9565 else
   9566   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9567 printf "%s\n" "no" >&6; }
   9568 fi
   9569 
   9570 
   9571     test -n "$DUMPBIN" && break
   9572   done
   9573 fi
   9574 if test -z "$DUMPBIN"; then
   9575   ac_ct_DUMPBIN=$DUMPBIN
   9576   for ac_prog in dumpbin "link -dump"
   9577 do
   9578   # Extract the first word of "$ac_prog", so it can be a program name with args.
   9579 set dummy $ac_prog; ac_word=$2
   9580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9581 printf %s "checking for $ac_word... " >&6; }
   9582 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   9583 then :
   9584   printf %s "(cached) " >&6
   9585 else case e in #(
   9586   e) if test -n "$ac_ct_DUMPBIN"; then
   9587   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   9588 else
   9589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9590 for as_dir in $PATH
   9591 do
   9592   IFS=$as_save_IFS
   9593   case $as_dir in #(((
   9594     '') as_dir=./ ;;
   9595     */) ;;
   9596     *) as_dir=$as_dir/ ;;
   9597   esac
   9598     for ac_exec_ext in '' $ac_executable_extensions; do
   9599   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9600     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   9601     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9602     break 2
   9603   fi
   9604 done
   9605   done
   9606 IFS=$as_save_IFS
   9607 
   9608 fi ;;
   9609 esac
   9610 fi
   9611 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   9612 if test -n "$ac_ct_DUMPBIN"; then
   9613   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   9614 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   9615 else
   9616   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9617 printf "%s\n" "no" >&6; }
   9618 fi
   9619 
   9620 
   9621   test -n "$ac_ct_DUMPBIN" && break
   9622 done
   9623 
   9624   if test "x$ac_ct_DUMPBIN" = x; then
   9625     DUMPBIN=":"
   9626   else
   9627     case $cross_compiling:$ac_tool_warned in
   9628 yes:)
   9629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9630 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9631 ac_tool_warned=yes ;;
   9632 esac
   9633     DUMPBIN=$ac_ct_DUMPBIN
   9634   fi
   9635 fi
   9636 
   9637     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   9638     *COFF*)
   9639       DUMPBIN="$DUMPBIN -symbols -headers"
   9640       ;;
   9641     *)
   9642       DUMPBIN=:
   9643       ;;
   9644     esac
   9645   fi
   9646 
   9647   if test : != "$DUMPBIN"; then
   9648     NM=$DUMPBIN
   9649   fi
   9650 fi
   9651 test -z "$NM" && NM=nm
   9652 
   9653 
   9654 
   9655 
   9656 
   9657 
   9658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   9659 printf %s "checking the name lister ($NM) interface... " >&6; }
   9660 if test ${lt_cv_nm_interface+y}
   9661 then :
   9662   printf %s "(cached) " >&6
   9663 else case e in #(
   9664   e) lt_cv_nm_interface="BSD nm"
   9665   echo "int some_variable = 0;" > conftest.$ac_ext
   9666   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   9667   (eval "$ac_compile" 2>conftest.err)
   9668   cat conftest.err >&5
   9669   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   9670   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   9671   cat conftest.err >&5
   9672   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   9673   cat conftest.out >&5
   9674   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   9675     lt_cv_nm_interface="MS dumpbin"
   9676   fi
   9677   rm -f conftest* ;;
   9678 esac
   9679 fi
   9680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   9681 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   9682 
   9683 # find the maximum length of command line arguments
   9684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   9685 printf %s "checking the maximum length of command line arguments... " >&6; }
   9686 if test ${lt_cv_sys_max_cmd_len+y}
   9687 then :
   9688   printf %s "(cached) " >&6
   9689 else case e in #(
   9690   e)   i=0
   9691   teststring=ABCD
   9692 
   9693   case $build_os in
   9694   msdosdjgpp*)
   9695     # On DJGPP, this test can blow up pretty badly due to problems in libc
   9696     # (any single argument exceeding 2000 bytes causes a buffer overrun
   9697     # during glob expansion).  Even if it were fixed, the result of this
   9698     # check would be larger than it should be.
   9699     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   9700     ;;
   9701 
   9702   gnu* | ironclad*)
   9703     # Under GNU Hurd and Ironclad, this test is not required because there
   9704     # is no limit to the length of command line arguments.
   9705     # Libtool will interpret -1 as no limit whatsoever
   9706     lt_cv_sys_max_cmd_len=-1;
   9707     ;;
   9708 
   9709   cygwin* | mingw* | windows* | cegcc*)
   9710     # On Win9x/ME, this test blows up -- it succeeds, but takes
   9711     # about 5 minutes as the teststring grows exponentially.
   9712     # Worse, since 9x/ME are not pre-emptively multitasking,
   9713     # you end up with a "frozen" computer, even though with patience
   9714     # the test eventually succeeds (with a max line length of 256k).
   9715     # Instead, let's just punt: use the minimum linelength reported by
   9716     # all of the supported platforms: 8192 (on NT/2K/XP).
   9717     lt_cv_sys_max_cmd_len=8192;
   9718     ;;
   9719 
   9720   mint*)
   9721     # On MiNT this can take a long time and run out of memory.
   9722     lt_cv_sys_max_cmd_len=8192;
   9723     ;;
   9724 
   9725   amigaos*)
   9726     # On AmigaOS with pdksh, this test takes hours, literally.
   9727     # So we just punt and use a minimum line length of 8192.
   9728     lt_cv_sys_max_cmd_len=8192;
   9729     ;;
   9730 
   9731   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   9732     # This has been around since 386BSD, at least.  Likely further.
   9733     if test -x /sbin/sysctl; then
   9734       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   9735     elif test -x /usr/sbin/sysctl; then
   9736       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   9737     else
   9738       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   9739     fi
   9740     # And add a safety zone
   9741     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   9742     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   9743     ;;
   9744 
   9745   interix*)
   9746     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   9747     lt_cv_sys_max_cmd_len=196608
   9748     ;;
   9749 
   9750   os2*)
   9751     # The test takes a long time on OS/2.
   9752     lt_cv_sys_max_cmd_len=8192
   9753     ;;
   9754 
   9755   osf*)
   9756     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   9757     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   9758     # nice to cause kernel panics so lets avoid the loop below.
   9759     # First set a reasonable default.
   9760     lt_cv_sys_max_cmd_len=16384
   9761     #
   9762     if test -x /sbin/sysconfig; then
   9763       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   9764         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   9765       esac
   9766     fi
   9767     ;;
   9768   sco3.2v5*)
   9769     lt_cv_sys_max_cmd_len=102400
   9770     ;;
   9771   sysv5* | sco5v6* | sysv4.2uw2*)
   9772     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   9773     if test -n "$kargmax"; then
   9774       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   9775     else
   9776       lt_cv_sys_max_cmd_len=32768
   9777     fi
   9778     ;;
   9779   *)
   9780     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   9781     if test -n "$lt_cv_sys_max_cmd_len" && \
   9782        test undefined != "$lt_cv_sys_max_cmd_len"; then
   9783       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   9784       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   9785     else
   9786       # Make teststring a little bigger before we do anything with it.
   9787       # a 1K string should be a reasonable start.
   9788       for i in 1 2 3 4 5 6 7 8; do
   9789         teststring=$teststring$teststring
   9790       done
   9791       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   9792       # If test is not a shell built-in, we'll probably end up computing a
   9793       # maximum length that is only half of the actual maximum length, but
   9794       # we can't tell.
   9795       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   9796 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   9797 	      test 17 != "$i" # 1/2 MB should be enough
   9798       do
   9799         i=`expr $i + 1`
   9800         teststring=$teststring$teststring
   9801       done
   9802       # Only check the string length outside the loop.
   9803       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   9804       teststring=
   9805       # Add a significant safety factor because C++ compilers can tack on
   9806       # massive amounts of additional arguments before passing them to the
   9807       # linker.  It appears as though 1/2 is a usable value.
   9808       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   9809     fi
   9810     ;;
   9811   esac
   9812  ;;
   9813 esac
   9814 fi
   9815 
   9816 if test -n "$lt_cv_sys_max_cmd_len"; then
   9817   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   9818 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   9819 else
   9820   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   9821 printf "%s\n" "none" >&6; }
   9822 fi
   9823 max_cmd_len=$lt_cv_sys_max_cmd_len
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 : ${CP="cp -f"}
   9831 : ${MV="mv -f"}
   9832 : ${RM="rm -f"}
   9833 
   9834 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   9835   lt_unset=unset
   9836 else
   9837   lt_unset=false
   9838 fi
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 # test EBCDIC or ASCII
   9845 case `echo X|tr X '\101'` in
   9846  A) # ASCII based system
   9847     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   9848   lt_SP2NL='tr \040 \012'
   9849   lt_NL2SP='tr \015\012 \040\040'
   9850   ;;
   9851  *) # EBCDIC based system
   9852   lt_SP2NL='tr \100 \n'
   9853   lt_NL2SP='tr \r\n \100\100'
   9854   ;;
   9855 esac
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   9866 printf %s "checking how to convert $build file names to $host format... " >&6; }
   9867 if test ${lt_cv_to_host_file_cmd+y}
   9868 then :
   9869   printf %s "(cached) " >&6
   9870 else case e in #(
   9871   e) case $host in
   9872   *-*-mingw* )
   9873     case $build in
   9874       *-*-mingw* | *-*-windows* ) # actually msys
   9875         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   9876         ;;
   9877       *-*-cygwin* )
   9878         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   9879         ;;
   9880       * ) # otherwise, assume *nix
   9881         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   9882         ;;
   9883     esac
   9884     ;;
   9885   *-*-cygwin* )
   9886     case $build in
   9887       *-*-mingw* | *-*-windows* ) # actually msys
   9888         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   9889         ;;
   9890       *-*-cygwin* )
   9891         lt_cv_to_host_file_cmd=func_convert_file_noop
   9892         ;;
   9893       * ) # otherwise, assume *nix
   9894         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   9895         ;;
   9896     esac
   9897     ;;
   9898   * ) # unhandled hosts (and "normal" native builds)
   9899     lt_cv_to_host_file_cmd=func_convert_file_noop
   9900     ;;
   9901 esac
   9902  ;;
   9903 esac
   9904 fi
   9905 
   9906 to_host_file_cmd=$lt_cv_to_host_file_cmd
   9907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   9908 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   9915 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   9916 if test ${lt_cv_to_tool_file_cmd+y}
   9917 then :
   9918   printf %s "(cached) " >&6
   9919 else case e in #(
   9920   e) #assume ordinary cross tools, or native build.
   9921 lt_cv_to_tool_file_cmd=func_convert_file_noop
   9922 case $host in
   9923   *-*-mingw* | *-*-windows* )
   9924     case $build in
   9925       *-*-mingw* | *-*-windows* ) # actually msys
   9926         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   9927         ;;
   9928     esac
   9929     ;;
   9930 esac
   9931  ;;
   9932 esac
   9933 fi
   9934 
   9935 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   9936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   9937 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   9944 printf %s "checking for $LD option to reload object files... " >&6; }
   9945 if test ${lt_cv_ld_reload_flag+y}
   9946 then :
   9947   printf %s "(cached) " >&6
   9948 else case e in #(
   9949   e) lt_cv_ld_reload_flag='-r' ;;
   9950 esac
   9951 fi
   9952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   9953 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   9954 reload_flag=$lt_cv_ld_reload_flag
   9955 case $reload_flag in
   9956 "" | " "*) ;;
   9957 *) reload_flag=" $reload_flag" ;;
   9958 esac
   9959 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   9960 case $host_os in
   9961   cygwin* | mingw* | windows* | pw32* | cegcc*)
   9962     if test yes != "$GCC"; then
   9963       reload_cmds=false
   9964     fi
   9965     ;;
   9966   darwin*)
   9967     if test yes = "$GCC"; then
   9968       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   9969     else
   9970       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   9971     fi
   9972     ;;
   9973 esac
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 # Extract the first word of "file", so it can be a program name with args.
   9984 set dummy file; ac_word=$2
   9985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9986 printf %s "checking for $ac_word... " >&6; }
   9987 if test ${ac_cv_prog_FILECMD+y}
   9988 then :
   9989   printf %s "(cached) " >&6
   9990 else case e in #(
   9991   e) if test -n "$FILECMD"; then
   9992   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   9993 else
   9994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9995 for as_dir in $PATH
   9996 do
   9997   IFS=$as_save_IFS
   9998   case $as_dir in #(((
   9999     '') as_dir=./ ;;
   10000     */) ;;
   10001     *) as_dir=$as_dir/ ;;
   10002   esac
   10003     for ac_exec_ext in '' $ac_executable_extensions; do
   10004   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10005     ac_cv_prog_FILECMD="file"
   10006     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10007     break 2
   10008   fi
   10009 done
   10010   done
   10011 IFS=$as_save_IFS
   10012 
   10013   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
   10014 fi ;;
   10015 esac
   10016 fi
   10017 FILECMD=$ac_cv_prog_FILECMD
   10018 if test -n "$FILECMD"; then
   10019   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   10020 printf "%s\n" "$FILECMD" >&6; }
   10021 else
   10022   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10023 printf "%s\n" "no" >&6; }
   10024 fi
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 if test -n "$ac_tool_prefix"; then
   10034   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   10035 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   10036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10037 printf %s "checking for $ac_word... " >&6; }
   10038 if test ${ac_cv_prog_OBJDUMP+y}
   10039 then :
   10040   printf %s "(cached) " >&6
   10041 else case e in #(
   10042   e) if test -n "$OBJDUMP"; then
   10043   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   10044 else
   10045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10046 for as_dir in $PATH
   10047 do
   10048   IFS=$as_save_IFS
   10049   case $as_dir in #(((
   10050     '') as_dir=./ ;;
   10051     */) ;;
   10052     *) as_dir=$as_dir/ ;;
   10053   esac
   10054     for ac_exec_ext in '' $ac_executable_extensions; do
   10055   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10056     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   10057     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10058     break 2
   10059   fi
   10060 done
   10061   done
   10062 IFS=$as_save_IFS
   10063 
   10064 fi ;;
   10065 esac
   10066 fi
   10067 OBJDUMP=$ac_cv_prog_OBJDUMP
   10068 if test -n "$OBJDUMP"; then
   10069   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   10070 printf "%s\n" "$OBJDUMP" >&6; }
   10071 else
   10072   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10073 printf "%s\n" "no" >&6; }
   10074 fi
   10075 
   10076 
   10077 fi
   10078 if test -z "$ac_cv_prog_OBJDUMP"; then
   10079   ac_ct_OBJDUMP=$OBJDUMP
   10080   # Extract the first word of "objdump", so it can be a program name with args.
   10081 set dummy objdump; ac_word=$2
   10082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10083 printf %s "checking for $ac_word... " >&6; }
   10084 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   10085 then :
   10086   printf %s "(cached) " >&6
   10087 else case e in #(
   10088   e) if test -n "$ac_ct_OBJDUMP"; then
   10089   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   10090 else
   10091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10092 for as_dir in $PATH
   10093 do
   10094   IFS=$as_save_IFS
   10095   case $as_dir in #(((
   10096     '') as_dir=./ ;;
   10097     */) ;;
   10098     *) as_dir=$as_dir/ ;;
   10099   esac
   10100     for ac_exec_ext in '' $ac_executable_extensions; do
   10101   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10102     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   10103     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10104     break 2
   10105   fi
   10106 done
   10107   done
   10108 IFS=$as_save_IFS
   10109 
   10110 fi ;;
   10111 esac
   10112 fi
   10113 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   10114 if test -n "$ac_ct_OBJDUMP"; then
   10115   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   10116 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   10117 else
   10118   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10119 printf "%s\n" "no" >&6; }
   10120 fi
   10121 
   10122   if test "x$ac_ct_OBJDUMP" = x; then
   10123     OBJDUMP="false"
   10124   else
   10125     case $cross_compiling:$ac_tool_warned in
   10126 yes:)
   10127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10128 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10129 ac_tool_warned=yes ;;
   10130 esac
   10131     OBJDUMP=$ac_ct_OBJDUMP
   10132   fi
   10133 else
   10134   OBJDUMP="$ac_cv_prog_OBJDUMP"
   10135 fi
   10136 
   10137 test -z "$OBJDUMP" && OBJDUMP=objdump
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   10148 printf %s "checking how to recognize dependent libraries... " >&6; }
   10149 if test ${lt_cv_deplibs_check_method+y}
   10150 then :
   10151   printf %s "(cached) " >&6
   10152 else case e in #(
   10153   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   10154 lt_cv_file_magic_test_file=
   10155 lt_cv_deplibs_check_method='unknown'
   10156 # Need to set the preceding variable on all platforms that support
   10157 # interlibrary dependencies.
   10158 # 'none' -- dependencies not supported.
   10159 # 'unknown' -- same as none, but documents that we really don't know.
   10160 # 'pass_all' -- all dependencies passed with no checks.
   10161 # 'file_magic [[regex]]' -- check by looking for files in library path
   10162 # that responds to the $file_magic_cmd with a given extended regex.
   10163 # If you have 'file' or equivalent on your system and you're not sure
   10164 # whether 'pass_all' will *always* work, you probably want this one.
   10165 
   10166 case $host_os in
   10167 aix[4-9]*)
   10168   lt_cv_deplibs_check_method=pass_all
   10169   ;;
   10170 
   10171 beos*)
   10172   lt_cv_deplibs_check_method=pass_all
   10173   ;;
   10174 
   10175 bsdi[45]*)
   10176   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   10177   lt_cv_file_magic_cmd='$FILECMD -L'
   10178   lt_cv_file_magic_test_file=/shlib/libc.so
   10179   ;;
   10180 
   10181 cygwin*)
   10182   # func_win32_libid is a shell function defined in ltmain.sh
   10183   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   10184   lt_cv_file_magic_cmd='func_win32_libid'
   10185   ;;
   10186 
   10187 mingw* | windows* | pw32*)
   10188   # Base MSYS/MinGW do not provide the 'file' command needed by
   10189   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   10190   # unless we find 'file', for example because we are cross-compiling.
   10191   if ( file / ) >/dev/null 2>&1; then
   10192     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   10193     lt_cv_file_magic_cmd='func_win32_libid'
   10194   else
   10195     # Keep this pattern in sync with the one in func_win32_libid.
   10196     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
   10197     lt_cv_file_magic_cmd='$OBJDUMP -f'
   10198   fi
   10199   ;;
   10200 
   10201 cegcc*)
   10202   # use the weaker test based on 'objdump'. See mingw*.
   10203   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   10204   lt_cv_file_magic_cmd='$OBJDUMP -f'
   10205   ;;
   10206 
   10207 darwin* | rhapsody*)
   10208   lt_cv_deplibs_check_method=pass_all
   10209   ;;
   10210 
   10211 freebsd* | dragonfly* | midnightbsd*)
   10212   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   10213     case $host_cpu in
   10214     i*86 )
   10215       # Not sure whether the presence of OpenBSD here was a mistake.
   10216       # Let's accept both of them until this is cleared up.
   10217       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   10218       lt_cv_file_magic_cmd=$FILECMD
   10219       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   10220       ;;
   10221     esac
   10222   else
   10223     lt_cv_deplibs_check_method=pass_all
   10224   fi
   10225   ;;
   10226 
   10227 haiku*)
   10228   lt_cv_deplibs_check_method=pass_all
   10229   ;;
   10230 
   10231 hpux10.20* | hpux11*)
   10232   lt_cv_file_magic_cmd=$FILECMD
   10233   case $host_cpu in
   10234   ia64*)
   10235     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   10236     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   10237     ;;
   10238   hppa*64*)
   10239     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]'
   10240     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   10241     ;;
   10242   *)
   10243     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   10244     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   10245     ;;
   10246   esac
   10247   ;;
   10248 
   10249 interix[3-9]*)
   10250   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   10251   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   10252   ;;
   10253 
   10254 irix5* | irix6* | nonstopux*)
   10255   case $LD in
   10256   *-32|*"-32 ") libmagic=32-bit;;
   10257   *-n32|*"-n32 ") libmagic=N32;;
   10258   *-64|*"-64 ") libmagic=64-bit;;
   10259   *) libmagic=never-match;;
   10260   esac
   10261   lt_cv_deplibs_check_method=pass_all
   10262   ;;
   10263 
   10264 # This must be glibc/ELF.
   10265 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   10266   lt_cv_deplibs_check_method=pass_all
   10267   ;;
   10268 
   10269 *-mlibc)
   10270   lt_cv_deplibs_check_method=pass_all
   10271   ;;
   10272 
   10273 netbsd* | netbsdelf*-gnu)
   10274   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   10275     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   10276   else
   10277     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   10278   fi
   10279   ;;
   10280 
   10281 newos6*)
   10282   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   10283   lt_cv_file_magic_cmd=$FILECMD
   10284   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   10285   ;;
   10286 
   10287 *nto* | *qnx*)
   10288   lt_cv_deplibs_check_method=pass_all
   10289   ;;
   10290 
   10291 openbsd*)
   10292   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10293     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   10294   else
   10295     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   10296   fi
   10297   ;;
   10298 
   10299 osf3* | osf4* | osf5*)
   10300   lt_cv_deplibs_check_method=pass_all
   10301   ;;
   10302 
   10303 rdos*)
   10304   lt_cv_deplibs_check_method=pass_all
   10305   ;;
   10306 
   10307 serenity*)
   10308   lt_cv_deplibs_check_method=pass_all
   10309   ;;
   10310 
   10311 solaris*)
   10312   lt_cv_deplibs_check_method=pass_all
   10313   ;;
   10314 
   10315 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10316   lt_cv_deplibs_check_method=pass_all
   10317   ;;
   10318 
   10319 sysv4 | sysv4.3*)
   10320   case $host_vendor in
   10321   motorola)
   10322     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]'
   10323     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   10324     ;;
   10325   ncr)
   10326     lt_cv_deplibs_check_method=pass_all
   10327     ;;
   10328   sequent)
   10329     lt_cv_file_magic_cmd='/bin/file'
   10330     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   10331     ;;
   10332   sni)
   10333     lt_cv_file_magic_cmd='/bin/file'
   10334     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   10335     lt_cv_file_magic_test_file=/lib/libc.so
   10336     ;;
   10337   siemens)
   10338     lt_cv_deplibs_check_method=pass_all
   10339     ;;
   10340   pc)
   10341     lt_cv_deplibs_check_method=pass_all
   10342     ;;
   10343   esac
   10344   ;;
   10345 
   10346 tpf*)
   10347   lt_cv_deplibs_check_method=pass_all
   10348   ;;
   10349 os2*)
   10350   lt_cv_deplibs_check_method=pass_all
   10351   ;;
   10352 esac
   10353  ;;
   10354 esac
   10355 fi
   10356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   10357 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   10358 
   10359 file_magic_glob=
   10360 want_nocaseglob=no
   10361 if test "$build" = "$host"; then
   10362   case $host_os in
   10363   mingw* | windows* | pw32*)
   10364     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   10365       want_nocaseglob=yes
   10366     else
   10367       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   10368     fi
   10369     ;;
   10370   esac
   10371 fi
   10372 
   10373 file_magic_cmd=$lt_cv_file_magic_cmd
   10374 deplibs_check_method=$lt_cv_deplibs_check_method
   10375 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 
   10394 
   10395 
   10396 
   10397 
   10398 if test -n "$ac_tool_prefix"; then
   10399   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   10400 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   10401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10402 printf %s "checking for $ac_word... " >&6; }
   10403 if test ${ac_cv_prog_DLLTOOL+y}
   10404 then :
   10405   printf %s "(cached) " >&6
   10406 else case e in #(
   10407   e) if test -n "$DLLTOOL"; then
   10408   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   10409 else
   10410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10411 for as_dir in $PATH
   10412 do
   10413   IFS=$as_save_IFS
   10414   case $as_dir in #(((
   10415     '') as_dir=./ ;;
   10416     */) ;;
   10417     *) as_dir=$as_dir/ ;;
   10418   esac
   10419     for ac_exec_ext in '' $ac_executable_extensions; do
   10420   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10421     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   10422     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10423     break 2
   10424   fi
   10425 done
   10426   done
   10427 IFS=$as_save_IFS
   10428 
   10429 fi ;;
   10430 esac
   10431 fi
   10432 DLLTOOL=$ac_cv_prog_DLLTOOL
   10433 if test -n "$DLLTOOL"; then
   10434   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   10435 printf "%s\n" "$DLLTOOL" >&6; }
   10436 else
   10437   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10438 printf "%s\n" "no" >&6; }
   10439 fi
   10440 
   10441 
   10442 fi
   10443 if test -z "$ac_cv_prog_DLLTOOL"; then
   10444   ac_ct_DLLTOOL=$DLLTOOL
   10445   # Extract the first word of "dlltool", so it can be a program name with args.
   10446 set dummy dlltool; ac_word=$2
   10447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10448 printf %s "checking for $ac_word... " >&6; }
   10449 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   10450 then :
   10451   printf %s "(cached) " >&6
   10452 else case e in #(
   10453   e) if test -n "$ac_ct_DLLTOOL"; then
   10454   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   10455 else
   10456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10457 for as_dir in $PATH
   10458 do
   10459   IFS=$as_save_IFS
   10460   case $as_dir in #(((
   10461     '') as_dir=./ ;;
   10462     */) ;;
   10463     *) as_dir=$as_dir/ ;;
   10464   esac
   10465     for ac_exec_ext in '' $ac_executable_extensions; do
   10466   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10467     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   10468     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10469     break 2
   10470   fi
   10471 done
   10472   done
   10473 IFS=$as_save_IFS
   10474 
   10475 fi ;;
   10476 esac
   10477 fi
   10478 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   10479 if test -n "$ac_ct_DLLTOOL"; then
   10480   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   10481 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   10482 else
   10483   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10484 printf "%s\n" "no" >&6; }
   10485 fi
   10486 
   10487   if test "x$ac_ct_DLLTOOL" = x; then
   10488     DLLTOOL="false"
   10489   else
   10490     case $cross_compiling:$ac_tool_warned in
   10491 yes:)
   10492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10493 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10494 ac_tool_warned=yes ;;
   10495 esac
   10496     DLLTOOL=$ac_ct_DLLTOOL
   10497   fi
   10498 else
   10499   DLLTOOL="$ac_cv_prog_DLLTOOL"
   10500 fi
   10501 
   10502 test -z "$DLLTOOL" && DLLTOOL=dlltool
   10503 
   10504 
   10505 
   10506 
   10507 
   10508 
   10509 
   10510 
   10511 
   10512 
   10513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   10514 printf %s "checking how to associate runtime and link libraries... " >&6; }
   10515 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   10516 then :
   10517   printf %s "(cached) " >&6
   10518 else case e in #(
   10519   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   10520 
   10521 case $host_os in
   10522 cygwin* | mingw* | windows* | pw32* | cegcc*)
   10523   # two different shell functions defined in ltmain.sh;
   10524   # decide which one to use based on capabilities of $DLLTOOL
   10525   case `$DLLTOOL --help 2>&1` in
   10526   *--identify-strict*)
   10527     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   10528     ;;
   10529   *)
   10530     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   10531     ;;
   10532   esac
   10533   ;;
   10534 *)
   10535   # fallback: assume linklib IS sharedlib
   10536   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   10537   ;;
   10538 esac
   10539  ;;
   10540 esac
   10541 fi
   10542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   10543 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   10544 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   10545 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   10546 
   10547 
   10548 
   10549 
   10550 
   10551 
   10552 
   10553 if test -n "$ac_tool_prefix"; then
   10554   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   10555 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   10556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10557 printf %s "checking for $ac_word... " >&6; }
   10558 if test ${ac_cv_prog_RANLIB+y}
   10559 then :
   10560   printf %s "(cached) " >&6
   10561 else case e in #(
   10562   e) if test -n "$RANLIB"; then
   10563   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   10564 else
   10565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10566 for as_dir in $PATH
   10567 do
   10568   IFS=$as_save_IFS
   10569   case $as_dir in #(((
   10570     '') as_dir=./ ;;
   10571     */) ;;
   10572     *) as_dir=$as_dir/ ;;
   10573   esac
   10574     for ac_exec_ext in '' $ac_executable_extensions; do
   10575   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10576     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   10577     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10578     break 2
   10579   fi
   10580 done
   10581   done
   10582 IFS=$as_save_IFS
   10583 
   10584 fi ;;
   10585 esac
   10586 fi
   10587 RANLIB=$ac_cv_prog_RANLIB
   10588 if test -n "$RANLIB"; then
   10589   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   10590 printf "%s\n" "$RANLIB" >&6; }
   10591 else
   10592   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10593 printf "%s\n" "no" >&6; }
   10594 fi
   10595 
   10596 
   10597 fi
   10598 if test -z "$ac_cv_prog_RANLIB"; then
   10599   ac_ct_RANLIB=$RANLIB
   10600   # Extract the first word of "ranlib", so it can be a program name with args.
   10601 set dummy ranlib; ac_word=$2
   10602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10603 printf %s "checking for $ac_word... " >&6; }
   10604 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   10605 then :
   10606   printf %s "(cached) " >&6
   10607 else case e in #(
   10608   e) if test -n "$ac_ct_RANLIB"; then
   10609   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   10610 else
   10611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10612 for as_dir in $PATH
   10613 do
   10614   IFS=$as_save_IFS
   10615   case $as_dir in #(((
   10616     '') as_dir=./ ;;
   10617     */) ;;
   10618     *) as_dir=$as_dir/ ;;
   10619   esac
   10620     for ac_exec_ext in '' $ac_executable_extensions; do
   10621   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10622     ac_cv_prog_ac_ct_RANLIB="ranlib"
   10623     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10624     break 2
   10625   fi
   10626 done
   10627   done
   10628 IFS=$as_save_IFS
   10629 
   10630 fi ;;
   10631 esac
   10632 fi
   10633 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   10634 if test -n "$ac_ct_RANLIB"; then
   10635   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   10636 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   10637 else
   10638   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10639 printf "%s\n" "no" >&6; }
   10640 fi
   10641 
   10642   if test "x$ac_ct_RANLIB" = x; then
   10643     RANLIB=":"
   10644   else
   10645     case $cross_compiling:$ac_tool_warned in
   10646 yes:)
   10647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10648 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10649 ac_tool_warned=yes ;;
   10650 esac
   10651     RANLIB=$ac_ct_RANLIB
   10652   fi
   10653 else
   10654   RANLIB="$ac_cv_prog_RANLIB"
   10655 fi
   10656 
   10657 if test -n "$ac_tool_prefix"; then
   10658   for ac_prog in ar
   10659   do
   10660     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   10661 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   10662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10663 printf %s "checking for $ac_word... " >&6; }
   10664 if test ${ac_cv_prog_AR+y}
   10665 then :
   10666   printf %s "(cached) " >&6
   10667 else case e in #(
   10668   e) if test -n "$AR"; then
   10669   ac_cv_prog_AR="$AR" # Let the user override the test.
   10670 else
   10671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10672 for as_dir in $PATH
   10673 do
   10674   IFS=$as_save_IFS
   10675   case $as_dir in #(((
   10676     '') as_dir=./ ;;
   10677     */) ;;
   10678     *) as_dir=$as_dir/ ;;
   10679   esac
   10680     for ac_exec_ext in '' $ac_executable_extensions; do
   10681   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10682     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   10683     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10684     break 2
   10685   fi
   10686 done
   10687   done
   10688 IFS=$as_save_IFS
   10689 
   10690 fi ;;
   10691 esac
   10692 fi
   10693 AR=$ac_cv_prog_AR
   10694 if test -n "$AR"; then
   10695   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   10696 printf "%s\n" "$AR" >&6; }
   10697 else
   10698   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10699 printf "%s\n" "no" >&6; }
   10700 fi
   10701 
   10702 
   10703     test -n "$AR" && break
   10704   done
   10705 fi
   10706 if test -z "$AR"; then
   10707   ac_ct_AR=$AR
   10708   for ac_prog in ar
   10709 do
   10710   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10711 set dummy $ac_prog; ac_word=$2
   10712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10713 printf %s "checking for $ac_word... " >&6; }
   10714 if test ${ac_cv_prog_ac_ct_AR+y}
   10715 then :
   10716   printf %s "(cached) " >&6
   10717 else case e in #(
   10718   e) if test -n "$ac_ct_AR"; then
   10719   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   10720 else
   10721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10722 for as_dir in $PATH
   10723 do
   10724   IFS=$as_save_IFS
   10725   case $as_dir in #(((
   10726     '') as_dir=./ ;;
   10727     */) ;;
   10728     *) as_dir=$as_dir/ ;;
   10729   esac
   10730     for ac_exec_ext in '' $ac_executable_extensions; do
   10731   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10732     ac_cv_prog_ac_ct_AR="$ac_prog"
   10733     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10734     break 2
   10735   fi
   10736 done
   10737   done
   10738 IFS=$as_save_IFS
   10739 
   10740 fi ;;
   10741 esac
   10742 fi
   10743 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   10744 if test -n "$ac_ct_AR"; then
   10745   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   10746 printf "%s\n" "$ac_ct_AR" >&6; }
   10747 else
   10748   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10749 printf "%s\n" "no" >&6; }
   10750 fi
   10751 
   10752 
   10753   test -n "$ac_ct_AR" && break
   10754 done
   10755 
   10756   if test "x$ac_ct_AR" = x; then
   10757     AR="false"
   10758   else
   10759     case $cross_compiling:$ac_tool_warned in
   10760 yes:)
   10761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10762 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10763 ac_tool_warned=yes ;;
   10764 esac
   10765     AR=$ac_ct_AR
   10766   fi
   10767 fi
   10768 
   10769 : ${AR=ar}
   10770 
   10771 
   10772 
   10773 
   10774 
   10775 
   10776 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   10777 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   10778 # higher priority because that's what people were doing historically (setting
   10779 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   10780 # variable obsoleted/removed.
   10781 
   10782 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   10783 lt_ar_flags=$AR_FLAGS
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   10791 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   10799 printf %s "checking for archiver @FILE support... " >&6; }
   10800 if test ${lt_cv_ar_at_file+y}
   10801 then :
   10802   printf %s "(cached) " >&6
   10803 else case e in #(
   10804   e) lt_cv_ar_at_file=no
   10805    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10806 /* end confdefs.h.  */
   10807 
   10808 int
   10809 main (void)
   10810 {
   10811 
   10812   ;
   10813   return 0;
   10814 }
   10815 _ACEOF
   10816 if ac_fn_c_try_compile "$LINENO"
   10817 then :
   10818   echo conftest.$ac_objext > conftest.lst
   10819       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   10820       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   10821   (eval $lt_ar_try) 2>&5
   10822   ac_status=$?
   10823   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10824   test $ac_status = 0; }
   10825       if test 0 -eq "$ac_status"; then
   10826 	# Ensure the archiver fails upon bogus file names.
   10827 	rm -f conftest.$ac_objext libconftest.a
   10828 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   10829   (eval $lt_ar_try) 2>&5
   10830   ac_status=$?
   10831   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10832   test $ac_status = 0; }
   10833 	if test 0 -ne "$ac_status"; then
   10834           lt_cv_ar_at_file=@
   10835         fi
   10836       fi
   10837       rm -f conftest.* libconftest.a
   10838 
   10839 fi
   10840 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10841    ;;
   10842 esac
   10843 fi
   10844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   10845 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   10846 
   10847 if test no = "$lt_cv_ar_at_file"; then
   10848   archiver_list_spec=
   10849 else
   10850   archiver_list_spec=$lt_cv_ar_at_file
   10851 fi
   10852 
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 if test -n "$ac_tool_prefix"; then
   10860   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   10861 set dummy ${ac_tool_prefix}strip; ac_word=$2
   10862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10863 printf %s "checking for $ac_word... " >&6; }
   10864 if test ${ac_cv_prog_STRIP+y}
   10865 then :
   10866   printf %s "(cached) " >&6
   10867 else case e in #(
   10868   e) if test -n "$STRIP"; then
   10869   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   10870 else
   10871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10872 for as_dir in $PATH
   10873 do
   10874   IFS=$as_save_IFS
   10875   case $as_dir in #(((
   10876     '') as_dir=./ ;;
   10877     */) ;;
   10878     *) as_dir=$as_dir/ ;;
   10879   esac
   10880     for ac_exec_ext in '' $ac_executable_extensions; do
   10881   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10882     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   10883     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10884     break 2
   10885   fi
   10886 done
   10887   done
   10888 IFS=$as_save_IFS
   10889 
   10890 fi ;;
   10891 esac
   10892 fi
   10893 STRIP=$ac_cv_prog_STRIP
   10894 if test -n "$STRIP"; then
   10895   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   10896 printf "%s\n" "$STRIP" >&6; }
   10897 else
   10898   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10899 printf "%s\n" "no" >&6; }
   10900 fi
   10901 
   10902 
   10903 fi
   10904 if test -z "$ac_cv_prog_STRIP"; then
   10905   ac_ct_STRIP=$STRIP
   10906   # Extract the first word of "strip", so it can be a program name with args.
   10907 set dummy strip; ac_word=$2
   10908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10909 printf %s "checking for $ac_word... " >&6; }
   10910 if test ${ac_cv_prog_ac_ct_STRIP+y}
   10911 then :
   10912   printf %s "(cached) " >&6
   10913 else case e in #(
   10914   e) if test -n "$ac_ct_STRIP"; then
   10915   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   10916 else
   10917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10918 for as_dir in $PATH
   10919 do
   10920   IFS=$as_save_IFS
   10921   case $as_dir in #(((
   10922     '') as_dir=./ ;;
   10923     */) ;;
   10924     *) as_dir=$as_dir/ ;;
   10925   esac
   10926     for ac_exec_ext in '' $ac_executable_extensions; do
   10927   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10928     ac_cv_prog_ac_ct_STRIP="strip"
   10929     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10930     break 2
   10931   fi
   10932 done
   10933   done
   10934 IFS=$as_save_IFS
   10935 
   10936 fi ;;
   10937 esac
   10938 fi
   10939 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   10940 if test -n "$ac_ct_STRIP"; then
   10941   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   10942 printf "%s\n" "$ac_ct_STRIP" >&6; }
   10943 else
   10944   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10945 printf "%s\n" "no" >&6; }
   10946 fi
   10947 
   10948   if test "x$ac_ct_STRIP" = x; then
   10949     STRIP=":"
   10950   else
   10951     case $cross_compiling:$ac_tool_warned in
   10952 yes:)
   10953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10954 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10955 ac_tool_warned=yes ;;
   10956 esac
   10957     STRIP=$ac_ct_STRIP
   10958   fi
   10959 else
   10960   STRIP="$ac_cv_prog_STRIP"
   10961 fi
   10962 
   10963 test -z "$STRIP" && STRIP=:
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 test -z "$RANLIB" && RANLIB=:
   10972 
   10973 
   10974 
   10975 
   10976 
   10977 
   10978 # Determine commands to create old-style static archives.
   10979 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   10980 old_postinstall_cmds='chmod 644 $oldlib'
   10981 old_postuninstall_cmds=
   10982 
   10983 if test -n "$RANLIB"; then
   10984   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   10985   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   10986 fi
   10987 
   10988 case $host_os in
   10989   darwin*)
   10990     lock_old_archive_extraction=yes ;;
   10991   *)
   10992     lock_old_archive_extraction=no ;;
   10993 esac
   10994 
   10995 
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 
   11008 
   11009 
   11010 
   11011 
   11012 
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 # If no C compiler was specified, use CC.
   11034 LTCC=${LTCC-"$CC"}
   11035 
   11036 # If no C compiler flags were specified, use CFLAGS.
   11037 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11038 
   11039 # Allow CC to be a program name with arguments.
   11040 compiler=$CC
   11041 
   11042 
   11043 # Check for command to grab the raw symbol name followed by C symbol from nm.
   11044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   11045 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   11046 if test ${lt_cv_sys_global_symbol_pipe+y}
   11047 then :
   11048   printf %s "(cached) " >&6
   11049 else case e in #(
   11050   e)
   11051 # These are sane defaults that work on at least a few old systems.
   11052 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   11053 
   11054 # Character class describing NM global symbol codes.
   11055 symcode='[BCDEGRST]'
   11056 
   11057 # Regexp to match symbols that can be accessed directly from C.
   11058 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   11059 
   11060 # Define system-specific variables.
   11061 case $host_os in
   11062 aix*)
   11063   symcode='[BCDT]'
   11064   ;;
   11065 cygwin* | mingw* | windows* | pw32* | cegcc*)
   11066   symcode='[ABCDGISTW]'
   11067   ;;
   11068 hpux*)
   11069   if test ia64 = "$host_cpu"; then
   11070     symcode='[ABCDEGRST]'
   11071   fi
   11072   ;;
   11073 irix* | nonstopux*)
   11074   symcode='[BCDEGRST]'
   11075   ;;
   11076 osf*)
   11077   symcode='[BCDEGQRST]'
   11078   ;;
   11079 solaris*)
   11080   symcode='[BCDRT]'
   11081   ;;
   11082 sco3.2v5*)
   11083   symcode='[DT]'
   11084   ;;
   11085 sysv4.2uw2*)
   11086   symcode='[DT]'
   11087   ;;
   11088 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   11089   symcode='[ABDT]'
   11090   ;;
   11091 sysv4)
   11092   symcode='[DFNSTU]'
   11093   ;;
   11094 esac
   11095 
   11096 # If we're using GNU nm, then use its standard symbol codes.
   11097 case `$NM -V 2>&1` in
   11098 *GNU* | *'with BFD'*)
   11099   symcode='[ABCDGIRSTW]' ;;
   11100 esac
   11101 
   11102 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   11103   # Gets list of data symbols to import.
   11104   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   11105   # Adjust the below global symbol transforms to fixup imported variables.
   11106   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   11107   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   11108   lt_c_name_lib_hook="\
   11109   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   11110   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   11111 else
   11112   # Disable hooks by default.
   11113   lt_cv_sys_global_symbol_to_import=
   11114   lt_cdecl_hook=
   11115   lt_c_name_hook=
   11116   lt_c_name_lib_hook=
   11117 fi
   11118 
   11119 # Transform an extracted symbol line into a proper C declaration.
   11120 # Some systems (esp. on ia64) link data and code symbols differently,
   11121 # so use this general approach.
   11122 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   11123 $lt_cdecl_hook\
   11124 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   11125 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   11126 
   11127 # Transform an extracted symbol line into symbol name and symbol address
   11128 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   11129 $lt_c_name_hook\
   11130 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   11131 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   11132 
   11133 # Transform an extracted symbol line into symbol name with lib prefix and
   11134 # symbol address.
   11135 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   11136 $lt_c_name_lib_hook\
   11137 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   11138 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   11139 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   11140 
   11141 # Handle CRLF in mingw tool chain
   11142 opt_cr=
   11143 case $build_os in
   11144 mingw* | windows*)
   11145   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   11146   ;;
   11147 esac
   11148 
   11149 # Try without a prefix underscore, then with it.
   11150 for ac_symprfx in "" "_"; do
   11151 
   11152   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   11153   symxfrm="\\1 $ac_symprfx\\2 \\2"
   11154 
   11155   # Write the raw and C identifiers.
   11156   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   11157     # Fake it for dumpbin and say T for any non-static function,
   11158     # D for any global variable and I for any imported variable.
   11159     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   11160     # which start with @ or ?.
   11161     lt_cv_sys_global_symbol_pipe="$AWK '"\
   11162 "     {last_section=section; section=\$ 3};"\
   11163 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   11164 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   11165 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   11166 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   11167 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   11168 "     \$ 0!~/External *\|/{next};"\
   11169 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   11170 "     {if(hide[section]) next};"\
   11171 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   11172 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   11173 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   11174 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   11175 "     ' prfx=^$ac_symprfx"
   11176   else
   11177     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   11178   fi
   11179   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   11180 
   11181   # Check to see that the pipe works correctly.
   11182   pipe_works=no
   11183 
   11184   rm -f conftest*
   11185   cat > conftest.$ac_ext <<_LT_EOF
   11186 #ifdef __cplusplus
   11187 extern "C" {
   11188 #endif
   11189 char nm_test_var;
   11190 void nm_test_func(void);
   11191 void nm_test_func(void){}
   11192 #ifdef __cplusplus
   11193 }
   11194 #endif
   11195 int main(void){nm_test_var='a';nm_test_func();return(0);}
   11196 _LT_EOF
   11197 
   11198   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11199   (eval $ac_compile) 2>&5
   11200   ac_status=$?
   11201   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11202   test $ac_status = 0; }; then
   11203     # Now try to grab the symbols.
   11204     nlist=conftest.nm
   11205     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   11206     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   11207       # Try sorting and uniquifying the output.
   11208       if sort "$nlist" | uniq > "$nlist"T; then
   11209 	mv -f "$nlist"T "$nlist"
   11210       else
   11211 	rm -f "$nlist"T
   11212       fi
   11213 
   11214       # Make sure that we snagged all the symbols we need.
   11215       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   11216 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   11217 	  cat <<_LT_EOF > conftest.$ac_ext
   11218 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   11219 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   11220 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   11221    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   11222 # define LT_DLSYM_CONST
   11223 #elif defined __osf__
   11224 /* This system does not cope well with relocations in const data.  */
   11225 # define LT_DLSYM_CONST
   11226 #else
   11227 # define LT_DLSYM_CONST const
   11228 #endif
   11229 
   11230 #ifdef __cplusplus
   11231 extern "C" {
   11232 #endif
   11233 
   11234 _LT_EOF
   11235 	  # Now generate the symbol file.
   11236 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   11237 
   11238 	  cat <<_LT_EOF >> conftest.$ac_ext
   11239 
   11240 /* The mapping between symbol names and symbols.  */
   11241 LT_DLSYM_CONST struct {
   11242   const char *name;
   11243   void       *address;
   11244 }
   11245 lt__PROGRAM__LTX_preloaded_symbols[] =
   11246 {
   11247   { "@PROGRAM@", (void *) 0 },
   11248 _LT_EOF
   11249 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   11250 	  cat <<\_LT_EOF >> conftest.$ac_ext
   11251   {0, (void *) 0}
   11252 };
   11253 
   11254 /* This works around a problem in FreeBSD linker */
   11255 #ifdef FREEBSD_WORKAROUND
   11256 static const void *lt_preloaded_setup() {
   11257   return lt__PROGRAM__LTX_preloaded_symbols;
   11258 }
   11259 #endif
   11260 
   11261 #ifdef __cplusplus
   11262 }
   11263 #endif
   11264 _LT_EOF
   11265 	  # Now try linking the two files.
   11266 	  mv conftest.$ac_objext conftstm.$ac_objext
   11267 	  lt_globsym_save_LIBS=$LIBS
   11268 	  lt_globsym_save_CFLAGS=$CFLAGS
   11269 	  LIBS=conftstm.$ac_objext
   11270 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   11271 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11272   (eval $ac_link) 2>&5
   11273   ac_status=$?
   11274   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11275   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   11276 	    pipe_works=yes
   11277 	  fi
   11278 	  LIBS=$lt_globsym_save_LIBS
   11279 	  CFLAGS=$lt_globsym_save_CFLAGS
   11280 	else
   11281 	  echo "cannot find nm_test_func in $nlist" >&5
   11282 	fi
   11283       else
   11284 	echo "cannot find nm_test_var in $nlist" >&5
   11285       fi
   11286     else
   11287       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   11288     fi
   11289   else
   11290     echo "$progname: failed program was:" >&5
   11291     cat conftest.$ac_ext >&5
   11292   fi
   11293   rm -rf conftest* conftst*
   11294 
   11295   # Do not use the global_symbol_pipe unless it works.
   11296   if test yes = "$pipe_works"; then
   11297     break
   11298   else
   11299     lt_cv_sys_global_symbol_pipe=
   11300   fi
   11301 done
   11302  ;;
   11303 esac
   11304 fi
   11305 
   11306 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   11307   lt_cv_sys_global_symbol_to_cdecl=
   11308 fi
   11309 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   11310   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   11311 printf "%s\n" "failed" >&6; }
   11312 else
   11313   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   11314 printf "%s\n" "ok" >&6; }
   11315 fi
   11316 
   11317 # Response file support.
   11318 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   11319   nm_file_list_spec='@'
   11320 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   11321   nm_file_list_spec='@'
   11322 fi
   11323 
   11324 
   11325 
   11326 
   11327 
   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 
   11359 
   11360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   11361 printf %s "checking for sysroot... " >&6; }
   11362 
   11363 # Check whether --with-sysroot was given.
   11364 if test ${with_sysroot+y}
   11365 then :
   11366   withval=$with_sysroot;
   11367 else case e in #(
   11368   e) with_sysroot=no ;;
   11369 esac
   11370 fi
   11371 
   11372 
   11373 lt_sysroot=
   11374 case $with_sysroot in #(
   11375  yes)
   11376    if test yes = "$GCC"; then
   11377      # Trim trailing / since we'll always append absolute paths and we want
   11378      # to avoid //, if only for less confusing output for the user.
   11379      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
   11380    fi
   11381    ;; #(
   11382  /*)
   11383    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   11384    ;; #(
   11385  no|'')
   11386    ;; #(
   11387  *)
   11388    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   11389 printf "%s\n" "$with_sysroot" >&6; }
   11390    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   11391    ;;
   11392 esac
   11393 
   11394  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   11395 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   11396 
   11397 
   11398 
   11399 
   11400 
   11401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   11402 printf %s "checking for a working dd... " >&6; }
   11403 if test ${ac_cv_path_lt_DD+y}
   11404 then :
   11405   printf %s "(cached) " >&6
   11406 else case e in #(
   11407   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   11408 cat conftest.i conftest.i >conftest2.i
   11409 : ${lt_DD:=$DD}
   11410 if test -z "$lt_DD"; then
   11411   ac_path_lt_DD_found=false
   11412   # Loop through the user's path and test for each of PROGNAME-LIST
   11413   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11414 for as_dir in $PATH
   11415 do
   11416   IFS=$as_save_IFS
   11417   case $as_dir in #(((
   11418     '') as_dir=./ ;;
   11419     */) ;;
   11420     *) as_dir=$as_dir/ ;;
   11421   esac
   11422     for ac_prog in dd
   11423    do
   11424     for ac_exec_ext in '' $ac_executable_extensions; do
   11425       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   11426       as_fn_executable_p "$ac_path_lt_DD" || continue
   11427 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   11428   cmp -s conftest.i conftest.out \
   11429   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   11430 fi
   11431       $ac_path_lt_DD_found && break 3
   11432     done
   11433   done
   11434   done
   11435 IFS=$as_save_IFS
   11436   if test -z "$ac_cv_path_lt_DD"; then
   11437     :
   11438   fi
   11439 else
   11440   ac_cv_path_lt_DD=$lt_DD
   11441 fi
   11442 
   11443 rm -f conftest.i conftest2.i conftest.out ;;
   11444 esac
   11445 fi
   11446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   11447 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   11448 
   11449 
   11450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   11451 printf %s "checking how to truncate binary pipes... " >&6; }
   11452 if test ${lt_cv_truncate_bin+y}
   11453 then :
   11454   printf %s "(cached) " >&6
   11455 else case e in #(
   11456   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   11457 cat conftest.i conftest.i >conftest2.i
   11458 lt_cv_truncate_bin=
   11459 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   11460   cmp -s conftest.i conftest.out \
   11461   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   11462 fi
   11463 rm -f conftest.i conftest2.i conftest.out
   11464 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   11465 esac
   11466 fi
   11467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   11468 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   11469 
   11470 
   11471 
   11472 
   11473 
   11474 
   11475 
   11476 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   11477 func_cc_basename ()
   11478 {
   11479     for cc_temp in $*""; do
   11480       case $cc_temp in
   11481         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11482         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11483         \-*) ;;
   11484         *) break;;
   11485       esac
   11486     done
   11487     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   11488 }
   11489 
   11490 # Check whether --enable-libtool-lock was given.
   11491 if test ${enable_libtool_lock+y}
   11492 then :
   11493   enableval=$enable_libtool_lock;
   11494 fi
   11495 
   11496 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   11497 
   11498 # Some flags need to be propagated to the compiler or linker for good
   11499 # libtool support.
   11500 case $host in
   11501 ia64-*-hpux*)
   11502   # Find out what ABI is being produced by ac_compile, and set mode
   11503   # options accordingly.
   11504   echo 'int i;' > conftest.$ac_ext
   11505   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11506   (eval $ac_compile) 2>&5
   11507   ac_status=$?
   11508   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11509   test $ac_status = 0; }; then
   11510     case `$FILECMD conftest.$ac_objext` in
   11511       *ELF-32*)
   11512 	HPUX_IA64_MODE=32
   11513 	;;
   11514       *ELF-64*)
   11515 	HPUX_IA64_MODE=64
   11516 	;;
   11517     esac
   11518   fi
   11519   rm -rf conftest*
   11520   ;;
   11521 *-*-irix6*)
   11522   # Find out what ABI is being produced by ac_compile, and set linker
   11523   # options accordingly.
   11524   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   11525   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11526   (eval $ac_compile) 2>&5
   11527   ac_status=$?
   11528   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11529   test $ac_status = 0; }; then
   11530     if test yes = "$lt_cv_prog_gnu_ld"; then
   11531       case `$FILECMD conftest.$ac_objext` in
   11532 	*32-bit*)
   11533 	  LD="${LD-ld} -melf32bsmip"
   11534 	  ;;
   11535 	*N32*)
   11536 	  LD="${LD-ld} -melf32bmipn32"
   11537 	  ;;
   11538 	*64-bit*)
   11539 	  LD="${LD-ld} -melf64bmip"
   11540 	;;
   11541       esac
   11542     else
   11543       case `$FILECMD conftest.$ac_objext` in
   11544 	*32-bit*)
   11545 	  LD="${LD-ld} -32"
   11546 	  ;;
   11547 	*N32*)
   11548 	  LD="${LD-ld} -n32"
   11549 	  ;;
   11550 	*64-bit*)
   11551 	  LD="${LD-ld} -64"
   11552 	  ;;
   11553       esac
   11554     fi
   11555   fi
   11556   rm -rf conftest*
   11557   ;;
   11558 
   11559 mips64*-*linux*)
   11560   # Find out what ABI is being produced by ac_compile, and set linker
   11561   # options accordingly.
   11562   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   11563   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11564   (eval $ac_compile) 2>&5
   11565   ac_status=$?
   11566   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11567   test $ac_status = 0; }; then
   11568     emul=elf
   11569     case `$FILECMD conftest.$ac_objext` in
   11570       *32-bit*)
   11571 	emul="${emul}32"
   11572 	;;
   11573       *64-bit*)
   11574 	emul="${emul}64"
   11575 	;;
   11576     esac
   11577     case `$FILECMD conftest.$ac_objext` in
   11578       *MSB*)
   11579 	emul="${emul}btsmip"
   11580 	;;
   11581       *LSB*)
   11582 	emul="${emul}ltsmip"
   11583 	;;
   11584     esac
   11585     case `$FILECMD conftest.$ac_objext` in
   11586       *N32*)
   11587 	emul="${emul}n32"
   11588 	;;
   11589     esac
   11590     LD="${LD-ld} -m $emul"
   11591   fi
   11592   rm -rf conftest*
   11593   ;;
   11594 
   11595 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   11596 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
   11597   # Find out what ABI is being produced by ac_compile, and set linker
   11598   # options accordingly.  Note that the listed cases only cover the
   11599   # situations where additional linker options are needed (such as when
   11600   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   11601   # vice versa); the common cases where no linker options are needed do
   11602   # not appear in the list.
   11603   echo 'int i;' > conftest.$ac_ext
   11604   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11605   (eval $ac_compile) 2>&5
   11606   ac_status=$?
   11607   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11608   test $ac_status = 0; }; then
   11609     case `$FILECMD conftest.o` in
   11610       *32-bit*)
   11611 	case $host in
   11612 	  x86_64-*kfreebsd*-gnu)
   11613 	    LD="${LD-ld} -m elf_i386_fbsd"
   11614 	    ;;
   11615 	  x86_64-*linux*|x86_64-gnu*)
   11616 	    case `$FILECMD conftest.o` in
   11617 	      *x86-64*)
   11618 		LD="${LD-ld} -m elf32_x86_64"
   11619 		;;
   11620 	      *)
   11621 		LD="${LD-ld} -m elf_i386"
   11622 		;;
   11623 	    esac
   11624 	    ;;
   11625 	  powerpc64le-*linux*)
   11626 	    LD="${LD-ld} -m elf32lppclinux"
   11627 	    ;;
   11628 	  powerpc64-*linux*)
   11629 	    LD="${LD-ld} -m elf32ppclinux"
   11630 	    ;;
   11631 	  s390x-*linux*)
   11632 	    LD="${LD-ld} -m elf_s390"
   11633 	    ;;
   11634 	  sparc64-*linux*)
   11635 	    LD="${LD-ld} -m elf32_sparc"
   11636 	    ;;
   11637 	esac
   11638 	;;
   11639       *64-bit*)
   11640 	case $host in
   11641 	  x86_64-*kfreebsd*-gnu)
   11642 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   11643 	    ;;
   11644 	  x86_64-*linux*|x86_64-gnu*)
   11645 	    LD="${LD-ld} -m elf_x86_64"
   11646 	    ;;
   11647 	  powerpcle-*linux*)
   11648 	    LD="${LD-ld} -m elf64lppc"
   11649 	    ;;
   11650 	  powerpc-*linux*)
   11651 	    LD="${LD-ld} -m elf64ppc"
   11652 	    ;;
   11653 	  s390*-*linux*|s390*-*tpf*)
   11654 	    LD="${LD-ld} -m elf64_s390"
   11655 	    ;;
   11656 	  sparc*-*linux*)
   11657 	    LD="${LD-ld} -m elf64_sparc"
   11658 	    ;;
   11659 	esac
   11660 	;;
   11661     esac
   11662   fi
   11663   rm -rf conftest*
   11664   ;;
   11665 
   11666 *-*-sco3.2v5*)
   11667   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   11668   SAVE_CFLAGS=$CFLAGS
   11669   CFLAGS="$CFLAGS -belf"
   11670   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   11671 printf %s "checking whether the C compiler needs -belf... " >&6; }
   11672 if test ${lt_cv_cc_needs_belf+y}
   11673 then :
   11674   printf %s "(cached) " >&6
   11675 else case e in #(
   11676   e) ac_ext=c
   11677 ac_cpp='$CPP $CPPFLAGS'
   11678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11681 
   11682      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11683 /* end confdefs.h.  */
   11684 
   11685 int
   11686 main (void)
   11687 {
   11688 
   11689   ;
   11690   return 0;
   11691 }
   11692 _ACEOF
   11693 if ac_fn_c_try_link "$LINENO"
   11694 then :
   11695   lt_cv_cc_needs_belf=yes
   11696 else case e in #(
   11697   e) lt_cv_cc_needs_belf=no ;;
   11698 esac
   11699 fi
   11700 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11701     conftest$ac_exeext conftest.$ac_ext
   11702      ac_ext=c
   11703 ac_cpp='$CPP $CPPFLAGS'
   11704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11707  ;;
   11708 esac
   11709 fi
   11710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   11711 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   11712   if test yes != "$lt_cv_cc_needs_belf"; then
   11713     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   11714     CFLAGS=$SAVE_CFLAGS
   11715   fi
   11716   ;;
   11717 *-*solaris*)
   11718   # Find out what ABI is being produced by ac_compile, and set linker
   11719   # options accordingly.
   11720   echo 'int i;' > conftest.$ac_ext
   11721   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11722   (eval $ac_compile) 2>&5
   11723   ac_status=$?
   11724   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11725   test $ac_status = 0; }; then
   11726     case `$FILECMD conftest.o` in
   11727     *64-bit*)
   11728       case $lt_cv_prog_gnu_ld in
   11729       yes*)
   11730         case $host in
   11731         i?86-*-solaris*|x86_64-*-solaris*)
   11732           LD="${LD-ld} -m elf_x86_64"
   11733           ;;
   11734         sparc*-*-solaris*)
   11735           LD="${LD-ld} -m elf64_sparc"
   11736           ;;
   11737         esac
   11738         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   11739         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   11740           LD=${LD-ld}_sol2
   11741         fi
   11742         ;;
   11743       *)
   11744 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   11745 	  LD="${LD-ld} -64"
   11746 	fi
   11747 	;;
   11748       esac
   11749       ;;
   11750     esac
   11751   fi
   11752   rm -rf conftest*
   11753   ;;
   11754 esac
   11755 
   11756 need_locks=$enable_libtool_lock
   11757 
   11758 if test -n "$ac_tool_prefix"; then
   11759   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   11760 set dummy ${ac_tool_prefix}mt; ac_word=$2
   11761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11762 printf %s "checking for $ac_word... " >&6; }
   11763 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   11764 then :
   11765   printf %s "(cached) " >&6
   11766 else case e in #(
   11767   e) if test -n "$MANIFEST_TOOL"; then
   11768   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   11769 else
   11770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11771 for as_dir in $PATH
   11772 do
   11773   IFS=$as_save_IFS
   11774   case $as_dir in #(((
   11775     '') as_dir=./ ;;
   11776     */) ;;
   11777     *) as_dir=$as_dir/ ;;
   11778   esac
   11779     for ac_exec_ext in '' $ac_executable_extensions; do
   11780   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11781     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   11782     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11783     break 2
   11784   fi
   11785 done
   11786   done
   11787 IFS=$as_save_IFS
   11788 
   11789 fi ;;
   11790 esac
   11791 fi
   11792 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   11793 if test -n "$MANIFEST_TOOL"; then
   11794   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   11795 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   11796 else
   11797   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11798 printf "%s\n" "no" >&6; }
   11799 fi
   11800 
   11801 
   11802 fi
   11803 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   11804   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   11805   # Extract the first word of "mt", so it can be a program name with args.
   11806 set dummy mt; ac_word=$2
   11807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11808 printf %s "checking for $ac_word... " >&6; }
   11809 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   11810 then :
   11811   printf %s "(cached) " >&6
   11812 else case e in #(
   11813   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   11814   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   11815 else
   11816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11817 for as_dir in $PATH
   11818 do
   11819   IFS=$as_save_IFS
   11820   case $as_dir in #(((
   11821     '') as_dir=./ ;;
   11822     */) ;;
   11823     *) as_dir=$as_dir/ ;;
   11824   esac
   11825     for ac_exec_ext in '' $ac_executable_extensions; do
   11826   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11827     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   11828     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11829     break 2
   11830   fi
   11831 done
   11832   done
   11833 IFS=$as_save_IFS
   11834 
   11835 fi ;;
   11836 esac
   11837 fi
   11838 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   11839 if test -n "$ac_ct_MANIFEST_TOOL"; then
   11840   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   11841 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   11842 else
   11843   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11844 printf "%s\n" "no" >&6; }
   11845 fi
   11846 
   11847   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   11848     MANIFEST_TOOL=":"
   11849   else
   11850     case $cross_compiling:$ac_tool_warned in
   11851 yes:)
   11852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11853 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11854 ac_tool_warned=yes ;;
   11855 esac
   11856     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   11857   fi
   11858 else
   11859   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   11860 fi
   11861 
   11862 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   11863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   11864 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   11865 if test ${lt_cv_path_manifest_tool+y}
   11866 then :
   11867   printf %s "(cached) " >&6
   11868 else case e in #(
   11869   e) lt_cv_path_manifest_tool=no
   11870   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   11871   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   11872   cat conftest.err >&5
   11873   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   11874     lt_cv_path_manifest_tool=yes
   11875   fi
   11876   rm -f conftest* ;;
   11877 esac
   11878 fi
   11879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
   11880 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
   11881 if test yes != "$lt_cv_path_manifest_tool"; then
   11882   MANIFEST_TOOL=:
   11883 fi
   11884 
   11885 
   11886 
   11887 
   11888 
   11889 
   11890   case $host_os in
   11891     rhapsody* | darwin*)
   11892     if test -n "$ac_tool_prefix"; then
   11893   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   11894 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   11895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11896 printf %s "checking for $ac_word... " >&6; }
   11897 if test ${ac_cv_prog_DSYMUTIL+y}
   11898 then :
   11899   printf %s "(cached) " >&6
   11900 else case e in #(
   11901   e) if test -n "$DSYMUTIL"; then
   11902   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   11903 else
   11904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11905 for as_dir in $PATH
   11906 do
   11907   IFS=$as_save_IFS
   11908   case $as_dir in #(((
   11909     '') as_dir=./ ;;
   11910     */) ;;
   11911     *) as_dir=$as_dir/ ;;
   11912   esac
   11913     for ac_exec_ext in '' $ac_executable_extensions; do
   11914   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11915     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   11916     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11917     break 2
   11918   fi
   11919 done
   11920   done
   11921 IFS=$as_save_IFS
   11922 
   11923 fi ;;
   11924 esac
   11925 fi
   11926 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   11927 if test -n "$DSYMUTIL"; then
   11928   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   11929 printf "%s\n" "$DSYMUTIL" >&6; }
   11930 else
   11931   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11932 printf "%s\n" "no" >&6; }
   11933 fi
   11934 
   11935 
   11936 fi
   11937 if test -z "$ac_cv_prog_DSYMUTIL"; then
   11938   ac_ct_DSYMUTIL=$DSYMUTIL
   11939   # Extract the first word of "dsymutil", so it can be a program name with args.
   11940 set dummy dsymutil; ac_word=$2
   11941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11942 printf %s "checking for $ac_word... " >&6; }
   11943 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   11944 then :
   11945   printf %s "(cached) " >&6
   11946 else case e in #(
   11947   e) if test -n "$ac_ct_DSYMUTIL"; then
   11948   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   11949 else
   11950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11951 for as_dir in $PATH
   11952 do
   11953   IFS=$as_save_IFS
   11954   case $as_dir in #(((
   11955     '') as_dir=./ ;;
   11956     */) ;;
   11957     *) as_dir=$as_dir/ ;;
   11958   esac
   11959     for ac_exec_ext in '' $ac_executable_extensions; do
   11960   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11961     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   11962     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11963     break 2
   11964   fi
   11965 done
   11966   done
   11967 IFS=$as_save_IFS
   11968 
   11969 fi ;;
   11970 esac
   11971 fi
   11972 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   11973 if test -n "$ac_ct_DSYMUTIL"; then
   11974   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   11975 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   11976 else
   11977   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11978 printf "%s\n" "no" >&6; }
   11979 fi
   11980 
   11981   if test "x$ac_ct_DSYMUTIL" = x; then
   11982     DSYMUTIL=":"
   11983   else
   11984     case $cross_compiling:$ac_tool_warned in
   11985 yes:)
   11986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11987 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11988 ac_tool_warned=yes ;;
   11989 esac
   11990     DSYMUTIL=$ac_ct_DSYMUTIL
   11991   fi
   11992 else
   11993   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   11994 fi
   11995 
   11996     if test -n "$ac_tool_prefix"; then
   11997   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   11998 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   11999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12000 printf %s "checking for $ac_word... " >&6; }
   12001 if test ${ac_cv_prog_NMEDIT+y}
   12002 then :
   12003   printf %s "(cached) " >&6
   12004 else case e in #(
   12005   e) if test -n "$NMEDIT"; then
   12006   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   12007 else
   12008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12009 for as_dir in $PATH
   12010 do
   12011   IFS=$as_save_IFS
   12012   case $as_dir in #(((
   12013     '') as_dir=./ ;;
   12014     */) ;;
   12015     *) as_dir=$as_dir/ ;;
   12016   esac
   12017     for ac_exec_ext in '' $ac_executable_extensions; do
   12018   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12019     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   12020     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12021     break 2
   12022   fi
   12023 done
   12024   done
   12025 IFS=$as_save_IFS
   12026 
   12027 fi ;;
   12028 esac
   12029 fi
   12030 NMEDIT=$ac_cv_prog_NMEDIT
   12031 if test -n "$NMEDIT"; then
   12032   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   12033 printf "%s\n" "$NMEDIT" >&6; }
   12034 else
   12035   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12036 printf "%s\n" "no" >&6; }
   12037 fi
   12038 
   12039 
   12040 fi
   12041 if test -z "$ac_cv_prog_NMEDIT"; then
   12042   ac_ct_NMEDIT=$NMEDIT
   12043   # Extract the first word of "nmedit", so it can be a program name with args.
   12044 set dummy nmedit; ac_word=$2
   12045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12046 printf %s "checking for $ac_word... " >&6; }
   12047 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   12048 then :
   12049   printf %s "(cached) " >&6
   12050 else case e in #(
   12051   e) if test -n "$ac_ct_NMEDIT"; then
   12052   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   12053 else
   12054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12055 for as_dir in $PATH
   12056 do
   12057   IFS=$as_save_IFS
   12058   case $as_dir in #(((
   12059     '') as_dir=./ ;;
   12060     */) ;;
   12061     *) as_dir=$as_dir/ ;;
   12062   esac
   12063     for ac_exec_ext in '' $ac_executable_extensions; do
   12064   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12065     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   12066     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12067     break 2
   12068   fi
   12069 done
   12070   done
   12071 IFS=$as_save_IFS
   12072 
   12073 fi ;;
   12074 esac
   12075 fi
   12076 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   12077 if test -n "$ac_ct_NMEDIT"; then
   12078   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   12079 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   12080 else
   12081   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12082 printf "%s\n" "no" >&6; }
   12083 fi
   12084 
   12085   if test "x$ac_ct_NMEDIT" = x; then
   12086     NMEDIT=":"
   12087   else
   12088     case $cross_compiling:$ac_tool_warned in
   12089 yes:)
   12090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12091 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12092 ac_tool_warned=yes ;;
   12093 esac
   12094     NMEDIT=$ac_ct_NMEDIT
   12095   fi
   12096 else
   12097   NMEDIT="$ac_cv_prog_NMEDIT"
   12098 fi
   12099 
   12100     if test -n "$ac_tool_prefix"; then
   12101   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   12102 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   12103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12104 printf %s "checking for $ac_word... " >&6; }
   12105 if test ${ac_cv_prog_LIPO+y}
   12106 then :
   12107   printf %s "(cached) " >&6
   12108 else case e in #(
   12109   e) if test -n "$LIPO"; then
   12110   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   12111 else
   12112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12113 for as_dir in $PATH
   12114 do
   12115   IFS=$as_save_IFS
   12116   case $as_dir in #(((
   12117     '') as_dir=./ ;;
   12118     */) ;;
   12119     *) as_dir=$as_dir/ ;;
   12120   esac
   12121     for ac_exec_ext in '' $ac_executable_extensions; do
   12122   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12123     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   12124     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12125     break 2
   12126   fi
   12127 done
   12128   done
   12129 IFS=$as_save_IFS
   12130 
   12131 fi ;;
   12132 esac
   12133 fi
   12134 LIPO=$ac_cv_prog_LIPO
   12135 if test -n "$LIPO"; then
   12136   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   12137 printf "%s\n" "$LIPO" >&6; }
   12138 else
   12139   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12140 printf "%s\n" "no" >&6; }
   12141 fi
   12142 
   12143 
   12144 fi
   12145 if test -z "$ac_cv_prog_LIPO"; then
   12146   ac_ct_LIPO=$LIPO
   12147   # Extract the first word of "lipo", so it can be a program name with args.
   12148 set dummy lipo; ac_word=$2
   12149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12150 printf %s "checking for $ac_word... " >&6; }
   12151 if test ${ac_cv_prog_ac_ct_LIPO+y}
   12152 then :
   12153   printf %s "(cached) " >&6
   12154 else case e in #(
   12155   e) if test -n "$ac_ct_LIPO"; then
   12156   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   12157 else
   12158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12159 for as_dir in $PATH
   12160 do
   12161   IFS=$as_save_IFS
   12162   case $as_dir in #(((
   12163     '') as_dir=./ ;;
   12164     */) ;;
   12165     *) as_dir=$as_dir/ ;;
   12166   esac
   12167     for ac_exec_ext in '' $ac_executable_extensions; do
   12168   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12169     ac_cv_prog_ac_ct_LIPO="lipo"
   12170     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12171     break 2
   12172   fi
   12173 done
   12174   done
   12175 IFS=$as_save_IFS
   12176 
   12177 fi ;;
   12178 esac
   12179 fi
   12180 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   12181 if test -n "$ac_ct_LIPO"; then
   12182   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   12183 printf "%s\n" "$ac_ct_LIPO" >&6; }
   12184 else
   12185   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12186 printf "%s\n" "no" >&6; }
   12187 fi
   12188 
   12189   if test "x$ac_ct_LIPO" = x; then
   12190     LIPO=":"
   12191   else
   12192     case $cross_compiling:$ac_tool_warned in
   12193 yes:)
   12194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12195 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12196 ac_tool_warned=yes ;;
   12197 esac
   12198     LIPO=$ac_ct_LIPO
   12199   fi
   12200 else
   12201   LIPO="$ac_cv_prog_LIPO"
   12202 fi
   12203 
   12204     if test -n "$ac_tool_prefix"; then
   12205   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   12206 set dummy ${ac_tool_prefix}otool; ac_word=$2
   12207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12208 printf %s "checking for $ac_word... " >&6; }
   12209 if test ${ac_cv_prog_OTOOL+y}
   12210 then :
   12211   printf %s "(cached) " >&6
   12212 else case e in #(
   12213   e) if test -n "$OTOOL"; then
   12214   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   12215 else
   12216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12217 for as_dir in $PATH
   12218 do
   12219   IFS=$as_save_IFS
   12220   case $as_dir in #(((
   12221     '') as_dir=./ ;;
   12222     */) ;;
   12223     *) as_dir=$as_dir/ ;;
   12224   esac
   12225     for ac_exec_ext in '' $ac_executable_extensions; do
   12226   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12227     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   12228     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12229     break 2
   12230   fi
   12231 done
   12232   done
   12233 IFS=$as_save_IFS
   12234 
   12235 fi ;;
   12236 esac
   12237 fi
   12238 OTOOL=$ac_cv_prog_OTOOL
   12239 if test -n "$OTOOL"; then
   12240   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   12241 printf "%s\n" "$OTOOL" >&6; }
   12242 else
   12243   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12244 printf "%s\n" "no" >&6; }
   12245 fi
   12246 
   12247 
   12248 fi
   12249 if test -z "$ac_cv_prog_OTOOL"; then
   12250   ac_ct_OTOOL=$OTOOL
   12251   # Extract the first word of "otool", so it can be a program name with args.
   12252 set dummy otool; ac_word=$2
   12253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12254 printf %s "checking for $ac_word... " >&6; }
   12255 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   12256 then :
   12257   printf %s "(cached) " >&6
   12258 else case e in #(
   12259   e) if test -n "$ac_ct_OTOOL"; then
   12260   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   12261 else
   12262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12263 for as_dir in $PATH
   12264 do
   12265   IFS=$as_save_IFS
   12266   case $as_dir in #(((
   12267     '') as_dir=./ ;;
   12268     */) ;;
   12269     *) as_dir=$as_dir/ ;;
   12270   esac
   12271     for ac_exec_ext in '' $ac_executable_extensions; do
   12272   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12273     ac_cv_prog_ac_ct_OTOOL="otool"
   12274     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12275     break 2
   12276   fi
   12277 done
   12278   done
   12279 IFS=$as_save_IFS
   12280 
   12281 fi ;;
   12282 esac
   12283 fi
   12284 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   12285 if test -n "$ac_ct_OTOOL"; then
   12286   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   12287 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   12288 else
   12289   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12290 printf "%s\n" "no" >&6; }
   12291 fi
   12292 
   12293   if test "x$ac_ct_OTOOL" = x; then
   12294     OTOOL=":"
   12295   else
   12296     case $cross_compiling:$ac_tool_warned in
   12297 yes:)
   12298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12299 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12300 ac_tool_warned=yes ;;
   12301 esac
   12302     OTOOL=$ac_ct_OTOOL
   12303   fi
   12304 else
   12305   OTOOL="$ac_cv_prog_OTOOL"
   12306 fi
   12307 
   12308     if test -n "$ac_tool_prefix"; then
   12309   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   12310 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   12311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12312 printf %s "checking for $ac_word... " >&6; }
   12313 if test ${ac_cv_prog_OTOOL64+y}
   12314 then :
   12315   printf %s "(cached) " >&6
   12316 else case e in #(
   12317   e) if test -n "$OTOOL64"; then
   12318   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   12319 else
   12320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12321 for as_dir in $PATH
   12322 do
   12323   IFS=$as_save_IFS
   12324   case $as_dir in #(((
   12325     '') as_dir=./ ;;
   12326     */) ;;
   12327     *) as_dir=$as_dir/ ;;
   12328   esac
   12329     for ac_exec_ext in '' $ac_executable_extensions; do
   12330   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12331     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   12332     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12333     break 2
   12334   fi
   12335 done
   12336   done
   12337 IFS=$as_save_IFS
   12338 
   12339 fi ;;
   12340 esac
   12341 fi
   12342 OTOOL64=$ac_cv_prog_OTOOL64
   12343 if test -n "$OTOOL64"; then
   12344   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   12345 printf "%s\n" "$OTOOL64" >&6; }
   12346 else
   12347   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12348 printf "%s\n" "no" >&6; }
   12349 fi
   12350 
   12351 
   12352 fi
   12353 if test -z "$ac_cv_prog_OTOOL64"; then
   12354   ac_ct_OTOOL64=$OTOOL64
   12355   # Extract the first word of "otool64", so it can be a program name with args.
   12356 set dummy otool64; ac_word=$2
   12357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12358 printf %s "checking for $ac_word... " >&6; }
   12359 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   12360 then :
   12361   printf %s "(cached) " >&6
   12362 else case e in #(
   12363   e) if test -n "$ac_ct_OTOOL64"; then
   12364   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   12365 else
   12366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12367 for as_dir in $PATH
   12368 do
   12369   IFS=$as_save_IFS
   12370   case $as_dir in #(((
   12371     '') as_dir=./ ;;
   12372     */) ;;
   12373     *) as_dir=$as_dir/ ;;
   12374   esac
   12375     for ac_exec_ext in '' $ac_executable_extensions; do
   12376   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12377     ac_cv_prog_ac_ct_OTOOL64="otool64"
   12378     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12379     break 2
   12380   fi
   12381 done
   12382   done
   12383 IFS=$as_save_IFS
   12384 
   12385 fi ;;
   12386 esac
   12387 fi
   12388 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   12389 if test -n "$ac_ct_OTOOL64"; then
   12390   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   12391 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   12392 else
   12393   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12394 printf "%s\n" "no" >&6; }
   12395 fi
   12396 
   12397   if test "x$ac_ct_OTOOL64" = x; then
   12398     OTOOL64=":"
   12399   else
   12400     case $cross_compiling:$ac_tool_warned in
   12401 yes:)
   12402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12403 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12404 ac_tool_warned=yes ;;
   12405 esac
   12406     OTOOL64=$ac_ct_OTOOL64
   12407   fi
   12408 else
   12409   OTOOL64="$ac_cv_prog_OTOOL64"
   12410 fi
   12411 
   12412 
   12413 
   12414 
   12415 
   12416 
   12417 
   12418 
   12419 
   12420 
   12421 
   12422 
   12423 
   12424 
   12425 
   12426 
   12427 
   12428 
   12429 
   12430 
   12431 
   12432 
   12433 
   12434 
   12435 
   12436 
   12437 
   12438     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   12439 printf %s "checking for -single_module linker flag... " >&6; }
   12440 if test ${lt_cv_apple_cc_single_mod+y}
   12441 then :
   12442   printf %s "(cached) " >&6
   12443 else case e in #(
   12444   e) lt_cv_apple_cc_single_mod=no
   12445       if test -z "$LT_MULTI_MODULE"; then
   12446 	# By default we will add the -single_module flag. You can override
   12447 	# by either setting the environment variable LT_MULTI_MODULE
   12448 	# non-empty at configure time, or by adding -multi_module to the
   12449 	# link flags.
   12450 	rm -rf libconftest.dylib*
   12451 	echo "int foo(void){return 1;}" > conftest.c
   12452 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   12453 -dynamiclib -Wl,-single_module conftest.c" >&5
   12454 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   12455 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   12456         _lt_result=$?
   12457 	# If there is a non-empty error log, and "single_module"
   12458 	# appears in it, assume the flag caused a linker warning
   12459         if test -s conftest.err && $GREP single_module conftest.err; then
   12460 	  cat conftest.err >&5
   12461 	# Otherwise, if the output was created with a 0 exit code from
   12462 	# the compiler, it worked.
   12463 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   12464 	  lt_cv_apple_cc_single_mod=yes
   12465 	else
   12466 	  cat conftest.err >&5
   12467 	fi
   12468 	rm -rf libconftest.dylib*
   12469 	rm -f conftest.*
   12470       fi ;;
   12471 esac
   12472 fi
   12473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   12474 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   12475 
   12476     # Feature test to disable chained fixups since it is not
   12477     # compatible with '-undefined dynamic_lookup'
   12478     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
   12479 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
   12480 if test ${lt_cv_support_no_fixup_chains+y}
   12481 then :
   12482   printf %s "(cached) " >&6
   12483 else case e in #(
   12484   e)  save_LDFLAGS=$LDFLAGS
   12485         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
   12486         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12487 /* end confdefs.h.  */
   12488 
   12489 int
   12490 main (void)
   12491 {
   12492 
   12493   ;
   12494   return 0;
   12495 }
   12496 _ACEOF
   12497 if ac_fn_c_try_link "$LINENO"
   12498 then :
   12499   lt_cv_support_no_fixup_chains=yes
   12500 else case e in #(
   12501   e) lt_cv_support_no_fixup_chains=no
   12502          ;;
   12503 esac
   12504 fi
   12505 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12506     conftest$ac_exeext conftest.$ac_ext
   12507         LDFLAGS=$save_LDFLAGS
   12508 
   12509      ;;
   12510 esac
   12511 fi
   12512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
   12513 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
   12514 
   12515     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   12516 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   12517 if test ${lt_cv_ld_exported_symbols_list+y}
   12518 then :
   12519   printf %s "(cached) " >&6
   12520 else case e in #(
   12521   e) lt_cv_ld_exported_symbols_list=no
   12522       save_LDFLAGS=$LDFLAGS
   12523       echo "_main" > conftest.sym
   12524       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   12525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12526 /* end confdefs.h.  */
   12527 
   12528 int
   12529 main (void)
   12530 {
   12531 
   12532   ;
   12533   return 0;
   12534 }
   12535 _ACEOF
   12536 if ac_fn_c_try_link "$LINENO"
   12537 then :
   12538   lt_cv_ld_exported_symbols_list=yes
   12539 else case e in #(
   12540   e) lt_cv_ld_exported_symbols_list=no ;;
   12541 esac
   12542 fi
   12543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12544     conftest$ac_exeext conftest.$ac_ext
   12545 	LDFLAGS=$save_LDFLAGS
   12546      ;;
   12547 esac
   12548 fi
   12549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   12550 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   12551 
   12552     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   12553 printf %s "checking for -force_load linker flag... " >&6; }
   12554 if test ${lt_cv_ld_force_load+y}
   12555 then :
   12556   printf %s "(cached) " >&6
   12557 else case e in #(
   12558   e) lt_cv_ld_force_load=no
   12559       cat > conftest.c << _LT_EOF
   12560 int forced_loaded() { return 2;}
   12561 _LT_EOF
   12562       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   12563       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   12564       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   12565       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   12566       echo "$RANLIB libconftest.a" >&5
   12567       $RANLIB libconftest.a 2>&5
   12568       cat > conftest.c << _LT_EOF
   12569 int main(void) { return 0;}
   12570 _LT_EOF
   12571       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   12572       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   12573       _lt_result=$?
   12574       if test -s conftest.err && $GREP force_load conftest.err; then
   12575 	cat conftest.err >&5
   12576       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   12577 	lt_cv_ld_force_load=yes
   12578       else
   12579 	cat conftest.err >&5
   12580       fi
   12581         rm -f conftest.err libconftest.a conftest conftest.c
   12582         rm -rf conftest.dSYM
   12583      ;;
   12584 esac
   12585 fi
   12586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   12587 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   12588     case $host_os in
   12589     rhapsody* | darwin1.[012])
   12590       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   12591     darwin1.*)
   12592       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   12593     darwin*)
   12594       case $MACOSX_DEPLOYMENT_TARGET,$host in
   12595         10.[012],*|,*powerpc*-darwin[5-8]*)
   12596           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   12597         *)
   12598           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
   12599           if test yes = "$lt_cv_support_no_fixup_chains"; then
   12600             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
   12601           fi
   12602         ;;
   12603       esac
   12604     ;;
   12605   esac
   12606     if test yes = "$lt_cv_apple_cc_single_mod"; then
   12607       _lt_dar_single_mod='$single_module'
   12608     fi
   12609     _lt_dar_needs_single_mod=no
   12610     case $host_os in
   12611     rhapsody* | darwin1.*)
   12612       _lt_dar_needs_single_mod=yes ;;
   12613     darwin*)
   12614       # When targeting Mac OS X 10.4 (darwin 8) or later,
   12615       # -single_module is the default and -multi_module is unsupported.
   12616       # The toolchain on macOS 10.14 (darwin 18) and later cannot
   12617       # target any OS version that needs -single_module.
   12618       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   12619       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
   12620         _lt_dar_needs_single_mod=yes ;;
   12621       esac
   12622     ;;
   12623     esac
   12624     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   12625       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   12626     else
   12627       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   12628     fi
   12629     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   12630       _lt_dsymutil='~$DSYMUTIL $lib || :'
   12631     else
   12632       _lt_dsymutil=
   12633     fi
   12634     ;;
   12635   esac
   12636 
   12637 # func_munge_path_list VARIABLE PATH
   12638 # -----------------------------------
   12639 # VARIABLE is name of variable containing _space_ separated list of
   12640 # directories to be munged by the contents of PATH, which is string
   12641 # having a format:
   12642 # "DIR[:DIR]:"
   12643 #       string "DIR[ DIR]" will be prepended to VARIABLE
   12644 # ":DIR[:DIR]"
   12645 #       string "DIR[ DIR]" will be appended to VARIABLE
   12646 # "DIRP[:DIRP]::[DIRA:]DIRA"
   12647 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   12648 #       "DIRA[ DIRA]" will be appended to VARIABLE
   12649 # "DIR[:DIR]"
   12650 #       VARIABLE will be replaced by "DIR[ DIR]"
   12651 func_munge_path_list ()
   12652 {
   12653     case x$2 in
   12654     x)
   12655         ;;
   12656     *:)
   12657         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   12658         ;;
   12659     x:*)
   12660         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   12661         ;;
   12662     *::*)
   12663         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   12664         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   12665         ;;
   12666     *)
   12667         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   12668         ;;
   12669     esac
   12670 }
   12671 
   12672 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   12673 "
   12674 if test "x$ac_cv_header_dlfcn_h" = xyes
   12675 then :
   12676   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   12677 
   12678 fi
   12679 
   12680 
   12681 
   12682 
   12683 
   12684 # Set options
   12685 # Check whether --enable-static was given.
   12686 if test ${enable_static+y}
   12687 then :
   12688   enableval=$enable_static; p=${PACKAGE-default}
   12689     case $enableval in
   12690     yes) enable_static=yes ;;
   12691     no) enable_static=no ;;
   12692     *)
   12693      enable_static=no
   12694       # Look at the argument we got.  We use all the common list separators.
   12695       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   12696       for pkg in $enableval; do
   12697 	IFS=$lt_save_ifs
   12698 	if test "X$pkg" = "X$p"; then
   12699 	  enable_static=yes
   12700 	fi
   12701       done
   12702       IFS=$lt_save_ifs
   12703       ;;
   12704     esac
   12705 else case e in #(
   12706   e) enable_static=no ;;
   12707 esac
   12708 fi
   12709 
   12710 
   12711 
   12712 
   12713 
   12714 
   12715 
   12716 enable_dlopen=yes
   12717 # Check whether --enable-pic was given.
   12718 if test ${enable_pic+y}
   12719 then :
   12720   enableval=$enable_pic; lt_p=${PACKAGE-default}
   12721      case $enableval in
   12722      yes|no) pic_mode=$enableval ;;
   12723      *)
   12724        pic_mode=default
   12725        # Look at the argument we got.  We use all the common list separators.
   12726        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   12727        for lt_pkg in $enableval; do
   12728 	 IFS=$lt_save_ifs
   12729 	 if test "X$lt_pkg" = "X$lt_p"; then
   12730 	   pic_mode=yes
   12731 	 fi
   12732        done
   12733        IFS=$lt_save_ifs
   12734        ;;
   12735      esac
   12736 else case e in #(
   12737   e)           # Check whether --with-pic was given.
   12738 if test ${with_pic+y}
   12739 then :
   12740   withval=$with_pic; lt_p=${PACKAGE-default}
   12741 	 case $withval in
   12742 	 yes|no) pic_mode=$withval ;;
   12743 	 *)
   12744 	   pic_mode=default
   12745 	   # Look at the argument we got.  We use all the common list separators.
   12746 	   lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   12747 	   for lt_pkg in $withval; do
   12748 	     IFS=$lt_save_ifs
   12749 	     if test "X$lt_pkg" = "X$lt_p"; then
   12750 	       pic_mode=yes
   12751 	     fi
   12752 	   done
   12753 	   IFS=$lt_save_ifs
   12754 	   ;;
   12755 	 esac
   12756 else case e in #(
   12757   e) pic_mode=yes ;;
   12758 esac
   12759 fi
   12760 
   12761      ;;
   12762 esac
   12763 fi
   12764 
   12765 
   12766 
   12767 
   12768 
   12769 
   12770 
   12771 
   12772 
   12773 
   12774   enable_win32_dll=no
   12775 
   12776 
   12777             # Check whether --enable-shared was given.
   12778 if test ${enable_shared+y}
   12779 then :
   12780   enableval=$enable_shared; p=${PACKAGE-default}
   12781     case $enableval in
   12782     yes) enable_shared=yes ;;
   12783     no) enable_shared=no ;;
   12784     *)
   12785       enable_shared=no
   12786       # Look at the argument we got.  We use all the common list separators.
   12787       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   12788       for pkg in $enableval; do
   12789 	IFS=$lt_save_ifs
   12790 	if test "X$pkg" = "X$p"; then
   12791 	  enable_shared=yes
   12792 	fi
   12793       done
   12794       IFS=$lt_save_ifs
   12795       ;;
   12796     esac
   12797 else case e in #(
   12798   e) enable_shared=yes ;;
   12799 esac
   12800 fi
   12801 
   12802 
   12803 
   12804 
   12805 
   12806 
   12807 
   12808 
   12809 
   12810 
   12811 
   12812   # Check whether --enable-fast-install was given.
   12813 if test ${enable_fast_install+y}
   12814 then :
   12815   enableval=$enable_fast_install; p=${PACKAGE-default}
   12816     case $enableval in
   12817     yes) enable_fast_install=yes ;;
   12818     no) enable_fast_install=no ;;
   12819     *)
   12820       enable_fast_install=no
   12821       # Look at the argument we got.  We use all the common list separators.
   12822       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   12823       for pkg in $enableval; do
   12824 	IFS=$lt_save_ifs
   12825 	if test "X$pkg" = "X$p"; then
   12826 	  enable_fast_install=yes
   12827 	fi
   12828       done
   12829       IFS=$lt_save_ifs
   12830       ;;
   12831     esac
   12832 else case e in #(
   12833   e) enable_fast_install=yes ;;
   12834 esac
   12835 fi
   12836 
   12837 
   12838 
   12839 
   12840 
   12841 
   12842 
   12843 
   12844   shared_archive_member_spec=
   12845 case $host,$enable_shared in
   12846 power*-*-aix[5-9]*,yes)
   12847   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   12848 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   12849   # Check whether --enable-aix-soname was given.
   12850 if test ${enable_aix_soname+y}
   12851 then :
   12852   enableval=$enable_aix_soname; case $enableval in
   12853      aix|svr4|both)
   12854        ;;
   12855      *)
   12856        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
   12857        ;;
   12858      esac
   12859      lt_cv_with_aix_soname=$enable_aix_soname
   12860 else case e in #(
   12861   e) # Check whether --with-aix-soname was given.
   12862 if test ${with_aix_soname+y}
   12863 then :
   12864   withval=$with_aix_soname; case $withval in
   12865          aix|svr4|both)
   12866            ;;
   12867          *)
   12868            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   12869            ;;
   12870          esac
   12871          lt_cv_with_aix_soname=$with_aix_soname
   12872 else case e in #(
   12873   e) if test ${lt_cv_with_aix_soname+y}
   12874 then :
   12875   printf %s "(cached) " >&6
   12876 else case e in #(
   12877   e) lt_cv_with_aix_soname=aix ;;
   12878 esac
   12879 fi
   12880  ;;
   12881 esac
   12882 fi
   12883 
   12884      enable_aix_soname=$lt_cv_with_aix_soname ;;
   12885 esac
   12886 fi
   12887 
   12888   with_aix_soname=$enable_aix_soname
   12889   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   12890 printf "%s\n" "$with_aix_soname" >&6; }
   12891   if test aix != "$with_aix_soname"; then
   12892     # For the AIX way of multilib, we name the shared archive member
   12893     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   12894     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   12895     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   12896     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   12897     if test 64 = "${OBJECT_MODE-32}"; then
   12898       shared_archive_member_spec=shr_64
   12899     else
   12900       shared_archive_member_spec=shr
   12901     fi
   12902   fi
   12903   ;;
   12904 *)
   12905   with_aix_soname=aix
   12906   ;;
   12907 esac
   12908 
   12909 
   12910 
   12911 
   12912 
   12913 
   12914 
   12915 
   12916 
   12917 
   12918 # This can be used to rebuild libtool when needed
   12919 LIBTOOL_DEPS=$ltmain
   12920 
   12921 # Always use our own libtool.
   12922 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   12923 
   12924 
   12925 
   12926 
   12927 
   12928 
   12929 
   12930 
   12931 
   12932 
   12933 
   12934 
   12935 
   12936 
   12937 
   12938 
   12939 
   12940 
   12941 
   12942 
   12943 
   12944 
   12945 
   12946 
   12947 
   12948 
   12949 
   12950 
   12951 
   12952 
   12953 test -z "$LN_S" && LN_S="ln -s"
   12954 
   12955 
   12956 
   12957 
   12958 
   12959 
   12960 
   12961 
   12962 
   12963 
   12964 
   12965 
   12966 
   12967 
   12968 if test -n "${ZSH_VERSION+set}"; then
   12969    setopt NO_GLOB_SUBST
   12970 fi
   12971 
   12972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   12973 printf %s "checking for objdir... " >&6; }
   12974 if test ${lt_cv_objdir+y}
   12975 then :
   12976   printf %s "(cached) " >&6
   12977 else case e in #(
   12978   e) rm -f .libs 2>/dev/null
   12979 mkdir .libs 2>/dev/null
   12980 if test -d .libs; then
   12981   lt_cv_objdir=.libs
   12982 else
   12983   # MS-DOS does not allow filenames that begin with a dot.
   12984   lt_cv_objdir=_libs
   12985 fi
   12986 rmdir .libs 2>/dev/null ;;
   12987 esac
   12988 fi
   12989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   12990 printf "%s\n" "$lt_cv_objdir" >&6; }
   12991 objdir=$lt_cv_objdir
   12992 
   12993 
   12994 
   12995 
   12996 
   12997 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   12998 
   12999 
   13000 
   13001 
   13002 case $host_os in
   13003 aix3*)
   13004   # AIX sometimes has problems with the GCC collect2 program.  For some
   13005   # reason, if we set the COLLECT_NAMES environment variable, the problems
   13006   # vanish in a puff of smoke.
   13007   if test set != "${COLLECT_NAMES+set}"; then
   13008     COLLECT_NAMES=
   13009     export COLLECT_NAMES
   13010   fi
   13011   ;;
   13012 esac
   13013 
   13014 # Global variables:
   13015 ofile=libtool
   13016 can_build_shared=yes
   13017 
   13018 # All known linkers require a '.a' archive for static linking (except MSVC and
   13019 # ICC, which need '.lib').
   13020 libext=a
   13021 
   13022 with_gnu_ld=$lt_cv_prog_gnu_ld
   13023 
   13024 old_CC=$CC
   13025 old_CFLAGS=$CFLAGS
   13026 
   13027 # Set sane defaults for various variables
   13028 test -z "$CC" && CC=cc
   13029 test -z "$LTCC" && LTCC=$CC
   13030 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   13031 test -z "$LD" && LD=ld
   13032 test -z "$ac_objext" && ac_objext=o
   13033 
   13034 func_cc_basename $compiler
   13035 cc_basename=$func_cc_basename_result
   13036 
   13037 
   13038 # Only perform the check for file, if the check method requires it
   13039 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   13040 case $deplibs_check_method in
   13041 file_magic*)
   13042   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   13043     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   13044 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   13045 if test ${lt_cv_path_MAGIC_CMD+y}
   13046 then :
   13047   printf %s "(cached) " >&6
   13048 else case e in #(
   13049   e) case $MAGIC_CMD in
   13050 [\\/*] |  ?:[\\/]*)
   13051   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   13052   ;;
   13053 *)
   13054   lt_save_MAGIC_CMD=$MAGIC_CMD
   13055   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   13056   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   13057   for ac_dir in $ac_dummy; do
   13058     IFS=$lt_save_ifs
   13059     test -z "$ac_dir" && ac_dir=.
   13060     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   13061       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   13062       if test -n "$file_magic_test_file"; then
   13063 	case $deplibs_check_method in
   13064 	"file_magic "*)
   13065 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   13066 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   13067 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   13068 	    $EGREP "$file_magic_regex" > /dev/null; then
   13069 	    :
   13070 	  else
   13071 	    cat <<_LT_EOF 1>&2
   13072 
   13073 *** Warning: the command libtool uses to detect shared libraries,
   13074 *** $file_magic_cmd, produces output that libtool cannot recognize.
   13075 *** The result is that libtool may fail to recognize shared libraries
   13076 *** as such.  This will affect the creation of libtool libraries that
   13077 *** depend on shared libraries, but programs linked with such libtool
   13078 *** libraries will work regardless of this problem.  Nevertheless, you
   13079 *** may want to report the problem to your system manager and/or to
   13080 *** bug-libtool@gnu.org
   13081 
   13082 _LT_EOF
   13083 	  fi ;;
   13084 	esac
   13085       fi
   13086       break
   13087     fi
   13088   done
   13089   IFS=$lt_save_ifs
   13090   MAGIC_CMD=$lt_save_MAGIC_CMD
   13091   ;;
   13092 esac ;;
   13093 esac
   13094 fi
   13095 
   13096 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   13097 if test -n "$MAGIC_CMD"; then
   13098   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   13099 printf "%s\n" "$MAGIC_CMD" >&6; }
   13100 else
   13101   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13102 printf "%s\n" "no" >&6; }
   13103 fi
   13104 
   13105 
   13106 
   13107 
   13108 
   13109 if test -z "$lt_cv_path_MAGIC_CMD"; then
   13110   if test -n "$ac_tool_prefix"; then
   13111     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   13112 printf %s "checking for file... " >&6; }
   13113 if test ${lt_cv_path_MAGIC_CMD+y}
   13114 then :
   13115   printf %s "(cached) " >&6
   13116 else case e in #(
   13117   e) case $MAGIC_CMD in
   13118 [\\/*] |  ?:[\\/]*)
   13119   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   13120   ;;
   13121 *)
   13122   lt_save_MAGIC_CMD=$MAGIC_CMD
   13123   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   13124   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   13125   for ac_dir in $ac_dummy; do
   13126     IFS=$lt_save_ifs
   13127     test -z "$ac_dir" && ac_dir=.
   13128     if test -f "$ac_dir/file"; then
   13129       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   13130       if test -n "$file_magic_test_file"; then
   13131 	case $deplibs_check_method in
   13132 	"file_magic "*)
   13133 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   13134 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   13135 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   13136 	    $EGREP "$file_magic_regex" > /dev/null; then
   13137 	    :
   13138 	  else
   13139 	    cat <<_LT_EOF 1>&2
   13140 
   13141 *** Warning: the command libtool uses to detect shared libraries,
   13142 *** $file_magic_cmd, produces output that libtool cannot recognize.
   13143 *** The result is that libtool may fail to recognize shared libraries
   13144 *** as such.  This will affect the creation of libtool libraries that
   13145 *** depend on shared libraries, but programs linked with such libtool
   13146 *** libraries will work regardless of this problem.  Nevertheless, you
   13147 *** may want to report the problem to your system manager and/or to
   13148 *** bug-libtool@gnu.org
   13149 
   13150 _LT_EOF
   13151 	  fi ;;
   13152 	esac
   13153       fi
   13154       break
   13155     fi
   13156   done
   13157   IFS=$lt_save_ifs
   13158   MAGIC_CMD=$lt_save_MAGIC_CMD
   13159   ;;
   13160 esac ;;
   13161 esac
   13162 fi
   13163 
   13164 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   13165 if test -n "$MAGIC_CMD"; then
   13166   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   13167 printf "%s\n" "$MAGIC_CMD" >&6; }
   13168 else
   13169   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13170 printf "%s\n" "no" >&6; }
   13171 fi
   13172 
   13173 
   13174   else
   13175     MAGIC_CMD=:
   13176   fi
   13177 fi
   13178 
   13179   fi
   13180   ;;
   13181 esac
   13182 
   13183 # Use C for the default configuration in the libtool script
   13184 
   13185 lt_save_CC=$CC
   13186 ac_ext=c
   13187 ac_cpp='$CPP $CPPFLAGS'
   13188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13191 
   13192 
   13193 # Source file extension for C test sources.
   13194 ac_ext=c
   13195 
   13196 # Object file extension for compiled C test sources.
   13197 objext=o
   13198 objext=$objext
   13199 
   13200 # Code to be used in simple compile tests
   13201 lt_simple_compile_test_code="int some_variable = 0;"
   13202 
   13203 # Code to be used in simple link tests
   13204 lt_simple_link_test_code='int main(void){return(0);}'
   13205 
   13206 
   13207 
   13208 
   13209 
   13210 
   13211 
   13212 # If no C compiler was specified, use CC.
   13213 LTCC=${LTCC-"$CC"}
   13214 
   13215 # If no C compiler flags were specified, use CFLAGS.
   13216 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13217 
   13218 # Allow CC to be a program name with arguments.
   13219 compiler=$CC
   13220 
   13221 # Save the default compiler, since it gets overwritten when the other
   13222 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   13223 compiler_DEFAULT=$CC
   13224 
   13225 # save warnings/boilerplate of simple test code
   13226 ac_outfile=conftest.$ac_objext
   13227 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   13228 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13229 _lt_compiler_boilerplate=`cat conftest.err`
   13230 $RM conftest*
   13231 
   13232 ac_outfile=conftest.$ac_objext
   13233 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   13234 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13235 _lt_linker_boilerplate=`cat conftest.err`
   13236 $RM -r conftest*
   13237 
   13238 
   13239 ## CAVEAT EMPTOR:
   13240 ## There is no encapsulation within the following macros, do not change
   13241 ## the running order or otherwise move them around unless you know exactly
   13242 ## what you are doing...
   13243 if test -n "$compiler"; then
   13244 
   13245 lt_prog_compiler_no_builtin_flag=
   13246 
   13247 if test yes = "$GCC"; then
   13248   case $cc_basename in
   13249   nvcc*)
   13250     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   13251   *)
   13252     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   13253   esac
   13254 
   13255   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   13256 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   13257 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   13258 then :
   13259   printf %s "(cached) " >&6
   13260 else case e in #(
   13261   e) lt_cv_prog_compiler_rtti_exceptions=no
   13262    ac_outfile=conftest.$ac_objext
   13263    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13264    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   13265    # Insert the option either (1) after the last *FLAGS variable, or
   13266    # (2) before a word containing "conftest.", or (3) at the end.
   13267    # Note that $ac_compile itself does not contain backslashes and begins
   13268    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13269    # The option is referenced via a variable to avoid confusing sed.
   13270    lt_compile=`echo "$ac_compile" | $SED \
   13271    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13272    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13273    -e 's:$: $lt_compiler_flag:'`
   13274    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13275    (eval "$lt_compile" 2>conftest.err)
   13276    ac_status=$?
   13277    cat conftest.err >&5
   13278    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13279    if (exit $ac_status) && test -s "$ac_outfile"; then
   13280      # The compiler can only warn and ignore the option if not recognized
   13281      # So say no if there are warnings other than the usual output.
   13282      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   13283      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13284      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13285        lt_cv_prog_compiler_rtti_exceptions=yes
   13286      fi
   13287    fi
   13288    $RM conftest*
   13289  ;;
   13290 esac
   13291 fi
   13292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   13293 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   13294 
   13295 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   13296     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   13297 else
   13298     :
   13299 fi
   13300 
   13301 fi
   13302 
   13303 
   13304 
   13305 
   13306 
   13307 
   13308   lt_prog_compiler_wl=
   13309 lt_prog_compiler_pic=
   13310 lt_prog_compiler_static=
   13311 
   13312 
   13313   if test yes = "$GCC"; then
   13314     lt_prog_compiler_wl='-Wl,'
   13315     lt_prog_compiler_static='-static'
   13316 
   13317     case $host_os in
   13318       aix*)
   13319       # All AIX code is PIC.
   13320       if test ia64 = "$host_cpu"; then
   13321 	# AIX 5 now supports IA64 processor
   13322 	lt_prog_compiler_static='-Bstatic'
   13323       fi
   13324       lt_prog_compiler_pic='-fPIC'
   13325       ;;
   13326 
   13327     amigaos*)
   13328       case $host_cpu in
   13329       powerpc)
   13330             # see comment about AmigaOS4 .so support
   13331             lt_prog_compiler_pic='-fPIC'
   13332         ;;
   13333       m68k)
   13334             # FIXME: we need at least 68020 code to build shared libraries, but
   13335             # adding the '-m68020' flag to GCC prevents building anything better,
   13336             # like '-m68040'.
   13337             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   13338         ;;
   13339       esac
   13340       ;;
   13341 
   13342     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13343       # PIC is the default for these OSes.
   13344       ;;
   13345 
   13346     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   13347       # This hack is so that the source file can tell whether it is being
   13348       # built for inclusion in a dll (and should export symbols for example).
   13349       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   13350       # (--disable-auto-import) libraries
   13351       lt_prog_compiler_pic='-DDLL_EXPORT'
   13352       case $host_os in
   13353       os2*)
   13354 	lt_prog_compiler_static='$wl-static'
   13355 	;;
   13356       esac
   13357       ;;
   13358 
   13359     darwin* | rhapsody*)
   13360       # PIC is the default on this platform
   13361       # Common symbols not allowed in MH_DYLIB files
   13362       lt_prog_compiler_pic='-fno-common'
   13363       ;;
   13364 
   13365     haiku*)
   13366       # PIC is the default for Haiku.
   13367       # The "-static" flag exists, but is broken.
   13368       lt_prog_compiler_static=
   13369       ;;
   13370 
   13371     hpux*)
   13372       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   13373       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   13374       # sets the default TLS model and affects inlining.
   13375       case $host_cpu in
   13376       hppa*64*)
   13377 	# +Z the default
   13378 	;;
   13379       *)
   13380 	lt_prog_compiler_pic='-fPIC'
   13381 	;;
   13382       esac
   13383       ;;
   13384 
   13385     interix[3-9]*)
   13386       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13387       # Instead, we relocate shared libraries at runtime.
   13388       ;;
   13389 
   13390     msdosdjgpp*)
   13391       # Just because we use GCC doesn't mean we suddenly get shared libraries
   13392       # on systems that don't support them.
   13393       lt_prog_compiler_can_build_shared=no
   13394       enable_shared=no
   13395       ;;
   13396 
   13397     *nto* | *qnx*)
   13398       # QNX uses GNU C++, but need to define -shared option too, otherwise
   13399       # it will coredump.
   13400       lt_prog_compiler_pic='-fPIC -shared'
   13401       ;;
   13402 
   13403     sysv4*MP*)
   13404       if test -d /usr/nec; then
   13405 	lt_prog_compiler_pic=-Kconform_pic
   13406       fi
   13407       ;;
   13408 
   13409     *)
   13410       lt_prog_compiler_pic='-fPIC'
   13411       ;;
   13412     esac
   13413 
   13414     case $cc_basename in
   13415     nvcc*) # Cuda Compiler Driver 2.2
   13416       lt_prog_compiler_wl='-Xlinker '
   13417       if test -n "$lt_prog_compiler_pic"; then
   13418         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   13419       fi
   13420       ;;
   13421     esac
   13422   else
   13423     # PORTME Check for flag to pass linker flags through the system compiler.
   13424     case $host_os in
   13425     aix*)
   13426       lt_prog_compiler_wl='-Wl,'
   13427       if test ia64 = "$host_cpu"; then
   13428 	# AIX 5 now supports IA64 processor
   13429 	lt_prog_compiler_static='-Bstatic'
   13430       else
   13431 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   13432       fi
   13433       ;;
   13434 
   13435     darwin* | rhapsody*)
   13436       # PIC is the default on this platform
   13437       # Common symbols not allowed in MH_DYLIB files
   13438       lt_prog_compiler_pic='-fno-common'
   13439       case $cc_basename in
   13440       nagfor*)
   13441         # NAG Fortran compiler
   13442         lt_prog_compiler_wl='-Wl,-Wl,,'
   13443         lt_prog_compiler_pic='-PIC'
   13444         lt_prog_compiler_static='-Bstatic'
   13445         ;;
   13446       esac
   13447       ;;
   13448 
   13449     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   13450       # This hack is so that the source file can tell whether it is being
   13451       # built for inclusion in a dll (and should export symbols for example).
   13452       lt_prog_compiler_pic='-DDLL_EXPORT'
   13453       case $host_os in
   13454       os2*)
   13455 	lt_prog_compiler_static='$wl-static'
   13456 	;;
   13457       esac
   13458       ;;
   13459 
   13460     hpux9* | hpux10* | hpux11*)
   13461       lt_prog_compiler_wl='-Wl,'
   13462       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13463       # not for PA HP-UX.
   13464       case $host_cpu in
   13465       hppa*64*|ia64*)
   13466 	# +Z the default
   13467 	;;
   13468       *)
   13469 	lt_prog_compiler_pic='+Z'
   13470 	;;
   13471       esac
   13472       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13473       lt_prog_compiler_static='$wl-a ${wl}archive'
   13474       ;;
   13475 
   13476     irix5* | irix6* | nonstopux*)
   13477       lt_prog_compiler_wl='-Wl,'
   13478       # PIC (with -KPIC) is the default.
   13479       lt_prog_compiler_static='-non_shared'
   13480       ;;
   13481 
   13482     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   13483       case $cc_basename in
   13484       # old Intel for x86_64, which still supported -KPIC.
   13485       ecc*)
   13486 	lt_prog_compiler_wl='-Wl,'
   13487 	lt_prog_compiler_pic='-KPIC'
   13488 	lt_prog_compiler_static='-static'
   13489         ;;
   13490       *flang* | ftn | f18* | f95*)
   13491         # Flang compiler.
   13492 	lt_prog_compiler_wl='-Wl,'
   13493 	lt_prog_compiler_pic='-fPIC'
   13494 	lt_prog_compiler_static='-static'
   13495         ;;
   13496       # flang / f18. f95 an alias for gfortran or flang on Debian
   13497       flang* | f18* | f95*)
   13498 	lt_prog_compiler_wl='-Wl,'
   13499 	lt_prog_compiler_pic='-fPIC'
   13500 	lt_prog_compiler_static='-static'
   13501         ;;
   13502       # icc used to be incompatible with GCC.
   13503       # ICC 10 doesn't accept -KPIC any more.
   13504       icc* | ifort*)
   13505 	lt_prog_compiler_wl='-Wl,'
   13506 	lt_prog_compiler_pic='-fPIC'
   13507 	lt_prog_compiler_static='-static'
   13508         ;;
   13509       # Lahey Fortran 8.1.
   13510       lf95*)
   13511 	lt_prog_compiler_wl='-Wl,'
   13512 	lt_prog_compiler_pic='--shared'
   13513 	lt_prog_compiler_static='--static'
   13514 	;;
   13515       nagfor*)
   13516 	# NAG Fortran compiler
   13517 	lt_prog_compiler_wl='-Wl,-Wl,,'
   13518 	lt_prog_compiler_pic='-PIC'
   13519 	lt_prog_compiler_static='-Bstatic'
   13520 	;;
   13521       tcc*)
   13522 	# Fabrice Bellard et al's Tiny C Compiler
   13523 	lt_prog_compiler_wl='-Wl,'
   13524 	lt_prog_compiler_pic='-fPIC'
   13525 	lt_prog_compiler_static='-static'
   13526 	;;
   13527       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   13528         # Portland Group compilers (*not* the Pentium gcc compiler,
   13529 	# which looks to be a dead project)
   13530 	lt_prog_compiler_wl='-Wl,'
   13531 	lt_prog_compiler_pic='-fpic'
   13532 	lt_prog_compiler_static='-Bstatic'
   13533         ;;
   13534       ccc*)
   13535         lt_prog_compiler_wl='-Wl,'
   13536         # All Alpha code is PIC.
   13537         lt_prog_compiler_static='-non_shared'
   13538         ;;
   13539       xl* | bgxl* | bgf* | mpixl*)
   13540 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   13541 	lt_prog_compiler_wl='-Wl,'
   13542 	lt_prog_compiler_pic='-qpic'
   13543 	lt_prog_compiler_static='-qstaticlink'
   13544 	;;
   13545       *)
   13546 	case `$CC -V 2>&1 | $SED 5q` in
   13547 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   13548 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   13549 	  lt_prog_compiler_pic='-KPIC'
   13550 	  lt_prog_compiler_static='-Bstatic'
   13551 	  lt_prog_compiler_wl=''
   13552 	  ;;
   13553 	*Sun\ F* | *Sun*Fortran*)
   13554 	  lt_prog_compiler_pic='-KPIC'
   13555 	  lt_prog_compiler_static='-Bstatic'
   13556 	  lt_prog_compiler_wl='-Qoption ld '
   13557 	  ;;
   13558 	*Sun\ C*)
   13559 	  # Sun C 5.9
   13560 	  lt_prog_compiler_pic='-KPIC'
   13561 	  lt_prog_compiler_static='-Bstatic'
   13562 	  lt_prog_compiler_wl='-Wl,'
   13563 	  ;;
   13564         *Intel*\ [CF]*Compiler*)
   13565 	  lt_prog_compiler_wl='-Wl,'
   13566 	  lt_prog_compiler_pic='-fPIC'
   13567 	  lt_prog_compiler_static='-static'
   13568 	  ;;
   13569 	*Portland\ Group*)
   13570 	  lt_prog_compiler_wl='-Wl,'
   13571 	  lt_prog_compiler_pic='-fpic'
   13572 	  lt_prog_compiler_static='-Bstatic'
   13573 	  ;;
   13574 	esac
   13575 	;;
   13576       esac
   13577       ;;
   13578 
   13579     newsos6)
   13580       lt_prog_compiler_pic='-KPIC'
   13581       lt_prog_compiler_static='-Bstatic'
   13582       ;;
   13583 
   13584     *-mlibc)
   13585       lt_prog_compiler_wl='-Wl,'
   13586       lt_prog_compiler_pic='-fPIC'
   13587       lt_prog_compiler_static='-static'
   13588       ;;
   13589 
   13590     *nto* | *qnx*)
   13591       # QNX uses GNU C++, but need to define -shared option too, otherwise
   13592       # it will coredump.
   13593       lt_prog_compiler_pic='-fPIC -shared'
   13594       ;;
   13595 
   13596     osf3* | osf4* | osf5*)
   13597       lt_prog_compiler_wl='-Wl,'
   13598       # All OSF/1 code is PIC.
   13599       lt_prog_compiler_static='-non_shared'
   13600       ;;
   13601 
   13602     rdos*)
   13603       lt_prog_compiler_static='-non_shared'
   13604       ;;
   13605 
   13606     serenity*)
   13607       ;;
   13608 
   13609     solaris*)
   13610       lt_prog_compiler_pic='-KPIC'
   13611       lt_prog_compiler_static='-Bstatic'
   13612       case $cc_basename in
   13613       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   13614 	lt_prog_compiler_wl='-Qoption ld ';;
   13615       *)
   13616 	lt_prog_compiler_wl='-Wl,';;
   13617       esac
   13618       ;;
   13619 
   13620     sunos4*)
   13621       lt_prog_compiler_wl='-Qoption ld '
   13622       lt_prog_compiler_pic='-PIC'
   13623       lt_prog_compiler_static='-Bstatic'
   13624       ;;
   13625 
   13626     sysv4 | sysv4.2uw2* | sysv4.3*)
   13627       lt_prog_compiler_wl='-Wl,'
   13628       lt_prog_compiler_pic='-KPIC'
   13629       lt_prog_compiler_static='-Bstatic'
   13630       ;;
   13631 
   13632     sysv4*MP*)
   13633       if test -d /usr/nec; then
   13634 	lt_prog_compiler_pic='-Kconform_pic'
   13635 	lt_prog_compiler_static='-Bstatic'
   13636       fi
   13637       ;;
   13638 
   13639     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13640       lt_prog_compiler_wl='-Wl,'
   13641       lt_prog_compiler_pic='-KPIC'
   13642       lt_prog_compiler_static='-Bstatic'
   13643       ;;
   13644 
   13645     unicos*)
   13646       lt_prog_compiler_wl='-Wl,'
   13647       lt_prog_compiler_can_build_shared=no
   13648       ;;
   13649 
   13650     uts4*)
   13651       lt_prog_compiler_pic='-pic'
   13652       lt_prog_compiler_static='-Bstatic'
   13653       ;;
   13654 
   13655     *)
   13656       lt_prog_compiler_can_build_shared=no
   13657       ;;
   13658     esac
   13659   fi
   13660 
   13661 case $host_os in
   13662   # For platforms that do not support PIC, -DPIC is meaningless:
   13663   *djgpp*)
   13664     lt_prog_compiler_pic=
   13665     ;;
   13666   *)
   13667     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   13668     ;;
   13669 esac
   13670 
   13671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   13672 printf %s "checking for $compiler option to produce PIC... " >&6; }
   13673 if test ${lt_cv_prog_compiler_pic+y}
   13674 then :
   13675   printf %s "(cached) " >&6
   13676 else case e in #(
   13677   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   13678 esac
   13679 fi
   13680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   13681 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   13682 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   13683 
   13684 #
   13685 # Check to make sure the PIC flag actually works.
   13686 #
   13687 if test -n "$lt_prog_compiler_pic"; then
   13688   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   13689 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   13690 if test ${lt_cv_prog_compiler_pic_works+y}
   13691 then :
   13692   printf %s "(cached) " >&6
   13693 else case e in #(
   13694   e) lt_cv_prog_compiler_pic_works=no
   13695    ac_outfile=conftest.$ac_objext
   13696    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13697    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   13698    # Insert the option either (1) after the last *FLAGS variable, or
   13699    # (2) before a word containing "conftest.", or (3) at the end.
   13700    # Note that $ac_compile itself does not contain backslashes and begins
   13701    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13702    # The option is referenced via a variable to avoid confusing sed.
   13703    lt_compile=`echo "$ac_compile" | $SED \
   13704    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13705    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13706    -e 's:$: $lt_compiler_flag:'`
   13707    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13708    (eval "$lt_compile" 2>conftest.err)
   13709    ac_status=$?
   13710    cat conftest.err >&5
   13711    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13712    if (exit $ac_status) && test -s "$ac_outfile"; then
   13713      # The compiler can only warn and ignore the option if not recognized
   13714      # So say no if there are warnings other than the usual output.
   13715      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   13716      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13717      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13718        lt_cv_prog_compiler_pic_works=yes
   13719      fi
   13720    fi
   13721    $RM conftest*
   13722  ;;
   13723 esac
   13724 fi
   13725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   13726 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   13727 
   13728 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   13729     case $lt_prog_compiler_pic in
   13730      "" | " "*) ;;
   13731      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   13732      esac
   13733 else
   13734     lt_prog_compiler_pic=
   13735      lt_prog_compiler_can_build_shared=no
   13736 fi
   13737 
   13738 fi
   13739 
   13740 
   13741 
   13742 
   13743 
   13744 
   13745 
   13746 
   13747 
   13748 
   13749 
   13750 #
   13751 # Check to make sure the static flag actually works.
   13752 #
   13753 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   13754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13755 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13756 if test ${lt_cv_prog_compiler_static_works+y}
   13757 then :
   13758   printf %s "(cached) " >&6
   13759 else case e in #(
   13760   e) lt_cv_prog_compiler_static_works=no
   13761    save_LDFLAGS=$LDFLAGS
   13762    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13763    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13764    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13765      # The linker can only warn and ignore the option if not recognized
   13766      # So say no if there are warnings
   13767      if test -s conftest.err; then
   13768        # Append any errors to the config.log.
   13769        cat conftest.err 1>&5
   13770        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   13771        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13772        if diff conftest.exp conftest.er2 >/dev/null; then
   13773          lt_cv_prog_compiler_static_works=yes
   13774        fi
   13775      else
   13776        lt_cv_prog_compiler_static_works=yes
   13777      fi
   13778    fi
   13779    $RM -r conftest*
   13780    LDFLAGS=$save_LDFLAGS
   13781  ;;
   13782 esac
   13783 fi
   13784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   13785 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   13786 
   13787 if test yes = "$lt_cv_prog_compiler_static_works"; then
   13788     :
   13789 else
   13790     lt_prog_compiler_static=
   13791 fi
   13792 
   13793 
   13794 
   13795 
   13796 
   13797 
   13798 
   13799   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   13800 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13801 if test ${lt_cv_prog_compiler_c_o+y}
   13802 then :
   13803   printf %s "(cached) " >&6
   13804 else case e in #(
   13805   e) lt_cv_prog_compiler_c_o=no
   13806    $RM -r conftest 2>/dev/null
   13807    mkdir conftest
   13808    cd conftest
   13809    mkdir out
   13810    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13811 
   13812    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13813    # Insert the option either (1) after the last *FLAGS variable, or
   13814    # (2) before a word containing "conftest.", or (3) at the end.
   13815    # Note that $ac_compile itself does not contain backslashes and begins
   13816    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13817    lt_compile=`echo "$ac_compile" | $SED \
   13818    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13819    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13820    -e 's:$: $lt_compiler_flag:'`
   13821    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13822    (eval "$lt_compile" 2>out/conftest.err)
   13823    ac_status=$?
   13824    cat out/conftest.err >&5
   13825    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13826    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13827    then
   13828      # The compiler can only warn and ignore the option if not recognized
   13829      # So say no if there are warnings
   13830      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   13831      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13832      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13833        lt_cv_prog_compiler_c_o=yes
   13834      fi
   13835    fi
   13836    chmod u+w . 2>&5
   13837    $RM conftest*
   13838    # SGI C++ compiler will create directory out/ii_files/ for
   13839    # template instantiation
   13840    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   13841    $RM out/* && rmdir out
   13842    cd ..
   13843    $RM -r conftest
   13844    $RM conftest*
   13845  ;;
   13846 esac
   13847 fi
   13848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   13849 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   13850 
   13851 
   13852 
   13853 
   13854 
   13855 
   13856   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   13857 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13858 if test ${lt_cv_prog_compiler_c_o+y}
   13859 then :
   13860   printf %s "(cached) " >&6
   13861 else case e in #(
   13862   e) lt_cv_prog_compiler_c_o=no
   13863    $RM -r conftest 2>/dev/null
   13864    mkdir conftest
   13865    cd conftest
   13866    mkdir out
   13867    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13868 
   13869    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13870    # Insert the option either (1) after the last *FLAGS variable, or
   13871    # (2) before a word containing "conftest.", or (3) at the end.
   13872    # Note that $ac_compile itself does not contain backslashes and begins
   13873    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13874    lt_compile=`echo "$ac_compile" | $SED \
   13875    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13876    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13877    -e 's:$: $lt_compiler_flag:'`
   13878    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13879    (eval "$lt_compile" 2>out/conftest.err)
   13880    ac_status=$?
   13881    cat out/conftest.err >&5
   13882    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13883    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13884    then
   13885      # The compiler can only warn and ignore the option if not recognized
   13886      # So say no if there are warnings
   13887      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   13888      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13889      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13890        lt_cv_prog_compiler_c_o=yes
   13891      fi
   13892    fi
   13893    chmod u+w . 2>&5
   13894    $RM conftest*
   13895    # SGI C++ compiler will create directory out/ii_files/ for
   13896    # template instantiation
   13897    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   13898    $RM out/* && rmdir out
   13899    cd ..
   13900    $RM -r conftest
   13901    $RM conftest*
   13902  ;;
   13903 esac
   13904 fi
   13905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   13906 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   13907 
   13908 
   13909 
   13910 
   13911 hard_links=nottested
   13912 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   13913   # do not overwrite the value of need_locks provided by the user
   13914   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   13915 printf %s "checking if we can lock with hard links... " >&6; }
   13916   hard_links=yes
   13917   $RM conftest*
   13918   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13919   touch conftest.a
   13920   ln conftest.a conftest.b 2>&5 || hard_links=no
   13921   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13922   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   13923 printf "%s\n" "$hard_links" >&6; }
   13924   if test no = "$hard_links"; then
   13925     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   13926 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   13927     need_locks=warn
   13928   fi
   13929 else
   13930   need_locks=no
   13931 fi
   13932 
   13933 
   13934 
   13935 
   13936 
   13937 
   13938   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13939 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13940 
   13941   runpath_var=
   13942   allow_undefined_flag=
   13943   always_export_symbols=no
   13944   archive_cmds=
   13945   archive_expsym_cmds=
   13946   compiler_needs_object=no
   13947   enable_shared_with_static_runtimes=no
   13948   export_dynamic_flag_spec=
   13949   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13950   hardcode_automatic=no
   13951   hardcode_direct=no
   13952   hardcode_direct_absolute=no
   13953   hardcode_libdir_flag_spec=
   13954   hardcode_libdir_separator=
   13955   hardcode_minus_L=no
   13956   hardcode_shlibpath_var=unsupported
   13957   inherit_rpath=no
   13958   link_all_deplibs=unknown
   13959   module_cmds=
   13960   module_expsym_cmds=
   13961   old_archive_from_new_cmds=
   13962   old_archive_from_expsyms_cmds=
   13963   thread_safe_flag_spec=
   13964   whole_archive_flag_spec=
   13965   # include_expsyms should be a list of space-separated symbols to be *always*
   13966   # included in the symbol list
   13967   include_expsyms=
   13968   # exclude_expsyms can be an extended regexp of symbols to exclude
   13969   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   13970   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   13971   # as well as any symbol that contains 'd'.
   13972   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13973   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   13974   # platforms (ab)use it in PIC code, but their linkers get confused if
   13975   # the symbol is explicitly referenced.  Since portable code cannot
   13976   # rely on this symbol name, it's probably fine to never include it in
   13977   # preloaded symbol tables.
   13978   # Exclude shared library initialization/finalization symbols.
   13979   extract_expsyms_cmds=
   13980 
   13981   case $host_os in
   13982   cygwin* | mingw* | windows* | pw32* | cegcc*)
   13983     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   13984     # When not using gcc, we currently assume that we are using
   13985     # Microsoft Visual C++ or Intel C++ Compiler.
   13986     if test yes != "$GCC"; then
   13987       with_gnu_ld=no
   13988     fi
   13989     ;;
   13990   interix*)
   13991     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   13992     with_gnu_ld=yes
   13993     ;;
   13994   linux* | k*bsd*-gnu | gnu*)
   13995     link_all_deplibs=no
   13996     ;;
   13997   esac
   13998 
   13999   ld_shlibs=yes
   14000 
   14001   # On some targets, GNU ld is compatible enough with the native linker
   14002   # that we're better off using the native interface for both.
   14003   lt_use_gnu_ld_interface=no
   14004   if test yes = "$with_gnu_ld"; then
   14005     case $host_os in
   14006       aix*)
   14007 	# The AIX port of GNU ld has always aspired to compatibility
   14008 	# with the native linker.  However, as the warning in the GNU ld
   14009 	# block says, versions before 2.19.5* couldn't really create working
   14010 	# shared libraries, regardless of the interface used.
   14011 	case `$LD -v 2>&1` in
   14012 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   14013 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   14014 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   14015 	  *)
   14016 	    lt_use_gnu_ld_interface=yes
   14017 	    ;;
   14018 	esac
   14019 	;;
   14020       *)
   14021 	lt_use_gnu_ld_interface=yes
   14022 	;;
   14023     esac
   14024   fi
   14025 
   14026   if test yes = "$lt_use_gnu_ld_interface"; then
   14027     # If archive_cmds runs LD, not CC, wlarc should be empty
   14028     wlarc='$wl'
   14029 
   14030     # Set some defaults for GNU ld with shared library support. These
   14031     # are reset later if shared libraries are not supported. Putting them
   14032     # here allows them to be overridden if necessary.
   14033     runpath_var=LD_RUN_PATH
   14034     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   14035     export_dynamic_flag_spec='$wl--export-dynamic'
   14036     # ancient GNU ld didn't support --whole-archive et. al.
   14037     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   14038       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   14039     else
   14040       whole_archive_flag_spec=
   14041     fi
   14042     supports_anon_versioning=no
   14043     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   14044       *GNU\ gold*) supports_anon_versioning=yes ;;
   14045       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14046       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14047       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14048       *\ 2.11.*) ;; # other 2.11 versions
   14049       *) supports_anon_versioning=yes ;;
   14050     esac
   14051 
   14052     # See if GNU ld supports shared libraries.
   14053     case $host_os in
   14054     aix[3-9]*)
   14055       # On AIX/PPC, the GNU linker is very broken
   14056       if test ia64 != "$host_cpu"; then
   14057 	ld_shlibs=no
   14058 	cat <<_LT_EOF 1>&2
   14059 
   14060 *** Warning: the GNU linker, at least up to release 2.19, is reported
   14061 *** to be unable to reliably create shared libraries on AIX.
   14062 *** Therefore, libtool is disabling shared libraries support.  If you
   14063 *** really care for shared libraries, you may want to install binutils
   14064 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   14065 *** You will then need to restart the configuration process.
   14066 
   14067 _LT_EOF
   14068       fi
   14069       ;;
   14070 
   14071     amigaos*)
   14072       case $host_cpu in
   14073       powerpc)
   14074             # see comment about AmigaOS4 .so support
   14075             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14076             archive_expsym_cmds=''
   14077         ;;
   14078       m68k)
   14079             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)'
   14080             hardcode_libdir_flag_spec='-L$libdir'
   14081             hardcode_minus_L=yes
   14082         ;;
   14083       esac
   14084       ;;
   14085 
   14086     beos*)
   14087       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   14088 	allow_undefined_flag=unsupported
   14089 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14090 	# support --undefined.  This deserves some investigation.  FIXME
   14091 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14092       else
   14093 	ld_shlibs=no
   14094       fi
   14095       ;;
   14096 
   14097     cygwin* | mingw* | windows* | pw32* | cegcc*)
   14098       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   14099       # as there is no search path for DLLs.
   14100       hardcode_libdir_flag_spec='-L$libdir'
   14101       export_dynamic_flag_spec='$wl--export-all-symbols'
   14102       allow_undefined_flag=unsupported
   14103       always_export_symbols=no
   14104       enable_shared_with_static_runtimes=yes
   14105       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'
   14106       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   14107       file_list_spec='@'
   14108 
   14109       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   14110         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14111 	# If the export-symbols file already is a .def file, use it as
   14112 	# is; otherwise, prepend EXPORTS...
   14113 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   14114           cp $export_symbols $output_objdir/$soname.def;
   14115         else
   14116           echo EXPORTS > $output_objdir/$soname.def;
   14117           cat $export_symbols >> $output_objdir/$soname.def;
   14118         fi~
   14119         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14120       else
   14121 	ld_shlibs=no
   14122       fi
   14123       ;;
   14124 
   14125     haiku*)
   14126       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14127       link_all_deplibs=no
   14128       ;;
   14129 
   14130     os2*)
   14131       hardcode_libdir_flag_spec='-L$libdir'
   14132       hardcode_minus_L=yes
   14133       allow_undefined_flag=unsupported
   14134       shrext_cmds=.dll
   14135       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   14136 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   14137 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   14138 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   14139 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   14140 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   14141 	emximp -o $lib $output_objdir/$libname.def'
   14142       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   14143 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   14144 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   14145 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   14146 	prefix_cmds="$SED"~
   14147 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   14148 	  prefix_cmds="$prefix_cmds -e 1d";
   14149 	fi~
   14150 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   14151 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   14152 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   14153 	emximp -o $lib $output_objdir/$libname.def'
   14154       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   14155       enable_shared_with_static_runtimes=yes
   14156       file_list_spec='@'
   14157       ;;
   14158 
   14159     interix[3-9]*)
   14160       hardcode_direct=no
   14161       hardcode_shlibpath_var=no
   14162       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   14163       export_dynamic_flag_spec='$wl-E'
   14164       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14165       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14166       # default) and relocated if they conflict, which is a slow very memory
   14167       # consuming and fragmenting process.  To avoid this, we pick a random,
   14168       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14169       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14170       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   14171       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'
   14172       ;;
   14173 
   14174     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   14175       tmp_diet=no
   14176       if test linux-dietlibc = "$host_os"; then
   14177 	case $cc_basename in
   14178 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   14179 	esac
   14180       fi
   14181       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   14182 	 && test no = "$tmp_diet"
   14183       then
   14184 	tmp_addflag=' $pic_flag'
   14185 	tmp_sharedflag='-shared'
   14186 	case $cc_basename,$host_cpu in
   14187         pgcc*)				# Portland Group C compiler
   14188 	  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'
   14189 	  tmp_addflag=' $pic_flag'
   14190 	  ;;
   14191 	pgf77* | pgf90* | pgf95* | pgfortran*)
   14192 					# Portland Group f77 and f90 compilers
   14193 	  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'
   14194 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14195 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   14196 	  tmp_addflag=' -i_dynamic' ;;
   14197 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14198 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14199 	ifc* | ifort*)			# Intel Fortran compiler
   14200 	  tmp_addflag=' -nofor_main' ;;
   14201 	lf95*)				# Lahey Fortran 8.1
   14202 	  whole_archive_flag_spec=
   14203 	  tmp_sharedflag='--shared' ;;
   14204         nagfor*)                        # NAGFOR 5.3
   14205           tmp_sharedflag='-Wl,-shared' ;;
   14206 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   14207 	  tmp_sharedflag='-qmkshrobj'
   14208 	  tmp_addflag= ;;
   14209 	nvcc*)	# Cuda Compiler Driver 2.2
   14210 	  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'
   14211 	  compiler_needs_object=yes
   14212 	  ;;
   14213 	esac
   14214 	case `$CC -V 2>&1 | $SED 5q` in
   14215 	*Sun\ C*)			# Sun C 5.9
   14216 	  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'
   14217 	  compiler_needs_object=yes
   14218 	  tmp_sharedflag='-G' ;;
   14219 	*Sun\ F*)			# Sun Fortran 8.3
   14220 	  tmp_sharedflag='-G' ;;
   14221 	esac
   14222 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14223 
   14224         if test yes = "$supports_anon_versioning"; then
   14225           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   14226             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14227             echo "local: *; };" >> $output_objdir/$libname.ver~
   14228             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   14229         fi
   14230 
   14231 	case $cc_basename in
   14232 	tcc*)
   14233 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   14234 	  export_dynamic_flag_spec='-rdynamic'
   14235 	  ;;
   14236 	xlf* | bgf* | bgxlf* | mpixlf*)
   14237 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   14238 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   14239 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   14240 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   14241 	  if test yes = "$supports_anon_versioning"; then
   14242 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   14243               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14244               echo "local: *; };" >> $output_objdir/$libname.ver~
   14245               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   14246 	  fi
   14247 	  ;;
   14248 	esac
   14249       else
   14250         ld_shlibs=no
   14251       fi
   14252       ;;
   14253 
   14254     *-mlibc)
   14255 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14256 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   14257       ;;
   14258 
   14259     netbsd* | netbsdelf*-gnu)
   14260       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   14261 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14262 	wlarc=
   14263       else
   14264 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14265 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   14266       fi
   14267       ;;
   14268 
   14269     solaris*)
   14270       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   14271 	ld_shlibs=no
   14272 	cat <<_LT_EOF 1>&2
   14273 
   14274 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14275 *** create shared libraries on Solaris systems.  Therefore, libtool
   14276 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14277 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14278 *** your PATH or compiler configuration so that the native linker is
   14279 *** used, and then restart.
   14280 
   14281 _LT_EOF
   14282       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   14283 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14284 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   14285       else
   14286 	ld_shlibs=no
   14287       fi
   14288       ;;
   14289 
   14290     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14291       case `$LD -v 2>&1` in
   14292         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14293 	ld_shlibs=no
   14294 	cat <<_LT_EOF 1>&2
   14295 
   14296 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   14297 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14298 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14299 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14300 *** your PATH or compiler configuration so that the native linker is
   14301 *** used, and then restart.
   14302 
   14303 _LT_EOF
   14304 	;;
   14305 	*)
   14306 	  # For security reasons, it is highly recommended that you always
   14307 	  # use absolute paths for naming shared libraries, and exclude the
   14308 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   14309 	  # requires that you compile everything twice, which is a pain.
   14310 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   14311 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   14312 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14313 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   14314 	  else
   14315 	    ld_shlibs=no
   14316 	  fi
   14317 	;;
   14318       esac
   14319       ;;
   14320 
   14321     sunos4*)
   14322       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14323       wlarc=
   14324       hardcode_direct=yes
   14325       hardcode_shlibpath_var=no
   14326       ;;
   14327 
   14328     *)
   14329       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   14330 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14331 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   14332       else
   14333 	ld_shlibs=no
   14334       fi
   14335       ;;
   14336     esac
   14337 
   14338     if test no = "$ld_shlibs"; then
   14339       runpath_var=
   14340       hardcode_libdir_flag_spec=
   14341       export_dynamic_flag_spec=
   14342       whole_archive_flag_spec=
   14343     fi
   14344   else
   14345     # PORTME fill in a description of your system's linker (not GNU ld)
   14346     case $host_os in
   14347     aix3*)
   14348       allow_undefined_flag=unsupported
   14349       always_export_symbols=yes
   14350       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'
   14351       # Note: this linker hardcodes the directories in LIBPATH if there
   14352       # are no directories specified by -L.
   14353       hardcode_minus_L=yes
   14354       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   14355 	# Neither direct hardcoding nor static linking is supported with a
   14356 	# broken collect2.
   14357 	hardcode_direct=unsupported
   14358       fi
   14359       ;;
   14360 
   14361     aix[4-9]*)
   14362       if test ia64 = "$host_cpu"; then
   14363 	# On IA64, the linker does run time linking by default, so we don't
   14364 	# have to do anything special.
   14365 	aix_use_runtimelinking=no
   14366 	exp_sym_flag='-Bexport'
   14367 	no_entry_flag=
   14368       else
   14369 	# If we're using GNU nm, then we don't want the "-C" option.
   14370 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   14371 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   14372 	# weak defined symbols like other global defined symbols, whereas
   14373 	# GNU nm marks them as "W".
   14374 	# While the 'weak' keyword is ignored in the Export File, we need
   14375 	# it in the Import File for the 'aix-soname' feature, so we have
   14376 	# to replace the "-B" option with "-P" for AIX nm.
   14377 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   14378 	  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'
   14379 	else
   14380 	  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 == "L") || (\$ 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'
   14381 	fi
   14382 	aix_use_runtimelinking=no
   14383 
   14384 	# Test if we are trying to use run time linking or normal
   14385 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   14386 	# have runtime linking enabled, and use it for executables.
   14387 	# For shared libraries, we enable/disable runtime linking
   14388 	# depending on the kind of the shared library created -
   14389 	# when "with_aix_soname,aix_use_runtimelinking" is:
   14390 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   14391 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   14392 	#            lib.a           static archive
   14393 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   14394 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   14395 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   14396 	#            lib.a(lib.so.V) shared, rtl:no
   14397 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   14398 	#            lib.a           static archive
   14399 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   14400 	  for ld_flag in $LDFLAGS; do
   14401 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   14402 	    aix_use_runtimelinking=yes
   14403 	    break
   14404 	  fi
   14405 	  done
   14406 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   14407 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   14408 	    # so we don't have lib.a shared libs to link our executables.
   14409 	    # We have to force runtime linking in this case.
   14410 	    aix_use_runtimelinking=yes
   14411 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   14412 	  fi
   14413 	  ;;
   14414 	esac
   14415 
   14416 	exp_sym_flag='-bexport'
   14417 	no_entry_flag='-bnoentry'
   14418       fi
   14419 
   14420       # When large executables or shared objects are built, AIX ld can
   14421       # have problems creating the table of contents.  If linking a library
   14422       # or program results in "error TOC overflow" add -mminimal-toc to
   14423       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   14424       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   14425 
   14426       archive_cmds=''
   14427       hardcode_direct=yes
   14428       hardcode_direct_absolute=yes
   14429       hardcode_libdir_separator=':'
   14430       link_all_deplibs=yes
   14431       file_list_spec='$wl-f,'
   14432       case $with_aix_soname,$aix_use_runtimelinking in
   14433       aix,*) ;; # traditional, no import file
   14434       svr4,* | *,yes) # use import file
   14435 	# The Import File defines what to hardcode.
   14436 	hardcode_direct=no
   14437 	hardcode_direct_absolute=no
   14438 	;;
   14439       esac
   14440 
   14441       if test yes = "$GCC"; then
   14442 	case $host_os in aix4.[012]|aix4.[012].*)
   14443 	# We only want to do this on AIX 4.2 and lower, the check
   14444 	# below for broken collect2 doesn't work under 4.3+
   14445 	  collect2name=`$CC -print-prog-name=collect2`
   14446 	  if test -f "$collect2name" &&
   14447 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   14448 	  then
   14449 	  # We have reworked collect2
   14450 	  :
   14451 	  else
   14452 	  # We have old collect2
   14453 	  hardcode_direct=unsupported
   14454 	  # It fails to find uninstalled libraries when the uninstalled
   14455 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   14456 	  # to unsupported forces relinking
   14457 	  hardcode_minus_L=yes
   14458 	  hardcode_libdir_flag_spec='-L$libdir'
   14459 	  hardcode_libdir_separator=
   14460 	  fi
   14461 	  ;;
   14462 	esac
   14463 	shared_flag='-shared'
   14464 	if test yes = "$aix_use_runtimelinking"; then
   14465 	  shared_flag="$shared_flag "'$wl-G'
   14466 	fi
   14467 	# Need to ensure runtime linking is disabled for the traditional
   14468 	# shared library, or the linker may eventually find shared libraries
   14469 	# /with/ Import File - we do not want to mix them.
   14470 	shared_flag_aix='-shared'
   14471 	shared_flag_svr4='-shared $wl-G'
   14472       else
   14473 	# not using gcc
   14474 	if test ia64 = "$host_cpu"; then
   14475 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   14476 	# chokes on -Wl,-G. The following line is correct:
   14477 	  shared_flag='-G'
   14478 	else
   14479 	  if test yes = "$aix_use_runtimelinking"; then
   14480 	    shared_flag='$wl-G'
   14481 	  else
   14482 	    shared_flag='$wl-bM:SRE'
   14483 	  fi
   14484 	  shared_flag_aix='$wl-bM:SRE'
   14485 	  shared_flag_svr4='$wl-G'
   14486 	fi
   14487       fi
   14488 
   14489       export_dynamic_flag_spec='$wl-bexpall'
   14490       # It seems that -bexpall does not export symbols beginning with
   14491       # underscore (_), so it is better to generate a list of symbols to export.
   14492       always_export_symbols=yes
   14493       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   14494 	# Warning - without using the other runtime loading flags (-brtl),
   14495 	# -berok will link without error, but may produce a broken library.
   14496 	allow_undefined_flag='-berok'
   14497         # Determine the default libpath from the value encoded in an
   14498         # empty executable.
   14499         if test set = "${lt_cv_aix_libpath+set}"; then
   14500   aix_libpath=$lt_cv_aix_libpath
   14501 else
   14502   if test ${lt_cv_aix_libpath_+y}
   14503 then :
   14504   printf %s "(cached) " >&6
   14505 else case e in #(
   14506   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14507 /* end confdefs.h.  */
   14508 
   14509 int
   14510 main (void)
   14511 {
   14512 
   14513   ;
   14514   return 0;
   14515 }
   14516 _ACEOF
   14517 if ac_fn_c_try_link "$LINENO"
   14518 then :
   14519 
   14520   lt_aix_libpath_sed='
   14521       /Import File Strings/,/^$/ {
   14522 	  /^0/ {
   14523 	      s/^0  *\([^ ]*\) *$/\1/
   14524 	      p
   14525 	  }
   14526       }'
   14527   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14528   # Check for a 64-bit object if we didn't find anything.
   14529   if test -z "$lt_cv_aix_libpath_"; then
   14530     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14531   fi
   14532 fi
   14533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14534     conftest$ac_exeext conftest.$ac_ext
   14535   if test -z "$lt_cv_aix_libpath_"; then
   14536     lt_cv_aix_libpath_=/usr/lib:/lib
   14537   fi
   14538    ;;
   14539 esac
   14540 fi
   14541 
   14542   aix_libpath=$lt_cv_aix_libpath_
   14543 fi
   14544 
   14545         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   14546         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
   14547       else
   14548 	if test ia64 = "$host_cpu"; then
   14549 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   14550 	  allow_undefined_flag="-z nodefs"
   14551 	  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"
   14552 	else
   14553 	 # Determine the default libpath from the value encoded in an
   14554 	 # empty executable.
   14555 	 if test set = "${lt_cv_aix_libpath+set}"; then
   14556   aix_libpath=$lt_cv_aix_libpath
   14557 else
   14558   if test ${lt_cv_aix_libpath_+y}
   14559 then :
   14560   printf %s "(cached) " >&6
   14561 else case e in #(
   14562   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14563 /* end confdefs.h.  */
   14564 
   14565 int
   14566 main (void)
   14567 {
   14568 
   14569   ;
   14570   return 0;
   14571 }
   14572 _ACEOF
   14573 if ac_fn_c_try_link "$LINENO"
   14574 then :
   14575 
   14576   lt_aix_libpath_sed='
   14577       /Import File Strings/,/^$/ {
   14578 	  /^0/ {
   14579 	      s/^0  *\([^ ]*\) *$/\1/
   14580 	      p
   14581 	  }
   14582       }'
   14583   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14584   # Check for a 64-bit object if we didn't find anything.
   14585   if test -z "$lt_cv_aix_libpath_"; then
   14586     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14587   fi
   14588 fi
   14589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14590     conftest$ac_exeext conftest.$ac_ext
   14591   if test -z "$lt_cv_aix_libpath_"; then
   14592     lt_cv_aix_libpath_=/usr/lib:/lib
   14593   fi
   14594    ;;
   14595 esac
   14596 fi
   14597 
   14598   aix_libpath=$lt_cv_aix_libpath_
   14599 fi
   14600 
   14601 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   14602 	  # Warning - without using the other run time loading flags,
   14603 	  # -berok will link without error, but may produce a broken library.
   14604 	  no_undefined_flag=' $wl-bernotok'
   14605 	  allow_undefined_flag=' $wl-berok'
   14606 	  if test yes = "$with_gnu_ld"; then
   14607 	    # We only use this code for GNU lds that support --whole-archive.
   14608 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   14609 	  else
   14610 	    # Exported symbols can be pulled into shared objects from archives
   14611 	    whole_archive_flag_spec='$convenience'
   14612 	  fi
   14613 	  archive_cmds_need_lc=yes
   14614 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   14615 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   14616 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   14617 	  if test svr4 != "$with_aix_soname"; then
   14618 	    # This is similar to how AIX traditionally builds its shared libraries.
   14619 	    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'
   14620 	  fi
   14621 	  if test aix != "$with_aix_soname"; then
   14622 	    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'
   14623 	  else
   14624 	    # used by -dlpreopen to get the symbols
   14625 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   14626 	  fi
   14627 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   14628 	fi
   14629       fi
   14630       ;;
   14631 
   14632     amigaos*)
   14633       case $host_cpu in
   14634       powerpc)
   14635             # see comment about AmigaOS4 .so support
   14636             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14637             archive_expsym_cmds=''
   14638         ;;
   14639       m68k)
   14640             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)'
   14641             hardcode_libdir_flag_spec='-L$libdir'
   14642             hardcode_minus_L=yes
   14643         ;;
   14644       esac
   14645       ;;
   14646 
   14647     bsdi[45]*)
   14648       export_dynamic_flag_spec=-rdynamic
   14649       ;;
   14650 
   14651     cygwin* | mingw* | windows* | pw32* | cegcc*)
   14652       # When not using gcc, we currently assume that we are using
   14653       # Microsoft Visual C++ or Intel C++ Compiler.
   14654       # hardcode_libdir_flag_spec is actually meaningless, as there is
   14655       # no search path for DLLs.
   14656       case $cc_basename in
   14657       cl* | icl*)
   14658 	# Native MSVC or ICC
   14659 	hardcode_libdir_flag_spec=' '
   14660 	allow_undefined_flag=unsupported
   14661 	always_export_symbols=yes
   14662 	file_list_spec='@'
   14663 	# Tell ltmain to make .lib files, not .a files.
   14664 	libext=lib
   14665 	# Tell ltmain to make .dll files, not .so files.
   14666 	shrext_cmds=.dll
   14667 	# FIXME: Setting linknames here is a bad hack.
   14668 	archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   14669 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   14670             cp "$export_symbols" "$output_objdir/$soname.def";
   14671             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   14672           else
   14673             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   14674           fi~
   14675           $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   14676           linknames='
   14677 	# The linker will not automatically build a static lib if we build a DLL.
   14678 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   14679 	enable_shared_with_static_runtimes=yes
   14680 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   14681 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14682 	# Don't use ranlib
   14683 	old_postinstall_cmds='chmod 644 $oldlib'
   14684 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   14685           lt_tool_outputfile="@TOOL_OUTPUT@"~
   14686           case $lt_outputfile in
   14687             *.exe|*.EXE) ;;
   14688             *)
   14689               lt_outputfile=$lt_outputfile.exe
   14690               lt_tool_outputfile=$lt_tool_outputfile.exe
   14691               ;;
   14692           esac~
   14693           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   14694             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   14695             $RM "$lt_outputfile.manifest";
   14696           fi'
   14697 	;;
   14698       *)
   14699 	# Assume MSVC and ICC wrapper
   14700 	hardcode_libdir_flag_spec=' '
   14701 	allow_undefined_flag=unsupported
   14702 	# Tell ltmain to make .lib files, not .a files.
   14703 	libext=lib
   14704 	# Tell ltmain to make .dll files, not .so files.
   14705 	shrext_cmds=.dll
   14706 	# FIXME: Setting linknames here is a bad hack.
   14707 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   14708 	# The linker will automatically build a .lib file if we build a DLL.
   14709 	old_archive_from_new_cmds='true'
   14710 	# FIXME: Should let the user specify the lib program.
   14711 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   14712 	enable_shared_with_static_runtimes=yes
   14713 	;;
   14714       esac
   14715       ;;
   14716 
   14717     darwin* | rhapsody*)
   14718 
   14719 
   14720   archive_cmds_need_lc=no
   14721   hardcode_direct=no
   14722   hardcode_automatic=yes
   14723   hardcode_shlibpath_var=unsupported
   14724   if test yes = "$lt_cv_ld_force_load"; then
   14725     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\"`'
   14726 
   14727   else
   14728     whole_archive_flag_spec=''
   14729   fi
   14730   link_all_deplibs=yes
   14731   allow_undefined_flag=$_lt_dar_allow_undefined
   14732   case $cc_basename in
   14733      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   14734      *) _lt_dar_can_shared=$GCC ;;
   14735   esac
   14736   if test yes = "$_lt_dar_can_shared"; then
   14737     output_verbose_link_cmd=func_echo_all
   14738     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   14739     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   14740     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"
   14741     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"
   14742 
   14743   else
   14744   ld_shlibs=no
   14745   fi
   14746 
   14747       ;;
   14748 
   14749     dgux*)
   14750       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14751       hardcode_libdir_flag_spec='-L$libdir'
   14752       hardcode_shlibpath_var=no
   14753       ;;
   14754 
   14755     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   14756     # support.  Future versions do this automatically, but an explicit c++rt0.o
   14757     # does not break anything, and helps significantly (at the cost of a little
   14758     # extra space).
   14759     freebsd2.2*)
   14760       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   14761       hardcode_libdir_flag_spec='-R$libdir'
   14762       hardcode_direct=yes
   14763       hardcode_shlibpath_var=no
   14764       ;;
   14765 
   14766     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   14767     freebsd2.*)
   14768       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14769       hardcode_direct=yes
   14770       hardcode_minus_L=yes
   14771       hardcode_shlibpath_var=no
   14772       ;;
   14773 
   14774     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   14775     freebsd* | dragonfly* | midnightbsd*)
   14776       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14777       hardcode_libdir_flag_spec='-R$libdir'
   14778       hardcode_direct=yes
   14779       hardcode_shlibpath_var=no
   14780       ;;
   14781 
   14782     hpux9*)
   14783       if test yes = "$GCC"; then
   14784 	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 $output_objdir/$soname $lib'
   14785       else
   14786 	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 $output_objdir/$soname $lib'
   14787       fi
   14788       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   14789       hardcode_libdir_separator=:
   14790       hardcode_direct=yes
   14791 
   14792       # hardcode_minus_L: Not really in the search PATH,
   14793       # but as the default location of the library.
   14794       hardcode_minus_L=yes
   14795       export_dynamic_flag_spec='$wl-E'
   14796       ;;
   14797 
   14798     hpux10*)
   14799       if test yes,no = "$GCC,$with_gnu_ld"; then
   14800 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14801       else
   14802 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   14803       fi
   14804       if test no = "$with_gnu_ld"; then
   14805 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   14806 	hardcode_libdir_separator=:
   14807 	hardcode_direct=yes
   14808 	hardcode_direct_absolute=yes
   14809 	export_dynamic_flag_spec='$wl-E'
   14810 	# hardcode_minus_L: Not really in the search PATH,
   14811 	# but as the default location of the library.
   14812 	hardcode_minus_L=yes
   14813       fi
   14814       ;;
   14815 
   14816     hpux11*)
   14817       if test yes,no = "$GCC,$with_gnu_ld"; then
   14818 	case $host_cpu in
   14819 	hppa*64*)
   14820 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   14821 	  ;;
   14822 	ia64*)
   14823 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14824 	  ;;
   14825 	*)
   14826 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14827 	  ;;
   14828 	esac
   14829       else
   14830 	case $host_cpu in
   14831 	hppa*64*)
   14832 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   14833 	  ;;
   14834 	ia64*)
   14835 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14836 	  ;;
   14837 	*)
   14838 
   14839 	  # Older versions of the 11.00 compiler do not understand -b yet
   14840 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   14841 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   14842 printf %s "checking if $CC understands -b... " >&6; }
   14843 if test ${lt_cv_prog_compiler__b+y}
   14844 then :
   14845   printf %s "(cached) " >&6
   14846 else case e in #(
   14847   e) lt_cv_prog_compiler__b=no
   14848    save_LDFLAGS=$LDFLAGS
   14849    LDFLAGS="$LDFLAGS -b"
   14850    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14851    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14852      # The linker can only warn and ignore the option if not recognized
   14853      # So say no if there are warnings
   14854      if test -s conftest.err; then
   14855        # Append any errors to the config.log.
   14856        cat conftest.err 1>&5
   14857        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   14858        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14859        if diff conftest.exp conftest.er2 >/dev/null; then
   14860          lt_cv_prog_compiler__b=yes
   14861        fi
   14862      else
   14863        lt_cv_prog_compiler__b=yes
   14864      fi
   14865    fi
   14866    $RM -r conftest*
   14867    LDFLAGS=$save_LDFLAGS
   14868  ;;
   14869 esac
   14870 fi
   14871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   14872 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   14873 
   14874 if test yes = "$lt_cv_prog_compiler__b"; then
   14875     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14876 else
   14877     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   14878 fi
   14879 
   14880 	  ;;
   14881 	esac
   14882       fi
   14883       if test no = "$with_gnu_ld"; then
   14884 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   14885 	hardcode_libdir_separator=:
   14886 
   14887 	case $host_cpu in
   14888 	hppa*64*|ia64*)
   14889 	  hardcode_direct=no
   14890 	  hardcode_shlibpath_var=no
   14891 	  ;;
   14892 	*)
   14893 	  hardcode_direct=yes
   14894 	  hardcode_direct_absolute=yes
   14895 	  export_dynamic_flag_spec='$wl-E'
   14896 
   14897 	  # hardcode_minus_L: Not really in the search PATH,
   14898 	  # but as the default location of the library.
   14899 	  hardcode_minus_L=yes
   14900 	  ;;
   14901 	esac
   14902       fi
   14903       ;;
   14904 
   14905     irix5* | irix6* | nonstopux*)
   14906       if test yes = "$GCC"; then
   14907 	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'
   14908 	# Try to use the -exported_symbol ld option, if it does not
   14909 	# work, assume that -exports_file does not work either and
   14910 	# implicitly export all symbols.
   14911 	# This should be the same for all languages, so no per-tag cache variable.
   14912 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   14913 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   14914 if test ${lt_cv_irix_exported_symbol+y}
   14915 then :
   14916   printf %s "(cached) " >&6
   14917 else case e in #(
   14918   e) save_LDFLAGS=$LDFLAGS
   14919 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   14920 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14921 /* end confdefs.h.  */
   14922 int foo (void) { return 0; }
   14923 _ACEOF
   14924 if ac_fn_c_try_link "$LINENO"
   14925 then :
   14926   lt_cv_irix_exported_symbol=yes
   14927 else case e in #(
   14928   e) lt_cv_irix_exported_symbol=no ;;
   14929 esac
   14930 fi
   14931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14932     conftest$ac_exeext conftest.$ac_ext
   14933            LDFLAGS=$save_LDFLAGS ;;
   14934 esac
   14935 fi
   14936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   14937 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   14938 	if test yes = "$lt_cv_irix_exported_symbol"; then
   14939           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'
   14940 	fi
   14941 	link_all_deplibs=no
   14942       else
   14943 	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'
   14944 	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'
   14945       fi
   14946       archive_cmds_need_lc='no'
   14947       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   14948       hardcode_libdir_separator=:
   14949       inherit_rpath=yes
   14950       link_all_deplibs=yes
   14951       ;;
   14952 
   14953     linux*)
   14954       case $cc_basename in
   14955       tcc*)
   14956 	# Fabrice Bellard et al's Tiny C Compiler
   14957 	ld_shlibs=yes
   14958 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14959 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   14960 	;;
   14961       esac
   14962       ;;
   14963 
   14964     *-mlibc)
   14965       ;;
   14966 
   14967     netbsd* | netbsdelf*-gnu)
   14968       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   14969 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   14970       else
   14971 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   14972       fi
   14973       hardcode_libdir_flag_spec='-R$libdir'
   14974       hardcode_direct=yes
   14975       hardcode_shlibpath_var=no
   14976       ;;
   14977 
   14978     newsos6)
   14979       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14980       hardcode_direct=yes
   14981       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   14982       hardcode_libdir_separator=:
   14983       hardcode_shlibpath_var=no
   14984       ;;
   14985 
   14986     *nto* | *qnx*)
   14987       ;;
   14988 
   14989     openbsd*)
   14990       if test -f /usr/libexec/ld.so; then
   14991 	hardcode_direct=yes
   14992 	hardcode_shlibpath_var=no
   14993 	hardcode_direct_absolute=yes
   14994 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   14995 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14996 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   14997 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   14998 	  export_dynamic_flag_spec='$wl-E'
   14999 	else
   15000 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15001 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   15002 	fi
   15003       else
   15004 	ld_shlibs=no
   15005       fi
   15006       ;;
   15007 
   15008     os2*)
   15009       hardcode_libdir_flag_spec='-L$libdir'
   15010       hardcode_minus_L=yes
   15011       allow_undefined_flag=unsupported
   15012       shrext_cmds=.dll
   15013       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15014 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15015 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15016 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15017 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   15018 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15019 	emximp -o $lib $output_objdir/$libname.def'
   15020       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15021 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15022 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15023 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15024 	prefix_cmds="$SED"~
   15025 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   15026 	  prefix_cmds="$prefix_cmds -e 1d";
   15027 	fi~
   15028 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   15029 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   15030 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15031 	emximp -o $lib $output_objdir/$libname.def'
   15032       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   15033       enable_shared_with_static_runtimes=yes
   15034       file_list_spec='@'
   15035       ;;
   15036 
   15037     osf3*)
   15038       if test yes = "$GCC"; then
   15039 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   15040 	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'
   15041       else
   15042 	allow_undefined_flag=' -expect_unresolved \*'
   15043 	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'
   15044       fi
   15045       archive_cmds_need_lc='no'
   15046       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15047       hardcode_libdir_separator=:
   15048       ;;
   15049 
   15050     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15051       if test yes = "$GCC"; then
   15052 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   15053 	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'
   15054 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15055       else
   15056 	allow_undefined_flag=' -expect_unresolved \*'
   15057 	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'
   15058 	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~
   15059           $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'
   15060 
   15061 	# Both c and cxx compiler support -rpath directly
   15062 	hardcode_libdir_flag_spec='-rpath $libdir'
   15063       fi
   15064       archive_cmds_need_lc='no'
   15065       hardcode_libdir_separator=:
   15066       ;;
   15067 
   15068     serenity*)
   15069       ;;
   15070 
   15071     solaris*)
   15072       no_undefined_flag=' -z defs'
   15073       if test yes = "$GCC"; then
   15074 	wlarc='$wl'
   15075 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   15076 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15077           $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'
   15078       else
   15079 	case `$CC -V 2>&1` in
   15080 	*"Compilers 5.0"*)
   15081 	  wlarc=''
   15082 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15083 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15084             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   15085 	  ;;
   15086 	*)
   15087 	  wlarc='$wl'
   15088 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15089 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15090             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   15091 	  ;;
   15092 	esac
   15093       fi
   15094       hardcode_libdir_flag_spec='-R$libdir'
   15095       hardcode_shlibpath_var=no
   15096       case $host_os in
   15097       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15098       *)
   15099 	# The compiler driver will combine and reorder linker options,
   15100 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   15101 	# but is careful enough not to reorder.
   15102 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15103 	if test yes = "$GCC"; then
   15104 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   15105 	else
   15106 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   15107 	fi
   15108 	;;
   15109       esac
   15110       link_all_deplibs=yes
   15111       ;;
   15112 
   15113     sunos4*)
   15114       if test sequent = "$host_vendor"; then
   15115 	# Use $CC to link under sequent, because it throws in some extra .o
   15116 	# files that make .init and .fini sections work.
   15117 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15118       else
   15119 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15120       fi
   15121       hardcode_libdir_flag_spec='-L$libdir'
   15122       hardcode_direct=yes
   15123       hardcode_minus_L=yes
   15124       hardcode_shlibpath_var=no
   15125       ;;
   15126 
   15127     sysv4)
   15128       case $host_vendor in
   15129 	sni)
   15130 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15131 	  hardcode_direct=yes # is this really true???
   15132 	;;
   15133 	siemens)
   15134 	  ## LD is ld it makes a PLAMLIB
   15135 	  ## CC just makes a GrossModule.
   15136 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15137 	  reload_cmds='$CC -r -o $output$reload_objs'
   15138 	  hardcode_direct=no
   15139         ;;
   15140 	motorola)
   15141 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15142 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   15143 	;;
   15144       esac
   15145       runpath_var='LD_RUN_PATH'
   15146       hardcode_shlibpath_var=no
   15147       ;;
   15148 
   15149     sysv4.3*)
   15150       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15151       hardcode_shlibpath_var=no
   15152       export_dynamic_flag_spec='-Bexport'
   15153       ;;
   15154 
   15155     sysv4*MP*)
   15156       if test -d /usr/nec; then
   15157 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15158 	hardcode_shlibpath_var=no
   15159 	runpath_var=LD_RUN_PATH
   15160 	hardcode_runpath_var=yes
   15161 	ld_shlibs=yes
   15162       fi
   15163       ;;
   15164 
   15165     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15166       no_undefined_flag='$wl-z,text'
   15167       archive_cmds_need_lc=no
   15168       hardcode_shlibpath_var=no
   15169       runpath_var='LD_RUN_PATH'
   15170 
   15171       if test yes = "$GCC"; then
   15172 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15173 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15174       else
   15175 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15176 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15177       fi
   15178       ;;
   15179 
   15180     sysv5* | sco3.2v5* | sco5v6*)
   15181       # Note: We CANNOT use -z defs as we might desire, because we do not
   15182       # link with -lc, and that would cause any symbols used from libc to
   15183       # always be unresolved, which means just about no library would
   15184       # ever link correctly.  If we're not using GNU ld we use -z text
   15185       # though, which does catch some bad symbols but isn't as heavy-handed
   15186       # as -z defs.
   15187       no_undefined_flag='$wl-z,text'
   15188       allow_undefined_flag='$wl-z,nodefs'
   15189       archive_cmds_need_lc=no
   15190       hardcode_shlibpath_var=no
   15191       hardcode_libdir_flag_spec='$wl-R,$libdir'
   15192       hardcode_libdir_separator=':'
   15193       link_all_deplibs=yes
   15194       export_dynamic_flag_spec='$wl-Bexport'
   15195       runpath_var='LD_RUN_PATH'
   15196 
   15197       if test yes = "$GCC"; then
   15198 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15199 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15200       else
   15201 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15202 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15203       fi
   15204       ;;
   15205 
   15206     uts4*)
   15207       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15208       hardcode_libdir_flag_spec='-L$libdir'
   15209       hardcode_shlibpath_var=no
   15210       ;;
   15211 
   15212     *)
   15213       ld_shlibs=no
   15214       ;;
   15215     esac
   15216 
   15217     if test sni = "$host_vendor"; then
   15218       case $host in
   15219       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   15220 	export_dynamic_flag_spec='$wl-Blargedynsym'
   15221 	;;
   15222       esac
   15223     fi
   15224   fi
   15225 
   15226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   15227 printf "%s\n" "$ld_shlibs" >&6; }
   15228 test no = "$ld_shlibs" && can_build_shared=no
   15229 
   15230 with_gnu_ld=$with_gnu_ld
   15231 
   15232 
   15233 
   15234 
   15235 
   15236 
   15237 
   15238 
   15239 
   15240 
   15241 
   15242 
   15243 
   15244 
   15245 
   15246 #
   15247 # Do we need to explicitly link libc?
   15248 #
   15249 case "x$archive_cmds_need_lc" in
   15250 x|xyes)
   15251   # Assume -lc should be added
   15252   archive_cmds_need_lc=yes
   15253 
   15254   if test yes,yes = "$GCC,$enable_shared"; then
   15255     case $archive_cmds in
   15256     *'~'*)
   15257       # FIXME: we may have to deal with multi-command sequences.
   15258       ;;
   15259     '$CC '*)
   15260       # Test whether the compiler implicitly links with -lc since on some
   15261       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15262       # to ld, don't add -lc before -lgcc.
   15263       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   15264 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   15265 if test ${lt_cv_archive_cmds_need_lc+y}
   15266 then :
   15267   printf %s "(cached) " >&6
   15268 else case e in #(
   15269   e) $RM conftest*
   15270 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15271 
   15272 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   15273   (eval $ac_compile) 2>&5
   15274   ac_status=$?
   15275   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15276   test $ac_status = 0; } 2>conftest.err; then
   15277 	  soname=conftest
   15278 	  lib=conftest
   15279 	  libobjs=conftest.$ac_objext
   15280 	  deplibs=
   15281 	  wl=$lt_prog_compiler_wl
   15282 	  pic_flag=$lt_prog_compiler_pic
   15283 	  compiler_flags=-v
   15284 	  linker_flags=-v
   15285 	  verstring=
   15286 	  output_objdir=.
   15287 	  libname=conftest
   15288 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   15289 	  allow_undefined_flag=
   15290 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   15291   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15292   ac_status=$?
   15293   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15294   test $ac_status = 0; }
   15295 	  then
   15296 	    lt_cv_archive_cmds_need_lc=no
   15297 	  else
   15298 	    lt_cv_archive_cmds_need_lc=yes
   15299 	  fi
   15300 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   15301 	else
   15302 	  cat conftest.err 1>&5
   15303 	fi
   15304 	$RM conftest*
   15305 	 ;;
   15306 esac
   15307 fi
   15308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   15309 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   15310       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   15311       ;;
   15312     esac
   15313   fi
   15314   ;;
   15315 esac
   15316 
   15317 
   15318 
   15319 
   15320 
   15321 
   15322 
   15323 
   15324 
   15325 
   15326 
   15327 
   15328 
   15329 
   15330 
   15331 
   15332 
   15333 
   15334 
   15335 
   15336 
   15337 
   15338 
   15339 
   15340 
   15341 
   15342 
   15343 
   15344 
   15345 
   15346 
   15347 
   15348 
   15349 
   15350 
   15351 
   15352 
   15353 
   15354 
   15355 
   15356 
   15357 
   15358 
   15359 
   15360 
   15361 
   15362 
   15363 
   15364 
   15365 
   15366 
   15367 
   15368 
   15369 
   15370 
   15371 
   15372 
   15373 
   15374 
   15375 
   15376 
   15377 
   15378 
   15379 
   15380 
   15381 
   15382 
   15383 
   15384 
   15385 
   15386 
   15387 
   15388 
   15389 
   15390 
   15391 
   15392 
   15393 
   15394 
   15395 
   15396 
   15397 
   15398 
   15399 
   15400 
   15401 
   15402 
   15403 
   15404 
   15405 
   15406 
   15407 
   15408 
   15409 
   15410 
   15411 
   15412 
   15413 
   15414 
   15415 
   15416 
   15417 
   15418 
   15419 
   15420 
   15421 
   15422 
   15423 
   15424 
   15425 
   15426 
   15427 
   15428 
   15429 
   15430 
   15431 
   15432 
   15433 
   15434 
   15435 
   15436 
   15437 
   15438 
   15439 
   15440 
   15441 
   15442 
   15443 
   15444 
   15445 
   15446 
   15447 
   15448 
   15449 
   15450 
   15451 
   15452 
   15453 
   15454 
   15455 
   15456 
   15457 
   15458 
   15459 
   15460 
   15461 
   15462 
   15463 
   15464 
   15465 
   15466 
   15467 
   15468   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   15469 printf %s "checking dynamic linker characteristics... " >&6; }
   15470 
   15471 if test yes = "$GCC"; then
   15472   case $host_os in
   15473     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   15474     *) lt_awk_arg='/^libraries:/' ;;
   15475   esac
   15476   case $host_os in
   15477     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   15478     *) lt_sed_strip_eq='s|=/|/|g' ;;
   15479   esac
   15480   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   15481   case $lt_search_path_spec in
   15482   *\;*)
   15483     # if the path contains ";" then we assume it to be the separator
   15484     # otherwise default to the standard path separator (i.e. ":") - it is
   15485     # assumed that no part of a normal pathname contains ";" but that should
   15486     # okay in the real world where ";" in dirpaths is itself problematic.
   15487     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   15488     ;;
   15489   *)
   15490     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   15491     ;;
   15492   esac
   15493   # Ok, now we have the path, separated by spaces, we can step through it
   15494   # and add multilib dir if necessary...
   15495   lt_tmp_lt_search_path_spec=
   15496   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   15497   # ...but if some path component already ends with the multilib dir we assume
   15498   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   15499   case "$lt_multi_os_dir; $lt_search_path_spec " in
   15500   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   15501     lt_multi_os_dir=
   15502     ;;
   15503   esac
   15504   for lt_sys_path in $lt_search_path_spec; do
   15505     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   15506       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   15507     elif test -n "$lt_multi_os_dir"; then
   15508       test -d "$lt_sys_path" && \
   15509 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   15510     fi
   15511   done
   15512   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   15513 BEGIN {RS = " "; FS = "/|\n";} {
   15514   lt_foo = "";
   15515   lt_count = 0;
   15516   for (lt_i = NF; lt_i > 0; lt_i--) {
   15517     if ($lt_i != "" && $lt_i != ".") {
   15518       if ($lt_i == "..") {
   15519         lt_count++;
   15520       } else {
   15521         if (lt_count == 0) {
   15522           lt_foo = "/" $lt_i lt_foo;
   15523         } else {
   15524           lt_count--;
   15525         }
   15526       }
   15527     }
   15528   }
   15529   if (lt_foo != "") { lt_freq[lt_foo]++; }
   15530   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   15531 }'`
   15532   # AWK program above erroneously prepends '/' to C:/dos/paths
   15533   # for these hosts.
   15534   case $host_os in
   15535     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   15536       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   15537   esac
   15538   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   15539 else
   15540   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   15541 fi
   15542 library_names_spec=
   15543 libname_spec='lib$name'
   15544 soname_spec=
   15545 shrext_cmds=.so
   15546 postinstall_cmds=
   15547 postuninstall_cmds=
   15548 finish_cmds=
   15549 finish_eval=
   15550 shlibpath_var=
   15551 shlibpath_overrides_runpath=unknown
   15552 version_type=none
   15553 dynamic_linker="$host_os ld.so"
   15554 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15555 need_lib_prefix=unknown
   15556 hardcode_into_libs=no
   15557 
   15558 # when you set need_version to no, make sure it does not cause -set_version
   15559 # flags to be left without arguments
   15560 need_version=unknown
   15561 
   15562 
   15563 
   15564 case $host_os in
   15565 aix3*)
   15566   version_type=linux # correct to gnu/linux during the next big refactor
   15567   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   15568   shlibpath_var=LIBPATH
   15569 
   15570   # AIX 3 has no versioning support, so we append a major version to the name.
   15571   soname_spec='$libname$release$shared_ext$major'
   15572   ;;
   15573 
   15574 aix[4-9]*)
   15575   version_type=linux # correct to gnu/linux during the next big refactor
   15576   need_lib_prefix=no
   15577   need_version=no
   15578   hardcode_into_libs=yes
   15579   if test ia64 = "$host_cpu"; then
   15580     # AIX 5 supports IA64
   15581     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   15582     shlibpath_var=LD_LIBRARY_PATH
   15583   else
   15584     # With GCC up to 2.95.x, collect2 would create an import file
   15585     # for dependence libraries.  The import file would start with
   15586     # the line '#! .'.  This would cause the generated library to
   15587     # depend on '.', always an invalid library.  This was fixed in
   15588     # development snapshots of GCC prior to 3.0.
   15589     case $host_os in
   15590       aix4 | aix4.[01] | aix4.[01].*)
   15591       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15592 	   echo ' yes '
   15593 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   15594 	:
   15595       else
   15596 	can_build_shared=no
   15597       fi
   15598       ;;
   15599     esac
   15600     # Using Import Files as archive members, it is possible to support
   15601     # filename-based versioning of shared library archives on AIX. While
   15602     # this would work for both with and without runtime linking, it will
   15603     # prevent static linking of such archives. So we do filename-based
   15604     # shared library versioning with .so extension only, which is used
   15605     # when both runtime linking and shared linking is enabled.
   15606     # Unfortunately, runtime linking may impact performance, so we do
   15607     # not want this to be the default eventually. Also, we use the
   15608     # versioned .so libs for executables only if there is the -brtl
   15609     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
   15610     # To allow for filename-based versioning support, we need to create
   15611     # libNAME.so.V as an archive file, containing:
   15612     # *) an Import File, referring to the versioned filename of the
   15613     #    archive as well as the shared archive member, telling the
   15614     #    bitwidth (32 or 64) of that shared object, and providing the
   15615     #    list of exported symbols of that shared object, eventually
   15616     #    decorated with the 'weak' keyword
   15617     # *) the shared object with the F_LOADONLY flag set, to really avoid
   15618     #    it being seen by the linker.
   15619     # At run time we better use the real file rather than another symlink,
   15620     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   15621 
   15622     case $with_aix_soname,$aix_use_runtimelinking in
   15623     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   15624     # soname into executable. Probably we can add versioning support to
   15625     # collect2, so additional links can be useful in future.
   15626     aix,yes) # traditional libtool
   15627       dynamic_linker='AIX unversionable lib.so'
   15628       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15629       # instead of lib<name>.a to let people know that these are not
   15630       # typical AIX shared libraries.
   15631       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15632       ;;
   15633     aix,no) # traditional AIX only
   15634       dynamic_linker='AIX lib.a(lib.so.V)'
   15635       # We preserve .a as extension for shared libraries through AIX4.2
   15636       # and later when we are not doing run time linking.
   15637       library_names_spec='$libname$release.a $libname.a'
   15638       soname_spec='$libname$release$shared_ext$major'
   15639       ;;
   15640     svr4,*) # full svr4 only
   15641       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   15642       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   15643       # We do not specify a path in Import Files, so LIBPATH fires.
   15644       shlibpath_overrides_runpath=yes
   15645       ;;
   15646     *,yes) # both, prefer svr4
   15647       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   15648       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   15649       # unpreferred sharedlib libNAME.a needs extra handling
   15650       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"'
   15651       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"'
   15652       # We do not specify a path in Import Files, so LIBPATH fires.
   15653       shlibpath_overrides_runpath=yes
   15654       ;;
   15655     *,no) # both, prefer aix
   15656       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   15657       library_names_spec='$libname$release.a $libname.a'
   15658       soname_spec='$libname$release$shared_ext$major'
   15659       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   15660       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)'
   15661       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"'
   15662       ;;
   15663     esac
   15664     shlibpath_var=LIBPATH
   15665   fi
   15666   ;;
   15667 
   15668 amigaos*)
   15669   case $host_cpu in
   15670   powerpc)
   15671     # Since July 2007 AmigaOS4 officially supports .so libraries.
   15672     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   15673     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15674     ;;
   15675   m68k)
   15676     library_names_spec='$libname.ixlibrary $libname.a'
   15677     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15678     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'
   15679     ;;
   15680   esac
   15681   ;;
   15682 
   15683 beos*)
   15684   library_names_spec='$libname$shared_ext'
   15685   dynamic_linker="$host_os ld.so"
   15686   shlibpath_var=LIBRARY_PATH
   15687   ;;
   15688 
   15689 bsdi[45]*)
   15690   version_type=linux # correct to gnu/linux during the next big refactor
   15691   need_version=no
   15692   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15693   soname_spec='$libname$release$shared_ext$major'
   15694   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15695   shlibpath_var=LD_LIBRARY_PATH
   15696   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15697   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15698   # the default ld.so.conf also contains /usr/contrib/lib and
   15699   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15700   # libtool to hard-code these into programs
   15701   ;;
   15702 
   15703 cygwin* | mingw* | windows* | pw32* | cegcc*)
   15704   version_type=windows
   15705   shrext_cmds=.dll
   15706   need_version=no
   15707   need_lib_prefix=no
   15708 
   15709   case $GCC,$cc_basename in
   15710   yes,*)
   15711     # gcc
   15712     library_names_spec='$libname.dll.a'
   15713     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15714     # If user builds GCC with multilib enabled,
   15715     # it should just install on $(libdir)
   15716     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
   15717     if test xyes = x"$multilib"; then
   15718       postinstall_cmds='base_file=`basename \$file`~
   15719         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   15720         dldir=$destdir/`dirname \$dlpath`~
   15721         $install_prog $dir/$dlname $destdir/$dlname~
   15722         chmod a+x $destdir/$dlname~
   15723         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   15724           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
   15725         fi'
   15726     else
   15727       postinstall_cmds='base_file=`basename \$file`~
   15728         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   15729         dldir=$destdir/`dirname \$dlpath`~
   15730         test -d \$dldir || mkdir -p \$dldir~
   15731         $install_prog $dir/$dlname \$dldir/$dlname~
   15732         chmod a+x \$dldir/$dlname~
   15733         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   15734           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   15735         fi'
   15736     fi
   15737     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15738       dlpath=$dir/\$dldll~
   15739        $RM \$dlpath'
   15740     shlibpath_overrides_runpath=yes
   15741 
   15742     case $host_os in
   15743     cygwin*)
   15744       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15745       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   15746 
   15747       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   15748       ;;
   15749     mingw* | windows* | cegcc*)
   15750       # MinGW DLLs use traditional 'lib' prefix
   15751       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   15752       ;;
   15753     pw32*)
   15754       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15755       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   15756       ;;
   15757     esac
   15758     dynamic_linker='Win32 ld.exe'
   15759     ;;
   15760 
   15761   *,cl* | *,icl*)
   15762     # Native MSVC or ICC
   15763     libname_spec='$name'
   15764     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   15765     library_names_spec='$libname.dll.lib'
   15766 
   15767     case $build_os in
   15768     mingw* | windows*)
   15769       sys_lib_search_path_spec=
   15770       lt_save_ifs=$IFS
   15771       IFS=';'
   15772       for lt_path in $LIB
   15773       do
   15774         IFS=$lt_save_ifs
   15775         # Let DOS variable expansion print the short 8.3 style file name.
   15776         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   15777         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   15778       done
   15779       IFS=$lt_save_ifs
   15780       # Convert to MSYS style.
   15781       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   15782       ;;
   15783     cygwin*)
   15784       # Convert to unix form, then to dos form, then back to unix form
   15785       # but this time dos style (no spaces!) so that the unix form looks
   15786       # like /cygdrive/c/PROGRA~1:/cygdr...
   15787       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   15788       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   15789       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   15790       ;;
   15791     *)
   15792       sys_lib_search_path_spec=$LIB
   15793       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   15794         # It is most probably a Windows format PATH.
   15795         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15796       else
   15797         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   15798       fi
   15799       # FIXME: find the short name or the path components, as spaces are
   15800       # common. (e.g. "Program Files" -> "PROGRA~1")
   15801       ;;
   15802     esac
   15803 
   15804     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15805     postinstall_cmds='base_file=`basename \$file`~
   15806       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   15807       dldir=$destdir/`dirname \$dlpath`~
   15808       test -d \$dldir || mkdir -p \$dldir~
   15809       $install_prog $dir/$dlname \$dldir/$dlname'
   15810     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15811       dlpath=$dir/\$dldll~
   15812        $RM \$dlpath'
   15813     shlibpath_overrides_runpath=yes
   15814     dynamic_linker='Win32 link.exe'
   15815     ;;
   15816 
   15817   *)
   15818     # Assume MSVC and ICC wrapper
   15819     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   15820     dynamic_linker='Win32 ld.exe'
   15821     ;;
   15822   esac
   15823   # FIXME: first we should search . and the directory the executable is in
   15824   shlibpath_var=PATH
   15825   ;;
   15826 
   15827 darwin* | rhapsody*)
   15828   dynamic_linker="$host_os dyld"
   15829   version_type=darwin
   15830   need_lib_prefix=no
   15831   need_version=no
   15832   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   15833   soname_spec='$libname$release$major$shared_ext'
   15834   shlibpath_overrides_runpath=yes
   15835   shlibpath_var=DYLD_LIBRARY_PATH
   15836   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15837 
   15838   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   15839   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15840   ;;
   15841 
   15842 dgux*)
   15843   version_type=linux # correct to gnu/linux during the next big refactor
   15844   need_lib_prefix=no
   15845   need_version=no
   15846   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15847   soname_spec='$libname$release$shared_ext$major'
   15848   shlibpath_var=LD_LIBRARY_PATH
   15849   ;;
   15850 
   15851 freebsd* | dragonfly* | midnightbsd*)
   15852   # DragonFly does not have aout.  When/if they implement a new
   15853   # versioning mechanism, adjust this.
   15854   if test -x /usr/bin/objformat; then
   15855     objformat=`/usr/bin/objformat`
   15856   else
   15857     case $host_os in
   15858     freebsd[23].*) objformat=aout ;;
   15859     *) objformat=elf ;;
   15860     esac
   15861   fi
   15862   version_type=freebsd-$objformat
   15863   case $version_type in
   15864     freebsd-elf*)
   15865       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15866       soname_spec='$libname$release$shared_ext$major'
   15867       need_version=no
   15868       need_lib_prefix=no
   15869       ;;
   15870     freebsd-*)
   15871       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   15872       need_version=yes
   15873       ;;
   15874   esac
   15875   case $host_cpu in
   15876     powerpc64)
   15877       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
   15878       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
   15879       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15880 /* end confdefs.h.  */
   15881 int test_pointer_size[sizeof (void *) - 5];
   15882 
   15883 _ACEOF
   15884 if ac_fn_c_try_compile "$LINENO"
   15885 then :
   15886   shlibpath_var=LD_LIBRARY_PATH
   15887 else case e in #(
   15888   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
   15889 esac
   15890 fi
   15891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15892       ;;
   15893     *)
   15894       shlibpath_var=LD_LIBRARY_PATH
   15895       ;;
   15896   esac
   15897   case $host_os in
   15898   freebsd2.*)
   15899     shlibpath_overrides_runpath=yes
   15900     ;;
   15901   freebsd3.[01]* | freebsdelf3.[01]*)
   15902     shlibpath_overrides_runpath=yes
   15903     hardcode_into_libs=yes
   15904     ;;
   15905   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15906   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15907     shlibpath_overrides_runpath=no
   15908     hardcode_into_libs=yes
   15909     ;;
   15910   *) # from 4.6 on, and DragonFly
   15911     shlibpath_overrides_runpath=yes
   15912     hardcode_into_libs=yes
   15913     ;;
   15914   esac
   15915   ;;
   15916 
   15917 haiku*)
   15918   version_type=linux # correct to gnu/linux during the next big refactor
   15919   need_lib_prefix=no
   15920   need_version=no
   15921   dynamic_linker="$host_os runtime_loader"
   15922   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15923   soname_spec='$libname$release$shared_ext$major'
   15924   shlibpath_var=LIBRARY_PATH
   15925   shlibpath_overrides_runpath=no
   15926   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
   15927   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
   15928   hardcode_into_libs=no
   15929   ;;
   15930 
   15931 hpux9* | hpux10* | hpux11*)
   15932   # Give a soname corresponding to the major version so that dld.sl refuses to
   15933   # link against other versions.
   15934   version_type=sunos
   15935   need_lib_prefix=no
   15936   need_version=no
   15937   case $host_cpu in
   15938   ia64*)
   15939     shrext_cmds='.so'
   15940     hardcode_into_libs=yes
   15941     dynamic_linker="$host_os dld.so"
   15942     shlibpath_var=LD_LIBRARY_PATH
   15943     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15944     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15945     soname_spec='$libname$release$shared_ext$major'
   15946     if test 32 = "$HPUX_IA64_MODE"; then
   15947       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15948       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   15949     else
   15950       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15951       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   15952     fi
   15953     ;;
   15954   hppa*64*)
   15955     shrext_cmds='.sl'
   15956     hardcode_into_libs=yes
   15957     dynamic_linker="$host_os dld.sl"
   15958     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15959     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15960     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15961     soname_spec='$libname$release$shared_ext$major'
   15962     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15963     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15964     ;;
   15965   *)
   15966     shrext_cmds='.sl'
   15967     dynamic_linker="$host_os dld.sl"
   15968     shlibpath_var=SHLIB_PATH
   15969     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15970     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15971     soname_spec='$libname$release$shared_ext$major'
   15972     ;;
   15973   esac
   15974   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   15975   postinstall_cmds='chmod 555 $lib'
   15976   # or fails outright, so override atomically:
   15977   install_override_mode=555
   15978   ;;
   15979 
   15980 interix[3-9]*)
   15981   version_type=linux # correct to gnu/linux during the next big refactor
   15982   need_lib_prefix=no
   15983   need_version=no
   15984   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15985   soname_spec='$libname$release$shared_ext$major'
   15986   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15987   shlibpath_var=LD_LIBRARY_PATH
   15988   shlibpath_overrides_runpath=no
   15989   hardcode_into_libs=yes
   15990   ;;
   15991 
   15992 irix5* | irix6* | nonstopux*)
   15993   case $host_os in
   15994     nonstopux*) version_type=nonstopux ;;
   15995     *)
   15996 	if test yes = "$lt_cv_prog_gnu_ld"; then
   15997 		version_type=linux # correct to gnu/linux during the next big refactor
   15998 	else
   15999 		version_type=irix
   16000 	fi ;;
   16001   esac
   16002   need_lib_prefix=no
   16003   need_version=no
   16004   soname_spec='$libname$release$shared_ext$major'
   16005   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   16006   case $host_os in
   16007   irix5* | nonstopux*)
   16008     libsuff= shlibsuff=
   16009     ;;
   16010   *)
   16011     case $LD in # libtool.m4 will add one of these switches to LD
   16012     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16013       libsuff= shlibsuff= libmagic=32-bit;;
   16014     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16015       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16016     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16017       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16018     *) libsuff= shlibsuff= libmagic=never-match;;
   16019     esac
   16020     ;;
   16021   esac
   16022   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16023   shlibpath_overrides_runpath=no
   16024   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   16025   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   16026   hardcode_into_libs=yes
   16027   ;;
   16028 
   16029 # No shared lib support for Linux oldld, aout, or coff.
   16030 linux*oldld* | linux*aout* | linux*coff*)
   16031   dynamic_linker=no
   16032   ;;
   16033 
   16034 linux*android*)
   16035   version_type=none # Android doesn't support versioned libraries.
   16036   need_lib_prefix=no
   16037   need_version=no
   16038   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
   16039   soname_spec='$libname$release$shared_ext'
   16040   finish_cmds=
   16041   shlibpath_var=LD_LIBRARY_PATH
   16042   shlibpath_overrides_runpath=yes
   16043 
   16044   # This implies no fast_install, which is unacceptable.
   16045   # Some rework will be needed to allow for fast_install
   16046   # before this can be enabled.
   16047   hardcode_into_libs=yes
   16048 
   16049   dynamic_linker='Android linker'
   16050   # -rpath works at least for libraries that are not overridden by
   16051   # libraries installed in system locations.
   16052   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16053   ;;
   16054 
   16055 # This must be glibc/ELF.
   16056 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   16057   version_type=linux # correct to gnu/linux during the next big refactor
   16058   need_lib_prefix=no
   16059   need_version=no
   16060   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16061   soname_spec='$libname$release$shared_ext$major'
   16062   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16063   shlibpath_var=LD_LIBRARY_PATH
   16064   shlibpath_overrides_runpath=no
   16065 
   16066   # Some binutils ld are patched to set DT_RUNPATH
   16067   if test ${lt_cv_shlibpath_overrides_runpath+y}
   16068 then :
   16069   printf %s "(cached) " >&6
   16070 else case e in #(
   16071   e) lt_cv_shlibpath_overrides_runpath=no
   16072     save_LDFLAGS=$LDFLAGS
   16073     save_libdir=$libdir
   16074     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   16075 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   16076     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16077 /* end confdefs.h.  */
   16078 
   16079 int
   16080 main (void)
   16081 {
   16082 
   16083   ;
   16084   return 0;
   16085 }
   16086 _ACEOF
   16087 if ac_fn_c_try_link "$LINENO"
   16088 then :
   16089   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   16090 then :
   16091   lt_cv_shlibpath_overrides_runpath=yes
   16092 fi
   16093 fi
   16094 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16095     conftest$ac_exeext conftest.$ac_ext
   16096     LDFLAGS=$save_LDFLAGS
   16097     libdir=$save_libdir
   16098      ;;
   16099 esac
   16100 fi
   16101 
   16102   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   16103 
   16104   # This implies no fast_install, which is unacceptable.
   16105   # Some rework will be needed to allow for fast_install
   16106   # before this can be enabled.
   16107   hardcode_into_libs=yes
   16108 
   16109   # Ideally, we could use ldconfig to report *all* directories which are
   16110   # searched for libraries, however this is still not possible.  Aside from not
   16111   # being certain /sbin/ldconfig is available, command
   16112   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   16113   # even though it is searched at run-time.  Try to do the best guess by
   16114   # appending ld.so.conf contents (and includes) to the search path.
   16115   if test -f /etc/ld.so.conf; then
   16116     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' ' '`
   16117     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   16118   fi
   16119 
   16120   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16121   # powerpc, because MkLinux only supported shared libraries with the
   16122   # GNU dynamic linker.  Since this was broken with cross compilers,
   16123   # most powerpc-linux boxes support dynamic linking these days and
   16124   # people can always --disable-shared, the test was removed, and we
   16125   # assume the GNU/Linux dynamic linker is in use.
   16126   dynamic_linker='GNU/Linux ld.so'
   16127   ;;
   16128 
   16129 netbsdelf*-gnu)
   16130   version_type=linux
   16131   need_lib_prefix=no
   16132   need_version=no
   16133   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16134   soname_spec='$libname$release$shared_ext$major'
   16135   shlibpath_var=LD_LIBRARY_PATH
   16136   shlibpath_overrides_runpath=no
   16137   hardcode_into_libs=yes
   16138   dynamic_linker='NetBSD ld.elf_so'
   16139   ;;
   16140 
   16141 netbsdelf*-gnu)
   16142   version_type=linux
   16143   need_lib_prefix=no
   16144   need_version=no
   16145   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16146   soname_spec='${libname}${release}${shared_ext}$major'
   16147   shlibpath_var=LD_LIBRARY_PATH
   16148   shlibpath_overrides_runpath=no
   16149   hardcode_into_libs=yes
   16150   dynamic_linker='NetBSD ld.elf_so'
   16151   ;;
   16152 
   16153 netbsd*)
   16154   version_type=sunos
   16155   need_lib_prefix=no
   16156   need_version=no
   16157   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16158     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   16159     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16160     dynamic_linker='NetBSD (a.out) ld.so'
   16161   else
   16162     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16163     soname_spec='$libname$release$shared_ext$major'
   16164     dynamic_linker='NetBSD ld.elf_so'
   16165   fi
   16166   shlibpath_var=LD_LIBRARY_PATH
   16167   shlibpath_overrides_runpath=yes
   16168   hardcode_into_libs=yes
   16169   ;;
   16170 
   16171 *-mlibc)
   16172   version_type=linux # correct to gnu/linux during the next big refactor
   16173   need_lib_prefix=no
   16174   need_version=no
   16175   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16176   soname_spec='$libname$release$shared_ext$major'
   16177   dynamic_linker='mlibc ld.so'
   16178   shlibpath_var=LD_LIBRARY_PATH
   16179   shlibpath_overrides_runpath=no
   16180   hardcode_into_libs=yes
   16181   ;;
   16182 
   16183 newsos6)
   16184   version_type=linux # correct to gnu/linux during the next big refactor
   16185   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16186   shlibpath_var=LD_LIBRARY_PATH
   16187   shlibpath_overrides_runpath=yes
   16188   ;;
   16189 
   16190 *nto* | *qnx*)
   16191   version_type=qnx
   16192   need_lib_prefix=no
   16193   need_version=no
   16194   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16195   soname_spec='$libname$release$shared_ext$major'
   16196   shlibpath_var=LD_LIBRARY_PATH
   16197   shlibpath_overrides_runpath=no
   16198   hardcode_into_libs=yes
   16199   dynamic_linker='ldqnx.so'
   16200   ;;
   16201 
   16202 openbsd*)
   16203   version_type=sunos
   16204   sys_lib_dlsearch_path_spec=/usr/lib
   16205   need_lib_prefix=no
   16206   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   16207     need_version=no
   16208   else
   16209     need_version=yes
   16210   fi
   16211   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   16212   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16213   shlibpath_var=LD_LIBRARY_PATH
   16214   shlibpath_overrides_runpath=yes
   16215   ;;
   16216 
   16217 os2*)
   16218   libname_spec='$name'
   16219   version_type=windows
   16220   shrext_cmds=.dll
   16221   need_version=no
   16222   need_lib_prefix=no
   16223   # OS/2 can only load a DLL with a base name of 8 characters or less.
   16224   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   16225     v=$($ECHO $release$versuffix | tr -d .-);
   16226     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   16227     $ECHO $n$v`$shared_ext'
   16228   library_names_spec='${libname}_dll.$libext'
   16229   dynamic_linker='OS/2 ld.exe'
   16230   shlibpath_var=BEGINLIBPATH
   16231   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   16232   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16233   postinstall_cmds='base_file=`basename \$file`~
   16234     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   16235     dldir=$destdir/`dirname \$dlpath`~
   16236     test -d \$dldir || mkdir -p \$dldir~
   16237     $install_prog $dir/$dlname \$dldir/$dlname~
   16238     chmod a+x \$dldir/$dlname~
   16239     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   16240       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   16241     fi'
   16242   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   16243     dlpath=$dir/\$dldll~
   16244     $RM \$dlpath'
   16245   ;;
   16246 
   16247 osf3* | osf4* | osf5*)
   16248   version_type=osf
   16249   need_lib_prefix=no
   16250   need_version=no
   16251   soname_spec='$libname$release$shared_ext$major'
   16252   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16253   shlibpath_var=LD_LIBRARY_PATH
   16254   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16255   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16256   ;;
   16257 
   16258 rdos*)
   16259   dynamic_linker=no
   16260   ;;
   16261 
   16262 serenity*)
   16263   version_type=linux # correct to gnu/linux during the next big refactor
   16264   need_lib_prefix=no
   16265   need_version=no
   16266   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16267   soname_spec='$libname$release$shared_ext$major'
   16268   shlibpath_var=LD_LIBRARY_PATH
   16269   shlibpath_overrides_runpath=no
   16270   dynamic_linker='SerenityOS LibELF'
   16271   ;;
   16272 
   16273 solaris*)
   16274   version_type=linux # correct to gnu/linux during the next big refactor
   16275   need_lib_prefix=no
   16276   need_version=no
   16277   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16278   soname_spec='$libname$release$shared_ext$major'
   16279   shlibpath_var=LD_LIBRARY_PATH
   16280   shlibpath_overrides_runpath=yes
   16281   hardcode_into_libs=yes
   16282   # ldd complains unless libraries are executable
   16283   postinstall_cmds='chmod +x $lib'
   16284   ;;
   16285 
   16286 sunos4*)
   16287   version_type=sunos
   16288   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   16289   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16290   shlibpath_var=LD_LIBRARY_PATH
   16291   shlibpath_overrides_runpath=yes
   16292   if test yes = "$with_gnu_ld"; then
   16293     need_lib_prefix=no
   16294   fi
   16295   need_version=yes
   16296   ;;
   16297 
   16298 sysv4 | sysv4.3*)
   16299   version_type=linux # correct to gnu/linux during the next big refactor
   16300   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16301   soname_spec='$libname$release$shared_ext$major'
   16302   shlibpath_var=LD_LIBRARY_PATH
   16303   case $host_vendor in
   16304     sni)
   16305       shlibpath_overrides_runpath=no
   16306       need_lib_prefix=no
   16307       runpath_var=LD_RUN_PATH
   16308       ;;
   16309     siemens)
   16310       need_lib_prefix=no
   16311       ;;
   16312     motorola)
   16313       need_lib_prefix=no
   16314       need_version=no
   16315       shlibpath_overrides_runpath=no
   16316       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16317       ;;
   16318   esac
   16319   ;;
   16320 
   16321 sysv4*MP*)
   16322   if test -d /usr/nec; then
   16323     version_type=linux # correct to gnu/linux during the next big refactor
   16324     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   16325     soname_spec='$libname$shared_ext.$major'
   16326     shlibpath_var=LD_LIBRARY_PATH
   16327   fi
   16328   ;;
   16329 
   16330 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16331   version_type=sco
   16332   need_lib_prefix=no
   16333   need_version=no
   16334   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   16335   soname_spec='$libname$release$shared_ext$major'
   16336   shlibpath_var=LD_LIBRARY_PATH
   16337   shlibpath_overrides_runpath=yes
   16338   hardcode_into_libs=yes
   16339   if test yes = "$with_gnu_ld"; then
   16340     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16341   else
   16342     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16343     case $host_os in
   16344       sco3.2v5*)
   16345         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16346 	;;
   16347     esac
   16348   fi
   16349   sys_lib_dlsearch_path_spec='/usr/lib'
   16350   ;;
   16351 
   16352 tpf*)
   16353   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   16354   version_type=linux # correct to gnu/linux during the next big refactor
   16355   need_lib_prefix=no
   16356   need_version=no
   16357   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16358   shlibpath_var=LD_LIBRARY_PATH
   16359   shlibpath_overrides_runpath=no
   16360   hardcode_into_libs=yes
   16361   ;;
   16362 
   16363 uts4*)
   16364   version_type=linux # correct to gnu/linux during the next big refactor
   16365   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16366   soname_spec='$libname$release$shared_ext$major'
   16367   shlibpath_var=LD_LIBRARY_PATH
   16368   ;;
   16369 
   16370 emscripten*)
   16371   version_type=none
   16372   need_lib_prefix=no
   16373   need_version=no
   16374   library_names_spec='$libname$release$shared_ext'
   16375   soname_spec='$libname$release$shared_ext'
   16376   finish_cmds=
   16377   dynamic_linker="Emscripten linker"
   16378   lt_prog_compiler_wl=
   16379 lt_prog_compiler_pic=
   16380 lt_prog_compiler_static=
   16381 
   16382 
   16383   if test yes = "$GCC"; then
   16384     lt_prog_compiler_wl='-Wl,'
   16385     lt_prog_compiler_static='-static'
   16386 
   16387     case $host_os in
   16388       aix*)
   16389       # All AIX code is PIC.
   16390       if test ia64 = "$host_cpu"; then
   16391 	# AIX 5 now supports IA64 processor
   16392 	lt_prog_compiler_static='-Bstatic'
   16393       fi
   16394       lt_prog_compiler_pic='-fPIC'
   16395       ;;
   16396 
   16397     amigaos*)
   16398       case $host_cpu in
   16399       powerpc)
   16400             # see comment about AmigaOS4 .so support
   16401             lt_prog_compiler_pic='-fPIC'
   16402         ;;
   16403       m68k)
   16404             # FIXME: we need at least 68020 code to build shared libraries, but
   16405             # adding the '-m68020' flag to GCC prevents building anything better,
   16406             # like '-m68040'.
   16407             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   16408         ;;
   16409       esac
   16410       ;;
   16411 
   16412     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16413       # PIC is the default for these OSes.
   16414       ;;
   16415 
   16416     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   16417       # This hack is so that the source file can tell whether it is being
   16418       # built for inclusion in a dll (and should export symbols for example).
   16419       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   16420       # (--disable-auto-import) libraries
   16421       lt_prog_compiler_pic='-DDLL_EXPORT'
   16422       case $host_os in
   16423       os2*)
   16424 	lt_prog_compiler_static='$wl-static'
   16425 	;;
   16426       esac
   16427       ;;
   16428 
   16429     darwin* | rhapsody*)
   16430       # PIC is the default on this platform
   16431       # Common symbols not allowed in MH_DYLIB files
   16432       lt_prog_compiler_pic='-fno-common'
   16433       ;;
   16434 
   16435     haiku*)
   16436       # PIC is the default for Haiku.
   16437       # The "-static" flag exists, but is broken.
   16438       lt_prog_compiler_static=
   16439       ;;
   16440 
   16441     hpux*)
   16442       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   16443       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   16444       # sets the default TLS model and affects inlining.
   16445       case $host_cpu in
   16446       hppa*64*)
   16447 	# +Z the default
   16448 	;;
   16449       *)
   16450 	lt_prog_compiler_pic='-fPIC'
   16451 	;;
   16452       esac
   16453       ;;
   16454 
   16455     interix[3-9]*)
   16456       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16457       # Instead, we relocate shared libraries at runtime.
   16458       ;;
   16459 
   16460     msdosdjgpp*)
   16461       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16462       # on systems that don't support them.
   16463       lt_prog_compiler_can_build_shared=no
   16464       enable_shared=no
   16465       ;;
   16466 
   16467     *nto* | *qnx*)
   16468       # QNX uses GNU C++, but need to define -shared option too, otherwise
   16469       # it will coredump.
   16470       lt_prog_compiler_pic='-fPIC -shared'
   16471       ;;
   16472 
   16473     sysv4*MP*)
   16474       if test -d /usr/nec; then
   16475 	lt_prog_compiler_pic=-Kconform_pic
   16476       fi
   16477       ;;
   16478 
   16479     *)
   16480       lt_prog_compiler_pic='-fPIC'
   16481       ;;
   16482     esac
   16483 
   16484     case $cc_basename in
   16485     nvcc*) # Cuda Compiler Driver 2.2
   16486       lt_prog_compiler_wl='-Xlinker '
   16487       if test -n "$lt_prog_compiler_pic"; then
   16488         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   16489       fi
   16490       ;;
   16491     esac
   16492   else
   16493     # PORTME Check for flag to pass linker flags through the system compiler.
   16494     case $host_os in
   16495     aix*)
   16496       lt_prog_compiler_wl='-Wl,'
   16497       if test ia64 = "$host_cpu"; then
   16498 	# AIX 5 now supports IA64 processor
   16499 	lt_prog_compiler_static='-Bstatic'
   16500       else
   16501 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   16502       fi
   16503       ;;
   16504 
   16505     darwin* | rhapsody*)
   16506       # PIC is the default on this platform
   16507       # Common symbols not allowed in MH_DYLIB files
   16508       lt_prog_compiler_pic='-fno-common'
   16509       case $cc_basename in
   16510       nagfor*)
   16511         # NAG Fortran compiler
   16512         lt_prog_compiler_wl='-Wl,-Wl,,'
   16513         lt_prog_compiler_pic='-PIC'
   16514         lt_prog_compiler_static='-Bstatic'
   16515         ;;
   16516       esac
   16517       ;;
   16518 
   16519     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   16520       # This hack is so that the source file can tell whether it is being
   16521       # built for inclusion in a dll (and should export symbols for example).
   16522       lt_prog_compiler_pic='-DDLL_EXPORT'
   16523       case $host_os in
   16524       os2*)
   16525 	lt_prog_compiler_static='$wl-static'
   16526 	;;
   16527       esac
   16528       ;;
   16529 
   16530     hpux9* | hpux10* | hpux11*)
   16531       lt_prog_compiler_wl='-Wl,'
   16532       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16533       # not for PA HP-UX.
   16534       case $host_cpu in
   16535       hppa*64*|ia64*)
   16536 	# +Z the default
   16537 	;;
   16538       *)
   16539 	lt_prog_compiler_pic='+Z'
   16540 	;;
   16541       esac
   16542       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16543       lt_prog_compiler_static='$wl-a ${wl}archive'
   16544       ;;
   16545 
   16546     irix5* | irix6* | nonstopux*)
   16547       lt_prog_compiler_wl='-Wl,'
   16548       # PIC (with -KPIC) is the default.
   16549       lt_prog_compiler_static='-non_shared'
   16550       ;;
   16551 
   16552     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   16553       case $cc_basename in
   16554       # old Intel for x86_64, which still supported -KPIC.
   16555       ecc*)
   16556 	lt_prog_compiler_wl='-Wl,'
   16557 	lt_prog_compiler_pic='-KPIC'
   16558 	lt_prog_compiler_static='-static'
   16559         ;;
   16560       *flang* | ftn | f18* | f95*)
   16561         # Flang compiler.
   16562 	lt_prog_compiler_wl='-Wl,'
   16563 	lt_prog_compiler_pic='-fPIC'
   16564 	lt_prog_compiler_static='-static'
   16565         ;;
   16566       # flang / f18. f95 an alias for gfortran or flang on Debian
   16567       flang* | f18* | f95*)
   16568 	lt_prog_compiler_wl='-Wl,'
   16569 	lt_prog_compiler_pic='-fPIC'
   16570 	lt_prog_compiler_static='-static'
   16571         ;;
   16572       # icc used to be incompatible with GCC.
   16573       # ICC 10 doesn't accept -KPIC any more.
   16574       icc* | ifort*)
   16575 	lt_prog_compiler_wl='-Wl,'
   16576 	lt_prog_compiler_pic='-fPIC'
   16577 	lt_prog_compiler_static='-static'
   16578         ;;
   16579       # Lahey Fortran 8.1.
   16580       lf95*)
   16581 	lt_prog_compiler_wl='-Wl,'
   16582 	lt_prog_compiler_pic='--shared'
   16583 	lt_prog_compiler_static='--static'
   16584 	;;
   16585       nagfor*)
   16586 	# NAG Fortran compiler
   16587 	lt_prog_compiler_wl='-Wl,-Wl,,'
   16588 	lt_prog_compiler_pic='-PIC'
   16589 	lt_prog_compiler_static='-Bstatic'
   16590 	;;
   16591       tcc*)
   16592 	# Fabrice Bellard et al's Tiny C Compiler
   16593 	lt_prog_compiler_wl='-Wl,'
   16594 	lt_prog_compiler_pic='-fPIC'
   16595 	lt_prog_compiler_static='-static'
   16596 	;;
   16597       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   16598         # Portland Group compilers (*not* the Pentium gcc compiler,
   16599 	# which looks to be a dead project)
   16600 	lt_prog_compiler_wl='-Wl,'
   16601 	lt_prog_compiler_pic='-fpic'
   16602 	lt_prog_compiler_static='-Bstatic'
   16603         ;;
   16604       ccc*)
   16605         lt_prog_compiler_wl='-Wl,'
   16606         # All Alpha code is PIC.
   16607         lt_prog_compiler_static='-non_shared'
   16608         ;;
   16609       xl* | bgxl* | bgf* | mpixl*)
   16610 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   16611 	lt_prog_compiler_wl='-Wl,'
   16612 	lt_prog_compiler_pic='-qpic'
   16613 	lt_prog_compiler_static='-qstaticlink'
   16614 	;;
   16615       *)
   16616 	case `$CC -V 2>&1 | $SED 5q` in
   16617 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   16618 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   16619 	  lt_prog_compiler_pic='-KPIC'
   16620 	  lt_prog_compiler_static='-Bstatic'
   16621 	  lt_prog_compiler_wl=''
   16622 	  ;;
   16623 	*Sun\ F* | *Sun*Fortran*)
   16624 	  lt_prog_compiler_pic='-KPIC'
   16625 	  lt_prog_compiler_static='-Bstatic'
   16626 	  lt_prog_compiler_wl='-Qoption ld '
   16627 	  ;;
   16628 	*Sun\ C*)
   16629 	  # Sun C 5.9
   16630 	  lt_prog_compiler_pic='-KPIC'
   16631 	  lt_prog_compiler_static='-Bstatic'
   16632 	  lt_prog_compiler_wl='-Wl,'
   16633 	  ;;
   16634         *Intel*\ [CF]*Compiler*)
   16635 	  lt_prog_compiler_wl='-Wl,'
   16636 	  lt_prog_compiler_pic='-fPIC'
   16637 	  lt_prog_compiler_static='-static'
   16638 	  ;;
   16639 	*Portland\ Group*)
   16640 	  lt_prog_compiler_wl='-Wl,'
   16641 	  lt_prog_compiler_pic='-fpic'
   16642 	  lt_prog_compiler_static='-Bstatic'
   16643 	  ;;
   16644 	esac
   16645 	;;
   16646       esac
   16647       ;;
   16648 
   16649     newsos6)
   16650       lt_prog_compiler_pic='-KPIC'
   16651       lt_prog_compiler_static='-Bstatic'
   16652       ;;
   16653 
   16654     *-mlibc)
   16655       lt_prog_compiler_wl='-Wl,'
   16656       lt_prog_compiler_pic='-fPIC'
   16657       lt_prog_compiler_static='-static'
   16658       ;;
   16659 
   16660     *nto* | *qnx*)
   16661       # QNX uses GNU C++, but need to define -shared option too, otherwise
   16662       # it will coredump.
   16663       lt_prog_compiler_pic='-fPIC -shared'
   16664       ;;
   16665 
   16666     osf3* | osf4* | osf5*)
   16667       lt_prog_compiler_wl='-Wl,'
   16668       # All OSF/1 code is PIC.
   16669       lt_prog_compiler_static='-non_shared'
   16670       ;;
   16671 
   16672     rdos*)
   16673       lt_prog_compiler_static='-non_shared'
   16674       ;;
   16675 
   16676     serenity*)
   16677       ;;
   16678 
   16679     solaris*)
   16680       lt_prog_compiler_pic='-KPIC'
   16681       lt_prog_compiler_static='-Bstatic'
   16682       case $cc_basename in
   16683       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   16684 	lt_prog_compiler_wl='-Qoption ld ';;
   16685       *)
   16686 	lt_prog_compiler_wl='-Wl,';;
   16687       esac
   16688       ;;
   16689 
   16690     sunos4*)
   16691       lt_prog_compiler_wl='-Qoption ld '
   16692       lt_prog_compiler_pic='-PIC'
   16693       lt_prog_compiler_static='-Bstatic'
   16694       ;;
   16695 
   16696     sysv4 | sysv4.2uw2* | sysv4.3*)
   16697       lt_prog_compiler_wl='-Wl,'
   16698       lt_prog_compiler_pic='-KPIC'
   16699       lt_prog_compiler_static='-Bstatic'
   16700       ;;
   16701 
   16702     sysv4*MP*)
   16703       if test -d /usr/nec; then
   16704 	lt_prog_compiler_pic='-Kconform_pic'
   16705 	lt_prog_compiler_static='-Bstatic'
   16706       fi
   16707       ;;
   16708 
   16709     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16710       lt_prog_compiler_wl='-Wl,'
   16711       lt_prog_compiler_pic='-KPIC'
   16712       lt_prog_compiler_static='-Bstatic'
   16713       ;;
   16714 
   16715     unicos*)
   16716       lt_prog_compiler_wl='-Wl,'
   16717       lt_prog_compiler_can_build_shared=no
   16718       ;;
   16719 
   16720     uts4*)
   16721       lt_prog_compiler_pic='-pic'
   16722       lt_prog_compiler_static='-Bstatic'
   16723       ;;
   16724 
   16725     *)
   16726       lt_prog_compiler_can_build_shared=no
   16727       ;;
   16728     esac
   16729   fi
   16730 
   16731 case $host_os in
   16732   # For platforms that do not support PIC, -DPIC is meaningless:
   16733   *djgpp*)
   16734     lt_prog_compiler_pic=
   16735     ;;
   16736   *)
   16737     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   16738     ;;
   16739 esac
   16740 
   16741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   16742 printf %s "checking for $compiler option to produce PIC... " >&6; }
   16743 if test ${lt_cv_prog_compiler_pic+y}
   16744 then :
   16745   printf %s "(cached) " >&6
   16746 else case e in #(
   16747   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   16748 esac
   16749 fi
   16750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   16751 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   16752 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   16753 
   16754 #
   16755 # Check to make sure the PIC flag actually works.
   16756 #
   16757 if test -n "$lt_prog_compiler_pic"; then
   16758   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   16759 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   16760 if test ${lt_cv_prog_compiler_pic_works+y}
   16761 then :
   16762   printf %s "(cached) " >&6
   16763 else case e in #(
   16764   e) lt_cv_prog_compiler_pic_works=no
   16765    ac_outfile=conftest.$ac_objext
   16766    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16767    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   16768    # Insert the option either (1) after the last *FLAGS variable, or
   16769    # (2) before a word containing "conftest.", or (3) at the end.
   16770    # Note that $ac_compile itself does not contain backslashes and begins
   16771    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16772    # The option is referenced via a variable to avoid confusing sed.
   16773    lt_compile=`echo "$ac_compile" | $SED \
   16774    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16775    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16776    -e 's:$: $lt_compiler_flag:'`
   16777    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16778    (eval "$lt_compile" 2>conftest.err)
   16779    ac_status=$?
   16780    cat conftest.err >&5
   16781    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16782    if (exit $ac_status) && test -s "$ac_outfile"; then
   16783      # The compiler can only warn and ignore the option if not recognized
   16784      # So say no if there are warnings other than the usual output.
   16785      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   16786      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16787      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16788        lt_cv_prog_compiler_pic_works=yes
   16789      fi
   16790    fi
   16791    $RM conftest*
   16792  ;;
   16793 esac
   16794 fi
   16795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   16796 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   16797 
   16798 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   16799     case $lt_prog_compiler_pic in
   16800      "" | " "*) ;;
   16801      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   16802      esac
   16803 else
   16804     lt_prog_compiler_pic=
   16805      lt_prog_compiler_can_build_shared=no
   16806 fi
   16807 
   16808 fi
   16809 
   16810 
   16811 
   16812 
   16813 
   16814 #
   16815 # Check to make sure the static flag actually works.
   16816 #
   16817 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   16818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16819 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   16820 if test ${lt_cv_prog_compiler_static_works+y}
   16821 then :
   16822   printf %s "(cached) " >&6
   16823 else case e in #(
   16824   e) lt_cv_prog_compiler_static_works=no
   16825    save_LDFLAGS=$LDFLAGS
   16826    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16827    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16828    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16829      # The linker can only warn and ignore the option if not recognized
   16830      # So say no if there are warnings
   16831      if test -s conftest.err; then
   16832        # Append any errors to the config.log.
   16833        cat conftest.err 1>&5
   16834        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16835        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16836        if diff conftest.exp conftest.er2 >/dev/null; then
   16837          lt_cv_prog_compiler_static_works=yes
   16838        fi
   16839      else
   16840        lt_cv_prog_compiler_static_works=yes
   16841      fi
   16842    fi
   16843    $RM -r conftest*
   16844    LDFLAGS=$save_LDFLAGS
   16845  ;;
   16846 esac
   16847 fi
   16848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   16849 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   16850 
   16851 if test yes = "$lt_cv_prog_compiler_static_works"; then
   16852     :
   16853 else
   16854     lt_prog_compiler_static=
   16855 fi
   16856 
   16857 
   16858 
   16859 ='-fPIC'
   16860   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
   16861   archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib -s EXPORTED_FUNCTIONS=@$output_objdir/$soname.expsym'
   16862   archive_cmds_need_lc=no
   16863   no_undefined_flag=
   16864   ;;
   16865 
   16866 *)
   16867   dynamic_linker=no
   16868   ;;
   16869 esac
   16870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   16871 printf "%s\n" "$dynamic_linker" >&6; }
   16872 test no = "$dynamic_linker" && can_build_shared=no
   16873 
   16874 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16875 if test yes = "$GCC"; then
   16876   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16877 fi
   16878 
   16879 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   16880   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   16881 fi
   16882 
   16883 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   16884   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   16885 fi
   16886 
   16887 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   16888 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   16889 
   16890 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   16891 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   16892 
   16893 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   16894 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   16895 
   16896 
   16897 
   16898 
   16899 
   16900 
   16901 
   16902 
   16903 
   16904 
   16905 
   16906 
   16907 
   16908 
   16909 
   16910 
   16911 
   16912 
   16913 
   16914 
   16915 
   16916 
   16917 
   16918 
   16919 
   16920 
   16921 
   16922 
   16923 
   16924 
   16925 
   16926 
   16927 
   16928 
   16929 
   16930 
   16931 
   16932 
   16933 
   16934 
   16935 
   16936 
   16937 
   16938 
   16939 
   16940 
   16941 
   16942 
   16943 
   16944 
   16945 
   16946 
   16947 
   16948 
   16949 
   16950 
   16951 
   16952 
   16953 
   16954 
   16955 
   16956 
   16957 
   16958 
   16959 
   16960 
   16961 
   16962 
   16963 
   16964 
   16965 
   16966 
   16967 
   16968 
   16969 
   16970 
   16971 
   16972 
   16973 
   16974 
   16975 
   16976 
   16977 
   16978 
   16979 
   16980 
   16981 
   16982 
   16983 
   16984 
   16985 
   16986 
   16987 
   16988 
   16989 
   16990 
   16991 
   16992   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   16993 printf %s "checking how to hardcode library paths into programs... " >&6; }
   16994 hardcode_action=
   16995 if test -n "$hardcode_libdir_flag_spec" ||
   16996    test -n "$runpath_var" ||
   16997    test yes = "$hardcode_automatic"; then
   16998 
   16999   # We can hardcode non-existent directories.
   17000   if test no != "$hardcode_direct" &&
   17001      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17002      # have to relink, otherwise we might link with an installed library
   17003      # when we should be linking with a yet-to-be-installed one
   17004      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   17005      test no != "$hardcode_minus_L"; then
   17006     # Linking always hardcodes the temporary library directory.
   17007     hardcode_action=relink
   17008   else
   17009     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17010     hardcode_action=immediate
   17011   fi
   17012 else
   17013   # We cannot hardcode anything, or else we can only hardcode existing
   17014   # directories.
   17015   hardcode_action=unsupported
   17016 fi
   17017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   17018 printf "%s\n" "$hardcode_action" >&6; }
   17019 
   17020 if test relink = "$hardcode_action" ||
   17021    test yes = "$inherit_rpath"; then
   17022   # Fast installation is not supported
   17023   enable_fast_install=no
   17024 elif test yes = "$shlibpath_overrides_runpath" ||
   17025      test no = "$enable_shared"; then
   17026   # Fast installation is not necessary
   17027   enable_fast_install=needless
   17028 fi
   17029 
   17030 
   17031 
   17032 
   17033 
   17034 
   17035   if test yes != "$enable_dlopen"; then
   17036   enable_dlopen=unknown
   17037   enable_dlopen_self=unknown
   17038   enable_dlopen_self_static=unknown
   17039 else
   17040   lt_cv_dlopen=no
   17041   lt_cv_dlopen_libs=
   17042 
   17043   case $host_os in
   17044   beos*)
   17045     lt_cv_dlopen=load_add_on
   17046     lt_cv_dlopen_libs=
   17047     lt_cv_dlopen_self=yes
   17048     ;;
   17049 
   17050   mingw* | windows* | pw32* | cegcc*)
   17051     lt_cv_dlopen=LoadLibrary
   17052     lt_cv_dlopen_libs=
   17053     ;;
   17054 
   17055   cygwin*)
   17056     lt_cv_dlopen=dlopen
   17057     lt_cv_dlopen_libs=
   17058     ;;
   17059 
   17060   darwin*)
   17061     # if libdl is installed we need to link against it
   17062     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17063 printf %s "checking for dlopen in -ldl... " >&6; }
   17064 if test ${ac_cv_lib_dl_dlopen+y}
   17065 then :
   17066   printf %s "(cached) " >&6
   17067 else case e in #(
   17068   e) ac_check_lib_save_LIBS=$LIBS
   17069 LIBS="-ldl  $LIBS"
   17070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17071 /* end confdefs.h.  */
   17072 
   17073 /* Override any GCC internal prototype to avoid an error.
   17074    Use char because int might match the return type of a GCC
   17075    builtin and then its argument prototype would still apply.
   17076    The 'extern "C"' is for builds by C++ compilers;
   17077    although this is not generally supported in C code supporting it here
   17078    has little cost and some practical benefit (sr 110532).  */
   17079 #ifdef __cplusplus
   17080 extern "C"
   17081 #endif
   17082 char dlopen (void);
   17083 int
   17084 main (void)
   17085 {
   17086 return dlopen ();
   17087   ;
   17088   return 0;
   17089 }
   17090 _ACEOF
   17091 if ac_fn_c_try_link "$LINENO"
   17092 then :
   17093   ac_cv_lib_dl_dlopen=yes
   17094 else case e in #(
   17095   e) ac_cv_lib_dl_dlopen=no ;;
   17096 esac
   17097 fi
   17098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17099     conftest$ac_exeext conftest.$ac_ext
   17100 LIBS=$ac_check_lib_save_LIBS ;;
   17101 esac
   17102 fi
   17103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17104 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   17105 if test "x$ac_cv_lib_dl_dlopen" = xyes
   17106 then :
   17107   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   17108 else case e in #(
   17109   e)
   17110     lt_cv_dlopen=dyld
   17111     lt_cv_dlopen_libs=
   17112     lt_cv_dlopen_self=yes
   17113      ;;
   17114 esac
   17115 fi
   17116 
   17117     ;;
   17118 
   17119   tpf*)
   17120     # Don't try to run any link tests for TPF.  We know it's impossible
   17121     # because TPF is a cross-compiler, and we know how we open DSOs.
   17122     lt_cv_dlopen=dlopen
   17123     lt_cv_dlopen_libs=
   17124     lt_cv_dlopen_self=no
   17125     ;;
   17126 
   17127   *)
   17128     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   17129 if test "x$ac_cv_func_shl_load" = xyes
   17130 then :
   17131   lt_cv_dlopen=shl_load
   17132 else case e in #(
   17133   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   17134 printf %s "checking for shl_load in -ldld... " >&6; }
   17135 if test ${ac_cv_lib_dld_shl_load+y}
   17136 then :
   17137   printf %s "(cached) " >&6
   17138 else case e in #(
   17139   e) ac_check_lib_save_LIBS=$LIBS
   17140 LIBS="-ldld  $LIBS"
   17141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17142 /* end confdefs.h.  */
   17143 
   17144 /* Override any GCC internal prototype to avoid an error.
   17145    Use char because int might match the return type of a GCC
   17146    builtin and then its argument prototype would still apply.
   17147    The 'extern "C"' is for builds by C++ compilers;
   17148    although this is not generally supported in C code supporting it here
   17149    has little cost and some practical benefit (sr 110532).  */
   17150 #ifdef __cplusplus
   17151 extern "C"
   17152 #endif
   17153 char shl_load (void);
   17154 int
   17155 main (void)
   17156 {
   17157 return shl_load ();
   17158   ;
   17159   return 0;
   17160 }
   17161 _ACEOF
   17162 if ac_fn_c_try_link "$LINENO"
   17163 then :
   17164   ac_cv_lib_dld_shl_load=yes
   17165 else case e in #(
   17166   e) ac_cv_lib_dld_shl_load=no ;;
   17167 esac
   17168 fi
   17169 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17170     conftest$ac_exeext conftest.$ac_ext
   17171 LIBS=$ac_check_lib_save_LIBS ;;
   17172 esac
   17173 fi
   17174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   17175 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   17176 if test "x$ac_cv_lib_dld_shl_load" = xyes
   17177 then :
   17178   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   17179 else case e in #(
   17180   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   17181 if test "x$ac_cv_func_dlopen" = xyes
   17182 then :
   17183   lt_cv_dlopen=dlopen
   17184 else case e in #(
   17185   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17186 printf %s "checking for dlopen in -ldl... " >&6; }
   17187 if test ${ac_cv_lib_dl_dlopen+y}
   17188 then :
   17189   printf %s "(cached) " >&6
   17190 else case e in #(
   17191   e) ac_check_lib_save_LIBS=$LIBS
   17192 LIBS="-ldl  $LIBS"
   17193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17194 /* end confdefs.h.  */
   17195 
   17196 /* Override any GCC internal prototype to avoid an error.
   17197    Use char because int might match the return type of a GCC
   17198    builtin and then its argument prototype would still apply.
   17199    The 'extern "C"' is for builds by C++ compilers;
   17200    although this is not generally supported in C code supporting it here
   17201    has little cost and some practical benefit (sr 110532).  */
   17202 #ifdef __cplusplus
   17203 extern "C"
   17204 #endif
   17205 char dlopen (void);
   17206 int
   17207 main (void)
   17208 {
   17209 return dlopen ();
   17210   ;
   17211   return 0;
   17212 }
   17213 _ACEOF
   17214 if ac_fn_c_try_link "$LINENO"
   17215 then :
   17216   ac_cv_lib_dl_dlopen=yes
   17217 else case e in #(
   17218   e) ac_cv_lib_dl_dlopen=no ;;
   17219 esac
   17220 fi
   17221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17222     conftest$ac_exeext conftest.$ac_ext
   17223 LIBS=$ac_check_lib_save_LIBS ;;
   17224 esac
   17225 fi
   17226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17227 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   17228 if test "x$ac_cv_lib_dl_dlopen" = xyes
   17229 then :
   17230   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   17231 else case e in #(
   17232   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   17233 printf %s "checking for dlopen in -lsvld... " >&6; }
   17234 if test ${ac_cv_lib_svld_dlopen+y}
   17235 then :
   17236   printf %s "(cached) " >&6
   17237 else case e in #(
   17238   e) ac_check_lib_save_LIBS=$LIBS
   17239 LIBS="-lsvld  $LIBS"
   17240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17241 /* end confdefs.h.  */
   17242 
   17243 /* Override any GCC internal prototype to avoid an error.
   17244    Use char because int might match the return type of a GCC
   17245    builtin and then its argument prototype would still apply.
   17246    The 'extern "C"' is for builds by C++ compilers;
   17247    although this is not generally supported in C code supporting it here
   17248    has little cost and some practical benefit (sr 110532).  */
   17249 #ifdef __cplusplus
   17250 extern "C"
   17251 #endif
   17252 char dlopen (void);
   17253 int
   17254 main (void)
   17255 {
   17256 return dlopen ();
   17257   ;
   17258   return 0;
   17259 }
   17260 _ACEOF
   17261 if ac_fn_c_try_link "$LINENO"
   17262 then :
   17263   ac_cv_lib_svld_dlopen=yes
   17264 else case e in #(
   17265   e) ac_cv_lib_svld_dlopen=no ;;
   17266 esac
   17267 fi
   17268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17269     conftest$ac_exeext conftest.$ac_ext
   17270 LIBS=$ac_check_lib_save_LIBS ;;
   17271 esac
   17272 fi
   17273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   17274 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   17275 if test "x$ac_cv_lib_svld_dlopen" = xyes
   17276 then :
   17277   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   17278 else case e in #(
   17279   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   17280 printf %s "checking for dld_link in -ldld... " >&6; }
   17281 if test ${ac_cv_lib_dld_dld_link+y}
   17282 then :
   17283   printf %s "(cached) " >&6
   17284 else case e in #(
   17285   e) ac_check_lib_save_LIBS=$LIBS
   17286 LIBS="-ldld  $LIBS"
   17287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17288 /* end confdefs.h.  */
   17289 
   17290 /* Override any GCC internal prototype to avoid an error.
   17291    Use char because int might match the return type of a GCC
   17292    builtin and then its argument prototype would still apply.
   17293    The 'extern "C"' is for builds by C++ compilers;
   17294    although this is not generally supported in C code supporting it here
   17295    has little cost and some practical benefit (sr 110532).  */
   17296 #ifdef __cplusplus
   17297 extern "C"
   17298 #endif
   17299 char dld_link (void);
   17300 int
   17301 main (void)
   17302 {
   17303 return dld_link ();
   17304   ;
   17305   return 0;
   17306 }
   17307 _ACEOF
   17308 if ac_fn_c_try_link "$LINENO"
   17309 then :
   17310   ac_cv_lib_dld_dld_link=yes
   17311 else case e in #(
   17312   e) ac_cv_lib_dld_dld_link=no ;;
   17313 esac
   17314 fi
   17315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17316     conftest$ac_exeext conftest.$ac_ext
   17317 LIBS=$ac_check_lib_save_LIBS ;;
   17318 esac
   17319 fi
   17320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   17321 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   17322 if test "x$ac_cv_lib_dld_dld_link" = xyes
   17323 then :
   17324   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   17325 fi
   17326 
   17327 	       ;;
   17328 esac
   17329 fi
   17330 
   17331 	     ;;
   17332 esac
   17333 fi
   17334 
   17335 	   ;;
   17336 esac
   17337 fi
   17338 
   17339 	 ;;
   17340 esac
   17341 fi
   17342 
   17343        ;;
   17344 esac
   17345 fi
   17346 
   17347     ;;
   17348   esac
   17349 
   17350   if test no = "$lt_cv_dlopen"; then
   17351     enable_dlopen=no
   17352   else
   17353     enable_dlopen=yes
   17354   fi
   17355 
   17356   case $lt_cv_dlopen in
   17357   dlopen)
   17358     save_CPPFLAGS=$CPPFLAGS
   17359     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   17360 
   17361     save_LDFLAGS=$LDFLAGS
   17362     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   17363 
   17364     save_LIBS=$LIBS
   17365     LIBS="$lt_cv_dlopen_libs $LIBS"
   17366 
   17367     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   17368 printf %s "checking whether a program can dlopen itself... " >&6; }
   17369 if test ${lt_cv_dlopen_self+y}
   17370 then :
   17371   printf %s "(cached) " >&6
   17372 else case e in #(
   17373   e) 	  if test yes = "$cross_compiling"; then :
   17374   lt_cv_dlopen_self=cross
   17375 else
   17376   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   17377   lt_status=$lt_dlunknown
   17378   cat > conftest.$ac_ext <<_LT_EOF
   17379 #line $LINENO "configure"
   17380 #include "confdefs.h"
   17381 
   17382 #if HAVE_DLFCN_H
   17383 #include <dlfcn.h>
   17384 #endif
   17385 
   17386 #include <stdio.h>
   17387 
   17388 #ifdef RTLD_GLOBAL
   17389 #  define LT_DLGLOBAL		RTLD_GLOBAL
   17390 #else
   17391 #  ifdef DL_GLOBAL
   17392 #    define LT_DLGLOBAL		DL_GLOBAL
   17393 #  else
   17394 #    define LT_DLGLOBAL		0
   17395 #  endif
   17396 #endif
   17397 
   17398 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   17399    find out it does not work in some platform. */
   17400 #ifndef LT_DLLAZY_OR_NOW
   17401 #  ifdef RTLD_LAZY
   17402 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   17403 #  else
   17404 #    ifdef DL_LAZY
   17405 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   17406 #    else
   17407 #      ifdef RTLD_NOW
   17408 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   17409 #      else
   17410 #        ifdef DL_NOW
   17411 #          define LT_DLLAZY_OR_NOW	DL_NOW
   17412 #        else
   17413 #          define LT_DLLAZY_OR_NOW	0
   17414 #        endif
   17415 #      endif
   17416 #    endif
   17417 #  endif
   17418 #endif
   17419 
   17420 /* When -fvisibility=hidden is used, assume the code has been annotated
   17421    correspondingly for the symbols needed.  */
   17422 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   17423 int fnord (void) __attribute__((visibility("default")));
   17424 #endif
   17425 
   17426 int fnord (void) { return 42; }
   17427 int main (void)
   17428 {
   17429   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   17430   int status = $lt_dlunknown;
   17431 
   17432   if (self)
   17433     {
   17434       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   17435       else
   17436         {
   17437 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   17438           else puts (dlerror ());
   17439 	}
   17440       /* dlclose (self); */
   17441     }
   17442   else
   17443     puts (dlerror ());
   17444 
   17445   return status;
   17446 }
   17447 _LT_EOF
   17448   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   17449   (eval $ac_link) 2>&5
   17450   ac_status=$?
   17451   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17452   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   17453     (./conftest; exit; ) >&5 2>/dev/null
   17454     lt_status=$?
   17455     case x$lt_status in
   17456       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   17457       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   17458       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   17459     esac
   17460   else :
   17461     # compilation failed
   17462     lt_cv_dlopen_self=no
   17463   fi
   17464 fi
   17465 rm -fr conftest*
   17466 
   17467      ;;
   17468 esac
   17469 fi
   17470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   17471 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   17472 
   17473     if test yes = "$lt_cv_dlopen_self"; then
   17474       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   17475       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   17476 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   17477 if test ${lt_cv_dlopen_self_static+y}
   17478 then :
   17479   printf %s "(cached) " >&6
   17480 else case e in #(
   17481   e) 	  if test yes = "$cross_compiling"; then :
   17482   lt_cv_dlopen_self_static=cross
   17483 else
   17484   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   17485   lt_status=$lt_dlunknown
   17486   cat > conftest.$ac_ext <<_LT_EOF
   17487 #line $LINENO "configure"
   17488 #include "confdefs.h"
   17489 
   17490 #if HAVE_DLFCN_H
   17491 #include <dlfcn.h>
   17492 #endif
   17493 
   17494 #include <stdio.h>
   17495 
   17496 #ifdef RTLD_GLOBAL
   17497 #  define LT_DLGLOBAL		RTLD_GLOBAL
   17498 #else
   17499 #  ifdef DL_GLOBAL
   17500 #    define LT_DLGLOBAL		DL_GLOBAL
   17501 #  else
   17502 #    define LT_DLGLOBAL		0
   17503 #  endif
   17504 #endif
   17505 
   17506 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   17507    find out it does not work in some platform. */
   17508 #ifndef LT_DLLAZY_OR_NOW
   17509 #  ifdef RTLD_LAZY
   17510 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   17511 #  else
   17512 #    ifdef DL_LAZY
   17513 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   17514 #    else
   17515 #      ifdef RTLD_NOW
   17516 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   17517 #      else
   17518 #        ifdef DL_NOW
   17519 #          define LT_DLLAZY_OR_NOW	DL_NOW
   17520 #        else
   17521 #          define LT_DLLAZY_OR_NOW	0
   17522 #        endif
   17523 #      endif
   17524 #    endif
   17525 #  endif
   17526 #endif
   17527 
   17528 /* When -fvisibility=hidden is used, assume the code has been annotated
   17529    correspondingly for the symbols needed.  */
   17530 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   17531 int fnord (void) __attribute__((visibility("default")));
   17532 #endif
   17533 
   17534 int fnord (void) { return 42; }
   17535 int main (void)
   17536 {
   17537   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   17538   int status = $lt_dlunknown;
   17539 
   17540   if (self)
   17541     {
   17542       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   17543       else
   17544         {
   17545 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   17546           else puts (dlerror ());
   17547 	}
   17548       /* dlclose (self); */
   17549     }
   17550   else
   17551     puts (dlerror ());
   17552 
   17553   return status;
   17554 }
   17555 _LT_EOF
   17556   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   17557   (eval $ac_link) 2>&5
   17558   ac_status=$?
   17559   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17560   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   17561     (./conftest; exit; ) >&5 2>/dev/null
   17562     lt_status=$?
   17563     case x$lt_status in
   17564       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   17565       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   17566       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   17567     esac
   17568   else :
   17569     # compilation failed
   17570     lt_cv_dlopen_self_static=no
   17571   fi
   17572 fi
   17573 rm -fr conftest*
   17574 
   17575        ;;
   17576 esac
   17577 fi
   17578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   17579 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   17580     fi
   17581 
   17582     CPPFLAGS=$save_CPPFLAGS
   17583     LDFLAGS=$save_LDFLAGS
   17584     LIBS=$save_LIBS
   17585     ;;
   17586   esac
   17587 
   17588   case $lt_cv_dlopen_self in
   17589   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   17590   *) enable_dlopen_self=unknown ;;
   17591   esac
   17592 
   17593   case $lt_cv_dlopen_self_static in
   17594   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   17595   *) enable_dlopen_self_static=unknown ;;
   17596   esac
   17597 fi
   17598 
   17599 
   17600 
   17601 
   17602 
   17603 
   17604 
   17605 
   17606 
   17607 
   17608 
   17609 
   17610 
   17611 
   17612 
   17613 
   17614 
   17615 striplib=
   17616 old_striplib=
   17617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   17618 printf %s "checking whether stripping libraries is possible... " >&6; }
   17619 if test -z "$STRIP"; then
   17620   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17621 printf "%s\n" "no" >&6; }
   17622 else
   17623   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   17624     old_striplib="$STRIP --strip-debug"
   17625     striplib="$STRIP --strip-unneeded"
   17626     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17627 printf "%s\n" "yes" >&6; }
   17628   else
   17629     case $host_os in
   17630     darwin*)
   17631       # FIXME - insert some real tests, host_os isn't really good enough
   17632       striplib="$STRIP -x"
   17633       old_striplib="$STRIP -S"
   17634       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17635 printf "%s\n" "yes" >&6; }
   17636       ;;
   17637     freebsd*)
   17638       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   17639         old_striplib="$STRIP --strip-debug"
   17640         striplib="$STRIP --strip-unneeded"
   17641         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17642 printf "%s\n" "yes" >&6; }
   17643       else
   17644         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17645 printf "%s\n" "no" >&6; }
   17646       fi
   17647       ;;
   17648     *)
   17649       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17650 printf "%s\n" "no" >&6; }
   17651       ;;
   17652     esac
   17653   fi
   17654 fi
   17655 
   17656 
   17657 
   17658 
   17659 
   17660 
   17661 
   17662 
   17663 
   17664 
   17665 
   17666 
   17667   # Report what library types will actually be built
   17668   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   17669 printf %s "checking if libtool supports shared libraries... " >&6; }
   17670   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   17671 printf "%s\n" "$can_build_shared" >&6; }
   17672 
   17673   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   17674 printf %s "checking whether to build shared libraries... " >&6; }
   17675   test no = "$can_build_shared" && enable_shared=no
   17676 
   17677   # On AIX, shared libraries and static libraries use the same namespace, and
   17678   # are all built from PIC.
   17679   case $host_os in
   17680   aix3*)
   17681     test yes = "$enable_shared" && enable_static=no
   17682     if test -n "$RANLIB"; then
   17683       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   17684       postinstall_cmds='$RANLIB $lib'
   17685     fi
   17686     ;;
   17687 
   17688   aix[4-9]*)
   17689     if test ia64 != "$host_cpu"; then
   17690       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   17691       yes,aix,yes) ;;			# shared object as lib.so file only
   17692       yes,svr4,*) ;;			# shared object as lib.so archive member only
   17693       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   17694       esac
   17695     fi
   17696     ;;
   17697   esac
   17698   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   17699 printf "%s\n" "$enable_shared" >&6; }
   17700 
   17701   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   17702 printf %s "checking whether to build static libraries... " >&6; }
   17703   # Make sure either enable_shared or enable_static is yes.
   17704   test yes = "$enable_shared" || enable_static=yes
   17705   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   17706 printf "%s\n" "$enable_static" >&6; }
   17707 
   17708 
   17709 
   17710 
   17711 fi
   17712 ac_ext=c
   17713 ac_cpp='$CPP $CPPFLAGS'
   17714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   17715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   17716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   17717 
   17718 CC=$lt_save_CC
   17719 
   17720 
   17721 
   17722 
   17723 
   17724 
   17725 
   17726 
   17727 
   17728 
   17729 
   17730 
   17731 
   17732 
   17733 
   17734         ac_config_commands="$ac_config_commands libtool"
   17735 
   17736 
   17737 
   17738 
   17739 # Only expand once:
   17740 
   17741 
   17742 
   17743 DLOPEN_LIBS="$lt_cv_dlopen_libs"
   17744 
   17745 
   17746 if test "$enable_static" != "no" && test "$enable_developer" != "yes"
   17747 then :
   17748   as_fn_error $? "Static linking is not supported as it disables dlopen() and certain security features (e.g. RELRO, ASLR)" "$LINENO" 5
   17749 fi
   17750 
   17751 
   17752 #
   17753 # Set the default CFLAGS, CPPFLAGS, and LDFLAGS
   17754 #
   17755 STD_CFLAGS="-Wall -Wextra -Wwrite-strings -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow"
   17756 
   17757 # These should be always errors
   17758 STD_CFLAGS="$STD_CFLAGS -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -Werror=vla"
   17759 
   17760 # Disable false positives generated by GCC 11+ and ASAN
   17761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17762 /* end confdefs.h.  */
   17763 
   17764 int
   17765 main (void)
   17766 {
   17767 #if __GNUC__ >= 11 && defined(__SANITIZE_ADDRESS__)
   17768 		     #error Address Sanitizer enabled
   17769 		     #endif
   17770 
   17771   ;
   17772   return 0;
   17773 }
   17774 _ACEOF
   17775 if ac_fn_c_try_compile "$LINENO"
   17776 then :
   17777 
   17778 else case e in #(
   17779   e) STD_CFLAGS="$STD_CFLAGS -Wno-stringop-overread" ;;
   17780 esac
   17781 fi
   17782 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17783 
   17784 # Silence GCC 11.1+ note about the changed alignment, see GL #4841
   17785 case $target_cpu in #(
   17786   i?86) :
   17787     STD_CFLAGS="$STD_CFLAGS -Wno-psabi" ;; #(
   17788   *) :
   17789      ;;
   17790 esac
   17791 
   17792 STD_LDFLAGS=""
   17793 
   17794 # ... except in test code
   17795 TEST_CFLAGS="-Wno-vla"
   17796 
   17797 # Fortify the sources by default (we undefine the macro first in case
   17798 # the compiler has a different built-in setting)
   17799 STD_CPPFLAGS="-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2"
   17800 
   17801 #
   17802 # Additional compiler settings.
   17803 #
   17804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fno-strict-aliasing" >&5
   17805 printf %s "checking whether C compiler accepts -fno-strict-aliasing... " >&6; }
   17806 if test ${ax_cv_check_cflags___fno_strict_aliasing+y}
   17807 then :
   17808   printf %s "(cached) " >&6
   17809 else case e in #(
   17810   e)
   17811   ax_check_save_flags=$CFLAGS
   17812   CFLAGS="$CFLAGS  -fno-strict-aliasing"
   17813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17814 /* end confdefs.h.  */
   17815 
   17816 int
   17817 main (void)
   17818 {
   17819 
   17820   ;
   17821   return 0;
   17822 }
   17823 _ACEOF
   17824 if ac_fn_c_try_compile "$LINENO"
   17825 then :
   17826   ax_cv_check_cflags___fno_strict_aliasing=yes
   17827 else case e in #(
   17828   e) ax_cv_check_cflags___fno_strict_aliasing=no ;;
   17829 esac
   17830 fi
   17831 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17832   CFLAGS=$ax_check_save_flags ;;
   17833 esac
   17834 fi
   17835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fno_strict_aliasing" >&5
   17836 printf "%s\n" "$ax_cv_check_cflags___fno_strict_aliasing" >&6; }
   17837 if test "x$ax_cv_check_cflags___fno_strict_aliasing" = xyes
   17838 then :
   17839   STD_CFLAGS="$STD_CFLAGS -fno-strict-aliasing"
   17840 else case e in #(
   17841   e) : ;;
   17842 esac
   17843 fi
   17844 
   17845 # Clang only issues a warning so use -Werror to force a error.
   17846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror -fno-delete-null-pointer-checks" >&5
   17847 printf %s "checking whether C compiler accepts -Werror -fno-delete-null-pointer-checks... " >&6; }
   17848 if test ${ax_cv_check_cflags___Werror__fno_delete_null_pointer_checks+y}
   17849 then :
   17850   printf %s "(cached) " >&6
   17851 else case e in #(
   17852   e)
   17853   ax_check_save_flags=$CFLAGS
   17854   CFLAGS="$CFLAGS  -Werror -fno-delete-null-pointer-checks"
   17855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17856 /* end confdefs.h.  */
   17857 
   17858 int
   17859 main (void)
   17860 {
   17861 
   17862   ;
   17863   return 0;
   17864 }
   17865 _ACEOF
   17866 if ac_fn_c_try_compile "$LINENO"
   17867 then :
   17868   ax_cv_check_cflags___Werror__fno_delete_null_pointer_checks=yes
   17869 else case e in #(
   17870   e) ax_cv_check_cflags___Werror__fno_delete_null_pointer_checks=no ;;
   17871 esac
   17872 fi
   17873 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17874   CFLAGS=$ax_check_save_flags ;;
   17875 esac
   17876 fi
   17877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror__fno_delete_null_pointer_checks" >&5
   17878 printf "%s\n" "$ax_cv_check_cflags___Werror__fno_delete_null_pointer_checks" >&6; }
   17879 if test "x$ax_cv_check_cflags___Werror__fno_delete_null_pointer_checks" = xyes
   17880 then :
   17881   STD_CFLAGS="$STD_CFLAGS -fno-delete-null-pointer-checks"
   17882 else case e in #(
   17883   e) : ;;
   17884 esac
   17885 fi
   17886 
   17887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fdiagnostics-show-option" >&5
   17888 printf %s "checking whether C compiler accepts -fdiagnostics-show-option... " >&6; }
   17889 if test ${ax_cv_check_cflags___fdiagnostics_show_option+y}
   17890 then :
   17891   printf %s "(cached) " >&6
   17892 else case e in #(
   17893   e)
   17894   ax_check_save_flags=$CFLAGS
   17895   CFLAGS="$CFLAGS  -fdiagnostics-show-option"
   17896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17897 /* end confdefs.h.  */
   17898 
   17899 int
   17900 main (void)
   17901 {
   17902 
   17903   ;
   17904   return 0;
   17905 }
   17906 _ACEOF
   17907 if ac_fn_c_try_compile "$LINENO"
   17908 then :
   17909   ax_cv_check_cflags___fdiagnostics_show_option=yes
   17910 else case e in #(
   17911   e) ax_cv_check_cflags___fdiagnostics_show_option=no ;;
   17912 esac
   17913 fi
   17914 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17915   CFLAGS=$ax_check_save_flags ;;
   17916 esac
   17917 fi
   17918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fdiagnostics_show_option" >&5
   17919 printf "%s\n" "$ax_cv_check_cflags___fdiagnostics_show_option" >&6; }
   17920 if test "x$ax_cv_check_cflags___fdiagnostics_show_option" = xyes
   17921 then :
   17922   STD_CFLAGS="$STD_CFLAGS -fdiagnostics-show-option"
   17923 else case e in #(
   17924   e) : ;;
   17925 esac
   17926 fi
   17927 
   17928 
   17929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--export-dynamic" >&5
   17930 printf %s "checking whether the linker accepts -Wl,--export-dynamic... " >&6; }
   17931 if test ${ax_cv_check_ldflags___Wl___export_dynamic+y}
   17932 then :
   17933   printf %s "(cached) " >&6
   17934 else case e in #(
   17935   e)
   17936   ax_check_save_flags=$LDFLAGS
   17937   LDFLAGS="$LDFLAGS  -Wl,--export-dynamic"
   17938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17939 /* end confdefs.h.  */
   17940 
   17941 int
   17942 main (void)
   17943 {
   17944 
   17945   ;
   17946   return 0;
   17947 }
   17948 _ACEOF
   17949 if ac_fn_c_try_link "$LINENO"
   17950 then :
   17951   ax_cv_check_ldflags___Wl___export_dynamic=yes
   17952 else case e in #(
   17953   e) ax_cv_check_ldflags___Wl___export_dynamic=no ;;
   17954 esac
   17955 fi
   17956 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17957     conftest$ac_exeext conftest.$ac_ext
   17958   LDFLAGS=$ax_check_save_flags ;;
   17959 esac
   17960 fi
   17961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___export_dynamic" >&5
   17962 printf "%s\n" "$ax_cv_check_ldflags___Wl___export_dynamic" >&6; }
   17963 if test "x$ax_cv_check_ldflags___Wl___export_dynamic" = xyes
   17964 then :
   17965   STD_LDFLAGS="$STD_LDFLAGS -Wl,--export-dynamic"
   17966 else case e in #(
   17967   e) : ;;
   17968 esac
   17969 fi
   17970 
   17971 
   17972 host_macos=no
   17973 case $host in #(
   17974   *-darwin*) :
   17975     host_macos=yes ;; #(
   17976   *) :
   17977      ;;
   17978 esac
   17979  if test "$host_macos" = "yes"; then
   17980   HOST_MACOS_TRUE=
   17981   HOST_MACOS_FALSE='#'
   17982 else
   17983   HOST_MACOS_TRUE='#'
   17984   HOST_MACOS_FALSE=
   17985 fi
   17986 
   17987 
   17988 #
   17989 # Change defaults for developers if not explicity set.
   17990 # Needs to be before the option is tested.
   17991 #
   17992 # [pairwise: --enable-developer, --disable-developer]
   17993 # Check whether --enable-developer was given.
   17994 if test ${enable_developer+y}
   17995 then :
   17996   enableval=$enable_developer;
   17997 fi
   17998 
   17999 
   18000 if test "$enable_developer" = "yes"
   18001 then :
   18002   DEVELOPER_MODE=yes
   18003        STD_CPPFLAGS="$STD_CPPFLAGS -DDEVELOPER_MODE=1 -DISC_MEM_DEFAULTFILL=1 -DISC_MEM_TRACKLINES=1 -DISC_LIST_CHECKINIT=1 -DISC_STATS_CHECKUNDERFLOW=1 -DDNS_RBTDB_STRONG_RWLOCK_CHECK=1 -DISC_MUTEX_ERROR_CHECK=1"
   18004        test "${enable_fixed_rrset+set}" = set || enable_fixed_rrset=yes
   18005        test "${enable_querytrace+set}" = set || enable_querytrace=yes
   18006        test "${with_cmocka+set}" = set || with_cmocka=yes
   18007        test "${with_zlib+set}" = set || with_zlib=yes
   18008        test "${enable_warn_error+set}" = set || enable_warn_error=yes
   18009 
   18010 fi
   18011 
   18012 
   18013 
   18014 
   18015 
   18016 
   18017 
   18018 # [pairwise: --enable-warn-error, --disable-warn-error]
   18019 # Check whether --enable-warn_error was given.
   18020 if test ${enable_warn_error+y}
   18021 then :
   18022   enableval=$enable_warn_error;
   18023 else case e in #(
   18024   e) enable_warn_error=no ;;
   18025 esac
   18026 fi
   18027 
   18028 if test "$enable_warn_error" = "yes"
   18029 then :
   18030   STD_CFLAGS="$STD_CFLAGS -Werror"
   18031 fi
   18032 
   18033 #
   18034 # Use pkg-config
   18035 #
   18036 
   18037 
   18038 
   18039 
   18040 
   18041 
   18042 
   18043 
   18044 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   18045 	if test -n "$ac_tool_prefix"; then
   18046   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   18047 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   18048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18049 printf %s "checking for $ac_word... " >&6; }
   18050 if test ${ac_cv_path_PKG_CONFIG+y}
   18051 then :
   18052   printf %s "(cached) " >&6
   18053 else case e in #(
   18054   e) case $PKG_CONFIG in
   18055   [\\/]* | ?:[\\/]*)
   18056   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   18057   ;;
   18058   *)
   18059   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18060 for as_dir in $PATH
   18061 do
   18062   IFS=$as_save_IFS
   18063   case $as_dir in #(((
   18064     '') as_dir=./ ;;
   18065     */) ;;
   18066     *) as_dir=$as_dir/ ;;
   18067   esac
   18068     for ac_exec_ext in '' $ac_executable_extensions; do
   18069   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   18070     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   18071     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   18072     break 2
   18073   fi
   18074 done
   18075   done
   18076 IFS=$as_save_IFS
   18077 
   18078   ;;
   18079 esac ;;
   18080 esac
   18081 fi
   18082 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   18083 if test -n "$PKG_CONFIG"; then
   18084   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   18085 printf "%s\n" "$PKG_CONFIG" >&6; }
   18086 else
   18087   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18088 printf "%s\n" "no" >&6; }
   18089 fi
   18090 
   18091 
   18092 fi
   18093 if test -z "$ac_cv_path_PKG_CONFIG"; then
   18094   ac_pt_PKG_CONFIG=$PKG_CONFIG
   18095   # Extract the first word of "pkg-config", so it can be a program name with args.
   18096 set dummy pkg-config; ac_word=$2
   18097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18098 printf %s "checking for $ac_word... " >&6; }
   18099 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   18100 then :
   18101   printf %s "(cached) " >&6
   18102 else case e in #(
   18103   e) case $ac_pt_PKG_CONFIG in
   18104   [\\/]* | ?:[\\/]*)
   18105   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   18106   ;;
   18107   *)
   18108   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18109 for as_dir in $PATH
   18110 do
   18111   IFS=$as_save_IFS
   18112   case $as_dir in #(((
   18113     '') as_dir=./ ;;
   18114     */) ;;
   18115     *) as_dir=$as_dir/ ;;
   18116   esac
   18117     for ac_exec_ext in '' $ac_executable_extensions; do
   18118   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   18119     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   18120     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   18121     break 2
   18122   fi
   18123 done
   18124   done
   18125 IFS=$as_save_IFS
   18126 
   18127   ;;
   18128 esac ;;
   18129 esac
   18130 fi
   18131 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   18132 if test -n "$ac_pt_PKG_CONFIG"; then
   18133   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   18134 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   18135 else
   18136   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18137 printf "%s\n" "no" >&6; }
   18138 fi
   18139 
   18140   if test "x$ac_pt_PKG_CONFIG" = x; then
   18141     PKG_CONFIG=""
   18142   else
   18143     case $cross_compiling:$ac_tool_warned in
   18144 yes:)
   18145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   18146 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   18147 ac_tool_warned=yes ;;
   18148 esac
   18149     PKG_CONFIG=$ac_pt_PKG_CONFIG
   18150   fi
   18151 else
   18152   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   18153 fi
   18154 
   18155 fi
   18156 if test -n "$PKG_CONFIG"; then
   18157 	_pkg_min_version=0.9.0
   18158 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   18159 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   18160 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   18161 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18162 printf "%s\n" "yes" >&6; }
   18163 	else
   18164 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18165 printf "%s\n" "no" >&6; }
   18166 		PKG_CONFIG=""
   18167 	fi
   18168 fi
   18169 if test -z "$PKG_CONFIG"
   18170 then :
   18171   as_fn_error $? "The pkg-config script could not be found or is too old." "$LINENO" 5
   18172 fi
   18173 
   18174 #
   18175 # Pick Userspace-RCU flavor (developer only option)
   18176 #
   18177 # [pairwise: skip]
   18178 
   18179 # Check whether --with-liburcu was given.
   18180 if test ${with_liburcu+y}
   18181 then :
   18182   withval=$with_liburcu;
   18183 else case e in #(
   18184   e) with_liburcu=membarrier ;;
   18185 esac
   18186 fi
   18187 
   18188 
   18189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking liburcu flavor" >&5
   18190 printf %s "checking liburcu flavor... " >&6; }
   18191 case $with_liburcu in #(
   18192   membarrier) :
   18193     RCU_FLAVOR="liburcu"
   18194 
   18195 printf "%s\n" "#define RCU_MEMBARRIER 1" >>confdefs.h
   18196  ;; #(
   18197   qsbr) :
   18198     RCU_FLAVOR="liburcu-qsbr"
   18199 
   18200 printf "%s\n" "#define RCU_QSBR 1" >>confdefs.h
   18201  ;; #(
   18202   mb) :
   18203     RCU_FLAVOR="liburcu-mb"
   18204 
   18205 printf "%s\n" "#define RCU_MB 1" >>confdefs.h
   18206  ;; #(
   18207   bp) :
   18208     RCU_FLAVOR="liburcu-bp"
   18209 
   18210 printf "%s\n" "#define RCU_BP 1" >>confdefs.h
   18211  ;; #(
   18212   *) :
   18213     as_fn_error $? "Invalid Userspace-RCU flavor picked" "$LINENO" 5 ;;
   18214 esac
   18215 
   18216 if test "$with_liburcu" != "membarrier" && test "$enable_developer" != "yes"
   18217 then :
   18218   as_fn_error $? "Changing Userspace-RCU variant is allowed only in developer mode" "$LINENO" 5
   18219 fi
   18220 
   18221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RCU_FLAVOR" >&5
   18222 printf "%s\n" "$RCU_FLAVOR" >&6; }
   18223 
   18224 #
   18225 # liburcu << v0.13.0 didn't add -lurcu-common and some toolchains would
   18226 # not add it automatically - we need to add it explicitly in such case.
   18227 #
   18228 
   18229 pkg_failed=no
   18230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $RCU_FLAVOR >= 0.13.0 liburcu-cds >= 0.13.0" >&5
   18231 printf %s "checking for $RCU_FLAVOR >= 0.13.0 liburcu-cds >= 0.13.0... " >&6; }
   18232 
   18233 if test -n "$LIBURCU_CFLAGS"; then
   18234     pkg_cv_LIBURCU_CFLAGS="$LIBURCU_CFLAGS"
   18235  elif test -n "$PKG_CONFIG"; then
   18236     if test -n "$PKG_CONFIG" && \
   18237     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$RCU_FLAVOR >= 0.13.0 liburcu-cds >= 0.13.0\""; } >&5
   18238   ($PKG_CONFIG --exists --print-errors "$RCU_FLAVOR >= 0.13.0 liburcu-cds >= 0.13.0") 2>&5
   18239   ac_status=$?
   18240   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18241   test $ac_status = 0; }; then
   18242   pkg_cv_LIBURCU_CFLAGS=`$PKG_CONFIG --cflags "$RCU_FLAVOR >= 0.13.0 liburcu-cds >= 0.13.0" 2>/dev/null`
   18243 		      test "x$?" != "x0" && pkg_failed=yes
   18244 else
   18245   pkg_failed=yes
   18246 fi
   18247  else
   18248     pkg_failed=untried
   18249 fi
   18250 if test -n "$LIBURCU_LIBS"; then
   18251     pkg_cv_LIBURCU_LIBS="$LIBURCU_LIBS"
   18252  elif test -n "$PKG_CONFIG"; then
   18253     if test -n "$PKG_CONFIG" && \
   18254     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$RCU_FLAVOR >= 0.13.0 liburcu-cds >= 0.13.0\""; } >&5
   18255   ($PKG_CONFIG --exists --print-errors "$RCU_FLAVOR >= 0.13.0 liburcu-cds >= 0.13.0") 2>&5
   18256   ac_status=$?
   18257   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18258   test $ac_status = 0; }; then
   18259   pkg_cv_LIBURCU_LIBS=`$PKG_CONFIG --libs "$RCU_FLAVOR >= 0.13.0 liburcu-cds >= 0.13.0" 2>/dev/null`
   18260 		      test "x$?" != "x0" && pkg_failed=yes
   18261 else
   18262   pkg_failed=yes
   18263 fi
   18264  else
   18265     pkg_failed=untried
   18266 fi
   18267 
   18268 
   18269 
   18270 if test $pkg_failed = yes; then
   18271         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18272 printf "%s\n" "no" >&6; }
   18273 
   18274 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18275         _pkg_short_errors_supported=yes
   18276 else
   18277         _pkg_short_errors_supported=no
   18278 fi
   18279         if test $_pkg_short_errors_supported = yes; then
   18280                 LIBURCU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$RCU_FLAVOR >= 0.13.0 liburcu-cds >= 0.13.0" 2>&1`
   18281         else
   18282                 LIBURCU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$RCU_FLAVOR >= 0.13.0 liburcu-cds >= 0.13.0" 2>&1`
   18283         fi
   18284         # Put the nasty error message in config.log where it belongs
   18285         echo "$LIBURCU_PKG_ERRORS" >&5
   18286 
   18287 
   18288 pkg_failed=no
   18289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $RCU_FLAVOR >= 0.10.0 liburcu-cds >= 0.10.0" >&5
   18290 printf %s "checking for $RCU_FLAVOR >= 0.10.0 liburcu-cds >= 0.10.0... " >&6; }
   18291 
   18292 if test -n "$LIBURCU_CFLAGS"; then
   18293     pkg_cv_LIBURCU_CFLAGS="$LIBURCU_CFLAGS"
   18294  elif test -n "$PKG_CONFIG"; then
   18295     if test -n "$PKG_CONFIG" && \
   18296     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$RCU_FLAVOR >= 0.10.0 liburcu-cds >= 0.10.0\""; } >&5
   18297   ($PKG_CONFIG --exists --print-errors "$RCU_FLAVOR >= 0.10.0 liburcu-cds >= 0.10.0") 2>&5
   18298   ac_status=$?
   18299   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18300   test $ac_status = 0; }; then
   18301   pkg_cv_LIBURCU_CFLAGS=`$PKG_CONFIG --cflags "$RCU_FLAVOR >= 0.10.0 liburcu-cds >= 0.10.0" 2>/dev/null`
   18302 		      test "x$?" != "x0" && pkg_failed=yes
   18303 else
   18304   pkg_failed=yes
   18305 fi
   18306  else
   18307     pkg_failed=untried
   18308 fi
   18309 if test -n "$LIBURCU_LIBS"; then
   18310     pkg_cv_LIBURCU_LIBS="$LIBURCU_LIBS"
   18311  elif test -n "$PKG_CONFIG"; then
   18312     if test -n "$PKG_CONFIG" && \
   18313     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$RCU_FLAVOR >= 0.10.0 liburcu-cds >= 0.10.0\""; } >&5
   18314   ($PKG_CONFIG --exists --print-errors "$RCU_FLAVOR >= 0.10.0 liburcu-cds >= 0.10.0") 2>&5
   18315   ac_status=$?
   18316   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18317   test $ac_status = 0; }; then
   18318   pkg_cv_LIBURCU_LIBS=`$PKG_CONFIG --libs "$RCU_FLAVOR >= 0.10.0 liburcu-cds >= 0.10.0" 2>/dev/null`
   18319 		      test "x$?" != "x0" && pkg_failed=yes
   18320 else
   18321   pkg_failed=yes
   18322 fi
   18323  else
   18324     pkg_failed=untried
   18325 fi
   18326 
   18327 
   18328 
   18329 if test $pkg_failed = yes; then
   18330         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18331 printf "%s\n" "no" >&6; }
   18332 
   18333 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18334         _pkg_short_errors_supported=yes
   18335 else
   18336         _pkg_short_errors_supported=no
   18337 fi
   18338         if test $_pkg_short_errors_supported = yes; then
   18339                 LIBURCU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$RCU_FLAVOR >= 0.10.0 liburcu-cds >= 0.10.0" 2>&1`
   18340         else
   18341                 LIBURCU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$RCU_FLAVOR >= 0.10.0 liburcu-cds >= 0.10.0" 2>&1`
   18342         fi
   18343         # Put the nasty error message in config.log where it belongs
   18344         echo "$LIBURCU_PKG_ERRORS" >&5
   18345 
   18346         as_fn_error $? "Package requirements ($RCU_FLAVOR >= 0.10.0 liburcu-cds >= 0.10.0) were not met:
   18347 
   18348 $LIBURCU_PKG_ERRORS
   18349 
   18350 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18351 installed software in a non-standard prefix.
   18352 
   18353 Alternatively, you may set the environment variables LIBURCU_CFLAGS
   18354 and LIBURCU_LIBS to avoid the need to call pkg-config.
   18355 See the pkg-config man page for more details." "$LINENO" 5
   18356 elif test $pkg_failed = untried; then
   18357         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18358 printf "%s\n" "no" >&6; }
   18359         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   18360 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   18361 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18362 is in your PATH or set the PKG_CONFIG environment variable to the full
   18363 path to pkg-config.
   18364 
   18365 Alternatively, you may set the environment variables LIBURCU_CFLAGS
   18366 and LIBURCU_LIBS to avoid the need to call pkg-config.
   18367 See the pkg-config man page for more details.
   18368 
   18369 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18370 See 'config.log' for more details" "$LINENO" 5; }
   18371 else
   18372         LIBURCU_CFLAGS=$pkg_cv_LIBURCU_CFLAGS
   18373         LIBURCU_LIBS=$pkg_cv_LIBURCU_LIBS
   18374         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18375 printf "%s\n" "yes" >&6; }
   18376         LIBURCU_LIBS="$LIBURCU_LIBS -lurcu-common"
   18377 fi
   18378 elif test $pkg_failed = untried; then
   18379         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18380 printf "%s\n" "no" >&6; }
   18381 
   18382 pkg_failed=no
   18383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $RCU_FLAVOR >= 0.10.0 liburcu-cds >= 0.10.0" >&5
   18384 printf %s "checking for $RCU_FLAVOR >= 0.10.0 liburcu-cds >= 0.10.0... " >&6; }
   18385 
   18386 if test -n "$LIBURCU_CFLAGS"; then
   18387     pkg_cv_LIBURCU_CFLAGS="$LIBURCU_CFLAGS"
   18388  elif test -n "$PKG_CONFIG"; then
   18389     if test -n "$PKG_CONFIG" && \
   18390     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$RCU_FLAVOR >= 0.10.0 liburcu-cds >= 0.10.0\""; } >&5
   18391   ($PKG_CONFIG --exists --print-errors "$RCU_FLAVOR >= 0.10.0 liburcu-cds >= 0.10.0") 2>&5
   18392   ac_status=$?
   18393   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18394   test $ac_status = 0; }; then
   18395   pkg_cv_LIBURCU_CFLAGS=`$PKG_CONFIG --cflags "$RCU_FLAVOR >= 0.10.0 liburcu-cds >= 0.10.0" 2>/dev/null`
   18396 		      test "x$?" != "x0" && pkg_failed=yes
   18397 else
   18398   pkg_failed=yes
   18399 fi
   18400  else
   18401     pkg_failed=untried
   18402 fi
   18403 if test -n "$LIBURCU_LIBS"; then
   18404     pkg_cv_LIBURCU_LIBS="$LIBURCU_LIBS"
   18405  elif test -n "$PKG_CONFIG"; then
   18406     if test -n "$PKG_CONFIG" && \
   18407     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$RCU_FLAVOR >= 0.10.0 liburcu-cds >= 0.10.0\""; } >&5
   18408   ($PKG_CONFIG --exists --print-errors "$RCU_FLAVOR >= 0.10.0 liburcu-cds >= 0.10.0") 2>&5
   18409   ac_status=$?
   18410   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18411   test $ac_status = 0; }; then
   18412   pkg_cv_LIBURCU_LIBS=`$PKG_CONFIG --libs "$RCU_FLAVOR >= 0.10.0 liburcu-cds >= 0.10.0" 2>/dev/null`
   18413 		      test "x$?" != "x0" && pkg_failed=yes
   18414 else
   18415   pkg_failed=yes
   18416 fi
   18417  else
   18418     pkg_failed=untried
   18419 fi
   18420 
   18421 
   18422 
   18423 if test $pkg_failed = yes; then
   18424         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18425 printf "%s\n" "no" >&6; }
   18426 
   18427 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18428         _pkg_short_errors_supported=yes
   18429 else
   18430         _pkg_short_errors_supported=no
   18431 fi
   18432         if test $_pkg_short_errors_supported = yes; then
   18433                 LIBURCU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$RCU_FLAVOR >= 0.10.0 liburcu-cds >= 0.10.0" 2>&1`
   18434         else
   18435                 LIBURCU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$RCU_FLAVOR >= 0.10.0 liburcu-cds >= 0.10.0" 2>&1`
   18436         fi
   18437         # Put the nasty error message in config.log where it belongs
   18438         echo "$LIBURCU_PKG_ERRORS" >&5
   18439 
   18440         as_fn_error $? "Package requirements ($RCU_FLAVOR >= 0.10.0 liburcu-cds >= 0.10.0) were not met:
   18441 
   18442 $LIBURCU_PKG_ERRORS
   18443 
   18444 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18445 installed software in a non-standard prefix.
   18446 
   18447 Alternatively, you may set the environment variables LIBURCU_CFLAGS
   18448 and LIBURCU_LIBS to avoid the need to call pkg-config.
   18449 See the pkg-config man page for more details." "$LINENO" 5
   18450 elif test $pkg_failed = untried; then
   18451         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18452 printf "%s\n" "no" >&6; }
   18453         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   18454 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   18455 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18456 is in your PATH or set the PKG_CONFIG environment variable to the full
   18457 path to pkg-config.
   18458 
   18459 Alternatively, you may set the environment variables LIBURCU_CFLAGS
   18460 and LIBURCU_LIBS to avoid the need to call pkg-config.
   18461 See the pkg-config man page for more details.
   18462 
   18463 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18464 See 'config.log' for more details" "$LINENO" 5; }
   18465 else
   18466         LIBURCU_CFLAGS=$pkg_cv_LIBURCU_CFLAGS
   18467         LIBURCU_LIBS=$pkg_cv_LIBURCU_LIBS
   18468         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18469 printf "%s\n" "yes" >&6; }
   18470         LIBURCU_LIBS="$LIBURCU_LIBS -lurcu-common"
   18471 fi
   18472 else
   18473         LIBURCU_CFLAGS=$pkg_cv_LIBURCU_CFLAGS
   18474         LIBURCU_LIBS=$pkg_cv_LIBURCU_LIBS
   18475         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18476 printf "%s\n" "yes" >&6; }
   18477 
   18478 fi
   18479 
   18480 
   18481 printf "%s\n" "#define RCU_FLAVOR \"$RCU_FLAVOR\"" >>confdefs.h
   18482 
   18483 
   18484 
   18485 if test -n "$RCU_VERSION"; then
   18486     pkg_cv_RCU_VERSION="$RCU_VERSION"
   18487  elif test -n "$PKG_CONFIG"; then
   18488     if test -n "$PKG_CONFIG" && \
   18489     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$RCU_FLAVOR\""; } >&5
   18490   ($PKG_CONFIG --exists --print-errors "$RCU_FLAVOR") 2>&5
   18491   ac_status=$?
   18492   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18493   test $ac_status = 0; }; then
   18494   pkg_cv_RCU_VERSION=`$PKG_CONFIG --modversion "$RCU_FLAVOR" 2>/dev/null`
   18495 		      test "x$?" != "x0" && pkg_failed=yes
   18496 else
   18497   pkg_failed=yes
   18498 fi
   18499  else
   18500     pkg_failed=untried
   18501 fi
   18502 RCU_VERSION=$pkg_cv_RCU_VERSION
   18503 
   18504 if test "x$RCU_VERSION" = x""
   18505 then :
   18506 
   18507 fi
   18508 
   18509 printf "%s\n" "#define RCU_VERSION \"$RCU_VERSION\"" >>confdefs.h
   18510 
   18511 
   18512 CFLAGS="$CFLAGS $LIBURCU_CFLAGS"
   18513 LIBS="$LIBS $LIBURCU_LIBS"
   18514 
   18515 ac_fn_c_check_header_compile "$LINENO" "urcu/assert.h" "ac_cv_header_urcu_assert_h" "$ac_includes_default"
   18516 if test "x$ac_cv_header_urcu_assert_h" = xyes
   18517 then :
   18518   printf "%s\n" "#define HAVE_URCU_ASSERT_H 1" >>confdefs.h
   18519 
   18520 fi
   18521 ac_fn_c_check_header_compile "$LINENO" "urcu/uatomic.h" "ac_cv_header_urcu_uatomic_h" "$ac_includes_default"
   18522 if test "x$ac_cv_header_urcu_uatomic_h" = xyes
   18523 then :
   18524   printf "%s\n" "#define HAVE_URCU_UATOMIC_H 1" >>confdefs.h
   18525 
   18526 fi
   18527 ac_fn_c_check_header_compile "$LINENO" "urcu/pointer.h" "ac_cv_header_urcu_pointer_h" "$ac_includes_default"
   18528 if test "x$ac_cv_header_urcu_pointer_h" = xyes
   18529 then :
   18530   printf "%s\n" "#define HAVE_URCU_POINTER_H 1" >>confdefs.h
   18531 
   18532 fi
   18533 
   18534 
   18535 #
   18536 # Userspace-RCU inlining doesn't work for rcu_deference() with some combination
   18537 # of C compiler and library version.
   18538 #
   18539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can inline small liburcu functions" >&5
   18540 printf %s "checking whether we can inline small liburcu functions... " >&6; }
   18541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18542 /* end confdefs.h.  */
   18543 #define URCU_INLINE_SMALL_FUNCTIONS 1
   18544 		     #include <urcu.h>
   18545 int
   18546 main (void)
   18547 {
   18548 struct opaque *a; struct opaque *b = rcu_dereference(a);
   18549   ;
   18550   return 0;
   18551 }
   18552 _ACEOF
   18553 if ac_fn_c_try_compile "$LINENO"
   18554 then :
   18555   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18556 printf "%s\n" "yes" >&6; }
   18557 
   18558 printf "%s\n" "#define URCU_INLINE_SMALL_FUNCTIONS 1" >>confdefs.h
   18559 
   18560 else case e in #(
   18561   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18562 printf "%s\n" "no" >&6; } ;;
   18563 esac
   18564 fi
   18565 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18566 
   18567 # Fuzzing is not included in pairwise testing as fuzzing tools are
   18568 # not present in the relevant Docker image.
   18569 #
   18570 # [pairwise: skip]
   18571 # Check whether --enable-fuzzing was given.
   18572 if test ${enable_fuzzing+y}
   18573 then :
   18574   enableval=$enable_fuzzing;
   18575 else case e in #(
   18576   e) enable_fuzzing=no ;;
   18577 esac
   18578 fi
   18579 
   18580 
   18581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable fuzzing mode" >&5
   18582 printf %s "checking whether to enable fuzzing mode... " >&6; }
   18583 case $enable_fuzzing in #(
   18584   no) :
   18585     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18586 printf "%s\n" "no" >&6; } ;; #(
   18587   afl) :
   18588 
   18589 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: using AFL" >&5
   18590 printf "%s\n" "using AFL" >&6; }
   18591 
   18592 printf "%s\n" "#define ENABLE_AFL 1" >>confdefs.h
   18593 
   18594 	  STD_CFLAGS="$STD_CFLAGS -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION=1"
   18595 	  FUZZ_LOG_COMPILER="afl.sh" ;; #(
   18596   libfuzzer) :
   18597 
   18598 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: using libFuzzer" >&5
   18599 printf "%s\n" "using libFuzzer" >&6; }
   18600 	  STD_CFLAGS="$STD_CFLAGS -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION=1 -fsanitize=fuzzer-no-link,address,undefined"
   18601 	  LDFLAGS="$LDFLAGS -fsanitize=address,undefined"
   18602 	  FUZZ_LDFLAGS="-fsanitize=fuzzer,address,undefined"
   18603 	  FUZZ_LOG_COMPILER="libfuzzer.sh" ;; #(
   18604   ossfuzz) :
   18605 
   18606 	    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: using OSS-Fuzz" >&5
   18607 printf "%s\n" "using OSS-Fuzz" >&6; }
   18608 	    FUZZ_LDFLAGS="$LIB_FUZZING_ENGINE" ;; #(
   18609   *) :
   18610     as_fn_error $? "You need to explicitly select the fuzzer" "$LINENO" 5 ;; #(
   18611   *) :
   18612      ;;
   18613 esac
   18614  if test -n "$FUZZ_LOG_COMPILER"; then
   18615   HAVE_FUZZ_LOG_COMPILER_TRUE=
   18616   HAVE_FUZZ_LOG_COMPILER_FALSE='#'
   18617 else
   18618   HAVE_FUZZ_LOG_COMPILER_TRUE='#'
   18619   HAVE_FUZZ_LOG_COMPILER_FALSE=
   18620 fi
   18621 
   18622 
   18623 
   18624 
   18625 if test "$enable_fuzzing" = "afl"
   18626 then :
   18627   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking \"for AFL enabled compiler\"" >&5
   18628 printf %s "checking \"for AFL enabled compiler\"... " >&6; }
   18629        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18630 /* end confdefs.h.  */
   18631 
   18632 int
   18633 main (void)
   18634 {
   18635 #ifndef __AFL_COMPILER
   18636 					   #error AFL compiler required
   18637 					   #endif
   18638 
   18639   ;
   18640   return 0;
   18641 }
   18642 _ACEOF
   18643 if ac_fn_c_try_compile "$LINENO"
   18644 then :
   18645   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18646 printf "%s\n" "yes" >&6; }
   18647 else case e in #(
   18648   e) as_fn_error $? "set CC=afl-<gcc|clang> when --enable-fuzzing=afl is used" "$LINENO" 5 ;;
   18649 esac
   18650 fi
   18651 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18652 
   18653 fi
   18654 
   18655 #
   18656 # Perl is optional; it is used only by some of the system test scripts.
   18657 #
   18658 for ac_prog in perl5 perl
   18659 do
   18660   # Extract the first word of "$ac_prog", so it can be a program name with args.
   18661 set dummy $ac_prog; ac_word=$2
   18662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18663 printf %s "checking for $ac_word... " >&6; }
   18664 if test ${ac_cv_path_PERL+y}
   18665 then :
   18666   printf %s "(cached) " >&6
   18667 else case e in #(
   18668   e) case $PERL in
   18669   [\\/]* | ?:[\\/]*)
   18670   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   18671   ;;
   18672   *)
   18673   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18674 for as_dir in $PATH
   18675 do
   18676   IFS=$as_save_IFS
   18677   case $as_dir in #(((
   18678     '') as_dir=./ ;;
   18679     */) ;;
   18680     *) as_dir=$as_dir/ ;;
   18681   esac
   18682     for ac_exec_ext in '' $ac_executable_extensions; do
   18683   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   18684     ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext"
   18685     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   18686     break 2
   18687   fi
   18688 done
   18689   done
   18690 IFS=$as_save_IFS
   18691 
   18692   ;;
   18693 esac ;;
   18694 esac
   18695 fi
   18696 PERL=$ac_cv_path_PERL
   18697 if test -n "$PERL"; then
   18698   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   18699 printf "%s\n" "$PERL" >&6; }
   18700 else
   18701   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18702 printf "%s\n" "no" >&6; }
   18703 fi
   18704 
   18705 
   18706   test -n "$PERL" && break
   18707 done
   18708 
   18709 
   18710  if test -n "$PERL"; then
   18711   HAVE_PERL_TRUE=
   18712   HAVE_PERL_FALSE='#'
   18713 else
   18714   HAVE_PERL_TRUE='#'
   18715   HAVE_PERL_FALSE=
   18716 fi
   18717 
   18718 
   18719 #
   18720 # Python is optional, it is used only by some of the system test scripts.
   18721 #
   18722 
   18723 
   18724 
   18725 
   18726 
   18727 
   18728         if test -n "$PYTHON"; then
   18729       # If the user set $PYTHON, use it and don't search something else.
   18730       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 3.10" >&5
   18731 printf %s "checking whether $PYTHON version is >= 3.10... " >&6; }
   18732       prog="import sys
   18733 # split strings by '.' and convert to numeric.  Append some zeros
   18734 # because we need at least 4 digits for the hex conversion.
   18735 # map returns an iterator in Python 3.0 and a list in 2.x
   18736 minver = list(map(int, '3.10'.split('.'))) + [0, 0, 0]
   18737 minverhex = 0
   18738 # xrange is not present in Python 3.0 and range returns an iterator
   18739 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
   18740 sys.exit(sys.hexversion < minverhex)"
   18741   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
   18742    ($PYTHON -c "$prog") >&5 2>&5
   18743    ac_status=$?
   18744    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18745    (exit $ac_status); }
   18746 then :
   18747   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18748 printf "%s\n" "yes" >&6; }
   18749 else case e in #(
   18750   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18751 printf "%s\n" "no" >&6; }
   18752 			       as_fn_error $? "Python interpreter is too old" "$LINENO" 5 ;;
   18753 esac
   18754 fi
   18755       am_display_PYTHON=$PYTHON
   18756     else
   18757       # Otherwise, try each interpreter until we find one that satisfies
   18758       # VERSION.
   18759       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 3.10" >&5
   18760 printf %s "checking for a Python interpreter with version >= 3.10... " >&6; }
   18761 if test ${am_cv_pathless_PYTHON+y}
   18762 then :
   18763   printf %s "(cached) " >&6
   18764 else case e in #(
   18765   e)
   18766 	for am_cv_pathless_PYTHON in python python3  python3.20 python3.19 python3.18 python3.17 python3.16  python3.15 python3.14 python3.13 python3.12 python3.11 python3.10  python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3  python3.2 python3.1 python3.0  python2  python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1  python2.0 none; do
   18767 	  test "$am_cv_pathless_PYTHON" = none && break
   18768 	  prog="import sys
   18769 # split strings by '.' and convert to numeric.  Append some zeros
   18770 # because we need at least 4 digits for the hex conversion.
   18771 # map returns an iterator in Python 3.0 and a list in 2.x
   18772 minver = list(map(int, '3.10'.split('.'))) + [0, 0, 0]
   18773 minverhex = 0
   18774 # xrange is not present in Python 3.0 and range returns an iterator
   18775 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
   18776 sys.exit(sys.hexversion < minverhex)"
   18777   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
   18778    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
   18779    ac_status=$?
   18780    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18781    (exit $ac_status); }
   18782 then :
   18783   break
   18784 fi
   18785 	done ;;
   18786 esac
   18787 fi
   18788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
   18789 printf "%s\n" "$am_cv_pathless_PYTHON" >&6; }
   18790       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
   18791       if test "$am_cv_pathless_PYTHON" = none; then
   18792 	PYTHON=:
   18793       else
   18794         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
   18795 set dummy $am_cv_pathless_PYTHON; ac_word=$2
   18796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18797 printf %s "checking for $ac_word... " >&6; }
   18798 if test ${ac_cv_path_PYTHON+y}
   18799 then :
   18800   printf %s "(cached) " >&6
   18801 else case e in #(
   18802   e) case $PYTHON in
   18803   [\\/]* | ?:[\\/]*)
   18804   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
   18805   ;;
   18806   *)
   18807   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18808 for as_dir in $PATH
   18809 do
   18810   IFS=$as_save_IFS
   18811   case $as_dir in #(((
   18812     '') as_dir=./ ;;
   18813     */) ;;
   18814     *) as_dir=$as_dir/ ;;
   18815   esac
   18816     for ac_exec_ext in '' $ac_executable_extensions; do
   18817   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   18818     ac_cv_path_PYTHON="$as_dir$ac_word$ac_exec_ext"
   18819     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   18820     break 2
   18821   fi
   18822 done
   18823   done
   18824 IFS=$as_save_IFS
   18825 
   18826   ;;
   18827 esac ;;
   18828 esac
   18829 fi
   18830 PYTHON=$ac_cv_path_PYTHON
   18831 if test -n "$PYTHON"; then
   18832   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
   18833 printf "%s\n" "$PYTHON" >&6; }
   18834 else
   18835   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18836 printf "%s\n" "no" >&6; }
   18837 fi
   18838 
   18839 
   18840       fi
   18841       am_display_PYTHON=$am_cv_pathless_PYTHON
   18842     fi
   18843 
   18844 
   18845   if test "$PYTHON" = :; then
   18846         :
   18847   else
   18848 
   18849               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
   18850 printf %s "checking for $am_display_PYTHON version... " >&6; }
   18851 if test ${am_cv_python_version+y}
   18852 then :
   18853   printf %s "(cached) " >&6
   18854 else case e in #(
   18855   e) am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"` ;;
   18856 esac
   18857 fi
   18858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
   18859 printf "%s\n" "$am_cv_python_version" >&6; }
   18860   PYTHON_VERSION=$am_cv_python_version
   18861 
   18862 
   18863         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
   18864 printf %s "checking for $am_display_PYTHON platform... " >&6; }
   18865 if test ${am_cv_python_platform+y}
   18866 then :
   18867   printf %s "(cached) " >&6
   18868 else case e in #(
   18869   e) am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"` ;;
   18870 esac
   18871 fi
   18872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
   18873 printf "%s\n" "$am_cv_python_platform" >&6; }
   18874   PYTHON_PLATFORM=$am_cv_python_platform
   18875 
   18876 
   18877                             if test "x$prefix" = xNONE; then
   18878     am__usable_prefix=$ac_default_prefix
   18879   else
   18880     am__usable_prefix=$prefix
   18881   fi
   18882 
   18883   # Allow user to request using sys.* values from Python,
   18884   # instead of the GNU $prefix values.
   18885 
   18886 # Check whether --with-python-sys-prefix was given.
   18887 if test ${with_python_sys_prefix+y}
   18888 then :
   18889   withval=$with_python_sys_prefix; am_use_python_sys=:
   18890 else case e in #(
   18891   e) am_use_python_sys=false ;;
   18892 esac
   18893 fi
   18894 
   18895 
   18896   # Allow user to override whatever the default Python prefix is.
   18897 
   18898 # Check whether --with-python_prefix was given.
   18899 if test ${with_python_prefix+y}
   18900 then :
   18901   withval=$with_python_prefix; am_python_prefix_subst=$withval
   18902    am_cv_python_prefix=$withval
   18903    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON prefix" >&5
   18904 printf %s "checking for explicit $am_display_PYTHON prefix... " >&6; }
   18905    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
   18906 printf "%s\n" "$am_cv_python_prefix" >&6; }
   18907 else case e in #(
   18908   e)
   18909    if $am_use_python_sys; then
   18910      # using python sys.prefix value, not GNU
   18911      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON prefix" >&5
   18912 printf %s "checking for python default $am_display_PYTHON prefix... " >&6; }
   18913 if test ${am_cv_python_prefix+y}
   18914 then :
   18915   printf %s "(cached) " >&6
   18916 else case e in #(
   18917   e) am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"` ;;
   18918 esac
   18919 fi
   18920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
   18921 printf "%s\n" "$am_cv_python_prefix" >&6; }
   18922 
   18923                case $am_cv_python_prefix in
   18924      $am__usable_prefix*)
   18925        am__strip_prefix=`echo "$am__usable_prefix" | sed 's|.|.|g'`
   18926        am_python_prefix_subst=`echo "$am_cv_python_prefix" | sed "s,^$am__strip_prefix,\\${prefix},"`
   18927        ;;
   18928      *)
   18929        am_python_prefix_subst=$am_cv_python_prefix
   18930        ;;
   18931      esac
   18932    else # using GNU prefix value, not python sys.prefix
   18933      am_python_prefix_subst='${prefix}'
   18934      am_python_prefix=$am_python_prefix_subst
   18935      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON prefix" >&5
   18936 printf %s "checking for GNU default $am_display_PYTHON prefix... " >&6; }
   18937      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_prefix" >&5
   18938 printf "%s\n" "$am_python_prefix" >&6; }
   18939    fi ;;
   18940 esac
   18941 fi
   18942 
   18943   # Substituting python_prefix_subst value.
   18944   PYTHON_PREFIX=$am_python_prefix_subst
   18945 
   18946 
   18947   # emacs-page Now do it all over again for Python exec_prefix, but with yet
   18948   # another conditional: fall back to regular prefix if that was specified.
   18949 
   18950 # Check whether --with-python_exec_prefix was given.
   18951 if test ${with_python_exec_prefix+y}
   18952 then :
   18953   withval=$with_python_exec_prefix; am_python_exec_prefix_subst=$withval
   18954    am_cv_python_exec_prefix=$withval
   18955    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON exec_prefix" >&5
   18956 printf %s "checking for explicit $am_display_PYTHON exec_prefix... " >&6; }
   18957    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
   18958 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
   18959 else case e in #(
   18960   e)
   18961    # no explicit --with-python_exec_prefix, but if
   18962    # --with-python_prefix was given, use its value for python_exec_prefix too.
   18963    if test -n "$with_python_prefix"
   18964 then :
   18965   am_python_exec_prefix_subst=$with_python_prefix
   18966     am_cv_python_exec_prefix=$with_python_prefix
   18967     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python_prefix-given $am_display_PYTHON exec_prefix" >&5
   18968 printf %s "checking for python_prefix-given $am_display_PYTHON exec_prefix... " >&6; }
   18969     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
   18970 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
   18971 else case e in #(
   18972   e)
   18973     # Set am__usable_exec_prefix whether using GNU or Python values,
   18974     # since we use that variable for pyexecdir.
   18975     if test "x$exec_prefix" = xNONE; then
   18976       am__usable_exec_prefix=$am__usable_prefix
   18977     else
   18978       am__usable_exec_prefix=$exec_prefix
   18979     fi
   18980     #
   18981     if $am_use_python_sys; then # using python sys.exec_prefix, not GNU
   18982       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON exec_prefix" >&5
   18983 printf %s "checking for python default $am_display_PYTHON exec_prefix... " >&6; }
   18984 if test ${am_cv_python_exec_prefix+y}
   18985 then :
   18986   printf %s "(cached) " >&6
   18987 else case e in #(
   18988   e) am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"` ;;
   18989 esac
   18990 fi
   18991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
   18992 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
   18993                         case $am_cv_python_exec_prefix in
   18994       $am__usable_exec_prefix*)
   18995         am__strip_prefix=`echo "$am__usable_exec_prefix" | sed 's|.|.|g'`
   18996         am_python_exec_prefix_subst=`echo "$am_cv_python_exec_prefix" | sed "s,^$am__strip_prefix,\\${exec_prefix},"`
   18997         ;;
   18998       *)
   18999         am_python_exec_prefix_subst=$am_cv_python_exec_prefix
   19000         ;;
   19001      esac
   19002    else # using GNU $exec_prefix, not python sys.exec_prefix
   19003      am_python_exec_prefix_subst='${exec_prefix}'
   19004      am_python_exec_prefix=$am_python_exec_prefix_subst
   19005      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON exec_prefix" >&5
   19006 printf %s "checking for GNU default $am_display_PYTHON exec_prefix... " >&6; }
   19007      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_exec_prefix" >&5
   19008 printf "%s\n" "$am_python_exec_prefix" >&6; }
   19009    fi ;;
   19010 esac
   19011 fi ;;
   19012 esac
   19013 fi
   19014 
   19015   # Substituting python_exec_prefix_subst.
   19016   PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst
   19017 
   19018 
   19019   # Factor out some code duplication into this shell variable.
   19020   am_python_setup_sysconfig="\
   19021 import sys
   19022 # Prefer sysconfig over distutils.sysconfig, for better compatibility
   19023 # with python 3.x.  See automake bug#10227.
   19024 try:
   19025     import sysconfig
   19026 except ImportError:
   19027     can_use_sysconfig = 0
   19028 else:
   19029     can_use_sysconfig = 1
   19030 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
   19031 # <https://github.com/pypa/virtualenv/issues/118>
   19032 try:
   19033     from platform import python_implementation
   19034     if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
   19035         can_use_sysconfig = 0
   19036 except ImportError:
   19037     pass" # end of am_python_setup_sysconfig
   19038 
   19039   # More repeated code, for figuring out the installation scheme to use.
   19040   am_python_setup_scheme="if hasattr(sysconfig, 'get_default_scheme'):
   19041       scheme = sysconfig.get_default_scheme()
   19042     else:
   19043       scheme = sysconfig._get_default_scheme()
   19044     if scheme == 'posix_local':
   19045       if '$am_py_prefix' == '/usr':
   19046         scheme = 'deb_system' # should only happen during Debian package builds
   19047       else:
   19048         # Debian's default scheme installs to /usr/local/ but we want to
   19049         # follow the prefix, as we always have.
   19050         # See bugs#54412, #64837, et al.
   19051         scheme = 'posix_prefix'" # end of am_python_setup_scheme
   19052 
   19053 
   19054               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory (pythondir)" >&5
   19055 printf %s "checking for $am_display_PYTHON script directory (pythondir)... " >&6; }
   19056 if test ${am_cv_python_pythondir+y}
   19057 then :
   19058   printf %s "(cached) " >&6
   19059 else case e in #(
   19060   e) if test "x$am_cv_python_prefix" = x; then
   19061      am_py_prefix=$am__usable_prefix
   19062    else
   19063      am_py_prefix=$am_cv_python_prefix
   19064    fi
   19065    am_cv_python_pythondir=`$PYTHON -c "
   19066 $am_python_setup_sysconfig
   19067 if can_use_sysconfig:
   19068   try:
   19069     $am_python_setup_scheme
   19070     sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'})
   19071   except:
   19072     sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
   19073 else:
   19074   from distutils import sysconfig
   19075   sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
   19076 sys.stdout.write(sitedir)"`
   19077    #
   19078    case $am_cv_python_pythondir in
   19079    $am_py_prefix*)
   19080      am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
   19081      am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
   19082      ;;
   19083    *)
   19084      case $am_py_prefix in
   19085        /usr|/System*) ;;
   19086        *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
   19087           ;;
   19088      esac
   19089      ;;
   19090    esac
   19091    ;;
   19092 esac
   19093 fi
   19094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
   19095 printf "%s\n" "$am_cv_python_pythondir" >&6; }
   19096   pythondir=$am_cv_python_pythondir
   19097 
   19098 
   19099           pkgpythondir=\${pythondir}/$PACKAGE
   19100 
   19101 
   19102             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory (pyexecdir)" >&5
   19103 printf %s "checking for $am_display_PYTHON extension module directory (pyexecdir)... " >&6; }
   19104 if test ${am_cv_python_pyexecdir+y}
   19105 then :
   19106   printf %s "(cached) " >&6
   19107 else case e in #(
   19108   e) if test "x$am_cv_python_exec_prefix" = x; then
   19109      am_py_exec_prefix=$am__usable_exec_prefix
   19110    else
   19111      am_py_exec_prefix=$am_cv_python_exec_prefix
   19112    fi
   19113    am_cv_python_pyexecdir=`$PYTHON -c "
   19114 $am_python_setup_sysconfig
   19115 if can_use_sysconfig:
   19116   try:
   19117     $am_python_setup_scheme
   19118     sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'})
   19119   except:
   19120     sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'})
   19121 else:
   19122   from distutils import sysconfig
   19123   sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
   19124 sys.stdout.write(sitedir)"`
   19125    #
   19126    case $am_cv_python_pyexecdir in
   19127    $am_py_exec_prefix*)
   19128      am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
   19129      am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
   19130      ;;
   19131    *)
   19132      case $am_py_exec_prefix in
   19133        /usr|/System*) ;;
   19134        *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
   19135           ;;
   19136      esac
   19137      ;;
   19138    esac
   19139    ;;
   19140 esac
   19141 fi
   19142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
   19143 printf "%s\n" "$am_cv_python_pyexecdir" >&6; }
   19144   pyexecdir=$am_cv_python_pyexecdir
   19145 
   19146 
   19147       pkgpyexecdir=\${pyexecdir}/$PACKAGE
   19148 
   19149 
   19150 
   19151   fi
   19152 
   19153  if test "$PYTHON" != ":"; then
   19154   HAVE_PYTHON_TRUE=
   19155   HAVE_PYTHON_FALSE='#'
   19156 else
   19157   HAVE_PYTHON_TRUE='#'
   19158   HAVE_PYTHON_FALSE=
   19159 fi
   19160 
   19161 
   19162 for ac_prog in pytest-3 py.test-3 pytest py.test pytest-pypy
   19163 do
   19164   # Extract the first word of "$ac_prog", so it can be a program name with args.
   19165 set dummy $ac_prog; ac_word=$2
   19166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19167 printf %s "checking for $ac_word... " >&6; }
   19168 if test ${ac_cv_path_PYTEST+y}
   19169 then :
   19170   printf %s "(cached) " >&6
   19171 else case e in #(
   19172   e) case $PYTEST in
   19173   [\\/]* | ?:[\\/]*)
   19174   ac_cv_path_PYTEST="$PYTEST" # Let the user override the test with a path.
   19175   ;;
   19176   *)
   19177   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19178 for as_dir in $PATH
   19179 do
   19180   IFS=$as_save_IFS
   19181   case $as_dir in #(((
   19182     '') as_dir=./ ;;
   19183     */) ;;
   19184     *) as_dir=$as_dir/ ;;
   19185   esac
   19186     for ac_exec_ext in '' $ac_executable_extensions; do
   19187   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19188     ac_cv_path_PYTEST="$as_dir$ac_word$ac_exec_ext"
   19189     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19190     break 2
   19191   fi
   19192 done
   19193   done
   19194 IFS=$as_save_IFS
   19195 
   19196   ;;
   19197 esac ;;
   19198 esac
   19199 fi
   19200 PYTEST=$ac_cv_path_PYTEST
   19201 if test -n "$PYTEST"; then
   19202   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTEST" >&5
   19203 printf "%s\n" "$PYTEST" >&6; }
   19204 else
   19205   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19206 printf "%s\n" "no" >&6; }
   19207 fi
   19208 
   19209 
   19210   test -n "$PYTEST" && break
   19211 done
   19212 
   19213 if test -z "$PYTEST"
   19214 then :
   19215   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pytest not found, some system tests will be skipped" >&5
   19216 printf "%s\n" "$as_me: WARNING: pytest not found, some system tests will be skipped" >&2;}
   19217 fi
   19218 
   19219  if test -n "$PYTEST"; then
   19220   HAVE_PYTEST_TRUE=
   19221   HAVE_PYTEST_FALSE='#'
   19222 else
   19223   HAVE_PYTEST_TRUE='#'
   19224   HAVE_PYTEST_FALSE=
   19225 fi
   19226 
   19227 
   19228 #
   19229 # Optional utilities, only used by system tests.
   19230 #
   19231 # Extract the first word of "jq", so it can be a program name with args.
   19232 set dummy jq; ac_word=$2
   19233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19234 printf %s "checking for $ac_word... " >&6; }
   19235 if test ${ac_cv_path_JQ+y}
   19236 then :
   19237   printf %s "(cached) " >&6
   19238 else case e in #(
   19239   e) case $JQ in
   19240   [\\/]* | ?:[\\/]*)
   19241   ac_cv_path_JQ="$JQ" # Let the user override the test with a path.
   19242   ;;
   19243   *)
   19244   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19245 for as_dir in $PATH
   19246 do
   19247   IFS=$as_save_IFS
   19248   case $as_dir in #(((
   19249     '') as_dir=./ ;;
   19250     */) ;;
   19251     *) as_dir=$as_dir/ ;;
   19252   esac
   19253     for ac_exec_ext in '' $ac_executable_extensions; do
   19254   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19255     ac_cv_path_JQ="$as_dir$ac_word$ac_exec_ext"
   19256     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19257     break 2
   19258   fi
   19259 done
   19260   done
   19261 IFS=$as_save_IFS
   19262 
   19263   ;;
   19264 esac ;;
   19265 esac
   19266 fi
   19267 JQ=$ac_cv_path_JQ
   19268 if test -n "$JQ"; then
   19269   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $JQ" >&5
   19270 printf "%s\n" "$JQ" >&6; }
   19271 else
   19272   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19273 printf "%s\n" "no" >&6; }
   19274 fi
   19275 
   19276 
   19277 # Extract the first word of "xmllint", so it can be a program name with args.
   19278 set dummy xmllint; ac_word=$2
   19279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19280 printf %s "checking for $ac_word... " >&6; }
   19281 if test ${ac_cv_path_XMLLINT+y}
   19282 then :
   19283   printf %s "(cached) " >&6
   19284 else case e in #(
   19285   e) case $XMLLINT in
   19286   [\\/]* | ?:[\\/]*)
   19287   ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
   19288   ;;
   19289   *)
   19290   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19291 for as_dir in $PATH
   19292 do
   19293   IFS=$as_save_IFS
   19294   case $as_dir in #(((
   19295     '') as_dir=./ ;;
   19296     */) ;;
   19297     *) as_dir=$as_dir/ ;;
   19298   esac
   19299     for ac_exec_ext in '' $ac_executable_extensions; do
   19300   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19301     ac_cv_path_XMLLINT="$as_dir$ac_word$ac_exec_ext"
   19302     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19303     break 2
   19304   fi
   19305 done
   19306   done
   19307 IFS=$as_save_IFS
   19308 
   19309   ;;
   19310 esac ;;
   19311 esac
   19312 fi
   19313 XMLLINT=$ac_cv_path_XMLLINT
   19314 if test -n "$XMLLINT"; then
   19315   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
   19316 printf "%s\n" "$XMLLINT" >&6; }
   19317 else
   19318   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19319 printf "%s\n" "no" >&6; }
   19320 fi
   19321 
   19322 
   19323 # Extract the first word of "xsltproc", so it can be a program name with args.
   19324 set dummy xsltproc; ac_word=$2
   19325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19326 printf %s "checking for $ac_word... " >&6; }
   19327 if test ${ac_cv_path_XSLTPROC+y}
   19328 then :
   19329   printf %s "(cached) " >&6
   19330 else case e in #(
   19331   e) case $XSLTPROC in
   19332   [\\/]* | ?:[\\/]*)
   19333   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   19334   ;;
   19335   *)
   19336   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19337 for as_dir in $PATH
   19338 do
   19339   IFS=$as_save_IFS
   19340   case $as_dir in #(((
   19341     '') as_dir=./ ;;
   19342     */) ;;
   19343     *) as_dir=$as_dir/ ;;
   19344   esac
   19345     for ac_exec_ext in '' $ac_executable_extensions; do
   19346   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19347     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   19348     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19349     break 2
   19350   fi
   19351 done
   19352   done
   19353 IFS=$as_save_IFS
   19354 
   19355   ;;
   19356 esac ;;
   19357 esac
   19358 fi
   19359 XSLTPROC=$ac_cv_path_XSLTPROC
   19360 if test -n "$XSLTPROC"; then
   19361   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   19362 printf "%s\n" "$XSLTPROC" >&6; }
   19363 else
   19364   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19365 printf "%s\n" "no" >&6; }
   19366 fi
   19367 
   19368 
   19369 
   19370 #
   19371 # Using Solaris linker with gcc on Solaris breaks Thread Local Storage
   19372 #
   19373 case $host in #(
   19374   *-solaris*) :
   19375 
   19376 	    if test "$GCC" = "yes"
   19377 then :
   19378   LDFLAGS="$LDFLAGS -zrelax=transtls"
   19379 		   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: When using GNU C Compiler on Solaris, -zrelax=transtls linker flag is used to fix bug in Thread Local Storage" >&5
   19380 printf "%s\n" "$as_me: WARNING: When using GNU C Compiler on Solaris, -zrelax=transtls linker flag is used to fix bug in Thread Local Storage" >&2;}
   19381 
   19382 fi
   19383 	 ;; #(
   19384   *) :
   19385      ;;
   19386 esac
   19387 
   19388 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
   19389 if test "x$ac_cv_header_sys_param_h" = xyes
   19390 then :
   19391   printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
   19392 
   19393 fi
   19394 ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
   19395 if test "x$ac_cv_header_sys_socket_h" = xyes
   19396 then :
   19397   printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h
   19398 
   19399 fi
   19400 
   19401 ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default
   19402 		  #ifdef HAVE_SYS_PARAM_H
   19403 		  # include <sys/param.h>
   19404 		  #endif
   19405 		  #ifdef HAVE_SYS_SOCKET_H
   19406 		  # include <sys/socket.h>
   19407 		  #endif
   19408 
   19409 "
   19410 if test "x$ac_cv_header_fcntl_h" = xyes
   19411 then :
   19412   printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h
   19413 
   19414 fi
   19415 ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default
   19416 		  #ifdef HAVE_SYS_PARAM_H
   19417 		  # include <sys/param.h>
   19418 		  #endif
   19419 		  #ifdef HAVE_SYS_SOCKET_H
   19420 		  # include <sys/socket.h>
   19421 		  #endif
   19422 
   19423 "
   19424 if test "x$ac_cv_header_regex_h" = xyes
   19425 then :
   19426   printf "%s\n" "#define HAVE_REGEX_H 1" >>confdefs.h
   19427 
   19428 fi
   19429 ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default
   19430 		  #ifdef HAVE_SYS_PARAM_H
   19431 		  # include <sys/param.h>
   19432 		  #endif
   19433 		  #ifdef HAVE_SYS_SOCKET_H
   19434 		  # include <sys/socket.h>
   19435 		  #endif
   19436 
   19437 "
   19438 if test "x$ac_cv_header_sys_time_h" = xyes
   19439 then :
   19440   printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
   19441 
   19442 fi
   19443 ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default
   19444 		  #ifdef HAVE_SYS_PARAM_H
   19445 		  # include <sys/param.h>
   19446 		  #endif
   19447 		  #ifdef HAVE_SYS_SOCKET_H
   19448 		  # include <sys/socket.h>
   19449 		  #endif
   19450 
   19451 "
   19452 if test "x$ac_cv_header_unistd_h" = xyes
   19453 then :
   19454   printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
   19455 
   19456 fi
   19457 ac_fn_c_check_header_compile "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default
   19458 		  #ifdef HAVE_SYS_PARAM_H
   19459 		  # include <sys/param.h>
   19460 		  #endif
   19461 		  #ifdef HAVE_SYS_SOCKET_H
   19462 		  # include <sys/socket.h>
   19463 		  #endif
   19464 
   19465 "
   19466 if test "x$ac_cv_header_sys_mman_h" = xyes
   19467 then :
   19468   printf "%s\n" "#define HAVE_SYS_MMAN_H 1" >>confdefs.h
   19469 
   19470 fi
   19471 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default
   19472 		  #ifdef HAVE_SYS_PARAM_H
   19473 		  # include <sys/param.h>
   19474 		  #endif
   19475 		  #ifdef HAVE_SYS_SOCKET_H
   19476 		  # include <sys/socket.h>
   19477 		  #endif
   19478 
   19479 "
   19480 if test "x$ac_cv_header_sys_sockio_h" = xyes
   19481 then :
   19482   printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
   19483 
   19484 fi
   19485 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
   19486 		  #ifdef HAVE_SYS_PARAM_H
   19487 		  # include <sys/param.h>
   19488 		  #endif
   19489 		  #ifdef HAVE_SYS_SOCKET_H
   19490 		  # include <sys/socket.h>
   19491 		  #endif
   19492 
   19493 "
   19494 if test "x$ac_cv_header_sys_select_h" = xyes
   19495 then :
   19496   printf "%s\n" "#define HAVE_SYS_SELECT_H 1" >>confdefs.h
   19497 
   19498 fi
   19499 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "$ac_includes_default
   19500 		  #ifdef HAVE_SYS_PARAM_H
   19501 		  # include <sys/param.h>
   19502 		  #endif
   19503 		  #ifdef HAVE_SYS_SOCKET_H
   19504 		  # include <sys/socket.h>
   19505 		  #endif
   19506 
   19507 "
   19508 if test "x$ac_cv_header_sys_sysctl_h" = xyes
   19509 then :
   19510   printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
   19511 
   19512 fi
   19513 ac_fn_c_check_header_compile "$LINENO" "net/if6.h" "ac_cv_header_net_if6_h" "$ac_includes_default
   19514 		  #ifdef HAVE_SYS_PARAM_H
   19515 		  # include <sys/param.h>
   19516 		  #endif
   19517 		  #ifdef HAVE_SYS_SOCKET_H
   19518 		  # include <sys/socket.h>
   19519 		  #endif
   19520 
   19521 "
   19522 if test "x$ac_cv_header_net_if6_h" = xyes
   19523 then :
   19524   printf "%s\n" "#define HAVE_NET_IF6_H 1" >>confdefs.h
   19525 
   19526 fi
   19527 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "$ac_includes_default
   19528 		  #ifdef HAVE_SYS_PARAM_H
   19529 		  # include <sys/param.h>
   19530 		  #endif
   19531 		  #ifdef HAVE_SYS_SOCKET_H
   19532 		  # include <sys/socket.h>
   19533 		  #endif
   19534 
   19535 "
   19536 if test "x$ac_cv_header_net_route_h" = xyes
   19537 then :
   19538   printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
   19539 
   19540 fi
   19541 ac_fn_c_check_header_compile "$LINENO" "linux/netlink.h" "ac_cv_header_linux_netlink_h" "$ac_includes_default
   19542 		  #ifdef HAVE_SYS_PARAM_H
   19543 		  # include <sys/param.h>
   19544 		  #endif
   19545 		  #ifdef HAVE_SYS_SOCKET_H
   19546 		  # include <sys/socket.h>
   19547 		  #endif
   19548 
   19549 "
   19550 if test "x$ac_cv_header_linux_netlink_h" = xyes
   19551 then :
   19552   printf "%s\n" "#define HAVE_LINUX_NETLINK_H 1" >>confdefs.h
   19553 
   19554 fi
   19555 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "$ac_includes_default
   19556 		  #ifdef HAVE_SYS_PARAM_H
   19557 		  # include <sys/param.h>
   19558 		  #endif
   19559 		  #ifdef HAVE_SYS_SOCKET_H
   19560 		  # include <sys/socket.h>
   19561 		  #endif
   19562 
   19563 "
   19564 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
   19565 then :
   19566   printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
   19567 
   19568 fi
   19569 
   19570 
   19571 #
   19572 # Check for C11 thread local storage
   19573 #
   19574 # NOTE: OpenBSD doesn't ship <threads.h>, so we can't require it (yet).
   19575 #
   19576 ac_fn_c_check_header_compile "$LINENO" "threads.h" "ac_cv_header_threads_h" "$ac_includes_default"
   19577 if test "x$ac_cv_header_threads_h" = xyes
   19578 then :
   19579   printf "%s\n" "#define HAVE_THREADS_H 1" >>confdefs.h
   19580 
   19581 fi
   19582 
   19583 
   19584 #
   19585 # C11 Atomic Operations
   19586 #
   19587 
   19588        for ac_header in stdatomic.h
   19589 do :
   19590   ac_fn_c_check_header_compile "$LINENO" "stdatomic.h" "ac_cv_header_stdatomic_h" "$ac_includes_default"
   19591 if test "x$ac_cv_header_stdatomic_h" = xyes
   19592 then :
   19593   printf "%s\n" "#define HAVE_STDATOMIC_H 1" >>confdefs.h
   19594 
   19595 else case e in #(
   19596   e) as_fn_error $? "C11 Atomic Operations required, update your toolchain to build BIND 9" "$LINENO" 5 ;;
   19597 esac
   19598 fi
   19599 
   19600 done
   19601 
   19602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19603 /* end confdefs.h.  */
   19604 #include <stdatomic.h>
   19605 int
   19606 main (void)
   19607 {
   19608 atomic_int_fast32_t val = 0; atomic_fetch_add_explicit(&val, 1, memory_order_relaxed);
   19609 
   19610   ;
   19611   return 0;
   19612 }
   19613 _ACEOF
   19614 if ac_fn_c_try_compile "$LINENO"
   19615 then :
   19616   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -latomic is needed for 64-bit stdatomic.h functions" >&5
   19617 printf %s "checking whether -latomic is needed for 64-bit stdatomic.h functions... " >&6; }
   19618    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19619 /* end confdefs.h.  */
   19620 #include <stdatomic.h>
   19621 int
   19622 main (void)
   19623 {
   19624 atomic_int_fast64_t val = 0; atomic_fetch_add_explicit(&val, 1, memory_order_relaxed);
   19625 
   19626   ;
   19627   return 0;
   19628 }
   19629 _ACEOF
   19630 if ac_fn_c_try_link "$LINENO"
   19631 then :
   19632   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19633 printf "%s\n" "no" >&6; }
   19634 else case e in #(
   19635   e) LIBS="$LIBS -latomic"
   19636       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19637 /* end confdefs.h.  */
   19638 #include <stdatomic.h>
   19639 int
   19640 main (void)
   19641 {
   19642 atomic_int_fast64_t val = 0; atomic_fetch_add_explicit(&val, 1, memory_order_relaxed);
   19643 
   19644   ;
   19645   return 0;
   19646 }
   19647 _ACEOF
   19648 if ac_fn_c_try_link "$LINENO"
   19649 then :
   19650   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19651 printf "%s\n" "yes" >&6; }
   19652 else case e in #(
   19653   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   19654 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   19655 as_fn_error $? "libatomic needed, but linking with -latomic failed, please fix your toolchain.
   19656 See 'config.log' for more details" "$LINENO" 5; } ;;
   19657 esac
   19658 fi
   19659 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19660     conftest$ac_exeext conftest.$ac_ext
   19661       ;;
   19662 esac
   19663 fi
   19664 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19665     conftest$ac_exeext conftest.$ac_ext
   19666 
   19667 else case e in #(
   19668   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   19669 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   19670 as_fn_error $? "stdatomic.h header found, but compilation failed, please fix your toolchain.
   19671 See 'config.log' for more details" "$LINENO" 5; } ;;
   19672 esac
   19673 fi
   19674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19675 
   19676        for ac_header in stdnoreturn.h
   19677 do :
   19678   ac_fn_c_check_header_compile "$LINENO" "stdnoreturn.h" "ac_cv_header_stdnoreturn_h" "$ac_includes_default"
   19679 if test "x$ac_cv_header_stdnoreturn_h" = xyes
   19680 then :
   19681   printf "%s\n" "#define HAVE_STDNORETURN_H 1" >>confdefs.h
   19682 
   19683 else case e in #(
   19684   e) as_fn_error $? "C11 standard headers not found, update your toolchain." "$LINENO" 5 ;;
   19685 esac
   19686 fi
   19687 
   19688 done
   19689 
   19690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   19691 printf %s "checking for an ANSI C-conforming const... " >&6; }
   19692 if test ${ac_cv_c_const+y}
   19693 then :
   19694   printf %s "(cached) " >&6
   19695 else case e in #(
   19696   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19697 /* end confdefs.h.  */
   19698 
   19699 int
   19700 main (void)
   19701 {
   19702 
   19703 #ifndef __cplusplus
   19704   /* Ultrix mips cc rejects this sort of thing.  */
   19705   typedef int charset[2];
   19706   const charset cs = { 0, 0 };
   19707   /* SunOS 4.1.1 cc rejects this.  */
   19708   char const *const *pcpcc;
   19709   char **ppc;
   19710   /* NEC SVR4.0.2 mips cc rejects this.  */
   19711   struct point {int x, y;};
   19712   static struct point const zero = {0,0};
   19713   /* IBM XL C 1.02.0.0 rejects this.
   19714      It does not let you subtract one const X* pointer from another in
   19715      an arm of an if-expression whose if-part is not a constant
   19716      expression */
   19717   const char *g = "string";
   19718   pcpcc = &g + (g ? g-g : 0);
   19719   /* HPUX 7.0 cc rejects these. */
   19720   ++pcpcc;
   19721   ppc = (char**) pcpcc;
   19722   pcpcc = (char const *const *) ppc;
   19723   { /* SCO 3.2v4 cc rejects this sort of thing.  */
   19724     char tx;
   19725     char *t = &tx;
   19726     char const *s = 0 ? (char *) 0 : (char const *) 0;
   19727 
   19728     *t++ = 0;
   19729     if (s) return 0;
   19730   }
   19731   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   19732     int x[] = {25, 17};
   19733     const int *foo = &x[0];
   19734     ++foo;
   19735   }
   19736   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   19737     typedef const int *iptr;
   19738     iptr p = 0;
   19739     ++p;
   19740   }
   19741   { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
   19742        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   19743     struct s { int j; const int *ap[3]; } bx;
   19744     struct s *b = &bx; b->j = 5;
   19745   }
   19746   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   19747     const int foo = 10;
   19748     if (!foo) return 0;
   19749   }
   19750   return !cs[0] && !zero.x;
   19751 #endif
   19752 
   19753   ;
   19754   return 0;
   19755 }
   19756 _ACEOF
   19757 if ac_fn_c_try_compile "$LINENO"
   19758 then :
   19759   ac_cv_c_const=yes
   19760 else case e in #(
   19761   e) ac_cv_c_const=no ;;
   19762 esac
   19763 fi
   19764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19765 esac
   19766 fi
   19767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   19768 printf "%s\n" "$ac_cv_c_const" >&6; }
   19769 if test $ac_cv_c_const = no; then
   19770 
   19771 printf "%s\n" "#define const /**/" >>confdefs.h
   19772 
   19773 fi
   19774 
   19775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
   19776 printf %s "checking for inline... " >&6; }
   19777 if test ${ac_cv_c_inline+y}
   19778 then :
   19779   printf %s "(cached) " >&6
   19780 else case e in #(
   19781   e) ac_cv_c_inline=no
   19782 for ac_kw in inline __inline__ __inline; do
   19783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19784 /* end confdefs.h.  */
   19785 #ifndef __cplusplus
   19786 typedef int foo_t;
   19787 static $ac_kw foo_t static_foo (void) {return 0; }
   19788 $ac_kw foo_t foo (void) {return 0; }
   19789 #endif
   19790 
   19791 _ACEOF
   19792 if ac_fn_c_try_compile "$LINENO"
   19793 then :
   19794   ac_cv_c_inline=$ac_kw
   19795 fi
   19796 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19797   test "$ac_cv_c_inline" != no && break
   19798 done
   19799  ;;
   19800 esac
   19801 fi
   19802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
   19803 printf "%s\n" "$ac_cv_c_inline" >&6; }
   19804 
   19805 case $ac_cv_c_inline in
   19806   inline | yes) ;;
   19807   *)
   19808     case $ac_cv_c_inline in
   19809       no) ac_val=;;
   19810       *) ac_val=$ac_cv_c_inline;;
   19811     esac
   19812     cat >>confdefs.h <<_ACEOF
   19813 #ifndef __cplusplus
   19814 #define inline $ac_val
   19815 #endif
   19816 _ACEOF
   19817     ;;
   19818 esac
   19819 
   19820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
   19821 printf %s "checking for working volatile... " >&6; }
   19822 if test ${ac_cv_c_volatile+y}
   19823 then :
   19824   printf %s "(cached) " >&6
   19825 else case e in #(
   19826   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19827 /* end confdefs.h.  */
   19828 
   19829 int
   19830 main (void)
   19831 {
   19832 
   19833 volatile int x;
   19834 int * volatile y = (int *) 0;
   19835 return !x && !y;
   19836   ;
   19837   return 0;
   19838 }
   19839 _ACEOF
   19840 if ac_fn_c_try_compile "$LINENO"
   19841 then :
   19842   ac_cv_c_volatile=yes
   19843 else case e in #(
   19844   e) ac_cv_c_volatile=no ;;
   19845 esac
   19846 fi
   19847 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19848 esac
   19849 fi
   19850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
   19851 printf "%s\n" "$ac_cv_c_volatile" >&6; }
   19852 if test $ac_cv_c_volatile = no; then
   19853 
   19854 printf "%s\n" "#define volatile /**/" >>confdefs.h
   19855 
   19856 fi
   19857 
   19858 
   19859 #
   19860 # Check for yield support on ARM processors
   19861 #
   19862 case $host in #(
   19863   arm*|aarch64*) :
   19864     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ARM yield instruction support" >&5
   19865 printf %s "checking for ARM yield instruction support... " >&6; }
   19866 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19867 /* end confdefs.h.  */
   19868 
   19869 int
   19870 main (void)
   19871 {
   19872 __asm__ __volatile__ ("yield")
   19873   ;
   19874   return 0;
   19875 }
   19876 _ACEOF
   19877 if ac_fn_c_try_compile "$LINENO"
   19878 then :
   19879   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19880 printf "%s\n" "yes" >&6; }
   19881 
   19882 printf "%s\n" "#define HAVE_ARM_YIELD 1" >>confdefs.h
   19883 
   19884 else case e in #(
   19885   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19886 printf "%s\n" "no" >&6; } ;;
   19887 esac
   19888 fi
   19889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; #(
   19890   *) :
   19891      ;;
   19892 esac
   19893 
   19894 #
   19895 # Check for pause support on SPARC processors
   19896 #
   19897 case $host in #(
   19898   sparc*) :
   19899     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pause instruction support" >&5
   19900 printf %s "checking for pause instruction support... " >&6; }
   19901 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19902 /* end confdefs.h.  */
   19903 
   19904 int
   19905 main (void)
   19906 {
   19907 __asm__ __volatile__ ("pause")
   19908   ;
   19909   return 0;
   19910 }
   19911 _ACEOF
   19912 if ac_fn_c_try_compile "$LINENO"
   19913 then :
   19914   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19915 printf "%s\n" "yes" >&6; }
   19916 
   19917 printf "%s\n" "#define HAVE_SPARC_PAUSE 1" >>confdefs.h
   19918 
   19919 else case e in #(
   19920   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19921 printf "%s\n" "no" >&6; } ;;
   19922 esac
   19923 fi
   19924 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; #(
   19925   *) :
   19926      ;;
   19927 esac
   19928 
   19929 ac_fn_c_check_func "$LINENO" "sysctlbyname" "ac_cv_func_sysctlbyname"
   19930 if test "x$ac_cv_func_sysctlbyname" = xyes
   19931 then :
   19932   printf "%s\n" "#define HAVE_SYSCTLBYNAME 1" >>confdefs.h
   19933 
   19934 fi
   19935 
   19936 
   19937 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
   19938 if test "x$ac_cv_type_size_t" = xyes
   19939 then :
   19940 
   19941 else case e in #(
   19942   e)
   19943 printf "%s\n" "#define size_t unsigned int" >>confdefs.h
   19944  ;;
   19945 esac
   19946 fi
   19947 
   19948 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
   19949 if test "x$ac_cv_type_ssize_t" = xyes
   19950 then :
   19951 
   19952 else case e in #(
   19953   e)
   19954 printf "%s\n" "#define ssize_t int" >>confdefs.h
   19955  ;;
   19956 esac
   19957 fi
   19958 
   19959 
   19960   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
   19961 if test "x$ac_cv_type_uintptr_t" = xyes
   19962 then :
   19963 
   19964 printf "%s\n" "#define HAVE_UINTPTR_T 1" >>confdefs.h
   19965 
   19966 else case e in #(
   19967   e) for ac_type in 'unsigned int' 'unsigned long int' \
   19968 	'unsigned long long int'; do
   19969        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19970 /* end confdefs.h.  */
   19971 $ac_includes_default
   19972 int
   19973 main (void)
   19974 {
   19975 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
   19976 test_array [0] = 0;
   19977 return test_array [0];
   19978 
   19979   ;
   19980   return 0;
   19981 }
   19982 _ACEOF
   19983 if ac_fn_c_try_compile "$LINENO"
   19984 then :
   19985 
   19986 printf "%s\n" "#define uintptr_t $ac_type" >>confdefs.h
   19987 
   19988 	  ac_type=
   19989 fi
   19990 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19991        test -z "$ac_type" && break
   19992      done ;;
   19993 esac
   19994 fi
   19995 
   19996 
   19997 
   19998 #
   19999 # check for uname library routine
   20000 #
   20001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uname" >&5
   20002 printf %s "checking for uname... " >&6; }
   20003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20004 /* end confdefs.h.  */
   20005 #include <sys/utsname.h>
   20006        #include <stdio.h>
   20007 
   20008 int
   20009 main (void)
   20010 {
   20011 
   20012        struct utsname uts;
   20013        uname(&uts);
   20014        printf("running on %s %s %s for %s\n",
   20015 	      uts.sysname, uts.release, uts.version, uts.machine);
   20016 
   20017   ;
   20018   return 0;
   20019 }
   20020 _ACEOF
   20021 if ac_fn_c_try_compile "$LINENO"
   20022 then :
   20023   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20024 printf "%s\n" "yes" >&6; }
   20025 
   20026 printf "%s\n" "#define HAVE_UNAME 1" >>confdefs.h
   20027 
   20028 
   20029 else case e in #(
   20030   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20031 printf "%s\n" "no" >&6; }
   20032    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: uname is not correctly supported" >&5
   20033 printf "%s\n" "$as_me: WARNING: uname is not correctly supported" >&2;}
   20034    ;;
   20035 esac
   20036 fi
   20037 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20038 
   20039 #
   20040 # check for GCC noreturn attribute
   20041 #
   20042 
   20043 
   20044 
   20045     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((noreturn))" >&5
   20046 printf %s "checking for __attribute__((noreturn))... " >&6; }
   20047 if test ${ax_cv_have_func_attribute_noreturn+y}
   20048 then :
   20049   printf %s "(cached) " >&6
   20050 else case e in #(
   20051   e)
   20052         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20053 /* end confdefs.h.  */
   20054 
   20055 
   20056                     void foo( void ) __attribute__((noreturn));
   20057 
   20058 int
   20059 main (void)
   20060 {
   20061 
   20062   ;
   20063   return 0;
   20064 }
   20065 
   20066 _ACEOF
   20067 if ac_fn_c_try_link "$LINENO"
   20068 then :
   20069                                       if grep -- -Wattributes conftest.err
   20070 then :
   20071   ax_cv_have_func_attribute_noreturn=no
   20072 else case e in #(
   20073   e) ax_cv_have_func_attribute_noreturn=yes ;;
   20074 esac
   20075 fi
   20076 else case e in #(
   20077   e) ax_cv_have_func_attribute_noreturn=no ;;
   20078 esac
   20079 fi
   20080 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20081     conftest$ac_exeext conftest.$ac_ext
   20082      ;;
   20083 esac
   20084 fi
   20085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_func_attribute_noreturn" >&5
   20086 printf "%s\n" "$ax_cv_have_func_attribute_noreturn" >&6; }
   20087 
   20088     if test yes = $ax_cv_have_func_attribute_noreturn
   20089 then :
   20090 
   20091 printf "%s\n" "#define HAVE_FUNC_ATTRIBUTE_NORETURN 1" >>confdefs.h
   20092 
   20093 fi
   20094 
   20095 
   20096 
   20097 
   20098 #
   20099 # check for GCC malloc attribute
   20100 #
   20101 
   20102 
   20103 
   20104     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((malloc))" >&5
   20105 printf %s "checking for __attribute__((malloc))... " >&6; }
   20106 if test ${ax_cv_have_func_attribute_malloc+y}
   20107 then :
   20108   printf %s "(cached) " >&6
   20109 else case e in #(
   20110   e)
   20111         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20112 /* end confdefs.h.  */
   20113 
   20114 
   20115                     void *foo( void ) __attribute__((malloc));
   20116 
   20117 int
   20118 main (void)
   20119 {
   20120 
   20121   ;
   20122   return 0;
   20123 }
   20124 
   20125 _ACEOF
   20126 if ac_fn_c_try_link "$LINENO"
   20127 then :
   20128                                       if grep -- -Wattributes conftest.err
   20129 then :
   20130   ax_cv_have_func_attribute_malloc=no
   20131 else case e in #(
   20132   e) ax_cv_have_func_attribute_malloc=yes ;;
   20133 esac
   20134 fi
   20135 else case e in #(
   20136   e) ax_cv_have_func_attribute_malloc=no ;;
   20137 esac
   20138 fi
   20139 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20140     conftest$ac_exeext conftest.$ac_ext
   20141      ;;
   20142 esac
   20143 fi
   20144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_func_attribute_malloc" >&5
   20145 printf "%s\n" "$ax_cv_have_func_attribute_malloc" >&6; }
   20146 
   20147     if test yes = $ax_cv_have_func_attribute_malloc
   20148 then :
   20149 
   20150 printf "%s\n" "#define HAVE_FUNC_ATTRIBUTE_MALLOC 1" >>confdefs.h
   20151 
   20152 fi
   20153 
   20154 
   20155 
   20156 
   20157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for extended malloc attributes" >&5
   20158 printf %s "checking for extended malloc attributes... " >&6; }
   20159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20160 /* end confdefs.h.  */
   20161 
   20162        #include <stddef.h>
   20163        #include <stdlib.h>
   20164 	   __attribute__ ((malloc, malloc (free, 1))
   20165 	   void * xmalloc(size_t sz) { return malloc(sz); }
   20166 
   20167 int
   20168 main (void)
   20169 {
   20170 
   20171        void *p = xmalloc(8);
   20172 	   free(p);
   20173 
   20174   ;
   20175   return 0;
   20176 }
   20177 _ACEOF
   20178 if ac_fn_c_try_compile "$LINENO"
   20179 then :
   20180   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20181 printf "%s\n" "yes" >&6; }
   20182 
   20183 printf "%s\n" "#define HAVE_MALLOC_EXT_ATTR 1" >>confdefs.h
   20184 
   20185 
   20186 else case e in #(
   20187   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20188 printf "%s\n" "no" >&6; } ;;
   20189 esac
   20190 fi
   20191 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20192 
   20193 #
   20194 # check for GCC returns_nonnull attribute
   20195 #
   20196 
   20197 
   20198 
   20199     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((returns_nonnull))" >&5
   20200 printf %s "checking for __attribute__((returns_nonnull))... " >&6; }
   20201 if test ${ax_cv_have_func_attribute_returns_nonnull+y}
   20202 then :
   20203   printf %s "(cached) " >&6
   20204 else case e in #(
   20205   e)
   20206         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20207 /* end confdefs.h.  */
   20208 
   20209 
   20210                     void *foo( void ) __attribute__((returns_nonnull));
   20211 
   20212 int
   20213 main (void)
   20214 {
   20215 
   20216   ;
   20217   return 0;
   20218 }
   20219 
   20220 _ACEOF
   20221 if ac_fn_c_try_link "$LINENO"
   20222 then :
   20223                                       if grep -- -Wattributes conftest.err
   20224 then :
   20225   ax_cv_have_func_attribute_returns_nonnull=no
   20226 else case e in #(
   20227   e) ax_cv_have_func_attribute_returns_nonnull=yes ;;
   20228 esac
   20229 fi
   20230 else case e in #(
   20231   e) ax_cv_have_func_attribute_returns_nonnull=no ;;
   20232 esac
   20233 fi
   20234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20235     conftest$ac_exeext conftest.$ac_ext
   20236      ;;
   20237 esac
   20238 fi
   20239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_func_attribute_returns_nonnull" >&5
   20240 printf "%s\n" "$ax_cv_have_func_attribute_returns_nonnull" >&6; }
   20241 
   20242     if test yes = $ax_cv_have_func_attribute_returns_nonnull
   20243 then :
   20244 
   20245 printf "%s\n" "#define HAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL 1" >>confdefs.h
   20246 
   20247 fi
   20248 
   20249 
   20250 
   20251 
   20252 #
   20253 # check for GCC returns_nonnull attribute
   20254 #
   20255 
   20256 
   20257 
   20258     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((warn_unused_result))" >&5
   20259 printf %s "checking for __attribute__((warn_unused_result))... " >&6; }
   20260 if test ${ax_cv_have_func_attribute_warn_unused_result+y}
   20261 then :
   20262   printf %s "(cached) " >&6
   20263 else case e in #(
   20264   e)
   20265         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20266 /* end confdefs.h.  */
   20267 
   20268 
   20269                     int foo( void ) __attribute__((warn_unused_result));
   20270 
   20271 int
   20272 main (void)
   20273 {
   20274 
   20275   ;
   20276   return 0;
   20277 }
   20278 
   20279 _ACEOF
   20280 if ac_fn_c_try_link "$LINENO"
   20281 then :
   20282                                       if grep -- -Wattributes conftest.err
   20283 then :
   20284   ax_cv_have_func_attribute_warn_unused_result=no
   20285 else case e in #(
   20286   e) ax_cv_have_func_attribute_warn_unused_result=yes ;;
   20287 esac
   20288 fi
   20289 else case e in #(
   20290   e) ax_cv_have_func_attribute_warn_unused_result=no ;;
   20291 esac
   20292 fi
   20293 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20294     conftest$ac_exeext conftest.$ac_ext
   20295      ;;
   20296 esac
   20297 fi
   20298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_func_attribute_warn_unused_result" >&5
   20299 printf "%s\n" "$ax_cv_have_func_attribute_warn_unused_result" >&6; }
   20300 
   20301     if test yes = $ax_cv_have_func_attribute_warn_unused_result
   20302 then :
   20303 
   20304 printf "%s\n" "#define HAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT 1" >>confdefs.h
   20305 
   20306 fi
   20307 
   20308 
   20309 
   20310 
   20311 #
   20312 # how to link math functions?
   20313 #
   20314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing sqrt" >&5
   20315 printf %s "checking for library containing sqrt... " >&6; }
   20316 if test ${ac_cv_search_sqrt+y}
   20317 then :
   20318   printf %s "(cached) " >&6
   20319 else case e in #(
   20320   e) ac_func_search_save_LIBS=$LIBS
   20321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20322 /* end confdefs.h.  */
   20323 
   20324 /* Override any GCC internal prototype to avoid an error.
   20325    Use char because int might match the return type of a GCC
   20326    builtin and then its argument prototype would still apply.
   20327    The 'extern "C"' is for builds by C++ compilers;
   20328    although this is not generally supported in C code supporting it here
   20329    has little cost and some practical benefit (sr 110532).  */
   20330 #ifdef __cplusplus
   20331 extern "C"
   20332 #endif
   20333 char sqrt (void);
   20334 int
   20335 main (void)
   20336 {
   20337 return sqrt ();
   20338   ;
   20339   return 0;
   20340 }
   20341 _ACEOF
   20342 for ac_lib in '' m
   20343 do
   20344   if test -z "$ac_lib"; then
   20345     ac_res="none required"
   20346   else
   20347     ac_res=-l$ac_lib
   20348     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   20349   fi
   20350   if ac_fn_c_try_link "$LINENO"
   20351 then :
   20352   ac_cv_search_sqrt=$ac_res
   20353 fi
   20354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20355     conftest$ac_exeext
   20356   if test ${ac_cv_search_sqrt+y}
   20357 then :
   20358   break
   20359 fi
   20360 done
   20361 if test ${ac_cv_search_sqrt+y}
   20362 then :
   20363 
   20364 else case e in #(
   20365   e) ac_cv_search_sqrt=no ;;
   20366 esac
   20367 fi
   20368 rm conftest.$ac_ext
   20369 LIBS=$ac_func_search_save_LIBS ;;
   20370 esac
   20371 fi
   20372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqrt" >&5
   20373 printf "%s\n" "$ac_cv_search_sqrt" >&6; }
   20374 ac_res=$ac_cv_search_sqrt
   20375 if test "$ac_res" != no
   20376 then :
   20377   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   20378 
   20379 fi
   20380 
   20381 
   20382 #
   20383 # GeoIP support?
   20384 #
   20385 # Should be on by default if libmaxminddb exists.
   20386 #
   20387 # [pairwise: --enable-geoip --with-maxminddb=auto, --enable-geoip --with-maxminddb=yes, --disable-geoip]
   20388 # Check whether --enable-geoip was given.
   20389 if test ${enable_geoip+y}
   20390 then :
   20391   enableval=$enable_geoip;
   20392 else case e in #(
   20393   e) enable_geoip="yes" ;;
   20394 esac
   20395 fi
   20396 
   20397 
   20398 # [pairwise: skip]
   20399 
   20400 # Check whether --with-maxminddb was given.
   20401 if test ${with_maxminddb+y}
   20402 then :
   20403   withval=$with_maxminddb;
   20404 else case e in #(
   20405   e) with_maxminddb="auto" ;;
   20406 esac
   20407 fi
   20408 
   20409 
   20410 if test "$enable_geoip" = "yes"
   20411 then :
   20412   case $with_maxminddb in #(
   20413   no) :
   20414     as_fn_error $? "Use '--disable-geoip' to disable the GeoIP" "$LINENO" 5 ;; #(
   20415   auto) :
   20416 
   20417 pkg_failed=no
   20418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libmaxminddb" >&5
   20419 printf %s "checking for libmaxminddb... " >&6; }
   20420 
   20421 if test -n "$MAXMINDDB_CFLAGS"; then
   20422     pkg_cv_MAXMINDDB_CFLAGS="$MAXMINDDB_CFLAGS"
   20423  elif test -n "$PKG_CONFIG"; then
   20424     if test -n "$PKG_CONFIG" && \
   20425     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmaxminddb\""; } >&5
   20426   ($PKG_CONFIG --exists --print-errors "libmaxminddb") 2>&5
   20427   ac_status=$?
   20428   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20429   test $ac_status = 0; }; then
   20430   pkg_cv_MAXMINDDB_CFLAGS=`$PKG_CONFIG --cflags "libmaxminddb" 2>/dev/null`
   20431 		      test "x$?" != "x0" && pkg_failed=yes
   20432 else
   20433   pkg_failed=yes
   20434 fi
   20435  else
   20436     pkg_failed=untried
   20437 fi
   20438 if test -n "$MAXMINDDB_LIBS"; then
   20439     pkg_cv_MAXMINDDB_LIBS="$MAXMINDDB_LIBS"
   20440  elif test -n "$PKG_CONFIG"; then
   20441     if test -n "$PKG_CONFIG" && \
   20442     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmaxminddb\""; } >&5
   20443   ($PKG_CONFIG --exists --print-errors "libmaxminddb") 2>&5
   20444   ac_status=$?
   20445   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20446   test $ac_status = 0; }; then
   20447   pkg_cv_MAXMINDDB_LIBS=`$PKG_CONFIG --libs "libmaxminddb" 2>/dev/null`
   20448 		      test "x$?" != "x0" && pkg_failed=yes
   20449 else
   20450   pkg_failed=yes
   20451 fi
   20452  else
   20453     pkg_failed=untried
   20454 fi
   20455 
   20456 
   20457 
   20458 if test $pkg_failed = yes; then
   20459         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20460 printf "%s\n" "no" >&6; }
   20461 
   20462 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20463         _pkg_short_errors_supported=yes
   20464 else
   20465         _pkg_short_errors_supported=no
   20466 fi
   20467         if test $_pkg_short_errors_supported = yes; then
   20468                 MAXMINDDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmaxminddb" 2>&1`
   20469         else
   20470                 MAXMINDDB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmaxminddb" 2>&1`
   20471         fi
   20472         # Put the nasty error message in config.log where it belongs
   20473         echo "$MAXMINDDB_PKG_ERRORS" >&5
   20474 
   20475         :
   20476 elif test $pkg_failed = untried; then
   20477         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20478 printf "%s\n" "no" >&6; }
   20479         :
   20480 else
   20481         MAXMINDDB_CFLAGS=$pkg_cv_MAXMINDDB_CFLAGS
   20482         MAXMINDDB_LIBS=$pkg_cv_MAXMINDDB_LIBS
   20483         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20484 printf "%s\n" "yes" >&6; }
   20485 
   20486 printf "%s\n" "#define HAVE_GEOIP2 1" >>confdefs.h
   20487 
   20488 
   20489 if test -n "$MAXMINDDB_PREFIX"; then
   20490     pkg_cv_MAXMINDDB_PREFIX="$MAXMINDDB_PREFIX"
   20491  elif test -n "$PKG_CONFIG"; then
   20492     if test -n "$PKG_CONFIG" && \
   20493     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmaxminddb\""; } >&5
   20494   ($PKG_CONFIG --exists --print-errors "libmaxminddb") 2>&5
   20495   ac_status=$?
   20496   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20497   test $ac_status = 0; }; then
   20498   pkg_cv_MAXMINDDB_PREFIX=`$PKG_CONFIG --variable="prefix" "libmaxminddb" 2>/dev/null`
   20499 		      test "x$?" != "x0" && pkg_failed=yes
   20500 else
   20501   pkg_failed=yes
   20502 fi
   20503  else
   20504     pkg_failed=untried
   20505 fi
   20506 MAXMINDDB_PREFIX=$pkg_cv_MAXMINDDB_PREFIX
   20507 
   20508 if test "x$MAXMINDDB_PREFIX" = x""
   20509 then :
   20510   as_fn_error $? "libmaxminddb prefix not found in pkg-config; set MAXMINDDB_PREFIX in the environment" "$LINENO" 5
   20511 fi
   20512 
   20513 fi ;; #(
   20514   yes) :
   20515 
   20516 pkg_failed=no
   20517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libmaxminddb" >&5
   20518 printf %s "checking for libmaxminddb... " >&6; }
   20519 
   20520 if test -n "$MAXMINDDB_CFLAGS"; then
   20521     pkg_cv_MAXMINDDB_CFLAGS="$MAXMINDDB_CFLAGS"
   20522  elif test -n "$PKG_CONFIG"; then
   20523     if test -n "$PKG_CONFIG" && \
   20524     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmaxminddb\""; } >&5
   20525   ($PKG_CONFIG --exists --print-errors "libmaxminddb") 2>&5
   20526   ac_status=$?
   20527   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20528   test $ac_status = 0; }; then
   20529   pkg_cv_MAXMINDDB_CFLAGS=`$PKG_CONFIG --cflags "libmaxminddb" 2>/dev/null`
   20530 		      test "x$?" != "x0" && pkg_failed=yes
   20531 else
   20532   pkg_failed=yes
   20533 fi
   20534  else
   20535     pkg_failed=untried
   20536 fi
   20537 if test -n "$MAXMINDDB_LIBS"; then
   20538     pkg_cv_MAXMINDDB_LIBS="$MAXMINDDB_LIBS"
   20539  elif test -n "$PKG_CONFIG"; then
   20540     if test -n "$PKG_CONFIG" && \
   20541     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmaxminddb\""; } >&5
   20542   ($PKG_CONFIG --exists --print-errors "libmaxminddb") 2>&5
   20543   ac_status=$?
   20544   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20545   test $ac_status = 0; }; then
   20546   pkg_cv_MAXMINDDB_LIBS=`$PKG_CONFIG --libs "libmaxminddb" 2>/dev/null`
   20547 		      test "x$?" != "x0" && pkg_failed=yes
   20548 else
   20549   pkg_failed=yes
   20550 fi
   20551  else
   20552     pkg_failed=untried
   20553 fi
   20554 
   20555 
   20556 
   20557 if test $pkg_failed = yes; then
   20558         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20559 printf "%s\n" "no" >&6; }
   20560 
   20561 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20562         _pkg_short_errors_supported=yes
   20563 else
   20564         _pkg_short_errors_supported=no
   20565 fi
   20566         if test $_pkg_short_errors_supported = yes; then
   20567                 MAXMINDDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmaxminddb" 2>&1`
   20568         else
   20569                 MAXMINDDB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmaxminddb" 2>&1`
   20570         fi
   20571         # Put the nasty error message in config.log where it belongs
   20572         echo "$MAXMINDDB_PKG_ERRORS" >&5
   20573 
   20574         as_fn_error $? "Package requirements (libmaxminddb) were not met:
   20575 
   20576 $MAXMINDDB_PKG_ERRORS
   20577 
   20578 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20579 installed software in a non-standard prefix.
   20580 
   20581 Alternatively, you may set the environment variables MAXMINDDB_CFLAGS
   20582 and MAXMINDDB_LIBS to avoid the need to call pkg-config.
   20583 See the pkg-config man page for more details." "$LINENO" 5
   20584 elif test $pkg_failed = untried; then
   20585         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20586 printf "%s\n" "no" >&6; }
   20587         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   20588 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   20589 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20590 is in your PATH or set the PKG_CONFIG environment variable to the full
   20591 path to pkg-config.
   20592 
   20593 Alternatively, you may set the environment variables MAXMINDDB_CFLAGS
   20594 and MAXMINDDB_LIBS to avoid the need to call pkg-config.
   20595 See the pkg-config man page for more details.
   20596 
   20597 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20598 See 'config.log' for more details" "$LINENO" 5; }
   20599 else
   20600         MAXMINDDB_CFLAGS=$pkg_cv_MAXMINDDB_CFLAGS
   20601         MAXMINDDB_LIBS=$pkg_cv_MAXMINDDB_LIBS
   20602         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20603 printf "%s\n" "yes" >&6; }
   20604 
   20605 printf "%s\n" "#define HAVE_GEOIP2 1" >>confdefs.h
   20606 
   20607 
   20608 if test -n "$MAXMINDDB_PREFIX"; then
   20609     pkg_cv_MAXMINDDB_PREFIX="$MAXMINDDB_PREFIX"
   20610  elif test -n "$PKG_CONFIG"; then
   20611     if test -n "$PKG_CONFIG" && \
   20612     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmaxminddb\""; } >&5
   20613   ($PKG_CONFIG --exists --print-errors "libmaxminddb") 2>&5
   20614   ac_status=$?
   20615   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20616   test $ac_status = 0; }; then
   20617   pkg_cv_MAXMINDDB_PREFIX=`$PKG_CONFIG --variable="prefix" "libmaxminddb" 2>/dev/null`
   20618 		      test "x$?" != "x0" && pkg_failed=yes
   20619 else
   20620   pkg_failed=yes
   20621 fi
   20622  else
   20623     pkg_failed=untried
   20624 fi
   20625 MAXMINDDB_PREFIX=$pkg_cv_MAXMINDDB_PREFIX
   20626 
   20627 if test "x$MAXMINDDB_PREFIX" = x""
   20628 then :
   20629   as_fn_error $? "libmaxminddb prefix not found in pkg-config; set MAXMINDDB_PREFIX in the environment" "$LINENO" 5
   20630 fi
   20631 
   20632 fi ;; #(
   20633   *) :
   20634      # default
   20635 
   20636 
   20637   CCASFLAGS_maxminddb_ax_save_flags=$CCASFLAGS
   20638 
   20639 
   20640 
   20641   CFLAGS_maxminddb_ax_save_flags=$CFLAGS
   20642 
   20643 
   20644 
   20645   CPPFLAGS_maxminddb_ax_save_flags=$CPPFLAGS
   20646 
   20647 
   20648 
   20649   CXXFLAGS_maxminddb_ax_save_flags=$CXXFLAGS
   20650 
   20651 
   20652 
   20653   ERLCFLAGS_maxminddb_ax_save_flags=$ERLCFLAGS
   20654 
   20655 
   20656 
   20657   FCFLAGS_maxminddb_ax_save_flags=$FCFLAGS
   20658 
   20659 
   20660 
   20661   FCLIBS_maxminddb_ax_save_flags=$FCLIBS
   20662 
   20663 
   20664 
   20665   FFLAGS_maxminddb_ax_save_flags=$FFLAGS
   20666 
   20667 
   20668 
   20669   FLIBS_maxminddb_ax_save_flags=$FLIBS
   20670 
   20671 
   20672 
   20673   GCJFLAGS_maxminddb_ax_save_flags=$GCJFLAGS
   20674 
   20675 
   20676 
   20677   JAVACFLAGS_maxminddb_ax_save_flags=$JAVACFLAGS
   20678 
   20679 
   20680 
   20681   LDFLAGS_maxminddb_ax_save_flags=$LDFLAGS
   20682 
   20683 
   20684 
   20685   LIBS_maxminddb_ax_save_flags=$LIBS
   20686 
   20687 
   20688 
   20689   OBJCFLAGS_maxminddb_ax_save_flags=$OBJCFLAGS
   20690 
   20691 
   20692 
   20693   OBJCXXFLAGS_maxminddb_ax_save_flags=$OBJCXXFLAGS
   20694 
   20695 
   20696 
   20697   UPCFLAGS_maxminddb_ax_save_flags=$UPCFLAGS
   20698 
   20699 
   20700 
   20701   VALAFLAGS_maxminddb_ax_save_flags=$VALAFLAGS
   20702 
   20703 
   20704 
   20705 		   MAXMINDDB_CFLAGS="-I$with_maxminddb/include"
   20706 		   MAXMINDDB_LIBS="-L$with_maxminddb/lib"
   20707 		   CFLAGS="$CFLAGS $MAXMINDDB_CFLAGS"
   20708 		   LIBS="$LIBS $MAXMINDDB_LIBS"
   20709 		   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing MMDB_open" >&5
   20710 printf %s "checking for library containing MMDB_open... " >&6; }
   20711 if test ${ac_cv_search_MMDB_open+y}
   20712 then :
   20713   printf %s "(cached) " >&6
   20714 else case e in #(
   20715   e) ac_func_search_save_LIBS=$LIBS
   20716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20717 /* end confdefs.h.  */
   20718 
   20719 /* Override any GCC internal prototype to avoid an error.
   20720    Use char because int might match the return type of a GCC
   20721    builtin and then its argument prototype would still apply.
   20722    The 'extern "C"' is for builds by C++ compilers;
   20723    although this is not generally supported in C code supporting it here
   20724    has little cost and some practical benefit (sr 110532).  */
   20725 #ifdef __cplusplus
   20726 extern "C"
   20727 #endif
   20728 char MMDB_open (void);
   20729 int
   20730 main (void)
   20731 {
   20732 return MMDB_open ();
   20733   ;
   20734   return 0;
   20735 }
   20736 _ACEOF
   20737 for ac_lib in '' maxminddb
   20738 do
   20739   if test -z "$ac_lib"; then
   20740     ac_res="none required"
   20741   else
   20742     ac_res=-l$ac_lib
   20743     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   20744   fi
   20745   if ac_fn_c_try_link "$LINENO"
   20746 then :
   20747   ac_cv_search_MMDB_open=$ac_res
   20748 fi
   20749 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20750     conftest$ac_exeext
   20751   if test ${ac_cv_search_MMDB_open+y}
   20752 then :
   20753   break
   20754 fi
   20755 done
   20756 if test ${ac_cv_search_MMDB_open+y}
   20757 then :
   20758 
   20759 else case e in #(
   20760   e) ac_cv_search_MMDB_open=no ;;
   20761 esac
   20762 fi
   20763 rm conftest.$ac_ext
   20764 LIBS=$ac_func_search_save_LIBS ;;
   20765 esac
   20766 fi
   20767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_MMDB_open" >&5
   20768 printf "%s\n" "$ac_cv_search_MMDB_open" >&6; }
   20769 ac_res=$ac_cv_search_MMDB_open
   20770 if test "$ac_res" != no
   20771 then :
   20772   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   20773 
   20774 printf "%s\n" "#define HAVE_GEOIP2 1" >>confdefs.h
   20775 
   20776 				   MAXMINDDB_LIBS="$MAXMINDDB_LIBS $ac_cv_search_MMDB_open"
   20777 				   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: GeoIP2 default database path set to $with_maxminddb/share/GeoIP" >&5
   20778 printf "%s\n" "$as_me: GeoIP2 default database path set to $with_maxminddb/share/GeoIP" >&6;}
   20779 				   MAXMINDDB_PREFIX=$with_maxminddb
   20780 
   20781 else case e in #(
   20782   e) as_fn_error $? "GeoIP2 requested, but libmaxminddb not found" "$LINENO" 5 ;;
   20783 esac
   20784 fi
   20785 
   20786 
   20787   CCASFLAGS=$CCASFLAGS_maxminddb_ax_save_flags
   20788 
   20789 
   20790   CFLAGS=$CFLAGS_maxminddb_ax_save_flags
   20791 
   20792 
   20793   CPPFLAGS=$CPPFLAGS_maxminddb_ax_save_flags
   20794 
   20795 
   20796   CXXFLAGS=$CXXFLAGS_maxminddb_ax_save_flags
   20797 
   20798 
   20799   ERLCFLAGS=$ERLCFLAGS_maxminddb_ax_save_flags
   20800 
   20801 
   20802   FCFLAGS=$FCFLAGS_maxminddb_ax_save_flags
   20803 
   20804 
   20805   FCLIBS=$FCLIBS_maxminddb_ax_save_flags
   20806 
   20807 
   20808   FFLAGS=$FFLAGS_maxminddb_ax_save_flags
   20809 
   20810 
   20811   FLIBS=$FLIBS_maxminddb_ax_save_flags
   20812 
   20813 
   20814   GCJFLAGS=$GCJFLAGS_maxminddb_ax_save_flags
   20815 
   20816 
   20817   JAVACFLAGS=$JAVACFLAGS_maxminddb_ax_save_flags
   20818 
   20819 
   20820   LDFLAGS=$LDFLAGS_maxminddb_ax_save_flags
   20821 
   20822 
   20823   LIBS=$LIBS_maxminddb_ax_save_flags
   20824 
   20825 
   20826   OBJCFLAGS=$OBJCFLAGS_maxminddb_ax_save_flags
   20827 
   20828 
   20829   OBJCXXFLAGS=$OBJCXXFLAGS_maxminddb_ax_save_flags
   20830 
   20831 
   20832   UPCFLAGS=$UPCFLAGS_maxminddb_ax_save_flags
   20833 
   20834 
   20835   VALAFLAGS=$VALAFLAGS_maxminddb_ax_save_flags
   20836 
   20837 
   20838 
   20839 	        ;;
   20840 esac
   20841 
   20842 
   20843 fi
   20844 
   20845  if test -n "$MAXMINDDB_LIBS"; then
   20846   HAVE_GEOIP2_TRUE=
   20847   HAVE_GEOIP2_FALSE='#'
   20848 else
   20849   HAVE_GEOIP2_TRUE='#'
   20850   HAVE_GEOIP2_FALSE=
   20851 fi
   20852 
   20853 
   20854 
   20855 
   20856 
   20857 
   20858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5
   20859 printf %s "checking for egrep -e... " >&6; }
   20860 if test ${ac_cv_path_EGREP_TRADITIONAL+y}
   20861 then :
   20862   printf %s "(cached) " >&6
   20863 else case e in #(
   20864   e) if test -z "$EGREP_TRADITIONAL"; then
   20865   ac_path_EGREP_TRADITIONAL_found=false
   20866   # Loop through the user's path and test for each of PROGNAME-LIST
   20867   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20868 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   20869 do
   20870   IFS=$as_save_IFS
   20871   case $as_dir in #(((
   20872     '') as_dir=./ ;;
   20873     */) ;;
   20874     *) as_dir=$as_dir/ ;;
   20875   esac
   20876     for ac_prog in grep ggrep
   20877    do
   20878     for ac_exec_ext in '' $ac_executable_extensions; do
   20879       ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
   20880       as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
   20881 # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
   20882   # Check for GNU $ac_path_EGREP_TRADITIONAL
   20883 case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
   20884 *GNU*)
   20885   ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
   20886 #(
   20887 *)
   20888   ac_count=0
   20889   printf %s 0123456789 >"conftest.in"
   20890   while :
   20891   do
   20892     cat "conftest.in" "conftest.in" >"conftest.tmp"
   20893     mv "conftest.tmp" "conftest.in"
   20894     cp "conftest.in" "conftest.nl"
   20895     printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl"
   20896     "$ac_path_EGREP_TRADITIONAL" -E 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   20897     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   20898     as_fn_arith $ac_count + 1 && ac_count=$as_val
   20899     if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
   20900       # Best one so far, save it but keep looking for a better one
   20901       ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
   20902       ac_path_EGREP_TRADITIONAL_max=$ac_count
   20903     fi
   20904     # 10*(2^10) chars as input seems more than enough
   20905     test $ac_count -gt 10 && break
   20906   done
   20907   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   20908 esac
   20909 
   20910       $ac_path_EGREP_TRADITIONAL_found && break 3
   20911     done
   20912   done
   20913   done
   20914 IFS=$as_save_IFS
   20915   if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
   20916     :
   20917   fi
   20918 else
   20919   ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
   20920 fi
   20921 
   20922     if test "$ac_cv_path_EGREP_TRADITIONAL"
   20923 then :
   20924   ac_cv_path_EGREP_TRADITIONAL="$ac_cv_path_EGREP_TRADITIONAL -E"
   20925 else case e in #(
   20926   e) if test -z "$EGREP_TRADITIONAL"; then
   20927   ac_path_EGREP_TRADITIONAL_found=false
   20928   # Loop through the user's path and test for each of PROGNAME-LIST
   20929   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20930 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   20931 do
   20932   IFS=$as_save_IFS
   20933   case $as_dir in #(((
   20934     '') as_dir=./ ;;
   20935     */) ;;
   20936     *) as_dir=$as_dir/ ;;
   20937   esac
   20938     for ac_prog in egrep
   20939    do
   20940     for ac_exec_ext in '' $ac_executable_extensions; do
   20941       ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
   20942       as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
   20943 # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
   20944   # Check for GNU $ac_path_EGREP_TRADITIONAL
   20945 case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
   20946 *GNU*)
   20947   ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
   20948 #(
   20949 *)
   20950   ac_count=0
   20951   printf %s 0123456789 >"conftest.in"
   20952   while :
   20953   do
   20954     cat "conftest.in" "conftest.in" >"conftest.tmp"
   20955     mv "conftest.tmp" "conftest.in"
   20956     cp "conftest.in" "conftest.nl"
   20957     printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl"
   20958     "$ac_path_EGREP_TRADITIONAL" 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   20959     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   20960     as_fn_arith $ac_count + 1 && ac_count=$as_val
   20961     if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
   20962       # Best one so far, save it but keep looking for a better one
   20963       ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
   20964       ac_path_EGREP_TRADITIONAL_max=$ac_count
   20965     fi
   20966     # 10*(2^10) chars as input seems more than enough
   20967     test $ac_count -gt 10 && break
   20968   done
   20969   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   20970 esac
   20971 
   20972       $ac_path_EGREP_TRADITIONAL_found && break 3
   20973     done
   20974   done
   20975   done
   20976 IFS=$as_save_IFS
   20977   if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
   20978     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   20979   fi
   20980 else
   20981   ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
   20982 fi
   20983  ;;
   20984 esac
   20985 fi ;;
   20986 esac
   20987 fi
   20988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP_TRADITIONAL" >&5
   20989 printf "%s\n" "$ac_cv_path_EGREP_TRADITIONAL" >&6; }
   20990  EGREP_TRADITIONAL=$ac_cv_path_EGREP_TRADITIONAL
   20991 
   20992 
   20993 
   20994 
   20995 
   20996 ac_ext=c
   20997 ac_cpp='$CPP $CPPFLAGS'
   20998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   21000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   21001 
   21002 ax_pthread_ok=no
   21003 
   21004 # We used to check for pthread.h first, but this fails if pthread.h
   21005 # requires special compiler flags (e.g. on Tru64 or Sequent).
   21006 # It gets checked for in the link test anyway.
   21007 
   21008 # First of all, check if the user has set any of the PTHREAD_LIBS,
   21009 # etcetera environment variables, and if threads linking works using
   21010 # them:
   21011 if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
   21012         ax_pthread_save_CC="$CC"
   21013         ax_pthread_save_CFLAGS="$CFLAGS"
   21014         ax_pthread_save_LIBS="$LIBS"
   21015         if test "x$PTHREAD_CC" != "x"
   21016 then :
   21017   CC="$PTHREAD_CC"
   21018 fi
   21019         if test "x$PTHREAD_CXX" != "x"
   21020 then :
   21021   CXX="$PTHREAD_CXX"
   21022 fi
   21023         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   21024         LIBS="$PTHREAD_LIBS $LIBS"
   21025         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
   21026 printf %s "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
   21027         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21028 /* end confdefs.h.  */
   21029 
   21030 /* Override any GCC internal prototype to avoid an error.
   21031    Use char because int might match the return type of a GCC
   21032    builtin and then its argument prototype would still apply.
   21033    The 'extern "C"' is for builds by C++ compilers;
   21034    although this is not generally supported in C code supporting it here
   21035    has little cost and some practical benefit (sr 110532).  */
   21036 #ifdef __cplusplus
   21037 extern "C"
   21038 #endif
   21039 char pthread_join (void);
   21040 int
   21041 main (void)
   21042 {
   21043 return pthread_join ();
   21044   ;
   21045   return 0;
   21046 }
   21047 _ACEOF
   21048 if ac_fn_c_try_link "$LINENO"
   21049 then :
   21050   ax_pthread_ok=yes
   21051 fi
   21052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21053     conftest$ac_exeext conftest.$ac_ext
   21054         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   21055 printf "%s\n" "$ax_pthread_ok" >&6; }
   21056         if test "x$ax_pthread_ok" = "xno"; then
   21057                 PTHREAD_LIBS=""
   21058                 PTHREAD_CFLAGS=""
   21059         fi
   21060         CC="$ax_pthread_save_CC"
   21061         CFLAGS="$ax_pthread_save_CFLAGS"
   21062         LIBS="$ax_pthread_save_LIBS"
   21063 fi
   21064 
   21065 # We must check for the threads library under a number of different
   21066 # names; the ordering is very important because some systems
   21067 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
   21068 # libraries is broken (non-POSIX).
   21069 
   21070 # Create a list of thread flags to try. Items with a "," contain both
   21071 # C compiler flags (before ",") and linker flags (after ","). Other items
   21072 # starting with a "-" are C compiler flags, and remaining items are
   21073 # library names, except for "none" which indicates that we try without
   21074 # any flags at all, and "pthread-config" which is a program returning
   21075 # the flags for the Pth emulation library.
   21076 
   21077 ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
   21078 
   21079 # The ordering *is* (sometimes) important.  Some notes on the
   21080 # individual items follow:
   21081 
   21082 # pthreads: AIX (must check this before -lpthread)
   21083 # none: in case threads are in libc; should be tried before -Kthread and
   21084 #       other compiler flags to prevent continual compiler warnings
   21085 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
   21086 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
   21087 #           (Note: HP C rejects this with "bad form for `-t' option")
   21088 # -pthreads: Solaris/gcc (Note: HP C also rejects)
   21089 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
   21090 #      doesn't hurt to check since this sometimes defines pthreads and
   21091 #      -D_REENTRANT too), HP C (must be checked before -lpthread, which
   21092 #      is present but should not be used directly; and before -mthreads,
   21093 #      because the compiler interprets this as "-mt" + "-hreads")
   21094 # -mthreads: Mingw32/gcc, Lynx/gcc
   21095 # pthread: Linux, etcetera
   21096 # --thread-safe: KAI C++
   21097 # pthread-config: use pthread-config program (for GNU Pth library)
   21098 
   21099 case $target_os in
   21100 
   21101         freebsd*)
   21102 
   21103         # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
   21104         # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
   21105 
   21106         ax_pthread_flags="-kthread lthread $ax_pthread_flags"
   21107         ;;
   21108 
   21109         hpux*)
   21110 
   21111         # From the cc(1) man page: "[-mt] Sets various -D flags to enable
   21112         # multi-threading and also sets -lpthread."
   21113 
   21114         ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags"
   21115         ;;
   21116 
   21117         openedition*)
   21118 
   21119         # IBM z/OS requires a feature-test macro to be defined in order to
   21120         # enable POSIX threads at all, so give the user a hint if this is
   21121         # not set. (We don't define these ourselves, as they can affect
   21122         # other portions of the system API in unpredictable ways.)
   21123 
   21124         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21125 /* end confdefs.h.  */
   21126 
   21127 #            if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
   21128              AX_PTHREAD_ZOS_MISSING
   21129 #            endif
   21130 
   21131 _ACEOF
   21132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21133   $EGREP_TRADITIONAL "AX_PTHREAD_ZOS_MISSING" >/dev/null 2>&1
   21134 then :
   21135   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
   21136 printf "%s\n" "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
   21137 fi
   21138 rm -rf conftest*
   21139 
   21140         ;;
   21141 
   21142         solaris*)
   21143 
   21144         # On Solaris (at least, for some versions), libc contains stubbed
   21145         # (non-functional) versions of the pthreads routines, so link-based
   21146         # tests will erroneously succeed. (N.B.: The stubs are missing
   21147         # pthread_cleanup_push, or rather a function called by this macro,
   21148         # so we could check for that, but who knows whether they'll stub
   21149         # that too in a future libc.)  So we'll check first for the
   21150         # standard Solaris way of linking pthreads (-mt -lpthread).
   21151 
   21152         ax_pthread_flags="-mt,-lpthread pthread $ax_pthread_flags"
   21153         ;;
   21154 esac
   21155 
   21156 # Are we compiling with Clang?
   21157 
   21158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
   21159 printf %s "checking whether $CC is Clang... " >&6; }
   21160 if test ${ax_cv_PTHREAD_CLANG+y}
   21161 then :
   21162   printf %s "(cached) " >&6
   21163 else case e in #(
   21164   e) ax_cv_PTHREAD_CLANG=no
   21165      # Note that Autoconf sets GCC=yes for Clang as well as GCC
   21166      if test "x$GCC" = "xyes"; then
   21167         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21168 /* end confdefs.h.  */
   21169 /* Note: Clang 2.7 lacks __clang_[a-z]+__ */
   21170 #            if defined(__clang__) && defined(__llvm__)
   21171              AX_PTHREAD_CC_IS_CLANG
   21172 #            endif
   21173 
   21174 _ACEOF
   21175 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21176   $EGREP_TRADITIONAL "AX_PTHREAD_CC_IS_CLANG" >/dev/null 2>&1
   21177 then :
   21178   ax_cv_PTHREAD_CLANG=yes
   21179 fi
   21180 rm -rf conftest*
   21181 
   21182      fi
   21183      ;;
   21184 esac
   21185 fi
   21186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5
   21187 printf "%s\n" "$ax_cv_PTHREAD_CLANG" >&6; }
   21188 ax_pthread_clang="$ax_cv_PTHREAD_CLANG"
   21189 
   21190 
   21191 # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
   21192 
   21193 # Note that for GCC and Clang -pthread generally implies -lpthread,
   21194 # except when -nostdlib is passed.
   21195 # This is problematic using libtool to build C++ shared libraries with pthread:
   21196 # [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25460
   21197 # [2] https://bugzilla.redhat.com/show_bug.cgi?id=661333
   21198 # [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468555
   21199 # To solve this, first try -pthread together with -lpthread for GCC
   21200 
   21201 if test "x$GCC" = "xyes"
   21202 then :
   21203   ax_pthread_flags="-pthread,-lpthread -pthread -pthreads $ax_pthread_flags"
   21204 fi
   21205 
   21206 # Clang takes -pthread (never supported any other flag), but we'll try with -lpthread first
   21207 
   21208 if test "x$ax_pthread_clang" = "xyes"
   21209 then :
   21210   ax_pthread_flags="-pthread,-lpthread -pthread"
   21211 fi
   21212 
   21213 
   21214 # The presence of a feature test macro requesting re-entrant function
   21215 # definitions is, on some systems, a strong hint that pthreads support is
   21216 # correctly enabled
   21217 
   21218 case $target_os in
   21219         darwin* | hpux* | linux* | osf* | solaris*)
   21220         ax_pthread_check_macro="_REENTRANT"
   21221         ;;
   21222 
   21223         aix*)
   21224         ax_pthread_check_macro="_THREAD_SAFE"
   21225         ;;
   21226 
   21227         *)
   21228         ax_pthread_check_macro="--"
   21229         ;;
   21230 esac
   21231 if test "x$ax_pthread_check_macro" = "x--"
   21232 then :
   21233   ax_pthread_check_cond=0
   21234 else case e in #(
   21235   e) ax_pthread_check_cond="!defined($ax_pthread_check_macro)" ;;
   21236 esac
   21237 fi
   21238 
   21239 
   21240 if test "x$ax_pthread_ok" = "xno"; then
   21241 for ax_pthread_try_flag in $ax_pthread_flags; do
   21242 
   21243         case $ax_pthread_try_flag in
   21244                 none)
   21245                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
   21246 printf %s "checking whether pthreads work without any flags... " >&6; }
   21247                 ;;
   21248 
   21249                 *,*)
   21250                 PTHREAD_CFLAGS=`echo $ax_pthread_try_flag | sed "s/^\(.*\),\(.*\)$/\1/"`
   21251                 PTHREAD_LIBS=`echo $ax_pthread_try_flag | sed "s/^\(.*\),\(.*\)$/\2/"`
   21252                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with \"$PTHREAD_CFLAGS\" and \"$PTHREAD_LIBS\"" >&5
   21253 printf %s "checking whether pthreads work with \"$PTHREAD_CFLAGS\" and \"$PTHREAD_LIBS\"... " >&6; }
   21254                 ;;
   21255 
   21256                 -*)
   21257                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_flag" >&5
   21258 printf %s "checking whether pthreads work with $ax_pthread_try_flag... " >&6; }
   21259                 PTHREAD_CFLAGS="$ax_pthread_try_flag"
   21260                 ;;
   21261 
   21262                 pthread-config)
   21263                 # Extract the first word of "pthread-config", so it can be a program name with args.
   21264 set dummy pthread-config; ac_word=$2
   21265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21266 printf %s "checking for $ac_word... " >&6; }
   21267 if test ${ac_cv_prog_ax_pthread_config+y}
   21268 then :
   21269   printf %s "(cached) " >&6
   21270 else case e in #(
   21271   e) if test -n "$ax_pthread_config"; then
   21272   ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
   21273 else
   21274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21275 for as_dir in $PATH
   21276 do
   21277   IFS=$as_save_IFS
   21278   case $as_dir in #(((
   21279     '') as_dir=./ ;;
   21280     */) ;;
   21281     *) as_dir=$as_dir/ ;;
   21282   esac
   21283     for ac_exec_ext in '' $ac_executable_extensions; do
   21284   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21285     ac_cv_prog_ax_pthread_config="yes"
   21286     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21287     break 2
   21288   fi
   21289 done
   21290   done
   21291 IFS=$as_save_IFS
   21292 
   21293   test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
   21294 fi ;;
   21295 esac
   21296 fi
   21297 ax_pthread_config=$ac_cv_prog_ax_pthread_config
   21298 if test -n "$ax_pthread_config"; then
   21299   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
   21300 printf "%s\n" "$ax_pthread_config" >&6; }
   21301 else
   21302   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21303 printf "%s\n" "no" >&6; }
   21304 fi
   21305 
   21306 
   21307                 if test "x$ax_pthread_config" = "xno"
   21308 then :
   21309   continue
   21310 fi
   21311                 PTHREAD_CFLAGS="`pthread-config --cflags`"
   21312                 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
   21313                 ;;
   21314 
   21315                 *)
   21316                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_flag" >&5
   21317 printf %s "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; }
   21318                 PTHREAD_LIBS="-l$ax_pthread_try_flag"
   21319                 ;;
   21320         esac
   21321 
   21322         ax_pthread_save_CFLAGS="$CFLAGS"
   21323         ax_pthread_save_LIBS="$LIBS"
   21324         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   21325         LIBS="$PTHREAD_LIBS $LIBS"
   21326 
   21327         # Check for various functions.  We must include pthread.h,
   21328         # since some functions may be macros.  (On the Sequent, we
   21329         # need a special flag -Kthread to make this header compile.)
   21330         # We check for pthread_join because it is in -lpthread on IRIX
   21331         # while pthread_create is in libc.  We check for pthread_attr_init
   21332         # due to DEC craziness with -lpthreads.  We check for
   21333         # pthread_cleanup_push because it is one of the few pthread
   21334         # functions on Solaris that doesn't have a non-functional libc stub.
   21335         # We try pthread_create on general principles.
   21336 
   21337         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21338 /* end confdefs.h.  */
   21339 #include <pthread.h>
   21340 #                       if $ax_pthread_check_cond
   21341 #                        error "$ax_pthread_check_macro must be defined"
   21342 #                       endif
   21343                         static void *some_global = NULL;
   21344                         static void routine(void *a)
   21345                           {
   21346                              /* To avoid any unused-parameter or
   21347                                 unused-but-set-parameter warning.  */
   21348                              some_global = a;
   21349                           }
   21350                         static void *start_routine(void *a) { return a; }
   21351 int
   21352 main (void)
   21353 {
   21354 pthread_t th; pthread_attr_t attr;
   21355                         pthread_create(&th, 0, start_routine, 0);
   21356                         pthread_join(th, 0);
   21357                         pthread_attr_init(&attr);
   21358                         pthread_cleanup_push(routine, 0);
   21359                         pthread_cleanup_pop(0) /* ; */
   21360   ;
   21361   return 0;
   21362 }
   21363 _ACEOF
   21364 if ac_fn_c_try_link "$LINENO"
   21365 then :
   21366   ax_pthread_ok=yes
   21367 fi
   21368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21369     conftest$ac_exeext conftest.$ac_ext
   21370 
   21371         CFLAGS="$ax_pthread_save_CFLAGS"
   21372         LIBS="$ax_pthread_save_LIBS"
   21373 
   21374         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   21375 printf "%s\n" "$ax_pthread_ok" >&6; }
   21376         if test "x$ax_pthread_ok" = "xyes"
   21377 then :
   21378   break
   21379 fi
   21380 
   21381         PTHREAD_LIBS=""
   21382         PTHREAD_CFLAGS=""
   21383 done
   21384 fi
   21385 
   21386 
   21387 # Clang needs special handling, because older versions handle the -pthread
   21388 # option in a rather... idiosyncratic way
   21389 
   21390 if test "x$ax_pthread_clang" = "xyes"; then
   21391 
   21392         # Clang takes -pthread; it has never supported any other flag
   21393 
   21394         # (Note 1: This will need to be revisited if a system that Clang
   21395         # supports has POSIX threads in a separate library.  This tends not
   21396         # to be the way of modern systems, but it's conceivable.)
   21397 
   21398         # (Note 2: On some systems, notably Darwin, -pthread is not needed
   21399         # to get POSIX threads support; the API is always present and
   21400         # active.  We could reasonably leave PTHREAD_CFLAGS empty.  But
   21401         # -pthread does define _REENTRANT, and while the Darwin headers
   21402         # ignore this macro, third-party headers might not.)
   21403 
   21404         # However, older versions of Clang make a point of warning the user
   21405         # that, in an invocation where only linking and no compilation is
   21406         # taking place, the -pthread option has no effect ("argument unused
   21407         # during compilation").  They expect -pthread to be passed in only
   21408         # when source code is being compiled.
   21409         #
   21410         # Problem is, this is at odds with the way Automake and most other
   21411         # C build frameworks function, which is that the same flags used in
   21412         # compilation (CFLAGS) are also used in linking.  Many systems
   21413         # supported by AX_PTHREAD require exactly this for POSIX threads
   21414         # support, and in fact it is often not straightforward to specify a
   21415         # flag that is used only in the compilation phase and not in
   21416         # linking.  Such a scenario is extremely rare in practice.
   21417         #
   21418         # Even though use of the -pthread flag in linking would only print
   21419         # a warning, this can be a nuisance for well-run software projects
   21420         # that build with -Werror.  So if the active version of Clang has
   21421         # this misfeature, we search for an option to squash it.
   21422 
   21423         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread" >&5
   21424 printf %s "checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; }
   21425 if test ${ax_cv_PTHREAD_CLANG_NO_WARN_FLAG+y}
   21426 then :
   21427   printf %s "(cached) " >&6
   21428 else case e in #(
   21429   e) ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown
   21430              # Create an alternate version of $ac_link that compiles and
   21431              # links in two steps (.c -> .o, .o -> exe) instead of one
   21432              # (.c -> exe), because the warning occurs only in the second
   21433              # step
   21434              ax_pthread_save_ac_link="$ac_link"
   21435              ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
   21436              ax_pthread_link_step=`printf "%s\n" "$ac_link" | sed "$ax_pthread_sed"`
   21437              ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
   21438              ax_pthread_save_CFLAGS="$CFLAGS"
   21439              for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
   21440                 if test "x$ax_pthread_try" = "xunknown"
   21441 then :
   21442   break
   21443 fi
   21444                 CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
   21445                 ac_link="$ax_pthread_save_ac_link"
   21446                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21447 /* end confdefs.h.  */
   21448 int main(void){return 0;}
   21449 _ACEOF
   21450 if ac_fn_c_try_link "$LINENO"
   21451 then :
   21452   ac_link="$ax_pthread_2step_ac_link"
   21453                      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21454 /* end confdefs.h.  */
   21455 int main(void){return 0;}
   21456 _ACEOF
   21457 if ac_fn_c_try_link "$LINENO"
   21458 then :
   21459   break
   21460 fi
   21461 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21462     conftest$ac_exeext conftest.$ac_ext
   21463 
   21464 fi
   21465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21466     conftest$ac_exeext conftest.$ac_ext
   21467              done
   21468              ac_link="$ax_pthread_save_ac_link"
   21469              CFLAGS="$ax_pthread_save_CFLAGS"
   21470              if test "x$ax_pthread_try" = "x"
   21471 then :
   21472   ax_pthread_try=no
   21473 fi
   21474              ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try"
   21475              ;;
   21476 esac
   21477 fi
   21478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5
   21479 printf "%s\n" "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&6; }
   21480 
   21481         case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in
   21482                 no | unknown) ;;
   21483                 *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;;
   21484         esac
   21485 
   21486 fi # $ax_pthread_clang = yes
   21487 
   21488 
   21489 
   21490 # Various other checks:
   21491 if test "x$ax_pthread_ok" = "xyes"; then
   21492         ax_pthread_save_CFLAGS="$CFLAGS"
   21493         ax_pthread_save_LIBS="$LIBS"
   21494         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   21495         LIBS="$PTHREAD_LIBS $LIBS"
   21496 
   21497         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
   21498         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
   21499 printf %s "checking for joinable pthread attribute... " >&6; }
   21500 if test ${ax_cv_PTHREAD_JOINABLE_ATTR+y}
   21501 then :
   21502   printf %s "(cached) " >&6
   21503 else case e in #(
   21504   e) ax_cv_PTHREAD_JOINABLE_ATTR=unknown
   21505              for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
   21506                  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21507 /* end confdefs.h.  */
   21508 #include <pthread.h>
   21509 int
   21510 main (void)
   21511 {
   21512 int attr = $ax_pthread_attr; return attr /* ; */
   21513   ;
   21514   return 0;
   21515 }
   21516 _ACEOF
   21517 if ac_fn_c_try_link "$LINENO"
   21518 then :
   21519   ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break
   21520 fi
   21521 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21522     conftest$ac_exeext conftest.$ac_ext
   21523              done
   21524              ;;
   21525 esac
   21526 fi
   21527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
   21528 printf "%s\n" "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
   21529         if test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \
   21530                test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \
   21531                test "x$ax_pthread_joinable_attr_defined" != "xyes"
   21532 then :
   21533 
   21534 printf "%s\n" "#define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR" >>confdefs.h
   21535 
   21536                ax_pthread_joinable_attr_defined=yes
   21537 
   21538 fi
   21539 
   21540         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for pthreads" >&5
   21541 printf %s "checking whether more special flags are required for pthreads... " >&6; }
   21542 if test ${ax_cv_PTHREAD_SPECIAL_FLAGS+y}
   21543 then :
   21544   printf %s "(cached) " >&6
   21545 else case e in #(
   21546   e) ax_cv_PTHREAD_SPECIAL_FLAGS=no
   21547              case $target_os in
   21548              solaris*)
   21549              ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
   21550              ;;
   21551              esac
   21552              ;;
   21553 esac
   21554 fi
   21555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
   21556 printf "%s\n" "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
   21557         if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
   21558                test "x$ax_pthread_special_flags_added" != "xyes"
   21559 then :
   21560   PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
   21561                ax_pthread_special_flags_added=yes
   21562 fi
   21563 
   21564         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
   21565 printf %s "checking for PTHREAD_PRIO_INHERIT... " >&6; }
   21566 if test ${ax_cv_PTHREAD_PRIO_INHERIT+y}
   21567 then :
   21568   printf %s "(cached) " >&6
   21569 else case e in #(
   21570   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21571 /* end confdefs.h.  */
   21572 #include <pthread.h>
   21573 int
   21574 main (void)
   21575 {
   21576 int i = PTHREAD_PRIO_INHERIT;
   21577                                                return i;
   21578   ;
   21579   return 0;
   21580 }
   21581 _ACEOF
   21582 if ac_fn_c_try_link "$LINENO"
   21583 then :
   21584   ax_cv_PTHREAD_PRIO_INHERIT=yes
   21585 else case e in #(
   21586   e) ax_cv_PTHREAD_PRIO_INHERIT=no ;;
   21587 esac
   21588 fi
   21589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21590     conftest$ac_exeext conftest.$ac_ext
   21591              ;;
   21592 esac
   21593 fi
   21594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
   21595 printf "%s\n" "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
   21596         if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \
   21597                test "x$ax_pthread_prio_inherit_defined" != "xyes"
   21598 then :
   21599 
   21600 printf "%s\n" "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
   21601 
   21602                ax_pthread_prio_inherit_defined=yes
   21603 
   21604 fi
   21605 
   21606         CFLAGS="$ax_pthread_save_CFLAGS"
   21607         LIBS="$ax_pthread_save_LIBS"
   21608 
   21609         # More AIX lossage: compile with *_r variant
   21610         if test "x$GCC" != "xyes"; then
   21611             case $target_os in
   21612                 aix*)
   21613                 case "x/$CC" in #(
   21614   x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) :
   21615     #handle absolute path differently from PATH based program lookup
   21616                      case "x$CC" in #(
   21617   x/*) :
   21618 
   21619 			   if as_fn_executable_p ${CC}_r
   21620 then :
   21621   PTHREAD_CC="${CC}_r"
   21622 fi
   21623 			   if test "x${CXX}" != "x"
   21624 then :
   21625   if as_fn_executable_p ${CXX}_r
   21626 then :
   21627   PTHREAD_CXX="${CXX}_r"
   21628 fi
   21629 fi
   21630 			  ;; #(
   21631   *) :
   21632 
   21633 			   for ac_prog in ${CC}_r
   21634 do
   21635   # Extract the first word of "$ac_prog", so it can be a program name with args.
   21636 set dummy $ac_prog; ac_word=$2
   21637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21638 printf %s "checking for $ac_word... " >&6; }
   21639 if test ${ac_cv_prog_PTHREAD_CC+y}
   21640 then :
   21641   printf %s "(cached) " >&6
   21642 else case e in #(
   21643   e) if test -n "$PTHREAD_CC"; then
   21644   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
   21645 else
   21646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21647 for as_dir in $PATH
   21648 do
   21649   IFS=$as_save_IFS
   21650   case $as_dir in #(((
   21651     '') as_dir=./ ;;
   21652     */) ;;
   21653     *) as_dir=$as_dir/ ;;
   21654   esac
   21655     for ac_exec_ext in '' $ac_executable_extensions; do
   21656   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21657     ac_cv_prog_PTHREAD_CC="$ac_prog"
   21658     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21659     break 2
   21660   fi
   21661 done
   21662   done
   21663 IFS=$as_save_IFS
   21664 
   21665 fi ;;
   21666 esac
   21667 fi
   21668 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
   21669 if test -n "$PTHREAD_CC"; then
   21670   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
   21671 printf "%s\n" "$PTHREAD_CC" >&6; }
   21672 else
   21673   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21674 printf "%s\n" "no" >&6; }
   21675 fi
   21676 
   21677 
   21678   test -n "$PTHREAD_CC" && break
   21679 done
   21680 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   21681 
   21682 			   if test "x${CXX}" != "x"
   21683 then :
   21684   for ac_prog in ${CXX}_r
   21685 do
   21686   # Extract the first word of "$ac_prog", so it can be a program name with args.
   21687 set dummy $ac_prog; ac_word=$2
   21688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21689 printf %s "checking for $ac_word... " >&6; }
   21690 if test ${ac_cv_prog_PTHREAD_CXX+y}
   21691 then :
   21692   printf %s "(cached) " >&6
   21693 else case e in #(
   21694   e) if test -n "$PTHREAD_CXX"; then
   21695   ac_cv_prog_PTHREAD_CXX="$PTHREAD_CXX" # Let the user override the test.
   21696 else
   21697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21698 for as_dir in $PATH
   21699 do
   21700   IFS=$as_save_IFS
   21701   case $as_dir in #(((
   21702     '') as_dir=./ ;;
   21703     */) ;;
   21704     *) as_dir=$as_dir/ ;;
   21705   esac
   21706     for ac_exec_ext in '' $ac_executable_extensions; do
   21707   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21708     ac_cv_prog_PTHREAD_CXX="$ac_prog"
   21709     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21710     break 2
   21711   fi
   21712 done
   21713   done
   21714 IFS=$as_save_IFS
   21715 
   21716 fi ;;
   21717 esac
   21718 fi
   21719 PTHREAD_CXX=$ac_cv_prog_PTHREAD_CXX
   21720 if test -n "$PTHREAD_CXX"; then
   21721   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CXX" >&5
   21722 printf "%s\n" "$PTHREAD_CXX" >&6; }
   21723 else
   21724   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21725 printf "%s\n" "no" >&6; }
   21726 fi
   21727 
   21728 
   21729   test -n "$PTHREAD_CXX" && break
   21730 done
   21731 test -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"
   21732 
   21733 fi
   21734 
   21735                       ;;
   21736 esac
   21737                      ;; #(
   21738   *) :
   21739      ;;
   21740 esac
   21741                 ;;
   21742             esac
   21743         fi
   21744 fi
   21745 
   21746 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   21747 test -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"
   21748 
   21749 
   21750 
   21751 
   21752 
   21753 
   21754 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
   21755 if test "x$ax_pthread_ok" = "xyes"; then
   21756 
   21757 printf "%s\n" "#define HAVE_PTHREAD 1" >>confdefs.h
   21758 
   21759         :
   21760 else
   21761         ax_pthread_ok=no
   21762 
   21763 fi
   21764 ac_ext=c
   21765 ac_cpp='$CPP $CPPFLAGS'
   21766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   21767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   21768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   21769 
   21770 
   21771 
   21772 LIBS="$PTHREAD_LIBS $LIBS"
   21773 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   21774 CC="$PTHREAD_CC"
   21775 
   21776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_MUTEX_ADAPTIVE_NP" >&5
   21777 printf %s "checking for PTHREAD_MUTEX_ADAPTIVE_NP... " >&6; }
   21778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21779 /* end confdefs.h.  */
   21780 #include <pthread.h>
   21781 int
   21782 main (void)
   21783 {
   21784 (void)pthread_mutexattr_settype(&(pthread_mutexattr_t){ NULL }, PTHREAD_MUTEX_ADAPTIVE_NP);
   21785   ;
   21786   return 0;
   21787 }
   21788 _ACEOF
   21789 if ac_fn_c_try_compile "$LINENO"
   21790 then :
   21791   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21792 printf "%s\n" "yes" >&6; }
   21793 
   21794 printf "%s\n" "#define HAVE_PTHREAD_MUTEX_ADAPTIVE_NP 1" >>confdefs.h
   21795 
   21796 else case e in #(
   21797   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21798 printf "%s\n" "no" >&6; } ;;
   21799 esac
   21800 fi
   21801 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   21802 
   21803 ac_fn_c_check_func "$LINENO" "pthread_attr_getstacksize" "ac_cv_func_pthread_attr_getstacksize"
   21804 if test "x$ac_cv_func_pthread_attr_getstacksize" = xyes
   21805 then :
   21806   printf "%s\n" "#define HAVE_PTHREAD_ATTR_GETSTACKSIZE 1" >>confdefs.h
   21807 
   21808 fi
   21809 ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
   21810 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes
   21811 then :
   21812   printf "%s\n" "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
   21813 
   21814 fi
   21815 ac_fn_c_check_func "$LINENO" "pthread_barrier_init" "ac_cv_func_pthread_barrier_init"
   21816 if test "x$ac_cv_func_pthread_barrier_init" = xyes
   21817 then :
   21818   printf "%s\n" "#define HAVE_PTHREAD_BARRIER_INIT 1" >>confdefs.h
   21819 
   21820 fi
   21821 ac_fn_c_check_func "$LINENO" "pthread_spin_init" "ac_cv_func_pthread_spin_init"
   21822 if test "x$ac_cv_func_pthread_spin_init" = xyes
   21823 then :
   21824   printf "%s\n" "#define HAVE_PTHREAD_SPIN_INIT 1" >>confdefs.h
   21825 
   21826 fi
   21827 
   21828 
   21829 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
   21830 if test "x$ac_cv_header_sched_h" = xyes
   21831 then :
   21832   printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
   21833 
   21834 fi
   21835 
   21836 
   21837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
   21838 printf %s "checking for library containing sched_yield... " >&6; }
   21839 if test ${ac_cv_search_sched_yield+y}
   21840 then :
   21841   printf %s "(cached) " >&6
   21842 else case e in #(
   21843   e) ac_func_search_save_LIBS=$LIBS
   21844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21845 /* end confdefs.h.  */
   21846 
   21847 /* Override any GCC internal prototype to avoid an error.
   21848    Use char because int might match the return type of a GCC
   21849    builtin and then its argument prototype would still apply.
   21850    The 'extern "C"' is for builds by C++ compilers;
   21851    although this is not generally supported in C code supporting it here
   21852    has little cost and some practical benefit (sr 110532).  */
   21853 #ifdef __cplusplus
   21854 extern "C"
   21855 #endif
   21856 char sched_yield (void);
   21857 int
   21858 main (void)
   21859 {
   21860 return sched_yield ();
   21861   ;
   21862   return 0;
   21863 }
   21864 _ACEOF
   21865 for ac_lib in '' rt
   21866 do
   21867   if test -z "$ac_lib"; then
   21868     ac_res="none required"
   21869   else
   21870     ac_res=-l$ac_lib
   21871     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21872   fi
   21873   if ac_fn_c_try_link "$LINENO"
   21874 then :
   21875   ac_cv_search_sched_yield=$ac_res
   21876 fi
   21877 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21878     conftest$ac_exeext
   21879   if test ${ac_cv_search_sched_yield+y}
   21880 then :
   21881   break
   21882 fi
   21883 done
   21884 if test ${ac_cv_search_sched_yield+y}
   21885 then :
   21886 
   21887 else case e in #(
   21888   e) ac_cv_search_sched_yield=no ;;
   21889 esac
   21890 fi
   21891 rm conftest.$ac_ext
   21892 LIBS=$ac_func_search_save_LIBS ;;
   21893 esac
   21894 fi
   21895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
   21896 printf "%s\n" "$ac_cv_search_sched_yield" >&6; }
   21897 ac_res=$ac_cv_search_sched_yield
   21898 if test "$ac_res" != no
   21899 then :
   21900   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   21901 
   21902 fi
   21903 
   21904 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
   21905 if test "x$ac_cv_func_sched_yield" = xyes
   21906 then :
   21907   printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
   21908 
   21909 fi
   21910 ac_fn_c_check_func "$LINENO" "pthread_yield" "ac_cv_func_pthread_yield"
   21911 if test "x$ac_cv_func_pthread_yield" = xyes
   21912 then :
   21913   printf "%s\n" "#define HAVE_PTHREAD_YIELD 1" >>confdefs.h
   21914 
   21915 fi
   21916 ac_fn_c_check_func "$LINENO" "pthread_yield_np" "ac_cv_func_pthread_yield_np"
   21917 if test "x$ac_cv_func_pthread_yield_np" = xyes
   21918 then :
   21919   printf "%s\n" "#define HAVE_PTHREAD_YIELD_NP 1" >>confdefs.h
   21920 
   21921 fi
   21922 
   21923 
   21924 # Look for functions relating to thread naming
   21925 ac_fn_c_check_func "$LINENO" "pthread_setname_np" "ac_cv_func_pthread_setname_np"
   21926 if test "x$ac_cv_func_pthread_setname_np" = xyes
   21927 then :
   21928   printf "%s\n" "#define HAVE_PTHREAD_SETNAME_NP 1" >>confdefs.h
   21929 
   21930 fi
   21931 ac_fn_c_check_func "$LINENO" "pthread_set_name_np" "ac_cv_func_pthread_set_name_np"
   21932 if test "x$ac_cv_func_pthread_set_name_np" = xyes
   21933 then :
   21934   printf "%s\n" "#define HAVE_PTHREAD_SET_NAME_NP 1" >>confdefs.h
   21935 
   21936 fi
   21937 
   21938 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#include <pthread.h>
   21939 "
   21940 if test "x$ac_cv_header_pthread_np_h" = xyes
   21941 then :
   21942   printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
   21943 
   21944 fi
   21945 
   21946 
   21947 # libuv
   21948 
   21949 pkg_failed=no
   21950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libuv >= 1.37.0" >&5
   21951 printf %s "checking for libuv >= 1.37.0... " >&6; }
   21952 
   21953 if test -n "$LIBUV_CFLAGS"; then
   21954     pkg_cv_LIBUV_CFLAGS="$LIBUV_CFLAGS"
   21955  elif test -n "$PKG_CONFIG"; then
   21956     if test -n "$PKG_CONFIG" && \
   21957     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuv >= 1.37.0\""; } >&5
   21958   ($PKG_CONFIG --exists --print-errors "libuv >= 1.37.0") 2>&5
   21959   ac_status=$?
   21960   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21961   test $ac_status = 0; }; then
   21962   pkg_cv_LIBUV_CFLAGS=`$PKG_CONFIG --cflags "libuv >= 1.37.0" 2>/dev/null`
   21963 		      test "x$?" != "x0" && pkg_failed=yes
   21964 else
   21965   pkg_failed=yes
   21966 fi
   21967  else
   21968     pkg_failed=untried
   21969 fi
   21970 if test -n "$LIBUV_LIBS"; then
   21971     pkg_cv_LIBUV_LIBS="$LIBUV_LIBS"
   21972  elif test -n "$PKG_CONFIG"; then
   21973     if test -n "$PKG_CONFIG" && \
   21974     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuv >= 1.37.0\""; } >&5
   21975   ($PKG_CONFIG --exists --print-errors "libuv >= 1.37.0") 2>&5
   21976   ac_status=$?
   21977   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21978   test $ac_status = 0; }; then
   21979   pkg_cv_LIBUV_LIBS=`$PKG_CONFIG --libs "libuv >= 1.37.0" 2>/dev/null`
   21980 		      test "x$?" != "x0" && pkg_failed=yes
   21981 else
   21982   pkg_failed=yes
   21983 fi
   21984  else
   21985     pkg_failed=untried
   21986 fi
   21987 
   21988 
   21989 
   21990 if test $pkg_failed = yes; then
   21991         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21992 printf "%s\n" "no" >&6; }
   21993 
   21994 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21995         _pkg_short_errors_supported=yes
   21996 else
   21997         _pkg_short_errors_supported=no
   21998 fi
   21999         if test $_pkg_short_errors_supported = yes; then
   22000                 LIBUV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libuv >= 1.37.0" 2>&1`
   22001         else
   22002                 LIBUV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libuv >= 1.37.0" 2>&1`
   22003         fi
   22004         # Put the nasty error message in config.log where it belongs
   22005         echo "$LIBUV_PKG_ERRORS" >&5
   22006 
   22007 
   22008 pkg_failed=no
   22009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libuv >= 1.34.0 libuv < 1.35.0" >&5
   22010 printf %s "checking for libuv >= 1.34.0 libuv < 1.35.0... " >&6; }
   22011 
   22012 if test -n "$LIBUV_CFLAGS"; then
   22013     pkg_cv_LIBUV_CFLAGS="$LIBUV_CFLAGS"
   22014  elif test -n "$PKG_CONFIG"; then
   22015     if test -n "$PKG_CONFIG" && \
   22016     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuv >= 1.34.0 libuv < 1.35.0\""; } >&5
   22017   ($PKG_CONFIG --exists --print-errors "libuv >= 1.34.0 libuv < 1.35.0") 2>&5
   22018   ac_status=$?
   22019   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22020   test $ac_status = 0; }; then
   22021   pkg_cv_LIBUV_CFLAGS=`$PKG_CONFIG --cflags "libuv >= 1.34.0 libuv < 1.35.0" 2>/dev/null`
   22022 		      test "x$?" != "x0" && pkg_failed=yes
   22023 else
   22024   pkg_failed=yes
   22025 fi
   22026  else
   22027     pkg_failed=untried
   22028 fi
   22029 if test -n "$LIBUV_LIBS"; then
   22030     pkg_cv_LIBUV_LIBS="$LIBUV_LIBS"
   22031  elif test -n "$PKG_CONFIG"; then
   22032     if test -n "$PKG_CONFIG" && \
   22033     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuv >= 1.34.0 libuv < 1.35.0\""; } >&5
   22034   ($PKG_CONFIG --exists --print-errors "libuv >= 1.34.0 libuv < 1.35.0") 2>&5
   22035   ac_status=$?
   22036   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22037   test $ac_status = 0; }; then
   22038   pkg_cv_LIBUV_LIBS=`$PKG_CONFIG --libs "libuv >= 1.34.0 libuv < 1.35.0" 2>/dev/null`
   22039 		      test "x$?" != "x0" && pkg_failed=yes
   22040 else
   22041   pkg_failed=yes
   22042 fi
   22043  else
   22044     pkg_failed=untried
   22045 fi
   22046 
   22047 
   22048 
   22049 if test $pkg_failed = yes; then
   22050         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22051 printf "%s\n" "no" >&6; }
   22052 
   22053 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22054         _pkg_short_errors_supported=yes
   22055 else
   22056         _pkg_short_errors_supported=no
   22057 fi
   22058         if test $_pkg_short_errors_supported = yes; then
   22059                 LIBUV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libuv >= 1.34.0 libuv < 1.35.0" 2>&1`
   22060         else
   22061                 LIBUV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libuv >= 1.34.0 libuv < 1.35.0" 2>&1`
   22062         fi
   22063         # Put the nasty error message in config.log where it belongs
   22064         echo "$LIBUV_PKG_ERRORS" >&5
   22065 
   22066         as_fn_error $? "libuv >= 1.34.0 (except 1.35.0 and 1.36.0) not found" "$LINENO" 5
   22067 elif test $pkg_failed = untried; then
   22068         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22069 printf "%s\n" "no" >&6; }
   22070         as_fn_error $? "libuv >= 1.34.0 (except 1.35.0 and 1.36.0) not found" "$LINENO" 5
   22071 else
   22072         LIBUV_CFLAGS=$pkg_cv_LIBUV_CFLAGS
   22073         LIBUV_LIBS=$pkg_cv_LIBUV_LIBS
   22074         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22075 printf "%s\n" "yes" >&6; }
   22076 
   22077 fi
   22078 elif test $pkg_failed = untried; then
   22079         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22080 printf "%s\n" "no" >&6; }
   22081 
   22082 pkg_failed=no
   22083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libuv >= 1.34.0 libuv < 1.35.0" >&5
   22084 printf %s "checking for libuv >= 1.34.0 libuv < 1.35.0... " >&6; }
   22085 
   22086 if test -n "$LIBUV_CFLAGS"; then
   22087     pkg_cv_LIBUV_CFLAGS="$LIBUV_CFLAGS"
   22088  elif test -n "$PKG_CONFIG"; then
   22089     if test -n "$PKG_CONFIG" && \
   22090     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuv >= 1.34.0 libuv < 1.35.0\""; } >&5
   22091   ($PKG_CONFIG --exists --print-errors "libuv >= 1.34.0 libuv < 1.35.0") 2>&5
   22092   ac_status=$?
   22093   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22094   test $ac_status = 0; }; then
   22095   pkg_cv_LIBUV_CFLAGS=`$PKG_CONFIG --cflags "libuv >= 1.34.0 libuv < 1.35.0" 2>/dev/null`
   22096 		      test "x$?" != "x0" && pkg_failed=yes
   22097 else
   22098   pkg_failed=yes
   22099 fi
   22100  else
   22101     pkg_failed=untried
   22102 fi
   22103 if test -n "$LIBUV_LIBS"; then
   22104     pkg_cv_LIBUV_LIBS="$LIBUV_LIBS"
   22105  elif test -n "$PKG_CONFIG"; then
   22106     if test -n "$PKG_CONFIG" && \
   22107     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuv >= 1.34.0 libuv < 1.35.0\""; } >&5
   22108   ($PKG_CONFIG --exists --print-errors "libuv >= 1.34.0 libuv < 1.35.0") 2>&5
   22109   ac_status=$?
   22110   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22111   test $ac_status = 0; }; then
   22112   pkg_cv_LIBUV_LIBS=`$PKG_CONFIG --libs "libuv >= 1.34.0 libuv < 1.35.0" 2>/dev/null`
   22113 		      test "x$?" != "x0" && pkg_failed=yes
   22114 else
   22115   pkg_failed=yes
   22116 fi
   22117  else
   22118     pkg_failed=untried
   22119 fi
   22120 
   22121 
   22122 
   22123 if test $pkg_failed = yes; then
   22124         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22125 printf "%s\n" "no" >&6; }
   22126 
   22127 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22128         _pkg_short_errors_supported=yes
   22129 else
   22130         _pkg_short_errors_supported=no
   22131 fi
   22132         if test $_pkg_short_errors_supported = yes; then
   22133                 LIBUV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libuv >= 1.34.0 libuv < 1.35.0" 2>&1`
   22134         else
   22135                 LIBUV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libuv >= 1.34.0 libuv < 1.35.0" 2>&1`
   22136         fi
   22137         # Put the nasty error message in config.log where it belongs
   22138         echo "$LIBUV_PKG_ERRORS" >&5
   22139 
   22140         as_fn_error $? "libuv >= 1.34.0 (except 1.35.0 and 1.36.0) not found" "$LINENO" 5
   22141 elif test $pkg_failed = untried; then
   22142         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22143 printf "%s\n" "no" >&6; }
   22144         as_fn_error $? "libuv >= 1.34.0 (except 1.35.0 and 1.36.0) not found" "$LINENO" 5
   22145 else
   22146         LIBUV_CFLAGS=$pkg_cv_LIBUV_CFLAGS
   22147         LIBUV_LIBS=$pkg_cv_LIBUV_LIBS
   22148         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22149 printf "%s\n" "yes" >&6; }
   22150 
   22151 fi
   22152 else
   22153         LIBUV_CFLAGS=$pkg_cv_LIBUV_CFLAGS
   22154         LIBUV_LIBS=$pkg_cv_LIBUV_LIBS
   22155         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22156 printf "%s\n" "yes" >&6; }
   22157 
   22158 fi
   22159 
   22160 
   22161 if test -n "$LIBUV_VERSION"; then
   22162     pkg_cv_LIBUV_VERSION="$LIBUV_VERSION"
   22163  elif test -n "$PKG_CONFIG"; then
   22164     if test -n "$PKG_CONFIG" && \
   22165     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuv\""; } >&5
   22166   ($PKG_CONFIG --exists --print-errors "libuv") 2>&5
   22167   ac_status=$?
   22168   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22169   test $ac_status = 0; }; then
   22170   pkg_cv_LIBUV_VERSION=`$PKG_CONFIG --modversion "libuv" 2>/dev/null`
   22171 		      test "x$?" != "x0" && pkg_failed=yes
   22172 else
   22173   pkg_failed=yes
   22174 fi
   22175  else
   22176     pkg_failed=untried
   22177 fi
   22178 LIBUV_VERSION=$pkg_cv_LIBUV_VERSION
   22179 
   22180 if test "x$LIBUV_VERSION" = x""
   22181 then :
   22182 
   22183 fi
   22184 
   22185 
   22186 
   22187   CCASFLAGS_libuv_ax_save_flags=$CCASFLAGS
   22188 
   22189 
   22190 
   22191   CFLAGS_libuv_ax_save_flags=$CFLAGS
   22192 
   22193 
   22194 
   22195   CPPFLAGS_libuv_ax_save_flags=$CPPFLAGS
   22196 
   22197 
   22198 
   22199   CXXFLAGS_libuv_ax_save_flags=$CXXFLAGS
   22200 
   22201 
   22202 
   22203   ERLCFLAGS_libuv_ax_save_flags=$ERLCFLAGS
   22204 
   22205 
   22206 
   22207   FCFLAGS_libuv_ax_save_flags=$FCFLAGS
   22208 
   22209 
   22210 
   22211   FCLIBS_libuv_ax_save_flags=$FCLIBS
   22212 
   22213 
   22214 
   22215   FFLAGS_libuv_ax_save_flags=$FFLAGS
   22216 
   22217 
   22218 
   22219   FLIBS_libuv_ax_save_flags=$FLIBS
   22220 
   22221 
   22222 
   22223   GCJFLAGS_libuv_ax_save_flags=$GCJFLAGS
   22224 
   22225 
   22226 
   22227   JAVACFLAGS_libuv_ax_save_flags=$JAVACFLAGS
   22228 
   22229 
   22230 
   22231   LDFLAGS_libuv_ax_save_flags=$LDFLAGS
   22232 
   22233 
   22234 
   22235   LIBS_libuv_ax_save_flags=$LIBS
   22236 
   22237 
   22238 
   22239   OBJCFLAGS_libuv_ax_save_flags=$OBJCFLAGS
   22240 
   22241 
   22242 
   22243   OBJCXXFLAGS_libuv_ax_save_flags=$OBJCXXFLAGS
   22244 
   22245 
   22246 
   22247   UPCFLAGS_libuv_ax_save_flags=$UPCFLAGS
   22248 
   22249 
   22250 
   22251   VALAFLAGS_libuv_ax_save_flags=$VALAFLAGS
   22252 
   22253 
   22254 
   22255 CFLAGS="$CFLAGS $LIBUV_CFLAGS"
   22256 LIBS="$LIBS $LIBUV_LIBS"
   22257 
   22258 # libuv recvmmsg support
   22259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   22260 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   22261 if test ${ac_cv_c_undeclared_builtin_options+y}
   22262 then :
   22263   printf %s "(cached) " >&6
   22264 else case e in #(
   22265   e) ac_save_CFLAGS=$CFLAGS
   22266    ac_cv_c_undeclared_builtin_options='cannot detect'
   22267    for ac_arg in '' -fno-builtin; do
   22268      CFLAGS="$ac_save_CFLAGS $ac_arg"
   22269      # This test program should *not* compile successfully.
   22270      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22271 /* end confdefs.h.  */
   22272 
   22273 int
   22274 main (void)
   22275 {
   22276 (void) strchr;
   22277   ;
   22278   return 0;
   22279 }
   22280 _ACEOF
   22281 if ac_fn_c_try_compile "$LINENO"
   22282 then :
   22283 
   22284 else case e in #(
   22285   e) # This test program should compile successfully.
   22286         # No library function is consistently available on
   22287         # freestanding implementations, so test against a dummy
   22288         # declaration.  Include always-available headers on the
   22289         # off chance that they somehow elicit warnings.
   22290         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22291 /* end confdefs.h.  */
   22292 #include <float.h>
   22293 #include <limits.h>
   22294 #include <stdarg.h>
   22295 #include <stddef.h>
   22296 extern void ac_decl (int, char *);
   22297 
   22298 int
   22299 main (void)
   22300 {
   22301 (void) ac_decl (0, (char *) 0);
   22302   (void) ac_decl;
   22303 
   22304   ;
   22305   return 0;
   22306 }
   22307 _ACEOF
   22308 if ac_fn_c_try_compile "$LINENO"
   22309 then :
   22310   if test x"$ac_arg" = x
   22311 then :
   22312   ac_cv_c_undeclared_builtin_options='none needed'
   22313 else case e in #(
   22314   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   22315 esac
   22316 fi
   22317           break
   22318 fi
   22319 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   22320 esac
   22321 fi
   22322 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   22323     done
   22324     CFLAGS=$ac_save_CFLAGS
   22325    ;;
   22326 esac
   22327 fi
   22328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   22329 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   22330   case $ac_cv_c_undeclared_builtin_options in #(
   22331   'cannot detect') :
   22332     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   22333 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   22334 as_fn_error $? "cannot make $CC report undeclared builtins
   22335 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   22336   'none needed') :
   22337     ac_c_undeclared_builtin_options='' ;; #(
   22338   *) :
   22339     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   22340 esac
   22341 
   22342 ac_fn_check_decl "$LINENO" "UV_UDP_MMSG_FREE" "ac_cv_have_decl_UV_UDP_MMSG_FREE" "#include <uv.h>
   22343 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   22344 if test "x$ac_cv_have_decl_UV_UDP_MMSG_FREE" = xyes
   22345 then :
   22346   ac_have_decl=1
   22347 else case e in #(
   22348   e) ac_have_decl=0 ;;
   22349 esac
   22350 fi
   22351 printf "%s\n" "#define HAVE_DECL_UV_UDP_MMSG_FREE $ac_have_decl" >>confdefs.h
   22352 ac_fn_check_decl "$LINENO" "UV_UDP_MMSG_CHUNK" "ac_cv_have_decl_UV_UDP_MMSG_CHUNK" "#include <uv.h>
   22353 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   22354 if test "x$ac_cv_have_decl_UV_UDP_MMSG_CHUNK" = xyes
   22355 then :
   22356   ac_have_decl=1
   22357 else case e in #(
   22358   e) ac_have_decl=0 ;;
   22359 esac
   22360 fi
   22361 printf "%s\n" "#define HAVE_DECL_UV_UDP_MMSG_CHUNK $ac_have_decl" >>confdefs.h
   22362 
   22363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct msghdr uses padding for alignment" >&5
   22364 printf %s "checking whether struct msghdr uses padding for alignment... " >&6; }
   22365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22366 /* end confdefs.h.  */
   22367 #include <sys/socket.h>
   22368 int
   22369 main (void)
   22370 {
   22371 const struct msghdr h = { .__pad1 = 0, .__pad2 = 0 };
   22372   ;
   22373   return 0;
   22374 }
   22375 _ACEOF
   22376 if ac_fn_c_try_compile "$LINENO"
   22377 then :
   22378   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22379 printf "%s\n" "yes" >&6; }
   22380 
   22381 printf "%s\n" "#define HAVE_DECL_UV_UDP_RECVMMSG 0" >>confdefs.h
   22382 
   22383 else case e in #(
   22384   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22385 printf "%s\n" "no" >&6; }
   22386 		   ac_fn_check_decl "$LINENO" "UV_UDP_RECVMMSG" "ac_cv_have_decl_UV_UDP_RECVMMSG" "#include <uv.h>
   22387 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   22388 if test "x$ac_cv_have_decl_UV_UDP_RECVMMSG" = xyes
   22389 then :
   22390   ac_have_decl=1
   22391 else case e in #(
   22392   e) ac_have_decl=0 ;;
   22393 esac
   22394 fi
   22395 printf "%s\n" "#define HAVE_DECL_UV_UDP_RECVMMSG $ac_have_decl" >>confdefs.h
   22396  ;;
   22397 esac
   22398 fi
   22399 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   22400 
   22401 # libuv recverr support
   22402 ac_fn_check_decl "$LINENO" "UV_UDP_LINUX_RECVERR" "ac_cv_have_decl_UV_UDP_LINUX_RECVERR" "#include <uv.h>
   22403 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   22404 if test "x$ac_cv_have_decl_UV_UDP_LINUX_RECVERR" = xyes
   22405 then :
   22406   ac_have_decl=1
   22407 else case e in #(
   22408   e) ac_have_decl=0 ;;
   22409 esac
   22410 fi
   22411 printf "%s\n" "#define HAVE_DECL_UV_UDP_LINUX_RECVERR $ac_have_decl" >>confdefs.h
   22412 
   22413 
   22414 
   22415   CCASFLAGS=$CCASFLAGS_libuv_ax_save_flags
   22416 
   22417 
   22418   CFLAGS=$CFLAGS_libuv_ax_save_flags
   22419 
   22420 
   22421   CPPFLAGS=$CPPFLAGS_libuv_ax_save_flags
   22422 
   22423 
   22424   CXXFLAGS=$CXXFLAGS_libuv_ax_save_flags
   22425 
   22426 
   22427   ERLCFLAGS=$ERLCFLAGS_libuv_ax_save_flags
   22428 
   22429 
   22430   FCFLAGS=$FCFLAGS_libuv_ax_save_flags
   22431 
   22432 
   22433   FCLIBS=$FCLIBS_libuv_ax_save_flags
   22434 
   22435 
   22436   FFLAGS=$FFLAGS_libuv_ax_save_flags
   22437 
   22438 
   22439   FLIBS=$FLIBS_libuv_ax_save_flags
   22440 
   22441 
   22442   GCJFLAGS=$GCJFLAGS_libuv_ax_save_flags
   22443 
   22444 
   22445   JAVACFLAGS=$JAVACFLAGS_libuv_ax_save_flags
   22446 
   22447 
   22448   LDFLAGS=$LDFLAGS_libuv_ax_save_flags
   22449 
   22450 
   22451   LIBS=$LIBS_libuv_ax_save_flags
   22452 
   22453 
   22454   OBJCFLAGS=$OBJCFLAGS_libuv_ax_save_flags
   22455 
   22456 
   22457   OBJCXXFLAGS=$OBJCXXFLAGS_libuv_ax_save_flags
   22458 
   22459 
   22460   UPCFLAGS=$UPCFLAGS_libuv_ax_save_flags
   22461 
   22462 
   22463   VALAFLAGS=$VALAFLAGS_libuv_ax_save_flags
   22464 
   22465 
   22466 
   22467 
   22468 # [pairwise: --enable-doh --with-libnghttp2=auto, --enable-doh --with-libnghttp2=yes, --disable-doh]
   22469 # Check whether --enable-doh was given.
   22470 if test ${enable_doh+y}
   22471 then :
   22472   enableval=$enable_doh;
   22473 else case e in #(
   22474   e) enable_doh=yes ;;
   22475 esac
   22476 fi
   22477 
   22478 
   22479 # [pairwise: skip]
   22480 
   22481 # Check whether --with-libnghttp2 was given.
   22482 if test ${with_libnghttp2+y}
   22483 then :
   22484   withval=$with_libnghttp2;
   22485 else case e in #(
   22486   e) with_libnghttp2="auto" ;;
   22487 esac
   22488 fi
   22489 
   22490 
   22491 if test "$enable_doh" = "yes"
   22492 then :
   22493   case $with_libnghttp2 in #(
   22494   no) :
   22495     as_fn_error $? "Use '--disable-doh' to disable DNS-over-HTTPS support" "$LINENO" 5 ;; #(
   22496   auto|yes) :
   22497 
   22498 pkg_failed=no
   22499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libnghttp2 >= 1.6.0" >&5
   22500 printf %s "checking for libnghttp2 >= 1.6.0... " >&6; }
   22501 
   22502 if test -n "$LIBNGHTTP2_CFLAGS"; then
   22503     pkg_cv_LIBNGHTTP2_CFLAGS="$LIBNGHTTP2_CFLAGS"
   22504  elif test -n "$PKG_CONFIG"; then
   22505     if test -n "$PKG_CONFIG" && \
   22506     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnghttp2 >= 1.6.0\""; } >&5
   22507   ($PKG_CONFIG --exists --print-errors "libnghttp2 >= 1.6.0") 2>&5
   22508   ac_status=$?
   22509   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22510   test $ac_status = 0; }; then
   22511   pkg_cv_LIBNGHTTP2_CFLAGS=`$PKG_CONFIG --cflags "libnghttp2 >= 1.6.0" 2>/dev/null`
   22512 		      test "x$?" != "x0" && pkg_failed=yes
   22513 else
   22514   pkg_failed=yes
   22515 fi
   22516  else
   22517     pkg_failed=untried
   22518 fi
   22519 if test -n "$LIBNGHTTP2_LIBS"; then
   22520     pkg_cv_LIBNGHTTP2_LIBS="$LIBNGHTTP2_LIBS"
   22521  elif test -n "$PKG_CONFIG"; then
   22522     if test -n "$PKG_CONFIG" && \
   22523     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnghttp2 >= 1.6.0\""; } >&5
   22524   ($PKG_CONFIG --exists --print-errors "libnghttp2 >= 1.6.0") 2>&5
   22525   ac_status=$?
   22526   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22527   test $ac_status = 0; }; then
   22528   pkg_cv_LIBNGHTTP2_LIBS=`$PKG_CONFIG --libs "libnghttp2 >= 1.6.0" 2>/dev/null`
   22529 		      test "x$?" != "x0" && pkg_failed=yes
   22530 else
   22531   pkg_failed=yes
   22532 fi
   22533  else
   22534     pkg_failed=untried
   22535 fi
   22536 
   22537 
   22538 
   22539 if test $pkg_failed = yes; then
   22540         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22541 printf "%s\n" "no" >&6; }
   22542 
   22543 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22544         _pkg_short_errors_supported=yes
   22545 else
   22546         _pkg_short_errors_supported=no
   22547 fi
   22548         if test $_pkg_short_errors_supported = yes; then
   22549                 LIBNGHTTP2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnghttp2 >= 1.6.0" 2>&1`
   22550         else
   22551                 LIBNGHTTP2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnghttp2 >= 1.6.0" 2>&1`
   22552         fi
   22553         # Put the nasty error message in config.log where it belongs
   22554         echo "$LIBNGHTTP2_PKG_ERRORS" >&5
   22555 
   22556         as_fn_error $? "DNS-over-HTTPS support requested, but libnghttp2 not found. Either install libnghttp2 or use --disable-doh." "$LINENO" 5
   22557 elif test $pkg_failed = untried; then
   22558         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22559 printf "%s\n" "no" >&6; }
   22560         as_fn_error $? "DNS-over-HTTPS support requested, but libnghttp2 not found. Either install libnghttp2 or use --disable-doh." "$LINENO" 5
   22561 else
   22562         LIBNGHTTP2_CFLAGS=$pkg_cv_LIBNGHTTP2_CFLAGS
   22563         LIBNGHTTP2_LIBS=$pkg_cv_LIBNGHTTP2_LIBS
   22564         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22565 printf "%s\n" "yes" >&6; }
   22566 
   22567 printf "%s\n" "#define HAVE_LIBNGHTTP2 1" >>confdefs.h
   22568 
   22569 fi ;; #(
   22570   *) :
   22571     as_fn_error $? "Specifying libnghttp2 installation path is not supported, adjust PKG_CONFIG_PATH instead" "$LINENO" 5 ;;
   22572 esac
   22573 fi
   22574 
   22575  if test -n "$LIBNGHTTP2_LIBS"; then
   22576   HAVE_LIBNGHTTP2_TRUE=
   22577   HAVE_LIBNGHTTP2_FALSE='#'
   22578 else
   22579   HAVE_LIBNGHTTP2_TRUE='#'
   22580   HAVE_LIBNGHTTP2_FALSE=
   22581 fi
   22582 
   22583 
   22584 
   22585 #
   22586 # flockfile is usually provided by pthreads
   22587 #
   22588 ac_fn_c_check_func "$LINENO" "flockfile" "ac_cv_func_flockfile"
   22589 if test "x$ac_cv_func_flockfile" = xyes
   22590 then :
   22591   printf "%s\n" "#define HAVE_FLOCKFILE 1" >>confdefs.h
   22592 
   22593 fi
   22594 ac_fn_c_check_func "$LINENO" "getc_unlocked" "ac_cv_func_getc_unlocked"
   22595 if test "x$ac_cv_func_getc_unlocked" = xyes
   22596 then :
   22597   printf "%s\n" "#define HAVE_GETC_UNLOCKED 1" >>confdefs.h
   22598 
   22599 fi
   22600 
   22601 
   22602 #
   22603 # Look for sysconf or other ways to allow detection of the number of processors.
   22604 #
   22605 ac_fn_c_check_func "$LINENO" "sysconf" "ac_cv_func_sysconf"
   22606 if test "x$ac_cv_func_sysconf" = xyes
   22607 then :
   22608   printf "%s\n" "#define HAVE_SYSCONF 1" >>confdefs.h
   22609 
   22610 fi
   22611 
   22612 ac_fn_c_check_func "$LINENO" "sysconf" "ac_cv_func_sysconf"
   22613 if test "x$ac_cv_func_sysconf" = xyes
   22614 then :
   22615   printf "%s\n" "#define HAVE_SYSCONF 1" >>confdefs.h
   22616 
   22617 fi
   22618 ac_fn_c_check_func "$LINENO" "sched_getaffinity" "ac_cv_func_sched_getaffinity"
   22619 if test "x$ac_cv_func_sched_getaffinity" = xyes
   22620 then :
   22621   printf "%s\n" "#define HAVE_SCHED_GETAFFINITY 1" >>confdefs.h
   22622 
   22623 fi
   22624 ac_fn_c_check_func "$LINENO" "cpuset_getaffinity" "ac_cv_func_cpuset_getaffinity"
   22625 if test "x$ac_cv_func_cpuset_getaffinity" = xyes
   22626 then :
   22627   printf "%s\n" "#define HAVE_CPUSET_GETAFFINITY 1" >>confdefs.h
   22628 
   22629 fi
   22630 
   22631 ac_fn_c_check_header_compile "$LINENO" "sys/cpuset.h" "ac_cv_header_sys_cpuset_h" "$ac_includes_default
   22632 		  #ifdef HAVE_SYS_PARAM_H
   22633 		  # include <sys/param.h>
   22634 		  #endif
   22635 
   22636 "
   22637 if test "x$ac_cv_header_sys_cpuset_h" = xyes
   22638 then :
   22639   printf "%s\n" "#define HAVE_SYS_CPUSET_H 1" >>confdefs.h
   22640 
   22641 fi
   22642 
   22643 
   22644 #
   22645 # Do we want to use pthread rwlock?
   22646 #
   22647 # [pairwise: --enable-pthread-rwlock, --disable-pthread-rwlock]
   22648 # Check whether --enable-pthread_rwlock was given.
   22649 if test ${enable_pthread_rwlock+y}
   22650 then :
   22651   enableval=$enable_pthread_rwlock;
   22652 else case e in #(
   22653   e) enable_pthread_rwlock=no ;;
   22654 esac
   22655 fi
   22656 
   22657 
   22658 if test "$enable_pthread_rwlock" = "yes"
   22659 then :
   22660 
   22661   for ac_func in pthread_rwlock_rdlock
   22662 do :
   22663   ac_fn_c_check_func "$LINENO" "pthread_rwlock_rdlock" "ac_cv_func_pthread_rwlock_rdlock"
   22664 if test "x$ac_cv_func_pthread_rwlock_rdlock" = xyes
   22665 then :
   22666   printf "%s\n" "#define HAVE_PTHREAD_RWLOCK_RDLOCK 1" >>confdefs.h
   22667 
   22668 else case e in #(
   22669   e) as_fn_error $? "pthread_rwlock_rdlock requested but not found" "$LINENO" 5 ;;
   22670 esac
   22671 fi
   22672 
   22673 done
   22674 
   22675 printf "%s\n" "#define USE_PTHREAD_RWLOCK 1" >>confdefs.h
   22676 
   22677 
   22678 fi
   22679  if test "$enable_pthread_rwlock" != "yes"; then
   22680   USE_ISC_RWLOCK_TRUE=
   22681   USE_ISC_RWLOCK_FALSE='#'
   22682 else
   22683   USE_ISC_RWLOCK_TRUE='#'
   22684   USE_ISC_RWLOCK_FALSE=
   22685 fi
   22686 
   22687 
   22688 ac_func=
   22689 for ac_item in $ac_func_c_list
   22690 do
   22691   if test $ac_func; then
   22692     ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func
   22693     if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
   22694       echo "#define $ac_item 1" >> confdefs.h
   22695     fi
   22696     ac_func=
   22697   else
   22698     ac_func=$ac_item
   22699   fi
   22700 done
   22701 
   22702 
   22703 #
   22704 # OpenSSL/LibreSSL is mandatory
   22705 #
   22706 
   22707 pkg_failed=no
   22708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libssl libcrypto" >&5
   22709 printf %s "checking for libssl libcrypto... " >&6; }
   22710 
   22711 if test -n "$OPENSSL_CFLAGS"; then
   22712     pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS"
   22713  elif test -n "$PKG_CONFIG"; then
   22714     if test -n "$PKG_CONFIG" && \
   22715     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libssl libcrypto\""; } >&5
   22716   ($PKG_CONFIG --exists --print-errors "libssl libcrypto") 2>&5
   22717   ac_status=$?
   22718   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22719   test $ac_status = 0; }; then
   22720   pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "libssl libcrypto" 2>/dev/null`
   22721 		      test "x$?" != "x0" && pkg_failed=yes
   22722 else
   22723   pkg_failed=yes
   22724 fi
   22725  else
   22726     pkg_failed=untried
   22727 fi
   22728 if test -n "$OPENSSL_LIBS"; then
   22729     pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS"
   22730  elif test -n "$PKG_CONFIG"; then
   22731     if test -n "$PKG_CONFIG" && \
   22732     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libssl libcrypto\""; } >&5
   22733   ($PKG_CONFIG --exists --print-errors "libssl libcrypto") 2>&5
   22734   ac_status=$?
   22735   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22736   test $ac_status = 0; }; then
   22737   pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "libssl libcrypto" 2>/dev/null`
   22738 		      test "x$?" != "x0" && pkg_failed=yes
   22739 else
   22740   pkg_failed=yes
   22741 fi
   22742  else
   22743     pkg_failed=untried
   22744 fi
   22745 
   22746 
   22747 
   22748 if test $pkg_failed = yes; then
   22749         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22750 printf "%s\n" "no" >&6; }
   22751 
   22752 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22753         _pkg_short_errors_supported=yes
   22754 else
   22755         _pkg_short_errors_supported=no
   22756 fi
   22757         if test $_pkg_short_errors_supported = yes; then
   22758                 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libssl libcrypto" 2>&1`
   22759         else
   22760                 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libssl libcrypto" 2>&1`
   22761         fi
   22762         # Put the nasty error message in config.log where it belongs
   22763         echo "$OPENSSL_PKG_ERRORS" >&5
   22764 
   22765 
   22766     found=false
   22767     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   22768 printf %s "checking for a sed that does not truncate output... " >&6; }
   22769 if test ${ac_cv_path_SED+y}
   22770 then :
   22771   printf %s "(cached) " >&6
   22772 else case e in #(
   22773   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   22774      for ac_i in 1 2 3 4 5 6 7; do
   22775        ac_script="$ac_script$as_nl$ac_script"
   22776      done
   22777      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   22778      { ac_script=; unset ac_script;}
   22779      if test -z "$SED"; then
   22780   ac_path_SED_found=false
   22781   # Loop through the user's path and test for each of PROGNAME-LIST
   22782   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22783 for as_dir in $PATH
   22784 do
   22785   IFS=$as_save_IFS
   22786   case $as_dir in #(((
   22787     '') as_dir=./ ;;
   22788     */) ;;
   22789     *) as_dir=$as_dir/ ;;
   22790   esac
   22791     for ac_prog in sed gsed
   22792    do
   22793     for ac_exec_ext in '' $ac_executable_extensions; do
   22794       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   22795       as_fn_executable_p "$ac_path_SED" || continue
   22796 # Check for GNU ac_path_SED and select it if it is found.
   22797   # Check for GNU $ac_path_SED
   22798 case `"$ac_path_SED" --version 2>&1` in #(
   22799 *GNU*)
   22800   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   22801 #(
   22802 *)
   22803   ac_count=0
   22804   printf %s 0123456789 >"conftest.in"
   22805   while :
   22806   do
   22807     cat "conftest.in" "conftest.in" >"conftest.tmp"
   22808     mv "conftest.tmp" "conftest.in"
   22809     cp "conftest.in" "conftest.nl"
   22810     printf "%s\n" '' >> "conftest.nl"
   22811     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   22812     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   22813     as_fn_arith $ac_count + 1 && ac_count=$as_val
   22814     if test $ac_count -gt ${ac_path_SED_max-0}; then
   22815       # Best one so far, save it but keep looking for a better one
   22816       ac_cv_path_SED="$ac_path_SED"
   22817       ac_path_SED_max=$ac_count
   22818     fi
   22819     # 10*(2^10) chars as input seems more than enough
   22820     test $ac_count -gt 10 && break
   22821   done
   22822   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   22823 esac
   22824 
   22825       $ac_path_SED_found && break 3
   22826     done
   22827   done
   22828   done
   22829 IFS=$as_save_IFS
   22830   if test -z "$ac_cv_path_SED"; then
   22831     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   22832   fi
   22833 else
   22834   ac_cv_path_SED=$SED
   22835 fi
   22836  ;;
   22837 esac
   22838 fi
   22839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   22840 printf "%s\n" "$ac_cv_path_SED" >&6; }
   22841  SED="$ac_cv_path_SED"
   22842   rm -f conftest.sed
   22843 
   22844 
   22845 # Check whether --with-openssl was given.
   22846 if test ${with_openssl+y}
   22847 then :
   22848   withval=$with_openssl;
   22849             case "$withval" in
   22850             "" | y | ye | yes | n | no)
   22851             as_fn_error $? "Invalid --with-openssl value" "$LINENO" 5
   22852               ;;
   22853             *) ssldirs="$withval"
   22854               ;;
   22855             esac
   22856 
   22857 else case e in #(
   22858   e)
   22859             # if pkg-config is installed and openssl has installed a .pc file,
   22860             # then use that information and don't search ssldirs
   22861             if test -n "$ac_tool_prefix"; then
   22862   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   22863 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   22864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22865 printf %s "checking for $ac_word... " >&6; }
   22866 if test ${ac_cv_prog_PKG_CONFIG+y}
   22867 then :
   22868   printf %s "(cached) " >&6
   22869 else case e in #(
   22870   e) if test -n "$PKG_CONFIG"; then
   22871   ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
   22872 else
   22873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22874 for as_dir in $PATH
   22875 do
   22876   IFS=$as_save_IFS
   22877   case $as_dir in #(((
   22878     '') as_dir=./ ;;
   22879     */) ;;
   22880     *) as_dir=$as_dir/ ;;
   22881   esac
   22882     for ac_exec_ext in '' $ac_executable_extensions; do
   22883   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22884     ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
   22885     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22886     break 2
   22887   fi
   22888 done
   22889   done
   22890 IFS=$as_save_IFS
   22891 
   22892 fi ;;
   22893 esac
   22894 fi
   22895 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
   22896 if test -n "$PKG_CONFIG"; then
   22897   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   22898 printf "%s\n" "$PKG_CONFIG" >&6; }
   22899 else
   22900   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22901 printf "%s\n" "no" >&6; }
   22902 fi
   22903 
   22904 
   22905 fi
   22906 if test -z "$ac_cv_prog_PKG_CONFIG"; then
   22907   ac_ct_PKG_CONFIG=$PKG_CONFIG
   22908   # Extract the first word of "pkg-config", so it can be a program name with args.
   22909 set dummy pkg-config; ac_word=$2
   22910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22911 printf %s "checking for $ac_word... " >&6; }
   22912 if test ${ac_cv_prog_ac_ct_PKG_CONFIG+y}
   22913 then :
   22914   printf %s "(cached) " >&6
   22915 else case e in #(
   22916   e) if test -n "$ac_ct_PKG_CONFIG"; then
   22917   ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
   22918 else
   22919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22920 for as_dir in $PATH
   22921 do
   22922   IFS=$as_save_IFS
   22923   case $as_dir in #(((
   22924     '') as_dir=./ ;;
   22925     */) ;;
   22926     *) as_dir=$as_dir/ ;;
   22927   esac
   22928     for ac_exec_ext in '' $ac_executable_extensions; do
   22929   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22930     ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
   22931     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22932     break 2
   22933   fi
   22934 done
   22935   done
   22936 IFS=$as_save_IFS
   22937 
   22938 fi ;;
   22939 esac
   22940 fi
   22941 ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
   22942 if test -n "$ac_ct_PKG_CONFIG"; then
   22943   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
   22944 printf "%s\n" "$ac_ct_PKG_CONFIG" >&6; }
   22945 else
   22946   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22947 printf "%s\n" "no" >&6; }
   22948 fi
   22949 
   22950   if test "x$ac_ct_PKG_CONFIG" = x; then
   22951     PKG_CONFIG=""
   22952   else
   22953     case $cross_compiling:$ac_tool_warned in
   22954 yes:)
   22955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   22956 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   22957 ac_tool_warned=yes ;;
   22958 esac
   22959     PKG_CONFIG=$ac_ct_PKG_CONFIG
   22960   fi
   22961 else
   22962   PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
   22963 fi
   22964 
   22965             if test x"$PKG_CONFIG" != x""; then
   22966                 OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null`
   22967                 if test $? = 0; then
   22968                     OPENSSL_LIBS=`$PKG_CONFIG openssl --libs-only-l 2>/dev/null`
   22969                     OPENSSL_CFLAGS=`$PKG_CONFIG openssl --cflags-only-I 2>/dev/null`
   22970                     OPENSSL_VERSION=`$PKG_CONFIG openssl --modversion 2>/dev/null`
   22971                     found=true
   22972                 fi
   22973             fi
   22974 
   22975             # no such luck; use some default ssldirs
   22976             if ! $found; then
   22977                 ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
   22978             fi
   22979 
   22980          ;;
   22981 esac
   22982 fi
   22983 
   22984 
   22985 
   22986     # note that we #include <openssl/foo.h>, so the OpenSSL headers have to be in
   22987     # an 'openssl' subdirectory
   22988 
   22989     if ! $found; then
   22990         OPENSSL_CFLAGS=
   22991         for ssldir in $ssldirs; do
   22992             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for include/openssl/ssl.h in $ssldir" >&5
   22993 printf %s "checking for include/openssl/ssl.h in $ssldir... " >&6; }
   22994             if test -f "$ssldir/include/openssl/ssl.h"; then
   22995                 OPENSSL_CFLAGS="-I$ssldir/include"
   22996                 OPENSSL_LDFLAGS="-L$ssldir/lib"
   22997                 OPENSSL_LIBS="-lssl -lcrypto"
   22998                 OPENSSL_VERSION=`$SED -ne 's/.*OPENSSL_VERSION_STR^"*"\(^"*\)".*/\1/p;' $ssldir/include/openssl/opensslv.h`
   22999                 if test -z "$OPENSSL_VERSION"; then
   23000                   OPENSSL_VERSION=`$SED -ne 's/.*OPENSSL_VERSION_TEXT^"*"\(^"*\)".*/\1/p;' $ssldir/include/openssl/opensslv.h`
   23001                 fi
   23002                 found=true
   23003                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23004 printf "%s\n" "yes" >&6; }
   23005                 break
   23006             else
   23007                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23008 printf "%s\n" "no" >&6; }
   23009             fi
   23010         done
   23011 
   23012         # if the file wasn't found, well, go ahead and try the link anyway -- maybe
   23013         # it will just work!
   23014     fi
   23015 
   23016     # try the preprocessor and linker with our new flags,
   23017     # being careful not to pollute the global LIBS, LDFLAGS, and CPPFLAGS
   23018 
   23019     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiling and linking against OpenSSL works" >&5
   23020 printf %s "checking whether compiling and linking against OpenSSL works... " >&6; }
   23021     echo "Trying link with OPENSSL_LDFLAGS=$OPENSSL_LDFLAGS;" \
   23022         "OPENSSL_LIBS=$OPENSSL_LIBS; OPENSSL_CFLAGS=$OPENSSL_CFLAGS" >&5
   23023 
   23024     save_LIBS="$LIBS"
   23025     save_LDFLAGS="$LDFLAGS"
   23026     save_CPPFLAGS="$CPPFLAGS"
   23027     LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS"
   23028     LIBS="$OPENSSL_LIBS $LIBS"
   23029     CPPFLAGS="$OPENSSL_CFLAGS $CPPFLAGS"
   23030     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23031 /* end confdefs.h.  */
   23032 #include <openssl/ssl.h>
   23033 int
   23034 main (void)
   23035 {
   23036 SSL_new(NULL)
   23037   ;
   23038   return 0;
   23039 }
   23040 _ACEOF
   23041 if ac_fn_c_try_link "$LINENO"
   23042 then :
   23043 
   23044             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23045 printf "%s\n" "yes" >&6; }
   23046             :
   23047 
   23048 else case e in #(
   23049   e)
   23050             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23051 printf "%s\n" "no" >&6; }
   23052             { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   23053 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   23054 as_fn_error $? "OpenSSL/LibreSSL not found
   23055 See 'config.log' for more details" "$LINENO" 5; }
   23056          ;;
   23057 esac
   23058 fi
   23059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23060     conftest$ac_exeext conftest.$ac_ext
   23061     CPPFLAGS="$save_CPPFLAGS"
   23062     LDFLAGS="$save_LDFLAGS"
   23063     LIBS="$save_LIBS"
   23064 
   23065 
   23066 
   23067 
   23068 
   23069 
   23070 elif test $pkg_failed = untried; then
   23071         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23072 printf "%s\n" "no" >&6; }
   23073 
   23074     found=false
   23075     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   23076 printf %s "checking for a sed that does not truncate output... " >&6; }
   23077 if test ${ac_cv_path_SED+y}
   23078 then :
   23079   printf %s "(cached) " >&6
   23080 else case e in #(
   23081   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   23082      for ac_i in 1 2 3 4 5 6 7; do
   23083        ac_script="$ac_script$as_nl$ac_script"
   23084      done
   23085      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   23086      { ac_script=; unset ac_script;}
   23087      if test -z "$SED"; then
   23088   ac_path_SED_found=false
   23089   # Loop through the user's path and test for each of PROGNAME-LIST
   23090   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23091 for as_dir in $PATH
   23092 do
   23093   IFS=$as_save_IFS
   23094   case $as_dir in #(((
   23095     '') as_dir=./ ;;
   23096     */) ;;
   23097     *) as_dir=$as_dir/ ;;
   23098   esac
   23099     for ac_prog in sed gsed
   23100    do
   23101     for ac_exec_ext in '' $ac_executable_extensions; do
   23102       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   23103       as_fn_executable_p "$ac_path_SED" || continue
   23104 # Check for GNU ac_path_SED and select it if it is found.
   23105   # Check for GNU $ac_path_SED
   23106 case `"$ac_path_SED" --version 2>&1` in #(
   23107 *GNU*)
   23108   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   23109 #(
   23110 *)
   23111   ac_count=0
   23112   printf %s 0123456789 >"conftest.in"
   23113   while :
   23114   do
   23115     cat "conftest.in" "conftest.in" >"conftest.tmp"
   23116     mv "conftest.tmp" "conftest.in"
   23117     cp "conftest.in" "conftest.nl"
   23118     printf "%s\n" '' >> "conftest.nl"
   23119     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   23120     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   23121     as_fn_arith $ac_count + 1 && ac_count=$as_val
   23122     if test $ac_count -gt ${ac_path_SED_max-0}; then
   23123       # Best one so far, save it but keep looking for a better one
   23124       ac_cv_path_SED="$ac_path_SED"
   23125       ac_path_SED_max=$ac_count
   23126     fi
   23127     # 10*(2^10) chars as input seems more than enough
   23128     test $ac_count -gt 10 && break
   23129   done
   23130   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   23131 esac
   23132 
   23133       $ac_path_SED_found && break 3
   23134     done
   23135   done
   23136   done
   23137 IFS=$as_save_IFS
   23138   if test -z "$ac_cv_path_SED"; then
   23139     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   23140   fi
   23141 else
   23142   ac_cv_path_SED=$SED
   23143 fi
   23144  ;;
   23145 esac
   23146 fi
   23147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   23148 printf "%s\n" "$ac_cv_path_SED" >&6; }
   23149  SED="$ac_cv_path_SED"
   23150   rm -f conftest.sed
   23151 
   23152 
   23153 # Check whether --with-openssl was given.
   23154 if test ${with_openssl+y}
   23155 then :
   23156   withval=$with_openssl;
   23157             case "$withval" in
   23158             "" | y | ye | yes | n | no)
   23159             as_fn_error $? "Invalid --with-openssl value" "$LINENO" 5
   23160               ;;
   23161             *) ssldirs="$withval"
   23162               ;;
   23163             esac
   23164 
   23165 else case e in #(
   23166   e)
   23167             # if pkg-config is installed and openssl has installed a .pc file,
   23168             # then use that information and don't search ssldirs
   23169             if test -n "$ac_tool_prefix"; then
   23170   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   23171 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   23172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   23173 printf %s "checking for $ac_word... " >&6; }
   23174 if test ${ac_cv_prog_PKG_CONFIG+y}
   23175 then :
   23176   printf %s "(cached) " >&6
   23177 else case e in #(
   23178   e) if test -n "$PKG_CONFIG"; then
   23179   ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
   23180 else
   23181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23182 for as_dir in $PATH
   23183 do
   23184   IFS=$as_save_IFS
   23185   case $as_dir in #(((
   23186     '') as_dir=./ ;;
   23187     */) ;;
   23188     *) as_dir=$as_dir/ ;;
   23189   esac
   23190     for ac_exec_ext in '' $ac_executable_extensions; do
   23191   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   23192     ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
   23193     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   23194     break 2
   23195   fi
   23196 done
   23197   done
   23198 IFS=$as_save_IFS
   23199 
   23200 fi ;;
   23201 esac
   23202 fi
   23203 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
   23204 if test -n "$PKG_CONFIG"; then
   23205   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   23206 printf "%s\n" "$PKG_CONFIG" >&6; }
   23207 else
   23208   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23209 printf "%s\n" "no" >&6; }
   23210 fi
   23211 
   23212 
   23213 fi
   23214 if test -z "$ac_cv_prog_PKG_CONFIG"; then
   23215   ac_ct_PKG_CONFIG=$PKG_CONFIG
   23216   # Extract the first word of "pkg-config", so it can be a program name with args.
   23217 set dummy pkg-config; ac_word=$2
   23218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   23219 printf %s "checking for $ac_word... " >&6; }
   23220 if test ${ac_cv_prog_ac_ct_PKG_CONFIG+y}
   23221 then :
   23222   printf %s "(cached) " >&6
   23223 else case e in #(
   23224   e) if test -n "$ac_ct_PKG_CONFIG"; then
   23225   ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
   23226 else
   23227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23228 for as_dir in $PATH
   23229 do
   23230   IFS=$as_save_IFS
   23231   case $as_dir in #(((
   23232     '') as_dir=./ ;;
   23233     */) ;;
   23234     *) as_dir=$as_dir/ ;;
   23235   esac
   23236     for ac_exec_ext in '' $ac_executable_extensions; do
   23237   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   23238     ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
   23239     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   23240     break 2
   23241   fi
   23242 done
   23243   done
   23244 IFS=$as_save_IFS
   23245 
   23246 fi ;;
   23247 esac
   23248 fi
   23249 ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
   23250 if test -n "$ac_ct_PKG_CONFIG"; then
   23251   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
   23252 printf "%s\n" "$ac_ct_PKG_CONFIG" >&6; }
   23253 else
   23254   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23255 printf "%s\n" "no" >&6; }
   23256 fi
   23257 
   23258   if test "x$ac_ct_PKG_CONFIG" = x; then
   23259     PKG_CONFIG=""
   23260   else
   23261     case $cross_compiling:$ac_tool_warned in
   23262 yes:)
   23263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   23264 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   23265 ac_tool_warned=yes ;;
   23266 esac
   23267     PKG_CONFIG=$ac_ct_PKG_CONFIG
   23268   fi
   23269 else
   23270   PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
   23271 fi
   23272 
   23273             if test x"$PKG_CONFIG" != x""; then
   23274                 OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null`
   23275                 if test $? = 0; then
   23276                     OPENSSL_LIBS=`$PKG_CONFIG openssl --libs-only-l 2>/dev/null`
   23277                     OPENSSL_CFLAGS=`$PKG_CONFIG openssl --cflags-only-I 2>/dev/null`
   23278                     OPENSSL_VERSION=`$PKG_CONFIG openssl --modversion 2>/dev/null`
   23279                     found=true
   23280                 fi
   23281             fi
   23282 
   23283             # no such luck; use some default ssldirs
   23284             if ! $found; then
   23285                 ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
   23286             fi
   23287 
   23288          ;;
   23289 esac
   23290 fi
   23291 
   23292 
   23293 
   23294     # note that we #include <openssl/foo.h>, so the OpenSSL headers have to be in
   23295     # an 'openssl' subdirectory
   23296 
   23297     if ! $found; then
   23298         OPENSSL_CFLAGS=
   23299         for ssldir in $ssldirs; do
   23300             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for include/openssl/ssl.h in $ssldir" >&5
   23301 printf %s "checking for include/openssl/ssl.h in $ssldir... " >&6; }
   23302             if test -f "$ssldir/include/openssl/ssl.h"; then
   23303                 OPENSSL_CFLAGS="-I$ssldir/include"
   23304                 OPENSSL_LDFLAGS="-L$ssldir/lib"
   23305                 OPENSSL_LIBS="-lssl -lcrypto"
   23306                 OPENSSL_VERSION=`$SED -ne 's/.*OPENSSL_VERSION_STR^"*"\(^"*\)".*/\1/p;' $ssldir/include/openssl/opensslv.h`
   23307                 if test -z "$OPENSSL_VERSION"; then
   23308                   OPENSSL_VERSION=`$SED -ne 's/.*OPENSSL_VERSION_TEXT^"*"\(^"*\)".*/\1/p;' $ssldir/include/openssl/opensslv.h`
   23309                 fi
   23310                 found=true
   23311                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23312 printf "%s\n" "yes" >&6; }
   23313                 break
   23314             else
   23315                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23316 printf "%s\n" "no" >&6; }
   23317             fi
   23318         done
   23319 
   23320         # if the file wasn't found, well, go ahead and try the link anyway -- maybe
   23321         # it will just work!
   23322     fi
   23323 
   23324     # try the preprocessor and linker with our new flags,
   23325     # being careful not to pollute the global LIBS, LDFLAGS, and CPPFLAGS
   23326 
   23327     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiling and linking against OpenSSL works" >&5
   23328 printf %s "checking whether compiling and linking against OpenSSL works... " >&6; }
   23329     echo "Trying link with OPENSSL_LDFLAGS=$OPENSSL_LDFLAGS;" \
   23330         "OPENSSL_LIBS=$OPENSSL_LIBS; OPENSSL_CFLAGS=$OPENSSL_CFLAGS" >&5
   23331 
   23332     save_LIBS="$LIBS"
   23333     save_LDFLAGS="$LDFLAGS"
   23334     save_CPPFLAGS="$CPPFLAGS"
   23335     LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS"
   23336     LIBS="$OPENSSL_LIBS $LIBS"
   23337     CPPFLAGS="$OPENSSL_CFLAGS $CPPFLAGS"
   23338     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23339 /* end confdefs.h.  */
   23340 #include <openssl/ssl.h>
   23341 int
   23342 main (void)
   23343 {
   23344 SSL_new(NULL)
   23345   ;
   23346   return 0;
   23347 }
   23348 _ACEOF
   23349 if ac_fn_c_try_link "$LINENO"
   23350 then :
   23351 
   23352             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23353 printf "%s\n" "yes" >&6; }
   23354             :
   23355 
   23356 else case e in #(
   23357   e)
   23358             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23359 printf "%s\n" "no" >&6; }
   23360             { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   23361 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   23362 as_fn_error $? "OpenSSL/LibreSSL not found
   23363 See 'config.log' for more details" "$LINENO" 5; }
   23364          ;;
   23365 esac
   23366 fi
   23367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23368     conftest$ac_exeext conftest.$ac_ext
   23369     CPPFLAGS="$save_CPPFLAGS"
   23370     LDFLAGS="$save_LDFLAGS"
   23371     LIBS="$save_LIBS"
   23372 
   23373 
   23374 
   23375 
   23376 
   23377 
   23378 else
   23379         OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS
   23380         OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS
   23381         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23382 printf "%s\n" "yes" >&6; }
   23383 
   23384 if test -n "$OPENSSL_VERSION"; then
   23385     pkg_cv_OPENSSL_VERSION="$OPENSSL_VERSION"
   23386  elif test -n "$PKG_CONFIG"; then
   23387     if test -n "$PKG_CONFIG" && \
   23388     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
   23389   ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
   23390   ac_status=$?
   23391   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23392   test $ac_status = 0; }; then
   23393   pkg_cv_OPENSSL_VERSION=`$PKG_CONFIG --modversion "openssl" 2>/dev/null`
   23394 		      test "x$?" != "x0" && pkg_failed=yes
   23395 else
   23396   pkg_failed=yes
   23397 fi
   23398  else
   23399     pkg_failed=untried
   23400 fi
   23401 OPENSSL_VERSION=$pkg_cv_OPENSSL_VERSION
   23402 
   23403 if test "x$OPENSSL_VERSION" = x""
   23404 then :
   23405 
   23406 fi
   23407 fi
   23408 
   23409 
   23410 
   23411   CCASFLAGS_openssl_ax_save_flags=$CCASFLAGS
   23412 
   23413 
   23414 
   23415   CFLAGS_openssl_ax_save_flags=$CFLAGS
   23416 
   23417 
   23418 
   23419   CPPFLAGS_openssl_ax_save_flags=$CPPFLAGS
   23420 
   23421 
   23422 
   23423   CXXFLAGS_openssl_ax_save_flags=$CXXFLAGS
   23424 
   23425 
   23426 
   23427   ERLCFLAGS_openssl_ax_save_flags=$ERLCFLAGS
   23428 
   23429 
   23430 
   23431   FCFLAGS_openssl_ax_save_flags=$FCFLAGS
   23432 
   23433 
   23434 
   23435   FCLIBS_openssl_ax_save_flags=$FCLIBS
   23436 
   23437 
   23438 
   23439   FFLAGS_openssl_ax_save_flags=$FFLAGS
   23440 
   23441 
   23442 
   23443   FLIBS_openssl_ax_save_flags=$FLIBS
   23444 
   23445 
   23446 
   23447   GCJFLAGS_openssl_ax_save_flags=$GCJFLAGS
   23448 
   23449 
   23450 
   23451   JAVACFLAGS_openssl_ax_save_flags=$JAVACFLAGS
   23452 
   23453 
   23454 
   23455   LDFLAGS_openssl_ax_save_flags=$LDFLAGS
   23456 
   23457 
   23458 
   23459   LIBS_openssl_ax_save_flags=$LIBS
   23460 
   23461 
   23462 
   23463   OBJCFLAGS_openssl_ax_save_flags=$OBJCFLAGS
   23464 
   23465 
   23466 
   23467   OBJCXXFLAGS_openssl_ax_save_flags=$OBJCXXFLAGS
   23468 
   23469 
   23470 
   23471   UPCFLAGS_openssl_ax_save_flags=$UPCFLAGS
   23472 
   23473 
   23474 
   23475   VALAFLAGS_openssl_ax_save_flags=$VALAFLAGS
   23476 
   23477 
   23478 
   23479 
   23480 CFLAGS="$OPENSSL_CFLAGS $CFLAGS"
   23481 LIBS="$OPENSSL_LIBS $LIBS"
   23482 
   23483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OpenSSL >= 1.0.0 or LibreSSL >= 2.7.0" >&5
   23484 printf %s "checking for OpenSSL >= 1.0.0 or LibreSSL >= 2.7.0... " >&6; }
   23485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23486 /* end confdefs.h.  */
   23487 #include <openssl/opensslv.h>
   23488 int
   23489 main (void)
   23490 {
   23491 #if (!defined(LIBRESSL_VERSION_NUMBER) && (OPENSSL_VERSION_NUMBER < 0x1000000fL)) || \\
   23492 			   (defined(LIBRESSL_VERSION_NUMBER) && (LIBRESSL_VERSION_NUMBER < 0x02070000fL))
   23493 		       #error OpenSSL >= 1.0.0 or LibreSSL >= 2.7.0 required
   23494 		       #endif
   23495 
   23496   ;
   23497   return 0;
   23498 }
   23499 _ACEOF
   23500 if ac_fn_c_try_compile "$LINENO"
   23501 then :
   23502   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23503 printf "%s\n" "yes" >&6; }
   23504 else case e in #(
   23505   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   23506 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   23507 as_fn_error $? "not found
   23508 See 'config.log' for more details" "$LINENO" 5; } ;;
   23509 esac
   23510 fi
   23511 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   23512 
   23513 #
   23514 # Check for functions added in OpenSSL or LibreSSL
   23515 #
   23516 
   23517 ac_fn_c_check_func "$LINENO" "BIO_read_ex" "ac_cv_func_BIO_read_ex"
   23518 if test "x$ac_cv_func_BIO_read_ex" = xyes
   23519 then :
   23520   printf "%s\n" "#define HAVE_BIO_READ_EX 1" >>confdefs.h
   23521 
   23522 fi
   23523 ac_fn_c_check_func "$LINENO" "BIO_write_ex" "ac_cv_func_BIO_write_ex"
   23524 if test "x$ac_cv_func_BIO_write_ex" = xyes
   23525 then :
   23526   printf "%s\n" "#define HAVE_BIO_WRITE_EX 1" >>confdefs.h
   23527 
   23528 fi
   23529 
   23530 ac_fn_c_check_func "$LINENO" "BN_GENCB_new" "ac_cv_func_BN_GENCB_new"
   23531 if test "x$ac_cv_func_BN_GENCB_new" = xyes
   23532 then :
   23533   printf "%s\n" "#define HAVE_BN_GENCB_NEW 1" >>confdefs.h
   23534 
   23535 fi
   23536 
   23537 ac_fn_c_check_func "$LINENO" "CRYPTO_zalloc" "ac_cv_func_CRYPTO_zalloc"
   23538 if test "x$ac_cv_func_CRYPTO_zalloc" = xyes
   23539 then :
   23540   printf "%s\n" "#define HAVE_CRYPTO_ZALLOC 1" >>confdefs.h
   23541 
   23542 fi
   23543 
   23544 ac_fn_c_check_func "$LINENO" "ERR_get_error_all" "ac_cv_func_ERR_get_error_all"
   23545 if test "x$ac_cv_func_ERR_get_error_all" = xyes
   23546 then :
   23547   printf "%s\n" "#define HAVE_ERR_GET_ERROR_ALL 1" >>confdefs.h
   23548 
   23549 fi
   23550 
   23551 ac_fn_c_check_func "$LINENO" "EVP_CIPHER_CTX_new" "ac_cv_func_EVP_CIPHER_CTX_new"
   23552 if test "x$ac_cv_func_EVP_CIPHER_CTX_new" = xyes
   23553 then :
   23554   printf "%s\n" "#define HAVE_EVP_CIPHER_CTX_NEW 1" >>confdefs.h
   23555 
   23556 fi
   23557 ac_fn_c_check_func "$LINENO" "EVP_CIPHER_CTX_free" "ac_cv_func_EVP_CIPHER_CTX_free"
   23558 if test "x$ac_cv_func_EVP_CIPHER_CTX_free" = xyes
   23559 then :
   23560   printf "%s\n" "#define HAVE_EVP_CIPHER_CTX_FREE 1" >>confdefs.h
   23561 
   23562 fi
   23563 
   23564 ac_fn_c_check_func "$LINENO" "EVP_MD_CTX_new" "ac_cv_func_EVP_MD_CTX_new"
   23565 if test "x$ac_cv_func_EVP_MD_CTX_new" = xyes
   23566 then :
   23567   printf "%s\n" "#define HAVE_EVP_MD_CTX_NEW 1" >>confdefs.h
   23568 
   23569 fi
   23570 ac_fn_c_check_func "$LINENO" "EVP_MD_CTX_free" "ac_cv_func_EVP_MD_CTX_free"
   23571 if test "x$ac_cv_func_EVP_MD_CTX_free" = xyes
   23572 then :
   23573   printf "%s\n" "#define HAVE_EVP_MD_CTX_FREE 1" >>confdefs.h
   23574 
   23575 fi
   23576 ac_fn_c_check_func "$LINENO" "EVP_MD_CTX_reset" "ac_cv_func_EVP_MD_CTX_reset"
   23577 if test "x$ac_cv_func_EVP_MD_CTX_reset" = xyes
   23578 then :
   23579   printf "%s\n" "#define HAVE_EVP_MD_CTX_RESET 1" >>confdefs.h
   23580 
   23581 fi
   23582 ac_fn_c_check_func "$LINENO" "EVP_MD_CTX_get0_md" "ac_cv_func_EVP_MD_CTX_get0_md"
   23583 if test "x$ac_cv_func_EVP_MD_CTX_get0_md" = xyes
   23584 then :
   23585   printf "%s\n" "#define HAVE_EVP_MD_CTX_GET0_MD 1" >>confdefs.h
   23586 
   23587 fi
   23588 
   23589 ac_fn_c_check_func "$LINENO" "EVP_PKEY_new_raw_private_key" "ac_cv_func_EVP_PKEY_new_raw_private_key"
   23590 if test "x$ac_cv_func_EVP_PKEY_new_raw_private_key" = xyes
   23591 then :
   23592   printf "%s\n" "#define HAVE_EVP_PKEY_NEW_RAW_PRIVATE_KEY 1" >>confdefs.h
   23593 
   23594 fi
   23595 ac_fn_c_check_func "$LINENO" "EVP_PKEY_eq" "ac_cv_func_EVP_PKEY_eq"
   23596 if test "x$ac_cv_func_EVP_PKEY_eq" = xyes
   23597 then :
   23598   printf "%s\n" "#define HAVE_EVP_PKEY_EQ 1" >>confdefs.h
   23599 
   23600 fi
   23601 
   23602 ac_fn_c_check_func "$LINENO" "OPENSSL_init_ssl" "ac_cv_func_OPENSSL_init_ssl"
   23603 if test "x$ac_cv_func_OPENSSL_init_ssl" = xyes
   23604 then :
   23605   printf "%s\n" "#define HAVE_OPENSSL_INIT_SSL 1" >>confdefs.h
   23606 
   23607 fi
   23608 ac_fn_c_check_func "$LINENO" "OPENSSL_init_crypto" "ac_cv_func_OPENSSL_init_crypto"
   23609 if test "x$ac_cv_func_OPENSSL_init_crypto" = xyes
   23610 then :
   23611   printf "%s\n" "#define HAVE_OPENSSL_INIT_CRYPTO 1" >>confdefs.h
   23612 
   23613 fi
   23614 ac_fn_c_check_func "$LINENO" "OPENSSL_cleanup" "ac_cv_func_OPENSSL_cleanup"
   23615 if test "x$ac_cv_func_OPENSSL_cleanup" = xyes
   23616 then :
   23617   printf "%s\n" "#define HAVE_OPENSSL_CLEANUP 1" >>confdefs.h
   23618 
   23619 fi
   23620 
   23621 ac_fn_c_check_func "$LINENO" "SSL_CTX_set_keylog_callback" "ac_cv_func_SSL_CTX_set_keylog_callback"
   23622 if test "x$ac_cv_func_SSL_CTX_set_keylog_callback" = xyes
   23623 then :
   23624   printf "%s\n" "#define HAVE_SSL_CTX_SET_KEYLOG_CALLBACK 1" >>confdefs.h
   23625 
   23626 fi
   23627 
   23628 ac_fn_c_check_func "$LINENO" "SSL_CTX_set_min_proto_version" "ac_cv_func_SSL_CTX_set_min_proto_version"
   23629 if test "x$ac_cv_func_SSL_CTX_set_min_proto_version" = xyes
   23630 then :
   23631   printf "%s\n" "#define HAVE_SSL_CTX_SET_MIN_PROTO_VERSION 1" >>confdefs.h
   23632 
   23633 fi
   23634 
   23635 ac_fn_c_check_func "$LINENO" "SSL_CTX_up_ref" "ac_cv_func_SSL_CTX_up_ref"
   23636 if test "x$ac_cv_func_SSL_CTX_up_ref" = xyes
   23637 then :
   23638   printf "%s\n" "#define HAVE_SSL_CTX_UP_REF 1" >>confdefs.h
   23639 
   23640 fi
   23641 
   23642 ac_fn_c_check_func "$LINENO" "SSL_read_ex" "ac_cv_func_SSL_read_ex"
   23643 if test "x$ac_cv_func_SSL_read_ex" = xyes
   23644 then :
   23645   printf "%s\n" "#define HAVE_SSL_READ_EX 1" >>confdefs.h
   23646 
   23647 fi
   23648 ac_fn_c_check_func "$LINENO" "SSL_peek_ex" "ac_cv_func_SSL_peek_ex"
   23649 if test "x$ac_cv_func_SSL_peek_ex" = xyes
   23650 then :
   23651   printf "%s\n" "#define HAVE_SSL_PEEK_EX 1" >>confdefs.h
   23652 
   23653 fi
   23654 ac_fn_c_check_func "$LINENO" "SSL_write_ex" "ac_cv_func_SSL_write_ex"
   23655 if test "x$ac_cv_func_SSL_write_ex" = xyes
   23656 then :
   23657   printf "%s\n" "#define HAVE_SSL_WRITE_EX 1" >>confdefs.h
   23658 
   23659 fi
   23660 
   23661 ac_fn_c_check_func "$LINENO" "SSL_CTX_set1_cert_store" "ac_cv_func_SSL_CTX_set1_cert_store"
   23662 if test "x$ac_cv_func_SSL_CTX_set1_cert_store" = xyes
   23663 then :
   23664   printf "%s\n" "#define HAVE_SSL_CTX_SET1_CERT_STORE 1" >>confdefs.h
   23665 
   23666 fi
   23667 ac_fn_c_check_func "$LINENO" "X509_STORE_up_ref" "ac_cv_func_X509_STORE_up_ref"
   23668 if test "x$ac_cv_func_X509_STORE_up_ref" = xyes
   23669 then :
   23670   printf "%s\n" "#define HAVE_X509_STORE_UP_REF 1" >>confdefs.h
   23671 
   23672 fi
   23673 
   23674 ac_fn_c_check_func "$LINENO" "SSL_CTX_up_ref" "ac_cv_func_SSL_CTX_up_ref"
   23675 if test "x$ac_cv_func_SSL_CTX_up_ref" = xyes
   23676 then :
   23677   printf "%s\n" "#define HAVE_SSL_CTX_UP_REF 1" >>confdefs.h
   23678 
   23679 fi
   23680 
   23681 ac_fn_c_check_func "$LINENO" "SSL_SESSION_is_resumable" "ac_cv_func_SSL_SESSION_is_resumable"
   23682 if test "x$ac_cv_func_SSL_SESSION_is_resumable" = xyes
   23683 then :
   23684   printf "%s\n" "#define HAVE_SSL_SESSION_IS_RESUMABLE 1" >>confdefs.h
   23685 
   23686 fi
   23687 
   23688 ac_fn_c_check_func "$LINENO" "SSL_CTX_set_ciphersuites" "ac_cv_func_SSL_CTX_set_ciphersuites"
   23689 if test "x$ac_cv_func_SSL_CTX_set_ciphersuites" = xyes
   23690 then :
   23691   printf "%s\n" "#define HAVE_SSL_CTX_SET_CIPHERSUITES 1" >>confdefs.h
   23692 
   23693 fi
   23694 
   23695 
   23696 #
   23697 # Check for algorithm support in OpenSSL
   23698 #
   23699 
   23700 
   23701   for ac_func in EVP_DigestSignInit EVP_DigestVerifyInit
   23702 do :
   23703   as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | sed "$as_sed_sh"`
   23704 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   23705 if eval test \"x\$"$as_ac_var"\" = x"yes"
   23706 then :
   23707   cat >>confdefs.h <<_ACEOF
   23708 #define `printf "%s\n" "HAVE_$ac_func" | sed "$as_sed_cpp"` 1
   23709 _ACEOF
   23710  :
   23711 else case e in #(
   23712   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   23713 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   23714 as_fn_error $? "EVP_DigestSignInit/EVP_DigestVerifyInit support in OpenSSL is mandatory.
   23715 See 'config.log' for more details" "$LINENO" 5; } ;;
   23716 esac
   23717 fi
   23718 
   23719 done
   23720 
   23721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ECDSA P-256 support" >&5
   23722 printf %s "checking for ECDSA P-256 support... " >&6; }
   23723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23724 /* end confdefs.h.  */
   23725 #include <openssl/evp.h>
   23726 int
   23727 main (void)
   23728 {
   23729 EVP_PKEY_CTX *kctx = EVP_PKEY_CTX_new_id(NID_X9_62_prime256v1, NULL);
   23730   ;
   23731   return 0;
   23732 }
   23733 _ACEOF
   23734 if ac_fn_c_try_compile "$LINENO"
   23735 then :
   23736   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23737 printf "%s\n" "yes" >&6; }
   23738 else case e in #(
   23739   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   23740 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   23741 as_fn_error $? "not found.  ECDSA P-256 support in OpenSSL is mandatory.
   23742 See 'config.log' for more details" "$LINENO" 5; } ;;
   23743 esac
   23744 fi
   23745 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   23746 
   23747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ECDSA P-384 support" >&5
   23748 printf %s "checking for ECDSA P-384 support... " >&6; }
   23749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23750 /* end confdefs.h.  */
   23751 #include <openssl/evp.h>
   23752 int
   23753 main (void)
   23754 {
   23755 EVP_PKEY_CTX *kctx = EVP_PKEY_CTX_new_id(NID_secp384r1, NULL);
   23756   ;
   23757   return 0;
   23758 }
   23759 _ACEOF
   23760 if ac_fn_c_try_compile "$LINENO"
   23761 then :
   23762   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23763 printf "%s\n" "yes" >&6; }
   23764 else case e in #(
   23765   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   23766 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   23767 as_fn_error $? "not found.  ECDSA P-384 support in OpenSSL is mandatory.
   23768 See 'config.log' for more details" "$LINENO" 5; } ;;
   23769 esac
   23770 fi
   23771 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   23772 
   23773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Ed25519 support" >&5
   23774 printf %s "checking for Ed25519 support... " >&6; }
   23775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23776 /* end confdefs.h.  */
   23777 #include <openssl/evp.h>
   23778 int
   23779 main (void)
   23780 {
   23781 EVP_PKEY_CTX *kctx = EVP_PKEY_CTX_new_id(NID_ED25519, NULL);
   23782   ;
   23783   return 0;
   23784 }
   23785 _ACEOF
   23786 if ac_fn_c_try_compile "$LINENO"
   23787 then :
   23788 
   23789 printf "%s\n" "#define HAVE_OPENSSL_ED25519 1" >>confdefs.h
   23790 
   23791      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23792 printf "%s\n" "yes" >&6; }
   23793 else case e in #(
   23794   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23795 printf "%s\n" "no" >&6; } ;;
   23796 esac
   23797 fi
   23798 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   23799 
   23800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Ed448 support" >&5
   23801 printf %s "checking for Ed448 support... " >&6; }
   23802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23803 /* end confdefs.h.  */
   23804 #include <openssl/evp.h>
   23805 int
   23806 main (void)
   23807 {
   23808 EVP_PKEY_CTX *kctx = EVP_PKEY_CTX_new_id(NID_ED448, NULL);
   23809   ;
   23810   return 0;
   23811 }
   23812 _ACEOF
   23813 if ac_fn_c_try_compile "$LINENO"
   23814 then :
   23815 
   23816 printf "%s\n" "#define HAVE_OPENSSL_ED448 1" >>confdefs.h
   23817 
   23818      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23819 printf "%s\n" "yes" >&6; }
   23820 else case e in #(
   23821   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23822 printf "%s\n" "no" >&6; } ;;
   23823 esac
   23824 fi
   23825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   23826 
   23827 #
   23828 # Check for OpenSSL SHA-1 support
   23829 #
   23830 
   23831   for ac_func in EVP_sha1
   23832 do :
   23833   ac_fn_c_check_func "$LINENO" "EVP_sha1" "ac_cv_func_EVP_sha1"
   23834 if test "x$ac_cv_func_EVP_sha1" = xyes
   23835 then :
   23836   printf "%s\n" "#define HAVE_EVP_SHA1 1" >>confdefs.h
   23837  :
   23838 else case e in #(
   23839   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   23840 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   23841 as_fn_error $? "SHA-1 support in OpenSSL is mandatory.
   23842 See 'config.log' for more details" "$LINENO" 5; } ;;
   23843 esac
   23844 fi
   23845 
   23846 done
   23847 
   23848 #
   23849 # Check for OpenSSL SHA-2 support
   23850 #
   23851 
   23852   for ac_func in EVP_sha224 EVP_sha256 EVP_sha384 EVP_sha512
   23853 do :
   23854   as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | sed "$as_sed_sh"`
   23855 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   23856 if eval test \"x\$"$as_ac_var"\" = x"yes"
   23857 then :
   23858   cat >>confdefs.h <<_ACEOF
   23859 #define `printf "%s\n" "HAVE_$ac_func" | sed "$as_sed_cpp"` 1
   23860 _ACEOF
   23861  :
   23862 else case e in #(
   23863   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   23864 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   23865 as_fn_error $? "SHA-2 support in OpenSSL is mandatory.
   23866 See 'config.log' for more details" "$LINENO" 5; } ;;
   23867 esac
   23868 fi
   23869 
   23870 done
   23871 
   23872 #
   23873 # Check for OpenSSL 1.1.x/LibreSSL functions
   23874 #
   23875 ac_fn_c_check_func "$LINENO" "ECDSA_SIG_get0" "ac_cv_func_ECDSA_SIG_get0"
   23876 if test "x$ac_cv_func_ECDSA_SIG_get0" = xyes
   23877 then :
   23878   printf "%s\n" "#define HAVE_ECDSA_SIG_GET0 1" >>confdefs.h
   23879 
   23880 fi
   23881 ac_fn_c_check_func "$LINENO" "EVP_PKEY_get0_EC_KEY" "ac_cv_func_EVP_PKEY_get0_EC_KEY"
   23882 if test "x$ac_cv_func_EVP_PKEY_get0_EC_KEY" = xyes
   23883 then :
   23884   printf "%s\n" "#define HAVE_EVP_PKEY_GET0_EC_KEY 1" >>confdefs.h
   23885 
   23886 fi
   23887 
   23888 ac_fn_c_check_func "$LINENO" "RSA_set0_key" "ac_cv_func_RSA_set0_key"
   23889 if test "x$ac_cv_func_RSA_set0_key" = xyes
   23890 then :
   23891   printf "%s\n" "#define HAVE_RSA_SET0_KEY 1" >>confdefs.h
   23892 
   23893 fi
   23894 ac_fn_c_check_func "$LINENO" "EVP_PKEY_get0_RSA" "ac_cv_func_EVP_PKEY_get0_RSA"
   23895 if test "x$ac_cv_func_EVP_PKEY_get0_RSA" = xyes
   23896 then :
   23897   printf "%s\n" "#define HAVE_EVP_PKEY_GET0_RSA 1" >>confdefs.h
   23898 
   23899 fi
   23900 
   23901 
   23902 ac_fn_c_check_func "$LINENO" "TLS_server_method" "ac_cv_func_TLS_server_method"
   23903 if test "x$ac_cv_func_TLS_server_method" = xyes
   23904 then :
   23905   printf "%s\n" "#define HAVE_TLS_SERVER_METHOD 1" >>confdefs.h
   23906 
   23907 fi
   23908 ac_fn_c_check_func "$LINENO" "TLS_client_method" "ac_cv_func_TLS_client_method"
   23909 if test "x$ac_cv_func_TLS_client_method" = xyes
   23910 then :
   23911   printf "%s\n" "#define HAVE_TLS_CLIENT_METHOD 1" >>confdefs.h
   23912 
   23913 fi
   23914 
   23915 
   23916 #
   23917 # Check whether FIPS mode is available and whether we should enable it
   23918 #
   23919 # FIPS is not included in pairwise testing as the relevant Docker image
   23920 # does not support FIPS mode.
   23921 #
   23922 ac_fn_c_check_func "$LINENO" "EVP_default_properties_enable_fips" "ac_cv_func_EVP_default_properties_enable_fips"
   23923 if test "x$ac_cv_func_EVP_default_properties_enable_fips" = xyes
   23924 then :
   23925   printf "%s\n" "#define HAVE_EVP_DEFAULT_PROPERTIES_ENABLE_FIPS 1" >>confdefs.h
   23926 
   23927 fi
   23928 ac_fn_c_check_func "$LINENO" "FIPS_mode" "ac_cv_func_FIPS_mode"
   23929 if test "x$ac_cv_func_FIPS_mode" = xyes
   23930 then :
   23931   printf "%s\n" "#define HAVE_FIPS_MODE 1" >>confdefs.h
   23932 
   23933 fi
   23934 
   23935 
   23936 # [pairwise: skip]
   23937 # Check whether --enable-fips-mode was given.
   23938 if test ${enable_fips_mode+y}
   23939 then :
   23940   enableval=$enable_fips_mode;
   23941 else case e in #(
   23942   e) enable_fips_mode="no" ;;
   23943 esac
   23944 fi
   23945 
   23946 
   23947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable FIPS mode in OpenSSL library" >&5
   23948 printf %s "checking whether to enable FIPS mode in OpenSSL library... " >&6; }
   23949 case $enable_fips_mode in #(
   23950   yes) :
   23951     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23952 printf "%s\n" "yes" >&6; }
   23953 
   23954 printf "%s\n" "#define ENABLE_FIPS_MODE 1" >>confdefs.h
   23955 
   23956 		if test "x$ac_cv_func_FIPS_mode" != xyes -a "x$ac_cv_func_EVP_default_properties_enable_fips" != xyes
   23957 then :
   23958   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   23959 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   23960 as_fn_error $? "OpenSSL FIPS mode requested but not available.
   23961 See 'config.log' for more details" "$LINENO" 5; }
   23962 fi ;; #(
   23963   no) :
   23964     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23965 printf "%s\n" "no" >&6; } ;; #(
   23966   *) :
   23967      ;;
   23968 esac
   23969 
   23970 
   23971   CCASFLAGS=$CCASFLAGS_openssl_ax_save_flags
   23972 
   23973 
   23974   CFLAGS=$CFLAGS_openssl_ax_save_flags
   23975 
   23976 
   23977   CPPFLAGS=$CPPFLAGS_openssl_ax_save_flags
   23978 
   23979 
   23980   CXXFLAGS=$CXXFLAGS_openssl_ax_save_flags
   23981 
   23982 
   23983   ERLCFLAGS=$ERLCFLAGS_openssl_ax_save_flags
   23984 
   23985 
   23986   FCFLAGS=$FCFLAGS_openssl_ax_save_flags
   23987 
   23988 
   23989   FCLIBS=$FCLIBS_openssl_ax_save_flags
   23990 
   23991 
   23992   FFLAGS=$FFLAGS_openssl_ax_save_flags
   23993 
   23994 
   23995   FLIBS=$FLIBS_openssl_ax_save_flags
   23996 
   23997 
   23998   GCJFLAGS=$GCJFLAGS_openssl_ax_save_flags
   23999 
   24000 
   24001   JAVACFLAGS=$JAVACFLAGS_openssl_ax_save_flags
   24002 
   24003 
   24004   LDFLAGS=$LDFLAGS_openssl_ax_save_flags
   24005 
   24006 
   24007   LIBS=$LIBS_openssl_ax_save_flags
   24008 
   24009 
   24010   OBJCFLAGS=$OBJCFLAGS_openssl_ax_save_flags
   24011 
   24012 
   24013   OBJCXXFLAGS=$OBJCXXFLAGS_openssl_ax_save_flags
   24014 
   24015 
   24016   UPCFLAGS=$UPCFLAGS_openssl_ax_save_flags
   24017 
   24018 
   24019   VALAFLAGS=$VALAFLAGS_openssl_ax_save_flags
   24020 
   24021 
   24022 
   24023 
   24024 
   24025 
   24026 
   24027 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
   24028 if test "x$ac_cv_func_clock_gettime" = xyes
   24029 then :
   24030   printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
   24031 
   24032 fi
   24033 
   24034 
   24035 # [pairwise: --with-gssapi=yes, --with-gssapi=auto, --without-gssapi]
   24036 
   24037 # Check whether --with-gssapi was given.
   24038 if test ${with_gssapi+y}
   24039 then :
   24040   withval=$with_gssapi;
   24041 else case e in #(
   24042   e) with_gssapi="auto" ;;
   24043 esac
   24044 fi
   24045 
   24046 
   24047 KRB5_CONFIG=
   24048 case $with_gssapi in #(
   24049   no) :
   24050     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GSSAPI support" >&5
   24051 printf %s "checking for GSSAPI support... " >&6; }
   24052 	      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24053 printf "%s\n" "no" >&6; } ;; #(
   24054   yes) :
   24055     # Extract the first word of "krb5-config", so it can be a program name with args.
   24056 set dummy krb5-config; ac_word=$2
   24057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   24058 printf %s "checking for $ac_word... " >&6; }
   24059 if test ${ac_cv_path_KRB5_CONFIG+y}
   24060 then :
   24061   printf %s "(cached) " >&6
   24062 else case e in #(
   24063   e) case $KRB5_CONFIG in
   24064   [\\/]* | ?:[\\/]*)
   24065   ac_cv_path_KRB5_CONFIG="$KRB5_CONFIG" # Let the user override the test with a path.
   24066   ;;
   24067   *)
   24068   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   24069 for as_dir in $PATH
   24070 do
   24071   IFS=$as_save_IFS
   24072   case $as_dir in #(((
   24073     '') as_dir=./ ;;
   24074     */) ;;
   24075     *) as_dir=$as_dir/ ;;
   24076   esac
   24077     for ac_exec_ext in '' $ac_executable_extensions; do
   24078   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   24079     ac_cv_path_KRB5_CONFIG="$as_dir$ac_word$ac_exec_ext"
   24080     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   24081     break 2
   24082   fi
   24083 done
   24084   done
   24085 IFS=$as_save_IFS
   24086 
   24087   ;;
   24088 esac ;;
   24089 esac
   24090 fi
   24091 KRB5_CONFIG=$ac_cv_path_KRB5_CONFIG
   24092 if test -n "$KRB5_CONFIG"; then
   24093   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $KRB5_CONFIG" >&5
   24094 printf "%s\n" "$KRB5_CONFIG" >&6; }
   24095 else
   24096   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24097 printf "%s\n" "no" >&6; }
   24098 fi
   24099 
   24100 
   24101 	       if test -z "$KRB5_CONFIG"
   24102 then :
   24103   as_fn_error $? "krb5-config required but not found" "$LINENO" 5
   24104 fi ;; #(
   24105   auto) :
   24106     # Extract the first word of "krb5-config", so it can be a program name with args.
   24107 set dummy krb5-config; ac_word=$2
   24108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   24109 printf %s "checking for $ac_word... " >&6; }
   24110 if test ${ac_cv_path_KRB5_CONFIG+y}
   24111 then :
   24112   printf %s "(cached) " >&6
   24113 else case e in #(
   24114   e) case $KRB5_CONFIG in
   24115   [\\/]* | ?:[\\/]*)
   24116   ac_cv_path_KRB5_CONFIG="$KRB5_CONFIG" # Let the user override the test with a path.
   24117   ;;
   24118   *)
   24119   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   24120 for as_dir in $PATH
   24121 do
   24122   IFS=$as_save_IFS
   24123   case $as_dir in #(((
   24124     '') as_dir=./ ;;
   24125     */) ;;
   24126     *) as_dir=$as_dir/ ;;
   24127   esac
   24128     for ac_exec_ext in '' $ac_executable_extensions; do
   24129   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   24130     ac_cv_path_KRB5_CONFIG="$as_dir$ac_word$ac_exec_ext"
   24131     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   24132     break 2
   24133   fi
   24134 done
   24135   done
   24136 IFS=$as_save_IFS
   24137 
   24138   ;;
   24139 esac ;;
   24140 esac
   24141 fi
   24142 KRB5_CONFIG=$ac_cv_path_KRB5_CONFIG
   24143 if test -n "$KRB5_CONFIG"; then
   24144   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $KRB5_CONFIG" >&5
   24145 printf "%s\n" "$KRB5_CONFIG" >&6; }
   24146 else
   24147   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24148 printf "%s\n" "no" >&6; }
   24149 fi
   24150 
   24151  ;; #(
   24152   *krb5-config*) :
   24153     KRB5_CONFIG="$with_gssapi" ;; #(
   24154   *) :
   24155     as_fn_error $? "--with-gssapi requires yes|no|auto|/path/to/krb5-config" "$LINENO" 5 ;;
   24156 esac
   24157 
   24158 GSSAPI_CFLAGS=
   24159 GSSAPI_LIBS=
   24160 KRB5_CFLAGS=
   24161 KRB5_LIBS=
   24162 if test -n "$KRB5_CONFIG"
   24163 then :
   24164   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gssapi libraries" >&5
   24165 printf %s "checking for gssapi libraries... " >&6; }
   24166 
   24167 
   24168   CCASFLAGS_gssapi_ax_save_flags=$CCASFLAGS
   24169 
   24170 
   24171 
   24172   CFLAGS_gssapi_ax_save_flags=$CFLAGS
   24173 
   24174 
   24175 
   24176   CPPFLAGS_gssapi_ax_save_flags=$CPPFLAGS
   24177 
   24178 
   24179 
   24180   CXXFLAGS_gssapi_ax_save_flags=$CXXFLAGS
   24181 
   24182 
   24183 
   24184   ERLCFLAGS_gssapi_ax_save_flags=$ERLCFLAGS
   24185 
   24186 
   24187 
   24188   FCFLAGS_gssapi_ax_save_flags=$FCFLAGS
   24189 
   24190 
   24191 
   24192   FCLIBS_gssapi_ax_save_flags=$FCLIBS
   24193 
   24194 
   24195 
   24196   FFLAGS_gssapi_ax_save_flags=$FFLAGS
   24197 
   24198 
   24199 
   24200   FLIBS_gssapi_ax_save_flags=$FLIBS
   24201 
   24202 
   24203 
   24204   GCJFLAGS_gssapi_ax_save_flags=$GCJFLAGS
   24205 
   24206 
   24207 
   24208   JAVACFLAGS_gssapi_ax_save_flags=$JAVACFLAGS
   24209 
   24210 
   24211 
   24212   LDFLAGS_gssapi_ax_save_flags=$LDFLAGS
   24213 
   24214 
   24215 
   24216   LIBS_gssapi_ax_save_flags=$LIBS
   24217 
   24218 
   24219 
   24220   OBJCFLAGS_gssapi_ax_save_flags=$OBJCFLAGS
   24221 
   24222 
   24223 
   24224   OBJCXXFLAGS_gssapi_ax_save_flags=$OBJCXXFLAGS
   24225 
   24226 
   24227 
   24228   UPCFLAGS_gssapi_ax_save_flags=$UPCFLAGS
   24229 
   24230 
   24231 
   24232   VALAFLAGS_gssapi_ax_save_flags=$VALAFLAGS
   24233 
   24234 
   24235 
   24236        GSSAPI_CFLAGS=`"$KRB5_CONFIG" --cflags gssapi`
   24237        GSSAPI_LIBS=`"$KRB5_CONFIG" --libs gssapi`
   24238        CFLAGS="$CFLAGS $GSSAPI_CFLAGS"
   24239        LIBS="$LIBS $GSSAPI_LIBS"
   24240        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GSSAPI_CFLAGS $GSSAPI_LIBS" >&5
   24241 printf "%s\n" "$GSSAPI_CFLAGS $GSSAPI_LIBS" >&6; }
   24242               for ac_header in gssapi/gssapi.h
   24243 do :
   24244   ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
   24245 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
   24246 then :
   24247   printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
   24248 
   24249 else case e in #(
   24250   e)        for ac_header in gssapi.h
   24251 do :
   24252   ac_fn_c_check_header_compile "$LINENO" "gssapi.h" "ac_cv_header_gssapi_h" "$ac_includes_default"
   24253 if test "x$ac_cv_header_gssapi_h" = xyes
   24254 then :
   24255   printf "%s\n" "#define HAVE_GSSAPI_H 1" >>confdefs.h
   24256 
   24257 else case e in #(
   24258   e) as_fn_error $? "neither gssapi/gssapi.h nor gssapi.h found" "$LINENO" 5 ;;
   24259 esac
   24260 fi
   24261 
   24262 done ;;
   24263 esac
   24264 fi
   24265 
   24266 done
   24267               for ac_header in gssapi/gssapi_krb5.h
   24268 do :
   24269   ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_krb5.h" "ac_cv_header_gssapi_gssapi_krb5_h" "$ac_includes_default"
   24270 if test "x$ac_cv_header_gssapi_gssapi_krb5_h" = xyes
   24271 then :
   24272   printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_KRB5_H 1" >>confdefs.h
   24273         for ac_header in gssapi_krb5.h
   24274 do :
   24275   ac_fn_c_check_header_compile "$LINENO" "gssapi_krb5.h" "ac_cv_header_gssapi_krb5_h" "$ac_includes_default"
   24276 if test "x$ac_cv_header_gssapi_krb5_h" = xyes
   24277 then :
   24278   printf "%s\n" "#define HAVE_GSSAPI_KRB5_H 1" >>confdefs.h
   24279 
   24280 					  as_fn_error $? "neither gssapi/gssapi_krb5.h nor gssapi_krb5.h found" "$LINENO" 5
   24281 fi
   24282 
   24283 done
   24284 fi
   24285 
   24286 done
   24287 
   24288   for ac_func in gss_acquire_cred
   24289 do :
   24290   ac_fn_c_check_func "$LINENO" "gss_acquire_cred" "ac_cv_func_gss_acquire_cred"
   24291 if test "x$ac_cv_func_gss_acquire_cred" = xyes
   24292 then :
   24293   printf "%s\n" "#define HAVE_GSS_ACQUIRE_CRED 1" >>confdefs.h
   24294 
   24295 else case e in #(
   24296   e) as_fn_error $? "linking with $GSSAPI_LIBS does not work" "$LINENO" 5 ;;
   24297 esac
   24298 fi
   24299 
   24300 done
   24301 
   24302   CCASFLAGS=$CCASFLAGS_gssapi_ax_save_flags
   24303 
   24304 
   24305   CFLAGS=$CFLAGS_gssapi_ax_save_flags
   24306 
   24307 
   24308   CPPFLAGS=$CPPFLAGS_gssapi_ax_save_flags
   24309 
   24310 
   24311   CXXFLAGS=$CXXFLAGS_gssapi_ax_save_flags
   24312 
   24313 
   24314   ERLCFLAGS=$ERLCFLAGS_gssapi_ax_save_flags
   24315 
   24316 
   24317   FCFLAGS=$FCFLAGS_gssapi_ax_save_flags
   24318 
   24319 
   24320   FCLIBS=$FCLIBS_gssapi_ax_save_flags
   24321 
   24322 
   24323   FFLAGS=$FFLAGS_gssapi_ax_save_flags
   24324 
   24325 
   24326   FLIBS=$FLIBS_gssapi_ax_save_flags
   24327 
   24328 
   24329   GCJFLAGS=$GCJFLAGS_gssapi_ax_save_flags
   24330 
   24331 
   24332   JAVACFLAGS=$JAVACFLAGS_gssapi_ax_save_flags
   24333 
   24334 
   24335   LDFLAGS=$LDFLAGS_gssapi_ax_save_flags
   24336 
   24337 
   24338   LIBS=$LIBS_gssapi_ax_save_flags
   24339 
   24340 
   24341   OBJCFLAGS=$OBJCFLAGS_gssapi_ax_save_flags
   24342 
   24343 
   24344   OBJCXXFLAGS=$OBJCXXFLAGS_gssapi_ax_save_flags
   24345 
   24346 
   24347   UPCFLAGS=$UPCFLAGS_gssapi_ax_save_flags
   24348 
   24349 
   24350   VALAFLAGS=$VALAFLAGS_gssapi_ax_save_flags
   24351 
   24352 
   24353 
   24354 
   24355        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5 libraries" >&5
   24356 printf %s "checking for krb5 libraries... " >&6; }
   24357 
   24358 
   24359   CCASFLAGS_krb5_ax_save_flags=$CCASFLAGS
   24360 
   24361 
   24362 
   24363   CFLAGS_krb5_ax_save_flags=$CFLAGS
   24364 
   24365 
   24366 
   24367   CPPFLAGS_krb5_ax_save_flags=$CPPFLAGS
   24368 
   24369 
   24370 
   24371   CXXFLAGS_krb5_ax_save_flags=$CXXFLAGS
   24372 
   24373 
   24374 
   24375   ERLCFLAGS_krb5_ax_save_flags=$ERLCFLAGS
   24376 
   24377 
   24378 
   24379   FCFLAGS_krb5_ax_save_flags=$FCFLAGS
   24380 
   24381 
   24382 
   24383   FCLIBS_krb5_ax_save_flags=$FCLIBS
   24384 
   24385 
   24386 
   24387   FFLAGS_krb5_ax_save_flags=$FFLAGS
   24388 
   24389 
   24390 
   24391   FLIBS_krb5_ax_save_flags=$FLIBS
   24392 
   24393 
   24394 
   24395   GCJFLAGS_krb5_ax_save_flags=$GCJFLAGS
   24396 
   24397 
   24398 
   24399   JAVACFLAGS_krb5_ax_save_flags=$JAVACFLAGS
   24400 
   24401 
   24402 
   24403   LDFLAGS_krb5_ax_save_flags=$LDFLAGS
   24404 
   24405 
   24406 
   24407   LIBS_krb5_ax_save_flags=$LIBS
   24408 
   24409 
   24410 
   24411   OBJCFLAGS_krb5_ax_save_flags=$OBJCFLAGS
   24412 
   24413 
   24414 
   24415   OBJCXXFLAGS_krb5_ax_save_flags=$OBJCXXFLAGS
   24416 
   24417 
   24418 
   24419   UPCFLAGS_krb5_ax_save_flags=$UPCFLAGS
   24420 
   24421 
   24422 
   24423   VALAFLAGS_krb5_ax_save_flags=$VALAFLAGS
   24424 
   24425 
   24426 
   24427        KRB5_CFLAGS=`"$KRB5_CONFIG" --cflags krb5`
   24428        KRB5_LIBS=`$KRB5_CONFIG --libs krb5`
   24429        CFLAGS="$CFLAGS $KRB5_CFLAGS"
   24430        LIBS="$CFLAGS $KRB5_LIBS"
   24431        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $KRB5_CFLAGS $KRB5_LIBS" >&5
   24432 printf "%s\n" "$KRB5_CFLAGS $KRB5_LIBS" >&6; }
   24433               for ac_header in krb5/krb5.h
   24434 do :
   24435   ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
   24436 if test "x$ac_cv_header_krb5_krb5_h" = xyes
   24437 then :
   24438   printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
   24439 
   24440 else case e in #(
   24441   e)        for ac_header in krb5.h
   24442 do :
   24443   ac_fn_c_check_header_compile "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default"
   24444 if test "x$ac_cv_header_krb5_h" = xyes
   24445 then :
   24446   printf "%s\n" "#define HAVE_KRB5_H 1" >>confdefs.h
   24447 
   24448 else case e in #(
   24449   e) as_fn_error $? "neither krb5/krb5.h nor krb5 found" "$LINENO" 5 ;;
   24450 esac
   24451 fi
   24452 
   24453 done ;;
   24454 esac
   24455 fi
   24456 
   24457 done
   24458 
   24459   for ac_func in krb5_init_context
   24460 do :
   24461   ac_fn_c_check_func "$LINENO" "krb5_init_context" "ac_cv_func_krb5_init_context"
   24462 if test "x$ac_cv_func_krb5_init_context" = xyes
   24463 then :
   24464   printf "%s\n" "#define HAVE_KRB5_INIT_CONTEXT 1" >>confdefs.h
   24465 
   24466 else case e in #(
   24467   e) as_fn_error $? "linking with $KRB5_LIBS failed" "$LINENO" 5 ;;
   24468 esac
   24469 fi
   24470 
   24471 done
   24472 
   24473   CCASFLAGS=$CCASFLAGS_krb5_ax_save_flags
   24474 
   24475 
   24476   CFLAGS=$CFLAGS_krb5_ax_save_flags
   24477 
   24478 
   24479   CPPFLAGS=$CPPFLAGS_krb5_ax_save_flags
   24480 
   24481 
   24482   CXXFLAGS=$CXXFLAGS_krb5_ax_save_flags
   24483 
   24484 
   24485   ERLCFLAGS=$ERLCFLAGS_krb5_ax_save_flags
   24486 
   24487 
   24488   FCFLAGS=$FCFLAGS_krb5_ax_save_flags
   24489 
   24490 
   24491   FCLIBS=$FCLIBS_krb5_ax_save_flags
   24492 
   24493 
   24494   FFLAGS=$FFLAGS_krb5_ax_save_flags
   24495 
   24496 
   24497   FLIBS=$FLIBS_krb5_ax_save_flags
   24498 
   24499 
   24500   GCJFLAGS=$GCJFLAGS_krb5_ax_save_flags
   24501 
   24502 
   24503   JAVACFLAGS=$JAVACFLAGS_krb5_ax_save_flags
   24504 
   24505 
   24506   LDFLAGS=$LDFLAGS_krb5_ax_save_flags
   24507 
   24508 
   24509   LIBS=$LIBS_krb5_ax_save_flags
   24510 
   24511 
   24512   OBJCFLAGS=$OBJCFLAGS_krb5_ax_save_flags
   24513 
   24514 
   24515   OBJCXXFLAGS=$OBJCXXFLAGS_krb5_ax_save_flags
   24516 
   24517 
   24518   UPCFLAGS=$UPCFLAGS_krb5_ax_save_flags
   24519 
   24520 
   24521   VALAFLAGS=$VALAFLAGS_krb5_ax_save_flags
   24522 
   24523 
   24524 
   24525 
   24526 
   24527 printf "%s\n" "#define HAVE_GSSAPI 1" >>confdefs.h
   24528 
   24529        # kludge to silence compiler warnings which recommend use of GSS.framework on macOS
   24530        case $host in #(
   24531   *-darwin*) :
   24532     CFLAGS="$CFLAGS -Wno-deprecated-declarations" ;; #(
   24533   *) :
   24534      ;;
   24535 esac
   24536 fi
   24537  if test -n "$GSSAPI_LIBS"; then
   24538   HAVE_GSSAPI_TRUE=
   24539   HAVE_GSSAPI_FALSE='#'
   24540 else
   24541   HAVE_GSSAPI_TRUE='#'
   24542   HAVE_GSSAPI_FALSE=
   24543 fi
   24544 
   24545 
   24546 
   24547 
   24548 
   24549 
   24550 #
   24551 # was --with-lmdb specified?
   24552 #
   24553 
   24554 # [pairwise: --with-lmdb=auto, --with-lmdb=yes, --without-lmdb]
   24555 
   24556 # Check whether --with-lmdb was given.
   24557 if test ${with_lmdb+y}
   24558 then :
   24559   withval=$with_lmdb; :
   24560 else case e in #(
   24561   e) with_lmdb="auto" ;;
   24562 esac
   24563 fi
   24564 
   24565 
   24566 ac_lib_lmdb_found=no
   24567 case $with_lmdb in #(
   24568   no) :
   24569      ;; #(
   24570   auto|yes) :
   24571 
   24572 pkg_failed=no
   24573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lmdb" >&5
   24574 printf %s "checking for lmdb... " >&6; }
   24575 
   24576 if test -n "$LMDB_CFLAGS"; then
   24577     pkg_cv_LMDB_CFLAGS="$LMDB_CFLAGS"
   24578  elif test -n "$PKG_CONFIG"; then
   24579     if test -n "$PKG_CONFIG" && \
   24580     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lmdb\""; } >&5
   24581   ($PKG_CONFIG --exists --print-errors "lmdb") 2>&5
   24582   ac_status=$?
   24583   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24584   test $ac_status = 0; }; then
   24585   pkg_cv_LMDB_CFLAGS=`$PKG_CONFIG --cflags "lmdb" 2>/dev/null`
   24586 		      test "x$?" != "x0" && pkg_failed=yes
   24587 else
   24588   pkg_failed=yes
   24589 fi
   24590  else
   24591     pkg_failed=untried
   24592 fi
   24593 if test -n "$LMDB_LIBS"; then
   24594     pkg_cv_LMDB_LIBS="$LMDB_LIBS"
   24595  elif test -n "$PKG_CONFIG"; then
   24596     if test -n "$PKG_CONFIG" && \
   24597     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lmdb\""; } >&5
   24598   ($PKG_CONFIG --exists --print-errors "lmdb") 2>&5
   24599   ac_status=$?
   24600   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24601   test $ac_status = 0; }; then
   24602   pkg_cv_LMDB_LIBS=`$PKG_CONFIG --libs "lmdb" 2>/dev/null`
   24603 		      test "x$?" != "x0" && pkg_failed=yes
   24604 else
   24605   pkg_failed=yes
   24606 fi
   24607  else
   24608     pkg_failed=untried
   24609 fi
   24610 
   24611 
   24612 
   24613 if test $pkg_failed = yes; then
   24614         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24615 printf "%s\n" "no" >&6; }
   24616 
   24617 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   24618         _pkg_short_errors_supported=yes
   24619 else
   24620         _pkg_short_errors_supported=no
   24621 fi
   24622         if test $_pkg_short_errors_supported = yes; then
   24623                 LMDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lmdb" 2>&1`
   24624         else
   24625                 LMDB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lmdb" 2>&1`
   24626         fi
   24627         # Put the nasty error message in config.log where it belongs
   24628         echo "$LMDB_PKG_ERRORS" >&5
   24629 
   24630         for ac_lib_lmdb_path in /usr /usr/local /opt /opt/local; do
   24631 						if test -z "$ac_lib_lmdb_path"
   24632 then :
   24633   as_fn_error $? "Path cannot be empty" "$LINENO" 5
   24634 fi
   24635 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lmdb header in $ac_lib_lmdb_path" >&5
   24636 printf %s "checking for lmdb header in $ac_lib_lmdb_path... " >&6; }
   24637 	  if test -r "$ac_lib_lmdb_path/include/lmdb.h"
   24638 then :
   24639   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24640 printf "%s\n" "yes" >&6; }
   24641 		 LMDB_CFLAGS="-I$ac_lib_lmdb_path/include"
   24642 		 LMDB_LIBS="-L$ac_lib_lmdb_path/lib"
   24643 
   24644 
   24645   CCASFLAGS_lmdb_ax_save_flags=$CCASFLAGS
   24646 
   24647 
   24648 
   24649   CFLAGS_lmdb_ax_save_flags=$CFLAGS
   24650 
   24651 
   24652 
   24653   CPPFLAGS_lmdb_ax_save_flags=$CPPFLAGS
   24654 
   24655 
   24656 
   24657   CXXFLAGS_lmdb_ax_save_flags=$CXXFLAGS
   24658 
   24659 
   24660 
   24661   ERLCFLAGS_lmdb_ax_save_flags=$ERLCFLAGS
   24662 
   24663 
   24664 
   24665   FCFLAGS_lmdb_ax_save_flags=$FCFLAGS
   24666 
   24667 
   24668 
   24669   FCLIBS_lmdb_ax_save_flags=$FCLIBS
   24670 
   24671 
   24672 
   24673   FFLAGS_lmdb_ax_save_flags=$FFLAGS
   24674 
   24675 
   24676 
   24677   FLIBS_lmdb_ax_save_flags=$FLIBS
   24678 
   24679 
   24680 
   24681   GCJFLAGS_lmdb_ax_save_flags=$GCJFLAGS
   24682 
   24683 
   24684 
   24685   JAVACFLAGS_lmdb_ax_save_flags=$JAVACFLAGS
   24686 
   24687 
   24688 
   24689   LDFLAGS_lmdb_ax_save_flags=$LDFLAGS
   24690 
   24691 
   24692 
   24693   LIBS_lmdb_ax_save_flags=$LIBS
   24694 
   24695 
   24696 
   24697   OBJCFLAGS_lmdb_ax_save_flags=$OBJCFLAGS
   24698 
   24699 
   24700 
   24701   OBJCXXFLAGS_lmdb_ax_save_flags=$OBJCXXFLAGS
   24702 
   24703 
   24704 
   24705   UPCFLAGS_lmdb_ax_save_flags=$UPCFLAGS
   24706 
   24707 
   24708 
   24709   VALAFLAGS_lmdb_ax_save_flags=$VALAFLAGS
   24710 
   24711 
   24712 
   24713 		 CFLAGS="$CFLAGS $LMDB_CFLAGS"
   24714 		 LIBS="$LIBS $LMDB_LIBS"
   24715 		 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing mdb_env_create" >&5
   24716 printf %s "checking for library containing mdb_env_create... " >&6; }
   24717 if test ${ac_cv_search_mdb_env_create+y}
   24718 then :
   24719   printf %s "(cached) " >&6
   24720 else case e in #(
   24721   e) ac_func_search_save_LIBS=$LIBS
   24722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24723 /* end confdefs.h.  */
   24724 
   24725 /* Override any GCC internal prototype to avoid an error.
   24726    Use char because int might match the return type of a GCC
   24727    builtin and then its argument prototype would still apply.
   24728    The 'extern "C"' is for builds by C++ compilers;
   24729    although this is not generally supported in C code supporting it here
   24730    has little cost and some practical benefit (sr 110532).  */
   24731 #ifdef __cplusplus
   24732 extern "C"
   24733 #endif
   24734 char mdb_env_create (void);
   24735 int
   24736 main (void)
   24737 {
   24738 return mdb_env_create ();
   24739   ;
   24740   return 0;
   24741 }
   24742 _ACEOF
   24743 for ac_lib in '' lmdb
   24744 do
   24745   if test -z "$ac_lib"; then
   24746     ac_res="none required"
   24747   else
   24748     ac_res=-l$ac_lib
   24749     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   24750   fi
   24751   if ac_fn_c_try_link "$LINENO"
   24752 then :
   24753   ac_cv_search_mdb_env_create=$ac_res
   24754 fi
   24755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   24756     conftest$ac_exeext
   24757   if test ${ac_cv_search_mdb_env_create+y}
   24758 then :
   24759   break
   24760 fi
   24761 done
   24762 if test ${ac_cv_search_mdb_env_create+y}
   24763 then :
   24764 
   24765 else case e in #(
   24766   e) ac_cv_search_mdb_env_create=no ;;
   24767 esac
   24768 fi
   24769 rm conftest.$ac_ext
   24770 LIBS=$ac_func_search_save_LIBS ;;
   24771 esac
   24772 fi
   24773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mdb_env_create" >&5
   24774 printf "%s\n" "$ac_cv_search_mdb_env_create" >&6; }
   24775 ac_res=$ac_cv_search_mdb_env_create
   24776 if test "$ac_res" != no
   24777 then :
   24778   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   24779   LMDB_LIBS="$LMDB_LIBS $ac_cv_search_mdb_env_create"
   24780 
   24781   CCASFLAGS=$CCASFLAGS_lmdb_ax_save_flags
   24782 
   24783 
   24784   CFLAGS=$CFLAGS_lmdb_ax_save_flags
   24785 
   24786 
   24787   CPPFLAGS=$CPPFLAGS_lmdb_ax_save_flags
   24788 
   24789 
   24790   CXXFLAGS=$CXXFLAGS_lmdb_ax_save_flags
   24791 
   24792 
   24793   ERLCFLAGS=$ERLCFLAGS_lmdb_ax_save_flags
   24794 
   24795 
   24796   FCFLAGS=$FCFLAGS_lmdb_ax_save_flags
   24797 
   24798 
   24799   FCLIBS=$FCLIBS_lmdb_ax_save_flags
   24800 
   24801 
   24802   FFLAGS=$FFLAGS_lmdb_ax_save_flags
   24803 
   24804 
   24805   FLIBS=$FLIBS_lmdb_ax_save_flags
   24806 
   24807 
   24808   GCJFLAGS=$GCJFLAGS_lmdb_ax_save_flags
   24809 
   24810 
   24811   JAVACFLAGS=$JAVACFLAGS_lmdb_ax_save_flags
   24812 
   24813 
   24814   LDFLAGS=$LDFLAGS_lmdb_ax_save_flags
   24815 
   24816 
   24817   LIBS=$LIBS_lmdb_ax_save_flags
   24818 
   24819 
   24820   OBJCFLAGS=$OBJCFLAGS_lmdb_ax_save_flags
   24821 
   24822 
   24823   OBJCXXFLAGS=$OBJCXXFLAGS_lmdb_ax_save_flags
   24824 
   24825 
   24826   UPCFLAGS=$UPCFLAGS_lmdb_ax_save_flags
   24827 
   24828 
   24829   VALAFLAGS=$VALAFLAGS_lmdb_ax_save_flags
   24830 
   24831 
   24832 
   24833 				 ac_lib_lmdb_found=yes
   24834 							     break
   24835 
   24836 else case e in #(
   24837   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24838 printf "%s\n" "no" >&6; }
   24839 				 LMDB_CFLAGS=""
   24840 				 LMDB_LIBS=""
   24841 
   24842   CCASFLAGS=$CCASFLAGS_lmdb_ax_save_flags
   24843 
   24844 
   24845   CFLAGS=$CFLAGS_lmdb_ax_save_flags
   24846 
   24847 
   24848   CPPFLAGS=$CPPFLAGS_lmdb_ax_save_flags
   24849 
   24850 
   24851   CXXFLAGS=$CXXFLAGS_lmdb_ax_save_flags
   24852 
   24853 
   24854   ERLCFLAGS=$ERLCFLAGS_lmdb_ax_save_flags
   24855 
   24856 
   24857   FCFLAGS=$FCFLAGS_lmdb_ax_save_flags
   24858 
   24859 
   24860   FCLIBS=$FCLIBS_lmdb_ax_save_flags
   24861 
   24862 
   24863   FFLAGS=$FFLAGS_lmdb_ax_save_flags
   24864 
   24865 
   24866   FLIBS=$FLIBS_lmdb_ax_save_flags
   24867 
   24868 
   24869   GCJFLAGS=$GCJFLAGS_lmdb_ax_save_flags
   24870 
   24871 
   24872   JAVACFLAGS=$JAVACFLAGS_lmdb_ax_save_flags
   24873 
   24874 
   24875   LDFLAGS=$LDFLAGS_lmdb_ax_save_flags
   24876 
   24877 
   24878   LIBS=$LIBS_lmdb_ax_save_flags
   24879 
   24880 
   24881   OBJCFLAGS=$OBJCFLAGS_lmdb_ax_save_flags
   24882 
   24883 
   24884   OBJCXXFLAGS=$OBJCXXFLAGS_lmdb_ax_save_flags
   24885 
   24886 
   24887   UPCFLAGS=$UPCFLAGS_lmdb_ax_save_flags
   24888 
   24889 
   24890   VALAFLAGS=$VALAFLAGS_lmdb_ax_save_flags
   24891 
   24892 
   24893 
   24894 
   24895 				 ;;
   24896 esac
   24897 fi
   24898 
   24899 
   24900 else case e in #(
   24901   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24902 printf "%s\n" "no" >&6; } ;;
   24903 esac
   24904 fi
   24905 					done
   24906 
   24907 elif test $pkg_failed = untried; then
   24908         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24909 printf "%s\n" "no" >&6; }
   24910         for ac_lib_lmdb_path in /usr /usr/local /opt /opt/local; do
   24911 						if test -z "$ac_lib_lmdb_path"
   24912 then :
   24913   as_fn_error $? "Path cannot be empty" "$LINENO" 5
   24914 fi
   24915 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lmdb header in $ac_lib_lmdb_path" >&5
   24916 printf %s "checking for lmdb header in $ac_lib_lmdb_path... " >&6; }
   24917 	  if test -r "$ac_lib_lmdb_path/include/lmdb.h"
   24918 then :
   24919   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24920 printf "%s\n" "yes" >&6; }
   24921 		 LMDB_CFLAGS="-I$ac_lib_lmdb_path/include"
   24922 		 LMDB_LIBS="-L$ac_lib_lmdb_path/lib"
   24923 
   24924 
   24925   CCASFLAGS_lmdb_ax_save_flags=$CCASFLAGS
   24926 
   24927 
   24928 
   24929   CFLAGS_lmdb_ax_save_flags=$CFLAGS
   24930 
   24931 
   24932 
   24933   CPPFLAGS_lmdb_ax_save_flags=$CPPFLAGS
   24934 
   24935 
   24936 
   24937   CXXFLAGS_lmdb_ax_save_flags=$CXXFLAGS
   24938 
   24939 
   24940 
   24941   ERLCFLAGS_lmdb_ax_save_flags=$ERLCFLAGS
   24942 
   24943 
   24944 
   24945   FCFLAGS_lmdb_ax_save_flags=$FCFLAGS
   24946 
   24947 
   24948 
   24949   FCLIBS_lmdb_ax_save_flags=$FCLIBS
   24950 
   24951 
   24952 
   24953   FFLAGS_lmdb_ax_save_flags=$FFLAGS
   24954 
   24955 
   24956 
   24957   FLIBS_lmdb_ax_save_flags=$FLIBS
   24958 
   24959 
   24960 
   24961   GCJFLAGS_lmdb_ax_save_flags=$GCJFLAGS
   24962 
   24963 
   24964 
   24965   JAVACFLAGS_lmdb_ax_save_flags=$JAVACFLAGS
   24966 
   24967 
   24968 
   24969   LDFLAGS_lmdb_ax_save_flags=$LDFLAGS
   24970 
   24971 
   24972 
   24973   LIBS_lmdb_ax_save_flags=$LIBS
   24974 
   24975 
   24976 
   24977   OBJCFLAGS_lmdb_ax_save_flags=$OBJCFLAGS
   24978 
   24979 
   24980 
   24981   OBJCXXFLAGS_lmdb_ax_save_flags=$OBJCXXFLAGS
   24982 
   24983 
   24984 
   24985   UPCFLAGS_lmdb_ax_save_flags=$UPCFLAGS
   24986 
   24987 
   24988 
   24989   VALAFLAGS_lmdb_ax_save_flags=$VALAFLAGS
   24990 
   24991 
   24992 
   24993 		 CFLAGS="$CFLAGS $LMDB_CFLAGS"
   24994 		 LIBS="$LIBS $LMDB_LIBS"
   24995 		 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing mdb_env_create" >&5
   24996 printf %s "checking for library containing mdb_env_create... " >&6; }
   24997 if test ${ac_cv_search_mdb_env_create+y}
   24998 then :
   24999   printf %s "(cached) " >&6
   25000 else case e in #(
   25001   e) ac_func_search_save_LIBS=$LIBS
   25002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   25003 /* end confdefs.h.  */
   25004 
   25005 /* Override any GCC internal prototype to avoid an error.
   25006    Use char because int might match the return type of a GCC
   25007    builtin and then its argument prototype would still apply.
   25008    The 'extern "C"' is for builds by C++ compilers;
   25009    although this is not generally supported in C code supporting it here
   25010    has little cost and some practical benefit (sr 110532).  */
   25011 #ifdef __cplusplus
   25012 extern "C"
   25013 #endif
   25014 char mdb_env_create (void);
   25015 int
   25016 main (void)
   25017 {
   25018 return mdb_env_create ();
   25019   ;
   25020   return 0;
   25021 }
   25022 _ACEOF
   25023 for ac_lib in '' lmdb
   25024 do
   25025   if test -z "$ac_lib"; then
   25026     ac_res="none required"
   25027   else
   25028     ac_res=-l$ac_lib
   25029     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   25030   fi
   25031   if ac_fn_c_try_link "$LINENO"
   25032 then :
   25033   ac_cv_search_mdb_env_create=$ac_res
   25034 fi
   25035 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   25036     conftest$ac_exeext
   25037   if test ${ac_cv_search_mdb_env_create+y}
   25038 then :
   25039   break
   25040 fi
   25041 done
   25042 if test ${ac_cv_search_mdb_env_create+y}
   25043 then :
   25044 
   25045 else case e in #(
   25046   e) ac_cv_search_mdb_env_create=no ;;
   25047 esac
   25048 fi
   25049 rm conftest.$ac_ext
   25050 LIBS=$ac_func_search_save_LIBS ;;
   25051 esac
   25052 fi
   25053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mdb_env_create" >&5
   25054 printf "%s\n" "$ac_cv_search_mdb_env_create" >&6; }
   25055 ac_res=$ac_cv_search_mdb_env_create
   25056 if test "$ac_res" != no
   25057 then :
   25058   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   25059   LMDB_LIBS="$LMDB_LIBS $ac_cv_search_mdb_env_create"
   25060 
   25061   CCASFLAGS=$CCASFLAGS_lmdb_ax_save_flags
   25062 
   25063 
   25064   CFLAGS=$CFLAGS_lmdb_ax_save_flags
   25065 
   25066 
   25067   CPPFLAGS=$CPPFLAGS_lmdb_ax_save_flags
   25068 
   25069 
   25070   CXXFLAGS=$CXXFLAGS_lmdb_ax_save_flags
   25071 
   25072 
   25073   ERLCFLAGS=$ERLCFLAGS_lmdb_ax_save_flags
   25074 
   25075 
   25076   FCFLAGS=$FCFLAGS_lmdb_ax_save_flags
   25077 
   25078 
   25079   FCLIBS=$FCLIBS_lmdb_ax_save_flags
   25080 
   25081 
   25082   FFLAGS=$FFLAGS_lmdb_ax_save_flags
   25083 
   25084 
   25085   FLIBS=$FLIBS_lmdb_ax_save_flags
   25086 
   25087 
   25088   GCJFLAGS=$GCJFLAGS_lmdb_ax_save_flags
   25089 
   25090 
   25091   JAVACFLAGS=$JAVACFLAGS_lmdb_ax_save_flags
   25092 
   25093 
   25094   LDFLAGS=$LDFLAGS_lmdb_ax_save_flags
   25095 
   25096 
   25097   LIBS=$LIBS_lmdb_ax_save_flags
   25098 
   25099 
   25100   OBJCFLAGS=$OBJCFLAGS_lmdb_ax_save_flags
   25101 
   25102 
   25103   OBJCXXFLAGS=$OBJCXXFLAGS_lmdb_ax_save_flags
   25104 
   25105 
   25106   UPCFLAGS=$UPCFLAGS_lmdb_ax_save_flags
   25107 
   25108 
   25109   VALAFLAGS=$VALAFLAGS_lmdb_ax_save_flags
   25110 
   25111 
   25112 
   25113 				 ac_lib_lmdb_found=yes
   25114 							     break
   25115 
   25116 else case e in #(
   25117   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25118 printf "%s\n" "no" >&6; }
   25119 				 LMDB_CFLAGS=""
   25120 				 LMDB_LIBS=""
   25121 
   25122   CCASFLAGS=$CCASFLAGS_lmdb_ax_save_flags
   25123 
   25124 
   25125   CFLAGS=$CFLAGS_lmdb_ax_save_flags
   25126 
   25127 
   25128   CPPFLAGS=$CPPFLAGS_lmdb_ax_save_flags
   25129 
   25130 
   25131   CXXFLAGS=$CXXFLAGS_lmdb_ax_save_flags
   25132 
   25133 
   25134   ERLCFLAGS=$ERLCFLAGS_lmdb_ax_save_flags
   25135 
   25136 
   25137   FCFLAGS=$FCFLAGS_lmdb_ax_save_flags
   25138 
   25139 
   25140   FCLIBS=$FCLIBS_lmdb_ax_save_flags
   25141 
   25142 
   25143   FFLAGS=$FFLAGS_lmdb_ax_save_flags
   25144 
   25145 
   25146   FLIBS=$FLIBS_lmdb_ax_save_flags
   25147 
   25148 
   25149   GCJFLAGS=$GCJFLAGS_lmdb_ax_save_flags
   25150 
   25151 
   25152   JAVACFLAGS=$JAVACFLAGS_lmdb_ax_save_flags
   25153 
   25154 
   25155   LDFLAGS=$LDFLAGS_lmdb_ax_save_flags
   25156 
   25157 
   25158   LIBS=$LIBS_lmdb_ax_save_flags
   25159 
   25160 
   25161   OBJCFLAGS=$OBJCFLAGS_lmdb_ax_save_flags
   25162 
   25163 
   25164   OBJCXXFLAGS=$OBJCXXFLAGS_lmdb_ax_save_flags
   25165 
   25166 
   25167   UPCFLAGS=$UPCFLAGS_lmdb_ax_save_flags
   25168 
   25169 
   25170   VALAFLAGS=$VALAFLAGS_lmdb_ax_save_flags
   25171 
   25172 
   25173 
   25174 
   25175 				 ;;
   25176 esac
   25177 fi
   25178 
   25179 
   25180 else case e in #(
   25181   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25182 printf "%s\n" "no" >&6; } ;;
   25183 esac
   25184 fi
   25185 					done
   25186 
   25187 else
   25188         LMDB_CFLAGS=$pkg_cv_LMDB_CFLAGS
   25189         LMDB_LIBS=$pkg_cv_LMDB_LIBS
   25190         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   25191 printf "%s\n" "yes" >&6; }
   25192         ac_lib_lmdb_found=yes
   25193 fi ;; #(
   25194   *) :
   25195     if test -z "$with_lmdb"
   25196 then :
   25197   as_fn_error $? "Path cannot be empty" "$LINENO" 5
   25198 fi
   25199 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lmdb header in $with_lmdb" >&5
   25200 printf %s "checking for lmdb header in $with_lmdb... " >&6; }
   25201 	  if test -r "$with_lmdb/include/lmdb.h"
   25202 then :
   25203   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   25204 printf "%s\n" "yes" >&6; }
   25205 		 LMDB_CFLAGS="-I$with_lmdb/include"
   25206 		 LMDB_LIBS="-L$with_lmdb/lib"
   25207 
   25208 
   25209   CCASFLAGS_lmdb_ax_save_flags=$CCASFLAGS
   25210 
   25211 
   25212 
   25213   CFLAGS_lmdb_ax_save_flags=$CFLAGS
   25214 
   25215 
   25216 
   25217   CPPFLAGS_lmdb_ax_save_flags=$CPPFLAGS
   25218 
   25219 
   25220 
   25221   CXXFLAGS_lmdb_ax_save_flags=$CXXFLAGS
   25222 
   25223 
   25224 
   25225   ERLCFLAGS_lmdb_ax_save_flags=$ERLCFLAGS
   25226 
   25227 
   25228 
   25229   FCFLAGS_lmdb_ax_save_flags=$FCFLAGS
   25230 
   25231 
   25232 
   25233   FCLIBS_lmdb_ax_save_flags=$FCLIBS
   25234 
   25235 
   25236 
   25237   FFLAGS_lmdb_ax_save_flags=$FFLAGS
   25238 
   25239 
   25240 
   25241   FLIBS_lmdb_ax_save_flags=$FLIBS
   25242 
   25243 
   25244 
   25245   GCJFLAGS_lmdb_ax_save_flags=$GCJFLAGS
   25246 
   25247 
   25248 
   25249   JAVACFLAGS_lmdb_ax_save_flags=$JAVACFLAGS
   25250 
   25251 
   25252 
   25253   LDFLAGS_lmdb_ax_save_flags=$LDFLAGS
   25254 
   25255 
   25256 
   25257   LIBS_lmdb_ax_save_flags=$LIBS
   25258 
   25259 
   25260 
   25261   OBJCFLAGS_lmdb_ax_save_flags=$OBJCFLAGS
   25262 
   25263 
   25264 
   25265   OBJCXXFLAGS_lmdb_ax_save_flags=$OBJCXXFLAGS
   25266 
   25267 
   25268 
   25269   UPCFLAGS_lmdb_ax_save_flags=$UPCFLAGS
   25270 
   25271 
   25272 
   25273   VALAFLAGS_lmdb_ax_save_flags=$VALAFLAGS
   25274 
   25275 
   25276 
   25277 		 CFLAGS="$CFLAGS $LMDB_CFLAGS"
   25278 		 LIBS="$LIBS $LMDB_LIBS"
   25279 		 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing mdb_env_create" >&5
   25280 printf %s "checking for library containing mdb_env_create... " >&6; }
   25281 if test ${ac_cv_search_mdb_env_create+y}
   25282 then :
   25283   printf %s "(cached) " >&6
   25284 else case e in #(
   25285   e) ac_func_search_save_LIBS=$LIBS
   25286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   25287 /* end confdefs.h.  */
   25288 
   25289 /* Override any GCC internal prototype to avoid an error.
   25290    Use char because int might match the return type of a GCC
   25291    builtin and then its argument prototype would still apply.
   25292    The 'extern "C"' is for builds by C++ compilers;
   25293    although this is not generally supported in C code supporting it here
   25294    has little cost and some practical benefit (sr 110532).  */
   25295 #ifdef __cplusplus
   25296 extern "C"
   25297 #endif
   25298 char mdb_env_create (void);
   25299 int
   25300 main (void)
   25301 {
   25302 return mdb_env_create ();
   25303   ;
   25304   return 0;
   25305 }
   25306 _ACEOF
   25307 for ac_lib in '' lmdb
   25308 do
   25309   if test -z "$ac_lib"; then
   25310     ac_res="none required"
   25311   else
   25312     ac_res=-l$ac_lib
   25313     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   25314   fi
   25315   if ac_fn_c_try_link "$LINENO"
   25316 then :
   25317   ac_cv_search_mdb_env_create=$ac_res
   25318 fi
   25319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   25320     conftest$ac_exeext
   25321   if test ${ac_cv_search_mdb_env_create+y}
   25322 then :
   25323   break
   25324 fi
   25325 done
   25326 if test ${ac_cv_search_mdb_env_create+y}
   25327 then :
   25328 
   25329 else case e in #(
   25330   e) ac_cv_search_mdb_env_create=no ;;
   25331 esac
   25332 fi
   25333 rm conftest.$ac_ext
   25334 LIBS=$ac_func_search_save_LIBS ;;
   25335 esac
   25336 fi
   25337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mdb_env_create" >&5
   25338 printf "%s\n" "$ac_cv_search_mdb_env_create" >&6; }
   25339 ac_res=$ac_cv_search_mdb_env_create
   25340 if test "$ac_res" != no
   25341 then :
   25342   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   25343   LMDB_LIBS="$LMDB_LIBS $ac_cv_search_mdb_env_create"
   25344 
   25345   CCASFLAGS=$CCASFLAGS_lmdb_ax_save_flags
   25346 
   25347 
   25348   CFLAGS=$CFLAGS_lmdb_ax_save_flags
   25349 
   25350 
   25351   CPPFLAGS=$CPPFLAGS_lmdb_ax_save_flags
   25352 
   25353 
   25354   CXXFLAGS=$CXXFLAGS_lmdb_ax_save_flags
   25355 
   25356 
   25357   ERLCFLAGS=$ERLCFLAGS_lmdb_ax_save_flags
   25358 
   25359 
   25360   FCFLAGS=$FCFLAGS_lmdb_ax_save_flags
   25361 
   25362 
   25363   FCLIBS=$FCLIBS_lmdb_ax_save_flags
   25364 
   25365 
   25366   FFLAGS=$FFLAGS_lmdb_ax_save_flags
   25367 
   25368 
   25369   FLIBS=$FLIBS_lmdb_ax_save_flags
   25370 
   25371 
   25372   GCJFLAGS=$GCJFLAGS_lmdb_ax_save_flags
   25373 
   25374 
   25375   JAVACFLAGS=$JAVACFLAGS_lmdb_ax_save_flags
   25376 
   25377 
   25378   LDFLAGS=$LDFLAGS_lmdb_ax_save_flags
   25379 
   25380 
   25381   LIBS=$LIBS_lmdb_ax_save_flags
   25382 
   25383 
   25384   OBJCFLAGS=$OBJCFLAGS_lmdb_ax_save_flags
   25385 
   25386 
   25387   OBJCXXFLAGS=$OBJCXXFLAGS_lmdb_ax_save_flags
   25388 
   25389 
   25390   UPCFLAGS=$UPCFLAGS_lmdb_ax_save_flags
   25391 
   25392 
   25393   VALAFLAGS=$VALAFLAGS_lmdb_ax_save_flags
   25394 
   25395 
   25396 
   25397 				 ac_lib_lmdb_found=yes
   25398 
   25399 else case e in #(
   25400   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25401 printf "%s\n" "no" >&6; }
   25402 				 LMDB_CFLAGS=""
   25403 				 LMDB_LIBS=""
   25404 
   25405   CCASFLAGS=$CCASFLAGS_lmdb_ax_save_flags
   25406 
   25407 
   25408   CFLAGS=$CFLAGS_lmdb_ax_save_flags
   25409 
   25410 
   25411   CPPFLAGS=$CPPFLAGS_lmdb_ax_save_flags
   25412 
   25413 
   25414   CXXFLAGS=$CXXFLAGS_lmdb_ax_save_flags
   25415 
   25416 
   25417   ERLCFLAGS=$ERLCFLAGS_lmdb_ax_save_flags
   25418 
   25419 
   25420   FCFLAGS=$FCFLAGS_lmdb_ax_save_flags
   25421 
   25422 
   25423   FCLIBS=$FCLIBS_lmdb_ax_save_flags
   25424 
   25425 
   25426   FFLAGS=$FFLAGS_lmdb_ax_save_flags
   25427 
   25428 
   25429   FLIBS=$FLIBS_lmdb_ax_save_flags
   25430 
   25431 
   25432   GCJFLAGS=$GCJFLAGS_lmdb_ax_save_flags
   25433 
   25434 
   25435   JAVACFLAGS=$JAVACFLAGS_lmdb_ax_save_flags
   25436 
   25437 
   25438   LDFLAGS=$LDFLAGS_lmdb_ax_save_flags
   25439 
   25440 
   25441   LIBS=$LIBS_lmdb_ax_save_flags
   25442 
   25443 
   25444   OBJCFLAGS=$OBJCFLAGS_lmdb_ax_save_flags
   25445 
   25446 
   25447   OBJCXXFLAGS=$OBJCXXFLAGS_lmdb_ax_save_flags
   25448 
   25449 
   25450   UPCFLAGS=$UPCFLAGS_lmdb_ax_save_flags
   25451 
   25452 
   25453   VALAFLAGS=$VALAFLAGS_lmdb_ax_save_flags
   25454 
   25455 
   25456 
   25457 
   25458 				 ;;
   25459 esac
   25460 fi
   25461 
   25462 
   25463 else case e in #(
   25464   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25465 printf "%s\n" "no" >&6; } ;;
   25466 esac
   25467 fi ;;
   25468 esac
   25469 
   25470 # don't fail when in automatic mode
   25471 if test "$with_lmdb" = "auto" && test "$ac_lib_lmdb_found" = "no"
   25472 then :
   25473   with_lmdb=no
   25474 fi
   25475 
   25476 # hard fail when LMDB requested, but not found
   25477 if test "$with_lmdb" != "no" && test "$ac_lib_lmdb_found" != "yes"
   25478 then :
   25479   as_fn_error $? "LMDB requested, but not found" "$LINENO" 5
   25480 fi
   25481 
   25482 if test "$ac_lib_lmdb_found" = "yes"
   25483 then :
   25484 
   25485 printf "%s\n" "#define HAVE_LMDB 1" >>confdefs.h
   25486 
   25487 fi
   25488 
   25489 
   25490 
   25491  if test -n "$LMDB_LIBS"; then
   25492   HAVE_LMDB_TRUE=
   25493   HAVE_LMDB_FALSE='#'
   25494 else
   25495   HAVE_LMDB_TRUE='#'
   25496   HAVE_LMDB_FALSE=
   25497 fi
   25498 
   25499 
   25500 #
   25501 # was --with-libxml2 specified?
   25502 #
   25503 # [pairwise: --with-libxml2=auto, --with-libxml2=yes, --without-libxml2]
   25504 
   25505 # Check whether --with-libxml2 was given.
   25506 if test ${with_libxml2+y}
   25507 then :
   25508   withval=$with_libxml2;
   25509 else case e in #(
   25510   e) with_libxml2="auto" ;;
   25511 esac
   25512 fi
   25513 
   25514 
   25515 case $with_libxml2 in #(
   25516   no) :
   25517      ;; #(
   25518   auto) :
   25519 
   25520 pkg_failed=no
   25521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.6.0" >&5
   25522 printf %s "checking for libxml-2.0 >= 2.6.0... " >&6; }
   25523 
   25524 if test -n "$LIBXML2_CFLAGS"; then
   25525     pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS"
   25526  elif test -n "$PKG_CONFIG"; then
   25527     if test -n "$PKG_CONFIG" && \
   25528     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6.0\""; } >&5
   25529   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6.0") 2>&5
   25530   ac_status=$?
   25531   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   25532   test $ac_status = 0; }; then
   25533   pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.0" 2>/dev/null`
   25534 		      test "x$?" != "x0" && pkg_failed=yes
   25535 else
   25536   pkg_failed=yes
   25537 fi
   25538  else
   25539     pkg_failed=untried
   25540 fi
   25541 if test -n "$LIBXML2_LIBS"; then
   25542     pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS"
   25543  elif test -n "$PKG_CONFIG"; then
   25544     if test -n "$PKG_CONFIG" && \
   25545     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6.0\""; } >&5
   25546   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6.0") 2>&5
   25547   ac_status=$?
   25548   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   25549   test $ac_status = 0; }; then
   25550   pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.0" 2>/dev/null`
   25551 		      test "x$?" != "x0" && pkg_failed=yes
   25552 else
   25553   pkg_failed=yes
   25554 fi
   25555  else
   25556     pkg_failed=untried
   25557 fi
   25558 
   25559 
   25560 
   25561 if test $pkg_failed = yes; then
   25562         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25563 printf "%s\n" "no" >&6; }
   25564 
   25565 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   25566         _pkg_short_errors_supported=yes
   25567 else
   25568         _pkg_short_errors_supported=no
   25569 fi
   25570         if test $_pkg_short_errors_supported = yes; then
   25571                 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.6.0" 2>&1`
   25572         else
   25573                 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.6.0" 2>&1`
   25574         fi
   25575         # Put the nasty error message in config.log where it belongs
   25576         echo "$LIBXML2_PKG_ERRORS" >&5
   25577 
   25578         :
   25579 elif test $pkg_failed = untried; then
   25580         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25581 printf "%s\n" "no" >&6; }
   25582         :
   25583 else
   25584         LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS
   25585         LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS
   25586         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   25587 printf "%s\n" "yes" >&6; }
   25588 
   25589 printf "%s\n" "#define HAVE_LIBXML2 1" >>confdefs.h
   25590 
   25591 fi ;; #(
   25592   yes) :
   25593 
   25594 pkg_failed=no
   25595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.6.0" >&5
   25596 printf %s "checking for libxml-2.0 >= 2.6.0... " >&6; }
   25597 
   25598 if test -n "$LIBXML2_CFLAGS"; then
   25599     pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS"
   25600  elif test -n "$PKG_CONFIG"; then
   25601     if test -n "$PKG_CONFIG" && \
   25602     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6.0\""; } >&5
   25603   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6.0") 2>&5
   25604   ac_status=$?
   25605   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   25606   test $ac_status = 0; }; then
   25607   pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.0" 2>/dev/null`
   25608 		      test "x$?" != "x0" && pkg_failed=yes
   25609 else
   25610   pkg_failed=yes
   25611 fi
   25612  else
   25613     pkg_failed=untried
   25614 fi
   25615 if test -n "$LIBXML2_LIBS"; then
   25616     pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS"
   25617  elif test -n "$PKG_CONFIG"; then
   25618     if test -n "$PKG_CONFIG" && \
   25619     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6.0\""; } >&5
   25620   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6.0") 2>&5
   25621   ac_status=$?
   25622   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   25623   test $ac_status = 0; }; then
   25624   pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.0" 2>/dev/null`
   25625 		      test "x$?" != "x0" && pkg_failed=yes
   25626 else
   25627   pkg_failed=yes
   25628 fi
   25629  else
   25630     pkg_failed=untried
   25631 fi
   25632 
   25633 
   25634 
   25635 if test $pkg_failed = yes; then
   25636         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25637 printf "%s\n" "no" >&6; }
   25638 
   25639 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   25640         _pkg_short_errors_supported=yes
   25641 else
   25642         _pkg_short_errors_supported=no
   25643 fi
   25644         if test $_pkg_short_errors_supported = yes; then
   25645                 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.6.0" 2>&1`
   25646         else
   25647                 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.6.0" 2>&1`
   25648         fi
   25649         # Put the nasty error message in config.log where it belongs
   25650         echo "$LIBXML2_PKG_ERRORS" >&5
   25651 
   25652         as_fn_error $? "Package requirements (libxml-2.0 >= 2.6.0) were not met:
   25653 
   25654 $LIBXML2_PKG_ERRORS
   25655 
   25656 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   25657 installed software in a non-standard prefix.
   25658 
   25659 Alternatively, you may set the environment variables LIBXML2_CFLAGS
   25660 and LIBXML2_LIBS to avoid the need to call pkg-config.
   25661 See the pkg-config man page for more details." "$LINENO" 5
   25662 elif test $pkg_failed = untried; then
   25663         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25664 printf "%s\n" "no" >&6; }
   25665         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   25666 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   25667 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   25668 is in your PATH or set the PKG_CONFIG environment variable to the full
   25669 path to pkg-config.
   25670 
   25671 Alternatively, you may set the environment variables LIBXML2_CFLAGS
   25672 and LIBXML2_LIBS to avoid the need to call pkg-config.
   25673 See the pkg-config man page for more details.
   25674 
   25675 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   25676 See 'config.log' for more details" "$LINENO" 5; }
   25677 else
   25678         LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS
   25679         LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS
   25680         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   25681 printf "%s\n" "yes" >&6; }
   25682 
   25683 printf "%s\n" "#define HAVE_LIBXML2 1" >>confdefs.h
   25684 
   25685 fi ;; #(
   25686   *) :
   25687     as_fn_error $? "Specifying libxml2 installation path is not supported, adjust PKG_CONFIG_PATH instead" "$LINENO" 5 ;;
   25688 esac
   25689 
   25690  if test -n "$LIBXML2_LIBS"; then
   25691   HAVE_LIBXML2_TRUE=
   25692   HAVE_LIBXML2_FALSE='#'
   25693 else
   25694   HAVE_LIBXML2_TRUE='#'
   25695   HAVE_LIBXML2_FALSE=
   25696 fi
   25697 
   25698 
   25699 #
   25700 # was --with-json-c specified?
   25701 #
   25702 # [pairwise: --with-json-c=detect, --with-json-c=yes, --without-json-c]
   25703 
   25704 # Check whether --with-json-c was given.
   25705 if test ${with_json_c+y}
   25706 then :
   25707   withval=$with_json_c;
   25708 else case e in #(
   25709   e) with_json_c="detect" ;;
   25710 esac
   25711 fi
   25712 
   25713 
   25714 case $with_json_c in #(
   25715   no) :
   25716      ;; #(
   25717   detect) :
   25718 
   25719 pkg_failed=no
   25720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for json-c >= 0.11" >&5
   25721 printf %s "checking for json-c >= 0.11... " >&6; }
   25722 
   25723 if test -n "$JSON_C_CFLAGS"; then
   25724     pkg_cv_JSON_C_CFLAGS="$JSON_C_CFLAGS"
   25725  elif test -n "$PKG_CONFIG"; then
   25726     if test -n "$PKG_CONFIG" && \
   25727     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.11\""; } >&5
   25728   ($PKG_CONFIG --exists --print-errors "json-c >= 0.11") 2>&5
   25729   ac_status=$?
   25730   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   25731   test $ac_status = 0; }; then
   25732   pkg_cv_JSON_C_CFLAGS=`$PKG_CONFIG --cflags "json-c >= 0.11" 2>/dev/null`
   25733 		      test "x$?" != "x0" && pkg_failed=yes
   25734 else
   25735   pkg_failed=yes
   25736 fi
   25737  else
   25738     pkg_failed=untried
   25739 fi
   25740 if test -n "$JSON_C_LIBS"; then
   25741     pkg_cv_JSON_C_LIBS="$JSON_C_LIBS"
   25742  elif test -n "$PKG_CONFIG"; then
   25743     if test -n "$PKG_CONFIG" && \
   25744     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.11\""; } >&5
   25745   ($PKG_CONFIG --exists --print-errors "json-c >= 0.11") 2>&5
   25746   ac_status=$?
   25747   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   25748   test $ac_status = 0; }; then
   25749   pkg_cv_JSON_C_LIBS=`$PKG_CONFIG --libs "json-c >= 0.11" 2>/dev/null`
   25750 		      test "x$?" != "x0" && pkg_failed=yes
   25751 else
   25752   pkg_failed=yes
   25753 fi
   25754  else
   25755     pkg_failed=untried
   25756 fi
   25757 
   25758 
   25759 
   25760 if test $pkg_failed = yes; then
   25761         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25762 printf "%s\n" "no" >&6; }
   25763 
   25764 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   25765         _pkg_short_errors_supported=yes
   25766 else
   25767         _pkg_short_errors_supported=no
   25768 fi
   25769         if test $_pkg_short_errors_supported = yes; then
   25770                 JSON_C_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c >= 0.11" 2>&1`
   25771         else
   25772                 JSON_C_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c >= 0.11" 2>&1`
   25773         fi
   25774         # Put the nasty error message in config.log where it belongs
   25775         echo "$JSON_C_PKG_ERRORS" >&5
   25776 
   25777         :
   25778 elif test $pkg_failed = untried; then
   25779         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25780 printf "%s\n" "no" >&6; }
   25781         :
   25782 else
   25783         JSON_C_CFLAGS=$pkg_cv_JSON_C_CFLAGS
   25784         JSON_C_LIBS=$pkg_cv_JSON_C_LIBS
   25785         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   25786 printf "%s\n" "yes" >&6; }
   25787 
   25788 printf "%s\n" "#define HAVE_JSON_C 1" >>confdefs.h
   25789 
   25790 fi ;; #(
   25791   yes) :
   25792 
   25793 pkg_failed=no
   25794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for json-c >= 0.11" >&5
   25795 printf %s "checking for json-c >= 0.11... " >&6; }
   25796 
   25797 if test -n "$JSON_C_CFLAGS"; then
   25798     pkg_cv_JSON_C_CFLAGS="$JSON_C_CFLAGS"
   25799  elif test -n "$PKG_CONFIG"; then
   25800     if test -n "$PKG_CONFIG" && \
   25801     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.11\""; } >&5
   25802   ($PKG_CONFIG --exists --print-errors "json-c >= 0.11") 2>&5
   25803   ac_status=$?
   25804   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   25805   test $ac_status = 0; }; then
   25806   pkg_cv_JSON_C_CFLAGS=`$PKG_CONFIG --cflags "json-c >= 0.11" 2>/dev/null`
   25807 		      test "x$?" != "x0" && pkg_failed=yes
   25808 else
   25809   pkg_failed=yes
   25810 fi
   25811  else
   25812     pkg_failed=untried
   25813 fi
   25814 if test -n "$JSON_C_LIBS"; then
   25815     pkg_cv_JSON_C_LIBS="$JSON_C_LIBS"
   25816  elif test -n "$PKG_CONFIG"; then
   25817     if test -n "$PKG_CONFIG" && \
   25818     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.11\""; } >&5
   25819   ($PKG_CONFIG --exists --print-errors "json-c >= 0.11") 2>&5
   25820   ac_status=$?
   25821   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   25822   test $ac_status = 0; }; then
   25823   pkg_cv_JSON_C_LIBS=`$PKG_CONFIG --libs "json-c >= 0.11" 2>/dev/null`
   25824 		      test "x$?" != "x0" && pkg_failed=yes
   25825 else
   25826   pkg_failed=yes
   25827 fi
   25828  else
   25829     pkg_failed=untried
   25830 fi
   25831 
   25832 
   25833 
   25834 if test $pkg_failed = yes; then
   25835         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25836 printf "%s\n" "no" >&6; }
   25837 
   25838 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   25839         _pkg_short_errors_supported=yes
   25840 else
   25841         _pkg_short_errors_supported=no
   25842 fi
   25843         if test $_pkg_short_errors_supported = yes; then
   25844                 JSON_C_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c >= 0.11" 2>&1`
   25845         else
   25846                 JSON_C_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c >= 0.11" 2>&1`
   25847         fi
   25848         # Put the nasty error message in config.log where it belongs
   25849         echo "$JSON_C_PKG_ERRORS" >&5
   25850 
   25851         as_fn_error $? "Package requirements (json-c >= 0.11) were not met:
   25852 
   25853 $JSON_C_PKG_ERRORS
   25854 
   25855 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   25856 installed software in a non-standard prefix.
   25857 
   25858 Alternatively, you may set the environment variables JSON_C_CFLAGS
   25859 and JSON_C_LIBS to avoid the need to call pkg-config.
   25860 See the pkg-config man page for more details." "$LINENO" 5
   25861 elif test $pkg_failed = untried; then
   25862         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25863 printf "%s\n" "no" >&6; }
   25864         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   25865 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   25866 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   25867 is in your PATH or set the PKG_CONFIG environment variable to the full
   25868 path to pkg-config.
   25869 
   25870 Alternatively, you may set the environment variables JSON_C_CFLAGS
   25871 and JSON_C_LIBS to avoid the need to call pkg-config.
   25872 See the pkg-config man page for more details.
   25873 
   25874 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   25875 See 'config.log' for more details" "$LINENO" 5; }
   25876 else
   25877         JSON_C_CFLAGS=$pkg_cv_JSON_C_CFLAGS
   25878         JSON_C_LIBS=$pkg_cv_JSON_C_LIBS
   25879         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   25880 printf "%s\n" "yes" >&6; }
   25881 
   25882 printf "%s\n" "#define HAVE_JSON_C 1" >>confdefs.h
   25883 
   25884 fi ;; #(
   25885   *) :
   25886     as_fn_error $? "Specifying json-c installation path is not supported, adjust PKG_CONFIG_PATH instead" "$LINENO" 5
   25887         ;;
   25888 esac
   25889 
   25890  if test -n "$JSON_C_LIBS"; then
   25891   HAVE_JSON_C_TRUE=
   25892   HAVE_JSON_C_FALSE='#'
   25893 else
   25894   HAVE_JSON_C_TRUE='#'
   25895   HAVE_JSON_C_FALSE=
   25896 fi
   25897 
   25898 
   25899 
   25900 
   25901 
   25902 #
   25903 # was --with-zlib specified?
   25904 #
   25905 # [pairwise: --with-zlib=auto, --with-zlib=yes, --without-zlib]
   25906 
   25907 # Check whether --with-zlib was given.
   25908 if test ${with_zlib+y}
   25909 then :
   25910   withval=$with_zlib;
   25911 else case e in #(
   25912   e) with_zlib="auto" ;;
   25913 esac
   25914 fi
   25915 
   25916 
   25917 case $with_zlib in #(
   25918   no) :
   25919      ;; #(
   25920   auto) :
   25921 
   25922 pkg_failed=no
   25923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5
   25924 printf %s "checking for zlib... " >&6; }
   25925 
   25926 if test -n "$ZLIB_CFLAGS"; then
   25927     pkg_cv_ZLIB_CFLAGS="$ZLIB_CFLAGS"
   25928  elif test -n "$PKG_CONFIG"; then
   25929     if test -n "$PKG_CONFIG" && \
   25930     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5
   25931   ($PKG_CONFIG --exists --print-errors "zlib") 2>&5
   25932   ac_status=$?
   25933   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   25934   test $ac_status = 0; }; then
   25935   pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags "zlib" 2>/dev/null`
   25936 		      test "x$?" != "x0" && pkg_failed=yes
   25937 else
   25938   pkg_failed=yes
   25939 fi
   25940  else
   25941     pkg_failed=untried
   25942 fi
   25943 if test -n "$ZLIB_LIBS"; then
   25944     pkg_cv_ZLIB_LIBS="$ZLIB_LIBS"
   25945  elif test -n "$PKG_CONFIG"; then
   25946     if test -n "$PKG_CONFIG" && \
   25947     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5
   25948   ($PKG_CONFIG --exists --print-errors "zlib") 2>&5
   25949   ac_status=$?
   25950   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   25951   test $ac_status = 0; }; then
   25952   pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs "zlib" 2>/dev/null`
   25953 		      test "x$?" != "x0" && pkg_failed=yes
   25954 else
   25955   pkg_failed=yes
   25956 fi
   25957  else
   25958     pkg_failed=untried
   25959 fi
   25960 
   25961 
   25962 
   25963 if test $pkg_failed = yes; then
   25964         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25965 printf "%s\n" "no" >&6; }
   25966 
   25967 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   25968         _pkg_short_errors_supported=yes
   25969 else
   25970         _pkg_short_errors_supported=no
   25971 fi
   25972         if test $_pkg_short_errors_supported = yes; then
   25973                 ZLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib" 2>&1`
   25974         else
   25975                 ZLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib" 2>&1`
   25976         fi
   25977         # Put the nasty error message in config.log where it belongs
   25978         echo "$ZLIB_PKG_ERRORS" >&5
   25979 
   25980         :
   25981 elif test $pkg_failed = untried; then
   25982         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25983 printf "%s\n" "no" >&6; }
   25984         :
   25985 else
   25986         ZLIB_CFLAGS=$pkg_cv_ZLIB_CFLAGS
   25987         ZLIB_LIBS=$pkg_cv_ZLIB_LIBS
   25988         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   25989 printf "%s\n" "yes" >&6; }
   25990 
   25991 printf "%s\n" "#define HAVE_ZLIB 1" >>confdefs.h
   25992 
   25993 fi ;; #(
   25994   yes) :
   25995 
   25996 pkg_failed=no
   25997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5
   25998 printf %s "checking for zlib... " >&6; }
   25999 
   26000 if test -n "$ZLIB_CFLAGS"; then
   26001     pkg_cv_ZLIB_CFLAGS="$ZLIB_CFLAGS"
   26002  elif test -n "$PKG_CONFIG"; then
   26003     if test -n "$PKG_CONFIG" && \
   26004     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5
   26005   ($PKG_CONFIG --exists --print-errors "zlib") 2>&5
   26006   ac_status=$?
   26007   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26008   test $ac_status = 0; }; then
   26009   pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags "zlib" 2>/dev/null`
   26010 		      test "x$?" != "x0" && pkg_failed=yes
   26011 else
   26012   pkg_failed=yes
   26013 fi
   26014  else
   26015     pkg_failed=untried
   26016 fi
   26017 if test -n "$ZLIB_LIBS"; then
   26018     pkg_cv_ZLIB_LIBS="$ZLIB_LIBS"
   26019  elif test -n "$PKG_CONFIG"; then
   26020     if test -n "$PKG_CONFIG" && \
   26021     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5
   26022   ($PKG_CONFIG --exists --print-errors "zlib") 2>&5
   26023   ac_status=$?
   26024   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26025   test $ac_status = 0; }; then
   26026   pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs "zlib" 2>/dev/null`
   26027 		      test "x$?" != "x0" && pkg_failed=yes
   26028 else
   26029   pkg_failed=yes
   26030 fi
   26031  else
   26032     pkg_failed=untried
   26033 fi
   26034 
   26035 
   26036 
   26037 if test $pkg_failed = yes; then
   26038         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26039 printf "%s\n" "no" >&6; }
   26040 
   26041 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   26042         _pkg_short_errors_supported=yes
   26043 else
   26044         _pkg_short_errors_supported=no
   26045 fi
   26046         if test $_pkg_short_errors_supported = yes; then
   26047                 ZLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib" 2>&1`
   26048         else
   26049                 ZLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib" 2>&1`
   26050         fi
   26051         # Put the nasty error message in config.log where it belongs
   26052         echo "$ZLIB_PKG_ERRORS" >&5
   26053 
   26054         as_fn_error $? "Package requirements (zlib) were not met:
   26055 
   26056 $ZLIB_PKG_ERRORS
   26057 
   26058 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   26059 installed software in a non-standard prefix.
   26060 
   26061 Alternatively, you may set the environment variables ZLIB_CFLAGS
   26062 and ZLIB_LIBS to avoid the need to call pkg-config.
   26063 See the pkg-config man page for more details." "$LINENO" 5
   26064 elif test $pkg_failed = untried; then
   26065         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26066 printf "%s\n" "no" >&6; }
   26067         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   26068 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   26069 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   26070 is in your PATH or set the PKG_CONFIG environment variable to the full
   26071 path to pkg-config.
   26072 
   26073 Alternatively, you may set the environment variables ZLIB_CFLAGS
   26074 and ZLIB_LIBS to avoid the need to call pkg-config.
   26075 See the pkg-config man page for more details.
   26076 
   26077 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   26078 See 'config.log' for more details" "$LINENO" 5; }
   26079 else
   26080         ZLIB_CFLAGS=$pkg_cv_ZLIB_CFLAGS
   26081         ZLIB_LIBS=$pkg_cv_ZLIB_LIBS
   26082         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   26083 printf "%s\n" "yes" >&6; }
   26084 
   26085 printf "%s\n" "#define HAVE_ZLIB 1" >>confdefs.h
   26086 
   26087 fi ;; #(
   26088   *) :
   26089     as_fn_error $? "Specifying zlib installation path is not supported, adjust PKG_CONFIG_PATH instead" "$LINENO" 5 ;;
   26090 esac
   26091 
   26092 
   26093 
   26094 #
   26095 # Check if the system supports glibc-compatible backtrace() function.
   26096 #
   26097        for ac_header in execinfo.h
   26098 do :
   26099   ac_fn_c_check_header_compile "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default"
   26100 if test "x$ac_cv_header_execinfo_h" = xyes
   26101 then :
   26102   printf "%s\n" "#define HAVE_EXECINFO_H 1" >>confdefs.h
   26103  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace_symbols" >&5
   26104 printf %s "checking for library containing backtrace_symbols... " >&6; }
   26105 if test ${ac_cv_search_backtrace_symbols+y}
   26106 then :
   26107   printf %s "(cached) " >&6
   26108 else case e in #(
   26109   e) ac_func_search_save_LIBS=$LIBS
   26110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   26111 /* end confdefs.h.  */
   26112 
   26113 /* Override any GCC internal prototype to avoid an error.
   26114    Use char because int might match the return type of a GCC
   26115    builtin and then its argument prototype would still apply.
   26116    The 'extern "C"' is for builds by C++ compilers;
   26117    although this is not generally supported in C code supporting it here
   26118    has little cost and some practical benefit (sr 110532).  */
   26119 #ifdef __cplusplus
   26120 extern "C"
   26121 #endif
   26122 char backtrace_symbols (void);
   26123 int
   26124 main (void)
   26125 {
   26126 return backtrace_symbols ();
   26127   ;
   26128   return 0;
   26129 }
   26130 _ACEOF
   26131 for ac_lib in '' execinfo
   26132 do
   26133   if test -z "$ac_lib"; then
   26134     ac_res="none required"
   26135   else
   26136     ac_res=-l$ac_lib
   26137     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   26138   fi
   26139   if ac_fn_c_try_link "$LINENO"
   26140 then :
   26141   ac_cv_search_backtrace_symbols=$ac_res
   26142 fi
   26143 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   26144     conftest$ac_exeext
   26145   if test ${ac_cv_search_backtrace_symbols+y}
   26146 then :
   26147   break
   26148 fi
   26149 done
   26150 if test ${ac_cv_search_backtrace_symbols+y}
   26151 then :
   26152 
   26153 else case e in #(
   26154   e) ac_cv_search_backtrace_symbols=no ;;
   26155 esac
   26156 fi
   26157 rm conftest.$ac_ext
   26158 LIBS=$ac_func_search_save_LIBS ;;
   26159 esac
   26160 fi
   26161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace_symbols" >&5
   26162 printf "%s\n" "$ac_cv_search_backtrace_symbols" >&6; }
   26163 ac_res=$ac_cv_search_backtrace_symbols
   26164 if test "$ac_res" != no
   26165 then :
   26166   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   26167   ac_fn_c_check_func "$LINENO" "backtrace_symbols" "ac_cv_func_backtrace_symbols"
   26168 if test "x$ac_cv_func_backtrace_symbols" = xyes
   26169 then :
   26170   printf "%s\n" "#define HAVE_BACKTRACE_SYMBOLS 1" >>confdefs.h
   26171 
   26172 fi
   26173 
   26174 fi
   26175 
   26176 fi
   26177 
   26178 done
   26179 
   26180 #
   26181 # We do the IPv6 compilation checking after libtool so that we can put
   26182 # the right suffix on the files.
   26183 #
   26184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IPv6 structures" >&5
   26185 printf %s "checking for IPv6 structures... " >&6; }
   26186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   26187 /* end confdefs.h.  */
   26188 
   26189        #include <sys/types.h>
   26190        #include <sys/socket.h>
   26191        #include <netinet/in.h>
   26192 
   26193 int
   26194 main (void)
   26195 {
   26196 
   26197        struct sockaddr_in6 sin6;
   26198        struct in6_addr in6;
   26199        struct in6_pktinfo in6_pi;
   26200        struct sockaddr_storage storage;
   26201        in6 = in6addr_any;
   26202        in6 = in6addr_loopback;
   26203        sin6.sin6_scope_id = 0;
   26204        return (0);
   26205 
   26206   ;
   26207   return 0;
   26208 }
   26209 _ACEOF
   26210 if ac_fn_c_try_compile "$LINENO"
   26211 then :
   26212   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   26213 printf "%s\n" "yes" >&6; }
   26214 else case e in #(
   26215   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   26216 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   26217 as_fn_error $? "IPv6 support is mandatory
   26218 See 'config.log' for more details" "$LINENO" 5; } ;;
   26219 esac
   26220 fi
   26221 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   26222 
   26223 #
   26224 # Allow forcibly disabling TCP Fast Open support as autodetection might yield
   26225 # confusing results on some systems (e.g. FreeBSD; see set_tcp_fastopen()
   26226 # comment in lib/isc/socket.c).
   26227 #
   26228 # [pairwise: --enable-tcp-fastopen, --disable-tcp-fastopen]
   26229 # Check whether --enable-tcp_fastopen was given.
   26230 if test ${enable_tcp_fastopen+y}
   26231 then :
   26232   enableval=$enable_tcp_fastopen;
   26233 else case e in #(
   26234   e) enable_tcp_fastopen="yes" ;;
   26235 esac
   26236 fi
   26237 
   26238 
   26239 if test "$enable_tcp_fastopen" = "yes"
   26240 then :
   26241 
   26242 printf "%s\n" "#define ENABLE_TCP_FASTOPEN 1" >>confdefs.h
   26243 
   26244 fi
   26245 
   26246 #
   26247 # Check for some other useful functions that are not ever-present.
   26248 #
   26249 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   26250 if test "x$ac_cv_func_strlcpy" = xyes
   26251 then :
   26252   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   26253 
   26254 fi
   26255 ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   26256 if test "x$ac_cv_func_strlcat" = xyes
   26257 then :
   26258   printf "%s\n" "#define HAVE_STRLCAT 1" >>confdefs.h
   26259 
   26260 fi
   26261 ac_fn_c_check_func "$LINENO" "strnstr" "ac_cv_func_strnstr"
   26262 if test "x$ac_cv_func_strnstr" = xyes
   26263 then :
   26264   printf "%s\n" "#define HAVE_STRNSTR 1" >>confdefs.h
   26265 
   26266 fi
   26267 
   26268 
   26269 #
   26270 # Check for readline support
   26271 #
   26272 
   26273 # editline is not included in pairwise testing as the library
   26274 # is not present in the relevant Docker image.
   26275 #
   26276 # GNU Readline is not included in pairwise testing as the library
   26277 # in the relevant Docker image does not support pkg-config.
   26278 #
   26279 # [pairwise: --with-readline=auto, --with-readline=yes, --with-readline=libedit, --without-readline]
   26280 
   26281 # Check whether --with-readline was given.
   26282 if test ${with_readline+y}
   26283 then :
   26284   withval=$with_readline;
   26285 else case e in #(
   26286   e) with_readline="auto" ;;
   26287 esac
   26288 fi
   26289 
   26290 
   26291 case $with_readline in #(
   26292   no) :
   26293      ;; #(
   26294   auto|yes) :
   26295 
   26296 pkg_failed=no
   26297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libedit" >&5
   26298 printf %s "checking for libedit... " >&6; }
   26299 
   26300 if test -n "$READLINE_CFLAGS"; then
   26301     pkg_cv_READLINE_CFLAGS="$READLINE_CFLAGS"
   26302  elif test -n "$PKG_CONFIG"; then
   26303     if test -n "$PKG_CONFIG" && \
   26304     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedit\""; } >&5
   26305   ($PKG_CONFIG --exists --print-errors "libedit") 2>&5
   26306   ac_status=$?
   26307   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26308   test $ac_status = 0; }; then
   26309   pkg_cv_READLINE_CFLAGS=`$PKG_CONFIG --cflags "libedit" 2>/dev/null`
   26310 		      test "x$?" != "x0" && pkg_failed=yes
   26311 else
   26312   pkg_failed=yes
   26313 fi
   26314  else
   26315     pkg_failed=untried
   26316 fi
   26317 if test -n "$READLINE_LIBS"; then
   26318     pkg_cv_READLINE_LIBS="$READLINE_LIBS"
   26319  elif test -n "$PKG_CONFIG"; then
   26320     if test -n "$PKG_CONFIG" && \
   26321     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedit\""; } >&5
   26322   ($PKG_CONFIG --exists --print-errors "libedit") 2>&5
   26323   ac_status=$?
   26324   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26325   test $ac_status = 0; }; then
   26326   pkg_cv_READLINE_LIBS=`$PKG_CONFIG --libs "libedit" 2>/dev/null`
   26327 		      test "x$?" != "x0" && pkg_failed=yes
   26328 else
   26329   pkg_failed=yes
   26330 fi
   26331  else
   26332     pkg_failed=untried
   26333 fi
   26334 
   26335 
   26336 
   26337 if test $pkg_failed = yes; then
   26338         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26339 printf "%s\n" "no" >&6; }
   26340 
   26341 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   26342         _pkg_short_errors_supported=yes
   26343 else
   26344         _pkg_short_errors_supported=no
   26345 fi
   26346         if test $_pkg_short_errors_supported = yes; then
   26347                 READLINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libedit" 2>&1`
   26348         else
   26349                 READLINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libedit" 2>&1`
   26350         fi
   26351         # Put the nasty error message in config.log where it belongs
   26352         echo "$READLINE_PKG_ERRORS" >&5
   26353 
   26354 
   26355 pkg_failed=no
   26356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libeditline" >&5
   26357 printf %s "checking for libeditline... " >&6; }
   26358 
   26359 if test -n "$READLINE_CFLAGS"; then
   26360     pkg_cv_READLINE_CFLAGS="$READLINE_CFLAGS"
   26361  elif test -n "$PKG_CONFIG"; then
   26362     if test -n "$PKG_CONFIG" && \
   26363     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libeditline\""; } >&5
   26364   ($PKG_CONFIG --exists --print-errors "libeditline") 2>&5
   26365   ac_status=$?
   26366   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26367   test $ac_status = 0; }; then
   26368   pkg_cv_READLINE_CFLAGS=`$PKG_CONFIG --cflags "libeditline" 2>/dev/null`
   26369 		      test "x$?" != "x0" && pkg_failed=yes
   26370 else
   26371   pkg_failed=yes
   26372 fi
   26373  else
   26374     pkg_failed=untried
   26375 fi
   26376 if test -n "$READLINE_LIBS"; then
   26377     pkg_cv_READLINE_LIBS="$READLINE_LIBS"
   26378  elif test -n "$PKG_CONFIG"; then
   26379     if test -n "$PKG_CONFIG" && \
   26380     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libeditline\""; } >&5
   26381   ($PKG_CONFIG --exists --print-errors "libeditline") 2>&5
   26382   ac_status=$?
   26383   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26384   test $ac_status = 0; }; then
   26385   pkg_cv_READLINE_LIBS=`$PKG_CONFIG --libs "libeditline" 2>/dev/null`
   26386 		      test "x$?" != "x0" && pkg_failed=yes
   26387 else
   26388   pkg_failed=yes
   26389 fi
   26390  else
   26391     pkg_failed=untried
   26392 fi
   26393 
   26394 
   26395 
   26396 if test $pkg_failed = yes; then
   26397         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26398 printf "%s\n" "no" >&6; }
   26399 
   26400 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   26401         _pkg_short_errors_supported=yes
   26402 else
   26403         _pkg_short_errors_supported=no
   26404 fi
   26405         if test $_pkg_short_errors_supported = yes; then
   26406                 READLINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libeditline" 2>&1`
   26407         else
   26408                 READLINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libeditline" 2>&1`
   26409         fi
   26410         # Put the nasty error message in config.log where it belongs
   26411         echo "$READLINE_PKG_ERRORS" >&5
   26412 
   26413 
   26414 pkg_failed=no
   26415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for readline" >&5
   26416 printf %s "checking for readline... " >&6; }
   26417 
   26418 if test -n "$READLINE_CFLAGS"; then
   26419     pkg_cv_READLINE_CFLAGS="$READLINE_CFLAGS"
   26420  elif test -n "$PKG_CONFIG"; then
   26421     if test -n "$PKG_CONFIG" && \
   26422     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"readline\""; } >&5
   26423   ($PKG_CONFIG --exists --print-errors "readline") 2>&5
   26424   ac_status=$?
   26425   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26426   test $ac_status = 0; }; then
   26427   pkg_cv_READLINE_CFLAGS=`$PKG_CONFIG --cflags "readline" 2>/dev/null`
   26428 		      test "x$?" != "x0" && pkg_failed=yes
   26429 else
   26430   pkg_failed=yes
   26431 fi
   26432  else
   26433     pkg_failed=untried
   26434 fi
   26435 if test -n "$READLINE_LIBS"; then
   26436     pkg_cv_READLINE_LIBS="$READLINE_LIBS"
   26437  elif test -n "$PKG_CONFIG"; then
   26438     if test -n "$PKG_CONFIG" && \
   26439     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"readline\""; } >&5
   26440   ($PKG_CONFIG --exists --print-errors "readline") 2>&5
   26441   ac_status=$?
   26442   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26443   test $ac_status = 0; }; then
   26444   pkg_cv_READLINE_LIBS=`$PKG_CONFIG --libs "readline" 2>/dev/null`
   26445 		      test "x$?" != "x0" && pkg_failed=yes
   26446 else
   26447   pkg_failed=yes
   26448 fi
   26449  else
   26450     pkg_failed=untried
   26451 fi
   26452 
   26453 
   26454 
   26455 if test $pkg_failed = yes; then
   26456         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26457 printf "%s\n" "no" >&6; }
   26458 
   26459 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   26460         _pkg_short_errors_supported=yes
   26461 else
   26462         _pkg_short_errors_supported=no
   26463 fi
   26464         if test $_pkg_short_errors_supported = yes; then
   26465                 READLINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "readline" 2>&1`
   26466         else
   26467                 READLINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "readline" 2>&1`
   26468         fi
   26469         # Put the nasty error message in config.log where it belongs
   26470         echo "$READLINE_PKG_ERRORS" >&5
   26471 
   26472         if test "$with_readline" = "yes"
   26473 then :
   26474   as_fn_error $? "readline support requested, but none of the libraries have been found." "$LINENO" 5
   26475 fi
   26476 elif test $pkg_failed = untried; then
   26477         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26478 printf "%s\n" "no" >&6; }
   26479         if test "$with_readline" = "yes"
   26480 then :
   26481   as_fn_error $? "readline support requested, but none of the libraries have been found." "$LINENO" 5
   26482 fi
   26483 else
   26484         READLINE_CFLAGS=$pkg_cv_READLINE_CFLAGS
   26485         READLINE_LIBS=$pkg_cv_READLINE_LIBS
   26486         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   26487 printf "%s\n" "yes" >&6; }
   26488 
   26489 printf "%s\n" "#define HAVE_READLINE_READLINE 1" >>confdefs.h
   26490 
   26491 fi
   26492 elif test $pkg_failed = untried; then
   26493         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26494 printf "%s\n" "no" >&6; }
   26495 
   26496 pkg_failed=no
   26497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for readline" >&5
   26498 printf %s "checking for readline... " >&6; }
   26499 
   26500 if test -n "$READLINE_CFLAGS"; then
   26501     pkg_cv_READLINE_CFLAGS="$READLINE_CFLAGS"
   26502  elif test -n "$PKG_CONFIG"; then
   26503     if test -n "$PKG_CONFIG" && \
   26504     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"readline\""; } >&5
   26505   ($PKG_CONFIG --exists --print-errors "readline") 2>&5
   26506   ac_status=$?
   26507   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26508   test $ac_status = 0; }; then
   26509   pkg_cv_READLINE_CFLAGS=`$PKG_CONFIG --cflags "readline" 2>/dev/null`
   26510 		      test "x$?" != "x0" && pkg_failed=yes
   26511 else
   26512   pkg_failed=yes
   26513 fi
   26514  else
   26515     pkg_failed=untried
   26516 fi
   26517 if test -n "$READLINE_LIBS"; then
   26518     pkg_cv_READLINE_LIBS="$READLINE_LIBS"
   26519  elif test -n "$PKG_CONFIG"; then
   26520     if test -n "$PKG_CONFIG" && \
   26521     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"readline\""; } >&5
   26522   ($PKG_CONFIG --exists --print-errors "readline") 2>&5
   26523   ac_status=$?
   26524   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26525   test $ac_status = 0; }; then
   26526   pkg_cv_READLINE_LIBS=`$PKG_CONFIG --libs "readline" 2>/dev/null`
   26527 		      test "x$?" != "x0" && pkg_failed=yes
   26528 else
   26529   pkg_failed=yes
   26530 fi
   26531  else
   26532     pkg_failed=untried
   26533 fi
   26534 
   26535 
   26536 
   26537 if test $pkg_failed = yes; then
   26538         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26539 printf "%s\n" "no" >&6; }
   26540 
   26541 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   26542         _pkg_short_errors_supported=yes
   26543 else
   26544         _pkg_short_errors_supported=no
   26545 fi
   26546         if test $_pkg_short_errors_supported = yes; then
   26547                 READLINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "readline" 2>&1`
   26548         else
   26549                 READLINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "readline" 2>&1`
   26550         fi
   26551         # Put the nasty error message in config.log where it belongs
   26552         echo "$READLINE_PKG_ERRORS" >&5
   26553 
   26554         if test "$with_readline" = "yes"
   26555 then :
   26556   as_fn_error $? "readline support requested, but none of the libraries have been found." "$LINENO" 5
   26557 fi
   26558 elif test $pkg_failed = untried; then
   26559         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26560 printf "%s\n" "no" >&6; }
   26561         if test "$with_readline" = "yes"
   26562 then :
   26563   as_fn_error $? "readline support requested, but none of the libraries have been found." "$LINENO" 5
   26564 fi
   26565 else
   26566         READLINE_CFLAGS=$pkg_cv_READLINE_CFLAGS
   26567         READLINE_LIBS=$pkg_cv_READLINE_LIBS
   26568         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   26569 printf "%s\n" "yes" >&6; }
   26570 
   26571 printf "%s\n" "#define HAVE_READLINE_READLINE 1" >>confdefs.h
   26572 
   26573 fi
   26574 else
   26575         READLINE_CFLAGS=$pkg_cv_READLINE_CFLAGS
   26576         READLINE_LIBS=$pkg_cv_READLINE_LIBS
   26577         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   26578 printf "%s\n" "yes" >&6; }
   26579 
   26580 printf "%s\n" "#define HAVE_READLINE_EDITLINE 1" >>confdefs.h
   26581 
   26582 fi
   26583 elif test $pkg_failed = untried; then
   26584         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26585 printf "%s\n" "no" >&6; }
   26586 
   26587 pkg_failed=no
   26588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libeditline" >&5
   26589 printf %s "checking for libeditline... " >&6; }
   26590 
   26591 if test -n "$READLINE_CFLAGS"; then
   26592     pkg_cv_READLINE_CFLAGS="$READLINE_CFLAGS"
   26593  elif test -n "$PKG_CONFIG"; then
   26594     if test -n "$PKG_CONFIG" && \
   26595     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libeditline\""; } >&5
   26596   ($PKG_CONFIG --exists --print-errors "libeditline") 2>&5
   26597   ac_status=$?
   26598   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26599   test $ac_status = 0; }; then
   26600   pkg_cv_READLINE_CFLAGS=`$PKG_CONFIG --cflags "libeditline" 2>/dev/null`
   26601 		      test "x$?" != "x0" && pkg_failed=yes
   26602 else
   26603   pkg_failed=yes
   26604 fi
   26605  else
   26606     pkg_failed=untried
   26607 fi
   26608 if test -n "$READLINE_LIBS"; then
   26609     pkg_cv_READLINE_LIBS="$READLINE_LIBS"
   26610  elif test -n "$PKG_CONFIG"; then
   26611     if test -n "$PKG_CONFIG" && \
   26612     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libeditline\""; } >&5
   26613   ($PKG_CONFIG --exists --print-errors "libeditline") 2>&5
   26614   ac_status=$?
   26615   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26616   test $ac_status = 0; }; then
   26617   pkg_cv_READLINE_LIBS=`$PKG_CONFIG --libs "libeditline" 2>/dev/null`
   26618 		      test "x$?" != "x0" && pkg_failed=yes
   26619 else
   26620   pkg_failed=yes
   26621 fi
   26622  else
   26623     pkg_failed=untried
   26624 fi
   26625 
   26626 
   26627 
   26628 if test $pkg_failed = yes; then
   26629         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26630 printf "%s\n" "no" >&6; }
   26631 
   26632 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   26633         _pkg_short_errors_supported=yes
   26634 else
   26635         _pkg_short_errors_supported=no
   26636 fi
   26637         if test $_pkg_short_errors_supported = yes; then
   26638                 READLINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libeditline" 2>&1`
   26639         else
   26640                 READLINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libeditline" 2>&1`
   26641         fi
   26642         # Put the nasty error message in config.log where it belongs
   26643         echo "$READLINE_PKG_ERRORS" >&5
   26644 
   26645 
   26646 pkg_failed=no
   26647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for readline" >&5
   26648 printf %s "checking for readline... " >&6; }
   26649 
   26650 if test -n "$READLINE_CFLAGS"; then
   26651     pkg_cv_READLINE_CFLAGS="$READLINE_CFLAGS"
   26652  elif test -n "$PKG_CONFIG"; then
   26653     if test -n "$PKG_CONFIG" && \
   26654     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"readline\""; } >&5
   26655   ($PKG_CONFIG --exists --print-errors "readline") 2>&5
   26656   ac_status=$?
   26657   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26658   test $ac_status = 0; }; then
   26659   pkg_cv_READLINE_CFLAGS=`$PKG_CONFIG --cflags "readline" 2>/dev/null`
   26660 		      test "x$?" != "x0" && pkg_failed=yes
   26661 else
   26662   pkg_failed=yes
   26663 fi
   26664  else
   26665     pkg_failed=untried
   26666 fi
   26667 if test -n "$READLINE_LIBS"; then
   26668     pkg_cv_READLINE_LIBS="$READLINE_LIBS"
   26669  elif test -n "$PKG_CONFIG"; then
   26670     if test -n "$PKG_CONFIG" && \
   26671     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"readline\""; } >&5
   26672   ($PKG_CONFIG --exists --print-errors "readline") 2>&5
   26673   ac_status=$?
   26674   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26675   test $ac_status = 0; }; then
   26676   pkg_cv_READLINE_LIBS=`$PKG_CONFIG --libs "readline" 2>/dev/null`
   26677 		      test "x$?" != "x0" && pkg_failed=yes
   26678 else
   26679   pkg_failed=yes
   26680 fi
   26681  else
   26682     pkg_failed=untried
   26683 fi
   26684 
   26685 
   26686 
   26687 if test $pkg_failed = yes; then
   26688         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26689 printf "%s\n" "no" >&6; }
   26690 
   26691 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   26692         _pkg_short_errors_supported=yes
   26693 else
   26694         _pkg_short_errors_supported=no
   26695 fi
   26696         if test $_pkg_short_errors_supported = yes; then
   26697                 READLINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "readline" 2>&1`
   26698         else
   26699                 READLINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "readline" 2>&1`
   26700         fi
   26701         # Put the nasty error message in config.log where it belongs
   26702         echo "$READLINE_PKG_ERRORS" >&5
   26703 
   26704         if test "$with_readline" = "yes"
   26705 then :
   26706   as_fn_error $? "readline support requested, but none of the libraries have been found." "$LINENO" 5
   26707 fi
   26708 elif test $pkg_failed = untried; then
   26709         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26710 printf "%s\n" "no" >&6; }
   26711         if test "$with_readline" = "yes"
   26712 then :
   26713   as_fn_error $? "readline support requested, but none of the libraries have been found." "$LINENO" 5
   26714 fi
   26715 else
   26716         READLINE_CFLAGS=$pkg_cv_READLINE_CFLAGS
   26717         READLINE_LIBS=$pkg_cv_READLINE_LIBS
   26718         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   26719 printf "%s\n" "yes" >&6; }
   26720 
   26721 printf "%s\n" "#define HAVE_READLINE_READLINE 1" >>confdefs.h
   26722 
   26723 fi
   26724 elif test $pkg_failed = untried; then
   26725         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26726 printf "%s\n" "no" >&6; }
   26727 
   26728 pkg_failed=no
   26729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for readline" >&5
   26730 printf %s "checking for readline... " >&6; }
   26731 
   26732 if test -n "$READLINE_CFLAGS"; then
   26733     pkg_cv_READLINE_CFLAGS="$READLINE_CFLAGS"
   26734  elif test -n "$PKG_CONFIG"; then
   26735     if test -n "$PKG_CONFIG" && \
   26736     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"readline\""; } >&5
   26737   ($PKG_CONFIG --exists --print-errors "readline") 2>&5
   26738   ac_status=$?
   26739   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26740   test $ac_status = 0; }; then
   26741   pkg_cv_READLINE_CFLAGS=`$PKG_CONFIG --cflags "readline" 2>/dev/null`
   26742 		      test "x$?" != "x0" && pkg_failed=yes
   26743 else
   26744   pkg_failed=yes
   26745 fi
   26746  else
   26747     pkg_failed=untried
   26748 fi
   26749 if test -n "$READLINE_LIBS"; then
   26750     pkg_cv_READLINE_LIBS="$READLINE_LIBS"
   26751  elif test -n "$PKG_CONFIG"; then
   26752     if test -n "$PKG_CONFIG" && \
   26753     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"readline\""; } >&5
   26754   ($PKG_CONFIG --exists --print-errors "readline") 2>&5
   26755   ac_status=$?
   26756   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26757   test $ac_status = 0; }; then
   26758   pkg_cv_READLINE_LIBS=`$PKG_CONFIG --libs "readline" 2>/dev/null`
   26759 		      test "x$?" != "x0" && pkg_failed=yes
   26760 else
   26761   pkg_failed=yes
   26762 fi
   26763  else
   26764     pkg_failed=untried
   26765 fi
   26766 
   26767 
   26768 
   26769 if test $pkg_failed = yes; then
   26770         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26771 printf "%s\n" "no" >&6; }
   26772 
   26773 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   26774         _pkg_short_errors_supported=yes
   26775 else
   26776         _pkg_short_errors_supported=no
   26777 fi
   26778         if test $_pkg_short_errors_supported = yes; then
   26779                 READLINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "readline" 2>&1`
   26780         else
   26781                 READLINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "readline" 2>&1`
   26782         fi
   26783         # Put the nasty error message in config.log where it belongs
   26784         echo "$READLINE_PKG_ERRORS" >&5
   26785 
   26786         if test "$with_readline" = "yes"
   26787 then :
   26788   as_fn_error $? "readline support requested, but none of the libraries have been found." "$LINENO" 5
   26789 fi
   26790 elif test $pkg_failed = untried; then
   26791         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26792 printf "%s\n" "no" >&6; }
   26793         if test "$with_readline" = "yes"
   26794 then :
   26795   as_fn_error $? "readline support requested, but none of the libraries have been found." "$LINENO" 5
   26796 fi
   26797 else
   26798         READLINE_CFLAGS=$pkg_cv_READLINE_CFLAGS
   26799         READLINE_LIBS=$pkg_cv_READLINE_LIBS
   26800         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   26801 printf "%s\n" "yes" >&6; }
   26802 
   26803 printf "%s\n" "#define HAVE_READLINE_READLINE 1" >>confdefs.h
   26804 
   26805 fi
   26806 else
   26807         READLINE_CFLAGS=$pkg_cv_READLINE_CFLAGS
   26808         READLINE_LIBS=$pkg_cv_READLINE_LIBS
   26809         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   26810 printf "%s\n" "yes" >&6; }
   26811 
   26812 printf "%s\n" "#define HAVE_READLINE_EDITLINE 1" >>confdefs.h
   26813 
   26814 fi
   26815 else
   26816         READLINE_CFLAGS=$pkg_cv_READLINE_CFLAGS
   26817         READLINE_LIBS=$pkg_cv_READLINE_LIBS
   26818         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   26819 printf "%s\n" "yes" >&6; }
   26820 
   26821 printf "%s\n" "#define HAVE_READLINE_LIBEDIT 1" >>confdefs.h
   26822 
   26823 fi ;; #(
   26824   libedit) :
   26825 
   26826 pkg_failed=no
   26827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libedit" >&5
   26828 printf %s "checking for libedit... " >&6; }
   26829 
   26830 if test -n "$READLINE_CFLAGS"; then
   26831     pkg_cv_READLINE_CFLAGS="$READLINE_CFLAGS"
   26832  elif test -n "$PKG_CONFIG"; then
   26833     if test -n "$PKG_CONFIG" && \
   26834     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedit\""; } >&5
   26835   ($PKG_CONFIG --exists --print-errors "libedit") 2>&5
   26836   ac_status=$?
   26837   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26838   test $ac_status = 0; }; then
   26839   pkg_cv_READLINE_CFLAGS=`$PKG_CONFIG --cflags "libedit" 2>/dev/null`
   26840 		      test "x$?" != "x0" && pkg_failed=yes
   26841 else
   26842   pkg_failed=yes
   26843 fi
   26844  else
   26845     pkg_failed=untried
   26846 fi
   26847 if test -n "$READLINE_LIBS"; then
   26848     pkg_cv_READLINE_LIBS="$READLINE_LIBS"
   26849  elif test -n "$PKG_CONFIG"; then
   26850     if test -n "$PKG_CONFIG" && \
   26851     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedit\""; } >&5
   26852   ($PKG_CONFIG --exists --print-errors "libedit") 2>&5
   26853   ac_status=$?
   26854   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26855   test $ac_status = 0; }; then
   26856   pkg_cv_READLINE_LIBS=`$PKG_CONFIG --libs "libedit" 2>/dev/null`
   26857 		      test "x$?" != "x0" && pkg_failed=yes
   26858 else
   26859   pkg_failed=yes
   26860 fi
   26861  else
   26862     pkg_failed=untried
   26863 fi
   26864 
   26865 
   26866 
   26867 if test $pkg_failed = yes; then
   26868         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26869 printf "%s\n" "no" >&6; }
   26870 
   26871 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   26872         _pkg_short_errors_supported=yes
   26873 else
   26874         _pkg_short_errors_supported=no
   26875 fi
   26876         if test $_pkg_short_errors_supported = yes; then
   26877                 READLINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libedit" 2>&1`
   26878         else
   26879                 READLINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libedit" 2>&1`
   26880         fi
   26881         # Put the nasty error message in config.log where it belongs
   26882         echo "$READLINE_PKG_ERRORS" >&5
   26883 
   26884         as_fn_error $? "Package requirements (libedit) were not met:
   26885 
   26886 $READLINE_PKG_ERRORS
   26887 
   26888 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   26889 installed software in a non-standard prefix.
   26890 
   26891 Alternatively, you may set the environment variables READLINE_CFLAGS
   26892 and READLINE_LIBS to avoid the need to call pkg-config.
   26893 See the pkg-config man page for more details." "$LINENO" 5
   26894 elif test $pkg_failed = untried; then
   26895         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26896 printf "%s\n" "no" >&6; }
   26897         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   26898 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   26899 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   26900 is in your PATH or set the PKG_CONFIG environment variable to the full
   26901 path to pkg-config.
   26902 
   26903 Alternatively, you may set the environment variables READLINE_CFLAGS
   26904 and READLINE_LIBS to avoid the need to call pkg-config.
   26905 See the pkg-config man page for more details.
   26906 
   26907 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   26908 See 'config.log' for more details" "$LINENO" 5; }
   26909 else
   26910         READLINE_CFLAGS=$pkg_cv_READLINE_CFLAGS
   26911         READLINE_LIBS=$pkg_cv_READLINE_LIBS
   26912         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   26913 printf "%s\n" "yes" >&6; }
   26914 
   26915 printf "%s\n" "#define HAVE_READLINE_LIBEDIT 1" >>confdefs.h
   26916 
   26917 fi ;; #(
   26918   editline) :
   26919 
   26920 pkg_failed=no
   26921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libeditline" >&5
   26922 printf %s "checking for libeditline... " >&6; }
   26923 
   26924 if test -n "$READLINE_CFLAGS"; then
   26925     pkg_cv_READLINE_CFLAGS="$READLINE_CFLAGS"
   26926  elif test -n "$PKG_CONFIG"; then
   26927     if test -n "$PKG_CONFIG" && \
   26928     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libeditline\""; } >&5
   26929   ($PKG_CONFIG --exists --print-errors "libeditline") 2>&5
   26930   ac_status=$?
   26931   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26932   test $ac_status = 0; }; then
   26933   pkg_cv_READLINE_CFLAGS=`$PKG_CONFIG --cflags "libeditline" 2>/dev/null`
   26934 		      test "x$?" != "x0" && pkg_failed=yes
   26935 else
   26936   pkg_failed=yes
   26937 fi
   26938  else
   26939     pkg_failed=untried
   26940 fi
   26941 if test -n "$READLINE_LIBS"; then
   26942     pkg_cv_READLINE_LIBS="$READLINE_LIBS"
   26943  elif test -n "$PKG_CONFIG"; then
   26944     if test -n "$PKG_CONFIG" && \
   26945     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libeditline\""; } >&5
   26946   ($PKG_CONFIG --exists --print-errors "libeditline") 2>&5
   26947   ac_status=$?
   26948   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26949   test $ac_status = 0; }; then
   26950   pkg_cv_READLINE_LIBS=`$PKG_CONFIG --libs "libeditline" 2>/dev/null`
   26951 		      test "x$?" != "x0" && pkg_failed=yes
   26952 else
   26953   pkg_failed=yes
   26954 fi
   26955  else
   26956     pkg_failed=untried
   26957 fi
   26958 
   26959 
   26960 
   26961 if test $pkg_failed = yes; then
   26962         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26963 printf "%s\n" "no" >&6; }
   26964 
   26965 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   26966         _pkg_short_errors_supported=yes
   26967 else
   26968         _pkg_short_errors_supported=no
   26969 fi
   26970         if test $_pkg_short_errors_supported = yes; then
   26971                 READLINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libeditline" 2>&1`
   26972         else
   26973                 READLINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libeditline" 2>&1`
   26974         fi
   26975         # Put the nasty error message in config.log where it belongs
   26976         echo "$READLINE_PKG_ERRORS" >&5
   26977 
   26978         as_fn_error $? "Package requirements (libeditline) were not met:
   26979 
   26980 $READLINE_PKG_ERRORS
   26981 
   26982 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   26983 installed software in a non-standard prefix.
   26984 
   26985 Alternatively, you may set the environment variables READLINE_CFLAGS
   26986 and READLINE_LIBS to avoid the need to call pkg-config.
   26987 See the pkg-config man page for more details." "$LINENO" 5
   26988 elif test $pkg_failed = untried; then
   26989         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26990 printf "%s\n" "no" >&6; }
   26991         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   26992 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   26993 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   26994 is in your PATH or set the PKG_CONFIG environment variable to the full
   26995 path to pkg-config.
   26996 
   26997 Alternatively, you may set the environment variables READLINE_CFLAGS
   26998 and READLINE_LIBS to avoid the need to call pkg-config.
   26999 See the pkg-config man page for more details.
   27000 
   27001 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   27002 See 'config.log' for more details" "$LINENO" 5; }
   27003 else
   27004         READLINE_CFLAGS=$pkg_cv_READLINE_CFLAGS
   27005         READLINE_LIBS=$pkg_cv_READLINE_LIBS
   27006         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   27007 printf "%s\n" "yes" >&6; }
   27008 
   27009 printf "%s\n" "#define HAVE_READLINE_EDITLINE 1" >>confdefs.h
   27010 
   27011 fi ;; #(
   27012   readline) :
   27013 
   27014 pkg_failed=no
   27015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for readline" >&5
   27016 printf %s "checking for readline... " >&6; }
   27017 
   27018 if test -n "$READLINE_CFLAGS"; then
   27019     pkg_cv_READLINE_CFLAGS="$READLINE_CFLAGS"
   27020  elif test -n "$PKG_CONFIG"; then
   27021     if test -n "$PKG_CONFIG" && \
   27022     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"readline\""; } >&5
   27023   ($PKG_CONFIG --exists --print-errors "readline") 2>&5
   27024   ac_status=$?
   27025   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   27026   test $ac_status = 0; }; then
   27027   pkg_cv_READLINE_CFLAGS=`$PKG_CONFIG --cflags "readline" 2>/dev/null`
   27028 		      test "x$?" != "x0" && pkg_failed=yes
   27029 else
   27030   pkg_failed=yes
   27031 fi
   27032  else
   27033     pkg_failed=untried
   27034 fi
   27035 if test -n "$READLINE_LIBS"; then
   27036     pkg_cv_READLINE_LIBS="$READLINE_LIBS"
   27037  elif test -n "$PKG_CONFIG"; then
   27038     if test -n "$PKG_CONFIG" && \
   27039     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"readline\""; } >&5
   27040   ($PKG_CONFIG --exists --print-errors "readline") 2>&5
   27041   ac_status=$?
   27042   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   27043   test $ac_status = 0; }; then
   27044   pkg_cv_READLINE_LIBS=`$PKG_CONFIG --libs "readline" 2>/dev/null`
   27045 		      test "x$?" != "x0" && pkg_failed=yes
   27046 else
   27047   pkg_failed=yes
   27048 fi
   27049  else
   27050     pkg_failed=untried
   27051 fi
   27052 
   27053 
   27054 
   27055 if test $pkg_failed = yes; then
   27056         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27057 printf "%s\n" "no" >&6; }
   27058 
   27059 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   27060         _pkg_short_errors_supported=yes
   27061 else
   27062         _pkg_short_errors_supported=no
   27063 fi
   27064         if test $_pkg_short_errors_supported = yes; then
   27065                 READLINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "readline" 2>&1`
   27066         else
   27067                 READLINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "readline" 2>&1`
   27068         fi
   27069         # Put the nasty error message in config.log where it belongs
   27070         echo "$READLINE_PKG_ERRORS" >&5
   27071 
   27072         as_fn_error $? "Package requirements (readline) were not met:
   27073 
   27074 $READLINE_PKG_ERRORS
   27075 
   27076 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   27077 installed software in a non-standard prefix.
   27078 
   27079 Alternatively, you may set the environment variables READLINE_CFLAGS
   27080 and READLINE_LIBS to avoid the need to call pkg-config.
   27081 See the pkg-config man page for more details." "$LINENO" 5
   27082 elif test $pkg_failed = untried; then
   27083         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27084 printf "%s\n" "no" >&6; }
   27085         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   27086 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   27087 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   27088 is in your PATH or set the PKG_CONFIG environment variable to the full
   27089 path to pkg-config.
   27090 
   27091 Alternatively, you may set the environment variables READLINE_CFLAGS
   27092 and READLINE_LIBS to avoid the need to call pkg-config.
   27093 See the pkg-config man page for more details.
   27094 
   27095 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   27096 See 'config.log' for more details" "$LINENO" 5; }
   27097 else
   27098         READLINE_CFLAGS=$pkg_cv_READLINE_CFLAGS
   27099         READLINE_LIBS=$pkg_cv_READLINE_LIBS
   27100         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   27101 printf "%s\n" "yes" >&6; }
   27102 
   27103 printf "%s\n" "#define HAVE_READLINE_READLINE 1" >>confdefs.h
   27104 
   27105 fi ;; #(
   27106   *) :
   27107     as_fn_error $? "Unknown readline '$with_readline' library requested." "$LINENO" 5 ;;
   27108 esac
   27109  if test -n "$READLINE_LIBS"; then
   27110   HAVE_READLINE_TRUE=
   27111   HAVE_READLINE_FALSE='#'
   27112 else
   27113   HAVE_READLINE_TRUE='#'
   27114   HAVE_READLINE_FALSE=
   27115 fi
   27116 
   27117 
   27118 
   27119 
   27120 #
   27121 # Security Stuff
   27122 #
   27123 # Note it is very recommended to *not* disable chroot(),
   27124 # this is only because chroot() was made obsolete by Posix.
   27125 #
   27126 # [pairwise: --enable-chroot, --disable-chroot]
   27127 # Check whether --enable-chroot was given.
   27128 if test ${enable_chroot+y}
   27129 then :
   27130   enableval=$enable_chroot;
   27131 fi
   27132 
   27133 case "$enable_chroot" in
   27134 	yes|'')
   27135 		ac_fn_c_check_func "$LINENO" "chroot" "ac_cv_func_chroot"
   27136 if test "x$ac_cv_func_chroot" = xyes
   27137 then :
   27138   printf "%s\n" "#define HAVE_CHROOT 1" >>confdefs.h
   27139 
   27140 fi
   27141 
   27142 		;;
   27143 	no)
   27144 		;;
   27145 esac
   27146 
   27147 case $host in #(
   27148   *-linux*) :
   27149 
   27150 pkg_failed=no
   27151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcap" >&5
   27152 printf %s "checking for libcap... " >&6; }
   27153 
   27154 if test -n "$LIBCAP_CFLAGS"; then
   27155     pkg_cv_LIBCAP_CFLAGS="$LIBCAP_CFLAGS"
   27156  elif test -n "$PKG_CONFIG"; then
   27157     if test -n "$PKG_CONFIG" && \
   27158     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcap\""; } >&5
   27159   ($PKG_CONFIG --exists --print-errors "libcap") 2>&5
   27160   ac_status=$?
   27161   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   27162   test $ac_status = 0; }; then
   27163   pkg_cv_LIBCAP_CFLAGS=`$PKG_CONFIG --cflags "libcap" 2>/dev/null`
   27164 		      test "x$?" != "x0" && pkg_failed=yes
   27165 else
   27166   pkg_failed=yes
   27167 fi
   27168  else
   27169     pkg_failed=untried
   27170 fi
   27171 if test -n "$LIBCAP_LIBS"; then
   27172     pkg_cv_LIBCAP_LIBS="$LIBCAP_LIBS"
   27173  elif test -n "$PKG_CONFIG"; then
   27174     if test -n "$PKG_CONFIG" && \
   27175     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcap\""; } >&5
   27176   ($PKG_CONFIG --exists --print-errors "libcap") 2>&5
   27177   ac_status=$?
   27178   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   27179   test $ac_status = 0; }; then
   27180   pkg_cv_LIBCAP_LIBS=`$PKG_CONFIG --libs "libcap" 2>/dev/null`
   27181 		      test "x$?" != "x0" && pkg_failed=yes
   27182 else
   27183   pkg_failed=yes
   27184 fi
   27185  else
   27186     pkg_failed=untried
   27187 fi
   27188 
   27189 
   27190 
   27191 if test $pkg_failed = yes; then
   27192         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27193 printf "%s\n" "no" >&6; }
   27194 
   27195 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   27196         _pkg_short_errors_supported=yes
   27197 else
   27198         _pkg_short_errors_supported=no
   27199 fi
   27200         if test $_pkg_short_errors_supported = yes; then
   27201                 LIBCAP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcap" 2>&1`
   27202         else
   27203                 LIBCAP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcap" 2>&1`
   27204         fi
   27205         # Put the nasty error message in config.log where it belongs
   27206         echo "$LIBCAP_PKG_ERRORS" >&5
   27207 
   27208         as_fn_error $? "Package requirements (libcap) were not met:
   27209 
   27210 $LIBCAP_PKG_ERRORS
   27211 
   27212 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   27213 installed software in a non-standard prefix.
   27214 
   27215 Alternatively, you may set the environment variables LIBCAP_CFLAGS
   27216 and LIBCAP_LIBS to avoid the need to call pkg-config.
   27217 See the pkg-config man page for more details." "$LINENO" 5
   27218 elif test $pkg_failed = untried; then
   27219         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27220 printf "%s\n" "no" >&6; }
   27221         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   27222 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   27223 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   27224 is in your PATH or set the PKG_CONFIG environment variable to the full
   27225 path to pkg-config.
   27226 
   27227 Alternatively, you may set the environment variables LIBCAP_CFLAGS
   27228 and LIBCAP_LIBS to avoid the need to call pkg-config.
   27229 See the pkg-config man page for more details.
   27230 
   27231 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   27232 See 'config.log' for more details" "$LINENO" 5; }
   27233 else
   27234         LIBCAP_CFLAGS=$pkg_cv_LIBCAP_CFLAGS
   27235         LIBCAP_LIBS=$pkg_cv_LIBCAP_LIBS
   27236         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   27237 printf "%s\n" "yes" >&6; }
   27238 
   27239 printf "%s\n" "#define HAVE_LIBCAP 1" >>confdefs.h
   27240 
   27241 fi ;; #(
   27242   *) :
   27243      ;;
   27244 esac
   27245 
   27246 case "$host" in
   27247 *-solaris*)
   27248 
   27249 printf "%s\n" "#define NEED_SECURE_DIRECTORY 1" >>confdefs.h
   27250 
   27251 	;;
   27252 esac
   27253 
   27254 #
   27255 # Time Zone Stuff
   27256 #
   27257 ac_fn_c_check_func "$LINENO" "tzset" "ac_cv_func_tzset"
   27258 if test "x$ac_cv_func_tzset" = xyes
   27259 then :
   27260   printf "%s\n" "#define HAVE_TZSET 1" >>confdefs.h
   27261 
   27262 fi
   27263 
   27264 
   27265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for optarg declaration" >&5
   27266 printf %s "checking for optarg declaration... " >&6; }
   27267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27268 /* end confdefs.h.  */
   27269 #include <unistd.h>
   27270 int
   27271 main (void)
   27272 {
   27273 optarg = 0;
   27274 
   27275   ;
   27276   return 0;
   27277 }
   27278 _ACEOF
   27279 if ac_fn_c_try_compile "$LINENO"
   27280 then :
   27281   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   27282 printf "%s\n" "yes" >&6; }
   27283 else case e in #(
   27284   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27285 printf "%s\n" "no" >&6; }
   27286    GEN_NEED_OPTARG="-DNEED_OPTARG=1"
   27287 
   27288 printf "%s\n" "#define NEED_OPTARG 1" >>confdefs.h
   27289 
   27290  ;;
   27291 esac
   27292 fi
   27293 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   27294 
   27295 #
   27296 # Check for nanoseconds in file stats
   27297 #
   27298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for st_mtim.tv_nsec" >&5
   27299 printf %s "checking for st_mtim.tv_nsec... " >&6; }
   27300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27301 /* end confdefs.h.  */
   27302 #include <sys/stat.h>
   27303 int
   27304 main (void)
   27305 {
   27306 struct stat s;
   27307        return(s.st_mtim.tv_nsec);
   27308 
   27309   ;
   27310   return 0;
   27311 }
   27312 _ACEOF
   27313 if ac_fn_c_try_compile "$LINENO"
   27314 then :
   27315   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   27316 printf "%s\n" "yes" >&6; }
   27317 
   27318 printf "%s\n" "#define HAVE_STAT_NSEC 1" >>confdefs.h
   27319 
   27320 else case e in #(
   27321   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27322 printf "%s\n" "no" >&6; } ;;
   27323 esac
   27324 fi
   27325 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   27326 
   27327 #
   27328 # Check for if_nametoindex() for IPv6 scoped addresses support
   27329 #
   27330 ac_fn_c_check_func "$LINENO" "if_nametoindex" "ac_cv_func_if_nametoindex"
   27331 if test "x$ac_cv_func_if_nametoindex" = xyes
   27332 then :
   27333   printf "%s\n" "#define HAVE_IF_NAMETOINDEX 1" >>confdefs.h
   27334 
   27335 fi
   27336 
   27337 
   27338 ac_fn_c_check_header_compile "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
   27339 if test "x$ac_cv_header_uchar_h" = xyes
   27340 then :
   27341   printf "%s\n" "#define HAVE_UCHAR_H 1" >>confdefs.h
   27342 
   27343 fi
   27344 
   27345 
   27346 #
   27347 # Check for __builtin_unreachable
   27348 #
   27349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler support for __builtin_unreachable()" >&5
   27350 printf %s "checking compiler support for __builtin_unreachable()... " >&6; }
   27351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27352 /* end confdefs.h.  */
   27353 
   27354 int
   27355 main (void)
   27356 {
   27357 __builtin_unreachable();
   27358 
   27359   ;
   27360   return 0;
   27361 }
   27362 _ACEOF
   27363 if ac_fn_c_try_link "$LINENO"
   27364 then :
   27365   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   27366 printf "%s\n" "yes" >&6; }
   27367 
   27368 printf "%s\n" "#define HAVE_BUILTIN_UNREACHABLE 1" >>confdefs.h
   27369 
   27370 
   27371 else case e in #(
   27372   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27373 printf "%s\n" "no" >&6; }
   27374    ;;
   27375 esac
   27376 fi
   27377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   27378     conftest$ac_exeext conftest.$ac_ext
   27379 
   27380 #
   27381 # Check for __builtin_clz
   27382 #
   27383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler support for __builtin_clz" >&5
   27384 printf %s "checking compiler support for __builtin_clz... " >&6; }
   27385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27386 /* end confdefs.h.  */
   27387 
   27388 int
   27389 main (void)
   27390 {
   27391 return (__builtin_clz(0xff) == 24 ? 1 : 0);
   27392 
   27393   ;
   27394   return 0;
   27395 }
   27396 _ACEOF
   27397 if ac_fn_c_try_link "$LINENO"
   27398 then :
   27399   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   27400 printf "%s\n" "yes" >&6; }
   27401 
   27402 printf "%s\n" "#define HAVE_BUILTIN_CLZ 1" >>confdefs.h
   27403 
   27404 
   27405 else case e in #(
   27406   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27407 printf "%s\n" "no" >&6; }
   27408  ;;
   27409 esac
   27410 fi
   27411 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   27412     conftest$ac_exeext conftest.$ac_ext
   27413 
   27414 #
   27415 # Check for __builtin_*_overflow
   27416 #
   27417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler support for __builtin_add_overflow()" >&5
   27418 printf %s "checking compiler support for __builtin_add_overflow()... " >&6; }
   27419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27420 /* end confdefs.h.  */
   27421 #include <limits.h>
   27422 int
   27423 main (void)
   27424 {
   27425 return (__builtin_add_overflow((unsigned int)UINT_MAX, (unsigned int)UINT_MAX, &(unsigned int){ 0 }));
   27426 
   27427   ;
   27428   return 0;
   27429 }
   27430 _ACEOF
   27431 if ac_fn_c_try_link "$LINENO"
   27432 then :
   27433   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   27434 printf "%s\n" "yes" >&6; }
   27435 
   27436 printf "%s\n" "#define HAVE_BUILTIN_ADD_OVERFLOW 1" >>confdefs.h
   27437 
   27438 
   27439 else case e in #(
   27440   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27441 printf "%s\n" "no" >&6; }
   27442    ;;
   27443 esac
   27444 fi
   27445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   27446     conftest$ac_exeext conftest.$ac_ext
   27447 
   27448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler support for __builtin_sub_overflow()" >&5
   27449 printf %s "checking compiler support for __builtin_sub_overflow()... " >&6; }
   27450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27451 /* end confdefs.h.  */
   27452 #include <limits.h>
   27453 int
   27454 main (void)
   27455 {
   27456 return (__builtin_sub_overflow((unsigned int)0, (unsigned int)UINT_MAX, &(unsigned int){ 0 }));
   27457 
   27458   ;
   27459   return 0;
   27460 }
   27461 _ACEOF
   27462 if ac_fn_c_try_link "$LINENO"
   27463 then :
   27464   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   27465 printf "%s\n" "yes" >&6; }
   27466 
   27467 printf "%s\n" "#define HAVE_BUILTIN_SUB_OVERFLOW 1" >>confdefs.h
   27468 
   27469 
   27470 else case e in #(
   27471   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27472 printf "%s\n" "no" >&6; }
   27473    ;;
   27474 esac
   27475 fi
   27476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   27477     conftest$ac_exeext conftest.$ac_ext
   27478 
   27479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler support for __builtin_mul_overflow()" >&5
   27480 printf %s "checking compiler support for __builtin_mul_overflow()... " >&6; }
   27481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27482 /* end confdefs.h.  */
   27483 #include <limits.h>
   27484        #include <stdint.h>
   27485 
   27486 int
   27487 main (void)
   27488 {
   27489 return (__builtin_mul_overflow(UINT64_MAX, UINT64_MAX, &(uint64_t){ 0 }));
   27490 
   27491   ;
   27492   return 0;
   27493 }
   27494 _ACEOF
   27495 if ac_fn_c_try_link "$LINENO"
   27496 then :
   27497   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   27498 printf "%s\n" "yes" >&6; }
   27499 
   27500 printf "%s\n" "#define HAVE_BUILTIN_MUL_OVERFLOW 1" >>confdefs.h
   27501 
   27502 
   27503 else case e in #(
   27504   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27505 printf "%s\n" "no" >&6; }
   27506    ;;
   27507 esac
   27508 fi
   27509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   27510     conftest$ac_exeext conftest.$ac_ext
   27511 
   27512 #
   27513 # Activate "rrset-order fixed" or not?
   27514 #
   27515 # [pairwise: --enable-fixed-rrset, --disable-fixed-rrset]
   27516 # Check whether --enable-fixed-rrset was given.
   27517 if test ${enable_fixed_rrset+y}
   27518 then :
   27519   enableval=$enable_fixed_rrset;
   27520 else case e in #(
   27521   e) enable_fixed_rrset="no" ;;
   27522 esac
   27523 fi
   27524 
   27525 if test "$enable_fixed_rrset" = "yes"
   27526 then :
   27527   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: fixed rrset ordering is deprecated and will be removed in the future release" >&5
   27528 printf "%s\n" "$as_me: WARNING: fixed rrset ordering is deprecated and will be removed in the future release" >&2;}
   27529 
   27530 printf "%s\n" "#define DNS_RDATASET_FIXED 1" >>confdefs.h
   27531 
   27532 fi
   27533 
   27534 #
   27535 # Activate dnstap?
   27536 #
   27537 # [pairwise: --enable-dnstap, --disable-dnstap]
   27538 # Check whether --enable-dnstap was given.
   27539 if test ${enable_dnstap+y}
   27540 then :
   27541   enableval=$enable_dnstap;
   27542 else case e in #(
   27543   e) enable_dnstap=no ;;
   27544 esac
   27545 fi
   27546 
   27547 
   27548 if test "$enable_dnstap" != "no"
   27549 then :
   27550 
   27551 pkg_failed=no
   27552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libfstrm libprotobuf-c" >&5
   27553 printf %s "checking for libfstrm libprotobuf-c... " >&6; }
   27554 
   27555 if test -n "$DNSTAP_CFLAGS"; then
   27556     pkg_cv_DNSTAP_CFLAGS="$DNSTAP_CFLAGS"
   27557  elif test -n "$PKG_CONFIG"; then
   27558     if test -n "$PKG_CONFIG" && \
   27559     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfstrm libprotobuf-c\""; } >&5
   27560   ($PKG_CONFIG --exists --print-errors "libfstrm libprotobuf-c") 2>&5
   27561   ac_status=$?
   27562   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   27563   test $ac_status = 0; }; then
   27564   pkg_cv_DNSTAP_CFLAGS=`$PKG_CONFIG --cflags "libfstrm libprotobuf-c" 2>/dev/null`
   27565 		      test "x$?" != "x0" && pkg_failed=yes
   27566 else
   27567   pkg_failed=yes
   27568 fi
   27569  else
   27570     pkg_failed=untried
   27571 fi
   27572 if test -n "$DNSTAP_LIBS"; then
   27573     pkg_cv_DNSTAP_LIBS="$DNSTAP_LIBS"
   27574  elif test -n "$PKG_CONFIG"; then
   27575     if test -n "$PKG_CONFIG" && \
   27576     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfstrm libprotobuf-c\""; } >&5
   27577   ($PKG_CONFIG --exists --print-errors "libfstrm libprotobuf-c") 2>&5
   27578   ac_status=$?
   27579   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   27580   test $ac_status = 0; }; then
   27581   pkg_cv_DNSTAP_LIBS=`$PKG_CONFIG --libs "libfstrm libprotobuf-c" 2>/dev/null`
   27582 		      test "x$?" != "x0" && pkg_failed=yes
   27583 else
   27584   pkg_failed=yes
   27585 fi
   27586  else
   27587     pkg_failed=untried
   27588 fi
   27589 
   27590 
   27591 
   27592 if test $pkg_failed = yes; then
   27593         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27594 printf "%s\n" "no" >&6; }
   27595 
   27596 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   27597         _pkg_short_errors_supported=yes
   27598 else
   27599         _pkg_short_errors_supported=no
   27600 fi
   27601         if test $_pkg_short_errors_supported = yes; then
   27602                 DNSTAP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfstrm libprotobuf-c" 2>&1`
   27603         else
   27604                 DNSTAP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfstrm libprotobuf-c" 2>&1`
   27605         fi
   27606         # Put the nasty error message in config.log where it belongs
   27607         echo "$DNSTAP_PKG_ERRORS" >&5
   27608 
   27609         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   27610 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   27611 as_fn_error $? "Required libraries (fstrm, protobuf-c) were not found, please install them.
   27612 See 'config.log' for more details" "$LINENO" 5; }
   27613 elif test $pkg_failed = untried; then
   27614         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27615 printf "%s\n" "no" >&6; }
   27616         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   27617 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   27618 as_fn_error $? "Required libraries (fstrm, protobuf-c) were not found, please install them.
   27619 See 'config.log' for more details" "$LINENO" 5; }
   27620 else
   27621         DNSTAP_CFLAGS=$pkg_cv_DNSTAP_CFLAGS
   27622         DNSTAP_LIBS=$pkg_cv_DNSTAP_LIBS
   27623         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   27624 printf "%s\n" "yes" >&6; }
   27625 
   27626 fi
   27627        # Extract the first word of "fstrm_capture", so it can be a program name with args.
   27628 set dummy fstrm_capture; ac_word=$2
   27629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   27630 printf %s "checking for $ac_word... " >&6; }
   27631 if test ${ac_cv_path_FSTRM_CAPTURE+y}
   27632 then :
   27633   printf %s "(cached) " >&6
   27634 else case e in #(
   27635   e) case $FSTRM_CAPTURE in
   27636   [\\/]* | ?:[\\/]*)
   27637   ac_cv_path_FSTRM_CAPTURE="$FSTRM_CAPTURE" # Let the user override the test with a path.
   27638   ;;
   27639   *)
   27640   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   27641 for as_dir in $PATH
   27642 do
   27643   IFS=$as_save_IFS
   27644   case $as_dir in #(((
   27645     '') as_dir=./ ;;
   27646     */) ;;
   27647     *) as_dir=$as_dir/ ;;
   27648   esac
   27649     for ac_exec_ext in '' $ac_executable_extensions; do
   27650   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   27651     ac_cv_path_FSTRM_CAPTURE="$as_dir$ac_word$ac_exec_ext"
   27652     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   27653     break 2
   27654   fi
   27655 done
   27656   done
   27657 IFS=$as_save_IFS
   27658 
   27659   ;;
   27660 esac ;;
   27661 esac
   27662 fi
   27663 FSTRM_CAPTURE=$ac_cv_path_FSTRM_CAPTURE
   27664 if test -n "$FSTRM_CAPTURE"; then
   27665   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FSTRM_CAPTURE" >&5
   27666 printf "%s\n" "$FSTRM_CAPTURE" >&6; }
   27667 else
   27668   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27669 printf "%s\n" "no" >&6; }
   27670 fi
   27671 
   27672 
   27673        # Extract the first word of "protoc-c", so it can be a program name with args.
   27674 set dummy protoc-c; ac_word=$2
   27675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   27676 printf %s "checking for $ac_word... " >&6; }
   27677 if test ${ac_cv_path_PROTOC_C+y}
   27678 then :
   27679   printf %s "(cached) " >&6
   27680 else case e in #(
   27681   e) case $PROTOC_C in
   27682   [\\/]* | ?:[\\/]*)
   27683   ac_cv_path_PROTOC_C="$PROTOC_C" # Let the user override the test with a path.
   27684   ;;
   27685   *)
   27686   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   27687 for as_dir in $PATH
   27688 do
   27689   IFS=$as_save_IFS
   27690   case $as_dir in #(((
   27691     '') as_dir=./ ;;
   27692     */) ;;
   27693     *) as_dir=$as_dir/ ;;
   27694   esac
   27695     for ac_exec_ext in '' $ac_executable_extensions; do
   27696   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   27697     ac_cv_path_PROTOC_C="$as_dir$ac_word$ac_exec_ext"
   27698     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   27699     break 2
   27700   fi
   27701 done
   27702   done
   27703 IFS=$as_save_IFS
   27704 
   27705   ;;
   27706 esac ;;
   27707 esac
   27708 fi
   27709 PROTOC_C=$ac_cv_path_PROTOC_C
   27710 if test -n "$PROTOC_C"; then
   27711   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PROTOC_C" >&5
   27712 printf "%s\n" "$PROTOC_C" >&6; }
   27713 else
   27714   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27715 printf "%s\n" "no" >&6; }
   27716 fi
   27717 
   27718 
   27719        if test -z "$PROTOC_C"
   27720 then :
   27721   as_fn_error $? "protoc-c compiler not found" "$LINENO" 5
   27722 fi
   27723 
   27724 printf "%s\n" "#define HAVE_DNSTAP 1" >>confdefs.h
   27725 
   27726 
   27727 fi
   27728 
   27729 
   27730 
   27731  if test "$enable_dnstap" != "no"; then
   27732   HAVE_DNSTAP_TRUE=
   27733   HAVE_DNSTAP_FALSE='#'
   27734 else
   27735   HAVE_DNSTAP_TRUE='#'
   27736   HAVE_DNSTAP_FALSE=
   27737 fi
   27738 
   27739 #
   27740 # The following sections deal with tools used for formatting
   27741 # the documentation.  They are all optional, unless you are
   27742 # a developer editing the documentation source.
   27743 #
   27744 
   27745 #
   27746 # Look for sphinx-build
   27747 #
   27748 
   27749 # Extract the first word of "sphinx-build", so it can be a program name with args.
   27750 set dummy sphinx-build; ac_word=$2
   27751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   27752 printf %s "checking for $ac_word... " >&6; }
   27753 if test ${ac_cv_path_SPHINX_BUILD+y}
   27754 then :
   27755   printf %s "(cached) " >&6
   27756 else case e in #(
   27757   e) case $SPHINX_BUILD in
   27758   [\\/]* | ?:[\\/]*)
   27759   ac_cv_path_SPHINX_BUILD="$SPHINX_BUILD" # Let the user override the test with a path.
   27760   ;;
   27761   *)
   27762   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   27763 for as_dir in $PATH
   27764 do
   27765   IFS=$as_save_IFS
   27766   case $as_dir in #(((
   27767     '') as_dir=./ ;;
   27768     */) ;;
   27769     *) as_dir=$as_dir/ ;;
   27770   esac
   27771     for ac_exec_ext in '' $ac_executable_extensions; do
   27772   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   27773     ac_cv_path_SPHINX_BUILD="$as_dir$ac_word$ac_exec_ext"
   27774     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   27775     break 2
   27776   fi
   27777 done
   27778   done
   27779 IFS=$as_save_IFS
   27780 
   27781   ;;
   27782 esac ;;
   27783 esac
   27784 fi
   27785 SPHINX_BUILD=$ac_cv_path_SPHINX_BUILD
   27786 if test -n "$SPHINX_BUILD"; then
   27787   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SPHINX_BUILD" >&5
   27788 printf "%s\n" "$SPHINX_BUILD" >&6; }
   27789 else
   27790   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27791 printf "%s\n" "no" >&6; }
   27792 fi
   27793 
   27794 
   27795  if test -n "$SPHINX_BUILD"; then
   27796   HAVE_SPHINX_BUILD_TRUE=
   27797   HAVE_SPHINX_BUILD_FALSE='#'
   27798 else
   27799   HAVE_SPHINX_BUILD_TRUE='#'
   27800   HAVE_SPHINX_BUILD_FALSE=
   27801 fi
   27802 
   27803 
   27804 #
   27805 # Build the man pages only if we have prebuilt manpages or we can build them from RST sources
   27806 #
   27807  if test -e doc/man/named.conf.5in || test -n "$SPHINX_BUILD"; then
   27808   BUILD_MANPAGES_TRUE=
   27809   BUILD_MANPAGES_FALSE='#'
   27810 else
   27811   BUILD_MANPAGES_TRUE='#'
   27812   BUILD_MANPAGES_FALSE=
   27813 fi
   27814 
   27815 
   27816 #
   27817 # Pull release date from changelog.rst file last modification date
   27818 # for reproducible builds
   27819 #
   27820 release_date=`date -u -r doc/arm/changelog.rst +%Y-%m-%d`
   27821 RELEASE_DATE=$release_date
   27822 
   27823 
   27824 #
   27825 # Look for Doxygen
   27826 #
   27827 for ac_prog in doxygen
   27828 do
   27829   # Extract the first word of "$ac_prog", so it can be a program name with args.
   27830 set dummy $ac_prog; ac_word=$2
   27831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   27832 printf %s "checking for $ac_word... " >&6; }
   27833 if test ${ac_cv_path_DOXYGEN+y}
   27834 then :
   27835   printf %s "(cached) " >&6
   27836 else case e in #(
   27837   e) case $DOXYGEN in
   27838   [\\/]* | ?:[\\/]*)
   27839   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
   27840   ;;
   27841   *)
   27842   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   27843 for as_dir in $PATH
   27844 do
   27845   IFS=$as_save_IFS
   27846   case $as_dir in #(((
   27847     '') as_dir=./ ;;
   27848     */) ;;
   27849     *) as_dir=$as_dir/ ;;
   27850   esac
   27851     for ac_exec_ext in '' $ac_executable_extensions; do
   27852   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   27853     ac_cv_path_DOXYGEN="$as_dir$ac_word$ac_exec_ext"
   27854     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   27855     break 2
   27856   fi
   27857 done
   27858   done
   27859 IFS=$as_save_IFS
   27860 
   27861   ;;
   27862 esac ;;
   27863 esac
   27864 fi
   27865 DOXYGEN=$ac_cv_path_DOXYGEN
   27866 if test -n "$DOXYGEN"; then
   27867   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
   27868 printf "%s\n" "$DOXYGEN" >&6; }
   27869 else
   27870   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27871 printf "%s\n" "no" >&6; }
   27872 fi
   27873 
   27874 
   27875   test -n "$DOXYGEN" && break
   27876 done
   27877 
   27878 
   27879 ac_config_files="$ac_config_files doc/doxygen/doxygen-input-filter"
   27880 
   27881 
   27882 #
   27883 # Look for curl
   27884 #
   27885 
   27886 # Extract the first word of "curl", so it can be a program name with args.
   27887 set dummy curl; ac_word=$2
   27888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   27889 printf %s "checking for $ac_word... " >&6; }
   27890 if test ${ac_cv_path_CURL+y}
   27891 then :
   27892   printf %s "(cached) " >&6
   27893 else case e in #(
   27894   e) case $CURL in
   27895   [\\/]* | ?:[\\/]*)
   27896   ac_cv_path_CURL="$CURL" # Let the user override the test with a path.
   27897   ;;
   27898   *)
   27899   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   27900 for as_dir in $PATH
   27901 do
   27902   IFS=$as_save_IFS
   27903   case $as_dir in #(((
   27904     '') as_dir=./ ;;
   27905     */) ;;
   27906     *) as_dir=$as_dir/ ;;
   27907   esac
   27908     for ac_exec_ext in '' $ac_executable_extensions; do
   27909   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   27910     ac_cv_path_CURL="$as_dir$ac_word$ac_exec_ext"
   27911     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   27912     break 2
   27913   fi
   27914 done
   27915   done
   27916 IFS=$as_save_IFS
   27917 
   27918   test -z "$ac_cv_path_CURL" && ac_cv_path_CURL="curl"
   27919   ;;
   27920 esac ;;
   27921 esac
   27922 fi
   27923 CURL=$ac_cv_path_CURL
   27924 if test -n "$CURL"; then
   27925   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CURL" >&5
   27926 printf "%s\n" "$CURL" >&6; }
   27927 else
   27928   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27929 printf "%s\n" "no" >&6; }
   27930 fi
   27931 
   27932 
   27933 
   27934 
   27935 #
   27936 # Look for nc
   27937 #
   27938 
   27939 for ac_prog in nc
   27940 do
   27941   # Extract the first word of "$ac_prog", so it can be a program name with args.
   27942 set dummy $ac_prog; ac_word=$2
   27943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   27944 printf %s "checking for $ac_word... " >&6; }
   27945 if test ${ac_cv_path_NC+y}
   27946 then :
   27947   printf %s "(cached) " >&6
   27948 else case e in #(
   27949   e) case $NC in
   27950   [\\/]* | ?:[\\/]*)
   27951   ac_cv_path_NC="$NC" # Let the user override the test with a path.
   27952   ;;
   27953   *)
   27954   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   27955 for as_dir in $PATH
   27956 do
   27957   IFS=$as_save_IFS
   27958   case $as_dir in #(((
   27959     '') as_dir=./ ;;
   27960     */) ;;
   27961     *) as_dir=$as_dir/ ;;
   27962   esac
   27963     for ac_exec_ext in '' $ac_executable_extensions; do
   27964   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   27965     ac_cv_path_NC="$as_dir$ac_word$ac_exec_ext"
   27966     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   27967     break 2
   27968   fi
   27969 done
   27970   done
   27971 IFS=$as_save_IFS
   27972 
   27973   ;;
   27974 esac ;;
   27975 esac
   27976 fi
   27977 NC=$ac_cv_path_NC
   27978 if test -n "$NC"; then
   27979   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NC" >&5
   27980 printf "%s\n" "$NC" >&6; }
   27981 else
   27982   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27983 printf "%s\n" "no" >&6; }
   27984 fi
   27985 
   27986 
   27987   test -n "$NC" && break
   27988 done
   27989 test -n "$NC" || NC="nc"
   27990 
   27991 
   27992 
   27993 #
   27994 # IDN support using libidn2
   27995 #
   27996 
   27997 LIBIDN2_CFLAGS=
   27998 LIBIDN2_LIBS=
   27999 
   28000 # [pairwise: --with-libidn2=yes, --without-libidn2]
   28001 
   28002 # Check whether --with-libidn2 was given.
   28003 if test ${with_libidn2+y}
   28004 then :
   28005   withval=$with_libidn2; with_libidn2="$withval"
   28006 else case e in #(
   28007   e) with_libidn2="no" ;;
   28008 esac
   28009 fi
   28010 
   28011 case $with_libidn2 in #(
   28012   yes) :
   28013 
   28014 pkg_failed=no
   28015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libidn2" >&5
   28016 printf %s "checking for libidn2... " >&6; }
   28017 
   28018 if test -n "$LIBIDN2_CFLAGS"; then
   28019     pkg_cv_LIBIDN2_CFLAGS="$LIBIDN2_CFLAGS"
   28020  elif test -n "$PKG_CONFIG"; then
   28021     if test -n "$PKG_CONFIG" && \
   28022     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libidn2\""; } >&5
   28023   ($PKG_CONFIG --exists --print-errors "libidn2") 2>&5
   28024   ac_status=$?
   28025   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   28026   test $ac_status = 0; }; then
   28027   pkg_cv_LIBIDN2_CFLAGS=`$PKG_CONFIG --cflags "libidn2" 2>/dev/null`
   28028 		      test "x$?" != "x0" && pkg_failed=yes
   28029 else
   28030   pkg_failed=yes
   28031 fi
   28032  else
   28033     pkg_failed=untried
   28034 fi
   28035 if test -n "$LIBIDN2_LIBS"; then
   28036     pkg_cv_LIBIDN2_LIBS="$LIBIDN2_LIBS"
   28037  elif test -n "$PKG_CONFIG"; then
   28038     if test -n "$PKG_CONFIG" && \
   28039     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libidn2\""; } >&5
   28040   ($PKG_CONFIG --exists --print-errors "libidn2") 2>&5
   28041   ac_status=$?
   28042   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   28043   test $ac_status = 0; }; then
   28044   pkg_cv_LIBIDN2_LIBS=`$PKG_CONFIG --libs "libidn2" 2>/dev/null`
   28045 		      test "x$?" != "x0" && pkg_failed=yes
   28046 else
   28047   pkg_failed=yes
   28048 fi
   28049  else
   28050     pkg_failed=untried
   28051 fi
   28052 
   28053 
   28054 
   28055 if test $pkg_failed = yes; then
   28056         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   28057 printf "%s\n" "no" >&6; }
   28058 
   28059 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   28060         _pkg_short_errors_supported=yes
   28061 else
   28062         _pkg_short_errors_supported=no
   28063 fi
   28064         if test $_pkg_short_errors_supported = yes; then
   28065                 LIBIDN2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libidn2" 2>&1`
   28066         else
   28067                 LIBIDN2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libidn2" 2>&1`
   28068         fi
   28069         # Put the nasty error message in config.log where it belongs
   28070         echo "$LIBIDN2_PKG_ERRORS" >&5
   28071 
   28072         as_fn_error $? "Package requirements (libidn2) were not met:
   28073 
   28074 $LIBIDN2_PKG_ERRORS
   28075 
   28076 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   28077 installed software in a non-standard prefix.
   28078 
   28079 Alternatively, you may set the environment variables LIBIDN2_CFLAGS
   28080 and LIBIDN2_LIBS to avoid the need to call pkg-config.
   28081 See the pkg-config man page for more details." "$LINENO" 5
   28082 elif test $pkg_failed = untried; then
   28083         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   28084 printf "%s\n" "no" >&6; }
   28085         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   28086 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   28087 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   28088 is in your PATH or set the PKG_CONFIG environment variable to the full
   28089 path to pkg-config.
   28090 
   28091 Alternatively, you may set the environment variables LIBIDN2_CFLAGS
   28092 and LIBIDN2_LIBS to avoid the need to call pkg-config.
   28093 See the pkg-config man page for more details.
   28094 
   28095 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   28096 See 'config.log' for more details" "$LINENO" 5; }
   28097 else
   28098         LIBIDN2_CFLAGS=$pkg_cv_LIBIDN2_CFLAGS
   28099         LIBIDN2_LIBS=$pkg_cv_LIBIDN2_LIBS
   28100         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   28101 printf "%s\n" "yes" >&6; }
   28102 
   28103 printf "%s\n" "#define HAVE_LIBIDN2 1" >>confdefs.h
   28104 
   28105 fi ;; #(
   28106   no) :
   28107      ;; #(
   28108   *) :
   28109 
   28110 
   28111   CCASFLAGS_libidn2_ax_save_flags=$CCASFLAGS
   28112 
   28113 
   28114 
   28115   CFLAGS_libidn2_ax_save_flags=$CFLAGS
   28116 
   28117 
   28118 
   28119   CPPFLAGS_libidn2_ax_save_flags=$CPPFLAGS
   28120 
   28121 
   28122 
   28123   CXXFLAGS_libidn2_ax_save_flags=$CXXFLAGS
   28124 
   28125 
   28126 
   28127   ERLCFLAGS_libidn2_ax_save_flags=$ERLCFLAGS
   28128 
   28129 
   28130 
   28131   FCFLAGS_libidn2_ax_save_flags=$FCFLAGS
   28132 
   28133 
   28134 
   28135   FCLIBS_libidn2_ax_save_flags=$FCLIBS
   28136 
   28137 
   28138 
   28139   FFLAGS_libidn2_ax_save_flags=$FFLAGS
   28140 
   28141 
   28142 
   28143   FLIBS_libidn2_ax_save_flags=$FLIBS
   28144 
   28145 
   28146 
   28147   GCJFLAGS_libidn2_ax_save_flags=$GCJFLAGS
   28148 
   28149 
   28150 
   28151   JAVACFLAGS_libidn2_ax_save_flags=$JAVACFLAGS
   28152 
   28153 
   28154 
   28155   LDFLAGS_libidn2_ax_save_flags=$LDFLAGS
   28156 
   28157 
   28158 
   28159   LIBS_libidn2_ax_save_flags=$LIBS
   28160 
   28161 
   28162 
   28163   OBJCFLAGS_libidn2_ax_save_flags=$OBJCFLAGS
   28164 
   28165 
   28166 
   28167   OBJCXXFLAGS_libidn2_ax_save_flags=$OBJCXXFLAGS
   28168 
   28169 
   28170 
   28171   UPCFLAGS_libidn2_ax_save_flags=$UPCFLAGS
   28172 
   28173 
   28174 
   28175   VALAFLAGS_libidn2_ax_save_flags=$VALAFLAGS
   28176 
   28177 
   28178 
   28179 		 LIBIDN2_CFLAGS="-I$with_libidn2/include"
   28180 		 LIBIDN2_LIBS="-L$with_libidn2/lib"
   28181 		 CFLAGS="$CFLAGS $LIBIDN2_CFLAGS"
   28182 		 LIBS="$LIBS $LIBIDN2_LIBS"
   28183 		        for ac_header in idn2.h
   28184 do :
   28185   ac_fn_c_check_header_compile "$LINENO" "idn2.h" "ac_cv_header_idn2_h" "$ac_includes_default"
   28186 if test "x$ac_cv_header_idn2_h" = xyes
   28187 then :
   28188   printf "%s\n" "#define HAVE_IDN2_H 1" >>confdefs.h
   28189 
   28190 else case e in #(
   28191   e) as_fn_error $? "idn2.h not found" "$LINENO" 5 ;;
   28192 esac
   28193 fi
   28194 
   28195 done
   28196 		 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing idn2_to_ascii_lz" >&5
   28197 printf %s "checking for library containing idn2_to_ascii_lz... " >&6; }
   28198 if test ${ac_cv_search_idn2_to_ascii_lz+y}
   28199 then :
   28200   printf %s "(cached) " >&6
   28201 else case e in #(
   28202   e) ac_func_search_save_LIBS=$LIBS
   28203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   28204 /* end confdefs.h.  */
   28205 
   28206 /* Override any GCC internal prototype to avoid an error.
   28207    Use char because int might match the return type of a GCC
   28208    builtin and then its argument prototype would still apply.
   28209    The 'extern "C"' is for builds by C++ compilers;
   28210    although this is not generally supported in C code supporting it here
   28211    has little cost and some practical benefit (sr 110532).  */
   28212 #ifdef __cplusplus
   28213 extern "C"
   28214 #endif
   28215 char idn2_to_ascii_lz (void);
   28216 int
   28217 main (void)
   28218 {
   28219 return idn2_to_ascii_lz ();
   28220   ;
   28221   return 0;
   28222 }
   28223 _ACEOF
   28224 for ac_lib in '' idn2
   28225 do
   28226   if test -z "$ac_lib"; then
   28227     ac_res="none required"
   28228   else
   28229     ac_res=-l$ac_lib
   28230     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   28231   fi
   28232   if ac_fn_c_try_link "$LINENO"
   28233 then :
   28234   ac_cv_search_idn2_to_ascii_lz=$ac_res
   28235 fi
   28236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   28237     conftest$ac_exeext
   28238   if test ${ac_cv_search_idn2_to_ascii_lz+y}
   28239 then :
   28240   break
   28241 fi
   28242 done
   28243 if test ${ac_cv_search_idn2_to_ascii_lz+y}
   28244 then :
   28245 
   28246 else case e in #(
   28247   e) ac_cv_search_idn2_to_ascii_lz=no ;;
   28248 esac
   28249 fi
   28250 rm conftest.$ac_ext
   28251 LIBS=$ac_func_search_save_LIBS ;;
   28252 esac
   28253 fi
   28254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_idn2_to_ascii_lz" >&5
   28255 printf "%s\n" "$ac_cv_search_idn2_to_ascii_lz" >&6; }
   28256 ac_res=$ac_cv_search_idn2_to_ascii_lz
   28257 if test "$ac_res" != no
   28258 then :
   28259   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   28260   LIBIDN2_LIBS="$LIBIDN2_LIBS $ac_cv_search_idn2_to_ascii_lz"
   28261 
   28262 printf "%s\n" "#define HAVE_LIBIDN2 1" >>confdefs.h
   28263 
   28264 else case e in #(
   28265   e) as_fn_error $? "libidn2 requested, but not found" "$LINENO" 5 ;;
   28266 esac
   28267 fi
   28268 
   28269 
   28270   CCASFLAGS=$CCASFLAGS_libidn2_ax_save_flags
   28271 
   28272 
   28273   CFLAGS=$CFLAGS_libidn2_ax_save_flags
   28274 
   28275 
   28276   CPPFLAGS=$CPPFLAGS_libidn2_ax_save_flags
   28277 
   28278 
   28279   CXXFLAGS=$CXXFLAGS_libidn2_ax_save_flags
   28280 
   28281 
   28282   ERLCFLAGS=$ERLCFLAGS_libidn2_ax_save_flags
   28283 
   28284 
   28285   FCFLAGS=$FCFLAGS_libidn2_ax_save_flags
   28286 
   28287 
   28288   FCLIBS=$FCLIBS_libidn2_ax_save_flags
   28289 
   28290 
   28291   FFLAGS=$FFLAGS_libidn2_ax_save_flags
   28292 
   28293 
   28294   FLIBS=$FLIBS_libidn2_ax_save_flags
   28295 
   28296 
   28297   GCJFLAGS=$GCJFLAGS_libidn2_ax_save_flags
   28298 
   28299 
   28300   JAVACFLAGS=$JAVACFLAGS_libidn2_ax_save_flags
   28301 
   28302 
   28303   LDFLAGS=$LDFLAGS_libidn2_ax_save_flags
   28304 
   28305 
   28306   LIBS=$LIBS_libidn2_ax_save_flags
   28307 
   28308 
   28309   OBJCFLAGS=$OBJCFLAGS_libidn2_ax_save_flags
   28310 
   28311 
   28312   OBJCXXFLAGS=$OBJCXXFLAGS_libidn2_ax_save_flags
   28313 
   28314 
   28315   UPCFLAGS=$UPCFLAGS_libidn2_ax_save_flags
   28316 
   28317 
   28318   VALAFLAGS=$VALAFLAGS_libidn2_ax_save_flags
   28319 
   28320 
   28321  ;; #(
   28322   *) :
   28323      ;;
   28324 esac
   28325 
   28326 
   28327 
   28328 #
   28329 # Check whether to build with cmocka unit testing framework
   28330 #
   28331 # [pairwise: --with-cmocka=detect, --with-cmocka=yes, --without-cmocka]
   28332 
   28333 # Check whether --with-cmocka was given.
   28334 if test ${with_cmocka+y}
   28335 then :
   28336   withval=$with_cmocka;
   28337 else case e in #(
   28338   e) with_cmocka=detect ;;
   28339 esac
   28340 fi
   28341 
   28342 
   28343 case $with_cmocka in #(
   28344   no) :
   28345      ;; #(
   28346   detect) :
   28347 
   28348 pkg_failed=no
   28349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmocka >= 1.1.3" >&5
   28350 printf %s "checking for cmocka >= 1.1.3... " >&6; }
   28351 
   28352 if test -n "$CMOCKA_CFLAGS"; then
   28353     pkg_cv_CMOCKA_CFLAGS="$CMOCKA_CFLAGS"
   28354  elif test -n "$PKG_CONFIG"; then
   28355     if test -n "$PKG_CONFIG" && \
   28356     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cmocka >= 1.1.3\""; } >&5
   28357   ($PKG_CONFIG --exists --print-errors "cmocka >= 1.1.3") 2>&5
   28358   ac_status=$?
   28359   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   28360   test $ac_status = 0; }; then
   28361   pkg_cv_CMOCKA_CFLAGS=`$PKG_CONFIG --cflags "cmocka >= 1.1.3" 2>/dev/null`
   28362 		      test "x$?" != "x0" && pkg_failed=yes
   28363 else
   28364   pkg_failed=yes
   28365 fi
   28366  else
   28367     pkg_failed=untried
   28368 fi
   28369 if test -n "$CMOCKA_LIBS"; then
   28370     pkg_cv_CMOCKA_LIBS="$CMOCKA_LIBS"
   28371  elif test -n "$PKG_CONFIG"; then
   28372     if test -n "$PKG_CONFIG" && \
   28373     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cmocka >= 1.1.3\""; } >&5
   28374   ($PKG_CONFIG --exists --print-errors "cmocka >= 1.1.3") 2>&5
   28375   ac_status=$?
   28376   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   28377   test $ac_status = 0; }; then
   28378   pkg_cv_CMOCKA_LIBS=`$PKG_CONFIG --libs "cmocka >= 1.1.3" 2>/dev/null`
   28379 		      test "x$?" != "x0" && pkg_failed=yes
   28380 else
   28381   pkg_failed=yes
   28382 fi
   28383  else
   28384     pkg_failed=untried
   28385 fi
   28386 
   28387 
   28388 
   28389 if test $pkg_failed = yes; then
   28390         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   28391 printf "%s\n" "no" >&6; }
   28392 
   28393 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   28394         _pkg_short_errors_supported=yes
   28395 else
   28396         _pkg_short_errors_supported=no
   28397 fi
   28398         if test $_pkg_short_errors_supported = yes; then
   28399                 CMOCKA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cmocka >= 1.1.3" 2>&1`
   28400         else
   28401                 CMOCKA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cmocka >= 1.1.3" 2>&1`
   28402         fi
   28403         # Put the nasty error message in config.log where it belongs
   28404         echo "$CMOCKA_PKG_ERRORS" >&5
   28405 
   28406         with_cmocka=no
   28407 elif test $pkg_failed = untried; then
   28408         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   28409 printf "%s\n" "no" >&6; }
   28410         with_cmocka=no
   28411 else
   28412         CMOCKA_CFLAGS=$pkg_cv_CMOCKA_CFLAGS
   28413         CMOCKA_LIBS=$pkg_cv_CMOCKA_LIBS
   28414         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   28415 printf "%s\n" "yes" >&6; }
   28416 
   28417 printf "%s\n" "#define HAVE_CMOCKA 1" >>confdefs.h
   28418 
   28419 				     with_cmocka=yes
   28420 fi ;; #(
   28421   yes) :
   28422 
   28423 pkg_failed=no
   28424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmocka >= 1.1.3" >&5
   28425 printf %s "checking for cmocka >= 1.1.3... " >&6; }
   28426 
   28427 if test -n "$CMOCKA_CFLAGS"; then
   28428     pkg_cv_CMOCKA_CFLAGS="$CMOCKA_CFLAGS"
   28429  elif test -n "$PKG_CONFIG"; then
   28430     if test -n "$PKG_CONFIG" && \
   28431     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cmocka >= 1.1.3\""; } >&5
   28432   ($PKG_CONFIG --exists --print-errors "cmocka >= 1.1.3") 2>&5
   28433   ac_status=$?
   28434   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   28435   test $ac_status = 0; }; then
   28436   pkg_cv_CMOCKA_CFLAGS=`$PKG_CONFIG --cflags "cmocka >= 1.1.3" 2>/dev/null`
   28437 		      test "x$?" != "x0" && pkg_failed=yes
   28438 else
   28439   pkg_failed=yes
   28440 fi
   28441  else
   28442     pkg_failed=untried
   28443 fi
   28444 if test -n "$CMOCKA_LIBS"; then
   28445     pkg_cv_CMOCKA_LIBS="$CMOCKA_LIBS"
   28446  elif test -n "$PKG_CONFIG"; then
   28447     if test -n "$PKG_CONFIG" && \
   28448     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cmocka >= 1.1.3\""; } >&5
   28449   ($PKG_CONFIG --exists --print-errors "cmocka >= 1.1.3") 2>&5
   28450   ac_status=$?
   28451   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   28452   test $ac_status = 0; }; then
   28453   pkg_cv_CMOCKA_LIBS=`$PKG_CONFIG --libs "cmocka >= 1.1.3" 2>/dev/null`
   28454 		      test "x$?" != "x0" && pkg_failed=yes
   28455 else
   28456   pkg_failed=yes
   28457 fi
   28458  else
   28459     pkg_failed=untried
   28460 fi
   28461 
   28462 
   28463 
   28464 if test $pkg_failed = yes; then
   28465         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   28466 printf "%s\n" "no" >&6; }
   28467 
   28468 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   28469         _pkg_short_errors_supported=yes
   28470 else
   28471         _pkg_short_errors_supported=no
   28472 fi
   28473         if test $_pkg_short_errors_supported = yes; then
   28474                 CMOCKA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cmocka >= 1.1.3" 2>&1`
   28475         else
   28476                 CMOCKA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cmocka >= 1.1.3" 2>&1`
   28477         fi
   28478         # Put the nasty error message in config.log where it belongs
   28479         echo "$CMOCKA_PKG_ERRORS" >&5
   28480 
   28481         as_fn_error $? "Package requirements (cmocka >= 1.1.3) were not met:
   28482 
   28483 $CMOCKA_PKG_ERRORS
   28484 
   28485 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   28486 installed software in a non-standard prefix.
   28487 
   28488 Alternatively, you may set the environment variables CMOCKA_CFLAGS
   28489 and CMOCKA_LIBS to avoid the need to call pkg-config.
   28490 See the pkg-config man page for more details." "$LINENO" 5
   28491 elif test $pkg_failed = untried; then
   28492         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   28493 printf "%s\n" "no" >&6; }
   28494         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   28495 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   28496 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   28497 is in your PATH or set the PKG_CONFIG environment variable to the full
   28498 path to pkg-config.
   28499 
   28500 Alternatively, you may set the environment variables CMOCKA_CFLAGS
   28501 and CMOCKA_LIBS to avoid the need to call pkg-config.
   28502 See the pkg-config man page for more details.
   28503 
   28504 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   28505 See 'config.log' for more details" "$LINENO" 5; }
   28506 else
   28507         CMOCKA_CFLAGS=$pkg_cv_CMOCKA_CFLAGS
   28508         CMOCKA_LIBS=$pkg_cv_CMOCKA_LIBS
   28509         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   28510 printf "%s\n" "yes" >&6; }
   28511 
   28512 printf "%s\n" "#define HAVE_CMOCKA 1" >>confdefs.h
   28513 
   28514 fi ;; #(
   28515   *) :
   28516     as_fn_error $? "Use PKG_CONFIG_PATH to specify path to CMocka library" "$LINENO" 5
   28517         ;;
   28518 esac
   28519 
   28520 
   28521 
   28522  if test "$with_cmocka" = "yes"; then
   28523   HAVE_CMOCKA_TRUE=
   28524   HAVE_CMOCKA_FALSE='#'
   28525 else
   28526   HAVE_CMOCKA_TRUE='#'
   28527   HAVE_CMOCKA_FALSE=
   28528 fi
   28529 
   28530 
   28531 #
   28532 # Compile with jemalloc (either provided as package or wired in the system on FreeBSD)
   28533 #
   28534 # [pairwise: --with-jemalloc=detect, --with-jemalloc=yes, --without-jemalloc]
   28535 
   28536 # Check whether --with-jemalloc was given.
   28537 if test ${with_jemalloc+y}
   28538 then :
   28539   withval=$with_jemalloc;
   28540 else case e in #(
   28541   e) with_jemalloc=detect ;;
   28542 esac
   28543 fi
   28544 
   28545 
   28546 case $with_jemalloc in #(
   28547   no) :
   28548      ;; #(
   28549   yes) :
   28550 
   28551      found=false
   28552 
   28553 pkg_failed=no
   28554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jemalloc" >&5
   28555 printf %s "checking for jemalloc... " >&6; }
   28556 
   28557 if test -n "$JEMALLOC_CFLAGS"; then
   28558     pkg_cv_JEMALLOC_CFLAGS="$JEMALLOC_CFLAGS"
   28559  elif test -n "$PKG_CONFIG"; then
   28560     if test -n "$PKG_CONFIG" && \
   28561     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jemalloc\""; } >&5
   28562   ($PKG_CONFIG --exists --print-errors "jemalloc") 2>&5
   28563   ac_status=$?
   28564   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   28565   test $ac_status = 0; }; then
   28566   pkg_cv_JEMALLOC_CFLAGS=`$PKG_CONFIG --cflags "jemalloc" 2>/dev/null`
   28567 		      test "x$?" != "x0" && pkg_failed=yes
   28568 else
   28569   pkg_failed=yes
   28570 fi
   28571  else
   28572     pkg_failed=untried
   28573 fi
   28574 if test -n "$JEMALLOC_LIBS"; then
   28575     pkg_cv_JEMALLOC_LIBS="$JEMALLOC_LIBS"
   28576  elif test -n "$PKG_CONFIG"; then
   28577     if test -n "$PKG_CONFIG" && \
   28578     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jemalloc\""; } >&5
   28579   ($PKG_CONFIG --exists --print-errors "jemalloc") 2>&5
   28580   ac_status=$?
   28581   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   28582   test $ac_status = 0; }; then
   28583   pkg_cv_JEMALLOC_LIBS=`$PKG_CONFIG --libs "jemalloc" 2>/dev/null`
   28584 		      test "x$?" != "x0" && pkg_failed=yes
   28585 else
   28586   pkg_failed=yes
   28587 fi
   28588  else
   28589     pkg_failed=untried
   28590 fi
   28591 
   28592 
   28593 
   28594 if test $pkg_failed = yes; then
   28595         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   28596 printf "%s\n" "no" >&6; }
   28597 
   28598 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   28599         _pkg_short_errors_supported=yes
   28600 else
   28601         _pkg_short_errors_supported=no
   28602 fi
   28603         if test $_pkg_short_errors_supported = yes; then
   28604                 JEMALLOC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jemalloc" 2>&1`
   28605         else
   28606                 JEMALLOC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "jemalloc" 2>&1`
   28607         fi
   28608         # Put the nasty error message in config.log where it belongs
   28609         echo "$JEMALLOC_PKG_ERRORS" >&5
   28610 
   28611 
   28612 	           for ac_header in malloc_np.h jemalloc/jemalloc.h
   28613 do :
   28614   as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | sed "$as_sed_sh"`
   28615 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   28616 if eval test \"x\$"$as_ac_Header"\" = x"yes"
   28617 then :
   28618   cat >>confdefs.h <<_ACEOF
   28619 #define `printf "%s\n" "HAVE_$ac_header" | sed "$as_sed_cpp"` 1
   28620 _ACEOF
   28621 
   28622 		    save_LIBS="$LIBS"
   28623 		    save_LDFLAGS="$LDFLAGS"
   28624 		    save_CPPFLAGS="$CPPFLAGS"
   28625 		    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing sdallocx" >&5
   28626 printf %s "checking for library containing sdallocx... " >&6; }
   28627 if test ${ac_cv_search_sdallocx+y}
   28628 then :
   28629   printf %s "(cached) " >&6
   28630 else case e in #(
   28631   e) ac_func_search_save_LIBS=$LIBS
   28632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   28633 /* end confdefs.h.  */
   28634 
   28635 /* Override any GCC internal prototype to avoid an error.
   28636    Use char because int might match the return type of a GCC
   28637    builtin and then its argument prototype would still apply.
   28638    The 'extern "C"' is for builds by C++ compilers;
   28639    although this is not generally supported in C code supporting it here
   28640    has little cost and some practical benefit (sr 110532).  */
   28641 #ifdef __cplusplus
   28642 extern "C"
   28643 #endif
   28644 char sdallocx (void);
   28645 int
   28646 main (void)
   28647 {
   28648 return sdallocx ();
   28649   ;
   28650   return 0;
   28651 }
   28652 _ACEOF
   28653 for ac_lib in '' jemalloc
   28654 do
   28655   if test -z "$ac_lib"; then
   28656     ac_res="none required"
   28657   else
   28658     ac_res=-l$ac_lib
   28659     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   28660   fi
   28661   if ac_fn_c_try_link "$LINENO"
   28662 then :
   28663   ac_cv_search_sdallocx=$ac_res
   28664 fi
   28665 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   28666     conftest$ac_exeext
   28667   if test ${ac_cv_search_sdallocx+y}
   28668 then :
   28669   break
   28670 fi
   28671 done
   28672 if test ${ac_cv_search_sdallocx+y}
   28673 then :
   28674 
   28675 else case e in #(
   28676   e) ac_cv_search_sdallocx=no ;;
   28677 esac
   28678 fi
   28679 rm conftest.$ac_ext
   28680 LIBS=$ac_func_search_save_LIBS ;;
   28681 esac
   28682 fi
   28683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sdallocx" >&5
   28684 printf "%s\n" "$ac_cv_search_sdallocx" >&6; }
   28685 ac_res=$ac_cv_search_sdallocx
   28686 if test "$ac_res" != no
   28687 then :
   28688   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   28689 
   28690 			    found=true
   28691 			    JEMALLOC_VERSION=system
   28692 			    if test "$ac_cv_search_mallocx" != "none required"
   28693 then :
   28694   JEMALLOC_LIBS="$ac_cv_search_mallocx"
   28695 fi
   28696 
   28697 fi
   28698 
   28699 		    CPPFLAGS="$save_CPPFLAGS"
   28700 		    LDFLAGS="$save_LDFLAGS"
   28701 		    LIBS="$save_LIBS"
   28702 
   28703 fi
   28704 
   28705 done
   28706 
   28707 elif test $pkg_failed = untried; then
   28708         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   28709 printf "%s\n" "no" >&6; }
   28710 
   28711 	           for ac_header in malloc_np.h jemalloc/jemalloc.h
   28712 do :
   28713   as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | sed "$as_sed_sh"`
   28714 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   28715 if eval test \"x\$"$as_ac_Header"\" = x"yes"
   28716 then :
   28717   cat >>confdefs.h <<_ACEOF
   28718 #define `printf "%s\n" "HAVE_$ac_header" | sed "$as_sed_cpp"` 1
   28719 _ACEOF
   28720 
   28721 		    save_LIBS="$LIBS"
   28722 		    save_LDFLAGS="$LDFLAGS"
   28723 		    save_CPPFLAGS="$CPPFLAGS"
   28724 		    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing sdallocx" >&5
   28725 printf %s "checking for library containing sdallocx... " >&6; }
   28726 if test ${ac_cv_search_sdallocx+y}
   28727 then :
   28728   printf %s "(cached) " >&6
   28729 else case e in #(
   28730   e) ac_func_search_save_LIBS=$LIBS
   28731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   28732 /* end confdefs.h.  */
   28733 
   28734 /* Override any GCC internal prototype to avoid an error.
   28735    Use char because int might match the return type of a GCC
   28736    builtin and then its argument prototype would still apply.
   28737    The 'extern "C"' is for builds by C++ compilers;
   28738    although this is not generally supported in C code supporting it here
   28739    has little cost and some practical benefit (sr 110532).  */
   28740 #ifdef __cplusplus
   28741 extern "C"
   28742 #endif
   28743 char sdallocx (void);
   28744 int
   28745 main (void)
   28746 {
   28747 return sdallocx ();
   28748   ;
   28749   return 0;
   28750 }
   28751 _ACEOF
   28752 for ac_lib in '' jemalloc
   28753 do
   28754   if test -z "$ac_lib"; then
   28755     ac_res="none required"
   28756   else
   28757     ac_res=-l$ac_lib
   28758     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   28759   fi
   28760   if ac_fn_c_try_link "$LINENO"
   28761 then :
   28762   ac_cv_search_sdallocx=$ac_res
   28763 fi
   28764 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   28765     conftest$ac_exeext
   28766   if test ${ac_cv_search_sdallocx+y}
   28767 then :
   28768   break
   28769 fi
   28770 done
   28771 if test ${ac_cv_search_sdallocx+y}
   28772 then :
   28773 
   28774 else case e in #(
   28775   e) ac_cv_search_sdallocx=no ;;
   28776 esac
   28777 fi
   28778 rm conftest.$ac_ext
   28779 LIBS=$ac_func_search_save_LIBS ;;
   28780 esac
   28781 fi
   28782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sdallocx" >&5
   28783 printf "%s\n" "$ac_cv_search_sdallocx" >&6; }
   28784 ac_res=$ac_cv_search_sdallocx
   28785 if test "$ac_res" != no
   28786 then :
   28787   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   28788 
   28789 			    found=true
   28790 			    JEMALLOC_VERSION=system
   28791 			    if test "$ac_cv_search_mallocx" != "none required"
   28792 then :
   28793   JEMALLOC_LIBS="$ac_cv_search_mallocx"
   28794 fi
   28795 
   28796 fi
   28797 
   28798 		    CPPFLAGS="$save_CPPFLAGS"
   28799 		    LDFLAGS="$save_LDFLAGS"
   28800 		    LIBS="$save_LIBS"
   28801 
   28802 fi
   28803 
   28804 done
   28805 
   28806 else
   28807         JEMALLOC_CFLAGS=$pkg_cv_JEMALLOC_CFLAGS
   28808         JEMALLOC_LIBS=$pkg_cv_JEMALLOC_LIBS
   28809         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   28810 printf "%s\n" "yes" >&6; }
   28811 
   28812 
   28813 if test -n "$JEMALLOC_VERSION"; then
   28814     pkg_cv_JEMALLOC_VERSION="$JEMALLOC_VERSION"
   28815  elif test -n "$PKG_CONFIG"; then
   28816     if test -n "$PKG_CONFIG" && \
   28817     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jemalloc\""; } >&5
   28818   ($PKG_CONFIG --exists --print-errors "jemalloc") 2>&5
   28819   ac_status=$?
   28820   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   28821   test $ac_status = 0; }; then
   28822   pkg_cv_JEMALLOC_VERSION=`$PKG_CONFIG --modversion "jemalloc" 2>/dev/null`
   28823 		      test "x$?" != "x0" && pkg_failed=yes
   28824 else
   28825   pkg_failed=yes
   28826 fi
   28827  else
   28828     pkg_failed=untried
   28829 fi
   28830 JEMALLOC_VERSION=$pkg_cv_JEMALLOC_VERSION
   28831 
   28832 if test "x$JEMALLOC_VERSION" = x""
   28833 then :
   28834 
   28835 fi
   28836 	    found=true
   28837 
   28838 fi
   28839 
   28840     if $found
   28841 then :
   28842 
   28843 printf "%s\n" "#define HAVE_JEMALLOC 1" >>confdefs.h
   28844 
   28845 else case e in #(
   28846   e) as_fn_error $? "jemalloc not found" "$LINENO" 5 ;;
   28847 esac
   28848 fi
   28849 
   28850 
   28851 
   28852  ;; #(
   28853   *) :
   28854 
   28855      found=false
   28856 
   28857 pkg_failed=no
   28858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jemalloc" >&5
   28859 printf %s "checking for jemalloc... " >&6; }
   28860 
   28861 if test -n "$JEMALLOC_CFLAGS"; then
   28862     pkg_cv_JEMALLOC_CFLAGS="$JEMALLOC_CFLAGS"
   28863  elif test -n "$PKG_CONFIG"; then
   28864     if test -n "$PKG_CONFIG" && \
   28865     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jemalloc\""; } >&5
   28866   ($PKG_CONFIG --exists --print-errors "jemalloc") 2>&5
   28867   ac_status=$?
   28868   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   28869   test $ac_status = 0; }; then
   28870   pkg_cv_JEMALLOC_CFLAGS=`$PKG_CONFIG --cflags "jemalloc" 2>/dev/null`
   28871 		      test "x$?" != "x0" && pkg_failed=yes
   28872 else
   28873   pkg_failed=yes
   28874 fi
   28875  else
   28876     pkg_failed=untried
   28877 fi
   28878 if test -n "$JEMALLOC_LIBS"; then
   28879     pkg_cv_JEMALLOC_LIBS="$JEMALLOC_LIBS"
   28880  elif test -n "$PKG_CONFIG"; then
   28881     if test -n "$PKG_CONFIG" && \
   28882     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jemalloc\""; } >&5
   28883   ($PKG_CONFIG --exists --print-errors "jemalloc") 2>&5
   28884   ac_status=$?
   28885   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   28886   test $ac_status = 0; }; then
   28887   pkg_cv_JEMALLOC_LIBS=`$PKG_CONFIG --libs "jemalloc" 2>/dev/null`
   28888 		      test "x$?" != "x0" && pkg_failed=yes
   28889 else
   28890   pkg_failed=yes
   28891 fi
   28892  else
   28893     pkg_failed=untried
   28894 fi
   28895 
   28896 
   28897 
   28898 if test $pkg_failed = yes; then
   28899         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   28900 printf "%s\n" "no" >&6; }
   28901 
   28902 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   28903         _pkg_short_errors_supported=yes
   28904 else
   28905         _pkg_short_errors_supported=no
   28906 fi
   28907         if test $_pkg_short_errors_supported = yes; then
   28908                 JEMALLOC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jemalloc" 2>&1`
   28909         else
   28910                 JEMALLOC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "jemalloc" 2>&1`
   28911         fi
   28912         # Put the nasty error message in config.log where it belongs
   28913         echo "$JEMALLOC_PKG_ERRORS" >&5
   28914 
   28915 
   28916 	           for ac_header in malloc_np.h jemalloc/jemalloc.h
   28917 do :
   28918   as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | sed "$as_sed_sh"`
   28919 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   28920 if eval test \"x\$"$as_ac_Header"\" = x"yes"
   28921 then :
   28922   cat >>confdefs.h <<_ACEOF
   28923 #define `printf "%s\n" "HAVE_$ac_header" | sed "$as_sed_cpp"` 1
   28924 _ACEOF
   28925 
   28926 		    save_LIBS="$LIBS"
   28927 		    save_LDFLAGS="$LDFLAGS"
   28928 		    save_CPPFLAGS="$CPPFLAGS"
   28929 		    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing sdallocx" >&5
   28930 printf %s "checking for library containing sdallocx... " >&6; }
   28931 if test ${ac_cv_search_sdallocx+y}
   28932 then :
   28933   printf %s "(cached) " >&6
   28934 else case e in #(
   28935   e) ac_func_search_save_LIBS=$LIBS
   28936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   28937 /* end confdefs.h.  */
   28938 
   28939 /* Override any GCC internal prototype to avoid an error.
   28940    Use char because int might match the return type of a GCC
   28941    builtin and then its argument prototype would still apply.
   28942    The 'extern "C"' is for builds by C++ compilers;
   28943    although this is not generally supported in C code supporting it here
   28944    has little cost and some practical benefit (sr 110532).  */
   28945 #ifdef __cplusplus
   28946 extern "C"
   28947 #endif
   28948 char sdallocx (void);
   28949 int
   28950 main (void)
   28951 {
   28952 return sdallocx ();
   28953   ;
   28954   return 0;
   28955 }
   28956 _ACEOF
   28957 for ac_lib in '' jemalloc
   28958 do
   28959   if test -z "$ac_lib"; then
   28960     ac_res="none required"
   28961   else
   28962     ac_res=-l$ac_lib
   28963     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   28964   fi
   28965   if ac_fn_c_try_link "$LINENO"
   28966 then :
   28967   ac_cv_search_sdallocx=$ac_res
   28968 fi
   28969 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   28970     conftest$ac_exeext
   28971   if test ${ac_cv_search_sdallocx+y}
   28972 then :
   28973   break
   28974 fi
   28975 done
   28976 if test ${ac_cv_search_sdallocx+y}
   28977 then :
   28978 
   28979 else case e in #(
   28980   e) ac_cv_search_sdallocx=no ;;
   28981 esac
   28982 fi
   28983 rm conftest.$ac_ext
   28984 LIBS=$ac_func_search_save_LIBS ;;
   28985 esac
   28986 fi
   28987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sdallocx" >&5
   28988 printf "%s\n" "$ac_cv_search_sdallocx" >&6; }
   28989 ac_res=$ac_cv_search_sdallocx
   28990 if test "$ac_res" != no
   28991 then :
   28992   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   28993 
   28994 			    found=true
   28995 			    JEMALLOC_VERSION=system
   28996 			    if test "$ac_cv_search_mallocx" != "none required"
   28997 then :
   28998   JEMALLOC_LIBS="$ac_cv_search_mallocx"
   28999 fi
   29000 
   29001 fi
   29002 
   29003 		    CPPFLAGS="$save_CPPFLAGS"
   29004 		    LDFLAGS="$save_LDFLAGS"
   29005 		    LIBS="$save_LIBS"
   29006 
   29007 fi
   29008 
   29009 done
   29010 
   29011 elif test $pkg_failed = untried; then
   29012         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   29013 printf "%s\n" "no" >&6; }
   29014 
   29015 	           for ac_header in malloc_np.h jemalloc/jemalloc.h
   29016 do :
   29017   as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | sed "$as_sed_sh"`
   29018 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   29019 if eval test \"x\$"$as_ac_Header"\" = x"yes"
   29020 then :
   29021   cat >>confdefs.h <<_ACEOF
   29022 #define `printf "%s\n" "HAVE_$ac_header" | sed "$as_sed_cpp"` 1
   29023 _ACEOF
   29024 
   29025 		    save_LIBS="$LIBS"
   29026 		    save_LDFLAGS="$LDFLAGS"
   29027 		    save_CPPFLAGS="$CPPFLAGS"
   29028 		    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing sdallocx" >&5
   29029 printf %s "checking for library containing sdallocx... " >&6; }
   29030 if test ${ac_cv_search_sdallocx+y}
   29031 then :
   29032   printf %s "(cached) " >&6
   29033 else case e in #(
   29034   e) ac_func_search_save_LIBS=$LIBS
   29035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   29036 /* end confdefs.h.  */
   29037 
   29038 /* Override any GCC internal prototype to avoid an error.
   29039    Use char because int might match the return type of a GCC
   29040    builtin and then its argument prototype would still apply.
   29041    The 'extern "C"' is for builds by C++ compilers;
   29042    although this is not generally supported in C code supporting it here
   29043    has little cost and some practical benefit (sr 110532).  */
   29044 #ifdef __cplusplus
   29045 extern "C"
   29046 #endif
   29047 char sdallocx (void);
   29048 int
   29049 main (void)
   29050 {
   29051 return sdallocx ();
   29052   ;
   29053   return 0;
   29054 }
   29055 _ACEOF
   29056 for ac_lib in '' jemalloc
   29057 do
   29058   if test -z "$ac_lib"; then
   29059     ac_res="none required"
   29060   else
   29061     ac_res=-l$ac_lib
   29062     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   29063   fi
   29064   if ac_fn_c_try_link "$LINENO"
   29065 then :
   29066   ac_cv_search_sdallocx=$ac_res
   29067 fi
   29068 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   29069     conftest$ac_exeext
   29070   if test ${ac_cv_search_sdallocx+y}
   29071 then :
   29072   break
   29073 fi
   29074 done
   29075 if test ${ac_cv_search_sdallocx+y}
   29076 then :
   29077 
   29078 else case e in #(
   29079   e) ac_cv_search_sdallocx=no ;;
   29080 esac
   29081 fi
   29082 rm conftest.$ac_ext
   29083 LIBS=$ac_func_search_save_LIBS ;;
   29084 esac
   29085 fi
   29086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sdallocx" >&5
   29087 printf "%s\n" "$ac_cv_search_sdallocx" >&6; }
   29088 ac_res=$ac_cv_search_sdallocx
   29089 if test "$ac_res" != no
   29090 then :
   29091   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   29092 
   29093 			    found=true
   29094 			    JEMALLOC_VERSION=system
   29095 			    if test "$ac_cv_search_mallocx" != "none required"
   29096 then :
   29097   JEMALLOC_LIBS="$ac_cv_search_mallocx"
   29098 fi
   29099 
   29100 fi
   29101 
   29102 		    CPPFLAGS="$save_CPPFLAGS"
   29103 		    LDFLAGS="$save_LDFLAGS"
   29104 		    LIBS="$save_LIBS"
   29105 
   29106 fi
   29107 
   29108 done
   29109 
   29110 else
   29111         JEMALLOC_CFLAGS=$pkg_cv_JEMALLOC_CFLAGS
   29112         JEMALLOC_LIBS=$pkg_cv_JEMALLOC_LIBS
   29113         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   29114 printf "%s\n" "yes" >&6; }
   29115 
   29116 
   29117 if test -n "$JEMALLOC_VERSION"; then
   29118     pkg_cv_JEMALLOC_VERSION="$JEMALLOC_VERSION"
   29119  elif test -n "$PKG_CONFIG"; then
   29120     if test -n "$PKG_CONFIG" && \
   29121     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jemalloc\""; } >&5
   29122   ($PKG_CONFIG --exists --print-errors "jemalloc") 2>&5
   29123   ac_status=$?
   29124   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   29125   test $ac_status = 0; }; then
   29126   pkg_cv_JEMALLOC_VERSION=`$PKG_CONFIG --modversion "jemalloc" 2>/dev/null`
   29127 		      test "x$?" != "x0" && pkg_failed=yes
   29128 else
   29129   pkg_failed=yes
   29130 fi
   29131  else
   29132     pkg_failed=untried
   29133 fi
   29134 JEMALLOC_VERSION=$pkg_cv_JEMALLOC_VERSION
   29135 
   29136 if test "x$JEMALLOC_VERSION" = x""
   29137 then :
   29138 
   29139 fi
   29140 	    found=true
   29141 
   29142 fi
   29143 
   29144     if $found
   29145 then :
   29146 
   29147 printf "%s\n" "#define HAVE_JEMALLOC 1" >>confdefs.h
   29148 
   29149 	    with_jemalloc=yes
   29150 else case e in #(
   29151   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: jemalloc not found; performance will be reduced" >&5
   29152 printf "%s\n" "$as_me: WARNING: jemalloc not found; performance will be reduced" >&2;}
   29153 	    with_jemalloc=no ;;
   29154 esac
   29155 fi
   29156 
   29157 
   29158 
   29159  ;;
   29160 esac
   29161 
   29162 if test "$with_jemalloc" = "no"
   29163 then :
   29164   case $host in #(
   29165   *-freebsd*) :
   29166     as_fn_error $? "You cannot compile without jemalloc; jemalloc is the system allocator on FreeBSD" "$LINENO" 5 ;; #(
   29167   *) :
   29168      ;;
   29169 esac
   29170 fi
   29171 
   29172  if test "$with_jemalloc" = "yes"; then
   29173   HAVE_JEMALLOC_TRUE=
   29174   HAVE_JEMALLOC_FALSE='#'
   29175 else
   29176   HAVE_JEMALLOC_TRUE='#'
   29177   HAVE_JEMALLOC_FALSE=
   29178 fi
   29179 
   29180 
   29181 #
   29182 # Check memory leaks in external libraries
   29183 #
   29184 # [pairwise: --enable-leak-detection, --disable-leak-detection]
   29185 # Check whether --enable-leak-detection was given.
   29186 if test ${enable_leak_detection+y}
   29187 then :
   29188   enableval=$enable_leak_detection;
   29189 else case e in #(
   29190   e) enable_leak_detection=no ;;
   29191 esac
   29192 fi
   29193 
   29194 case $enable_leak_detection in #(
   29195   yes) :
   29196 
   29197 printf "%s\n" "#define ENABLE_LEAK_DETECTION 1" >>confdefs.h
   29198  ;; #(
   29199   *) :
   29200      ;;
   29201 esac
   29202 
   29203 #
   29204 # was --enable-querytrace or --enable-singletrace specified?
   29205 #
   29206 # [pairwise: --enable-singletrace --enable-querytrace, --disable-singletrace --enable-querytrace, --disable-singletrace --disable-querytrace]
   29207 # Check whether --enable-singletrace was given.
   29208 if test ${enable_singletrace+y}
   29209 then :
   29210   enableval=$enable_singletrace; enable_singletrace="$enableval"
   29211 else case e in #(
   29212   e) enable_singletrace="no" ;;
   29213 esac
   29214 fi
   29215 
   29216 
   29217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable single-query trace logging" >&5
   29218 printf %s "checking whether to enable single-query trace logging... " >&6; }
   29219 case "$enable_singletrace" in
   29220 yes)
   29221 	enable_querytrace=yes
   29222 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   29223 printf "%s\n" "yes" >&6; }
   29224 
   29225 printf "%s\n" "#define WANT_SINGLETRACE 1" >>confdefs.h
   29226 
   29227 	;;
   29228 no)
   29229 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   29230 printf "%s\n" "no" >&6; }
   29231 	;;
   29232 *)
   29233 	as_fn_error $? "\"--enable-singletrace requires yes or no\"" "$LINENO" 5
   29234 	;;
   29235 esac
   29236 
   29237 # [pairwise: skip]
   29238 # Check whether --enable-querytrace was given.
   29239 if test ${enable_querytrace+y}
   29240 then :
   29241   enableval=$enable_querytrace; enable_querytrace="$enableval"
   29242 else case e in #(
   29243   e) enable_querytrace="$enable_singletrace" ;;
   29244 esac
   29245 fi
   29246 
   29247 
   29248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable query trace logging" >&5
   29249 printf %s "checking whether to enable query trace logging... " >&6; }
   29250 case "$enable_querytrace" in
   29251 yes)
   29252 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   29253 printf "%s\n" "yes" >&6; }
   29254 
   29255 printf "%s\n" "#define WANT_QUERYTRACE 1" >>confdefs.h
   29256 
   29257 	;;
   29258 no)
   29259        if test "$enable_singletrace" = "yes"
   29260 then :
   29261   as_fn_error $? "--enable-singletrace requires --enable-querytrace" "$LINENO" 5
   29262 fi
   29263 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   29264 printf "%s\n" "no" >&6; }
   29265 	;;
   29266 *)
   29267 	as_fn_error $? "\"--enable-querytrace requires yes or no (not $enable_querytrace)\"" "$LINENO" 5
   29268 	;;
   29269 esac
   29270 
   29271 #
   29272 # Was --disable-auto-validation specified?
   29273 #
   29274 
   29275 validation_default=auto
   29276 
   29277 # [pairwise: --enable-auto-validation, --disable-auto-validation]
   29278 # Check whether --enable-auto-validation was given.
   29279 if test ${enable_auto_validation+y}
   29280 then :
   29281   enableval=$enable_auto_validation; :
   29282 else case e in #(
   29283   e) enable_auto_validation=yes ;;
   29284 esac
   29285 fi
   29286 
   29287 if test "$enable_auto_validation" = "no"
   29288 then :
   29289   validation_default=yes
   29290 fi
   29291 
   29292 printf "%s\n" "#define VALIDATION_DEFAULT \"$validation_default\"" >>confdefs.h
   29293 
   29294 
   29295 #
   29296 #
   29297 # Response policy rewriting using DNS Response Policy Service (DNSRPS)
   29298 # interface.
   29299 #
   29300 # DNSRPS can be compiled into BIND everywhere with a reasonably
   29301 # modern C compiler.  It is enabled on systems with dlopen() and librpz.so.
   29302 #
   29303 dnsrps_avail=yes
   29304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for librpz __attribute__s" >&5
   29305 printf %s "checking for librpz __attribute__s... " >&6; }
   29306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   29307 /* end confdefs.h.  */
   29308 
   29309 int
   29310 main (void)
   29311 {
   29312 
   29313        extern void f(char *p __attribute__((unused)), ...)
   29314        __attribute__((format(printf,1,2))) __attribute__((__noreturn__));
   29315 
   29316   ;
   29317   return 0;
   29318 }
   29319 _ACEOF
   29320 if ac_fn_c_try_compile "$LINENO"
   29321 then :
   29322 
   29323     librpz_have_attr=yes
   29324 
   29325 printf "%s\n" "#define LIBRPZ_HAVE_ATTR 1" >>confdefs.h
   29326 
   29327     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   29328 printf "%s\n" "yes" >&6; }
   29329 
   29330 else case e in #(
   29331   e)
   29332     librpz_have_attr=no
   29333     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   29334 printf "%s\n" "no" >&6; }
   29335    ;;
   29336 esac
   29337 fi
   29338 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   29339 
   29340 # [pairwise: --enable-dnsrps --enable-dnsrps-dl, --disable-dnsrps]
   29341 # Check whether --enable-dnsrps-dl was given.
   29342 if test ${enable_dnsrps_dl+y}
   29343 then :
   29344   enableval=$enable_dnsrps_dl; enable_dnsrps_dl="$enableval"
   29345 else case e in #(
   29346   e) enable_dnsrps_dl="yes" ;;
   29347 esac
   29348 fi
   29349 
   29350 
   29351 if test "$enable_dnsrps_dl" = "yes" -a "$with_dlopen" = "no"
   29352 then :
   29353   as_fn_error $? "DNS Response Policy Service delayed link requires dlopen to be enabled" "$LINENO" 5
   29354 fi
   29355 
   29356 # [pairwise: skip]
   29357 
   29358 # Check whether --with-dnsrps-libname was given.
   29359 if test ${with_dnsrps_libname+y}
   29360 then :
   29361   withval=$with_dnsrps_libname; librpz_name="$withval"
   29362 else case e in #(
   29363   e) librpz_name="librpz.so" ;;
   29364 esac
   29365 fi
   29366 
   29367 
   29368 # [pairwise: skip]
   29369 
   29370 # Check whether --with-dnsrps-dir was given.
   29371 if test ${with_dnsrps_dir+y}
   29372 then :
   29373   withval=$with_dnsrps_dir; librpz_path="$withval/$librpz_name"
   29374 else case e in #(
   29375   e) librpz_path="$librpz_name" ;;
   29376 esac
   29377 fi
   29378 
   29379 
   29380 printf "%s\n" "#define DNSRPS_LIBRPZ_PATH \"$librpz_path\"" >>confdefs.h
   29381 
   29382 if test "$enable_dnsrps_dl" = "yes"
   29383 then :
   29384 
   29385 	dnsrps_lib_open=2
   29386 
   29387 else case e in #(
   29388   e)
   29389 	dnsrps_lib_open=1
   29390 	# Add librpz.so to linked libraries if we are not using dlopen()
   29391 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing librpz_client_create" >&5
   29392 printf %s "checking for library containing librpz_client_create... " >&6; }
   29393 if test ${ac_cv_search_librpz_client_create+y}
   29394 then :
   29395   printf %s "(cached) " >&6
   29396 else case e in #(
   29397   e) ac_func_search_save_LIBS=$LIBS
   29398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   29399 /* end confdefs.h.  */
   29400 
   29401 /* Override any GCC internal prototype to avoid an error.
   29402    Use char because int might match the return type of a GCC
   29403    builtin and then its argument prototype would still apply.
   29404    The 'extern "C"' is for builds by C++ compilers;
   29405    although this is not generally supported in C code supporting it here
   29406    has little cost and some practical benefit (sr 110532).  */
   29407 #ifdef __cplusplus
   29408 extern "C"
   29409 #endif
   29410 char librpz_client_create (void);
   29411 int
   29412 main (void)
   29413 {
   29414 return librpz_client_create ();
   29415   ;
   29416   return 0;
   29417 }
   29418 _ACEOF
   29419 for ac_lib in '' rpz
   29420 do
   29421   if test -z "$ac_lib"; then
   29422     ac_res="none required"
   29423   else
   29424     ac_res=-l$ac_lib
   29425     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   29426   fi
   29427   if ac_fn_c_try_link "$LINENO"
   29428 then :
   29429   ac_cv_search_librpz_client_create=$ac_res
   29430 fi
   29431 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   29432     conftest$ac_exeext
   29433   if test ${ac_cv_search_librpz_client_create+y}
   29434 then :
   29435   break
   29436 fi
   29437 done
   29438 if test ${ac_cv_search_librpz_client_create+y}
   29439 then :
   29440 
   29441 else case e in #(
   29442   e) ac_cv_search_librpz_client_create=no ;;
   29443 esac
   29444 fi
   29445 rm conftest.$ac_ext
   29446 LIBS=$ac_func_search_save_LIBS ;;
   29447 esac
   29448 fi
   29449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_librpz_client_create" >&5
   29450 printf "%s\n" "$ac_cv_search_librpz_client_create" >&6; }
   29451 ac_res=$ac_cv_search_librpz_client_create
   29452 if test "$ac_res" != no
   29453 then :
   29454   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   29455 
   29456 else case e in #(
   29457   e) dnsrps_lib_open=0
   29458 		 dnsrps_avail=no ;;
   29459 esac
   29460 fi
   29461 
   29462        ;;
   29463 esac
   29464 fi
   29465 
   29466 printf "%s\n" "#define DNSRPS_LIB_OPEN $dnsrps_lib_open" >>confdefs.h
   29467 
   29468 
   29469 # [pairwise: skip]
   29470 # Check whether --enable-dnsrps was given.
   29471 if test ${enable_dnsrps+y}
   29472 then :
   29473   enableval=$enable_dnsrps; enable_dnsrps=$enableval
   29474 else case e in #(
   29475   e) enable_dnsrps=no ;;
   29476 esac
   29477 fi
   29478 
   29479 
   29480 if test "$enable_dnsrps" != "no"
   29481 then :
   29482 
   29483 	if test "$dnsrps_lib_open" = "0"
   29484 then :
   29485   as_fn_error $? "dlopen and librpz.so needed for DNSRPS" "$LINENO" 5
   29486 fi
   29487 
   29488 printf "%s\n" "#define USE_DNSRPS 1" >>confdefs.h
   29489 
   29490 
   29491 fi
   29492 
   29493  if test "$enable_dnsrps" != "no"; then
   29494   DNSRPS_TRUE=
   29495   DNSRPS_FALSE='#'
   29496 else
   29497   DNSRPS_TRUE='#'
   29498   DNSRPS_FALSE=
   29499 fi
   29500 
   29501 
   29502 ac_fn_c_check_header_compile "$LINENO" "glob.h" "ac_cv_header_glob_h" "$ac_includes_default"
   29503 if test "x$ac_cv_header_glob_h" = xyes
   29504 then :
   29505   printf "%s\n" "#define HAVE_GLOB_H 1" >>confdefs.h
   29506 
   29507 fi
   29508 
   29509 
   29510 #
   29511 # Support for constructor and destructor attributes
   29512 #
   29513 
   29514 
   29515 
   29516     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((constructor))" >&5
   29517 printf %s "checking for __attribute__((constructor))... " >&6; }
   29518 if test ${ax_cv_have_func_attribute_constructor+y}
   29519 then :
   29520   printf %s "(cached) " >&6
   29521 else case e in #(
   29522   e)
   29523         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   29524 /* end confdefs.h.  */
   29525 
   29526 
   29527                     int foo( void ) __attribute__((constructor));
   29528 
   29529 int
   29530 main (void)
   29531 {
   29532 
   29533   ;
   29534   return 0;
   29535 }
   29536 
   29537 _ACEOF
   29538 if ac_fn_c_try_link "$LINENO"
   29539 then :
   29540                                       if grep -- -Wattributes conftest.err
   29541 then :
   29542   ax_cv_have_func_attribute_constructor=no
   29543 else case e in #(
   29544   e) ax_cv_have_func_attribute_constructor=yes ;;
   29545 esac
   29546 fi
   29547 else case e in #(
   29548   e) ax_cv_have_func_attribute_constructor=no ;;
   29549 esac
   29550 fi
   29551 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   29552     conftest$ac_exeext conftest.$ac_ext
   29553      ;;
   29554 esac
   29555 fi
   29556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_func_attribute_constructor" >&5
   29557 printf "%s\n" "$ax_cv_have_func_attribute_constructor" >&6; }
   29558 
   29559     if test yes = $ax_cv_have_func_attribute_constructor
   29560 then :
   29561 
   29562 printf "%s\n" "#define HAVE_FUNC_ATTRIBUTE_CONSTRUCTOR 1" >>confdefs.h
   29563 
   29564 fi
   29565 
   29566 
   29567 
   29568 
   29569 
   29570 
   29571     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((destructor))" >&5
   29572 printf %s "checking for __attribute__((destructor))... " >&6; }
   29573 if test ${ax_cv_have_func_attribute_destructor+y}
   29574 then :
   29575   printf %s "(cached) " >&6
   29576 else case e in #(
   29577   e)
   29578         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   29579 /* end confdefs.h.  */
   29580 
   29581 
   29582                     int foo( void ) __attribute__((destructor));
   29583 
   29584 int
   29585 main (void)
   29586 {
   29587 
   29588   ;
   29589   return 0;
   29590 }
   29591 
   29592 _ACEOF
   29593 if ac_fn_c_try_link "$LINENO"
   29594 then :
   29595                                       if grep -- -Wattributes conftest.err
   29596 then :
   29597   ax_cv_have_func_attribute_destructor=no
   29598 else case e in #(
   29599   e) ax_cv_have_func_attribute_destructor=yes ;;
   29600 esac
   29601 fi
   29602 else case e in #(
   29603   e) ax_cv_have_func_attribute_destructor=no ;;
   29604 esac
   29605 fi
   29606 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   29607     conftest$ac_exeext conftest.$ac_ext
   29608      ;;
   29609 esac
   29610 fi
   29611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_func_attribute_destructor" >&5
   29612 printf "%s\n" "$ax_cv_have_func_attribute_destructor" >&6; }
   29613 
   29614     if test yes = $ax_cv_have_func_attribute_destructor
   29615 then :
   29616 
   29617 printf "%s\n" "#define HAVE_FUNC_ATTRIBUTE_DESTRUCTOR 1" >>confdefs.h
   29618 
   29619 fi
   29620 
   29621 
   29622 
   29623 
   29624 #
   29625 # Check whether to enable User Statically Defined Tracing.
   29626 #
   29627 # This is supported only on Linux now and requires SystemTap libraries.
   29628 #
   29629 # [pairwise: --enable-tracing=auto, --enable-tracing=yes, --disable-tracing]
   29630 # Check whether --enable-tracing was given.
   29631 if test ${enable_tracing+y}
   29632 then :
   29633   enableval=$enable_tracing;
   29634 else case e in #(
   29635   e) enable_tracing=auto ;;
   29636 esac
   29637 fi
   29638 
   29639 
   29640 
   29641 for ac_prog in dtrace
   29642 do
   29643   # Extract the first word of "$ac_prog", so it can be a program name with args.
   29644 set dummy $ac_prog; ac_word=$2
   29645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   29646 printf %s "checking for $ac_word... " >&6; }
   29647 if test ${ac_cv_path_DTRACE+y}
   29648 then :
   29649   printf %s "(cached) " >&6
   29650 else case e in #(
   29651   e) case $DTRACE in
   29652   [\\/]* | ?:[\\/]*)
   29653   ac_cv_path_DTRACE="$DTRACE" # Let the user override the test with a path.
   29654   ;;
   29655   *)
   29656   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   29657 for as_dir in $PATH
   29658 do
   29659   IFS=$as_save_IFS
   29660   case $as_dir in #(((
   29661     '') as_dir=./ ;;
   29662     */) ;;
   29663     *) as_dir=$as_dir/ ;;
   29664   esac
   29665     for ac_exec_ext in '' $ac_executable_extensions; do
   29666   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   29667     ac_cv_path_DTRACE="$as_dir$ac_word$ac_exec_ext"
   29668     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   29669     break 2
   29670   fi
   29671 done
   29672   done
   29673 IFS=$as_save_IFS
   29674 
   29675   ;;
   29676 esac ;;
   29677 esac
   29678 fi
   29679 DTRACE=$ac_cv_path_DTRACE
   29680 if test -n "$DTRACE"; then
   29681   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5
   29682 printf "%s\n" "$DTRACE" >&6; }
   29683 else
   29684   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   29685 printf "%s\n" "no" >&6; }
   29686 fi
   29687 
   29688 
   29689   test -n "$DTRACE" && break
   29690 done
   29691 
   29692 ac_fn_c_check_header_compile "$LINENO" "sys/sdt.h" "ac_cv_header_sys_sdt_h" "$ac_includes_default"
   29693 if test "x$ac_cv_header_sys_sdt_h" = xyes
   29694 then :
   29695   printf "%s\n" "#define HAVE_SYS_SDT_H 1" >>confdefs.h
   29696 
   29697 fi
   29698 
   29699 
   29700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable User Statically Defined Tracing support (default is auto)" >&5
   29701 printf %s "checking whether to enable User Statically Defined Tracing support (default is auto)... " >&6; }
   29702 case $enable_tracing in #(
   29703   auto) :
   29704     enable_tracing=yes
   29705 		 if test "$ac_cv_header_sys_sdt_h" != "yes"
   29706 then :
   29707   enable_tracing=no
   29708 fi
   29709 		 if test -z "$DTRACE"
   29710 then :
   29711   enable_tracing=no
   29712 fi
   29713 		 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   29714 /* end confdefs.h.  */
   29715 
   29716 int
   29717 main (void)
   29718 {
   29719 #if !defined(__has_feature)
   29720 				      #define __has_feature(x) 0
   29721 				      #endif /* if !defined(__has_feature) */
   29722 				      #if __has_feature(address_sanitizer)
   29723 				      #define __SANITIZE_ADDRESS__ 1
   29724 				      #endif /* if __has_feature(address_sanitizer) */
   29725 				      #if defined(__SANITIZE_ADDRESS__)
   29726 				      #error Address Sanitizer enabled
   29727 				      #endif
   29728 
   29729   ;
   29730   return 0;
   29731 }
   29732 _ACEOF
   29733 if ac_fn_c_try_compile "$LINENO"
   29734 then :
   29735 
   29736 else case e in #(
   29737   e) enable_tracing=no
   29738 		  ;;
   29739 esac
   29740 fi
   29741 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; #(
   29742   *) :
   29743      ;;
   29744 esac
   29745 case $enable_tracing in #(
   29746   yes) :
   29747     if test "$ac_cv_header_sys_sdt_h" != "yes"
   29748 then :
   29749   as_fn_error $? "sys/sdt.h header not found" "$LINENO" 5
   29750 fi
   29751 		if test -z "$DTRACE"
   29752 then :
   29753   as_fn_error $? "The dtrace command not found" "$LINENO" 5
   29754 fi
   29755 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   29756 printf "%s\n" "yes" >&6; } ;; #(
   29757   *) :
   29758     DTRACE=""
   29759 	 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   29760 printf "%s\n" "no" >&6; } ;;
   29761 esac
   29762 
   29763 case $host in #(
   29764   *-linux*) :
   29765     have_systemtap=true ;; #(
   29766   *) :
   29767      ;;
   29768 esac
   29769 
   29770  if test -n "$have_systemtap"; then
   29771   HAVE_SYSTEMTAP_TRUE=
   29772   HAVE_SYSTEMTAP_FALSE='#'
   29773 else
   29774   HAVE_SYSTEMTAP_TRUE='#'
   29775   HAVE_SYSTEMTAP_FALSE=
   29776 fi
   29777 
   29778  if test -n "$DTRACE"; then
   29779   HAVE_DTRACE_TRUE=
   29780   HAVE_DTRACE_FALSE='#'
   29781 else
   29782   HAVE_DTRACE_TRUE='#'
   29783   HAVE_DTRACE_FALSE=
   29784 fi
   29785 
   29786 
   29787 # Use shim script if dtrace is not available
   29788 if test -z "$DTRACE"
   29789 then :
   29790   DTRACE='$(top_srcdir)/util/dtrace.sh'
   29791 fi
   29792 
   29793 
   29794 
   29795 #
   29796 # Which should be the default zone database, RBTDB or QPZONE?
   29797 # [pairwise: --with-zonedb=qp, --with-zonedb=rbt]
   29798 #
   29799 
   29800 # Check whether --with-zonedb was given.
   29801 if test ${with_zonedb+y}
   29802 then :
   29803   withval=$with_zonedb;
   29804 else case e in #(
   29805   e) with_zonedb=qp ;;
   29806 esac
   29807 fi
   29808 
   29809 zonedb="qpzone"
   29810 case $with_zonedb in #(
   29811   RBT*|rbt*) :
   29812     zonedb="rbt" ;; #(
   29813   QP|qp) :
   29814      ;; #(
   29815   *) :
   29816     as_fn_error $? "Unknown zone database type" "$LINENO" 5
   29817         ;;
   29818 esac
   29819 
   29820 printf "%s\n" "#define ZONEDB_DEFAULT \"$zonedb\"" >>confdefs.h
   29821 
   29822 
   29823 #
   29824 # Which should be the default zone database, RBTDB or QPCACHE?
   29825 # [pairwise: --with-cachedb=qp, --with-cachedb=rbt]
   29826 #
   29827 
   29828 # Check whether --with-cachedb was given.
   29829 if test ${with_cachedb+y}
   29830 then :
   29831   withval=$with_cachedb;
   29832 else case e in #(
   29833   e) with_cachedb=qp ;;
   29834 esac
   29835 fi
   29836 
   29837 cachedb="qpcache"
   29838 case $with_cachedb in #(
   29839   RBT*|rbt*) :
   29840     cachedb="rbt" ;; #(
   29841   QP*|qp*) :
   29842      ;; #(
   29843   *) :
   29844     as_fn_error $? "Unknown cache database type" "$LINENO" 5
   29845         ;;
   29846 esac
   29847 
   29848 printf "%s\n" "#define CACHEDB_DEFAULT \"$cachedb\"" >>confdefs.h
   29849 
   29850 
   29851 #
   29852 # In solaris 10, SMF can manage named service
   29853 #
   29854 LIBSCF_LIBS=
   29855 ac_fn_c_check_header_compile "$LINENO" "libscf.h" "ac_cv_header_libscf_h" "$ac_includes_default"
   29856 if test "x$ac_cv_header_libscf_h" = xyes
   29857 then :
   29858   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for smf_enable_instance in -lscf" >&5
   29859 printf %s "checking for smf_enable_instance in -lscf... " >&6; }
   29860 if test ${ac_cv_lib_scf_smf_enable_instance+y}
   29861 then :
   29862   printf %s "(cached) " >&6
   29863 else case e in #(
   29864   e) ac_check_lib_save_LIBS=$LIBS
   29865 LIBS="-lscf  $LIBS"
   29866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   29867 /* end confdefs.h.  */
   29868 
   29869 /* Override any GCC internal prototype to avoid an error.
   29870    Use char because int might match the return type of a GCC
   29871    builtin and then its argument prototype would still apply.
   29872    The 'extern "C"' is for builds by C++ compilers;
   29873    although this is not generally supported in C code supporting it here
   29874    has little cost and some practical benefit (sr 110532).  */
   29875 #ifdef __cplusplus
   29876 extern "C"
   29877 #endif
   29878 char smf_enable_instance (void);
   29879 int
   29880 main (void)
   29881 {
   29882 return smf_enable_instance ();
   29883   ;
   29884   return 0;
   29885 }
   29886 _ACEOF
   29887 if ac_fn_c_try_link "$LINENO"
   29888 then :
   29889   ac_cv_lib_scf_smf_enable_instance=yes
   29890 else case e in #(
   29891   e) ac_cv_lib_scf_smf_enable_instance=no ;;
   29892 esac
   29893 fi
   29894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   29895     conftest$ac_exeext conftest.$ac_ext
   29896 LIBS=$ac_check_lib_save_LIBS ;;
   29897 esac
   29898 fi
   29899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_scf_smf_enable_instance" >&5
   29900 printf "%s\n" "$ac_cv_lib_scf_smf_enable_instance" >&6; }
   29901 if test "x$ac_cv_lib_scf_smf_enable_instance" = xyes
   29902 then :
   29903 
   29904 printf "%s\n" "#define HAVE_LIBSCF 1" >>confdefs.h
   29905 
   29906 			       LIBSCF_LIBS="-lscf"
   29907 fi
   29908 
   29909 fi
   29910 
   29911 
   29912 
   29913 #
   29914 # Files to configure.  These are listed here because we used to
   29915 # specify them as arguments to AC_OUTPUT.
   29916 #
   29917 
   29918 # Top
   29919 
   29920 ac_config_files="$ac_config_files Makefile"
   29921 
   29922 
   29923 # Binaries
   29924 
   29925 ac_config_files="$ac_config_files bin/Makefile bin/named/Makefile bin/rndc/Makefile bin/dig/Makefile bin/delv/Makefile bin/dnssec/Makefile bin/tools/Makefile bin/nsupdate/Makefile bin/check/Makefile bin/confgen/Makefile bin/plugins/Makefile"
   29926 
   29927 
   29928 # Libraries
   29929 
   29930 ac_config_files="$ac_config_files lib/Makefile lib/isc/Makefile lib/dns/Makefile lib/ns/Makefile lib/isccfg/Makefile lib/isccc/Makefile"
   29931 
   29932 
   29933 # Documentation
   29934 
   29935 ac_config_files="$ac_config_files doc/Makefile doc/arm/Makefile doc/man/Makefile doc/misc/Makefile"
   29936 
   29937 
   29938 # Unit tests and benchmarks
   29939 
   29940 ac_config_files="$ac_config_files tests/Makefile tests/bench/Makefile tests/isc/Makefile tests/dns/Makefile tests/ns/Makefile tests/isccfg/Makefile tests/libtest/Makefile"
   29941 
   29942 
   29943 ac_config_files="$ac_config_files tests/unit-test-driver.sh"
   29944 
   29945 
   29946 # System Tests
   29947 
   29948 ac_config_files="$ac_config_files bin/tests/Makefile bin/tests/system/Makefile bin/tests/system/isctest/vars/.ac_vars/TOP_BUILDDIR bin/tests/system/isctest/vars/.ac_vars/TOP_SRCDIR bin/tests/system/isctest/vars/.ac_vars/FSTRM_CAPTURE bin/tests/system/isctest/vars/.ac_vars/JQ bin/tests/system/isctest/vars/.ac_vars/SHELL bin/tests/system/isctest/vars/.ac_vars/PYTHON bin/tests/system/isctest/vars/.ac_vars/PERL bin/tests/system/isctest/vars/.ac_vars/CURL bin/tests/system/isctest/vars/.ac_vars/NC bin/tests/system/isctest/vars/.ac_vars/XMLLINT bin/tests/system/isctest/vars/.ac_vars/XSLTPROC bin/tests/system/isctest/vars/.ac_vars/PYTEST bin/tests/system/dyndb/driver/Makefile bin/tests/system/dlzexternal/driver/Makefile bin/tests/system/hooks/driver/Makefile bin/tests/system/rpz/testlib/Makefile"
   29949 
   29950 
   29951 ac_config_files="$ac_config_files bin/tests/system/ifconfig.sh"
   29952 
   29953 ac_config_files="$ac_config_files bin/tests/system/start.sh"
   29954 
   29955 ac_config_files="$ac_config_files bin/tests/system/stop.sh"
   29956 
   29957 
   29958 # Fuzz Tests
   29959 
   29960 ac_config_files="$ac_config_files fuzz/Makefile"
   29961 
   29962 
   29963 # Misc
   29964 
   29965 ac_config_files="$ac_config_files util/check-make-install.sh"
   29966 
   29967 
   29968 #
   29969 # Do it
   29970 #
   29971 
   29972 cat >confcache <<\_ACEOF
   29973 # This file is a shell script that caches the results of configure
   29974 # tests run on this system so they can be shared between configure
   29975 # scripts and configure runs, see configure's option --config-cache.
   29976 # It is not useful on other systems.  If it contains results you don't
   29977 # want to keep, you may remove or edit it.
   29978 #
   29979 # config.status only pays attention to the cache file if you give it
   29980 # the --recheck option to rerun configure.
   29981 #
   29982 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   29983 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   29984 # following values.
   29985 
   29986 _ACEOF
   29987 
   29988 # The following way of writing the cache mishandles newlines in values,
   29989 # but we know of no workaround that is simple, portable, and efficient.
   29990 # So, we kill variables containing newlines.
   29991 # Ultrix sh set writes to stderr and can't be redirected directly,
   29992 # and sets the high bit in the cache file unless we assign to the vars.
   29993 (
   29994   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   29995     eval ac_val=\$$ac_var
   29996     case $ac_val in #(
   29997     *${as_nl}*)
   29998       case $ac_var in #(
   29999       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   30000 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   30001       esac
   30002       case $ac_var in #(
   30003       _ | IFS | as_nl) ;; #(
   30004       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   30005       *) { eval $ac_var=; unset $ac_var;} ;;
   30006       esac ;;
   30007     esac
   30008   done
   30009 
   30010   (set) 2>&1 |
   30011     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   30012     *${as_nl}ac_space=\ *)
   30013       # 'set' does not quote correctly, so add quotes: double-quote
   30014       # substitution turns \\\\ into \\, and sed turns \\ into \.
   30015       sed -n \
   30016 	"s/'/'\\\\''/g;
   30017 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   30018       ;; #(
   30019     *)
   30020       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   30021       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   30022       ;;
   30023     esac |
   30024     sort
   30025 ) |
   30026   sed '
   30027      /^ac_cv_env_/b end
   30028      t clear
   30029      :clear
   30030      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   30031      t end
   30032      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   30033      :end' >>confcache
   30034 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   30035   if test -w "$cache_file"; then
   30036     if test "x$cache_file" != "x/dev/null"; then
   30037       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   30038 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   30039       if test ! -f "$cache_file" || test -h "$cache_file"; then
   30040 	cat confcache >"$cache_file"
   30041       else
   30042         case $cache_file in #(
   30043         */* | ?:*)
   30044 	  mv -f confcache "$cache_file"$$ &&
   30045 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   30046         *)
   30047 	  mv -f confcache "$cache_file" ;;
   30048 	esac
   30049       fi
   30050     fi
   30051   else
   30052     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   30053 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   30054   fi
   30055 fi
   30056 rm -f confcache
   30057 
   30058 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   30059 # Let make expand exec_prefix.
   30060 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   30061 
   30062 DEFS=-DHAVE_CONFIG_H
   30063 
   30064 ac_libobjs=
   30065 ac_ltlibobjs=
   30066 U=
   30067 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   30068   # 1. Remove the extension, and $U if already installed.
   30069   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   30070   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   30071   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   30072   #    will be set to the directory where LIBOBJS objects are built.
   30073   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   30074   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   30075 done
   30076 LIBOBJS=$ac_libobjs
   30077 
   30078 LTLIBOBJS=$ac_ltlibobjs
   30079 
   30080 
   30081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   30082 printf %s "checking that generated files are newer than configure... " >&6; }
   30083    if test -n "$am_sleep_pid"; then
   30084      # Hide warnings about reused PIDs.
   30085      wait $am_sleep_pid 2>/dev/null
   30086    fi
   30087    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   30088 printf "%s\n" "done" >&6; }
   30089 case $enable_silent_rules in # (((
   30090   yes) AM_DEFAULT_VERBOSITY=0;;
   30091    no) AM_DEFAULT_VERBOSITY=1;;
   30092 esac
   30093 if test $am_cv_make_support_nested_variables = yes; then
   30094     AM_V='$(V)'
   30095   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   30096 else
   30097   AM_V=$AM_DEFAULT_VERBOSITY
   30098   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   30099 fi
   30100 
   30101  if test -n "$EXEEXT"; then
   30102   am__EXEEXT_TRUE=
   30103   am__EXEEXT_FALSE='#'
   30104 else
   30105   am__EXEEXT_TRUE='#'
   30106   am__EXEEXT_FALSE=
   30107 fi
   30108 
   30109 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   30110   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   30111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30112 fi
   30113 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   30114   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   30115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30116 fi
   30117 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   30118   as_fn_error $? "conditional \"AMDEP\" was never defined.
   30119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30120 fi
   30121 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   30122   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   30123 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30124 fi
   30125 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   30126   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   30127 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30128 fi
   30129 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   30130   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   30131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30132 fi
   30133 
   30134 # Check whether --enable-year2038 was given.
   30135 if test ${enable_year2038+y}
   30136 then :
   30137   enableval=$enable_year2038;
   30138 fi
   30139 
   30140 if test -z "${HOST_MACOS_TRUE}" && test -z "${HOST_MACOS_FALSE}"; then
   30141   as_fn_error $? "conditional \"HOST_MACOS\" was never defined.
   30142 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30143 fi
   30144 if test -z "${HAVE_FUZZ_LOG_COMPILER_TRUE}" && test -z "${HAVE_FUZZ_LOG_COMPILER_FALSE}"; then
   30145   as_fn_error $? "conditional \"HAVE_FUZZ_LOG_COMPILER\" was never defined.
   30146 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30147 fi
   30148 if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
   30149   as_fn_error $? "conditional \"HAVE_PERL\" was never defined.
   30150 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30151 fi
   30152 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
   30153   as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
   30154 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30155 fi
   30156 if test -z "${HAVE_PYTEST_TRUE}" && test -z "${HAVE_PYTEST_FALSE}"; then
   30157   as_fn_error $? "conditional \"HAVE_PYTEST\" was never defined.
   30158 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30159 fi
   30160 if test -z "${HAVE_GEOIP2_TRUE}" && test -z "${HAVE_GEOIP2_FALSE}"; then
   30161   as_fn_error $? "conditional \"HAVE_GEOIP2\" was never defined.
   30162 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30163 fi
   30164 if test -z "${HAVE_LIBNGHTTP2_TRUE}" && test -z "${HAVE_LIBNGHTTP2_FALSE}"; then
   30165   as_fn_error $? "conditional \"HAVE_LIBNGHTTP2\" was never defined.
   30166 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30167 fi
   30168 if test -z "${USE_ISC_RWLOCK_TRUE}" && test -z "${USE_ISC_RWLOCK_FALSE}"; then
   30169   as_fn_error $? "conditional \"USE_ISC_RWLOCK\" was never defined.
   30170 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30171 fi
   30172 if test -z "${HAVE_GSSAPI_TRUE}" && test -z "${HAVE_GSSAPI_FALSE}"; then
   30173   as_fn_error $? "conditional \"HAVE_GSSAPI\" was never defined.
   30174 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30175 fi
   30176 if test -z "${HAVE_LMDB_TRUE}" && test -z "${HAVE_LMDB_FALSE}"; then
   30177   as_fn_error $? "conditional \"HAVE_LMDB\" was never defined.
   30178 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30179 fi
   30180 if test -z "${HAVE_LIBXML2_TRUE}" && test -z "${HAVE_LIBXML2_FALSE}"; then
   30181   as_fn_error $? "conditional \"HAVE_LIBXML2\" was never defined.
   30182 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30183 fi
   30184 if test -z "${HAVE_JSON_C_TRUE}" && test -z "${HAVE_JSON_C_FALSE}"; then
   30185   as_fn_error $? "conditional \"HAVE_JSON_C\" was never defined.
   30186 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30187 fi
   30188 if test -z "${HAVE_READLINE_TRUE}" && test -z "${HAVE_READLINE_FALSE}"; then
   30189   as_fn_error $? "conditional \"HAVE_READLINE\" was never defined.
   30190 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30191 fi
   30192 if test -z "${HAVE_DNSTAP_TRUE}" && test -z "${HAVE_DNSTAP_FALSE}"; then
   30193   as_fn_error $? "conditional \"HAVE_DNSTAP\" was never defined.
   30194 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30195 fi
   30196 if test -z "${HAVE_SPHINX_BUILD_TRUE}" && test -z "${HAVE_SPHINX_BUILD_FALSE}"; then
   30197   as_fn_error $? "conditional \"HAVE_SPHINX_BUILD\" was never defined.
   30198 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30199 fi
   30200 if test -z "${BUILD_MANPAGES_TRUE}" && test -z "${BUILD_MANPAGES_FALSE}"; then
   30201   as_fn_error $? "conditional \"BUILD_MANPAGES\" was never defined.
   30202 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30203 fi
   30204 if test -z "${HAVE_CMOCKA_TRUE}" && test -z "${HAVE_CMOCKA_FALSE}"; then
   30205   as_fn_error $? "conditional \"HAVE_CMOCKA\" was never defined.
   30206 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30207 fi
   30208 if test -z "${HAVE_JEMALLOC_TRUE}" && test -z "${HAVE_JEMALLOC_FALSE}"; then
   30209   as_fn_error $? "conditional \"HAVE_JEMALLOC\" was never defined.
   30210 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30211 fi
   30212 if test -z "${DNSRPS_TRUE}" && test -z "${DNSRPS_FALSE}"; then
   30213   as_fn_error $? "conditional \"DNSRPS\" was never defined.
   30214 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30215 fi
   30216 if test -z "${HAVE_SYSTEMTAP_TRUE}" && test -z "${HAVE_SYSTEMTAP_FALSE}"; then
   30217   as_fn_error $? "conditional \"HAVE_SYSTEMTAP\" was never defined.
   30218 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30219 fi
   30220 if test -z "${HAVE_DTRACE_TRUE}" && test -z "${HAVE_DTRACE_FALSE}"; then
   30221   as_fn_error $? "conditional \"HAVE_DTRACE\" was never defined.
   30222 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   30223 fi
   30224 
   30225 : "${CONFIG_STATUS=./config.status}"
   30226 ac_write_fail=0
   30227 ac_clean_files_save=$ac_clean_files
   30228 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   30229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   30230 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   30231 as_write_fail=0
   30232 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   30233 #! $SHELL
   30234 # Generated by $as_me.
   30235 # Run this file to recreate the current configuration.
   30236 # Compiler output produced by configure, useful for debugging
   30237 # configure, is in config.log if it exists.
   30238 
   30239 debug=false
   30240 ac_cs_recheck=false
   30241 ac_cs_silent=false
   30242 
   30243 SHELL=\${CONFIG_SHELL-$SHELL}
   30244 export SHELL
   30245 _ASEOF
   30246 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   30247 ## -------------------- ##
   30248 ## M4sh Initialization. ##
   30249 ## -------------------- ##
   30250 
   30251 # Be more Bourne compatible
   30252 DUALCASE=1; export DUALCASE # for MKS sh
   30253 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   30254 then :
   30255   emulate sh
   30256   NULLCMD=:
   30257   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   30258   # is contrary to our usage.  Disable this feature.
   30259   alias -g '${1+"$@"}'='"$@"'
   30260   setopt NO_GLOB_SUBST
   30261 else case e in #(
   30262   e) case `(set -o) 2>/dev/null` in #(
   30263   *posix*) :
   30264     set -o posix ;; #(
   30265   *) :
   30266      ;;
   30267 esac ;;
   30268 esac
   30269 fi
   30270 
   30271 
   30272 
   30273 # Reset variables that may have inherited troublesome values from
   30274 # the environment.
   30275 
   30276 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   30277 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   30278 # side effect of setting IFS to empty, thus disabling word splitting.)
   30279 # Quoting is to prevent editors from complaining about space-tab.
   30280 as_nl='
   30281 '
   30282 export as_nl
   30283 IFS=" ""	$as_nl"
   30284 
   30285 PS1='$ '
   30286 PS2='> '
   30287 PS4='+ '
   30288 
   30289 # Ensure predictable behavior from utilities with locale-dependent output.
   30290 LC_ALL=C
   30291 export LC_ALL
   30292 LANGUAGE=C
   30293 export LANGUAGE
   30294 
   30295 # We cannot yet rely on "unset" to work, but we need these variables
   30296 # to be unset--not just set to an empty or harmless value--now, to
   30297 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   30298 # also avoids known problems related to "unset" and subshell syntax
   30299 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   30300 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   30301 do eval test \${$as_var+y} \
   30302   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   30303 done
   30304 
   30305 # Ensure that fds 0, 1, and 2 are open.
   30306 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   30307 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   30308 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   30309 
   30310 # The user is always right.
   30311 if ${PATH_SEPARATOR+false} :; then
   30312   PATH_SEPARATOR=:
   30313   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   30314     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   30315       PATH_SEPARATOR=';'
   30316   }
   30317 fi
   30318 
   30319 
   30320 # Find who we are.  Look in the path if we contain no directory separator.
   30321 as_myself=
   30322 case $0 in #((
   30323   *[\\/]* ) as_myself=$0 ;;
   30324   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   30325 for as_dir in $PATH
   30326 do
   30327   IFS=$as_save_IFS
   30328   case $as_dir in #(((
   30329     '') as_dir=./ ;;
   30330     */) ;;
   30331     *) as_dir=$as_dir/ ;;
   30332   esac
   30333     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   30334   done
   30335 IFS=$as_save_IFS
   30336 
   30337      ;;
   30338 esac
   30339 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   30340 # in which case we are not to be found in the path.
   30341 if test "x$as_myself" = x; then
   30342   as_myself=$0
   30343 fi
   30344 if test ! -f "$as_myself"; then
   30345   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   30346   exit 1
   30347 fi
   30348 
   30349 
   30350 
   30351 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   30352 # ----------------------------------------
   30353 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   30354 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   30355 # script with STATUS, using 1 if that was 0.
   30356 as_fn_error ()
   30357 {
   30358   as_status=$1; test $as_status -eq 0 && as_status=1
   30359   if test "$4"; then
   30360     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   30361     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   30362   fi
   30363   printf "%s\n" "$as_me: error: $2" >&2
   30364   as_fn_exit $as_status
   30365 } # as_fn_error
   30366 
   30367 
   30368 # as_fn_set_status STATUS
   30369 # -----------------------
   30370 # Set $? to STATUS, without forking.
   30371 as_fn_set_status ()
   30372 {
   30373   return $1
   30374 } # as_fn_set_status
   30375 
   30376 # as_fn_exit STATUS
   30377 # -----------------
   30378 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   30379 as_fn_exit ()
   30380 {
   30381   set +e
   30382   as_fn_set_status $1
   30383   exit $1
   30384 } # as_fn_exit
   30385 
   30386 # as_fn_unset VAR
   30387 # ---------------
   30388 # Portably unset VAR.
   30389 as_fn_unset ()
   30390 {
   30391   { eval $1=; unset $1;}
   30392 }
   30393 as_unset=as_fn_unset
   30394 
   30395 # as_fn_append VAR VALUE
   30396 # ----------------------
   30397 # Append the text in VALUE to the end of the definition contained in VAR. Take
   30398 # advantage of any shell optimizations that allow amortized linear growth over
   30399 # repeated appends, instead of the typical quadratic growth present in naive
   30400 # implementations.
   30401 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   30402 then :
   30403   eval 'as_fn_append ()
   30404   {
   30405     eval $1+=\$2
   30406   }'
   30407 else case e in #(
   30408   e) as_fn_append ()
   30409   {
   30410     eval $1=\$$1\$2
   30411   } ;;
   30412 esac
   30413 fi # as_fn_append
   30414 
   30415 # as_fn_arith ARG...
   30416 # ------------------
   30417 # Perform arithmetic evaluation on the ARGs, and store the result in the
   30418 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   30419 # must be portable across $(()) and expr.
   30420 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   30421 then :
   30422   eval 'as_fn_arith ()
   30423   {
   30424     as_val=$(( $* ))
   30425   }'
   30426 else case e in #(
   30427   e) as_fn_arith ()
   30428   {
   30429     as_val=`expr "$@" || test $? -eq 1`
   30430   } ;;
   30431 esac
   30432 fi # as_fn_arith
   30433 
   30434 
   30435 if expr a : '\(a\)' >/dev/null 2>&1 &&
   30436    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   30437   as_expr=expr
   30438 else
   30439   as_expr=false
   30440 fi
   30441 
   30442 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   30443   as_basename=basename
   30444 else
   30445   as_basename=false
   30446 fi
   30447 
   30448 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   30449   as_dirname=dirname
   30450 else
   30451   as_dirname=false
   30452 fi
   30453 
   30454 as_me=`$as_basename -- "$0" ||
   30455 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   30456 	 X"$0" : 'X\(//\)$' \| \
   30457 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   30458 printf "%s\n" X/"$0" |
   30459     sed '/^.*\/\([^/][^/]*\)\/*$/{
   30460 	    s//\1/
   30461 	    q
   30462 	  }
   30463 	  /^X\/\(\/\/\)$/{
   30464 	    s//\1/
   30465 	    q
   30466 	  }
   30467 	  /^X\/\(\/\).*/{
   30468 	    s//\1/
   30469 	    q
   30470 	  }
   30471 	  s/.*/./; q'`
   30472 
   30473 # Avoid depending upon Character Ranges.
   30474 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   30475 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   30476 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   30477 as_cr_digits='0123456789'
   30478 as_cr_alnum=$as_cr_Letters$as_cr_digits
   30479 
   30480 
   30481 # Determine whether it's possible to make 'echo' print without a newline.
   30482 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   30483 # for compatibility with existing Makefiles.
   30484 ECHO_C= ECHO_N= ECHO_T=
   30485 case `echo -n x` in #(((((
   30486 -n*)
   30487   case `echo 'xy\c'` in
   30488   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   30489   xy)  ECHO_C='\c';;
   30490   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   30491        ECHO_T='	';;
   30492   esac;;
   30493 *)
   30494   ECHO_N='-n';;
   30495 esac
   30496 
   30497 # For backward compatibility with old third-party macros, we provide
   30498 # the shell variables $as_echo and $as_echo_n.  New code should use
   30499 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   30500 as_echo='printf %s\n'
   30501 as_echo_n='printf %s'
   30502 
   30503 rm -f conf$$ conf$$.exe conf$$.file
   30504 if test -d conf$$.dir; then
   30505   rm -f conf$$.dir/conf$$.file
   30506 else
   30507   rm -f conf$$.dir
   30508   mkdir conf$$.dir 2>/dev/null
   30509 fi
   30510 if (echo >conf$$.file) 2>/dev/null; then
   30511   if ln -s conf$$.file conf$$ 2>/dev/null; then
   30512     as_ln_s='ln -s'
   30513     # ... but there are two gotchas:
   30514     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   30515     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   30516     # In both cases, we have to default to 'cp -pR'.
   30517     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   30518       as_ln_s='cp -pR'
   30519   elif ln conf$$.file conf$$ 2>/dev/null; then
   30520     as_ln_s=ln
   30521   else
   30522     as_ln_s='cp -pR'
   30523   fi
   30524 else
   30525   as_ln_s='cp -pR'
   30526 fi
   30527 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   30528 rmdir conf$$.dir 2>/dev/null
   30529 
   30530 
   30531 # as_fn_mkdir_p
   30532 # -------------
   30533 # Create "$as_dir" as a directory, including parents if necessary.
   30534 as_fn_mkdir_p ()
   30535 {
   30536 
   30537   case $as_dir in #(
   30538   -*) as_dir=./$as_dir;;
   30539   esac
   30540   test -d "$as_dir" || eval $as_mkdir_p || {
   30541     as_dirs=
   30542     while :; do
   30543       case $as_dir in #(
   30544       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   30545       *) as_qdir=$as_dir;;
   30546       esac
   30547       as_dirs="'$as_qdir' $as_dirs"
   30548       as_dir=`$as_dirname -- "$as_dir" ||
   30549 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   30550 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   30551 	 X"$as_dir" : 'X\(//\)$' \| \
   30552 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   30553 printf "%s\n" X"$as_dir" |
   30554     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   30555 	    s//\1/
   30556 	    q
   30557 	  }
   30558 	  /^X\(\/\/\)[^/].*/{
   30559 	    s//\1/
   30560 	    q
   30561 	  }
   30562 	  /^X\(\/\/\)$/{
   30563 	    s//\1/
   30564 	    q
   30565 	  }
   30566 	  /^X\(\/\).*/{
   30567 	    s//\1/
   30568 	    q
   30569 	  }
   30570 	  s/.*/./; q'`
   30571       test -d "$as_dir" && break
   30572     done
   30573     test -z "$as_dirs" || eval "mkdir $as_dirs"
   30574   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   30575 
   30576 
   30577 } # as_fn_mkdir_p
   30578 if mkdir -p . 2>/dev/null; then
   30579   as_mkdir_p='mkdir -p "$as_dir"'
   30580 else
   30581   test -d ./-p && rmdir ./-p
   30582   as_mkdir_p=false
   30583 fi
   30584 
   30585 
   30586 # as_fn_executable_p FILE
   30587 # -----------------------
   30588 # Test if FILE is an executable regular file.
   30589 as_fn_executable_p ()
   30590 {
   30591   test -f "$1" && test -x "$1"
   30592 } # as_fn_executable_p
   30593 as_test_x='test -x'
   30594 as_executable_p=as_fn_executable_p
   30595 
   30596 # Sed expression to map a string onto a valid CPP name.
   30597 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   30598 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   30599 
   30600 # Sed expression to map a string onto a valid variable name.
   30601 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   30602 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   30603 
   30604 
   30605 exec 6>&1
   30606 ## ----------------------------------- ##
   30607 ## Main body of $CONFIG_STATUS script. ##
   30608 ## ----------------------------------- ##
   30609 _ASEOF
   30610 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   30611 
   30612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   30613 # Save the log message, to keep $0 and so on meaningful, and to
   30614 # report actual input values of CONFIG_FILES etc. instead of their
   30615 # values after options handling.
   30616 ac_log="
   30617 This file was extended by BIND $as_me 9.20.27, which was
   30618 generated by GNU Autoconf 2.72.  Invocation command line was
   30619 
   30620   CONFIG_FILES    = $CONFIG_FILES
   30621   CONFIG_HEADERS  = $CONFIG_HEADERS
   30622   CONFIG_LINKS    = $CONFIG_LINKS
   30623   CONFIG_COMMANDS = $CONFIG_COMMANDS
   30624   $ $0 $@
   30625 
   30626 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   30627 "
   30628 
   30629 _ACEOF
   30630 
   30631 case $ac_config_files in *"
   30632 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   30633 esac
   30634 
   30635 case $ac_config_headers in *"
   30636 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   30637 esac
   30638 
   30639 
   30640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   30641 # Files that config.status was made for.
   30642 config_files="$ac_config_files"
   30643 config_headers="$ac_config_headers"
   30644 config_commands="$ac_config_commands"
   30645 
   30646 _ACEOF
   30647 
   30648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   30649 ac_cs_usage="\
   30650 '$as_me' instantiates files and other configuration actions
   30651 from templates according to the current configuration.  Unless the files
   30652 and actions are specified as TAGs, all are instantiated by default.
   30653 
   30654 Usage: $0 [OPTION]... [TAG]...
   30655 
   30656   -h, --help       print this help, then exit
   30657   -V, --version    print version number and configuration settings, then exit
   30658       --config     print configuration, then exit
   30659   -q, --quiet, --silent
   30660                    do not print progress messages
   30661   -d, --debug      don't remove temporary files
   30662       --recheck    update $as_me by reconfiguring in the same conditions
   30663       --file=FILE[:TEMPLATE]
   30664                    instantiate the configuration file FILE
   30665       --header=FILE[:TEMPLATE]
   30666                    instantiate the configuration header FILE
   30667 
   30668 Configuration files:
   30669 $config_files
   30670 
   30671 Configuration headers:
   30672 $config_headers
   30673 
   30674 Configuration commands:
   30675 $config_commands
   30676 
   30677 Report bugs to <https://gitlab.isc.org/isc-projects/bind9/-/issues/new?issuable_template=Bug>.
   30678 BIND home page: <https://www.isc.org/downloads/>."
   30679 
   30680 _ACEOF
   30681 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   30682 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   30683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   30684 ac_cs_config='$ac_cs_config_escaped'
   30685 ac_cs_version="\\
   30686 BIND config.status 9.20.27
   30687 configured by $0, generated by GNU Autoconf 2.72,
   30688   with options \\"\$ac_cs_config\\"
   30689 
   30690 Copyright (C) 2023 Free Software Foundation, Inc.
   30691 This config.status script is free software; the Free Software Foundation
   30692 gives unlimited permission to copy, distribute and modify it."
   30693 
   30694 ac_pwd='$ac_pwd'
   30695 srcdir='$srcdir'
   30696 INSTALL='$INSTALL'
   30697 MKDIR_P='$MKDIR_P'
   30698 AWK='$AWK'
   30699 test -n "\$AWK" || AWK=awk
   30700 _ACEOF
   30701 
   30702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   30703 # The default lists apply if the user does not specify any file.
   30704 ac_need_defaults=:
   30705 while test $# != 0
   30706 do
   30707   case $1 in
   30708   --*=?*)
   30709     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   30710     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   30711     ac_shift=:
   30712     ;;
   30713   --*=)
   30714     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   30715     ac_optarg=
   30716     ac_shift=:
   30717     ;;
   30718   *)
   30719     ac_option=$1
   30720     ac_optarg=$2
   30721     ac_shift=shift
   30722     ;;
   30723   esac
   30724 
   30725   case $ac_option in
   30726   # Handling of the options.
   30727   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   30728     ac_cs_recheck=: ;;
   30729   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   30730     printf "%s\n" "$ac_cs_version"; exit ;;
   30731   --config | --confi | --conf | --con | --co | --c )
   30732     printf "%s\n" "$ac_cs_config"; exit ;;
   30733   --debug | --debu | --deb | --de | --d | -d )
   30734     debug=: ;;
   30735   --file | --fil | --fi | --f )
   30736     $ac_shift
   30737     case $ac_optarg in
   30738     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   30739     '') as_fn_error $? "missing file argument" ;;
   30740     esac
   30741     as_fn_append CONFIG_FILES " '$ac_optarg'"
   30742     ac_need_defaults=false;;
   30743   --header | --heade | --head | --hea )
   30744     $ac_shift
   30745     case $ac_optarg in
   30746     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   30747     esac
   30748     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   30749     ac_need_defaults=false;;
   30750   --he | --h)
   30751     # Conflict between --help and --header
   30752     as_fn_error $? "ambiguous option: '$1'
   30753 Try '$0 --help' for more information.";;
   30754   --help | --hel | -h )
   30755     printf "%s\n" "$ac_cs_usage"; exit ;;
   30756   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   30757   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   30758     ac_cs_silent=: ;;
   30759 
   30760   # This is an error.
   30761   -*) as_fn_error $? "unrecognized option: '$1'
   30762 Try '$0 --help' for more information." ;;
   30763 
   30764   *) as_fn_append ac_config_targets " $1"
   30765      ac_need_defaults=false ;;
   30766 
   30767   esac
   30768   shift
   30769 done
   30770 
   30771 ac_configure_extra_args=
   30772 
   30773 if $ac_cs_silent; then
   30774   exec 6>/dev/null
   30775   ac_configure_extra_args="$ac_configure_extra_args --silent"
   30776 fi
   30777 
   30778 _ACEOF
   30779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   30780 if \$ac_cs_recheck; then
   30781   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   30782   shift
   30783   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   30784   CONFIG_SHELL='$SHELL'
   30785   export CONFIG_SHELL
   30786   exec "\$@"
   30787 fi
   30788 
   30789 _ACEOF
   30790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   30791 exec 5>>config.log
   30792 {
   30793   echo
   30794   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   30795 ## Running $as_me. ##
   30796 _ASBOX
   30797   printf "%s\n" "$ac_log"
   30798 } >&5
   30799 
   30800 _ACEOF
   30801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   30802 #
   30803 # INIT-COMMANDS
   30804 #
   30805 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   30806 
   30807 
   30808 # The HP-UX ksh and POSIX shell print the target directory to stdout
   30809 # if CDPATH is set.
   30810 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   30811 
   30812 sed_quote_subst='$sed_quote_subst'
   30813 double_quote_subst='$double_quote_subst'
   30814 delay_variable_subst='$delay_variable_subst'
   30815 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   30816 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   30817 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   30818 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   30819 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   30820 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   30821 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   30822 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   30823 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   30824 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   30825 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   30826 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   30827 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   30828 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   30829 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   30830 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   30831 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   30832 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   30833 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   30834 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   30835 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   30836 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   30837 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   30838 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   30839 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   30840 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   30841 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   30842 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   30843 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   30844 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   30845 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   30846 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   30847 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   30848 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   30849 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   30850 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   30851 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   30852 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   30853 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   30854 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   30855 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   30856 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   30857 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   30858 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   30859 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   30860 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   30861 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   30862 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   30863 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   30864 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   30865 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   30866 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   30867 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   30868 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   30869 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   30870 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   30871 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   30872 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   30873 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   30874 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   30875 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"`'
   30876 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   30877 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   30878 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   30879 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   30880 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   30881 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   30882 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   30883 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   30884 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   30885 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   30886 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   30887 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   30888 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   30889 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   30890 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   30891 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   30892 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   30893 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   30894 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   30895 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   30896 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   30897 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   30898 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   30899 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   30900 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   30901 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   30902 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   30903 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   30904 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   30905 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   30906 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   30907 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   30908 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   30909 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   30910 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   30911 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   30912 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   30913 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   30914 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   30915 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   30916 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   30917 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   30918 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   30919 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   30920 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   30921 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   30922 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   30923 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   30924 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   30925 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   30926 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   30927 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   30928 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   30929 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   30930 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   30931 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   30932 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   30933 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   30934 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   30935 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   30936 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   30937 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   30938 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   30939 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   30940 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   30941 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   30942 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   30943 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   30944 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   30945 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   30946 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   30947 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   30948 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   30949 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   30950 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   30951 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   30952 
   30953 LTCC='$LTCC'
   30954 LTCFLAGS='$LTCFLAGS'
   30955 compiler='$compiler_DEFAULT'
   30956 
   30957 # A function that is used when there is no print builtin or printf.
   30958 func_fallback_echo ()
   30959 {
   30960   eval 'cat <<_LTECHO_EOF
   30961 \$1
   30962 _LTECHO_EOF'
   30963 }
   30964 
   30965 # Quote evaled strings.
   30966 for var in SHELL \
   30967 ECHO \
   30968 PATH_SEPARATOR \
   30969 SED \
   30970 GREP \
   30971 EGREP \
   30972 FGREP \
   30973 LD \
   30974 NM \
   30975 LN_S \
   30976 lt_SP2NL \
   30977 lt_NL2SP \
   30978 reload_flag \
   30979 FILECMD \
   30980 OBJDUMP \
   30981 deplibs_check_method \
   30982 file_magic_cmd \
   30983 file_magic_glob \
   30984 want_nocaseglob \
   30985 DLLTOOL \
   30986 sharedlib_from_linklib_cmd \
   30987 AR \
   30988 archiver_list_spec \
   30989 STRIP \
   30990 RANLIB \
   30991 CC \
   30992 CFLAGS \
   30993 compiler \
   30994 lt_cv_sys_global_symbol_pipe \
   30995 lt_cv_sys_global_symbol_to_cdecl \
   30996 lt_cv_sys_global_symbol_to_import \
   30997 lt_cv_sys_global_symbol_to_c_name_address \
   30998 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   30999 lt_cv_nm_interface \
   31000 nm_file_list_spec \
   31001 lt_cv_truncate_bin \
   31002 lt_prog_compiler_no_builtin_flag \
   31003 lt_prog_compiler_pic \
   31004 lt_prog_compiler_wl \
   31005 lt_prog_compiler_static \
   31006 lt_cv_prog_compiler_c_o \
   31007 need_locks \
   31008 MANIFEST_TOOL \
   31009 DSYMUTIL \
   31010 NMEDIT \
   31011 LIPO \
   31012 OTOOL \
   31013 OTOOL64 \
   31014 shrext_cmds \
   31015 export_dynamic_flag_spec \
   31016 whole_archive_flag_spec \
   31017 compiler_needs_object \
   31018 with_gnu_ld \
   31019 allow_undefined_flag \
   31020 no_undefined_flag \
   31021 hardcode_libdir_flag_spec \
   31022 hardcode_libdir_separator \
   31023 exclude_expsyms \
   31024 include_expsyms \
   31025 file_list_spec \
   31026 variables_saved_for_relink \
   31027 libname_spec \
   31028 library_names_spec \
   31029 soname_spec \
   31030 install_override_mode \
   31031 finish_eval \
   31032 old_striplib \
   31033 striplib; do
   31034     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   31035     *[\\\\\\\`\\"\\\$]*)
   31036       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   31037       ;;
   31038     *)
   31039       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   31040       ;;
   31041     esac
   31042 done
   31043 
   31044 # Double-quote double-evaled strings.
   31045 for var in reload_cmds \
   31046 old_postinstall_cmds \
   31047 old_postuninstall_cmds \
   31048 old_archive_cmds \
   31049 extract_expsyms_cmds \
   31050 old_archive_from_new_cmds \
   31051 old_archive_from_expsyms_cmds \
   31052 archive_cmds \
   31053 archive_expsym_cmds \
   31054 module_cmds \
   31055 module_expsym_cmds \
   31056 export_symbols_cmds \
   31057 prelink_cmds \
   31058 postlink_cmds \
   31059 postinstall_cmds \
   31060 postuninstall_cmds \
   31061 finish_cmds \
   31062 sys_lib_search_path_spec \
   31063 configure_time_dlsearch_path \
   31064 configure_time_lt_sys_library_path; do
   31065     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   31066     *[\\\\\\\`\\"\\\$]*)
   31067       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   31068       ;;
   31069     *)
   31070       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   31071       ;;
   31072     esac
   31073 done
   31074 
   31075 ac_aux_dir='$ac_aux_dir'
   31076 
   31077 # See if we are running on zsh, and set the options that allow our
   31078 # commands through without removal of \ escapes INIT.
   31079 if test -n "\${ZSH_VERSION+set}"; then
   31080    setopt NO_GLOB_SUBST
   31081 fi
   31082 
   31083 
   31084     PACKAGE='$PACKAGE'
   31085     VERSION='$VERSION'
   31086     RM='$RM'
   31087     ofile='$ofile'
   31088 
   31089 
   31090 
   31091 
   31092 _ACEOF
   31093 
   31094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   31095 
   31096 # Handling of arguments.
   31097 for ac_config_target in $ac_config_targets
   31098 do
   31099   case $ac_config_target in
   31100     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   31101     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   31102     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   31103     "doc/doxygen/doxygen-input-filter") CONFIG_FILES="$CONFIG_FILES doc/doxygen/doxygen-input-filter" ;;
   31104     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   31105     "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
   31106     "bin/named/Makefile") CONFIG_FILES="$CONFIG_FILES bin/named/Makefile" ;;
   31107     "bin/rndc/Makefile") CONFIG_FILES="$CONFIG_FILES bin/rndc/Makefile" ;;
   31108     "bin/dig/Makefile") CONFIG_FILES="$CONFIG_FILES bin/dig/Makefile" ;;
   31109     "bin/delv/Makefile") CONFIG_FILES="$CONFIG_FILES bin/delv/Makefile" ;;
   31110     "bin/dnssec/Makefile") CONFIG_FILES="$CONFIG_FILES bin/dnssec/Makefile" ;;
   31111     "bin/tools/Makefile") CONFIG_FILES="$CONFIG_FILES bin/tools/Makefile" ;;
   31112     "bin/nsupdate/Makefile") CONFIG_FILES="$CONFIG_FILES bin/nsupdate/Makefile" ;;
   31113     "bin/check/Makefile") CONFIG_FILES="$CONFIG_FILES bin/check/Makefile" ;;
   31114     "bin/confgen/Makefile") CONFIG_FILES="$CONFIG_FILES bin/confgen/Makefile" ;;
   31115     "bin/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES bin/plugins/Makefile" ;;
   31116     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
   31117     "lib/isc/Makefile") CONFIG_FILES="$CONFIG_FILES lib/isc/Makefile" ;;
   31118     "lib/dns/Makefile") CONFIG_FILES="$CONFIG_FILES lib/dns/Makefile" ;;
   31119     "lib/ns/Makefile") CONFIG_FILES="$CONFIG_FILES lib/ns/Makefile" ;;
   31120     "lib/isccfg/Makefile") CONFIG_FILES="$CONFIG_FILES lib/isccfg/Makefile" ;;
   31121     "lib/isccc/Makefile") CONFIG_FILES="$CONFIG_FILES lib/isccc/Makefile" ;;
   31122     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   31123     "doc/arm/Makefile") CONFIG_FILES="$CONFIG_FILES doc/arm/Makefile" ;;
   31124     "doc/man/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/Makefile" ;;
   31125     "doc/misc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/misc/Makefile" ;;
   31126     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
   31127     "tests/bench/Makefile") CONFIG_FILES="$CONFIG_FILES tests/bench/Makefile" ;;
   31128     "tests/isc/Makefile") CONFIG_FILES="$CONFIG_FILES tests/isc/Makefile" ;;
   31129     "tests/dns/Makefile") CONFIG_FILES="$CONFIG_FILES tests/dns/Makefile" ;;
   31130     "tests/ns/Makefile") CONFIG_FILES="$CONFIG_FILES tests/ns/Makefile" ;;
   31131     "tests/isccfg/Makefile") CONFIG_FILES="$CONFIG_FILES tests/isccfg/Makefile" ;;
   31132     "tests/libtest/Makefile") CONFIG_FILES="$CONFIG_FILES tests/libtest/Makefile" ;;
   31133     "tests/unit-test-driver.sh") CONFIG_FILES="$CONFIG_FILES tests/unit-test-driver.sh" ;;
   31134     "bin/tests/Makefile") CONFIG_FILES="$CONFIG_FILES bin/tests/Makefile" ;;
   31135     "bin/tests/system/Makefile") CONFIG_FILES="$CONFIG_FILES bin/tests/system/Makefile" ;;
   31136     "bin/tests/system/isctest/vars/.ac_vars/TOP_BUILDDIR") CONFIG_FILES="$CONFIG_FILES bin/tests/system/isctest/vars/.ac_vars/TOP_BUILDDIR" ;;
   31137     "bin/tests/system/isctest/vars/.ac_vars/TOP_SRCDIR") CONFIG_FILES="$CONFIG_FILES bin/tests/system/isctest/vars/.ac_vars/TOP_SRCDIR" ;;
   31138     "bin/tests/system/isctest/vars/.ac_vars/FSTRM_CAPTURE") CONFIG_FILES="$CONFIG_FILES bin/tests/system/isctest/vars/.ac_vars/FSTRM_CAPTURE" ;;
   31139     "bin/tests/system/isctest/vars/.ac_vars/JQ") CONFIG_FILES="$CONFIG_FILES bin/tests/system/isctest/vars/.ac_vars/JQ" ;;
   31140     "bin/tests/system/isctest/vars/.ac_vars/SHELL") CONFIG_FILES="$CONFIG_FILES bin/tests/system/isctest/vars/.ac_vars/SHELL" ;;
   31141     "bin/tests/system/isctest/vars/.ac_vars/PYTHON") CONFIG_FILES="$CONFIG_FILES bin/tests/system/isctest/vars/.ac_vars/PYTHON" ;;
   31142     "bin/tests/system/isctest/vars/.ac_vars/PERL") CONFIG_FILES="$CONFIG_FILES bin/tests/system/isctest/vars/.ac_vars/PERL" ;;
   31143     "bin/tests/system/isctest/vars/.ac_vars/CURL") CONFIG_FILES="$CONFIG_FILES bin/tests/system/isctest/vars/.ac_vars/CURL" ;;
   31144     "bin/tests/system/isctest/vars/.ac_vars/NC") CONFIG_FILES="$CONFIG_FILES bin/tests/system/isctest/vars/.ac_vars/NC" ;;
   31145     "bin/tests/system/isctest/vars/.ac_vars/XMLLINT") CONFIG_FILES="$CONFIG_FILES bin/tests/system/isctest/vars/.ac_vars/XMLLINT" ;;
   31146     "bin/tests/system/isctest/vars/.ac_vars/XSLTPROC") CONFIG_FILES="$CONFIG_FILES bin/tests/system/isctest/vars/.ac_vars/XSLTPROC" ;;
   31147     "bin/tests/system/isctest/vars/.ac_vars/PYTEST") CONFIG_FILES="$CONFIG_FILES bin/tests/system/isctest/vars/.ac_vars/PYTEST" ;;
   31148     "bin/tests/system/dyndb/driver/Makefile") CONFIG_FILES="$CONFIG_FILES bin/tests/system/dyndb/driver/Makefile" ;;
   31149     "bin/tests/system/dlzexternal/driver/Makefile") CONFIG_FILES="$CONFIG_FILES bin/tests/system/dlzexternal/driver/Makefile" ;;
   31150     "bin/tests/system/hooks/driver/Makefile") CONFIG_FILES="$CONFIG_FILES bin/tests/system/hooks/driver/Makefile" ;;
   31151     "bin/tests/system/rpz/testlib/Makefile") CONFIG_FILES="$CONFIG_FILES bin/tests/system/rpz/testlib/Makefile" ;;
   31152     "bin/tests/system/ifconfig.sh") CONFIG_FILES="$CONFIG_FILES bin/tests/system/ifconfig.sh" ;;
   31153     "bin/tests/system/start.sh") CONFIG_FILES="$CONFIG_FILES bin/tests/system/start.sh" ;;
   31154     "bin/tests/system/stop.sh") CONFIG_FILES="$CONFIG_FILES bin/tests/system/stop.sh" ;;
   31155     "fuzz/Makefile") CONFIG_FILES="$CONFIG_FILES fuzz/Makefile" ;;
   31156     "util/check-make-install.sh") CONFIG_FILES="$CONFIG_FILES util/check-make-install.sh" ;;
   31157 
   31158   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   31159   esac
   31160 done
   31161 
   31162 
   31163 # If the user did not use the arguments to specify the items to instantiate,
   31164 # then the envvar interface is used.  Set only those that are not.
   31165 # We use the long form for the default assignment because of an extremely
   31166 # bizarre bug on SunOS 4.1.3.
   31167 if $ac_need_defaults; then
   31168   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   31169   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   31170   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   31171 fi
   31172 
   31173 # Have a temporary directory for convenience.  Make it in the build tree
   31174 # simply because there is no reason against having it here, and in addition,
   31175 # creating and moving files from /tmp can sometimes cause problems.
   31176 # Hook for its removal unless debugging.
   31177 # Note that there is a small window in which the directory will not be cleaned:
   31178 # after its creation but before its name has been assigned to '$tmp'.
   31179 $debug ||
   31180 {
   31181   tmp= ac_tmp=
   31182   trap 'exit_status=$?
   31183   : "${ac_tmp:=$tmp}"
   31184   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   31185 ' 0
   31186   trap 'as_fn_exit 1' 1 2 13 15
   31187 }
   31188 # Create a (secure) tmp directory for tmp files.
   31189 
   31190 {
   31191   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   31192   test -d "$tmp"
   31193 }  ||
   31194 {
   31195   tmp=./conf$$-$RANDOM
   31196   (umask 077 && mkdir "$tmp")
   31197 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   31198 ac_tmp=$tmp
   31199 
   31200 # Set up the scripts for CONFIG_FILES section.
   31201 # No need to generate them if there are no CONFIG_FILES.
   31202 # This happens for instance with './config.status config.h'.
   31203 if test -n "$CONFIG_FILES"; then
   31204 
   31205 
   31206 ac_cr=`echo X | tr X '\015'`
   31207 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   31208 # But we know of no other shell where ac_cr would be empty at this
   31209 # point, so we can use a bashism as a fallback.
   31210 if test "x$ac_cr" = x; then
   31211   eval ac_cr=\$\'\\r\'
   31212 fi
   31213 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   31214 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   31215   ac_cs_awk_cr='\\r'
   31216 else
   31217   ac_cs_awk_cr=$ac_cr
   31218 fi
   31219 
   31220 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   31221 _ACEOF
   31222 
   31223 
   31224 {
   31225   echo "cat >conf$$subs.awk <<_ACEOF" &&
   31226   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   31227   echo "_ACEOF"
   31228 } >conf$$subs.sh ||
   31229   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   31230 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   31231 ac_delim='%!_!# '
   31232 for ac_last_try in false false false false false :; do
   31233   . ./conf$$subs.sh ||
   31234     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   31235 
   31236   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   31237   if test $ac_delim_n = $ac_delim_num; then
   31238     break
   31239   elif $ac_last_try; then
   31240     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   31241   else
   31242     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   31243   fi
   31244 done
   31245 rm -f conf$$subs.sh
   31246 
   31247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   31248 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   31249 _ACEOF
   31250 sed -n '
   31251 h
   31252 s/^/S["/; s/!.*/"]=/
   31253 p
   31254 g
   31255 s/^[^!]*!//
   31256 :repl
   31257 t repl
   31258 s/'"$ac_delim"'$//
   31259 t delim
   31260 :nl
   31261 h
   31262 s/\(.\{148\}\)..*/\1/
   31263 t more1
   31264 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   31265 p
   31266 n
   31267 b repl
   31268 :more1
   31269 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   31270 p
   31271 g
   31272 s/.\{148\}//
   31273 t nl
   31274 :delim
   31275 h
   31276 s/\(.\{148\}\)..*/\1/
   31277 t more2
   31278 s/["\\]/\\&/g; s/^/"/; s/$/"/
   31279 p
   31280 b
   31281 :more2
   31282 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   31283 p
   31284 g
   31285 s/.\{148\}//
   31286 t delim
   31287 ' <conf$$subs.awk | sed '
   31288 /^[^""]/{
   31289   N
   31290   s/\n//
   31291 }
   31292 ' >>$CONFIG_STATUS || ac_write_fail=1
   31293 rm -f conf$$subs.awk
   31294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   31295 _ACAWK
   31296 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   31297   for (key in S) S_is_set[key] = 1
   31298   FS = ""
   31299 
   31300 }
   31301 {
   31302   line = $ 0
   31303   nfields = split(line, field, "@")
   31304   substed = 0
   31305   len = length(field[1])
   31306   for (i = 2; i < nfields; i++) {
   31307     key = field[i]
   31308     keylen = length(key)
   31309     if (S_is_set[key]) {
   31310       value = S[key]
   31311       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   31312       len += length(value) + length(field[++i])
   31313       substed = 1
   31314     } else
   31315       len += 1 + keylen
   31316   }
   31317 
   31318   print line
   31319 }
   31320 
   31321 _ACAWK
   31322 _ACEOF
   31323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   31324 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   31325   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   31326 else
   31327   cat
   31328 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   31329   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   31330 _ACEOF
   31331 
   31332 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   31333 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   31334 # trailing colons and then remove the whole line if VPATH becomes empty
   31335 # (actually we leave an empty line to preserve line numbers).
   31336 if test "x$srcdir" = x.; then
   31337   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   31338 h
   31339 s///
   31340 s/^/:/
   31341 s/[	 ]*$/:/
   31342 s/:\$(srcdir):/:/g
   31343 s/:\${srcdir}:/:/g
   31344 s/:@srcdir@:/:/g
   31345 s/^:*//
   31346 s/:*$//
   31347 x
   31348 s/\(=[	 ]*\).*/\1/
   31349 G
   31350 s/\n//
   31351 s/^[^=]*=[	 ]*$//
   31352 }'
   31353 fi
   31354 
   31355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   31356 fi # test -n "$CONFIG_FILES"
   31357 
   31358 # Set up the scripts for CONFIG_HEADERS section.
   31359 # No need to generate them if there are no CONFIG_HEADERS.
   31360 # This happens for instance with './config.status Makefile'.
   31361 if test -n "$CONFIG_HEADERS"; then
   31362 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   31363 BEGIN {
   31364 _ACEOF
   31365 
   31366 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   31367 # here-document in config.status, that substitutes the proper values into
   31368 # config.h.in to produce config.h.
   31369 
   31370 # Create a delimiter string that does not exist in confdefs.h, to ease
   31371 # handling of long lines.
   31372 ac_delim='%!_!# '
   31373 for ac_last_try in false false :; do
   31374   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   31375   if test -z "$ac_tt"; then
   31376     break
   31377   elif $ac_last_try; then
   31378     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   31379   else
   31380     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   31381   fi
   31382 done
   31383 
   31384 # For the awk script, D is an array of macro values keyed by name,
   31385 # likewise P contains macro parameters if any.  Preserve backslash
   31386 # newline sequences.
   31387 
   31388 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   31389 sed -n '
   31390 s/.\{148\}/&'"$ac_delim"'/g
   31391 t rset
   31392 :rset
   31393 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   31394 t def
   31395 d
   31396 :def
   31397 s/\\$//
   31398 t bsnl
   31399 s/["\\]/\\&/g
   31400 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   31401 D["\1"]=" \3"/p
   31402 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   31403 d
   31404 :bsnl
   31405 s/["\\]/\\&/g
   31406 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   31407 D["\1"]=" \3\\\\\\n"\\/p
   31408 t cont
   31409 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   31410 t cont
   31411 d
   31412 :cont
   31413 n
   31414 s/.\{148\}/&'"$ac_delim"'/g
   31415 t clear
   31416 :clear
   31417 s/\\$//
   31418 t bsnlc
   31419 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   31420 d
   31421 :bsnlc
   31422 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   31423 b cont
   31424 ' <confdefs.h | sed '
   31425 s/'"$ac_delim"'/"\\\
   31426 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   31427 
   31428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   31429   for (key in D) D_is_set[key] = 1
   31430   FS = ""
   31431 }
   31432 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   31433   line = \$ 0
   31434   split(line, arg, " ")
   31435   if (arg[1] == "#") {
   31436     defundef = arg[2]
   31437     mac1 = arg[3]
   31438   } else {
   31439     defundef = substr(arg[1], 2)
   31440     mac1 = arg[2]
   31441   }
   31442   split(mac1, mac2, "(") #)
   31443   macro = mac2[1]
   31444   prefix = substr(line, 1, index(line, defundef) - 1)
   31445   if (D_is_set[macro]) {
   31446     # Preserve the white space surrounding the "#".
   31447     print prefix "define", macro P[macro] D[macro]
   31448     next
   31449   } else {
   31450     # Replace #undef with comments.  This is necessary, for example,
   31451     # in the case of _POSIX_SOURCE, which is predefined and required
   31452     # on some systems where configure will not decide to define it.
   31453     if (defundef == "undef") {
   31454       print "/*", prefix defundef, macro, "*/"
   31455       next
   31456     }
   31457   }
   31458 }
   31459 { print }
   31460 _ACAWK
   31461 _ACEOF
   31462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   31463   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   31464 fi # test -n "$CONFIG_HEADERS"
   31465 
   31466 
   31467 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   31468 shift
   31469 for ac_tag
   31470 do
   31471   case $ac_tag in
   31472   :[FHLC]) ac_mode=$ac_tag; continue;;
   31473   esac
   31474   case $ac_mode$ac_tag in
   31475   :[FHL]*:*);;
   31476   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   31477   :[FH]-) ac_tag=-:-;;
   31478   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   31479   esac
   31480   ac_save_IFS=$IFS
   31481   IFS=:
   31482   set x $ac_tag
   31483   IFS=$ac_save_IFS
   31484   shift
   31485   ac_file=$1
   31486   shift
   31487 
   31488   case $ac_mode in
   31489   :L) ac_source=$1;;
   31490   :[FH])
   31491     ac_file_inputs=
   31492     for ac_f
   31493     do
   31494       case $ac_f in
   31495       -) ac_f="$ac_tmp/stdin";;
   31496       *) # Look for the file first in the build tree, then in the source tree
   31497 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   31498 	 # because $ac_f cannot contain ':'.
   31499 	 test -f "$ac_f" ||
   31500 	   case $ac_f in
   31501 	   [\\/$]*) false;;
   31502 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   31503 	   esac ||
   31504 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   31505       esac
   31506       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   31507       as_fn_append ac_file_inputs " '$ac_f'"
   31508     done
   31509 
   31510     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   31511     # use $as_me), people would be surprised to read:
   31512     #    /* config.h.  Generated by config.status.  */
   31513     configure_input='Generated from '`
   31514 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   31515 	`' by configure.'
   31516     if test x"$ac_file" != x-; then
   31517       configure_input="$ac_file.  $configure_input"
   31518       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   31519 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   31520     fi
   31521     # Neutralize special characters interpreted by sed in replacement strings.
   31522     case $configure_input in #(
   31523     *\&* | *\|* | *\\* )
   31524        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   31525        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   31526     *) ac_sed_conf_input=$configure_input;;
   31527     esac
   31528 
   31529     case $ac_tag in
   31530     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   31531       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   31532     esac
   31533     ;;
   31534   esac
   31535 
   31536   ac_dir=`$as_dirname -- "$ac_file" ||
   31537 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   31538 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   31539 	 X"$ac_file" : 'X\(//\)$' \| \
   31540 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   31541 printf "%s\n" X"$ac_file" |
   31542     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   31543 	    s//\1/
   31544 	    q
   31545 	  }
   31546 	  /^X\(\/\/\)[^/].*/{
   31547 	    s//\1/
   31548 	    q
   31549 	  }
   31550 	  /^X\(\/\/\)$/{
   31551 	    s//\1/
   31552 	    q
   31553 	  }
   31554 	  /^X\(\/\).*/{
   31555 	    s//\1/
   31556 	    q
   31557 	  }
   31558 	  s/.*/./; q'`
   31559   as_dir="$ac_dir"; as_fn_mkdir_p
   31560   ac_builddir=.
   31561 
   31562 case "$ac_dir" in
   31563 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   31564 *)
   31565   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   31566   # A ".." for each directory in $ac_dir_suffix.
   31567   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   31568   case $ac_top_builddir_sub in
   31569   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   31570   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   31571   esac ;;
   31572 esac
   31573 ac_abs_top_builddir=$ac_pwd
   31574 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   31575 # for backward compatibility:
   31576 ac_top_builddir=$ac_top_build_prefix
   31577 
   31578 case $srcdir in
   31579   .)  # We are building in place.
   31580     ac_srcdir=.
   31581     ac_top_srcdir=$ac_top_builddir_sub
   31582     ac_abs_top_srcdir=$ac_pwd ;;
   31583   [\\/]* | ?:[\\/]* )  # Absolute name.
   31584     ac_srcdir=$srcdir$ac_dir_suffix;
   31585     ac_top_srcdir=$srcdir
   31586     ac_abs_top_srcdir=$srcdir ;;
   31587   *) # Relative name.
   31588     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   31589     ac_top_srcdir=$ac_top_build_prefix$srcdir
   31590     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   31591 esac
   31592 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   31593 
   31594 
   31595   case $ac_mode in
   31596   :F)
   31597   #
   31598   # CONFIG_FILE
   31599   #
   31600 
   31601   case $INSTALL in
   31602   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   31603   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   31604   esac
   31605   ac_MKDIR_P=$MKDIR_P
   31606   case $MKDIR_P in
   31607   [\\/$]* | ?:[\\/]* ) ;;
   31608   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   31609   esac
   31610 _ACEOF
   31611 
   31612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   31613 # If the template does not know about datarootdir, expand it.
   31614 # FIXME: This hack should be removed a few years after 2.60.
   31615 ac_datarootdir_hack=; ac_datarootdir_seen=
   31616 ac_sed_dataroot='
   31617 /datarootdir/ {
   31618   p
   31619   q
   31620 }
   31621 /@datadir@/p
   31622 /@docdir@/p
   31623 /@infodir@/p
   31624 /@localedir@/p
   31625 /@mandir@/p'
   31626 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   31627 *datarootdir*) ac_datarootdir_seen=yes;;
   31628 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   31629   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   31630 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   31631 _ACEOF
   31632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   31633   ac_datarootdir_hack='
   31634   s&@datadir@&$datadir&g
   31635   s&@docdir@&$docdir&g
   31636   s&@infodir@&$infodir&g
   31637   s&@localedir@&$localedir&g
   31638   s&@mandir@&$mandir&g
   31639   s&\\\${datarootdir}&$datarootdir&g' ;;
   31640 esac
   31641 _ACEOF
   31642 
   31643 # Neutralize VPATH when '$srcdir' = '.'.
   31644 # Shell code in configure.ac might set extrasub.
   31645 # FIXME: do we really want to maintain this feature?
   31646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   31647 ac_sed_extra="$ac_vpsub
   31648 $extrasub
   31649 _ACEOF
   31650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   31651 :t
   31652 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   31653 s|@configure_input@|$ac_sed_conf_input|;t t
   31654 s&@top_builddir@&$ac_top_builddir_sub&;t t
   31655 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   31656 s&@srcdir@&$ac_srcdir&;t t
   31657 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   31658 s&@top_srcdir@&$ac_top_srcdir&;t t
   31659 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   31660 s&@builddir@&$ac_builddir&;t t
   31661 s&@abs_builddir@&$ac_abs_builddir&;t t
   31662 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   31663 s&@INSTALL@&$ac_INSTALL&;t t
   31664 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   31665 $ac_datarootdir_hack
   31666 "
   31667 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   31668   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   31669 
   31670 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   31671   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   31672   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   31673       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   31674   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   31675 which seems to be undefined.  Please make sure it is defined" >&5
   31676 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   31677 which seems to be undefined.  Please make sure it is defined" >&2;}
   31678 
   31679   rm -f "$ac_tmp/stdin"
   31680   case $ac_file in
   31681   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   31682   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   31683   esac \
   31684   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   31685  ;;
   31686   :H)
   31687   #
   31688   # CONFIG_HEADER
   31689   #
   31690   if test x"$ac_file" != x-; then
   31691     {
   31692       printf "%s\n" "/* $configure_input  */" >&1 \
   31693       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   31694     } >"$ac_tmp/config.h" \
   31695       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   31696     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   31697       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   31698 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   31699     else
   31700       rm -f "$ac_file"
   31701       mv "$ac_tmp/config.h" "$ac_file" \
   31702 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   31703     fi
   31704   else
   31705     printf "%s\n" "/* $configure_input  */" >&1 \
   31706       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   31707       || as_fn_error $? "could not create -" "$LINENO" 5
   31708   fi
   31709 # Compute "$ac_file"'s index in $config_headers.
   31710 _am_arg="$ac_file"
   31711 _am_stamp_count=1
   31712 for _am_header in $config_headers :; do
   31713   case $_am_header in
   31714     $_am_arg | $_am_arg:* )
   31715       break ;;
   31716     * )
   31717       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   31718   esac
   31719 done
   31720 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   31721 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   31722 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   31723 	 X"$_am_arg" : 'X\(//\)$' \| \
   31724 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   31725 printf "%s\n" X"$_am_arg" |
   31726     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   31727 	    s//\1/
   31728 	    q
   31729 	  }
   31730 	  /^X\(\/\/\)[^/].*/{
   31731 	    s//\1/
   31732 	    q
   31733 	  }
   31734 	  /^X\(\/\/\)$/{
   31735 	    s//\1/
   31736 	    q
   31737 	  }
   31738 	  /^X\(\/\).*/{
   31739 	    s//\1/
   31740 	    q
   31741 	  }
   31742 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   31743  ;;
   31744 
   31745   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   31746 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   31747  ;;
   31748   esac
   31749 
   31750 
   31751   case $ac_file$ac_mode in
   31752     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   31753   # Older Autoconf quotes --file arguments for eval, but not when files
   31754   # are listed without --file.  Let's play safe and only enable the eval
   31755   # if we detect the quoting.
   31756   # TODO: see whether this extra hack can be removed once we start
   31757   # requiring Autoconf 2.70 or later.
   31758   case $CONFIG_FILES in #(
   31759   *\'*) :
   31760     eval set x "$CONFIG_FILES" ;; #(
   31761   *) :
   31762     set x $CONFIG_FILES ;; #(
   31763   *) :
   31764      ;;
   31765 esac
   31766   shift
   31767   # Used to flag and report bootstrapping failures.
   31768   am_rc=0
   31769   for am_mf
   31770   do
   31771     # Strip MF so we end up with the name of the file.
   31772     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   31773     # Check whether this is an Automake generated Makefile which includes
   31774     # dependency-tracking related rules and includes.
   31775     # Grep'ing the whole file directly is not great: AIX grep has a line
   31776     # limit of 2048, but all sed's we know have understand at least 4000.
   31777     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   31778       || continue
   31779     am_dirpart=`$as_dirname -- "$am_mf" ||
   31780 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   31781 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   31782 	 X"$am_mf" : 'X\(//\)$' \| \
   31783 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   31784 printf "%s\n" X"$am_mf" |
   31785     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   31786 	    s//\1/
   31787 	    q
   31788 	  }
   31789 	  /^X\(\/\/\)[^/].*/{
   31790 	    s//\1/
   31791 	    q
   31792 	  }
   31793 	  /^X\(\/\/\)$/{
   31794 	    s//\1/
   31795 	    q
   31796 	  }
   31797 	  /^X\(\/\).*/{
   31798 	    s//\1/
   31799 	    q
   31800 	  }
   31801 	  s/.*/./; q'`
   31802     am_filepart=`$as_basename -- "$am_mf" ||
   31803 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   31804 	 X"$am_mf" : 'X\(//\)$' \| \
   31805 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   31806 printf "%s\n" X/"$am_mf" |
   31807     sed '/^.*\/\([^/][^/]*\)\/*$/{
   31808 	    s//\1/
   31809 	    q
   31810 	  }
   31811 	  /^X\/\(\/\/\)$/{
   31812 	    s//\1/
   31813 	    q
   31814 	  }
   31815 	  /^X\/\(\/\).*/{
   31816 	    s//\1/
   31817 	    q
   31818 	  }
   31819 	  s/.*/./; q'`
   31820     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   31821       && sed -e '/# am--include-marker/d' "$am_filepart" \
   31822         | $MAKE -f - am--depfiles" >&5
   31823    (cd "$am_dirpart" \
   31824       && sed -e '/# am--include-marker/d' "$am_filepart" \
   31825         | $MAKE -f - am--depfiles) >&5 2>&5
   31826    ac_status=$?
   31827    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   31828    (exit $ac_status); } || am_rc=$?
   31829   done
   31830   if test $am_rc -ne 0; then
   31831     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   31832 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   31833 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   31834     for automatic dependency tracking.  If GNU make was not used, consider
   31835     re-running the configure script with MAKE=\"gmake\" (or whatever is
   31836     necessary).  You can also try re-running configure with the
   31837     '--disable-dependency-tracking' option to at least be able to build
   31838     the package (albeit without support for automatic dependency tracking).
   31839 See 'config.log' for more details" "$LINENO" 5; }
   31840   fi
   31841   { am_dirpart=; unset am_dirpart;}
   31842   { am_filepart=; unset am_filepart;}
   31843   { am_mf=; unset am_mf;}
   31844   { am_rc=; unset am_rc;}
   31845   rm -f conftest-deps.mk
   31846 }
   31847  ;;
   31848     "libtool":C)
   31849 
   31850     # See if we are running on zsh, and set the options that allow our
   31851     # commands through without removal of \ escapes.
   31852     if test -n "${ZSH_VERSION+set}"; then
   31853       setopt NO_GLOB_SUBST
   31854     fi
   31855 
   31856     cfgfile=${ofile}T
   31857     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   31858     $RM "$cfgfile"
   31859 
   31860     cat <<_LT_EOF >> "$cfgfile"
   31861 #! $SHELL
   31862 # Generated automatically by $as_me ($PACKAGE) $VERSION
   31863 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   31864 
   31865 # Provide generalized library-building support services.
   31866 # Written by Gordon Matzigkeit, 1996
   31867 
   31868 # Copyright (C) 2024 Free Software Foundation, Inc.
   31869 # This is free software; see the source for copying conditions.  There is NO
   31870 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   31871 
   31872 # GNU Libtool is free software; you can redistribute it and/or modify
   31873 # it under the terms of the GNU General Public License as published by
   31874 # the Free Software Foundation; either version 2 of the License, or
   31875 # (at your option) any later version.
   31876 #
   31877 # As a special exception to the GNU General Public License, if you
   31878 # distribute this file as part of a program or library that is built
   31879 # using GNU Libtool, you may include this file under the  same
   31880 # distribution terms that you use for the rest of that program.
   31881 #
   31882 # GNU Libtool is distributed in the hope that it will be useful, but
   31883 # WITHOUT ANY WARRANTY; without even the implied warranty of
   31884 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   31885 # GNU General Public License for more details.
   31886 #
   31887 # You should have received a copy of the GNU General Public License
   31888 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   31889 
   31890 
   31891 # The names of the tagged configurations supported by this script.
   31892 available_tags=''
   31893 
   31894 # Configured defaults for sys_lib_dlsearch_path munging.
   31895 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   31896 
   31897 # ### BEGIN LIBTOOL CONFIG
   31898 
   31899 # Which release of libtool.m4 was used?
   31900 macro_version=$macro_version
   31901 macro_revision=$macro_revision
   31902 
   31903 # Whether or not to build static libraries.
   31904 build_old_libs=$enable_static
   31905 
   31906 # What type of objects to build.
   31907 pic_mode=$pic_mode
   31908 
   31909 # Whether or not to build shared libraries.
   31910 build_libtool_libs=$enable_shared
   31911 
   31912 # Whether or not to optimize for fast installation.
   31913 fast_install=$enable_fast_install
   31914 
   31915 # Shared archive member basename,for filename based shared library versioning on AIX.
   31916 shared_archive_member_spec=$shared_archive_member_spec
   31917 
   31918 # Shell to use when invoking shell scripts.
   31919 SHELL=$lt_SHELL
   31920 
   31921 # An echo program that protects backslashes.
   31922 ECHO=$lt_ECHO
   31923 
   31924 # The PATH separator for the build system.
   31925 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   31926 
   31927 # The host system.
   31928 host_alias=$host_alias
   31929 host=$host
   31930 host_os=$host_os
   31931 
   31932 # The build system.
   31933 build_alias=$build_alias
   31934 build=$build
   31935 build_os=$build_os
   31936 
   31937 # A sed program that does not truncate output.
   31938 SED=$lt_SED
   31939 
   31940 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   31941 Xsed="\$SED -e 1s/^X//"
   31942 
   31943 # A grep program that handles long lines.
   31944 GREP=$lt_GREP
   31945 
   31946 # An ERE matcher.
   31947 EGREP=$lt_EGREP
   31948 
   31949 # A literal string matcher.
   31950 FGREP=$lt_FGREP
   31951 
   31952 # A BSD- or MS-compatible name lister.
   31953 NM=$lt_NM
   31954 
   31955 # Whether we need soft or hard links.
   31956 LN_S=$lt_LN_S
   31957 
   31958 # What is the maximum length of a command?
   31959 max_cmd_len=$max_cmd_len
   31960 
   31961 # Object file suffix (normally "o").
   31962 objext=$ac_objext
   31963 
   31964 # Executable file suffix (normally "").
   31965 exeext=$exeext
   31966 
   31967 # whether the shell understands "unset".
   31968 lt_unset=$lt_unset
   31969 
   31970 # turn spaces into newlines.
   31971 SP2NL=$lt_lt_SP2NL
   31972 
   31973 # turn newlines into spaces.
   31974 NL2SP=$lt_lt_NL2SP
   31975 
   31976 # convert \$build file names to \$host format.
   31977 to_host_file_cmd=$lt_cv_to_host_file_cmd
   31978 
   31979 # convert \$build files to toolchain format.
   31980 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   31981 
   31982 # A file(cmd) program that detects file types.
   31983 FILECMD=$lt_FILECMD
   31984 
   31985 # An object symbol dumper.
   31986 OBJDUMP=$lt_OBJDUMP
   31987 
   31988 # Method to check whether dependent libraries are shared objects.
   31989 deplibs_check_method=$lt_deplibs_check_method
   31990 
   31991 # Command to use when deplibs_check_method = "file_magic".
   31992 file_magic_cmd=$lt_file_magic_cmd
   31993 
   31994 # How to find potential files when deplibs_check_method = "file_magic".
   31995 file_magic_glob=$lt_file_magic_glob
   31996 
   31997 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   31998 want_nocaseglob=$lt_want_nocaseglob
   31999 
   32000 # DLL creation program.
   32001 DLLTOOL=$lt_DLLTOOL
   32002 
   32003 # Command to associate shared and link libraries.
   32004 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   32005 
   32006 # The archiver.
   32007 AR=$lt_AR
   32008 
   32009 # Flags to create an archive (by configure).
   32010 lt_ar_flags=$lt_ar_flags
   32011 
   32012 # Flags to create an archive.
   32013 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   32014 
   32015 # How to feed a file listing to the archiver.
   32016 archiver_list_spec=$lt_archiver_list_spec
   32017 
   32018 # A symbol stripping program.
   32019 STRIP=$lt_STRIP
   32020 
   32021 # Commands used to install an old-style archive.
   32022 RANLIB=$lt_RANLIB
   32023 old_postinstall_cmds=$lt_old_postinstall_cmds
   32024 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   32025 
   32026 # Whether to use a lock for old archive extraction.
   32027 lock_old_archive_extraction=$lock_old_archive_extraction
   32028 
   32029 # A C compiler.
   32030 LTCC=$lt_CC
   32031 
   32032 # LTCC compiler flags.
   32033 LTCFLAGS=$lt_CFLAGS
   32034 
   32035 # Take the output of nm and produce a listing of raw symbols and C names.
   32036 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   32037 
   32038 # Transform the output of nm in a proper C declaration.
   32039 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   32040 
   32041 # Transform the output of nm into a list of symbols to manually relocate.
   32042 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   32043 
   32044 # Transform the output of nm in a C name address pair.
   32045 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   32046 
   32047 # Transform the output of nm in a C name address pair when lib prefix is needed.
   32048 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   32049 
   32050 # The name lister interface.
   32051 nm_interface=$lt_lt_cv_nm_interface
   32052 
   32053 # Specify filename containing input files for \$NM.
   32054 nm_file_list_spec=$lt_nm_file_list_spec
   32055 
   32056 # The root where to search for dependent libraries,and where our libraries should be installed.
   32057 lt_sysroot=$lt_sysroot
   32058 
   32059 # Command to truncate a binary pipe.
   32060 lt_truncate_bin=$lt_lt_cv_truncate_bin
   32061 
   32062 # The name of the directory that contains temporary libtool files.
   32063 objdir=$objdir
   32064 
   32065 # Used to examine libraries when file_magic_cmd begins with "file".
   32066 MAGIC_CMD=$MAGIC_CMD
   32067 
   32068 # Must we lock files when doing compilation?
   32069 need_locks=$lt_need_locks
   32070 
   32071 # Manifest tool.
   32072 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   32073 
   32074 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   32075 DSYMUTIL=$lt_DSYMUTIL
   32076 
   32077 # Tool to change global to local symbols on Mac OS X.
   32078 NMEDIT=$lt_NMEDIT
   32079 
   32080 # Tool to manipulate fat objects and archives on Mac OS X.
   32081 LIPO=$lt_LIPO
   32082 
   32083 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   32084 OTOOL=$lt_OTOOL
   32085 
   32086 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   32087 OTOOL64=$lt_OTOOL64
   32088 
   32089 # Old archive suffix (normally "a").
   32090 libext=$libext
   32091 
   32092 # Shared library suffix (normally ".so").
   32093 shrext_cmds=$lt_shrext_cmds
   32094 
   32095 # The commands to extract the exported symbol list from a shared archive.
   32096 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   32097 
   32098 # Variables whose values should be saved in libtool wrapper scripts and
   32099 # restored at link time.
   32100 variables_saved_for_relink=$lt_variables_saved_for_relink
   32101 
   32102 # Do we need the "lib" prefix for modules?
   32103 need_lib_prefix=$need_lib_prefix
   32104 
   32105 # Do we need a version for libraries?
   32106 need_version=$need_version
   32107 
   32108 # Library versioning type.
   32109 version_type=$version_type
   32110 
   32111 # Shared library runtime path variable.
   32112 runpath_var=$runpath_var
   32113 
   32114 # Shared library path variable.
   32115 shlibpath_var=$shlibpath_var
   32116 
   32117 # Is shlibpath searched before the hard-coded library search path?
   32118 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   32119 
   32120 # Format of library name prefix.
   32121 libname_spec=$lt_libname_spec
   32122 
   32123 # List of archive names.  First name is the real one, the rest are links.
   32124 # The last name is the one that the linker finds with -lNAME
   32125 library_names_spec=$lt_library_names_spec
   32126 
   32127 # The coded name of the library, if different from the real name.
   32128 soname_spec=$lt_soname_spec
   32129 
   32130 # Permission mode override for installation of shared libraries.
   32131 install_override_mode=$lt_install_override_mode
   32132 
   32133 # Command to use after installation of a shared archive.
   32134 postinstall_cmds=$lt_postinstall_cmds
   32135 
   32136 # Command to use after uninstallation of a shared archive.
   32137 postuninstall_cmds=$lt_postuninstall_cmds
   32138 
   32139 # Commands used to finish a libtool library installation in a directory.
   32140 finish_cmds=$lt_finish_cmds
   32141 
   32142 # As "finish_cmds", except a single script fragment to be evaled but
   32143 # not shown.
   32144 finish_eval=$lt_finish_eval
   32145 
   32146 # Whether we should hardcode library paths into libraries.
   32147 hardcode_into_libs=$hardcode_into_libs
   32148 
   32149 # Compile-time system search path for libraries.
   32150 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   32151 
   32152 # Detected run-time system search path for libraries.
   32153 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   32154 
   32155 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   32156 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   32157 
   32158 # Whether dlopen is supported.
   32159 dlopen_support=$enable_dlopen
   32160 
   32161 # Whether dlopen of programs is supported.
   32162 dlopen_self=$enable_dlopen_self
   32163 
   32164 # Whether dlopen of statically linked programs is supported.
   32165 dlopen_self_static=$enable_dlopen_self_static
   32166 
   32167 # Commands to strip libraries.
   32168 old_striplib=$lt_old_striplib
   32169 striplib=$lt_striplib
   32170 
   32171 
   32172 # The linker used to build libraries.
   32173 LD=$lt_LD
   32174 
   32175 # How to create reloadable object files.
   32176 reload_flag=$lt_reload_flag
   32177 reload_cmds=$lt_reload_cmds
   32178 
   32179 # Commands used to build an old-style archive.
   32180 old_archive_cmds=$lt_old_archive_cmds
   32181 
   32182 # A language specific compiler.
   32183 CC=$lt_compiler
   32184 
   32185 # Is the compiler the GNU compiler?
   32186 with_gcc=$GCC
   32187 
   32188 # Compiler flag to turn off builtin functions.
   32189 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   32190 
   32191 # Additional compiler flags for building library objects.
   32192 pic_flag=$lt_lt_prog_compiler_pic
   32193 
   32194 # How to pass a linker flag through the compiler.
   32195 wl=$lt_lt_prog_compiler_wl
   32196 
   32197 # Compiler flag to prevent dynamic linking.
   32198 link_static_flag=$lt_lt_prog_compiler_static
   32199 
   32200 # Does compiler simultaneously support -c and -o options?
   32201 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   32202 
   32203 # Whether or not to add -lc for building shared libraries.
   32204 build_libtool_need_lc=$archive_cmds_need_lc
   32205 
   32206 # Whether or not to disallow shared libs when runtime libs are static.
   32207 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   32208 
   32209 # Compiler flag to allow reflexive dlopens.
   32210 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   32211 
   32212 # Compiler flag to generate shared objects directly from archives.
   32213 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   32214 
   32215 # Whether the compiler copes with passing no objects directly.
   32216 compiler_needs_object=$lt_compiler_needs_object
   32217 
   32218 # Create an old-style archive from a shared archive.
   32219 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   32220 
   32221 # Create a temporary old-style archive to link instead of a shared archive.
   32222 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   32223 
   32224 # Commands used to build a shared archive.
   32225 archive_cmds=$lt_archive_cmds
   32226 archive_expsym_cmds=$lt_archive_expsym_cmds
   32227 
   32228 # Commands used to build a loadable module if different from building
   32229 # a shared archive.
   32230 module_cmds=$lt_module_cmds
   32231 module_expsym_cmds=$lt_module_expsym_cmds
   32232 
   32233 # Whether we are building with GNU ld or not.
   32234 with_gnu_ld=$lt_with_gnu_ld
   32235 
   32236 # Flag that allows shared libraries with undefined symbols to be built.
   32237 allow_undefined_flag=$lt_allow_undefined_flag
   32238 
   32239 # Flag that enforces no undefined symbols.
   32240 no_undefined_flag=$lt_no_undefined_flag
   32241 
   32242 # Flag to hardcode \$libdir into a binary during linking.
   32243 # This must work even if \$libdir does not exist
   32244 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   32245 
   32246 # Whether we need a single "-rpath" flag with a separated argument.
   32247 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   32248 
   32249 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   32250 # DIR into the resulting binary.
   32251 hardcode_direct=$hardcode_direct
   32252 
   32253 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   32254 # DIR into the resulting binary and the resulting library dependency is
   32255 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   32256 # library is relocated.
   32257 hardcode_direct_absolute=$hardcode_direct_absolute
   32258 
   32259 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   32260 # into the resulting binary.
   32261 hardcode_minus_L=$hardcode_minus_L
   32262 
   32263 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   32264 # into the resulting binary.
   32265 hardcode_shlibpath_var=$hardcode_shlibpath_var
   32266 
   32267 # Set to "yes" if building a shared library automatically hardcodes DIR
   32268 # into the library and all subsequent libraries and executables linked
   32269 # against it.
   32270 hardcode_automatic=$hardcode_automatic
   32271 
   32272 # Set to yes if linker adds runtime paths of dependent libraries
   32273 # to runtime path list.
   32274 inherit_rpath=$inherit_rpath
   32275 
   32276 # Whether libtool must link a program against all its dependency libraries.
   32277 link_all_deplibs=$link_all_deplibs
   32278 
   32279 # Set to "yes" if exported symbols are required.
   32280 always_export_symbols=$always_export_symbols
   32281 
   32282 # The commands to list exported symbols.
   32283 export_symbols_cmds=$lt_export_symbols_cmds
   32284 
   32285 # Symbols that should not be listed in the preloaded symbols.
   32286 exclude_expsyms=$lt_exclude_expsyms
   32287 
   32288 # Symbols that must always be exported.
   32289 include_expsyms=$lt_include_expsyms
   32290 
   32291 # Commands necessary for linking programs (against libraries) with templates.
   32292 prelink_cmds=$lt_prelink_cmds
   32293 
   32294 # Commands necessary for finishing linking programs.
   32295 postlink_cmds=$lt_postlink_cmds
   32296 
   32297 # Specify filename containing input files.
   32298 file_list_spec=$lt_file_list_spec
   32299 
   32300 # How to hardcode a shared library path into an executable.
   32301 hardcode_action=$hardcode_action
   32302 
   32303 # ### END LIBTOOL CONFIG
   32304 
   32305 _LT_EOF
   32306 
   32307     cat <<'_LT_EOF' >> "$cfgfile"
   32308 
   32309 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   32310 
   32311 # func_munge_path_list VARIABLE PATH
   32312 # -----------------------------------
   32313 # VARIABLE is name of variable containing _space_ separated list of
   32314 # directories to be munged by the contents of PATH, which is string
   32315 # having a format:
   32316 # "DIR[:DIR]:"
   32317 #       string "DIR[ DIR]" will be prepended to VARIABLE
   32318 # ":DIR[:DIR]"
   32319 #       string "DIR[ DIR]" will be appended to VARIABLE
   32320 # "DIRP[:DIRP]::[DIRA:]DIRA"
   32321 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   32322 #       "DIRA[ DIRA]" will be appended to VARIABLE
   32323 # "DIR[:DIR]"
   32324 #       VARIABLE will be replaced by "DIR[ DIR]"
   32325 func_munge_path_list ()
   32326 {
   32327     case x$2 in
   32328     x)
   32329         ;;
   32330     *:)
   32331         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   32332         ;;
   32333     x:*)
   32334         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   32335         ;;
   32336     *::*)
   32337         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   32338         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   32339         ;;
   32340     *)
   32341         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   32342         ;;
   32343     esac
   32344 }
   32345 
   32346 
   32347 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   32348 func_cc_basename ()
   32349 {
   32350     for cc_temp in $*""; do
   32351       case $cc_temp in
   32352         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   32353         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   32354         \-*) ;;
   32355         *) break;;
   32356       esac
   32357     done
   32358     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   32359 }
   32360 
   32361 
   32362 # ### END FUNCTIONS SHARED WITH CONFIGURE
   32363 
   32364 _LT_EOF
   32365 
   32366   case $host_os in
   32367   aix3*)
   32368     cat <<\_LT_EOF >> "$cfgfile"
   32369 # AIX sometimes has problems with the GCC collect2 program.  For some
   32370 # reason, if we set the COLLECT_NAMES environment variable, the problems
   32371 # vanish in a puff of smoke.
   32372 if test set != "${COLLECT_NAMES+set}"; then
   32373   COLLECT_NAMES=
   32374   export COLLECT_NAMES
   32375 fi
   32376 _LT_EOF
   32377     ;;
   32378   esac
   32379 
   32380 
   32381 
   32382 ltmain=$ac_aux_dir/ltmain.sh
   32383 
   32384 
   32385   # We use sed instead of cat because bash on DJGPP gets confused if
   32386   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   32387   # text mode, it properly converts lines to CR/LF.  This bash problem
   32388   # is reportedly fixed, but why not run on old versions too?
   32389   $SED '$q' "$ltmain" >> "$cfgfile" \
   32390      || (rm -f "$cfgfile"; exit 1)
   32391 
   32392    mv -f "$cfgfile" "$ofile" ||
   32393     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   32394   chmod +x "$ofile"
   32395 
   32396  ;;
   32397     "doc/doxygen/doxygen-input-filter":F) chmod +x doc/doxygen/doxygen-input-filter ;;
   32398     "tests/unit-test-driver.sh":F) chmod +x tests/unit-test-driver.sh ;;
   32399     "bin/tests/system/ifconfig.sh":F) chmod +x bin/tests/system/ifconfig.sh ;;
   32400     "bin/tests/system/start.sh":F) chmod +x bin/tests/system/start.sh ;;
   32401     "bin/tests/system/stop.sh":F) chmod +x bin/tests/system/stop.sh ;;
   32402 
   32403   esac
   32404 done # for ac_tag
   32405 
   32406 
   32407 as_fn_exit 0
   32408 _ACEOF
   32409 ac_clean_files=$ac_clean_files_save
   32410 
   32411 test $ac_write_fail = 0 ||
   32412   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   32413 
   32414 
   32415 # configure is writing to config.log, and then calls config.status.
   32416 # config.status does its own redirection, appending to config.log.
   32417 # Unfortunately, on DOS this fails, as config.log is still kept open
   32418 # by configure, so config.status won't be able to write to it; its
   32419 # output is simply discarded.  So we exec the FD to /dev/null,
   32420 # effectively closing config.log, so it can be properly (re)opened and
   32421 # appended to by config.status.  When coming back to configure, we
   32422 # need to make the FD available again.
   32423 if test "$no_create" != yes; then
   32424   ac_cs_success=:
   32425   ac_config_status_args=
   32426   test "$silent" = yes &&
   32427     ac_config_status_args="$ac_config_status_args --quiet"
   32428   exec 5>/dev/null
   32429   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   32430   exec 5>>config.log
   32431   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   32432   # would make configure fail if this is the last instruction.
   32433   $ac_cs_success || as_fn_exit 1
   32434 fi
   32435 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   32436   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   32437 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   32438 fi
   32439 
   32440 
   32441 # [pairwise: --enable-full-report, --disable-full-report]
   32442 # Check whether --enable-full-report was given.
   32443 if test ${enable_full_report+y}
   32444 then :
   32445   enableval=$enable_full_report;
   32446 fi
   32447 
   32448 
   32449 report() {
   32450     echo "==============================================================================="
   32451     echo "Configuration summary:"
   32452     echo "-------------------------------------------------------------------------------"
   32453     echo "Optional features enabled:"
   32454     if test "yes" = "$with_jemalloc"; then
   32455 	echo "    Memory allocator: jemalloc"
   32456     fi
   32457     if test "yes" = "$enable_full_report" -o "rbt" = "$zonedb"; then
   32458             echo "    Default zone database type: $zonedb"
   32459     fi
   32460     if test "yes" = "$enable_full_report" -o "rbt" = "$zonedb"; then
   32461             echo "    Default cache database type: $cachedb"
   32462     fi
   32463     test "no" = "$enable_dnstap" || \
   32464 	    echo "    Allow 'dnstap' packet logging (--enable-dnstap)"
   32465     test -z "$MAXMINDDB_LIBS" || echo "    GeoIP2 access control (--enable-geoip)"
   32466     test -z "$GSSAPI_LIBS" || echo "    GSS-API (--with-gssapi)"
   32467 
   32468     # these lines are only printed if run with --enable-full-report
   32469     if test "yes" = "$enable_full_report"; then
   32470 	test -z "$LIBXML2_LIBS" || echo "    XML statistics (--with-libxml2)"
   32471 	test -z "$JSON_C_LIBS" || echo "    JSON statistics (--with-json-c): $JSON_C_CFLAGS $JSON_C_LIBS"
   32472 	test -z "$ZLIB_LIBS" || echo "    HTTP zlib compression (--with-zlib)"
   32473 	test -z "$LMDB_LIBS" || echo "    LMDB database to store configuration for 'addzone' zones (--with-lmdb)"
   32474 	test -z "$LIBIDN2_LIBS" || echo "    IDN support (--with-libidn2)"
   32475     fi
   32476 
   32477     test "yes" = "$enable_dnsrps" && \
   32478 	echo "    DNS Response Policy Service interface (--enable-dnsrps)"
   32479     test "yes" = "$enable_fixed_rrset" && \
   32480 	echo "    Allow 'fixed' rrset-order (--enable-fixed-rrset)"
   32481     test "yes" = "$enable_fips_mode" && \
   32482 	echo "    FIPS mode in OpenSSL (--enable-fips-mode)"
   32483 
   32484     test "yes" = "$enable_querytrace" && \
   32485 	echo "    Very verbose query trace logging (--enable-querytrace)"
   32486     test "yes" = "$enable_singletrace" && \
   32487 	echo "    Single-query trace logging (--enable-singletrace)"
   32488     test -z "$HAVE_CMOCKA" || echo "    CMocka Unit Testing Framework (--with-cmocka)"
   32489 
   32490     test "auto" = "$validation_default" && echo "    DNSSEC validation active by default (--enable-auto-validation)"
   32491 
   32492     echo "-------------------------------------------------------------------------------"
   32493     echo "    Library versions:"
   32494     echo "      OpenSSL:		$OPENSSL_VERSION"
   32495     echo "      libuv:		$LIBUV_VERSION"
   32496     echo "      Userspace-RCU:	$RCU_VERSION"
   32497     if test "no" != "$with_jemalloc"; then
   32498       echo "      jemalloc:		$JEMALLOC_VERSION"
   32499     fi
   32500     echo "-------------------------------------------------------------------------------"
   32501 
   32502     echo "Features disabled or unavailable on this platform:"
   32503     if test "no" = "$with_jemalloc"; then
   32504       echo "    Memory allocator: system"
   32505       echo
   32506       echo "    +------------------------------------------+"
   32507       echo "    |             ==== WARNING ====            |"
   32508       echo "    |                                          |"
   32509       echo "    | This is NOT a recommended configuration. |"
   32510       echo "    | Using the system memory allocator causes |"
   32511       echo "    | reduced performance and increased memory |"
   32512       echo "    | fragmentation. Installing the jemalloc   |"
   32513       echo "    | memory allocator (version >= 4.0.0) is   |"
   32514       echo "    | strongly recommended.                    |"
   32515       echo "    +------------------------------------------+"
   32516       echo
   32517     fi
   32518 
   32519     test "no" = "$enable_dnstap" && \
   32520 	    echo "    Allow 'dnstap' packet logging (--enable-dnstap)"
   32521     test -z "$MAXMINDDB_LIBS" && echo "    GeoIP2 access control (--enable-geoip)"
   32522     test -z "$GSSAPI_LIBS" && echo "    GSS-API (--with-gssapi)"
   32523 
   32524     test "no" = "$enable_dnsrps" && \
   32525 	echo "    DNS Response Policy Service interface (--enable-dnsrps)"
   32526 
   32527     test "yes" = "$enable_fixed_rrset" || \
   32528 	echo "    Allow 'fixed' rrset-order (--enable-fixed-rrset)"
   32529 
   32530     test "yes" = "$validation_default" && echo "    DNSSEC validation requires configuration (--enable-auto-validation)"
   32531 
   32532     test "yes" = "$enable_fips_mode" || \
   32533 	echo "    FIPS mode in OpenSSL (--enable-fips-mode)"
   32534 
   32535     test "yes" = "$enable_querytrace" || \
   32536 	echo "    Very verbose query trace logging (--enable-querytrace)"
   32537     test "yes" = "$enable_singletrace" || \
   32538 	echo "    Single-query trace logging (--enable-singletrace)"
   32539 
   32540     test "no" = "$with_cmocka" && echo "    CMocka Unit Testing Framework (--with-cmocka)"
   32541 
   32542     test -z "$LIBXML2_LIBS" && echo "    XML statistics (--with-libxml2)"
   32543     test -z "$JSON_C_LIBS" && echo "    JSON statistics (--with-json-c)"
   32544     test -z "$ZLIB_LIBS" && echo "    HTTP zlib compression (--with-zlib)"
   32545     test -z "$LMDB_LIBS" && echo "    LMDB database to store configuration for 'addzone' zones (--with-lmdb)"
   32546     test -z "$LIBIDN2_LIBS" && echo "    IDN support (--with-libidn2)"
   32547 
   32548     echo "-------------------------------------------------------------------------------"
   32549     echo "Configured paths:"
   32550     echo "    prefix: $prefix"
   32551     echo "    sysconfdir: $sysconfdir"
   32552     echo "    localstatedir: $localstatedir"
   32553     echo "-------------------------------------------------------------------------------"
   32554     echo "Compiler: $CC"
   32555     if test "$GCC" = "yes"
   32556 then :
   32557   $CC --version 2>&1 | sed 's/^/    /'
   32558 else case e in #(
   32559   e) case $host in #(
   32560   *-solaris*) :
   32561     $CC -V 2>&1 | sed 's/^/    /' ;; #(
   32562   *) :
   32563     $CC --version 2>&1 | sed 's/^/    /' ;;
   32564 esac ;;
   32565 esac
   32566 fi
   32567     echo "CFLAGS: $STD_CFLAGS $CFLAGS"
   32568     echo "CPPFLAGS: $STD_CPPFLAGS $CPPFLAGS"
   32569     echo "LDFLAGS: $LDFLAGS"
   32570 
   32571     if test "X$ac_unrecognized_opts" != "X"; then
   32572 	echo "-------------------------------------------------------------------------------"
   32573 	echo "Unrecognized options:"
   32574 	echo "    $ac_unrecognized_opts"
   32575     fi
   32576 
   32577     if test "yes" != "$enable_full_report"; then
   32578 	echo "-------------------------------------------------------------------------------"
   32579 	echo "For more detail, use --enable-full-report."
   32580     fi
   32581     echo "==============================================================================="
   32582 }
   32583 
   32584 if test "yes" != "$silent"; then
   32585 	report
   32586 fi
   32587 
   32588 # Tell Emacs to edit this file in shell mode.
   32589 # Local Variables:
   32590 # mode: sh
   32591 # End:
   32592 
   32593