Home | History | Annotate | Line # | Download | only in dist
configure revision 1.5.4.3
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for BIND 9.18.24.
      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-2021 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 as_nop=:
     21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     22 then :
     23   emulate sh
     24   NULLCMD=:
     25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     26   # is contrary to our usage.  Disable this feature.
     27   alias -g '${1+"$@"}'='"$@"'
     28   setopt NO_GLOB_SUBST
     29 else $as_nop
     30   case `(set -o) 2>/dev/null` in #(
     31   *posix*) :
     32     set -o posix ;; #(
     33   *) :
     34      ;;
     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="as_nop=:
    144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    145 then :
    146   emulate sh
    147   NULLCMD=:
    148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    149   # is contrary to our usage.  Disable this feature.
    150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    151   setopt NO_GLOB_SUBST
    152 else \$as_nop
    153   case \`(set -o) 2>/dev/null\` in #(
    154   *posix*) :
    155     set -o posix ;; #(
    156   *) :
    157      ;;
    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 \$as_nop
    176   exitcode=1; echo positional parameters were not saved.
    177 fi
    178 test x\$exitcode = x0 || exit 1
    179 blah=\$(echo \$(echo blah))
    180 test x\"\$blah\" = xblah || exit 1
    181 test -x / || exit 1"
    182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    186 
    187   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    188     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    189     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     PATH=/empty FPATH=/empty; export PATH FPATH
    192     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    193       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    194 test \$(( 1 + 1 )) = 2 || exit 1"
    195   if (eval "$as_required") 2>/dev/null
    196 then :
    197   as_have_required=yes
    198 else $as_nop
    199   as_have_required=no
    200 fi
    201   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    202 then :
    203 
    204 else $as_nop
    205   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    206 as_found=false
    207 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    208 do
    209   IFS=$as_save_IFS
    210   case $as_dir in #(((
    211     '') as_dir=./ ;;
    212     */) ;;
    213     *) as_dir=$as_dir/ ;;
    214   esac
    215   as_found=:
    216   case $as_dir in #(
    217 	 /*)
    218 	   for as_base in sh bash ksh sh5; do
    219 	     # Try only shells that exist, to save several forks.
    220 	     as_shell=$as_dir$as_base
    221 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    222 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    223 then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    226 then :
    227   break 2
    228 fi
    229 fi
    230 	   done;;
    231        esac
    232   as_found=false
    233 done
    234 IFS=$as_save_IFS
    235 if $as_found
    236 then :
    237 
    238 else $as_nop
    239   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    240 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    241 then :
    242   CONFIG_SHELL=$SHELL as_have_required=yes
    243 fi
    244 fi
    245 
    246 
    247       if test "x$CONFIG_SHELL" != x
    248 then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno
    271 then :
    272   printf "%s\n" "$0: This script requires a shell more modern than all"
    273   printf "%s\n" "$0: the shells that I found on your system."
    274   if test ${ZSH_VERSION+y} ; then
    275     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    276     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    277   else
    278     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    279 $0: https://gitlab.isc.org/isc-projects/bind9/-/issues/new?issuable_template=Bug
    280 $0: about your system, including any error possibly output
    281 $0: before this message. Then install a modern shell, or
    282 $0: manually run the script under such a shell if you do
    283 $0: have one."
    284   fi
    285   exit 1
    286 fi
    287 fi
    288 fi
    289 SHELL=${CONFIG_SHELL-/bin/sh}
    290 export SHELL
    291 # Unset more variables known to interfere with behavior of common tools.
    292 CLICOLOR_FORCE= GREP_OPTIONS=
    293 unset CLICOLOR_FORCE GREP_OPTIONS
    294 
    295 ## --------------------- ##
    296 ## M4sh Shell Functions. ##
    297 ## --------------------- ##
    298 # as_fn_unset VAR
    299 # ---------------
    300 # Portably unset VAR.
    301 as_fn_unset ()
    302 {
    303   { eval $1=; unset $1;}
    304 }
    305 as_unset=as_fn_unset
    306 
    307 
    308 # as_fn_set_status STATUS
    309 # -----------------------
    310 # Set $? to STATUS, without forking.
    311 as_fn_set_status ()
    312 {
    313   return $1
    314 } # as_fn_set_status
    315 
    316 # as_fn_exit STATUS
    317 # -----------------
    318 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    319 as_fn_exit ()
    320 {
    321   set +e
    322   as_fn_set_status $1
    323   exit $1
    324 } # as_fn_exit
    325 # as_fn_nop
    326 # ---------
    327 # Do nothing but, unlike ":", preserve the value of $?.
    328 as_fn_nop ()
    329 {
    330   return $?
    331 }
    332 as_nop=as_fn_nop
    333 
    334 # as_fn_mkdir_p
    335 # -------------
    336 # Create "$as_dir" as a directory, including parents if necessary.
    337 as_fn_mkdir_p ()
    338 {
    339 
    340   case $as_dir in #(
    341   -*) as_dir=./$as_dir;;
    342   esac
    343   test -d "$as_dir" || eval $as_mkdir_p || {
    344     as_dirs=
    345     while :; do
    346       case $as_dir in #(
    347       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    348       *) as_qdir=$as_dir;;
    349       esac
    350       as_dirs="'$as_qdir' $as_dirs"
    351       as_dir=`$as_dirname -- "$as_dir" ||
    352 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    353 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    354 	 X"$as_dir" : 'X\(//\)$' \| \
    355 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    356 printf "%s\n" X"$as_dir" |
    357     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\/\)[^/].*/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  /^X\(\/\/\)$/{
    366 	    s//\1/
    367 	    q
    368 	  }
    369 	  /^X\(\/\).*/{
    370 	    s//\1/
    371 	    q
    372 	  }
    373 	  s/.*/./; q'`
    374       test -d "$as_dir" && break
    375     done
    376     test -z "$as_dirs" || eval "mkdir $as_dirs"
    377   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    378 
    379 
    380 } # as_fn_mkdir_p
    381 
    382 # as_fn_executable_p FILE
    383 # -----------------------
    384 # Test if FILE is an executable regular file.
    385 as_fn_executable_p ()
    386 {
    387   test -f "$1" && test -x "$1"
    388 } # as_fn_executable_p
    389 # as_fn_append VAR VALUE
    390 # ----------------------
    391 # Append the text in VALUE to the end of the definition contained in VAR. Take
    392 # advantage of any shell optimizations that allow amortized linear growth over
    393 # repeated appends, instead of the typical quadratic growth present in naive
    394 # implementations.
    395 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    396 then :
    397   eval 'as_fn_append ()
    398   {
    399     eval $1+=\$2
    400   }'
    401 else $as_nop
    402   as_fn_append ()
    403   {
    404     eval $1=\$$1\$2
    405   }
    406 fi # as_fn_append
    407 
    408 # as_fn_arith ARG...
    409 # ------------------
    410 # Perform arithmetic evaluation on the ARGs, and store the result in the
    411 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    412 # must be portable across $(()) and expr.
    413 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    414 then :
    415   eval 'as_fn_arith ()
    416   {
    417     as_val=$(( $* ))
    418   }'
    419 else $as_nop
    420   as_fn_arith ()
    421   {
    422     as_val=`expr "$@" || test $? -eq 1`
    423   }
    424 fi # as_fn_arith
    425 
    426 # as_fn_nop
    427 # ---------
    428 # Do nothing but, unlike ":", preserve the value of $?.
    429 as_fn_nop ()
    430 {
    431   return $?
    432 }
    433 as_nop=as_fn_nop
    434 
    435 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    436 # ----------------------------------------
    437 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    438 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    439 # script with STATUS, using 1 if that was 0.
    440 as_fn_error ()
    441 {
    442   as_status=$1; test $as_status -eq 0 && as_status=1
    443   if test "$4"; then
    444     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    445     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    446   fi
    447   printf "%s\n" "$as_me: error: $2" >&2
    448   as_fn_exit $as_status
    449 } # as_fn_error
    450 
    451 if expr a : '\(a\)' >/dev/null 2>&1 &&
    452    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    453   as_expr=expr
    454 else
    455   as_expr=false
    456 fi
    457 
    458 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    459   as_basename=basename
    460 else
    461   as_basename=false
    462 fi
    463 
    464 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    465   as_dirname=dirname
    466 else
    467   as_dirname=false
    468 fi
    469 
    470 as_me=`$as_basename -- "$0" ||
    471 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    472 	 X"$0" : 'X\(//\)$' \| \
    473 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    474 printf "%s\n" X/"$0" |
    475     sed '/^.*\/\([^/][^/]*\)\/*$/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  /^X\/\(\/\/\)$/{
    480 	    s//\1/
    481 	    q
    482 	  }
    483 	  /^X\/\(\/\).*/{
    484 	    s//\1/
    485 	    q
    486 	  }
    487 	  s/.*/./; q'`
    488 
    489 # Avoid depending upon Character Ranges.
    490 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    491 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    492 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    493 as_cr_digits='0123456789'
    494 as_cr_alnum=$as_cr_Letters$as_cr_digits
    495 
    496 
    497   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    498   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    499   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    500   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    501   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    502   sed -n '
    503     p
    504     /[$]LINENO/=
    505   ' <$as_myself |
    506     sed '
    507       s/[$]LINENO.*/&-/
    508       t lineno
    509       b
    510       :lineno
    511       N
    512       :loop
    513       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    514       t loop
    515       s/-\n.*//
    516     ' >$as_me.lineno &&
    517   chmod +x "$as_me.lineno" ||
    518     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    519 
    520   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    521   # already done that, so ensure we don't try to do so again and fall
    522   # in an infinite loop.  This has already happened in practice.
    523   _as_can_reexec=no; export _as_can_reexec
    524   # Don't try to exec as it changes $[0], causing all sort of problems
    525   # (the dirname of $[0] is not the place where we might find the
    526   # original and so on.  Autoconf is especially sensitive to this).
    527   . "./$as_me.lineno"
    528   # Exit status is that of the last command.
    529   exit
    530 }
    531 
    532 
    533 # Determine whether it's possible to make 'echo' print without a newline.
    534 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    535 # for compatibility with existing Makefiles.
    536 ECHO_C= ECHO_N= ECHO_T=
    537 case `echo -n x` in #(((((
    538 -n*)
    539   case `echo 'xy\c'` in
    540   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    541   xy)  ECHO_C='\c';;
    542   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    543        ECHO_T='	';;
    544   esac;;
    545 *)
    546   ECHO_N='-n';;
    547 esac
    548 
    549 # For backward compatibility with old third-party macros, we provide
    550 # the shell variables $as_echo and $as_echo_n.  New code should use
    551 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    552 as_echo='printf %s\n'
    553 as_echo_n='printf %s'
    554 
    555 
    556 rm -f conf$$ conf$$.exe conf$$.file
    557 if test -d conf$$.dir; then
    558   rm -f conf$$.dir/conf$$.file
    559 else
    560   rm -f conf$$.dir
    561   mkdir conf$$.dir 2>/dev/null
    562 fi
    563 if (echo >conf$$.file) 2>/dev/null; then
    564   if ln -s conf$$.file conf$$ 2>/dev/null; then
    565     as_ln_s='ln -s'
    566     # ... but there are two gotchas:
    567     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    568     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    569     # In both cases, we have to default to `cp -pR'.
    570     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    571       as_ln_s='cp -pR'
    572   elif ln conf$$.file conf$$ 2>/dev/null; then
    573     as_ln_s=ln
    574   else
    575     as_ln_s='cp -pR'
    576   fi
    577 else
    578   as_ln_s='cp -pR'
    579 fi
    580 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    581 rmdir conf$$.dir 2>/dev/null
    582 
    583 if mkdir -p . 2>/dev/null; then
    584   as_mkdir_p='mkdir -p "$as_dir"'
    585 else
    586   test -d ./-p && rmdir ./-p
    587   as_mkdir_p=false
    588 fi
    589 
    590 as_test_x='test -x'
    591 as_executable_p=as_fn_executable_p
    592 
    593 # Sed expression to map a string onto a valid CPP name.
    594 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    595 
    596 # Sed expression to map a string onto a valid variable name.
    597 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    598 
    599 SHELL=${CONFIG_SHELL-/bin/sh}
    600 
    601 
    602 test -n "$DJDIR" || exec 7<&0 </dev/null
    603 exec 6>&1
    604 
    605 # Name of the host.
    606 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    607 # so uname gets run too.
    608 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    609 
    610 #
    611 # Initializations.
    612 #
    613 ac_default_prefix=/usr/local
    614 ac_clean_files=
    615 ac_config_libobj_dir=.
    616 LIBOBJS=
    617 cross_compiling=no
    618 subdirs=
    619 MFLAGS=
    620 MAKEFLAGS=
    621 
    622 # Identity of this package.
    623 PACKAGE_NAME='BIND'
    624 PACKAGE_TARNAME='bind'
    625 PACKAGE_VERSION='9.18.24'
    626 PACKAGE_STRING='BIND 9.18.24'
    627 PACKAGE_BUGREPORT='https://gitlab.isc.org/isc-projects/bind9/-/issues/new?issuable_template=Bug'
    628 PACKAGE_URL='https://www.isc.org/downloads/'
    629 
    630 ac_unique_file="bin/named/main.c"
    631 # Factoring default headers for most tests.
    632 ac_includes_default="\
    633 #include <stddef.h>
    634 #ifdef HAVE_STDIO_H
    635 # include <stdio.h>
    636 #endif
    637 #ifdef HAVE_STDLIB_H
    638 # include <stdlib.h>
    639 #endif
    640 #ifdef HAVE_STRING_H
    641 # include <string.h>
    642 #endif
    643 #ifdef HAVE_INTTYPES_H
    644 # include <inttypes.h>
    645 #endif
    646 #ifdef HAVE_STDINT_H
    647 # include <stdint.h>
    648 #endif
    649 #ifdef HAVE_STRINGS_H
    650 # include <strings.h>
    651 #endif
    652 #ifdef HAVE_SYS_TYPES_H
    653 # include <sys/types.h>
    654 #endif
    655 #ifdef HAVE_SYS_STAT_H
    656 # include <sys/stat.h>
    657 #endif
    658 #ifdef HAVE_UNISTD_H
    659 # include <unistd.h>
    660 #endif"
    661 
    662 ac_header_c_list=
    663 ac_subst_vars='am__EXEEXT_FALSE
    664 am__EXEEXT_TRUE
    665 LTLIBOBJS
    666 LIBOBJS
    667 HAVE_JEMALLOC_FALSE
    668 HAVE_JEMALLOC_TRUE
    669 JEMALLOC_LIBS
    670 JEMALLOC_CFLAGS
    671 HAVE_CMOCKA_FALSE
    672 HAVE_CMOCKA_TRUE
    673 CMOCKA_LIBS
    674 CMOCKA_CFLAGS
    675 LIBIDN2_LIBS
    676 LIBIDN2_CFLAGS
    677 NC
    678 CURL
    679 DOXYGEN
    680 RELEASE_DATE
    681 BUILD_MANPAGES_FALSE
    682 BUILD_MANPAGES_TRUE
    683 HAVE_XELATEX_FALSE
    684 HAVE_XELATEX_TRUE
    685 LATEXMK
    686 XELATEX
    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 HAVE_READLINE_FALSE
    698 HAVE_READLINE_TRUE
    699 READLINE_LIBS
    700 READLINE_CFLAGS
    701 ZLIB_LIBS
    702 ZLIB_CFLAGS
    703 HAVE_JSON_C_FALSE
    704 HAVE_JSON_C_TRUE
    705 JSON_C_LIBS
    706 JSON_C_CFLAGS
    707 HAVE_LIBXML2_FALSE
    708 HAVE_LIBXML2_TRUE
    709 LIBXML2_LIBS
    710 LIBXML2_CFLAGS
    711 HAVE_LMDB_FALSE
    712 HAVE_LMDB_TRUE
    713 LMDB_LIBS
    714 LMDB_CFLAGS
    715 KRB5_LIBS
    716 KRB5_CFLAGS
    717 GSSAPI_LIBS
    718 GSSAPI_CFLAGS
    719 HAVE_GSSAPI_FALSE
    720 HAVE_GSSAPI_TRUE
    721 KRB5_CONFIG
    722 OPENSSL_LDFLAGS
    723 OPENSSL_LIBS
    724 OPENSSL_CFLAGS
    725 HAVE_LIBNGHTTP2_FALSE
    726 HAVE_LIBNGHTTP2_TRUE
    727 LIBNGHTTP2_LIBS
    728 LIBNGHTTP2_CFLAGS
    729 LIBUV_LIBS
    730 LIBUV_CFLAGS
    731 PTHREAD_CFLAGS
    732 PTHREAD_LIBS
    733 PTHREAD_CXX
    734 PTHREAD_CC
    735 ax_pthread_config
    736 HAVE_GEOIP2_FALSE
    737 HAVE_GEOIP2_TRUE
    738 MAXMINDDB_PREFIX
    739 MAXMINDDB_LIBS
    740 MAXMINDDB_CFLAGS
    741 XSLTPROC
    742 HAVE_PYTEST_FALSE
    743 HAVE_PYTEST_TRUE
    744 PYTEST
    745 HAVE_PYTHON_FALSE
    746 HAVE_PYTHON_TRUE
    747 pkgpyexecdir
    748 pyexecdir
    749 pkgpythondir
    750 pythondir
    751 PYTHON_EXEC_PREFIX
    752 PYTHON_PREFIX
    753 PYTHON_PLATFORM
    754 PYTHON_VERSION
    755 PYTHON
    756 HAVE_PERL_FALSE
    757 HAVE_PERL_TRUE
    758 PERL
    759 FUZZ_LDFLAGS
    760 FUZZ_LOG_COMPILER
    761 HAVE_FUZZ_LOG_COMPILER_FALSE
    762 HAVE_FUZZ_LOG_COMPILER_TRUE
    763 PKG_CONFIG_LIBDIR
    764 PKG_CONFIG_PATH
    765 PKG_CONFIG
    766 TEST_CFLAGS
    767 STD_LDFLAGS
    768 STD_CPPFLAGS
    769 STD_CFLAGS
    770 DEVELOPER_MODE
    771 HOST_MACOS_FALSE
    772 HOST_MACOS_TRUE
    773 LT_SYS_LIBRARY_PATH
    774 OTOOL64
    775 OTOOL
    776 LIPO
    777 NMEDIT
    778 DSYMUTIL
    779 MANIFEST_TOOL
    780 RANLIB
    781 DLLTOOL
    782 OBJDUMP
    783 FILECMD
    784 NM
    785 ac_ct_DUMPBIN
    786 DUMPBIN
    787 LD
    788 FGREP
    789 EGREP
    790 GREP
    791 SED
    792 LIBTOOL
    793 LN_S
    794 ac_ct_AR
    795 AR
    796 LDFLAGS_FOR_BUILD
    797 CPPFLAGS_FOR_BUILD
    798 CFLAGS_FOR_BUILD
    799 BUILD_OBJEXT
    800 BUILD_EXEEXT
    801 CPP_FOR_BUILD
    802 ac_ct_CC_FOR_BUILD
    803 CC_FOR_BUILD
    804 CPP
    805 am__fastdepCC_FALSE
    806 am__fastdepCC_TRUE
    807 CCDEPMODE
    808 am__nodep
    809 AMDEPBACKSLASH
    810 AMDEP_FALSE
    811 AMDEP_TRUE
    812 am__include
    813 DEPDIR
    814 OBJEXT
    815 EXEEXT
    816 ac_ct_CC
    817 CPPFLAGS
    818 LDFLAGS
    819 CFLAGS
    820 CC
    821 MAINT
    822 MAINTAINER_MODE_FALSE
    823 MAINTAINER_MODE_TRUE
    824 AM_BACKSLASH
    825 AM_DEFAULT_VERBOSITY
    826 AM_DEFAULT_V
    827 AM_V
    828 CSCOPE
    829 ETAGS
    830 CTAGS
    831 am__untar
    832 am__tar
    833 AMTAR
    834 am__leading_dot
    835 SET_MAKE
    836 AWK
    837 mkdir_p
    838 MKDIR_P
    839 INSTALL_STRIP_PROGRAM
    840 STRIP
    841 install_sh
    842 MAKEINFO
    843 AUTOHEADER
    844 AUTOMAKE
    845 AUTOCONF
    846 ACLOCAL
    847 VERSION
    848 PACKAGE
    849 CYGPATH_W
    850 am__isrc
    851 INSTALL_DATA
    852 INSTALL_SCRIPT
    853 INSTALL_PROGRAM
    854 target_os
    855 target_vendor
    856 target_cpu
    857 target
    858 host_os
    859 host_vendor
    860 host_cpu
    861 host
    862 build_os
    863 build_vendor
    864 build_cpu
    865 build
    866 target_alias
    867 host_alias
    868 build_alias
    869 LIBS
    870 ECHO_T
    871 ECHO_N
    872 ECHO_C
    873 DEFS
    874 mandir
    875 localedir
    876 libdir
    877 psdir
    878 pdfdir
    879 dvidir
    880 htmldir
    881 infodir
    882 docdir
    883 oldincludedir
    884 includedir
    885 runstatedir
    886 localstatedir
    887 sharedstatedir
    888 sysconfdir
    889 datadir
    890 datarootdir
    891 libexecdir
    892 sbindir
    893 bindir
    894 program_transform_name
    895 prefix
    896 exec_prefix
    897 PACKAGE_URL
    898 PACKAGE_BUGREPORT
    899 PACKAGE_STRING
    900 PACKAGE_VERSION
    901 PACKAGE_TARNAME
    902 PACKAGE_NAME
    903 PATH_SEPARATOR
    904 SHELL
    905 am__quote'
    906 ac_subst_files=''
    907 ac_user_opts='
    908 enable_option_checking
    909 enable_silent_rules
    910 enable_maintainer_mode
    911 enable_dependency_tracking
    912 enable_largefile
    913 enable_static
    914 with_pic
    915 enable_shared
    916 enable_fast_install
    917 with_aix_soname
    918 with_gnu_ld
    919 with_sysroot
    920 enable_libtool_lock
    921 enable_developer
    922 enable_warn_error
    923 enable_fuzzing
    924 with_python_sys_prefix
    925 with_python_prefix
    926 with_python_exec_prefix
    927 enable_geoip
    928 with_maxminddb
    929 with_locktype
    930 enable_doh
    931 with_libnghttp2
    932 enable_pthread_rwlock
    933 with_openssl
    934 enable_fips_mode
    935 with_gssapi
    936 with_lmdb
    937 with_libxml2
    938 with_json_c
    939 with_zlib
    940 enable_tcp_fastopen
    941 with_readline
    942 enable_chroot
    943 enable_linux_caps
    944 enable_fixed_rrset
    945 enable_dnstap
    946 with_libidn2
    947 with_cmocka
    948 with_jemalloc
    949 with_tuning
    950 enable_singletrace
    951 enable_querytrace
    952 enable_auto_validation
    953 enable_dnsrps_dl
    954 with_dnsrps_libname
    955 with_dnsrps_dir
    956 enable_dnsrps
    957 enable_full_report
    958 '
    959       ac_precious_vars='build_alias
    960 host_alias
    961 target_alias
    962 CC
    963 CFLAGS
    964 LDFLAGS
    965 LIBS
    966 CPPFLAGS
    967 CPP
    968 LT_SYS_LIBRARY_PATH
    969 PKG_CONFIG
    970 PKG_CONFIG_PATH
    971 PKG_CONFIG_LIBDIR
    972 PYTHON
    973 MAXMINDDB_CFLAGS
    974 MAXMINDDB_LIBS
    975 MAXMINDDB_PREFIX
    976 LIBUV_CFLAGS
    977 LIBUV_LIBS
    978 LIBNGHTTP2_CFLAGS
    979 LIBNGHTTP2_LIBS
    980 OPENSSL_CFLAGS
    981 OPENSSL_LIBS
    982 LMDB_CFLAGS
    983 LMDB_LIBS
    984 LIBXML2_CFLAGS
    985 LIBXML2_LIBS
    986 JSON_C_CFLAGS
    987 JSON_C_LIBS
    988 ZLIB_CFLAGS
    989 ZLIB_LIBS
    990 READLINE_CFLAGS
    991 READLINE_LIBS
    992 DNSTAP_CFLAGS
    993 DNSTAP_LIBS
    994 SPHINX_BUILD
    995 LIBIDN2_CFLAGS
    996 LIBIDN2_LIBS
    997 CMOCKA_CFLAGS
    998 CMOCKA_LIBS
    999 JEMALLOC_CFLAGS
   1000 JEMALLOC_LIBS'
   1001 
   1002 
   1003 # Initialize some variables set by options.
   1004 ac_init_help=
   1005 ac_init_version=false
   1006 ac_unrecognized_opts=
   1007 ac_unrecognized_sep=
   1008 # The variables have the same names as the options, with
   1009 # dashes changed to underlines.
   1010 cache_file=/dev/null
   1011 exec_prefix=NONE
   1012 no_create=
   1013 no_recursion=
   1014 prefix=NONE
   1015 program_prefix=NONE
   1016 program_suffix=NONE
   1017 program_transform_name=s,x,x,
   1018 silent=
   1019 site=
   1020 srcdir=
   1021 verbose=
   1022 x_includes=NONE
   1023 x_libraries=NONE
   1024 
   1025 # Installation directory options.
   1026 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1027 # and all the variables that are supposed to be based on exec_prefix
   1028 # by default will actually change.
   1029 # Use braces instead of parens because sh, perl, etc. also accept them.
   1030 # (The list follows the same order as the GNU Coding Standards.)
   1031 bindir='${exec_prefix}/bin'
   1032 sbindir='${exec_prefix}/sbin'
   1033 libexecdir='${exec_prefix}/libexec'
   1034 datarootdir='${prefix}/share'
   1035 datadir='${datarootdir}'
   1036 sysconfdir='${prefix}/etc'
   1037 sharedstatedir='${prefix}/com'
   1038 localstatedir='${prefix}/var'
   1039 runstatedir='${localstatedir}/run'
   1040 includedir='${prefix}/include'
   1041 oldincludedir='/usr/include'
   1042 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1043 infodir='${datarootdir}/info'
   1044 htmldir='${docdir}'
   1045 dvidir='${docdir}'
   1046 pdfdir='${docdir}'
   1047 psdir='${docdir}'
   1048 libdir='${exec_prefix}/lib'
   1049 localedir='${datarootdir}/locale'
   1050 mandir='${datarootdir}/man'
   1051 
   1052 ac_prev=
   1053 ac_dashdash=
   1054 for ac_option
   1055 do
   1056   # If the previous option needs an argument, assign it.
   1057   if test -n "$ac_prev"; then
   1058     eval $ac_prev=\$ac_option
   1059     ac_prev=
   1060     continue
   1061   fi
   1062 
   1063   case $ac_option in
   1064   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1065   *=)   ac_optarg= ;;
   1066   *)    ac_optarg=yes ;;
   1067   esac
   1068 
   1069   case $ac_dashdash$ac_option in
   1070   --)
   1071     ac_dashdash=yes ;;
   1072 
   1073   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1074     ac_prev=bindir ;;
   1075   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1076     bindir=$ac_optarg ;;
   1077 
   1078   -build | --build | --buil | --bui | --bu)
   1079     ac_prev=build_alias ;;
   1080   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1081     build_alias=$ac_optarg ;;
   1082 
   1083   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1084   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1085     ac_prev=cache_file ;;
   1086   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1087   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1088     cache_file=$ac_optarg ;;
   1089 
   1090   --config-cache | -C)
   1091     cache_file=config.cache ;;
   1092 
   1093   -datadir | --datadir | --datadi | --datad)
   1094     ac_prev=datadir ;;
   1095   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1096     datadir=$ac_optarg ;;
   1097 
   1098   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1099   | --dataroo | --dataro | --datar)
   1100     ac_prev=datarootdir ;;
   1101   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1102   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1103     datarootdir=$ac_optarg ;;
   1104 
   1105   -disable-* | --disable-*)
   1106     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1107     # Reject names that are not valid shell variable names.
   1108     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1109       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1110     ac_useropt_orig=$ac_useropt
   1111     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1112     case $ac_user_opts in
   1113       *"
   1114 "enable_$ac_useropt"
   1115 "*) ;;
   1116       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1117 	 ac_unrecognized_sep=', ';;
   1118     esac
   1119     eval enable_$ac_useropt=no ;;
   1120 
   1121   -docdir | --docdir | --docdi | --doc | --do)
   1122     ac_prev=docdir ;;
   1123   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1124     docdir=$ac_optarg ;;
   1125 
   1126   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1127     ac_prev=dvidir ;;
   1128   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1129     dvidir=$ac_optarg ;;
   1130 
   1131   -enable-* | --enable-*)
   1132     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1133     # Reject names that are not valid shell variable names.
   1134     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1135       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1136     ac_useropt_orig=$ac_useropt
   1137     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1138     case $ac_user_opts in
   1139       *"
   1140 "enable_$ac_useropt"
   1141 "*) ;;
   1142       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1143 	 ac_unrecognized_sep=', ';;
   1144     esac
   1145     eval enable_$ac_useropt=\$ac_optarg ;;
   1146 
   1147   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1148   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1149   | --exec | --exe | --ex)
   1150     ac_prev=exec_prefix ;;
   1151   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1152   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1153   | --exec=* | --exe=* | --ex=*)
   1154     exec_prefix=$ac_optarg ;;
   1155 
   1156   -gas | --gas | --ga | --g)
   1157     # Obsolete; use --with-gas.
   1158     with_gas=yes ;;
   1159 
   1160   -help | --help | --hel | --he | -h)
   1161     ac_init_help=long ;;
   1162   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1163     ac_init_help=recursive ;;
   1164   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1165     ac_init_help=short ;;
   1166 
   1167   -host | --host | --hos | --ho)
   1168     ac_prev=host_alias ;;
   1169   -host=* | --host=* | --hos=* | --ho=*)
   1170     host_alias=$ac_optarg ;;
   1171 
   1172   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1173     ac_prev=htmldir ;;
   1174   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1175   | --ht=*)
   1176     htmldir=$ac_optarg ;;
   1177 
   1178   -includedir | --includedir | --includedi | --included | --include \
   1179   | --includ | --inclu | --incl | --inc)
   1180     ac_prev=includedir ;;
   1181   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1182   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1183     includedir=$ac_optarg ;;
   1184 
   1185   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1186     ac_prev=infodir ;;
   1187   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1188     infodir=$ac_optarg ;;
   1189 
   1190   -libdir | --libdir | --libdi | --libd)
   1191     ac_prev=libdir ;;
   1192   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1193     libdir=$ac_optarg ;;
   1194 
   1195   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1196   | --libexe | --libex | --libe)
   1197     ac_prev=libexecdir ;;
   1198   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1199   | --libexe=* | --libex=* | --libe=*)
   1200     libexecdir=$ac_optarg ;;
   1201 
   1202   -localedir | --localedir | --localedi | --localed | --locale)
   1203     ac_prev=localedir ;;
   1204   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1205     localedir=$ac_optarg ;;
   1206 
   1207   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1208   | --localstate | --localstat | --localsta | --localst | --locals)
   1209     ac_prev=localstatedir ;;
   1210   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1211   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1212     localstatedir=$ac_optarg ;;
   1213 
   1214   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1215     ac_prev=mandir ;;
   1216   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1217     mandir=$ac_optarg ;;
   1218 
   1219   -nfp | --nfp | --nf)
   1220     # Obsolete; use --without-fp.
   1221     with_fp=no ;;
   1222 
   1223   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1224   | --no-cr | --no-c | -n)
   1225     no_create=yes ;;
   1226 
   1227   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1228   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1229     no_recursion=yes ;;
   1230 
   1231   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1232   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1233   | --oldin | --oldi | --old | --ol | --o)
   1234     ac_prev=oldincludedir ;;
   1235   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1236   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1237   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1238     oldincludedir=$ac_optarg ;;
   1239 
   1240   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1241     ac_prev=prefix ;;
   1242   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1243     prefix=$ac_optarg ;;
   1244 
   1245   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1246   | --program-pre | --program-pr | --program-p)
   1247     ac_prev=program_prefix ;;
   1248   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1249   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1250     program_prefix=$ac_optarg ;;
   1251 
   1252   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1253   | --program-suf | --program-su | --program-s)
   1254     ac_prev=program_suffix ;;
   1255   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1256   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1257     program_suffix=$ac_optarg ;;
   1258 
   1259   -program-transform-name | --program-transform-name \
   1260   | --program-transform-nam | --program-transform-na \
   1261   | --program-transform-n | --program-transform- \
   1262   | --program-transform | --program-transfor \
   1263   | --program-transfo | --program-transf \
   1264   | --program-trans | --program-tran \
   1265   | --progr-tra | --program-tr | --program-t)
   1266     ac_prev=program_transform_name ;;
   1267   -program-transform-name=* | --program-transform-name=* \
   1268   | --program-transform-nam=* | --program-transform-na=* \
   1269   | --program-transform-n=* | --program-transform-=* \
   1270   | --program-transform=* | --program-transfor=* \
   1271   | --program-transfo=* | --program-transf=* \
   1272   | --program-trans=* | --program-tran=* \
   1273   | --progr-tra=* | --program-tr=* | --program-t=*)
   1274     program_transform_name=$ac_optarg ;;
   1275 
   1276   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1277     ac_prev=pdfdir ;;
   1278   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1279     pdfdir=$ac_optarg ;;
   1280 
   1281   -psdir | --psdir | --psdi | --psd | --ps)
   1282     ac_prev=psdir ;;
   1283   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1284     psdir=$ac_optarg ;;
   1285 
   1286   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1287   | -silent | --silent | --silen | --sile | --sil)
   1288     silent=yes ;;
   1289 
   1290   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1291   | --runstate | --runstat | --runsta | --runst | --runs \
   1292   | --run | --ru | --r)
   1293     ac_prev=runstatedir ;;
   1294   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1295   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1296   | --run=* | --ru=* | --r=*)
   1297     runstatedir=$ac_optarg ;;
   1298 
   1299   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1300     ac_prev=sbindir ;;
   1301   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1302   | --sbi=* | --sb=*)
   1303     sbindir=$ac_optarg ;;
   1304 
   1305   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1306   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1307   | --sharedst | --shareds | --shared | --share | --shar \
   1308   | --sha | --sh)
   1309     ac_prev=sharedstatedir ;;
   1310   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1311   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1312   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1313   | --sha=* | --sh=*)
   1314     sharedstatedir=$ac_optarg ;;
   1315 
   1316   -site | --site | --sit)
   1317     ac_prev=site ;;
   1318   -site=* | --site=* | --sit=*)
   1319     site=$ac_optarg ;;
   1320 
   1321   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1322     ac_prev=srcdir ;;
   1323   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1324     srcdir=$ac_optarg ;;
   1325 
   1326   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1327   | --syscon | --sysco | --sysc | --sys | --sy)
   1328     ac_prev=sysconfdir ;;
   1329   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1330   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1331     sysconfdir=$ac_optarg ;;
   1332 
   1333   -target | --target | --targe | --targ | --tar | --ta | --t)
   1334     ac_prev=target_alias ;;
   1335   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1336     target_alias=$ac_optarg ;;
   1337 
   1338   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1339     verbose=yes ;;
   1340 
   1341   -version | --version | --versio | --versi | --vers | -V)
   1342     ac_init_version=: ;;
   1343 
   1344   -with-* | --with-*)
   1345     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1346     # Reject names that are not valid shell variable names.
   1347     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1348       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1349     ac_useropt_orig=$ac_useropt
   1350     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1351     case $ac_user_opts in
   1352       *"
   1353 "with_$ac_useropt"
   1354 "*) ;;
   1355       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1356 	 ac_unrecognized_sep=', ';;
   1357     esac
   1358     eval with_$ac_useropt=\$ac_optarg ;;
   1359 
   1360   -without-* | --without-*)
   1361     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1362     # Reject names that are not valid shell variable names.
   1363     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1364       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1365     ac_useropt_orig=$ac_useropt
   1366     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1367     case $ac_user_opts in
   1368       *"
   1369 "with_$ac_useropt"
   1370 "*) ;;
   1371       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1372 	 ac_unrecognized_sep=', ';;
   1373     esac
   1374     eval with_$ac_useropt=no ;;
   1375 
   1376   --x)
   1377     # Obsolete; use --with-x.
   1378     with_x=yes ;;
   1379 
   1380   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1381   | --x-incl | --x-inc | --x-in | --x-i)
   1382     ac_prev=x_includes ;;
   1383   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1384   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1385     x_includes=$ac_optarg ;;
   1386 
   1387   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1388   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1389     ac_prev=x_libraries ;;
   1390   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1391   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1392     x_libraries=$ac_optarg ;;
   1393 
   1394   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1395 Try \`$0 --help' for more information"
   1396     ;;
   1397 
   1398   *=*)
   1399     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1400     # Reject names that are not valid shell variable names.
   1401     case $ac_envvar in #(
   1402       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1403       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1404     esac
   1405     eval $ac_envvar=\$ac_optarg
   1406     export $ac_envvar ;;
   1407 
   1408   *)
   1409     # FIXME: should be removed in autoconf 3.0.
   1410     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1411     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1412       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1413     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1414     ;;
   1415 
   1416   esac
   1417 done
   1418 
   1419 if test -n "$ac_prev"; then
   1420   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1421   as_fn_error $? "missing argument to $ac_option"
   1422 fi
   1423 
   1424 if test -n "$ac_unrecognized_opts"; then
   1425   case $enable_option_checking in
   1426     no) ;;
   1427     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1428     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1429   esac
   1430 fi
   1431 
   1432 # Check all directory arguments for consistency.
   1433 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1434 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1435 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1436 		libdir localedir mandir runstatedir
   1437 do
   1438   eval ac_val=\$$ac_var
   1439   # Remove trailing slashes.
   1440   case $ac_val in
   1441     */ )
   1442       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1443       eval $ac_var=\$ac_val;;
   1444   esac
   1445   # Be sure to have absolute directory names.
   1446   case $ac_val in
   1447     [\\/$]* | ?:[\\/]* )  continue;;
   1448     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1449   esac
   1450   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1451 done
   1452 
   1453 # There might be people who depend on the old broken behavior: `$host'
   1454 # used to hold the argument of --host etc.
   1455 # FIXME: To remove some day.
   1456 build=$build_alias
   1457 host=$host_alias
   1458 target=$target_alias
   1459 
   1460 # FIXME: To remove some day.
   1461 if test "x$host_alias" != x; then
   1462   if test "x$build_alias" = x; then
   1463     cross_compiling=maybe
   1464   elif test "x$build_alias" != "x$host_alias"; then
   1465     cross_compiling=yes
   1466   fi
   1467 fi
   1468 
   1469 ac_tool_prefix=
   1470 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1471 
   1472 test "$silent" = yes && exec 6>/dev/null
   1473 
   1474 
   1475 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1476 ac_ls_di=`ls -di .` &&
   1477 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1478   as_fn_error $? "working directory cannot be determined"
   1479 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1480   as_fn_error $? "pwd does not report name of working directory"
   1481 
   1482 
   1483 # Find the source files, if location was not specified.
   1484 if test -z "$srcdir"; then
   1485   ac_srcdir_defaulted=yes
   1486   # Try the directory containing this script, then the parent directory.
   1487   ac_confdir=`$as_dirname -- "$as_myself" ||
   1488 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1489 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1490 	 X"$as_myself" : 'X\(//\)$' \| \
   1491 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1492 printf "%s\n" X"$as_myself" |
   1493     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1494 	    s//\1/
   1495 	    q
   1496 	  }
   1497 	  /^X\(\/\/\)[^/].*/{
   1498 	    s//\1/
   1499 	    q
   1500 	  }
   1501 	  /^X\(\/\/\)$/{
   1502 	    s//\1/
   1503 	    q
   1504 	  }
   1505 	  /^X\(\/\).*/{
   1506 	    s//\1/
   1507 	    q
   1508 	  }
   1509 	  s/.*/./; q'`
   1510   srcdir=$ac_confdir
   1511   if test ! -r "$srcdir/$ac_unique_file"; then
   1512     srcdir=..
   1513   fi
   1514 else
   1515   ac_srcdir_defaulted=no
   1516 fi
   1517 if test ! -r "$srcdir/$ac_unique_file"; then
   1518   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1519   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1520 fi
   1521 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1522 ac_abs_confdir=`(
   1523 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1524 	pwd)`
   1525 # When building in place, set srcdir=.
   1526 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1527   srcdir=.
   1528 fi
   1529 # Remove unnecessary trailing slashes from srcdir.
   1530 # Double slashes in file names in object file debugging info
   1531 # mess up M-x gdb in Emacs.
   1532 case $srcdir in
   1533 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1534 esac
   1535 for ac_var in $ac_precious_vars; do
   1536   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1537   eval ac_env_${ac_var}_value=\$${ac_var}
   1538   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1539   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1540 done
   1541 
   1542 #
   1543 # Report the --help message.
   1544 #
   1545 if test "$ac_init_help" = "long"; then
   1546   # Omit some internal or obsolete options to make the list less imposing.
   1547   # This message is too long to be a string in the A/UX 3.1 sh.
   1548   cat <<_ACEOF
   1549 \`configure' configures BIND 9.18.24 to adapt to many kinds of systems.
   1550 
   1551 Usage: $0 [OPTION]... [VAR=VALUE]...
   1552 
   1553 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1554 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1555 
   1556 Defaults for the options are specified in brackets.
   1557 
   1558 Configuration:
   1559   -h, --help              display this help and exit
   1560       --help=short        display options specific to this package
   1561       --help=recursive    display the short help of all the included packages
   1562   -V, --version           display version information and exit
   1563   -q, --quiet, --silent   do not print \`checking ...' messages
   1564       --cache-file=FILE   cache test results in FILE [disabled]
   1565   -C, --config-cache      alias for \`--cache-file=config.cache'
   1566   -n, --no-create         do not create output files
   1567       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1568 
   1569 Installation directories:
   1570   --prefix=PREFIX         install architecture-independent files in PREFIX
   1571                           [$ac_default_prefix]
   1572   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1573                           [PREFIX]
   1574 
   1575 By default, \`make install' will install all the files in
   1576 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1577 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1578 for instance \`--prefix=\$HOME'.
   1579 
   1580 For better control, use the options below.
   1581 
   1582 Fine tuning of the installation directories:
   1583   --bindir=DIR            user executables [EPREFIX/bin]
   1584   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1585   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1586   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1587   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1588   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1589   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1590   --libdir=DIR            object code libraries [EPREFIX/lib]
   1591   --includedir=DIR        C header files [PREFIX/include]
   1592   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1593   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1594   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1595   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1596   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1597   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1598   --docdir=DIR            documentation root [DATAROOTDIR/doc/bind]
   1599   --htmldir=DIR           html documentation [DOCDIR]
   1600   --dvidir=DIR            dvi documentation [DOCDIR]
   1601   --pdfdir=DIR            pdf documentation [DOCDIR]
   1602   --psdir=DIR             ps documentation [DOCDIR]
   1603 _ACEOF
   1604 
   1605   cat <<\_ACEOF
   1606 
   1607 Program names:
   1608   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1609   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1610   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1611 
   1612 System types:
   1613   --build=BUILD     configure for building on BUILD [guessed]
   1614   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1615   --target=TARGET   configure for building compilers for TARGET [HOST]
   1616 _ACEOF
   1617 fi
   1618 
   1619 if test -n "$ac_init_help"; then
   1620   case $ac_init_help in
   1621      short | recursive ) echo "Configuration of BIND 9.18.24:";;
   1622    esac
   1623   cat <<\_ACEOF
   1624 
   1625 Optional Features:
   1626   --disable-option-checking  ignore unrecognized --enable/--with options
   1627   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1628   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1629   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1630   --disable-silent-rules  verbose build output (undo: "make V=0")
   1631   --disable-maintainer-mode
   1632                           disable make rules and dependencies not useful (and
   1633                           sometimes confusing) to the casual installer
   1634   --enable-dependency-tracking
   1635                           do not reject slow dependency extractors
   1636   --disable-dependency-tracking
   1637                           speeds up one-time build
   1638   --disable-largefile     omit support for large files
   1639   --enable-static[=PKGS]  build static libraries [default=no]
   1640   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1641   --enable-fast-install[=PKGS]
   1642                           optimize for fast installation [default=yes]
   1643   --disable-libtool-lock  avoid locking (might break parallel builds)
   1644   --enable-developer      enable developer build settings
   1645   --enable-warn-error     turn on -Werror when compiling
   1646   --enable-fuzzing=<afl|libfuzzer|ossfuzz>
   1647                           Enable fuzzing using American Fuzzy Lop or libFuzzer
   1648                           (default=no)
   1649   --disable-geoip         support GeoIP2 geolocation ACLs if available
   1650                           [default=yes]
   1651   --disable-doh           disable DNS over HTTPS, removes dependency on
   1652                           libnghttp2 (default is --enable-doh)
   1653   --enable-pthread-rwlock use pthread rwlock instead of internal rwlock
   1654                           implementation
   1655   --enable-fips-mode      enable FIPS mode in OpenSSL library [default=no]
   1656   --disable-tcp-fastopen  disable TCP Fast Open support [default=yes]
   1657   --disable-chroot        disable chroot
   1658   --disable-linux-caps    disable Linux capabilities
   1659   --enable-fixed-rrset    enable fixed rrset ordering [default=no]
   1660   --enable-dnstap         enable dnstap support (requires fstrm, protobuf-c)
   1661   --enable-singletrace    enable single-query trace logging [default=no]
   1662   --enable-querytrace     enable very verbose query trace logging [default=no]
   1663   --enable-auto-validation
   1664                           turn on DNSSEC validation by default, using the IANA
   1665                           root key [default=yes]
   1666   --enable-dnsrps-dl      DNS Response Policy Service delayed link
   1667                           [default=$librpz_dl]
   1668   --enable-dnsrps         enable DNS Response Policy Service API
   1669   --enable-full-report    report values of all configure options
   1670 
   1671 Optional Packages:
   1672   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1673   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1674   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1675                           both]
   1676   --with-aix-soname=aix|svr4|both
   1677                           shared library versioning (aka "SONAME") variant to
   1678                           provide on AIX, [default=aix].
   1679   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1680   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1681                           compiler's sysroot if not specified).
   1682   --with-python-sys-prefix
   1683                           use Python's sys.prefix and sys.exec_prefix values
   1684   --with-python_prefix    override the default PYTHON_PREFIX
   1685   --with-python_exec_prefix
   1686                           override the default PYTHON_EXEC_PREFIX
   1687   --with-maxminddb=PATH   Build with MaxMind GeoIP2 support (auto|yes|no|path)
   1688                           [default=auto]
   1689   --with-locktype=ARG     Specify mutex lock type (adaptive or standard)
   1690   --with-libnghttp2       build with libnghttp2 library [yes|no|auto] (default
   1691                           is auto)
   1692   --with-openssl=DIR      root of the OpenSSL directory
   1693   --with-gssapi=PATH|[/path/]krb5-config
   1694                           Specify path for system-supplied GSSAPI
   1695                           [default=auto]
   1696   --with-lmdb=[PATH]      use LMDB library [default=auto], optionally specify
   1697                           the prefix for lmdb library
   1698   --with-libxml2          build with libxml2 library [yes|no|auto] (default is
   1699                           auto)
   1700   --with-json-c           build with json-c library [yes|no|detect] (default
   1701                           is detect)
   1702   --with-zlib             build with zlib for HTTP compression [default=yes]
   1703   --with-readline=yes|no|libedit|readline
   1704                           specify readline library [default auto]
   1705   --with-libidn2=PATH     enable IDN support using GNU libidn2
   1706                           [yes|no(default)|path]
   1707   --with-cmocka=detect    enable CMocka based tests (default is detect)
   1708   --with-jemalloc=detect  enable jemalloc memory allocator (default is detect)
   1709   --with-tuning=ARG       Specify server tuning (default or small)
   1710   --with-dnsrps-libname   DNSRPS provider library name (librpz.so)
   1711   --with-dnsrps-dir       path to DNSRPS provider library
   1712 
   1713 Some influential environment variables:
   1714   CC          C compiler command
   1715   CFLAGS      C compiler flags
   1716   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1717               nonstandard directory <lib dir>
   1718   LIBS        libraries to pass to the linker, e.g. -l<library>
   1719   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1720               you have headers in a nonstandard directory <include dir>
   1721   CPP         C preprocessor
   1722   LT_SYS_LIBRARY_PATH
   1723               User-defined run-time library search path.
   1724   PKG_CONFIG  path to pkg-config utility
   1725   PKG_CONFIG_PATH
   1726               directories to add to pkg-config's search path
   1727   PKG_CONFIG_LIBDIR
   1728               path overriding pkg-config's built-in search path
   1729   PYTHON      the Python interpreter
   1730   MAXMINDDB_CFLAGS
   1731               C compiler flags for MAXMINDDB, overriding pkg-config
   1732   MAXMINDDB_LIBS
   1733               linker flags for MAXMINDDB, overriding pkg-config
   1734   MAXMINDDB_PREFIX
   1735               value of prefix for libmaxminddb, overriding pkg-config
   1736   LIBUV_CFLAGS
   1737               C compiler flags for LIBUV, overriding pkg-config
   1738   LIBUV_LIBS  linker flags for LIBUV, overriding pkg-config
   1739   LIBNGHTTP2_CFLAGS
   1740               C compiler flags for LIBNGHTTP2, overriding pkg-config
   1741   LIBNGHTTP2_LIBS
   1742               linker flags for LIBNGHTTP2, overriding pkg-config
   1743   OPENSSL_CFLAGS
   1744               C compiler flags for OPENSSL, overriding pkg-config
   1745   OPENSSL_LIBS
   1746               linker flags for OPENSSL, overriding pkg-config
   1747   LMDB_CFLAGS C compiler flags for LMDB, overriding pkg-config
   1748   LMDB_LIBS   linker flags for LMDB, overriding pkg-config
   1749   LIBXML2_CFLAGS
   1750               C compiler flags for LIBXML2, overriding pkg-config
   1751   LIBXML2_LIBS
   1752               linker flags for LIBXML2, overriding pkg-config
   1753   JSON_C_CFLAGS
   1754               C compiler flags for JSON_C, overriding pkg-config
   1755   JSON_C_LIBS linker flags for JSON_C, overriding pkg-config
   1756   ZLIB_CFLAGS C compiler flags for ZLIB, overriding pkg-config
   1757   ZLIB_LIBS   linker flags for ZLIB, overriding pkg-config
   1758   READLINE_CFLAGS
   1759               C compiler flags for READLINE, overriding pkg-config
   1760   READLINE_LIBS
   1761               linker flags for READLINE, overriding pkg-config
   1762   DNSTAP_CFLAGS
   1763               C compiler flags for DNSTAP, overriding pkg-config
   1764   DNSTAP_LIBS linker flags for DNSTAP, overriding pkg-config
   1765   SPHINX_BUILD
   1766               path to sphinx-build binary used to build the documentation
   1767   LIBIDN2_CFLAGS
   1768               C compiler flags for LIBIDN2, overriding pkg-config
   1769   LIBIDN2_LIBS
   1770               linker flags for LIBIDN2, overriding pkg-config
   1771   CMOCKA_CFLAGS
   1772               C compiler flags for CMOCKA, overriding pkg-config
   1773   CMOCKA_LIBS linker flags for CMOCKA, overriding pkg-config
   1774   JEMALLOC_CFLAGS
   1775               C compiler flags for JEMALLOC, overriding pkg-config
   1776   JEMALLOC_LIBS
   1777               linker flags for JEMALLOC, overriding pkg-config
   1778 
   1779 Use these variables to override the choices made by `configure' or to help
   1780 it to find libraries and programs with nonstandard names/locations.
   1781 
   1782 Report bugs to <https://gitlab.isc.org/isc-projects/bind9/-/issues/new?issuable_template=Bug>.
   1783 BIND home page: <https://www.isc.org/downloads/>.
   1784 _ACEOF
   1785 ac_status=$?
   1786 fi
   1787 
   1788 if test "$ac_init_help" = "recursive"; then
   1789   # If there are subdirs, report their specific --help.
   1790   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1791     test -d "$ac_dir" ||
   1792       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1793       continue
   1794     ac_builddir=.
   1795 
   1796 case "$ac_dir" in
   1797 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1798 *)
   1799   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1800   # A ".." for each directory in $ac_dir_suffix.
   1801   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1802   case $ac_top_builddir_sub in
   1803   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1804   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1805   esac ;;
   1806 esac
   1807 ac_abs_top_builddir=$ac_pwd
   1808 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1809 # for backward compatibility:
   1810 ac_top_builddir=$ac_top_build_prefix
   1811 
   1812 case $srcdir in
   1813   .)  # We are building in place.
   1814     ac_srcdir=.
   1815     ac_top_srcdir=$ac_top_builddir_sub
   1816     ac_abs_top_srcdir=$ac_pwd ;;
   1817   [\\/]* | ?:[\\/]* )  # Absolute name.
   1818     ac_srcdir=$srcdir$ac_dir_suffix;
   1819     ac_top_srcdir=$srcdir
   1820     ac_abs_top_srcdir=$srcdir ;;
   1821   *) # Relative name.
   1822     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1823     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1824     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1825 esac
   1826 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1827 
   1828     cd "$ac_dir" || { ac_status=$?; continue; }
   1829     # Check for configure.gnu first; this name is used for a wrapper for
   1830     # Metaconfig's "Configure" on case-insensitive file systems.
   1831     if test -f "$ac_srcdir/configure.gnu"; then
   1832       echo &&
   1833       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1834     elif test -f "$ac_srcdir/configure"; then
   1835       echo &&
   1836       $SHELL "$ac_srcdir/configure" --help=recursive
   1837     else
   1838       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1839     fi || ac_status=$?
   1840     cd "$ac_pwd" || { ac_status=$?; break; }
   1841   done
   1842 fi
   1843 
   1844 test -n "$ac_init_help" && exit $ac_status
   1845 if $ac_init_version; then
   1846   cat <<\_ACEOF
   1847 BIND configure 9.18.24
   1848 generated by GNU Autoconf 2.71
   1849 
   1850 Copyright (C) 2021 Free Software Foundation, Inc.
   1851 This configure script is free software; the Free Software Foundation
   1852 gives unlimited permission to copy, distribute and modify it.
   1853 _ACEOF
   1854   exit
   1855 fi
   1856 
   1857 ## ------------------------ ##
   1858 ## Autoconf initialization. ##
   1859 ## ------------------------ ##
   1860 
   1861 # ac_fn_c_try_compile LINENO
   1862 # --------------------------
   1863 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1864 ac_fn_c_try_compile ()
   1865 {
   1866   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1867   rm -f conftest.$ac_objext conftest.beam
   1868   if { { ac_try="$ac_compile"
   1869 case "(($ac_try" in
   1870   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1871   *) ac_try_echo=$ac_try;;
   1872 esac
   1873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1874 printf "%s\n" "$ac_try_echo"; } >&5
   1875   (eval "$ac_compile") 2>conftest.err
   1876   ac_status=$?
   1877   if test -s conftest.err; then
   1878     grep -v '^ *+' conftest.err >conftest.er1
   1879     cat conftest.er1 >&5
   1880     mv -f conftest.er1 conftest.err
   1881   fi
   1882   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1883   test $ac_status = 0; } && {
   1884 	 test -z "$ac_c_werror_flag" ||
   1885 	 test ! -s conftest.err
   1886        } && test -s conftest.$ac_objext
   1887 then :
   1888   ac_retval=0
   1889 else $as_nop
   1890   printf "%s\n" "$as_me: failed program was:" >&5
   1891 sed 's/^/| /' conftest.$ac_ext >&5
   1892 
   1893 	ac_retval=1
   1894 fi
   1895   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1896   as_fn_set_status $ac_retval
   1897 
   1898 } # ac_fn_c_try_compile
   1899 
   1900 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1901 # -------------------------------------------------------
   1902 # Tests whether HEADER exists and can be compiled using the include files in
   1903 # INCLUDES, setting the cache variable VAR accordingly.
   1904 ac_fn_c_check_header_compile ()
   1905 {
   1906   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1907   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1908 printf %s "checking for $2... " >&6; }
   1909 if eval test \${$3+y}
   1910 then :
   1911   printf %s "(cached) " >&6
   1912 else $as_nop
   1913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1914 /* end confdefs.h.  */
   1915 $4
   1916 #include <$2>
   1917 _ACEOF
   1918 if ac_fn_c_try_compile "$LINENO"
   1919 then :
   1920   eval "$3=yes"
   1921 else $as_nop
   1922   eval "$3=no"
   1923 fi
   1924 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1925 fi
   1926 eval ac_res=\$$3
   1927 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1928 printf "%s\n" "$ac_res" >&6; }
   1929   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1930 
   1931 } # ac_fn_c_check_header_compile
   1932 
   1933 # ac_fn_c_try_cpp LINENO
   1934 # ----------------------
   1935 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1936 ac_fn_c_try_cpp ()
   1937 {
   1938   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1939   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1940 case "(($ac_try" in
   1941   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1942   *) ac_try_echo=$ac_try;;
   1943 esac
   1944 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1945 printf "%s\n" "$ac_try_echo"; } >&5
   1946   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1947   ac_status=$?
   1948   if test -s conftest.err; then
   1949     grep -v '^ *+' conftest.err >conftest.er1
   1950     cat conftest.er1 >&5
   1951     mv -f conftest.er1 conftest.err
   1952   fi
   1953   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1954   test $ac_status = 0; } > conftest.i && {
   1955 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1956 	 test ! -s conftest.err
   1957        }
   1958 then :
   1959   ac_retval=0
   1960 else $as_nop
   1961   printf "%s\n" "$as_me: failed program was:" >&5
   1962 sed 's/^/| /' conftest.$ac_ext >&5
   1963 
   1964     ac_retval=1
   1965 fi
   1966   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1967   as_fn_set_status $ac_retval
   1968 
   1969 } # ac_fn_c_try_cpp
   1970 
   1971 # ac_fn_c_try_run LINENO
   1972 # ----------------------
   1973 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   1974 # executables *can* be run.
   1975 ac_fn_c_try_run ()
   1976 {
   1977   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1978   if { { ac_try="$ac_link"
   1979 case "(($ac_try" in
   1980   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1981   *) ac_try_echo=$ac_try;;
   1982 esac
   1983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1984 printf "%s\n" "$ac_try_echo"; } >&5
   1985   (eval "$ac_link") 2>&5
   1986   ac_status=$?
   1987   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1988   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1989   { { case "(($ac_try" in
   1990   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1991   *) ac_try_echo=$ac_try;;
   1992 esac
   1993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1994 printf "%s\n" "$ac_try_echo"; } >&5
   1995   (eval "$ac_try") 2>&5
   1996   ac_status=$?
   1997   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1998   test $ac_status = 0; }; }
   1999 then :
   2000   ac_retval=0
   2001 else $as_nop
   2002   printf "%s\n" "$as_me: program exited with status $ac_status" >&5
   2003        printf "%s\n" "$as_me: failed program was:" >&5
   2004 sed 's/^/| /' conftest.$ac_ext >&5
   2005 
   2006        ac_retval=$ac_status
   2007 fi
   2008   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2009   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2010   as_fn_set_status $ac_retval
   2011 
   2012 } # ac_fn_c_try_run
   2013 
   2014 # ac_fn_c_try_link LINENO
   2015 # -----------------------
   2016 # Try to link conftest.$ac_ext, and return whether this succeeded.
   2017 ac_fn_c_try_link ()
   2018 {
   2019   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2020   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   2021   if { { ac_try="$ac_link"
   2022 case "(($ac_try" in
   2023   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2024   *) ac_try_echo=$ac_try;;
   2025 esac
   2026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2027 printf "%s\n" "$ac_try_echo"; } >&5
   2028   (eval "$ac_link") 2>conftest.err
   2029   ac_status=$?
   2030   if test -s conftest.err; then
   2031     grep -v '^ *+' conftest.err >conftest.er1
   2032     cat conftest.er1 >&5
   2033     mv -f conftest.er1 conftest.err
   2034   fi
   2035   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2036   test $ac_status = 0; } && {
   2037 	 test -z "$ac_c_werror_flag" ||
   2038 	 test ! -s conftest.err
   2039        } && test -s conftest$ac_exeext && {
   2040 	 test "$cross_compiling" = yes ||
   2041 	 test -x conftest$ac_exeext
   2042        }
   2043 then :
   2044   ac_retval=0
   2045 else $as_nop
   2046   printf "%s\n" "$as_me: failed program was:" >&5
   2047 sed 's/^/| /' conftest.$ac_ext >&5
   2048 
   2049 	ac_retval=1
   2050 fi
   2051   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2052   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2053   # interfere with the next link command; also delete a directory that is
   2054   # left behind by Apple's compiler.  We do this before executing the actions.
   2055   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2056   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2057   as_fn_set_status $ac_retval
   2058 
   2059 } # ac_fn_c_try_link
   2060 
   2061 # ac_fn_c_check_func LINENO FUNC VAR
   2062 # ----------------------------------
   2063 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   2064 ac_fn_c_check_func ()
   2065 {
   2066   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2067   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2068 printf %s "checking for $2... " >&6; }
   2069 if eval test \${$3+y}
   2070 then :
   2071   printf %s "(cached) " >&6
   2072 else $as_nop
   2073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2074 /* end confdefs.h.  */
   2075 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   2076    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   2077 #define $2 innocuous_$2
   2078 
   2079 /* System header to define __stub macros and hopefully few prototypes,
   2080    which can conflict with char $2 (); below.  */
   2081 
   2082 #include <limits.h>
   2083 #undef $2
   2084 
   2085 /* Override any GCC internal prototype to avoid an error.
   2086    Use char because int might match the return type of a GCC
   2087    builtin and then its argument prototype would still apply.  */
   2088 #ifdef __cplusplus
   2089 extern "C"
   2090 #endif
   2091 char $2 ();
   2092 /* The GNU C library defines this for functions which it implements
   2093     to always fail with ENOSYS.  Some functions are actually named
   2094     something starting with __ and the normal name is an alias.  */
   2095 #if defined __stub_$2 || defined __stub___$2
   2096 choke me
   2097 #endif
   2098 
   2099 int
   2100 main (void)
   2101 {
   2102 return $2 ();
   2103   ;
   2104   return 0;
   2105 }
   2106 _ACEOF
   2107 if ac_fn_c_try_link "$LINENO"
   2108 then :
   2109   eval "$3=yes"
   2110 else $as_nop
   2111   eval "$3=no"
   2112 fi
   2113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   2114     conftest$ac_exeext conftest.$ac_ext
   2115 fi
   2116 eval ac_res=\$$3
   2117 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2118 printf "%s\n" "$ac_res" >&6; }
   2119   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2120 
   2121 } # ac_fn_c_check_func
   2122 
   2123 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2124 # -------------------------------------------
   2125 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2126 # variable VAR accordingly.
   2127 ac_fn_c_check_type ()
   2128 {
   2129   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2130   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2131 printf %s "checking for $2... " >&6; }
   2132 if eval test \${$3+y}
   2133 then :
   2134   printf %s "(cached) " >&6
   2135 else $as_nop
   2136   eval "$3=no"
   2137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2138 /* end confdefs.h.  */
   2139 $4
   2140 int
   2141 main (void)
   2142 {
   2143 if (sizeof ($2))
   2144 	 return 0;
   2145   ;
   2146   return 0;
   2147 }
   2148 _ACEOF
   2149 if ac_fn_c_try_compile "$LINENO"
   2150 then :
   2151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2152 /* end confdefs.h.  */
   2153 $4
   2154 int
   2155 main (void)
   2156 {
   2157 if (sizeof (($2)))
   2158 	    return 0;
   2159   ;
   2160   return 0;
   2161 }
   2162 _ACEOF
   2163 if ac_fn_c_try_compile "$LINENO"
   2164 then :
   2165 
   2166 else $as_nop
   2167   eval "$3=yes"
   2168 fi
   2169 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2170 fi
   2171 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2172 fi
   2173 eval ac_res=\$$3
   2174 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2175 printf "%s\n" "$ac_res" >&6; }
   2176   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2177 
   2178 } # ac_fn_c_check_type
   2179 
   2180 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   2181 # ------------------------------------------------------------------
   2182 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2183 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   2184 ac_fn_check_decl ()
   2185 {
   2186   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2187   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2188   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2189 printf %s "checking whether $as_decl_name is declared... " >&6; }
   2190 if eval test \${$3+y}
   2191 then :
   2192   printf %s "(cached) " >&6
   2193 else $as_nop
   2194   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2195   eval ac_save_FLAGS=\$$6
   2196   as_fn_append $6 " $5"
   2197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2198 /* end confdefs.h.  */
   2199 $4
   2200 int
   2201 main (void)
   2202 {
   2203 #ifndef $as_decl_name
   2204 #ifdef __cplusplus
   2205   (void) $as_decl_use;
   2206 #else
   2207   (void) $as_decl_name;
   2208 #endif
   2209 #endif
   2210 
   2211   ;
   2212   return 0;
   2213 }
   2214 _ACEOF
   2215 if ac_fn_c_try_compile "$LINENO"
   2216 then :
   2217   eval "$3=yes"
   2218 else $as_nop
   2219   eval "$3=no"
   2220 fi
   2221 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2222   eval $6=\$ac_save_FLAGS
   2223 
   2224 fi
   2225 eval ac_res=\$$3
   2226 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2227 printf "%s\n" "$ac_res" >&6; }
   2228   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2229 
   2230 } # ac_fn_check_decl
   2231 ac_configure_args_raw=
   2232 for ac_arg
   2233 do
   2234   case $ac_arg in
   2235   *\'*)
   2236     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2237   esac
   2238   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2239 done
   2240 
   2241 case $ac_configure_args_raw in
   2242   *$as_nl*)
   2243     ac_safe_unquote= ;;
   2244   *)
   2245     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2246     ac_unsafe_a="$ac_unsafe_z#~"
   2247     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2248     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2249 esac
   2250 
   2251 cat >config.log <<_ACEOF
   2252 This file contains any messages produced by compilers while
   2253 running configure, to aid debugging if configure makes a mistake.
   2254 
   2255 It was created by BIND $as_me 9.18.24, which was
   2256 generated by GNU Autoconf 2.71.  Invocation command line was
   2257 
   2258   $ $0$ac_configure_args_raw
   2259 
   2260 _ACEOF
   2261 exec 5>>config.log
   2262 {
   2263 cat <<_ASUNAME
   2264 ## --------- ##
   2265 ## Platform. ##
   2266 ## --------- ##
   2267 
   2268 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2269 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2270 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2271 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2272 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2273 
   2274 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2275 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2276 
   2277 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2278 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2279 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2280 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2281 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2282 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2283 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2284 
   2285 _ASUNAME
   2286 
   2287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2288 for as_dir in $PATH
   2289 do
   2290   IFS=$as_save_IFS
   2291   case $as_dir in #(((
   2292     '') as_dir=./ ;;
   2293     */) ;;
   2294     *) as_dir=$as_dir/ ;;
   2295   esac
   2296     printf "%s\n" "PATH: $as_dir"
   2297   done
   2298 IFS=$as_save_IFS
   2299 
   2300 } >&5
   2301 
   2302 cat >&5 <<_ACEOF
   2303 
   2304 
   2305 ## ----------- ##
   2306 ## Core tests. ##
   2307 ## ----------- ##
   2308 
   2309 _ACEOF
   2310 
   2311 
   2312 # Keep a trace of the command line.
   2313 # Strip out --no-create and --no-recursion so they do not pile up.
   2314 # Strip out --silent because we don't want to record it for future runs.
   2315 # Also quote any args containing shell meta-characters.
   2316 # Make two passes to allow for proper duplicate-argument suppression.
   2317 ac_configure_args=
   2318 ac_configure_args0=
   2319 ac_configure_args1=
   2320 ac_must_keep_next=false
   2321 for ac_pass in 1 2
   2322 do
   2323   for ac_arg
   2324   do
   2325     case $ac_arg in
   2326     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2327     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2328     | -silent | --silent | --silen | --sile | --sil)
   2329       continue ;;
   2330     *\'*)
   2331       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2332     esac
   2333     case $ac_pass in
   2334     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2335     2)
   2336       as_fn_append ac_configure_args1 " '$ac_arg'"
   2337       if test $ac_must_keep_next = true; then
   2338 	ac_must_keep_next=false # Got value, back to normal.
   2339       else
   2340 	case $ac_arg in
   2341 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2342 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2343 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2344 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2345 	    case "$ac_configure_args0 " in
   2346 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2347 	    esac
   2348 	    ;;
   2349 	  -* ) ac_must_keep_next=true ;;
   2350 	esac
   2351       fi
   2352       as_fn_append ac_configure_args " '$ac_arg'"
   2353       ;;
   2354     esac
   2355   done
   2356 done
   2357 { ac_configure_args0=; unset ac_configure_args0;}
   2358 { ac_configure_args1=; unset ac_configure_args1;}
   2359 
   2360 # When interrupted or exit'd, cleanup temporary files, and complete
   2361 # config.log.  We remove comments because anyway the quotes in there
   2362 # would cause problems or look ugly.
   2363 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2364 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2365 trap 'exit_status=$?
   2366   # Sanitize IFS.
   2367   IFS=" ""	$as_nl"
   2368   # Save into config.log some information that might help in debugging.
   2369   {
   2370     echo
   2371 
   2372     printf "%s\n" "## ---------------- ##
   2373 ## Cache variables. ##
   2374 ## ---------------- ##"
   2375     echo
   2376     # The following way of writing the cache mishandles newlines in values,
   2377 (
   2378   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2379     eval ac_val=\$$ac_var
   2380     case $ac_val in #(
   2381     *${as_nl}*)
   2382       case $ac_var in #(
   2383       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2384 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2385       esac
   2386       case $ac_var in #(
   2387       _ | IFS | as_nl) ;; #(
   2388       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2389       *) { eval $ac_var=; unset $ac_var;} ;;
   2390       esac ;;
   2391     esac
   2392   done
   2393   (set) 2>&1 |
   2394     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2395     *${as_nl}ac_space=\ *)
   2396       sed -n \
   2397 	"s/'\''/'\''\\\\'\'''\''/g;
   2398 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2399       ;; #(
   2400     *)
   2401       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2402       ;;
   2403     esac |
   2404     sort
   2405 )
   2406     echo
   2407 
   2408     printf "%s\n" "## ----------------- ##
   2409 ## Output variables. ##
   2410 ## ----------------- ##"
   2411     echo
   2412     for ac_var in $ac_subst_vars
   2413     do
   2414       eval ac_val=\$$ac_var
   2415       case $ac_val in
   2416       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2417       esac
   2418       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2419     done | sort
   2420     echo
   2421 
   2422     if test -n "$ac_subst_files"; then
   2423       printf "%s\n" "## ------------------- ##
   2424 ## File substitutions. ##
   2425 ## ------------------- ##"
   2426       echo
   2427       for ac_var in $ac_subst_files
   2428       do
   2429 	eval ac_val=\$$ac_var
   2430 	case $ac_val in
   2431 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2432 	esac
   2433 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2434       done | sort
   2435       echo
   2436     fi
   2437 
   2438     if test -s confdefs.h; then
   2439       printf "%s\n" "## ----------- ##
   2440 ## confdefs.h. ##
   2441 ## ----------- ##"
   2442       echo
   2443       cat confdefs.h
   2444       echo
   2445     fi
   2446     test "$ac_signal" != 0 &&
   2447       printf "%s\n" "$as_me: caught signal $ac_signal"
   2448     printf "%s\n" "$as_me: exit $exit_status"
   2449   } >&5
   2450   rm -f core *.core core.conftest.* &&
   2451     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2452     exit $exit_status
   2453 ' 0
   2454 for ac_signal in 1 2 13 15; do
   2455   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2456 done
   2457 ac_signal=0
   2458 
   2459 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2460 rm -f -r conftest* confdefs.h
   2461 
   2462 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2463 
   2464 # Predefined preprocessor variables.
   2465 
   2466 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2467 
   2468 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2469 
   2470 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2471 
   2472 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2473 
   2474 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2475 
   2476 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2477 
   2478 
   2479 # Let the site file select an alternate cache file if it wants to.
   2480 # Prefer an explicitly selected file to automatically selected ones.
   2481 if test -n "$CONFIG_SITE"; then
   2482   ac_site_files="$CONFIG_SITE"
   2483 elif test "x$prefix" != xNONE; then
   2484   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2485 else
   2486   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2487 fi
   2488 
   2489 for ac_site_file in $ac_site_files
   2490 do
   2491   case $ac_site_file in #(
   2492   */*) :
   2493      ;; #(
   2494   *) :
   2495     ac_site_file=./$ac_site_file ;;
   2496 esac
   2497   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2498     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2499 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2500     sed 's/^/| /' "$ac_site_file" >&5
   2501     . "$ac_site_file" \
   2502       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2503 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2504 as_fn_error $? "failed to load site script $ac_site_file
   2505 See \`config.log' for more details" "$LINENO" 5; }
   2506   fi
   2507 done
   2508 
   2509 if test -r "$cache_file"; then
   2510   # Some versions of bash will fail to source /dev/null (special files
   2511   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2512   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2513     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2514 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2515     case $cache_file in
   2516       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2517       *)                      . "./$cache_file";;
   2518     esac
   2519   fi
   2520 else
   2521   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2522 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2523   >$cache_file
   2524 fi
   2525 
   2526 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2527 # Test code for whether the C compiler supports C89 (global declarations)
   2528 ac_c_conftest_c89_globals='
   2529 /* Does the compiler advertise C89 conformance?
   2530    Do not test the value of __STDC__, because some compilers set it to 0
   2531    while being otherwise adequately conformant. */
   2532 #if !defined __STDC__
   2533 # error "Compiler does not advertise C89 conformance"
   2534 #endif
   2535 
   2536 #include <stddef.h>
   2537 #include <stdarg.h>
   2538 struct stat;
   2539 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2540 struct buf { int x; };
   2541 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2542 static char *e (p, i)
   2543      char **p;
   2544      int i;
   2545 {
   2546   return p[i];
   2547 }
   2548 static char *f (char * (*g) (char **, int), char **p, ...)
   2549 {
   2550   char *s;
   2551   va_list v;
   2552   va_start (v,p);
   2553   s = g (p, va_arg (v,int));
   2554   va_end (v);
   2555   return s;
   2556 }
   2557 
   2558 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2559    function prototypes and stuff, but not \xHH hex character constants.
   2560    These do not provoke an error unfortunately, instead are silently treated
   2561    as an "x".  The following induces an error, until -std is added to get
   2562    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2563    array size at least.  It is necessary to write \x00 == 0 to get something
   2564    that is true only with -std.  */
   2565 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2566 
   2567 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2568    inside strings and character constants.  */
   2569 #define FOO(x) '\''x'\''
   2570 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2571 
   2572 int test (int i, double x);
   2573 struct s1 {int (*f) (int a);};
   2574 struct s2 {int (*f) (double a);};
   2575 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2576                int, int);'
   2577 
   2578 # Test code for whether the C compiler supports C89 (body of main).
   2579 ac_c_conftest_c89_main='
   2580 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2581 '
   2582 
   2583 # Test code for whether the C compiler supports C99 (global declarations)
   2584 ac_c_conftest_c99_globals='
   2585 // Does the compiler advertise C99 conformance?
   2586 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2587 # error "Compiler does not advertise C99 conformance"
   2588 #endif
   2589 
   2590 #include <stdbool.h>
   2591 extern int puts (const char *);
   2592 extern int printf (const char *, ...);
   2593 extern int dprintf (int, const char *, ...);
   2594 extern void *malloc (size_t);
   2595 
   2596 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2597 // dprintf is used instead of fprintf to avoid needing to declare
   2598 // FILE and stderr.
   2599 #define debug(...) dprintf (2, __VA_ARGS__)
   2600 #define showlist(...) puts (#__VA_ARGS__)
   2601 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2602 static void
   2603 test_varargs_macros (void)
   2604 {
   2605   int x = 1234;
   2606   int y = 5678;
   2607   debug ("Flag");
   2608   debug ("X = %d\n", x);
   2609   showlist (The first, second, and third items.);
   2610   report (x>y, "x is %d but y is %d", x, y);
   2611 }
   2612 
   2613 // Check long long types.
   2614 #define BIG64 18446744073709551615ull
   2615 #define BIG32 4294967295ul
   2616 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2617 #if !BIG_OK
   2618   #error "your preprocessor is broken"
   2619 #endif
   2620 #if BIG_OK
   2621 #else
   2622   #error "your preprocessor is broken"
   2623 #endif
   2624 static long long int bignum = -9223372036854775807LL;
   2625 static unsigned long long int ubignum = BIG64;
   2626 
   2627 struct incomplete_array
   2628 {
   2629   int datasize;
   2630   double data[];
   2631 };
   2632 
   2633 struct named_init {
   2634   int number;
   2635   const wchar_t *name;
   2636   double average;
   2637 };
   2638 
   2639 typedef const char *ccp;
   2640 
   2641 static inline int
   2642 test_restrict (ccp restrict text)
   2643 {
   2644   // See if C++-style comments work.
   2645   // Iterate through items via the restricted pointer.
   2646   // Also check for declarations in for loops.
   2647   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2648     continue;
   2649   return 0;
   2650 }
   2651 
   2652 // Check varargs and va_copy.
   2653 static bool
   2654 test_varargs (const char *format, ...)
   2655 {
   2656   va_list args;
   2657   va_start (args, format);
   2658   va_list args_copy;
   2659   va_copy (args_copy, args);
   2660 
   2661   const char *str = "";
   2662   int number = 0;
   2663   float fnumber = 0;
   2664 
   2665   while (*format)
   2666     {
   2667       switch (*format++)
   2668 	{
   2669 	case '\''s'\'': // string
   2670 	  str = va_arg (args_copy, const char *);
   2671 	  break;
   2672 	case '\''d'\'': // int
   2673 	  number = va_arg (args_copy, int);
   2674 	  break;
   2675 	case '\''f'\'': // float
   2676 	  fnumber = va_arg (args_copy, double);
   2677 	  break;
   2678 	default:
   2679 	  break;
   2680 	}
   2681     }
   2682   va_end (args_copy);
   2683   va_end (args);
   2684 
   2685   return *str && number && fnumber;
   2686 }
   2687 '
   2688 
   2689 # Test code for whether the C compiler supports C99 (body of main).
   2690 ac_c_conftest_c99_main='
   2691   // Check bool.
   2692   _Bool success = false;
   2693   success |= (argc != 0);
   2694 
   2695   // Check restrict.
   2696   if (test_restrict ("String literal") == 0)
   2697     success = true;
   2698   char *restrict newvar = "Another string";
   2699 
   2700   // Check varargs.
   2701   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2702   test_varargs_macros ();
   2703 
   2704   // Check flexible array members.
   2705   struct incomplete_array *ia =
   2706     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2707   ia->datasize = 10;
   2708   for (int i = 0; i < ia->datasize; ++i)
   2709     ia->data[i] = i * 1.234;
   2710 
   2711   // Check named initializers.
   2712   struct named_init ni = {
   2713     .number = 34,
   2714     .name = L"Test wide string",
   2715     .average = 543.34343,
   2716   };
   2717 
   2718   ni.number = 58;
   2719 
   2720   int dynamic_array[ni.number];
   2721   dynamic_array[0] = argv[0][0];
   2722   dynamic_array[ni.number - 1] = 543;
   2723 
   2724   // work around unused variable warnings
   2725   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2726 	 || dynamic_array[ni.number - 1] != 543);
   2727 '
   2728 
   2729 # Test code for whether the C compiler supports C11 (global declarations)
   2730 ac_c_conftest_c11_globals='
   2731 // Does the compiler advertise C11 conformance?
   2732 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2733 # error "Compiler does not advertise C11 conformance"
   2734 #endif
   2735 
   2736 // Check _Alignas.
   2737 char _Alignas (double) aligned_as_double;
   2738 char _Alignas (0) no_special_alignment;
   2739 extern char aligned_as_int;
   2740 char _Alignas (0) _Alignas (int) aligned_as_int;
   2741 
   2742 // Check _Alignof.
   2743 enum
   2744 {
   2745   int_alignment = _Alignof (int),
   2746   int_array_alignment = _Alignof (int[100]),
   2747   char_alignment = _Alignof (char)
   2748 };
   2749 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2750 
   2751 // Check _Noreturn.
   2752 int _Noreturn does_not_return (void) { for (;;) continue; }
   2753 
   2754 // Check _Static_assert.
   2755 struct test_static_assert
   2756 {
   2757   int x;
   2758   _Static_assert (sizeof (int) <= sizeof (long int),
   2759                   "_Static_assert does not work in struct");
   2760   long int y;
   2761 };
   2762 
   2763 // Check UTF-8 literals.
   2764 #define u8 syntax error!
   2765 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2766 
   2767 // Check duplicate typedefs.
   2768 typedef long *long_ptr;
   2769 typedef long int *long_ptr;
   2770 typedef long_ptr long_ptr;
   2771 
   2772 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2773 struct anonymous
   2774 {
   2775   union {
   2776     struct { int i; int j; };
   2777     struct { int k; long int l; } w;
   2778   };
   2779   int m;
   2780 } v1;
   2781 '
   2782 
   2783 # Test code for whether the C compiler supports C11 (body of main).
   2784 ac_c_conftest_c11_main='
   2785   _Static_assert ((offsetof (struct anonymous, i)
   2786 		   == offsetof (struct anonymous, w.k)),
   2787 		  "Anonymous union alignment botch");
   2788   v1.i = 2;
   2789   v1.w.k = 5;
   2790   ok |= v1.i != 5;
   2791 '
   2792 
   2793 # Test code for whether the C compiler supports C11 (complete).
   2794 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2795 ${ac_c_conftest_c99_globals}
   2796 ${ac_c_conftest_c11_globals}
   2797 
   2798 int
   2799 main (int argc, char **argv)
   2800 {
   2801   int ok = 0;
   2802   ${ac_c_conftest_c89_main}
   2803   ${ac_c_conftest_c99_main}
   2804   ${ac_c_conftest_c11_main}
   2805   return ok;
   2806 }
   2807 "
   2808 
   2809 # Test code for whether the C compiler supports C99 (complete).
   2810 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2811 ${ac_c_conftest_c99_globals}
   2812 
   2813 int
   2814 main (int argc, char **argv)
   2815 {
   2816   int ok = 0;
   2817   ${ac_c_conftest_c89_main}
   2818   ${ac_c_conftest_c99_main}
   2819   return ok;
   2820 }
   2821 "
   2822 
   2823 # Test code for whether the C compiler supports C89 (complete).
   2824 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2825 
   2826 int
   2827 main (int argc, char **argv)
   2828 {
   2829   int ok = 0;
   2830   ${ac_c_conftest_c89_main}
   2831   return ok;
   2832 }
   2833 "
   2834 
   2835 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2836 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2837 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2838 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2839 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2840 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2841 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2842 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2843 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2844 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2845 
   2846 # Auxiliary files required by this configure script.
   2847 ac_aux_files="ltmain.sh ar-lib compile missing install-sh config.guess config.sub"
   2848 
   2849 # Locations in which to look for auxiliary files.
   2850 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2851 
   2852 # Search for a directory containing all of the required auxiliary files,
   2853 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2854 # If we don't find one directory that contains all the files we need,
   2855 # we report the set of missing files from the *first* directory in
   2856 # $ac_aux_dir_candidates and give up.
   2857 ac_missing_aux_files=""
   2858 ac_first_candidate=:
   2859 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2861 as_found=false
   2862 for as_dir in $ac_aux_dir_candidates
   2863 do
   2864   IFS=$as_save_IFS
   2865   case $as_dir in #(((
   2866     '') as_dir=./ ;;
   2867     */) ;;
   2868     *) as_dir=$as_dir/ ;;
   2869   esac
   2870   as_found=:
   2871 
   2872   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2873   ac_aux_dir_found=yes
   2874   ac_install_sh=
   2875   for ac_aux in $ac_aux_files
   2876   do
   2877     # As a special case, if "install-sh" is required, that requirement
   2878     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2879     # and $ac_install_sh is set appropriately for whichever one is found.
   2880     if test x"$ac_aux" = x"install-sh"
   2881     then
   2882       if test -f "${as_dir}install-sh"; then
   2883         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2884         ac_install_sh="${as_dir}install-sh -c"
   2885       elif test -f "${as_dir}install.sh"; then
   2886         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2887         ac_install_sh="${as_dir}install.sh -c"
   2888       elif test -f "${as_dir}shtool"; then
   2889         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2890         ac_install_sh="${as_dir}shtool install -c"
   2891       else
   2892         ac_aux_dir_found=no
   2893         if $ac_first_candidate; then
   2894           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2895         else
   2896           break
   2897         fi
   2898       fi
   2899     else
   2900       if test -f "${as_dir}${ac_aux}"; then
   2901         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2902       else
   2903         ac_aux_dir_found=no
   2904         if $ac_first_candidate; then
   2905           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2906         else
   2907           break
   2908         fi
   2909       fi
   2910     fi
   2911   done
   2912   if test "$ac_aux_dir_found" = yes; then
   2913     ac_aux_dir="$as_dir"
   2914     break
   2915   fi
   2916   ac_first_candidate=false
   2917 
   2918   as_found=false
   2919 done
   2920 IFS=$as_save_IFS
   2921 if $as_found
   2922 then :
   2923 
   2924 else $as_nop
   2925   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2926 fi
   2927 
   2928 
   2929 # These three variables are undocumented and unsupported,
   2930 # and are intended to be withdrawn in a future Autoconf release.
   2931 # They can cause serious problems if a builder's source tree is in a directory
   2932 # whose full name contains unusual characters.
   2933 if test -f "${ac_aux_dir}config.guess"; then
   2934   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2935 fi
   2936 if test -f "${ac_aux_dir}config.sub"; then
   2937   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2938 fi
   2939 if test -f "$ac_aux_dir/configure"; then
   2940   ac_configure="$SHELL ${ac_aux_dir}configure"
   2941 fi
   2942 
   2943 # Check that the precious variables saved in the cache have kept the same
   2944 # value.
   2945 ac_cache_corrupted=false
   2946 for ac_var in $ac_precious_vars; do
   2947   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2948   eval ac_new_set=\$ac_env_${ac_var}_set
   2949   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2950   eval ac_new_val=\$ac_env_${ac_var}_value
   2951   case $ac_old_set,$ac_new_set in
   2952     set,)
   2953       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2954 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2955       ac_cache_corrupted=: ;;
   2956     ,set)
   2957       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2958 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2959       ac_cache_corrupted=: ;;
   2960     ,);;
   2961     *)
   2962       if test "x$ac_old_val" != "x$ac_new_val"; then
   2963 	# differences in whitespace do not lead to failure.
   2964 	ac_old_val_w=`echo x $ac_old_val`
   2965 	ac_new_val_w=`echo x $ac_new_val`
   2966 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2967 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2968 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2969 	  ac_cache_corrupted=:
   2970 	else
   2971 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2972 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2973 	  eval $ac_var=\$ac_old_val
   2974 	fi
   2975 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2976 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2977 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2978 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2979       fi;;
   2980   esac
   2981   # Pass precious variables to config.status.
   2982   if test "$ac_new_set" = set; then
   2983     case $ac_new_val in
   2984     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2985     *) ac_arg=$ac_var=$ac_new_val ;;
   2986     esac
   2987     case " $ac_configure_args " in
   2988       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2989       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2990     esac
   2991   fi
   2992 done
   2993 if $ac_cache_corrupted; then
   2994   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2995 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2996   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2997 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2998   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2999 	    and start over" "$LINENO" 5
   3000 fi
   3001 ## -------------------- ##
   3002 ## Main body of script. ##
   3003 ## -------------------- ##
   3004 
   3005 ac_ext=c
   3006 ac_cpp='$CPP $CPPFLAGS'
   3007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3010 
   3011 
   3012 
   3013 
   3014 
   3015 printf "%s\n" "#define PACKAGE_VERSION_MAJOR \"9\"" >>confdefs.h
   3016 
   3017 
   3018 printf "%s\n" "#define PACKAGE_VERSION_MINOR \"18\"" >>confdefs.h
   3019 
   3020 
   3021 printf "%s\n" "#define PACKAGE_VERSION_PATCH \"24\"" >>confdefs.h
   3022 
   3023 
   3024 printf "%s\n" "#define PACKAGE_VERSION_EXTRA \"\"" >>confdefs.h
   3025 
   3026 
   3027 printf "%s\n" "#define PACKAGE_DESCRIPTION \" (Extended Support Version)\"" >>confdefs.h
   3028 
   3029 
   3030 printf "%s\n" "#define PACKAGE_SRCID \"6d7674f\"" >>confdefs.h
   3031 
   3032 
   3033 bind_CONFIGARGS="${ac_configure_args:-default}"
   3034 
   3035 printf "%s\n" "#define PACKAGE_CONFIGARGS \"$bind_CONFIGARGS\"" >>confdefs.h
   3036 
   3037 
   3038 
   3039 printf "%s\n" "#define PACKAGE_BUILDER \"make\"" >>confdefs.h
   3040 
   3041 
   3042 #
   3043 # Get the Canonical System Type
   3044 #
   3045 
   3046 
   3047 
   3048   # Make sure we can run config.sub.
   3049 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3050   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3051 
   3052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3053 printf %s "checking build system type... " >&6; }
   3054 if test ${ac_cv_build+y}
   3055 then :
   3056   printf %s "(cached) " >&6
   3057 else $as_nop
   3058   ac_build_alias=$build_alias
   3059 test "x$ac_build_alias" = x &&
   3060   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3061 test "x$ac_build_alias" = x &&
   3062   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3063 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3064   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3065 
   3066 fi
   3067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3068 printf "%s\n" "$ac_cv_build" >&6; }
   3069 case $ac_cv_build in
   3070 *-*-*) ;;
   3071 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3072 esac
   3073 build=$ac_cv_build
   3074 ac_save_IFS=$IFS; IFS='-'
   3075 set x $ac_cv_build
   3076 shift
   3077 build_cpu=$1
   3078 build_vendor=$2
   3079 shift; shift
   3080 # Remember, the first character of IFS is used to create $*,
   3081 # except with old shells:
   3082 build_os=$*
   3083 IFS=$ac_save_IFS
   3084 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3085 
   3086 
   3087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3088 printf %s "checking host system type... " >&6; }
   3089 if test ${ac_cv_host+y}
   3090 then :
   3091   printf %s "(cached) " >&6
   3092 else $as_nop
   3093   if test "x$host_alias" = x; then
   3094   ac_cv_host=$ac_cv_build
   3095 else
   3096   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3097     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3098 fi
   3099 
   3100 fi
   3101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3102 printf "%s\n" "$ac_cv_host" >&6; }
   3103 case $ac_cv_host in
   3104 *-*-*) ;;
   3105 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3106 esac
   3107 host=$ac_cv_host
   3108 ac_save_IFS=$IFS; IFS='-'
   3109 set x $ac_cv_host
   3110 shift
   3111 host_cpu=$1
   3112 host_vendor=$2
   3113 shift; shift
   3114 # Remember, the first character of IFS is used to create $*,
   3115 # except with old shells:
   3116 host_os=$*
   3117 IFS=$ac_save_IFS
   3118 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3119 
   3120 
   3121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   3122 printf %s "checking target system type... " >&6; }
   3123 if test ${ac_cv_target+y}
   3124 then :
   3125   printf %s "(cached) " >&6
   3126 else $as_nop
   3127   if test "x$target_alias" = x; then
   3128   ac_cv_target=$ac_cv_host
   3129 else
   3130   ac_cv_target=`$SHELL "${ac_aux_dir}config.sub" $target_alias` ||
   3131     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $target_alias failed" "$LINENO" 5
   3132 fi
   3133 
   3134 fi
   3135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   3136 printf "%s\n" "$ac_cv_target" >&6; }
   3137 case $ac_cv_target in
   3138 *-*-*) ;;
   3139 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   3140 esac
   3141 target=$ac_cv_target
   3142 ac_save_IFS=$IFS; IFS='-'
   3143 set x $ac_cv_target
   3144 shift
   3145 target_cpu=$1
   3146 target_vendor=$2
   3147 shift; shift
   3148 # Remember, the first character of IFS is used to create $*,
   3149 # except with old shells:
   3150 target_os=$*
   3151 IFS=$ac_save_IFS
   3152 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   3153 
   3154 
   3155 # The aliases save the names the user supplied, while $host etc.
   3156 # will get canonicalized.
   3157 test -n "$target_alias" &&
   3158   test "$program_prefix$program_suffix$program_transform_name" = \
   3159     NONENONEs,x,x, &&
   3160   program_prefix=${target_alias}-
   3161 
   3162 
   3163 am__api_version='1.16'
   3164 
   3165 
   3166   # Find a good install program.  We prefer a C program (faster),
   3167 # so one script is as good as another.  But avoid the broken or
   3168 # incompatible versions:
   3169 # SysV /etc/install, /usr/sbin/install
   3170 # SunOS /usr/etc/install
   3171 # IRIX /sbin/install
   3172 # AIX /bin/install
   3173 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3174 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3175 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3176 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3177 # OS/2's system install, which has a completely different semantic
   3178 # ./install, which can be erroneously created by make from ./install.sh.
   3179 # Reject install programs that cannot install multiple files.
   3180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3181 printf %s "checking for a BSD-compatible install... " >&6; }
   3182 if test -z "$INSTALL"; then
   3183 if test ${ac_cv_path_install+y}
   3184 then :
   3185   printf %s "(cached) " >&6
   3186 else $as_nop
   3187   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3188 for as_dir in $PATH
   3189 do
   3190   IFS=$as_save_IFS
   3191   case $as_dir in #(((
   3192     '') as_dir=./ ;;
   3193     */) ;;
   3194     *) as_dir=$as_dir/ ;;
   3195   esac
   3196     # Account for fact that we put trailing slashes in our PATH walk.
   3197 case $as_dir in #((
   3198   ./ | /[cC]/* | \
   3199   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3200   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3201   /usr/ucb/* ) ;;
   3202   *)
   3203     # OSF1 and SCO ODT 3.0 have their own names for install.
   3204     # Don't use installbsd from OSF since it installs stuff as root
   3205     # by default.
   3206     for ac_prog in ginstall scoinst install; do
   3207       for ac_exec_ext in '' $ac_executable_extensions; do
   3208 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   3209 	  if test $ac_prog = install &&
   3210 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3211 	    # AIX install.  It has an incompatible calling convention.
   3212 	    :
   3213 	  elif test $ac_prog = install &&
   3214 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3215 	    # program-specific install script used by HP pwplus--don't use.
   3216 	    :
   3217 	  else
   3218 	    rm -rf conftest.one conftest.two conftest.dir
   3219 	    echo one > conftest.one
   3220 	    echo two > conftest.two
   3221 	    mkdir conftest.dir
   3222 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   3223 	      test -s conftest.one && test -s conftest.two &&
   3224 	      test -s conftest.dir/conftest.one &&
   3225 	      test -s conftest.dir/conftest.two
   3226 	    then
   3227 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   3228 	      break 3
   3229 	    fi
   3230 	  fi
   3231 	fi
   3232       done
   3233     done
   3234     ;;
   3235 esac
   3236 
   3237   done
   3238 IFS=$as_save_IFS
   3239 
   3240 rm -rf conftest.one conftest.two conftest.dir
   3241 
   3242 fi
   3243   if test ${ac_cv_path_install+y}; then
   3244     INSTALL=$ac_cv_path_install
   3245   else
   3246     # As a last resort, use the slow shell script.  Don't cache a
   3247     # value for INSTALL within a source directory, because that will
   3248     # break other packages using the cache if that directory is
   3249     # removed, or if the value is a relative name.
   3250     INSTALL=$ac_install_sh
   3251   fi
   3252 fi
   3253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3254 printf "%s\n" "$INSTALL" >&6; }
   3255 
   3256 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3257 # It thinks the first close brace ends the variable substitution.
   3258 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3259 
   3260 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3261 
   3262 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3263 
   3264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3265 printf %s "checking whether build environment is sane... " >&6; }
   3266 # Reject unsafe characters in $srcdir or the absolute working directory
   3267 # name.  Accept space and tab only in the latter.
   3268 am_lf='
   3269 '
   3270 case `pwd` in
   3271   *[\\\"\#\$\&\'\`$am_lf]*)
   3272     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3273 esac
   3274 case $srcdir in
   3275   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3276     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3277 esac
   3278 
   3279 # Do 'set' in a subshell so we don't clobber the current shell's
   3280 # arguments.  Must try -L first in case configure is actually a
   3281 # symlink; some systems play weird games with the mod time of symlinks
   3282 # (eg FreeBSD returns the mod time of the symlink's containing
   3283 # directory).
   3284 if (
   3285    am_has_slept=no
   3286    for am_try in 1 2; do
   3287      echo "timestamp, slept: $am_has_slept" > conftest.file
   3288      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3289      if test "$*" = "X"; then
   3290 	# -L didn't work.
   3291 	set X `ls -t "$srcdir/configure" conftest.file`
   3292      fi
   3293      if test "$*" != "X $srcdir/configure conftest.file" \
   3294 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3295 
   3296 	# If neither matched, then we have a broken ls.  This can happen
   3297 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3298 	# broken ls alias from the environment.  This has actually
   3299 	# happened.  Such a system could not be considered "sane".
   3300 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3301   alias in your environment" "$LINENO" 5
   3302      fi
   3303      if test "$2" = conftest.file || test $am_try -eq 2; then
   3304        break
   3305      fi
   3306      # Just in case.
   3307      sleep 1
   3308      am_has_slept=yes
   3309    done
   3310    test "$2" = conftest.file
   3311    )
   3312 then
   3313    # Ok.
   3314    :
   3315 else
   3316    as_fn_error $? "newly created file is older than distributed files!
   3317 Check your system clock" "$LINENO" 5
   3318 fi
   3319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3320 printf "%s\n" "yes" >&6; }
   3321 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3322 # generated files are strictly newer.
   3323 am_sleep_pid=
   3324 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3325   ( sleep 1 ) &
   3326   am_sleep_pid=$!
   3327 fi
   3328 
   3329 rm -f conftest.file
   3330 
   3331 test "$program_prefix" != NONE &&
   3332   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3333 # Use a double $ so make ignores it.
   3334 test "$program_suffix" != NONE &&
   3335   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3336 # Double any \ or $.
   3337 # By default was `s,x,x', remove it if useless.
   3338 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3339 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   3340 
   3341 
   3342 # Expand $ac_aux_dir to an absolute path.
   3343 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3344 
   3345 
   3346   if test x"${MISSING+set}" != xset; then
   3347   MISSING="\${SHELL} '$am_aux_dir/missing'"
   3348 fi
   3349 # Use eval to expand $SHELL
   3350 if eval "$MISSING --is-lightweight"; then
   3351   am_missing_run="$MISSING "
   3352 else
   3353   am_missing_run=
   3354   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3355 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3356 fi
   3357 
   3358 if test x"${install_sh+set}" != xset; then
   3359   case $am_aux_dir in
   3360   *\ * | *\	*)
   3361     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3362   *)
   3363     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3364   esac
   3365 fi
   3366 
   3367 # Installed binaries are usually stripped using 'strip' when the user
   3368 # run "make install-strip".  However 'strip' might not be the right
   3369 # tool to use in cross-compilation environments, therefore Automake
   3370 # will honor the 'STRIP' environment variable to overrule this program.
   3371 if test "$cross_compiling" != no; then
   3372   if test -n "$ac_tool_prefix"; then
   3373   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3374 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3376 printf %s "checking for $ac_word... " >&6; }
   3377 if test ${ac_cv_prog_STRIP+y}
   3378 then :
   3379   printf %s "(cached) " >&6
   3380 else $as_nop
   3381   if test -n "$STRIP"; then
   3382   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3383 else
   3384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3385 for as_dir in $PATH
   3386 do
   3387   IFS=$as_save_IFS
   3388   case $as_dir in #(((
   3389     '') as_dir=./ ;;
   3390     */) ;;
   3391     *) as_dir=$as_dir/ ;;
   3392   esac
   3393     for ac_exec_ext in '' $ac_executable_extensions; do
   3394   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3395     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3396     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3397     break 2
   3398   fi
   3399 done
   3400   done
   3401 IFS=$as_save_IFS
   3402 
   3403 fi
   3404 fi
   3405 STRIP=$ac_cv_prog_STRIP
   3406 if test -n "$STRIP"; then
   3407   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3408 printf "%s\n" "$STRIP" >&6; }
   3409 else
   3410   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3411 printf "%s\n" "no" >&6; }
   3412 fi
   3413 
   3414 
   3415 fi
   3416 if test -z "$ac_cv_prog_STRIP"; then
   3417   ac_ct_STRIP=$STRIP
   3418   # Extract the first word of "strip", so it can be a program name with args.
   3419 set dummy strip; ac_word=$2
   3420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3421 printf %s "checking for $ac_word... " >&6; }
   3422 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3423 then :
   3424   printf %s "(cached) " >&6
   3425 else $as_nop
   3426   if test -n "$ac_ct_STRIP"; then
   3427   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3428 else
   3429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3430 for as_dir in $PATH
   3431 do
   3432   IFS=$as_save_IFS
   3433   case $as_dir in #(((
   3434     '') as_dir=./ ;;
   3435     */) ;;
   3436     *) as_dir=$as_dir/ ;;
   3437   esac
   3438     for ac_exec_ext in '' $ac_executable_extensions; do
   3439   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3440     ac_cv_prog_ac_ct_STRIP="strip"
   3441     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3442     break 2
   3443   fi
   3444 done
   3445   done
   3446 IFS=$as_save_IFS
   3447 
   3448 fi
   3449 fi
   3450 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3451 if test -n "$ac_ct_STRIP"; then
   3452   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3453 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3454 else
   3455   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3456 printf "%s\n" "no" >&6; }
   3457 fi
   3458 
   3459   if test "x$ac_ct_STRIP" = x; then
   3460     STRIP=":"
   3461   else
   3462     case $cross_compiling:$ac_tool_warned in
   3463 yes:)
   3464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3465 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3466 ac_tool_warned=yes ;;
   3467 esac
   3468     STRIP=$ac_ct_STRIP
   3469   fi
   3470 else
   3471   STRIP="$ac_cv_prog_STRIP"
   3472 fi
   3473 
   3474 fi
   3475 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3476 
   3477 
   3478   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3479 printf %s "checking for a race-free mkdir -p... " >&6; }
   3480 if test -z "$MKDIR_P"; then
   3481   if test ${ac_cv_path_mkdir+y}
   3482 then :
   3483   printf %s "(cached) " >&6
   3484 else $as_nop
   3485   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3486 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3487 do
   3488   IFS=$as_save_IFS
   3489   case $as_dir in #(((
   3490     '') as_dir=./ ;;
   3491     */) ;;
   3492     *) as_dir=$as_dir/ ;;
   3493   esac
   3494     for ac_prog in mkdir gmkdir; do
   3495 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3496 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3497 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3498 	     'mkdir ('*'coreutils) '* | \
   3499 	     'BusyBox '* | \
   3500 	     'mkdir (fileutils) '4.1*)
   3501 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3502 	       break 3;;
   3503 	   esac
   3504 	 done
   3505        done
   3506   done
   3507 IFS=$as_save_IFS
   3508 
   3509 fi
   3510 
   3511   test -d ./--version && rmdir ./--version
   3512   if test ${ac_cv_path_mkdir+y}; then
   3513     MKDIR_P="$ac_cv_path_mkdir -p"
   3514   else
   3515     # As a last resort, use the slow shell script.  Don't cache a
   3516     # value for MKDIR_P within a source directory, because that will
   3517     # break other packages using the cache if that directory is
   3518     # removed, or if the value is a relative name.
   3519     MKDIR_P="$ac_install_sh -d"
   3520   fi
   3521 fi
   3522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3523 printf "%s\n" "$MKDIR_P" >&6; }
   3524 
   3525 for ac_prog in gawk mawk nawk awk
   3526 do
   3527   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3528 set dummy $ac_prog; ac_word=$2
   3529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3530 printf %s "checking for $ac_word... " >&6; }
   3531 if test ${ac_cv_prog_AWK+y}
   3532 then :
   3533   printf %s "(cached) " >&6
   3534 else $as_nop
   3535   if test -n "$AWK"; then
   3536   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3537 else
   3538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3539 for as_dir in $PATH
   3540 do
   3541   IFS=$as_save_IFS
   3542   case $as_dir in #(((
   3543     '') as_dir=./ ;;
   3544     */) ;;
   3545     *) as_dir=$as_dir/ ;;
   3546   esac
   3547     for ac_exec_ext in '' $ac_executable_extensions; do
   3548   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3549     ac_cv_prog_AWK="$ac_prog"
   3550     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3551     break 2
   3552   fi
   3553 done
   3554   done
   3555 IFS=$as_save_IFS
   3556 
   3557 fi
   3558 fi
   3559 AWK=$ac_cv_prog_AWK
   3560 if test -n "$AWK"; then
   3561   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3562 printf "%s\n" "$AWK" >&6; }
   3563 else
   3564   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3565 printf "%s\n" "no" >&6; }
   3566 fi
   3567 
   3568 
   3569   test -n "$AWK" && break
   3570 done
   3571 
   3572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3573 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3574 set x ${MAKE-make}
   3575 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3576 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3577 then :
   3578   printf %s "(cached) " >&6
   3579 else $as_nop
   3580   cat >conftest.make <<\_ACEOF
   3581 SHELL = /bin/sh
   3582 all:
   3583 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3584 _ACEOF
   3585 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3586 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3587   *@@@%%%=?*=@@@%%%*)
   3588     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3589   *)
   3590     eval ac_cv_prog_make_${ac_make}_set=no;;
   3591 esac
   3592 rm -f conftest.make
   3593 fi
   3594 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3595   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3596 printf "%s\n" "yes" >&6; }
   3597   SET_MAKE=
   3598 else
   3599   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3600 printf "%s\n" "no" >&6; }
   3601   SET_MAKE="MAKE=${MAKE-make}"
   3602 fi
   3603 
   3604 rm -rf .tst 2>/dev/null
   3605 mkdir .tst 2>/dev/null
   3606 if test -d .tst; then
   3607   am__leading_dot=.
   3608 else
   3609   am__leading_dot=_
   3610 fi
   3611 rmdir .tst 2>/dev/null
   3612 
   3613 # Check whether --enable-silent-rules was given.
   3614 if test ${enable_silent_rules+y}
   3615 then :
   3616   enableval=$enable_silent_rules;
   3617 fi
   3618 
   3619 case $enable_silent_rules in # (((
   3620   yes) AM_DEFAULT_VERBOSITY=0;;
   3621    no) AM_DEFAULT_VERBOSITY=1;;
   3622     *) AM_DEFAULT_VERBOSITY=1;;
   3623 esac
   3624 am_make=${MAKE-make}
   3625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3626 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3627 if test ${am_cv_make_support_nested_variables+y}
   3628 then :
   3629   printf %s "(cached) " >&6
   3630 else $as_nop
   3631   if printf "%s\n" 'TRUE=$(BAR$(V))
   3632 BAR0=false
   3633 BAR1=true
   3634 V=1
   3635 am__doit:
   3636 	@$(TRUE)
   3637 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3638   am_cv_make_support_nested_variables=yes
   3639 else
   3640   am_cv_make_support_nested_variables=no
   3641 fi
   3642 fi
   3643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3644 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3645 if test $am_cv_make_support_nested_variables = yes; then
   3646     AM_V='$(V)'
   3647   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3648 else
   3649   AM_V=$AM_DEFAULT_VERBOSITY
   3650   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3651 fi
   3652 AM_BACKSLASH='\'
   3653 
   3654 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3655   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3656   # is not polluted with repeated "-I."
   3657   am__isrc=' -I$(srcdir)'
   3658   # test to see if srcdir already configured
   3659   if test -f $srcdir/config.status; then
   3660     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3661   fi
   3662 fi
   3663 
   3664 # test whether we have cygpath
   3665 if test -z "$CYGPATH_W"; then
   3666   if (cygpath --version) >/dev/null 2>/dev/null; then
   3667     CYGPATH_W='cygpath -w'
   3668   else
   3669     CYGPATH_W=echo
   3670   fi
   3671 fi
   3672 
   3673 
   3674 # Define the identity of the package.
   3675  PACKAGE='bind'
   3676  VERSION='9.18.24'
   3677 
   3678 
   3679 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3680 
   3681 
   3682 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3683 
   3684 # Some tools Automake needs.
   3685 
   3686 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3687 
   3688 
   3689 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3690 
   3691 
   3692 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3693 
   3694 
   3695 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3696 
   3697 
   3698 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3699 
   3700 # For better backward compatibility.  To be removed once Automake 1.9.x
   3701 # dies out for good.  For more background, see:
   3702 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3703 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3704 mkdir_p='$(MKDIR_P)'
   3705 
   3706 # We need awk for the "check" target (and possibly the TAP driver).  The
   3707 # system "awk" is bad on some platforms.
   3708 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3709 # in the wild :-(  We should find a proper way to deprecate it ...
   3710 AMTAR='$${TAR-tar}'
   3711 
   3712 
   3713 # We'll loop over all known methods to create a tar archive until one works.
   3714 _am_tools='gnutar  pax cpio none'
   3715 
   3716 
   3717 
   3718   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
   3719 printf %s "checking how to create a pax tar archive... " >&6; }
   3720 
   3721   # Go ahead even if we have the value already cached.  We do so because we
   3722   # need to set the values for the 'am__tar' and 'am__untar' variables.
   3723   _am_tools=${am_cv_prog_tar_pax-$_am_tools}
   3724 
   3725   for _am_tool in $_am_tools; do
   3726     case $_am_tool in
   3727     gnutar)
   3728       for _am_tar in tar gnutar gtar; do
   3729         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   3730    ($_am_tar --version) >&5 2>&5
   3731    ac_status=$?
   3732    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3733    (exit $ac_status); } && break
   3734       done
   3735       am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
   3736       am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
   3737       am__untar="$_am_tar -xf -"
   3738       ;;
   3739     plaintar)
   3740       # Must skip GNU tar: if it does not support --format= it doesn't create
   3741       # ustar tarball either.
   3742       (tar --version) >/dev/null 2>&1 && continue
   3743       am__tar='tar chf - "$$tardir"'
   3744       am__tar_='tar chf - "$tardir"'
   3745       am__untar='tar xf -'
   3746       ;;
   3747     pax)
   3748       am__tar='pax -L -x pax -w "$$tardir"'
   3749       am__tar_='pax -L -x pax -w "$tardir"'
   3750       am__untar='pax -r'
   3751       ;;
   3752     cpio)
   3753       am__tar='find "$$tardir" -print | cpio -o -H pax -L'
   3754       am__tar_='find "$tardir" -print | cpio -o -H pax -L'
   3755       am__untar='cpio -i -H pax -d'
   3756       ;;
   3757     none)
   3758       am__tar=false
   3759       am__tar_=false
   3760       am__untar=false
   3761       ;;
   3762     esac
   3763 
   3764     # If the value was cached, stop now.  We just wanted to have am__tar
   3765     # and am__untar set.
   3766     test -n "${am_cv_prog_tar_pax}" && break
   3767 
   3768     # tar/untar a dummy directory, and stop if the command works.
   3769     rm -rf conftest.dir
   3770     mkdir conftest.dir
   3771     echo GrepMe > conftest.dir/file
   3772     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   3773    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   3774    ac_status=$?
   3775    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3776    (exit $ac_status); }
   3777     rm -rf conftest.dir
   3778     if test -s conftest.tar; then
   3779       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   3780    ($am__untar <conftest.tar) >&5 2>&5
   3781    ac_status=$?
   3782    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3783    (exit $ac_status); }
   3784       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   3785    (cat conftest.dir/file) >&5 2>&5
   3786    ac_status=$?
   3787    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3788    (exit $ac_status); }
   3789       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   3790     fi
   3791   done
   3792   rm -rf conftest.dir
   3793 
   3794   if test ${am_cv_prog_tar_pax+y}
   3795 then :
   3796   printf %s "(cached) " >&6
   3797 else $as_nop
   3798   am_cv_prog_tar_pax=$_am_tool
   3799 fi
   3800 
   3801   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
   3802 printf "%s\n" "$am_cv_prog_tar_pax" >&6; }
   3803 
   3804 
   3805 
   3806 
   3807 
   3808 # Variables for tags utilities; see am/tags.am
   3809 if test -z "$CTAGS"; then
   3810   CTAGS=ctags
   3811 fi
   3812 
   3813 if test -z "$ETAGS"; then
   3814   ETAGS=etags
   3815 fi
   3816 
   3817 if test -z "$CSCOPE"; then
   3818   CSCOPE=cscope
   3819 fi
   3820 
   3821 
   3822 
   3823 # POSIX will say in a future version that running "rm -f" with no argument
   3824 # is OK; and we want to be able to make that assumption in our Makefile
   3825 # recipes.  So use an aggressive probe to check that the usage we want is
   3826 # actually supported "in the wild" to an acceptable degree.
   3827 # See automake bug#10828.
   3828 # To make any issue more visible, cause the running configure to be aborted
   3829 # by default if the 'rm' program in use doesn't match our expectations; the
   3830 # user can still override this though.
   3831 if rm -f && rm -fr && rm -rf; then : OK; else
   3832   cat >&2 <<'END'
   3833 Oops!
   3834 
   3835 Your 'rm' program seems unable to run without file operands specified
   3836 on the command line, even when the '-f' option is present.  This is contrary
   3837 to the behaviour of most rm programs out there, and not conforming with
   3838 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3839 
   3840 Please tell bug-automake@gnu.org about your system, including the value
   3841 of your $PATH and any error possibly output before this message.  This
   3842 can help us improve future automake versions.
   3843 
   3844 END
   3845   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3846     echo 'Configuration will proceed anyway, since you have set the' >&2
   3847     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3848     echo >&2
   3849   else
   3850     cat >&2 <<'END'
   3851 Aborting the configuration process, to ensure you take notice of the issue.
   3852 
   3853 You can download and install GNU coreutils to get an 'rm' implementation
   3854 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3855 
   3856 If you want to complete the configuration process using your problematic
   3857 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3858 to "yes", and re-run configure.
   3859 
   3860 END
   3861     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3862   fi
   3863 fi
   3864 
   3865 # Check whether --enable-silent-rules was given.
   3866 if test ${enable_silent_rules+y}
   3867 then :
   3868   enableval=$enable_silent_rules;
   3869 fi
   3870 
   3871 case $enable_silent_rules in # (((
   3872   yes) AM_DEFAULT_VERBOSITY=0;;
   3873    no) AM_DEFAULT_VERBOSITY=1;;
   3874     *) AM_DEFAULT_VERBOSITY=0;;
   3875 esac
   3876 am_make=${MAKE-make}
   3877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3878 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3879 if test ${am_cv_make_support_nested_variables+y}
   3880 then :
   3881   printf %s "(cached) " >&6
   3882 else $as_nop
   3883   if printf "%s\n" 'TRUE=$(BAR$(V))
   3884 BAR0=false
   3885 BAR1=true
   3886 V=1
   3887 am__doit:
   3888 	@$(TRUE)
   3889 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3890   am_cv_make_support_nested_variables=yes
   3891 else
   3892   am_cv_make_support_nested_variables=no
   3893 fi
   3894 fi
   3895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3896 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3897 if test $am_cv_make_support_nested_variables = yes; then
   3898     AM_V='$(V)'
   3899   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3900 else
   3901   AM_V=$AM_DEFAULT_VERBOSITY
   3902   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3903 fi
   3904 AM_BACKSLASH='\'
   3905 
   3906 
   3907 
   3908 ac_config_headers="$ac_config_headers config.h"
   3909 
   3910 
   3911 
   3912 #
   3913 # Enable maintainer mode by default only when building from git repository
   3914 # and not cross compling
   3915 #
   3916 if test "$cross_compiling" = no
   3917 then :
   3918 
   3919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   3920 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   3921     # Check whether --enable-maintainer-mode was given.
   3922 if test ${enable_maintainer_mode+y}
   3923 then :
   3924   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   3925 else $as_nop
   3926   USE_MAINTAINER_MODE=yes
   3927 fi
   3928 
   3929   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   3930 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
   3931    if test $USE_MAINTAINER_MODE = yes; then
   3932   MAINTAINER_MODE_TRUE=
   3933   MAINTAINER_MODE_FALSE='#'
   3934 else
   3935   MAINTAINER_MODE_TRUE='#'
   3936   MAINTAINER_MODE_FALSE=
   3937 fi
   3938 
   3939   MAINT=$MAINTAINER_MODE_TRUE
   3940 
   3941 
   3942 else $as_nop
   3943 
   3944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   3945 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   3946     # Check whether --enable-maintainer-mode was given.
   3947 if test ${enable_maintainer_mode+y}
   3948 then :
   3949   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   3950 else $as_nop
   3951   USE_MAINTAINER_MODE=no
   3952 fi
   3953 
   3954   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   3955 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
   3956    if test $USE_MAINTAINER_MODE = yes; then
   3957   MAINTAINER_MODE_TRUE=
   3958   MAINTAINER_MODE_FALSE='#'
   3959 else
   3960   MAINTAINER_MODE_TRUE='#'
   3961   MAINTAINER_MODE_FALSE=
   3962 fi
   3963 
   3964   MAINT=$MAINTAINER_MODE_TRUE
   3965 
   3966 
   3967 fi
   3968 
   3969 #
   3970 # Enable system extensions to C and POSIX
   3971 #
   3972 
   3973 
   3974 
   3975 
   3976 
   3977 
   3978 
   3979 
   3980 
   3981 DEPDIR="${am__leading_dot}deps"
   3982 
   3983 ac_config_commands="$ac_config_commands depfiles"
   3984 
   3985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3986 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3987 cat > confinc.mk << 'END'
   3988 am__doit:
   3989 	@echo this is the am__doit target >confinc.out
   3990 .PHONY: am__doit
   3991 END
   3992 am__include="#"
   3993 am__quote=
   3994 # BSD make does it like this.
   3995 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3996 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3997 echo 'include confinc.mk # ignored' > confmf.GNU
   3998 _am_result=no
   3999 for s in GNU BSD; do
   4000   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4001    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4002    ac_status=$?
   4003    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4004    (exit $ac_status); }
   4005   case $?:`cat confinc.out 2>/dev/null` in #(
   4006   '0:this is the am__doit target') :
   4007     case $s in #(
   4008   BSD) :
   4009     am__include='.include' am__quote='"' ;; #(
   4010   *) :
   4011     am__include='include' am__quote='' ;;
   4012 esac ;; #(
   4013   *) :
   4014      ;;
   4015 esac
   4016   if test "$am__include" != "#"; then
   4017     _am_result="yes ($s style)"
   4018     break
   4019   fi
   4020 done
   4021 rm -f confinc.* confmf.*
   4022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4023 printf "%s\n" "${_am_result}" >&6; }
   4024 
   4025 # Check whether --enable-dependency-tracking was given.
   4026 if test ${enable_dependency_tracking+y}
   4027 then :
   4028   enableval=$enable_dependency_tracking;
   4029 fi
   4030 
   4031 if test "x$enable_dependency_tracking" != xno; then
   4032   am_depcomp="$ac_aux_dir/depcomp"
   4033   AMDEPBACKSLASH='\'
   4034   am__nodep='_no'
   4035 fi
   4036  if test "x$enable_dependency_tracking" != xno; then
   4037   AMDEP_TRUE=
   4038   AMDEP_FALSE='#'
   4039 else
   4040   AMDEP_TRUE='#'
   4041   AMDEP_FALSE=
   4042 fi
   4043 
   4044 
   4045 ac_ext=c
   4046 ac_cpp='$CPP $CPPFLAGS'
   4047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4050 if test -n "$ac_tool_prefix"; then
   4051   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4052 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4054 printf %s "checking for $ac_word... " >&6; }
   4055 if test ${ac_cv_prog_CC+y}
   4056 then :
   4057   printf %s "(cached) " >&6
   4058 else $as_nop
   4059   if test -n "$CC"; then
   4060   ac_cv_prog_CC="$CC" # Let the user override the test.
   4061 else
   4062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4063 for as_dir in $PATH
   4064 do
   4065   IFS=$as_save_IFS
   4066   case $as_dir in #(((
   4067     '') as_dir=./ ;;
   4068     */) ;;
   4069     *) as_dir=$as_dir/ ;;
   4070   esac
   4071     for ac_exec_ext in '' $ac_executable_extensions; do
   4072   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4073     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4074     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4075     break 2
   4076   fi
   4077 done
   4078   done
   4079 IFS=$as_save_IFS
   4080 
   4081 fi
   4082 fi
   4083 CC=$ac_cv_prog_CC
   4084 if test -n "$CC"; then
   4085   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4086 printf "%s\n" "$CC" >&6; }
   4087 else
   4088   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4089 printf "%s\n" "no" >&6; }
   4090 fi
   4091 
   4092 
   4093 fi
   4094 if test -z "$ac_cv_prog_CC"; then
   4095   ac_ct_CC=$CC
   4096   # Extract the first word of "gcc", so it can be a program name with args.
   4097 set dummy gcc; ac_word=$2
   4098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4099 printf %s "checking for $ac_word... " >&6; }
   4100 if test ${ac_cv_prog_ac_ct_CC+y}
   4101 then :
   4102   printf %s "(cached) " >&6
   4103 else $as_nop
   4104   if test -n "$ac_ct_CC"; then
   4105   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4106 else
   4107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4108 for as_dir in $PATH
   4109 do
   4110   IFS=$as_save_IFS
   4111   case $as_dir in #(((
   4112     '') as_dir=./ ;;
   4113     */) ;;
   4114     *) as_dir=$as_dir/ ;;
   4115   esac
   4116     for ac_exec_ext in '' $ac_executable_extensions; do
   4117   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4118     ac_cv_prog_ac_ct_CC="gcc"
   4119     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4120     break 2
   4121   fi
   4122 done
   4123   done
   4124 IFS=$as_save_IFS
   4125 
   4126 fi
   4127 fi
   4128 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4129 if test -n "$ac_ct_CC"; then
   4130   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4131 printf "%s\n" "$ac_ct_CC" >&6; }
   4132 else
   4133   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4134 printf "%s\n" "no" >&6; }
   4135 fi
   4136 
   4137   if test "x$ac_ct_CC" = x; then
   4138     CC=""
   4139   else
   4140     case $cross_compiling:$ac_tool_warned in
   4141 yes:)
   4142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4143 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4144 ac_tool_warned=yes ;;
   4145 esac
   4146     CC=$ac_ct_CC
   4147   fi
   4148 else
   4149   CC="$ac_cv_prog_CC"
   4150 fi
   4151 
   4152 if test -z "$CC"; then
   4153           if test -n "$ac_tool_prefix"; then
   4154     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4155 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4157 printf %s "checking for $ac_word... " >&6; }
   4158 if test ${ac_cv_prog_CC+y}
   4159 then :
   4160   printf %s "(cached) " >&6
   4161 else $as_nop
   4162   if test -n "$CC"; then
   4163   ac_cv_prog_CC="$CC" # Let the user override the test.
   4164 else
   4165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4166 for as_dir in $PATH
   4167 do
   4168   IFS=$as_save_IFS
   4169   case $as_dir in #(((
   4170     '') as_dir=./ ;;
   4171     */) ;;
   4172     *) as_dir=$as_dir/ ;;
   4173   esac
   4174     for ac_exec_ext in '' $ac_executable_extensions; do
   4175   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4176     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4177     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4178     break 2
   4179   fi
   4180 done
   4181   done
   4182 IFS=$as_save_IFS
   4183 
   4184 fi
   4185 fi
   4186 CC=$ac_cv_prog_CC
   4187 if test -n "$CC"; then
   4188   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4189 printf "%s\n" "$CC" >&6; }
   4190 else
   4191   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4192 printf "%s\n" "no" >&6; }
   4193 fi
   4194 
   4195 
   4196   fi
   4197 fi
   4198 if test -z "$CC"; then
   4199   # Extract the first word of "cc", so it can be a program name with args.
   4200 set dummy cc; ac_word=$2
   4201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4202 printf %s "checking for $ac_word... " >&6; }
   4203 if test ${ac_cv_prog_CC+y}
   4204 then :
   4205   printf %s "(cached) " >&6
   4206 else $as_nop
   4207   if test -n "$CC"; then
   4208   ac_cv_prog_CC="$CC" # Let the user override the test.
   4209 else
   4210   ac_prog_rejected=no
   4211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4212 for as_dir in $PATH
   4213 do
   4214   IFS=$as_save_IFS
   4215   case $as_dir in #(((
   4216     '') as_dir=./ ;;
   4217     */) ;;
   4218     *) as_dir=$as_dir/ ;;
   4219   esac
   4220     for ac_exec_ext in '' $ac_executable_extensions; do
   4221   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4222     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4223        ac_prog_rejected=yes
   4224        continue
   4225      fi
   4226     ac_cv_prog_CC="cc"
   4227     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4228     break 2
   4229   fi
   4230 done
   4231   done
   4232 IFS=$as_save_IFS
   4233 
   4234 if test $ac_prog_rejected = yes; then
   4235   # We found a bogon in the path, so make sure we never use it.
   4236   set dummy $ac_cv_prog_CC
   4237   shift
   4238   if test $# != 0; then
   4239     # We chose a different compiler from the bogus one.
   4240     # However, it has the same basename, so the bogon will be chosen
   4241     # first if we set CC to just the basename; use the full file name.
   4242     shift
   4243     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   4244   fi
   4245 fi
   4246 fi
   4247 fi
   4248 CC=$ac_cv_prog_CC
   4249 if test -n "$CC"; then
   4250   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4251 printf "%s\n" "$CC" >&6; }
   4252 else
   4253   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4254 printf "%s\n" "no" >&6; }
   4255 fi
   4256 
   4257 
   4258 fi
   4259 if test -z "$CC"; then
   4260   if test -n "$ac_tool_prefix"; then
   4261   for ac_prog in cl.exe
   4262   do
   4263     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4264 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4266 printf %s "checking for $ac_word... " >&6; }
   4267 if test ${ac_cv_prog_CC+y}
   4268 then :
   4269   printf %s "(cached) " >&6
   4270 else $as_nop
   4271   if test -n "$CC"; then
   4272   ac_cv_prog_CC="$CC" # Let the user override the test.
   4273 else
   4274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4275 for as_dir in $PATH
   4276 do
   4277   IFS=$as_save_IFS
   4278   case $as_dir in #(((
   4279     '') as_dir=./ ;;
   4280     */) ;;
   4281     *) as_dir=$as_dir/ ;;
   4282   esac
   4283     for ac_exec_ext in '' $ac_executable_extensions; do
   4284   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4285     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4286     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4287     break 2
   4288   fi
   4289 done
   4290   done
   4291 IFS=$as_save_IFS
   4292 
   4293 fi
   4294 fi
   4295 CC=$ac_cv_prog_CC
   4296 if test -n "$CC"; then
   4297   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4298 printf "%s\n" "$CC" >&6; }
   4299 else
   4300   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4301 printf "%s\n" "no" >&6; }
   4302 fi
   4303 
   4304 
   4305     test -n "$CC" && break
   4306   done
   4307 fi
   4308 if test -z "$CC"; then
   4309   ac_ct_CC=$CC
   4310   for ac_prog in cl.exe
   4311 do
   4312   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4313 set dummy $ac_prog; ac_word=$2
   4314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4315 printf %s "checking for $ac_word... " >&6; }
   4316 if test ${ac_cv_prog_ac_ct_CC+y}
   4317 then :
   4318   printf %s "(cached) " >&6
   4319 else $as_nop
   4320   if test -n "$ac_ct_CC"; then
   4321   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4322 else
   4323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4324 for as_dir in $PATH
   4325 do
   4326   IFS=$as_save_IFS
   4327   case $as_dir in #(((
   4328     '') as_dir=./ ;;
   4329     */) ;;
   4330     *) as_dir=$as_dir/ ;;
   4331   esac
   4332     for ac_exec_ext in '' $ac_executable_extensions; do
   4333   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4334     ac_cv_prog_ac_ct_CC="$ac_prog"
   4335     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4336     break 2
   4337   fi
   4338 done
   4339   done
   4340 IFS=$as_save_IFS
   4341 
   4342 fi
   4343 fi
   4344 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4345 if test -n "$ac_ct_CC"; then
   4346   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4347 printf "%s\n" "$ac_ct_CC" >&6; }
   4348 else
   4349   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4350 printf "%s\n" "no" >&6; }
   4351 fi
   4352 
   4353 
   4354   test -n "$ac_ct_CC" && break
   4355 done
   4356 
   4357   if test "x$ac_ct_CC" = x; then
   4358     CC=""
   4359   else
   4360     case $cross_compiling:$ac_tool_warned in
   4361 yes:)
   4362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4363 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4364 ac_tool_warned=yes ;;
   4365 esac
   4366     CC=$ac_ct_CC
   4367   fi
   4368 fi
   4369 
   4370 fi
   4371 if test -z "$CC"; then
   4372   if test -n "$ac_tool_prefix"; then
   4373   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   4374 set dummy ${ac_tool_prefix}clang; ac_word=$2
   4375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4376 printf %s "checking for $ac_word... " >&6; }
   4377 if test ${ac_cv_prog_CC+y}
   4378 then :
   4379   printf %s "(cached) " >&6
   4380 else $as_nop
   4381   if test -n "$CC"; then
   4382   ac_cv_prog_CC="$CC" # Let the user override the test.
   4383 else
   4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4385 for as_dir in $PATH
   4386 do
   4387   IFS=$as_save_IFS
   4388   case $as_dir in #(((
   4389     '') as_dir=./ ;;
   4390     */) ;;
   4391     *) as_dir=$as_dir/ ;;
   4392   esac
   4393     for ac_exec_ext in '' $ac_executable_extensions; do
   4394   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4395     ac_cv_prog_CC="${ac_tool_prefix}clang"
   4396     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4397     break 2
   4398   fi
   4399 done
   4400   done
   4401 IFS=$as_save_IFS
   4402 
   4403 fi
   4404 fi
   4405 CC=$ac_cv_prog_CC
   4406 if test -n "$CC"; then
   4407   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4408 printf "%s\n" "$CC" >&6; }
   4409 else
   4410   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4411 printf "%s\n" "no" >&6; }
   4412 fi
   4413 
   4414 
   4415 fi
   4416 if test -z "$ac_cv_prog_CC"; then
   4417   ac_ct_CC=$CC
   4418   # Extract the first word of "clang", so it can be a program name with args.
   4419 set dummy clang; ac_word=$2
   4420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4421 printf %s "checking for $ac_word... " >&6; }
   4422 if test ${ac_cv_prog_ac_ct_CC+y}
   4423 then :
   4424   printf %s "(cached) " >&6
   4425 else $as_nop
   4426   if test -n "$ac_ct_CC"; then
   4427   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4428 else
   4429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4430 for as_dir in $PATH
   4431 do
   4432   IFS=$as_save_IFS
   4433   case $as_dir in #(((
   4434     '') as_dir=./ ;;
   4435     */) ;;
   4436     *) as_dir=$as_dir/ ;;
   4437   esac
   4438     for ac_exec_ext in '' $ac_executable_extensions; do
   4439   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4440     ac_cv_prog_ac_ct_CC="clang"
   4441     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4442     break 2
   4443   fi
   4444 done
   4445   done
   4446 IFS=$as_save_IFS
   4447 
   4448 fi
   4449 fi
   4450 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4451 if test -n "$ac_ct_CC"; then
   4452   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4453 printf "%s\n" "$ac_ct_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   if test "x$ac_ct_CC" = x; then
   4460     CC=""
   4461   else
   4462     case $cross_compiling:$ac_tool_warned in
   4463 yes:)
   4464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4465 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4466 ac_tool_warned=yes ;;
   4467 esac
   4468     CC=$ac_ct_CC
   4469   fi
   4470 else
   4471   CC="$ac_cv_prog_CC"
   4472 fi
   4473 
   4474 fi
   4475 
   4476 
   4477 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4478 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4479 as_fn_error $? "no acceptable C compiler found in \$PATH
   4480 See \`config.log' for more details" "$LINENO" 5; }
   4481 
   4482 # Provide some information about the compiler.
   4483 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4484 set X $ac_compile
   4485 ac_compiler=$2
   4486 for ac_option in --version -v -V -qversion -version; do
   4487   { { ac_try="$ac_compiler $ac_option >&5"
   4488 case "(($ac_try" in
   4489   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4490   *) ac_try_echo=$ac_try;;
   4491 esac
   4492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4493 printf "%s\n" "$ac_try_echo"; } >&5
   4494   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4495   ac_status=$?
   4496   if test -s conftest.err; then
   4497     sed '10a\
   4498 ... rest of stderr output deleted ...
   4499          10q' conftest.err >conftest.er1
   4500     cat conftest.er1 >&5
   4501   fi
   4502   rm -f conftest.er1 conftest.err
   4503   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4504   test $ac_status = 0; }
   4505 done
   4506 
   4507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4508 /* end confdefs.h.  */
   4509 
   4510 int
   4511 main (void)
   4512 {
   4513 
   4514   ;
   4515   return 0;
   4516 }
   4517 _ACEOF
   4518 ac_clean_files_save=$ac_clean_files
   4519 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4520 # Try to create an executable without -o first, disregard a.out.
   4521 # It will help us diagnose broken compilers, and finding out an intuition
   4522 # of exeext.
   4523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4524 printf %s "checking whether the C compiler works... " >&6; }
   4525 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4526 
   4527 # The possible output files:
   4528 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4529 
   4530 ac_rmfiles=
   4531 for ac_file in $ac_files
   4532 do
   4533   case $ac_file in
   4534     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4535     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4536   esac
   4537 done
   4538 rm -f $ac_rmfiles
   4539 
   4540 if { { ac_try="$ac_link_default"
   4541 case "(($ac_try" in
   4542   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4543   *) ac_try_echo=$ac_try;;
   4544 esac
   4545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4546 printf "%s\n" "$ac_try_echo"; } >&5
   4547   (eval "$ac_link_default") 2>&5
   4548   ac_status=$?
   4549   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4550   test $ac_status = 0; }
   4551 then :
   4552   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4553 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4554 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4555 # so that the user can short-circuit this test for compilers unknown to
   4556 # Autoconf.
   4557 for ac_file in $ac_files ''
   4558 do
   4559   test -f "$ac_file" || continue
   4560   case $ac_file in
   4561     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4562 	;;
   4563     [ab].out )
   4564 	# We found the default executable, but exeext='' is most
   4565 	# certainly right.
   4566 	break;;
   4567     *.* )
   4568 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4569 	then :; else
   4570 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4571 	fi
   4572 	# We set ac_cv_exeext here because the later test for it is not
   4573 	# safe: cross compilers may not add the suffix if given an `-o'
   4574 	# argument, so we may need to know it at that point already.
   4575 	# Even if this section looks crufty: it has the advantage of
   4576 	# actually working.
   4577 	break;;
   4578     * )
   4579 	break;;
   4580   esac
   4581 done
   4582 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4583 
   4584 else $as_nop
   4585   ac_file=''
   4586 fi
   4587 if test -z "$ac_file"
   4588 then :
   4589   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4590 printf "%s\n" "no" >&6; }
   4591 printf "%s\n" "$as_me: failed program was:" >&5
   4592 sed 's/^/| /' conftest.$ac_ext >&5
   4593 
   4594 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4595 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4596 as_fn_error 77 "C compiler cannot create executables
   4597 See \`config.log' for more details" "$LINENO" 5; }
   4598 else $as_nop
   4599   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4600 printf "%s\n" "yes" >&6; }
   4601 fi
   4602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4603 printf %s "checking for C compiler default output file name... " >&6; }
   4604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4605 printf "%s\n" "$ac_file" >&6; }
   4606 ac_exeext=$ac_cv_exeext
   4607 
   4608 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4609 ac_clean_files=$ac_clean_files_save
   4610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4611 printf %s "checking for suffix of executables... " >&6; }
   4612 if { { ac_try="$ac_link"
   4613 case "(($ac_try" in
   4614   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4615   *) ac_try_echo=$ac_try;;
   4616 esac
   4617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4618 printf "%s\n" "$ac_try_echo"; } >&5
   4619   (eval "$ac_link") 2>&5
   4620   ac_status=$?
   4621   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4622   test $ac_status = 0; }
   4623 then :
   4624   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4625 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4626 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4627 # `rm'.
   4628 for ac_file in conftest.exe conftest conftest.*; do
   4629   test -f "$ac_file" || continue
   4630   case $ac_file in
   4631     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4632     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4633 	  break;;
   4634     * ) break;;
   4635   esac
   4636 done
   4637 else $as_nop
   4638   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4639 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4640 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4641 See \`config.log' for more details" "$LINENO" 5; }
   4642 fi
   4643 rm -f conftest conftest$ac_cv_exeext
   4644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4645 printf "%s\n" "$ac_cv_exeext" >&6; }
   4646 
   4647 rm -f conftest.$ac_ext
   4648 EXEEXT=$ac_cv_exeext
   4649 ac_exeext=$EXEEXT
   4650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4651 /* end confdefs.h.  */
   4652 #include <stdio.h>
   4653 int
   4654 main (void)
   4655 {
   4656 FILE *f = fopen ("conftest.out", "w");
   4657  return ferror (f) || fclose (f) != 0;
   4658 
   4659   ;
   4660   return 0;
   4661 }
   4662 _ACEOF
   4663 ac_clean_files="$ac_clean_files conftest.out"
   4664 # Check that the compiler produces executables we can run.  If not, either
   4665 # the compiler is broken, or we cross compile.
   4666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4667 printf %s "checking whether we are cross compiling... " >&6; }
   4668 if test "$cross_compiling" != yes; then
   4669   { { ac_try="$ac_link"
   4670 case "(($ac_try" in
   4671   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4672   *) ac_try_echo=$ac_try;;
   4673 esac
   4674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4675 printf "%s\n" "$ac_try_echo"; } >&5
   4676   (eval "$ac_link") 2>&5
   4677   ac_status=$?
   4678   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4679   test $ac_status = 0; }
   4680   if { ac_try='./conftest$ac_cv_exeext'
   4681   { { case "(($ac_try" in
   4682   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4683   *) ac_try_echo=$ac_try;;
   4684 esac
   4685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4686 printf "%s\n" "$ac_try_echo"; } >&5
   4687   (eval "$ac_try") 2>&5
   4688   ac_status=$?
   4689   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4690   test $ac_status = 0; }; }; then
   4691     cross_compiling=no
   4692   else
   4693     if test "$cross_compiling" = maybe; then
   4694 	cross_compiling=yes
   4695     else
   4696 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4697 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4698 as_fn_error 77 "cannot run C compiled programs.
   4699 If you meant to cross compile, use \`--host'.
   4700 See \`config.log' for more details" "$LINENO" 5; }
   4701     fi
   4702   fi
   4703 fi
   4704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4705 printf "%s\n" "$cross_compiling" >&6; }
   4706 
   4707 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4708 ac_clean_files=$ac_clean_files_save
   4709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4710 printf %s "checking for suffix of object files... " >&6; }
   4711 if test ${ac_cv_objext+y}
   4712 then :
   4713   printf %s "(cached) " >&6
   4714 else $as_nop
   4715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4716 /* end confdefs.h.  */
   4717 
   4718 int
   4719 main (void)
   4720 {
   4721 
   4722   ;
   4723   return 0;
   4724 }
   4725 _ACEOF
   4726 rm -f conftest.o conftest.obj
   4727 if { { ac_try="$ac_compile"
   4728 case "(($ac_try" in
   4729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4730   *) ac_try_echo=$ac_try;;
   4731 esac
   4732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4733 printf "%s\n" "$ac_try_echo"; } >&5
   4734   (eval "$ac_compile") 2>&5
   4735   ac_status=$?
   4736   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4737   test $ac_status = 0; }
   4738 then :
   4739   for ac_file in conftest.o conftest.obj conftest.*; do
   4740   test -f "$ac_file" || continue;
   4741   case $ac_file in
   4742     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4743     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4744        break;;
   4745   esac
   4746 done
   4747 else $as_nop
   4748   printf "%s\n" "$as_me: failed program was:" >&5
   4749 sed 's/^/| /' conftest.$ac_ext >&5
   4750 
   4751 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4752 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4753 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4754 See \`config.log' for more details" "$LINENO" 5; }
   4755 fi
   4756 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4757 fi
   4758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4759 printf "%s\n" "$ac_cv_objext" >&6; }
   4760 OBJEXT=$ac_cv_objext
   4761 ac_objext=$OBJEXT
   4762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4763 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4764 if test ${ac_cv_c_compiler_gnu+y}
   4765 then :
   4766   printf %s "(cached) " >&6
   4767 else $as_nop
   4768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4769 /* end confdefs.h.  */
   4770 
   4771 int
   4772 main (void)
   4773 {
   4774 #ifndef __GNUC__
   4775        choke me
   4776 #endif
   4777 
   4778   ;
   4779   return 0;
   4780 }
   4781 _ACEOF
   4782 if ac_fn_c_try_compile "$LINENO"
   4783 then :
   4784   ac_compiler_gnu=yes
   4785 else $as_nop
   4786   ac_compiler_gnu=no
   4787 fi
   4788 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4789 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4790 
   4791 fi
   4792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4793 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4795 
   4796 if test $ac_compiler_gnu = yes; then
   4797   GCC=yes
   4798 else
   4799   GCC=
   4800 fi
   4801 ac_test_CFLAGS=${CFLAGS+y}
   4802 ac_save_CFLAGS=$CFLAGS
   4803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4804 printf %s "checking whether $CC accepts -g... " >&6; }
   4805 if test ${ac_cv_prog_cc_g+y}
   4806 then :
   4807   printf %s "(cached) " >&6
   4808 else $as_nop
   4809   ac_save_c_werror_flag=$ac_c_werror_flag
   4810    ac_c_werror_flag=yes
   4811    ac_cv_prog_cc_g=no
   4812    CFLAGS="-g"
   4813    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4814 /* end confdefs.h.  */
   4815 
   4816 int
   4817 main (void)
   4818 {
   4819 
   4820   ;
   4821   return 0;
   4822 }
   4823 _ACEOF
   4824 if ac_fn_c_try_compile "$LINENO"
   4825 then :
   4826   ac_cv_prog_cc_g=yes
   4827 else $as_nop
   4828   CFLAGS=""
   4829       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4830 /* end confdefs.h.  */
   4831 
   4832 int
   4833 main (void)
   4834 {
   4835 
   4836   ;
   4837   return 0;
   4838 }
   4839 _ACEOF
   4840 if ac_fn_c_try_compile "$LINENO"
   4841 then :
   4842 
   4843 else $as_nop
   4844   ac_c_werror_flag=$ac_save_c_werror_flag
   4845 	 CFLAGS="-g"
   4846 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4847 /* end confdefs.h.  */
   4848 
   4849 int
   4850 main (void)
   4851 {
   4852 
   4853   ;
   4854   return 0;
   4855 }
   4856 _ACEOF
   4857 if ac_fn_c_try_compile "$LINENO"
   4858 then :
   4859   ac_cv_prog_cc_g=yes
   4860 fi
   4861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4862 fi
   4863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4864 fi
   4865 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4866    ac_c_werror_flag=$ac_save_c_werror_flag
   4867 fi
   4868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4869 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4870 if test $ac_test_CFLAGS; then
   4871   CFLAGS=$ac_save_CFLAGS
   4872 elif test $ac_cv_prog_cc_g = yes; then
   4873   if test "$GCC" = yes; then
   4874     CFLAGS="-g -O2"
   4875   else
   4876     CFLAGS="-g"
   4877   fi
   4878 else
   4879   if test "$GCC" = yes; then
   4880     CFLAGS="-O2"
   4881   else
   4882     CFLAGS=
   4883   fi
   4884 fi
   4885 ac_prog_cc_stdc=no
   4886 if test x$ac_prog_cc_stdc = xno
   4887 then :
   4888   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4889 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4890 if test ${ac_cv_prog_cc_c11+y}
   4891 then :
   4892   printf %s "(cached) " >&6
   4893 else $as_nop
   4894   ac_cv_prog_cc_c11=no
   4895 ac_save_CC=$CC
   4896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4897 /* end confdefs.h.  */
   4898 $ac_c_conftest_c11_program
   4899 _ACEOF
   4900 for ac_arg in '' -std=gnu11
   4901 do
   4902   CC="$ac_save_CC $ac_arg"
   4903   if ac_fn_c_try_compile "$LINENO"
   4904 then :
   4905   ac_cv_prog_cc_c11=$ac_arg
   4906 fi
   4907 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4908   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4909 done
   4910 rm -f conftest.$ac_ext
   4911 CC=$ac_save_CC
   4912 fi
   4913 
   4914 if test "x$ac_cv_prog_cc_c11" = xno
   4915 then :
   4916   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4917 printf "%s\n" "unsupported" >&6; }
   4918 else $as_nop
   4919   if test "x$ac_cv_prog_cc_c11" = x
   4920 then :
   4921   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4922 printf "%s\n" "none needed" >&6; }
   4923 else $as_nop
   4924   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4925 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4926      CC="$CC $ac_cv_prog_cc_c11"
   4927 fi
   4928   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4929   ac_prog_cc_stdc=c11
   4930 fi
   4931 fi
   4932 if test x$ac_prog_cc_stdc = xno
   4933 then :
   4934   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4935 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4936 if test ${ac_cv_prog_cc_c99+y}
   4937 then :
   4938   printf %s "(cached) " >&6
   4939 else $as_nop
   4940   ac_cv_prog_cc_c99=no
   4941 ac_save_CC=$CC
   4942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4943 /* end confdefs.h.  */
   4944 $ac_c_conftest_c99_program
   4945 _ACEOF
   4946 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4947 do
   4948   CC="$ac_save_CC $ac_arg"
   4949   if ac_fn_c_try_compile "$LINENO"
   4950 then :
   4951   ac_cv_prog_cc_c99=$ac_arg
   4952 fi
   4953 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4954   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4955 done
   4956 rm -f conftest.$ac_ext
   4957 CC=$ac_save_CC
   4958 fi
   4959 
   4960 if test "x$ac_cv_prog_cc_c99" = xno
   4961 then :
   4962   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4963 printf "%s\n" "unsupported" >&6; }
   4964 else $as_nop
   4965   if test "x$ac_cv_prog_cc_c99" = x
   4966 then :
   4967   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4968 printf "%s\n" "none needed" >&6; }
   4969 else $as_nop
   4970   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4971 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4972      CC="$CC $ac_cv_prog_cc_c99"
   4973 fi
   4974   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4975   ac_prog_cc_stdc=c99
   4976 fi
   4977 fi
   4978 if test x$ac_prog_cc_stdc = xno
   4979 then :
   4980   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4981 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4982 if test ${ac_cv_prog_cc_c89+y}
   4983 then :
   4984   printf %s "(cached) " >&6
   4985 else $as_nop
   4986   ac_cv_prog_cc_c89=no
   4987 ac_save_CC=$CC
   4988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4989 /* end confdefs.h.  */
   4990 $ac_c_conftest_c89_program
   4991 _ACEOF
   4992 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4993 do
   4994   CC="$ac_save_CC $ac_arg"
   4995   if ac_fn_c_try_compile "$LINENO"
   4996 then :
   4997   ac_cv_prog_cc_c89=$ac_arg
   4998 fi
   4999 rm -f core conftest.err conftest.$ac_objext conftest.beam
   5000   test "x$ac_cv_prog_cc_c89" != "xno" && break
   5001 done
   5002 rm -f conftest.$ac_ext
   5003 CC=$ac_save_CC
   5004 fi
   5005 
   5006 if test "x$ac_cv_prog_cc_c89" = xno
   5007 then :
   5008   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5009 printf "%s\n" "unsupported" >&6; }
   5010 else $as_nop
   5011   if test "x$ac_cv_prog_cc_c89" = x
   5012 then :
   5013   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5014 printf "%s\n" "none needed" >&6; }
   5015 else $as_nop
   5016   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   5017 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   5018      CC="$CC $ac_cv_prog_cc_c89"
   5019 fi
   5020   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   5021   ac_prog_cc_stdc=c89
   5022 fi
   5023 fi
   5024 
   5025 ac_ext=c
   5026 ac_cpp='$CPP $CPPFLAGS'
   5027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5030 
   5031 
   5032   ac_ext=c
   5033 ac_cpp='$CPP $CPPFLAGS'
   5034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   5038 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   5039 if test ${am_cv_prog_cc_c_o+y}
   5040 then :
   5041   printf %s "(cached) " >&6
   5042 else $as_nop
   5043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5044 /* end confdefs.h.  */
   5045 
   5046 int
   5047 main (void)
   5048 {
   5049 
   5050   ;
   5051   return 0;
   5052 }
   5053 _ACEOF
   5054   # Make sure it works both with $CC and with simple cc.
   5055   # Following AC_PROG_CC_C_O, we do the test twice because some
   5056   # compilers refuse to overwrite an existing .o file with -o,
   5057   # though they will create one.
   5058   am_cv_prog_cc_c_o=yes
   5059   for am_i in 1 2; do
   5060     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   5061    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   5062    ac_status=$?
   5063    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5064    (exit $ac_status); } \
   5065          && test -f conftest2.$ac_objext; then
   5066       : OK
   5067     else
   5068       am_cv_prog_cc_c_o=no
   5069       break
   5070     fi
   5071   done
   5072   rm -f core conftest*
   5073   unset am_i
   5074 fi
   5075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   5076 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   5077 if test "$am_cv_prog_cc_c_o" != yes; then
   5078    # Losing compiler, so override with the script.
   5079    # FIXME: It is wrong to rewrite CC.
   5080    # But if we don't then we get into trouble of one sort or another.
   5081    # A longer-term fix would be to have automake use am__CC in this case,
   5082    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   5083    CC="$am_aux_dir/compile $CC"
   5084 fi
   5085 ac_ext=c
   5086 ac_cpp='$CPP $CPPFLAGS'
   5087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5090 
   5091 
   5092 depcc="$CC"   am_compiler_list=
   5093 
   5094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5095 printf %s "checking dependency style of $depcc... " >&6; }
   5096 if test ${am_cv_CC_dependencies_compiler_type+y}
   5097 then :
   5098   printf %s "(cached) " >&6
   5099 else $as_nop
   5100   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5101   # We make a subdir and do the tests there.  Otherwise we can end up
   5102   # making bogus files that we don't know about and never remove.  For
   5103   # instance it was reported that on HP-UX the gcc test will end up
   5104   # making a dummy file named 'D' -- because '-MD' means "put the output
   5105   # in D".
   5106   rm -rf conftest.dir
   5107   mkdir conftest.dir
   5108   # Copy depcomp to subdir because otherwise we won't find it if we're
   5109   # using a relative directory.
   5110   cp "$am_depcomp" conftest.dir
   5111   cd conftest.dir
   5112   # We will build objects and dependencies in a subdirectory because
   5113   # it helps to detect inapplicable dependency modes.  For instance
   5114   # both Tru64's cc and ICC support -MD to output dependencies as a
   5115   # side effect of compilation, but ICC will put the dependencies in
   5116   # the current directory while Tru64 will put them in the object
   5117   # directory.
   5118   mkdir sub
   5119 
   5120   am_cv_CC_dependencies_compiler_type=none
   5121   if test "$am_compiler_list" = ""; then
   5122      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5123   fi
   5124   am__universal=false
   5125   case " $depcc " in #(
   5126      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5127      esac
   5128 
   5129   for depmode in $am_compiler_list; do
   5130     # Setup a source with many dependencies, because some compilers
   5131     # like to wrap large dependency lists on column 80 (with \), and
   5132     # we should not choose a depcomp mode which is confused by this.
   5133     #
   5134     # We need to recreate these files for each test, as the compiler may
   5135     # overwrite some of them when testing with obscure command lines.
   5136     # This happens at least with the AIX C compiler.
   5137     : > sub/conftest.c
   5138     for i in 1 2 3 4 5 6; do
   5139       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5140       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5141       # Solaris 10 /bin/sh.
   5142       echo '/* dummy */' > sub/conftst$i.h
   5143     done
   5144     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5145 
   5146     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5147     # mode.  It turns out that the SunPro C++ compiler does not properly
   5148     # handle '-M -o', and we need to detect this.  Also, some Intel
   5149     # versions had trouble with output in subdirs.
   5150     am__obj=sub/conftest.${OBJEXT-o}
   5151     am__minus_obj="-o $am__obj"
   5152     case $depmode in
   5153     gcc)
   5154       # This depmode causes a compiler race in universal mode.
   5155       test "$am__universal" = false || continue
   5156       ;;
   5157     nosideeffect)
   5158       # After this tag, mechanisms are not by side-effect, so they'll
   5159       # only be used when explicitly requested.
   5160       if test "x$enable_dependency_tracking" = xyes; then
   5161 	continue
   5162       else
   5163 	break
   5164       fi
   5165       ;;
   5166     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5167       # This compiler won't grok '-c -o', but also, the minuso test has
   5168       # not run yet.  These depmodes are late enough in the game, and
   5169       # so weak that their functioning should not be impacted.
   5170       am__obj=conftest.${OBJEXT-o}
   5171       am__minus_obj=
   5172       ;;
   5173     none) break ;;
   5174     esac
   5175     if depmode=$depmode \
   5176        source=sub/conftest.c object=$am__obj \
   5177        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5178        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5179          >/dev/null 2>conftest.err &&
   5180        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5181        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5182        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5183        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5184       # icc doesn't choke on unknown options, it will just issue warnings
   5185       # or remarks (even with -Werror).  So we grep stderr for any message
   5186       # that says an option was ignored or not supported.
   5187       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5188       #   icc: Command line warning: ignoring option '-M'; no argument required
   5189       # The diagnosis changed in icc 8.0:
   5190       #   icc: Command line remark: option '-MP' not supported
   5191       if (grep 'ignoring option' conftest.err ||
   5192           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5193         am_cv_CC_dependencies_compiler_type=$depmode
   5194         break
   5195       fi
   5196     fi
   5197   done
   5198 
   5199   cd ..
   5200   rm -rf conftest.dir
   5201 else
   5202   am_cv_CC_dependencies_compiler_type=none
   5203 fi
   5204 
   5205 fi
   5206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5207 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   5208 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5209 
   5210  if
   5211   test "x$enable_dependency_tracking" != xno \
   5212   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5213   am__fastdepCC_TRUE=
   5214   am__fastdepCC_FALSE='#'
   5215 else
   5216   am__fastdepCC_TRUE='#'
   5217   am__fastdepCC_FALSE=
   5218 fi
   5219 
   5220 
   5221 
   5222 ac_header= ac_cache=
   5223 for ac_item in $ac_header_c_list
   5224 do
   5225   if test $ac_cache; then
   5226     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   5227     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   5228       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   5229     fi
   5230     ac_header= ac_cache=
   5231   elif test $ac_header; then
   5232     ac_cache=$ac_item
   5233   else
   5234     ac_header=$ac_item
   5235   fi
   5236 done
   5237 
   5238 
   5239 
   5240 
   5241 
   5242 
   5243 
   5244 
   5245 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   5246 then :
   5247 
   5248 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   5249 
   5250 fi
   5251 
   5252 
   5253 
   5254 
   5255 
   5256 
   5257   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   5258 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   5259 if test ${ac_cv_safe_to_define___extensions__+y}
   5260 then :
   5261   printf %s "(cached) " >&6
   5262 else $as_nop
   5263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5264 /* end confdefs.h.  */
   5265 
   5266 #         define __EXTENSIONS__ 1
   5267           $ac_includes_default
   5268 int
   5269 main (void)
   5270 {
   5271 
   5272   ;
   5273   return 0;
   5274 }
   5275 _ACEOF
   5276 if ac_fn_c_try_compile "$LINENO"
   5277 then :
   5278   ac_cv_safe_to_define___extensions__=yes
   5279 else $as_nop
   5280   ac_cv_safe_to_define___extensions__=no
   5281 fi
   5282 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5283 fi
   5284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   5285 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   5286 
   5287   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   5288 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   5289 if test ${ac_cv_should_define__xopen_source+y}
   5290 then :
   5291   printf %s "(cached) " >&6
   5292 else $as_nop
   5293   ac_cv_should_define__xopen_source=no
   5294     if test $ac_cv_header_wchar_h = yes
   5295 then :
   5296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5297 /* end confdefs.h.  */
   5298 
   5299           #include <wchar.h>
   5300           mbstate_t x;
   5301 int
   5302 main (void)
   5303 {
   5304 
   5305   ;
   5306   return 0;
   5307 }
   5308 _ACEOF
   5309 if ac_fn_c_try_compile "$LINENO"
   5310 then :
   5311 
   5312 else $as_nop
   5313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5314 /* end confdefs.h.  */
   5315 
   5316             #define _XOPEN_SOURCE 500
   5317             #include <wchar.h>
   5318             mbstate_t x;
   5319 int
   5320 main (void)
   5321 {
   5322 
   5323   ;
   5324   return 0;
   5325 }
   5326 _ACEOF
   5327 if ac_fn_c_try_compile "$LINENO"
   5328 then :
   5329   ac_cv_should_define__xopen_source=yes
   5330 fi
   5331 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5332 fi
   5333 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5334 fi
   5335 fi
   5336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   5337 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   5338 
   5339   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   5340 
   5341   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   5342 
   5343   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   5344 
   5345   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   5346 
   5347   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   5348 
   5349   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   5350 
   5351   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   5352 
   5353   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   5354 
   5355   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   5356 
   5357   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   5358 
   5359   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   5360 
   5361   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   5362 
   5363   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   5364 
   5365   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   5366 
   5367   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   5368 
   5369   if test $ac_cv_header_minix_config_h = yes
   5370 then :
   5371   MINIX=yes
   5372     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   5373 
   5374     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   5375 
   5376     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   5377 
   5378 else $as_nop
   5379   MINIX=
   5380 fi
   5381   if test $ac_cv_safe_to_define___extensions__ = yes
   5382 then :
   5383   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   5384 
   5385 fi
   5386   if test $ac_cv_should_define__xopen_source = yes
   5387 then :
   5388   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   5389 
   5390 fi
   5391 
   5392 
   5393 #
   5394 # Compiler compatibility flags
   5395 #
   5396 ac_ext=c
   5397 ac_cpp='$CPP $CPPFLAGS'
   5398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5401 if test -n "$ac_tool_prefix"; then
   5402   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   5403 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   5404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5405 printf %s "checking for $ac_word... " >&6; }
   5406 if test ${ac_cv_prog_CC+y}
   5407 then :
   5408   printf %s "(cached) " >&6
   5409 else $as_nop
   5410   if test -n "$CC"; then
   5411   ac_cv_prog_CC="$CC" # Let the user override the test.
   5412 else
   5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5414 for as_dir in $PATH
   5415 do
   5416   IFS=$as_save_IFS
   5417   case $as_dir in #(((
   5418     '') as_dir=./ ;;
   5419     */) ;;
   5420     *) as_dir=$as_dir/ ;;
   5421   esac
   5422     for ac_exec_ext in '' $ac_executable_extensions; do
   5423   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5424     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   5425     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5426     break 2
   5427   fi
   5428 done
   5429   done
   5430 IFS=$as_save_IFS
   5431 
   5432 fi
   5433 fi
   5434 CC=$ac_cv_prog_CC
   5435 if test -n "$CC"; then
   5436   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   5437 printf "%s\n" "$CC" >&6; }
   5438 else
   5439   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5440 printf "%s\n" "no" >&6; }
   5441 fi
   5442 
   5443 
   5444 fi
   5445 if test -z "$ac_cv_prog_CC"; then
   5446   ac_ct_CC=$CC
   5447   # Extract the first word of "gcc", so it can be a program name with args.
   5448 set dummy gcc; ac_word=$2
   5449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5450 printf %s "checking for $ac_word... " >&6; }
   5451 if test ${ac_cv_prog_ac_ct_CC+y}
   5452 then :
   5453   printf %s "(cached) " >&6
   5454 else $as_nop
   5455   if test -n "$ac_ct_CC"; then
   5456   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   5457 else
   5458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5459 for as_dir in $PATH
   5460 do
   5461   IFS=$as_save_IFS
   5462   case $as_dir in #(((
   5463     '') as_dir=./ ;;
   5464     */) ;;
   5465     *) as_dir=$as_dir/ ;;
   5466   esac
   5467     for ac_exec_ext in '' $ac_executable_extensions; do
   5468   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5469     ac_cv_prog_ac_ct_CC="gcc"
   5470     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5471     break 2
   5472   fi
   5473 done
   5474   done
   5475 IFS=$as_save_IFS
   5476 
   5477 fi
   5478 fi
   5479 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   5480 if test -n "$ac_ct_CC"; then
   5481   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   5482 printf "%s\n" "$ac_ct_CC" >&6; }
   5483 else
   5484   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5485 printf "%s\n" "no" >&6; }
   5486 fi
   5487 
   5488   if test "x$ac_ct_CC" = x; then
   5489     CC=""
   5490   else
   5491     case $cross_compiling:$ac_tool_warned in
   5492 yes:)
   5493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5494 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5495 ac_tool_warned=yes ;;
   5496 esac
   5497     CC=$ac_ct_CC
   5498   fi
   5499 else
   5500   CC="$ac_cv_prog_CC"
   5501 fi
   5502 
   5503 if test -z "$CC"; then
   5504           if test -n "$ac_tool_prefix"; then
   5505     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   5506 set dummy ${ac_tool_prefix}cc; ac_word=$2
   5507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5508 printf %s "checking for $ac_word... " >&6; }
   5509 if test ${ac_cv_prog_CC+y}
   5510 then :
   5511   printf %s "(cached) " >&6
   5512 else $as_nop
   5513   if test -n "$CC"; then
   5514   ac_cv_prog_CC="$CC" # Let the user override the test.
   5515 else
   5516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5517 for as_dir in $PATH
   5518 do
   5519   IFS=$as_save_IFS
   5520   case $as_dir in #(((
   5521     '') as_dir=./ ;;
   5522     */) ;;
   5523     *) as_dir=$as_dir/ ;;
   5524   esac
   5525     for ac_exec_ext in '' $ac_executable_extensions; do
   5526   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5527     ac_cv_prog_CC="${ac_tool_prefix}cc"
   5528     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5529     break 2
   5530   fi
   5531 done
   5532   done
   5533 IFS=$as_save_IFS
   5534 
   5535 fi
   5536 fi
   5537 CC=$ac_cv_prog_CC
   5538 if test -n "$CC"; then
   5539   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   5540 printf "%s\n" "$CC" >&6; }
   5541 else
   5542   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5543 printf "%s\n" "no" >&6; }
   5544 fi
   5545 
   5546 
   5547   fi
   5548 fi
   5549 if test -z "$CC"; then
   5550   # Extract the first word of "cc", so it can be a program name with args.
   5551 set dummy cc; ac_word=$2
   5552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5553 printf %s "checking for $ac_word... " >&6; }
   5554 if test ${ac_cv_prog_CC+y}
   5555 then :
   5556   printf %s "(cached) " >&6
   5557 else $as_nop
   5558   if test -n "$CC"; then
   5559   ac_cv_prog_CC="$CC" # Let the user override the test.
   5560 else
   5561   ac_prog_rejected=no
   5562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5563 for as_dir in $PATH
   5564 do
   5565   IFS=$as_save_IFS
   5566   case $as_dir in #(((
   5567     '') as_dir=./ ;;
   5568     */) ;;
   5569     *) as_dir=$as_dir/ ;;
   5570   esac
   5571     for ac_exec_ext in '' $ac_executable_extensions; do
   5572   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5573     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   5574        ac_prog_rejected=yes
   5575        continue
   5576      fi
   5577     ac_cv_prog_CC="cc"
   5578     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5579     break 2
   5580   fi
   5581 done
   5582   done
   5583 IFS=$as_save_IFS
   5584 
   5585 if test $ac_prog_rejected = yes; then
   5586   # We found a bogon in the path, so make sure we never use it.
   5587   set dummy $ac_cv_prog_CC
   5588   shift
   5589   if test $# != 0; then
   5590     # We chose a different compiler from the bogus one.
   5591     # However, it has the same basename, so the bogon will be chosen
   5592     # first if we set CC to just the basename; use the full file name.
   5593     shift
   5594     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   5595   fi
   5596 fi
   5597 fi
   5598 fi
   5599 CC=$ac_cv_prog_CC
   5600 if test -n "$CC"; then
   5601   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   5602 printf "%s\n" "$CC" >&6; }
   5603 else
   5604   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5605 printf "%s\n" "no" >&6; }
   5606 fi
   5607 
   5608 
   5609 fi
   5610 if test -z "$CC"; then
   5611   if test -n "$ac_tool_prefix"; then
   5612   for ac_prog in cl.exe
   5613   do
   5614     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5615 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5617 printf %s "checking for $ac_word... " >&6; }
   5618 if test ${ac_cv_prog_CC+y}
   5619 then :
   5620   printf %s "(cached) " >&6
   5621 else $as_nop
   5622   if test -n "$CC"; then
   5623   ac_cv_prog_CC="$CC" # Let the user override the test.
   5624 else
   5625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5626 for as_dir in $PATH
   5627 do
   5628   IFS=$as_save_IFS
   5629   case $as_dir in #(((
   5630     '') as_dir=./ ;;
   5631     */) ;;
   5632     *) as_dir=$as_dir/ ;;
   5633   esac
   5634     for ac_exec_ext in '' $ac_executable_extensions; do
   5635   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5636     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   5637     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5638     break 2
   5639   fi
   5640 done
   5641   done
   5642 IFS=$as_save_IFS
   5643 
   5644 fi
   5645 fi
   5646 CC=$ac_cv_prog_CC
   5647 if test -n "$CC"; then
   5648   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   5649 printf "%s\n" "$CC" >&6; }
   5650 else
   5651   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5652 printf "%s\n" "no" >&6; }
   5653 fi
   5654 
   5655 
   5656     test -n "$CC" && break
   5657   done
   5658 fi
   5659 if test -z "$CC"; then
   5660   ac_ct_CC=$CC
   5661   for ac_prog in cl.exe
   5662 do
   5663   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5664 set dummy $ac_prog; ac_word=$2
   5665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5666 printf %s "checking for $ac_word... " >&6; }
   5667 if test ${ac_cv_prog_ac_ct_CC+y}
   5668 then :
   5669   printf %s "(cached) " >&6
   5670 else $as_nop
   5671   if test -n "$ac_ct_CC"; then
   5672   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   5673 else
   5674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5675 for as_dir in $PATH
   5676 do
   5677   IFS=$as_save_IFS
   5678   case $as_dir in #(((
   5679     '') as_dir=./ ;;
   5680     */) ;;
   5681     *) as_dir=$as_dir/ ;;
   5682   esac
   5683     for ac_exec_ext in '' $ac_executable_extensions; do
   5684   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5685     ac_cv_prog_ac_ct_CC="$ac_prog"
   5686     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5687     break 2
   5688   fi
   5689 done
   5690   done
   5691 IFS=$as_save_IFS
   5692 
   5693 fi
   5694 fi
   5695 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   5696 if test -n "$ac_ct_CC"; then
   5697   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   5698 printf "%s\n" "$ac_ct_CC" >&6; }
   5699 else
   5700   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5701 printf "%s\n" "no" >&6; }
   5702 fi
   5703 
   5704 
   5705   test -n "$ac_ct_CC" && break
   5706 done
   5707 
   5708   if test "x$ac_ct_CC" = x; then
   5709     CC=""
   5710   else
   5711     case $cross_compiling:$ac_tool_warned in
   5712 yes:)
   5713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5714 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5715 ac_tool_warned=yes ;;
   5716 esac
   5717     CC=$ac_ct_CC
   5718   fi
   5719 fi
   5720 
   5721 fi
   5722 if test -z "$CC"; then
   5723   if test -n "$ac_tool_prefix"; then
   5724   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   5725 set dummy ${ac_tool_prefix}clang; ac_word=$2
   5726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5727 printf %s "checking for $ac_word... " >&6; }
   5728 if test ${ac_cv_prog_CC+y}
   5729 then :
   5730   printf %s "(cached) " >&6
   5731 else $as_nop
   5732   if test -n "$CC"; then
   5733   ac_cv_prog_CC="$CC" # Let the user override the test.
   5734 else
   5735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5736 for as_dir in $PATH
   5737 do
   5738   IFS=$as_save_IFS
   5739   case $as_dir in #(((
   5740     '') as_dir=./ ;;
   5741     */) ;;
   5742     *) as_dir=$as_dir/ ;;
   5743   esac
   5744     for ac_exec_ext in '' $ac_executable_extensions; do
   5745   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5746     ac_cv_prog_CC="${ac_tool_prefix}clang"
   5747     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5748     break 2
   5749   fi
   5750 done
   5751   done
   5752 IFS=$as_save_IFS
   5753 
   5754 fi
   5755 fi
   5756 CC=$ac_cv_prog_CC
   5757 if test -n "$CC"; then
   5758   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   5759 printf "%s\n" "$CC" >&6; }
   5760 else
   5761   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5762 printf "%s\n" "no" >&6; }
   5763 fi
   5764 
   5765 
   5766 fi
   5767 if test -z "$ac_cv_prog_CC"; then
   5768   ac_ct_CC=$CC
   5769   # Extract the first word of "clang", so it can be a program name with args.
   5770 set dummy clang; ac_word=$2
   5771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5772 printf %s "checking for $ac_word... " >&6; }
   5773 if test ${ac_cv_prog_ac_ct_CC+y}
   5774 then :
   5775   printf %s "(cached) " >&6
   5776 else $as_nop
   5777   if test -n "$ac_ct_CC"; then
   5778   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   5779 else
   5780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5781 for as_dir in $PATH
   5782 do
   5783   IFS=$as_save_IFS
   5784   case $as_dir in #(((
   5785     '') as_dir=./ ;;
   5786     */) ;;
   5787     *) as_dir=$as_dir/ ;;
   5788   esac
   5789     for ac_exec_ext in '' $ac_executable_extensions; do
   5790   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5791     ac_cv_prog_ac_ct_CC="clang"
   5792     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5793     break 2
   5794   fi
   5795 done
   5796   done
   5797 IFS=$as_save_IFS
   5798 
   5799 fi
   5800 fi
   5801 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   5802 if test -n "$ac_ct_CC"; then
   5803   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   5804 printf "%s\n" "$ac_ct_CC" >&6; }
   5805 else
   5806   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5807 printf "%s\n" "no" >&6; }
   5808 fi
   5809 
   5810   if test "x$ac_ct_CC" = x; then
   5811     CC=""
   5812   else
   5813     case $cross_compiling:$ac_tool_warned in
   5814 yes:)
   5815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5816 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5817 ac_tool_warned=yes ;;
   5818 esac
   5819     CC=$ac_ct_CC
   5820   fi
   5821 else
   5822   CC="$ac_cv_prog_CC"
   5823 fi
   5824 
   5825 fi
   5826 
   5827 
   5828 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   5829 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   5830 as_fn_error $? "no acceptable C compiler found in \$PATH
   5831 See \`config.log' for more details" "$LINENO" 5; }
   5832 
   5833 # Provide some information about the compiler.
   5834 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   5835 set X $ac_compile
   5836 ac_compiler=$2
   5837 for ac_option in --version -v -V -qversion -version; do
   5838   { { ac_try="$ac_compiler $ac_option >&5"
   5839 case "(($ac_try" in
   5840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5841   *) ac_try_echo=$ac_try;;
   5842 esac
   5843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5844 printf "%s\n" "$ac_try_echo"; } >&5
   5845   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   5846   ac_status=$?
   5847   if test -s conftest.err; then
   5848     sed '10a\
   5849 ... rest of stderr output deleted ...
   5850          10q' conftest.err >conftest.er1
   5851     cat conftest.er1 >&5
   5852   fi
   5853   rm -f conftest.er1 conftest.err
   5854   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5855   test $ac_status = 0; }
   5856 done
   5857 
   5858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   5859 printf %s "checking whether the compiler supports GNU C... " >&6; }
   5860 if test ${ac_cv_c_compiler_gnu+y}
   5861 then :
   5862   printf %s "(cached) " >&6
   5863 else $as_nop
   5864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5865 /* end confdefs.h.  */
   5866 
   5867 int
   5868 main (void)
   5869 {
   5870 #ifndef __GNUC__
   5871        choke me
   5872 #endif
   5873 
   5874   ;
   5875   return 0;
   5876 }
   5877 _ACEOF
   5878 if ac_fn_c_try_compile "$LINENO"
   5879 then :
   5880   ac_compiler_gnu=yes
   5881 else $as_nop
   5882   ac_compiler_gnu=no
   5883 fi
   5884 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5885 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   5886 
   5887 fi
   5888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   5889 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   5890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5891 
   5892 if test $ac_compiler_gnu = yes; then
   5893   GCC=yes
   5894 else
   5895   GCC=
   5896 fi
   5897 ac_test_CFLAGS=${CFLAGS+y}
   5898 ac_save_CFLAGS=$CFLAGS
   5899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   5900 printf %s "checking whether $CC accepts -g... " >&6; }
   5901 if test ${ac_cv_prog_cc_g+y}
   5902 then :
   5903   printf %s "(cached) " >&6
   5904 else $as_nop
   5905   ac_save_c_werror_flag=$ac_c_werror_flag
   5906    ac_c_werror_flag=yes
   5907    ac_cv_prog_cc_g=no
   5908    CFLAGS="-g"
   5909    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5910 /* end confdefs.h.  */
   5911 
   5912 int
   5913 main (void)
   5914 {
   5915 
   5916   ;
   5917   return 0;
   5918 }
   5919 _ACEOF
   5920 if ac_fn_c_try_compile "$LINENO"
   5921 then :
   5922   ac_cv_prog_cc_g=yes
   5923 else $as_nop
   5924   CFLAGS=""
   5925       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5926 /* end confdefs.h.  */
   5927 
   5928 int
   5929 main (void)
   5930 {
   5931 
   5932   ;
   5933   return 0;
   5934 }
   5935 _ACEOF
   5936 if ac_fn_c_try_compile "$LINENO"
   5937 then :
   5938 
   5939 else $as_nop
   5940   ac_c_werror_flag=$ac_save_c_werror_flag
   5941 	 CFLAGS="-g"
   5942 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5943 /* end confdefs.h.  */
   5944 
   5945 int
   5946 main (void)
   5947 {
   5948 
   5949   ;
   5950   return 0;
   5951 }
   5952 _ACEOF
   5953 if ac_fn_c_try_compile "$LINENO"
   5954 then :
   5955   ac_cv_prog_cc_g=yes
   5956 fi
   5957 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5958 fi
   5959 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5960 fi
   5961 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5962    ac_c_werror_flag=$ac_save_c_werror_flag
   5963 fi
   5964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   5965 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   5966 if test $ac_test_CFLAGS; then
   5967   CFLAGS=$ac_save_CFLAGS
   5968 elif test $ac_cv_prog_cc_g = yes; then
   5969   if test "$GCC" = yes; then
   5970     CFLAGS="-g -O2"
   5971   else
   5972     CFLAGS="-g"
   5973   fi
   5974 else
   5975   if test "$GCC" = yes; then
   5976     CFLAGS="-O2"
   5977   else
   5978     CFLAGS=
   5979   fi
   5980 fi
   5981 ac_prog_cc_stdc=no
   5982 if test x$ac_prog_cc_stdc = xno
   5983 then :
   5984   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   5985 printf %s "checking for $CC option to enable C11 features... " >&6; }
   5986 if test ${ac_cv_prog_cc_c11+y}
   5987 then :
   5988   printf %s "(cached) " >&6
   5989 else $as_nop
   5990   ac_cv_prog_cc_c11=no
   5991 ac_save_CC=$CC
   5992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5993 /* end confdefs.h.  */
   5994 $ac_c_conftest_c11_program
   5995 _ACEOF
   5996 for ac_arg in '' -std=gnu11
   5997 do
   5998   CC="$ac_save_CC $ac_arg"
   5999   if ac_fn_c_try_compile "$LINENO"
   6000 then :
   6001   ac_cv_prog_cc_c11=$ac_arg
   6002 fi
   6003 rm -f core conftest.err conftest.$ac_objext conftest.beam
   6004   test "x$ac_cv_prog_cc_c11" != "xno" && break
   6005 done
   6006 rm -f conftest.$ac_ext
   6007 CC=$ac_save_CC
   6008 fi
   6009 
   6010 if test "x$ac_cv_prog_cc_c11" = xno
   6011 then :
   6012   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   6013 printf "%s\n" "unsupported" >&6; }
   6014 else $as_nop
   6015   if test "x$ac_cv_prog_cc_c11" = x
   6016 then :
   6017   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   6018 printf "%s\n" "none needed" >&6; }
   6019 else $as_nop
   6020   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   6021 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   6022      CC="$CC $ac_cv_prog_cc_c11"
   6023 fi
   6024   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   6025   ac_prog_cc_stdc=c11
   6026 fi
   6027 fi
   6028 if test x$ac_prog_cc_stdc = xno
   6029 then :
   6030   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   6031 printf %s "checking for $CC option to enable C99 features... " >&6; }
   6032 if test ${ac_cv_prog_cc_c99+y}
   6033 then :
   6034   printf %s "(cached) " >&6
   6035 else $as_nop
   6036   ac_cv_prog_cc_c99=no
   6037 ac_save_CC=$CC
   6038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6039 /* end confdefs.h.  */
   6040 $ac_c_conftest_c99_program
   6041 _ACEOF
   6042 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   6043 do
   6044   CC="$ac_save_CC $ac_arg"
   6045   if ac_fn_c_try_compile "$LINENO"
   6046 then :
   6047   ac_cv_prog_cc_c99=$ac_arg
   6048 fi
   6049 rm -f core conftest.err conftest.$ac_objext conftest.beam
   6050   test "x$ac_cv_prog_cc_c99" != "xno" && break
   6051 done
   6052 rm -f conftest.$ac_ext
   6053 CC=$ac_save_CC
   6054 fi
   6055 
   6056 if test "x$ac_cv_prog_cc_c99" = xno
   6057 then :
   6058   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   6059 printf "%s\n" "unsupported" >&6; }
   6060 else $as_nop
   6061   if test "x$ac_cv_prog_cc_c99" = x
   6062 then :
   6063   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   6064 printf "%s\n" "none needed" >&6; }
   6065 else $as_nop
   6066   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   6067 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   6068      CC="$CC $ac_cv_prog_cc_c99"
   6069 fi
   6070   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   6071   ac_prog_cc_stdc=c99
   6072 fi
   6073 fi
   6074 if test x$ac_prog_cc_stdc = xno
   6075 then :
   6076   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   6077 printf %s "checking for $CC option to enable C89 features... " >&6; }
   6078 if test ${ac_cv_prog_cc_c89+y}
   6079 then :
   6080   printf %s "(cached) " >&6
   6081 else $as_nop
   6082   ac_cv_prog_cc_c89=no
   6083 ac_save_CC=$CC
   6084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6085 /* end confdefs.h.  */
   6086 $ac_c_conftest_c89_program
   6087 _ACEOF
   6088 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   6089 do
   6090   CC="$ac_save_CC $ac_arg"
   6091   if ac_fn_c_try_compile "$LINENO"
   6092 then :
   6093   ac_cv_prog_cc_c89=$ac_arg
   6094 fi
   6095 rm -f core conftest.err conftest.$ac_objext conftest.beam
   6096   test "x$ac_cv_prog_cc_c89" != "xno" && break
   6097 done
   6098 rm -f conftest.$ac_ext
   6099 CC=$ac_save_CC
   6100 fi
   6101 
   6102 if test "x$ac_cv_prog_cc_c89" = xno
   6103 then :
   6104   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   6105 printf "%s\n" "unsupported" >&6; }
   6106 else $as_nop
   6107   if test "x$ac_cv_prog_cc_c89" = x
   6108 then :
   6109   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   6110 printf "%s\n" "none needed" >&6; }
   6111 else $as_nop
   6112   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   6113 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   6114      CC="$CC $ac_cv_prog_cc_c89"
   6115 fi
   6116   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   6117   ac_prog_cc_stdc=c89
   6118 fi
   6119 fi
   6120 
   6121 ac_ext=c
   6122 ac_cpp='$CPP $CPPFLAGS'
   6123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6126 
   6127 
   6128   ac_ext=c
   6129 ac_cpp='$CPP $CPPFLAGS'
   6130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   6134 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   6135 if test ${am_cv_prog_cc_c_o+y}
   6136 then :
   6137   printf %s "(cached) " >&6
   6138 else $as_nop
   6139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6140 /* end confdefs.h.  */
   6141 
   6142 int
   6143 main (void)
   6144 {
   6145 
   6146   ;
   6147   return 0;
   6148 }
   6149 _ACEOF
   6150   # Make sure it works both with $CC and with simple cc.
   6151   # Following AC_PROG_CC_C_O, we do the test twice because some
   6152   # compilers refuse to overwrite an existing .o file with -o,
   6153   # though they will create one.
   6154   am_cv_prog_cc_c_o=yes
   6155   for am_i in 1 2; do
   6156     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   6157    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   6158    ac_status=$?
   6159    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6160    (exit $ac_status); } \
   6161          && test -f conftest2.$ac_objext; then
   6162       : OK
   6163     else
   6164       am_cv_prog_cc_c_o=no
   6165       break
   6166     fi
   6167   done
   6168   rm -f core conftest*
   6169   unset am_i
   6170 fi
   6171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   6172 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   6173 if test "$am_cv_prog_cc_c_o" != yes; then
   6174    # Losing compiler, so override with the script.
   6175    # FIXME: It is wrong to rewrite CC.
   6176    # But if we don't then we get into trouble of one sort or another.
   6177    # A longer-term fix would be to have automake use am__CC in this case,
   6178    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   6179    CC="$am_aux_dir/compile $CC"
   6180 fi
   6181 ac_ext=c
   6182 ac_cpp='$CPP $CPPFLAGS'
   6183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6186 
   6187 
   6188 depcc="$CC"   am_compiler_list=
   6189 
   6190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   6191 printf %s "checking dependency style of $depcc... " >&6; }
   6192 if test ${am_cv_CC_dependencies_compiler_type+y}
   6193 then :
   6194   printf %s "(cached) " >&6
   6195 else $as_nop
   6196   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   6197   # We make a subdir and do the tests there.  Otherwise we can end up
   6198   # making bogus files that we don't know about and never remove.  For
   6199   # instance it was reported that on HP-UX the gcc test will end up
   6200   # making a dummy file named 'D' -- because '-MD' means "put the output
   6201   # in D".
   6202   rm -rf conftest.dir
   6203   mkdir conftest.dir
   6204   # Copy depcomp to subdir because otherwise we won't find it if we're
   6205   # using a relative directory.
   6206   cp "$am_depcomp" conftest.dir
   6207   cd conftest.dir
   6208   # We will build objects and dependencies in a subdirectory because
   6209   # it helps to detect inapplicable dependency modes.  For instance
   6210   # both Tru64's cc and ICC support -MD to output dependencies as a
   6211   # side effect of compilation, but ICC will put the dependencies in
   6212   # the current directory while Tru64 will put them in the object
   6213   # directory.
   6214   mkdir sub
   6215 
   6216   am_cv_CC_dependencies_compiler_type=none
   6217   if test "$am_compiler_list" = ""; then
   6218      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   6219   fi
   6220   am__universal=false
   6221   case " $depcc " in #(
   6222      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   6223      esac
   6224 
   6225   for depmode in $am_compiler_list; do
   6226     # Setup a source with many dependencies, because some compilers
   6227     # like to wrap large dependency lists on column 80 (with \), and
   6228     # we should not choose a depcomp mode which is confused by this.
   6229     #
   6230     # We need to recreate these files for each test, as the compiler may
   6231     # overwrite some of them when testing with obscure command lines.
   6232     # This happens at least with the AIX C compiler.
   6233     : > sub/conftest.c
   6234     for i in 1 2 3 4 5 6; do
   6235       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   6236       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   6237       # Solaris 10 /bin/sh.
   6238       echo '/* dummy */' > sub/conftst$i.h
   6239     done
   6240     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   6241 
   6242     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   6243     # mode.  It turns out that the SunPro C++ compiler does not properly
   6244     # handle '-M -o', and we need to detect this.  Also, some Intel
   6245     # versions had trouble with output in subdirs.
   6246     am__obj=sub/conftest.${OBJEXT-o}
   6247     am__minus_obj="-o $am__obj"
   6248     case $depmode in
   6249     gcc)
   6250       # This depmode causes a compiler race in universal mode.
   6251       test "$am__universal" = false || continue
   6252       ;;
   6253     nosideeffect)
   6254       # After this tag, mechanisms are not by side-effect, so they'll
   6255       # only be used when explicitly requested.
   6256       if test "x$enable_dependency_tracking" = xyes; then
   6257 	continue
   6258       else
   6259 	break
   6260       fi
   6261       ;;
   6262     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   6263       # This compiler won't grok '-c -o', but also, the minuso test has
   6264       # not run yet.  These depmodes are late enough in the game, and
   6265       # so weak that their functioning should not be impacted.
   6266       am__obj=conftest.${OBJEXT-o}
   6267       am__minus_obj=
   6268       ;;
   6269     none) break ;;
   6270     esac
   6271     if depmode=$depmode \
   6272        source=sub/conftest.c object=$am__obj \
   6273        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   6274        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   6275          >/dev/null 2>conftest.err &&
   6276        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   6277        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   6278        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   6279        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   6280       # icc doesn't choke on unknown options, it will just issue warnings
   6281       # or remarks (even with -Werror).  So we grep stderr for any message
   6282       # that says an option was ignored or not supported.
   6283       # When given -MP, icc 7.0 and 7.1 complain thusly:
   6284       #   icc: Command line warning: ignoring option '-M'; no argument required
   6285       # The diagnosis changed in icc 8.0:
   6286       #   icc: Command line remark: option '-MP' not supported
   6287       if (grep 'ignoring option' conftest.err ||
   6288           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   6289         am_cv_CC_dependencies_compiler_type=$depmode
   6290         break
   6291       fi
   6292     fi
   6293   done
   6294 
   6295   cd ..
   6296   rm -rf conftest.dir
   6297 else
   6298   am_cv_CC_dependencies_compiler_type=none
   6299 fi
   6300 
   6301 fi
   6302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   6303 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   6304 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   6305 
   6306  if
   6307   test "x$enable_dependency_tracking" != xno \
   6308   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   6309   am__fastdepCC_TRUE=
   6310   am__fastdepCC_FALSE='#'
   6311 else
   6312   am__fastdepCC_TRUE='#'
   6313   am__fastdepCC_FALSE=
   6314 fi
   6315 
   6316 
   6317 ac_ext=c
   6318 ac_cpp='$CPP $CPPFLAGS'
   6319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   6323 printf %s "checking how to run the C preprocessor... " >&6; }
   6324 # On Suns, sometimes $CPP names a directory.
   6325 if test -n "$CPP" && test -d "$CPP"; then
   6326   CPP=
   6327 fi
   6328 if test -z "$CPP"; then
   6329   if test ${ac_cv_prog_CPP+y}
   6330 then :
   6331   printf %s "(cached) " >&6
   6332 else $as_nop
   6333       # Double quotes because $CC needs to be expanded
   6334     for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
   6335     do
   6336       ac_preproc_ok=false
   6337 for ac_c_preproc_warn_flag in '' yes
   6338 do
   6339   # Use a header file that comes with gcc, so configuring glibc
   6340   # with a fresh cross-compiler works.
   6341   # On the NeXT, cc -E runs the code through the compiler's parser,
   6342   # not just through cpp. "Syntax error" is here to catch this case.
   6343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6344 /* end confdefs.h.  */
   6345 #include <limits.h>
   6346 		     Syntax error
   6347 _ACEOF
   6348 if ac_fn_c_try_cpp "$LINENO"
   6349 then :
   6350 
   6351 else $as_nop
   6352   # Broken: fails on valid input.
   6353 continue
   6354 fi
   6355 rm -f conftest.err conftest.i conftest.$ac_ext
   6356 
   6357   # OK, works on sane cases.  Now check whether nonexistent headers
   6358   # can be detected and how.
   6359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6360 /* end confdefs.h.  */
   6361 #include <ac_nonexistent.h>
   6362 _ACEOF
   6363 if ac_fn_c_try_cpp "$LINENO"
   6364 then :
   6365   # Broken: success on invalid input.
   6366 continue
   6367 else $as_nop
   6368   # Passes both tests.
   6369 ac_preproc_ok=:
   6370 break
   6371 fi
   6372 rm -f conftest.err conftest.i conftest.$ac_ext
   6373 
   6374 done
   6375 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6376 rm -f conftest.i conftest.err conftest.$ac_ext
   6377 if $ac_preproc_ok
   6378 then :
   6379   break
   6380 fi
   6381 
   6382     done
   6383     ac_cv_prog_CPP=$CPP
   6384 
   6385 fi
   6386   CPP=$ac_cv_prog_CPP
   6387 else
   6388   ac_cv_prog_CPP=$CPP
   6389 fi
   6390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   6391 printf "%s\n" "$CPP" >&6; }
   6392 ac_preproc_ok=false
   6393 for ac_c_preproc_warn_flag in '' yes
   6394 do
   6395   # Use a header file that comes with gcc, so configuring glibc
   6396   # with a fresh cross-compiler works.
   6397   # On the NeXT, cc -E runs the code through the compiler's parser,
   6398   # not just through cpp. "Syntax error" is here to catch this case.
   6399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6400 /* end confdefs.h.  */
   6401 #include <limits.h>
   6402 		     Syntax error
   6403 _ACEOF
   6404 if ac_fn_c_try_cpp "$LINENO"
   6405 then :
   6406 
   6407 else $as_nop
   6408   # Broken: fails on valid input.
   6409 continue
   6410 fi
   6411 rm -f conftest.err conftest.i conftest.$ac_ext
   6412 
   6413   # OK, works on sane cases.  Now check whether nonexistent headers
   6414   # can be detected and how.
   6415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6416 /* end confdefs.h.  */
   6417 #include <ac_nonexistent.h>
   6418 _ACEOF
   6419 if ac_fn_c_try_cpp "$LINENO"
   6420 then :
   6421   # Broken: success on invalid input.
   6422 continue
   6423 else $as_nop
   6424   # Passes both tests.
   6425 ac_preproc_ok=:
   6426 break
   6427 fi
   6428 rm -f conftest.err conftest.i conftest.$ac_ext
   6429 
   6430 done
   6431 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6432 rm -f conftest.i conftest.err conftest.$ac_ext
   6433 if $ac_preproc_ok
   6434 then :
   6435 
   6436 else $as_nop
   6437   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   6438 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   6439 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   6440 See \`config.log' for more details" "$LINENO" 5; }
   6441 fi
   6442 
   6443 ac_ext=c
   6444 ac_cpp='$CPP $CPPFLAGS'
   6445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6448 
   6449 ac_c_preproc_warn_flag=yes
   6450 
   6451 #
   6452 # Find build compiler when cross compiling
   6453 #
   6454 
   6455 
   6456 cross_compiling_build=no
   6457 
   6458 ac_build_tool_prefix=
   6459 if test -n "$build"
   6460 then :
   6461   ac_build_tool_prefix="$build-"
   6462 elif test -n "$build_alias"
   6463 then :
   6464   ac_build_tool_prefix="$build_alias-"
   6465 fi
   6466 
   6467 ac_ext=c
   6468 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
   6469 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
   6470 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
   6471 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
   6472 
   6473 
   6474 was_set_c_compiler_gnu=${ac_cv_c_compiler_gnu+y}
   6475 if test ${was_set_c_compiler_gnu}
   6476 then :
   6477   saved_c_compiler_gnu=$ac_cv_c_compiler_gnu
   6478     { ac_cv_c_compiler_gnu=; unset ac_cv_c_compiler_gnu;}
   6479 fi
   6480 
   6481 ac_ext=c
   6482 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
   6483 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
   6484 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
   6485 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
   6486 if test -n "$ac_build_tool_prefix"; then
   6487   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   6488 set dummy ${ac_build_tool_prefix}gcc; ac_word=$2
   6489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6490 printf %s "checking for $ac_word... " >&6; }
   6491 if test ${ac_cv_prog_CC_FOR_BUILD+y}
   6492 then :
   6493   printf %s "(cached) " >&6
   6494 else $as_nop
   6495   if test -n "$CC_FOR_BUILD"; then
   6496   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   6497 else
   6498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6499 for as_dir in $PATH
   6500 do
   6501   IFS=$as_save_IFS
   6502   case $as_dir in #(((
   6503     '') as_dir=./ ;;
   6504     */) ;;
   6505     *) as_dir=$as_dir/ ;;
   6506   esac
   6507     for ac_exec_ext in '' $ac_executable_extensions; do
   6508   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6509     ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}gcc"
   6510     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6511     break 2
   6512   fi
   6513 done
   6514   done
   6515 IFS=$as_save_IFS
   6516 
   6517 fi
   6518 fi
   6519 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   6520 if test -n "$CC_FOR_BUILD"; then
   6521   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   6522 printf "%s\n" "$CC_FOR_BUILD" >&6; }
   6523 else
   6524   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6525 printf "%s\n" "no" >&6; }
   6526 fi
   6527 
   6528 
   6529 fi
   6530 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
   6531   ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
   6532   # Extract the first word of "gcc", so it can be a program name with args.
   6533 set dummy gcc; ac_word=$2
   6534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6535 printf %s "checking for $ac_word... " >&6; }
   6536 if test ${ac_cv_prog_ac_ct_CC_FOR_BUILD+y}
   6537 then :
   6538   printf %s "(cached) " >&6
   6539 else $as_nop
   6540   if test -n "$ac_ct_CC_FOR_BUILD"; then
   6541   ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
   6542 else
   6543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6544 for as_dir in $PATH
   6545 do
   6546   IFS=$as_save_IFS
   6547   case $as_dir in #(((
   6548     '') as_dir=./ ;;
   6549     */) ;;
   6550     *) as_dir=$as_dir/ ;;
   6551   esac
   6552     for ac_exec_ext in '' $ac_executable_extensions; do
   6553   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6554     ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc"
   6555     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6556     break 2
   6557   fi
   6558 done
   6559   done
   6560 IFS=$as_save_IFS
   6561 
   6562 fi
   6563 fi
   6564 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
   6565 if test -n "$ac_ct_CC_FOR_BUILD"; then
   6566   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
   6567 printf "%s\n" "$ac_ct_CC_FOR_BUILD" >&6; }
   6568 else
   6569   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6570 printf "%s\n" "no" >&6; }
   6571 fi
   6572 
   6573   if test "x$ac_ct_CC_FOR_BUILD" = x; then
   6574     CC_FOR_BUILD=""
   6575   else
   6576     case $cross_compiling_build:$ac_tool_warned in
   6577 yes:)
   6578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
   6579 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
   6580 ac_tool_warned=yes ;;
   6581 esac
   6582     CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
   6583   fi
   6584 else
   6585   CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD"
   6586 fi
   6587 
   6588 if test -z "$CC_FOR_BUILD"; then
   6589           if test -n "$ac_build_tool_prefix"; then
   6590     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   6591 set dummy ${ac_build_tool_prefix}cc; ac_word=$2
   6592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6593 printf %s "checking for $ac_word... " >&6; }
   6594 if test ${ac_cv_prog_CC_FOR_BUILD+y}
   6595 then :
   6596   printf %s "(cached) " >&6
   6597 else $as_nop
   6598   if test -n "$CC_FOR_BUILD"; then
   6599   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   6600 else
   6601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6602 for as_dir in $PATH
   6603 do
   6604   IFS=$as_save_IFS
   6605   case $as_dir in #(((
   6606     '') as_dir=./ ;;
   6607     */) ;;
   6608     *) as_dir=$as_dir/ ;;
   6609   esac
   6610     for ac_exec_ext in '' $ac_executable_extensions; do
   6611   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6612     ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}cc"
   6613     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6614     break 2
   6615   fi
   6616 done
   6617   done
   6618 IFS=$as_save_IFS
   6619 
   6620 fi
   6621 fi
   6622 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   6623 if test -n "$CC_FOR_BUILD"; then
   6624   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   6625 printf "%s\n" "$CC_FOR_BUILD" >&6; }
   6626 else
   6627   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6628 printf "%s\n" "no" >&6; }
   6629 fi
   6630 
   6631 
   6632   fi
   6633 fi
   6634 if test -z "$CC_FOR_BUILD"; then
   6635   # Extract the first word of "cc", so it can be a program name with args.
   6636 set dummy cc; ac_word=$2
   6637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6638 printf %s "checking for $ac_word... " >&6; }
   6639 if test ${ac_cv_prog_CC_FOR_BUILD+y}
   6640 then :
   6641   printf %s "(cached) " >&6
   6642 else $as_nop
   6643   if test -n "$CC_FOR_BUILD"; then
   6644   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   6645 else
   6646   ac_prog_rejected=no
   6647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6648 for as_dir in $PATH
   6649 do
   6650   IFS=$as_save_IFS
   6651   case $as_dir in #(((
   6652     '') as_dir=./ ;;
   6653     */) ;;
   6654     *) as_dir=$as_dir/ ;;
   6655   esac
   6656     for ac_exec_ext in '' $ac_executable_extensions; do
   6657   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6658     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   6659        ac_prog_rejected=yes
   6660        continue
   6661      fi
   6662     ac_cv_prog_CC_FOR_BUILD="cc"
   6663     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6664     break 2
   6665   fi
   6666 done
   6667   done
   6668 IFS=$as_save_IFS
   6669 
   6670 if test $ac_prog_rejected = yes; then
   6671   # We found a bogon in the path, so make sure we never use it.
   6672   set dummy $ac_cv_prog_CC_FOR_BUILD
   6673   shift
   6674   if test $# != 0; then
   6675     # We chose a different compiler from the bogus one.
   6676     # However, it has the same basename, so the bogon will be chosen
   6677     # first if we set CC_FOR_BUILD to just the basename; use the full file name.
   6678     shift
   6679     ac_cv_prog_CC_FOR_BUILD="$as_dir$ac_word${1+' '}$@"
   6680   fi
   6681 fi
   6682 fi
   6683 fi
   6684 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   6685 if test -n "$CC_FOR_BUILD"; then
   6686   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   6687 printf "%s\n" "$CC_FOR_BUILD" >&6; }
   6688 else
   6689   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6690 printf "%s\n" "no" >&6; }
   6691 fi
   6692 
   6693 
   6694 fi
   6695 if test -z "$CC_FOR_BUILD"; then
   6696   if test -n "$ac_build_tool_prefix"; then
   6697   for ac_prog in cl.exe
   6698   do
   6699     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6700 set dummy $ac_build_tool_prefix$ac_prog; ac_word=$2
   6701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6702 printf %s "checking for $ac_word... " >&6; }
   6703 if test ${ac_cv_prog_CC_FOR_BUILD+y}
   6704 then :
   6705   printf %s "(cached) " >&6
   6706 else $as_nop
   6707   if test -n "$CC_FOR_BUILD"; then
   6708   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   6709 else
   6710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6711 for as_dir in $PATH
   6712 do
   6713   IFS=$as_save_IFS
   6714   case $as_dir in #(((
   6715     '') as_dir=./ ;;
   6716     */) ;;
   6717     *) as_dir=$as_dir/ ;;
   6718   esac
   6719     for ac_exec_ext in '' $ac_executable_extensions; do
   6720   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6721     ac_cv_prog_CC_FOR_BUILD="$ac_build_tool_prefix$ac_prog"
   6722     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6723     break 2
   6724   fi
   6725 done
   6726   done
   6727 IFS=$as_save_IFS
   6728 
   6729 fi
   6730 fi
   6731 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   6732 if test -n "$CC_FOR_BUILD"; then
   6733   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   6734 printf "%s\n" "$CC_FOR_BUILD" >&6; }
   6735 else
   6736   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6737 printf "%s\n" "no" >&6; }
   6738 fi
   6739 
   6740 
   6741     test -n "$CC_FOR_BUILD" && break
   6742   done
   6743 fi
   6744 if test -z "$CC_FOR_BUILD"; then
   6745   ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
   6746   for ac_prog in cl.exe
   6747 do
   6748   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6749 set dummy $ac_prog; ac_word=$2
   6750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6751 printf %s "checking for $ac_word... " >&6; }
   6752 if test ${ac_cv_prog_ac_ct_CC_FOR_BUILD+y}
   6753 then :
   6754   printf %s "(cached) " >&6
   6755 else $as_nop
   6756   if test -n "$ac_ct_CC_FOR_BUILD"; then
   6757   ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
   6758 else
   6759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6760 for as_dir in $PATH
   6761 do
   6762   IFS=$as_save_IFS
   6763   case $as_dir in #(((
   6764     '') as_dir=./ ;;
   6765     */) ;;
   6766     *) as_dir=$as_dir/ ;;
   6767   esac
   6768     for ac_exec_ext in '' $ac_executable_extensions; do
   6769   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6770     ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog"
   6771     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6772     break 2
   6773   fi
   6774 done
   6775   done
   6776 IFS=$as_save_IFS
   6777 
   6778 fi
   6779 fi
   6780 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
   6781 if test -n "$ac_ct_CC_FOR_BUILD"; then
   6782   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
   6783 printf "%s\n" "$ac_ct_CC_FOR_BUILD" >&6; }
   6784 else
   6785   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6786 printf "%s\n" "no" >&6; }
   6787 fi
   6788 
   6789 
   6790   test -n "$ac_ct_CC_FOR_BUILD" && break
   6791 done
   6792 
   6793   if test "x$ac_ct_CC_FOR_BUILD" = x; then
   6794     CC_FOR_BUILD=""
   6795   else
   6796     case $cross_compiling_build:$ac_tool_warned in
   6797 yes:)
   6798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
   6799 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
   6800 ac_tool_warned=yes ;;
   6801 esac
   6802     CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
   6803   fi
   6804 fi
   6805 
   6806 fi
   6807 if test -z "$CC_FOR_BUILD"; then
   6808   if test -n "$ac_build_tool_prefix"; then
   6809   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   6810 set dummy ${ac_build_tool_prefix}clang; ac_word=$2
   6811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6812 printf %s "checking for $ac_word... " >&6; }
   6813 if test ${ac_cv_prog_CC_FOR_BUILD+y}
   6814 then :
   6815   printf %s "(cached) " >&6
   6816 else $as_nop
   6817   if test -n "$CC_FOR_BUILD"; then
   6818   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   6819 else
   6820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6821 for as_dir in $PATH
   6822 do
   6823   IFS=$as_save_IFS
   6824   case $as_dir in #(((
   6825     '') as_dir=./ ;;
   6826     */) ;;
   6827     *) as_dir=$as_dir/ ;;
   6828   esac
   6829     for ac_exec_ext in '' $ac_executable_extensions; do
   6830   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6831     ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}clang"
   6832     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6833     break 2
   6834   fi
   6835 done
   6836   done
   6837 IFS=$as_save_IFS
   6838 
   6839 fi
   6840 fi
   6841 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   6842 if test -n "$CC_FOR_BUILD"; then
   6843   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   6844 printf "%s\n" "$CC_FOR_BUILD" >&6; }
   6845 else
   6846   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6847 printf "%s\n" "no" >&6; }
   6848 fi
   6849 
   6850 
   6851 fi
   6852 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
   6853   ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
   6854   # Extract the first word of "clang", so it can be a program name with args.
   6855 set dummy clang; ac_word=$2
   6856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6857 printf %s "checking for $ac_word... " >&6; }
   6858 if test ${ac_cv_prog_ac_ct_CC_FOR_BUILD+y}
   6859 then :
   6860   printf %s "(cached) " >&6
   6861 else $as_nop
   6862   if test -n "$ac_ct_CC_FOR_BUILD"; then
   6863   ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
   6864 else
   6865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6866 for as_dir in $PATH
   6867 do
   6868   IFS=$as_save_IFS
   6869   case $as_dir in #(((
   6870     '') as_dir=./ ;;
   6871     */) ;;
   6872     *) as_dir=$as_dir/ ;;
   6873   esac
   6874     for ac_exec_ext in '' $ac_executable_extensions; do
   6875   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6876     ac_cv_prog_ac_ct_CC_FOR_BUILD="clang"
   6877     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6878     break 2
   6879   fi
   6880 done
   6881   done
   6882 IFS=$as_save_IFS
   6883 
   6884 fi
   6885 fi
   6886 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
   6887 if test -n "$ac_ct_CC_FOR_BUILD"; then
   6888   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
   6889 printf "%s\n" "$ac_ct_CC_FOR_BUILD" >&6; }
   6890 else
   6891   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6892 printf "%s\n" "no" >&6; }
   6893 fi
   6894 
   6895   if test "x$ac_ct_CC_FOR_BUILD" = x; then
   6896     CC_FOR_BUILD=""
   6897   else
   6898     case $cross_compiling_build:$ac_tool_warned in
   6899 yes:)
   6900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
   6901 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
   6902 ac_tool_warned=yes ;;
   6903 esac
   6904     CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
   6905   fi
   6906 else
   6907   CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD"
   6908 fi
   6909 
   6910 fi
   6911 
   6912 
   6913 test -z "$CC_FOR_BUILD" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   6914 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   6915 as_fn_error $? "no acceptable C compiler found in \$PATH
   6916 See \`config.log' for more details" "$LINENO" 5; }
   6917 
   6918 # Provide some information about the compiler.
   6919 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   6920 set X $ac_compile
   6921 ac_compiler=$2
   6922 for ac_option in --version -v -V -qversion -version; do
   6923   { { ac_try="$ac_compiler $ac_option >&5"
   6924 case "(($ac_try" in
   6925   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6926   *) ac_try_echo=$ac_try;;
   6927 esac
   6928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   6929 printf "%s\n" "$ac_try_echo"; } >&5
   6930   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   6931   ac_status=$?
   6932   if test -s conftest.err; then
   6933     sed '10a\
   6934 ... rest of stderr output deleted ...
   6935          10q' conftest.err >conftest.er1
   6936     cat conftest.er1 >&5
   6937   fi
   6938   rm -f conftest.er1 conftest.err
   6939   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6940   test $ac_status = 0; }
   6941 done
   6942 
   6943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   6944 printf %s "checking whether the compiler supports GNU C... " >&6; }
   6945 if test ${ac_cv_c_compiler_gnu+y}
   6946 then :
   6947   printf %s "(cached) " >&6
   6948 else $as_nop
   6949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6950 /* end confdefs.h.  */
   6951 
   6952 int
   6953 main (void)
   6954 {
   6955 #ifndef __GNUC__
   6956        choke me
   6957 #endif
   6958 
   6959   ;
   6960   return 0;
   6961 }
   6962 _ACEOF
   6963 if ac_fn_c_try_compile "$LINENO"
   6964 then :
   6965   ac_compiler_gnu=yes
   6966 else $as_nop
   6967   ac_compiler_gnu=no
   6968 fi
   6969 rm -f core conftest.err conftest.$ac_build_objext conftest.beam conftest.$ac_ext
   6970 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   6971 
   6972 fi
   6973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   6974 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   6975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6976 
   6977 if test $ac_compiler_gnu = yes; then
   6978   GCC_FOR_BUILD=yes
   6979 else
   6980   GCC_FOR_BUILD=
   6981 fi
   6982 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+y}
   6983 ac_save_CFLAGS=$CFLAGS_FOR_BUILD
   6984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5
   6985 printf %s "checking whether $CC_FOR_BUILD accepts -g... " >&6; }
   6986 if test ${ac_cv_build_prog_cc_g+y}
   6987 then :
   6988   printf %s "(cached) " >&6
   6989 else $as_nop
   6990   ac_save_c_werror_flag=$ac_c_werror_flag
   6991    ac_c_werror_flag=yes
   6992    ac_cv_build_prog_cc_g=no
   6993    CFLAGS_FOR_BUILD="-g"
   6994    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6995 /* end confdefs.h.  */
   6996 
   6997 int
   6998 main (void)
   6999 {
   7000 
   7001   ;
   7002   return 0;
   7003 }
   7004 _ACEOF
   7005 if ac_fn_c_try_compile "$LINENO"
   7006 then :
   7007   ac_cv_build_prog_cc_g=yes
   7008 else $as_nop
   7009   CFLAGS_FOR_BUILD=""
   7010       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7011 /* end confdefs.h.  */
   7012 
   7013 int
   7014 main (void)
   7015 {
   7016 
   7017   ;
   7018   return 0;
   7019 }
   7020 _ACEOF
   7021 if ac_fn_c_try_compile "$LINENO"
   7022 then :
   7023 
   7024 else $as_nop
   7025   ac_c_werror_flag=$ac_save_c_werror_flag
   7026 	 CFLAGS_FOR_BUILD="-g"
   7027 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7028 /* end confdefs.h.  */
   7029 
   7030 int
   7031 main (void)
   7032 {
   7033 
   7034   ;
   7035   return 0;
   7036 }
   7037 _ACEOF
   7038 if ac_fn_c_try_compile "$LINENO"
   7039 then :
   7040   ac_cv_build_prog_cc_g=yes
   7041 fi
   7042 rm -f core conftest.err conftest.$ac_build_objext conftest.beam conftest.$ac_ext
   7043 fi
   7044 rm -f core conftest.err conftest.$ac_build_objext conftest.beam conftest.$ac_ext
   7045 fi
   7046 rm -f core conftest.err conftest.$ac_build_objext conftest.beam conftest.$ac_ext
   7047    ac_c_werror_flag=$ac_save_c_werror_flag
   7048 fi
   7049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5
   7050 printf "%s\n" "$ac_cv_build_prog_cc_g" >&6; }
   7051 if test $ac_test_CFLAGS; then
   7052   CFLAGS_FOR_BUILD=$ac_save_CFLAGS
   7053 elif test $ac_cv_build_prog_cc_g = yes; then
   7054   if test "$GCC_FOR_BUILD" = yes; then
   7055     CFLAGS_FOR_BUILD="-g -O2"
   7056   else
   7057     CFLAGS_FOR_BUILD="-g"
   7058   fi
   7059 else
   7060   if test "$GCC_FOR_BUILD" = yes; then
   7061     CFLAGS_FOR_BUILD="-O2"
   7062   else
   7063     CFLAGS_FOR_BUILD=
   7064   fi
   7065 fi
   7066 ac_prog_cc_stdc=no
   7067 if test x$ac_prog_cc_stdc = xno
   7068 then :
   7069   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to enable C11 features" >&5
   7070 printf %s "checking for $CC_FOR_BUILD option to enable C11 features... " >&6; }
   7071 if test ${ac_cv_build_prog_cc_c11+y}
   7072 then :
   7073   printf %s "(cached) " >&6
   7074 else $as_nop
   7075   ac_cv_build_prog_cc_c11=no
   7076 ac_save_CC=$CC_FOR_BUILD
   7077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7078 /* end confdefs.h.  */
   7079 $ac_c_conftest_c11_program
   7080 _ACEOF
   7081 for ac_arg in '' -std=gnu11
   7082 do
   7083   CC_FOR_BUILD="$ac_save_CC $ac_arg"
   7084   if ac_fn_c_try_compile "$LINENO"
   7085 then :
   7086   ac_cv_build_prog_cc_c11=$ac_arg
   7087 fi
   7088 rm -f core conftest.err conftest.$ac_build_objext conftest.beam
   7089   test "x$ac_cv_build_prog_cc_c11" != "xno" && break
   7090 done
   7091 rm -f conftest.$ac_ext
   7092 CC_FOR_BUILD=$ac_save_CC
   7093 fi
   7094 
   7095 if test "x$ac_cv_build_prog_cc_c11" = xno
   7096 then :
   7097   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   7098 printf "%s\n" "unsupported" >&6; }
   7099 else $as_nop
   7100   if test "x$ac_cv_build_prog_cc_c11" = x
   7101 then :
   7102   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   7103 printf "%s\n" "none needed" >&6; }
   7104 else $as_nop
   7105   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_c11" >&5
   7106 printf "%s\n" "$ac_cv_build_prog_cc_c11" >&6; }
   7107      CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_c11"
   7108 fi
   7109   ac_cv_prog_cc_stdc=$ac_cv_build_prog_cc_c11
   7110   ac_prog_cc_stdc=c11
   7111 fi
   7112 fi
   7113 if test x$ac_prog_cc_stdc = xno
   7114 then :
   7115   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to enable C99 features" >&5
   7116 printf %s "checking for $CC_FOR_BUILD option to enable C99 features... " >&6; }
   7117 if test ${ac_cv_build_prog_cc_c99+y}
   7118 then :
   7119   printf %s "(cached) " >&6
   7120 else $as_nop
   7121   ac_cv_build_prog_cc_c99=no
   7122 ac_save_CC=$CC_FOR_BUILD
   7123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7124 /* end confdefs.h.  */
   7125 $ac_c_conftest_c99_program
   7126 _ACEOF
   7127 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   7128 do
   7129   CC_FOR_BUILD="$ac_save_CC $ac_arg"
   7130   if ac_fn_c_try_compile "$LINENO"
   7131 then :
   7132   ac_cv_build_prog_cc_c99=$ac_arg
   7133 fi
   7134 rm -f core conftest.err conftest.$ac_build_objext conftest.beam
   7135   test "x$ac_cv_build_prog_cc_c99" != "xno" && break
   7136 done
   7137 rm -f conftest.$ac_ext
   7138 CC_FOR_BUILD=$ac_save_CC
   7139 fi
   7140 
   7141 if test "x$ac_cv_build_prog_cc_c99" = xno
   7142 then :
   7143   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   7144 printf "%s\n" "unsupported" >&6; }
   7145 else $as_nop
   7146   if test "x$ac_cv_build_prog_cc_c99" = x
   7147 then :
   7148   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   7149 printf "%s\n" "none needed" >&6; }
   7150 else $as_nop
   7151   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_c99" >&5
   7152 printf "%s\n" "$ac_cv_build_prog_cc_c99" >&6; }
   7153      CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_c99"
   7154 fi
   7155   ac_cv_prog_cc_stdc=$ac_cv_build_prog_cc_c99
   7156   ac_prog_cc_stdc=c99
   7157 fi
   7158 fi
   7159 if test x$ac_prog_cc_stdc = xno
   7160 then :
   7161   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to enable C89 features" >&5
   7162 printf %s "checking for $CC_FOR_BUILD option to enable C89 features... " >&6; }
   7163 if test ${ac_cv_build_prog_cc_c89+y}
   7164 then :
   7165   printf %s "(cached) " >&6
   7166 else $as_nop
   7167   ac_cv_build_prog_cc_c89=no
   7168 ac_save_CC=$CC_FOR_BUILD
   7169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7170 /* end confdefs.h.  */
   7171 $ac_c_conftest_c89_program
   7172 _ACEOF
   7173 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   7174 do
   7175   CC_FOR_BUILD="$ac_save_CC $ac_arg"
   7176   if ac_fn_c_try_compile "$LINENO"
   7177 then :
   7178   ac_cv_build_prog_cc_c89=$ac_arg
   7179 fi
   7180 rm -f core conftest.err conftest.$ac_build_objext conftest.beam
   7181   test "x$ac_cv_build_prog_cc_c89" != "xno" && break
   7182 done
   7183 rm -f conftest.$ac_ext
   7184 CC_FOR_BUILD=$ac_save_CC
   7185 fi
   7186 
   7187 if test "x$ac_cv_build_prog_cc_c89" = xno
   7188 then :
   7189   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   7190 printf "%s\n" "unsupported" >&6; }
   7191 else $as_nop
   7192   if test "x$ac_cv_build_prog_cc_c89" = x
   7193 then :
   7194   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   7195 printf "%s\n" "none needed" >&6; }
   7196 else $as_nop
   7197   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_c89" >&5
   7198 printf "%s\n" "$ac_cv_build_prog_cc_c89" >&6; }
   7199      CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_c89"
   7200 fi
   7201   ac_cv_prog_cc_stdc=$ac_cv_build_prog_cc_c89
   7202   ac_prog_cc_stdc=c89
   7203 fi
   7204 fi
   7205 
   7206 ac_ext=c
   7207 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
   7208 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
   7209 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
   7210 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
   7211 
   7212 
   7213   ac_ext=c
   7214 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
   7215 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
   7216 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
   7217 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
   7218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD understands -c and -o together" >&5
   7219 printf %s "checking whether $CC_FOR_BUILD understands -c and -o together... " >&6; }
   7220 if test ${am_cv_build_prog_cc_c_o+y}
   7221 then :
   7222   printf %s "(cached) " >&6
   7223 else $as_nop
   7224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7225 /* end confdefs.h.  */
   7226 
   7227 int
   7228 main (void)
   7229 {
   7230 
   7231   ;
   7232   return 0;
   7233 }
   7234 _ACEOF
   7235   # Make sure it works both with $CC and with simple cc.
   7236   # Following AC_PROG_CC_C_O, we do the test twice because some
   7237   # compilers refuse to overwrite an existing .o file with -o,
   7238   # though they will create one.
   7239   am_cv_build_prog_cc_c_o=yes
   7240   for am_i in 1 2; do
   7241     if { echo "$as_me:$LINENO: $CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext" >&5
   7242    ($CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext) >&5 2>&5
   7243    ac_status=$?
   7244    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7245    (exit $ac_status); } \
   7246          && test -f conftest2.$ac_build_objext; then
   7247       : OK
   7248     else
   7249       am_cv_build_prog_cc_c_o=no
   7250       break
   7251     fi
   7252   done
   7253   rm -f core conftest*
   7254   unset am_i
   7255 fi
   7256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_prog_cc_c_o" >&5
   7257 printf "%s\n" "$am_cv_build_prog_cc_c_o" >&6; }
   7258 if test "$am_cv_build_prog_cc_c_o" != yes; then
   7259    # Losing compiler, so override with the script.
   7260    # FIXME: It is wrong to rewrite CC.
   7261    # But if we don't then we get into trouble of one sort or another.
   7262    # A longer-term fix would be to have automake use am__CC in this case,
   7263    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   7264    CC_FOR_BUILD="$am_aux_dir/compile $CC_FOR_BUILD"
   7265 fi
   7266 ac_ext=c
   7267 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
   7268 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
   7269 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
   7270 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
   7271 
   7272 
   7273 depcc="$CC_FOR_BUILD"   am_compiler_list=
   7274 
   7275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   7276 printf %s "checking dependency style of $depcc... " >&6; }
   7277 if test ${am_cv_build_CC_dependencies_compiler_type+y}
   7278 then :
   7279   printf %s "(cached) " >&6
   7280 else $as_nop
   7281   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   7282   # We make a subdir and do the tests there.  Otherwise we can end up
   7283   # making bogus files that we don't know about and never remove.  For
   7284   # instance it was reported that on HP-UX the gcc test will end up
   7285   # making a dummy file named 'D' -- because '-MD' means "put the output
   7286   # in D".
   7287   rm -rf conftest.dir
   7288   mkdir conftest.dir
   7289   # Copy depcomp to subdir because otherwise we won't find it if we're
   7290   # using a relative directory.
   7291   cp "$am_depcomp" conftest.dir
   7292   cd conftest.dir
   7293   # We will build objects and dependencies in a subdirectory because
   7294   # it helps to detect inapplicable dependency modes.  For instance
   7295   # both Tru64's cc and ICC support -MD to output dependencies as a
   7296   # side effect of compilation, but ICC will put the dependencies in
   7297   # the current directory while Tru64 will put them in the object
   7298   # directory.
   7299   mkdir sub
   7300 
   7301   am_cv_build_CC_dependencies_compiler_type=none
   7302   if test "$am_compiler_list" = ""; then
   7303      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   7304   fi
   7305   am__universal=false
   7306   case " $depcc " in #(
   7307      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   7308      esac
   7309 
   7310   for depmode in $am_compiler_list; do
   7311     # Setup a source with many dependencies, because some compilers
   7312     # like to wrap large dependency lists on column 80 (with \), and
   7313     # we should not choose a depcomp mode which is confused by this.
   7314     #
   7315     # We need to recreate these files for each test, as the compiler may
   7316     # overwrite some of them when testing with obscure command lines.
   7317     # This happens at least with the AIX C compiler.
   7318     : > sub/conftest.c
   7319     for i in 1 2 3 4 5 6; do
   7320       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   7321       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   7322       # Solaris 10 /bin/sh.
   7323       echo '/* dummy */' > sub/conftst$i.h
   7324     done
   7325     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   7326 
   7327     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   7328     # mode.  It turns out that the SunPro C++ compiler does not properly
   7329     # handle '-M -o', and we need to detect this.  Also, some Intel
   7330     # versions had trouble with output in subdirs.
   7331     am__obj=sub/conftest.${BUILD_OBJEXT-o}
   7332     am__minus_obj="-o $am__obj"
   7333     case $depmode in
   7334     gcc)
   7335       # This depmode causes a compiler race in universal mode.
   7336       test "$am__universal" = false || continue
   7337       ;;
   7338     nosideeffect)
   7339       # After this tag, mechanisms are not by side-effect, so they'll
   7340       # only be used when explicitly requested.
   7341       if test "x$enable_dependency_tracking" = xyes; then
   7342 	continue
   7343       else
   7344 	break
   7345       fi
   7346       ;;
   7347     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   7348       # This compiler won't grok '-c -o', but also, the minuso test has
   7349       # not run yet.  These depmodes are late enough in the game, and
   7350       # so weak that their functioning should not be impacted.
   7351       am__obj=conftest.${BUILD_OBJEXT-o}
   7352       am__minus_obj=
   7353       ;;
   7354     none) break ;;
   7355     esac
   7356     if depmode=$depmode \
   7357        source=sub/conftest.c object=$am__obj \
   7358        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   7359        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   7360          >/dev/null 2>conftest.err &&
   7361        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   7362        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   7363        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   7364        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   7365       # icc doesn't choke on unknown options, it will just issue warnings
   7366       # or remarks (even with -Werror).  So we grep stderr for any message
   7367       # that says an option was ignored or not supported.
   7368       # When given -MP, icc 7.0 and 7.1 complain thusly:
   7369       #   icc: Command line warning: ignoring option '-M'; no argument required
   7370       # The diagnosis changed in icc 8.0:
   7371       #   icc: Command line remark: option '-MP' not supported
   7372       if (grep 'ignoring option' conftest.err ||
   7373           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   7374         am_cv_build_CC_dependencies_compiler_type=$depmode
   7375         break
   7376       fi
   7377     fi
   7378   done
   7379 
   7380   cd ..
   7381   rm -rf conftest.dir
   7382 else
   7383   am_cv_build_CC_dependencies_compiler_type=none
   7384 fi
   7385 
   7386 fi
   7387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_CC_dependencies_compiler_type" >&5
   7388 printf "%s\n" "$am_cv_build_CC_dependencies_compiler_type" >&6; }
   7389 CCDEPMODE=depmode=$am_cv_build_CC_dependencies_compiler_type
   7390 
   7391  if
   7392   test "x$enable_dependency_tracking" != xno \
   7393   && test "$am_cv_build_CC_dependencies_compiler_type" = gcc3; then
   7394   am__fastdepCC_TRUE=
   7395   am__fastdepCC_FALSE='#'
   7396 else
   7397   am__fastdepCC_TRUE='#'
   7398   am__fastdepCC_FALSE=
   7399 fi
   7400 
   7401 
   7402 
   7403 if test ${was_set_c_compiler_gnu}
   7404 then :
   7405   ac_cv_c_compiler_gnu=$saved_c_compiler_gnu
   7406 fi
   7407 
   7408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7409 /* end confdefs.h.  */
   7410 
   7411 int
   7412 main (void)
   7413 {
   7414 
   7415   ;
   7416   return 0;
   7417 }
   7418 _ACEOF
   7419 ac_clean_files_save=$ac_clean_files
   7420 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   7421 # Try to create an executable without -o first, disregard a.out.
   7422 # It will help us diagnose broken compilers, and finding out an intuition
   7423 # of exeext.
   7424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   7425 printf %s "checking whether the C compiler works... " >&6; }
   7426 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   7427 
   7428 # The possible output files:
   7429 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   7430 
   7431 ac_rmfiles=
   7432 for ac_file in $ac_files
   7433 do
   7434   case $ac_file in
   7435     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   7436     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   7437   esac
   7438 done
   7439 rm -f $ac_rmfiles
   7440 
   7441 if { { ac_try="$ac_link_default"
   7442 case "(($ac_try" in
   7443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7444   *) ac_try_echo=$ac_try;;
   7445 esac
   7446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   7447 printf "%s\n" "$ac_try_echo"; } >&5
   7448   (eval "$ac_link_default") 2>&5
   7449   ac_status=$?
   7450   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7451   test $ac_status = 0; }
   7452 then :
   7453   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   7454 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   7455 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   7456 # so that the user can short-circuit this test for compilers unknown to
   7457 # Autoconf.
   7458 for ac_file in $ac_files ''
   7459 do
   7460   test -f "$ac_file" || continue
   7461   case $ac_file in
   7462     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   7463 	;;
   7464     [ab].out )
   7465 	# We found the default executable, but exeext='' is most
   7466 	# certainly right.
   7467 	break;;
   7468     *.* )
   7469 	if test ${ac_cv_build_exeext+y} && test "$ac_cv_build_exeext" != no;
   7470 	then :; else
   7471 	   ac_cv_build_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   7472 	fi
   7473 	# We set ac_cv_exeext here because the later test for it is not
   7474 	# safe: cross compilers may not add the suffix if given an `-o'
   7475 	# argument, so we may need to know it at that point already.
   7476 	# Even if this section looks crufty: it has the advantage of
   7477 	# actually working.
   7478 	break;;
   7479     * )
   7480 	break;;
   7481   esac
   7482 done
   7483 test "$ac_cv_build_exeext" = no && ac_cv_build_exeext=
   7484 
   7485 else $as_nop
   7486   ac_file=''
   7487 fi
   7488 if test -z "$ac_file"
   7489 then :
   7490   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7491 printf "%s\n" "no" >&6; }
   7492 printf "%s\n" "$as_me: failed program was:" >&5
   7493 sed 's/^/| /' conftest.$ac_ext >&5
   7494 
   7495 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7496 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   7497 as_fn_error 77 "C compiler cannot create executables
   7498 See \`config.log' for more details" "$LINENO" 5; }
   7499 else $as_nop
   7500   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   7501 printf "%s\n" "yes" >&6; }
   7502 fi
   7503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   7504 printf %s "checking for C compiler default output file name... " >&6; }
   7505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   7506 printf "%s\n" "$ac_file" >&6; }
   7507 ac_build_exeext=$ac_cv_build_exeext
   7508 
   7509 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_build_exeext b.out
   7510 ac_clean_files=$ac_clean_files_save
   7511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   7512 printf %s "checking for suffix of executables... " >&6; }
   7513 if { { ac_try="$ac_link"
   7514 case "(($ac_try" in
   7515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7516   *) ac_try_echo=$ac_try;;
   7517 esac
   7518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   7519 printf "%s\n" "$ac_try_echo"; } >&5
   7520   (eval "$ac_link") 2>&5
   7521   ac_status=$?
   7522   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7523   test $ac_status = 0; }
   7524 then :
   7525   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   7526 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   7527 # work properly (i.e., refer to `conftest.exe'), while it won't with
   7528 # `rm'.
   7529 for ac_file in conftest.exe conftest conftest.*; do
   7530   test -f "$ac_file" || continue
   7531   case $ac_file in
   7532     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   7533     *.* ) ac_cv_build_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   7534 	  break;;
   7535     * ) break;;
   7536   esac
   7537 done
   7538 else $as_nop
   7539   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7540 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   7541 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   7542 See \`config.log' for more details" "$LINENO" 5; }
   7543 fi
   7544 rm -f conftest conftest$ac_cv_build_exeext
   7545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_exeext" >&5
   7546 printf "%s\n" "$ac_cv_build_exeext" >&6; }
   7547 
   7548 rm -f conftest.$ac_ext
   7549 EXEEXT=$ac_cv_build_exeext
   7550 ac_build_exeext=$BUILD_EXEEXT
   7551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7552 /* end confdefs.h.  */
   7553 #include <stdio.h>
   7554 int
   7555 main (void)
   7556 {
   7557 FILE *f = fopen ("conftest.out", "w");
   7558  return ferror (f) || fclose (f) != 0;
   7559 
   7560   ;
   7561   return 0;
   7562 }
   7563 _ACEOF
   7564 ac_clean_files="$ac_clean_files conftest.out"
   7565 # Check that the compiler produces executables we can run.  If not, either
   7566 # the compiler is broken, or we cross compile.
   7567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   7568 printf %s "checking whether we are cross compiling... " >&6; }
   7569 if test "$cross_compiling_build" != yes; then
   7570   { { ac_try="$ac_link"
   7571 case "(($ac_try" in
   7572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7573   *) ac_try_echo=$ac_try;;
   7574 esac
   7575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   7576 printf "%s\n" "$ac_try_echo"; } >&5
   7577   (eval "$ac_link") 2>&5
   7578   ac_status=$?
   7579   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7580   test $ac_status = 0; }
   7581   if { ac_try='./conftest$ac_cv_build_exeext'
   7582   { { case "(($ac_try" in
   7583   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7584   *) ac_try_echo=$ac_try;;
   7585 esac
   7586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   7587 printf "%s\n" "$ac_try_echo"; } >&5
   7588   (eval "$ac_try") 2>&5
   7589   ac_status=$?
   7590   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7591   test $ac_status = 0; }; }; then
   7592     cross_compiling_build=no
   7593   else
   7594     if test "$cross_compiling_build" = maybe; then
   7595 	cross_compiling_build=yes
   7596     else
   7597 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7598 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   7599 as_fn_error 77 "cannot run C compiled programs.
   7600 If you meant to cross compile, use \`--build'.
   7601 See \`config.log' for more details" "$LINENO" 5; }
   7602     fi
   7603   fi
   7604 fi
   7605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling_build" >&5
   7606 printf "%s\n" "$cross_compiling_build" >&6; }
   7607 
   7608 rm -f conftest.$ac_ext conftest$ac_cv_build_exeext conftest.out
   7609 ac_clean_files=$ac_clean_files_save
   7610 
   7611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   7612 printf %s "checking for suffix of object files... " >&6; }
   7613 if test ${ac_cv_build_objext+y}
   7614 then :
   7615   printf %s "(cached) " >&6
   7616 else $as_nop
   7617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7618 /* end confdefs.h.  */
   7619 
   7620 int
   7621 main (void)
   7622 {
   7623 
   7624   ;
   7625   return 0;
   7626 }
   7627 _ACEOF
   7628 rm -f conftest.o conftest.obj
   7629 if { { ac_try="$ac_compile"
   7630 case "(($ac_try" in
   7631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7632   *) ac_try_echo=$ac_try;;
   7633 esac
   7634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   7635 printf "%s\n" "$ac_try_echo"; } >&5
   7636   (eval "$ac_compile") 2>&5
   7637   ac_status=$?
   7638   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7639   test $ac_status = 0; }
   7640 then :
   7641   for ac_file in conftest.o conftest.obj conftest.*; do
   7642   test -f "$ac_file" || continue;
   7643   case $ac_file in
   7644     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   7645     *) ac_cv_build_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   7646        break;;
   7647   esac
   7648 done
   7649 else $as_nop
   7650   printf "%s\n" "$as_me: failed program was:" >&5
   7651 sed 's/^/| /' conftest.$ac_ext >&5
   7652 
   7653 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7654 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   7655 as_fn_error $? "cannot compute suffix of object files: cannot compile
   7656 See \`config.log' for more details" "$LINENO" 5; }
   7657 fi
   7658 rm -f conftest.$ac_cv_build_objext conftest.$ac_ext
   7659 fi
   7660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_objext" >&5
   7661 printf "%s\n" "$ac_cv_build_objext" >&6; }
   7662 OBJEXT=$ac_cv_build_objext
   7663 ac_build_objext=$BUILD_OBJEXT
   7664 
   7665 ac_ext=c
   7666 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
   7667 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
   7668 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
   7669 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
   7670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7671 printf %s "checking how to run the C preprocessor... " >&6; }
   7672 # On Suns, sometimes $CPP names a directory.
   7673 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
   7674   CPP_FOR_BUILD=
   7675 fi
   7676 if test -z "$CPP_FOR_BUILD"; then
   7677   if test ${ac_cv_build_prog_CPP+y}
   7678 then :
   7679   printf %s "(cached) " >&6
   7680 else $as_nop
   7681       # Double quotes because $CC needs to be expanded
   7682     for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" cpp /lib/cpp
   7683     do
   7684       ac_preproc_ok=false
   7685 for ac_c_preproc_warn_flag in '' yes
   7686 do
   7687   # Use a header file that comes with gcc, so configuring glibc
   7688   # with a fresh cross-compiler works.
   7689   # On the NeXT, cc -E runs the code through the compiler's parser,
   7690   # not just through cpp. "Syntax error" is here to catch this case.
   7691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7692 /* end confdefs.h.  */
   7693 #include <limits.h>
   7694 		     Syntax error
   7695 _ACEOF
   7696 if ac_fn_c_try_cpp "$LINENO"
   7697 then :
   7698 
   7699 else $as_nop
   7700   # Broken: fails on valid input.
   7701 continue
   7702 fi
   7703 rm -f conftest.err conftest.i conftest.$ac_ext
   7704 
   7705   # OK, works on sane cases.  Now check whether nonexistent headers
   7706   # can be detected and how.
   7707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7708 /* end confdefs.h.  */
   7709 #include <ac_nonexistent.h>
   7710 _ACEOF
   7711 if ac_fn_c_try_cpp "$LINENO"
   7712 then :
   7713   # Broken: success on invalid input.
   7714 continue
   7715 else $as_nop
   7716   # Passes both tests.
   7717 ac_preproc_ok=:
   7718 break
   7719 fi
   7720 rm -f conftest.err conftest.i conftest.$ac_ext
   7721 
   7722 done
   7723 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7724 rm -f conftest.i conftest.err conftest.$ac_ext
   7725 if $ac_preproc_ok
   7726 then :
   7727   break
   7728 fi
   7729 
   7730     done
   7731     ac_cv_build_prog_CPP=$CPP_FOR_BUILD
   7732 
   7733 fi
   7734   CPP_FOR_BUILD=$ac_cv_build_prog_CPP
   7735 else
   7736   ac_cv_build_prog_CPP=$CPP_FOR_BUILD
   7737 fi
   7738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5
   7739 printf "%s\n" "$CPP_FOR_BUILD" >&6; }
   7740 ac_preproc_ok=false
   7741 for ac_c_preproc_warn_flag in '' yes
   7742 do
   7743   # Use a header file that comes with gcc, so configuring glibc
   7744   # with a fresh cross-compiler works.
   7745   # On the NeXT, cc -E runs the code through the compiler's parser,
   7746   # not just through cpp. "Syntax error" is here to catch this case.
   7747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7748 /* end confdefs.h.  */
   7749 #include <limits.h>
   7750 		     Syntax error
   7751 _ACEOF
   7752 if ac_fn_c_try_cpp "$LINENO"
   7753 then :
   7754 
   7755 else $as_nop
   7756   # Broken: fails on valid input.
   7757 continue
   7758 fi
   7759 rm -f conftest.err conftest.i conftest.$ac_ext
   7760 
   7761   # OK, works on sane cases.  Now check whether nonexistent headers
   7762   # can be detected and how.
   7763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7764 /* end confdefs.h.  */
   7765 #include <ac_nonexistent.h>
   7766 _ACEOF
   7767 if ac_fn_c_try_cpp "$LINENO"
   7768 then :
   7769   # Broken: success on invalid input.
   7770 continue
   7771 else $as_nop
   7772   # Passes both tests.
   7773 ac_preproc_ok=:
   7774 break
   7775 fi
   7776 rm -f conftest.err conftest.i conftest.$ac_ext
   7777 
   7778 done
   7779 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7780 rm -f conftest.i conftest.err conftest.$ac_ext
   7781 if $ac_preproc_ok
   7782 then :
   7783 
   7784 else $as_nop
   7785   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7786 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   7787 as_fn_error $? "C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
   7788 See \`config.log' for more details" "$LINENO" 5; }
   7789 fi
   7790 
   7791 ac_ext=c
   7792 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
   7793 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
   7794 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
   7795 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
   7796 
   7797 
   7798 
   7799 ac_ext=c
   7800 ac_cpp='$CPP $CPPFLAGS'
   7801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7804 
   7805 
   7806 
   7807 
   7808 #
   7809 # Find the machine's endian flavor.
   7810 #
   7811  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   7812 printf %s "checking whether byte ordering is bigendian... " >&6; }
   7813 if test ${ac_cv_c_bigendian+y}
   7814 then :
   7815   printf %s "(cached) " >&6
   7816 else $as_nop
   7817   ac_cv_c_bigendian=unknown
   7818     # See if we're dealing with a universal compiler.
   7819     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7820 /* end confdefs.h.  */
   7821 #ifndef __APPLE_CC__
   7822 	       not a universal capable compiler
   7823 	     #endif
   7824 	     typedef int dummy;
   7825 
   7826 _ACEOF
   7827 if ac_fn_c_try_compile "$LINENO"
   7828 then :
   7829 
   7830 	# Check for potential -arch flags.  It is not universal unless
   7831 	# there are at least two -arch flags with different values.
   7832 	ac_arch=
   7833 	ac_prev=
   7834 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   7835 	 if test -n "$ac_prev"; then
   7836 	   case $ac_word in
   7837 	     i?86 | x86_64 | ppc | ppc64)
   7838 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   7839 		 ac_arch=$ac_word
   7840 	       else
   7841 		 ac_cv_c_bigendian=universal
   7842 		 break
   7843 	       fi
   7844 	       ;;
   7845 	   esac
   7846 	   ac_prev=
   7847 	 elif test "x$ac_word" = "x-arch"; then
   7848 	   ac_prev=arch
   7849 	 fi
   7850        done
   7851 fi
   7852 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7853     if test $ac_cv_c_bigendian = unknown; then
   7854       # See if sys/param.h defines the BYTE_ORDER macro.
   7855       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7856 /* end confdefs.h.  */
   7857 #include <sys/types.h>
   7858 	     #include <sys/param.h>
   7859 
   7860 int
   7861 main (void)
   7862 {
   7863 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   7864 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   7865 		     && LITTLE_ENDIAN)
   7866 	      bogus endian macros
   7867 	     #endif
   7868 
   7869   ;
   7870   return 0;
   7871 }
   7872 _ACEOF
   7873 if ac_fn_c_try_compile "$LINENO"
   7874 then :
   7875   # It does; now see whether it defined to BIG_ENDIAN or not.
   7876 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7877 /* end confdefs.h.  */
   7878 #include <sys/types.h>
   7879 		#include <sys/param.h>
   7880 
   7881 int
   7882 main (void)
   7883 {
   7884 #if BYTE_ORDER != BIG_ENDIAN
   7885 		 not big endian
   7886 		#endif
   7887 
   7888   ;
   7889   return 0;
   7890 }
   7891 _ACEOF
   7892 if ac_fn_c_try_compile "$LINENO"
   7893 then :
   7894   ac_cv_c_bigendian=yes
   7895 else $as_nop
   7896   ac_cv_c_bigendian=no
   7897 fi
   7898 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7899 fi
   7900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7901     fi
   7902     if test $ac_cv_c_bigendian = unknown; then
   7903       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   7904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7905 /* end confdefs.h.  */
   7906 #include <limits.h>
   7907 
   7908 int
   7909 main (void)
   7910 {
   7911 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   7912 	      bogus endian macros
   7913 	     #endif
   7914 
   7915   ;
   7916   return 0;
   7917 }
   7918 _ACEOF
   7919 if ac_fn_c_try_compile "$LINENO"
   7920 then :
   7921   # It does; now see whether it defined to _BIG_ENDIAN or not.
   7922 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7923 /* end confdefs.h.  */
   7924 #include <limits.h>
   7925 
   7926 int
   7927 main (void)
   7928 {
   7929 #ifndef _BIG_ENDIAN
   7930 		 not big endian
   7931 		#endif
   7932 
   7933   ;
   7934   return 0;
   7935 }
   7936 _ACEOF
   7937 if ac_fn_c_try_compile "$LINENO"
   7938 then :
   7939   ac_cv_c_bigendian=yes
   7940 else $as_nop
   7941   ac_cv_c_bigendian=no
   7942 fi
   7943 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7944 fi
   7945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7946     fi
   7947     if test $ac_cv_c_bigendian = unknown; then
   7948       # Compile a test program.
   7949       if test "$cross_compiling" = yes
   7950 then :
   7951   # Try to guess by grepping values from an object file.
   7952 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7953 /* end confdefs.h.  */
   7954 unsigned short int ascii_mm[] =
   7955 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   7956 		unsigned short int ascii_ii[] =
   7957 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   7958 		int use_ascii (int i) {
   7959 		  return ascii_mm[i] + ascii_ii[i];
   7960 		}
   7961 		unsigned short int ebcdic_ii[] =
   7962 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   7963 		unsigned short int ebcdic_mm[] =
   7964 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   7965 		int use_ebcdic (int i) {
   7966 		  return ebcdic_mm[i] + ebcdic_ii[i];
   7967 		}
   7968 		extern int foo;
   7969 
   7970 int
   7971 main (void)
   7972 {
   7973 return use_ascii (foo) == use_ebcdic (foo);
   7974   ;
   7975   return 0;
   7976 }
   7977 _ACEOF
   7978 if ac_fn_c_try_compile "$LINENO"
   7979 then :
   7980   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   7981 	      ac_cv_c_bigendian=yes
   7982 	    fi
   7983 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   7984 	      if test "$ac_cv_c_bigendian" = unknown; then
   7985 		ac_cv_c_bigendian=no
   7986 	      else
   7987 		# finding both strings is unlikely to happen, but who knows?
   7988 		ac_cv_c_bigendian=unknown
   7989 	      fi
   7990 	    fi
   7991 fi
   7992 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7993 else $as_nop
   7994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7995 /* end confdefs.h.  */
   7996 $ac_includes_default
   7997 int
   7998 main (void)
   7999 {
   8000 
   8001 	     /* Are we little or big endian?  From Harbison&Steele.  */
   8002 	     union
   8003 	     {
   8004 	       long int l;
   8005 	       char c[sizeof (long int)];
   8006 	     } u;
   8007 	     u.l = 1;
   8008 	     return u.c[sizeof (long int) - 1] == 1;
   8009 
   8010   ;
   8011   return 0;
   8012 }
   8013 _ACEOF
   8014 if ac_fn_c_try_run "$LINENO"
   8015 then :
   8016   ac_cv_c_bigendian=no
   8017 else $as_nop
   8018   ac_cv_c_bigendian=yes
   8019 fi
   8020 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   8021   conftest.$ac_objext conftest.beam conftest.$ac_ext
   8022 fi
   8023 
   8024     fi
   8025 fi
   8026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   8027 printf "%s\n" "$ac_cv_c_bigendian" >&6; }
   8028  case $ac_cv_c_bigendian in #(
   8029    yes)
   8030      printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h
   8031 ;; #(
   8032    no)
   8033       ;; #(
   8034    universal)
   8035 
   8036 printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   8037 
   8038      ;; #(
   8039    *)
   8040      as_fn_error $? "unknown endianness
   8041  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   8042  esac
   8043 
   8044 
   8045 #
   8046 # Enable large file support
   8047 #
   8048 # Check whether --enable-largefile was given.
   8049 if test ${enable_largefile+y}
   8050 then :
   8051   enableval=$enable_largefile;
   8052 fi
   8053 
   8054 if test "$enable_largefile" != no; then
   8055 
   8056   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   8057 printf %s "checking for special C compiler options needed for large files... " >&6; }
   8058 if test ${ac_cv_sys_largefile_CC+y}
   8059 then :
   8060   printf %s "(cached) " >&6
   8061 else $as_nop
   8062   ac_cv_sys_largefile_CC=no
   8063      if test "$GCC" != yes; then
   8064        ac_save_CC=$CC
   8065        while :; do
   8066 	 # IRIX 6.2 and later do not support large files by default,
   8067 	 # so use the C compiler's -n32 option if that helps.
   8068 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8069 /* end confdefs.h.  */
   8070 #include <sys/types.h>
   8071  /* Check that off_t can represent 2**63 - 1 correctly.
   8072     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   8073     since some C++ compilers masquerading as C compilers
   8074     incorrectly reject 9223372036854775807.  */
   8075 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   8076   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   8077 		       && LARGE_OFF_T % 2147483647 == 1)
   8078 		      ? 1 : -1];
   8079 int
   8080 main (void)
   8081 {
   8082 
   8083   ;
   8084   return 0;
   8085 }
   8086 _ACEOF
   8087 	 if ac_fn_c_try_compile "$LINENO"
   8088 then :
   8089   break
   8090 fi
   8091 rm -f core conftest.err conftest.$ac_objext conftest.beam
   8092 	 CC="$CC -n32"
   8093 	 if ac_fn_c_try_compile "$LINENO"
   8094 then :
   8095   ac_cv_sys_largefile_CC=' -n32'; break
   8096 fi
   8097 rm -f core conftest.err conftest.$ac_objext conftest.beam
   8098 	 break
   8099        done
   8100        CC=$ac_save_CC
   8101        rm -f conftest.$ac_ext
   8102     fi
   8103 fi
   8104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   8105 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
   8106   if test "$ac_cv_sys_largefile_CC" != no; then
   8107     CC=$CC$ac_cv_sys_largefile_CC
   8108   fi
   8109 
   8110   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   8111 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   8112 if test ${ac_cv_sys_file_offset_bits+y}
   8113 then :
   8114   printf %s "(cached) " >&6
   8115 else $as_nop
   8116   while :; do
   8117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8118 /* end confdefs.h.  */
   8119 #include <sys/types.h>
   8120  /* Check that off_t can represent 2**63 - 1 correctly.
   8121     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   8122     since some C++ compilers masquerading as C compilers
   8123     incorrectly reject 9223372036854775807.  */
   8124 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   8125   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   8126 		       && LARGE_OFF_T % 2147483647 == 1)
   8127 		      ? 1 : -1];
   8128 int
   8129 main (void)
   8130 {
   8131 
   8132   ;
   8133   return 0;
   8134 }
   8135 _ACEOF
   8136 if ac_fn_c_try_compile "$LINENO"
   8137 then :
   8138   ac_cv_sys_file_offset_bits=no; break
   8139 fi
   8140 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8142 /* end confdefs.h.  */
   8143 #define _FILE_OFFSET_BITS 64
   8144 #include <sys/types.h>
   8145  /* Check that off_t can represent 2**63 - 1 correctly.
   8146     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   8147     since some C++ compilers masquerading as C compilers
   8148     incorrectly reject 9223372036854775807.  */
   8149 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   8150   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   8151 		       && LARGE_OFF_T % 2147483647 == 1)
   8152 		      ? 1 : -1];
   8153 int
   8154 main (void)
   8155 {
   8156 
   8157   ;
   8158   return 0;
   8159 }
   8160 _ACEOF
   8161 if ac_fn_c_try_compile "$LINENO"
   8162 then :
   8163   ac_cv_sys_file_offset_bits=64; break
   8164 fi
   8165 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8166   ac_cv_sys_file_offset_bits=unknown
   8167   break
   8168 done
   8169 fi
   8170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   8171 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
   8172 case $ac_cv_sys_file_offset_bits in #(
   8173   no | unknown) ;;
   8174   *)
   8175 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
   8176 ;;
   8177 esac
   8178 rm -rf conftest*
   8179   if test $ac_cv_sys_file_offset_bits = unknown; then
   8180     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   8181 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
   8182 if test ${ac_cv_sys_large_files+y}
   8183 then :
   8184   printf %s "(cached) " >&6
   8185 else $as_nop
   8186   while :; do
   8187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8188 /* end confdefs.h.  */
   8189 #include <sys/types.h>
   8190  /* Check that off_t can represent 2**63 - 1 correctly.
   8191     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   8192     since some C++ compilers masquerading as C compilers
   8193     incorrectly reject 9223372036854775807.  */
   8194 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   8195   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   8196 		       && LARGE_OFF_T % 2147483647 == 1)
   8197 		      ? 1 : -1];
   8198 int
   8199 main (void)
   8200 {
   8201 
   8202   ;
   8203   return 0;
   8204 }
   8205 _ACEOF
   8206 if ac_fn_c_try_compile "$LINENO"
   8207 then :
   8208   ac_cv_sys_large_files=no; break
   8209 fi
   8210 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8212 /* end confdefs.h.  */
   8213 #define _LARGE_FILES 1
   8214 #include <sys/types.h>
   8215  /* Check that off_t can represent 2**63 - 1 correctly.
   8216     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   8217     since some C++ compilers masquerading as C compilers
   8218     incorrectly reject 9223372036854775807.  */
   8219 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   8220   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   8221 		       && LARGE_OFF_T % 2147483647 == 1)
   8222 		      ? 1 : -1];
   8223 int
   8224 main (void)
   8225 {
   8226 
   8227   ;
   8228   return 0;
   8229 }
   8230 _ACEOF
   8231 if ac_fn_c_try_compile "$LINENO"
   8232 then :
   8233   ac_cv_sys_large_files=1; break
   8234 fi
   8235 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8236   ac_cv_sys_large_files=unknown
   8237   break
   8238 done
   8239 fi
   8240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   8241 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
   8242 case $ac_cv_sys_large_files in #(
   8243   no | unknown) ;;
   8244   *)
   8245 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
   8246 ;;
   8247 esac
   8248 rm -rf conftest*
   8249   fi
   8250 fi
   8251 
   8252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
   8253 printf %s "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
   8254 if test ${ac_cv_sys_largefile_source+y}
   8255 then :
   8256   printf %s "(cached) " >&6
   8257 else $as_nop
   8258   while :; do
   8259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8260 /* end confdefs.h.  */
   8261 #include <sys/types.h> /* for off_t */
   8262      #include <stdio.h>
   8263 int
   8264 main (void)
   8265 {
   8266 int (*fp) (FILE *, off_t, int) = fseeko;
   8267      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
   8268   ;
   8269   return 0;
   8270 }
   8271 _ACEOF
   8272 if ac_fn_c_try_link "$LINENO"
   8273 then :
   8274   ac_cv_sys_largefile_source=no; break
   8275 fi
   8276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8277     conftest$ac_exeext conftest.$ac_ext
   8278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8279 /* end confdefs.h.  */
   8280 #define _LARGEFILE_SOURCE 1
   8281 #include <sys/types.h> /* for off_t */
   8282      #include <stdio.h>
   8283 int
   8284 main (void)
   8285 {
   8286 int (*fp) (FILE *, off_t, int) = fseeko;
   8287      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
   8288   ;
   8289   return 0;
   8290 }
   8291 _ACEOF
   8292 if ac_fn_c_try_link "$LINENO"
   8293 then :
   8294   ac_cv_sys_largefile_source=1; break
   8295 fi
   8296 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8297     conftest$ac_exeext conftest.$ac_ext
   8298   ac_cv_sys_largefile_source=unknown
   8299   break
   8300 done
   8301 fi
   8302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
   8303 printf "%s\n" "$ac_cv_sys_largefile_source" >&6; }
   8304 case $ac_cv_sys_largefile_source in #(
   8305   no | unknown) ;;
   8306   *)
   8307 printf "%s\n" "#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source" >>confdefs.h
   8308 ;;
   8309 esac
   8310 rm -rf conftest*
   8311 
   8312 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
   8313 # in glibc 2.1.3, but that breaks too many other things.
   8314 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
   8315 if test $ac_cv_sys_largefile_source != unknown; then
   8316 
   8317 printf "%s\n" "#define HAVE_FSEEKO 1" >>confdefs.h
   8318 
   8319 fi
   8320 
   8321 
   8322 # Enable RFC 3542 APIs on macOS
   8323 
   8324 printf "%s\n" "#define __APPLE_USE_RFC_3542 1" >>confdefs.h
   8325 
   8326 
   8327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   8328 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   8329 set x ${MAKE-make}
   8330 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   8331 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   8332 then :
   8333   printf %s "(cached) " >&6
   8334 else $as_nop
   8335   cat >conftest.make <<\_ACEOF
   8336 SHELL = /bin/sh
   8337 all:
   8338 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   8339 _ACEOF
   8340 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   8341 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   8342   *@@@%%%=?*=@@@%%%*)
   8343     eval ac_cv_prog_make_${ac_make}_set=yes;;
   8344   *)
   8345     eval ac_cv_prog_make_${ac_make}_set=no;;
   8346 esac
   8347 rm -f conftest.make
   8348 fi
   8349 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   8350   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   8351 printf "%s\n" "yes" >&6; }
   8352   SET_MAKE=
   8353 else
   8354   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8355 printf "%s\n" "no" >&6; }
   8356   SET_MAKE="MAKE=${MAKE-make}"
   8357 fi
   8358 
   8359 
   8360 # Checks for programs.
   8361 
   8362   if test -n "$ac_tool_prefix"; then
   8363   for ac_prog in ar lib "link -lib"
   8364   do
   8365     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   8366 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   8367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8368 printf %s "checking for $ac_word... " >&6; }
   8369 if test ${ac_cv_prog_AR+y}
   8370 then :
   8371   printf %s "(cached) " >&6
   8372 else $as_nop
   8373   if test -n "$AR"; then
   8374   ac_cv_prog_AR="$AR" # Let the user override the test.
   8375 else
   8376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8377 for as_dir in $PATH
   8378 do
   8379   IFS=$as_save_IFS
   8380   case $as_dir in #(((
   8381     '') as_dir=./ ;;
   8382     */) ;;
   8383     *) as_dir=$as_dir/ ;;
   8384   esac
   8385     for ac_exec_ext in '' $ac_executable_extensions; do
   8386   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8387     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   8388     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8389     break 2
   8390   fi
   8391 done
   8392   done
   8393 IFS=$as_save_IFS
   8394 
   8395 fi
   8396 fi
   8397 AR=$ac_cv_prog_AR
   8398 if test -n "$AR"; then
   8399   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   8400 printf "%s\n" "$AR" >&6; }
   8401 else
   8402   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8403 printf "%s\n" "no" >&6; }
   8404 fi
   8405 
   8406 
   8407     test -n "$AR" && break
   8408   done
   8409 fi
   8410 if test -z "$AR"; then
   8411   ac_ct_AR=$AR
   8412   for ac_prog in ar lib "link -lib"
   8413 do
   8414   # Extract the first word of "$ac_prog", so it can be a program name with args.
   8415 set dummy $ac_prog; ac_word=$2
   8416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8417 printf %s "checking for $ac_word... " >&6; }
   8418 if test ${ac_cv_prog_ac_ct_AR+y}
   8419 then :
   8420   printf %s "(cached) " >&6
   8421 else $as_nop
   8422   if test -n "$ac_ct_AR"; then
   8423   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   8424 else
   8425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8426 for as_dir in $PATH
   8427 do
   8428   IFS=$as_save_IFS
   8429   case $as_dir in #(((
   8430     '') as_dir=./ ;;
   8431     */) ;;
   8432     *) as_dir=$as_dir/ ;;
   8433   esac
   8434     for ac_exec_ext in '' $ac_executable_extensions; do
   8435   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8436     ac_cv_prog_ac_ct_AR="$ac_prog"
   8437     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8438     break 2
   8439   fi
   8440 done
   8441   done
   8442 IFS=$as_save_IFS
   8443 
   8444 fi
   8445 fi
   8446 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   8447 if test -n "$ac_ct_AR"; then
   8448   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   8449 printf "%s\n" "$ac_ct_AR" >&6; }
   8450 else
   8451   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8452 printf "%s\n" "no" >&6; }
   8453 fi
   8454 
   8455 
   8456   test -n "$ac_ct_AR" && break
   8457 done
   8458 
   8459   if test "x$ac_ct_AR" = x; then
   8460     AR="false"
   8461   else
   8462     case $cross_compiling:$ac_tool_warned in
   8463 yes:)
   8464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8465 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8466 ac_tool_warned=yes ;;
   8467 esac
   8468     AR=$ac_ct_AR
   8469   fi
   8470 fi
   8471 
   8472 : ${AR=ar}
   8473 
   8474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
   8475 printf %s "checking the archiver ($AR) interface... " >&6; }
   8476 if test ${am_cv_ar_interface+y}
   8477 then :
   8478   printf %s "(cached) " >&6
   8479 else $as_nop
   8480   ac_ext=c
   8481 ac_cpp='$CPP $CPPFLAGS'
   8482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8485 
   8486    am_cv_ar_interface=ar
   8487    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8488 /* end confdefs.h.  */
   8489 int some_variable = 0;
   8490 _ACEOF
   8491 if ac_fn_c_try_compile "$LINENO"
   8492 then :
   8493   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
   8494       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   8495   (eval $am_ar_try) 2>&5
   8496   ac_status=$?
   8497   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8498   test $ac_status = 0; }
   8499       if test "$ac_status" -eq 0; then
   8500         am_cv_ar_interface=ar
   8501       else
   8502         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
   8503         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   8504   (eval $am_ar_try) 2>&5
   8505   ac_status=$?
   8506   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8507   test $ac_status = 0; }
   8508         if test "$ac_status" -eq 0; then
   8509           am_cv_ar_interface=lib
   8510         else
   8511           am_cv_ar_interface=unknown
   8512         fi
   8513       fi
   8514       rm -f conftest.lib libconftest.a
   8515 
   8516 fi
   8517 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8518    ac_ext=c
   8519 ac_cpp='$CPP $CPPFLAGS'
   8520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8523 
   8524 fi
   8525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
   8526 printf "%s\n" "$am_cv_ar_interface" >&6; }
   8527 
   8528 case $am_cv_ar_interface in
   8529 ar)
   8530   ;;
   8531 lib)
   8532   # Microsoft lib, so override with the ar-lib wrapper script.
   8533   # FIXME: It is wrong to rewrite AR.
   8534   # But if we don't then we get into trouble of one sort or another.
   8535   # A longer-term fix would be to have automake use am__AR in this case,
   8536   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
   8537   # similar.
   8538   AR="$am_aux_dir/ar-lib $AR"
   8539   ;;
   8540 unknown)
   8541   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
   8542   ;;
   8543 esac
   8544  # call AM_PROG_AR only if available
   8545 
   8546 
   8547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   8548 printf %s "checking whether ln -s works... " >&6; }
   8549 LN_S=$as_ln_s
   8550 if test "$LN_S" = "ln -s"; then
   8551   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   8552 printf "%s\n" "yes" >&6; }
   8553 else
   8554   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   8555 printf "%s\n" "no, using $LN_S" >&6; }
   8556 fi
   8557 
   8558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a POSIX-compatible shell" >&5
   8559 printf %s "checking for a POSIX-compatible shell... " >&6; }
   8560 if test ${ac_cv_prog_shell+y}
   8561 then :
   8562   printf %s "(cached) " >&6
   8563 else $as_nop
   8564   ac_test_shell_script='
   8565 			  test "$(expr 1 + 1)" = "2" &&
   8566 			  test "$(( 1 + 1 ))" = "2"
   8567 			  '
   8568 
   8569 			  for ac_cv_prog_shell in \
   8570 			    "$CONFIG_SHELL" "$SHELL" /bin/sh /bin/bash /bin/ksh /bin/sh5 no; do
   8571 			    case $ac_cv_prog_shell in #(
   8572   /*) :
   8573 
   8574 				      if "$ac_cv_prog_shell" -c "$ac_test_shell_script" 2>/dev/null
   8575 then :
   8576   break
   8577 fi
   8578 				     ;; #(
   8579   *) :
   8580      ;;
   8581 esac
   8582 			  done
   8583 
   8584 fi
   8585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_shell" >&5
   8586 printf "%s\n" "$ac_cv_prog_shell" >&6; }
   8587 	  if test "$ac_cv_prog_shell" = "no"
   8588 then :
   8589   SHELL=/bin/sh
   8590 		 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using $SHELL, even though it does not conform to POSIX" >&5
   8591 printf "%s\n" "$as_me: WARNING: using $SHELL, even though it does not conform to POSIX" >&2;}
   8592 
   8593 else $as_nop
   8594   SHELL="$ac_cv_prog_shell"
   8595 
   8596 fi
   8597 
   8598 
   8599 
   8600 
   8601 # Initialize libtool
   8602 case `pwd` in
   8603   *\ * | *\	*)
   8604     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   8605 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   8606 esac
   8607 
   8608 
   8609 
   8610 macro_version='2.4.7'
   8611 macro_revision='2.4.7'
   8612 
   8613 
   8614 
   8615 
   8616 
   8617 
   8618 
   8619 
   8620 
   8621 
   8622 
   8623 
   8624 
   8625 
   8626 ltmain=$ac_aux_dir/ltmain.sh
   8627 
   8628 # Backslashify metacharacters that are still active within
   8629 # double-quoted strings.
   8630 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   8631 
   8632 # Same as above, but do not quote variable references.
   8633 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   8634 
   8635 # Sed substitution to delay expansion of an escaped shell variable in a
   8636 # double_quote_subst'ed string.
   8637 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   8638 
   8639 # Sed substitution to delay expansion of an escaped single quote.
   8640 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   8641 
   8642 # Sed substitution to avoid accidental globbing in evaled expressions
   8643 no_glob_subst='s/\*/\\\*/g'
   8644 
   8645 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   8646 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   8647 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   8648 
   8649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   8650 printf %s "checking how to print strings... " >&6; }
   8651 # Test print first, because it will be a builtin if present.
   8652 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   8653    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   8654   ECHO='print -r --'
   8655 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   8656   ECHO='printf %s\n'
   8657 else
   8658   # Use this function as a fallback that always works.
   8659   func_fallback_echo ()
   8660   {
   8661     eval 'cat <<_LTECHO_EOF
   8662 $1
   8663 _LTECHO_EOF'
   8664   }
   8665   ECHO='func_fallback_echo'
   8666 fi
   8667 
   8668 # func_echo_all arg...
   8669 # Invoke $ECHO with all args, space-separated.
   8670 func_echo_all ()
   8671 {
   8672     $ECHO ""
   8673 }
   8674 
   8675 case $ECHO in
   8676   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   8677 printf "%s\n" "printf" >&6; } ;;
   8678   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   8679 printf "%s\n" "print -r" >&6; } ;;
   8680   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   8681 printf "%s\n" "cat" >&6; } ;;
   8682 esac
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695 
   8696 
   8697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   8698 printf %s "checking for a sed that does not truncate output... " >&6; }
   8699 if test ${ac_cv_path_SED+y}
   8700 then :
   8701   printf %s "(cached) " >&6
   8702 else $as_nop
   8703             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   8704      for ac_i in 1 2 3 4 5 6 7; do
   8705        ac_script="$ac_script$as_nl$ac_script"
   8706      done
   8707      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   8708      { ac_script=; unset ac_script;}
   8709      if test -z "$SED"; then
   8710   ac_path_SED_found=false
   8711   # Loop through the user's path and test for each of PROGNAME-LIST
   8712   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8713 for as_dir in $PATH
   8714 do
   8715   IFS=$as_save_IFS
   8716   case $as_dir in #(((
   8717     '') as_dir=./ ;;
   8718     */) ;;
   8719     *) as_dir=$as_dir/ ;;
   8720   esac
   8721     for ac_prog in sed gsed
   8722    do
   8723     for ac_exec_ext in '' $ac_executable_extensions; do
   8724       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   8725       as_fn_executable_p "$ac_path_SED" || continue
   8726 # Check for GNU ac_path_SED and select it if it is found.
   8727   # Check for GNU $ac_path_SED
   8728 case `"$ac_path_SED" --version 2>&1` in
   8729 *GNU*)
   8730   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   8731 *)
   8732   ac_count=0
   8733   printf %s 0123456789 >"conftest.in"
   8734   while :
   8735   do
   8736     cat "conftest.in" "conftest.in" >"conftest.tmp"
   8737     mv "conftest.tmp" "conftest.in"
   8738     cp "conftest.in" "conftest.nl"
   8739     printf "%s\n" '' >> "conftest.nl"
   8740     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   8741     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   8742     as_fn_arith $ac_count + 1 && ac_count=$as_val
   8743     if test $ac_count -gt ${ac_path_SED_max-0}; then
   8744       # Best one so far, save it but keep looking for a better one
   8745       ac_cv_path_SED="$ac_path_SED"
   8746       ac_path_SED_max=$ac_count
   8747     fi
   8748     # 10*(2^10) chars as input seems more than enough
   8749     test $ac_count -gt 10 && break
   8750   done
   8751   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   8752 esac
   8753 
   8754       $ac_path_SED_found && break 3
   8755     done
   8756   done
   8757   done
   8758 IFS=$as_save_IFS
   8759   if test -z "$ac_cv_path_SED"; then
   8760     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   8761   fi
   8762 else
   8763   ac_cv_path_SED=$SED
   8764 fi
   8765 
   8766 fi
   8767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   8768 printf "%s\n" "$ac_cv_path_SED" >&6; }
   8769  SED="$ac_cv_path_SED"
   8770   rm -f conftest.sed
   8771 
   8772 test -z "$SED" && SED=sed
   8773 Xsed="$SED -e 1s/^X//"
   8774 
   8775 
   8776 
   8777 
   8778 
   8779 
   8780 
   8781 
   8782 
   8783 
   8784 
   8785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   8786 printf %s "checking for grep that handles long lines and -e... " >&6; }
   8787 if test ${ac_cv_path_GREP+y}
   8788 then :
   8789   printf %s "(cached) " >&6
   8790 else $as_nop
   8791   if test -z "$GREP"; then
   8792   ac_path_GREP_found=false
   8793   # Loop through the user's path and test for each of PROGNAME-LIST
   8794   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8795 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   8796 do
   8797   IFS=$as_save_IFS
   8798   case $as_dir in #(((
   8799     '') as_dir=./ ;;
   8800     */) ;;
   8801     *) as_dir=$as_dir/ ;;
   8802   esac
   8803     for ac_prog in grep ggrep
   8804    do
   8805     for ac_exec_ext in '' $ac_executable_extensions; do
   8806       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   8807       as_fn_executable_p "$ac_path_GREP" || continue
   8808 # Check for GNU ac_path_GREP and select it if it is found.
   8809   # Check for GNU $ac_path_GREP
   8810 case `"$ac_path_GREP" --version 2>&1` in
   8811 *GNU*)
   8812   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   8813 *)
   8814   ac_count=0
   8815   printf %s 0123456789 >"conftest.in"
   8816   while :
   8817   do
   8818     cat "conftest.in" "conftest.in" >"conftest.tmp"
   8819     mv "conftest.tmp" "conftest.in"
   8820     cp "conftest.in" "conftest.nl"
   8821     printf "%s\n" 'GREP' >> "conftest.nl"
   8822     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   8823     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   8824     as_fn_arith $ac_count + 1 && ac_count=$as_val
   8825     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   8826       # Best one so far, save it but keep looking for a better one
   8827       ac_cv_path_GREP="$ac_path_GREP"
   8828       ac_path_GREP_max=$ac_count
   8829     fi
   8830     # 10*(2^10) chars as input seems more than enough
   8831     test $ac_count -gt 10 && break
   8832   done
   8833   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   8834 esac
   8835 
   8836       $ac_path_GREP_found && break 3
   8837     done
   8838   done
   8839   done
   8840 IFS=$as_save_IFS
   8841   if test -z "$ac_cv_path_GREP"; then
   8842     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   8843   fi
   8844 else
   8845   ac_cv_path_GREP=$GREP
   8846 fi
   8847 
   8848 fi
   8849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   8850 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   8851  GREP="$ac_cv_path_GREP"
   8852 
   8853 
   8854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   8855 printf %s "checking for egrep... " >&6; }
   8856 if test ${ac_cv_path_EGREP+y}
   8857 then :
   8858   printf %s "(cached) " >&6
   8859 else $as_nop
   8860   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   8861    then ac_cv_path_EGREP="$GREP -E"
   8862    else
   8863      if test -z "$EGREP"; then
   8864   ac_path_EGREP_found=false
   8865   # Loop through the user's path and test for each of PROGNAME-LIST
   8866   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8867 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   8868 do
   8869   IFS=$as_save_IFS
   8870   case $as_dir in #(((
   8871     '') as_dir=./ ;;
   8872     */) ;;
   8873     *) as_dir=$as_dir/ ;;
   8874   esac
   8875     for ac_prog in egrep
   8876    do
   8877     for ac_exec_ext in '' $ac_executable_extensions; do
   8878       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   8879       as_fn_executable_p "$ac_path_EGREP" || continue
   8880 # Check for GNU ac_path_EGREP and select it if it is found.
   8881   # Check for GNU $ac_path_EGREP
   8882 case `"$ac_path_EGREP" --version 2>&1` in
   8883 *GNU*)
   8884   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   8885 *)
   8886   ac_count=0
   8887   printf %s 0123456789 >"conftest.in"
   8888   while :
   8889   do
   8890     cat "conftest.in" "conftest.in" >"conftest.tmp"
   8891     mv "conftest.tmp" "conftest.in"
   8892     cp "conftest.in" "conftest.nl"
   8893     printf "%s\n" 'EGREP' >> "conftest.nl"
   8894     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   8895     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   8896     as_fn_arith $ac_count + 1 && ac_count=$as_val
   8897     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   8898       # Best one so far, save it but keep looking for a better one
   8899       ac_cv_path_EGREP="$ac_path_EGREP"
   8900       ac_path_EGREP_max=$ac_count
   8901     fi
   8902     # 10*(2^10) chars as input seems more than enough
   8903     test $ac_count -gt 10 && break
   8904   done
   8905   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   8906 esac
   8907 
   8908       $ac_path_EGREP_found && break 3
   8909     done
   8910   done
   8911   done
   8912 IFS=$as_save_IFS
   8913   if test -z "$ac_cv_path_EGREP"; then
   8914     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   8915   fi
   8916 else
   8917   ac_cv_path_EGREP=$EGREP
   8918 fi
   8919 
   8920    fi
   8921 fi
   8922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   8923 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   8924  EGREP="$ac_cv_path_EGREP"
   8925 
   8926 
   8927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   8928 printf %s "checking for fgrep... " >&6; }
   8929 if test ${ac_cv_path_FGREP+y}
   8930 then :
   8931   printf %s "(cached) " >&6
   8932 else $as_nop
   8933   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   8934    then ac_cv_path_FGREP="$GREP -F"
   8935    else
   8936      if test -z "$FGREP"; then
   8937   ac_path_FGREP_found=false
   8938   # Loop through the user's path and test for each of PROGNAME-LIST
   8939   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8940 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   8941 do
   8942   IFS=$as_save_IFS
   8943   case $as_dir in #(((
   8944     '') as_dir=./ ;;
   8945     */) ;;
   8946     *) as_dir=$as_dir/ ;;
   8947   esac
   8948     for ac_prog in fgrep
   8949    do
   8950     for ac_exec_ext in '' $ac_executable_extensions; do
   8951       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   8952       as_fn_executable_p "$ac_path_FGREP" || continue
   8953 # Check for GNU ac_path_FGREP and select it if it is found.
   8954   # Check for GNU $ac_path_FGREP
   8955 case `"$ac_path_FGREP" --version 2>&1` in
   8956 *GNU*)
   8957   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   8958 *)
   8959   ac_count=0
   8960   printf %s 0123456789 >"conftest.in"
   8961   while :
   8962   do
   8963     cat "conftest.in" "conftest.in" >"conftest.tmp"
   8964     mv "conftest.tmp" "conftest.in"
   8965     cp "conftest.in" "conftest.nl"
   8966     printf "%s\n" 'FGREP' >> "conftest.nl"
   8967     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   8968     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   8969     as_fn_arith $ac_count + 1 && ac_count=$as_val
   8970     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   8971       # Best one so far, save it but keep looking for a better one
   8972       ac_cv_path_FGREP="$ac_path_FGREP"
   8973       ac_path_FGREP_max=$ac_count
   8974     fi
   8975     # 10*(2^10) chars as input seems more than enough
   8976     test $ac_count -gt 10 && break
   8977   done
   8978   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   8979 esac
   8980 
   8981       $ac_path_FGREP_found && break 3
   8982     done
   8983   done
   8984   done
   8985 IFS=$as_save_IFS
   8986   if test -z "$ac_cv_path_FGREP"; then
   8987     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   8988   fi
   8989 else
   8990   ac_cv_path_FGREP=$FGREP
   8991 fi
   8992 
   8993    fi
   8994 fi
   8995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   8996 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   8997  FGREP="$ac_cv_path_FGREP"
   8998 
   8999 
   9000 test -z "$GREP" && GREP=grep
   9001 
   9002 
   9003 
   9004 
   9005 
   9006 
   9007 
   9008 
   9009 
   9010 
   9011 
   9012 
   9013 
   9014 
   9015 
   9016 
   9017 
   9018 
   9019 
   9020 # Check whether --with-gnu-ld was given.
   9021 if test ${with_gnu_ld+y}
   9022 then :
   9023   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   9024 else $as_nop
   9025   with_gnu_ld=no
   9026 fi
   9027 
   9028 ac_prog=ld
   9029 if test yes = "$GCC"; then
   9030   # Check if gcc -print-prog-name=ld gives a path.
   9031   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   9032 printf %s "checking for ld used by $CC... " >&6; }
   9033   case $host in
   9034   *-*-mingw*)
   9035     # gcc leaves a trailing carriage return, which upsets mingw
   9036     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   9037   *)
   9038     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   9039   esac
   9040   case $ac_prog in
   9041     # Accept absolute paths.
   9042     [\\/]* | ?:[\\/]*)
   9043       re_direlt='/[^/][^/]*/\.\./'
   9044       # Canonicalize the pathname of ld
   9045       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   9046       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   9047 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   9048       done
   9049       test -z "$LD" && LD=$ac_prog
   9050       ;;
   9051   "")
   9052     # If it fails, then pretend we aren't using GCC.
   9053     ac_prog=ld
   9054     ;;
   9055   *)
   9056     # If it is relative, then search for the first ld in PATH.
   9057     with_gnu_ld=unknown
   9058     ;;
   9059   esac
   9060 elif test yes = "$with_gnu_ld"; then
   9061   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   9062 printf %s "checking for GNU ld... " >&6; }
   9063 else
   9064   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   9065 printf %s "checking for non-GNU ld... " >&6; }
   9066 fi
   9067 if test ${lt_cv_path_LD+y}
   9068 then :
   9069   printf %s "(cached) " >&6
   9070 else $as_nop
   9071   if test -z "$LD"; then
   9072   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9073   for ac_dir in $PATH; do
   9074     IFS=$lt_save_ifs
   9075     test -z "$ac_dir" && ac_dir=.
   9076     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   9077       lt_cv_path_LD=$ac_dir/$ac_prog
   9078       # Check to see if the program is GNU ld.  I'd rather use --version,
   9079       # but apparently some variants of GNU ld only accept -v.
   9080       # Break only if it was the GNU/non-GNU ld that we prefer.
   9081       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   9082       *GNU* | *'with BFD'*)
   9083 	test no != "$with_gnu_ld" && break
   9084 	;;
   9085       *)
   9086 	test yes != "$with_gnu_ld" && break
   9087 	;;
   9088       esac
   9089     fi
   9090   done
   9091   IFS=$lt_save_ifs
   9092 else
   9093   lt_cv_path_LD=$LD # Let the user override the test with a path.
   9094 fi
   9095 fi
   9096 
   9097 LD=$lt_cv_path_LD
   9098 if test -n "$LD"; then
   9099   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   9100 printf "%s\n" "$LD" >&6; }
   9101 else
   9102   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9103 printf "%s\n" "no" >&6; }
   9104 fi
   9105 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   9106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   9107 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   9108 if test ${lt_cv_prog_gnu_ld+y}
   9109 then :
   9110   printf %s "(cached) " >&6
   9111 else $as_nop
   9112   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   9113 case `$LD -v 2>&1 </dev/null` in
   9114 *GNU* | *'with BFD'*)
   9115   lt_cv_prog_gnu_ld=yes
   9116   ;;
   9117 *)
   9118   lt_cv_prog_gnu_ld=no
   9119   ;;
   9120 esac
   9121 fi
   9122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   9123 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   9124 with_gnu_ld=$lt_cv_prog_gnu_ld
   9125 
   9126 
   9127 
   9128 
   9129 
   9130 
   9131 
   9132 
   9133 
   9134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   9135 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   9136 if test ${lt_cv_path_NM+y}
   9137 then :
   9138   printf %s "(cached) " >&6
   9139 else $as_nop
   9140   if test -n "$NM"; then
   9141   # Let the user override the test.
   9142   lt_cv_path_NM=$NM
   9143 else
   9144   lt_nm_to_check=${ac_tool_prefix}nm
   9145   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   9146     lt_nm_to_check="$lt_nm_to_check nm"
   9147   fi
   9148   for lt_tmp_nm in $lt_nm_to_check; do
   9149     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9150     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   9151       IFS=$lt_save_ifs
   9152       test -z "$ac_dir" && ac_dir=.
   9153       tmp_nm=$ac_dir/$lt_tmp_nm
   9154       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   9155 	# Check to see if the nm accepts a BSD-compat flag.
   9156 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   9157 	#   nm: unknown option "B" ignored
   9158 	# Tru64's nm complains that /dev/null is an invalid object file
   9159 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   9160 	case $build_os in
   9161 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   9162 	*) lt_bad_file=/dev/null ;;
   9163 	esac
   9164 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   9165 	*$lt_bad_file* | *'Invalid file or object type'*)
   9166 	  lt_cv_path_NM="$tmp_nm -B"
   9167 	  break 2
   9168 	  ;;
   9169 	*)
   9170 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   9171 	  */dev/null*)
   9172 	    lt_cv_path_NM="$tmp_nm -p"
   9173 	    break 2
   9174 	    ;;
   9175 	  *)
   9176 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   9177 	    continue # so that we can try to find one that supports BSD flags
   9178 	    ;;
   9179 	  esac
   9180 	  ;;
   9181 	esac
   9182       fi
   9183     done
   9184     IFS=$lt_save_ifs
   9185   done
   9186   : ${lt_cv_path_NM=no}
   9187 fi
   9188 fi
   9189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   9190 printf "%s\n" "$lt_cv_path_NM" >&6; }
   9191 if test no != "$lt_cv_path_NM"; then
   9192   NM=$lt_cv_path_NM
   9193 else
   9194   # Didn't find any BSD compatible name lister, look for dumpbin.
   9195   if test -n "$DUMPBIN"; then :
   9196     # Let the user override the test.
   9197   else
   9198     if test -n "$ac_tool_prefix"; then
   9199   for ac_prog in dumpbin "link -dump"
   9200   do
   9201     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   9202 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   9203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9204 printf %s "checking for $ac_word... " >&6; }
   9205 if test ${ac_cv_prog_DUMPBIN+y}
   9206 then :
   9207   printf %s "(cached) " >&6
   9208 else $as_nop
   9209   if test -n "$DUMPBIN"; then
   9210   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   9211 else
   9212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9213 for as_dir in $PATH
   9214 do
   9215   IFS=$as_save_IFS
   9216   case $as_dir in #(((
   9217     '') as_dir=./ ;;
   9218     */) ;;
   9219     *) as_dir=$as_dir/ ;;
   9220   esac
   9221     for ac_exec_ext in '' $ac_executable_extensions; do
   9222   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9223     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   9224     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9225     break 2
   9226   fi
   9227 done
   9228   done
   9229 IFS=$as_save_IFS
   9230 
   9231 fi
   9232 fi
   9233 DUMPBIN=$ac_cv_prog_DUMPBIN
   9234 if test -n "$DUMPBIN"; then
   9235   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   9236 printf "%s\n" "$DUMPBIN" >&6; }
   9237 else
   9238   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9239 printf "%s\n" "no" >&6; }
   9240 fi
   9241 
   9242 
   9243     test -n "$DUMPBIN" && break
   9244   done
   9245 fi
   9246 if test -z "$DUMPBIN"; then
   9247   ac_ct_DUMPBIN=$DUMPBIN
   9248   for ac_prog in dumpbin "link -dump"
   9249 do
   9250   # Extract the first word of "$ac_prog", so it can be a program name with args.
   9251 set dummy $ac_prog; ac_word=$2
   9252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9253 printf %s "checking for $ac_word... " >&6; }
   9254 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   9255 then :
   9256   printf %s "(cached) " >&6
   9257 else $as_nop
   9258   if test -n "$ac_ct_DUMPBIN"; then
   9259   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   9260 else
   9261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9262 for as_dir in $PATH
   9263 do
   9264   IFS=$as_save_IFS
   9265   case $as_dir in #(((
   9266     '') as_dir=./ ;;
   9267     */) ;;
   9268     *) as_dir=$as_dir/ ;;
   9269   esac
   9270     for ac_exec_ext in '' $ac_executable_extensions; do
   9271   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9272     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   9273     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9274     break 2
   9275   fi
   9276 done
   9277   done
   9278 IFS=$as_save_IFS
   9279 
   9280 fi
   9281 fi
   9282 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   9283 if test -n "$ac_ct_DUMPBIN"; then
   9284   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   9285 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   9286 else
   9287   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9288 printf "%s\n" "no" >&6; }
   9289 fi
   9290 
   9291 
   9292   test -n "$ac_ct_DUMPBIN" && break
   9293 done
   9294 
   9295   if test "x$ac_ct_DUMPBIN" = x; then
   9296     DUMPBIN=":"
   9297   else
   9298     case $cross_compiling:$ac_tool_warned in
   9299 yes:)
   9300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9301 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9302 ac_tool_warned=yes ;;
   9303 esac
   9304     DUMPBIN=$ac_ct_DUMPBIN
   9305   fi
   9306 fi
   9307 
   9308     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   9309     *COFF*)
   9310       DUMPBIN="$DUMPBIN -symbols -headers"
   9311       ;;
   9312     *)
   9313       DUMPBIN=:
   9314       ;;
   9315     esac
   9316   fi
   9317 
   9318   if test : != "$DUMPBIN"; then
   9319     NM=$DUMPBIN
   9320   fi
   9321 fi
   9322 test -z "$NM" && NM=nm
   9323 
   9324 
   9325 
   9326 
   9327 
   9328 
   9329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   9330 printf %s "checking the name lister ($NM) interface... " >&6; }
   9331 if test ${lt_cv_nm_interface+y}
   9332 then :
   9333   printf %s "(cached) " >&6
   9334 else $as_nop
   9335   lt_cv_nm_interface="BSD nm"
   9336   echo "int some_variable = 0;" > conftest.$ac_ext
   9337   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   9338   (eval "$ac_compile" 2>conftest.err)
   9339   cat conftest.err >&5
   9340   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   9341   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   9342   cat conftest.err >&5
   9343   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   9344   cat conftest.out >&5
   9345   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   9346     lt_cv_nm_interface="MS dumpbin"
   9347   fi
   9348   rm -f conftest*
   9349 fi
   9350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   9351 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   9352 
   9353 # find the maximum length of command line arguments
   9354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   9355 printf %s "checking the maximum length of command line arguments... " >&6; }
   9356 if test ${lt_cv_sys_max_cmd_len+y}
   9357 then :
   9358   printf %s "(cached) " >&6
   9359 else $as_nop
   9360     i=0
   9361   teststring=ABCD
   9362 
   9363   case $build_os in
   9364   msdosdjgpp*)
   9365     # On DJGPP, this test can blow up pretty badly due to problems in libc
   9366     # (any single argument exceeding 2000 bytes causes a buffer overrun
   9367     # during glob expansion).  Even if it were fixed, the result of this
   9368     # check would be larger than it should be.
   9369     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   9370     ;;
   9371 
   9372   gnu*)
   9373     # Under GNU Hurd, this test is not required because there is
   9374     # no limit to the length of command line arguments.
   9375     # Libtool will interpret -1 as no limit whatsoever
   9376     lt_cv_sys_max_cmd_len=-1;
   9377     ;;
   9378 
   9379   cygwin* | mingw* | cegcc*)
   9380     # On Win9x/ME, this test blows up -- it succeeds, but takes
   9381     # about 5 minutes as the teststring grows exponentially.
   9382     # Worse, since 9x/ME are not pre-emptively multitasking,
   9383     # you end up with a "frozen" computer, even though with patience
   9384     # the test eventually succeeds (with a max line length of 256k).
   9385     # Instead, let's just punt: use the minimum linelength reported by
   9386     # all of the supported platforms: 8192 (on NT/2K/XP).
   9387     lt_cv_sys_max_cmd_len=8192;
   9388     ;;
   9389 
   9390   mint*)
   9391     # On MiNT this can take a long time and run out of memory.
   9392     lt_cv_sys_max_cmd_len=8192;
   9393     ;;
   9394 
   9395   amigaos*)
   9396     # On AmigaOS with pdksh, this test takes hours, literally.
   9397     # So we just punt and use a minimum line length of 8192.
   9398     lt_cv_sys_max_cmd_len=8192;
   9399     ;;
   9400 
   9401   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   9402     # This has been around since 386BSD, at least.  Likely further.
   9403     if test -x /sbin/sysctl; then
   9404       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   9405     elif test -x /usr/sbin/sysctl; then
   9406       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   9407     else
   9408       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   9409     fi
   9410     # And add a safety zone
   9411     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   9412     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   9413     ;;
   9414 
   9415   interix*)
   9416     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   9417     lt_cv_sys_max_cmd_len=196608
   9418     ;;
   9419 
   9420   os2*)
   9421     # The test takes a long time on OS/2.
   9422     lt_cv_sys_max_cmd_len=8192
   9423     ;;
   9424 
   9425   osf*)
   9426     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   9427     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   9428     # nice to cause kernel panics so lets avoid the loop below.
   9429     # First set a reasonable default.
   9430     lt_cv_sys_max_cmd_len=16384
   9431     #
   9432     if test -x /sbin/sysconfig; then
   9433       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   9434         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   9435       esac
   9436     fi
   9437     ;;
   9438   sco3.2v5*)
   9439     lt_cv_sys_max_cmd_len=102400
   9440     ;;
   9441   sysv5* | sco5v6* | sysv4.2uw2*)
   9442     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   9443     if test -n "$kargmax"; then
   9444       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   9445     else
   9446       lt_cv_sys_max_cmd_len=32768
   9447     fi
   9448     ;;
   9449   *)
   9450     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   9451     if test -n "$lt_cv_sys_max_cmd_len" && \
   9452        test undefined != "$lt_cv_sys_max_cmd_len"; then
   9453       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   9454       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   9455     else
   9456       # Make teststring a little bigger before we do anything with it.
   9457       # a 1K string should be a reasonable start.
   9458       for i in 1 2 3 4 5 6 7 8; do
   9459         teststring=$teststring$teststring
   9460       done
   9461       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   9462       # If test is not a shell built-in, we'll probably end up computing a
   9463       # maximum length that is only half of the actual maximum length, but
   9464       # we can't tell.
   9465       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   9466 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   9467 	      test 17 != "$i" # 1/2 MB should be enough
   9468       do
   9469         i=`expr $i + 1`
   9470         teststring=$teststring$teststring
   9471       done
   9472       # Only check the string length outside the loop.
   9473       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   9474       teststring=
   9475       # Add a significant safety factor because C++ compilers can tack on
   9476       # massive amounts of additional arguments before passing them to the
   9477       # linker.  It appears as though 1/2 is a usable value.
   9478       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   9479     fi
   9480     ;;
   9481   esac
   9482 
   9483 fi
   9484 
   9485 if test -n "$lt_cv_sys_max_cmd_len"; then
   9486   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   9487 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   9488 else
   9489   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   9490 printf "%s\n" "none" >&6; }
   9491 fi
   9492 max_cmd_len=$lt_cv_sys_max_cmd_len
   9493 
   9494 
   9495 
   9496 
   9497 
   9498 
   9499 : ${CP="cp -f"}
   9500 : ${MV="mv -f"}
   9501 : ${RM="rm -f"}
   9502 
   9503 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   9504   lt_unset=unset
   9505 else
   9506   lt_unset=false
   9507 fi
   9508 
   9509 
   9510 
   9511 
   9512 
   9513 # test EBCDIC or ASCII
   9514 case `echo X|tr X '\101'` in
   9515  A) # ASCII based system
   9516     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   9517   lt_SP2NL='tr \040 \012'
   9518   lt_NL2SP='tr \015\012 \040\040'
   9519   ;;
   9520  *) # EBCDIC based system
   9521   lt_SP2NL='tr \100 \n'
   9522   lt_NL2SP='tr \r\n \100\100'
   9523   ;;
   9524 esac
   9525 
   9526 
   9527 
   9528 
   9529 
   9530 
   9531 
   9532 
   9533 
   9534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   9535 printf %s "checking how to convert $build file names to $host format... " >&6; }
   9536 if test ${lt_cv_to_host_file_cmd+y}
   9537 then :
   9538   printf %s "(cached) " >&6
   9539 else $as_nop
   9540   case $host in
   9541   *-*-mingw* )
   9542     case $build in
   9543       *-*-mingw* ) # actually msys
   9544         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   9545         ;;
   9546       *-*-cygwin* )
   9547         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   9548         ;;
   9549       * ) # otherwise, assume *nix
   9550         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   9551         ;;
   9552     esac
   9553     ;;
   9554   *-*-cygwin* )
   9555     case $build in
   9556       *-*-mingw* ) # actually msys
   9557         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   9558         ;;
   9559       *-*-cygwin* )
   9560         lt_cv_to_host_file_cmd=func_convert_file_noop
   9561         ;;
   9562       * ) # otherwise, assume *nix
   9563         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   9564         ;;
   9565     esac
   9566     ;;
   9567   * ) # unhandled hosts (and "normal" native builds)
   9568     lt_cv_to_host_file_cmd=func_convert_file_noop
   9569     ;;
   9570 esac
   9571 
   9572 fi
   9573 
   9574 to_host_file_cmd=$lt_cv_to_host_file_cmd
   9575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   9576 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   9583 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   9584 if test ${lt_cv_to_tool_file_cmd+y}
   9585 then :
   9586   printf %s "(cached) " >&6
   9587 else $as_nop
   9588   #assume ordinary cross tools, or native build.
   9589 lt_cv_to_tool_file_cmd=func_convert_file_noop
   9590 case $host in
   9591   *-*-mingw* )
   9592     case $build in
   9593       *-*-mingw* ) # actually msys
   9594         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   9595         ;;
   9596     esac
   9597     ;;
   9598 esac
   9599 
   9600 fi
   9601 
   9602 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   9603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   9604 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   9605 
   9606 
   9607 
   9608 
   9609 
   9610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   9611 printf %s "checking for $LD option to reload object files... " >&6; }
   9612 if test ${lt_cv_ld_reload_flag+y}
   9613 then :
   9614   printf %s "(cached) " >&6
   9615 else $as_nop
   9616   lt_cv_ld_reload_flag='-r'
   9617 fi
   9618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   9619 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   9620 reload_flag=$lt_cv_ld_reload_flag
   9621 case $reload_flag in
   9622 "" | " "*) ;;
   9623 *) reload_flag=" $reload_flag" ;;
   9624 esac
   9625 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   9626 case $host_os in
   9627   cygwin* | mingw* | pw32* | cegcc*)
   9628     if test yes != "$GCC"; then
   9629       reload_cmds=false
   9630     fi
   9631     ;;
   9632   darwin*)
   9633     if test yes = "$GCC"; then
   9634       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   9635     else
   9636       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   9637     fi
   9638     ;;
   9639 esac
   9640 
   9641 
   9642 
   9643 
   9644 
   9645 
   9646 
   9647 
   9648 
   9649 if test -n "$ac_tool_prefix"; then
   9650   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   9651 set dummy ${ac_tool_prefix}file; ac_word=$2
   9652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9653 printf %s "checking for $ac_word... " >&6; }
   9654 if test ${ac_cv_prog_FILECMD+y}
   9655 then :
   9656   printf %s "(cached) " >&6
   9657 else $as_nop
   9658   if test -n "$FILECMD"; then
   9659   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   9660 else
   9661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9662 for as_dir in $PATH
   9663 do
   9664   IFS=$as_save_IFS
   9665   case $as_dir in #(((
   9666     '') as_dir=./ ;;
   9667     */) ;;
   9668     *) as_dir=$as_dir/ ;;
   9669   esac
   9670     for ac_exec_ext in '' $ac_executable_extensions; do
   9671   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9672     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   9673     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9674     break 2
   9675   fi
   9676 done
   9677   done
   9678 IFS=$as_save_IFS
   9679 
   9680 fi
   9681 fi
   9682 FILECMD=$ac_cv_prog_FILECMD
   9683 if test -n "$FILECMD"; then
   9684   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   9685 printf "%s\n" "$FILECMD" >&6; }
   9686 else
   9687   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9688 printf "%s\n" "no" >&6; }
   9689 fi
   9690 
   9691 
   9692 fi
   9693 if test -z "$ac_cv_prog_FILECMD"; then
   9694   ac_ct_FILECMD=$FILECMD
   9695   # Extract the first word of "file", so it can be a program name with args.
   9696 set dummy file; ac_word=$2
   9697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9698 printf %s "checking for $ac_word... " >&6; }
   9699 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   9700 then :
   9701   printf %s "(cached) " >&6
   9702 else $as_nop
   9703   if test -n "$ac_ct_FILECMD"; then
   9704   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   9705 else
   9706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9707 for as_dir in $PATH
   9708 do
   9709   IFS=$as_save_IFS
   9710   case $as_dir in #(((
   9711     '') as_dir=./ ;;
   9712     */) ;;
   9713     *) as_dir=$as_dir/ ;;
   9714   esac
   9715     for ac_exec_ext in '' $ac_executable_extensions; do
   9716   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9717     ac_cv_prog_ac_ct_FILECMD="file"
   9718     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9719     break 2
   9720   fi
   9721 done
   9722   done
   9723 IFS=$as_save_IFS
   9724 
   9725 fi
   9726 fi
   9727 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   9728 if test -n "$ac_ct_FILECMD"; then
   9729   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   9730 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   9731 else
   9732   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9733 printf "%s\n" "no" >&6; }
   9734 fi
   9735 
   9736   if test "x$ac_ct_FILECMD" = x; then
   9737     FILECMD=":"
   9738   else
   9739     case $cross_compiling:$ac_tool_warned in
   9740 yes:)
   9741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9742 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9743 ac_tool_warned=yes ;;
   9744 esac
   9745     FILECMD=$ac_ct_FILECMD
   9746   fi
   9747 else
   9748   FILECMD="$ac_cv_prog_FILECMD"
   9749 fi
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 if test -n "$ac_tool_prefix"; then
   9758   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   9759 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   9760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9761 printf %s "checking for $ac_word... " >&6; }
   9762 if test ${ac_cv_prog_OBJDUMP+y}
   9763 then :
   9764   printf %s "(cached) " >&6
   9765 else $as_nop
   9766   if test -n "$OBJDUMP"; then
   9767   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   9768 else
   9769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9770 for as_dir in $PATH
   9771 do
   9772   IFS=$as_save_IFS
   9773   case $as_dir in #(((
   9774     '') as_dir=./ ;;
   9775     */) ;;
   9776     *) as_dir=$as_dir/ ;;
   9777   esac
   9778     for ac_exec_ext in '' $ac_executable_extensions; do
   9779   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9780     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   9781     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9782     break 2
   9783   fi
   9784 done
   9785   done
   9786 IFS=$as_save_IFS
   9787 
   9788 fi
   9789 fi
   9790 OBJDUMP=$ac_cv_prog_OBJDUMP
   9791 if test -n "$OBJDUMP"; then
   9792   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   9793 printf "%s\n" "$OBJDUMP" >&6; }
   9794 else
   9795   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9796 printf "%s\n" "no" >&6; }
   9797 fi
   9798 
   9799 
   9800 fi
   9801 if test -z "$ac_cv_prog_OBJDUMP"; then
   9802   ac_ct_OBJDUMP=$OBJDUMP
   9803   # Extract the first word of "objdump", so it can be a program name with args.
   9804 set dummy objdump; ac_word=$2
   9805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9806 printf %s "checking for $ac_word... " >&6; }
   9807 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   9808 then :
   9809   printf %s "(cached) " >&6
   9810 else $as_nop
   9811   if test -n "$ac_ct_OBJDUMP"; then
   9812   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   9813 else
   9814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9815 for as_dir in $PATH
   9816 do
   9817   IFS=$as_save_IFS
   9818   case $as_dir in #(((
   9819     '') as_dir=./ ;;
   9820     */) ;;
   9821     *) as_dir=$as_dir/ ;;
   9822   esac
   9823     for ac_exec_ext in '' $ac_executable_extensions; do
   9824   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9825     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   9826     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9827     break 2
   9828   fi
   9829 done
   9830   done
   9831 IFS=$as_save_IFS
   9832 
   9833 fi
   9834 fi
   9835 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   9836 if test -n "$ac_ct_OBJDUMP"; then
   9837   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   9838 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   9839 else
   9840   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9841 printf "%s\n" "no" >&6; }
   9842 fi
   9843 
   9844   if test "x$ac_ct_OBJDUMP" = x; then
   9845     OBJDUMP="false"
   9846   else
   9847     case $cross_compiling:$ac_tool_warned in
   9848 yes:)
   9849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9850 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9851 ac_tool_warned=yes ;;
   9852 esac
   9853     OBJDUMP=$ac_ct_OBJDUMP
   9854   fi
   9855 else
   9856   OBJDUMP="$ac_cv_prog_OBJDUMP"
   9857 fi
   9858 
   9859 test -z "$OBJDUMP" && OBJDUMP=objdump
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   9870 printf %s "checking how to recognize dependent libraries... " >&6; }
   9871 if test ${lt_cv_deplibs_check_method+y}
   9872 then :
   9873   printf %s "(cached) " >&6
   9874 else $as_nop
   9875   lt_cv_file_magic_cmd='$MAGIC_CMD'
   9876 lt_cv_file_magic_test_file=
   9877 lt_cv_deplibs_check_method='unknown'
   9878 # Need to set the preceding variable on all platforms that support
   9879 # interlibrary dependencies.
   9880 # 'none' -- dependencies not supported.
   9881 # 'unknown' -- same as none, but documents that we really don't know.
   9882 # 'pass_all' -- all dependencies passed with no checks.
   9883 # 'test_compile' -- check by making test program.
   9884 # 'file_magic [[regex]]' -- check by looking for files in library path
   9885 # that responds to the $file_magic_cmd with a given extended regex.
   9886 # If you have 'file' or equivalent on your system and you're not sure
   9887 # whether 'pass_all' will *always* work, you probably want this one.
   9888 
   9889 case $host_os in
   9890 aix[4-9]*)
   9891   lt_cv_deplibs_check_method=pass_all
   9892   ;;
   9893 
   9894 beos*)
   9895   lt_cv_deplibs_check_method=pass_all
   9896   ;;
   9897 
   9898 bsdi[45]*)
   9899   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   9900   lt_cv_file_magic_cmd='$FILECMD -L'
   9901   lt_cv_file_magic_test_file=/shlib/libc.so
   9902   ;;
   9903 
   9904 cygwin*)
   9905   # func_win32_libid is a shell function defined in ltmain.sh
   9906   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   9907   lt_cv_file_magic_cmd='func_win32_libid'
   9908   ;;
   9909 
   9910 mingw* | pw32*)
   9911   # Base MSYS/MinGW do not provide the 'file' command needed by
   9912   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   9913   # unless we find 'file', for example because we are cross-compiling.
   9914   if ( file / ) >/dev/null 2>&1; then
   9915     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   9916     lt_cv_file_magic_cmd='func_win32_libid'
   9917   else
   9918     # Keep this pattern in sync with the one in func_win32_libid.
   9919     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   9920     lt_cv_file_magic_cmd='$OBJDUMP -f'
   9921   fi
   9922   ;;
   9923 
   9924 cegcc*)
   9925   # use the weaker test based on 'objdump'. See mingw*.
   9926   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   9927   lt_cv_file_magic_cmd='$OBJDUMP -f'
   9928   ;;
   9929 
   9930 darwin* | rhapsody*)
   9931   lt_cv_deplibs_check_method=pass_all
   9932   ;;
   9933 
   9934 freebsd* | dragonfly* | midnightbsd*)
   9935   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   9936     case $host_cpu in
   9937     i*86 )
   9938       # Not sure whether the presence of OpenBSD here was a mistake.
   9939       # Let's accept both of them until this is cleared up.
   9940       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   9941       lt_cv_file_magic_cmd=$FILECMD
   9942       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   9943       ;;
   9944     esac
   9945   else
   9946     lt_cv_deplibs_check_method=pass_all
   9947   fi
   9948   ;;
   9949 
   9950 haiku*)
   9951   lt_cv_deplibs_check_method=pass_all
   9952   ;;
   9953 
   9954 hpux10.20* | hpux11*)
   9955   lt_cv_file_magic_cmd=$FILECMD
   9956   case $host_cpu in
   9957   ia64*)
   9958     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   9959     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   9960     ;;
   9961   hppa*64*)
   9962     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]'
   9963     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   9964     ;;
   9965   *)
   9966     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   9967     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   9968     ;;
   9969   esac
   9970   ;;
   9971 
   9972 interix[3-9]*)
   9973   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   9974   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   9975   ;;
   9976 
   9977 irix5* | irix6* | nonstopux*)
   9978   case $LD in
   9979   *-32|*"-32 ") libmagic=32-bit;;
   9980   *-n32|*"-n32 ") libmagic=N32;;
   9981   *-64|*"-64 ") libmagic=64-bit;;
   9982   *) libmagic=never-match;;
   9983   esac
   9984   lt_cv_deplibs_check_method=pass_all
   9985   ;;
   9986 
   9987 # This must be glibc/ELF.
   9988 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9989   lt_cv_deplibs_check_method=pass_all
   9990   ;;
   9991 
   9992 netbsd* | netbsdelf*-gnu)
   9993   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   9994     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   9995   else
   9996     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   9997   fi
   9998   ;;
   9999 
   10000 newos6*)
   10001   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   10002   lt_cv_file_magic_cmd=$FILECMD
   10003   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   10004   ;;
   10005 
   10006 *nto* | *qnx*)
   10007   lt_cv_deplibs_check_method=pass_all
   10008   ;;
   10009 
   10010 openbsd* | bitrig*)
   10011   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10012     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   10013   else
   10014     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   10015   fi
   10016   ;;
   10017 
   10018 osf3* | osf4* | osf5*)
   10019   lt_cv_deplibs_check_method=pass_all
   10020   ;;
   10021 
   10022 rdos*)
   10023   lt_cv_deplibs_check_method=pass_all
   10024   ;;
   10025 
   10026 solaris*)
   10027   lt_cv_deplibs_check_method=pass_all
   10028   ;;
   10029 
   10030 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10031   lt_cv_deplibs_check_method=pass_all
   10032   ;;
   10033 
   10034 sysv4 | sysv4.3*)
   10035   case $host_vendor in
   10036   motorola)
   10037     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]'
   10038     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   10039     ;;
   10040   ncr)
   10041     lt_cv_deplibs_check_method=pass_all
   10042     ;;
   10043   sequent)
   10044     lt_cv_file_magic_cmd='/bin/file'
   10045     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   10046     ;;
   10047   sni)
   10048     lt_cv_file_magic_cmd='/bin/file'
   10049     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   10050     lt_cv_file_magic_test_file=/lib/libc.so
   10051     ;;
   10052   siemens)
   10053     lt_cv_deplibs_check_method=pass_all
   10054     ;;
   10055   pc)
   10056     lt_cv_deplibs_check_method=pass_all
   10057     ;;
   10058   esac
   10059   ;;
   10060 
   10061 tpf*)
   10062   lt_cv_deplibs_check_method=pass_all
   10063   ;;
   10064 os2*)
   10065   lt_cv_deplibs_check_method=pass_all
   10066   ;;
   10067 esac
   10068 
   10069 fi
   10070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   10071 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   10072 
   10073 file_magic_glob=
   10074 want_nocaseglob=no
   10075 if test "$build" = "$host"; then
   10076   case $host_os in
   10077   mingw* | pw32*)
   10078     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   10079       want_nocaseglob=yes
   10080     else
   10081       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   10082     fi
   10083     ;;
   10084   esac
   10085 fi
   10086 
   10087 file_magic_cmd=$lt_cv_file_magic_cmd
   10088 deplibs_check_method=$lt_cv_deplibs_check_method
   10089 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 if test -n "$ac_tool_prefix"; then
   10113   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   10114 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   10115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10116 printf %s "checking for $ac_word... " >&6; }
   10117 if test ${ac_cv_prog_DLLTOOL+y}
   10118 then :
   10119   printf %s "(cached) " >&6
   10120 else $as_nop
   10121   if test -n "$DLLTOOL"; then
   10122   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   10123 else
   10124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10125 for as_dir in $PATH
   10126 do
   10127   IFS=$as_save_IFS
   10128   case $as_dir in #(((
   10129     '') as_dir=./ ;;
   10130     */) ;;
   10131     *) as_dir=$as_dir/ ;;
   10132   esac
   10133     for ac_exec_ext in '' $ac_executable_extensions; do
   10134   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10135     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   10136     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10137     break 2
   10138   fi
   10139 done
   10140   done
   10141 IFS=$as_save_IFS
   10142 
   10143 fi
   10144 fi
   10145 DLLTOOL=$ac_cv_prog_DLLTOOL
   10146 if test -n "$DLLTOOL"; then
   10147   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   10148 printf "%s\n" "$DLLTOOL" >&6; }
   10149 else
   10150   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10151 printf "%s\n" "no" >&6; }
   10152 fi
   10153 
   10154 
   10155 fi
   10156 if test -z "$ac_cv_prog_DLLTOOL"; then
   10157   ac_ct_DLLTOOL=$DLLTOOL
   10158   # Extract the first word of "dlltool", so it can be a program name with args.
   10159 set dummy dlltool; ac_word=$2
   10160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10161 printf %s "checking for $ac_word... " >&6; }
   10162 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   10163 then :
   10164   printf %s "(cached) " >&6
   10165 else $as_nop
   10166   if test -n "$ac_ct_DLLTOOL"; then
   10167   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   10168 else
   10169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10170 for as_dir in $PATH
   10171 do
   10172   IFS=$as_save_IFS
   10173   case $as_dir in #(((
   10174     '') as_dir=./ ;;
   10175     */) ;;
   10176     *) as_dir=$as_dir/ ;;
   10177   esac
   10178     for ac_exec_ext in '' $ac_executable_extensions; do
   10179   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10180     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   10181     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10182     break 2
   10183   fi
   10184 done
   10185   done
   10186 IFS=$as_save_IFS
   10187 
   10188 fi
   10189 fi
   10190 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   10191 if test -n "$ac_ct_DLLTOOL"; then
   10192   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   10193 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   10194 else
   10195   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10196 printf "%s\n" "no" >&6; }
   10197 fi
   10198 
   10199   if test "x$ac_ct_DLLTOOL" = x; then
   10200     DLLTOOL="false"
   10201   else
   10202     case $cross_compiling:$ac_tool_warned in
   10203 yes:)
   10204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10205 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10206 ac_tool_warned=yes ;;
   10207 esac
   10208     DLLTOOL=$ac_ct_DLLTOOL
   10209   fi
   10210 else
   10211   DLLTOOL="$ac_cv_prog_DLLTOOL"
   10212 fi
   10213 
   10214 test -z "$DLLTOOL" && DLLTOOL=dlltool
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   10226 printf %s "checking how to associate runtime and link libraries... " >&6; }
   10227 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   10228 then :
   10229   printf %s "(cached) " >&6
   10230 else $as_nop
   10231   lt_cv_sharedlib_from_linklib_cmd='unknown'
   10232 
   10233 case $host_os in
   10234 cygwin* | mingw* | pw32* | cegcc*)
   10235   # two different shell functions defined in ltmain.sh;
   10236   # decide which one to use based on capabilities of $DLLTOOL
   10237   case `$DLLTOOL --help 2>&1` in
   10238   *--identify-strict*)
   10239     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   10240     ;;
   10241   *)
   10242     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   10243     ;;
   10244   esac
   10245   ;;
   10246 *)
   10247   # fallback: assume linklib IS sharedlib
   10248   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   10249   ;;
   10250 esac
   10251 
   10252 fi
   10253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   10254 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   10255 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   10256 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 if test -n "$ac_tool_prefix"; then
   10265   for ac_prog in ar
   10266   do
   10267     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   10268 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   10269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10270 printf %s "checking for $ac_word... " >&6; }
   10271 if test ${ac_cv_prog_AR+y}
   10272 then :
   10273   printf %s "(cached) " >&6
   10274 else $as_nop
   10275   if test -n "$AR"; then
   10276   ac_cv_prog_AR="$AR" # Let the user override the test.
   10277 else
   10278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10279 for as_dir in $PATH
   10280 do
   10281   IFS=$as_save_IFS
   10282   case $as_dir in #(((
   10283     '') as_dir=./ ;;
   10284     */) ;;
   10285     *) as_dir=$as_dir/ ;;
   10286   esac
   10287     for ac_exec_ext in '' $ac_executable_extensions; do
   10288   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10289     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   10290     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10291     break 2
   10292   fi
   10293 done
   10294   done
   10295 IFS=$as_save_IFS
   10296 
   10297 fi
   10298 fi
   10299 AR=$ac_cv_prog_AR
   10300 if test -n "$AR"; then
   10301   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   10302 printf "%s\n" "$AR" >&6; }
   10303 else
   10304   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10305 printf "%s\n" "no" >&6; }
   10306 fi
   10307 
   10308 
   10309     test -n "$AR" && break
   10310   done
   10311 fi
   10312 if test -z "$AR"; then
   10313   ac_ct_AR=$AR
   10314   for ac_prog in ar
   10315 do
   10316   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10317 set dummy $ac_prog; ac_word=$2
   10318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10319 printf %s "checking for $ac_word... " >&6; }
   10320 if test ${ac_cv_prog_ac_ct_AR+y}
   10321 then :
   10322   printf %s "(cached) " >&6
   10323 else $as_nop
   10324   if test -n "$ac_ct_AR"; then
   10325   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   10326 else
   10327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10328 for as_dir in $PATH
   10329 do
   10330   IFS=$as_save_IFS
   10331   case $as_dir in #(((
   10332     '') as_dir=./ ;;
   10333     */) ;;
   10334     *) as_dir=$as_dir/ ;;
   10335   esac
   10336     for ac_exec_ext in '' $ac_executable_extensions; do
   10337   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10338     ac_cv_prog_ac_ct_AR="$ac_prog"
   10339     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10340     break 2
   10341   fi
   10342 done
   10343   done
   10344 IFS=$as_save_IFS
   10345 
   10346 fi
   10347 fi
   10348 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   10349 if test -n "$ac_ct_AR"; then
   10350   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   10351 printf "%s\n" "$ac_ct_AR" >&6; }
   10352 else
   10353   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10354 printf "%s\n" "no" >&6; }
   10355 fi
   10356 
   10357 
   10358   test -n "$ac_ct_AR" && break
   10359 done
   10360 
   10361   if test "x$ac_ct_AR" = x; then
   10362     AR="false"
   10363   else
   10364     case $cross_compiling:$ac_tool_warned in
   10365 yes:)
   10366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10367 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10368 ac_tool_warned=yes ;;
   10369 esac
   10370     AR=$ac_ct_AR
   10371   fi
   10372 fi
   10373 
   10374 : ${AR=ar}
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   10382 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   10383 # higher priority because thats what people were doing historically (setting
   10384 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   10385 # variable obsoleted/removed.
   10386 
   10387 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   10388 lt_ar_flags=$AR_FLAGS
   10389 
   10390 
   10391 
   10392 
   10393 
   10394 
   10395 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   10396 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   10397 
   10398 
   10399 
   10400 
   10401 
   10402 
   10403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   10404 printf %s "checking for archiver @FILE support... " >&6; }
   10405 if test ${lt_cv_ar_at_file+y}
   10406 then :
   10407   printf %s "(cached) " >&6
   10408 else $as_nop
   10409   lt_cv_ar_at_file=no
   10410    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10411 /* end confdefs.h.  */
   10412 
   10413 int
   10414 main (void)
   10415 {
   10416 
   10417   ;
   10418   return 0;
   10419 }
   10420 _ACEOF
   10421 if ac_fn_c_try_compile "$LINENO"
   10422 then :
   10423   echo conftest.$ac_objext > conftest.lst
   10424       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   10425       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   10426   (eval $lt_ar_try) 2>&5
   10427   ac_status=$?
   10428   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10429   test $ac_status = 0; }
   10430       if test 0 -eq "$ac_status"; then
   10431 	# Ensure the archiver fails upon bogus file names.
   10432 	rm -f conftest.$ac_objext libconftest.a
   10433 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   10434   (eval $lt_ar_try) 2>&5
   10435   ac_status=$?
   10436   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10437   test $ac_status = 0; }
   10438 	if test 0 -ne "$ac_status"; then
   10439           lt_cv_ar_at_file=@
   10440         fi
   10441       fi
   10442       rm -f conftest.* libconftest.a
   10443 
   10444 fi
   10445 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10446 
   10447 fi
   10448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   10449 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   10450 
   10451 if test no = "$lt_cv_ar_at_file"; then
   10452   archiver_list_spec=
   10453 else
   10454   archiver_list_spec=$lt_cv_ar_at_file
   10455 fi
   10456 
   10457 
   10458 
   10459 
   10460 
   10461 
   10462 
   10463 if test -n "$ac_tool_prefix"; then
   10464   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   10465 set dummy ${ac_tool_prefix}strip; ac_word=$2
   10466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10467 printf %s "checking for $ac_word... " >&6; }
   10468 if test ${ac_cv_prog_STRIP+y}
   10469 then :
   10470   printf %s "(cached) " >&6
   10471 else $as_nop
   10472   if test -n "$STRIP"; then
   10473   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   10474 else
   10475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10476 for as_dir in $PATH
   10477 do
   10478   IFS=$as_save_IFS
   10479   case $as_dir in #(((
   10480     '') as_dir=./ ;;
   10481     */) ;;
   10482     *) as_dir=$as_dir/ ;;
   10483   esac
   10484     for ac_exec_ext in '' $ac_executable_extensions; do
   10485   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10486     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   10487     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10488     break 2
   10489   fi
   10490 done
   10491   done
   10492 IFS=$as_save_IFS
   10493 
   10494 fi
   10495 fi
   10496 STRIP=$ac_cv_prog_STRIP
   10497 if test -n "$STRIP"; then
   10498   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   10499 printf "%s\n" "$STRIP" >&6; }
   10500 else
   10501   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10502 printf "%s\n" "no" >&6; }
   10503 fi
   10504 
   10505 
   10506 fi
   10507 if test -z "$ac_cv_prog_STRIP"; then
   10508   ac_ct_STRIP=$STRIP
   10509   # Extract the first word of "strip", so it can be a program name with args.
   10510 set dummy strip; ac_word=$2
   10511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10512 printf %s "checking for $ac_word... " >&6; }
   10513 if test ${ac_cv_prog_ac_ct_STRIP+y}
   10514 then :
   10515   printf %s "(cached) " >&6
   10516 else $as_nop
   10517   if test -n "$ac_ct_STRIP"; then
   10518   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   10519 else
   10520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10521 for as_dir in $PATH
   10522 do
   10523   IFS=$as_save_IFS
   10524   case $as_dir in #(((
   10525     '') as_dir=./ ;;
   10526     */) ;;
   10527     *) as_dir=$as_dir/ ;;
   10528   esac
   10529     for ac_exec_ext in '' $ac_executable_extensions; do
   10530   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10531     ac_cv_prog_ac_ct_STRIP="strip"
   10532     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10533     break 2
   10534   fi
   10535 done
   10536   done
   10537 IFS=$as_save_IFS
   10538 
   10539 fi
   10540 fi
   10541 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   10542 if test -n "$ac_ct_STRIP"; then
   10543   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   10544 printf "%s\n" "$ac_ct_STRIP" >&6; }
   10545 else
   10546   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10547 printf "%s\n" "no" >&6; }
   10548 fi
   10549 
   10550   if test "x$ac_ct_STRIP" = x; then
   10551     STRIP=":"
   10552   else
   10553     case $cross_compiling:$ac_tool_warned in
   10554 yes:)
   10555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10556 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10557 ac_tool_warned=yes ;;
   10558 esac
   10559     STRIP=$ac_ct_STRIP
   10560   fi
   10561 else
   10562   STRIP="$ac_cv_prog_STRIP"
   10563 fi
   10564 
   10565 test -z "$STRIP" && STRIP=:
   10566 
   10567 
   10568 
   10569 
   10570 
   10571 
   10572 if test -n "$ac_tool_prefix"; then
   10573   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   10574 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   10575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10576 printf %s "checking for $ac_word... " >&6; }
   10577 if test ${ac_cv_prog_RANLIB+y}
   10578 then :
   10579   printf %s "(cached) " >&6
   10580 else $as_nop
   10581   if test -n "$RANLIB"; then
   10582   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   10583 else
   10584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10585 for as_dir in $PATH
   10586 do
   10587   IFS=$as_save_IFS
   10588   case $as_dir in #(((
   10589     '') as_dir=./ ;;
   10590     */) ;;
   10591     *) as_dir=$as_dir/ ;;
   10592   esac
   10593     for ac_exec_ext in '' $ac_executable_extensions; do
   10594   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10595     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   10596     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10597     break 2
   10598   fi
   10599 done
   10600   done
   10601 IFS=$as_save_IFS
   10602 
   10603 fi
   10604 fi
   10605 RANLIB=$ac_cv_prog_RANLIB
   10606 if test -n "$RANLIB"; then
   10607   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   10608 printf "%s\n" "$RANLIB" >&6; }
   10609 else
   10610   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10611 printf "%s\n" "no" >&6; }
   10612 fi
   10613 
   10614 
   10615 fi
   10616 if test -z "$ac_cv_prog_RANLIB"; then
   10617   ac_ct_RANLIB=$RANLIB
   10618   # Extract the first word of "ranlib", so it can be a program name with args.
   10619 set dummy ranlib; ac_word=$2
   10620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10621 printf %s "checking for $ac_word... " >&6; }
   10622 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   10623 then :
   10624   printf %s "(cached) " >&6
   10625 else $as_nop
   10626   if test -n "$ac_ct_RANLIB"; then
   10627   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   10628 else
   10629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10630 for as_dir in $PATH
   10631 do
   10632   IFS=$as_save_IFS
   10633   case $as_dir in #(((
   10634     '') as_dir=./ ;;
   10635     */) ;;
   10636     *) as_dir=$as_dir/ ;;
   10637   esac
   10638     for ac_exec_ext in '' $ac_executable_extensions; do
   10639   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10640     ac_cv_prog_ac_ct_RANLIB="ranlib"
   10641     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10642     break 2
   10643   fi
   10644 done
   10645   done
   10646 IFS=$as_save_IFS
   10647 
   10648 fi
   10649 fi
   10650 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   10651 if test -n "$ac_ct_RANLIB"; then
   10652   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   10653 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   10654 else
   10655   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10656 printf "%s\n" "no" >&6; }
   10657 fi
   10658 
   10659   if test "x$ac_ct_RANLIB" = x; then
   10660     RANLIB=":"
   10661   else
   10662     case $cross_compiling:$ac_tool_warned in
   10663 yes:)
   10664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10665 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10666 ac_tool_warned=yes ;;
   10667 esac
   10668     RANLIB=$ac_ct_RANLIB
   10669   fi
   10670 else
   10671   RANLIB="$ac_cv_prog_RANLIB"
   10672 fi
   10673 
   10674 test -z "$RANLIB" && RANLIB=:
   10675 
   10676 
   10677 
   10678 
   10679 
   10680 
   10681 # Determine commands to create old-style static archives.
   10682 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   10683 old_postinstall_cmds='chmod 644 $oldlib'
   10684 old_postuninstall_cmds=
   10685 
   10686 if test -n "$RANLIB"; then
   10687   case $host_os in
   10688   bitrig* | openbsd*)
   10689     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   10690     ;;
   10691   *)
   10692     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   10693     ;;
   10694   esac
   10695   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   10696 fi
   10697 
   10698 case $host_os in
   10699   darwin*)
   10700     lock_old_archive_extraction=yes ;;
   10701   *)
   10702     lock_old_archive_extraction=no ;;
   10703 esac
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 
   10719 
   10720 
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 
   10742 
   10743 # If no C compiler was specified, use CC.
   10744 LTCC=${LTCC-"$CC"}
   10745 
   10746 # If no C compiler flags were specified, use CFLAGS.
   10747 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10748 
   10749 # Allow CC to be a program name with arguments.
   10750 compiler=$CC
   10751 
   10752 
   10753 # Check for command to grab the raw symbol name followed by C symbol from nm.
   10754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   10755 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   10756 if test ${lt_cv_sys_global_symbol_pipe+y}
   10757 then :
   10758   printf %s "(cached) " >&6
   10759 else $as_nop
   10760 
   10761 # These are sane defaults that work on at least a few old systems.
   10762 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   10763 
   10764 # Character class describing NM global symbol codes.
   10765 symcode='[BCDEGRST]'
   10766 
   10767 # Regexp to match symbols that can be accessed directly from C.
   10768 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   10769 
   10770 # Define system-specific variables.
   10771 case $host_os in
   10772 aix*)
   10773   symcode='[BCDT]'
   10774   ;;
   10775 cygwin* | mingw* | pw32* | cegcc*)
   10776   symcode='[ABCDGISTW]'
   10777   ;;
   10778 hpux*)
   10779   if test ia64 = "$host_cpu"; then
   10780     symcode='[ABCDEGRST]'
   10781   fi
   10782   ;;
   10783 irix* | nonstopux*)
   10784   symcode='[BCDEGRST]'
   10785   ;;
   10786 osf*)
   10787   symcode='[BCDEGQRST]'
   10788   ;;
   10789 solaris*)
   10790   symcode='[BDRT]'
   10791   ;;
   10792 sco3.2v5*)
   10793   symcode='[DT]'
   10794   ;;
   10795 sysv4.2uw2*)
   10796   symcode='[DT]'
   10797   ;;
   10798 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   10799   symcode='[ABDT]'
   10800   ;;
   10801 sysv4)
   10802   symcode='[DFNSTU]'
   10803   ;;
   10804 esac
   10805 
   10806 # If we're using GNU nm, then use its standard symbol codes.
   10807 case `$NM -V 2>&1` in
   10808 *GNU* | *'with BFD'*)
   10809   symcode='[ABCDGIRSTW]' ;;
   10810 esac
   10811 
   10812 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   10813   # Gets list of data symbols to import.
   10814   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   10815   # Adjust the below global symbol transforms to fixup imported variables.
   10816   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   10817   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   10818   lt_c_name_lib_hook="\
   10819   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   10820   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   10821 else
   10822   # Disable hooks by default.
   10823   lt_cv_sys_global_symbol_to_import=
   10824   lt_cdecl_hook=
   10825   lt_c_name_hook=
   10826   lt_c_name_lib_hook=
   10827 fi
   10828 
   10829 # Transform an extracted symbol line into a proper C declaration.
   10830 # Some systems (esp. on ia64) link data and code symbols differently,
   10831 # so use this general approach.
   10832 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   10833 $lt_cdecl_hook\
   10834 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   10835 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   10836 
   10837 # Transform an extracted symbol line into symbol name and symbol address
   10838 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   10839 $lt_c_name_hook\
   10840 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   10841 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   10842 
   10843 # Transform an extracted symbol line into symbol name with lib prefix and
   10844 # symbol address.
   10845 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   10846 $lt_c_name_lib_hook\
   10847 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   10848 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   10849 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   10850 
   10851 # Handle CRLF in mingw tool chain
   10852 opt_cr=
   10853 case $build_os in
   10854 mingw*)
   10855   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   10856   ;;
   10857 esac
   10858 
   10859 # Try without a prefix underscore, then with it.
   10860 for ac_symprfx in "" "_"; do
   10861 
   10862   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   10863   symxfrm="\\1 $ac_symprfx\\2 \\2"
   10864 
   10865   # Write the raw and C identifiers.
   10866   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   10867     # Fake it for dumpbin and say T for any non-static function,
   10868     # D for any global variable and I for any imported variable.
   10869     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   10870     # which start with @ or ?.
   10871     lt_cv_sys_global_symbol_pipe="$AWK '"\
   10872 "     {last_section=section; section=\$ 3};"\
   10873 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   10874 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   10875 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   10876 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   10877 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   10878 "     \$ 0!~/External *\|/{next};"\
   10879 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   10880 "     {if(hide[section]) next};"\
   10881 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   10882 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   10883 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   10884 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   10885 "     ' prfx=^$ac_symprfx"
   10886   else
   10887     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   10888   fi
   10889   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   10890 
   10891   # Check to see that the pipe works correctly.
   10892   pipe_works=no
   10893 
   10894   rm -f conftest*
   10895   cat > conftest.$ac_ext <<_LT_EOF
   10896 #ifdef __cplusplus
   10897 extern "C" {
   10898 #endif
   10899 char nm_test_var;
   10900 void nm_test_func(void);
   10901 void nm_test_func(void){}
   10902 #ifdef __cplusplus
   10903 }
   10904 #endif
   10905 int main(){nm_test_var='a';nm_test_func();return(0);}
   10906 _LT_EOF
   10907 
   10908   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10909   (eval $ac_compile) 2>&5
   10910   ac_status=$?
   10911   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10912   test $ac_status = 0; }; then
   10913     # Now try to grab the symbols.
   10914     nlist=conftest.nm
   10915     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   10916     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   10917       # Try sorting and uniquifying the output.
   10918       if sort "$nlist" | uniq > "$nlist"T; then
   10919 	mv -f "$nlist"T "$nlist"
   10920       else
   10921 	rm -f "$nlist"T
   10922       fi
   10923 
   10924       # Make sure that we snagged all the symbols we need.
   10925       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   10926 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   10927 	  cat <<_LT_EOF > conftest.$ac_ext
   10928 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   10929 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   10930 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   10931    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   10932 # define LT_DLSYM_CONST
   10933 #elif defined __osf__
   10934 /* This system does not cope well with relocations in const data.  */
   10935 # define LT_DLSYM_CONST
   10936 #else
   10937 # define LT_DLSYM_CONST const
   10938 #endif
   10939 
   10940 #ifdef __cplusplus
   10941 extern "C" {
   10942 #endif
   10943 
   10944 _LT_EOF
   10945 	  # Now generate the symbol file.
   10946 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   10947 
   10948 	  cat <<_LT_EOF >> conftest.$ac_ext
   10949 
   10950 /* The mapping between symbol names and symbols.  */
   10951 LT_DLSYM_CONST struct {
   10952   const char *name;
   10953   void       *address;
   10954 }
   10955 lt__PROGRAM__LTX_preloaded_symbols[] =
   10956 {
   10957   { "@PROGRAM@", (void *) 0 },
   10958 _LT_EOF
   10959 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   10960 	  cat <<\_LT_EOF >> conftest.$ac_ext
   10961   {0, (void *) 0}
   10962 };
   10963 
   10964 /* This works around a problem in FreeBSD linker */
   10965 #ifdef FREEBSD_WORKAROUND
   10966 static const void *lt_preloaded_setup() {
   10967   return lt__PROGRAM__LTX_preloaded_symbols;
   10968 }
   10969 #endif
   10970 
   10971 #ifdef __cplusplus
   10972 }
   10973 #endif
   10974 _LT_EOF
   10975 	  # Now try linking the two files.
   10976 	  mv conftest.$ac_objext conftstm.$ac_objext
   10977 	  lt_globsym_save_LIBS=$LIBS
   10978 	  lt_globsym_save_CFLAGS=$CFLAGS
   10979 	  LIBS=conftstm.$ac_objext
   10980 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   10981 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   10982   (eval $ac_link) 2>&5
   10983   ac_status=$?
   10984   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10985   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   10986 	    pipe_works=yes
   10987 	  fi
   10988 	  LIBS=$lt_globsym_save_LIBS
   10989 	  CFLAGS=$lt_globsym_save_CFLAGS
   10990 	else
   10991 	  echo "cannot find nm_test_func in $nlist" >&5
   10992 	fi
   10993       else
   10994 	echo "cannot find nm_test_var in $nlist" >&5
   10995       fi
   10996     else
   10997       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   10998     fi
   10999   else
   11000     echo "$progname: failed program was:" >&5
   11001     cat conftest.$ac_ext >&5
   11002   fi
   11003   rm -rf conftest* conftst*
   11004 
   11005   # Do not use the global_symbol_pipe unless it works.
   11006   if test yes = "$pipe_works"; then
   11007     break
   11008   else
   11009     lt_cv_sys_global_symbol_pipe=
   11010   fi
   11011 done
   11012 
   11013 fi
   11014 
   11015 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   11016   lt_cv_sys_global_symbol_to_cdecl=
   11017 fi
   11018 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   11019   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   11020 printf "%s\n" "failed" >&6; }
   11021 else
   11022   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   11023 printf "%s\n" "ok" >&6; }
   11024 fi
   11025 
   11026 # Response file support.
   11027 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   11028   nm_file_list_spec='@'
   11029 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   11030   nm_file_list_spec='@'
   11031 fi
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 
   11053 
   11054 
   11055 
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 
   11062 
   11063 
   11064 
   11065 
   11066 
   11067 
   11068 
   11069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   11070 printf %s "checking for sysroot... " >&6; }
   11071 
   11072 # Check whether --with-sysroot was given.
   11073 if test ${with_sysroot+y}
   11074 then :
   11075   withval=$with_sysroot;
   11076 else $as_nop
   11077   with_sysroot=no
   11078 fi
   11079 
   11080 
   11081 lt_sysroot=
   11082 case $with_sysroot in #(
   11083  yes)
   11084    if test yes = "$GCC"; then
   11085      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   11086    fi
   11087    ;; #(
   11088  /*)
   11089    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   11090    ;; #(
   11091  no|'')
   11092    ;; #(
   11093  *)
   11094    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   11095 printf "%s\n" "$with_sysroot" >&6; }
   11096    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   11097    ;;
   11098 esac
   11099 
   11100  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   11101 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   11102 
   11103 
   11104 
   11105 
   11106 
   11107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   11108 printf %s "checking for a working dd... " >&6; }
   11109 if test ${ac_cv_path_lt_DD+y}
   11110 then :
   11111   printf %s "(cached) " >&6
   11112 else $as_nop
   11113   printf 0123456789abcdef0123456789abcdef >conftest.i
   11114 cat conftest.i conftest.i >conftest2.i
   11115 : ${lt_DD:=$DD}
   11116 if test -z "$lt_DD"; then
   11117   ac_path_lt_DD_found=false
   11118   # Loop through the user's path and test for each of PROGNAME-LIST
   11119   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11120 for as_dir in $PATH
   11121 do
   11122   IFS=$as_save_IFS
   11123   case $as_dir in #(((
   11124     '') as_dir=./ ;;
   11125     */) ;;
   11126     *) as_dir=$as_dir/ ;;
   11127   esac
   11128     for ac_prog in dd
   11129    do
   11130     for ac_exec_ext in '' $ac_executable_extensions; do
   11131       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   11132       as_fn_executable_p "$ac_path_lt_DD" || continue
   11133 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   11134   cmp -s conftest.i conftest.out \
   11135   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   11136 fi
   11137       $ac_path_lt_DD_found && break 3
   11138     done
   11139   done
   11140   done
   11141 IFS=$as_save_IFS
   11142   if test -z "$ac_cv_path_lt_DD"; then
   11143     :
   11144   fi
   11145 else
   11146   ac_cv_path_lt_DD=$lt_DD
   11147 fi
   11148 
   11149 rm -f conftest.i conftest2.i conftest.out
   11150 fi
   11151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   11152 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   11153 
   11154 
   11155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   11156 printf %s "checking how to truncate binary pipes... " >&6; }
   11157 if test ${lt_cv_truncate_bin+y}
   11158 then :
   11159   printf %s "(cached) " >&6
   11160 else $as_nop
   11161   printf 0123456789abcdef0123456789abcdef >conftest.i
   11162 cat conftest.i conftest.i >conftest2.i
   11163 lt_cv_truncate_bin=
   11164 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   11165   cmp -s conftest.i conftest.out \
   11166   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   11167 fi
   11168 rm -f conftest.i conftest2.i conftest.out
   11169 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   11170 fi
   11171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   11172 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   11173 
   11174 
   11175 
   11176 
   11177 
   11178 
   11179 
   11180 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   11181 func_cc_basename ()
   11182 {
   11183     for cc_temp in $*""; do
   11184       case $cc_temp in
   11185         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11186         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11187         \-*) ;;
   11188         *) break;;
   11189       esac
   11190     done
   11191     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   11192 }
   11193 
   11194 # Check whether --enable-libtool-lock was given.
   11195 if test ${enable_libtool_lock+y}
   11196 then :
   11197   enableval=$enable_libtool_lock;
   11198 fi
   11199 
   11200 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   11201 
   11202 # Some flags need to be propagated to the compiler or linker for good
   11203 # libtool support.
   11204 case $host in
   11205 ia64-*-hpux*)
   11206   # Find out what ABI is being produced by ac_compile, and set mode
   11207   # options accordingly.
   11208   echo 'int i;' > conftest.$ac_ext
   11209   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11210   (eval $ac_compile) 2>&5
   11211   ac_status=$?
   11212   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11213   test $ac_status = 0; }; then
   11214     case `$FILECMD conftest.$ac_objext` in
   11215       *ELF-32*)
   11216 	HPUX_IA64_MODE=32
   11217 	;;
   11218       *ELF-64*)
   11219 	HPUX_IA64_MODE=64
   11220 	;;
   11221     esac
   11222   fi
   11223   rm -rf conftest*
   11224   ;;
   11225 *-*-irix6*)
   11226   # Find out what ABI is being produced by ac_compile, and set linker
   11227   # options accordingly.
   11228   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   11229   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11230   (eval $ac_compile) 2>&5
   11231   ac_status=$?
   11232   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11233   test $ac_status = 0; }; then
   11234     if test yes = "$lt_cv_prog_gnu_ld"; then
   11235       case `$FILECMD conftest.$ac_objext` in
   11236 	*32-bit*)
   11237 	  LD="${LD-ld} -melf32bsmip"
   11238 	  ;;
   11239 	*N32*)
   11240 	  LD="${LD-ld} -melf32bmipn32"
   11241 	  ;;
   11242 	*64-bit*)
   11243 	  LD="${LD-ld} -melf64bmip"
   11244 	;;
   11245       esac
   11246     else
   11247       case `$FILECMD conftest.$ac_objext` in
   11248 	*32-bit*)
   11249 	  LD="${LD-ld} -32"
   11250 	  ;;
   11251 	*N32*)
   11252 	  LD="${LD-ld} -n32"
   11253 	  ;;
   11254 	*64-bit*)
   11255 	  LD="${LD-ld} -64"
   11256 	  ;;
   11257       esac
   11258     fi
   11259   fi
   11260   rm -rf conftest*
   11261   ;;
   11262 
   11263 mips64*-*linux*)
   11264   # Find out what ABI is being produced by ac_compile, and set linker
   11265   # options accordingly.
   11266   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   11267   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11268   (eval $ac_compile) 2>&5
   11269   ac_status=$?
   11270   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11271   test $ac_status = 0; }; then
   11272     emul=elf
   11273     case `$FILECMD conftest.$ac_objext` in
   11274       *32-bit*)
   11275 	emul="${emul}32"
   11276 	;;
   11277       *64-bit*)
   11278 	emul="${emul}64"
   11279 	;;
   11280     esac
   11281     case `$FILECMD conftest.$ac_objext` in
   11282       *MSB*)
   11283 	emul="${emul}btsmip"
   11284 	;;
   11285       *LSB*)
   11286 	emul="${emul}ltsmip"
   11287 	;;
   11288     esac
   11289     case `$FILECMD conftest.$ac_objext` in
   11290       *N32*)
   11291 	emul="${emul}n32"
   11292 	;;
   11293     esac
   11294     LD="${LD-ld} -m $emul"
   11295   fi
   11296   rm -rf conftest*
   11297   ;;
   11298 
   11299 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   11300 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   11301   # Find out what ABI is being produced by ac_compile, and set linker
   11302   # options accordingly.  Note that the listed cases only cover the
   11303   # situations where additional linker options are needed (such as when
   11304   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   11305   # vice versa); the common cases where no linker options are needed do
   11306   # not appear in the list.
   11307   echo 'int i;' > conftest.$ac_ext
   11308   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11309   (eval $ac_compile) 2>&5
   11310   ac_status=$?
   11311   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11312   test $ac_status = 0; }; then
   11313     case `$FILECMD conftest.o` in
   11314       *32-bit*)
   11315 	case $host in
   11316 	  x86_64-*kfreebsd*-gnu)
   11317 	    LD="${LD-ld} -m elf_i386_fbsd"
   11318 	    ;;
   11319 	  x86_64-*linux*)
   11320 	    case `$FILECMD conftest.o` in
   11321 	      *x86-64*)
   11322 		LD="${LD-ld} -m elf32_x86_64"
   11323 		;;
   11324 	      *)
   11325 		LD="${LD-ld} -m elf_i386"
   11326 		;;
   11327 	    esac
   11328 	    ;;
   11329 	  powerpc64le-*linux*)
   11330 	    LD="${LD-ld} -m elf32lppclinux"
   11331 	    ;;
   11332 	  powerpc64-*linux*)
   11333 	    LD="${LD-ld} -m elf32ppclinux"
   11334 	    ;;
   11335 	  s390x-*linux*)
   11336 	    LD="${LD-ld} -m elf_s390"
   11337 	    ;;
   11338 	  sparc64-*linux*)
   11339 	    LD="${LD-ld} -m elf32_sparc"
   11340 	    ;;
   11341 	esac
   11342 	;;
   11343       *64-bit*)
   11344 	case $host in
   11345 	  x86_64-*kfreebsd*-gnu)
   11346 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   11347 	    ;;
   11348 	  x86_64-*linux*)
   11349 	    LD="${LD-ld} -m elf_x86_64"
   11350 	    ;;
   11351 	  powerpcle-*linux*)
   11352 	    LD="${LD-ld} -m elf64lppc"
   11353 	    ;;
   11354 	  powerpc-*linux*)
   11355 	    LD="${LD-ld} -m elf64ppc"
   11356 	    ;;
   11357 	  s390*-*linux*|s390*-*tpf*)
   11358 	    LD="${LD-ld} -m elf64_s390"
   11359 	    ;;
   11360 	  sparc*-*linux*)
   11361 	    LD="${LD-ld} -m elf64_sparc"
   11362 	    ;;
   11363 	esac
   11364 	;;
   11365     esac
   11366   fi
   11367   rm -rf conftest*
   11368   ;;
   11369 
   11370 *-*-sco3.2v5*)
   11371   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   11372   SAVE_CFLAGS=$CFLAGS
   11373   CFLAGS="$CFLAGS -belf"
   11374   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   11375 printf %s "checking whether the C compiler needs -belf... " >&6; }
   11376 if test ${lt_cv_cc_needs_belf+y}
   11377 then :
   11378   printf %s "(cached) " >&6
   11379 else $as_nop
   11380   ac_ext=c
   11381 ac_cpp='$CPP $CPPFLAGS'
   11382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11385 
   11386      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11387 /* end confdefs.h.  */
   11388 
   11389 int
   11390 main (void)
   11391 {
   11392 
   11393   ;
   11394   return 0;
   11395 }
   11396 _ACEOF
   11397 if ac_fn_c_try_link "$LINENO"
   11398 then :
   11399   lt_cv_cc_needs_belf=yes
   11400 else $as_nop
   11401   lt_cv_cc_needs_belf=no
   11402 fi
   11403 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11404     conftest$ac_exeext conftest.$ac_ext
   11405      ac_ext=c
   11406 ac_cpp='$CPP $CPPFLAGS'
   11407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11410 
   11411 fi
   11412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   11413 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   11414   if test yes != "$lt_cv_cc_needs_belf"; then
   11415     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   11416     CFLAGS=$SAVE_CFLAGS
   11417   fi
   11418   ;;
   11419 *-*solaris*)
   11420   # Find out what ABI is being produced by ac_compile, and set linker
   11421   # options accordingly.
   11422   echo 'int i;' > conftest.$ac_ext
   11423   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11424   (eval $ac_compile) 2>&5
   11425   ac_status=$?
   11426   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11427   test $ac_status = 0; }; then
   11428     case `$FILECMD conftest.o` in
   11429     *64-bit*)
   11430       case $lt_cv_prog_gnu_ld in
   11431       yes*)
   11432         case $host in
   11433         i?86-*-solaris*|x86_64-*-solaris*)
   11434           LD="${LD-ld} -m elf_x86_64"
   11435           ;;
   11436         sparc*-*-solaris*)
   11437           LD="${LD-ld} -m elf64_sparc"
   11438           ;;
   11439         esac
   11440         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   11441         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   11442           LD=${LD-ld}_sol2
   11443         fi
   11444         ;;
   11445       *)
   11446 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   11447 	  LD="${LD-ld} -64"
   11448 	fi
   11449 	;;
   11450       esac
   11451       ;;
   11452     esac
   11453   fi
   11454   rm -rf conftest*
   11455   ;;
   11456 esac
   11457 
   11458 need_locks=$enable_libtool_lock
   11459 
   11460 if test -n "$ac_tool_prefix"; then
   11461   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   11462 set dummy ${ac_tool_prefix}mt; ac_word=$2
   11463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11464 printf %s "checking for $ac_word... " >&6; }
   11465 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   11466 then :
   11467   printf %s "(cached) " >&6
   11468 else $as_nop
   11469   if test -n "$MANIFEST_TOOL"; then
   11470   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   11471 else
   11472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11473 for as_dir in $PATH
   11474 do
   11475   IFS=$as_save_IFS
   11476   case $as_dir in #(((
   11477     '') as_dir=./ ;;
   11478     */) ;;
   11479     *) as_dir=$as_dir/ ;;
   11480   esac
   11481     for ac_exec_ext in '' $ac_executable_extensions; do
   11482   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11483     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   11484     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11485     break 2
   11486   fi
   11487 done
   11488   done
   11489 IFS=$as_save_IFS
   11490 
   11491 fi
   11492 fi
   11493 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   11494 if test -n "$MANIFEST_TOOL"; then
   11495   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   11496 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   11497 else
   11498   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11499 printf "%s\n" "no" >&6; }
   11500 fi
   11501 
   11502 
   11503 fi
   11504 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   11505   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   11506   # Extract the first word of "mt", so it can be a program name with args.
   11507 set dummy mt; ac_word=$2
   11508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11509 printf %s "checking for $ac_word... " >&6; }
   11510 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   11511 then :
   11512   printf %s "(cached) " >&6
   11513 else $as_nop
   11514   if test -n "$ac_ct_MANIFEST_TOOL"; then
   11515   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   11516 else
   11517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11518 for as_dir in $PATH
   11519 do
   11520   IFS=$as_save_IFS
   11521   case $as_dir in #(((
   11522     '') as_dir=./ ;;
   11523     */) ;;
   11524     *) as_dir=$as_dir/ ;;
   11525   esac
   11526     for ac_exec_ext in '' $ac_executable_extensions; do
   11527   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11528     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   11529     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11530     break 2
   11531   fi
   11532 done
   11533   done
   11534 IFS=$as_save_IFS
   11535 
   11536 fi
   11537 fi
   11538 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   11539 if test -n "$ac_ct_MANIFEST_TOOL"; then
   11540   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   11541 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   11542 else
   11543   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11544 printf "%s\n" "no" >&6; }
   11545 fi
   11546 
   11547   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   11548     MANIFEST_TOOL=":"
   11549   else
   11550     case $cross_compiling:$ac_tool_warned in
   11551 yes:)
   11552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11553 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11554 ac_tool_warned=yes ;;
   11555 esac
   11556     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   11557   fi
   11558 else
   11559   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   11560 fi
   11561 
   11562 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   11563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   11564 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   11565 if test ${lt_cv_path_mainfest_tool+y}
   11566 then :
   11567   printf %s "(cached) " >&6
   11568 else $as_nop
   11569   lt_cv_path_mainfest_tool=no
   11570   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   11571   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   11572   cat conftest.err >&5
   11573   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   11574     lt_cv_path_mainfest_tool=yes
   11575   fi
   11576   rm -f conftest*
   11577 fi
   11578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   11579 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   11580 if test yes != "$lt_cv_path_mainfest_tool"; then
   11581   MANIFEST_TOOL=:
   11582 fi
   11583 
   11584 
   11585 
   11586 
   11587 
   11588 
   11589   case $host_os in
   11590     rhapsody* | darwin*)
   11591     if test -n "$ac_tool_prefix"; then
   11592   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   11593 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   11594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11595 printf %s "checking for $ac_word... " >&6; }
   11596 if test ${ac_cv_prog_DSYMUTIL+y}
   11597 then :
   11598   printf %s "(cached) " >&6
   11599 else $as_nop
   11600   if test -n "$DSYMUTIL"; then
   11601   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   11602 else
   11603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11604 for as_dir in $PATH
   11605 do
   11606   IFS=$as_save_IFS
   11607   case $as_dir in #(((
   11608     '') as_dir=./ ;;
   11609     */) ;;
   11610     *) as_dir=$as_dir/ ;;
   11611   esac
   11612     for ac_exec_ext in '' $ac_executable_extensions; do
   11613   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11614     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   11615     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11616     break 2
   11617   fi
   11618 done
   11619   done
   11620 IFS=$as_save_IFS
   11621 
   11622 fi
   11623 fi
   11624 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   11625 if test -n "$DSYMUTIL"; then
   11626   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   11627 printf "%s\n" "$DSYMUTIL" >&6; }
   11628 else
   11629   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11630 printf "%s\n" "no" >&6; }
   11631 fi
   11632 
   11633 
   11634 fi
   11635 if test -z "$ac_cv_prog_DSYMUTIL"; then
   11636   ac_ct_DSYMUTIL=$DSYMUTIL
   11637   # Extract the first word of "dsymutil", so it can be a program name with args.
   11638 set dummy dsymutil; ac_word=$2
   11639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11640 printf %s "checking for $ac_word... " >&6; }
   11641 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   11642 then :
   11643   printf %s "(cached) " >&6
   11644 else $as_nop
   11645   if test -n "$ac_ct_DSYMUTIL"; then
   11646   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   11647 else
   11648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11649 for as_dir in $PATH
   11650 do
   11651   IFS=$as_save_IFS
   11652   case $as_dir in #(((
   11653     '') as_dir=./ ;;
   11654     */) ;;
   11655     *) as_dir=$as_dir/ ;;
   11656   esac
   11657     for ac_exec_ext in '' $ac_executable_extensions; do
   11658   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11659     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   11660     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11661     break 2
   11662   fi
   11663 done
   11664   done
   11665 IFS=$as_save_IFS
   11666 
   11667 fi
   11668 fi
   11669 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   11670 if test -n "$ac_ct_DSYMUTIL"; then
   11671   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   11672 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   11673 else
   11674   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11675 printf "%s\n" "no" >&6; }
   11676 fi
   11677 
   11678   if test "x$ac_ct_DSYMUTIL" = x; then
   11679     DSYMUTIL=":"
   11680   else
   11681     case $cross_compiling:$ac_tool_warned in
   11682 yes:)
   11683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11684 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11685 ac_tool_warned=yes ;;
   11686 esac
   11687     DSYMUTIL=$ac_ct_DSYMUTIL
   11688   fi
   11689 else
   11690   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   11691 fi
   11692 
   11693     if test -n "$ac_tool_prefix"; then
   11694   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   11695 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   11696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11697 printf %s "checking for $ac_word... " >&6; }
   11698 if test ${ac_cv_prog_NMEDIT+y}
   11699 then :
   11700   printf %s "(cached) " >&6
   11701 else $as_nop
   11702   if test -n "$NMEDIT"; then
   11703   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   11704 else
   11705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11706 for as_dir in $PATH
   11707 do
   11708   IFS=$as_save_IFS
   11709   case $as_dir in #(((
   11710     '') as_dir=./ ;;
   11711     */) ;;
   11712     *) as_dir=$as_dir/ ;;
   11713   esac
   11714     for ac_exec_ext in '' $ac_executable_extensions; do
   11715   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11716     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   11717     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11718     break 2
   11719   fi
   11720 done
   11721   done
   11722 IFS=$as_save_IFS
   11723 
   11724 fi
   11725 fi
   11726 NMEDIT=$ac_cv_prog_NMEDIT
   11727 if test -n "$NMEDIT"; then
   11728   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   11729 printf "%s\n" "$NMEDIT" >&6; }
   11730 else
   11731   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11732 printf "%s\n" "no" >&6; }
   11733 fi
   11734 
   11735 
   11736 fi
   11737 if test -z "$ac_cv_prog_NMEDIT"; then
   11738   ac_ct_NMEDIT=$NMEDIT
   11739   # Extract the first word of "nmedit", so it can be a program name with args.
   11740 set dummy nmedit; ac_word=$2
   11741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11742 printf %s "checking for $ac_word... " >&6; }
   11743 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   11744 then :
   11745   printf %s "(cached) " >&6
   11746 else $as_nop
   11747   if test -n "$ac_ct_NMEDIT"; then
   11748   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   11749 else
   11750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11751 for as_dir in $PATH
   11752 do
   11753   IFS=$as_save_IFS
   11754   case $as_dir in #(((
   11755     '') as_dir=./ ;;
   11756     */) ;;
   11757     *) as_dir=$as_dir/ ;;
   11758   esac
   11759     for ac_exec_ext in '' $ac_executable_extensions; do
   11760   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11761     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   11762     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11763     break 2
   11764   fi
   11765 done
   11766   done
   11767 IFS=$as_save_IFS
   11768 
   11769 fi
   11770 fi
   11771 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   11772 if test -n "$ac_ct_NMEDIT"; then
   11773   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   11774 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   11775 else
   11776   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11777 printf "%s\n" "no" >&6; }
   11778 fi
   11779 
   11780   if test "x$ac_ct_NMEDIT" = x; then
   11781     NMEDIT=":"
   11782   else
   11783     case $cross_compiling:$ac_tool_warned in
   11784 yes:)
   11785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11786 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11787 ac_tool_warned=yes ;;
   11788 esac
   11789     NMEDIT=$ac_ct_NMEDIT
   11790   fi
   11791 else
   11792   NMEDIT="$ac_cv_prog_NMEDIT"
   11793 fi
   11794 
   11795     if test -n "$ac_tool_prefix"; then
   11796   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   11797 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   11798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11799 printf %s "checking for $ac_word... " >&6; }
   11800 if test ${ac_cv_prog_LIPO+y}
   11801 then :
   11802   printf %s "(cached) " >&6
   11803 else $as_nop
   11804   if test -n "$LIPO"; then
   11805   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   11806 else
   11807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11808 for as_dir in $PATH
   11809 do
   11810   IFS=$as_save_IFS
   11811   case $as_dir in #(((
   11812     '') as_dir=./ ;;
   11813     */) ;;
   11814     *) as_dir=$as_dir/ ;;
   11815   esac
   11816     for ac_exec_ext in '' $ac_executable_extensions; do
   11817   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11818     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   11819     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11820     break 2
   11821   fi
   11822 done
   11823   done
   11824 IFS=$as_save_IFS
   11825 
   11826 fi
   11827 fi
   11828 LIPO=$ac_cv_prog_LIPO
   11829 if test -n "$LIPO"; then
   11830   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   11831 printf "%s\n" "$LIPO" >&6; }
   11832 else
   11833   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11834 printf "%s\n" "no" >&6; }
   11835 fi
   11836 
   11837 
   11838 fi
   11839 if test -z "$ac_cv_prog_LIPO"; then
   11840   ac_ct_LIPO=$LIPO
   11841   # Extract the first word of "lipo", so it can be a program name with args.
   11842 set dummy lipo; ac_word=$2
   11843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11844 printf %s "checking for $ac_word... " >&6; }
   11845 if test ${ac_cv_prog_ac_ct_LIPO+y}
   11846 then :
   11847   printf %s "(cached) " >&6
   11848 else $as_nop
   11849   if test -n "$ac_ct_LIPO"; then
   11850   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   11851 else
   11852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11853 for as_dir in $PATH
   11854 do
   11855   IFS=$as_save_IFS
   11856   case $as_dir in #(((
   11857     '') as_dir=./ ;;
   11858     */) ;;
   11859     *) as_dir=$as_dir/ ;;
   11860   esac
   11861     for ac_exec_ext in '' $ac_executable_extensions; do
   11862   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11863     ac_cv_prog_ac_ct_LIPO="lipo"
   11864     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11865     break 2
   11866   fi
   11867 done
   11868   done
   11869 IFS=$as_save_IFS
   11870 
   11871 fi
   11872 fi
   11873 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   11874 if test -n "$ac_ct_LIPO"; then
   11875   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   11876 printf "%s\n" "$ac_ct_LIPO" >&6; }
   11877 else
   11878   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11879 printf "%s\n" "no" >&6; }
   11880 fi
   11881 
   11882   if test "x$ac_ct_LIPO" = x; then
   11883     LIPO=":"
   11884   else
   11885     case $cross_compiling:$ac_tool_warned in
   11886 yes:)
   11887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11888 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11889 ac_tool_warned=yes ;;
   11890 esac
   11891     LIPO=$ac_ct_LIPO
   11892   fi
   11893 else
   11894   LIPO="$ac_cv_prog_LIPO"
   11895 fi
   11896 
   11897     if test -n "$ac_tool_prefix"; then
   11898   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   11899 set dummy ${ac_tool_prefix}otool; ac_word=$2
   11900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11901 printf %s "checking for $ac_word... " >&6; }
   11902 if test ${ac_cv_prog_OTOOL+y}
   11903 then :
   11904   printf %s "(cached) " >&6
   11905 else $as_nop
   11906   if test -n "$OTOOL"; then
   11907   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   11908 else
   11909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11910 for as_dir in $PATH
   11911 do
   11912   IFS=$as_save_IFS
   11913   case $as_dir in #(((
   11914     '') as_dir=./ ;;
   11915     */) ;;
   11916     *) as_dir=$as_dir/ ;;
   11917   esac
   11918     for ac_exec_ext in '' $ac_executable_extensions; do
   11919   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11920     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   11921     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11922     break 2
   11923   fi
   11924 done
   11925   done
   11926 IFS=$as_save_IFS
   11927 
   11928 fi
   11929 fi
   11930 OTOOL=$ac_cv_prog_OTOOL
   11931 if test -n "$OTOOL"; then
   11932   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   11933 printf "%s\n" "$OTOOL" >&6; }
   11934 else
   11935   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11936 printf "%s\n" "no" >&6; }
   11937 fi
   11938 
   11939 
   11940 fi
   11941 if test -z "$ac_cv_prog_OTOOL"; then
   11942   ac_ct_OTOOL=$OTOOL
   11943   # Extract the first word of "otool", so it can be a program name with args.
   11944 set dummy otool; ac_word=$2
   11945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11946 printf %s "checking for $ac_word... " >&6; }
   11947 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   11948 then :
   11949   printf %s "(cached) " >&6
   11950 else $as_nop
   11951   if test -n "$ac_ct_OTOOL"; then
   11952   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   11953 else
   11954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11955 for as_dir in $PATH
   11956 do
   11957   IFS=$as_save_IFS
   11958   case $as_dir in #(((
   11959     '') as_dir=./ ;;
   11960     */) ;;
   11961     *) as_dir=$as_dir/ ;;
   11962   esac
   11963     for ac_exec_ext in '' $ac_executable_extensions; do
   11964   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11965     ac_cv_prog_ac_ct_OTOOL="otool"
   11966     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11967     break 2
   11968   fi
   11969 done
   11970   done
   11971 IFS=$as_save_IFS
   11972 
   11973 fi
   11974 fi
   11975 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   11976 if test -n "$ac_ct_OTOOL"; then
   11977   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   11978 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   11979 else
   11980   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11981 printf "%s\n" "no" >&6; }
   11982 fi
   11983 
   11984   if test "x$ac_ct_OTOOL" = x; then
   11985     OTOOL=":"
   11986   else
   11987     case $cross_compiling:$ac_tool_warned in
   11988 yes:)
   11989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11990 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11991 ac_tool_warned=yes ;;
   11992 esac
   11993     OTOOL=$ac_ct_OTOOL
   11994   fi
   11995 else
   11996   OTOOL="$ac_cv_prog_OTOOL"
   11997 fi
   11998 
   11999     if test -n "$ac_tool_prefix"; then
   12000   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   12001 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   12002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12003 printf %s "checking for $ac_word... " >&6; }
   12004 if test ${ac_cv_prog_OTOOL64+y}
   12005 then :
   12006   printf %s "(cached) " >&6
   12007 else $as_nop
   12008   if test -n "$OTOOL64"; then
   12009   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   12010 else
   12011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12012 for as_dir in $PATH
   12013 do
   12014   IFS=$as_save_IFS
   12015   case $as_dir in #(((
   12016     '') as_dir=./ ;;
   12017     */) ;;
   12018     *) as_dir=$as_dir/ ;;
   12019   esac
   12020     for ac_exec_ext in '' $ac_executable_extensions; do
   12021   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12022     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   12023     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12024     break 2
   12025   fi
   12026 done
   12027   done
   12028 IFS=$as_save_IFS
   12029 
   12030 fi
   12031 fi
   12032 OTOOL64=$ac_cv_prog_OTOOL64
   12033 if test -n "$OTOOL64"; then
   12034   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   12035 printf "%s\n" "$OTOOL64" >&6; }
   12036 else
   12037   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12038 printf "%s\n" "no" >&6; }
   12039 fi
   12040 
   12041 
   12042 fi
   12043 if test -z "$ac_cv_prog_OTOOL64"; then
   12044   ac_ct_OTOOL64=$OTOOL64
   12045   # Extract the first word of "otool64", so it can be a program name with args.
   12046 set dummy otool64; ac_word=$2
   12047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12048 printf %s "checking for $ac_word... " >&6; }
   12049 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   12050 then :
   12051   printf %s "(cached) " >&6
   12052 else $as_nop
   12053   if test -n "$ac_ct_OTOOL64"; then
   12054   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   12055 else
   12056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12057 for as_dir in $PATH
   12058 do
   12059   IFS=$as_save_IFS
   12060   case $as_dir in #(((
   12061     '') as_dir=./ ;;
   12062     */) ;;
   12063     *) as_dir=$as_dir/ ;;
   12064   esac
   12065     for ac_exec_ext in '' $ac_executable_extensions; do
   12066   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12067     ac_cv_prog_ac_ct_OTOOL64="otool64"
   12068     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12069     break 2
   12070   fi
   12071 done
   12072   done
   12073 IFS=$as_save_IFS
   12074 
   12075 fi
   12076 fi
   12077 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   12078 if test -n "$ac_ct_OTOOL64"; then
   12079   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   12080 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   12081 else
   12082   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12083 printf "%s\n" "no" >&6; }
   12084 fi
   12085 
   12086   if test "x$ac_ct_OTOOL64" = x; then
   12087     OTOOL64=":"
   12088   else
   12089     case $cross_compiling:$ac_tool_warned in
   12090 yes:)
   12091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12092 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12093 ac_tool_warned=yes ;;
   12094 esac
   12095     OTOOL64=$ac_ct_OTOOL64
   12096   fi
   12097 else
   12098   OTOOL64="$ac_cv_prog_OTOOL64"
   12099 fi
   12100 
   12101 
   12102 
   12103 
   12104 
   12105 
   12106 
   12107 
   12108 
   12109 
   12110 
   12111 
   12112 
   12113 
   12114 
   12115 
   12116 
   12117 
   12118 
   12119 
   12120 
   12121 
   12122 
   12123 
   12124 
   12125 
   12126 
   12127     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   12128 printf %s "checking for -single_module linker flag... " >&6; }
   12129 if test ${lt_cv_apple_cc_single_mod+y}
   12130 then :
   12131   printf %s "(cached) " >&6
   12132 else $as_nop
   12133   lt_cv_apple_cc_single_mod=no
   12134       if test -z "$LT_MULTI_MODULE"; then
   12135 	# By default we will add the -single_module flag. You can override
   12136 	# by either setting the environment variable LT_MULTI_MODULE
   12137 	# non-empty at configure time, or by adding -multi_module to the
   12138 	# link flags.
   12139 	rm -rf libconftest.dylib*
   12140 	echo "int foo(void){return 1;}" > conftest.c
   12141 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   12142 -dynamiclib -Wl,-single_module conftest.c" >&5
   12143 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   12144 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   12145         _lt_result=$?
   12146 	# If there is a non-empty error log, and "single_module"
   12147 	# appears in it, assume the flag caused a linker warning
   12148         if test -s conftest.err && $GREP single_module conftest.err; then
   12149 	  cat conftest.err >&5
   12150 	# Otherwise, if the output was created with a 0 exit code from
   12151 	# the compiler, it worked.
   12152 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   12153 	  lt_cv_apple_cc_single_mod=yes
   12154 	else
   12155 	  cat conftest.err >&5
   12156 	fi
   12157 	rm -rf libconftest.dylib*
   12158 	rm -f conftest.*
   12159       fi
   12160 fi
   12161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   12162 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   12163 
   12164     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   12165 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   12166 if test ${lt_cv_ld_exported_symbols_list+y}
   12167 then :
   12168   printf %s "(cached) " >&6
   12169 else $as_nop
   12170   lt_cv_ld_exported_symbols_list=no
   12171       save_LDFLAGS=$LDFLAGS
   12172       echo "_main" > conftest.sym
   12173       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   12174       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12175 /* end confdefs.h.  */
   12176 
   12177 int
   12178 main (void)
   12179 {
   12180 
   12181   ;
   12182   return 0;
   12183 }
   12184 _ACEOF
   12185 if ac_fn_c_try_link "$LINENO"
   12186 then :
   12187   lt_cv_ld_exported_symbols_list=yes
   12188 else $as_nop
   12189   lt_cv_ld_exported_symbols_list=no
   12190 fi
   12191 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12192     conftest$ac_exeext conftest.$ac_ext
   12193 	LDFLAGS=$save_LDFLAGS
   12194 
   12195 fi
   12196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   12197 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   12198 
   12199     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   12200 printf %s "checking for -force_load linker flag... " >&6; }
   12201 if test ${lt_cv_ld_force_load+y}
   12202 then :
   12203   printf %s "(cached) " >&6
   12204 else $as_nop
   12205   lt_cv_ld_force_load=no
   12206       cat > conftest.c << _LT_EOF
   12207 int forced_loaded() { return 2;}
   12208 _LT_EOF
   12209       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   12210       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   12211       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   12212       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   12213       echo "$RANLIB libconftest.a" >&5
   12214       $RANLIB libconftest.a 2>&5
   12215       cat > conftest.c << _LT_EOF
   12216 int main() { return 0;}
   12217 _LT_EOF
   12218       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   12219       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   12220       _lt_result=$?
   12221       if test -s conftest.err && $GREP force_load conftest.err; then
   12222 	cat conftest.err >&5
   12223       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   12224 	lt_cv_ld_force_load=yes
   12225       else
   12226 	cat conftest.err >&5
   12227       fi
   12228         rm -f conftest.err libconftest.a conftest conftest.c
   12229         rm -rf conftest.dSYM
   12230 
   12231 fi
   12232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   12233 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   12234     case $host_os in
   12235     rhapsody* | darwin1.[012])
   12236       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   12237     darwin1.*)
   12238       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   12239     darwin*)
   12240       case $MACOSX_DEPLOYMENT_TARGET,$host in
   12241         10.[012],*|,*powerpc*-darwin[5-8]*)
   12242           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   12243         *)
   12244           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   12245       esac
   12246     ;;
   12247   esac
   12248     if test yes = "$lt_cv_apple_cc_single_mod"; then
   12249       _lt_dar_single_mod='$single_module'
   12250     fi
   12251     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   12252       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   12253     else
   12254       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   12255     fi
   12256     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   12257       _lt_dsymutil='~$DSYMUTIL $lib || :'
   12258     else
   12259       _lt_dsymutil=
   12260     fi
   12261     ;;
   12262   esac
   12263 
   12264 # func_munge_path_list VARIABLE PATH
   12265 # -----------------------------------
   12266 # VARIABLE is name of variable containing _space_ separated list of
   12267 # directories to be munged by the contents of PATH, which is string
   12268 # having a format:
   12269 # "DIR[:DIR]:"
   12270 #       string "DIR[ DIR]" will be prepended to VARIABLE
   12271 # ":DIR[:DIR]"
   12272 #       string "DIR[ DIR]" will be appended to VARIABLE
   12273 # "DIRP[:DIRP]::[DIRA:]DIRA"
   12274 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   12275 #       "DIRA[ DIRA]" will be appended to VARIABLE
   12276 # "DIR[:DIR]"
   12277 #       VARIABLE will be replaced by "DIR[ DIR]"
   12278 func_munge_path_list ()
   12279 {
   12280     case x$2 in
   12281     x)
   12282         ;;
   12283     *:)
   12284         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   12285         ;;
   12286     x:*)
   12287         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   12288         ;;
   12289     *::*)
   12290         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   12291         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   12292         ;;
   12293     *)
   12294         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   12295         ;;
   12296     esac
   12297 }
   12298 
   12299 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   12300 "
   12301 if test "x$ac_cv_header_dlfcn_h" = xyes
   12302 then :
   12303   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   12304 
   12305 fi
   12306 
   12307 
   12308 
   12309 
   12310 
   12311 # Set options
   12312 # Check whether --enable-static was given.
   12313 if test ${enable_static+y}
   12314 then :
   12315   enableval=$enable_static; p=${PACKAGE-default}
   12316     case $enableval in
   12317     yes) enable_static=yes ;;
   12318     no) enable_static=no ;;
   12319     *)
   12320      enable_static=no
   12321       # Look at the argument we got.  We use all the common list separators.
   12322       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   12323       for pkg in $enableval; do
   12324 	IFS=$lt_save_ifs
   12325 	if test "X$pkg" = "X$p"; then
   12326 	  enable_static=yes
   12327 	fi
   12328       done
   12329       IFS=$lt_save_ifs
   12330       ;;
   12331     esac
   12332 else $as_nop
   12333   enable_static=no
   12334 fi
   12335 
   12336 
   12337 
   12338 
   12339 
   12340 
   12341 
   12342 enable_dlopen=yes
   12343 
   12344 # Check whether --with-pic was given.
   12345 if test ${with_pic+y}
   12346 then :
   12347   withval=$with_pic; lt_p=${PACKAGE-default}
   12348     case $withval in
   12349     yes|no) pic_mode=$withval ;;
   12350     *)
   12351       pic_mode=default
   12352       # Look at the argument we got.  We use all the common list separators.
   12353       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   12354       for lt_pkg in $withval; do
   12355 	IFS=$lt_save_ifs
   12356 	if test "X$lt_pkg" = "X$lt_p"; then
   12357 	  pic_mode=yes
   12358 	fi
   12359       done
   12360       IFS=$lt_save_ifs
   12361       ;;
   12362     esac
   12363 else $as_nop
   12364   pic_mode=yes
   12365 fi
   12366 
   12367 
   12368 
   12369 
   12370 
   12371 
   12372 
   12373 
   12374 
   12375 
   12376   enable_win32_dll=no
   12377 
   12378 
   12379             # Check whether --enable-shared was given.
   12380 if test ${enable_shared+y}
   12381 then :
   12382   enableval=$enable_shared; p=${PACKAGE-default}
   12383     case $enableval in
   12384     yes) enable_shared=yes ;;
   12385     no) enable_shared=no ;;
   12386     *)
   12387       enable_shared=no
   12388       # Look at the argument we got.  We use all the common list separators.
   12389       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   12390       for pkg in $enableval; do
   12391 	IFS=$lt_save_ifs
   12392 	if test "X$pkg" = "X$p"; then
   12393 	  enable_shared=yes
   12394 	fi
   12395       done
   12396       IFS=$lt_save_ifs
   12397       ;;
   12398     esac
   12399 else $as_nop
   12400   enable_shared=yes
   12401 fi
   12402 
   12403 
   12404 
   12405 
   12406 
   12407 
   12408 
   12409 
   12410 
   12411 
   12412 
   12413   # Check whether --enable-fast-install was given.
   12414 if test ${enable_fast_install+y}
   12415 then :
   12416   enableval=$enable_fast_install; p=${PACKAGE-default}
   12417     case $enableval in
   12418     yes) enable_fast_install=yes ;;
   12419     no) enable_fast_install=no ;;
   12420     *)
   12421       enable_fast_install=no
   12422       # Look at the argument we got.  We use all the common list separators.
   12423       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   12424       for pkg in $enableval; do
   12425 	IFS=$lt_save_ifs
   12426 	if test "X$pkg" = "X$p"; then
   12427 	  enable_fast_install=yes
   12428 	fi
   12429       done
   12430       IFS=$lt_save_ifs
   12431       ;;
   12432     esac
   12433 else $as_nop
   12434   enable_fast_install=yes
   12435 fi
   12436 
   12437 
   12438 
   12439 
   12440 
   12441 
   12442 
   12443 
   12444   shared_archive_member_spec=
   12445 case $host,$enable_shared in
   12446 power*-*-aix[5-9]*,yes)
   12447   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   12448 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   12449 
   12450 # Check whether --with-aix-soname was given.
   12451 if test ${with_aix_soname+y}
   12452 then :
   12453   withval=$with_aix_soname; case $withval in
   12454     aix|svr4|both)
   12455       ;;
   12456     *)
   12457       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   12458       ;;
   12459     esac
   12460     lt_cv_with_aix_soname=$with_aix_soname
   12461 else $as_nop
   12462   if test ${lt_cv_with_aix_soname+y}
   12463 then :
   12464   printf %s "(cached) " >&6
   12465 else $as_nop
   12466   lt_cv_with_aix_soname=aix
   12467 fi
   12468 
   12469     with_aix_soname=$lt_cv_with_aix_soname
   12470 fi
   12471 
   12472   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   12473 printf "%s\n" "$with_aix_soname" >&6; }
   12474   if test aix != "$with_aix_soname"; then
   12475     # For the AIX way of multilib, we name the shared archive member
   12476     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   12477     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   12478     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   12479     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   12480     if test 64 = "${OBJECT_MODE-32}"; then
   12481       shared_archive_member_spec=shr_64
   12482     else
   12483       shared_archive_member_spec=shr
   12484     fi
   12485   fi
   12486   ;;
   12487 *)
   12488   with_aix_soname=aix
   12489   ;;
   12490 esac
   12491 
   12492 
   12493 
   12494 
   12495 
   12496 
   12497 
   12498 
   12499 
   12500 
   12501 # This can be used to rebuild libtool when needed
   12502 LIBTOOL_DEPS=$ltmain
   12503 
   12504 # Always use our own libtool.
   12505 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   12506 
   12507 
   12508 
   12509 
   12510 
   12511 
   12512 
   12513 
   12514 
   12515 
   12516 
   12517 
   12518 
   12519 
   12520 
   12521 
   12522 
   12523 
   12524 
   12525 
   12526 
   12527 
   12528 
   12529 
   12530 
   12531 
   12532 
   12533 
   12534 
   12535 
   12536 test -z "$LN_S" && LN_S="ln -s"
   12537 
   12538 
   12539 
   12540 
   12541 
   12542 
   12543 
   12544 
   12545 
   12546 
   12547 
   12548 
   12549 
   12550 
   12551 if test -n "${ZSH_VERSION+set}"; then
   12552    setopt NO_GLOB_SUBST
   12553 fi
   12554 
   12555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   12556 printf %s "checking for objdir... " >&6; }
   12557 if test ${lt_cv_objdir+y}
   12558 then :
   12559   printf %s "(cached) " >&6
   12560 else $as_nop
   12561   rm -f .libs 2>/dev/null
   12562 mkdir .libs 2>/dev/null
   12563 if test -d .libs; then
   12564   lt_cv_objdir=.libs
   12565 else
   12566   # MS-DOS does not allow filenames that begin with a dot.
   12567   lt_cv_objdir=_libs
   12568 fi
   12569 rmdir .libs 2>/dev/null
   12570 fi
   12571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   12572 printf "%s\n" "$lt_cv_objdir" >&6; }
   12573 objdir=$lt_cv_objdir
   12574 
   12575 
   12576 
   12577 
   12578 
   12579 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   12580 
   12581 
   12582 
   12583 
   12584 case $host_os in
   12585 aix3*)
   12586   # AIX sometimes has problems with the GCC collect2 program.  For some
   12587   # reason, if we set the COLLECT_NAMES environment variable, the problems
   12588   # vanish in a puff of smoke.
   12589   if test set != "${COLLECT_NAMES+set}"; then
   12590     COLLECT_NAMES=
   12591     export COLLECT_NAMES
   12592   fi
   12593   ;;
   12594 esac
   12595 
   12596 # Global variables:
   12597 ofile=libtool
   12598 can_build_shared=yes
   12599 
   12600 # All known linkers require a '.a' archive for static linking (except MSVC and
   12601 # ICC, which need '.lib').
   12602 libext=a
   12603 
   12604 with_gnu_ld=$lt_cv_prog_gnu_ld
   12605 
   12606 old_CC=$CC
   12607 old_CFLAGS=$CFLAGS
   12608 
   12609 # Set sane defaults for various variables
   12610 test -z "$CC" && CC=cc
   12611 test -z "$LTCC" && LTCC=$CC
   12612 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   12613 test -z "$LD" && LD=ld
   12614 test -z "$ac_objext" && ac_objext=o
   12615 
   12616 func_cc_basename $compiler
   12617 cc_basename=$func_cc_basename_result
   12618 
   12619 
   12620 # Only perform the check for file, if the check method requires it
   12621 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   12622 case $deplibs_check_method in
   12623 file_magic*)
   12624   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   12625     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   12626 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   12627 if test ${lt_cv_path_MAGIC_CMD+y}
   12628 then :
   12629   printf %s "(cached) " >&6
   12630 else $as_nop
   12631   case $MAGIC_CMD in
   12632 [\\/*] |  ?:[\\/]*)
   12633   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   12634   ;;
   12635 *)
   12636   lt_save_MAGIC_CMD=$MAGIC_CMD
   12637   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   12638   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   12639   for ac_dir in $ac_dummy; do
   12640     IFS=$lt_save_ifs
   12641     test -z "$ac_dir" && ac_dir=.
   12642     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   12643       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   12644       if test -n "$file_magic_test_file"; then
   12645 	case $deplibs_check_method in
   12646 	"file_magic "*)
   12647 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   12648 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   12649 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   12650 	    $EGREP "$file_magic_regex" > /dev/null; then
   12651 	    :
   12652 	  else
   12653 	    cat <<_LT_EOF 1>&2
   12654 
   12655 *** Warning: the command libtool uses to detect shared libraries,
   12656 *** $file_magic_cmd, produces output that libtool cannot recognize.
   12657 *** The result is that libtool may fail to recognize shared libraries
   12658 *** as such.  This will affect the creation of libtool libraries that
   12659 *** depend on shared libraries, but programs linked with such libtool
   12660 *** libraries will work regardless of this problem.  Nevertheless, you
   12661 *** may want to report the problem to your system manager and/or to
   12662 *** bug-libtool@gnu.org
   12663 
   12664 _LT_EOF
   12665 	  fi ;;
   12666 	esac
   12667       fi
   12668       break
   12669     fi
   12670   done
   12671   IFS=$lt_save_ifs
   12672   MAGIC_CMD=$lt_save_MAGIC_CMD
   12673   ;;
   12674 esac
   12675 fi
   12676 
   12677 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   12678 if test -n "$MAGIC_CMD"; then
   12679   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   12680 printf "%s\n" "$MAGIC_CMD" >&6; }
   12681 else
   12682   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12683 printf "%s\n" "no" >&6; }
   12684 fi
   12685 
   12686 
   12687 
   12688 
   12689 
   12690 if test -z "$lt_cv_path_MAGIC_CMD"; then
   12691   if test -n "$ac_tool_prefix"; then
   12692     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   12693 printf %s "checking for file... " >&6; }
   12694 if test ${lt_cv_path_MAGIC_CMD+y}
   12695 then :
   12696   printf %s "(cached) " >&6
   12697 else $as_nop
   12698   case $MAGIC_CMD in
   12699 [\\/*] |  ?:[\\/]*)
   12700   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   12701   ;;
   12702 *)
   12703   lt_save_MAGIC_CMD=$MAGIC_CMD
   12704   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   12705   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   12706   for ac_dir in $ac_dummy; do
   12707     IFS=$lt_save_ifs
   12708     test -z "$ac_dir" && ac_dir=.
   12709     if test -f "$ac_dir/file"; then
   12710       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   12711       if test -n "$file_magic_test_file"; then
   12712 	case $deplibs_check_method in
   12713 	"file_magic "*)
   12714 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   12715 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   12716 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   12717 	    $EGREP "$file_magic_regex" > /dev/null; then
   12718 	    :
   12719 	  else
   12720 	    cat <<_LT_EOF 1>&2
   12721 
   12722 *** Warning: the command libtool uses to detect shared libraries,
   12723 *** $file_magic_cmd, produces output that libtool cannot recognize.
   12724 *** The result is that libtool may fail to recognize shared libraries
   12725 *** as such.  This will affect the creation of libtool libraries that
   12726 *** depend on shared libraries, but programs linked with such libtool
   12727 *** libraries will work regardless of this problem.  Nevertheless, you
   12728 *** may want to report the problem to your system manager and/or to
   12729 *** bug-libtool@gnu.org
   12730 
   12731 _LT_EOF
   12732 	  fi ;;
   12733 	esac
   12734       fi
   12735       break
   12736     fi
   12737   done
   12738   IFS=$lt_save_ifs
   12739   MAGIC_CMD=$lt_save_MAGIC_CMD
   12740   ;;
   12741 esac
   12742 fi
   12743 
   12744 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   12745 if test -n "$MAGIC_CMD"; then
   12746   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   12747 printf "%s\n" "$MAGIC_CMD" >&6; }
   12748 else
   12749   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12750 printf "%s\n" "no" >&6; }
   12751 fi
   12752 
   12753 
   12754   else
   12755     MAGIC_CMD=:
   12756   fi
   12757 fi
   12758 
   12759   fi
   12760   ;;
   12761 esac
   12762 
   12763 # Use C for the default configuration in the libtool script
   12764 
   12765 lt_save_CC=$CC
   12766 ac_ext=c
   12767 ac_cpp='$CPP $CPPFLAGS'
   12768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12771 
   12772 
   12773 # Source file extension for C test sources.
   12774 ac_ext=c
   12775 
   12776 # Object file extension for compiled C test sources.
   12777 objext=o
   12778 objext=$objext
   12779 
   12780 # Code to be used in simple compile tests
   12781 lt_simple_compile_test_code="int some_variable = 0;"
   12782 
   12783 # Code to be used in simple link tests
   12784 lt_simple_link_test_code='int main(){return(0);}'
   12785 
   12786 
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 # If no C compiler was specified, use CC.
   12793 LTCC=${LTCC-"$CC"}
   12794 
   12795 # If no C compiler flags were specified, use CFLAGS.
   12796 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12797 
   12798 # Allow CC to be a program name with arguments.
   12799 compiler=$CC
   12800 
   12801 # Save the default compiler, since it gets overwritten when the other
   12802 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   12803 compiler_DEFAULT=$CC
   12804 
   12805 # save warnings/boilerplate of simple test code
   12806 ac_outfile=conftest.$ac_objext
   12807 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   12808 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12809 _lt_compiler_boilerplate=`cat conftest.err`
   12810 $RM conftest*
   12811 
   12812 ac_outfile=conftest.$ac_objext
   12813 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   12814 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12815 _lt_linker_boilerplate=`cat conftest.err`
   12816 $RM -r conftest*
   12817 
   12818 
   12819 ## CAVEAT EMPTOR:
   12820 ## There is no encapsulation within the following macros, do not change
   12821 ## the running order or otherwise move them around unless you know exactly
   12822 ## what you are doing...
   12823 if test -n "$compiler"; then
   12824 
   12825 lt_prog_compiler_no_builtin_flag=
   12826 
   12827 if test yes = "$GCC"; then
   12828   case $cc_basename in
   12829   nvcc*)
   12830     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   12831   *)
   12832     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   12833   esac
   12834 
   12835   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   12836 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   12837 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   12838 then :
   12839   printf %s "(cached) " >&6
   12840 else $as_nop
   12841   lt_cv_prog_compiler_rtti_exceptions=no
   12842    ac_outfile=conftest.$ac_objext
   12843    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12844    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   12845    # Insert the option either (1) after the last *FLAGS variable, or
   12846    # (2) before a word containing "conftest.", or (3) at the end.
   12847    # Note that $ac_compile itself does not contain backslashes and begins
   12848    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12849    # The option is referenced via a variable to avoid confusing sed.
   12850    lt_compile=`echo "$ac_compile" | $SED \
   12851    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12852    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12853    -e 's:$: $lt_compiler_flag:'`
   12854    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   12855    (eval "$lt_compile" 2>conftest.err)
   12856    ac_status=$?
   12857    cat conftest.err >&5
   12858    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12859    if (exit $ac_status) && test -s "$ac_outfile"; then
   12860      # The compiler can only warn and ignore the option if not recognized
   12861      # So say no if there are warnings other than the usual output.
   12862      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   12863      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12864      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12865        lt_cv_prog_compiler_rtti_exceptions=yes
   12866      fi
   12867    fi
   12868    $RM conftest*
   12869 
   12870 fi
   12871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   12872 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   12873 
   12874 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   12875     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   12876 else
   12877     :
   12878 fi
   12879 
   12880 fi
   12881 
   12882 
   12883 
   12884 
   12885 
   12886 
   12887   lt_prog_compiler_wl=
   12888 lt_prog_compiler_pic=
   12889 lt_prog_compiler_static=
   12890 
   12891 
   12892   if test yes = "$GCC"; then
   12893     lt_prog_compiler_wl='-Wl,'
   12894     lt_prog_compiler_static='-static'
   12895 
   12896     case $host_os in
   12897       aix*)
   12898       # All AIX code is PIC.
   12899       if test ia64 = "$host_cpu"; then
   12900 	# AIX 5 now supports IA64 processor
   12901 	lt_prog_compiler_static='-Bstatic'
   12902       fi
   12903       lt_prog_compiler_pic='-fPIC'
   12904       ;;
   12905 
   12906     amigaos*)
   12907       case $host_cpu in
   12908       powerpc)
   12909             # see comment about AmigaOS4 .so support
   12910             lt_prog_compiler_pic='-fPIC'
   12911         ;;
   12912       m68k)
   12913             # FIXME: we need at least 68020 code to build shared libraries, but
   12914             # adding the '-m68020' flag to GCC prevents building anything better,
   12915             # like '-m68040'.
   12916             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   12917         ;;
   12918       esac
   12919       ;;
   12920 
   12921     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12922       # PIC is the default for these OSes.
   12923       ;;
   12924 
   12925     mingw* | cygwin* | pw32* | os2* | cegcc*)
   12926       # This hack is so that the source file can tell whether it is being
   12927       # built for inclusion in a dll (and should export symbols for example).
   12928       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12929       # (--disable-auto-import) libraries
   12930       lt_prog_compiler_pic='-DDLL_EXPORT'
   12931       case $host_os in
   12932       os2*)
   12933 	lt_prog_compiler_static='$wl-static'
   12934 	;;
   12935       esac
   12936       ;;
   12937 
   12938     darwin* | rhapsody*)
   12939       # PIC is the default on this platform
   12940       # Common symbols not allowed in MH_DYLIB files
   12941       lt_prog_compiler_pic='-fno-common'
   12942       ;;
   12943 
   12944     haiku*)
   12945       # PIC is the default for Haiku.
   12946       # The "-static" flag exists, but is broken.
   12947       lt_prog_compiler_static=
   12948       ;;
   12949 
   12950     hpux*)
   12951       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   12952       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   12953       # sets the default TLS model and affects inlining.
   12954       case $host_cpu in
   12955       hppa*64*)
   12956 	# +Z the default
   12957 	;;
   12958       *)
   12959 	lt_prog_compiler_pic='-fPIC'
   12960 	;;
   12961       esac
   12962       ;;
   12963 
   12964     interix[3-9]*)
   12965       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12966       # Instead, we relocate shared libraries at runtime.
   12967       ;;
   12968 
   12969     msdosdjgpp*)
   12970       # Just because we use GCC doesn't mean we suddenly get shared libraries
   12971       # on systems that don't support them.
   12972       lt_prog_compiler_can_build_shared=no
   12973       enable_shared=no
   12974       ;;
   12975 
   12976     *nto* | *qnx*)
   12977       # QNX uses GNU C++, but need to define -shared option too, otherwise
   12978       # it will coredump.
   12979       lt_prog_compiler_pic='-fPIC -shared'
   12980       ;;
   12981 
   12982     sysv4*MP*)
   12983       if test -d /usr/nec; then
   12984 	lt_prog_compiler_pic=-Kconform_pic
   12985       fi
   12986       ;;
   12987 
   12988     *)
   12989       lt_prog_compiler_pic='-fPIC'
   12990       ;;
   12991     esac
   12992 
   12993     case $cc_basename in
   12994     nvcc*) # Cuda Compiler Driver 2.2
   12995       lt_prog_compiler_wl='-Xlinker '
   12996       if test -n "$lt_prog_compiler_pic"; then
   12997         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   12998       fi
   12999       ;;
   13000     esac
   13001   else
   13002     # PORTME Check for flag to pass linker flags through the system compiler.
   13003     case $host_os in
   13004     aix*)
   13005       lt_prog_compiler_wl='-Wl,'
   13006       if test ia64 = "$host_cpu"; then
   13007 	# AIX 5 now supports IA64 processor
   13008 	lt_prog_compiler_static='-Bstatic'
   13009       else
   13010 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   13011       fi
   13012       ;;
   13013 
   13014     darwin* | rhapsody*)
   13015       # PIC is the default on this platform
   13016       # Common symbols not allowed in MH_DYLIB files
   13017       lt_prog_compiler_pic='-fno-common'
   13018       case $cc_basename in
   13019       nagfor*)
   13020         # NAG Fortran compiler
   13021         lt_prog_compiler_wl='-Wl,-Wl,,'
   13022         lt_prog_compiler_pic='-PIC'
   13023         lt_prog_compiler_static='-Bstatic'
   13024         ;;
   13025       esac
   13026       ;;
   13027 
   13028     mingw* | cygwin* | pw32* | os2* | cegcc*)
   13029       # This hack is so that the source file can tell whether it is being
   13030       # built for inclusion in a dll (and should export symbols for example).
   13031       lt_prog_compiler_pic='-DDLL_EXPORT'
   13032       case $host_os in
   13033       os2*)
   13034 	lt_prog_compiler_static='$wl-static'
   13035 	;;
   13036       esac
   13037       ;;
   13038 
   13039     hpux9* | hpux10* | hpux11*)
   13040       lt_prog_compiler_wl='-Wl,'
   13041       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13042       # not for PA HP-UX.
   13043       case $host_cpu in
   13044       hppa*64*|ia64*)
   13045 	# +Z the default
   13046 	;;
   13047       *)
   13048 	lt_prog_compiler_pic='+Z'
   13049 	;;
   13050       esac
   13051       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13052       lt_prog_compiler_static='$wl-a ${wl}archive'
   13053       ;;
   13054 
   13055     irix5* | irix6* | nonstopux*)
   13056       lt_prog_compiler_wl='-Wl,'
   13057       # PIC (with -KPIC) is the default.
   13058       lt_prog_compiler_static='-non_shared'
   13059       ;;
   13060 
   13061     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   13062       case $cc_basename in
   13063       # old Intel for x86_64, which still supported -KPIC.
   13064       ecc*)
   13065 	lt_prog_compiler_wl='-Wl,'
   13066 	lt_prog_compiler_pic='-KPIC'
   13067 	lt_prog_compiler_static='-static'
   13068         ;;
   13069       # flang / f18. f95 an alias for gfortran or flang on Debian
   13070       flang* | f18* | f95*)
   13071 	lt_prog_compiler_wl='-Wl,'
   13072 	lt_prog_compiler_pic='-fPIC'
   13073 	lt_prog_compiler_static='-static'
   13074         ;;
   13075       # icc used to be incompatible with GCC.
   13076       # ICC 10 doesn't accept -KPIC any more.
   13077       icc* | ifort*)
   13078 	lt_prog_compiler_wl='-Wl,'
   13079 	lt_prog_compiler_pic='-fPIC'
   13080 	lt_prog_compiler_static='-static'
   13081         ;;
   13082       # Lahey Fortran 8.1.
   13083       lf95*)
   13084 	lt_prog_compiler_wl='-Wl,'
   13085 	lt_prog_compiler_pic='--shared'
   13086 	lt_prog_compiler_static='--static'
   13087 	;;
   13088       nagfor*)
   13089 	# NAG Fortran compiler
   13090 	lt_prog_compiler_wl='-Wl,-Wl,,'
   13091 	lt_prog_compiler_pic='-PIC'
   13092 	lt_prog_compiler_static='-Bstatic'
   13093 	;;
   13094       tcc*)
   13095 	# Fabrice Bellard et al's Tiny C Compiler
   13096 	lt_prog_compiler_wl='-Wl,'
   13097 	lt_prog_compiler_pic='-fPIC'
   13098 	lt_prog_compiler_static='-static'
   13099 	;;
   13100       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   13101         # Portland Group compilers (*not* the Pentium gcc compiler,
   13102 	# which looks to be a dead project)
   13103 	lt_prog_compiler_wl='-Wl,'
   13104 	lt_prog_compiler_pic='-fpic'
   13105 	lt_prog_compiler_static='-Bstatic'
   13106         ;;
   13107       ccc*)
   13108         lt_prog_compiler_wl='-Wl,'
   13109         # All Alpha code is PIC.
   13110         lt_prog_compiler_static='-non_shared'
   13111         ;;
   13112       xl* | bgxl* | bgf* | mpixl*)
   13113 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   13114 	lt_prog_compiler_wl='-Wl,'
   13115 	lt_prog_compiler_pic='-qpic'
   13116 	lt_prog_compiler_static='-qstaticlink'
   13117 	;;
   13118       *)
   13119 	case `$CC -V 2>&1 | $SED 5q` in
   13120 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   13121 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   13122 	  lt_prog_compiler_pic='-KPIC'
   13123 	  lt_prog_compiler_static='-Bstatic'
   13124 	  lt_prog_compiler_wl=''
   13125 	  ;;
   13126 	*Sun\ F* | *Sun*Fortran*)
   13127 	  lt_prog_compiler_pic='-KPIC'
   13128 	  lt_prog_compiler_static='-Bstatic'
   13129 	  lt_prog_compiler_wl='-Qoption ld '
   13130 	  ;;
   13131 	*Sun\ C*)
   13132 	  # Sun C 5.9
   13133 	  lt_prog_compiler_pic='-KPIC'
   13134 	  lt_prog_compiler_static='-Bstatic'
   13135 	  lt_prog_compiler_wl='-Wl,'
   13136 	  ;;
   13137         *Intel*\ [CF]*Compiler*)
   13138 	  lt_prog_compiler_wl='-Wl,'
   13139 	  lt_prog_compiler_pic='-fPIC'
   13140 	  lt_prog_compiler_static='-static'
   13141 	  ;;
   13142 	*Portland\ Group*)
   13143 	  lt_prog_compiler_wl='-Wl,'
   13144 	  lt_prog_compiler_pic='-fpic'
   13145 	  lt_prog_compiler_static='-Bstatic'
   13146 	  ;;
   13147 	esac
   13148 	;;
   13149       esac
   13150       ;;
   13151 
   13152     newsos6)
   13153       lt_prog_compiler_pic='-KPIC'
   13154       lt_prog_compiler_static='-Bstatic'
   13155       ;;
   13156 
   13157     *nto* | *qnx*)
   13158       # QNX uses GNU C++, but need to define -shared option too, otherwise
   13159       # it will coredump.
   13160       lt_prog_compiler_pic='-fPIC -shared'
   13161       ;;
   13162 
   13163     osf3* | osf4* | osf5*)
   13164       lt_prog_compiler_wl='-Wl,'
   13165       # All OSF/1 code is PIC.
   13166       lt_prog_compiler_static='-non_shared'
   13167       ;;
   13168 
   13169     rdos*)
   13170       lt_prog_compiler_static='-non_shared'
   13171       ;;
   13172 
   13173     solaris*)
   13174       lt_prog_compiler_pic='-KPIC'
   13175       lt_prog_compiler_static='-Bstatic'
   13176       case $cc_basename in
   13177       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   13178 	lt_prog_compiler_wl='-Qoption ld ';;
   13179       *)
   13180 	lt_prog_compiler_wl='-Wl,';;
   13181       esac
   13182       ;;
   13183 
   13184     sunos4*)
   13185       lt_prog_compiler_wl='-Qoption ld '
   13186       lt_prog_compiler_pic='-PIC'
   13187       lt_prog_compiler_static='-Bstatic'
   13188       ;;
   13189 
   13190     sysv4 | sysv4.2uw2* | sysv4.3*)
   13191       lt_prog_compiler_wl='-Wl,'
   13192       lt_prog_compiler_pic='-KPIC'
   13193       lt_prog_compiler_static='-Bstatic'
   13194       ;;
   13195 
   13196     sysv4*MP*)
   13197       if test -d /usr/nec; then
   13198 	lt_prog_compiler_pic='-Kconform_pic'
   13199 	lt_prog_compiler_static='-Bstatic'
   13200       fi
   13201       ;;
   13202 
   13203     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13204       lt_prog_compiler_wl='-Wl,'
   13205       lt_prog_compiler_pic='-KPIC'
   13206       lt_prog_compiler_static='-Bstatic'
   13207       ;;
   13208 
   13209     unicos*)
   13210       lt_prog_compiler_wl='-Wl,'
   13211       lt_prog_compiler_can_build_shared=no
   13212       ;;
   13213 
   13214     uts4*)
   13215       lt_prog_compiler_pic='-pic'
   13216       lt_prog_compiler_static='-Bstatic'
   13217       ;;
   13218 
   13219     *)
   13220       lt_prog_compiler_can_build_shared=no
   13221       ;;
   13222     esac
   13223   fi
   13224 
   13225 case $host_os in
   13226   # For platforms that do not support PIC, -DPIC is meaningless:
   13227   *djgpp*)
   13228     lt_prog_compiler_pic=
   13229     ;;
   13230   *)
   13231     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   13232     ;;
   13233 esac
   13234 
   13235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   13236 printf %s "checking for $compiler option to produce PIC... " >&6; }
   13237 if test ${lt_cv_prog_compiler_pic+y}
   13238 then :
   13239   printf %s "(cached) " >&6
   13240 else $as_nop
   13241   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   13242 fi
   13243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   13244 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   13245 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   13246 
   13247 #
   13248 # Check to make sure the PIC flag actually works.
   13249 #
   13250 if test -n "$lt_prog_compiler_pic"; then
   13251   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   13252 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   13253 if test ${lt_cv_prog_compiler_pic_works+y}
   13254 then :
   13255   printf %s "(cached) " >&6
   13256 else $as_nop
   13257   lt_cv_prog_compiler_pic_works=no
   13258    ac_outfile=conftest.$ac_objext
   13259    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13260    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   13261    # Insert the option either (1) after the last *FLAGS variable, or
   13262    # (2) before a word containing "conftest.", or (3) at the end.
   13263    # Note that $ac_compile itself does not contain backslashes and begins
   13264    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13265    # The option is referenced via a variable to avoid confusing sed.
   13266    lt_compile=`echo "$ac_compile" | $SED \
   13267    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13268    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13269    -e 's:$: $lt_compiler_flag:'`
   13270    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13271    (eval "$lt_compile" 2>conftest.err)
   13272    ac_status=$?
   13273    cat conftest.err >&5
   13274    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13275    if (exit $ac_status) && test -s "$ac_outfile"; then
   13276      # The compiler can only warn and ignore the option if not recognized
   13277      # So say no if there are warnings other than the usual output.
   13278      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   13279      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13280      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13281        lt_cv_prog_compiler_pic_works=yes
   13282      fi
   13283    fi
   13284    $RM conftest*
   13285 
   13286 fi
   13287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   13288 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   13289 
   13290 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   13291     case $lt_prog_compiler_pic in
   13292      "" | " "*) ;;
   13293      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   13294      esac
   13295 else
   13296     lt_prog_compiler_pic=
   13297      lt_prog_compiler_can_build_shared=no
   13298 fi
   13299 
   13300 fi
   13301 
   13302 
   13303 
   13304 
   13305 
   13306 
   13307 
   13308 
   13309 
   13310 
   13311 
   13312 #
   13313 # Check to make sure the static flag actually works.
   13314 #
   13315 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   13316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13317 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13318 if test ${lt_cv_prog_compiler_static_works+y}
   13319 then :
   13320   printf %s "(cached) " >&6
   13321 else $as_nop
   13322   lt_cv_prog_compiler_static_works=no
   13323    save_LDFLAGS=$LDFLAGS
   13324    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13325    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13326    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13327      # The linker can only warn and ignore the option if not recognized
   13328      # So say no if there are warnings
   13329      if test -s conftest.err; then
   13330        # Append any errors to the config.log.
   13331        cat conftest.err 1>&5
   13332        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   13333        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13334        if diff conftest.exp conftest.er2 >/dev/null; then
   13335          lt_cv_prog_compiler_static_works=yes
   13336        fi
   13337      else
   13338        lt_cv_prog_compiler_static_works=yes
   13339      fi
   13340    fi
   13341    $RM -r conftest*
   13342    LDFLAGS=$save_LDFLAGS
   13343 
   13344 fi
   13345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   13346 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   13347 
   13348 if test yes = "$lt_cv_prog_compiler_static_works"; then
   13349     :
   13350 else
   13351     lt_prog_compiler_static=
   13352 fi
   13353 
   13354 
   13355 
   13356 
   13357 
   13358 
   13359 
   13360   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   13361 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13362 if test ${lt_cv_prog_compiler_c_o+y}
   13363 then :
   13364   printf %s "(cached) " >&6
   13365 else $as_nop
   13366   lt_cv_prog_compiler_c_o=no
   13367    $RM -r conftest 2>/dev/null
   13368    mkdir conftest
   13369    cd conftest
   13370    mkdir out
   13371    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13372 
   13373    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13374    # Insert the option either (1) after the last *FLAGS variable, or
   13375    # (2) before a word containing "conftest.", or (3) at the end.
   13376    # Note that $ac_compile itself does not contain backslashes and begins
   13377    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13378    lt_compile=`echo "$ac_compile" | $SED \
   13379    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13380    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13381    -e 's:$: $lt_compiler_flag:'`
   13382    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13383    (eval "$lt_compile" 2>out/conftest.err)
   13384    ac_status=$?
   13385    cat out/conftest.err >&5
   13386    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13387    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13388    then
   13389      # The compiler can only warn and ignore the option if not recognized
   13390      # So say no if there are warnings
   13391      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   13392      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13393      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13394        lt_cv_prog_compiler_c_o=yes
   13395      fi
   13396    fi
   13397    chmod u+w . 2>&5
   13398    $RM conftest*
   13399    # SGI C++ compiler will create directory out/ii_files/ for
   13400    # template instantiation
   13401    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   13402    $RM out/* && rmdir out
   13403    cd ..
   13404    $RM -r conftest
   13405    $RM conftest*
   13406 
   13407 fi
   13408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   13409 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   13410 
   13411 
   13412 
   13413 
   13414 
   13415 
   13416   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   13417 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13418 if test ${lt_cv_prog_compiler_c_o+y}
   13419 then :
   13420   printf %s "(cached) " >&6
   13421 else $as_nop
   13422   lt_cv_prog_compiler_c_o=no
   13423    $RM -r conftest 2>/dev/null
   13424    mkdir conftest
   13425    cd conftest
   13426    mkdir out
   13427    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13428 
   13429    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13430    # Insert the option either (1) after the last *FLAGS variable, or
   13431    # (2) before a word containing "conftest.", or (3) at the end.
   13432    # Note that $ac_compile itself does not contain backslashes and begins
   13433    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13434    lt_compile=`echo "$ac_compile" | $SED \
   13435    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13436    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13437    -e 's:$: $lt_compiler_flag:'`
   13438    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13439    (eval "$lt_compile" 2>out/conftest.err)
   13440    ac_status=$?
   13441    cat out/conftest.err >&5
   13442    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13443    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13444    then
   13445      # The compiler can only warn and ignore the option if not recognized
   13446      # So say no if there are warnings
   13447      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   13448      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13449      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13450        lt_cv_prog_compiler_c_o=yes
   13451      fi
   13452    fi
   13453    chmod u+w . 2>&5
   13454    $RM conftest*
   13455    # SGI C++ compiler will create directory out/ii_files/ for
   13456    # template instantiation
   13457    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   13458    $RM out/* && rmdir out
   13459    cd ..
   13460    $RM -r conftest
   13461    $RM conftest*
   13462 
   13463 fi
   13464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   13465 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   13466 
   13467 
   13468 
   13469 
   13470 hard_links=nottested
   13471 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   13472   # do not overwrite the value of need_locks provided by the user
   13473   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   13474 printf %s "checking if we can lock with hard links... " >&6; }
   13475   hard_links=yes
   13476   $RM conftest*
   13477   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13478   touch conftest.a
   13479   ln conftest.a conftest.b 2>&5 || hard_links=no
   13480   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13481   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   13482 printf "%s\n" "$hard_links" >&6; }
   13483   if test no = "$hard_links"; then
   13484     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   13485 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   13486     need_locks=warn
   13487   fi
   13488 else
   13489   need_locks=no
   13490 fi
   13491 
   13492 
   13493 
   13494 
   13495 
   13496 
   13497   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13498 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13499 
   13500   runpath_var=
   13501   allow_undefined_flag=
   13502   always_export_symbols=no
   13503   archive_cmds=
   13504   archive_expsym_cmds=
   13505   compiler_needs_object=no
   13506   enable_shared_with_static_runtimes=no
   13507   export_dynamic_flag_spec=
   13508   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13509   hardcode_automatic=no
   13510   hardcode_direct=no
   13511   hardcode_direct_absolute=no
   13512   hardcode_libdir_flag_spec=
   13513   hardcode_libdir_separator=
   13514   hardcode_minus_L=no
   13515   hardcode_shlibpath_var=unsupported
   13516   inherit_rpath=no
   13517   link_all_deplibs=unknown
   13518   module_cmds=
   13519   module_expsym_cmds=
   13520   old_archive_from_new_cmds=
   13521   old_archive_from_expsyms_cmds=
   13522   thread_safe_flag_spec=
   13523   whole_archive_flag_spec=
   13524   # include_expsyms should be a list of space-separated symbols to be *always*
   13525   # included in the symbol list
   13526   include_expsyms=
   13527   # exclude_expsyms can be an extended regexp of symbols to exclude
   13528   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   13529   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   13530   # as well as any symbol that contains 'd'.
   13531   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13532   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   13533   # platforms (ab)use it in PIC code, but their linkers get confused if
   13534   # the symbol is explicitly referenced.  Since portable code cannot
   13535   # rely on this symbol name, it's probably fine to never include it in
   13536   # preloaded symbol tables.
   13537   # Exclude shared library initialization/finalization symbols.
   13538   extract_expsyms_cmds=
   13539 
   13540   case $host_os in
   13541   cygwin* | mingw* | pw32* | cegcc*)
   13542     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   13543     # When not using gcc, we currently assume that we are using
   13544     # Microsoft Visual C++ or Intel C++ Compiler.
   13545     if test yes != "$GCC"; then
   13546       with_gnu_ld=no
   13547     fi
   13548     ;;
   13549   interix*)
   13550     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   13551     with_gnu_ld=yes
   13552     ;;
   13553   openbsd* | bitrig*)
   13554     with_gnu_ld=no
   13555     ;;
   13556   linux* | k*bsd*-gnu | gnu*)
   13557     link_all_deplibs=no
   13558     ;;
   13559   esac
   13560 
   13561   ld_shlibs=yes
   13562 
   13563   # On some targets, GNU ld is compatible enough with the native linker
   13564   # that we're better off using the native interface for both.
   13565   lt_use_gnu_ld_interface=no
   13566   if test yes = "$with_gnu_ld"; then
   13567     case $host_os in
   13568       aix*)
   13569 	# The AIX port of GNU ld has always aspired to compatibility
   13570 	# with the native linker.  However, as the warning in the GNU ld
   13571 	# block says, versions before 2.19.5* couldn't really create working
   13572 	# shared libraries, regardless of the interface used.
   13573 	case `$LD -v 2>&1` in
   13574 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   13575 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   13576 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   13577 	  *)
   13578 	    lt_use_gnu_ld_interface=yes
   13579 	    ;;
   13580 	esac
   13581 	;;
   13582       *)
   13583 	lt_use_gnu_ld_interface=yes
   13584 	;;
   13585     esac
   13586   fi
   13587 
   13588   if test yes = "$lt_use_gnu_ld_interface"; then
   13589     # If archive_cmds runs LD, not CC, wlarc should be empty
   13590     wlarc='$wl'
   13591 
   13592     # Set some defaults for GNU ld with shared library support. These
   13593     # are reset later if shared libraries are not supported. Putting them
   13594     # here allows them to be overridden if necessary.
   13595     runpath_var=LD_RUN_PATH
   13596     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   13597     export_dynamic_flag_spec='$wl--export-dynamic'
   13598     # ancient GNU ld didn't support --whole-archive et. al.
   13599     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   13600       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   13601     else
   13602       whole_archive_flag_spec=
   13603     fi
   13604     supports_anon_versioning=no
   13605     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   13606       *GNU\ gold*) supports_anon_versioning=yes ;;
   13607       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   13608       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   13609       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   13610       *\ 2.11.*) ;; # other 2.11 versions
   13611       *) supports_anon_versioning=yes ;;
   13612     esac
   13613 
   13614     # See if GNU ld supports shared libraries.
   13615     case $host_os in
   13616     aix[3-9]*)
   13617       # On AIX/PPC, the GNU linker is very broken
   13618       if test ia64 != "$host_cpu"; then
   13619 	ld_shlibs=no
   13620 	cat <<_LT_EOF 1>&2
   13621 
   13622 *** Warning: the GNU linker, at least up to release 2.19, is reported
   13623 *** to be unable to reliably create shared libraries on AIX.
   13624 *** Therefore, libtool is disabling shared libraries support.  If you
   13625 *** really care for shared libraries, you may want to install binutils
   13626 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   13627 *** You will then need to restart the configuration process.
   13628 
   13629 _LT_EOF
   13630       fi
   13631       ;;
   13632 
   13633     amigaos*)
   13634       case $host_cpu in
   13635       powerpc)
   13636             # see comment about AmigaOS4 .so support
   13637             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   13638             archive_expsym_cmds=''
   13639         ;;
   13640       m68k)
   13641             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)'
   13642             hardcode_libdir_flag_spec='-L$libdir'
   13643             hardcode_minus_L=yes
   13644         ;;
   13645       esac
   13646       ;;
   13647 
   13648     beos*)
   13649       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   13650 	allow_undefined_flag=unsupported
   13651 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   13652 	# support --undefined.  This deserves some investigation.  FIXME
   13653 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   13654       else
   13655 	ld_shlibs=no
   13656       fi
   13657       ;;
   13658 
   13659     cygwin* | mingw* | pw32* | cegcc*)
   13660       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   13661       # as there is no search path for DLLs.
   13662       hardcode_libdir_flag_spec='-L$libdir'
   13663       export_dynamic_flag_spec='$wl--export-all-symbols'
   13664       allow_undefined_flag=unsupported
   13665       always_export_symbols=no
   13666       enable_shared_with_static_runtimes=yes
   13667       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'
   13668       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   13669 
   13670       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   13671         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   13672 	# If the export-symbols file already is a .def file, use it as
   13673 	# is; otherwise, prepend EXPORTS...
   13674 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   13675           cp $export_symbols $output_objdir/$soname.def;
   13676         else
   13677           echo EXPORTS > $output_objdir/$soname.def;
   13678           cat $export_symbols >> $output_objdir/$soname.def;
   13679         fi~
   13680         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   13681       else
   13682 	ld_shlibs=no
   13683       fi
   13684       ;;
   13685 
   13686     haiku*)
   13687       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   13688       link_all_deplibs=yes
   13689       ;;
   13690 
   13691     os2*)
   13692       hardcode_libdir_flag_spec='-L$libdir'
   13693       hardcode_minus_L=yes
   13694       allow_undefined_flag=unsupported
   13695       shrext_cmds=.dll
   13696       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   13697 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   13698 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   13699 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   13700 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   13701 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   13702 	emximp -o $lib $output_objdir/$libname.def'
   13703       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   13704 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   13705 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   13706 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   13707 	prefix_cmds="$SED"~
   13708 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   13709 	  prefix_cmds="$prefix_cmds -e 1d";
   13710 	fi~
   13711 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   13712 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   13713 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   13714 	emximp -o $lib $output_objdir/$libname.def'
   13715       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   13716       enable_shared_with_static_runtimes=yes
   13717       file_list_spec='@'
   13718       ;;
   13719 
   13720     interix[3-9]*)
   13721       hardcode_direct=no
   13722       hardcode_shlibpath_var=no
   13723       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   13724       export_dynamic_flag_spec='$wl-E'
   13725       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   13726       # Instead, shared libraries are loaded at an image base (0x10000000 by
   13727       # default) and relocated if they conflict, which is a slow very memory
   13728       # consuming and fragmenting process.  To avoid this, we pick a random,
   13729       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   13730       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   13731       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   13732       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'
   13733       ;;
   13734 
   13735     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   13736       tmp_diet=no
   13737       if test linux-dietlibc = "$host_os"; then
   13738 	case $cc_basename in
   13739 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   13740 	esac
   13741       fi
   13742       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   13743 	 && test no = "$tmp_diet"
   13744       then
   13745 	tmp_addflag=' $pic_flag'
   13746 	tmp_sharedflag='-shared'
   13747 	case $cc_basename,$host_cpu in
   13748         pgcc*)				# Portland Group C compiler
   13749 	  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'
   13750 	  tmp_addflag=' $pic_flag'
   13751 	  ;;
   13752 	pgf77* | pgf90* | pgf95* | pgfortran*)
   13753 					# Portland Group f77 and f90 compilers
   13754 	  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'
   13755 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   13756 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   13757 	  tmp_addflag=' -i_dynamic' ;;
   13758 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   13759 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   13760 	ifc* | ifort*)			# Intel Fortran compiler
   13761 	  tmp_addflag=' -nofor_main' ;;
   13762 	lf95*)				# Lahey Fortran 8.1
   13763 	  whole_archive_flag_spec=
   13764 	  tmp_sharedflag='--shared' ;;
   13765         nagfor*)                        # NAGFOR 5.3
   13766           tmp_sharedflag='-Wl,-shared' ;;
   13767 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   13768 	  tmp_sharedflag='-qmkshrobj'
   13769 	  tmp_addflag= ;;
   13770 	nvcc*)	# Cuda Compiler Driver 2.2
   13771 	  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'
   13772 	  compiler_needs_object=yes
   13773 	  ;;
   13774 	esac
   13775 	case `$CC -V 2>&1 | $SED 5q` in
   13776 	*Sun\ C*)			# Sun C 5.9
   13777 	  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'
   13778 	  compiler_needs_object=yes
   13779 	  tmp_sharedflag='-G' ;;
   13780 	*Sun\ F*)			# Sun Fortran 8.3
   13781 	  tmp_sharedflag='-G' ;;
   13782 	esac
   13783 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   13784 
   13785         if test yes = "$supports_anon_versioning"; then
   13786           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   13787             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   13788             echo "local: *; };" >> $output_objdir/$libname.ver~
   13789             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   13790         fi
   13791 
   13792 	case $cc_basename in
   13793 	tcc*)
   13794 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   13795 	  export_dynamic_flag_spec='-rdynamic'
   13796 	  ;;
   13797 	xlf* | bgf* | bgxlf* | mpixlf*)
   13798 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   13799 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   13800 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   13801 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   13802 	  if test yes = "$supports_anon_versioning"; then
   13803 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   13804               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   13805               echo "local: *; };" >> $output_objdir/$libname.ver~
   13806               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   13807 	  fi
   13808 	  ;;
   13809 	esac
   13810       else
   13811         ld_shlibs=no
   13812       fi
   13813       ;;
   13814 
   13815     netbsd* | netbsdelf*-gnu)
   13816       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   13817 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   13818 	wlarc=
   13819       else
   13820 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   13821 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   13822       fi
   13823       ;;
   13824 
   13825     solaris*)
   13826       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   13827 	ld_shlibs=no
   13828 	cat <<_LT_EOF 1>&2
   13829 
   13830 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   13831 *** create shared libraries on Solaris systems.  Therefore, libtool
   13832 *** is disabling shared libraries support.  We urge you to upgrade GNU
   13833 *** binutils to release 2.9.1 or newer.  Another option is to modify
   13834 *** your PATH or compiler configuration so that the native linker is
   13835 *** used, and then restart.
   13836 
   13837 _LT_EOF
   13838       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   13839 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   13840 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   13841       else
   13842 	ld_shlibs=no
   13843       fi
   13844       ;;
   13845 
   13846     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   13847       case `$LD -v 2>&1` in
   13848         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   13849 	ld_shlibs=no
   13850 	cat <<_LT_EOF 1>&2
   13851 
   13852 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   13853 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   13854 *** is disabling shared libraries support.  We urge you to upgrade GNU
   13855 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   13856 *** your PATH or compiler configuration so that the native linker is
   13857 *** used, and then restart.
   13858 
   13859 _LT_EOF
   13860 	;;
   13861 	*)
   13862 	  # For security reasons, it is highly recommended that you always
   13863 	  # use absolute paths for naming shared libraries, and exclude the
   13864 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   13865 	  # requires that you compile everything twice, which is a pain.
   13866 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   13867 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   13868 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   13869 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   13870 	  else
   13871 	    ld_shlibs=no
   13872 	  fi
   13873 	;;
   13874       esac
   13875       ;;
   13876 
   13877     sunos4*)
   13878       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   13879       wlarc=
   13880       hardcode_direct=yes
   13881       hardcode_shlibpath_var=no
   13882       ;;
   13883 
   13884     *)
   13885       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   13886 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   13887 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   13888       else
   13889 	ld_shlibs=no
   13890       fi
   13891       ;;
   13892     esac
   13893 
   13894     if test no = "$ld_shlibs"; then
   13895       runpath_var=
   13896       hardcode_libdir_flag_spec=
   13897       export_dynamic_flag_spec=
   13898       whole_archive_flag_spec=
   13899     fi
   13900   else
   13901     # PORTME fill in a description of your system's linker (not GNU ld)
   13902     case $host_os in
   13903     aix3*)
   13904       allow_undefined_flag=unsupported
   13905       always_export_symbols=yes
   13906       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'
   13907       # Note: this linker hardcodes the directories in LIBPATH if there
   13908       # are no directories specified by -L.
   13909       hardcode_minus_L=yes
   13910       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   13911 	# Neither direct hardcoding nor static linking is supported with a
   13912 	# broken collect2.
   13913 	hardcode_direct=unsupported
   13914       fi
   13915       ;;
   13916 
   13917     aix[4-9]*)
   13918       if test ia64 = "$host_cpu"; then
   13919 	# On IA64, the linker does run time linking by default, so we don't
   13920 	# have to do anything special.
   13921 	aix_use_runtimelinking=no
   13922 	exp_sym_flag='-Bexport'
   13923 	no_entry_flag=
   13924       else
   13925 	# If we're using GNU nm, then we don't want the "-C" option.
   13926 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   13927 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   13928 	# weak defined symbols like other global defined symbols, whereas
   13929 	# GNU nm marks them as "W".
   13930 	# While the 'weak' keyword is ignored in the Export File, we need
   13931 	# it in the Import File for the 'aix-soname' feature, so we have
   13932 	# to replace the "-B" option with "-P" for AIX nm.
   13933 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   13934 	  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'
   13935 	else
   13936 	  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'
   13937 	fi
   13938 	aix_use_runtimelinking=no
   13939 
   13940 	# Test if we are trying to use run time linking or normal
   13941 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   13942 	# have runtime linking enabled, and use it for executables.
   13943 	# For shared libraries, we enable/disable runtime linking
   13944 	# depending on the kind of the shared library created -
   13945 	# when "with_aix_soname,aix_use_runtimelinking" is:
   13946 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   13947 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   13948 	#            lib.a           static archive
   13949 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   13950 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   13951 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   13952 	#            lib.a(lib.so.V) shared, rtl:no
   13953 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   13954 	#            lib.a           static archive
   13955 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   13956 	  for ld_flag in $LDFLAGS; do
   13957 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   13958 	    aix_use_runtimelinking=yes
   13959 	    break
   13960 	  fi
   13961 	  done
   13962 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   13963 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   13964 	    # so we don't have lib.a shared libs to link our executables.
   13965 	    # We have to force runtime linking in this case.
   13966 	    aix_use_runtimelinking=yes
   13967 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   13968 	  fi
   13969 	  ;;
   13970 	esac
   13971 
   13972 	exp_sym_flag='-bexport'
   13973 	no_entry_flag='-bnoentry'
   13974       fi
   13975 
   13976       # When large executables or shared objects are built, AIX ld can
   13977       # have problems creating the table of contents.  If linking a library
   13978       # or program results in "error TOC overflow" add -mminimal-toc to
   13979       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   13980       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   13981 
   13982       archive_cmds=''
   13983       hardcode_direct=yes
   13984       hardcode_direct_absolute=yes
   13985       hardcode_libdir_separator=':'
   13986       link_all_deplibs=yes
   13987       file_list_spec='$wl-f,'
   13988       case $with_aix_soname,$aix_use_runtimelinking in
   13989       aix,*) ;; # traditional, no import file
   13990       svr4,* | *,yes) # use import file
   13991 	# The Import File defines what to hardcode.
   13992 	hardcode_direct=no
   13993 	hardcode_direct_absolute=no
   13994 	;;
   13995       esac
   13996 
   13997       if test yes = "$GCC"; then
   13998 	case $host_os in aix4.[012]|aix4.[012].*)
   13999 	# We only want to do this on AIX 4.2 and lower, the check
   14000 	# below for broken collect2 doesn't work under 4.3+
   14001 	  collect2name=`$CC -print-prog-name=collect2`
   14002 	  if test -f "$collect2name" &&
   14003 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   14004 	  then
   14005 	  # We have reworked collect2
   14006 	  :
   14007 	  else
   14008 	  # We have old collect2
   14009 	  hardcode_direct=unsupported
   14010 	  # It fails to find uninstalled libraries when the uninstalled
   14011 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   14012 	  # to unsupported forces relinking
   14013 	  hardcode_minus_L=yes
   14014 	  hardcode_libdir_flag_spec='-L$libdir'
   14015 	  hardcode_libdir_separator=
   14016 	  fi
   14017 	  ;;
   14018 	esac
   14019 	shared_flag='-shared'
   14020 	if test yes = "$aix_use_runtimelinking"; then
   14021 	  shared_flag="$shared_flag "'$wl-G'
   14022 	fi
   14023 	# Need to ensure runtime linking is disabled for the traditional
   14024 	# shared library, or the linker may eventually find shared libraries
   14025 	# /with/ Import File - we do not want to mix them.
   14026 	shared_flag_aix='-shared'
   14027 	shared_flag_svr4='-shared $wl-G'
   14028       else
   14029 	# not using gcc
   14030 	if test ia64 = "$host_cpu"; then
   14031 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   14032 	# chokes on -Wl,-G. The following line is correct:
   14033 	  shared_flag='-G'
   14034 	else
   14035 	  if test yes = "$aix_use_runtimelinking"; then
   14036 	    shared_flag='$wl-G'
   14037 	  else
   14038 	    shared_flag='$wl-bM:SRE'
   14039 	  fi
   14040 	  shared_flag_aix='$wl-bM:SRE'
   14041 	  shared_flag_svr4='$wl-G'
   14042 	fi
   14043       fi
   14044 
   14045       export_dynamic_flag_spec='$wl-bexpall'
   14046       # It seems that -bexpall does not export symbols beginning with
   14047       # underscore (_), so it is better to generate a list of symbols to export.
   14048       always_export_symbols=yes
   14049       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   14050 	# Warning - without using the other runtime loading flags (-brtl),
   14051 	# -berok will link without error, but may produce a broken library.
   14052 	allow_undefined_flag='-berok'
   14053         # Determine the default libpath from the value encoded in an
   14054         # empty executable.
   14055         if test set = "${lt_cv_aix_libpath+set}"; then
   14056   aix_libpath=$lt_cv_aix_libpath
   14057 else
   14058   if test ${lt_cv_aix_libpath_+y}
   14059 then :
   14060   printf %s "(cached) " >&6
   14061 else $as_nop
   14062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14063 /* end confdefs.h.  */
   14064 
   14065 int
   14066 main (void)
   14067 {
   14068 
   14069   ;
   14070   return 0;
   14071 }
   14072 _ACEOF
   14073 if ac_fn_c_try_link "$LINENO"
   14074 then :
   14075 
   14076   lt_aix_libpath_sed='
   14077       /Import File Strings/,/^$/ {
   14078 	  /^0/ {
   14079 	      s/^0  *\([^ ]*\) *$/\1/
   14080 	      p
   14081 	  }
   14082       }'
   14083   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14084   # Check for a 64-bit object if we didn't find anything.
   14085   if test -z "$lt_cv_aix_libpath_"; then
   14086     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14087   fi
   14088 fi
   14089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14090     conftest$ac_exeext conftest.$ac_ext
   14091   if test -z "$lt_cv_aix_libpath_"; then
   14092     lt_cv_aix_libpath_=/usr/lib:/lib
   14093   fi
   14094 
   14095 fi
   14096 
   14097   aix_libpath=$lt_cv_aix_libpath_
   14098 fi
   14099 
   14100         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   14101         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
   14102       else
   14103 	if test ia64 = "$host_cpu"; then
   14104 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   14105 	  allow_undefined_flag="-z nodefs"
   14106 	  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"
   14107 	else
   14108 	 # Determine the default libpath from the value encoded in an
   14109 	 # empty executable.
   14110 	 if test set = "${lt_cv_aix_libpath+set}"; then
   14111   aix_libpath=$lt_cv_aix_libpath
   14112 else
   14113   if test ${lt_cv_aix_libpath_+y}
   14114 then :
   14115   printf %s "(cached) " >&6
   14116 else $as_nop
   14117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14118 /* end confdefs.h.  */
   14119 
   14120 int
   14121 main (void)
   14122 {
   14123 
   14124   ;
   14125   return 0;
   14126 }
   14127 _ACEOF
   14128 if ac_fn_c_try_link "$LINENO"
   14129 then :
   14130 
   14131   lt_aix_libpath_sed='
   14132       /Import File Strings/,/^$/ {
   14133 	  /^0/ {
   14134 	      s/^0  *\([^ ]*\) *$/\1/
   14135 	      p
   14136 	  }
   14137       }'
   14138   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14139   # Check for a 64-bit object if we didn't find anything.
   14140   if test -z "$lt_cv_aix_libpath_"; then
   14141     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14142   fi
   14143 fi
   14144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14145     conftest$ac_exeext conftest.$ac_ext
   14146   if test -z "$lt_cv_aix_libpath_"; then
   14147     lt_cv_aix_libpath_=/usr/lib:/lib
   14148   fi
   14149 
   14150 fi
   14151 
   14152   aix_libpath=$lt_cv_aix_libpath_
   14153 fi
   14154 
   14155 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   14156 	  # Warning - without using the other run time loading flags,
   14157 	  # -berok will link without error, but may produce a broken library.
   14158 	  no_undefined_flag=' $wl-bernotok'
   14159 	  allow_undefined_flag=' $wl-berok'
   14160 	  if test yes = "$with_gnu_ld"; then
   14161 	    # We only use this code for GNU lds that support --whole-archive.
   14162 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   14163 	  else
   14164 	    # Exported symbols can be pulled into shared objects from archives
   14165 	    whole_archive_flag_spec='$convenience'
   14166 	  fi
   14167 	  archive_cmds_need_lc=yes
   14168 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   14169 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   14170 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   14171 	  if test svr4 != "$with_aix_soname"; then
   14172 	    # This is similar to how AIX traditionally builds its shared libraries.
   14173 	    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'
   14174 	  fi
   14175 	  if test aix != "$with_aix_soname"; then
   14176 	    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'
   14177 	  else
   14178 	    # used by -dlpreopen to get the symbols
   14179 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   14180 	  fi
   14181 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   14182 	fi
   14183       fi
   14184       ;;
   14185 
   14186     amigaos*)
   14187       case $host_cpu in
   14188       powerpc)
   14189             # see comment about AmigaOS4 .so support
   14190             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14191             archive_expsym_cmds=''
   14192         ;;
   14193       m68k)
   14194             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)'
   14195             hardcode_libdir_flag_spec='-L$libdir'
   14196             hardcode_minus_L=yes
   14197         ;;
   14198       esac
   14199       ;;
   14200 
   14201     bsdi[45]*)
   14202       export_dynamic_flag_spec=-rdynamic
   14203       ;;
   14204 
   14205     cygwin* | mingw* | pw32* | cegcc*)
   14206       # When not using gcc, we currently assume that we are using
   14207       # Microsoft Visual C++ or Intel C++ Compiler.
   14208       # hardcode_libdir_flag_spec is actually meaningless, as there is
   14209       # no search path for DLLs.
   14210       case $cc_basename in
   14211       cl* | icl*)
   14212 	# Native MSVC or ICC
   14213 	hardcode_libdir_flag_spec=' '
   14214 	allow_undefined_flag=unsupported
   14215 	always_export_symbols=yes
   14216 	file_list_spec='@'
   14217 	# Tell ltmain to make .lib files, not .a files.
   14218 	libext=lib
   14219 	# Tell ltmain to make .dll files, not .so files.
   14220 	shrext_cmds=.dll
   14221 	# FIXME: Setting linknames here is a bad hack.
   14222 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   14223 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   14224             cp "$export_symbols" "$output_objdir/$soname.def";
   14225             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   14226           else
   14227             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   14228           fi~
   14229           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   14230           linknames='
   14231 	# The linker will not automatically build a static lib if we build a DLL.
   14232 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   14233 	enable_shared_with_static_runtimes=yes
   14234 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   14235 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14236 	# Don't use ranlib
   14237 	old_postinstall_cmds='chmod 644 $oldlib'
   14238 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   14239           lt_tool_outputfile="@TOOL_OUTPUT@"~
   14240           case $lt_outputfile in
   14241             *.exe|*.EXE) ;;
   14242             *)
   14243               lt_outputfile=$lt_outputfile.exe
   14244               lt_tool_outputfile=$lt_tool_outputfile.exe
   14245               ;;
   14246           esac~
   14247           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   14248             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   14249             $RM "$lt_outputfile.manifest";
   14250           fi'
   14251 	;;
   14252       *)
   14253 	# Assume MSVC and ICC wrapper
   14254 	hardcode_libdir_flag_spec=' '
   14255 	allow_undefined_flag=unsupported
   14256 	# Tell ltmain to make .lib files, not .a files.
   14257 	libext=lib
   14258 	# Tell ltmain to make .dll files, not .so files.
   14259 	shrext_cmds=.dll
   14260 	# FIXME: Setting linknames here is a bad hack.
   14261 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   14262 	# The linker will automatically build a .lib file if we build a DLL.
   14263 	old_archive_from_new_cmds='true'
   14264 	# FIXME: Should let the user specify the lib program.
   14265 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   14266 	enable_shared_with_static_runtimes=yes
   14267 	;;
   14268       esac
   14269       ;;
   14270 
   14271     darwin* | rhapsody*)
   14272 
   14273 
   14274   archive_cmds_need_lc=no
   14275   hardcode_direct=no
   14276   hardcode_automatic=yes
   14277   hardcode_shlibpath_var=unsupported
   14278   if test yes = "$lt_cv_ld_force_load"; then
   14279     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\"`'
   14280 
   14281   else
   14282     whole_archive_flag_spec=''
   14283   fi
   14284   link_all_deplibs=yes
   14285   allow_undefined_flag=$_lt_dar_allow_undefined
   14286   case $cc_basename in
   14287      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   14288      *) _lt_dar_can_shared=$GCC ;;
   14289   esac
   14290   if test yes = "$_lt_dar_can_shared"; then
   14291     output_verbose_link_cmd=func_echo_all
   14292     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   14293     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   14294     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"
   14295     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"
   14296 
   14297   else
   14298   ld_shlibs=no
   14299   fi
   14300 
   14301       ;;
   14302 
   14303     dgux*)
   14304       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14305       hardcode_libdir_flag_spec='-L$libdir'
   14306       hardcode_shlibpath_var=no
   14307       ;;
   14308 
   14309     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   14310     # support.  Future versions do this automatically, but an explicit c++rt0.o
   14311     # does not break anything, and helps significantly (at the cost of a little
   14312     # extra space).
   14313     freebsd2.2*)
   14314       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   14315       hardcode_libdir_flag_spec='-R$libdir'
   14316       hardcode_direct=yes
   14317       hardcode_shlibpath_var=no
   14318       ;;
   14319 
   14320     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   14321     freebsd2.*)
   14322       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14323       hardcode_direct=yes
   14324       hardcode_minus_L=yes
   14325       hardcode_shlibpath_var=no
   14326       ;;
   14327 
   14328     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   14329     freebsd* | dragonfly* | midnightbsd*)
   14330       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14331       hardcode_libdir_flag_spec='-R$libdir'
   14332       hardcode_direct=yes
   14333       hardcode_shlibpath_var=no
   14334       ;;
   14335 
   14336     hpux9*)
   14337       if test yes = "$GCC"; then
   14338 	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'
   14339       else
   14340 	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'
   14341       fi
   14342       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   14343       hardcode_libdir_separator=:
   14344       hardcode_direct=yes
   14345 
   14346       # hardcode_minus_L: Not really in the search PATH,
   14347       # but as the default location of the library.
   14348       hardcode_minus_L=yes
   14349       export_dynamic_flag_spec='$wl-E'
   14350       ;;
   14351 
   14352     hpux10*)
   14353       if test yes,no = "$GCC,$with_gnu_ld"; then
   14354 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14355       else
   14356 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   14357       fi
   14358       if test no = "$with_gnu_ld"; then
   14359 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   14360 	hardcode_libdir_separator=:
   14361 	hardcode_direct=yes
   14362 	hardcode_direct_absolute=yes
   14363 	export_dynamic_flag_spec='$wl-E'
   14364 	# hardcode_minus_L: Not really in the search PATH,
   14365 	# but as the default location of the library.
   14366 	hardcode_minus_L=yes
   14367       fi
   14368       ;;
   14369 
   14370     hpux11*)
   14371       if test yes,no = "$GCC,$with_gnu_ld"; then
   14372 	case $host_cpu in
   14373 	hppa*64*)
   14374 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   14375 	  ;;
   14376 	ia64*)
   14377 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14378 	  ;;
   14379 	*)
   14380 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14381 	  ;;
   14382 	esac
   14383       else
   14384 	case $host_cpu in
   14385 	hppa*64*)
   14386 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   14387 	  ;;
   14388 	ia64*)
   14389 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14390 	  ;;
   14391 	*)
   14392 
   14393 	  # Older versions of the 11.00 compiler do not understand -b yet
   14394 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   14395 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   14396 printf %s "checking if $CC understands -b... " >&6; }
   14397 if test ${lt_cv_prog_compiler__b+y}
   14398 then :
   14399   printf %s "(cached) " >&6
   14400 else $as_nop
   14401   lt_cv_prog_compiler__b=no
   14402    save_LDFLAGS=$LDFLAGS
   14403    LDFLAGS="$LDFLAGS -b"
   14404    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14405    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14406      # The linker can only warn and ignore the option if not recognized
   14407      # So say no if there are warnings
   14408      if test -s conftest.err; then
   14409        # Append any errors to the config.log.
   14410        cat conftest.err 1>&5
   14411        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   14412        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14413        if diff conftest.exp conftest.er2 >/dev/null; then
   14414          lt_cv_prog_compiler__b=yes
   14415        fi
   14416      else
   14417        lt_cv_prog_compiler__b=yes
   14418      fi
   14419    fi
   14420    $RM -r conftest*
   14421    LDFLAGS=$save_LDFLAGS
   14422 
   14423 fi
   14424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   14425 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   14426 
   14427 if test yes = "$lt_cv_prog_compiler__b"; then
   14428     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14429 else
   14430     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   14431 fi
   14432 
   14433 	  ;;
   14434 	esac
   14435       fi
   14436       if test no = "$with_gnu_ld"; then
   14437 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   14438 	hardcode_libdir_separator=:
   14439 
   14440 	case $host_cpu in
   14441 	hppa*64*|ia64*)
   14442 	  hardcode_direct=no
   14443 	  hardcode_shlibpath_var=no
   14444 	  ;;
   14445 	*)
   14446 	  hardcode_direct=yes
   14447 	  hardcode_direct_absolute=yes
   14448 	  export_dynamic_flag_spec='$wl-E'
   14449 
   14450 	  # hardcode_minus_L: Not really in the search PATH,
   14451 	  # but as the default location of the library.
   14452 	  hardcode_minus_L=yes
   14453 	  ;;
   14454 	esac
   14455       fi
   14456       ;;
   14457 
   14458     irix5* | irix6* | nonstopux*)
   14459       if test yes = "$GCC"; then
   14460 	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'
   14461 	# Try to use the -exported_symbol ld option, if it does not
   14462 	# work, assume that -exports_file does not work either and
   14463 	# implicitly export all symbols.
   14464 	# This should be the same for all languages, so no per-tag cache variable.
   14465 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   14466 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   14467 if test ${lt_cv_irix_exported_symbol+y}
   14468 then :
   14469   printf %s "(cached) " >&6
   14470 else $as_nop
   14471   save_LDFLAGS=$LDFLAGS
   14472 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   14473 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14474 /* end confdefs.h.  */
   14475 int foo (void) { return 0; }
   14476 _ACEOF
   14477 if ac_fn_c_try_link "$LINENO"
   14478 then :
   14479   lt_cv_irix_exported_symbol=yes
   14480 else $as_nop
   14481   lt_cv_irix_exported_symbol=no
   14482 fi
   14483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14484     conftest$ac_exeext conftest.$ac_ext
   14485            LDFLAGS=$save_LDFLAGS
   14486 fi
   14487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   14488 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   14489 	if test yes = "$lt_cv_irix_exported_symbol"; then
   14490           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'
   14491 	fi
   14492 	link_all_deplibs=no
   14493       else
   14494 	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'
   14495 	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'
   14496       fi
   14497       archive_cmds_need_lc='no'
   14498       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   14499       hardcode_libdir_separator=:
   14500       inherit_rpath=yes
   14501       link_all_deplibs=yes
   14502       ;;
   14503 
   14504     linux*)
   14505       case $cc_basename in
   14506       tcc*)
   14507 	# Fabrice Bellard et al's Tiny C Compiler
   14508 	ld_shlibs=yes
   14509 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14510 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   14511 	;;
   14512       esac
   14513       ;;
   14514 
   14515     netbsd* | netbsdelf*-gnu)
   14516       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   14517 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   14518       else
   14519 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   14520       fi
   14521       hardcode_libdir_flag_spec='-R$libdir'
   14522       hardcode_direct=yes
   14523       hardcode_shlibpath_var=no
   14524       ;;
   14525 
   14526     newsos6)
   14527       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14528       hardcode_direct=yes
   14529       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   14530       hardcode_libdir_separator=:
   14531       hardcode_shlibpath_var=no
   14532       ;;
   14533 
   14534     *nto* | *qnx*)
   14535       ;;
   14536 
   14537     openbsd* | bitrig*)
   14538       if test -f /usr/libexec/ld.so; then
   14539 	hardcode_direct=yes
   14540 	hardcode_shlibpath_var=no
   14541 	hardcode_direct_absolute=yes
   14542 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   14543 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14544 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   14545 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   14546 	  export_dynamic_flag_spec='$wl-E'
   14547 	else
   14548 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14549 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   14550 	fi
   14551       else
   14552 	ld_shlibs=no
   14553       fi
   14554       ;;
   14555 
   14556     os2*)
   14557       hardcode_libdir_flag_spec='-L$libdir'
   14558       hardcode_minus_L=yes
   14559       allow_undefined_flag=unsupported
   14560       shrext_cmds=.dll
   14561       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   14562 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   14563 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   14564 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   14565 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   14566 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   14567 	emximp -o $lib $output_objdir/$libname.def'
   14568       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   14569 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   14570 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   14571 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   14572 	prefix_cmds="$SED"~
   14573 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   14574 	  prefix_cmds="$prefix_cmds -e 1d";
   14575 	fi~
   14576 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   14577 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   14578 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   14579 	emximp -o $lib $output_objdir/$libname.def'
   14580       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   14581       enable_shared_with_static_runtimes=yes
   14582       file_list_spec='@'
   14583       ;;
   14584 
   14585     osf3*)
   14586       if test yes = "$GCC"; then
   14587 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   14588 	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'
   14589       else
   14590 	allow_undefined_flag=' -expect_unresolved \*'
   14591 	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'
   14592       fi
   14593       archive_cmds_need_lc='no'
   14594       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   14595       hardcode_libdir_separator=:
   14596       ;;
   14597 
   14598     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   14599       if test yes = "$GCC"; then
   14600 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   14601 	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'
   14602 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   14603       else
   14604 	allow_undefined_flag=' -expect_unresolved \*'
   14605 	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'
   14606 	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~
   14607           $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'
   14608 
   14609 	# Both c and cxx compiler support -rpath directly
   14610 	hardcode_libdir_flag_spec='-rpath $libdir'
   14611       fi
   14612       archive_cmds_need_lc='no'
   14613       hardcode_libdir_separator=:
   14614       ;;
   14615 
   14616     solaris*)
   14617       no_undefined_flag=' -z defs'
   14618       if test yes = "$GCC"; then
   14619 	wlarc='$wl'
   14620 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   14621 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   14622           $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'
   14623       else
   14624 	case `$CC -V 2>&1` in
   14625 	*"Compilers 5.0"*)
   14626 	  wlarc=''
   14627 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14628 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   14629             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   14630 	  ;;
   14631 	*)
   14632 	  wlarc='$wl'
   14633 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   14634 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   14635             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   14636 	  ;;
   14637 	esac
   14638       fi
   14639       hardcode_libdir_flag_spec='-R$libdir'
   14640       hardcode_shlibpath_var=no
   14641       case $host_os in
   14642       solaris2.[0-5] | solaris2.[0-5].*) ;;
   14643       *)
   14644 	# The compiler driver will combine and reorder linker options,
   14645 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   14646 	# but is careful enough not to reorder.
   14647 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   14648 	if test yes = "$GCC"; then
   14649 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   14650 	else
   14651 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   14652 	fi
   14653 	;;
   14654       esac
   14655       link_all_deplibs=yes
   14656       ;;
   14657 
   14658     sunos4*)
   14659       if test sequent = "$host_vendor"; then
   14660 	# Use $CC to link under sequent, because it throws in some extra .o
   14661 	# files that make .init and .fini sections work.
   14662 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   14663       else
   14664 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   14665       fi
   14666       hardcode_libdir_flag_spec='-L$libdir'
   14667       hardcode_direct=yes
   14668       hardcode_minus_L=yes
   14669       hardcode_shlibpath_var=no
   14670       ;;
   14671 
   14672     sysv4)
   14673       case $host_vendor in
   14674 	sni)
   14675 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14676 	  hardcode_direct=yes # is this really true???
   14677 	;;
   14678 	siemens)
   14679 	  ## LD is ld it makes a PLAMLIB
   14680 	  ## CC just makes a GrossModule.
   14681 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   14682 	  reload_cmds='$CC -r -o $output$reload_objs'
   14683 	  hardcode_direct=no
   14684         ;;
   14685 	motorola)
   14686 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14687 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   14688 	;;
   14689       esac
   14690       runpath_var='LD_RUN_PATH'
   14691       hardcode_shlibpath_var=no
   14692       ;;
   14693 
   14694     sysv4.3*)
   14695       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14696       hardcode_shlibpath_var=no
   14697       export_dynamic_flag_spec='-Bexport'
   14698       ;;
   14699 
   14700     sysv4*MP*)
   14701       if test -d /usr/nec; then
   14702 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14703 	hardcode_shlibpath_var=no
   14704 	runpath_var=LD_RUN_PATH
   14705 	hardcode_runpath_var=yes
   14706 	ld_shlibs=yes
   14707       fi
   14708       ;;
   14709 
   14710     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   14711       no_undefined_flag='$wl-z,text'
   14712       archive_cmds_need_lc=no
   14713       hardcode_shlibpath_var=no
   14714       runpath_var='LD_RUN_PATH'
   14715 
   14716       if test yes = "$GCC"; then
   14717 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14718 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14719       else
   14720 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14721 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14722       fi
   14723       ;;
   14724 
   14725     sysv5* | sco3.2v5* | sco5v6*)
   14726       # Note: We CANNOT use -z defs as we might desire, because we do not
   14727       # link with -lc, and that would cause any symbols used from libc to
   14728       # always be unresolved, which means just about no library would
   14729       # ever link correctly.  If we're not using GNU ld we use -z text
   14730       # though, which does catch some bad symbols but isn't as heavy-handed
   14731       # as -z defs.
   14732       no_undefined_flag='$wl-z,text'
   14733       allow_undefined_flag='$wl-z,nodefs'
   14734       archive_cmds_need_lc=no
   14735       hardcode_shlibpath_var=no
   14736       hardcode_libdir_flag_spec='$wl-R,$libdir'
   14737       hardcode_libdir_separator=':'
   14738       link_all_deplibs=yes
   14739       export_dynamic_flag_spec='$wl-Bexport'
   14740       runpath_var='LD_RUN_PATH'
   14741 
   14742       if test yes = "$GCC"; then
   14743 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14744 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14745       else
   14746 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14747 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14748       fi
   14749       ;;
   14750 
   14751     uts4*)
   14752       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14753       hardcode_libdir_flag_spec='-L$libdir'
   14754       hardcode_shlibpath_var=no
   14755       ;;
   14756 
   14757     *)
   14758       ld_shlibs=no
   14759       ;;
   14760     esac
   14761 
   14762     if test sni = "$host_vendor"; then
   14763       case $host in
   14764       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   14765 	export_dynamic_flag_spec='$wl-Blargedynsym'
   14766 	;;
   14767       esac
   14768     fi
   14769   fi
   14770 
   14771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   14772 printf "%s\n" "$ld_shlibs" >&6; }
   14773 test no = "$ld_shlibs" && can_build_shared=no
   14774 
   14775 with_gnu_ld=$with_gnu_ld
   14776 
   14777 
   14778 
   14779 
   14780 
   14781 
   14782 
   14783 
   14784 
   14785 
   14786 
   14787 
   14788 
   14789 
   14790 
   14791 #
   14792 # Do we need to explicitly link libc?
   14793 #
   14794 case "x$archive_cmds_need_lc" in
   14795 x|xyes)
   14796   # Assume -lc should be added
   14797   archive_cmds_need_lc=yes
   14798 
   14799   if test yes,yes = "$GCC,$enable_shared"; then
   14800     case $archive_cmds in
   14801     *'~'*)
   14802       # FIXME: we may have to deal with multi-command sequences.
   14803       ;;
   14804     '$CC '*)
   14805       # Test whether the compiler implicitly links with -lc since on some
   14806       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   14807       # to ld, don't add -lc before -lgcc.
   14808       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   14809 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   14810 if test ${lt_cv_archive_cmds_need_lc+y}
   14811 then :
   14812   printf %s "(cached) " >&6
   14813 else $as_nop
   14814   $RM conftest*
   14815 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14816 
   14817 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14818   (eval $ac_compile) 2>&5
   14819   ac_status=$?
   14820   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14821   test $ac_status = 0; } 2>conftest.err; then
   14822 	  soname=conftest
   14823 	  lib=conftest
   14824 	  libobjs=conftest.$ac_objext
   14825 	  deplibs=
   14826 	  wl=$lt_prog_compiler_wl
   14827 	  pic_flag=$lt_prog_compiler_pic
   14828 	  compiler_flags=-v
   14829 	  linker_flags=-v
   14830 	  verstring=
   14831 	  output_objdir=.
   14832 	  libname=conftest
   14833 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   14834 	  allow_undefined_flag=
   14835 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   14836   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   14837   ac_status=$?
   14838   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14839   test $ac_status = 0; }
   14840 	  then
   14841 	    lt_cv_archive_cmds_need_lc=no
   14842 	  else
   14843 	    lt_cv_archive_cmds_need_lc=yes
   14844 	  fi
   14845 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   14846 	else
   14847 	  cat conftest.err 1>&5
   14848 	fi
   14849 	$RM conftest*
   14850 
   14851 fi
   14852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   14853 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   14854       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   14855       ;;
   14856     esac
   14857   fi
   14858   ;;
   14859 esac
   14860 
   14861 
   14862 
   14863 
   14864 
   14865 
   14866 
   14867 
   14868 
   14869 
   14870 
   14871 
   14872 
   14873 
   14874 
   14875 
   14876 
   14877 
   14878 
   14879 
   14880 
   14881 
   14882 
   14883 
   14884 
   14885 
   14886 
   14887 
   14888 
   14889 
   14890 
   14891 
   14892 
   14893 
   14894 
   14895 
   14896 
   14897 
   14898 
   14899 
   14900 
   14901 
   14902 
   14903 
   14904 
   14905 
   14906 
   14907 
   14908 
   14909 
   14910 
   14911 
   14912 
   14913 
   14914 
   14915 
   14916 
   14917 
   14918 
   14919 
   14920 
   14921 
   14922 
   14923 
   14924 
   14925 
   14926 
   14927 
   14928 
   14929 
   14930 
   14931 
   14932 
   14933 
   14934 
   14935 
   14936 
   14937 
   14938 
   14939 
   14940 
   14941 
   14942 
   14943 
   14944 
   14945 
   14946 
   14947 
   14948 
   14949 
   14950 
   14951 
   14952 
   14953 
   14954 
   14955 
   14956 
   14957 
   14958 
   14959 
   14960 
   14961 
   14962 
   14963 
   14964 
   14965 
   14966 
   14967 
   14968 
   14969 
   14970 
   14971 
   14972 
   14973 
   14974 
   14975 
   14976 
   14977 
   14978 
   14979 
   14980 
   14981 
   14982 
   14983 
   14984 
   14985 
   14986 
   14987 
   14988 
   14989 
   14990 
   14991 
   14992 
   14993 
   14994 
   14995 
   14996 
   14997 
   14998 
   14999 
   15000 
   15001 
   15002 
   15003 
   15004 
   15005 
   15006 
   15007 
   15008 
   15009 
   15010 
   15011 
   15012   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   15013 printf %s "checking dynamic linker characteristics... " >&6; }
   15014 
   15015 if test yes = "$GCC"; then
   15016   case $host_os in
   15017     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   15018     *) lt_awk_arg='/^libraries:/' ;;
   15019   esac
   15020   case $host_os in
   15021     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   15022     *) lt_sed_strip_eq='s|=/|/|g' ;;
   15023   esac
   15024   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   15025   case $lt_search_path_spec in
   15026   *\;*)
   15027     # if the path contains ";" then we assume it to be the separator
   15028     # otherwise default to the standard path separator (i.e. ":") - it is
   15029     # assumed that no part of a normal pathname contains ";" but that should
   15030     # okay in the real world where ";" in dirpaths is itself problematic.
   15031     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   15032     ;;
   15033   *)
   15034     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   15035     ;;
   15036   esac
   15037   # Ok, now we have the path, separated by spaces, we can step through it
   15038   # and add multilib dir if necessary...
   15039   lt_tmp_lt_search_path_spec=
   15040   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   15041   # ...but if some path component already ends with the multilib dir we assume
   15042   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   15043   case "$lt_multi_os_dir; $lt_search_path_spec " in
   15044   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   15045     lt_multi_os_dir=
   15046     ;;
   15047   esac
   15048   for lt_sys_path in $lt_search_path_spec; do
   15049     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   15050       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   15051     elif test -n "$lt_multi_os_dir"; then
   15052       test -d "$lt_sys_path" && \
   15053 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   15054     fi
   15055   done
   15056   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   15057 BEGIN {RS = " "; FS = "/|\n";} {
   15058   lt_foo = "";
   15059   lt_count = 0;
   15060   for (lt_i = NF; lt_i > 0; lt_i--) {
   15061     if ($lt_i != "" && $lt_i != ".") {
   15062       if ($lt_i == "..") {
   15063         lt_count++;
   15064       } else {
   15065         if (lt_count == 0) {
   15066           lt_foo = "/" $lt_i lt_foo;
   15067         } else {
   15068           lt_count--;
   15069         }
   15070       }
   15071     }
   15072   }
   15073   if (lt_foo != "") { lt_freq[lt_foo]++; }
   15074   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   15075 }'`
   15076   # AWK program above erroneously prepends '/' to C:/dos/paths
   15077   # for these hosts.
   15078   case $host_os in
   15079     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   15080       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   15081   esac
   15082   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   15083 else
   15084   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   15085 fi
   15086 library_names_spec=
   15087 libname_spec='lib$name'
   15088 soname_spec=
   15089 shrext_cmds=.so
   15090 postinstall_cmds=
   15091 postuninstall_cmds=
   15092 finish_cmds=
   15093 finish_eval=
   15094 shlibpath_var=
   15095 shlibpath_overrides_runpath=unknown
   15096 version_type=none
   15097 dynamic_linker="$host_os ld.so"
   15098 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15099 need_lib_prefix=unknown
   15100 hardcode_into_libs=no
   15101 
   15102 # when you set need_version to no, make sure it does not cause -set_version
   15103 # flags to be left without arguments
   15104 need_version=unknown
   15105 
   15106 
   15107 
   15108 case $host_os in
   15109 aix3*)
   15110   version_type=linux # correct to gnu/linux during the next big refactor
   15111   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   15112   shlibpath_var=LIBPATH
   15113 
   15114   # AIX 3 has no versioning support, so we append a major version to the name.
   15115   soname_spec='$libname$release$shared_ext$major'
   15116   ;;
   15117 
   15118 aix[4-9]*)
   15119   version_type=linux # correct to gnu/linux during the next big refactor
   15120   need_lib_prefix=no
   15121   need_version=no
   15122   hardcode_into_libs=yes
   15123   if test ia64 = "$host_cpu"; then
   15124     # AIX 5 supports IA64
   15125     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   15126     shlibpath_var=LD_LIBRARY_PATH
   15127   else
   15128     # With GCC up to 2.95.x, collect2 would create an import file
   15129     # for dependence libraries.  The import file would start with
   15130     # the line '#! .'.  This would cause the generated library to
   15131     # depend on '.', always an invalid library.  This was fixed in
   15132     # development snapshots of GCC prior to 3.0.
   15133     case $host_os in
   15134       aix4 | aix4.[01] | aix4.[01].*)
   15135       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15136 	   echo ' yes '
   15137 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   15138 	:
   15139       else
   15140 	can_build_shared=no
   15141       fi
   15142       ;;
   15143     esac
   15144     # Using Import Files as archive members, it is possible to support
   15145     # filename-based versioning of shared library archives on AIX. While
   15146     # this would work for both with and without runtime linking, it will
   15147     # prevent static linking of such archives. So we do filename-based
   15148     # shared library versioning with .so extension only, which is used
   15149     # when both runtime linking and shared linking is enabled.
   15150     # Unfortunately, runtime linking may impact performance, so we do
   15151     # not want this to be the default eventually. Also, we use the
   15152     # versioned .so libs for executables only if there is the -brtl
   15153     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   15154     # To allow for filename-based versioning support, we need to create
   15155     # libNAME.so.V as an archive file, containing:
   15156     # *) an Import File, referring to the versioned filename of the
   15157     #    archive as well as the shared archive member, telling the
   15158     #    bitwidth (32 or 64) of that shared object, and providing the
   15159     #    list of exported symbols of that shared object, eventually
   15160     #    decorated with the 'weak' keyword
   15161     # *) the shared object with the F_LOADONLY flag set, to really avoid
   15162     #    it being seen by the linker.
   15163     # At run time we better use the real file rather than another symlink,
   15164     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   15165 
   15166     case $with_aix_soname,$aix_use_runtimelinking in
   15167     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   15168     # soname into executable. Probably we can add versioning support to
   15169     # collect2, so additional links can be useful in future.
   15170     aix,yes) # traditional libtool
   15171       dynamic_linker='AIX unversionable lib.so'
   15172       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15173       # instead of lib<name>.a to let people know that these are not
   15174       # typical AIX shared libraries.
   15175       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15176       ;;
   15177     aix,no) # traditional AIX only
   15178       dynamic_linker='AIX lib.a(lib.so.V)'
   15179       # We preserve .a as extension for shared libraries through AIX4.2
   15180       # and later when we are not doing run time linking.
   15181       library_names_spec='$libname$release.a $libname.a'
   15182       soname_spec='$libname$release$shared_ext$major'
   15183       ;;
   15184     svr4,*) # full svr4 only
   15185       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   15186       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   15187       # We do not specify a path in Import Files, so LIBPATH fires.
   15188       shlibpath_overrides_runpath=yes
   15189       ;;
   15190     *,yes) # both, prefer svr4
   15191       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   15192       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   15193       # unpreferred sharedlib libNAME.a needs extra handling
   15194       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"'
   15195       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"'
   15196       # We do not specify a path in Import Files, so LIBPATH fires.
   15197       shlibpath_overrides_runpath=yes
   15198       ;;
   15199     *,no) # both, prefer aix
   15200       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   15201       library_names_spec='$libname$release.a $libname.a'
   15202       soname_spec='$libname$release$shared_ext$major'
   15203       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   15204       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)'
   15205       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"'
   15206       ;;
   15207     esac
   15208     shlibpath_var=LIBPATH
   15209   fi
   15210   ;;
   15211 
   15212 amigaos*)
   15213   case $host_cpu in
   15214   powerpc)
   15215     # Since July 2007 AmigaOS4 officially supports .so libraries.
   15216     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   15217     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15218     ;;
   15219   m68k)
   15220     library_names_spec='$libname.ixlibrary $libname.a'
   15221     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15222     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'
   15223     ;;
   15224   esac
   15225   ;;
   15226 
   15227 beos*)
   15228   library_names_spec='$libname$shared_ext'
   15229   dynamic_linker="$host_os ld.so"
   15230   shlibpath_var=LIBRARY_PATH
   15231   ;;
   15232 
   15233 bsdi[45]*)
   15234   version_type=linux # correct to gnu/linux during the next big refactor
   15235   need_version=no
   15236   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15237   soname_spec='$libname$release$shared_ext$major'
   15238   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15239   shlibpath_var=LD_LIBRARY_PATH
   15240   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15241   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15242   # the default ld.so.conf also contains /usr/contrib/lib and
   15243   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15244   # libtool to hard-code these into programs
   15245   ;;
   15246 
   15247 cygwin* | mingw* | pw32* | cegcc*)
   15248   version_type=windows
   15249   shrext_cmds=.dll
   15250   need_version=no
   15251   need_lib_prefix=no
   15252 
   15253   case $GCC,$cc_basename in
   15254   yes,*)
   15255     # gcc
   15256     library_names_spec='$libname.dll.a'
   15257     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15258     postinstall_cmds='base_file=`basename \$file`~
   15259       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   15260       dldir=$destdir/`dirname \$dlpath`~
   15261       test -d \$dldir || mkdir -p \$dldir~
   15262       $install_prog $dir/$dlname \$dldir/$dlname~
   15263       chmod a+x \$dldir/$dlname~
   15264       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   15265         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   15266       fi'
   15267     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15268       dlpath=$dir/\$dldll~
   15269        $RM \$dlpath'
   15270     shlibpath_overrides_runpath=yes
   15271 
   15272     case $host_os in
   15273     cygwin*)
   15274       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15275       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   15276 
   15277       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   15278       ;;
   15279     mingw* | cegcc*)
   15280       # MinGW DLLs use traditional 'lib' prefix
   15281       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   15282       ;;
   15283     pw32*)
   15284       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15285       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   15286       ;;
   15287     esac
   15288     dynamic_linker='Win32 ld.exe'
   15289     ;;
   15290 
   15291   *,cl* | *,icl*)
   15292     # Native MSVC or ICC
   15293     libname_spec='$name'
   15294     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   15295     library_names_spec='$libname.dll.lib'
   15296 
   15297     case $build_os in
   15298     mingw*)
   15299       sys_lib_search_path_spec=
   15300       lt_save_ifs=$IFS
   15301       IFS=';'
   15302       for lt_path in $LIB
   15303       do
   15304         IFS=$lt_save_ifs
   15305         # Let DOS variable expansion print the short 8.3 style file name.
   15306         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   15307         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   15308       done
   15309       IFS=$lt_save_ifs
   15310       # Convert to MSYS style.
   15311       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   15312       ;;
   15313     cygwin*)
   15314       # Convert to unix form, then to dos form, then back to unix form
   15315       # but this time dos style (no spaces!) so that the unix form looks
   15316       # like /cygdrive/c/PROGRA~1:/cygdr...
   15317       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   15318       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   15319       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   15320       ;;
   15321     *)
   15322       sys_lib_search_path_spec=$LIB
   15323       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   15324         # It is most probably a Windows format PATH.
   15325         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15326       else
   15327         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   15328       fi
   15329       # FIXME: find the short name or the path components, as spaces are
   15330       # common. (e.g. "Program Files" -> "PROGRA~1")
   15331       ;;
   15332     esac
   15333 
   15334     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15335     postinstall_cmds='base_file=`basename \$file`~
   15336       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   15337       dldir=$destdir/`dirname \$dlpath`~
   15338       test -d \$dldir || mkdir -p \$dldir~
   15339       $install_prog $dir/$dlname \$dldir/$dlname'
   15340     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15341       dlpath=$dir/\$dldll~
   15342        $RM \$dlpath'
   15343     shlibpath_overrides_runpath=yes
   15344     dynamic_linker='Win32 link.exe'
   15345     ;;
   15346 
   15347   *)
   15348     # Assume MSVC and ICC wrapper
   15349     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   15350     dynamic_linker='Win32 ld.exe'
   15351     ;;
   15352   esac
   15353   # FIXME: first we should search . and the directory the executable is in
   15354   shlibpath_var=PATH
   15355   ;;
   15356 
   15357 darwin* | rhapsody*)
   15358   dynamic_linker="$host_os dyld"
   15359   version_type=darwin
   15360   need_lib_prefix=no
   15361   need_version=no
   15362   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   15363   soname_spec='$libname$release$major$shared_ext'
   15364   shlibpath_overrides_runpath=yes
   15365   shlibpath_var=DYLD_LIBRARY_PATH
   15366   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15367 
   15368   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   15369   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15370   ;;
   15371 
   15372 dgux*)
   15373   version_type=linux # correct to gnu/linux during the next big refactor
   15374   need_lib_prefix=no
   15375   need_version=no
   15376   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15377   soname_spec='$libname$release$shared_ext$major'
   15378   shlibpath_var=LD_LIBRARY_PATH
   15379   ;;
   15380 
   15381 freebsd* | dragonfly* | midnightbsd*)
   15382   # DragonFly does not have aout.  When/if they implement a new
   15383   # versioning mechanism, adjust this.
   15384   if test -x /usr/bin/objformat; then
   15385     objformat=`/usr/bin/objformat`
   15386   else
   15387     case $host_os in
   15388     freebsd[23].*) objformat=aout ;;
   15389     *) objformat=elf ;;
   15390     esac
   15391   fi
   15392   version_type=freebsd-$objformat
   15393   case $version_type in
   15394     freebsd-elf*)
   15395       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15396       soname_spec='$libname$release$shared_ext$major'
   15397       need_version=no
   15398       need_lib_prefix=no
   15399       ;;
   15400     freebsd-*)
   15401       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   15402       need_version=yes
   15403       ;;
   15404   esac
   15405   shlibpath_var=LD_LIBRARY_PATH
   15406   case $host_os in
   15407   freebsd2.*)
   15408     shlibpath_overrides_runpath=yes
   15409     ;;
   15410   freebsd3.[01]* | freebsdelf3.[01]*)
   15411     shlibpath_overrides_runpath=yes
   15412     hardcode_into_libs=yes
   15413     ;;
   15414   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15415   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15416     shlibpath_overrides_runpath=no
   15417     hardcode_into_libs=yes
   15418     ;;
   15419   *) # from 4.6 on, and DragonFly
   15420     shlibpath_overrides_runpath=yes
   15421     hardcode_into_libs=yes
   15422     ;;
   15423   esac
   15424   ;;
   15425 
   15426 haiku*)
   15427   version_type=linux # correct to gnu/linux during the next big refactor
   15428   need_lib_prefix=no
   15429   need_version=no
   15430   dynamic_linker="$host_os runtime_loader"
   15431   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15432   soname_spec='$libname$release$shared_ext$major'
   15433   shlibpath_var=LIBRARY_PATH
   15434   shlibpath_overrides_runpath=no
   15435   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   15436   hardcode_into_libs=yes
   15437   ;;
   15438 
   15439 hpux9* | hpux10* | hpux11*)
   15440   # Give a soname corresponding to the major version so that dld.sl refuses to
   15441   # link against other versions.
   15442   version_type=sunos
   15443   need_lib_prefix=no
   15444   need_version=no
   15445   case $host_cpu in
   15446   ia64*)
   15447     shrext_cmds='.so'
   15448     hardcode_into_libs=yes
   15449     dynamic_linker="$host_os dld.so"
   15450     shlibpath_var=LD_LIBRARY_PATH
   15451     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15452     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15453     soname_spec='$libname$release$shared_ext$major'
   15454     if test 32 = "$HPUX_IA64_MODE"; then
   15455       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15456       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   15457     else
   15458       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15459       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   15460     fi
   15461     ;;
   15462   hppa*64*)
   15463     shrext_cmds='.sl'
   15464     hardcode_into_libs=yes
   15465     dynamic_linker="$host_os dld.sl"
   15466     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15467     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15468     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15469     soname_spec='$libname$release$shared_ext$major'
   15470     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15471     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15472     ;;
   15473   *)
   15474     shrext_cmds='.sl'
   15475     dynamic_linker="$host_os dld.sl"
   15476     shlibpath_var=SHLIB_PATH
   15477     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15478     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15479     soname_spec='$libname$release$shared_ext$major'
   15480     ;;
   15481   esac
   15482   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   15483   postinstall_cmds='chmod 555 $lib'
   15484   # or fails outright, so override atomically:
   15485   install_override_mode=555
   15486   ;;
   15487 
   15488 interix[3-9]*)
   15489   version_type=linux # correct to gnu/linux during the next big refactor
   15490   need_lib_prefix=no
   15491   need_version=no
   15492   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15493   soname_spec='$libname$release$shared_ext$major'
   15494   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15495   shlibpath_var=LD_LIBRARY_PATH
   15496   shlibpath_overrides_runpath=no
   15497   hardcode_into_libs=yes
   15498   ;;
   15499 
   15500 irix5* | irix6* | nonstopux*)
   15501   case $host_os in
   15502     nonstopux*) version_type=nonstopux ;;
   15503     *)
   15504 	if test yes = "$lt_cv_prog_gnu_ld"; then
   15505 		version_type=linux # correct to gnu/linux during the next big refactor
   15506 	else
   15507 		version_type=irix
   15508 	fi ;;
   15509   esac
   15510   need_lib_prefix=no
   15511   need_version=no
   15512   soname_spec='$libname$release$shared_ext$major'
   15513   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   15514   case $host_os in
   15515   irix5* | nonstopux*)
   15516     libsuff= shlibsuff=
   15517     ;;
   15518   *)
   15519     case $LD in # libtool.m4 will add one of these switches to LD
   15520     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15521       libsuff= shlibsuff= libmagic=32-bit;;
   15522     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15523       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15524     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15525       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15526     *) libsuff= shlibsuff= libmagic=never-match;;
   15527     esac
   15528     ;;
   15529   esac
   15530   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15531   shlibpath_overrides_runpath=no
   15532   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   15533   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   15534   hardcode_into_libs=yes
   15535   ;;
   15536 
   15537 # No shared lib support for Linux oldld, aout, or coff.
   15538 linux*oldld* | linux*aout* | linux*coff*)
   15539   dynamic_linker=no
   15540   ;;
   15541 
   15542 linux*android*)
   15543   version_type=none # Android doesn't support versioned libraries.
   15544   need_lib_prefix=no
   15545   need_version=no
   15546   library_names_spec='$libname$release$shared_ext'
   15547   soname_spec='$libname$release$shared_ext'
   15548   finish_cmds=
   15549   shlibpath_var=LD_LIBRARY_PATH
   15550   shlibpath_overrides_runpath=yes
   15551 
   15552   # This implies no fast_install, which is unacceptable.
   15553   # Some rework will be needed to allow for fast_install
   15554   # before this can be enabled.
   15555   hardcode_into_libs=yes
   15556 
   15557   dynamic_linker='Android linker'
   15558   # Don't embed -rpath directories since the linker doesn't support them.
   15559   hardcode_libdir_flag_spec='-L$libdir'
   15560   ;;
   15561 
   15562 # This must be glibc/ELF.
   15563 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   15564   version_type=linux # correct to gnu/linux during the next big refactor
   15565   need_lib_prefix=no
   15566   need_version=no
   15567   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15568   soname_spec='$libname$release$shared_ext$major'
   15569   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15570   shlibpath_var=LD_LIBRARY_PATH
   15571   shlibpath_overrides_runpath=no
   15572 
   15573   # Some binutils ld are patched to set DT_RUNPATH
   15574   if test ${lt_cv_shlibpath_overrides_runpath+y}
   15575 then :
   15576   printf %s "(cached) " >&6
   15577 else $as_nop
   15578   lt_cv_shlibpath_overrides_runpath=no
   15579     save_LDFLAGS=$LDFLAGS
   15580     save_libdir=$libdir
   15581     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   15582 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   15583     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15584 /* end confdefs.h.  */
   15585 
   15586 int
   15587 main (void)
   15588 {
   15589 
   15590   ;
   15591   return 0;
   15592 }
   15593 _ACEOF
   15594 if ac_fn_c_try_link "$LINENO"
   15595 then :
   15596   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   15597 then :
   15598   lt_cv_shlibpath_overrides_runpath=yes
   15599 fi
   15600 fi
   15601 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15602     conftest$ac_exeext conftest.$ac_ext
   15603     LDFLAGS=$save_LDFLAGS
   15604     libdir=$save_libdir
   15605 
   15606 fi
   15607 
   15608   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   15609 
   15610   # This implies no fast_install, which is unacceptable.
   15611   # Some rework will be needed to allow for fast_install
   15612   # before this can be enabled.
   15613   hardcode_into_libs=yes
   15614 
   15615   # Ideally, we could use ldconfig to report *all* directores which are
   15616   # searched for libraries, however this is still not possible.  Aside from not
   15617   # being certain /sbin/ldconfig is available, command
   15618   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   15619   # even though it is searched at run-time.  Try to do the best guess by
   15620   # appending ld.so.conf contents (and includes) to the search path.
   15621   if test -f /etc/ld.so.conf; then
   15622     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' ' '`
   15623     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15624   fi
   15625 
   15626   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15627   # powerpc, because MkLinux only supported shared libraries with the
   15628   # GNU dynamic linker.  Since this was broken with cross compilers,
   15629   # most powerpc-linux boxes support dynamic linking these days and
   15630   # people can always --disable-shared, the test was removed, and we
   15631   # assume the GNU/Linux dynamic linker is in use.
   15632   dynamic_linker='GNU/Linux ld.so'
   15633   ;;
   15634 
   15635 netbsdelf*-gnu)
   15636   version_type=linux
   15637   need_lib_prefix=no
   15638   need_version=no
   15639   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15640   soname_spec='${libname}${release}${shared_ext}$major'
   15641   shlibpath_var=LD_LIBRARY_PATH
   15642   shlibpath_overrides_runpath=no
   15643   hardcode_into_libs=yes
   15644   dynamic_linker='NetBSD ld.elf_so'
   15645   ;;
   15646 
   15647 netbsd*)
   15648   version_type=sunos
   15649   need_lib_prefix=no
   15650   need_version=no
   15651   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15652     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   15653     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15654     dynamic_linker='NetBSD (a.out) ld.so'
   15655   else
   15656     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15657     soname_spec='$libname$release$shared_ext$major'
   15658     dynamic_linker='NetBSD ld.elf_so'
   15659   fi
   15660   shlibpath_var=LD_LIBRARY_PATH
   15661   shlibpath_overrides_runpath=yes
   15662   hardcode_into_libs=yes
   15663   ;;
   15664 
   15665 newsos6)
   15666   version_type=linux # correct to gnu/linux during the next big refactor
   15667   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15668   shlibpath_var=LD_LIBRARY_PATH
   15669   shlibpath_overrides_runpath=yes
   15670   ;;
   15671 
   15672 *nto* | *qnx*)
   15673   version_type=qnx
   15674   need_lib_prefix=no
   15675   need_version=no
   15676   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15677   soname_spec='$libname$release$shared_ext$major'
   15678   shlibpath_var=LD_LIBRARY_PATH
   15679   shlibpath_overrides_runpath=no
   15680   hardcode_into_libs=yes
   15681   dynamic_linker='ldqnx.so'
   15682   ;;
   15683 
   15684 openbsd* | bitrig*)
   15685   version_type=sunos
   15686   sys_lib_dlsearch_path_spec=/usr/lib
   15687   need_lib_prefix=no
   15688   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   15689     need_version=no
   15690   else
   15691     need_version=yes
   15692   fi
   15693   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   15694   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15695   shlibpath_var=LD_LIBRARY_PATH
   15696   shlibpath_overrides_runpath=yes
   15697   ;;
   15698 
   15699 os2*)
   15700   libname_spec='$name'
   15701   version_type=windows
   15702   shrext_cmds=.dll
   15703   need_version=no
   15704   need_lib_prefix=no
   15705   # OS/2 can only load a DLL with a base name of 8 characters or less.
   15706   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   15707     v=$($ECHO $release$versuffix | tr -d .-);
   15708     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   15709     $ECHO $n$v`$shared_ext'
   15710   library_names_spec='${libname}_dll.$libext'
   15711   dynamic_linker='OS/2 ld.exe'
   15712   shlibpath_var=BEGINLIBPATH
   15713   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   15714   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15715   postinstall_cmds='base_file=`basename \$file`~
   15716     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   15717     dldir=$destdir/`dirname \$dlpath`~
   15718     test -d \$dldir || mkdir -p \$dldir~
   15719     $install_prog $dir/$dlname \$dldir/$dlname~
   15720     chmod a+x \$dldir/$dlname~
   15721     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   15722       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   15723     fi'
   15724   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   15725     dlpath=$dir/\$dldll~
   15726     $RM \$dlpath'
   15727   ;;
   15728 
   15729 osf3* | osf4* | osf5*)
   15730   version_type=osf
   15731   need_lib_prefix=no
   15732   need_version=no
   15733   soname_spec='$libname$release$shared_ext$major'
   15734   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15735   shlibpath_var=LD_LIBRARY_PATH
   15736   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15737   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15738   ;;
   15739 
   15740 rdos*)
   15741   dynamic_linker=no
   15742   ;;
   15743 
   15744 solaris*)
   15745   version_type=linux # correct to gnu/linux during the next big refactor
   15746   need_lib_prefix=no
   15747   need_version=no
   15748   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15749   soname_spec='$libname$release$shared_ext$major'
   15750   shlibpath_var=LD_LIBRARY_PATH
   15751   shlibpath_overrides_runpath=yes
   15752   hardcode_into_libs=yes
   15753   # ldd complains unless libraries are executable
   15754   postinstall_cmds='chmod +x $lib'
   15755   ;;
   15756 
   15757 sunos4*)
   15758   version_type=sunos
   15759   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   15760   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15761   shlibpath_var=LD_LIBRARY_PATH
   15762   shlibpath_overrides_runpath=yes
   15763   if test yes = "$with_gnu_ld"; then
   15764     need_lib_prefix=no
   15765   fi
   15766   need_version=yes
   15767   ;;
   15768 
   15769 sysv4 | sysv4.3*)
   15770   version_type=linux # correct to gnu/linux during the next big refactor
   15771   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15772   soname_spec='$libname$release$shared_ext$major'
   15773   shlibpath_var=LD_LIBRARY_PATH
   15774   case $host_vendor in
   15775     sni)
   15776       shlibpath_overrides_runpath=no
   15777       need_lib_prefix=no
   15778       runpath_var=LD_RUN_PATH
   15779       ;;
   15780     siemens)
   15781       need_lib_prefix=no
   15782       ;;
   15783     motorola)
   15784       need_lib_prefix=no
   15785       need_version=no
   15786       shlibpath_overrides_runpath=no
   15787       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15788       ;;
   15789   esac
   15790   ;;
   15791 
   15792 sysv4*MP*)
   15793   if test -d /usr/nec; then
   15794     version_type=linux # correct to gnu/linux during the next big refactor
   15795     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   15796     soname_spec='$libname$shared_ext.$major'
   15797     shlibpath_var=LD_LIBRARY_PATH
   15798   fi
   15799   ;;
   15800 
   15801 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15802   version_type=sco
   15803   need_lib_prefix=no
   15804   need_version=no
   15805   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   15806   soname_spec='$libname$release$shared_ext$major'
   15807   shlibpath_var=LD_LIBRARY_PATH
   15808   shlibpath_overrides_runpath=yes
   15809   hardcode_into_libs=yes
   15810   if test yes = "$with_gnu_ld"; then
   15811     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15812   else
   15813     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15814     case $host_os in
   15815       sco3.2v5*)
   15816         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15817 	;;
   15818     esac
   15819   fi
   15820   sys_lib_dlsearch_path_spec='/usr/lib'
   15821   ;;
   15822 
   15823 tpf*)
   15824   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   15825   version_type=linux # correct to gnu/linux during the next big refactor
   15826   need_lib_prefix=no
   15827   need_version=no
   15828   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15829   shlibpath_var=LD_LIBRARY_PATH
   15830   shlibpath_overrides_runpath=no
   15831   hardcode_into_libs=yes
   15832   ;;
   15833 
   15834 uts4*)
   15835   version_type=linux # correct to gnu/linux during the next big refactor
   15836   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15837   soname_spec='$libname$release$shared_ext$major'
   15838   shlibpath_var=LD_LIBRARY_PATH
   15839   ;;
   15840 
   15841 *)
   15842   dynamic_linker=no
   15843   ;;
   15844 esac
   15845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   15846 printf "%s\n" "$dynamic_linker" >&6; }
   15847 test no = "$dynamic_linker" && can_build_shared=no
   15848 
   15849 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15850 if test yes = "$GCC"; then
   15851   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15852 fi
   15853 
   15854 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   15855   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   15856 fi
   15857 
   15858 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   15859   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   15860 fi
   15861 
   15862 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   15863 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   15864 
   15865 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   15866 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   15867 
   15868 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   15869 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   15870 
   15871 
   15872 
   15873 
   15874 
   15875 
   15876 
   15877 
   15878 
   15879 
   15880 
   15881 
   15882 
   15883 
   15884 
   15885 
   15886 
   15887 
   15888 
   15889 
   15890 
   15891 
   15892 
   15893 
   15894 
   15895 
   15896 
   15897 
   15898 
   15899 
   15900 
   15901 
   15902 
   15903 
   15904 
   15905 
   15906 
   15907 
   15908 
   15909 
   15910 
   15911 
   15912 
   15913 
   15914 
   15915 
   15916 
   15917 
   15918 
   15919 
   15920 
   15921 
   15922 
   15923 
   15924 
   15925 
   15926 
   15927 
   15928 
   15929 
   15930 
   15931 
   15932 
   15933 
   15934 
   15935 
   15936 
   15937 
   15938 
   15939 
   15940 
   15941 
   15942 
   15943 
   15944 
   15945 
   15946 
   15947 
   15948 
   15949 
   15950 
   15951 
   15952 
   15953 
   15954 
   15955 
   15956 
   15957 
   15958 
   15959 
   15960 
   15961 
   15962 
   15963 
   15964 
   15965 
   15966 
   15967   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   15968 printf %s "checking how to hardcode library paths into programs... " >&6; }
   15969 hardcode_action=
   15970 if test -n "$hardcode_libdir_flag_spec" ||
   15971    test -n "$runpath_var" ||
   15972    test yes = "$hardcode_automatic"; then
   15973 
   15974   # We can hardcode non-existent directories.
   15975   if test no != "$hardcode_direct" &&
   15976      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15977      # have to relink, otherwise we might link with an installed library
   15978      # when we should be linking with a yet-to-be-installed one
   15979      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   15980      test no != "$hardcode_minus_L"; then
   15981     # Linking always hardcodes the temporary library directory.
   15982     hardcode_action=relink
   15983   else
   15984     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15985     hardcode_action=immediate
   15986   fi
   15987 else
   15988   # We cannot hardcode anything, or else we can only hardcode existing
   15989   # directories.
   15990   hardcode_action=unsupported
   15991 fi
   15992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   15993 printf "%s\n" "$hardcode_action" >&6; }
   15994 
   15995 if test relink = "$hardcode_action" ||
   15996    test yes = "$inherit_rpath"; then
   15997   # Fast installation is not supported
   15998   enable_fast_install=no
   15999 elif test yes = "$shlibpath_overrides_runpath" ||
   16000      test no = "$enable_shared"; then
   16001   # Fast installation is not necessary
   16002   enable_fast_install=needless
   16003 fi
   16004 
   16005 
   16006 
   16007 
   16008 
   16009 
   16010   if test yes != "$enable_dlopen"; then
   16011   enable_dlopen=unknown
   16012   enable_dlopen_self=unknown
   16013   enable_dlopen_self_static=unknown
   16014 else
   16015   lt_cv_dlopen=no
   16016   lt_cv_dlopen_libs=
   16017 
   16018   case $host_os in
   16019   beos*)
   16020     lt_cv_dlopen=load_add_on
   16021     lt_cv_dlopen_libs=
   16022     lt_cv_dlopen_self=yes
   16023     ;;
   16024 
   16025   mingw* | pw32* | cegcc*)
   16026     lt_cv_dlopen=LoadLibrary
   16027     lt_cv_dlopen_libs=
   16028     ;;
   16029 
   16030   cygwin*)
   16031     lt_cv_dlopen=dlopen
   16032     lt_cv_dlopen_libs=
   16033     ;;
   16034 
   16035   darwin*)
   16036     # if libdl is installed we need to link against it
   16037     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   16038 printf %s "checking for dlopen in -ldl... " >&6; }
   16039 if test ${ac_cv_lib_dl_dlopen+y}
   16040 then :
   16041   printf %s "(cached) " >&6
   16042 else $as_nop
   16043   ac_check_lib_save_LIBS=$LIBS
   16044 LIBS="-ldl  $LIBS"
   16045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16046 /* end confdefs.h.  */
   16047 
   16048 /* Override any GCC internal prototype to avoid an error.
   16049    Use char because int might match the return type of a GCC
   16050    builtin and then its argument prototype would still apply.  */
   16051 char dlopen ();
   16052 int
   16053 main (void)
   16054 {
   16055 return dlopen ();
   16056   ;
   16057   return 0;
   16058 }
   16059 _ACEOF
   16060 if ac_fn_c_try_link "$LINENO"
   16061 then :
   16062   ac_cv_lib_dl_dlopen=yes
   16063 else $as_nop
   16064   ac_cv_lib_dl_dlopen=no
   16065 fi
   16066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16067     conftest$ac_exeext conftest.$ac_ext
   16068 LIBS=$ac_check_lib_save_LIBS
   16069 fi
   16070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   16071 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   16072 if test "x$ac_cv_lib_dl_dlopen" = xyes
   16073 then :
   16074   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   16075 else $as_nop
   16076 
   16077     lt_cv_dlopen=dyld
   16078     lt_cv_dlopen_libs=
   16079     lt_cv_dlopen_self=yes
   16080 
   16081 fi
   16082 
   16083     ;;
   16084 
   16085   tpf*)
   16086     # Don't try to run any link tests for TPF.  We know it's impossible
   16087     # because TPF is a cross-compiler, and we know how we open DSOs.
   16088     lt_cv_dlopen=dlopen
   16089     lt_cv_dlopen_libs=
   16090     lt_cv_dlopen_self=no
   16091     ;;
   16092 
   16093   *)
   16094     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   16095 if test "x$ac_cv_func_shl_load" = xyes
   16096 then :
   16097   lt_cv_dlopen=shl_load
   16098 else $as_nop
   16099   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   16100 printf %s "checking for shl_load in -ldld... " >&6; }
   16101 if test ${ac_cv_lib_dld_shl_load+y}
   16102 then :
   16103   printf %s "(cached) " >&6
   16104 else $as_nop
   16105   ac_check_lib_save_LIBS=$LIBS
   16106 LIBS="-ldld  $LIBS"
   16107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16108 /* end confdefs.h.  */
   16109 
   16110 /* Override any GCC internal prototype to avoid an error.
   16111    Use char because int might match the return type of a GCC
   16112    builtin and then its argument prototype would still apply.  */
   16113 char shl_load ();
   16114 int
   16115 main (void)
   16116 {
   16117 return shl_load ();
   16118   ;
   16119   return 0;
   16120 }
   16121 _ACEOF
   16122 if ac_fn_c_try_link "$LINENO"
   16123 then :
   16124   ac_cv_lib_dld_shl_load=yes
   16125 else $as_nop
   16126   ac_cv_lib_dld_shl_load=no
   16127 fi
   16128 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16129     conftest$ac_exeext conftest.$ac_ext
   16130 LIBS=$ac_check_lib_save_LIBS
   16131 fi
   16132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   16133 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   16134 if test "x$ac_cv_lib_dld_shl_load" = xyes
   16135 then :
   16136   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   16137 else $as_nop
   16138   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   16139 if test "x$ac_cv_func_dlopen" = xyes
   16140 then :
   16141   lt_cv_dlopen=dlopen
   16142 else $as_nop
   16143   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   16144 printf %s "checking for dlopen in -ldl... " >&6; }
   16145 if test ${ac_cv_lib_dl_dlopen+y}
   16146 then :
   16147   printf %s "(cached) " >&6
   16148 else $as_nop
   16149   ac_check_lib_save_LIBS=$LIBS
   16150 LIBS="-ldl  $LIBS"
   16151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16152 /* end confdefs.h.  */
   16153 
   16154 /* Override any GCC internal prototype to avoid an error.
   16155    Use char because int might match the return type of a GCC
   16156    builtin and then its argument prototype would still apply.  */
   16157 char dlopen ();
   16158 int
   16159 main (void)
   16160 {
   16161 return dlopen ();
   16162   ;
   16163   return 0;
   16164 }
   16165 _ACEOF
   16166 if ac_fn_c_try_link "$LINENO"
   16167 then :
   16168   ac_cv_lib_dl_dlopen=yes
   16169 else $as_nop
   16170   ac_cv_lib_dl_dlopen=no
   16171 fi
   16172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16173     conftest$ac_exeext conftest.$ac_ext
   16174 LIBS=$ac_check_lib_save_LIBS
   16175 fi
   16176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   16177 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   16178 if test "x$ac_cv_lib_dl_dlopen" = xyes
   16179 then :
   16180   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   16181 else $as_nop
   16182   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   16183 printf %s "checking for dlopen in -lsvld... " >&6; }
   16184 if test ${ac_cv_lib_svld_dlopen+y}
   16185 then :
   16186   printf %s "(cached) " >&6
   16187 else $as_nop
   16188   ac_check_lib_save_LIBS=$LIBS
   16189 LIBS="-lsvld  $LIBS"
   16190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16191 /* end confdefs.h.  */
   16192 
   16193 /* Override any GCC internal prototype to avoid an error.
   16194    Use char because int might match the return type of a GCC
   16195    builtin and then its argument prototype would still apply.  */
   16196 char dlopen ();
   16197 int
   16198 main (void)
   16199 {
   16200 return dlopen ();
   16201   ;
   16202   return 0;
   16203 }
   16204 _ACEOF
   16205 if ac_fn_c_try_link "$LINENO"
   16206 then :
   16207   ac_cv_lib_svld_dlopen=yes
   16208 else $as_nop
   16209   ac_cv_lib_svld_dlopen=no
   16210 fi
   16211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16212     conftest$ac_exeext conftest.$ac_ext
   16213 LIBS=$ac_check_lib_save_LIBS
   16214 fi
   16215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   16216 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   16217 if test "x$ac_cv_lib_svld_dlopen" = xyes
   16218 then :
   16219   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   16220 else $as_nop
   16221   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   16222 printf %s "checking for dld_link in -ldld... " >&6; }
   16223 if test ${ac_cv_lib_dld_dld_link+y}
   16224 then :
   16225   printf %s "(cached) " >&6
   16226 else $as_nop
   16227   ac_check_lib_save_LIBS=$LIBS
   16228 LIBS="-ldld  $LIBS"
   16229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16230 /* end confdefs.h.  */
   16231 
   16232 /* Override any GCC internal prototype to avoid an error.
   16233    Use char because int might match the return type of a GCC
   16234    builtin and then its argument prototype would still apply.  */
   16235 char dld_link ();
   16236 int
   16237 main (void)
   16238 {
   16239 return dld_link ();
   16240   ;
   16241   return 0;
   16242 }
   16243 _ACEOF
   16244 if ac_fn_c_try_link "$LINENO"
   16245 then :
   16246   ac_cv_lib_dld_dld_link=yes
   16247 else $as_nop
   16248   ac_cv_lib_dld_dld_link=no
   16249 fi
   16250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16251     conftest$ac_exeext conftest.$ac_ext
   16252 LIBS=$ac_check_lib_save_LIBS
   16253 fi
   16254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   16255 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   16256 if test "x$ac_cv_lib_dld_dld_link" = xyes
   16257 then :
   16258   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   16259 fi
   16260 
   16261 
   16262 fi
   16263 
   16264 
   16265 fi
   16266 
   16267 
   16268 fi
   16269 
   16270 
   16271 fi
   16272 
   16273 
   16274 fi
   16275 
   16276     ;;
   16277   esac
   16278 
   16279   if test no = "$lt_cv_dlopen"; then
   16280     enable_dlopen=no
   16281   else
   16282     enable_dlopen=yes
   16283   fi
   16284 
   16285   case $lt_cv_dlopen in
   16286   dlopen)
   16287     save_CPPFLAGS=$CPPFLAGS
   16288     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   16289 
   16290     save_LDFLAGS=$LDFLAGS
   16291     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   16292 
   16293     save_LIBS=$LIBS
   16294     LIBS="$lt_cv_dlopen_libs $LIBS"
   16295 
   16296     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   16297 printf %s "checking whether a program can dlopen itself... " >&6; }
   16298 if test ${lt_cv_dlopen_self+y}
   16299 then :
   16300   printf %s "(cached) " >&6
   16301 else $as_nop
   16302   	  if test yes = "$cross_compiling"; then :
   16303   lt_cv_dlopen_self=cross
   16304 else
   16305   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   16306   lt_status=$lt_dlunknown
   16307   cat > conftest.$ac_ext <<_LT_EOF
   16308 #line $LINENO "configure"
   16309 #include "confdefs.h"
   16310 
   16311 #if HAVE_DLFCN_H
   16312 #include <dlfcn.h>
   16313 #endif
   16314 
   16315 #include <stdio.h>
   16316 
   16317 #ifdef RTLD_GLOBAL
   16318 #  define LT_DLGLOBAL		RTLD_GLOBAL
   16319 #else
   16320 #  ifdef DL_GLOBAL
   16321 #    define LT_DLGLOBAL		DL_GLOBAL
   16322 #  else
   16323 #    define LT_DLGLOBAL		0
   16324 #  endif
   16325 #endif
   16326 
   16327 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   16328    find out it does not work in some platform. */
   16329 #ifndef LT_DLLAZY_OR_NOW
   16330 #  ifdef RTLD_LAZY
   16331 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   16332 #  else
   16333 #    ifdef DL_LAZY
   16334 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   16335 #    else
   16336 #      ifdef RTLD_NOW
   16337 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   16338 #      else
   16339 #        ifdef DL_NOW
   16340 #          define LT_DLLAZY_OR_NOW	DL_NOW
   16341 #        else
   16342 #          define LT_DLLAZY_OR_NOW	0
   16343 #        endif
   16344 #      endif
   16345 #    endif
   16346 #  endif
   16347 #endif
   16348 
   16349 /* When -fvisibility=hidden is used, assume the code has been annotated
   16350    correspondingly for the symbols needed.  */
   16351 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   16352 int fnord () __attribute__((visibility("default")));
   16353 #endif
   16354 
   16355 int fnord () { return 42; }
   16356 int main ()
   16357 {
   16358   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   16359   int status = $lt_dlunknown;
   16360 
   16361   if (self)
   16362     {
   16363       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   16364       else
   16365         {
   16366 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   16367           else puts (dlerror ());
   16368 	}
   16369       /* dlclose (self); */
   16370     }
   16371   else
   16372     puts (dlerror ());
   16373 
   16374   return status;
   16375 }
   16376 _LT_EOF
   16377   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   16378   (eval $ac_link) 2>&5
   16379   ac_status=$?
   16380   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16381   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   16382     (./conftest; exit; ) >&5 2>/dev/null
   16383     lt_status=$?
   16384     case x$lt_status in
   16385       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   16386       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   16387       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   16388     esac
   16389   else :
   16390     # compilation failed
   16391     lt_cv_dlopen_self=no
   16392   fi
   16393 fi
   16394 rm -fr conftest*
   16395 
   16396 
   16397 fi
   16398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   16399 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   16400 
   16401     if test yes = "$lt_cv_dlopen_self"; then
   16402       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   16403       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   16404 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   16405 if test ${lt_cv_dlopen_self_static+y}
   16406 then :
   16407   printf %s "(cached) " >&6
   16408 else $as_nop
   16409   	  if test yes = "$cross_compiling"; then :
   16410   lt_cv_dlopen_self_static=cross
   16411 else
   16412   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   16413   lt_status=$lt_dlunknown
   16414   cat > conftest.$ac_ext <<_LT_EOF
   16415 #line $LINENO "configure"
   16416 #include "confdefs.h"
   16417 
   16418 #if HAVE_DLFCN_H
   16419 #include <dlfcn.h>
   16420 #endif
   16421 
   16422 #include <stdio.h>
   16423 
   16424 #ifdef RTLD_GLOBAL
   16425 #  define LT_DLGLOBAL		RTLD_GLOBAL
   16426 #else
   16427 #  ifdef DL_GLOBAL
   16428 #    define LT_DLGLOBAL		DL_GLOBAL
   16429 #  else
   16430 #    define LT_DLGLOBAL		0
   16431 #  endif
   16432 #endif
   16433 
   16434 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   16435    find out it does not work in some platform. */
   16436 #ifndef LT_DLLAZY_OR_NOW
   16437 #  ifdef RTLD_LAZY
   16438 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   16439 #  else
   16440 #    ifdef DL_LAZY
   16441 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   16442 #    else
   16443 #      ifdef RTLD_NOW
   16444 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   16445 #      else
   16446 #        ifdef DL_NOW
   16447 #          define LT_DLLAZY_OR_NOW	DL_NOW
   16448 #        else
   16449 #          define LT_DLLAZY_OR_NOW	0
   16450 #        endif
   16451 #      endif
   16452 #    endif
   16453 #  endif
   16454 #endif
   16455 
   16456 /* When -fvisibility=hidden is used, assume the code has been annotated
   16457    correspondingly for the symbols needed.  */
   16458 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   16459 int fnord () __attribute__((visibility("default")));
   16460 #endif
   16461 
   16462 int fnord () { return 42; }
   16463 int main ()
   16464 {
   16465   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   16466   int status = $lt_dlunknown;
   16467 
   16468   if (self)
   16469     {
   16470       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   16471       else
   16472         {
   16473 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   16474           else puts (dlerror ());
   16475 	}
   16476       /* dlclose (self); */
   16477     }
   16478   else
   16479     puts (dlerror ());
   16480 
   16481   return status;
   16482 }
   16483 _LT_EOF
   16484   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   16485   (eval $ac_link) 2>&5
   16486   ac_status=$?
   16487   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16488   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   16489     (./conftest; exit; ) >&5 2>/dev/null
   16490     lt_status=$?
   16491     case x$lt_status in
   16492       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   16493       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   16494       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   16495     esac
   16496   else :
   16497     # compilation failed
   16498     lt_cv_dlopen_self_static=no
   16499   fi
   16500 fi
   16501 rm -fr conftest*
   16502 
   16503 
   16504 fi
   16505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   16506 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   16507     fi
   16508 
   16509     CPPFLAGS=$save_CPPFLAGS
   16510     LDFLAGS=$save_LDFLAGS
   16511     LIBS=$save_LIBS
   16512     ;;
   16513   esac
   16514 
   16515   case $lt_cv_dlopen_self in
   16516   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   16517   *) enable_dlopen_self=unknown ;;
   16518   esac
   16519 
   16520   case $lt_cv_dlopen_self_static in
   16521   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   16522   *) enable_dlopen_self_static=unknown ;;
   16523   esac
   16524 fi
   16525 
   16526 
   16527 
   16528 
   16529 
   16530 
   16531 
   16532 
   16533 
   16534 
   16535 
   16536 
   16537 
   16538 
   16539 
   16540 
   16541 
   16542 striplib=
   16543 old_striplib=
   16544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   16545 printf %s "checking whether stripping libraries is possible... " >&6; }
   16546 if test -z "$STRIP"; then
   16547   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16548 printf "%s\n" "no" >&6; }
   16549 else
   16550   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   16551     old_striplib="$STRIP --strip-debug"
   16552     striplib="$STRIP --strip-unneeded"
   16553     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16554 printf "%s\n" "yes" >&6; }
   16555   else
   16556     case $host_os in
   16557     darwin*)
   16558       # FIXME - insert some real tests, host_os isn't really good enough
   16559       striplib="$STRIP -x"
   16560       old_striplib="$STRIP -S"
   16561       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16562 printf "%s\n" "yes" >&6; }
   16563       ;;
   16564     freebsd*)
   16565       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   16566         old_striplib="$STRIP --strip-debug"
   16567         striplib="$STRIP --strip-unneeded"
   16568         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16569 printf "%s\n" "yes" >&6; }
   16570       else
   16571         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16572 printf "%s\n" "no" >&6; }
   16573       fi
   16574       ;;
   16575     *)
   16576       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16577 printf "%s\n" "no" >&6; }
   16578       ;;
   16579     esac
   16580   fi
   16581 fi
   16582 
   16583 
   16584 
   16585 
   16586 
   16587 
   16588 
   16589 
   16590 
   16591 
   16592 
   16593 
   16594   # Report what library types will actually be built
   16595   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   16596 printf %s "checking if libtool supports shared libraries... " >&6; }
   16597   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   16598 printf "%s\n" "$can_build_shared" >&6; }
   16599 
   16600   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   16601 printf %s "checking whether to build shared libraries... " >&6; }
   16602   test no = "$can_build_shared" && enable_shared=no
   16603 
   16604   # On AIX, shared libraries and static libraries use the same namespace, and
   16605   # are all built from PIC.
   16606   case $host_os in
   16607   aix3*)
   16608     test yes = "$enable_shared" && enable_static=no
   16609     if test -n "$RANLIB"; then
   16610       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   16611       postinstall_cmds='$RANLIB $lib'
   16612     fi
   16613     ;;
   16614 
   16615   aix[4-9]*)
   16616     if test ia64 != "$host_cpu"; then
   16617       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   16618       yes,aix,yes) ;;			# shared object as lib.so file only
   16619       yes,svr4,*) ;;			# shared object as lib.so archive member only
   16620       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   16621       esac
   16622     fi
   16623     ;;
   16624   esac
   16625   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   16626 printf "%s\n" "$enable_shared" >&6; }
   16627 
   16628   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   16629 printf %s "checking whether to build static libraries... " >&6; }
   16630   # Make sure either enable_shared or enable_static is yes.
   16631   test yes = "$enable_shared" || enable_static=yes
   16632   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   16633 printf "%s\n" "$enable_static" >&6; }
   16634 
   16635 
   16636 
   16637 
   16638 fi
   16639 ac_ext=c
   16640 ac_cpp='$CPP $CPPFLAGS'
   16641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16644 
   16645 CC=$lt_save_CC
   16646 
   16647 
   16648 
   16649 
   16650 
   16651 
   16652 
   16653 
   16654 
   16655 
   16656 
   16657 
   16658 
   16659 
   16660 
   16661         ac_config_commands="$ac_config_commands libtool"
   16662 
   16663 
   16664 
   16665 
   16666 # Only expand once:
   16667 
   16668 
   16669 
   16670 if test "$enable_static" != "no" && test "$enable_developer" != "yes"
   16671 then :
   16672   as_fn_error $? "Static linking is not supported as it disables dlopen() and certain security features (e.g. RELRO, ASLR)" "$LINENO" 5
   16673 fi
   16674 
   16675 #
   16676 # Set the default CFLAGS, CPPFLAGS, and LDFLAGS
   16677 #
   16678 STD_CFLAGS="-Wall -Wextra -Wwrite-strings -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow"
   16679 
   16680 # These should be always errors
   16681 STD_CFLAGS="$STD_CFLAGS -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -Werror=vla"
   16682 
   16683 STD_LDFLAGS=""
   16684 
   16685 # ... except in test code
   16686 TEST_CFLAGS="-Wno-vla"
   16687 
   16688 # Fortify the sources by default
   16689 STD_CPPFLAGS="-D_FORTIFY_SOURCE=2"
   16690 
   16691 #
   16692 # Additional compiler settings.
   16693 #
   16694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fno-strict-aliasing" >&5
   16695 printf %s "checking whether C compiler accepts -fno-strict-aliasing... " >&6; }
   16696 if test ${ax_cv_check_cflags___fno_strict_aliasing+y}
   16697 then :
   16698   printf %s "(cached) " >&6
   16699 else $as_nop
   16700 
   16701   ax_check_save_flags=$CFLAGS
   16702   CFLAGS="$CFLAGS  -fno-strict-aliasing"
   16703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16704 /* end confdefs.h.  */
   16705 
   16706 int
   16707 main (void)
   16708 {
   16709 
   16710   ;
   16711   return 0;
   16712 }
   16713 _ACEOF
   16714 if ac_fn_c_try_compile "$LINENO"
   16715 then :
   16716   ax_cv_check_cflags___fno_strict_aliasing=yes
   16717 else $as_nop
   16718   ax_cv_check_cflags___fno_strict_aliasing=no
   16719 fi
   16720 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16721   CFLAGS=$ax_check_save_flags
   16722 fi
   16723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fno_strict_aliasing" >&5
   16724 printf "%s\n" "$ax_cv_check_cflags___fno_strict_aliasing" >&6; }
   16725 if test "x$ax_cv_check_cflags___fno_strict_aliasing" = xyes
   16726 then :
   16727   STD_CFLAGS="$STD_CFLAGS -fno-strict-aliasing"
   16728 else $as_nop
   16729   :
   16730 fi
   16731 
   16732 # Clang only issues a warning so use -Werror to force a error.
   16733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror -fno-delete-null-pointer-checks" >&5
   16734 printf %s "checking whether C compiler accepts -Werror -fno-delete-null-pointer-checks... " >&6; }
   16735 if test ${ax_cv_check_cflags___Werror__fno_delete_null_pointer_checks+y}
   16736 then :
   16737   printf %s "(cached) " >&6
   16738 else $as_nop
   16739 
   16740   ax_check_save_flags=$CFLAGS
   16741   CFLAGS="$CFLAGS  -Werror -fno-delete-null-pointer-checks"
   16742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16743 /* end confdefs.h.  */
   16744 
   16745 int
   16746 main (void)
   16747 {
   16748 
   16749   ;
   16750   return 0;
   16751 }
   16752 _ACEOF
   16753 if ac_fn_c_try_compile "$LINENO"
   16754 then :
   16755   ax_cv_check_cflags___Werror__fno_delete_null_pointer_checks=yes
   16756 else $as_nop
   16757   ax_cv_check_cflags___Werror__fno_delete_null_pointer_checks=no
   16758 fi
   16759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16760   CFLAGS=$ax_check_save_flags
   16761 fi
   16762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror__fno_delete_null_pointer_checks" >&5
   16763 printf "%s\n" "$ax_cv_check_cflags___Werror__fno_delete_null_pointer_checks" >&6; }
   16764 if test "x$ax_cv_check_cflags___Werror__fno_delete_null_pointer_checks" = xyes
   16765 then :
   16766   STD_CFLAGS="$STD_CFLAGS -fno-delete-null-pointer-checks"
   16767 else $as_nop
   16768   :
   16769 fi
   16770 
   16771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fdiagnostics-show-option" >&5
   16772 printf %s "checking whether C compiler accepts -fdiagnostics-show-option... " >&6; }
   16773 if test ${ax_cv_check_cflags___fdiagnostics_show_option+y}
   16774 then :
   16775   printf %s "(cached) " >&6
   16776 else $as_nop
   16777 
   16778   ax_check_save_flags=$CFLAGS
   16779   CFLAGS="$CFLAGS  -fdiagnostics-show-option"
   16780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16781 /* end confdefs.h.  */
   16782 
   16783 int
   16784 main (void)
   16785 {
   16786 
   16787   ;
   16788   return 0;
   16789 }
   16790 _ACEOF
   16791 if ac_fn_c_try_compile "$LINENO"
   16792 then :
   16793   ax_cv_check_cflags___fdiagnostics_show_option=yes
   16794 else $as_nop
   16795   ax_cv_check_cflags___fdiagnostics_show_option=no
   16796 fi
   16797 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16798   CFLAGS=$ax_check_save_flags
   16799 fi
   16800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fdiagnostics_show_option" >&5
   16801 printf "%s\n" "$ax_cv_check_cflags___fdiagnostics_show_option" >&6; }
   16802 if test "x$ax_cv_check_cflags___fdiagnostics_show_option" = xyes
   16803 then :
   16804   STD_CFLAGS="$STD_CFLAGS -fdiagnostics-show-option"
   16805 else $as_nop
   16806   :
   16807 fi
   16808 
   16809 
   16810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--export-dynamic" >&5
   16811 printf %s "checking whether the linker accepts -Wl,--export-dynamic... " >&6; }
   16812 if test ${ax_cv_check_ldflags___Wl___export_dynamic+y}
   16813 then :
   16814   printf %s "(cached) " >&6
   16815 else $as_nop
   16816 
   16817   ax_check_save_flags=$LDFLAGS
   16818   LDFLAGS="$LDFLAGS  -Wl,--export-dynamic"
   16819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16820 /* end confdefs.h.  */
   16821 
   16822 int
   16823 main (void)
   16824 {
   16825 
   16826   ;
   16827   return 0;
   16828 }
   16829 _ACEOF
   16830 if ac_fn_c_try_link "$LINENO"
   16831 then :
   16832   ax_cv_check_ldflags___Wl___export_dynamic=yes
   16833 else $as_nop
   16834   ax_cv_check_ldflags___Wl___export_dynamic=no
   16835 fi
   16836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16837     conftest$ac_exeext conftest.$ac_ext
   16838   LDFLAGS=$ax_check_save_flags
   16839 fi
   16840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___export_dynamic" >&5
   16841 printf "%s\n" "$ax_cv_check_ldflags___Wl___export_dynamic" >&6; }
   16842 if test "x$ax_cv_check_ldflags___Wl___export_dynamic" = xyes
   16843 then :
   16844   STD_LDFLAGS="$STD_LDFLAGS -Wl,--export-dynamic"
   16845 else $as_nop
   16846   :
   16847 fi
   16848 
   16849 
   16850 host_macos=no
   16851 case $host in #(
   16852   *-darwin*) :
   16853     host_macos=yes ;; #(
   16854   *) :
   16855      ;;
   16856 esac
   16857  if test "$host_macos" = "yes"; then
   16858   HOST_MACOS_TRUE=
   16859   HOST_MACOS_FALSE='#'
   16860 else
   16861   HOST_MACOS_TRUE='#'
   16862   HOST_MACOS_FALSE=
   16863 fi
   16864 
   16865 
   16866 #
   16867 # Change defaults for developers if not explicity set.
   16868 # Needs to be before the option is tested.
   16869 #
   16870 # [pairwise: --enable-developer, --disable-developer]
   16871 # Check whether --enable-developer was given.
   16872 if test ${enable_developer+y}
   16873 then :
   16874   enableval=$enable_developer;
   16875 fi
   16876 
   16877 
   16878 if test "$enable_developer" = "yes"
   16879 then :
   16880   DEVELOPER_MODE=yes
   16881        STD_CPPFLAGS="$STD_CPPFLAGS -DISC_MEM_DEFAULTFILL=1 -DISC_MEM_TRACKLINES=1 -DISC_LIST_CHECKINIT=1"
   16882        test "${enable_fixed_rrset+set}" = set || enable_fixed_rrset=yes
   16883        test "${enable_querytrace+set}" = set || enable_querytrace=yes
   16884        test "${with_cmocka+set}" = set || with_cmocka=yes
   16885        test "${with_zlib+set}" = set || with_zlib=yes
   16886        test "${enable_warn_error+set}" = set || enable_warn_error=yes
   16887 
   16888 fi
   16889 
   16890 
   16891 
   16892 
   16893 
   16894 
   16895 
   16896 # [pairwise: --enable-warn-error, --disable-warn-error]
   16897 # Check whether --enable-warn_error was given.
   16898 if test ${enable_warn_error+y}
   16899 then :
   16900   enableval=$enable_warn_error;
   16901 else $as_nop
   16902   enable_warn_error=no
   16903 fi
   16904 
   16905 if test "$enable_warn_error" = "yes"
   16906 then :
   16907   STD_CFLAGS="$STD_CFLAGS -Werror"
   16908 fi
   16909 
   16910 #
   16911 # Use pkg-config
   16912 #
   16913 
   16914 
   16915 
   16916 
   16917 
   16918 
   16919 
   16920 
   16921 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   16922 	if test -n "$ac_tool_prefix"; then
   16923   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   16924 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   16925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16926 printf %s "checking for $ac_word... " >&6; }
   16927 if test ${ac_cv_path_PKG_CONFIG+y}
   16928 then :
   16929   printf %s "(cached) " >&6
   16930 else $as_nop
   16931   case $PKG_CONFIG in
   16932   [\\/]* | ?:[\\/]*)
   16933   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   16934   ;;
   16935   *)
   16936   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16937 for as_dir in $PATH
   16938 do
   16939   IFS=$as_save_IFS
   16940   case $as_dir in #(((
   16941     '') as_dir=./ ;;
   16942     */) ;;
   16943     *) as_dir=$as_dir/ ;;
   16944   esac
   16945     for ac_exec_ext in '' $ac_executable_extensions; do
   16946   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   16947     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   16948     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   16949     break 2
   16950   fi
   16951 done
   16952   done
   16953 IFS=$as_save_IFS
   16954 
   16955   ;;
   16956 esac
   16957 fi
   16958 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   16959 if test -n "$PKG_CONFIG"; then
   16960   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   16961 printf "%s\n" "$PKG_CONFIG" >&6; }
   16962 else
   16963   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16964 printf "%s\n" "no" >&6; }
   16965 fi
   16966 
   16967 
   16968 fi
   16969 if test -z "$ac_cv_path_PKG_CONFIG"; then
   16970   ac_pt_PKG_CONFIG=$PKG_CONFIG
   16971   # Extract the first word of "pkg-config", so it can be a program name with args.
   16972 set dummy pkg-config; ac_word=$2
   16973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16974 printf %s "checking for $ac_word... " >&6; }
   16975 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   16976 then :
   16977   printf %s "(cached) " >&6
   16978 else $as_nop
   16979   case $ac_pt_PKG_CONFIG in
   16980   [\\/]* | ?:[\\/]*)
   16981   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   16982   ;;
   16983   *)
   16984   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16985 for as_dir in $PATH
   16986 do
   16987   IFS=$as_save_IFS
   16988   case $as_dir in #(((
   16989     '') as_dir=./ ;;
   16990     */) ;;
   16991     *) as_dir=$as_dir/ ;;
   16992   esac
   16993     for ac_exec_ext in '' $ac_executable_extensions; do
   16994   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   16995     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   16996     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   16997     break 2
   16998   fi
   16999 done
   17000   done
   17001 IFS=$as_save_IFS
   17002 
   17003   ;;
   17004 esac
   17005 fi
   17006 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   17007 if test -n "$ac_pt_PKG_CONFIG"; then
   17008   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   17009 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   17010 else
   17011   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17012 printf "%s\n" "no" >&6; }
   17013 fi
   17014 
   17015   if test "x$ac_pt_PKG_CONFIG" = x; then
   17016     PKG_CONFIG=""
   17017   else
   17018     case $cross_compiling:$ac_tool_warned in
   17019 yes:)
   17020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   17021 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   17022 ac_tool_warned=yes ;;
   17023 esac
   17024     PKG_CONFIG=$ac_pt_PKG_CONFIG
   17025   fi
   17026 else
   17027   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   17028 fi
   17029 
   17030 fi
   17031 if test -n "$PKG_CONFIG"; then
   17032 	_pkg_min_version=0.9.0
   17033 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   17034 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   17035 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   17036 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17037 printf "%s\n" "yes" >&6; }
   17038 	else
   17039 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17040 printf "%s\n" "no" >&6; }
   17041 		PKG_CONFIG=""
   17042 	fi
   17043 fi
   17044 if test -z "$PKG_CONFIG"
   17045 then :
   17046   as_fn_error $? "The pkg-config script could not be found or is too old." "$LINENO" 5
   17047 fi
   17048 
   17049 # Fuzzing is not included in pairwise testing as fuzzing tools are
   17050 # not present in the relevant Docker image.
   17051 #
   17052 # [pairwise: skip]
   17053 # Check whether --enable-fuzzing was given.
   17054 if test ${enable_fuzzing+y}
   17055 then :
   17056   enableval=$enable_fuzzing;
   17057 else $as_nop
   17058   enable_fuzzing=no
   17059 fi
   17060 
   17061 
   17062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable fuzzing mode" >&5
   17063 printf %s "checking whether to enable fuzzing mode... " >&6; }
   17064 case $enable_fuzzing in #(
   17065   no) :
   17066     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17067 printf "%s\n" "no" >&6; } ;; #(
   17068   afl) :
   17069 
   17070 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: using AFL" >&5
   17071 printf "%s\n" "using AFL" >&6; }
   17072 
   17073 printf "%s\n" "#define ENABLE_AFL 1" >>confdefs.h
   17074 
   17075 	  STD_CFLAGS="$STD_CFLAGS -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION=1"
   17076 	  FUZZ_LOG_COMPILER="afl.sh" ;; #(
   17077   libfuzzer) :
   17078 
   17079 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: using libFuzzer" >&5
   17080 printf "%s\n" "using libFuzzer" >&6; }
   17081 	  STD_CFLAGS="$STD_CFLAGS -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION=1 -fsanitize=fuzzer-no-link,address,undefined"
   17082 	  LDFLAGS="$LDFLAGS -fsanitize=address,undefined"
   17083 	  FUZZ_LDFLAGS="-fsanitize=fuzzer,address,undefined"
   17084 	  FUZZ_LOG_COMPILER="libfuzzer.sh" ;; #(
   17085   ossfuzz) :
   17086 
   17087 	    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: using OSS-Fuzz" >&5
   17088 printf "%s\n" "using OSS-Fuzz" >&6; }
   17089 	    FUZZ_LDFLAGS="$LIB_FUZZING_ENGINE" ;; #(
   17090   *) :
   17091     as_fn_error $? "You need to explicitly select the fuzzer" "$LINENO" 5 ;; #(
   17092   *) :
   17093      ;;
   17094 esac
   17095  if test -n "$FUZZ_LOG_COMPILER"; then
   17096   HAVE_FUZZ_LOG_COMPILER_TRUE=
   17097   HAVE_FUZZ_LOG_COMPILER_FALSE='#'
   17098 else
   17099   HAVE_FUZZ_LOG_COMPILER_TRUE='#'
   17100   HAVE_FUZZ_LOG_COMPILER_FALSE=
   17101 fi
   17102 
   17103 
   17104 
   17105 
   17106 if test "$enable_fuzzing" = "afl"
   17107 then :
   17108   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking \"for AFL enabled compiler\"" >&5
   17109 printf %s "checking \"for AFL enabled compiler\"... " >&6; }
   17110        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17111 /* end confdefs.h.  */
   17112 
   17113 int
   17114 main (void)
   17115 {
   17116 #ifndef __AFL_COMPILER
   17117 					   #error AFL compiler required
   17118 					   #endif
   17119 
   17120   ;
   17121   return 0;
   17122 }
   17123 _ACEOF
   17124 if ac_fn_c_try_compile "$LINENO"
   17125 then :
   17126   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17127 printf "%s\n" "yes" >&6; }
   17128 else $as_nop
   17129   as_fn_error $? "set CC=afl-<gcc|clang> when --enable-fuzzing=afl is used" "$LINENO" 5
   17130 fi
   17131 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17132 
   17133 fi
   17134 
   17135 #
   17136 # Perl is optional; it is used only by some of the system test scripts.
   17137 #
   17138 for ac_prog in perl5 perl
   17139 do
   17140   # Extract the first word of "$ac_prog", so it can be a program name with args.
   17141 set dummy $ac_prog; ac_word=$2
   17142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17143 printf %s "checking for $ac_word... " >&6; }
   17144 if test ${ac_cv_path_PERL+y}
   17145 then :
   17146   printf %s "(cached) " >&6
   17147 else $as_nop
   17148   case $PERL in
   17149   [\\/]* | ?:[\\/]*)
   17150   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   17151   ;;
   17152   *)
   17153   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17154 for as_dir in $PATH
   17155 do
   17156   IFS=$as_save_IFS
   17157   case $as_dir in #(((
   17158     '') as_dir=./ ;;
   17159     */) ;;
   17160     *) as_dir=$as_dir/ ;;
   17161   esac
   17162     for ac_exec_ext in '' $ac_executable_extensions; do
   17163   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   17164     ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext"
   17165     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   17166     break 2
   17167   fi
   17168 done
   17169   done
   17170 IFS=$as_save_IFS
   17171 
   17172   ;;
   17173 esac
   17174 fi
   17175 PERL=$ac_cv_path_PERL
   17176 if test -n "$PERL"; then
   17177   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   17178 printf "%s\n" "$PERL" >&6; }
   17179 else
   17180   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17181 printf "%s\n" "no" >&6; }
   17182 fi
   17183 
   17184 
   17185   test -n "$PERL" && break
   17186 done
   17187 
   17188 
   17189  if test -n "$PERL"; then
   17190   HAVE_PERL_TRUE=
   17191   HAVE_PERL_FALSE='#'
   17192 else
   17193   HAVE_PERL_TRUE='#'
   17194   HAVE_PERL_FALSE=
   17195 fi
   17196 
   17197 
   17198 #
   17199 # Python is optional, it is used only by some of the system test scripts.
   17200 #
   17201 
   17202 
   17203 
   17204 
   17205 
   17206 
   17207         if test -n "$PYTHON"; then
   17208       # If the user set $PYTHON, use it and don't search something else.
   17209       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 3.6" >&5
   17210 printf %s "checking whether $PYTHON version is >= 3.6... " >&6; }
   17211       prog="import sys
   17212 # split strings by '.' and convert to numeric.  Append some zeros
   17213 # because we need at least 4 digits for the hex conversion.
   17214 # map returns an iterator in Python 3.0 and a list in 2.x
   17215 minver = list(map(int, '3.6'.split('.'))) + [0, 0, 0]
   17216 minverhex = 0
   17217 # xrange is not present in Python 3.0 and range returns an iterator
   17218 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
   17219 sys.exit(sys.hexversion < minverhex)"
   17220   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
   17221    ($PYTHON -c "$prog") >&5 2>&5
   17222    ac_status=$?
   17223    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17224    (exit $ac_status); }
   17225 then :
   17226   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17227 printf "%s\n" "yes" >&6; }
   17228 else $as_nop
   17229   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17230 printf "%s\n" "no" >&6; }
   17231 			       as_fn_error $? "Python interpreter is too old" "$LINENO" 5
   17232 fi
   17233       am_display_PYTHON=$PYTHON
   17234     else
   17235       # Otherwise, try each interpreter until we find one that satisfies
   17236       # VERSION.
   17237       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 3.6" >&5
   17238 printf %s "checking for a Python interpreter with version >= 3.6... " >&6; }
   17239 if test ${am_cv_pathless_PYTHON+y}
   17240 then :
   17241   printf %s "(cached) " >&6
   17242 else $as_nop
   17243 
   17244 	for am_cv_pathless_PYTHON in python python2 python3  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.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1  python2.0 none; do
   17245 	  test "$am_cv_pathless_PYTHON" = none && break
   17246 	  prog="import sys
   17247 # split strings by '.' and convert to numeric.  Append some zeros
   17248 # because we need at least 4 digits for the hex conversion.
   17249 # map returns an iterator in Python 3.0 and a list in 2.x
   17250 minver = list(map(int, '3.6'.split('.'))) + [0, 0, 0]
   17251 minverhex = 0
   17252 # xrange is not present in Python 3.0 and range returns an iterator
   17253 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
   17254 sys.exit(sys.hexversion < minverhex)"
   17255   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
   17256    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
   17257    ac_status=$?
   17258    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17259    (exit $ac_status); }
   17260 then :
   17261   break
   17262 fi
   17263 	done
   17264 fi
   17265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
   17266 printf "%s\n" "$am_cv_pathless_PYTHON" >&6; }
   17267       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
   17268       if test "$am_cv_pathless_PYTHON" = none; then
   17269 	PYTHON=:
   17270       else
   17271         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
   17272 set dummy $am_cv_pathless_PYTHON; ac_word=$2
   17273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17274 printf %s "checking for $ac_word... " >&6; }
   17275 if test ${ac_cv_path_PYTHON+y}
   17276 then :
   17277   printf %s "(cached) " >&6
   17278 else $as_nop
   17279   case $PYTHON in
   17280   [\\/]* | ?:[\\/]*)
   17281   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
   17282   ;;
   17283   *)
   17284   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17285 for as_dir in $PATH
   17286 do
   17287   IFS=$as_save_IFS
   17288   case $as_dir in #(((
   17289     '') as_dir=./ ;;
   17290     */) ;;
   17291     *) as_dir=$as_dir/ ;;
   17292   esac
   17293     for ac_exec_ext in '' $ac_executable_extensions; do
   17294   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   17295     ac_cv_path_PYTHON="$as_dir$ac_word$ac_exec_ext"
   17296     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   17297     break 2
   17298   fi
   17299 done
   17300   done
   17301 IFS=$as_save_IFS
   17302 
   17303   ;;
   17304 esac
   17305 fi
   17306 PYTHON=$ac_cv_path_PYTHON
   17307 if test -n "$PYTHON"; then
   17308   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
   17309 printf "%s\n" "$PYTHON" >&6; }
   17310 else
   17311   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17312 printf "%s\n" "no" >&6; }
   17313 fi
   17314 
   17315 
   17316       fi
   17317       am_display_PYTHON=$am_cv_pathless_PYTHON
   17318     fi
   17319 
   17320 
   17321   if test "$PYTHON" = :; then
   17322         :
   17323   else
   17324 
   17325               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
   17326 printf %s "checking for $am_display_PYTHON version... " >&6; }
   17327 if test ${am_cv_python_version+y}
   17328 then :
   17329   printf %s "(cached) " >&6
   17330 else $as_nop
   17331   am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"`
   17332 fi
   17333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
   17334 printf "%s\n" "$am_cv_python_version" >&6; }
   17335   PYTHON_VERSION=$am_cv_python_version
   17336 
   17337 
   17338         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
   17339 printf %s "checking for $am_display_PYTHON platform... " >&6; }
   17340 if test ${am_cv_python_platform+y}
   17341 then :
   17342   printf %s "(cached) " >&6
   17343 else $as_nop
   17344   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
   17345 fi
   17346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
   17347 printf "%s\n" "$am_cv_python_platform" >&6; }
   17348   PYTHON_PLATFORM=$am_cv_python_platform
   17349 
   17350 
   17351                             if test "x$prefix" = xNONE; then
   17352     am__usable_prefix=$ac_default_prefix
   17353   else
   17354     am__usable_prefix=$prefix
   17355   fi
   17356 
   17357   # Allow user to request using sys.* values from Python,
   17358   # instead of the GNU $prefix values.
   17359 
   17360 # Check whether --with-python-sys-prefix was given.
   17361 if test ${with_python_sys_prefix+y}
   17362 then :
   17363   withval=$with_python_sys_prefix; am_use_python_sys=:
   17364 else $as_nop
   17365   am_use_python_sys=false
   17366 fi
   17367 
   17368 
   17369   # Allow user to override whatever the default Python prefix is.
   17370 
   17371 # Check whether --with-python_prefix was given.
   17372 if test ${with_python_prefix+y}
   17373 then :
   17374   withval=$with_python_prefix; am_python_prefix_subst=$withval
   17375    am_cv_python_prefix=$withval
   17376    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON prefix" >&5
   17377 printf %s "checking for explicit $am_display_PYTHON prefix... " >&6; }
   17378    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
   17379 printf "%s\n" "$am_cv_python_prefix" >&6; }
   17380 else $as_nop
   17381 
   17382    if $am_use_python_sys; then
   17383      # using python sys.prefix value, not GNU
   17384      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON prefix" >&5
   17385 printf %s "checking for python default $am_display_PYTHON prefix... " >&6; }
   17386 if test ${am_cv_python_prefix+y}
   17387 then :
   17388   printf %s "(cached) " >&6
   17389 else $as_nop
   17390   am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
   17391 fi
   17392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
   17393 printf "%s\n" "$am_cv_python_prefix" >&6; }
   17394 
   17395                case $am_cv_python_prefix in
   17396      $am__usable_prefix*)
   17397        am__strip_prefix=`echo "$am__usable_prefix" | sed 's|.|.|g'`
   17398        am_python_prefix_subst=`echo "$am_cv_python_prefix" | sed "s,^$am__strip_prefix,\\${prefix},"`
   17399        ;;
   17400      *)
   17401        am_python_prefix_subst=$am_cv_python_prefix
   17402        ;;
   17403      esac
   17404    else # using GNU prefix value, not python sys.prefix
   17405      am_python_prefix_subst='${prefix}'
   17406      am_python_prefix=$am_python_prefix_subst
   17407      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON prefix" >&5
   17408 printf %s "checking for GNU default $am_display_PYTHON prefix... " >&6; }
   17409      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_prefix" >&5
   17410 printf "%s\n" "$am_python_prefix" >&6; }
   17411    fi
   17412 fi
   17413 
   17414   # Substituting python_prefix_subst value.
   17415   PYTHON_PREFIX=$am_python_prefix_subst
   17416 
   17417 
   17418   # emacs-page Now do it all over again for Python exec_prefix, but with yet
   17419   # another conditional: fall back to regular prefix if that was specified.
   17420 
   17421 # Check whether --with-python_exec_prefix was given.
   17422 if test ${with_python_exec_prefix+y}
   17423 then :
   17424   withval=$with_python_exec_prefix; am_python_exec_prefix_subst=$withval
   17425    am_cv_python_exec_prefix=$withval
   17426    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON exec_prefix" >&5
   17427 printf %s "checking for explicit $am_display_PYTHON exec_prefix... " >&6; }
   17428    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
   17429 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
   17430 else $as_nop
   17431 
   17432    # no explicit --with-python_exec_prefix, but if
   17433    # --with-python_prefix was given, use its value for python_exec_prefix too.
   17434    if test -n "$with_python_prefix"
   17435 then :
   17436   am_python_exec_prefix_subst=$with_python_prefix
   17437     am_cv_python_exec_prefix=$with_python_prefix
   17438     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python_prefix-given $am_display_PYTHON exec_prefix" >&5
   17439 printf %s "checking for python_prefix-given $am_display_PYTHON exec_prefix... " >&6; }
   17440     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
   17441 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
   17442 else $as_nop
   17443 
   17444     # Set am__usable_exec_prefix whether using GNU or Python values,
   17445     # since we use that variable for pyexecdir.
   17446     if test "x$exec_prefix" = xNONE; then
   17447       am__usable_exec_prefix=$am__usable_prefix
   17448     else
   17449       am__usable_exec_prefix=$exec_prefix
   17450     fi
   17451     #
   17452     if $am_use_python_sys; then # using python sys.exec_prefix, not GNU
   17453       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON exec_prefix" >&5
   17454 printf %s "checking for python default $am_display_PYTHON exec_prefix... " >&6; }
   17455 if test ${am_cv_python_exec_prefix+y}
   17456 then :
   17457   printf %s "(cached) " >&6
   17458 else $as_nop
   17459   am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
   17460 fi
   17461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
   17462 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
   17463                         case $am_cv_python_exec_prefix in
   17464       $am__usable_exec_prefix*)
   17465         am__strip_prefix=`echo "$am__usable_exec_prefix" | sed 's|.|.|g'`
   17466         am_python_exec_prefix_subst=`echo "$am_cv_python_exec_prefix" | sed "s,^$am__strip_prefix,\\${exec_prefix},"`
   17467         ;;
   17468       *)
   17469         am_python_exec_prefix_subst=$am_cv_python_exec_prefix
   17470         ;;
   17471      esac
   17472    else # using GNU $exec_prefix, not python sys.exec_prefix
   17473      am_python_exec_prefix_subst='${exec_prefix}'
   17474      am_python_exec_prefix=$am_python_exec_prefix_subst
   17475      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON exec_prefix" >&5
   17476 printf %s "checking for GNU default $am_display_PYTHON exec_prefix... " >&6; }
   17477      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_exec_prefix" >&5
   17478 printf "%s\n" "$am_python_exec_prefix" >&6; }
   17479    fi
   17480 fi
   17481 fi
   17482 
   17483   # Substituting python_exec_prefix_subst.
   17484   PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst
   17485 
   17486 
   17487   # Factor out some code duplication into this shell variable.
   17488   am_python_setup_sysconfig="\
   17489 import sys
   17490 # Prefer sysconfig over distutils.sysconfig, for better compatibility
   17491 # with python 3.x.  See automake bug#10227.
   17492 try:
   17493     import sysconfig
   17494 except ImportError:
   17495     can_use_sysconfig = 0
   17496 else:
   17497     can_use_sysconfig = 1
   17498 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
   17499 # <https://github.com/pypa/virtualenv/issues/118>
   17500 try:
   17501     from platform import python_implementation
   17502     if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
   17503         can_use_sysconfig = 0
   17504 except ImportError:
   17505     pass"
   17506 
   17507 
   17508               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory (pythondir)" >&5
   17509 printf %s "checking for $am_display_PYTHON script directory (pythondir)... " >&6; }
   17510 if test ${am_cv_python_pythondir+y}
   17511 then :
   17512   printf %s "(cached) " >&6
   17513 else $as_nop
   17514   if test "x$am_cv_python_prefix" = x; then
   17515      am_py_prefix=$am__usable_prefix
   17516    else
   17517      am_py_prefix=$am_cv_python_prefix
   17518    fi
   17519    am_cv_python_pythondir=`$PYTHON -c "
   17520 $am_python_setup_sysconfig
   17521 if can_use_sysconfig:
   17522   if hasattr(sysconfig, 'get_default_scheme'):
   17523     scheme = sysconfig.get_default_scheme()
   17524   else:
   17525     scheme = sysconfig._get_default_scheme()
   17526   if scheme == 'posix_local':
   17527     # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
   17528     scheme = 'posix_prefix'
   17529   sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'})
   17530 else:
   17531   from distutils import sysconfig
   17532   sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
   17533 sys.stdout.write(sitedir)"`
   17534    #
   17535    case $am_cv_python_pythondir in
   17536    $am_py_prefix*)
   17537      am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
   17538      am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
   17539      ;;
   17540    *)
   17541      case $am_py_prefix in
   17542        /usr|/System*) ;;
   17543        *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
   17544           ;;
   17545      esac
   17546      ;;
   17547    esac
   17548 
   17549 fi
   17550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
   17551 printf "%s\n" "$am_cv_python_pythondir" >&6; }
   17552   pythondir=$am_cv_python_pythondir
   17553 
   17554 
   17555           pkgpythondir=\${pythondir}/$PACKAGE
   17556 
   17557 
   17558           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory (pyexecdir)" >&5
   17559 printf %s "checking for $am_display_PYTHON extension module directory (pyexecdir)... " >&6; }
   17560 if test ${am_cv_python_pyexecdir+y}
   17561 then :
   17562   printf %s "(cached) " >&6
   17563 else $as_nop
   17564   if test "x$am_cv_python_exec_prefix" = x; then
   17565      am_py_exec_prefix=$am__usable_exec_prefix
   17566    else
   17567      am_py_exec_prefix=$am_cv_python_exec_prefix
   17568    fi
   17569    am_cv_python_pyexecdir=`$PYTHON -c "
   17570 $am_python_setup_sysconfig
   17571 if can_use_sysconfig:
   17572   if hasattr(sysconfig, 'get_default_scheme'):
   17573     scheme = sysconfig.get_default_scheme()
   17574   else:
   17575     scheme = sysconfig._get_default_scheme()
   17576   if scheme == 'posix_local':
   17577     # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
   17578     scheme = 'posix_prefix'
   17579   sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'})
   17580 else:
   17581   from distutils import sysconfig
   17582   sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
   17583 sys.stdout.write(sitedir)"`
   17584    #
   17585    case $am_cv_python_pyexecdir in
   17586    $am_py_exec_prefix*)
   17587      am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
   17588      am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
   17589      ;;
   17590    *)
   17591      case $am_py_exec_prefix in
   17592        /usr|/System*) ;;
   17593        *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
   17594           ;;
   17595      esac
   17596      ;;
   17597    esac
   17598 
   17599 fi
   17600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
   17601 printf "%s\n" "$am_cv_python_pyexecdir" >&6; }
   17602   pyexecdir=$am_cv_python_pyexecdir
   17603 
   17604 
   17605       pkgpyexecdir=\${pyexecdir}/$PACKAGE
   17606 
   17607 
   17608 
   17609   fi
   17610 
   17611  if test "$PYTHON" != ":"; then
   17612   HAVE_PYTHON_TRUE=
   17613   HAVE_PYTHON_FALSE='#'
   17614 else
   17615   HAVE_PYTHON_TRUE='#'
   17616   HAVE_PYTHON_FALSE=
   17617 fi
   17618 
   17619 
   17620 for ac_prog in pytest-3 py.test-3 pytest py.test pytest-pypy
   17621 do
   17622   # Extract the first word of "$ac_prog", so it can be a program name with args.
   17623 set dummy $ac_prog; ac_word=$2
   17624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17625 printf %s "checking for $ac_word... " >&6; }
   17626 if test ${ac_cv_path_PYTEST+y}
   17627 then :
   17628   printf %s "(cached) " >&6
   17629 else $as_nop
   17630   case $PYTEST in
   17631   [\\/]* | ?:[\\/]*)
   17632   ac_cv_path_PYTEST="$PYTEST" # Let the user override the test with a path.
   17633   ;;
   17634   *)
   17635   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17636 for as_dir in $PATH
   17637 do
   17638   IFS=$as_save_IFS
   17639   case $as_dir in #(((
   17640     '') as_dir=./ ;;
   17641     */) ;;
   17642     *) as_dir=$as_dir/ ;;
   17643   esac
   17644     for ac_exec_ext in '' $ac_executable_extensions; do
   17645   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   17646     ac_cv_path_PYTEST="$as_dir$ac_word$ac_exec_ext"
   17647     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   17648     break 2
   17649   fi
   17650 done
   17651   done
   17652 IFS=$as_save_IFS
   17653 
   17654   ;;
   17655 esac
   17656 fi
   17657 PYTEST=$ac_cv_path_PYTEST
   17658 if test -n "$PYTEST"; then
   17659   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTEST" >&5
   17660 printf "%s\n" "$PYTEST" >&6; }
   17661 else
   17662   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17663 printf "%s\n" "no" >&6; }
   17664 fi
   17665 
   17666 
   17667   test -n "$PYTEST" && break
   17668 done
   17669 
   17670 if test -z "$PYTEST"
   17671 then :
   17672   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pytest not found, some system tests will be skipped" >&5
   17673 printf "%s\n" "$as_me: WARNING: pytest not found, some system tests will be skipped" >&2;}
   17674 fi
   17675 
   17676  if test -n "$PYTEST"; then
   17677   HAVE_PYTEST_TRUE=
   17678   HAVE_PYTEST_FALSE='#'
   17679 else
   17680   HAVE_PYTEST_TRUE='#'
   17681   HAVE_PYTEST_FALSE=
   17682 fi
   17683 
   17684 
   17685 #
   17686 # xsltproc is optional, it is used only by system test scripts.
   17687 #
   17688 # Extract the first word of "xsltproc", so it can be a program name with args.
   17689 set dummy xsltproc; ac_word=$2
   17690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17691 printf %s "checking for $ac_word... " >&6; }
   17692 if test ${ac_cv_path_XSLTPROC+y}
   17693 then :
   17694   printf %s "(cached) " >&6
   17695 else $as_nop
   17696   case $XSLTPROC in
   17697   [\\/]* | ?:[\\/]*)
   17698   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   17699   ;;
   17700   *)
   17701   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17702 for as_dir in $PATH
   17703 do
   17704   IFS=$as_save_IFS
   17705   case $as_dir in #(((
   17706     '') as_dir=./ ;;
   17707     */) ;;
   17708     *) as_dir=$as_dir/ ;;
   17709   esac
   17710     for ac_exec_ext in '' $ac_executable_extensions; do
   17711   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   17712     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   17713     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   17714     break 2
   17715   fi
   17716 done
   17717   done
   17718 IFS=$as_save_IFS
   17719 
   17720   ;;
   17721 esac
   17722 fi
   17723 XSLTPROC=$ac_cv_path_XSLTPROC
   17724 if test -n "$XSLTPROC"; then
   17725   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   17726 printf "%s\n" "$XSLTPROC" >&6; }
   17727 else
   17728   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17729 printf "%s\n" "no" >&6; }
   17730 fi
   17731 
   17732 
   17733 
   17734 #
   17735 # Using Solaris linker with gcc on Solaris breaks Thread Local Storage
   17736 #
   17737 case $host in #(
   17738   *-solaris*) :
   17739 
   17740 	    if test "$GCC" = "yes"
   17741 then :
   17742   LDFLAGS="$LDFLAGS -zrelax=transtls"
   17743 		   { 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
   17744 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;}
   17745 
   17746 fi
   17747 	 ;; #(
   17748   *) :
   17749      ;;
   17750 esac
   17751 
   17752 ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default
   17753 		  #ifdef HAVE_SYS_PARAM_H
   17754 		  # include <sys/param.h>
   17755 		  #endif
   17756 		  #ifdef HAVE_SYS_SOCKET_H
   17757 		  # include <sys/socket.h>
   17758 		  #endif
   17759 
   17760 "
   17761 if test "x$ac_cv_header_fcntl_h" = xyes
   17762 then :
   17763   printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h
   17764 
   17765 fi
   17766 ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default
   17767 		  #ifdef HAVE_SYS_PARAM_H
   17768 		  # include <sys/param.h>
   17769 		  #endif
   17770 		  #ifdef HAVE_SYS_SOCKET_H
   17771 		  # include <sys/socket.h>
   17772 		  #endif
   17773 
   17774 "
   17775 if test "x$ac_cv_header_regex_h" = xyes
   17776 then :
   17777   printf "%s\n" "#define HAVE_REGEX_H 1" >>confdefs.h
   17778 
   17779 fi
   17780 ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default
   17781 		  #ifdef HAVE_SYS_PARAM_H
   17782 		  # include <sys/param.h>
   17783 		  #endif
   17784 		  #ifdef HAVE_SYS_SOCKET_H
   17785 		  # include <sys/socket.h>
   17786 		  #endif
   17787 
   17788 "
   17789 if test "x$ac_cv_header_sys_time_h" = xyes
   17790 then :
   17791   printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
   17792 
   17793 fi
   17794 ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default
   17795 		  #ifdef HAVE_SYS_PARAM_H
   17796 		  # include <sys/param.h>
   17797 		  #endif
   17798 		  #ifdef HAVE_SYS_SOCKET_H
   17799 		  # include <sys/socket.h>
   17800 		  #endif
   17801 
   17802 "
   17803 if test "x$ac_cv_header_unistd_h" = xyes
   17804 then :
   17805   printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
   17806 
   17807 fi
   17808 ac_fn_c_check_header_compile "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default
   17809 		  #ifdef HAVE_SYS_PARAM_H
   17810 		  # include <sys/param.h>
   17811 		  #endif
   17812 		  #ifdef HAVE_SYS_SOCKET_H
   17813 		  # include <sys/socket.h>
   17814 		  #endif
   17815 
   17816 "
   17817 if test "x$ac_cv_header_sys_mman_h" = xyes
   17818 then :
   17819   printf "%s\n" "#define HAVE_SYS_MMAN_H 1" >>confdefs.h
   17820 
   17821 fi
   17822 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default
   17823 		  #ifdef HAVE_SYS_PARAM_H
   17824 		  # include <sys/param.h>
   17825 		  #endif
   17826 		  #ifdef HAVE_SYS_SOCKET_H
   17827 		  # include <sys/socket.h>
   17828 		  #endif
   17829 
   17830 "
   17831 if test "x$ac_cv_header_sys_sockio_h" = xyes
   17832 then :
   17833   printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
   17834 
   17835 fi
   17836 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
   17837 		  #ifdef HAVE_SYS_PARAM_H
   17838 		  # include <sys/param.h>
   17839 		  #endif
   17840 		  #ifdef HAVE_SYS_SOCKET_H
   17841 		  # include <sys/socket.h>
   17842 		  #endif
   17843 
   17844 "
   17845 if test "x$ac_cv_header_sys_select_h" = xyes
   17846 then :
   17847   printf "%s\n" "#define HAVE_SYS_SELECT_H 1" >>confdefs.h
   17848 
   17849 fi
   17850 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default
   17851 		  #ifdef HAVE_SYS_PARAM_H
   17852 		  # include <sys/param.h>
   17853 		  #endif
   17854 		  #ifdef HAVE_SYS_SOCKET_H
   17855 		  # include <sys/socket.h>
   17856 		  #endif
   17857 
   17858 "
   17859 if test "x$ac_cv_header_sys_param_h" = xyes
   17860 then :
   17861   printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
   17862 
   17863 fi
   17864 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "$ac_includes_default
   17865 		  #ifdef HAVE_SYS_PARAM_H
   17866 		  # include <sys/param.h>
   17867 		  #endif
   17868 		  #ifdef HAVE_SYS_SOCKET_H
   17869 		  # include <sys/socket.h>
   17870 		  #endif
   17871 
   17872 "
   17873 if test "x$ac_cv_header_sys_sysctl_h" = xyes
   17874 then :
   17875   printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
   17876 
   17877 fi
   17878 ac_fn_c_check_header_compile "$LINENO" "net/if6.h" "ac_cv_header_net_if6_h" "$ac_includes_default
   17879 		  #ifdef HAVE_SYS_PARAM_H
   17880 		  # include <sys/param.h>
   17881 		  #endif
   17882 		  #ifdef HAVE_SYS_SOCKET_H
   17883 		  # include <sys/socket.h>
   17884 		  #endif
   17885 
   17886 "
   17887 if test "x$ac_cv_header_net_if6_h" = xyes
   17888 then :
   17889   printf "%s\n" "#define HAVE_NET_IF6_H 1" >>confdefs.h
   17890 
   17891 fi
   17892 ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default
   17893 		  #ifdef HAVE_SYS_PARAM_H
   17894 		  # include <sys/param.h>
   17895 		  #endif
   17896 		  #ifdef HAVE_SYS_SOCKET_H
   17897 		  # include <sys/socket.h>
   17898 		  #endif
   17899 
   17900 "
   17901 if test "x$ac_cv_header_sys_socket_h" = xyes
   17902 then :
   17903   printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h
   17904 
   17905 fi
   17906 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "$ac_includes_default
   17907 		  #ifdef HAVE_SYS_PARAM_H
   17908 		  # include <sys/param.h>
   17909 		  #endif
   17910 		  #ifdef HAVE_SYS_SOCKET_H
   17911 		  # include <sys/socket.h>
   17912 		  #endif
   17913 
   17914 "
   17915 if test "x$ac_cv_header_net_route_h" = xyes
   17916 then :
   17917   printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
   17918 
   17919 fi
   17920 ac_fn_c_check_header_compile "$LINENO" "linux/netlink.h" "ac_cv_header_linux_netlink_h" "$ac_includes_default
   17921 		  #ifdef HAVE_SYS_PARAM_H
   17922 		  # include <sys/param.h>
   17923 		  #endif
   17924 		  #ifdef HAVE_SYS_SOCKET_H
   17925 		  # include <sys/socket.h>
   17926 		  #endif
   17927 
   17928 "
   17929 if test "x$ac_cv_header_linux_netlink_h" = xyes
   17930 then :
   17931   printf "%s\n" "#define HAVE_LINUX_NETLINK_H 1" >>confdefs.h
   17932 
   17933 fi
   17934 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "$ac_includes_default
   17935 		  #ifdef HAVE_SYS_PARAM_H
   17936 		  # include <sys/param.h>
   17937 		  #endif
   17938 		  #ifdef HAVE_SYS_SOCKET_H
   17939 		  # include <sys/socket.h>
   17940 		  #endif
   17941 
   17942 "
   17943 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
   17944 then :
   17945   printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
   17946 
   17947 fi
   17948 
   17949 
   17950 #
   17951 # Check for thread local storage
   17952 #
   17953 ac_fn_c_check_header_compile "$LINENO" "threads.h" "ac_cv_header_threads_h" "$ac_includes_default"
   17954 if test "x$ac_cv_header_threads_h" = xyes
   17955 then :
   17956   printf "%s\n" "#define HAVE_THREADS_H 1" >>confdefs.h
   17957 
   17958 fi
   17959 
   17960 
   17961   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for thread local storage (TLS) class" >&5
   17962 printf %s "checking for thread local storage (TLS) class... " >&6; }
   17963   if test ${ac_cv_tls+y}
   17964 then :
   17965   printf %s "(cached) " >&6
   17966 else $as_nop
   17967   for ax_tls_keyword in thread_local _Thread_local __thread '__declspec(thread)' none; do
   17968        case $ax_tls_keyword in #(
   17969   none) :
   17970     ac_cv_tls=none ; break ;; #(
   17971   *) :
   17972     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17973 /* end confdefs.h.  */
   17974 #include <stdlib.h>
   17975 int
   17976 main (void)
   17977 {
   17978 static  $ax_tls_keyword  int bar;
   17979 
   17980   ;
   17981   return 0;
   17982 }
   17983 _ACEOF
   17984 if ac_fn_c_try_compile "$LINENO"
   17985 then :
   17986   ac_cv_tls=$ax_tls_keyword ; break
   17987 else $as_nop
   17988   ac_cv_tls=none
   17989 
   17990 fi
   17991 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17992          ;;
   17993 esac
   17994     done
   17995 
   17996 fi
   17997 
   17998   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5
   17999 printf "%s\n" "$ac_cv_tls" >&6; }
   18000 
   18001   if test "$ac_cv_tls" != "none"
   18002 then :
   18003 
   18004 printf "%s\n" "#define TLS $ac_cv_tls" >>confdefs.h
   18005 
   18006      if test "$ac_cv_tls" != "thread_local"
   18007 then :
   18008 
   18009 printf "%s\n" "#define thread_local $ac_cv_tls" >>confdefs.h
   18010 
   18011 fi
   18012 else $as_nop
   18013   as_fn_error $? "Thread Local Storage support required, update your toolchain to build BIND 9" "$LINENO" 5
   18014 fi
   18015 
   18016 
   18017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   18018 printf %s "checking for an ANSI C-conforming const... " >&6; }
   18019 if test ${ac_cv_c_const+y}
   18020 then :
   18021   printf %s "(cached) " >&6
   18022 else $as_nop
   18023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18024 /* end confdefs.h.  */
   18025 
   18026 int
   18027 main (void)
   18028 {
   18029 
   18030 #ifndef __cplusplus
   18031   /* Ultrix mips cc rejects this sort of thing.  */
   18032   typedef int charset[2];
   18033   const charset cs = { 0, 0 };
   18034   /* SunOS 4.1.1 cc rejects this.  */
   18035   char const *const *pcpcc;
   18036   char **ppc;
   18037   /* NEC SVR4.0.2 mips cc rejects this.  */
   18038   struct point {int x, y;};
   18039   static struct point const zero = {0,0};
   18040   /* IBM XL C 1.02.0.0 rejects this.
   18041      It does not let you subtract one const X* pointer from another in
   18042      an arm of an if-expression whose if-part is not a constant
   18043      expression */
   18044   const char *g = "string";
   18045   pcpcc = &g + (g ? g-g : 0);
   18046   /* HPUX 7.0 cc rejects these. */
   18047   ++pcpcc;
   18048   ppc = (char**) pcpcc;
   18049   pcpcc = (char const *const *) ppc;
   18050   { /* SCO 3.2v4 cc rejects this sort of thing.  */
   18051     char tx;
   18052     char *t = &tx;
   18053     char const *s = 0 ? (char *) 0 : (char const *) 0;
   18054 
   18055     *t++ = 0;
   18056     if (s) return 0;
   18057   }
   18058   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   18059     int x[] = {25, 17};
   18060     const int *foo = &x[0];
   18061     ++foo;
   18062   }
   18063   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   18064     typedef const int *iptr;
   18065     iptr p = 0;
   18066     ++p;
   18067   }
   18068   { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
   18069        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   18070     struct s { int j; const int *ap[3]; } bx;
   18071     struct s *b = &bx; b->j = 5;
   18072   }
   18073   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   18074     const int foo = 10;
   18075     if (!foo) return 0;
   18076   }
   18077   return !cs[0] && !zero.x;
   18078 #endif
   18079 
   18080   ;
   18081   return 0;
   18082 }
   18083 _ACEOF
   18084 if ac_fn_c_try_compile "$LINENO"
   18085 then :
   18086   ac_cv_c_const=yes
   18087 else $as_nop
   18088   ac_cv_c_const=no
   18089 fi
   18090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18091 fi
   18092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   18093 printf "%s\n" "$ac_cv_c_const" >&6; }
   18094 if test $ac_cv_c_const = no; then
   18095 
   18096 printf "%s\n" "#define const /**/" >>confdefs.h
   18097 
   18098 fi
   18099 
   18100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
   18101 printf %s "checking for inline... " >&6; }
   18102 if test ${ac_cv_c_inline+y}
   18103 then :
   18104   printf %s "(cached) " >&6
   18105 else $as_nop
   18106   ac_cv_c_inline=no
   18107 for ac_kw in inline __inline__ __inline; do
   18108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18109 /* end confdefs.h.  */
   18110 #ifndef __cplusplus
   18111 typedef int foo_t;
   18112 static $ac_kw foo_t static_foo (void) {return 0; }
   18113 $ac_kw foo_t foo (void) {return 0; }
   18114 #endif
   18115 
   18116 _ACEOF
   18117 if ac_fn_c_try_compile "$LINENO"
   18118 then :
   18119   ac_cv_c_inline=$ac_kw
   18120 fi
   18121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18122   test "$ac_cv_c_inline" != no && break
   18123 done
   18124 
   18125 fi
   18126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
   18127 printf "%s\n" "$ac_cv_c_inline" >&6; }
   18128 
   18129 case $ac_cv_c_inline in
   18130   inline | yes) ;;
   18131   *)
   18132     case $ac_cv_c_inline in
   18133       no) ac_val=;;
   18134       *) ac_val=$ac_cv_c_inline;;
   18135     esac
   18136     cat >>confdefs.h <<_ACEOF
   18137 #ifndef __cplusplus
   18138 #define inline $ac_val
   18139 #endif
   18140 _ACEOF
   18141     ;;
   18142 esac
   18143 
   18144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
   18145 printf %s "checking for working volatile... " >&6; }
   18146 if test ${ac_cv_c_volatile+y}
   18147 then :
   18148   printf %s "(cached) " >&6
   18149 else $as_nop
   18150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18151 /* end confdefs.h.  */
   18152 
   18153 int
   18154 main (void)
   18155 {
   18156 
   18157 volatile int x;
   18158 int * volatile y = (int *) 0;
   18159 return !x && !y;
   18160   ;
   18161   return 0;
   18162 }
   18163 _ACEOF
   18164 if ac_fn_c_try_compile "$LINENO"
   18165 then :
   18166   ac_cv_c_volatile=yes
   18167 else $as_nop
   18168   ac_cv_c_volatile=no
   18169 fi
   18170 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18171 fi
   18172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
   18173 printf "%s\n" "$ac_cv_c_volatile" >&6; }
   18174 if test $ac_cv_c_volatile = no; then
   18175 
   18176 printf "%s\n" "#define volatile /**/" >>confdefs.h
   18177 
   18178 fi
   18179 
   18180 
   18181 #
   18182 # Check for yield support on ARM processors
   18183 #
   18184 case $host in #(
   18185   arm*) :
   18186     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for yield instruction support" >&5
   18187 printf %s "checking for yield instruction support... " >&6; }
   18188 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18189 /* end confdefs.h.  */
   18190 
   18191 int
   18192 main (void)
   18193 {
   18194 __asm__ __volatile__ ("yield")
   18195   ;
   18196   return 0;
   18197 }
   18198 _ACEOF
   18199 if ac_fn_c_try_compile "$LINENO"
   18200 then :
   18201   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18202 printf "%s\n" "yes" >&6; }
   18203 
   18204 printf "%s\n" "#define HAVE_ARM_YIELD 1" >>confdefs.h
   18205 
   18206 else $as_nop
   18207   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18208 printf "%s\n" "no" >&6; }
   18209 fi
   18210 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; #(
   18211   *) :
   18212      ;;
   18213 esac
   18214 
   18215 #
   18216 # Check for pause support on SPARC processors
   18217 #
   18218 case $host in #(
   18219   sparc*) :
   18220     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pause instruction support" >&5
   18221 printf %s "checking for pause instruction support... " >&6; }
   18222 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18223 /* end confdefs.h.  */
   18224 
   18225 int
   18226 main (void)
   18227 {
   18228 __asm__ __volatile__ ("pause")
   18229   ;
   18230   return 0;
   18231 }
   18232 _ACEOF
   18233 if ac_fn_c_try_compile "$LINENO"
   18234 then :
   18235   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18236 printf "%s\n" "yes" >&6; }
   18237 
   18238 printf "%s\n" "#define HAVE_SPARC_PAUSE 1" >>confdefs.h
   18239 
   18240 else $as_nop
   18241   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18242 printf "%s\n" "no" >&6; }
   18243 fi
   18244 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; #(
   18245   *) :
   18246      ;;
   18247 esac
   18248 
   18249 ac_fn_c_check_func "$LINENO" "sysctlbyname" "ac_cv_func_sysctlbyname"
   18250 if test "x$ac_cv_func_sysctlbyname" = xyes
   18251 then :
   18252   printf "%s\n" "#define HAVE_SYSCTLBYNAME 1" >>confdefs.h
   18253 
   18254 fi
   18255 
   18256 
   18257 #
   18258 # Older versions of HP/UX don't define seteuid() and setegid()
   18259 #
   18260 ac_fn_c_check_func "$LINENO" "seteuid" "ac_cv_func_seteuid"
   18261 if test "x$ac_cv_func_seteuid" = xyes
   18262 then :
   18263   printf "%s\n" "#define HAVE_SETEUID 1" >>confdefs.h
   18264 
   18265 fi
   18266 ac_fn_c_check_func "$LINENO" "setresuid" "ac_cv_func_setresuid"
   18267 if test "x$ac_cv_func_setresuid" = xyes
   18268 then :
   18269   printf "%s\n" "#define HAVE_SETRESUID 1" >>confdefs.h
   18270 
   18271 fi
   18272 
   18273 ac_fn_c_check_func "$LINENO" "setegid" "ac_cv_func_setegid"
   18274 if test "x$ac_cv_func_setegid" = xyes
   18275 then :
   18276   printf "%s\n" "#define HAVE_SETEGID 1" >>confdefs.h
   18277 
   18278 fi
   18279 ac_fn_c_check_func "$LINENO" "setresgid" "ac_cv_func_setresgid"
   18280 if test "x$ac_cv_func_setresgid" = xyes
   18281 then :
   18282   printf "%s\n" "#define HAVE_SETRESGID 1" >>confdefs.h
   18283 
   18284 fi
   18285 
   18286 
   18287 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
   18288 if test "x$ac_cv_type_size_t" = xyes
   18289 then :
   18290 
   18291 else $as_nop
   18292 
   18293 printf "%s\n" "#define size_t unsigned int" >>confdefs.h
   18294 
   18295 fi
   18296 
   18297 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
   18298 if test "x$ac_cv_type_ssize_t" = xyes
   18299 then :
   18300 
   18301 else $as_nop
   18302 
   18303 printf "%s\n" "#define ssize_t int" >>confdefs.h
   18304 
   18305 fi
   18306 
   18307 
   18308   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
   18309 if test "x$ac_cv_type_uintptr_t" = xyes
   18310 then :
   18311 
   18312 printf "%s\n" "#define HAVE_UINTPTR_T 1" >>confdefs.h
   18313 
   18314 else $as_nop
   18315   for ac_type in 'unsigned int' 'unsigned long int' \
   18316 	'unsigned long long int'; do
   18317        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18318 /* end confdefs.h.  */
   18319 $ac_includes_default
   18320 int
   18321 main (void)
   18322 {
   18323 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
   18324 test_array [0] = 0;
   18325 return test_array [0];
   18326 
   18327   ;
   18328   return 0;
   18329 }
   18330 _ACEOF
   18331 if ac_fn_c_try_compile "$LINENO"
   18332 then :
   18333 
   18334 printf "%s\n" "#define uintptr_t $ac_type" >>confdefs.h
   18335 
   18336 	  ac_type=
   18337 fi
   18338 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18339        test -z "$ac_type" && break
   18340      done
   18341 fi
   18342 
   18343 
   18344 
   18345 #
   18346 # check for uname library routine
   18347 #
   18348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uname" >&5
   18349 printf %s "checking for uname... " >&6; }
   18350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18351 /* end confdefs.h.  */
   18352 #include <sys/utsname.h>
   18353        #include <stdio.h>
   18354 
   18355 int
   18356 main (void)
   18357 {
   18358 
   18359        struct utsname uts;
   18360        uname(&uts);
   18361        printf("running on %s %s %s for %s\n",
   18362 	      uts.sysname, uts.release, uts.version, uts.machine);
   18363 
   18364   ;
   18365   return 0;
   18366 }
   18367 _ACEOF
   18368 if ac_fn_c_try_compile "$LINENO"
   18369 then :
   18370   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18371 printf "%s\n" "yes" >&6; }
   18372 
   18373 printf "%s\n" "#define HAVE_UNAME 1" >>confdefs.h
   18374 
   18375 
   18376 else $as_nop
   18377   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18378 printf "%s\n" "no" >&6; }
   18379    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: uname is not correctly supported" >&5
   18380 printf "%s\n" "$as_me: WARNING: uname is not correctly supported" >&2;}
   18381 
   18382 fi
   18383 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18384 
   18385 #
   18386 # check for GCC noreturn attribute
   18387 #
   18388 
   18389 
   18390 
   18391     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((noreturn))" >&5
   18392 printf %s "checking for __attribute__((noreturn))... " >&6; }
   18393 if test ${ax_cv_have_func_attribute_noreturn+y}
   18394 then :
   18395   printf %s "(cached) " >&6
   18396 else $as_nop
   18397 
   18398         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18399 /* end confdefs.h.  */
   18400 
   18401 
   18402                     void foo( void ) __attribute__((noreturn));
   18403 
   18404 int
   18405 main (void)
   18406 {
   18407 
   18408   ;
   18409   return 0;
   18410 }
   18411 
   18412 _ACEOF
   18413 if ac_fn_c_try_link "$LINENO"
   18414 then :
   18415                                       if grep -- -Wattributes conftest.err
   18416 then :
   18417   ax_cv_have_func_attribute_noreturn=no
   18418 else $as_nop
   18419   ax_cv_have_func_attribute_noreturn=yes
   18420 fi
   18421 else $as_nop
   18422   ax_cv_have_func_attribute_noreturn=no
   18423 fi
   18424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18425     conftest$ac_exeext conftest.$ac_ext
   18426 
   18427 fi
   18428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_func_attribute_noreturn" >&5
   18429 printf "%s\n" "$ax_cv_have_func_attribute_noreturn" >&6; }
   18430 
   18431     if test yes = $ax_cv_have_func_attribute_noreturn
   18432 then :
   18433 
   18434 printf "%s\n" "#define HAVE_FUNC_ATTRIBUTE_NORETURN 1" >>confdefs.h
   18435 
   18436 fi
   18437 
   18438 
   18439 
   18440 
   18441 #
   18442 # check for GCC malloc attribute
   18443 #
   18444 
   18445 
   18446 
   18447     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((malloc))" >&5
   18448 printf %s "checking for __attribute__((malloc))... " >&6; }
   18449 if test ${ax_cv_have_func_attribute_malloc+y}
   18450 then :
   18451   printf %s "(cached) " >&6
   18452 else $as_nop
   18453 
   18454         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18455 /* end confdefs.h.  */
   18456 
   18457 
   18458                     void *foo( void ) __attribute__((malloc));
   18459 
   18460 int
   18461 main (void)
   18462 {
   18463 
   18464   ;
   18465   return 0;
   18466 }
   18467 
   18468 _ACEOF
   18469 if ac_fn_c_try_link "$LINENO"
   18470 then :
   18471                                       if grep -- -Wattributes conftest.err
   18472 then :
   18473   ax_cv_have_func_attribute_malloc=no
   18474 else $as_nop
   18475   ax_cv_have_func_attribute_malloc=yes
   18476 fi
   18477 else $as_nop
   18478   ax_cv_have_func_attribute_malloc=no
   18479 fi
   18480 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18481     conftest$ac_exeext conftest.$ac_ext
   18482 
   18483 fi
   18484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_func_attribute_malloc" >&5
   18485 printf "%s\n" "$ax_cv_have_func_attribute_malloc" >&6; }
   18486 
   18487     if test yes = $ax_cv_have_func_attribute_malloc
   18488 then :
   18489 
   18490 printf "%s\n" "#define HAVE_FUNC_ATTRIBUTE_MALLOC 1" >>confdefs.h
   18491 
   18492 fi
   18493 
   18494 
   18495 
   18496 
   18497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for extended malloc attributes" >&5
   18498 printf %s "checking for extended malloc attributes... " >&6; }
   18499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18500 /* end confdefs.h.  */
   18501 
   18502        #include <stddef.h>
   18503        #include <stdlib.h>
   18504 	   __attribute__ ((malloc, malloc (free, 1))
   18505 	   void * xmalloc(size_t sz) { return malloc(sz); }
   18506 
   18507 int
   18508 main (void)
   18509 {
   18510 
   18511        void *p = xmalloc(8);
   18512 	   free(p);
   18513 
   18514   ;
   18515   return 0;
   18516 }
   18517 _ACEOF
   18518 if ac_fn_c_try_compile "$LINENO"
   18519 then :
   18520   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18521 printf "%s\n" "yes" >&6; }
   18522 
   18523 printf "%s\n" "#define HAVE_MALLOC_EXT_ATTR 1" >>confdefs.h
   18524 
   18525 
   18526 else $as_nop
   18527   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18528 printf "%s\n" "no" >&6; }
   18529 fi
   18530 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18531 
   18532 #
   18533 # check for GCC returns_nonnull attribute
   18534 #
   18535 
   18536 
   18537 
   18538     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((returns_nonnull))" >&5
   18539 printf %s "checking for __attribute__((returns_nonnull))... " >&6; }
   18540 if test ${ax_cv_have_func_attribute_returns_nonnull+y}
   18541 then :
   18542   printf %s "(cached) " >&6
   18543 else $as_nop
   18544 
   18545         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18546 /* end confdefs.h.  */
   18547 
   18548 
   18549                     void *foo( void ) __attribute__((returns_nonnull));
   18550 
   18551 int
   18552 main (void)
   18553 {
   18554 
   18555   ;
   18556   return 0;
   18557 }
   18558 
   18559 _ACEOF
   18560 if ac_fn_c_try_link "$LINENO"
   18561 then :
   18562                                       if grep -- -Wattributes conftest.err
   18563 then :
   18564   ax_cv_have_func_attribute_returns_nonnull=no
   18565 else $as_nop
   18566   ax_cv_have_func_attribute_returns_nonnull=yes
   18567 fi
   18568 else $as_nop
   18569   ax_cv_have_func_attribute_returns_nonnull=no
   18570 fi
   18571 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18572     conftest$ac_exeext conftest.$ac_ext
   18573 
   18574 fi
   18575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_func_attribute_returns_nonnull" >&5
   18576 printf "%s\n" "$ax_cv_have_func_attribute_returns_nonnull" >&6; }
   18577 
   18578     if test yes = $ax_cv_have_func_attribute_returns_nonnull
   18579 then :
   18580 
   18581 printf "%s\n" "#define HAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL 1" >>confdefs.h
   18582 
   18583 fi
   18584 
   18585 
   18586 
   18587 
   18588 #
   18589 # GeoIP support?
   18590 #
   18591 # Should be on by default if libmaxminddb exists.
   18592 #
   18593 # [pairwise: --enable-geoip --with-maxminddb=auto, --enable-geoip --with-maxminddb=yes, --disable-geoip]
   18594 # Check whether --enable-geoip was given.
   18595 if test ${enable_geoip+y}
   18596 then :
   18597   enableval=$enable_geoip;
   18598 else $as_nop
   18599   enable_geoip="yes"
   18600 fi
   18601 
   18602 
   18603 # [pairwise: skip]
   18604 
   18605 # Check whether --with-maxminddb was given.
   18606 if test ${with_maxminddb+y}
   18607 then :
   18608   withval=$with_maxminddb;
   18609 else $as_nop
   18610   with_maxminddb="auto"
   18611 fi
   18612 
   18613 
   18614 if test "$enable_geoip" = "yes"
   18615 then :
   18616   case $with_maxminddb in #(
   18617   no) :
   18618     as_fn_error $? "Use '--disable-geoip' to disable the GeoIP" "$LINENO" 5 ;; #(
   18619   auto) :
   18620 
   18621 pkg_failed=no
   18622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libmaxminddb" >&5
   18623 printf %s "checking for libmaxminddb... " >&6; }
   18624 
   18625 if test -n "$MAXMINDDB_CFLAGS"; then
   18626     pkg_cv_MAXMINDDB_CFLAGS="$MAXMINDDB_CFLAGS"
   18627  elif test -n "$PKG_CONFIG"; then
   18628     if test -n "$PKG_CONFIG" && \
   18629     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmaxminddb\""; } >&5
   18630   ($PKG_CONFIG --exists --print-errors "libmaxminddb") 2>&5
   18631   ac_status=$?
   18632   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18633   test $ac_status = 0; }; then
   18634   pkg_cv_MAXMINDDB_CFLAGS=`$PKG_CONFIG --cflags "libmaxminddb" 2>/dev/null`
   18635 		      test "x$?" != "x0" && pkg_failed=yes
   18636 else
   18637   pkg_failed=yes
   18638 fi
   18639  else
   18640     pkg_failed=untried
   18641 fi
   18642 if test -n "$MAXMINDDB_LIBS"; then
   18643     pkg_cv_MAXMINDDB_LIBS="$MAXMINDDB_LIBS"
   18644  elif test -n "$PKG_CONFIG"; then
   18645     if test -n "$PKG_CONFIG" && \
   18646     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmaxminddb\""; } >&5
   18647   ($PKG_CONFIG --exists --print-errors "libmaxminddb") 2>&5
   18648   ac_status=$?
   18649   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18650   test $ac_status = 0; }; then
   18651   pkg_cv_MAXMINDDB_LIBS=`$PKG_CONFIG --libs "libmaxminddb" 2>/dev/null`
   18652 		      test "x$?" != "x0" && pkg_failed=yes
   18653 else
   18654   pkg_failed=yes
   18655 fi
   18656  else
   18657     pkg_failed=untried
   18658 fi
   18659 
   18660 
   18661 
   18662 if test $pkg_failed = yes; then
   18663         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18664 printf "%s\n" "no" >&6; }
   18665 
   18666 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18667         _pkg_short_errors_supported=yes
   18668 else
   18669         _pkg_short_errors_supported=no
   18670 fi
   18671         if test $_pkg_short_errors_supported = yes; then
   18672                 MAXMINDDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmaxminddb" 2>&1`
   18673         else
   18674                 MAXMINDDB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmaxminddb" 2>&1`
   18675         fi
   18676         # Put the nasty error message in config.log where it belongs
   18677         echo "$MAXMINDDB_PKG_ERRORS" >&5
   18678 
   18679         :
   18680 elif test $pkg_failed = untried; then
   18681         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18682 printf "%s\n" "no" >&6; }
   18683         :
   18684 else
   18685         MAXMINDDB_CFLAGS=$pkg_cv_MAXMINDDB_CFLAGS
   18686         MAXMINDDB_LIBS=$pkg_cv_MAXMINDDB_LIBS
   18687         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18688 printf "%s\n" "yes" >&6; }
   18689 
   18690 printf "%s\n" "#define HAVE_GEOIP2 1" >>confdefs.h
   18691 
   18692 
   18693 if test -n "$MAXMINDDB_PREFIX"; then
   18694     pkg_cv_MAXMINDDB_PREFIX="$MAXMINDDB_PREFIX"
   18695  elif test -n "$PKG_CONFIG"; then
   18696     if test -n "$PKG_CONFIG" && \
   18697     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmaxminddb\""; } >&5
   18698   ($PKG_CONFIG --exists --print-errors "libmaxminddb") 2>&5
   18699   ac_status=$?
   18700   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18701   test $ac_status = 0; }; then
   18702   pkg_cv_MAXMINDDB_PREFIX=`$PKG_CONFIG --variable="prefix" "libmaxminddb" 2>/dev/null`
   18703 		      test "x$?" != "x0" && pkg_failed=yes
   18704 else
   18705   pkg_failed=yes
   18706 fi
   18707  else
   18708     pkg_failed=untried
   18709 fi
   18710 MAXMINDDB_PREFIX=$pkg_cv_MAXMINDDB_PREFIX
   18711 
   18712 if test "x$MAXMINDDB_PREFIX" = x""
   18713 then :
   18714   as_fn_error $? "libmaxminddb prefix not found in pkg-config; set MAXMINDDB_PREFIX in the environment" "$LINENO" 5
   18715 fi
   18716 
   18717 fi ;; #(
   18718   yes) :
   18719 
   18720 pkg_failed=no
   18721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libmaxminddb" >&5
   18722 printf %s "checking for libmaxminddb... " >&6; }
   18723 
   18724 if test -n "$MAXMINDDB_CFLAGS"; then
   18725     pkg_cv_MAXMINDDB_CFLAGS="$MAXMINDDB_CFLAGS"
   18726  elif test -n "$PKG_CONFIG"; then
   18727     if test -n "$PKG_CONFIG" && \
   18728     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmaxminddb\""; } >&5
   18729   ($PKG_CONFIG --exists --print-errors "libmaxminddb") 2>&5
   18730   ac_status=$?
   18731   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18732   test $ac_status = 0; }; then
   18733   pkg_cv_MAXMINDDB_CFLAGS=`$PKG_CONFIG --cflags "libmaxminddb" 2>/dev/null`
   18734 		      test "x$?" != "x0" && pkg_failed=yes
   18735 else
   18736   pkg_failed=yes
   18737 fi
   18738  else
   18739     pkg_failed=untried
   18740 fi
   18741 if test -n "$MAXMINDDB_LIBS"; then
   18742     pkg_cv_MAXMINDDB_LIBS="$MAXMINDDB_LIBS"
   18743  elif test -n "$PKG_CONFIG"; then
   18744     if test -n "$PKG_CONFIG" && \
   18745     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmaxminddb\""; } >&5
   18746   ($PKG_CONFIG --exists --print-errors "libmaxminddb") 2>&5
   18747   ac_status=$?
   18748   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18749   test $ac_status = 0; }; then
   18750   pkg_cv_MAXMINDDB_LIBS=`$PKG_CONFIG --libs "libmaxminddb" 2>/dev/null`
   18751 		      test "x$?" != "x0" && pkg_failed=yes
   18752 else
   18753   pkg_failed=yes
   18754 fi
   18755  else
   18756     pkg_failed=untried
   18757 fi
   18758 
   18759 
   18760 
   18761 if test $pkg_failed = yes; then
   18762         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18763 printf "%s\n" "no" >&6; }
   18764 
   18765 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18766         _pkg_short_errors_supported=yes
   18767 else
   18768         _pkg_short_errors_supported=no
   18769 fi
   18770         if test $_pkg_short_errors_supported = yes; then
   18771                 MAXMINDDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmaxminddb" 2>&1`
   18772         else
   18773                 MAXMINDDB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmaxminddb" 2>&1`
   18774         fi
   18775         # Put the nasty error message in config.log where it belongs
   18776         echo "$MAXMINDDB_PKG_ERRORS" >&5
   18777 
   18778         as_fn_error $? "Package requirements (libmaxminddb) were not met:
   18779 
   18780 $MAXMINDDB_PKG_ERRORS
   18781 
   18782 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18783 installed software in a non-standard prefix.
   18784 
   18785 Alternatively, you may set the environment variables MAXMINDDB_CFLAGS
   18786 and MAXMINDDB_LIBS to avoid the need to call pkg-config.
   18787 See the pkg-config man page for more details." "$LINENO" 5
   18788 elif test $pkg_failed = untried; then
   18789         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18790 printf "%s\n" "no" >&6; }
   18791         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18792 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   18793 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18794 is in your PATH or set the PKG_CONFIG environment variable to the full
   18795 path to pkg-config.
   18796 
   18797 Alternatively, you may set the environment variables MAXMINDDB_CFLAGS
   18798 and MAXMINDDB_LIBS to avoid the need to call pkg-config.
   18799 See the pkg-config man page for more details.
   18800 
   18801 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18802 See \`config.log' for more details" "$LINENO" 5; }
   18803 else
   18804         MAXMINDDB_CFLAGS=$pkg_cv_MAXMINDDB_CFLAGS
   18805         MAXMINDDB_LIBS=$pkg_cv_MAXMINDDB_LIBS
   18806         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18807 printf "%s\n" "yes" >&6; }
   18808 
   18809 printf "%s\n" "#define HAVE_GEOIP2 1" >>confdefs.h
   18810 
   18811 
   18812 if test -n "$MAXMINDDB_PREFIX"; then
   18813     pkg_cv_MAXMINDDB_PREFIX="$MAXMINDDB_PREFIX"
   18814  elif test -n "$PKG_CONFIG"; then
   18815     if test -n "$PKG_CONFIG" && \
   18816     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmaxminddb\""; } >&5
   18817   ($PKG_CONFIG --exists --print-errors "libmaxminddb") 2>&5
   18818   ac_status=$?
   18819   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18820   test $ac_status = 0; }; then
   18821   pkg_cv_MAXMINDDB_PREFIX=`$PKG_CONFIG --variable="prefix" "libmaxminddb" 2>/dev/null`
   18822 		      test "x$?" != "x0" && pkg_failed=yes
   18823 else
   18824   pkg_failed=yes
   18825 fi
   18826  else
   18827     pkg_failed=untried
   18828 fi
   18829 MAXMINDDB_PREFIX=$pkg_cv_MAXMINDDB_PREFIX
   18830 
   18831 if test "x$MAXMINDDB_PREFIX" = x""
   18832 then :
   18833   as_fn_error $? "libmaxminddb prefix not found in pkg-config; set MAXMINDDB_PREFIX in the environment" "$LINENO" 5
   18834 fi
   18835 
   18836 fi ;; #(
   18837   *) :
   18838      # default
   18839 
   18840 
   18841   CCASFLAGS_maxminddb_ax_save_flags=$CCASFLAGS
   18842 
   18843 
   18844 
   18845   CFLAGS_maxminddb_ax_save_flags=$CFLAGS
   18846 
   18847 
   18848 
   18849   CPPFLAGS_maxminddb_ax_save_flags=$CPPFLAGS
   18850 
   18851 
   18852 
   18853   CXXFLAGS_maxminddb_ax_save_flags=$CXXFLAGS
   18854 
   18855 
   18856 
   18857   ERLCFLAGS_maxminddb_ax_save_flags=$ERLCFLAGS
   18858 
   18859 
   18860 
   18861   FCFLAGS_maxminddb_ax_save_flags=$FCFLAGS
   18862 
   18863 
   18864 
   18865   FCLIBS_maxminddb_ax_save_flags=$FCLIBS
   18866 
   18867 
   18868 
   18869   FFLAGS_maxminddb_ax_save_flags=$FFLAGS
   18870 
   18871 
   18872 
   18873   FLIBS_maxminddb_ax_save_flags=$FLIBS
   18874 
   18875 
   18876 
   18877   GCJFLAGS_maxminddb_ax_save_flags=$GCJFLAGS
   18878 
   18879 
   18880 
   18881   JAVACFLAGS_maxminddb_ax_save_flags=$JAVACFLAGS
   18882 
   18883 
   18884 
   18885   LDFLAGS_maxminddb_ax_save_flags=$LDFLAGS
   18886 
   18887 
   18888 
   18889   LIBS_maxminddb_ax_save_flags=$LIBS
   18890 
   18891 
   18892 
   18893   OBJCFLAGS_maxminddb_ax_save_flags=$OBJCFLAGS
   18894 
   18895 
   18896 
   18897   OBJCXXFLAGS_maxminddb_ax_save_flags=$OBJCXXFLAGS
   18898 
   18899 
   18900 
   18901   UPCFLAGS_maxminddb_ax_save_flags=$UPCFLAGS
   18902 
   18903 
   18904 
   18905   VALAFLAGS_maxminddb_ax_save_flags=$VALAFLAGS
   18906 
   18907 
   18908 
   18909 		   MAXMINDDB_CFLAGS="-I$with_maxminddb/include"
   18910 		   MAXMINDDB_LIBS="-L$with_maxminddb/lib"
   18911 		   CFLAGS="$CFLAGS $MAXMINDDB_CFLAGS"
   18912 		   LIBS="$LIBS $MAXMINDDB_LIBS"
   18913 		   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing MMDB_open" >&5
   18914 printf %s "checking for library containing MMDB_open... " >&6; }
   18915 if test ${ac_cv_search_MMDB_open+y}
   18916 then :
   18917   printf %s "(cached) " >&6
   18918 else $as_nop
   18919   ac_func_search_save_LIBS=$LIBS
   18920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18921 /* end confdefs.h.  */
   18922 
   18923 /* Override any GCC internal prototype to avoid an error.
   18924    Use char because int might match the return type of a GCC
   18925    builtin and then its argument prototype would still apply.  */
   18926 char MMDB_open ();
   18927 int
   18928 main (void)
   18929 {
   18930 return MMDB_open ();
   18931   ;
   18932   return 0;
   18933 }
   18934 _ACEOF
   18935 for ac_lib in '' maxminddb
   18936 do
   18937   if test -z "$ac_lib"; then
   18938     ac_res="none required"
   18939   else
   18940     ac_res=-l$ac_lib
   18941     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   18942   fi
   18943   if ac_fn_c_try_link "$LINENO"
   18944 then :
   18945   ac_cv_search_MMDB_open=$ac_res
   18946 fi
   18947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18948     conftest$ac_exeext
   18949   if test ${ac_cv_search_MMDB_open+y}
   18950 then :
   18951   break
   18952 fi
   18953 done
   18954 if test ${ac_cv_search_MMDB_open+y}
   18955 then :
   18956 
   18957 else $as_nop
   18958   ac_cv_search_MMDB_open=no
   18959 fi
   18960 rm conftest.$ac_ext
   18961 LIBS=$ac_func_search_save_LIBS
   18962 fi
   18963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_MMDB_open" >&5
   18964 printf "%s\n" "$ac_cv_search_MMDB_open" >&6; }
   18965 ac_res=$ac_cv_search_MMDB_open
   18966 if test "$ac_res" != no
   18967 then :
   18968   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   18969 
   18970 printf "%s\n" "#define HAVE_GEOIP2 1" >>confdefs.h
   18971 
   18972 				   MAXMINDDB_LIBS="$MAXMINDDB_LIBS $ac_cv_search_MMDB_open"
   18973 				   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: GeoIP2 default database path set to $with_maxminddb/share/GeoIP" >&5
   18974 printf "%s\n" "$as_me: GeoIP2 default database path set to $with_maxminddb/share/GeoIP" >&6;}
   18975 				   MAXMINDDB_PREFIX=$with_maxminddb
   18976 
   18977 else $as_nop
   18978   as_fn_error $? "GeoIP2 requested, but libmaxminddb not found" "$LINENO" 5
   18979 fi
   18980 
   18981 
   18982   CCASFLAGS=$CCASFLAGS_maxminddb_ax_save_flags
   18983 
   18984 
   18985   CFLAGS=$CFLAGS_maxminddb_ax_save_flags
   18986 
   18987 
   18988   CPPFLAGS=$CPPFLAGS_maxminddb_ax_save_flags
   18989 
   18990 
   18991   CXXFLAGS=$CXXFLAGS_maxminddb_ax_save_flags
   18992 
   18993 
   18994   ERLCFLAGS=$ERLCFLAGS_maxminddb_ax_save_flags
   18995 
   18996 
   18997   FCFLAGS=$FCFLAGS_maxminddb_ax_save_flags
   18998 
   18999 
   19000   FCLIBS=$FCLIBS_maxminddb_ax_save_flags
   19001 
   19002 
   19003   FFLAGS=$FFLAGS_maxminddb_ax_save_flags
   19004 
   19005 
   19006   FLIBS=$FLIBS_maxminddb_ax_save_flags
   19007 
   19008 
   19009   GCJFLAGS=$GCJFLAGS_maxminddb_ax_save_flags
   19010 
   19011 
   19012   JAVACFLAGS=$JAVACFLAGS_maxminddb_ax_save_flags
   19013 
   19014 
   19015   LDFLAGS=$LDFLAGS_maxminddb_ax_save_flags
   19016 
   19017 
   19018   LIBS=$LIBS_maxminddb_ax_save_flags
   19019 
   19020 
   19021   OBJCFLAGS=$OBJCFLAGS_maxminddb_ax_save_flags
   19022 
   19023 
   19024   OBJCXXFLAGS=$OBJCXXFLAGS_maxminddb_ax_save_flags
   19025 
   19026 
   19027   UPCFLAGS=$UPCFLAGS_maxminddb_ax_save_flags
   19028 
   19029 
   19030   VALAFLAGS=$VALAFLAGS_maxminddb_ax_save_flags
   19031 
   19032 
   19033 
   19034 	        ;;
   19035 esac
   19036 
   19037 
   19038 fi
   19039 
   19040  if test -n "$MAXMINDDB_LIBS"; then
   19041   HAVE_GEOIP2_TRUE=
   19042   HAVE_GEOIP2_FALSE='#'
   19043 else
   19044   HAVE_GEOIP2_TRUE='#'
   19045   HAVE_GEOIP2_FALSE=
   19046 fi
   19047 
   19048 
   19049 
   19050 
   19051 
   19052 
   19053 
   19054 
   19055 
   19056 
   19057 ac_ext=c
   19058 ac_cpp='$CPP $CPPFLAGS'
   19059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19062 
   19063 ax_pthread_ok=no
   19064 
   19065 # We used to check for pthread.h first, but this fails if pthread.h
   19066 # requires special compiler flags (e.g. on Tru64 or Sequent).
   19067 # It gets checked for in the link test anyway.
   19068 
   19069 # First of all, check if the user has set any of the PTHREAD_LIBS,
   19070 # etcetera environment variables, and if threads linking works using
   19071 # them:
   19072 if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
   19073         ax_pthread_save_CC="$CC"
   19074         ax_pthread_save_CFLAGS="$CFLAGS"
   19075         ax_pthread_save_LIBS="$LIBS"
   19076         if test "x$PTHREAD_CC" != "x"
   19077 then :
   19078   CC="$PTHREAD_CC"
   19079 fi
   19080         if test "x$PTHREAD_CXX" != "x"
   19081 then :
   19082   CXX="$PTHREAD_CXX"
   19083 fi
   19084         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   19085         LIBS="$PTHREAD_LIBS $LIBS"
   19086         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
   19087 printf %s "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
   19088         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19089 /* end confdefs.h.  */
   19090 
   19091 /* Override any GCC internal prototype to avoid an error.
   19092    Use char because int might match the return type of a GCC
   19093    builtin and then its argument prototype would still apply.  */
   19094 char pthread_join ();
   19095 int
   19096 main (void)
   19097 {
   19098 return pthread_join ();
   19099   ;
   19100   return 0;
   19101 }
   19102 _ACEOF
   19103 if ac_fn_c_try_link "$LINENO"
   19104 then :
   19105   ax_pthread_ok=yes
   19106 fi
   19107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19108     conftest$ac_exeext conftest.$ac_ext
   19109         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   19110 printf "%s\n" "$ax_pthread_ok" >&6; }
   19111         if test "x$ax_pthread_ok" = "xno"; then
   19112                 PTHREAD_LIBS=""
   19113                 PTHREAD_CFLAGS=""
   19114         fi
   19115         CC="$ax_pthread_save_CC"
   19116         CFLAGS="$ax_pthread_save_CFLAGS"
   19117         LIBS="$ax_pthread_save_LIBS"
   19118 fi
   19119 
   19120 # We must check for the threads library under a number of different
   19121 # names; the ordering is very important because some systems
   19122 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
   19123 # libraries is broken (non-POSIX).
   19124 
   19125 # Create a list of thread flags to try. Items with a "," contain both
   19126 # C compiler flags (before ",") and linker flags (after ","). Other items
   19127 # starting with a "-" are C compiler flags, and remaining items are
   19128 # library names, except for "none" which indicates that we try without
   19129 # any flags at all, and "pthread-config" which is a program returning
   19130 # the flags for the Pth emulation library.
   19131 
   19132 ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
   19133 
   19134 # The ordering *is* (sometimes) important.  Some notes on the
   19135 # individual items follow:
   19136 
   19137 # pthreads: AIX (must check this before -lpthread)
   19138 # none: in case threads are in libc; should be tried before -Kthread and
   19139 #       other compiler flags to prevent continual compiler warnings
   19140 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
   19141 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
   19142 #           (Note: HP C rejects this with "bad form for `-t' option")
   19143 # -pthreads: Solaris/gcc (Note: HP C also rejects)
   19144 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
   19145 #      doesn't hurt to check since this sometimes defines pthreads and
   19146 #      -D_REENTRANT too), HP C (must be checked before -lpthread, which
   19147 #      is present but should not be used directly; and before -mthreads,
   19148 #      because the compiler interprets this as "-mt" + "-hreads")
   19149 # -mthreads: Mingw32/gcc, Lynx/gcc
   19150 # pthread: Linux, etcetera
   19151 # --thread-safe: KAI C++
   19152 # pthread-config: use pthread-config program (for GNU Pth library)
   19153 
   19154 case $target_os in
   19155 
   19156         freebsd*)
   19157 
   19158         # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
   19159         # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
   19160 
   19161         ax_pthread_flags="-kthread lthread $ax_pthread_flags"
   19162         ;;
   19163 
   19164         hpux*)
   19165 
   19166         # From the cc(1) man page: "[-mt] Sets various -D flags to enable
   19167         # multi-threading and also sets -lpthread."
   19168 
   19169         ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags"
   19170         ;;
   19171 
   19172         openedition*)
   19173 
   19174         # IBM z/OS requires a feature-test macro to be defined in order to
   19175         # enable POSIX threads at all, so give the user a hint if this is
   19176         # not set. (We don't define these ourselves, as they can affect
   19177         # other portions of the system API in unpredictable ways.)
   19178 
   19179         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19180 /* end confdefs.h.  */
   19181 
   19182 #            if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
   19183              AX_PTHREAD_ZOS_MISSING
   19184 #            endif
   19185 
   19186 _ACEOF
   19187 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   19188   $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev/null 2>&1
   19189 then :
   19190   { 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
   19191 printf "%s\n" "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
   19192 fi
   19193 rm -rf conftest*
   19194 
   19195         ;;
   19196 
   19197         solaris*)
   19198 
   19199         # On Solaris (at least, for some versions), libc contains stubbed
   19200         # (non-functional) versions of the pthreads routines, so link-based
   19201         # tests will erroneously succeed. (N.B.: The stubs are missing
   19202         # pthread_cleanup_push, or rather a function called by this macro,
   19203         # so we could check for that, but who knows whether they'll stub
   19204         # that too in a future libc.)  So we'll check first for the
   19205         # standard Solaris way of linking pthreads (-mt -lpthread).
   19206 
   19207         ax_pthread_flags="-mt,-lpthread pthread $ax_pthread_flags"
   19208         ;;
   19209 esac
   19210 
   19211 # Are we compiling with Clang?
   19212 
   19213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
   19214 printf %s "checking whether $CC is Clang... " >&6; }
   19215 if test ${ax_cv_PTHREAD_CLANG+y}
   19216 then :
   19217   printf %s "(cached) " >&6
   19218 else $as_nop
   19219   ax_cv_PTHREAD_CLANG=no
   19220      # Note that Autoconf sets GCC=yes for Clang as well as GCC
   19221      if test "x$GCC" = "xyes"; then
   19222         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19223 /* end confdefs.h.  */
   19224 /* Note: Clang 2.7 lacks __clang_[a-z]+__ */
   19225 #            if defined(__clang__) && defined(__llvm__)
   19226              AX_PTHREAD_CC_IS_CLANG
   19227 #            endif
   19228 
   19229 _ACEOF
   19230 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   19231   $EGREP "AX_PTHREAD_CC_IS_CLANG" >/dev/null 2>&1
   19232 then :
   19233   ax_cv_PTHREAD_CLANG=yes
   19234 fi
   19235 rm -rf conftest*
   19236 
   19237      fi
   19238 
   19239 fi
   19240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5
   19241 printf "%s\n" "$ax_cv_PTHREAD_CLANG" >&6; }
   19242 ax_pthread_clang="$ax_cv_PTHREAD_CLANG"
   19243 
   19244 
   19245 # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
   19246 
   19247 # Note that for GCC and Clang -pthread generally implies -lpthread,
   19248 # except when -nostdlib is passed.
   19249 # This is problematic using libtool to build C++ shared libraries with pthread:
   19250 # [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25460
   19251 # [2] https://bugzilla.redhat.com/show_bug.cgi?id=661333
   19252 # [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468555
   19253 # To solve this, first try -pthread together with -lpthread for GCC
   19254 
   19255 if test "x$GCC" = "xyes"
   19256 then :
   19257   ax_pthread_flags="-pthread,-lpthread -pthread -pthreads $ax_pthread_flags"
   19258 fi
   19259 
   19260 # Clang takes -pthread (never supported any other flag), but we'll try with -lpthread first
   19261 
   19262 if test "x$ax_pthread_clang" = "xyes"
   19263 then :
   19264   ax_pthread_flags="-pthread,-lpthread -pthread"
   19265 fi
   19266 
   19267 
   19268 # The presence of a feature test macro requesting re-entrant function
   19269 # definitions is, on some systems, a strong hint that pthreads support is
   19270 # correctly enabled
   19271 
   19272 case $target_os in
   19273         darwin* | hpux* | linux* | osf* | solaris*)
   19274         ax_pthread_check_macro="_REENTRANT"
   19275         ;;
   19276 
   19277         aix*)
   19278         ax_pthread_check_macro="_THREAD_SAFE"
   19279         ;;
   19280 
   19281         *)
   19282         ax_pthread_check_macro="--"
   19283         ;;
   19284 esac
   19285 if test "x$ax_pthread_check_macro" = "x--"
   19286 then :
   19287   ax_pthread_check_cond=0
   19288 else $as_nop
   19289   ax_pthread_check_cond="!defined($ax_pthread_check_macro)"
   19290 fi
   19291 
   19292 
   19293 if test "x$ax_pthread_ok" = "xno"; then
   19294 for ax_pthread_try_flag in $ax_pthread_flags; do
   19295 
   19296         case $ax_pthread_try_flag in
   19297                 none)
   19298                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
   19299 printf %s "checking whether pthreads work without any flags... " >&6; }
   19300                 ;;
   19301 
   19302                 *,*)
   19303                 PTHREAD_CFLAGS=`echo $ax_pthread_try_flag | sed "s/^\(.*\),\(.*\)$/\1/"`
   19304                 PTHREAD_LIBS=`echo $ax_pthread_try_flag | sed "s/^\(.*\),\(.*\)$/\2/"`
   19305                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with \"$PTHREAD_CFLAGS\" and \"$PTHREAD_LIBS\"" >&5
   19306 printf %s "checking whether pthreads work with \"$PTHREAD_CFLAGS\" and \"$PTHREAD_LIBS\"... " >&6; }
   19307                 ;;
   19308 
   19309                 -*)
   19310                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_flag" >&5
   19311 printf %s "checking whether pthreads work with $ax_pthread_try_flag... " >&6; }
   19312                 PTHREAD_CFLAGS="$ax_pthread_try_flag"
   19313                 ;;
   19314 
   19315                 pthread-config)
   19316                 # Extract the first word of "pthread-config", so it can be a program name with args.
   19317 set dummy pthread-config; ac_word=$2
   19318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19319 printf %s "checking for $ac_word... " >&6; }
   19320 if test ${ac_cv_prog_ax_pthread_config+y}
   19321 then :
   19322   printf %s "(cached) " >&6
   19323 else $as_nop
   19324   if test -n "$ax_pthread_config"; then
   19325   ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
   19326 else
   19327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19328 for as_dir in $PATH
   19329 do
   19330   IFS=$as_save_IFS
   19331   case $as_dir in #(((
   19332     '') as_dir=./ ;;
   19333     */) ;;
   19334     *) as_dir=$as_dir/ ;;
   19335   esac
   19336     for ac_exec_ext in '' $ac_executable_extensions; do
   19337   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19338     ac_cv_prog_ax_pthread_config="yes"
   19339     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19340     break 2
   19341   fi
   19342 done
   19343   done
   19344 IFS=$as_save_IFS
   19345 
   19346   test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
   19347 fi
   19348 fi
   19349 ax_pthread_config=$ac_cv_prog_ax_pthread_config
   19350 if test -n "$ax_pthread_config"; then
   19351   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
   19352 printf "%s\n" "$ax_pthread_config" >&6; }
   19353 else
   19354   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19355 printf "%s\n" "no" >&6; }
   19356 fi
   19357 
   19358 
   19359                 if test "x$ax_pthread_config" = "xno"
   19360 then :
   19361   continue
   19362 fi
   19363                 PTHREAD_CFLAGS="`pthread-config --cflags`"
   19364                 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
   19365                 ;;
   19366 
   19367                 *)
   19368                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_flag" >&5
   19369 printf %s "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; }
   19370                 PTHREAD_LIBS="-l$ax_pthread_try_flag"
   19371                 ;;
   19372         esac
   19373 
   19374         ax_pthread_save_CFLAGS="$CFLAGS"
   19375         ax_pthread_save_LIBS="$LIBS"
   19376         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   19377         LIBS="$PTHREAD_LIBS $LIBS"
   19378 
   19379         # Check for various functions.  We must include pthread.h,
   19380         # since some functions may be macros.  (On the Sequent, we
   19381         # need a special flag -Kthread to make this header compile.)
   19382         # We check for pthread_join because it is in -lpthread on IRIX
   19383         # while pthread_create is in libc.  We check for pthread_attr_init
   19384         # due to DEC craziness with -lpthreads.  We check for
   19385         # pthread_cleanup_push because it is one of the few pthread
   19386         # functions on Solaris that doesn't have a non-functional libc stub.
   19387         # We try pthread_create on general principles.
   19388 
   19389         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19390 /* end confdefs.h.  */
   19391 #include <pthread.h>
   19392 #                       if $ax_pthread_check_cond
   19393 #                        error "$ax_pthread_check_macro must be defined"
   19394 #                       endif
   19395                         static void *some_global = NULL;
   19396                         static void routine(void *a)
   19397                           {
   19398                              /* To avoid any unused-parameter or
   19399                                 unused-but-set-parameter warning.  */
   19400                              some_global = a;
   19401                           }
   19402                         static void *start_routine(void *a) { return a; }
   19403 int
   19404 main (void)
   19405 {
   19406 pthread_t th; pthread_attr_t attr;
   19407                         pthread_create(&th, 0, start_routine, 0);
   19408                         pthread_join(th, 0);
   19409                         pthread_attr_init(&attr);
   19410                         pthread_cleanup_push(routine, 0);
   19411                         pthread_cleanup_pop(0) /* ; */
   19412   ;
   19413   return 0;
   19414 }
   19415 _ACEOF
   19416 if ac_fn_c_try_link "$LINENO"
   19417 then :
   19418   ax_pthread_ok=yes
   19419 fi
   19420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19421     conftest$ac_exeext conftest.$ac_ext
   19422 
   19423         CFLAGS="$ax_pthread_save_CFLAGS"
   19424         LIBS="$ax_pthread_save_LIBS"
   19425 
   19426         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   19427 printf "%s\n" "$ax_pthread_ok" >&6; }
   19428         if test "x$ax_pthread_ok" = "xyes"
   19429 then :
   19430   break
   19431 fi
   19432 
   19433         PTHREAD_LIBS=""
   19434         PTHREAD_CFLAGS=""
   19435 done
   19436 fi
   19437 
   19438 
   19439 # Clang needs special handling, because older versions handle the -pthread
   19440 # option in a rather... idiosyncratic way
   19441 
   19442 if test "x$ax_pthread_clang" = "xyes"; then
   19443 
   19444         # Clang takes -pthread; it has never supported any other flag
   19445 
   19446         # (Note 1: This will need to be revisited if a system that Clang
   19447         # supports has POSIX threads in a separate library.  This tends not
   19448         # to be the way of modern systems, but it's conceivable.)
   19449 
   19450         # (Note 2: On some systems, notably Darwin, -pthread is not needed
   19451         # to get POSIX threads support; the API is always present and
   19452         # active.  We could reasonably leave PTHREAD_CFLAGS empty.  But
   19453         # -pthread does define _REENTRANT, and while the Darwin headers
   19454         # ignore this macro, third-party headers might not.)
   19455 
   19456         # However, older versions of Clang make a point of warning the user
   19457         # that, in an invocation where only linking and no compilation is
   19458         # taking place, the -pthread option has no effect ("argument unused
   19459         # during compilation").  They expect -pthread to be passed in only
   19460         # when source code is being compiled.
   19461         #
   19462         # Problem is, this is at odds with the way Automake and most other
   19463         # C build frameworks function, which is that the same flags used in
   19464         # compilation (CFLAGS) are also used in linking.  Many systems
   19465         # supported by AX_PTHREAD require exactly this for POSIX threads
   19466         # support, and in fact it is often not straightforward to specify a
   19467         # flag that is used only in the compilation phase and not in
   19468         # linking.  Such a scenario is extremely rare in practice.
   19469         #
   19470         # Even though use of the -pthread flag in linking would only print
   19471         # a warning, this can be a nuisance for well-run software projects
   19472         # that build with -Werror.  So if the active version of Clang has
   19473         # this misfeature, we search for an option to squash it.
   19474 
   19475         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread" >&5
   19476 printf %s "checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; }
   19477 if test ${ax_cv_PTHREAD_CLANG_NO_WARN_FLAG+y}
   19478 then :
   19479   printf %s "(cached) " >&6
   19480 else $as_nop
   19481   ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown
   19482              # Create an alternate version of $ac_link that compiles and
   19483              # links in two steps (.c -> .o, .o -> exe) instead of one
   19484              # (.c -> exe), because the warning occurs only in the second
   19485              # step
   19486              ax_pthread_save_ac_link="$ac_link"
   19487              ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
   19488              ax_pthread_link_step=`printf "%s\n" "$ac_link" | sed "$ax_pthread_sed"`
   19489              ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
   19490              ax_pthread_save_CFLAGS="$CFLAGS"
   19491              for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
   19492                 if test "x$ax_pthread_try" = "xunknown"
   19493 then :
   19494   break
   19495 fi
   19496                 CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
   19497                 ac_link="$ax_pthread_save_ac_link"
   19498                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19499 /* end confdefs.h.  */
   19500 int main(void){return 0;}
   19501 _ACEOF
   19502 if ac_fn_c_try_link "$LINENO"
   19503 then :
   19504   ac_link="$ax_pthread_2step_ac_link"
   19505                      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19506 /* end confdefs.h.  */
   19507 int main(void){return 0;}
   19508 _ACEOF
   19509 if ac_fn_c_try_link "$LINENO"
   19510 then :
   19511   break
   19512 fi
   19513 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19514     conftest$ac_exeext conftest.$ac_ext
   19515 
   19516 fi
   19517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19518     conftest$ac_exeext conftest.$ac_ext
   19519              done
   19520              ac_link="$ax_pthread_save_ac_link"
   19521              CFLAGS="$ax_pthread_save_CFLAGS"
   19522              if test "x$ax_pthread_try" = "x"
   19523 then :
   19524   ax_pthread_try=no
   19525 fi
   19526              ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try"
   19527 
   19528 fi
   19529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5
   19530 printf "%s\n" "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&6; }
   19531 
   19532         case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in
   19533                 no | unknown) ;;
   19534                 *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;;
   19535         esac
   19536 
   19537 fi # $ax_pthread_clang = yes
   19538 
   19539 
   19540 
   19541 # Various other checks:
   19542 if test "x$ax_pthread_ok" = "xyes"; then
   19543         ax_pthread_save_CFLAGS="$CFLAGS"
   19544         ax_pthread_save_LIBS="$LIBS"
   19545         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   19546         LIBS="$PTHREAD_LIBS $LIBS"
   19547 
   19548         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
   19549         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
   19550 printf %s "checking for joinable pthread attribute... " >&6; }
   19551 if test ${ax_cv_PTHREAD_JOINABLE_ATTR+y}
   19552 then :
   19553   printf %s "(cached) " >&6
   19554 else $as_nop
   19555   ax_cv_PTHREAD_JOINABLE_ATTR=unknown
   19556              for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
   19557                  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19558 /* end confdefs.h.  */
   19559 #include <pthread.h>
   19560 int
   19561 main (void)
   19562 {
   19563 int attr = $ax_pthread_attr; return attr /* ; */
   19564   ;
   19565   return 0;
   19566 }
   19567 _ACEOF
   19568 if ac_fn_c_try_link "$LINENO"
   19569 then :
   19570   ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break
   19571 fi
   19572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19573     conftest$ac_exeext conftest.$ac_ext
   19574              done
   19575 
   19576 fi
   19577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
   19578 printf "%s\n" "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
   19579         if test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \
   19580                test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \
   19581                test "x$ax_pthread_joinable_attr_defined" != "xyes"
   19582 then :
   19583 
   19584 printf "%s\n" "#define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR" >>confdefs.h
   19585 
   19586                ax_pthread_joinable_attr_defined=yes
   19587 
   19588 fi
   19589 
   19590         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for pthreads" >&5
   19591 printf %s "checking whether more special flags are required for pthreads... " >&6; }
   19592 if test ${ax_cv_PTHREAD_SPECIAL_FLAGS+y}
   19593 then :
   19594   printf %s "(cached) " >&6
   19595 else $as_nop
   19596   ax_cv_PTHREAD_SPECIAL_FLAGS=no
   19597              case $target_os in
   19598              solaris*)
   19599              ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
   19600              ;;
   19601              esac
   19602 
   19603 fi
   19604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
   19605 printf "%s\n" "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
   19606         if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
   19607                test "x$ax_pthread_special_flags_added" != "xyes"
   19608 then :
   19609   PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
   19610                ax_pthread_special_flags_added=yes
   19611 fi
   19612 
   19613         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
   19614 printf %s "checking for PTHREAD_PRIO_INHERIT... " >&6; }
   19615 if test ${ax_cv_PTHREAD_PRIO_INHERIT+y}
   19616 then :
   19617   printf %s "(cached) " >&6
   19618 else $as_nop
   19619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19620 /* end confdefs.h.  */
   19621 #include <pthread.h>
   19622 int
   19623 main (void)
   19624 {
   19625 int i = PTHREAD_PRIO_INHERIT;
   19626                                                return i;
   19627   ;
   19628   return 0;
   19629 }
   19630 _ACEOF
   19631 if ac_fn_c_try_link "$LINENO"
   19632 then :
   19633   ax_cv_PTHREAD_PRIO_INHERIT=yes
   19634 else $as_nop
   19635   ax_cv_PTHREAD_PRIO_INHERIT=no
   19636 fi
   19637 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19638     conftest$ac_exeext conftest.$ac_ext
   19639 
   19640 fi
   19641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
   19642 printf "%s\n" "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
   19643         if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \
   19644                test "x$ax_pthread_prio_inherit_defined" != "xyes"
   19645 then :
   19646 
   19647 printf "%s\n" "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
   19648 
   19649                ax_pthread_prio_inherit_defined=yes
   19650 
   19651 fi
   19652 
   19653         CFLAGS="$ax_pthread_save_CFLAGS"
   19654         LIBS="$ax_pthread_save_LIBS"
   19655 
   19656         # More AIX lossage: compile with *_r variant
   19657         if test "x$GCC" != "xyes"; then
   19658             case $target_os in
   19659                 aix*)
   19660                 case "x/$CC" in #(
   19661   x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) :
   19662     #handle absolute path differently from PATH based program lookup
   19663                      case "x$CC" in #(
   19664   x/*) :
   19665 
   19666 			   if as_fn_executable_p ${CC}_r
   19667 then :
   19668   PTHREAD_CC="${CC}_r"
   19669 fi
   19670 			   if test "x${CXX}" != "x"
   19671 then :
   19672   if as_fn_executable_p ${CXX}_r
   19673 then :
   19674   PTHREAD_CXX="${CXX}_r"
   19675 fi
   19676 fi
   19677 			  ;; #(
   19678   *) :
   19679 
   19680 			   for ac_prog in ${CC}_r
   19681 do
   19682   # Extract the first word of "$ac_prog", so it can be a program name with args.
   19683 set dummy $ac_prog; ac_word=$2
   19684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19685 printf %s "checking for $ac_word... " >&6; }
   19686 if test ${ac_cv_prog_PTHREAD_CC+y}
   19687 then :
   19688   printf %s "(cached) " >&6
   19689 else $as_nop
   19690   if test -n "$PTHREAD_CC"; then
   19691   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
   19692 else
   19693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19694 for as_dir in $PATH
   19695 do
   19696   IFS=$as_save_IFS
   19697   case $as_dir in #(((
   19698     '') as_dir=./ ;;
   19699     */) ;;
   19700     *) as_dir=$as_dir/ ;;
   19701   esac
   19702     for ac_exec_ext in '' $ac_executable_extensions; do
   19703   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19704     ac_cv_prog_PTHREAD_CC="$ac_prog"
   19705     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19706     break 2
   19707   fi
   19708 done
   19709   done
   19710 IFS=$as_save_IFS
   19711 
   19712 fi
   19713 fi
   19714 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
   19715 if test -n "$PTHREAD_CC"; then
   19716   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
   19717 printf "%s\n" "$PTHREAD_CC" >&6; }
   19718 else
   19719   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19720 printf "%s\n" "no" >&6; }
   19721 fi
   19722 
   19723 
   19724   test -n "$PTHREAD_CC" && break
   19725 done
   19726 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   19727 
   19728 			   if test "x${CXX}" != "x"
   19729 then :
   19730   for ac_prog in ${CXX}_r
   19731 do
   19732   # Extract the first word of "$ac_prog", so it can be a program name with args.
   19733 set dummy $ac_prog; ac_word=$2
   19734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19735 printf %s "checking for $ac_word... " >&6; }
   19736 if test ${ac_cv_prog_PTHREAD_CXX+y}
   19737 then :
   19738   printf %s "(cached) " >&6
   19739 else $as_nop
   19740   if test -n "$PTHREAD_CXX"; then
   19741   ac_cv_prog_PTHREAD_CXX="$PTHREAD_CXX" # Let the user override the test.
   19742 else
   19743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19744 for as_dir in $PATH
   19745 do
   19746   IFS=$as_save_IFS
   19747   case $as_dir in #(((
   19748     '') as_dir=./ ;;
   19749     */) ;;
   19750     *) as_dir=$as_dir/ ;;
   19751   esac
   19752     for ac_exec_ext in '' $ac_executable_extensions; do
   19753   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19754     ac_cv_prog_PTHREAD_CXX="$ac_prog"
   19755     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19756     break 2
   19757   fi
   19758 done
   19759   done
   19760 IFS=$as_save_IFS
   19761 
   19762 fi
   19763 fi
   19764 PTHREAD_CXX=$ac_cv_prog_PTHREAD_CXX
   19765 if test -n "$PTHREAD_CXX"; then
   19766   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CXX" >&5
   19767 printf "%s\n" "$PTHREAD_CXX" >&6; }
   19768 else
   19769   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19770 printf "%s\n" "no" >&6; }
   19771 fi
   19772 
   19773 
   19774   test -n "$PTHREAD_CXX" && break
   19775 done
   19776 test -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"
   19777 
   19778 fi
   19779 
   19780                       ;;
   19781 esac
   19782                      ;; #(
   19783   *) :
   19784      ;;
   19785 esac
   19786                 ;;
   19787             esac
   19788         fi
   19789 fi
   19790 
   19791 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   19792 test -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"
   19793 
   19794 
   19795 
   19796 
   19797 
   19798 
   19799 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
   19800 if test "x$ax_pthread_ok" = "xyes"; then
   19801 
   19802 printf "%s\n" "#define HAVE_PTHREAD 1" >>confdefs.h
   19803 
   19804         :
   19805 else
   19806         ax_pthread_ok=no
   19807 
   19808 fi
   19809 ac_ext=c
   19810 ac_cpp='$CPP $CPPFLAGS'
   19811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19814 
   19815 
   19816 
   19817 LIBS="$PTHREAD_LIBS $LIBS"
   19818 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   19819 CC="$PTHREAD_CC"
   19820 
   19821 ac_fn_c_check_func "$LINENO" "pthread_attr_getstacksize" "ac_cv_func_pthread_attr_getstacksize"
   19822 if test "x$ac_cv_func_pthread_attr_getstacksize" = xyes
   19823 then :
   19824   printf "%s\n" "#define HAVE_PTHREAD_ATTR_GETSTACKSIZE 1" >>confdefs.h
   19825 
   19826 fi
   19827 ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
   19828 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes
   19829 then :
   19830   printf "%s\n" "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
   19831 
   19832 fi
   19833 ac_fn_c_check_func "$LINENO" "pthread_barrier_init" "ac_cv_func_pthread_barrier_init"
   19834 if test "x$ac_cv_func_pthread_barrier_init" = xyes
   19835 then :
   19836   printf "%s\n" "#define HAVE_PTHREAD_BARRIER_INIT 1" >>confdefs.h
   19837 
   19838 fi
   19839 
   19840 
   19841 # [pairwise: --with-locktype=adaptive, --with-locktype=standard]
   19842 
   19843 # Check whether --with-locktype was given.
   19844 if test ${with_locktype+y}
   19845 then :
   19846   withval=$with_locktype;
   19847 else $as_nop
   19848   with_locktype="adaptive"
   19849 fi
   19850 
   19851 
   19852 case $with_locktype in #(
   19853   adaptive) :
   19854 
   19855 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_MUTEX_ADAPTIVE_NP" >&5
   19856 printf %s "checking for PTHREAD_MUTEX_ADAPTIVE_NP... " >&6; }
   19857 	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19858 /* end confdefs.h.  */
   19859 
   19860 		 #ifndef _GNU_SOURCE
   19861 		 #define _GNU_SOURCE
   19862 		 #endif
   19863 		 #include <pthread.h>
   19864 
   19865 int
   19866 main (void)
   19867 {
   19868 
   19869 		 return (PTHREAD_MUTEX_ADAPTIVE_NP);
   19870 
   19871 
   19872   ;
   19873   return 0;
   19874 }
   19875 _ACEOF
   19876 if ac_fn_c_try_compile "$LINENO"
   19877 then :
   19878   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: using adaptive lock type" >&5
   19879 printf "%s\n" "using adaptive lock type" >&6; }
   19880 
   19881 printf "%s\n" "#define HAVE_PTHREAD_MUTEX_ADAPTIVE_NP 1" >>confdefs.h
   19882 
   19883 else $as_nop
   19884   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: using standard lock type" >&5
   19885 printf "%s\n" "using standard lock type" >&6; }
   19886 
   19887 fi
   19888 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; #(
   19889   standard) :
   19890     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: using standard lock type" >&5
   19891 printf "%s\n" "using standard lock type" >&6; } ;; #(
   19892   *) :
   19893     as_fn_error $? "You must specify \"adaptive\" or \"standard\" for --with-locktype." "$LINENO" 5
   19894         ;;
   19895 esac
   19896 
   19897 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
   19898 if test "x$ac_cv_header_sched_h" = xyes
   19899 then :
   19900   printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
   19901 
   19902 fi
   19903 
   19904 
   19905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
   19906 printf %s "checking for library containing sched_yield... " >&6; }
   19907 if test ${ac_cv_search_sched_yield+y}
   19908 then :
   19909   printf %s "(cached) " >&6
   19910 else $as_nop
   19911   ac_func_search_save_LIBS=$LIBS
   19912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19913 /* end confdefs.h.  */
   19914 
   19915 /* Override any GCC internal prototype to avoid an error.
   19916    Use char because int might match the return type of a GCC
   19917    builtin and then its argument prototype would still apply.  */
   19918 char sched_yield ();
   19919 int
   19920 main (void)
   19921 {
   19922 return sched_yield ();
   19923   ;
   19924   return 0;
   19925 }
   19926 _ACEOF
   19927 for ac_lib in '' rt
   19928 do
   19929   if test -z "$ac_lib"; then
   19930     ac_res="none required"
   19931   else
   19932     ac_res=-l$ac_lib
   19933     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19934   fi
   19935   if ac_fn_c_try_link "$LINENO"
   19936 then :
   19937   ac_cv_search_sched_yield=$ac_res
   19938 fi
   19939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19940     conftest$ac_exeext
   19941   if test ${ac_cv_search_sched_yield+y}
   19942 then :
   19943   break
   19944 fi
   19945 done
   19946 if test ${ac_cv_search_sched_yield+y}
   19947 then :
   19948 
   19949 else $as_nop
   19950   ac_cv_search_sched_yield=no
   19951 fi
   19952 rm conftest.$ac_ext
   19953 LIBS=$ac_func_search_save_LIBS
   19954 fi
   19955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
   19956 printf "%s\n" "$ac_cv_search_sched_yield" >&6; }
   19957 ac_res=$ac_cv_search_sched_yield
   19958 if test "$ac_res" != no
   19959 then :
   19960   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19961 
   19962 fi
   19963 
   19964 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
   19965 if test "x$ac_cv_func_sched_yield" = xyes
   19966 then :
   19967   printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
   19968 
   19969 fi
   19970 ac_fn_c_check_func "$LINENO" "pthread_yield" "ac_cv_func_pthread_yield"
   19971 if test "x$ac_cv_func_pthread_yield" = xyes
   19972 then :
   19973   printf "%s\n" "#define HAVE_PTHREAD_YIELD 1" >>confdefs.h
   19974 
   19975 fi
   19976 ac_fn_c_check_func "$LINENO" "pthread_yield_np" "ac_cv_func_pthread_yield_np"
   19977 if test "x$ac_cv_func_pthread_yield_np" = xyes
   19978 then :
   19979   printf "%s\n" "#define HAVE_PTHREAD_YIELD_NP 1" >>confdefs.h
   19980 
   19981 fi
   19982 
   19983 
   19984 # Look for functions relating to thread naming
   19985 ac_fn_c_check_func "$LINENO" "pthread_setname_np" "ac_cv_func_pthread_setname_np"
   19986 if test "x$ac_cv_func_pthread_setname_np" = xyes
   19987 then :
   19988   printf "%s\n" "#define HAVE_PTHREAD_SETNAME_NP 1" >>confdefs.h
   19989 
   19990 fi
   19991 ac_fn_c_check_func "$LINENO" "pthread_set_name_np" "ac_cv_func_pthread_set_name_np"
   19992 if test "x$ac_cv_func_pthread_set_name_np" = xyes
   19993 then :
   19994   printf "%s\n" "#define HAVE_PTHREAD_SET_NAME_NP 1" >>confdefs.h
   19995 
   19996 fi
   19997 
   19998 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#include <pthread.h>
   19999 "
   20000 if test "x$ac_cv_header_pthread_np_h" = xyes
   20001 then :
   20002   printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
   20003 
   20004 fi
   20005 
   20006 
   20007 # libuv
   20008 
   20009 pkg_failed=no
   20010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libuv >= 1.37.0" >&5
   20011 printf %s "checking for libuv >= 1.37.0... " >&6; }
   20012 
   20013 if test -n "$LIBUV_CFLAGS"; then
   20014     pkg_cv_LIBUV_CFLAGS="$LIBUV_CFLAGS"
   20015  elif test -n "$PKG_CONFIG"; then
   20016     if test -n "$PKG_CONFIG" && \
   20017     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuv >= 1.37.0\""; } >&5
   20018   ($PKG_CONFIG --exists --print-errors "libuv >= 1.37.0") 2>&5
   20019   ac_status=$?
   20020   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20021   test $ac_status = 0; }; then
   20022   pkg_cv_LIBUV_CFLAGS=`$PKG_CONFIG --cflags "libuv >= 1.37.0" 2>/dev/null`
   20023 		      test "x$?" != "x0" && pkg_failed=yes
   20024 else
   20025   pkg_failed=yes
   20026 fi
   20027  else
   20028     pkg_failed=untried
   20029 fi
   20030 if test -n "$LIBUV_LIBS"; then
   20031     pkg_cv_LIBUV_LIBS="$LIBUV_LIBS"
   20032  elif test -n "$PKG_CONFIG"; then
   20033     if test -n "$PKG_CONFIG" && \
   20034     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuv >= 1.37.0\""; } >&5
   20035   ($PKG_CONFIG --exists --print-errors "libuv >= 1.37.0") 2>&5
   20036   ac_status=$?
   20037   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20038   test $ac_status = 0; }; then
   20039   pkg_cv_LIBUV_LIBS=`$PKG_CONFIG --libs "libuv >= 1.37.0" 2>/dev/null`
   20040 		      test "x$?" != "x0" && pkg_failed=yes
   20041 else
   20042   pkg_failed=yes
   20043 fi
   20044  else
   20045     pkg_failed=untried
   20046 fi
   20047 
   20048 
   20049 
   20050 if test $pkg_failed = yes; then
   20051         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20052 printf "%s\n" "no" >&6; }
   20053 
   20054 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20055         _pkg_short_errors_supported=yes
   20056 else
   20057         _pkg_short_errors_supported=no
   20058 fi
   20059         if test $_pkg_short_errors_supported = yes; then
   20060                 LIBUV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libuv >= 1.37.0" 2>&1`
   20061         else
   20062                 LIBUV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libuv >= 1.37.0" 2>&1`
   20063         fi
   20064         # Put the nasty error message in config.log where it belongs
   20065         echo "$LIBUV_PKG_ERRORS" >&5
   20066 
   20067 
   20068 pkg_failed=no
   20069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libuv >= 1.0.0 libuv < 1.35.0" >&5
   20070 printf %s "checking for libuv >= 1.0.0 libuv < 1.35.0... " >&6; }
   20071 
   20072 if test -n "$LIBUV_CFLAGS"; then
   20073     pkg_cv_LIBUV_CFLAGS="$LIBUV_CFLAGS"
   20074  elif test -n "$PKG_CONFIG"; then
   20075     if test -n "$PKG_CONFIG" && \
   20076     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuv >= 1.0.0 libuv < 1.35.0\""; } >&5
   20077   ($PKG_CONFIG --exists --print-errors "libuv >= 1.0.0 libuv < 1.35.0") 2>&5
   20078   ac_status=$?
   20079   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20080   test $ac_status = 0; }; then
   20081   pkg_cv_LIBUV_CFLAGS=`$PKG_CONFIG --cflags "libuv >= 1.0.0 libuv < 1.35.0" 2>/dev/null`
   20082 		      test "x$?" != "x0" && pkg_failed=yes
   20083 else
   20084   pkg_failed=yes
   20085 fi
   20086  else
   20087     pkg_failed=untried
   20088 fi
   20089 if test -n "$LIBUV_LIBS"; then
   20090     pkg_cv_LIBUV_LIBS="$LIBUV_LIBS"
   20091  elif test -n "$PKG_CONFIG"; then
   20092     if test -n "$PKG_CONFIG" && \
   20093     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuv >= 1.0.0 libuv < 1.35.0\""; } >&5
   20094   ($PKG_CONFIG --exists --print-errors "libuv >= 1.0.0 libuv < 1.35.0") 2>&5
   20095   ac_status=$?
   20096   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20097   test $ac_status = 0; }; then
   20098   pkg_cv_LIBUV_LIBS=`$PKG_CONFIG --libs "libuv >= 1.0.0 libuv < 1.35.0" 2>/dev/null`
   20099 		      test "x$?" != "x0" && pkg_failed=yes
   20100 else
   20101   pkg_failed=yes
   20102 fi
   20103  else
   20104     pkg_failed=untried
   20105 fi
   20106 
   20107 
   20108 
   20109 if test $pkg_failed = yes; then
   20110         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20111 printf "%s\n" "no" >&6; }
   20112 
   20113 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20114         _pkg_short_errors_supported=yes
   20115 else
   20116         _pkg_short_errors_supported=no
   20117 fi
   20118         if test $_pkg_short_errors_supported = yes; then
   20119                 LIBUV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libuv >= 1.0.0 libuv < 1.35.0" 2>&1`
   20120         else
   20121                 LIBUV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libuv >= 1.0.0 libuv < 1.35.0" 2>&1`
   20122         fi
   20123         # Put the nasty error message in config.log where it belongs
   20124         echo "$LIBUV_PKG_ERRORS" >&5
   20125 
   20126         as_fn_error $? "libuv >= 1.0.0 (except 1.35.0 and 1.36.0) not found" "$LINENO" 5
   20127 elif test $pkg_failed = untried; then
   20128         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20129 printf "%s\n" "no" >&6; }
   20130         as_fn_error $? "libuv >= 1.0.0 (except 1.35.0 and 1.36.0) not found" "$LINENO" 5
   20131 else
   20132         LIBUV_CFLAGS=$pkg_cv_LIBUV_CFLAGS
   20133         LIBUV_LIBS=$pkg_cv_LIBUV_LIBS
   20134         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20135 printf "%s\n" "yes" >&6; }
   20136 
   20137 fi
   20138 elif test $pkg_failed = untried; then
   20139         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20140 printf "%s\n" "no" >&6; }
   20141 
   20142 pkg_failed=no
   20143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libuv >= 1.0.0 libuv < 1.35.0" >&5
   20144 printf %s "checking for libuv >= 1.0.0 libuv < 1.35.0... " >&6; }
   20145 
   20146 if test -n "$LIBUV_CFLAGS"; then
   20147     pkg_cv_LIBUV_CFLAGS="$LIBUV_CFLAGS"
   20148  elif test -n "$PKG_CONFIG"; then
   20149     if test -n "$PKG_CONFIG" && \
   20150     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuv >= 1.0.0 libuv < 1.35.0\""; } >&5
   20151   ($PKG_CONFIG --exists --print-errors "libuv >= 1.0.0 libuv < 1.35.0") 2>&5
   20152   ac_status=$?
   20153   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20154   test $ac_status = 0; }; then
   20155   pkg_cv_LIBUV_CFLAGS=`$PKG_CONFIG --cflags "libuv >= 1.0.0 libuv < 1.35.0" 2>/dev/null`
   20156 		      test "x$?" != "x0" && pkg_failed=yes
   20157 else
   20158   pkg_failed=yes
   20159 fi
   20160  else
   20161     pkg_failed=untried
   20162 fi
   20163 if test -n "$LIBUV_LIBS"; then
   20164     pkg_cv_LIBUV_LIBS="$LIBUV_LIBS"
   20165  elif test -n "$PKG_CONFIG"; then
   20166     if test -n "$PKG_CONFIG" && \
   20167     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuv >= 1.0.0 libuv < 1.35.0\""; } >&5
   20168   ($PKG_CONFIG --exists --print-errors "libuv >= 1.0.0 libuv < 1.35.0") 2>&5
   20169   ac_status=$?
   20170   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20171   test $ac_status = 0; }; then
   20172   pkg_cv_LIBUV_LIBS=`$PKG_CONFIG --libs "libuv >= 1.0.0 libuv < 1.35.0" 2>/dev/null`
   20173 		      test "x$?" != "x0" && pkg_failed=yes
   20174 else
   20175   pkg_failed=yes
   20176 fi
   20177  else
   20178     pkg_failed=untried
   20179 fi
   20180 
   20181 
   20182 
   20183 if test $pkg_failed = yes; then
   20184         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20185 printf "%s\n" "no" >&6; }
   20186 
   20187 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20188         _pkg_short_errors_supported=yes
   20189 else
   20190         _pkg_short_errors_supported=no
   20191 fi
   20192         if test $_pkg_short_errors_supported = yes; then
   20193                 LIBUV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libuv >= 1.0.0 libuv < 1.35.0" 2>&1`
   20194         else
   20195                 LIBUV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libuv >= 1.0.0 libuv < 1.35.0" 2>&1`
   20196         fi
   20197         # Put the nasty error message in config.log where it belongs
   20198         echo "$LIBUV_PKG_ERRORS" >&5
   20199 
   20200         as_fn_error $? "libuv >= 1.0.0 (except 1.35.0 and 1.36.0) not found" "$LINENO" 5
   20201 elif test $pkg_failed = untried; then
   20202         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20203 printf "%s\n" "no" >&6; }
   20204         as_fn_error $? "libuv >= 1.0.0 (except 1.35.0 and 1.36.0) not found" "$LINENO" 5
   20205 else
   20206         LIBUV_CFLAGS=$pkg_cv_LIBUV_CFLAGS
   20207         LIBUV_LIBS=$pkg_cv_LIBUV_LIBS
   20208         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20209 printf "%s\n" "yes" >&6; }
   20210 
   20211 fi
   20212 else
   20213         LIBUV_CFLAGS=$pkg_cv_LIBUV_CFLAGS
   20214         LIBUV_LIBS=$pkg_cv_LIBUV_LIBS
   20215         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20216 printf "%s\n" "yes" >&6; }
   20217 
   20218 fi
   20219 
   20220 
   20221 
   20222   CCASFLAGS_libuv_ax_save_flags=$CCASFLAGS
   20223 
   20224 
   20225 
   20226   CFLAGS_libuv_ax_save_flags=$CFLAGS
   20227 
   20228 
   20229 
   20230   CPPFLAGS_libuv_ax_save_flags=$CPPFLAGS
   20231 
   20232 
   20233 
   20234   CXXFLAGS_libuv_ax_save_flags=$CXXFLAGS
   20235 
   20236 
   20237 
   20238   ERLCFLAGS_libuv_ax_save_flags=$ERLCFLAGS
   20239 
   20240 
   20241 
   20242   FCFLAGS_libuv_ax_save_flags=$FCFLAGS
   20243 
   20244 
   20245 
   20246   FCLIBS_libuv_ax_save_flags=$FCLIBS
   20247 
   20248 
   20249 
   20250   FFLAGS_libuv_ax_save_flags=$FFLAGS
   20251 
   20252 
   20253 
   20254   FLIBS_libuv_ax_save_flags=$FLIBS
   20255 
   20256 
   20257 
   20258   GCJFLAGS_libuv_ax_save_flags=$GCJFLAGS
   20259 
   20260 
   20261 
   20262   JAVACFLAGS_libuv_ax_save_flags=$JAVACFLAGS
   20263 
   20264 
   20265 
   20266   LDFLAGS_libuv_ax_save_flags=$LDFLAGS
   20267 
   20268 
   20269 
   20270   LIBS_libuv_ax_save_flags=$LIBS
   20271 
   20272 
   20273 
   20274   OBJCFLAGS_libuv_ax_save_flags=$OBJCFLAGS
   20275 
   20276 
   20277 
   20278   OBJCXXFLAGS_libuv_ax_save_flags=$OBJCXXFLAGS
   20279 
   20280 
   20281 
   20282   UPCFLAGS_libuv_ax_save_flags=$UPCFLAGS
   20283 
   20284 
   20285 
   20286   VALAFLAGS_libuv_ax_save_flags=$VALAFLAGS
   20287 
   20288 
   20289 
   20290 CFLAGS="$CFLAGS $LIBUV_CFLAGS"
   20291 LIBS="$LIBS $LIBUV_LIBS"
   20292 
   20293 # libuv recvmmsg support
   20294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   20295 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   20296 if test ${ac_cv_c_undeclared_builtin_options+y}
   20297 then :
   20298   printf %s "(cached) " >&6
   20299 else $as_nop
   20300   ac_save_CFLAGS=$CFLAGS
   20301    ac_cv_c_undeclared_builtin_options='cannot detect'
   20302    for ac_arg in '' -fno-builtin; do
   20303      CFLAGS="$ac_save_CFLAGS $ac_arg"
   20304      # This test program should *not* compile successfully.
   20305      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20306 /* end confdefs.h.  */
   20307 
   20308 int
   20309 main (void)
   20310 {
   20311 (void) strchr;
   20312   ;
   20313   return 0;
   20314 }
   20315 _ACEOF
   20316 if ac_fn_c_try_compile "$LINENO"
   20317 then :
   20318 
   20319 else $as_nop
   20320   # This test program should compile successfully.
   20321         # No library function is consistently available on
   20322         # freestanding implementations, so test against a dummy
   20323         # declaration.  Include always-available headers on the
   20324         # off chance that they somehow elicit warnings.
   20325         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20326 /* end confdefs.h.  */
   20327 #include <float.h>
   20328 #include <limits.h>
   20329 #include <stdarg.h>
   20330 #include <stddef.h>
   20331 extern void ac_decl (int, char *);
   20332 
   20333 int
   20334 main (void)
   20335 {
   20336 (void) ac_decl (0, (char *) 0);
   20337   (void) ac_decl;
   20338 
   20339   ;
   20340   return 0;
   20341 }
   20342 _ACEOF
   20343 if ac_fn_c_try_compile "$LINENO"
   20344 then :
   20345   if test x"$ac_arg" = x
   20346 then :
   20347   ac_cv_c_undeclared_builtin_options='none needed'
   20348 else $as_nop
   20349   ac_cv_c_undeclared_builtin_options=$ac_arg
   20350 fi
   20351           break
   20352 fi
   20353 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20354 fi
   20355 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20356     done
   20357     CFLAGS=$ac_save_CFLAGS
   20358 
   20359 fi
   20360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   20361 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   20362   case $ac_cv_c_undeclared_builtin_options in #(
   20363   'cannot detect') :
   20364     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20365 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20366 as_fn_error $? "cannot make $CC report undeclared builtins
   20367 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   20368   'none needed') :
   20369     ac_c_undeclared_builtin_options='' ;; #(
   20370   *) :
   20371     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   20372 esac
   20373 
   20374 ac_fn_check_decl "$LINENO" "UV_UDP_MMSG_FREE" "ac_cv_have_decl_UV_UDP_MMSG_FREE" "#include <uv.h>
   20375 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   20376 if test "x$ac_cv_have_decl_UV_UDP_MMSG_FREE" = xyes
   20377 then :
   20378   ac_have_decl=1
   20379 else $as_nop
   20380   ac_have_decl=0
   20381 fi
   20382 printf "%s\n" "#define HAVE_DECL_UV_UDP_MMSG_FREE $ac_have_decl" >>confdefs.h
   20383 ac_fn_check_decl "$LINENO" "UV_UDP_MMSG_CHUNK" "ac_cv_have_decl_UV_UDP_MMSG_CHUNK" "#include <uv.h>
   20384 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   20385 if test "x$ac_cv_have_decl_UV_UDP_MMSG_CHUNK" = xyes
   20386 then :
   20387   ac_have_decl=1
   20388 else $as_nop
   20389   ac_have_decl=0
   20390 fi
   20391 printf "%s\n" "#define HAVE_DECL_UV_UDP_MMSG_CHUNK $ac_have_decl" >>confdefs.h
   20392 
   20393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct msghdr uses padding for alignment" >&5
   20394 printf %s "checking whether struct msghdr uses padding for alignment... " >&6; }
   20395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20396 /* end confdefs.h.  */
   20397 #include <sys/socket.h>
   20398 int
   20399 main (void)
   20400 {
   20401 const struct msghdr h = { .__pad1 = 0, .__pad2 = 0 };
   20402   ;
   20403   return 0;
   20404 }
   20405 _ACEOF
   20406 if ac_fn_c_try_compile "$LINENO"
   20407 then :
   20408   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20409 printf "%s\n" "yes" >&6; }
   20410 
   20411 printf "%s\n" "#define HAVE_DECL_UV_UDP_RECVMMSG 0" >>confdefs.h
   20412 
   20413 else $as_nop
   20414   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20415 printf "%s\n" "no" >&6; }
   20416 		   ac_fn_check_decl "$LINENO" "UV_UDP_RECVMMSG" "ac_cv_have_decl_UV_UDP_RECVMMSG" "#include <uv.h>
   20417 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   20418 if test "x$ac_cv_have_decl_UV_UDP_RECVMMSG" = xyes
   20419 then :
   20420   ac_have_decl=1
   20421 else $as_nop
   20422   ac_have_decl=0
   20423 fi
   20424 printf "%s\n" "#define HAVE_DECL_UV_UDP_RECVMMSG $ac_have_decl" >>confdefs.h
   20425 
   20426 fi
   20427 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20428 
   20429 
   20430   CCASFLAGS=$CCASFLAGS_libuv_ax_save_flags
   20431 
   20432 
   20433   CFLAGS=$CFLAGS_libuv_ax_save_flags
   20434 
   20435 
   20436   CPPFLAGS=$CPPFLAGS_libuv_ax_save_flags
   20437 
   20438 
   20439   CXXFLAGS=$CXXFLAGS_libuv_ax_save_flags
   20440 
   20441 
   20442   ERLCFLAGS=$ERLCFLAGS_libuv_ax_save_flags
   20443 
   20444 
   20445   FCFLAGS=$FCFLAGS_libuv_ax_save_flags
   20446 
   20447 
   20448   FCLIBS=$FCLIBS_libuv_ax_save_flags
   20449 
   20450 
   20451   FFLAGS=$FFLAGS_libuv_ax_save_flags
   20452 
   20453 
   20454   FLIBS=$FLIBS_libuv_ax_save_flags
   20455 
   20456 
   20457   GCJFLAGS=$GCJFLAGS_libuv_ax_save_flags
   20458 
   20459 
   20460   JAVACFLAGS=$JAVACFLAGS_libuv_ax_save_flags
   20461 
   20462 
   20463   LDFLAGS=$LDFLAGS_libuv_ax_save_flags
   20464 
   20465 
   20466   LIBS=$LIBS_libuv_ax_save_flags
   20467 
   20468 
   20469   OBJCFLAGS=$OBJCFLAGS_libuv_ax_save_flags
   20470 
   20471 
   20472   OBJCXXFLAGS=$OBJCXXFLAGS_libuv_ax_save_flags
   20473 
   20474 
   20475   UPCFLAGS=$UPCFLAGS_libuv_ax_save_flags
   20476 
   20477 
   20478   VALAFLAGS=$VALAFLAGS_libuv_ax_save_flags
   20479 
   20480 
   20481 
   20482 
   20483 # [pairwise: --enable-doh --with-libnghttp2=auto, --enable-doh --with-libnghttp2=yes, --disable-doh]
   20484 # Check whether --enable-doh was given.
   20485 if test ${enable_doh+y}
   20486 then :
   20487   enableval=$enable_doh;
   20488 else $as_nop
   20489   enable_doh=yes
   20490 fi
   20491 
   20492 
   20493 # [pairwise: skip]
   20494 
   20495 # Check whether --with-libnghttp2 was given.
   20496 if test ${with_libnghttp2+y}
   20497 then :
   20498   withval=$with_libnghttp2;
   20499 else $as_nop
   20500   with_libnghttp2="auto"
   20501 fi
   20502 
   20503 
   20504 if test "$enable_doh" = "yes"
   20505 then :
   20506   case $with_libnghttp2 in #(
   20507   no) :
   20508     as_fn_error $? "Use '--disable-doh' to disable DNS-over-HTTPS support" "$LINENO" 5 ;; #(
   20509   auto|yes) :
   20510 
   20511 pkg_failed=no
   20512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libnghttp2 >= 1.6.0" >&5
   20513 printf %s "checking for libnghttp2 >= 1.6.0... " >&6; }
   20514 
   20515 if test -n "$LIBNGHTTP2_CFLAGS"; then
   20516     pkg_cv_LIBNGHTTP2_CFLAGS="$LIBNGHTTP2_CFLAGS"
   20517  elif test -n "$PKG_CONFIG"; then
   20518     if test -n "$PKG_CONFIG" && \
   20519     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnghttp2 >= 1.6.0\""; } >&5
   20520   ($PKG_CONFIG --exists --print-errors "libnghttp2 >= 1.6.0") 2>&5
   20521   ac_status=$?
   20522   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20523   test $ac_status = 0; }; then
   20524   pkg_cv_LIBNGHTTP2_CFLAGS=`$PKG_CONFIG --cflags "libnghttp2 >= 1.6.0" 2>/dev/null`
   20525 		      test "x$?" != "x0" && pkg_failed=yes
   20526 else
   20527   pkg_failed=yes
   20528 fi
   20529  else
   20530     pkg_failed=untried
   20531 fi
   20532 if test -n "$LIBNGHTTP2_LIBS"; then
   20533     pkg_cv_LIBNGHTTP2_LIBS="$LIBNGHTTP2_LIBS"
   20534  elif test -n "$PKG_CONFIG"; then
   20535     if test -n "$PKG_CONFIG" && \
   20536     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnghttp2 >= 1.6.0\""; } >&5
   20537   ($PKG_CONFIG --exists --print-errors "libnghttp2 >= 1.6.0") 2>&5
   20538   ac_status=$?
   20539   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20540   test $ac_status = 0; }; then
   20541   pkg_cv_LIBNGHTTP2_LIBS=`$PKG_CONFIG --libs "libnghttp2 >= 1.6.0" 2>/dev/null`
   20542 		      test "x$?" != "x0" && pkg_failed=yes
   20543 else
   20544   pkg_failed=yes
   20545 fi
   20546  else
   20547     pkg_failed=untried
   20548 fi
   20549 
   20550 
   20551 
   20552 if test $pkg_failed = yes; then
   20553         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20554 printf "%s\n" "no" >&6; }
   20555 
   20556 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20557         _pkg_short_errors_supported=yes
   20558 else
   20559         _pkg_short_errors_supported=no
   20560 fi
   20561         if test $_pkg_short_errors_supported = yes; then
   20562                 LIBNGHTTP2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnghttp2 >= 1.6.0" 2>&1`
   20563         else
   20564                 LIBNGHTTP2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnghttp2 >= 1.6.0" 2>&1`
   20565         fi
   20566         # Put the nasty error message in config.log where it belongs
   20567         echo "$LIBNGHTTP2_PKG_ERRORS" >&5
   20568 
   20569         as_fn_error $? "DNS-over-HTTPS support requested, but libnghttp2 not found. Either install libnghttp2 or use --disable-doh." "$LINENO" 5
   20570 elif test $pkg_failed = untried; then
   20571         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20572 printf "%s\n" "no" >&6; }
   20573         as_fn_error $? "DNS-over-HTTPS support requested, but libnghttp2 not found. Either install libnghttp2 or use --disable-doh." "$LINENO" 5
   20574 else
   20575         LIBNGHTTP2_CFLAGS=$pkg_cv_LIBNGHTTP2_CFLAGS
   20576         LIBNGHTTP2_LIBS=$pkg_cv_LIBNGHTTP2_LIBS
   20577         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20578 printf "%s\n" "yes" >&6; }
   20579 
   20580 printf "%s\n" "#define HAVE_LIBNGHTTP2 1" >>confdefs.h
   20581 
   20582 fi ;; #(
   20583   *) :
   20584     as_fn_error $? "Specifying libnghttp2 installation path is not supported, adjust PKG_CONFIG_PATH instead" "$LINENO" 5 ;;
   20585 esac
   20586 fi
   20587 
   20588  if test -n "$LIBNGHTTP2_LIBS"; then
   20589   HAVE_LIBNGHTTP2_TRUE=
   20590   HAVE_LIBNGHTTP2_FALSE='#'
   20591 else
   20592   HAVE_LIBNGHTTP2_TRUE='#'
   20593   HAVE_LIBNGHTTP2_FALSE=
   20594 fi
   20595 
   20596 
   20597 
   20598 #
   20599 # flockfile is usually provided by pthreads
   20600 #
   20601 ac_fn_c_check_func "$LINENO" "flockfile" "ac_cv_func_flockfile"
   20602 if test "x$ac_cv_func_flockfile" = xyes
   20603 then :
   20604   printf "%s\n" "#define HAVE_FLOCKFILE 1" >>confdefs.h
   20605 
   20606 fi
   20607 ac_fn_c_check_func "$LINENO" "getc_unlocked" "ac_cv_func_getc_unlocked"
   20608 if test "x$ac_cv_func_getc_unlocked" = xyes
   20609 then :
   20610   printf "%s\n" "#define HAVE_GETC_UNLOCKED 1" >>confdefs.h
   20611 
   20612 fi
   20613 
   20614 
   20615 #
   20616 # Look for sysconf to allow detection of the number of processors.
   20617 #
   20618 ac_fn_c_check_func "$LINENO" "sysconf" "ac_cv_func_sysconf"
   20619 if test "x$ac_cv_func_sysconf" = xyes
   20620 then :
   20621   printf "%s\n" "#define HAVE_SYSCONF 1" >>confdefs.h
   20622 
   20623 fi
   20624 
   20625 
   20626 #
   20627 # Do we want to use pthread rwlock?
   20628 #
   20629 # [pairwise: --enable-pthread-rwlock, --disable-pthread-rwlock]
   20630 # Check whether --enable-pthread_rwlock was given.
   20631 if test ${enable_pthread_rwlock+y}
   20632 then :
   20633   enableval=$enable_pthread_rwlock;
   20634 else $as_nop
   20635   enable_pthread_rwlock=no
   20636 fi
   20637 
   20638 
   20639 if test "$enable_pthread_rwlock" = "yes"
   20640 then :
   20641 
   20642   for ac_func in pthread_rwlock_rdlock
   20643 do :
   20644   ac_fn_c_check_func "$LINENO" "pthread_rwlock_rdlock" "ac_cv_func_pthread_rwlock_rdlock"
   20645 if test "x$ac_cv_func_pthread_rwlock_rdlock" = xyes
   20646 then :
   20647   printf "%s\n" "#define HAVE_PTHREAD_RWLOCK_RDLOCK 1" >>confdefs.h
   20648 
   20649 else $as_nop
   20650   as_fn_error $? "pthread_rwlock_rdlock requested but not found" "$LINENO" 5
   20651 fi
   20652 
   20653 done
   20654 
   20655 printf "%s\n" "#define USE_PTHREAD_RWLOCK 1" >>confdefs.h
   20656 
   20657 
   20658 fi
   20659 
   20660 CRYPTO=OpenSSL
   20661 
   20662 #
   20663 # OpenSSL/LibreSSL is mandatory
   20664 #
   20665 
   20666 pkg_failed=no
   20667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libssl libcrypto" >&5
   20668 printf %s "checking for libssl libcrypto... " >&6; }
   20669 
   20670 if test -n "$OPENSSL_CFLAGS"; then
   20671     pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS"
   20672  elif test -n "$PKG_CONFIG"; then
   20673     if test -n "$PKG_CONFIG" && \
   20674     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libssl libcrypto\""; } >&5
   20675   ($PKG_CONFIG --exists --print-errors "libssl libcrypto") 2>&5
   20676   ac_status=$?
   20677   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20678   test $ac_status = 0; }; then
   20679   pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "libssl libcrypto" 2>/dev/null`
   20680 		      test "x$?" != "x0" && pkg_failed=yes
   20681 else
   20682   pkg_failed=yes
   20683 fi
   20684  else
   20685     pkg_failed=untried
   20686 fi
   20687 if test -n "$OPENSSL_LIBS"; then
   20688     pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS"
   20689  elif test -n "$PKG_CONFIG"; then
   20690     if test -n "$PKG_CONFIG" && \
   20691     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libssl libcrypto\""; } >&5
   20692   ($PKG_CONFIG --exists --print-errors "libssl libcrypto") 2>&5
   20693   ac_status=$?
   20694   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20695   test $ac_status = 0; }; then
   20696   pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "libssl libcrypto" 2>/dev/null`
   20697 		      test "x$?" != "x0" && pkg_failed=yes
   20698 else
   20699   pkg_failed=yes
   20700 fi
   20701  else
   20702     pkg_failed=untried
   20703 fi
   20704 
   20705 
   20706 
   20707 if test $pkg_failed = yes; then
   20708         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20709 printf "%s\n" "no" >&6; }
   20710 
   20711 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20712         _pkg_short_errors_supported=yes
   20713 else
   20714         _pkg_short_errors_supported=no
   20715 fi
   20716         if test $_pkg_short_errors_supported = yes; then
   20717                 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libssl libcrypto" 2>&1`
   20718         else
   20719                 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libssl libcrypto" 2>&1`
   20720         fi
   20721         # Put the nasty error message in config.log where it belongs
   20722         echo "$OPENSSL_PKG_ERRORS" >&5
   20723 
   20724 
   20725     found=false
   20726 
   20727 # Check whether --with-openssl was given.
   20728 if test ${with_openssl+y}
   20729 then :
   20730   withval=$with_openssl;
   20731             case "$withval" in
   20732             "" | y | ye | yes | n | no)
   20733             as_fn_error $? "Invalid --with-openssl value" "$LINENO" 5
   20734               ;;
   20735             *) ssldirs="$withval"
   20736               ;;
   20737             esac
   20738 
   20739 else $as_nop
   20740 
   20741             # if pkg-config is installed and openssl has installed a .pc file,
   20742             # then use that information and don't search ssldirs
   20743             if test -n "$ac_tool_prefix"; then
   20744   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   20745 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   20746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20747 printf %s "checking for $ac_word... " >&6; }
   20748 if test ${ac_cv_prog_PKG_CONFIG+y}
   20749 then :
   20750   printf %s "(cached) " >&6
   20751 else $as_nop
   20752   if test -n "$PKG_CONFIG"; then
   20753   ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
   20754 else
   20755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20756 for as_dir in $PATH
   20757 do
   20758   IFS=$as_save_IFS
   20759   case $as_dir in #(((
   20760     '') as_dir=./ ;;
   20761     */) ;;
   20762     *) as_dir=$as_dir/ ;;
   20763   esac
   20764     for ac_exec_ext in '' $ac_executable_extensions; do
   20765   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20766     ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
   20767     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20768     break 2
   20769   fi
   20770 done
   20771   done
   20772 IFS=$as_save_IFS
   20773 
   20774 fi
   20775 fi
   20776 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
   20777 if test -n "$PKG_CONFIG"; then
   20778   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   20779 printf "%s\n" "$PKG_CONFIG" >&6; }
   20780 else
   20781   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20782 printf "%s\n" "no" >&6; }
   20783 fi
   20784 
   20785 
   20786 fi
   20787 if test -z "$ac_cv_prog_PKG_CONFIG"; then
   20788   ac_ct_PKG_CONFIG=$PKG_CONFIG
   20789   # Extract the first word of "pkg-config", so it can be a program name with args.
   20790 set dummy pkg-config; ac_word=$2
   20791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20792 printf %s "checking for $ac_word... " >&6; }
   20793 if test ${ac_cv_prog_ac_ct_PKG_CONFIG+y}
   20794 then :
   20795   printf %s "(cached) " >&6
   20796 else $as_nop
   20797   if test -n "$ac_ct_PKG_CONFIG"; then
   20798   ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
   20799 else
   20800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20801 for as_dir in $PATH
   20802 do
   20803   IFS=$as_save_IFS
   20804   case $as_dir in #(((
   20805     '') as_dir=./ ;;
   20806     */) ;;
   20807     *) as_dir=$as_dir/ ;;
   20808   esac
   20809     for ac_exec_ext in '' $ac_executable_extensions; do
   20810   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20811     ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
   20812     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20813     break 2
   20814   fi
   20815 done
   20816   done
   20817 IFS=$as_save_IFS
   20818 
   20819 fi
   20820 fi
   20821 ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
   20822 if test -n "$ac_ct_PKG_CONFIG"; then
   20823   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
   20824 printf "%s\n" "$ac_ct_PKG_CONFIG" >&6; }
   20825 else
   20826   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20827 printf "%s\n" "no" >&6; }
   20828 fi
   20829 
   20830   if test "x$ac_ct_PKG_CONFIG" = x; then
   20831     PKG_CONFIG=""
   20832   else
   20833     case $cross_compiling:$ac_tool_warned in
   20834 yes:)
   20835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   20836 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20837 ac_tool_warned=yes ;;
   20838 esac
   20839     PKG_CONFIG=$ac_ct_PKG_CONFIG
   20840   fi
   20841 else
   20842   PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
   20843 fi
   20844 
   20845             if test x"$PKG_CONFIG" != x""; then
   20846                 OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null`
   20847                 if test $? = 0; then
   20848                     OPENSSL_LIBS=`$PKG_CONFIG openssl --libs-only-l 2>/dev/null`
   20849                     OPENSSL_CFLAGS=`$PKG_CONFIG openssl --cflags-only-I 2>/dev/null`
   20850                     found=true
   20851                 fi
   20852             fi
   20853 
   20854             # no such luck; use some default ssldirs
   20855             if ! $found; then
   20856                 ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
   20857             fi
   20858 
   20859 
   20860 fi
   20861 
   20862 
   20863 
   20864     # note that we #include <openssl/foo.h>, so the OpenSSL headers have to be in
   20865     # an 'openssl' subdirectory
   20866 
   20867     if ! $found; then
   20868         OPENSSL_CFLAGS=
   20869         for ssldir in $ssldirs; do
   20870             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for include/openssl/ssl.h in $ssldir" >&5
   20871 printf %s "checking for include/openssl/ssl.h in $ssldir... " >&6; }
   20872             if test -f "$ssldir/include/openssl/ssl.h"; then
   20873                 OPENSSL_CFLAGS="-I$ssldir/include"
   20874                 OPENSSL_LDFLAGS="-L$ssldir/lib"
   20875                 OPENSSL_LIBS="-lssl -lcrypto"
   20876                 found=true
   20877                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20878 printf "%s\n" "yes" >&6; }
   20879                 break
   20880             else
   20881                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20882 printf "%s\n" "no" >&6; }
   20883             fi
   20884         done
   20885 
   20886         # if the file wasn't found, well, go ahead and try the link anyway -- maybe
   20887         # it will just work!
   20888     fi
   20889 
   20890     # try the preprocessor and linker with our new flags,
   20891     # being careful not to pollute the global LIBS, LDFLAGS, and CPPFLAGS
   20892 
   20893     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiling and linking against OpenSSL works" >&5
   20894 printf %s "checking whether compiling and linking against OpenSSL works... " >&6; }
   20895     echo "Trying link with OPENSSL_LDFLAGS=$OPENSSL_LDFLAGS;" \
   20896         "OPENSSL_LIBS=$OPENSSL_LIBS; OPENSSL_CFLAGS=$OPENSSL_CFLAGS" >&5
   20897 
   20898     save_LIBS="$LIBS"
   20899     save_LDFLAGS="$LDFLAGS"
   20900     save_CPPFLAGS="$CPPFLAGS"
   20901     LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS"
   20902     LIBS="$OPENSSL_LIBS $LIBS"
   20903     CPPFLAGS="$OPENSSL_CFLAGS $CPPFLAGS"
   20904     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20905 /* end confdefs.h.  */
   20906 #include <openssl/ssl.h>
   20907 int
   20908 main (void)
   20909 {
   20910 SSL_new(NULL)
   20911   ;
   20912   return 0;
   20913 }
   20914 _ACEOF
   20915 if ac_fn_c_try_link "$LINENO"
   20916 then :
   20917 
   20918             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20919 printf "%s\n" "yes" >&6; }
   20920             :
   20921 
   20922 else $as_nop
   20923 
   20924             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20925 printf "%s\n" "no" >&6; }
   20926             { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20927 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20928 as_fn_error $? "OpenSSL/LibreSSL not found
   20929 See \`config.log' for more details" "$LINENO" 5; }
   20930 
   20931 fi
   20932 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20933     conftest$ac_exeext conftest.$ac_ext
   20934     CPPFLAGS="$save_CPPFLAGS"
   20935     LDFLAGS="$save_LDFLAGS"
   20936     LIBS="$save_LIBS"
   20937 
   20938 
   20939 
   20940 
   20941 
   20942 elif test $pkg_failed = untried; then
   20943         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20944 printf "%s\n" "no" >&6; }
   20945 
   20946     found=false
   20947 
   20948 # Check whether --with-openssl was given.
   20949 if test ${with_openssl+y}
   20950 then :
   20951   withval=$with_openssl;
   20952             case "$withval" in
   20953             "" | y | ye | yes | n | no)
   20954             as_fn_error $? "Invalid --with-openssl value" "$LINENO" 5
   20955               ;;
   20956             *) ssldirs="$withval"
   20957               ;;
   20958             esac
   20959 
   20960 else $as_nop
   20961 
   20962             # if pkg-config is installed and openssl has installed a .pc file,
   20963             # then use that information and don't search ssldirs
   20964             if test -n "$ac_tool_prefix"; then
   20965   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   20966 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   20967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20968 printf %s "checking for $ac_word... " >&6; }
   20969 if test ${ac_cv_prog_PKG_CONFIG+y}
   20970 then :
   20971   printf %s "(cached) " >&6
   20972 else $as_nop
   20973   if test -n "$PKG_CONFIG"; then
   20974   ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
   20975 else
   20976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20977 for as_dir in $PATH
   20978 do
   20979   IFS=$as_save_IFS
   20980   case $as_dir in #(((
   20981     '') as_dir=./ ;;
   20982     */) ;;
   20983     *) as_dir=$as_dir/ ;;
   20984   esac
   20985     for ac_exec_ext in '' $ac_executable_extensions; do
   20986   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20987     ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
   20988     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20989     break 2
   20990   fi
   20991 done
   20992   done
   20993 IFS=$as_save_IFS
   20994 
   20995 fi
   20996 fi
   20997 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
   20998 if test -n "$PKG_CONFIG"; then
   20999   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   21000 printf "%s\n" "$PKG_CONFIG" >&6; }
   21001 else
   21002   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21003 printf "%s\n" "no" >&6; }
   21004 fi
   21005 
   21006 
   21007 fi
   21008 if test -z "$ac_cv_prog_PKG_CONFIG"; then
   21009   ac_ct_PKG_CONFIG=$PKG_CONFIG
   21010   # Extract the first word of "pkg-config", so it can be a program name with args.
   21011 set dummy pkg-config; ac_word=$2
   21012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21013 printf %s "checking for $ac_word... " >&6; }
   21014 if test ${ac_cv_prog_ac_ct_PKG_CONFIG+y}
   21015 then :
   21016   printf %s "(cached) " >&6
   21017 else $as_nop
   21018   if test -n "$ac_ct_PKG_CONFIG"; then
   21019   ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
   21020 else
   21021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21022 for as_dir in $PATH
   21023 do
   21024   IFS=$as_save_IFS
   21025   case $as_dir in #(((
   21026     '') as_dir=./ ;;
   21027     */) ;;
   21028     *) as_dir=$as_dir/ ;;
   21029   esac
   21030     for ac_exec_ext in '' $ac_executable_extensions; do
   21031   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21032     ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
   21033     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21034     break 2
   21035   fi
   21036 done
   21037   done
   21038 IFS=$as_save_IFS
   21039 
   21040 fi
   21041 fi
   21042 ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
   21043 if test -n "$ac_ct_PKG_CONFIG"; then
   21044   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
   21045 printf "%s\n" "$ac_ct_PKG_CONFIG" >&6; }
   21046 else
   21047   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21048 printf "%s\n" "no" >&6; }
   21049 fi
   21050 
   21051   if test "x$ac_ct_PKG_CONFIG" = x; then
   21052     PKG_CONFIG=""
   21053   else
   21054     case $cross_compiling:$ac_tool_warned in
   21055 yes:)
   21056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   21057 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21058 ac_tool_warned=yes ;;
   21059 esac
   21060     PKG_CONFIG=$ac_ct_PKG_CONFIG
   21061   fi
   21062 else
   21063   PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
   21064 fi
   21065 
   21066             if test x"$PKG_CONFIG" != x""; then
   21067                 OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null`
   21068                 if test $? = 0; then
   21069                     OPENSSL_LIBS=`$PKG_CONFIG openssl --libs-only-l 2>/dev/null`
   21070                     OPENSSL_CFLAGS=`$PKG_CONFIG openssl --cflags-only-I 2>/dev/null`
   21071                     found=true
   21072                 fi
   21073             fi
   21074 
   21075             # no such luck; use some default ssldirs
   21076             if ! $found; then
   21077                 ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
   21078             fi
   21079 
   21080 
   21081 fi
   21082 
   21083 
   21084 
   21085     # note that we #include <openssl/foo.h>, so the OpenSSL headers have to be in
   21086     # an 'openssl' subdirectory
   21087 
   21088     if ! $found; then
   21089         OPENSSL_CFLAGS=
   21090         for ssldir in $ssldirs; do
   21091             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for include/openssl/ssl.h in $ssldir" >&5
   21092 printf %s "checking for include/openssl/ssl.h in $ssldir... " >&6; }
   21093             if test -f "$ssldir/include/openssl/ssl.h"; then
   21094                 OPENSSL_CFLAGS="-I$ssldir/include"
   21095                 OPENSSL_LDFLAGS="-L$ssldir/lib"
   21096                 OPENSSL_LIBS="-lssl -lcrypto"
   21097                 found=true
   21098                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21099 printf "%s\n" "yes" >&6; }
   21100                 break
   21101             else
   21102                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21103 printf "%s\n" "no" >&6; }
   21104             fi
   21105         done
   21106 
   21107         # if the file wasn't found, well, go ahead and try the link anyway -- maybe
   21108         # it will just work!
   21109     fi
   21110 
   21111     # try the preprocessor and linker with our new flags,
   21112     # being careful not to pollute the global LIBS, LDFLAGS, and CPPFLAGS
   21113 
   21114     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiling and linking against OpenSSL works" >&5
   21115 printf %s "checking whether compiling and linking against OpenSSL works... " >&6; }
   21116     echo "Trying link with OPENSSL_LDFLAGS=$OPENSSL_LDFLAGS;" \
   21117         "OPENSSL_LIBS=$OPENSSL_LIBS; OPENSSL_CFLAGS=$OPENSSL_CFLAGS" >&5
   21118 
   21119     save_LIBS="$LIBS"
   21120     save_LDFLAGS="$LDFLAGS"
   21121     save_CPPFLAGS="$CPPFLAGS"
   21122     LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS"
   21123     LIBS="$OPENSSL_LIBS $LIBS"
   21124     CPPFLAGS="$OPENSSL_CFLAGS $CPPFLAGS"
   21125     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21126 /* end confdefs.h.  */
   21127 #include <openssl/ssl.h>
   21128 int
   21129 main (void)
   21130 {
   21131 SSL_new(NULL)
   21132   ;
   21133   return 0;
   21134 }
   21135 _ACEOF
   21136 if ac_fn_c_try_link "$LINENO"
   21137 then :
   21138 
   21139             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21140 printf "%s\n" "yes" >&6; }
   21141             :
   21142 
   21143 else $as_nop
   21144 
   21145             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21146 printf "%s\n" "no" >&6; }
   21147             { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21148 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21149 as_fn_error $? "OpenSSL/LibreSSL not found
   21150 See \`config.log' for more details" "$LINENO" 5; }
   21151 
   21152 fi
   21153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21154     conftest$ac_exeext conftest.$ac_ext
   21155     CPPFLAGS="$save_CPPFLAGS"
   21156     LDFLAGS="$save_LDFLAGS"
   21157     LIBS="$save_LIBS"
   21158 
   21159 
   21160 
   21161 
   21162 
   21163 else
   21164         OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS
   21165         OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS
   21166         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21167 printf "%s\n" "yes" >&6; }
   21168 
   21169 fi
   21170 
   21171 
   21172 
   21173   CCASFLAGS_openssl_ax_save_flags=$CCASFLAGS
   21174 
   21175 
   21176 
   21177   CFLAGS_openssl_ax_save_flags=$CFLAGS
   21178 
   21179 
   21180 
   21181   CPPFLAGS_openssl_ax_save_flags=$CPPFLAGS
   21182 
   21183 
   21184 
   21185   CXXFLAGS_openssl_ax_save_flags=$CXXFLAGS
   21186 
   21187 
   21188 
   21189   ERLCFLAGS_openssl_ax_save_flags=$ERLCFLAGS
   21190 
   21191 
   21192 
   21193   FCFLAGS_openssl_ax_save_flags=$FCFLAGS
   21194 
   21195 
   21196 
   21197   FCLIBS_openssl_ax_save_flags=$FCLIBS
   21198 
   21199 
   21200 
   21201   FFLAGS_openssl_ax_save_flags=$FFLAGS
   21202 
   21203 
   21204 
   21205   FLIBS_openssl_ax_save_flags=$FLIBS
   21206 
   21207 
   21208 
   21209   GCJFLAGS_openssl_ax_save_flags=$GCJFLAGS
   21210 
   21211 
   21212 
   21213   JAVACFLAGS_openssl_ax_save_flags=$JAVACFLAGS
   21214 
   21215 
   21216 
   21217   LDFLAGS_openssl_ax_save_flags=$LDFLAGS
   21218 
   21219 
   21220 
   21221   LIBS_openssl_ax_save_flags=$LIBS
   21222 
   21223 
   21224 
   21225   OBJCFLAGS_openssl_ax_save_flags=$OBJCFLAGS
   21226 
   21227 
   21228 
   21229   OBJCXXFLAGS_openssl_ax_save_flags=$OBJCXXFLAGS
   21230 
   21231 
   21232 
   21233   UPCFLAGS_openssl_ax_save_flags=$UPCFLAGS
   21234 
   21235 
   21236 
   21237   VALAFLAGS_openssl_ax_save_flags=$VALAFLAGS
   21238 
   21239 
   21240 
   21241 
   21242 CFLAGS="$CFLAGS $OPENSSL_CFLAGS"
   21243 LIBS="$LIBS $OPENSSL_LIBS"
   21244 
   21245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OpenSSL >= 1.0.0 or LibreSSL >= 2.7.0" >&5
   21246 printf %s "checking for OpenSSL >= 1.0.0 or LibreSSL >= 2.7.0... " >&6; }
   21247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21248 /* end confdefs.h.  */
   21249 #include <openssl/opensslv.h>
   21250 int
   21251 main (void)
   21252 {
   21253 #if (!defined(LIBRESSL_VERSION_NUMBER) && (OPENSSL_VERSION_NUMBER < 0x1000000fL)) || \\
   21254 			   (defined(LIBRESSL_VERSION_NUMBER) && (LIBRESSL_VERSION_NUMBER < 0x02070000fL))
   21255 		       #error OpenSSL >= 1.0.0 or LibreSSL >= 2.7.0 required
   21256 		       #endif
   21257 
   21258   ;
   21259   return 0;
   21260 }
   21261 _ACEOF
   21262 if ac_fn_c_try_compile "$LINENO"
   21263 then :
   21264   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21265 printf "%s\n" "yes" >&6; }
   21266 else $as_nop
   21267   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21268 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21269 as_fn_error $? "not found
   21270 See \`config.log' for more details" "$LINENO" 5; }
   21271 fi
   21272 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   21273 
   21274 #
   21275 # Check for functions added in OpenSSL or LibreSSL
   21276 #
   21277 
   21278 ac_fn_c_check_func "$LINENO" "BIO_read_ex" "ac_cv_func_BIO_read_ex"
   21279 if test "x$ac_cv_func_BIO_read_ex" = xyes
   21280 then :
   21281   printf "%s\n" "#define HAVE_BIO_READ_EX 1" >>confdefs.h
   21282 
   21283 fi
   21284 ac_fn_c_check_func "$LINENO" "BIO_write_ex" "ac_cv_func_BIO_write_ex"
   21285 if test "x$ac_cv_func_BIO_write_ex" = xyes
   21286 then :
   21287   printf "%s\n" "#define HAVE_BIO_WRITE_EX 1" >>confdefs.h
   21288 
   21289 fi
   21290 
   21291 ac_fn_c_check_func "$LINENO" "BN_GENCB_new" "ac_cv_func_BN_GENCB_new"
   21292 if test "x$ac_cv_func_BN_GENCB_new" = xyes
   21293 then :
   21294   printf "%s\n" "#define HAVE_BN_GENCB_NEW 1" >>confdefs.h
   21295 
   21296 fi
   21297 
   21298 ac_fn_c_check_func "$LINENO" "CRYPTO_zalloc" "ac_cv_func_CRYPTO_zalloc"
   21299 if test "x$ac_cv_func_CRYPTO_zalloc" = xyes
   21300 then :
   21301   printf "%s\n" "#define HAVE_CRYPTO_ZALLOC 1" >>confdefs.h
   21302 
   21303 fi
   21304 
   21305 ac_fn_c_check_func "$LINENO" "ERR_get_error_all" "ac_cv_func_ERR_get_error_all"
   21306 if test "x$ac_cv_func_ERR_get_error_all" = xyes
   21307 then :
   21308   printf "%s\n" "#define HAVE_ERR_GET_ERROR_ALL 1" >>confdefs.h
   21309 
   21310 fi
   21311 
   21312 ac_fn_c_check_func "$LINENO" "EVP_CIPHER_CTX_new" "ac_cv_func_EVP_CIPHER_CTX_new"
   21313 if test "x$ac_cv_func_EVP_CIPHER_CTX_new" = xyes
   21314 then :
   21315   printf "%s\n" "#define HAVE_EVP_CIPHER_CTX_NEW 1" >>confdefs.h
   21316 
   21317 fi
   21318 ac_fn_c_check_func "$LINENO" "EVP_CIPHER_CTX_free" "ac_cv_func_EVP_CIPHER_CTX_free"
   21319 if test "x$ac_cv_func_EVP_CIPHER_CTX_free" = xyes
   21320 then :
   21321   printf "%s\n" "#define HAVE_EVP_CIPHER_CTX_FREE 1" >>confdefs.h
   21322 
   21323 fi
   21324 
   21325 ac_fn_c_check_func "$LINENO" "EVP_MD_CTX_new" "ac_cv_func_EVP_MD_CTX_new"
   21326 if test "x$ac_cv_func_EVP_MD_CTX_new" = xyes
   21327 then :
   21328   printf "%s\n" "#define HAVE_EVP_MD_CTX_NEW 1" >>confdefs.h
   21329 
   21330 fi
   21331 ac_fn_c_check_func "$LINENO" "EVP_MD_CTX_free" "ac_cv_func_EVP_MD_CTX_free"
   21332 if test "x$ac_cv_func_EVP_MD_CTX_free" = xyes
   21333 then :
   21334   printf "%s\n" "#define HAVE_EVP_MD_CTX_FREE 1" >>confdefs.h
   21335 
   21336 fi
   21337 ac_fn_c_check_func "$LINENO" "EVP_MD_CTX_reset" "ac_cv_func_EVP_MD_CTX_reset"
   21338 if test "x$ac_cv_func_EVP_MD_CTX_reset" = xyes
   21339 then :
   21340   printf "%s\n" "#define HAVE_EVP_MD_CTX_RESET 1" >>confdefs.h
   21341 
   21342 fi
   21343 ac_fn_c_check_func "$LINENO" "EVP_MD_CTX_get0_md" "ac_cv_func_EVP_MD_CTX_get0_md"
   21344 if test "x$ac_cv_func_EVP_MD_CTX_get0_md" = xyes
   21345 then :
   21346   printf "%s\n" "#define HAVE_EVP_MD_CTX_GET0_MD 1" >>confdefs.h
   21347 
   21348 fi
   21349 
   21350 ac_fn_c_check_func "$LINENO" "EVP_PKEY_new_raw_private_key" "ac_cv_func_EVP_PKEY_new_raw_private_key"
   21351 if test "x$ac_cv_func_EVP_PKEY_new_raw_private_key" = xyes
   21352 then :
   21353   printf "%s\n" "#define HAVE_EVP_PKEY_NEW_RAW_PRIVATE_KEY 1" >>confdefs.h
   21354 
   21355 fi
   21356 ac_fn_c_check_func "$LINENO" "EVP_PKEY_eq" "ac_cv_func_EVP_PKEY_eq"
   21357 if test "x$ac_cv_func_EVP_PKEY_eq" = xyes
   21358 then :
   21359   printf "%s\n" "#define HAVE_EVP_PKEY_EQ 1" >>confdefs.h
   21360 
   21361 fi
   21362 
   21363 ac_fn_c_check_func "$LINENO" "OPENSSL_init_ssl" "ac_cv_func_OPENSSL_init_ssl"
   21364 if test "x$ac_cv_func_OPENSSL_init_ssl" = xyes
   21365 then :
   21366   printf "%s\n" "#define HAVE_OPENSSL_INIT_SSL 1" >>confdefs.h
   21367 
   21368 fi
   21369 ac_fn_c_check_func "$LINENO" "OPENSSL_init_crypto" "ac_cv_func_OPENSSL_init_crypto"
   21370 if test "x$ac_cv_func_OPENSSL_init_crypto" = xyes
   21371 then :
   21372   printf "%s\n" "#define HAVE_OPENSSL_INIT_CRYPTO 1" >>confdefs.h
   21373 
   21374 fi
   21375 ac_fn_c_check_func "$LINENO" "OPENSSL_cleanup" "ac_cv_func_OPENSSL_cleanup"
   21376 if test "x$ac_cv_func_OPENSSL_cleanup" = xyes
   21377 then :
   21378   printf "%s\n" "#define HAVE_OPENSSL_CLEANUP 1" >>confdefs.h
   21379 
   21380 fi
   21381 
   21382 ac_fn_c_check_func "$LINENO" "SSL_CTX_set_keylog_callback" "ac_cv_func_SSL_CTX_set_keylog_callback"
   21383 if test "x$ac_cv_func_SSL_CTX_set_keylog_callback" = xyes
   21384 then :
   21385   printf "%s\n" "#define HAVE_SSL_CTX_SET_KEYLOG_CALLBACK 1" >>confdefs.h
   21386 
   21387 fi
   21388 
   21389 ac_fn_c_check_func "$LINENO" "SSL_CTX_set_min_proto_version" "ac_cv_func_SSL_CTX_set_min_proto_version"
   21390 if test "x$ac_cv_func_SSL_CTX_set_min_proto_version" = xyes
   21391 then :
   21392   printf "%s\n" "#define HAVE_SSL_CTX_SET_MIN_PROTO_VERSION 1" >>confdefs.h
   21393 
   21394 fi
   21395 
   21396 ac_fn_c_check_func "$LINENO" "SSL_CTX_up_ref" "ac_cv_func_SSL_CTX_up_ref"
   21397 if test "x$ac_cv_func_SSL_CTX_up_ref" = xyes
   21398 then :
   21399   printf "%s\n" "#define HAVE_SSL_CTX_UP_REF 1" >>confdefs.h
   21400 
   21401 fi
   21402 
   21403 ac_fn_c_check_func "$LINENO" "SSL_read_ex" "ac_cv_func_SSL_read_ex"
   21404 if test "x$ac_cv_func_SSL_read_ex" = xyes
   21405 then :
   21406   printf "%s\n" "#define HAVE_SSL_READ_EX 1" >>confdefs.h
   21407 
   21408 fi
   21409 ac_fn_c_check_func "$LINENO" "SSL_peek_ex" "ac_cv_func_SSL_peek_ex"
   21410 if test "x$ac_cv_func_SSL_peek_ex" = xyes
   21411 then :
   21412   printf "%s\n" "#define HAVE_SSL_PEEK_EX 1" >>confdefs.h
   21413 
   21414 fi
   21415 ac_fn_c_check_func "$LINENO" "SSL_write_ex" "ac_cv_func_SSL_write_ex"
   21416 if test "x$ac_cv_func_SSL_write_ex" = xyes
   21417 then :
   21418   printf "%s\n" "#define HAVE_SSL_WRITE_EX 1" >>confdefs.h
   21419 
   21420 fi
   21421 
   21422 ac_fn_c_check_func "$LINENO" "SSL_CTX_set1_cert_store" "ac_cv_func_SSL_CTX_set1_cert_store"
   21423 if test "x$ac_cv_func_SSL_CTX_set1_cert_store" = xyes
   21424 then :
   21425   printf "%s\n" "#define HAVE_SSL_CTX_SET1_CERT_STORE 1" >>confdefs.h
   21426 
   21427 fi
   21428 ac_fn_c_check_func "$LINENO" "X509_STORE_up_ref" "ac_cv_func_X509_STORE_up_ref"
   21429 if test "x$ac_cv_func_X509_STORE_up_ref" = xyes
   21430 then :
   21431   printf "%s\n" "#define HAVE_X509_STORE_UP_REF 1" >>confdefs.h
   21432 
   21433 fi
   21434 
   21435 ac_fn_c_check_func "$LINENO" "SSL_SESSION_is_resumable" "ac_cv_func_SSL_SESSION_is_resumable"
   21436 if test "x$ac_cv_func_SSL_SESSION_is_resumable" = xyes
   21437 then :
   21438   printf "%s\n" "#define HAVE_SSL_SESSION_IS_RESUMABLE 1" >>confdefs.h
   21439 
   21440 fi
   21441 
   21442 
   21443 #
   21444 # Check for algorithm support in OpenSSL
   21445 #
   21446 
   21447 
   21448   for ac_func in EVP_DigestSignInit EVP_DigestVerifyInit
   21449 do :
   21450   as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh`
   21451 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   21452 if eval test \"x\$"$as_ac_var"\" = x"yes"
   21453 then :
   21454   cat >>confdefs.h <<_ACEOF
   21455 #define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1
   21456 _ACEOF
   21457  :
   21458 else $as_nop
   21459   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21460 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21461 as_fn_error $? "EVP_DigestSignInit/EVP_DigestVerifyInit support in OpenSSL is mandatory.
   21462 See \`config.log' for more details" "$LINENO" 5; }
   21463 fi
   21464 
   21465 done
   21466 
   21467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ECDSA P-256 support" >&5
   21468 printf %s "checking for ECDSA P-256 support... " >&6; }
   21469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21470 /* end confdefs.h.  */
   21471 #include <openssl/evp.h>
   21472 int
   21473 main (void)
   21474 {
   21475 EVP_PKEY_CTX *kctx = EVP_PKEY_CTX_new_id(NID_X9_62_prime256v1, NULL);
   21476   ;
   21477   return 0;
   21478 }
   21479 _ACEOF
   21480 if ac_fn_c_try_compile "$LINENO"
   21481 then :
   21482   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21483 printf "%s\n" "yes" >&6; }
   21484 else $as_nop
   21485   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21486 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21487 as_fn_error $? "not found.  ECDSA P-256 support in OpenSSL is mandatory.
   21488 See \`config.log' for more details" "$LINENO" 5; }
   21489 fi
   21490 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   21491 
   21492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ECDSA P-384 support" >&5
   21493 printf %s "checking for ECDSA P-384 support... " >&6; }
   21494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21495 /* end confdefs.h.  */
   21496 #include <openssl/evp.h>
   21497 int
   21498 main (void)
   21499 {
   21500 EVP_PKEY_CTX *kctx = EVP_PKEY_CTX_new_id(NID_secp384r1, NULL);
   21501   ;
   21502   return 0;
   21503 }
   21504 _ACEOF
   21505 if ac_fn_c_try_compile "$LINENO"
   21506 then :
   21507   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21508 printf "%s\n" "yes" >&6; }
   21509 else $as_nop
   21510   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21511 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21512 as_fn_error $? "not found.  ECDSA P-384 support in OpenSSL is mandatory.
   21513 See \`config.log' for more details" "$LINENO" 5; }
   21514 fi
   21515 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   21516 
   21517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Ed25519 support" >&5
   21518 printf %s "checking for Ed25519 support... " >&6; }
   21519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21520 /* end confdefs.h.  */
   21521 #include <openssl/evp.h>
   21522 int
   21523 main (void)
   21524 {
   21525 EVP_PKEY_CTX *kctx = EVP_PKEY_CTX_new_id(NID_ED25519, NULL);
   21526   ;
   21527   return 0;
   21528 }
   21529 _ACEOF
   21530 if ac_fn_c_try_compile "$LINENO"
   21531 then :
   21532 
   21533 printf "%s\n" "#define HAVE_OPENSSL_ED25519 1" >>confdefs.h
   21534 
   21535      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21536 printf "%s\n" "yes" >&6; }
   21537 else $as_nop
   21538   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21539 printf "%s\n" "no" >&6; }
   21540 fi
   21541 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   21542 
   21543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Ed448 support" >&5
   21544 printf %s "checking for Ed448 support... " >&6; }
   21545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21546 /* end confdefs.h.  */
   21547 #include <openssl/evp.h>
   21548 int
   21549 main (void)
   21550 {
   21551 EVP_PKEY_CTX *kctx = EVP_PKEY_CTX_new_id(NID_ED448, NULL);
   21552   ;
   21553   return 0;
   21554 }
   21555 _ACEOF
   21556 if ac_fn_c_try_compile "$LINENO"
   21557 then :
   21558 
   21559 printf "%s\n" "#define HAVE_OPENSSL_ED448 1" >>confdefs.h
   21560 
   21561      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21562 printf "%s\n" "yes" >&6; }
   21563 else $as_nop
   21564   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21565 printf "%s\n" "no" >&6; }
   21566 fi
   21567 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   21568 
   21569 #
   21570 # Check for OpenSSL SHA-1 support
   21571 #
   21572 
   21573   for ac_func in EVP_sha1
   21574 do :
   21575   ac_fn_c_check_func "$LINENO" "EVP_sha1" "ac_cv_func_EVP_sha1"
   21576 if test "x$ac_cv_func_EVP_sha1" = xyes
   21577 then :
   21578   printf "%s\n" "#define HAVE_EVP_SHA1 1" >>confdefs.h
   21579  :
   21580 else $as_nop
   21581   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21582 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21583 as_fn_error $? "SHA-1 support in OpenSSL is mandatory.
   21584 See \`config.log' for more details" "$LINENO" 5; }
   21585 fi
   21586 
   21587 done
   21588 
   21589 #
   21590 # Check for OpenSSL SHA-2 support
   21591 #
   21592 
   21593   for ac_func in EVP_sha224 EVP_sha256 EVP_sha384 EVP_sha512
   21594 do :
   21595   as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh`
   21596 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   21597 if eval test \"x\$"$as_ac_var"\" = x"yes"
   21598 then :
   21599   cat >>confdefs.h <<_ACEOF
   21600 #define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1
   21601 _ACEOF
   21602  :
   21603 else $as_nop
   21604   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21605 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21606 as_fn_error $? "SHA-2 support in OpenSSL is mandatory.
   21607 See \`config.log' for more details" "$LINENO" 5; }
   21608 fi
   21609 
   21610 done
   21611 
   21612 #
   21613 # Check for OpenSSL AES support
   21614 #
   21615 
   21616   for ac_func in EVP_aes_128_ecb EVP_aes_192_ecb EVP_aes_256_ecb
   21617 do :
   21618   as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh`
   21619 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   21620 if eval test \"x\$"$as_ac_var"\" = x"yes"
   21621 then :
   21622   cat >>confdefs.h <<_ACEOF
   21623 #define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1
   21624 _ACEOF
   21625  :
   21626 else $as_nop
   21627   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21628 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21629 as_fn_error $? "AES support in OpenSSL is mandatory.
   21630 See \`config.log' for more details" "$LINENO" 5; }
   21631 fi
   21632 
   21633 done
   21634 
   21635 #
   21636 # Check for OpenSSL 1.1.x/LibreSSL functions
   21637 #
   21638 ac_fn_c_check_func "$LINENO" "DH_get0_key" "ac_cv_func_DH_get0_key"
   21639 if test "x$ac_cv_func_DH_get0_key" = xyes
   21640 then :
   21641   printf "%s\n" "#define HAVE_DH_GET0_KEY 1" >>confdefs.h
   21642 
   21643 fi
   21644 ac_fn_c_check_func "$LINENO" "ECDSA_SIG_get0" "ac_cv_func_ECDSA_SIG_get0"
   21645 if test "x$ac_cv_func_ECDSA_SIG_get0" = xyes
   21646 then :
   21647   printf "%s\n" "#define HAVE_ECDSA_SIG_GET0 1" >>confdefs.h
   21648 
   21649 fi
   21650 ac_fn_c_check_func "$LINENO" "RSA_set0_key" "ac_cv_func_RSA_set0_key"
   21651 if test "x$ac_cv_func_RSA_set0_key" = xyes
   21652 then :
   21653   printf "%s\n" "#define HAVE_RSA_SET0_KEY 1" >>confdefs.h
   21654 
   21655 fi
   21656 ac_fn_c_check_func "$LINENO" "EVP_PKEY_get0_EC_KEY" "ac_cv_func_EVP_PKEY_get0_EC_KEY"
   21657 if test "x$ac_cv_func_EVP_PKEY_get0_EC_KEY" = xyes
   21658 then :
   21659   printf "%s\n" "#define HAVE_EVP_PKEY_GET0_EC_KEY 1" >>confdefs.h
   21660 
   21661 fi
   21662 
   21663 
   21664 ac_fn_c_check_func "$LINENO" "TLS_server_method" "ac_cv_func_TLS_server_method"
   21665 if test "x$ac_cv_func_TLS_server_method" = xyes
   21666 then :
   21667   printf "%s\n" "#define HAVE_TLS_SERVER_METHOD 1" >>confdefs.h
   21668 
   21669 fi
   21670 ac_fn_c_check_func "$LINENO" "TLS_client_method" "ac_cv_func_TLS_client_method"
   21671 if test "x$ac_cv_func_TLS_client_method" = xyes
   21672 then :
   21673   printf "%s\n" "#define HAVE_TLS_CLIENT_METHOD 1" >>confdefs.h
   21674 
   21675 fi
   21676 
   21677 
   21678 #
   21679 # Check whether FIPS mode is available and whether we should enable it
   21680 #
   21681 # FIPS is not included in pairwise testing as the relevant Docker image
   21682 # does not support FIPS mode.
   21683 #
   21684 # [pairwise: skip]
   21685 # Check whether --enable-fips-mode was given.
   21686 if test ${enable_fips_mode+y}
   21687 then :
   21688   enableval=$enable_fips_mode;
   21689 else $as_nop
   21690   enable_fips_mode="no"
   21691 fi
   21692 
   21693 
   21694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable FIPS mode in OpenSSL library" >&5
   21695 printf %s "checking whether to enable FIPS mode in OpenSSL library... " >&6; }
   21696 case $enable_fips_mode in #(
   21697   yes) :
   21698     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21699 printf "%s\n" "yes" >&6; }
   21700 
   21701   for ac_func in FIPS_mode
   21702 do :
   21703   ac_fn_c_check_func "$LINENO" "FIPS_mode" "ac_cv_func_FIPS_mode"
   21704 if test "x$ac_cv_func_FIPS_mode" = xyes
   21705 then :
   21706   printf "%s\n" "#define HAVE_FIPS_MODE 1" >>confdefs.h
   21707 
   21708 else $as_nop
   21709   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21710 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21711 as_fn_error $? "OpenSSL FIPS mode requested but not available.
   21712 See \`config.log' for more details" "$LINENO" 5; }
   21713 fi
   21714 
   21715 done ;; #(
   21716   no) :
   21717     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21718 printf "%s\n" "no" >&6; } ;; #(
   21719   *) :
   21720      ;;
   21721 esac
   21722 
   21723 
   21724   CCASFLAGS=$CCASFLAGS_openssl_ax_save_flags
   21725 
   21726 
   21727   CFLAGS=$CFLAGS_openssl_ax_save_flags
   21728 
   21729 
   21730   CPPFLAGS=$CPPFLAGS_openssl_ax_save_flags
   21731 
   21732 
   21733   CXXFLAGS=$CXXFLAGS_openssl_ax_save_flags
   21734 
   21735 
   21736   ERLCFLAGS=$ERLCFLAGS_openssl_ax_save_flags
   21737 
   21738 
   21739   FCFLAGS=$FCFLAGS_openssl_ax_save_flags
   21740 
   21741 
   21742   FCLIBS=$FCLIBS_openssl_ax_save_flags
   21743 
   21744 
   21745   FFLAGS=$FFLAGS_openssl_ax_save_flags
   21746 
   21747 
   21748   FLIBS=$FLIBS_openssl_ax_save_flags
   21749 
   21750 
   21751   GCJFLAGS=$GCJFLAGS_openssl_ax_save_flags
   21752 
   21753 
   21754   JAVACFLAGS=$JAVACFLAGS_openssl_ax_save_flags
   21755 
   21756 
   21757   LDFLAGS=$LDFLAGS_openssl_ax_save_flags
   21758 
   21759 
   21760   LIBS=$LIBS_openssl_ax_save_flags
   21761 
   21762 
   21763   OBJCFLAGS=$OBJCFLAGS_openssl_ax_save_flags
   21764 
   21765 
   21766   OBJCXXFLAGS=$OBJCXXFLAGS_openssl_ax_save_flags
   21767 
   21768 
   21769   UPCFLAGS=$UPCFLAGS_openssl_ax_save_flags
   21770 
   21771 
   21772   VALAFLAGS=$VALAFLAGS_openssl_ax_save_flags
   21773 
   21774 
   21775 
   21776 
   21777 
   21778 
   21779 
   21780 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
   21781 if test "x$ac_cv_func_clock_gettime" = xyes
   21782 then :
   21783   printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
   21784 
   21785 fi
   21786 
   21787 
   21788 # [pairwise: --with-gssapi=yes, --with-gssapi=auto, --without-gssapi]
   21789 
   21790 # Check whether --with-gssapi was given.
   21791 if test ${with_gssapi+y}
   21792 then :
   21793   withval=$with_gssapi;
   21794 else $as_nop
   21795   with_gssapi="auto"
   21796 fi
   21797 
   21798 
   21799 KRB5_CONFIG=
   21800 case $with_gssapi in #(
   21801   no) :
   21802     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GSSAPI support" >&5
   21803 printf %s "checking for GSSAPI support... " >&6; }
   21804 	      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21805 printf "%s\n" "no" >&6; } ;; #(
   21806   yes) :
   21807     # Extract the first word of "krb5-config", so it can be a program name with args.
   21808 set dummy krb5-config; ac_word=$2
   21809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21810 printf %s "checking for $ac_word... " >&6; }
   21811 if test ${ac_cv_path_KRB5_CONFIG+y}
   21812 then :
   21813   printf %s "(cached) " >&6
   21814 else $as_nop
   21815   case $KRB5_CONFIG in
   21816   [\\/]* | ?:[\\/]*)
   21817   ac_cv_path_KRB5_CONFIG="$KRB5_CONFIG" # Let the user override the test with a path.
   21818   ;;
   21819   *)
   21820   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21821 for as_dir in $PATH
   21822 do
   21823   IFS=$as_save_IFS
   21824   case $as_dir in #(((
   21825     '') as_dir=./ ;;
   21826     */) ;;
   21827     *) as_dir=$as_dir/ ;;
   21828   esac
   21829     for ac_exec_ext in '' $ac_executable_extensions; do
   21830   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21831     ac_cv_path_KRB5_CONFIG="$as_dir$ac_word$ac_exec_ext"
   21832     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21833     break 2
   21834   fi
   21835 done
   21836   done
   21837 IFS=$as_save_IFS
   21838 
   21839   ;;
   21840 esac
   21841 fi
   21842 KRB5_CONFIG=$ac_cv_path_KRB5_CONFIG
   21843 if test -n "$KRB5_CONFIG"; then
   21844   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $KRB5_CONFIG" >&5
   21845 printf "%s\n" "$KRB5_CONFIG" >&6; }
   21846 else
   21847   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21848 printf "%s\n" "no" >&6; }
   21849 fi
   21850 
   21851 
   21852 	       if test -z "$KRB5_CONFIG"
   21853 then :
   21854   as_fn_error $? "krb5-config required but not found" "$LINENO" 5
   21855 fi ;; #(
   21856   auto) :
   21857     # Extract the first word of "krb5-config", so it can be a program name with args.
   21858 set dummy krb5-config; ac_word=$2
   21859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21860 printf %s "checking for $ac_word... " >&6; }
   21861 if test ${ac_cv_path_KRB5_CONFIG+y}
   21862 then :
   21863   printf %s "(cached) " >&6
   21864 else $as_nop
   21865   case $KRB5_CONFIG in
   21866   [\\/]* | ?:[\\/]*)
   21867   ac_cv_path_KRB5_CONFIG="$KRB5_CONFIG" # Let the user override the test with a path.
   21868   ;;
   21869   *)
   21870   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21871 for as_dir in $PATH
   21872 do
   21873   IFS=$as_save_IFS
   21874   case $as_dir in #(((
   21875     '') as_dir=./ ;;
   21876     */) ;;
   21877     *) as_dir=$as_dir/ ;;
   21878   esac
   21879     for ac_exec_ext in '' $ac_executable_extensions; do
   21880   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21881     ac_cv_path_KRB5_CONFIG="$as_dir$ac_word$ac_exec_ext"
   21882     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21883     break 2
   21884   fi
   21885 done
   21886   done
   21887 IFS=$as_save_IFS
   21888 
   21889   ;;
   21890 esac
   21891 fi
   21892 KRB5_CONFIG=$ac_cv_path_KRB5_CONFIG
   21893 if test -n "$KRB5_CONFIG"; then
   21894   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $KRB5_CONFIG" >&5
   21895 printf "%s\n" "$KRB5_CONFIG" >&6; }
   21896 else
   21897   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21898 printf "%s\n" "no" >&6; }
   21899 fi
   21900 
   21901  ;; #(
   21902   *krb5-config*) :
   21903     KRB5_CONFIG="$with_gssapi" ;; #(
   21904   *) :
   21905     as_fn_error $? "--with-gssapi requires yes|no|auto|/path/to/krb5-config" "$LINENO" 5 ;;
   21906 esac
   21907 
   21908 GSSAPI_CFLAGS=
   21909 GSSAPI_LIBS=
   21910 KRB5_CFLAGS=
   21911 KRB5_LIBS=
   21912 if test -n "$KRB5_CONFIG"
   21913 then :
   21914   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gssapi libraries" >&5
   21915 printf %s "checking for gssapi libraries... " >&6; }
   21916 
   21917 
   21918   CCASFLAGS_gssapi_ax_save_flags=$CCASFLAGS
   21919 
   21920 
   21921 
   21922   CFLAGS_gssapi_ax_save_flags=$CFLAGS
   21923 
   21924 
   21925 
   21926   CPPFLAGS_gssapi_ax_save_flags=$CPPFLAGS
   21927 
   21928 
   21929 
   21930   CXXFLAGS_gssapi_ax_save_flags=$CXXFLAGS
   21931 
   21932 
   21933 
   21934   ERLCFLAGS_gssapi_ax_save_flags=$ERLCFLAGS
   21935 
   21936 
   21937 
   21938   FCFLAGS_gssapi_ax_save_flags=$FCFLAGS
   21939 
   21940 
   21941 
   21942   FCLIBS_gssapi_ax_save_flags=$FCLIBS
   21943 
   21944 
   21945 
   21946   FFLAGS_gssapi_ax_save_flags=$FFLAGS
   21947 
   21948 
   21949 
   21950   FLIBS_gssapi_ax_save_flags=$FLIBS
   21951 
   21952 
   21953 
   21954   GCJFLAGS_gssapi_ax_save_flags=$GCJFLAGS
   21955 
   21956 
   21957 
   21958   JAVACFLAGS_gssapi_ax_save_flags=$JAVACFLAGS
   21959 
   21960 
   21961 
   21962   LDFLAGS_gssapi_ax_save_flags=$LDFLAGS
   21963 
   21964 
   21965 
   21966   LIBS_gssapi_ax_save_flags=$LIBS
   21967 
   21968 
   21969 
   21970   OBJCFLAGS_gssapi_ax_save_flags=$OBJCFLAGS
   21971 
   21972 
   21973 
   21974   OBJCXXFLAGS_gssapi_ax_save_flags=$OBJCXXFLAGS
   21975 
   21976 
   21977 
   21978   UPCFLAGS_gssapi_ax_save_flags=$UPCFLAGS
   21979 
   21980 
   21981 
   21982   VALAFLAGS_gssapi_ax_save_flags=$VALAFLAGS
   21983 
   21984 
   21985 
   21986        GSSAPI_CFLAGS=`"$KRB5_CONFIG" --cflags gssapi`
   21987        GSSAPI_LIBS=`"$KRB5_CONFIG" --libs gssapi`
   21988        CFLAGS="$CFLAGS $GSSAPI_CFLAGS"
   21989        LIBS="$LIBS $GSSAPI_LIBS"
   21990        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GSSAPI_CFLAGS $GSSAPI_LIBS" >&5
   21991 printf "%s\n" "$GSSAPI_CFLAGS $GSSAPI_LIBS" >&6; }
   21992               for ac_header in gssapi/gssapi.h
   21993 do :
   21994   ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
   21995 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
   21996 then :
   21997   printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
   21998 
   21999 else $as_nop
   22000          for ac_header in gssapi.h
   22001 do :
   22002   ac_fn_c_check_header_compile "$LINENO" "gssapi.h" "ac_cv_header_gssapi_h" "$ac_includes_default"
   22003 if test "x$ac_cv_header_gssapi_h" = xyes
   22004 then :
   22005   printf "%s\n" "#define HAVE_GSSAPI_H 1" >>confdefs.h
   22006 
   22007 else $as_nop
   22008   as_fn_error $? "neither gssapi/gssapi.h nor gssapi.h found" "$LINENO" 5
   22009 fi
   22010 
   22011 done
   22012 fi
   22013 
   22014 done
   22015               for ac_header in gssapi/gssapi_krb5.h
   22016 do :
   22017   ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_krb5.h" "ac_cv_header_gssapi_gssapi_krb5_h" "$ac_includes_default"
   22018 if test "x$ac_cv_header_gssapi_gssapi_krb5_h" = xyes
   22019 then :
   22020   printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_KRB5_H 1" >>confdefs.h
   22021         for ac_header in gssapi_krb5.h
   22022 do :
   22023   ac_fn_c_check_header_compile "$LINENO" "gssapi_krb5.h" "ac_cv_header_gssapi_krb5_h" "$ac_includes_default"
   22024 if test "x$ac_cv_header_gssapi_krb5_h" = xyes
   22025 then :
   22026   printf "%s\n" "#define HAVE_GSSAPI_KRB5_H 1" >>confdefs.h
   22027 
   22028 					  as_fn_error $? "neither gssapi/gssapi_krb5.h nor gssapi_krb5.h found" "$LINENO" 5
   22029 fi
   22030 
   22031 done
   22032 fi
   22033 
   22034 done
   22035 
   22036   for ac_func in gss_acquire_cred
   22037 do :
   22038   ac_fn_c_check_func "$LINENO" "gss_acquire_cred" "ac_cv_func_gss_acquire_cred"
   22039 if test "x$ac_cv_func_gss_acquire_cred" = xyes
   22040 then :
   22041   printf "%s\n" "#define HAVE_GSS_ACQUIRE_CRED 1" >>confdefs.h
   22042 
   22043 else $as_nop
   22044   as_fn_error $? "linking with $GSSAPI_LIBS does not work" "$LINENO" 5
   22045 fi
   22046 
   22047 done
   22048 
   22049   CCASFLAGS=$CCASFLAGS_gssapi_ax_save_flags
   22050 
   22051 
   22052   CFLAGS=$CFLAGS_gssapi_ax_save_flags
   22053 
   22054 
   22055   CPPFLAGS=$CPPFLAGS_gssapi_ax_save_flags
   22056 
   22057 
   22058   CXXFLAGS=$CXXFLAGS_gssapi_ax_save_flags
   22059 
   22060 
   22061   ERLCFLAGS=$ERLCFLAGS_gssapi_ax_save_flags
   22062 
   22063 
   22064   FCFLAGS=$FCFLAGS_gssapi_ax_save_flags
   22065 
   22066 
   22067   FCLIBS=$FCLIBS_gssapi_ax_save_flags
   22068 
   22069 
   22070   FFLAGS=$FFLAGS_gssapi_ax_save_flags
   22071 
   22072 
   22073   FLIBS=$FLIBS_gssapi_ax_save_flags
   22074 
   22075 
   22076   GCJFLAGS=$GCJFLAGS_gssapi_ax_save_flags
   22077 
   22078 
   22079   JAVACFLAGS=$JAVACFLAGS_gssapi_ax_save_flags
   22080 
   22081 
   22082   LDFLAGS=$LDFLAGS_gssapi_ax_save_flags
   22083 
   22084 
   22085   LIBS=$LIBS_gssapi_ax_save_flags
   22086 
   22087 
   22088   OBJCFLAGS=$OBJCFLAGS_gssapi_ax_save_flags
   22089 
   22090 
   22091   OBJCXXFLAGS=$OBJCXXFLAGS_gssapi_ax_save_flags
   22092 
   22093 
   22094   UPCFLAGS=$UPCFLAGS_gssapi_ax_save_flags
   22095 
   22096 
   22097   VALAFLAGS=$VALAFLAGS_gssapi_ax_save_flags
   22098 
   22099 
   22100 
   22101 
   22102        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5 libraries" >&5
   22103 printf %s "checking for krb5 libraries... " >&6; }
   22104 
   22105 
   22106   CCASFLAGS_krb5_ax_save_flags=$CCASFLAGS
   22107 
   22108 
   22109 
   22110   CFLAGS_krb5_ax_save_flags=$CFLAGS
   22111 
   22112 
   22113 
   22114   CPPFLAGS_krb5_ax_save_flags=$CPPFLAGS
   22115 
   22116 
   22117 
   22118   CXXFLAGS_krb5_ax_save_flags=$CXXFLAGS
   22119 
   22120 
   22121 
   22122   ERLCFLAGS_krb5_ax_save_flags=$ERLCFLAGS
   22123 
   22124 
   22125 
   22126   FCFLAGS_krb5_ax_save_flags=$FCFLAGS
   22127 
   22128 
   22129 
   22130   FCLIBS_krb5_ax_save_flags=$FCLIBS
   22131 
   22132 
   22133 
   22134   FFLAGS_krb5_ax_save_flags=$FFLAGS
   22135 
   22136 
   22137 
   22138   FLIBS_krb5_ax_save_flags=$FLIBS
   22139 
   22140 
   22141 
   22142   GCJFLAGS_krb5_ax_save_flags=$GCJFLAGS
   22143 
   22144 
   22145 
   22146   JAVACFLAGS_krb5_ax_save_flags=$JAVACFLAGS
   22147 
   22148 
   22149 
   22150   LDFLAGS_krb5_ax_save_flags=$LDFLAGS
   22151 
   22152 
   22153 
   22154   LIBS_krb5_ax_save_flags=$LIBS
   22155 
   22156 
   22157 
   22158   OBJCFLAGS_krb5_ax_save_flags=$OBJCFLAGS
   22159 
   22160 
   22161 
   22162   OBJCXXFLAGS_krb5_ax_save_flags=$OBJCXXFLAGS
   22163 
   22164 
   22165 
   22166   UPCFLAGS_krb5_ax_save_flags=$UPCFLAGS
   22167 
   22168 
   22169 
   22170   VALAFLAGS_krb5_ax_save_flags=$VALAFLAGS
   22171 
   22172 
   22173 
   22174        KRB5_CFLAGS=`"$KRB5_CONFIG" --cflags krb5`
   22175        KRB5_LIBS=`$KRB5_CONFIG --libs krb5`
   22176        CFLAGS="$CFLAGS $KRB5_CFLAGS"
   22177        LIBS="$CFLAGS $KRB5_LIBS"
   22178        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $KRB5_CFLAGS $KRB5_LIBS" >&5
   22179 printf "%s\n" "$KRB5_CFLAGS $KRB5_LIBS" >&6; }
   22180               for ac_header in krb5/krb5.h
   22181 do :
   22182   ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
   22183 if test "x$ac_cv_header_krb5_krb5_h" = xyes
   22184 then :
   22185   printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
   22186 
   22187 else $as_nop
   22188          for ac_header in krb5.h
   22189 do :
   22190   ac_fn_c_check_header_compile "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default"
   22191 if test "x$ac_cv_header_krb5_h" = xyes
   22192 then :
   22193   printf "%s\n" "#define HAVE_KRB5_H 1" >>confdefs.h
   22194 
   22195 else $as_nop
   22196   as_fn_error $? "neither krb5/krb5.h nor krb5 found" "$LINENO" 5
   22197 fi
   22198 
   22199 done
   22200 fi
   22201 
   22202 done
   22203 
   22204   for ac_func in krb5_init_context
   22205 do :
   22206   ac_fn_c_check_func "$LINENO" "krb5_init_context" "ac_cv_func_krb5_init_context"
   22207 if test "x$ac_cv_func_krb5_init_context" = xyes
   22208 then :
   22209   printf "%s\n" "#define HAVE_KRB5_INIT_CONTEXT 1" >>confdefs.h
   22210 
   22211 else $as_nop
   22212   as_fn_error $? "linking with $KRB5_LIBS failed" "$LINENO" 5
   22213 fi
   22214 
   22215 done
   22216 
   22217   CCASFLAGS=$CCASFLAGS_krb5_ax_save_flags
   22218 
   22219 
   22220   CFLAGS=$CFLAGS_krb5_ax_save_flags
   22221 
   22222 
   22223   CPPFLAGS=$CPPFLAGS_krb5_ax_save_flags
   22224 
   22225 
   22226   CXXFLAGS=$CXXFLAGS_krb5_ax_save_flags
   22227 
   22228 
   22229   ERLCFLAGS=$ERLCFLAGS_krb5_ax_save_flags
   22230 
   22231 
   22232   FCFLAGS=$FCFLAGS_krb5_ax_save_flags
   22233 
   22234 
   22235   FCLIBS=$FCLIBS_krb5_ax_save_flags
   22236 
   22237 
   22238   FFLAGS=$FFLAGS_krb5_ax_save_flags
   22239 
   22240 
   22241   FLIBS=$FLIBS_krb5_ax_save_flags
   22242 
   22243 
   22244   GCJFLAGS=$GCJFLAGS_krb5_ax_save_flags
   22245 
   22246 
   22247   JAVACFLAGS=$JAVACFLAGS_krb5_ax_save_flags
   22248 
   22249 
   22250   LDFLAGS=$LDFLAGS_krb5_ax_save_flags
   22251 
   22252 
   22253   LIBS=$LIBS_krb5_ax_save_flags
   22254 
   22255 
   22256   OBJCFLAGS=$OBJCFLAGS_krb5_ax_save_flags
   22257 
   22258 
   22259   OBJCXXFLAGS=$OBJCXXFLAGS_krb5_ax_save_flags
   22260 
   22261 
   22262   UPCFLAGS=$UPCFLAGS_krb5_ax_save_flags
   22263 
   22264 
   22265   VALAFLAGS=$VALAFLAGS_krb5_ax_save_flags
   22266 
   22267 
   22268 
   22269 
   22270 
   22271 printf "%s\n" "#define HAVE_GSSAPI 1" >>confdefs.h
   22272 
   22273        # kludge to silence compiler warnings which recommend use of GSS.framework on macOS
   22274        case $host in #(
   22275   *-darwin*) :
   22276     CFLAGS="$CFLAGS -Wno-deprecated-declarations" ;; #(
   22277   *) :
   22278      ;;
   22279 esac
   22280 fi
   22281  if test -n "$GSSAPI_LIBS"; then
   22282   HAVE_GSSAPI_TRUE=
   22283   HAVE_GSSAPI_FALSE='#'
   22284 else
   22285   HAVE_GSSAPI_TRUE='#'
   22286   HAVE_GSSAPI_FALSE=
   22287 fi
   22288 
   22289 
   22290 
   22291 
   22292 
   22293 
   22294 #
   22295 # was --with-lmdb specified?
   22296 #
   22297 
   22298 # [pairwise: --with-lmdb=auto, --with-lmdb=yes, --without-lmdb]
   22299 
   22300 # Check whether --with-lmdb was given.
   22301 if test ${with_lmdb+y}
   22302 then :
   22303   withval=$with_lmdb; :
   22304 else $as_nop
   22305   with_lmdb="auto"
   22306 fi
   22307 
   22308 
   22309 ac_lib_lmdb_found=no
   22310 case $with_lmdb in #(
   22311   no) :
   22312      ;; #(
   22313   auto|yes) :
   22314 
   22315 pkg_failed=no
   22316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lmdb" >&5
   22317 printf %s "checking for lmdb... " >&6; }
   22318 
   22319 if test -n "$LMDB_CFLAGS"; then
   22320     pkg_cv_LMDB_CFLAGS="$LMDB_CFLAGS"
   22321  elif test -n "$PKG_CONFIG"; then
   22322     if test -n "$PKG_CONFIG" && \
   22323     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lmdb\""; } >&5
   22324   ($PKG_CONFIG --exists --print-errors "lmdb") 2>&5
   22325   ac_status=$?
   22326   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22327   test $ac_status = 0; }; then
   22328   pkg_cv_LMDB_CFLAGS=`$PKG_CONFIG --cflags "lmdb" 2>/dev/null`
   22329 		      test "x$?" != "x0" && pkg_failed=yes
   22330 else
   22331   pkg_failed=yes
   22332 fi
   22333  else
   22334     pkg_failed=untried
   22335 fi
   22336 if test -n "$LMDB_LIBS"; then
   22337     pkg_cv_LMDB_LIBS="$LMDB_LIBS"
   22338  elif test -n "$PKG_CONFIG"; then
   22339     if test -n "$PKG_CONFIG" && \
   22340     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lmdb\""; } >&5
   22341   ($PKG_CONFIG --exists --print-errors "lmdb") 2>&5
   22342   ac_status=$?
   22343   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22344   test $ac_status = 0; }; then
   22345   pkg_cv_LMDB_LIBS=`$PKG_CONFIG --libs "lmdb" 2>/dev/null`
   22346 		      test "x$?" != "x0" && pkg_failed=yes
   22347 else
   22348   pkg_failed=yes
   22349 fi
   22350  else
   22351     pkg_failed=untried
   22352 fi
   22353 
   22354 
   22355 
   22356 if test $pkg_failed = yes; then
   22357         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22358 printf "%s\n" "no" >&6; }
   22359 
   22360 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22361         _pkg_short_errors_supported=yes
   22362 else
   22363         _pkg_short_errors_supported=no
   22364 fi
   22365         if test $_pkg_short_errors_supported = yes; then
   22366                 LMDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lmdb" 2>&1`
   22367         else
   22368                 LMDB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lmdb" 2>&1`
   22369         fi
   22370         # Put the nasty error message in config.log where it belongs
   22371         echo "$LMDB_PKG_ERRORS" >&5
   22372 
   22373         for ac_lib_lmdb_path in /usr /usr/local /opt /opt/local; do
   22374 						if test -z "$ac_lib_lmdb_path"
   22375 then :
   22376   as_fn_error $? "Path cannot be empty" "$LINENO" 5
   22377 fi
   22378 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lmdb header in $ac_lib_lmdb_path" >&5
   22379 printf %s "checking for lmdb header in $ac_lib_lmdb_path... " >&6; }
   22380 	  if test -r "$ac_lib_lmdb_path/include/lmdb.h"
   22381 then :
   22382   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22383 printf "%s\n" "yes" >&6; }
   22384 		 LMDB_CFLAGS="-I$ac_lib_lmdb_path/include"
   22385 		 LMDB_LIBS="-L$ac_lib_lmdb_path/lib"
   22386 
   22387 
   22388   CCASFLAGS_lmdb_ax_save_flags=$CCASFLAGS
   22389 
   22390 
   22391 
   22392   CFLAGS_lmdb_ax_save_flags=$CFLAGS
   22393 
   22394 
   22395 
   22396   CPPFLAGS_lmdb_ax_save_flags=$CPPFLAGS
   22397 
   22398 
   22399 
   22400   CXXFLAGS_lmdb_ax_save_flags=$CXXFLAGS
   22401 
   22402 
   22403 
   22404   ERLCFLAGS_lmdb_ax_save_flags=$ERLCFLAGS
   22405 
   22406 
   22407 
   22408   FCFLAGS_lmdb_ax_save_flags=$FCFLAGS
   22409 
   22410 
   22411 
   22412   FCLIBS_lmdb_ax_save_flags=$FCLIBS
   22413 
   22414 
   22415 
   22416   FFLAGS_lmdb_ax_save_flags=$FFLAGS
   22417 
   22418 
   22419 
   22420   FLIBS_lmdb_ax_save_flags=$FLIBS
   22421 
   22422 
   22423 
   22424   GCJFLAGS_lmdb_ax_save_flags=$GCJFLAGS
   22425 
   22426 
   22427 
   22428   JAVACFLAGS_lmdb_ax_save_flags=$JAVACFLAGS
   22429 
   22430 
   22431 
   22432   LDFLAGS_lmdb_ax_save_flags=$LDFLAGS
   22433 
   22434 
   22435 
   22436   LIBS_lmdb_ax_save_flags=$LIBS
   22437 
   22438 
   22439 
   22440   OBJCFLAGS_lmdb_ax_save_flags=$OBJCFLAGS
   22441 
   22442 
   22443 
   22444   OBJCXXFLAGS_lmdb_ax_save_flags=$OBJCXXFLAGS
   22445 
   22446 
   22447 
   22448   UPCFLAGS_lmdb_ax_save_flags=$UPCFLAGS
   22449 
   22450 
   22451 
   22452   VALAFLAGS_lmdb_ax_save_flags=$VALAFLAGS
   22453 
   22454 
   22455 
   22456 		 CFLAGS="$CFLAGS $LMDB_CFLAGS"
   22457 		 LIBS="$LIBS $LMDB_LIBS"
   22458 		 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing mdb_env_create" >&5
   22459 printf %s "checking for library containing mdb_env_create... " >&6; }
   22460 if test ${ac_cv_search_mdb_env_create+y}
   22461 then :
   22462   printf %s "(cached) " >&6
   22463 else $as_nop
   22464   ac_func_search_save_LIBS=$LIBS
   22465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22466 /* end confdefs.h.  */
   22467 
   22468 /* Override any GCC internal prototype to avoid an error.
   22469    Use char because int might match the return type of a GCC
   22470    builtin and then its argument prototype would still apply.  */
   22471 char mdb_env_create ();
   22472 int
   22473 main (void)
   22474 {
   22475 return mdb_env_create ();
   22476   ;
   22477   return 0;
   22478 }
   22479 _ACEOF
   22480 for ac_lib in '' lmdb
   22481 do
   22482   if test -z "$ac_lib"; then
   22483     ac_res="none required"
   22484   else
   22485     ac_res=-l$ac_lib
   22486     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22487   fi
   22488   if ac_fn_c_try_link "$LINENO"
   22489 then :
   22490   ac_cv_search_mdb_env_create=$ac_res
   22491 fi
   22492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22493     conftest$ac_exeext
   22494   if test ${ac_cv_search_mdb_env_create+y}
   22495 then :
   22496   break
   22497 fi
   22498 done
   22499 if test ${ac_cv_search_mdb_env_create+y}
   22500 then :
   22501 
   22502 else $as_nop
   22503   ac_cv_search_mdb_env_create=no
   22504 fi
   22505 rm conftest.$ac_ext
   22506 LIBS=$ac_func_search_save_LIBS
   22507 fi
   22508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mdb_env_create" >&5
   22509 printf "%s\n" "$ac_cv_search_mdb_env_create" >&6; }
   22510 ac_res=$ac_cv_search_mdb_env_create
   22511 if test "$ac_res" != no
   22512 then :
   22513   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22514   LMDB_LIBS="$LMDB_LIBS $ac_cv_search_mdb_env_create"
   22515 
   22516   CCASFLAGS=$CCASFLAGS_lmdb_ax_save_flags
   22517 
   22518 
   22519   CFLAGS=$CFLAGS_lmdb_ax_save_flags
   22520 
   22521 
   22522   CPPFLAGS=$CPPFLAGS_lmdb_ax_save_flags
   22523 
   22524 
   22525   CXXFLAGS=$CXXFLAGS_lmdb_ax_save_flags
   22526 
   22527 
   22528   ERLCFLAGS=$ERLCFLAGS_lmdb_ax_save_flags
   22529 
   22530 
   22531   FCFLAGS=$FCFLAGS_lmdb_ax_save_flags
   22532 
   22533 
   22534   FCLIBS=$FCLIBS_lmdb_ax_save_flags
   22535 
   22536 
   22537   FFLAGS=$FFLAGS_lmdb_ax_save_flags
   22538 
   22539 
   22540   FLIBS=$FLIBS_lmdb_ax_save_flags
   22541 
   22542 
   22543   GCJFLAGS=$GCJFLAGS_lmdb_ax_save_flags
   22544 
   22545 
   22546   JAVACFLAGS=$JAVACFLAGS_lmdb_ax_save_flags
   22547 
   22548 
   22549   LDFLAGS=$LDFLAGS_lmdb_ax_save_flags
   22550 
   22551 
   22552   LIBS=$LIBS_lmdb_ax_save_flags
   22553 
   22554 
   22555   OBJCFLAGS=$OBJCFLAGS_lmdb_ax_save_flags
   22556 
   22557 
   22558   OBJCXXFLAGS=$OBJCXXFLAGS_lmdb_ax_save_flags
   22559 
   22560 
   22561   UPCFLAGS=$UPCFLAGS_lmdb_ax_save_flags
   22562 
   22563 
   22564   VALAFLAGS=$VALAFLAGS_lmdb_ax_save_flags
   22565 
   22566 
   22567 
   22568 				 ac_lib_lmdb_found=yes
   22569 							     break
   22570 
   22571 else $as_nop
   22572   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22573 printf "%s\n" "no" >&6; }
   22574 				 LMDB_CFLAGS=""
   22575 				 LMDB_LIBS=""
   22576 
   22577   CCASFLAGS=$CCASFLAGS_lmdb_ax_save_flags
   22578 
   22579 
   22580   CFLAGS=$CFLAGS_lmdb_ax_save_flags
   22581 
   22582 
   22583   CPPFLAGS=$CPPFLAGS_lmdb_ax_save_flags
   22584 
   22585 
   22586   CXXFLAGS=$CXXFLAGS_lmdb_ax_save_flags
   22587 
   22588 
   22589   ERLCFLAGS=$ERLCFLAGS_lmdb_ax_save_flags
   22590 
   22591 
   22592   FCFLAGS=$FCFLAGS_lmdb_ax_save_flags
   22593 
   22594 
   22595   FCLIBS=$FCLIBS_lmdb_ax_save_flags
   22596 
   22597 
   22598   FFLAGS=$FFLAGS_lmdb_ax_save_flags
   22599 
   22600 
   22601   FLIBS=$FLIBS_lmdb_ax_save_flags
   22602 
   22603 
   22604   GCJFLAGS=$GCJFLAGS_lmdb_ax_save_flags
   22605 
   22606 
   22607   JAVACFLAGS=$JAVACFLAGS_lmdb_ax_save_flags
   22608 
   22609 
   22610   LDFLAGS=$LDFLAGS_lmdb_ax_save_flags
   22611 
   22612 
   22613   LIBS=$LIBS_lmdb_ax_save_flags
   22614 
   22615 
   22616   OBJCFLAGS=$OBJCFLAGS_lmdb_ax_save_flags
   22617 
   22618 
   22619   OBJCXXFLAGS=$OBJCXXFLAGS_lmdb_ax_save_flags
   22620 
   22621 
   22622   UPCFLAGS=$UPCFLAGS_lmdb_ax_save_flags
   22623 
   22624 
   22625   VALAFLAGS=$VALAFLAGS_lmdb_ax_save_flags
   22626 
   22627 
   22628 
   22629 
   22630 
   22631 fi
   22632 
   22633 
   22634 else $as_nop
   22635   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22636 printf "%s\n" "no" >&6; }
   22637 fi
   22638 					done
   22639 
   22640 elif test $pkg_failed = untried; then
   22641         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22642 printf "%s\n" "no" >&6; }
   22643         for ac_lib_lmdb_path in /usr /usr/local /opt /opt/local; do
   22644 						if test -z "$ac_lib_lmdb_path"
   22645 then :
   22646   as_fn_error $? "Path cannot be empty" "$LINENO" 5
   22647 fi
   22648 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lmdb header in $ac_lib_lmdb_path" >&5
   22649 printf %s "checking for lmdb header in $ac_lib_lmdb_path... " >&6; }
   22650 	  if test -r "$ac_lib_lmdb_path/include/lmdb.h"
   22651 then :
   22652   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22653 printf "%s\n" "yes" >&6; }
   22654 		 LMDB_CFLAGS="-I$ac_lib_lmdb_path/include"
   22655 		 LMDB_LIBS="-L$ac_lib_lmdb_path/lib"
   22656 
   22657 
   22658   CCASFLAGS_lmdb_ax_save_flags=$CCASFLAGS
   22659 
   22660 
   22661 
   22662   CFLAGS_lmdb_ax_save_flags=$CFLAGS
   22663 
   22664 
   22665 
   22666   CPPFLAGS_lmdb_ax_save_flags=$CPPFLAGS
   22667 
   22668 
   22669 
   22670   CXXFLAGS_lmdb_ax_save_flags=$CXXFLAGS
   22671 
   22672 
   22673 
   22674   ERLCFLAGS_lmdb_ax_save_flags=$ERLCFLAGS
   22675 
   22676 
   22677 
   22678   FCFLAGS_lmdb_ax_save_flags=$FCFLAGS
   22679 
   22680 
   22681 
   22682   FCLIBS_lmdb_ax_save_flags=$FCLIBS
   22683 
   22684 
   22685 
   22686   FFLAGS_lmdb_ax_save_flags=$FFLAGS
   22687 
   22688 
   22689 
   22690   FLIBS_lmdb_ax_save_flags=$FLIBS
   22691 
   22692 
   22693 
   22694   GCJFLAGS_lmdb_ax_save_flags=$GCJFLAGS
   22695 
   22696 
   22697 
   22698   JAVACFLAGS_lmdb_ax_save_flags=$JAVACFLAGS
   22699 
   22700 
   22701 
   22702   LDFLAGS_lmdb_ax_save_flags=$LDFLAGS
   22703 
   22704 
   22705 
   22706   LIBS_lmdb_ax_save_flags=$LIBS
   22707 
   22708 
   22709 
   22710   OBJCFLAGS_lmdb_ax_save_flags=$OBJCFLAGS
   22711 
   22712 
   22713 
   22714   OBJCXXFLAGS_lmdb_ax_save_flags=$OBJCXXFLAGS
   22715 
   22716 
   22717 
   22718   UPCFLAGS_lmdb_ax_save_flags=$UPCFLAGS
   22719 
   22720 
   22721 
   22722   VALAFLAGS_lmdb_ax_save_flags=$VALAFLAGS
   22723 
   22724 
   22725 
   22726 		 CFLAGS="$CFLAGS $LMDB_CFLAGS"
   22727 		 LIBS="$LIBS $LMDB_LIBS"
   22728 		 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing mdb_env_create" >&5
   22729 printf %s "checking for library containing mdb_env_create... " >&6; }
   22730 if test ${ac_cv_search_mdb_env_create+y}
   22731 then :
   22732   printf %s "(cached) " >&6
   22733 else $as_nop
   22734   ac_func_search_save_LIBS=$LIBS
   22735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22736 /* end confdefs.h.  */
   22737 
   22738 /* Override any GCC internal prototype to avoid an error.
   22739    Use char because int might match the return type of a GCC
   22740    builtin and then its argument prototype would still apply.  */
   22741 char mdb_env_create ();
   22742 int
   22743 main (void)
   22744 {
   22745 return mdb_env_create ();
   22746   ;
   22747   return 0;
   22748 }
   22749 _ACEOF
   22750 for ac_lib in '' lmdb
   22751 do
   22752   if test -z "$ac_lib"; then
   22753     ac_res="none required"
   22754   else
   22755     ac_res=-l$ac_lib
   22756     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22757   fi
   22758   if ac_fn_c_try_link "$LINENO"
   22759 then :
   22760   ac_cv_search_mdb_env_create=$ac_res
   22761 fi
   22762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22763     conftest$ac_exeext
   22764   if test ${ac_cv_search_mdb_env_create+y}
   22765 then :
   22766   break
   22767 fi
   22768 done
   22769 if test ${ac_cv_search_mdb_env_create+y}
   22770 then :
   22771 
   22772 else $as_nop
   22773   ac_cv_search_mdb_env_create=no
   22774 fi
   22775 rm conftest.$ac_ext
   22776 LIBS=$ac_func_search_save_LIBS
   22777 fi
   22778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mdb_env_create" >&5
   22779 printf "%s\n" "$ac_cv_search_mdb_env_create" >&6; }
   22780 ac_res=$ac_cv_search_mdb_env_create
   22781 if test "$ac_res" != no
   22782 then :
   22783   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22784   LMDB_LIBS="$LMDB_LIBS $ac_cv_search_mdb_env_create"
   22785 
   22786   CCASFLAGS=$CCASFLAGS_lmdb_ax_save_flags
   22787 
   22788 
   22789   CFLAGS=$CFLAGS_lmdb_ax_save_flags
   22790 
   22791 
   22792   CPPFLAGS=$CPPFLAGS_lmdb_ax_save_flags
   22793 
   22794 
   22795   CXXFLAGS=$CXXFLAGS_lmdb_ax_save_flags
   22796 
   22797 
   22798   ERLCFLAGS=$ERLCFLAGS_lmdb_ax_save_flags
   22799 
   22800 
   22801   FCFLAGS=$FCFLAGS_lmdb_ax_save_flags
   22802 
   22803 
   22804   FCLIBS=$FCLIBS_lmdb_ax_save_flags
   22805 
   22806 
   22807   FFLAGS=$FFLAGS_lmdb_ax_save_flags
   22808 
   22809 
   22810   FLIBS=$FLIBS_lmdb_ax_save_flags
   22811 
   22812 
   22813   GCJFLAGS=$GCJFLAGS_lmdb_ax_save_flags
   22814 
   22815 
   22816   JAVACFLAGS=$JAVACFLAGS_lmdb_ax_save_flags
   22817 
   22818 
   22819   LDFLAGS=$LDFLAGS_lmdb_ax_save_flags
   22820 
   22821 
   22822   LIBS=$LIBS_lmdb_ax_save_flags
   22823 
   22824 
   22825   OBJCFLAGS=$OBJCFLAGS_lmdb_ax_save_flags
   22826 
   22827 
   22828   OBJCXXFLAGS=$OBJCXXFLAGS_lmdb_ax_save_flags
   22829 
   22830 
   22831   UPCFLAGS=$UPCFLAGS_lmdb_ax_save_flags
   22832 
   22833 
   22834   VALAFLAGS=$VALAFLAGS_lmdb_ax_save_flags
   22835 
   22836 
   22837 
   22838 				 ac_lib_lmdb_found=yes
   22839 							     break
   22840 
   22841 else $as_nop
   22842   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22843 printf "%s\n" "no" >&6; }
   22844 				 LMDB_CFLAGS=""
   22845 				 LMDB_LIBS=""
   22846 
   22847   CCASFLAGS=$CCASFLAGS_lmdb_ax_save_flags
   22848 
   22849 
   22850   CFLAGS=$CFLAGS_lmdb_ax_save_flags
   22851 
   22852 
   22853   CPPFLAGS=$CPPFLAGS_lmdb_ax_save_flags
   22854 
   22855 
   22856   CXXFLAGS=$CXXFLAGS_lmdb_ax_save_flags
   22857 
   22858 
   22859   ERLCFLAGS=$ERLCFLAGS_lmdb_ax_save_flags
   22860 
   22861 
   22862   FCFLAGS=$FCFLAGS_lmdb_ax_save_flags
   22863 
   22864 
   22865   FCLIBS=$FCLIBS_lmdb_ax_save_flags
   22866 
   22867 
   22868   FFLAGS=$FFLAGS_lmdb_ax_save_flags
   22869 
   22870 
   22871   FLIBS=$FLIBS_lmdb_ax_save_flags
   22872 
   22873 
   22874   GCJFLAGS=$GCJFLAGS_lmdb_ax_save_flags
   22875 
   22876 
   22877   JAVACFLAGS=$JAVACFLAGS_lmdb_ax_save_flags
   22878 
   22879 
   22880   LDFLAGS=$LDFLAGS_lmdb_ax_save_flags
   22881 
   22882 
   22883   LIBS=$LIBS_lmdb_ax_save_flags
   22884 
   22885 
   22886   OBJCFLAGS=$OBJCFLAGS_lmdb_ax_save_flags
   22887 
   22888 
   22889   OBJCXXFLAGS=$OBJCXXFLAGS_lmdb_ax_save_flags
   22890 
   22891 
   22892   UPCFLAGS=$UPCFLAGS_lmdb_ax_save_flags
   22893 
   22894 
   22895   VALAFLAGS=$VALAFLAGS_lmdb_ax_save_flags
   22896 
   22897 
   22898 
   22899 
   22900 
   22901 fi
   22902 
   22903 
   22904 else $as_nop
   22905   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22906 printf "%s\n" "no" >&6; }
   22907 fi
   22908 					done
   22909 
   22910 else
   22911         LMDB_CFLAGS=$pkg_cv_LMDB_CFLAGS
   22912         LMDB_LIBS=$pkg_cv_LMDB_LIBS
   22913         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22914 printf "%s\n" "yes" >&6; }
   22915         ac_lib_lmdb_found=yes
   22916 fi ;; #(
   22917   *) :
   22918     if test -z "$with_lmdb"
   22919 then :
   22920   as_fn_error $? "Path cannot be empty" "$LINENO" 5
   22921 fi
   22922 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lmdb header in $with_lmdb" >&5
   22923 printf %s "checking for lmdb header in $with_lmdb... " >&6; }
   22924 	  if test -r "$with_lmdb/include/lmdb.h"
   22925 then :
   22926   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22927 printf "%s\n" "yes" >&6; }
   22928 		 LMDB_CFLAGS="-I$with_lmdb/include"
   22929 		 LMDB_LIBS="-L$with_lmdb/lib"
   22930 
   22931 
   22932   CCASFLAGS_lmdb_ax_save_flags=$CCASFLAGS
   22933 
   22934 
   22935 
   22936   CFLAGS_lmdb_ax_save_flags=$CFLAGS
   22937 
   22938 
   22939 
   22940   CPPFLAGS_lmdb_ax_save_flags=$CPPFLAGS
   22941 
   22942 
   22943 
   22944   CXXFLAGS_lmdb_ax_save_flags=$CXXFLAGS
   22945 
   22946 
   22947 
   22948   ERLCFLAGS_lmdb_ax_save_flags=$ERLCFLAGS
   22949 
   22950 
   22951 
   22952   FCFLAGS_lmdb_ax_save_flags=$FCFLAGS
   22953 
   22954 
   22955 
   22956   FCLIBS_lmdb_ax_save_flags=$FCLIBS
   22957 
   22958 
   22959 
   22960   FFLAGS_lmdb_ax_save_flags=$FFLAGS
   22961 
   22962 
   22963 
   22964   FLIBS_lmdb_ax_save_flags=$FLIBS
   22965 
   22966 
   22967 
   22968   GCJFLAGS_lmdb_ax_save_flags=$GCJFLAGS
   22969 
   22970 
   22971 
   22972   JAVACFLAGS_lmdb_ax_save_flags=$JAVACFLAGS
   22973 
   22974 
   22975 
   22976   LDFLAGS_lmdb_ax_save_flags=$LDFLAGS
   22977 
   22978 
   22979 
   22980   LIBS_lmdb_ax_save_flags=$LIBS
   22981 
   22982 
   22983 
   22984   OBJCFLAGS_lmdb_ax_save_flags=$OBJCFLAGS
   22985 
   22986 
   22987 
   22988   OBJCXXFLAGS_lmdb_ax_save_flags=$OBJCXXFLAGS
   22989 
   22990 
   22991 
   22992   UPCFLAGS_lmdb_ax_save_flags=$UPCFLAGS
   22993 
   22994 
   22995 
   22996   VALAFLAGS_lmdb_ax_save_flags=$VALAFLAGS
   22997 
   22998 
   22999 
   23000 		 CFLAGS="$CFLAGS $LMDB_CFLAGS"
   23001 		 LIBS="$LIBS $LMDB_LIBS"
   23002 		 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing mdb_env_create" >&5
   23003 printf %s "checking for library containing mdb_env_create... " >&6; }
   23004 if test ${ac_cv_search_mdb_env_create+y}
   23005 then :
   23006   printf %s "(cached) " >&6
   23007 else $as_nop
   23008   ac_func_search_save_LIBS=$LIBS
   23009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23010 /* end confdefs.h.  */
   23011 
   23012 /* Override any GCC internal prototype to avoid an error.
   23013    Use char because int might match the return type of a GCC
   23014    builtin and then its argument prototype would still apply.  */
   23015 char mdb_env_create ();
   23016 int
   23017 main (void)
   23018 {
   23019 return mdb_env_create ();
   23020   ;
   23021   return 0;
   23022 }
   23023 _ACEOF
   23024 for ac_lib in '' lmdb
   23025 do
   23026   if test -z "$ac_lib"; then
   23027     ac_res="none required"
   23028   else
   23029     ac_res=-l$ac_lib
   23030     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   23031   fi
   23032   if ac_fn_c_try_link "$LINENO"
   23033 then :
   23034   ac_cv_search_mdb_env_create=$ac_res
   23035 fi
   23036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23037     conftest$ac_exeext
   23038   if test ${ac_cv_search_mdb_env_create+y}
   23039 then :
   23040   break
   23041 fi
   23042 done
   23043 if test ${ac_cv_search_mdb_env_create+y}
   23044 then :
   23045 
   23046 else $as_nop
   23047   ac_cv_search_mdb_env_create=no
   23048 fi
   23049 rm conftest.$ac_ext
   23050 LIBS=$ac_func_search_save_LIBS
   23051 fi
   23052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mdb_env_create" >&5
   23053 printf "%s\n" "$ac_cv_search_mdb_env_create" >&6; }
   23054 ac_res=$ac_cv_search_mdb_env_create
   23055 if test "$ac_res" != no
   23056 then :
   23057   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   23058   LMDB_LIBS="$LMDB_LIBS $ac_cv_search_mdb_env_create"
   23059 
   23060   CCASFLAGS=$CCASFLAGS_lmdb_ax_save_flags
   23061 
   23062 
   23063   CFLAGS=$CFLAGS_lmdb_ax_save_flags
   23064 
   23065 
   23066   CPPFLAGS=$CPPFLAGS_lmdb_ax_save_flags
   23067 
   23068 
   23069   CXXFLAGS=$CXXFLAGS_lmdb_ax_save_flags
   23070 
   23071 
   23072   ERLCFLAGS=$ERLCFLAGS_lmdb_ax_save_flags
   23073 
   23074 
   23075   FCFLAGS=$FCFLAGS_lmdb_ax_save_flags
   23076 
   23077 
   23078   FCLIBS=$FCLIBS_lmdb_ax_save_flags
   23079 
   23080 
   23081   FFLAGS=$FFLAGS_lmdb_ax_save_flags
   23082 
   23083 
   23084   FLIBS=$FLIBS_lmdb_ax_save_flags
   23085 
   23086 
   23087   GCJFLAGS=$GCJFLAGS_lmdb_ax_save_flags
   23088 
   23089 
   23090   JAVACFLAGS=$JAVACFLAGS_lmdb_ax_save_flags
   23091 
   23092 
   23093   LDFLAGS=$LDFLAGS_lmdb_ax_save_flags
   23094 
   23095 
   23096   LIBS=$LIBS_lmdb_ax_save_flags
   23097 
   23098 
   23099   OBJCFLAGS=$OBJCFLAGS_lmdb_ax_save_flags
   23100 
   23101 
   23102   OBJCXXFLAGS=$OBJCXXFLAGS_lmdb_ax_save_flags
   23103 
   23104 
   23105   UPCFLAGS=$UPCFLAGS_lmdb_ax_save_flags
   23106 
   23107 
   23108   VALAFLAGS=$VALAFLAGS_lmdb_ax_save_flags
   23109 
   23110 
   23111 
   23112 				 ac_lib_lmdb_found=yes
   23113 
   23114 else $as_nop
   23115   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23116 printf "%s\n" "no" >&6; }
   23117 				 LMDB_CFLAGS=""
   23118 				 LMDB_LIBS=""
   23119 
   23120   CCASFLAGS=$CCASFLAGS_lmdb_ax_save_flags
   23121 
   23122 
   23123   CFLAGS=$CFLAGS_lmdb_ax_save_flags
   23124 
   23125 
   23126   CPPFLAGS=$CPPFLAGS_lmdb_ax_save_flags
   23127 
   23128 
   23129   CXXFLAGS=$CXXFLAGS_lmdb_ax_save_flags
   23130 
   23131 
   23132   ERLCFLAGS=$ERLCFLAGS_lmdb_ax_save_flags
   23133 
   23134 
   23135   FCFLAGS=$FCFLAGS_lmdb_ax_save_flags
   23136 
   23137 
   23138   FCLIBS=$FCLIBS_lmdb_ax_save_flags
   23139 
   23140 
   23141   FFLAGS=$FFLAGS_lmdb_ax_save_flags
   23142 
   23143 
   23144   FLIBS=$FLIBS_lmdb_ax_save_flags
   23145 
   23146 
   23147   GCJFLAGS=$GCJFLAGS_lmdb_ax_save_flags
   23148 
   23149 
   23150   JAVACFLAGS=$JAVACFLAGS_lmdb_ax_save_flags
   23151 
   23152 
   23153   LDFLAGS=$LDFLAGS_lmdb_ax_save_flags
   23154 
   23155 
   23156   LIBS=$LIBS_lmdb_ax_save_flags
   23157 
   23158 
   23159   OBJCFLAGS=$OBJCFLAGS_lmdb_ax_save_flags
   23160 
   23161 
   23162   OBJCXXFLAGS=$OBJCXXFLAGS_lmdb_ax_save_flags
   23163 
   23164 
   23165   UPCFLAGS=$UPCFLAGS_lmdb_ax_save_flags
   23166 
   23167 
   23168   VALAFLAGS=$VALAFLAGS_lmdb_ax_save_flags
   23169 
   23170 
   23171 
   23172 
   23173 
   23174 fi
   23175 
   23176 
   23177 else $as_nop
   23178   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23179 printf "%s\n" "no" >&6; }
   23180 fi ;;
   23181 esac
   23182 
   23183 # don't fail when in automatic mode
   23184 if test "$with_lmdb" = "auto" && test "$ac_lib_lmdb_found" = "no"
   23185 then :
   23186   with_lmdb=no
   23187 fi
   23188 
   23189 # hard fail when LMDB requested, but not found
   23190 if test "$with_lmdb" != "no" && test "$ac_lib_lmdb_found" != "yes"
   23191 then :
   23192   as_fn_error $? "LMDB requested, but not found" "$LINENO" 5
   23193 fi
   23194 
   23195 if test "$ac_lib_lmdb_found" = "yes"
   23196 then :
   23197 
   23198 printf "%s\n" "#define HAVE_LMDB 1" >>confdefs.h
   23199 
   23200 fi
   23201 
   23202 
   23203 
   23204  if test -n "$LMDB_LIBS"; then
   23205   HAVE_LMDB_TRUE=
   23206   HAVE_LMDB_FALSE='#'
   23207 else
   23208   HAVE_LMDB_TRUE='#'
   23209   HAVE_LMDB_FALSE=
   23210 fi
   23211 
   23212 
   23213 #
   23214 # was --with-libxml2 specified?
   23215 #
   23216 # [pairwise: --with-libxml2=auto, --with-libxml2=yes, --without-libxml2]
   23217 
   23218 # Check whether --with-libxml2 was given.
   23219 if test ${with_libxml2+y}
   23220 then :
   23221   withval=$with_libxml2;
   23222 else $as_nop
   23223   with_libxml2="auto"
   23224 fi
   23225 
   23226 
   23227 case $with_libxml2 in #(
   23228   no) :
   23229      ;; #(
   23230   auto) :
   23231 
   23232 pkg_failed=no
   23233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.6.0" >&5
   23234 printf %s "checking for libxml-2.0 >= 2.6.0... " >&6; }
   23235 
   23236 if test -n "$LIBXML2_CFLAGS"; then
   23237     pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS"
   23238  elif test -n "$PKG_CONFIG"; then
   23239     if test -n "$PKG_CONFIG" && \
   23240     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6.0\""; } >&5
   23241   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6.0") 2>&5
   23242   ac_status=$?
   23243   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23244   test $ac_status = 0; }; then
   23245   pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.0" 2>/dev/null`
   23246 		      test "x$?" != "x0" && pkg_failed=yes
   23247 else
   23248   pkg_failed=yes
   23249 fi
   23250  else
   23251     pkg_failed=untried
   23252 fi
   23253 if test -n "$LIBXML2_LIBS"; then
   23254     pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS"
   23255  elif test -n "$PKG_CONFIG"; then
   23256     if test -n "$PKG_CONFIG" && \
   23257     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6.0\""; } >&5
   23258   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6.0") 2>&5
   23259   ac_status=$?
   23260   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23261   test $ac_status = 0; }; then
   23262   pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.0" 2>/dev/null`
   23263 		      test "x$?" != "x0" && pkg_failed=yes
   23264 else
   23265   pkg_failed=yes
   23266 fi
   23267  else
   23268     pkg_failed=untried
   23269 fi
   23270 
   23271 
   23272 
   23273 if test $pkg_failed = yes; then
   23274         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23275 printf "%s\n" "no" >&6; }
   23276 
   23277 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   23278         _pkg_short_errors_supported=yes
   23279 else
   23280         _pkg_short_errors_supported=no
   23281 fi
   23282         if test $_pkg_short_errors_supported = yes; then
   23283                 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.6.0" 2>&1`
   23284         else
   23285                 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.6.0" 2>&1`
   23286         fi
   23287         # Put the nasty error message in config.log where it belongs
   23288         echo "$LIBXML2_PKG_ERRORS" >&5
   23289 
   23290         :
   23291 elif test $pkg_failed = untried; then
   23292         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23293 printf "%s\n" "no" >&6; }
   23294         :
   23295 else
   23296         LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS
   23297         LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS
   23298         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23299 printf "%s\n" "yes" >&6; }
   23300 
   23301 printf "%s\n" "#define HAVE_LIBXML2 1" >>confdefs.h
   23302 
   23303 fi ;; #(
   23304   yes) :
   23305 
   23306 pkg_failed=no
   23307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.6.0" >&5
   23308 printf %s "checking for libxml-2.0 >= 2.6.0... " >&6; }
   23309 
   23310 if test -n "$LIBXML2_CFLAGS"; then
   23311     pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS"
   23312  elif test -n "$PKG_CONFIG"; then
   23313     if test -n "$PKG_CONFIG" && \
   23314     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6.0\""; } >&5
   23315   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6.0") 2>&5
   23316   ac_status=$?
   23317   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23318   test $ac_status = 0; }; then
   23319   pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.0" 2>/dev/null`
   23320 		      test "x$?" != "x0" && pkg_failed=yes
   23321 else
   23322   pkg_failed=yes
   23323 fi
   23324  else
   23325     pkg_failed=untried
   23326 fi
   23327 if test -n "$LIBXML2_LIBS"; then
   23328     pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS"
   23329  elif test -n "$PKG_CONFIG"; then
   23330     if test -n "$PKG_CONFIG" && \
   23331     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6.0\""; } >&5
   23332   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6.0") 2>&5
   23333   ac_status=$?
   23334   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23335   test $ac_status = 0; }; then
   23336   pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.0" 2>/dev/null`
   23337 		      test "x$?" != "x0" && pkg_failed=yes
   23338 else
   23339   pkg_failed=yes
   23340 fi
   23341  else
   23342     pkg_failed=untried
   23343 fi
   23344 
   23345 
   23346 
   23347 if test $pkg_failed = yes; then
   23348         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23349 printf "%s\n" "no" >&6; }
   23350 
   23351 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   23352         _pkg_short_errors_supported=yes
   23353 else
   23354         _pkg_short_errors_supported=no
   23355 fi
   23356         if test $_pkg_short_errors_supported = yes; then
   23357                 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.6.0" 2>&1`
   23358         else
   23359                 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.6.0" 2>&1`
   23360         fi
   23361         # Put the nasty error message in config.log where it belongs
   23362         echo "$LIBXML2_PKG_ERRORS" >&5
   23363 
   23364         as_fn_error $? "Package requirements (libxml-2.0 >= 2.6.0) were not met:
   23365 
   23366 $LIBXML2_PKG_ERRORS
   23367 
   23368 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23369 installed software in a non-standard prefix.
   23370 
   23371 Alternatively, you may set the environment variables LIBXML2_CFLAGS
   23372 and LIBXML2_LIBS to avoid the need to call pkg-config.
   23373 See the pkg-config man page for more details." "$LINENO" 5
   23374 elif test $pkg_failed = untried; then
   23375         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23376 printf "%s\n" "no" >&6; }
   23377         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   23378 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   23379 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   23380 is in your PATH or set the PKG_CONFIG environment variable to the full
   23381 path to pkg-config.
   23382 
   23383 Alternatively, you may set the environment variables LIBXML2_CFLAGS
   23384 and LIBXML2_LIBS to avoid the need to call pkg-config.
   23385 See the pkg-config man page for more details.
   23386 
   23387 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   23388 See \`config.log' for more details" "$LINENO" 5; }
   23389 else
   23390         LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS
   23391         LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS
   23392         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23393 printf "%s\n" "yes" >&6; }
   23394 
   23395 printf "%s\n" "#define HAVE_LIBXML2 1" >>confdefs.h
   23396 
   23397 fi ;; #(
   23398   *) :
   23399     as_fn_error $? "Specifying libxml2 installation path is not supported, adjust PKG_CONFIG_PATH instead" "$LINENO" 5 ;;
   23400 esac
   23401 
   23402  if test -n "$LIBXML2_LIBS"; then
   23403   HAVE_LIBXML2_TRUE=
   23404   HAVE_LIBXML2_FALSE='#'
   23405 else
   23406   HAVE_LIBXML2_TRUE='#'
   23407   HAVE_LIBXML2_FALSE=
   23408 fi
   23409 
   23410 
   23411 #
   23412 # was --with-json-c specified?
   23413 #
   23414 # [pairwise: --with-json-c=detect, --with-json-c=yes, --without-json-c]
   23415 
   23416 # Check whether --with-json-c was given.
   23417 if test ${with_json_c+y}
   23418 then :
   23419   withval=$with_json_c;
   23420 else $as_nop
   23421   with_json_c="detect"
   23422 fi
   23423 
   23424 
   23425 case $with_json_c in #(
   23426   no) :
   23427      ;; #(
   23428   detect) :
   23429 
   23430 pkg_failed=no
   23431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for json-c >= 0.11" >&5
   23432 printf %s "checking for json-c >= 0.11... " >&6; }
   23433 
   23434 if test -n "$JSON_C_CFLAGS"; then
   23435     pkg_cv_JSON_C_CFLAGS="$JSON_C_CFLAGS"
   23436  elif test -n "$PKG_CONFIG"; then
   23437     if test -n "$PKG_CONFIG" && \
   23438     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.11\""; } >&5
   23439   ($PKG_CONFIG --exists --print-errors "json-c >= 0.11") 2>&5
   23440   ac_status=$?
   23441   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23442   test $ac_status = 0; }; then
   23443   pkg_cv_JSON_C_CFLAGS=`$PKG_CONFIG --cflags "json-c >= 0.11" 2>/dev/null`
   23444 		      test "x$?" != "x0" && pkg_failed=yes
   23445 else
   23446   pkg_failed=yes
   23447 fi
   23448  else
   23449     pkg_failed=untried
   23450 fi
   23451 if test -n "$JSON_C_LIBS"; then
   23452     pkg_cv_JSON_C_LIBS="$JSON_C_LIBS"
   23453  elif test -n "$PKG_CONFIG"; then
   23454     if test -n "$PKG_CONFIG" && \
   23455     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.11\""; } >&5
   23456   ($PKG_CONFIG --exists --print-errors "json-c >= 0.11") 2>&5
   23457   ac_status=$?
   23458   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23459   test $ac_status = 0; }; then
   23460   pkg_cv_JSON_C_LIBS=`$PKG_CONFIG --libs "json-c >= 0.11" 2>/dev/null`
   23461 		      test "x$?" != "x0" && pkg_failed=yes
   23462 else
   23463   pkg_failed=yes
   23464 fi
   23465  else
   23466     pkg_failed=untried
   23467 fi
   23468 
   23469 
   23470 
   23471 if test $pkg_failed = yes; then
   23472         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23473 printf "%s\n" "no" >&6; }
   23474 
   23475 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   23476         _pkg_short_errors_supported=yes
   23477 else
   23478         _pkg_short_errors_supported=no
   23479 fi
   23480         if test $_pkg_short_errors_supported = yes; then
   23481                 JSON_C_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c >= 0.11" 2>&1`
   23482         else
   23483                 JSON_C_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c >= 0.11" 2>&1`
   23484         fi
   23485         # Put the nasty error message in config.log where it belongs
   23486         echo "$JSON_C_PKG_ERRORS" >&5
   23487 
   23488         :
   23489 elif test $pkg_failed = untried; then
   23490         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23491 printf "%s\n" "no" >&6; }
   23492         :
   23493 else
   23494         JSON_C_CFLAGS=$pkg_cv_JSON_C_CFLAGS
   23495         JSON_C_LIBS=$pkg_cv_JSON_C_LIBS
   23496         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23497 printf "%s\n" "yes" >&6; }
   23498 
   23499 printf "%s\n" "#define HAVE_JSON_C 1" >>confdefs.h
   23500 
   23501 fi ;; #(
   23502   yes) :
   23503 
   23504 pkg_failed=no
   23505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for json-c >= 0.11" >&5
   23506 printf %s "checking for json-c >= 0.11... " >&6; }
   23507 
   23508 if test -n "$JSON_C_CFLAGS"; then
   23509     pkg_cv_JSON_C_CFLAGS="$JSON_C_CFLAGS"
   23510  elif test -n "$PKG_CONFIG"; then
   23511     if test -n "$PKG_CONFIG" && \
   23512     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.11\""; } >&5
   23513   ($PKG_CONFIG --exists --print-errors "json-c >= 0.11") 2>&5
   23514   ac_status=$?
   23515   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23516   test $ac_status = 0; }; then
   23517   pkg_cv_JSON_C_CFLAGS=`$PKG_CONFIG --cflags "json-c >= 0.11" 2>/dev/null`
   23518 		      test "x$?" != "x0" && pkg_failed=yes
   23519 else
   23520   pkg_failed=yes
   23521 fi
   23522  else
   23523     pkg_failed=untried
   23524 fi
   23525 if test -n "$JSON_C_LIBS"; then
   23526     pkg_cv_JSON_C_LIBS="$JSON_C_LIBS"
   23527  elif test -n "$PKG_CONFIG"; then
   23528     if test -n "$PKG_CONFIG" && \
   23529     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.11\""; } >&5
   23530   ($PKG_CONFIG --exists --print-errors "json-c >= 0.11") 2>&5
   23531   ac_status=$?
   23532   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23533   test $ac_status = 0; }; then
   23534   pkg_cv_JSON_C_LIBS=`$PKG_CONFIG --libs "json-c >= 0.11" 2>/dev/null`
   23535 		      test "x$?" != "x0" && pkg_failed=yes
   23536 else
   23537   pkg_failed=yes
   23538 fi
   23539  else
   23540     pkg_failed=untried
   23541 fi
   23542 
   23543 
   23544 
   23545 if test $pkg_failed = yes; then
   23546         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23547 printf "%s\n" "no" >&6; }
   23548 
   23549 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   23550         _pkg_short_errors_supported=yes
   23551 else
   23552         _pkg_short_errors_supported=no
   23553 fi
   23554         if test $_pkg_short_errors_supported = yes; then
   23555                 JSON_C_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c >= 0.11" 2>&1`
   23556         else
   23557                 JSON_C_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c >= 0.11" 2>&1`
   23558         fi
   23559         # Put the nasty error message in config.log where it belongs
   23560         echo "$JSON_C_PKG_ERRORS" >&5
   23561 
   23562         as_fn_error $? "Package requirements (json-c >= 0.11) were not met:
   23563 
   23564 $JSON_C_PKG_ERRORS
   23565 
   23566 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23567 installed software in a non-standard prefix.
   23568 
   23569 Alternatively, you may set the environment variables JSON_C_CFLAGS
   23570 and JSON_C_LIBS to avoid the need to call pkg-config.
   23571 See the pkg-config man page for more details." "$LINENO" 5
   23572 elif test $pkg_failed = untried; then
   23573         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23574 printf "%s\n" "no" >&6; }
   23575         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   23576 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   23577 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   23578 is in your PATH or set the PKG_CONFIG environment variable to the full
   23579 path to pkg-config.
   23580 
   23581 Alternatively, you may set the environment variables JSON_C_CFLAGS
   23582 and JSON_C_LIBS to avoid the need to call pkg-config.
   23583 See the pkg-config man page for more details.
   23584 
   23585 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   23586 See \`config.log' for more details" "$LINENO" 5; }
   23587 else
   23588         JSON_C_CFLAGS=$pkg_cv_JSON_C_CFLAGS
   23589         JSON_C_LIBS=$pkg_cv_JSON_C_LIBS
   23590         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23591 printf "%s\n" "yes" >&6; }
   23592 
   23593 printf "%s\n" "#define HAVE_JSON_C 1" >>confdefs.h
   23594 
   23595 fi ;; #(
   23596   *) :
   23597     as_fn_error $? "Specifying json-c installation path is not supported, adjust PKG_CONFIG_PATH instead" "$LINENO" 5
   23598         ;;
   23599 esac
   23600 
   23601  if test -n "$JSON_C_LIBS"; then
   23602   HAVE_JSON_C_TRUE=
   23603   HAVE_JSON_C_FALSE='#'
   23604 else
   23605   HAVE_JSON_C_TRUE='#'
   23606   HAVE_JSON_C_FALSE=
   23607 fi
   23608 
   23609 
   23610 
   23611 
   23612 
   23613 #
   23614 # was --with-zlib specified?
   23615 #
   23616 # [pairwise: --with-zlib=auto, --with-zlib=yes, --without-zlib]
   23617 
   23618 # Check whether --with-zlib was given.
   23619 if test ${with_zlib+y}
   23620 then :
   23621   withval=$with_zlib;
   23622 else $as_nop
   23623   with_zlib="auto"
   23624 fi
   23625 
   23626 
   23627 case $with_zlib in #(
   23628   no) :
   23629      ;; #(
   23630   auto) :
   23631 
   23632 pkg_failed=no
   23633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5
   23634 printf %s "checking for zlib... " >&6; }
   23635 
   23636 if test -n "$ZLIB_CFLAGS"; then
   23637     pkg_cv_ZLIB_CFLAGS="$ZLIB_CFLAGS"
   23638  elif test -n "$PKG_CONFIG"; then
   23639     if test -n "$PKG_CONFIG" && \
   23640     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5
   23641   ($PKG_CONFIG --exists --print-errors "zlib") 2>&5
   23642   ac_status=$?
   23643   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23644   test $ac_status = 0; }; then
   23645   pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags "zlib" 2>/dev/null`
   23646 		      test "x$?" != "x0" && pkg_failed=yes
   23647 else
   23648   pkg_failed=yes
   23649 fi
   23650  else
   23651     pkg_failed=untried
   23652 fi
   23653 if test -n "$ZLIB_LIBS"; then
   23654     pkg_cv_ZLIB_LIBS="$ZLIB_LIBS"
   23655  elif test -n "$PKG_CONFIG"; then
   23656     if test -n "$PKG_CONFIG" && \
   23657     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5
   23658   ($PKG_CONFIG --exists --print-errors "zlib") 2>&5
   23659   ac_status=$?
   23660   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23661   test $ac_status = 0; }; then
   23662   pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs "zlib" 2>/dev/null`
   23663 		      test "x$?" != "x0" && pkg_failed=yes
   23664 else
   23665   pkg_failed=yes
   23666 fi
   23667  else
   23668     pkg_failed=untried
   23669 fi
   23670 
   23671 
   23672 
   23673 if test $pkg_failed = yes; then
   23674         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23675 printf "%s\n" "no" >&6; }
   23676 
   23677 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   23678         _pkg_short_errors_supported=yes
   23679 else
   23680         _pkg_short_errors_supported=no
   23681 fi
   23682         if test $_pkg_short_errors_supported = yes; then
   23683                 ZLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib" 2>&1`
   23684         else
   23685                 ZLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib" 2>&1`
   23686         fi
   23687         # Put the nasty error message in config.log where it belongs
   23688         echo "$ZLIB_PKG_ERRORS" >&5
   23689 
   23690         :
   23691 elif test $pkg_failed = untried; then
   23692         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23693 printf "%s\n" "no" >&6; }
   23694         :
   23695 else
   23696         ZLIB_CFLAGS=$pkg_cv_ZLIB_CFLAGS
   23697         ZLIB_LIBS=$pkg_cv_ZLIB_LIBS
   23698         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23699 printf "%s\n" "yes" >&6; }
   23700 
   23701 printf "%s\n" "#define HAVE_ZLIB 1" >>confdefs.h
   23702 
   23703 fi ;; #(
   23704   yes) :
   23705 
   23706 pkg_failed=no
   23707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5
   23708 printf %s "checking for zlib... " >&6; }
   23709 
   23710 if test -n "$ZLIB_CFLAGS"; then
   23711     pkg_cv_ZLIB_CFLAGS="$ZLIB_CFLAGS"
   23712  elif test -n "$PKG_CONFIG"; then
   23713     if test -n "$PKG_CONFIG" && \
   23714     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5
   23715   ($PKG_CONFIG --exists --print-errors "zlib") 2>&5
   23716   ac_status=$?
   23717   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23718   test $ac_status = 0; }; then
   23719   pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags "zlib" 2>/dev/null`
   23720 		      test "x$?" != "x0" && pkg_failed=yes
   23721 else
   23722   pkg_failed=yes
   23723 fi
   23724  else
   23725     pkg_failed=untried
   23726 fi
   23727 if test -n "$ZLIB_LIBS"; then
   23728     pkg_cv_ZLIB_LIBS="$ZLIB_LIBS"
   23729  elif test -n "$PKG_CONFIG"; then
   23730     if test -n "$PKG_CONFIG" && \
   23731     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5
   23732   ($PKG_CONFIG --exists --print-errors "zlib") 2>&5
   23733   ac_status=$?
   23734   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23735   test $ac_status = 0; }; then
   23736   pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs "zlib" 2>/dev/null`
   23737 		      test "x$?" != "x0" && pkg_failed=yes
   23738 else
   23739   pkg_failed=yes
   23740 fi
   23741  else
   23742     pkg_failed=untried
   23743 fi
   23744 
   23745 
   23746 
   23747 if test $pkg_failed = yes; then
   23748         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23749 printf "%s\n" "no" >&6; }
   23750 
   23751 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   23752         _pkg_short_errors_supported=yes
   23753 else
   23754         _pkg_short_errors_supported=no
   23755 fi
   23756         if test $_pkg_short_errors_supported = yes; then
   23757                 ZLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib" 2>&1`
   23758         else
   23759                 ZLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib" 2>&1`
   23760         fi
   23761         # Put the nasty error message in config.log where it belongs
   23762         echo "$ZLIB_PKG_ERRORS" >&5
   23763 
   23764         as_fn_error $? "Package requirements (zlib) were not met:
   23765 
   23766 $ZLIB_PKG_ERRORS
   23767 
   23768 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23769 installed software in a non-standard prefix.
   23770 
   23771 Alternatively, you may set the environment variables ZLIB_CFLAGS
   23772 and ZLIB_LIBS to avoid the need to call pkg-config.
   23773 See the pkg-config man page for more details." "$LINENO" 5
   23774 elif test $pkg_failed = untried; then
   23775         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23776 printf "%s\n" "no" >&6; }
   23777         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   23778 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   23779 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   23780 is in your PATH or set the PKG_CONFIG environment variable to the full
   23781 path to pkg-config.
   23782 
   23783 Alternatively, you may set the environment variables ZLIB_CFLAGS
   23784 and ZLIB_LIBS to avoid the need to call pkg-config.
   23785 See the pkg-config man page for more details.
   23786 
   23787 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   23788 See \`config.log' for more details" "$LINENO" 5; }
   23789 else
   23790         ZLIB_CFLAGS=$pkg_cv_ZLIB_CFLAGS
   23791         ZLIB_LIBS=$pkg_cv_ZLIB_LIBS
   23792         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23793 printf "%s\n" "yes" >&6; }
   23794 
   23795 printf "%s\n" "#define HAVE_ZLIB 1" >>confdefs.h
   23796 
   23797 fi ;; #(
   23798   *) :
   23799     as_fn_error $? "Specifying zlib installation path is not supported, adjust PKG_CONFIG_PATH instead" "$LINENO" 5 ;;
   23800 esac
   23801 
   23802 
   23803 
   23804 #
   23805 # Check if the system supports glibc-compatible backtrace() function.
   23806 #
   23807        for ac_header in execinfo.h
   23808 do :
   23809   ac_fn_c_check_header_compile "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default"
   23810 if test "x$ac_cv_header_execinfo_h" = xyes
   23811 then :
   23812   printf "%s\n" "#define HAVE_EXECINFO_H 1" >>confdefs.h
   23813  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace_symbols" >&5
   23814 printf %s "checking for library containing backtrace_symbols... " >&6; }
   23815 if test ${ac_cv_search_backtrace_symbols+y}
   23816 then :
   23817   printf %s "(cached) " >&6
   23818 else $as_nop
   23819   ac_func_search_save_LIBS=$LIBS
   23820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23821 /* end confdefs.h.  */
   23822 
   23823 /* Override any GCC internal prototype to avoid an error.
   23824    Use char because int might match the return type of a GCC
   23825    builtin and then its argument prototype would still apply.  */
   23826 char backtrace_symbols ();
   23827 int
   23828 main (void)
   23829 {
   23830 return backtrace_symbols ();
   23831   ;
   23832   return 0;
   23833 }
   23834 _ACEOF
   23835 for ac_lib in '' execinfo
   23836 do
   23837   if test -z "$ac_lib"; then
   23838     ac_res="none required"
   23839   else
   23840     ac_res=-l$ac_lib
   23841     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   23842   fi
   23843   if ac_fn_c_try_link "$LINENO"
   23844 then :
   23845   ac_cv_search_backtrace_symbols=$ac_res
   23846 fi
   23847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23848     conftest$ac_exeext
   23849   if test ${ac_cv_search_backtrace_symbols+y}
   23850 then :
   23851   break
   23852 fi
   23853 done
   23854 if test ${ac_cv_search_backtrace_symbols+y}
   23855 then :
   23856 
   23857 else $as_nop
   23858   ac_cv_search_backtrace_symbols=no
   23859 fi
   23860 rm conftest.$ac_ext
   23861 LIBS=$ac_func_search_save_LIBS
   23862 fi
   23863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace_symbols" >&5
   23864 printf "%s\n" "$ac_cv_search_backtrace_symbols" >&6; }
   23865 ac_res=$ac_cv_search_backtrace_symbols
   23866 if test "$ac_res" != no
   23867 then :
   23868   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   23869   ac_fn_c_check_func "$LINENO" "backtrace_symbols" "ac_cv_func_backtrace_symbols"
   23870 if test "x$ac_cv_func_backtrace_symbols" = xyes
   23871 then :
   23872   printf "%s\n" "#define HAVE_BACKTRACE_SYMBOLS 1" >>confdefs.h
   23873 
   23874 fi
   23875 
   23876 fi
   23877 
   23878 fi
   23879 
   23880 done
   23881 
   23882 #
   23883 # We do the IPv6 compilation checking after libtool so that we can put
   23884 # the right suffix on the files.
   23885 #
   23886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IPv6 structures" >&5
   23887 printf %s "checking for IPv6 structures... " >&6; }
   23888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23889 /* end confdefs.h.  */
   23890 
   23891        #include <sys/types.h>
   23892        #include <sys/socket.h>
   23893        #include <netinet/in.h>
   23894 
   23895 int
   23896 main (void)
   23897 {
   23898 
   23899        struct sockaddr_in6 sin6;
   23900        struct in6_addr in6;
   23901        struct in6_pktinfo in6_pi;
   23902        struct sockaddr_storage storage;
   23903        in6 = in6addr_any;
   23904        in6 = in6addr_loopback;
   23905        sin6.sin6_scope_id = 0;
   23906        return (0);
   23907 
   23908   ;
   23909   return 0;
   23910 }
   23911 _ACEOF
   23912 if ac_fn_c_try_compile "$LINENO"
   23913 then :
   23914   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23915 printf "%s\n" "yes" >&6; }
   23916 else $as_nop
   23917   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   23918 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   23919 as_fn_error $? "IPv6 support is mandatory
   23920 See \`config.log' for more details" "$LINENO" 5; }
   23921 fi
   23922 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   23923 
   23924 #
   23925 # Allow forcibly disabling TCP Fast Open support as autodetection might yield
   23926 # confusing results on some systems (e.g. FreeBSD; see set_tcp_fastopen()
   23927 # comment in lib/isc/socket.c).
   23928 #
   23929 # [pairwise: --enable-tcp-fastopen, --disable-tcp-fastopen]
   23930 # Check whether --enable-tcp_fastopen was given.
   23931 if test ${enable_tcp_fastopen+y}
   23932 then :
   23933   enableval=$enable_tcp_fastopen;
   23934 else $as_nop
   23935   enable_tcp_fastopen="yes"
   23936 fi
   23937 
   23938 
   23939 if test "$enable_tcp_fastopen" = "yes"
   23940 then :
   23941 
   23942 printf "%s\n" "#define ENABLE_TCP_FASTOPEN 1" >>confdefs.h
   23943 
   23944 fi
   23945 
   23946 #
   23947 # Check for some other useful functions that are not ever-present.
   23948 #
   23949 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   23950 if test "x$ac_cv_func_strlcpy" = xyes
   23951 then :
   23952   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   23953 
   23954 fi
   23955 ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   23956 if test "x$ac_cv_func_strlcat" = xyes
   23957 then :
   23958   printf "%s\n" "#define HAVE_STRLCAT 1" >>confdefs.h
   23959 
   23960 fi
   23961 ac_fn_c_check_func "$LINENO" "strnstr" "ac_cv_func_strnstr"
   23962 if test "x$ac_cv_func_strnstr" = xyes
   23963 then :
   23964   printf "%s\n" "#define HAVE_STRNSTR 1" >>confdefs.h
   23965 
   23966 fi
   23967 
   23968 
   23969 #
   23970 # Check for readline support
   23971 #
   23972 
   23973 # editline is not included in pairwise testing as the library
   23974 # is not present in the relevant Docker image.
   23975 #
   23976 # GNU Readline is not included in pairwise testing as the library
   23977 # in the relevant Docker image does not support pkg-config.
   23978 #
   23979 # [pairwise: --with-readline=auto, --with-readline=yes, --with-readline=libedit, --without-readline]
   23980 
   23981 # Check whether --with-readline was given.
   23982 if test ${with_readline+y}
   23983 then :
   23984   withval=$with_readline;
   23985 else $as_nop
   23986   with_readline="auto"
   23987 fi
   23988 
   23989 
   23990 case $with_readline in #(
   23991   no) :
   23992      ;; #(
   23993   auto|yes) :
   23994 
   23995 pkg_failed=no
   23996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libedit" >&5
   23997 printf %s "checking for libedit... " >&6; }
   23998 
   23999 if test -n "$READLINE_CFLAGS"; then
   24000     pkg_cv_READLINE_CFLAGS="$READLINE_CFLAGS"
   24001  elif test -n "$PKG_CONFIG"; then
   24002     if test -n "$PKG_CONFIG" && \
   24003     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedit\""; } >&5
   24004   ($PKG_CONFIG --exists --print-errors "libedit") 2>&5
   24005   ac_status=$?
   24006   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24007   test $ac_status = 0; }; then
   24008   pkg_cv_READLINE_CFLAGS=`$PKG_CONFIG --cflags "libedit" 2>/dev/null`
   24009 		      test "x$?" != "x0" && pkg_failed=yes
   24010 else
   24011   pkg_failed=yes
   24012 fi
   24013  else
   24014     pkg_failed=untried
   24015 fi
   24016 if test -n "$READLINE_LIBS"; then
   24017     pkg_cv_READLINE_LIBS="$READLINE_LIBS"
   24018  elif test -n "$PKG_CONFIG"; then
   24019     if test -n "$PKG_CONFIG" && \
   24020     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedit\""; } >&5
   24021   ($PKG_CONFIG --exists --print-errors "libedit") 2>&5
   24022   ac_status=$?
   24023   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24024   test $ac_status = 0; }; then
   24025   pkg_cv_READLINE_LIBS=`$PKG_CONFIG --libs "libedit" 2>/dev/null`
   24026 		      test "x$?" != "x0" && pkg_failed=yes
   24027 else
   24028   pkg_failed=yes
   24029 fi
   24030  else
   24031     pkg_failed=untried
   24032 fi
   24033 
   24034 
   24035 
   24036 if test $pkg_failed = yes; then
   24037         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24038 printf "%s\n" "no" >&6; }
   24039 
   24040 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   24041         _pkg_short_errors_supported=yes
   24042 else
   24043         _pkg_short_errors_supported=no
   24044 fi
   24045         if test $_pkg_short_errors_supported = yes; then
   24046                 READLINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libedit" 2>&1`
   24047         else
   24048                 READLINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libedit" 2>&1`
   24049         fi
   24050         # Put the nasty error message in config.log where it belongs
   24051         echo "$READLINE_PKG_ERRORS" >&5
   24052 
   24053 
   24054 pkg_failed=no
   24055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libeditline" >&5
   24056 printf %s "checking for libeditline... " >&6; }
   24057 
   24058 if test -n "$READLINE_CFLAGS"; then
   24059     pkg_cv_READLINE_CFLAGS="$READLINE_CFLAGS"
   24060  elif test -n "$PKG_CONFIG"; then
   24061     if test -n "$PKG_CONFIG" && \
   24062     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libeditline\""; } >&5
   24063   ($PKG_CONFIG --exists --print-errors "libeditline") 2>&5
   24064   ac_status=$?
   24065   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24066   test $ac_status = 0; }; then
   24067   pkg_cv_READLINE_CFLAGS=`$PKG_CONFIG --cflags "libeditline" 2>/dev/null`
   24068 		      test "x$?" != "x0" && pkg_failed=yes
   24069 else
   24070   pkg_failed=yes
   24071 fi
   24072  else
   24073     pkg_failed=untried
   24074 fi
   24075 if test -n "$READLINE_LIBS"; then
   24076     pkg_cv_READLINE_LIBS="$READLINE_LIBS"
   24077  elif test -n "$PKG_CONFIG"; then
   24078     if test -n "$PKG_CONFIG" && \
   24079     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libeditline\""; } >&5
   24080   ($PKG_CONFIG --exists --print-errors "libeditline") 2>&5
   24081   ac_status=$?
   24082   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24083   test $ac_status = 0; }; then
   24084   pkg_cv_READLINE_LIBS=`$PKG_CONFIG --libs "libeditline" 2>/dev/null`
   24085 		      test "x$?" != "x0" && pkg_failed=yes
   24086 else
   24087   pkg_failed=yes
   24088 fi
   24089  else
   24090     pkg_failed=untried
   24091 fi
   24092 
   24093 
   24094 
   24095 if test $pkg_failed = yes; then
   24096         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24097 printf "%s\n" "no" >&6; }
   24098 
   24099 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   24100         _pkg_short_errors_supported=yes
   24101 else
   24102         _pkg_short_errors_supported=no
   24103 fi
   24104         if test $_pkg_short_errors_supported = yes; then
   24105                 READLINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libeditline" 2>&1`
   24106         else
   24107                 READLINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libeditline" 2>&1`
   24108         fi
   24109         # Put the nasty error message in config.log where it belongs
   24110         echo "$READLINE_PKG_ERRORS" >&5
   24111 
   24112 
   24113 pkg_failed=no
   24114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for readline" >&5
   24115 printf %s "checking for readline... " >&6; }
   24116 
   24117 if test -n "$READLINE_CFLAGS"; then
   24118     pkg_cv_READLINE_CFLAGS="$READLINE_CFLAGS"
   24119  elif test -n "$PKG_CONFIG"; then
   24120     if test -n "$PKG_CONFIG" && \
   24121     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"readline\""; } >&5
   24122   ($PKG_CONFIG --exists --print-errors "readline") 2>&5
   24123   ac_status=$?
   24124   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24125   test $ac_status = 0; }; then
   24126   pkg_cv_READLINE_CFLAGS=`$PKG_CONFIG --cflags "readline" 2>/dev/null`
   24127 		      test "x$?" != "x0" && pkg_failed=yes
   24128 else
   24129   pkg_failed=yes
   24130 fi
   24131  else
   24132     pkg_failed=untried
   24133 fi
   24134 if test -n "$READLINE_LIBS"; then
   24135     pkg_cv_READLINE_LIBS="$READLINE_LIBS"
   24136  elif test -n "$PKG_CONFIG"; then
   24137     if test -n "$PKG_CONFIG" && \
   24138     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"readline\""; } >&5
   24139   ($PKG_CONFIG --exists --print-errors "readline") 2>&5
   24140   ac_status=$?
   24141   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24142   test $ac_status = 0; }; then
   24143   pkg_cv_READLINE_LIBS=`$PKG_CONFIG --libs "readline" 2>/dev/null`
   24144 		      test "x$?" != "x0" && pkg_failed=yes
   24145 else
   24146   pkg_failed=yes
   24147 fi
   24148  else
   24149     pkg_failed=untried
   24150 fi
   24151 
   24152 
   24153 
   24154 if test $pkg_failed = yes; then
   24155         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24156 printf "%s\n" "no" >&6; }
   24157 
   24158 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   24159         _pkg_short_errors_supported=yes
   24160 else
   24161         _pkg_short_errors_supported=no
   24162 fi
   24163         if test $_pkg_short_errors_supported = yes; then
   24164                 READLINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "readline" 2>&1`
   24165         else
   24166                 READLINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "readline" 2>&1`
   24167         fi
   24168         # Put the nasty error message in config.log where it belongs
   24169         echo "$READLINE_PKG_ERRORS" >&5
   24170 
   24171         if test "$with_readline" = "yes"
   24172 then :
   24173   as_fn_error $? "readline support requested, but none of the libraries have been found." "$LINENO" 5
   24174 fi
   24175 elif test $pkg_failed = untried; then
   24176         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24177 printf "%s\n" "no" >&6; }
   24178         if test "$with_readline" = "yes"
   24179 then :
   24180   as_fn_error $? "readline support requested, but none of the libraries have been found." "$LINENO" 5
   24181 fi
   24182 else
   24183         READLINE_CFLAGS=$pkg_cv_READLINE_CFLAGS
   24184         READLINE_LIBS=$pkg_cv_READLINE_LIBS
   24185         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24186 printf "%s\n" "yes" >&6; }
   24187 
   24188 printf "%s\n" "#define HAVE_READLINE_READLINE 1" >>confdefs.h
   24189 
   24190 fi
   24191 elif test $pkg_failed = untried; then
   24192         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24193 printf "%s\n" "no" >&6; }
   24194 
   24195 pkg_failed=no
   24196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for readline" >&5
   24197 printf %s "checking for readline... " >&6; }
   24198 
   24199 if test -n "$READLINE_CFLAGS"; then
   24200     pkg_cv_READLINE_CFLAGS="$READLINE_CFLAGS"
   24201  elif test -n "$PKG_CONFIG"; then
   24202     if test -n "$PKG_CONFIG" && \
   24203     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"readline\""; } >&5
   24204   ($PKG_CONFIG --exists --print-errors "readline") 2>&5
   24205   ac_status=$?
   24206   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24207   test $ac_status = 0; }; then
   24208   pkg_cv_READLINE_CFLAGS=`$PKG_CONFIG --cflags "readline" 2>/dev/null`
   24209 		      test "x$?" != "x0" && pkg_failed=yes
   24210 else
   24211   pkg_failed=yes
   24212 fi
   24213  else
   24214     pkg_failed=untried
   24215 fi
   24216 if test -n "$READLINE_LIBS"; then
   24217     pkg_cv_READLINE_LIBS="$READLINE_LIBS"
   24218  elif test -n "$PKG_CONFIG"; then
   24219     if test -n "$PKG_CONFIG" && \
   24220     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"readline\""; } >&5
   24221   ($PKG_CONFIG --exists --print-errors "readline") 2>&5
   24222   ac_status=$?
   24223   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24224   test $ac_status = 0; }; then
   24225   pkg_cv_READLINE_LIBS=`$PKG_CONFIG --libs "readline" 2>/dev/null`
   24226 		      test "x$?" != "x0" && pkg_failed=yes
   24227 else
   24228   pkg_failed=yes
   24229 fi
   24230  else
   24231     pkg_failed=untried
   24232 fi
   24233 
   24234 
   24235 
   24236 if test $pkg_failed = yes; then
   24237         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24238 printf "%s\n" "no" >&6; }
   24239 
   24240 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   24241         _pkg_short_errors_supported=yes
   24242 else
   24243         _pkg_short_errors_supported=no
   24244 fi
   24245         if test $_pkg_short_errors_supported = yes; then
   24246                 READLINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "readline" 2>&1`
   24247         else
   24248                 READLINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "readline" 2>&1`
   24249         fi
   24250         # Put the nasty error message in config.log where it belongs
   24251         echo "$READLINE_PKG_ERRORS" >&5
   24252 
   24253         if test "$with_readline" = "yes"
   24254 then :
   24255   as_fn_error $? "readline support requested, but none of the libraries have been found." "$LINENO" 5
   24256 fi
   24257 elif test $pkg_failed = untried; then
   24258         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24259 printf "%s\n" "no" >&6; }
   24260         if test "$with_readline" = "yes"
   24261 then :
   24262   as_fn_error $? "readline support requested, but none of the libraries have been found." "$LINENO" 5
   24263 fi
   24264 else
   24265         READLINE_CFLAGS=$pkg_cv_READLINE_CFLAGS
   24266         READLINE_LIBS=$pkg_cv_READLINE_LIBS
   24267         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24268 printf "%s\n" "yes" >&6; }
   24269 
   24270 printf "%s\n" "#define HAVE_READLINE_READLINE 1" >>confdefs.h
   24271 
   24272 fi
   24273 else
   24274         READLINE_CFLAGS=$pkg_cv_READLINE_CFLAGS
   24275         READLINE_LIBS=$pkg_cv_READLINE_LIBS
   24276         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24277 printf "%s\n" "yes" >&6; }
   24278 
   24279 printf "%s\n" "#define HAVE_READLINE_EDITLINE 1" >>confdefs.h
   24280 
   24281 fi
   24282 elif test $pkg_failed = untried; then
   24283         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24284 printf "%s\n" "no" >&6; }
   24285 
   24286 pkg_failed=no
   24287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libeditline" >&5
   24288 printf %s "checking for libeditline... " >&6; }
   24289 
   24290 if test -n "$READLINE_CFLAGS"; then
   24291     pkg_cv_READLINE_CFLAGS="$READLINE_CFLAGS"
   24292  elif test -n "$PKG_CONFIG"; then
   24293     if test -n "$PKG_CONFIG" && \
   24294     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libeditline\""; } >&5
   24295   ($PKG_CONFIG --exists --print-errors "libeditline") 2>&5
   24296   ac_status=$?
   24297   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24298   test $ac_status = 0; }; then
   24299   pkg_cv_READLINE_CFLAGS=`$PKG_CONFIG --cflags "libeditline" 2>/dev/null`
   24300 		      test "x$?" != "x0" && pkg_failed=yes
   24301 else
   24302   pkg_failed=yes
   24303 fi
   24304  else
   24305     pkg_failed=untried
   24306 fi
   24307 if test -n "$READLINE_LIBS"; then
   24308     pkg_cv_READLINE_LIBS="$READLINE_LIBS"
   24309  elif test -n "$PKG_CONFIG"; then
   24310     if test -n "$PKG_CONFIG" && \
   24311     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libeditline\""; } >&5
   24312   ($PKG_CONFIG --exists --print-errors "libeditline") 2>&5
   24313   ac_status=$?
   24314   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24315   test $ac_status = 0; }; then
   24316   pkg_cv_READLINE_LIBS=`$PKG_CONFIG --libs "libeditline" 2>/dev/null`
   24317 		      test "x$?" != "x0" && pkg_failed=yes
   24318 else
   24319   pkg_failed=yes
   24320 fi
   24321  else
   24322     pkg_failed=untried
   24323 fi
   24324 
   24325 
   24326 
   24327 if test $pkg_failed = yes; then
   24328         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24329 printf "%s\n" "no" >&6; }
   24330 
   24331 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   24332         _pkg_short_errors_supported=yes
   24333 else
   24334         _pkg_short_errors_supported=no
   24335 fi
   24336         if test $_pkg_short_errors_supported = yes; then
   24337                 READLINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libeditline" 2>&1`
   24338         else
   24339                 READLINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libeditline" 2>&1`
   24340         fi
   24341         # Put the nasty error message in config.log where it belongs
   24342         echo "$READLINE_PKG_ERRORS" >&5
   24343 
   24344 
   24345 pkg_failed=no
   24346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for readline" >&5
   24347 printf %s "checking for readline... " >&6; }
   24348 
   24349 if test -n "$READLINE_CFLAGS"; then
   24350     pkg_cv_READLINE_CFLAGS="$READLINE_CFLAGS"
   24351  elif test -n "$PKG_CONFIG"; then
   24352     if test -n "$PKG_CONFIG" && \
   24353     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"readline\""; } >&5
   24354   ($PKG_CONFIG --exists --print-errors "readline") 2>&5
   24355   ac_status=$?
   24356   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24357   test $ac_status = 0; }; then
   24358   pkg_cv_READLINE_CFLAGS=`$PKG_CONFIG --cflags "readline" 2>/dev/null`
   24359 		      test "x$?" != "x0" && pkg_failed=yes
   24360 else
   24361   pkg_failed=yes
   24362 fi
   24363  else
   24364     pkg_failed=untried
   24365 fi
   24366 if test -n "$READLINE_LIBS"; then
   24367     pkg_cv_READLINE_LIBS="$READLINE_LIBS"
   24368  elif test -n "$PKG_CONFIG"; then
   24369     if test -n "$PKG_CONFIG" && \
   24370     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"readline\""; } >&5
   24371   ($PKG_CONFIG --exists --print-errors "readline") 2>&5
   24372   ac_status=$?
   24373   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24374   test $ac_status = 0; }; then
   24375   pkg_cv_READLINE_LIBS=`$PKG_CONFIG --libs "readline" 2>/dev/null`
   24376 		      test "x$?" != "x0" && pkg_failed=yes
   24377 else
   24378   pkg_failed=yes
   24379 fi
   24380  else
   24381     pkg_failed=untried
   24382 fi
   24383 
   24384 
   24385 
   24386 if test $pkg_failed = yes; then
   24387         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24388 printf "%s\n" "no" >&6; }
   24389 
   24390 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   24391         _pkg_short_errors_supported=yes
   24392 else
   24393         _pkg_short_errors_supported=no
   24394 fi
   24395         if test $_pkg_short_errors_supported = yes; then
   24396                 READLINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "readline" 2>&1`
   24397         else
   24398                 READLINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "readline" 2>&1`
   24399         fi
   24400         # Put the nasty error message in config.log where it belongs
   24401         echo "$READLINE_PKG_ERRORS" >&5
   24402 
   24403         if test "$with_readline" = "yes"
   24404 then :
   24405   as_fn_error $? "readline support requested, but none of the libraries have been found." "$LINENO" 5
   24406 fi
   24407 elif test $pkg_failed = untried; then
   24408         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24409 printf "%s\n" "no" >&6; }
   24410         if test "$with_readline" = "yes"
   24411 then :
   24412   as_fn_error $? "readline support requested, but none of the libraries have been found." "$LINENO" 5
   24413 fi
   24414 else
   24415         READLINE_CFLAGS=$pkg_cv_READLINE_CFLAGS
   24416         READLINE_LIBS=$pkg_cv_READLINE_LIBS
   24417         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24418 printf "%s\n" "yes" >&6; }
   24419 
   24420 printf "%s\n" "#define HAVE_READLINE_READLINE 1" >>confdefs.h
   24421 
   24422 fi
   24423 elif test $pkg_failed = untried; then
   24424         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24425 printf "%s\n" "no" >&6; }
   24426 
   24427 pkg_failed=no
   24428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for readline" >&5
   24429 printf %s "checking for readline... " >&6; }
   24430 
   24431 if test -n "$READLINE_CFLAGS"; then
   24432     pkg_cv_READLINE_CFLAGS="$READLINE_CFLAGS"
   24433  elif test -n "$PKG_CONFIG"; then
   24434     if test -n "$PKG_CONFIG" && \
   24435     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"readline\""; } >&5
   24436   ($PKG_CONFIG --exists --print-errors "readline") 2>&5
   24437   ac_status=$?
   24438   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24439   test $ac_status = 0; }; then
   24440   pkg_cv_READLINE_CFLAGS=`$PKG_CONFIG --cflags "readline" 2>/dev/null`
   24441 		      test "x$?" != "x0" && pkg_failed=yes
   24442 else
   24443   pkg_failed=yes
   24444 fi
   24445  else
   24446     pkg_failed=untried
   24447 fi
   24448 if test -n "$READLINE_LIBS"; then
   24449     pkg_cv_READLINE_LIBS="$READLINE_LIBS"
   24450  elif test -n "$PKG_CONFIG"; then
   24451     if test -n "$PKG_CONFIG" && \
   24452     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"readline\""; } >&5
   24453   ($PKG_CONFIG --exists --print-errors "readline") 2>&5
   24454   ac_status=$?
   24455   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24456   test $ac_status = 0; }; then
   24457   pkg_cv_READLINE_LIBS=`$PKG_CONFIG --libs "readline" 2>/dev/null`
   24458 		      test "x$?" != "x0" && pkg_failed=yes
   24459 else
   24460   pkg_failed=yes
   24461 fi
   24462  else
   24463     pkg_failed=untried
   24464 fi
   24465 
   24466 
   24467 
   24468 if test $pkg_failed = yes; then
   24469         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24470 printf "%s\n" "no" >&6; }
   24471 
   24472 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   24473         _pkg_short_errors_supported=yes
   24474 else
   24475         _pkg_short_errors_supported=no
   24476 fi
   24477         if test $_pkg_short_errors_supported = yes; then
   24478                 READLINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "readline" 2>&1`
   24479         else
   24480                 READLINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "readline" 2>&1`
   24481         fi
   24482         # Put the nasty error message in config.log where it belongs
   24483         echo "$READLINE_PKG_ERRORS" >&5
   24484 
   24485         if test "$with_readline" = "yes"
   24486 then :
   24487   as_fn_error $? "readline support requested, but none of the libraries have been found." "$LINENO" 5
   24488 fi
   24489 elif test $pkg_failed = untried; then
   24490         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24491 printf "%s\n" "no" >&6; }
   24492         if test "$with_readline" = "yes"
   24493 then :
   24494   as_fn_error $? "readline support requested, but none of the libraries have been found." "$LINENO" 5
   24495 fi
   24496 else
   24497         READLINE_CFLAGS=$pkg_cv_READLINE_CFLAGS
   24498         READLINE_LIBS=$pkg_cv_READLINE_LIBS
   24499         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24500 printf "%s\n" "yes" >&6; }
   24501 
   24502 printf "%s\n" "#define HAVE_READLINE_READLINE 1" >>confdefs.h
   24503 
   24504 fi
   24505 else
   24506         READLINE_CFLAGS=$pkg_cv_READLINE_CFLAGS
   24507         READLINE_LIBS=$pkg_cv_READLINE_LIBS
   24508         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24509 printf "%s\n" "yes" >&6; }
   24510 
   24511 printf "%s\n" "#define HAVE_READLINE_EDITLINE 1" >>confdefs.h
   24512 
   24513 fi
   24514 else
   24515         READLINE_CFLAGS=$pkg_cv_READLINE_CFLAGS
   24516         READLINE_LIBS=$pkg_cv_READLINE_LIBS
   24517         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24518 printf "%s\n" "yes" >&6; }
   24519 
   24520 printf "%s\n" "#define HAVE_READLINE_LIBEDIT 1" >>confdefs.h
   24521 
   24522 fi ;; #(
   24523   libedit) :
   24524 
   24525 pkg_failed=no
   24526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libedit" >&5
   24527 printf %s "checking for libedit... " >&6; }
   24528 
   24529 if test -n "$READLINE_CFLAGS"; then
   24530     pkg_cv_READLINE_CFLAGS="$READLINE_CFLAGS"
   24531  elif test -n "$PKG_CONFIG"; then
   24532     if test -n "$PKG_CONFIG" && \
   24533     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedit\""; } >&5
   24534   ($PKG_CONFIG --exists --print-errors "libedit") 2>&5
   24535   ac_status=$?
   24536   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24537   test $ac_status = 0; }; then
   24538   pkg_cv_READLINE_CFLAGS=`$PKG_CONFIG --cflags "libedit" 2>/dev/null`
   24539 		      test "x$?" != "x0" && pkg_failed=yes
   24540 else
   24541   pkg_failed=yes
   24542 fi
   24543  else
   24544     pkg_failed=untried
   24545 fi
   24546 if test -n "$READLINE_LIBS"; then
   24547     pkg_cv_READLINE_LIBS="$READLINE_LIBS"
   24548  elif test -n "$PKG_CONFIG"; then
   24549     if test -n "$PKG_CONFIG" && \
   24550     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedit\""; } >&5
   24551   ($PKG_CONFIG --exists --print-errors "libedit") 2>&5
   24552   ac_status=$?
   24553   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24554   test $ac_status = 0; }; then
   24555   pkg_cv_READLINE_LIBS=`$PKG_CONFIG --libs "libedit" 2>/dev/null`
   24556 		      test "x$?" != "x0" && pkg_failed=yes
   24557 else
   24558   pkg_failed=yes
   24559 fi
   24560  else
   24561     pkg_failed=untried
   24562 fi
   24563 
   24564 
   24565 
   24566 if test $pkg_failed = yes; then
   24567         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24568 printf "%s\n" "no" >&6; }
   24569 
   24570 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   24571         _pkg_short_errors_supported=yes
   24572 else
   24573         _pkg_short_errors_supported=no
   24574 fi
   24575         if test $_pkg_short_errors_supported = yes; then
   24576                 READLINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libedit" 2>&1`
   24577         else
   24578                 READLINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libedit" 2>&1`
   24579         fi
   24580         # Put the nasty error message in config.log where it belongs
   24581         echo "$READLINE_PKG_ERRORS" >&5
   24582 
   24583         as_fn_error $? "Package requirements (libedit) were not met:
   24584 
   24585 $READLINE_PKG_ERRORS
   24586 
   24587 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   24588 installed software in a non-standard prefix.
   24589 
   24590 Alternatively, you may set the environment variables READLINE_CFLAGS
   24591 and READLINE_LIBS to avoid the need to call pkg-config.
   24592 See the pkg-config man page for more details." "$LINENO" 5
   24593 elif test $pkg_failed = untried; then
   24594         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24595 printf "%s\n" "no" >&6; }
   24596         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   24597 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   24598 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   24599 is in your PATH or set the PKG_CONFIG environment variable to the full
   24600 path to pkg-config.
   24601 
   24602 Alternatively, you may set the environment variables READLINE_CFLAGS
   24603 and READLINE_LIBS to avoid the need to call pkg-config.
   24604 See the pkg-config man page for more details.
   24605 
   24606 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   24607 See \`config.log' for more details" "$LINENO" 5; }
   24608 else
   24609         READLINE_CFLAGS=$pkg_cv_READLINE_CFLAGS
   24610         READLINE_LIBS=$pkg_cv_READLINE_LIBS
   24611         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24612 printf "%s\n" "yes" >&6; }
   24613 
   24614 printf "%s\n" "#define HAVE_READLINE_LIBEDIT 1" >>confdefs.h
   24615 
   24616 fi ;; #(
   24617   editline) :
   24618 
   24619 pkg_failed=no
   24620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libeditline" >&5
   24621 printf %s "checking for libeditline... " >&6; }
   24622 
   24623 if test -n "$READLINE_CFLAGS"; then
   24624     pkg_cv_READLINE_CFLAGS="$READLINE_CFLAGS"
   24625  elif test -n "$PKG_CONFIG"; then
   24626     if test -n "$PKG_CONFIG" && \
   24627     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libeditline\""; } >&5
   24628   ($PKG_CONFIG --exists --print-errors "libeditline") 2>&5
   24629   ac_status=$?
   24630   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24631   test $ac_status = 0; }; then
   24632   pkg_cv_READLINE_CFLAGS=`$PKG_CONFIG --cflags "libeditline" 2>/dev/null`
   24633 		      test "x$?" != "x0" && pkg_failed=yes
   24634 else
   24635   pkg_failed=yes
   24636 fi
   24637  else
   24638     pkg_failed=untried
   24639 fi
   24640 if test -n "$READLINE_LIBS"; then
   24641     pkg_cv_READLINE_LIBS="$READLINE_LIBS"
   24642  elif test -n "$PKG_CONFIG"; then
   24643     if test -n "$PKG_CONFIG" && \
   24644     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libeditline\""; } >&5
   24645   ($PKG_CONFIG --exists --print-errors "libeditline") 2>&5
   24646   ac_status=$?
   24647   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24648   test $ac_status = 0; }; then
   24649   pkg_cv_READLINE_LIBS=`$PKG_CONFIG --libs "libeditline" 2>/dev/null`
   24650 		      test "x$?" != "x0" && pkg_failed=yes
   24651 else
   24652   pkg_failed=yes
   24653 fi
   24654  else
   24655     pkg_failed=untried
   24656 fi
   24657 
   24658 
   24659 
   24660 if test $pkg_failed = yes; then
   24661         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24662 printf "%s\n" "no" >&6; }
   24663 
   24664 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   24665         _pkg_short_errors_supported=yes
   24666 else
   24667         _pkg_short_errors_supported=no
   24668 fi
   24669         if test $_pkg_short_errors_supported = yes; then
   24670                 READLINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libeditline" 2>&1`
   24671         else
   24672                 READLINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libeditline" 2>&1`
   24673         fi
   24674         # Put the nasty error message in config.log where it belongs
   24675         echo "$READLINE_PKG_ERRORS" >&5
   24676 
   24677         as_fn_error $? "Package requirements (libeditline) were not met:
   24678 
   24679 $READLINE_PKG_ERRORS
   24680 
   24681 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   24682 installed software in a non-standard prefix.
   24683 
   24684 Alternatively, you may set the environment variables READLINE_CFLAGS
   24685 and READLINE_LIBS to avoid the need to call pkg-config.
   24686 See the pkg-config man page for more details." "$LINENO" 5
   24687 elif test $pkg_failed = untried; then
   24688         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24689 printf "%s\n" "no" >&6; }
   24690         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   24691 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   24692 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   24693 is in your PATH or set the PKG_CONFIG environment variable to the full
   24694 path to pkg-config.
   24695 
   24696 Alternatively, you may set the environment variables READLINE_CFLAGS
   24697 and READLINE_LIBS to avoid the need to call pkg-config.
   24698 See the pkg-config man page for more details.
   24699 
   24700 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   24701 See \`config.log' for more details" "$LINENO" 5; }
   24702 else
   24703         READLINE_CFLAGS=$pkg_cv_READLINE_CFLAGS
   24704         READLINE_LIBS=$pkg_cv_READLINE_LIBS
   24705         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24706 printf "%s\n" "yes" >&6; }
   24707 
   24708 printf "%s\n" "#define HAVE_READLINE_EDITLINE 1" >>confdefs.h
   24709 
   24710 fi ;; #(
   24711   readline) :
   24712 
   24713 pkg_failed=no
   24714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for readline" >&5
   24715 printf %s "checking for readline... " >&6; }
   24716 
   24717 if test -n "$READLINE_CFLAGS"; then
   24718     pkg_cv_READLINE_CFLAGS="$READLINE_CFLAGS"
   24719  elif test -n "$PKG_CONFIG"; then
   24720     if test -n "$PKG_CONFIG" && \
   24721     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"readline\""; } >&5
   24722   ($PKG_CONFIG --exists --print-errors "readline") 2>&5
   24723   ac_status=$?
   24724   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24725   test $ac_status = 0; }; then
   24726   pkg_cv_READLINE_CFLAGS=`$PKG_CONFIG --cflags "readline" 2>/dev/null`
   24727 		      test "x$?" != "x0" && pkg_failed=yes
   24728 else
   24729   pkg_failed=yes
   24730 fi
   24731  else
   24732     pkg_failed=untried
   24733 fi
   24734 if test -n "$READLINE_LIBS"; then
   24735     pkg_cv_READLINE_LIBS="$READLINE_LIBS"
   24736  elif test -n "$PKG_CONFIG"; then
   24737     if test -n "$PKG_CONFIG" && \
   24738     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"readline\""; } >&5
   24739   ($PKG_CONFIG --exists --print-errors "readline") 2>&5
   24740   ac_status=$?
   24741   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24742   test $ac_status = 0; }; then
   24743   pkg_cv_READLINE_LIBS=`$PKG_CONFIG --libs "readline" 2>/dev/null`
   24744 		      test "x$?" != "x0" && pkg_failed=yes
   24745 else
   24746   pkg_failed=yes
   24747 fi
   24748  else
   24749     pkg_failed=untried
   24750 fi
   24751 
   24752 
   24753 
   24754 if test $pkg_failed = yes; then
   24755         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24756 printf "%s\n" "no" >&6; }
   24757 
   24758 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   24759         _pkg_short_errors_supported=yes
   24760 else
   24761         _pkg_short_errors_supported=no
   24762 fi
   24763         if test $_pkg_short_errors_supported = yes; then
   24764                 READLINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "readline" 2>&1`
   24765         else
   24766                 READLINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "readline" 2>&1`
   24767         fi
   24768         # Put the nasty error message in config.log where it belongs
   24769         echo "$READLINE_PKG_ERRORS" >&5
   24770 
   24771         as_fn_error $? "Package requirements (readline) were not met:
   24772 
   24773 $READLINE_PKG_ERRORS
   24774 
   24775 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   24776 installed software in a non-standard prefix.
   24777 
   24778 Alternatively, you may set the environment variables READLINE_CFLAGS
   24779 and READLINE_LIBS to avoid the need to call pkg-config.
   24780 See the pkg-config man page for more details." "$LINENO" 5
   24781 elif test $pkg_failed = untried; then
   24782         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24783 printf "%s\n" "no" >&6; }
   24784         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   24785 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   24786 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   24787 is in your PATH or set the PKG_CONFIG environment variable to the full
   24788 path to pkg-config.
   24789 
   24790 Alternatively, you may set the environment variables READLINE_CFLAGS
   24791 and READLINE_LIBS to avoid the need to call pkg-config.
   24792 See the pkg-config man page for more details.
   24793 
   24794 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   24795 See \`config.log' for more details" "$LINENO" 5; }
   24796 else
   24797         READLINE_CFLAGS=$pkg_cv_READLINE_CFLAGS
   24798         READLINE_LIBS=$pkg_cv_READLINE_LIBS
   24799         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24800 printf "%s\n" "yes" >&6; }
   24801 
   24802 printf "%s\n" "#define HAVE_READLINE_READLINE 1" >>confdefs.h
   24803 
   24804 fi ;; #(
   24805   *) :
   24806     as_fn_error $? "Unknown readline '$with_readline' library requested." "$LINENO" 5 ;;
   24807 esac
   24808  if test -n "$READLINE_LIBS"; then
   24809   HAVE_READLINE_TRUE=
   24810   HAVE_READLINE_FALSE='#'
   24811 else
   24812   HAVE_READLINE_TRUE='#'
   24813   HAVE_READLINE_FALSE=
   24814 fi
   24815 
   24816 
   24817 
   24818 
   24819 #
   24820 # Security Stuff
   24821 #
   24822 # Note it is very recommended to *not* disable chroot(),
   24823 # this is only because chroot() was made obsolete by Posix.
   24824 #
   24825 # [pairwise: --enable-chroot, --disable-chroot]
   24826 # Check whether --enable-chroot was given.
   24827 if test ${enable_chroot+y}
   24828 then :
   24829   enableval=$enable_chroot;
   24830 fi
   24831 
   24832 case "$enable_chroot" in
   24833 	yes|'')
   24834 		ac_fn_c_check_func "$LINENO" "chroot" "ac_cv_func_chroot"
   24835 if test "x$ac_cv_func_chroot" = xyes
   24836 then :
   24837   printf "%s\n" "#define HAVE_CHROOT 1" >>confdefs.h
   24838 
   24839 fi
   24840 
   24841 		;;
   24842 	no)
   24843 		;;
   24844 esac
   24845 
   24846 LIBCAP_LIBS=""
   24847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Linux capabilities" >&5
   24848 printf %s "checking whether to enable Linux capabilities... " >&6; }
   24849 
   24850 # [pairwise: --enable-linux-caps, --disable-linux-caps]
   24851 # Check whether --enable-linux-caps was given.
   24852 if test ${enable_linux_caps+y}
   24853 then :
   24854   enableval=$enable_linux_caps;
   24855 else $as_nop
   24856   case $host in #(
   24857   *-linux*) :
   24858     enable_linux_caps=yes ;; #(
   24859   *) :
   24860     enable_linux_caps=no ;;
   24861 esac
   24862 fi
   24863 
   24864 
   24865 if test "$enable_linux_caps" = "yes"
   24866 then :
   24867   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24868 printf "%s\n" "yes" >&6; }
   24869               for ac_header in sys/capability.h
   24870 do :
   24871   ac_fn_c_check_header_compile "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
   24872 if test "x$ac_cv_header_sys_capability_h" = xyes
   24873 then :
   24874   printf "%s\n" "#define HAVE_SYS_CAPABILITY_H 1" >>confdefs.h
   24875 
   24876 else $as_nop
   24877   as_fn_error $? "sys/capability.h header is required for Linux capabilities support. Either install libcap or use --disable-linux-caps." "$LINENO" 5
   24878 fi
   24879 
   24880 done
   24881 
   24882 
   24883   CCASFLAGS_cap_ax_save_flags=$CCASFLAGS
   24884 
   24885 
   24886 
   24887   CFLAGS_cap_ax_save_flags=$CFLAGS
   24888 
   24889 
   24890 
   24891   CPPFLAGS_cap_ax_save_flags=$CPPFLAGS
   24892 
   24893 
   24894 
   24895   CXXFLAGS_cap_ax_save_flags=$CXXFLAGS
   24896 
   24897 
   24898 
   24899   ERLCFLAGS_cap_ax_save_flags=$ERLCFLAGS
   24900 
   24901 
   24902 
   24903   FCFLAGS_cap_ax_save_flags=$FCFLAGS
   24904 
   24905 
   24906 
   24907   FCLIBS_cap_ax_save_flags=$FCLIBS
   24908 
   24909 
   24910 
   24911   FFLAGS_cap_ax_save_flags=$FFLAGS
   24912 
   24913 
   24914 
   24915   FLIBS_cap_ax_save_flags=$FLIBS
   24916 
   24917 
   24918 
   24919   GCJFLAGS_cap_ax_save_flags=$GCJFLAGS
   24920 
   24921 
   24922 
   24923   JAVACFLAGS_cap_ax_save_flags=$JAVACFLAGS
   24924 
   24925 
   24926 
   24927   LDFLAGS_cap_ax_save_flags=$LDFLAGS
   24928 
   24929 
   24930 
   24931   LIBS_cap_ax_save_flags=$LIBS
   24932 
   24933 
   24934 
   24935   OBJCFLAGS_cap_ax_save_flags=$OBJCFLAGS
   24936 
   24937 
   24938 
   24939   OBJCXXFLAGS_cap_ax_save_flags=$OBJCXXFLAGS
   24940 
   24941 
   24942 
   24943   UPCFLAGS_cap_ax_save_flags=$UPCFLAGS
   24944 
   24945 
   24946 
   24947   VALAFLAGS_cap_ax_save_flags=$VALAFLAGS
   24948 
   24949 
   24950 
   24951        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing cap_set_proc" >&5
   24952 printf %s "checking for library containing cap_set_proc... " >&6; }
   24953 if test ${ac_cv_search_cap_set_proc+y}
   24954 then :
   24955   printf %s "(cached) " >&6
   24956 else $as_nop
   24957   ac_func_search_save_LIBS=$LIBS
   24958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24959 /* end confdefs.h.  */
   24960 
   24961 /* Override any GCC internal prototype to avoid an error.
   24962    Use char because int might match the return type of a GCC
   24963    builtin and then its argument prototype would still apply.  */
   24964 char cap_set_proc ();
   24965 int
   24966 main (void)
   24967 {
   24968 return cap_set_proc ();
   24969   ;
   24970   return 0;
   24971 }
   24972 _ACEOF
   24973 for ac_lib in '' cap
   24974 do
   24975   if test -z "$ac_lib"; then
   24976     ac_res="none required"
   24977   else
   24978     ac_res=-l$ac_lib
   24979     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   24980   fi
   24981   if ac_fn_c_try_link "$LINENO"
   24982 then :
   24983   ac_cv_search_cap_set_proc=$ac_res
   24984 fi
   24985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   24986     conftest$ac_exeext
   24987   if test ${ac_cv_search_cap_set_proc+y}
   24988 then :
   24989   break
   24990 fi
   24991 done
   24992 if test ${ac_cv_search_cap_set_proc+y}
   24993 then :
   24994 
   24995 else $as_nop
   24996   ac_cv_search_cap_set_proc=no
   24997 fi
   24998 rm conftest.$ac_ext
   24999 LIBS=$ac_func_search_save_LIBS
   25000 fi
   25001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cap_set_proc" >&5
   25002 printf "%s\n" "$ac_cv_search_cap_set_proc" >&6; }
   25003 ac_res=$ac_cv_search_cap_set_proc
   25004 if test "$ac_res" != no
   25005 then :
   25006   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   25007   LIBCAP_LIBS="$ac_cv_search_cap_set_proc"
   25008 else $as_nop
   25009   as_fn_error $? "libcap is required for Linux capabilities support. Either install libcap or use --disable-linux-caps." "$LINENO" 5
   25010 fi
   25011 
   25012 
   25013   CCASFLAGS=$CCASFLAGS_cap_ax_save_flags
   25014 
   25015 
   25016   CFLAGS=$CFLAGS_cap_ax_save_flags
   25017 
   25018 
   25019   CPPFLAGS=$CPPFLAGS_cap_ax_save_flags
   25020 
   25021 
   25022   CXXFLAGS=$CXXFLAGS_cap_ax_save_flags
   25023 
   25024 
   25025   ERLCFLAGS=$ERLCFLAGS_cap_ax_save_flags
   25026 
   25027 
   25028   FCFLAGS=$FCFLAGS_cap_ax_save_flags
   25029 
   25030 
   25031   FCLIBS=$FCLIBS_cap_ax_save_flags
   25032 
   25033 
   25034   FFLAGS=$FFLAGS_cap_ax_save_flags
   25035 
   25036 
   25037   FLIBS=$FLIBS_cap_ax_save_flags
   25038 
   25039 
   25040   GCJFLAGS=$GCJFLAGS_cap_ax_save_flags
   25041 
   25042 
   25043   JAVACFLAGS=$JAVACFLAGS_cap_ax_save_flags
   25044 
   25045 
   25046   LDFLAGS=$LDFLAGS_cap_ax_save_flags
   25047 
   25048 
   25049   LIBS=$LIBS_cap_ax_save_flags
   25050 
   25051 
   25052   OBJCFLAGS=$OBJCFLAGS_cap_ax_save_flags
   25053 
   25054 
   25055   OBJCXXFLAGS=$OBJCXXFLAGS_cap_ax_save_flags
   25056 
   25057 
   25058   UPCFLAGS=$UPCFLAGS_cap_ax_save_flags
   25059 
   25060 
   25061   VALAFLAGS=$VALAFLAGS_cap_ax_save_flags
   25062 
   25063 
   25064 
   25065 else $as_nop
   25066   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25067 printf "%s\n" "no" >&6; }
   25068 fi
   25069 
   25070 
   25071 case "$host" in
   25072 *-solaris*)
   25073 
   25074 printf "%s\n" "#define NEED_SECURE_DIRECTORY 1" >>confdefs.h
   25075 
   25076 	;;
   25077 esac
   25078 
   25079 #
   25080 # Time Zone Stuff
   25081 #
   25082 ac_fn_c_check_func "$LINENO" "tzset" "ac_cv_func_tzset"
   25083 if test "x$ac_cv_func_tzset" = xyes
   25084 then :
   25085   printf "%s\n" "#define HAVE_TZSET 1" >>confdefs.h
   25086 
   25087 fi
   25088 
   25089 
   25090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for optarg declaration" >&5
   25091 printf %s "checking for optarg declaration... " >&6; }
   25092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   25093 /* end confdefs.h.  */
   25094 #include <unistd.h>
   25095 int
   25096 main (void)
   25097 {
   25098 optarg = 0;
   25099 
   25100   ;
   25101   return 0;
   25102 }
   25103 _ACEOF
   25104 if ac_fn_c_try_compile "$LINENO"
   25105 then :
   25106   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   25107 printf "%s\n" "yes" >&6; }
   25108 else $as_nop
   25109   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25110 printf "%s\n" "no" >&6; }
   25111    GEN_NEED_OPTARG="-DNEED_OPTARG=1"
   25112 
   25113 printf "%s\n" "#define NEED_OPTARG 1" >>confdefs.h
   25114 
   25115 
   25116 fi
   25117 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   25118 
   25119 #
   25120 # Check for nanoseconds in file stats
   25121 #
   25122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for st_mtim.tv_nsec" >&5
   25123 printf %s "checking for st_mtim.tv_nsec... " >&6; }
   25124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   25125 /* end confdefs.h.  */
   25126 #include <sys/stat.h>
   25127 int
   25128 main (void)
   25129 {
   25130 struct stat s;
   25131        return(s.st_mtim.tv_nsec);
   25132 
   25133   ;
   25134   return 0;
   25135 }
   25136 _ACEOF
   25137 if ac_fn_c_try_compile "$LINENO"
   25138 then :
   25139   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   25140 printf "%s\n" "yes" >&6; }
   25141 
   25142 printf "%s\n" "#define HAVE_STAT_NSEC 1" >>confdefs.h
   25143 
   25144 else $as_nop
   25145   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25146 printf "%s\n" "no" >&6; }
   25147 fi
   25148 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   25149 
   25150 #
   25151 # Check for if_nametoindex() for IPv6 scoped addresses support
   25152 #
   25153 ac_fn_c_check_func "$LINENO" "if_nametoindex" "ac_cv_func_if_nametoindex"
   25154 if test "x$ac_cv_func_if_nametoindex" = xyes
   25155 then :
   25156   printf "%s\n" "#define HAVE_IF_NAMETOINDEX 1" >>confdefs.h
   25157 
   25158 fi
   25159 
   25160 
   25161 ISC_ATOMIC_LIBS=""
   25162        for ac_header in stdatomic.h
   25163 do :
   25164   ac_fn_c_check_header_compile "$LINENO" "stdatomic.h" "ac_cv_header_stdatomic_h" "$ac_includes_default"
   25165 if test "x$ac_cv_header_stdatomic_h" = xyes
   25166 then :
   25167   printf "%s\n" "#define HAVE_STDATOMIC_H 1" >>confdefs.h
   25168  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for memory model aware atomic operations" >&5
   25169 printf %s "checking for memory model aware atomic operations... " >&6; }
   25170    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   25171 /* end confdefs.h.  */
   25172 #include <stdatomic.h>
   25173 int
   25174 main (void)
   25175 {
   25176 atomic_int_fast32_t val = 0; atomic_fetch_add_explicit(&val, 1, memory_order_relaxed);
   25177 
   25178   ;
   25179   return 0;
   25180 }
   25181 _ACEOF
   25182 if ac_fn_c_try_compile "$LINENO"
   25183 then :
   25184   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: stdatomic.h" >&5
   25185 printf "%s\n" "stdatomic.h" >&6; }
   25186       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -latomic is needed for 64-bit stdatomic.h functions" >&5
   25187 printf %s "checking whether -latomic is needed for 64-bit stdatomic.h functions... " >&6; }
   25188       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   25189 /* end confdefs.h.  */
   25190 #include <stdatomic.h>
   25191 int
   25192 main (void)
   25193 {
   25194 atomic_int_fast64_t val = 0; atomic_fetch_add_explicit(&val, 1, memory_order_relaxed);
   25195 
   25196   ;
   25197   return 0;
   25198 }
   25199 _ACEOF
   25200 if ac_fn_c_try_link "$LINENO"
   25201 then :
   25202   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25203 printf "%s\n" "no" >&6; }
   25204 else $as_nop
   25205   ISC_ATOMIC_LIBS="-latomic"
   25206 
   25207 
   25208   CCASFLAGS_atomic_ax_save_flags=$CCASFLAGS
   25209 
   25210 
   25211 
   25212   CFLAGS_atomic_ax_save_flags=$CFLAGS
   25213 
   25214 
   25215 
   25216   CPPFLAGS_atomic_ax_save_flags=$CPPFLAGS
   25217 
   25218 
   25219 
   25220   CXXFLAGS_atomic_ax_save_flags=$CXXFLAGS
   25221 
   25222 
   25223 
   25224   ERLCFLAGS_atomic_ax_save_flags=$ERLCFLAGS
   25225 
   25226 
   25227 
   25228   FCFLAGS_atomic_ax_save_flags=$FCFLAGS
   25229 
   25230 
   25231 
   25232   FCLIBS_atomic_ax_save_flags=$FCLIBS
   25233 
   25234 
   25235 
   25236   FFLAGS_atomic_ax_save_flags=$FFLAGS
   25237 
   25238 
   25239 
   25240   FLIBS_atomic_ax_save_flags=$FLIBS
   25241 
   25242 
   25243 
   25244   GCJFLAGS_atomic_ax_save_flags=$GCJFLAGS
   25245 
   25246 
   25247 
   25248   JAVACFLAGS_atomic_ax_save_flags=$JAVACFLAGS
   25249 
   25250 
   25251 
   25252   LDFLAGS_atomic_ax_save_flags=$LDFLAGS
   25253 
   25254 
   25255 
   25256   LIBS_atomic_ax_save_flags=$LIBS
   25257 
   25258 
   25259 
   25260   OBJCFLAGS_atomic_ax_save_flags=$OBJCFLAGS
   25261 
   25262 
   25263 
   25264   OBJCXXFLAGS_atomic_ax_save_flags=$OBJCXXFLAGS
   25265 
   25266 
   25267 
   25268   UPCFLAGS_atomic_ax_save_flags=$UPCFLAGS
   25269 
   25270 
   25271 
   25272   VALAFLAGS_atomic_ax_save_flags=$VALAFLAGS
   25273 
   25274 
   25275 
   25276 	 LIBS="$LIBS $ISC_ATOMIC_LIBS"
   25277 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   25278 /* end confdefs.h.  */
   25279 #include <stdatomic.h>
   25280 int
   25281 main (void)
   25282 {
   25283 atomic_int_fast64_t val = 0; atomic_fetch_add_explicit(&val, 1, memory_order_relaxed);
   25284 
   25285   ;
   25286   return 0;
   25287 }
   25288 _ACEOF
   25289 if ac_fn_c_try_link "$LINENO"
   25290 then :
   25291   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   25292 printf "%s\n" "yes" >&6; }
   25293 else $as_nop
   25294   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   25295 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   25296 as_fn_error $? "libatomic needed, but linking with -latomic failed, please fix your toolchain.
   25297 See \`config.log' for more details" "$LINENO" 5; }
   25298 fi
   25299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   25300     conftest$ac_exeext conftest.$ac_ext
   25301 
   25302   CCASFLAGS=$CCASFLAGS_atomic_ax_save_flags
   25303 
   25304 
   25305   CFLAGS=$CFLAGS_atomic_ax_save_flags
   25306 
   25307 
   25308   CPPFLAGS=$CPPFLAGS_atomic_ax_save_flags
   25309 
   25310 
   25311   CXXFLAGS=$CXXFLAGS_atomic_ax_save_flags
   25312 
   25313 
   25314   ERLCFLAGS=$ERLCFLAGS_atomic_ax_save_flags
   25315 
   25316 
   25317   FCFLAGS=$FCFLAGS_atomic_ax_save_flags
   25318 
   25319 
   25320   FCLIBS=$FCLIBS_atomic_ax_save_flags
   25321 
   25322 
   25323   FFLAGS=$FFLAGS_atomic_ax_save_flags
   25324 
   25325 
   25326   FLIBS=$FLIBS_atomic_ax_save_flags
   25327 
   25328 
   25329   GCJFLAGS=$GCJFLAGS_atomic_ax_save_flags
   25330 
   25331 
   25332   JAVACFLAGS=$JAVACFLAGS_atomic_ax_save_flags
   25333 
   25334 
   25335   LDFLAGS=$LDFLAGS_atomic_ax_save_flags
   25336 
   25337 
   25338   LIBS=$LIBS_atomic_ax_save_flags
   25339 
   25340 
   25341   OBJCFLAGS=$OBJCFLAGS_atomic_ax_save_flags
   25342 
   25343 
   25344   OBJCXXFLAGS=$OBJCXXFLAGS_atomic_ax_save_flags
   25345 
   25346 
   25347   UPCFLAGS=$UPCFLAGS_atomic_ax_save_flags
   25348 
   25349 
   25350   VALAFLAGS=$VALAFLAGS_atomic_ax_save_flags
   25351 
   25352 
   25353 
   25354 
   25355 fi
   25356 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   25357     conftest$ac_exeext conftest.$ac_ext
   25358 
   25359 else $as_nop
   25360   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   25361 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   25362 as_fn_error $? "stdatomic.h header found, but compilation failed, please fix your toolchain.
   25363 See \`config.log' for more details" "$LINENO" 5; }
   25364 
   25365 fi
   25366 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   25367 else $as_nop
   25368   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for memory model aware atomic operations" >&5
   25369 printf %s "checking for memory model aware atomic operations... " >&6; }
   25370    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   25371 /* end confdefs.h.  */
   25372 #include <inttypes.h>
   25373 int
   25374 main (void)
   25375 {
   25376 int32_t val = 0; __atomic_fetch_add(&val, 1, __ATOMIC_RELAXED);
   25377 
   25378   ;
   25379   return 0;
   25380 }
   25381 _ACEOF
   25382 if ac_fn_c_try_compile "$LINENO"
   25383 then :
   25384   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: __atomic builtins" >&5
   25385 printf "%s\n" "__atomic builtins" >&6; }
   25386 
   25387 printf "%s\n" "#define HAVE___ATOMIC 1" >>confdefs.h
   25388 
   25389       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -latomic is needed for 64-bit __atomic builtins" >&5
   25390 printf %s "checking whether -latomic is needed for 64-bit __atomic builtins... " >&6; }
   25391       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   25392 /* end confdefs.h.  */
   25393 #include <inttypes.h>
   25394 int
   25395 main (void)
   25396 {
   25397 int64_t val = 0; __atomic_fetch_add(&val, 1, __ATOMIC_RELAXED);
   25398 
   25399   ;
   25400   return 0;
   25401 }
   25402 _ACEOF
   25403 if ac_fn_c_try_link "$LINENO"
   25404 then :
   25405   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25406 printf "%s\n" "no" >&6; }
   25407 else $as_nop
   25408   ISC_ATOMIC_LIBS="-latomic"
   25409 
   25410 
   25411   CCASFLAGS_atomic_ax_save_flags=$CCASFLAGS
   25412 
   25413 
   25414 
   25415   CFLAGS_atomic_ax_save_flags=$CFLAGS
   25416 
   25417 
   25418 
   25419   CPPFLAGS_atomic_ax_save_flags=$CPPFLAGS
   25420 
   25421 
   25422 
   25423   CXXFLAGS_atomic_ax_save_flags=$CXXFLAGS
   25424 
   25425 
   25426 
   25427   ERLCFLAGS_atomic_ax_save_flags=$ERLCFLAGS
   25428 
   25429 
   25430 
   25431   FCFLAGS_atomic_ax_save_flags=$FCFLAGS
   25432 
   25433 
   25434 
   25435   FCLIBS_atomic_ax_save_flags=$FCLIBS
   25436 
   25437 
   25438 
   25439   FFLAGS_atomic_ax_save_flags=$FFLAGS
   25440 
   25441 
   25442 
   25443   FLIBS_atomic_ax_save_flags=$FLIBS
   25444 
   25445 
   25446 
   25447   GCJFLAGS_atomic_ax_save_flags=$GCJFLAGS
   25448 
   25449 
   25450 
   25451   JAVACFLAGS_atomic_ax_save_flags=$JAVACFLAGS
   25452 
   25453 
   25454 
   25455   LDFLAGS_atomic_ax_save_flags=$LDFLAGS
   25456 
   25457 
   25458 
   25459   LIBS_atomic_ax_save_flags=$LIBS
   25460 
   25461 
   25462 
   25463   OBJCFLAGS_atomic_ax_save_flags=$OBJCFLAGS
   25464 
   25465 
   25466 
   25467   OBJCXXFLAGS_atomic_ax_save_flags=$OBJCXXFLAGS
   25468 
   25469 
   25470 
   25471   UPCFLAGS_atomic_ax_save_flags=$UPCFLAGS
   25472 
   25473 
   25474 
   25475   VALAFLAGS_atomic_ax_save_flags=$VALAFLAGS
   25476 
   25477 
   25478 
   25479 	 LIBS="$LIBS $ISC_ATOMIC_LIBS"
   25480 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   25481 /* end confdefs.h.  */
   25482 #include <inttypes.h>
   25483 int
   25484 main (void)
   25485 {
   25486 int64_t val = 0; __atomic_fetch_add(&val, 1, __ATOMIC_RELAXED);
   25487 
   25488   ;
   25489   return 0;
   25490 }
   25491 _ACEOF
   25492 if ac_fn_c_try_link "$LINENO"
   25493 then :
   25494   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   25495 printf "%s\n" "yes" >&6; }
   25496 else $as_nop
   25497   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   25498 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   25499 as_fn_error $? "libatomic needed, but linking with -latomic failed, please fix your toolchain.
   25500 See \`config.log' for more details" "$LINENO" 5; }
   25501 fi
   25502 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   25503     conftest$ac_exeext conftest.$ac_ext
   25504 
   25505   CCASFLAGS=$CCASFLAGS_atomic_ax_save_flags
   25506 
   25507 
   25508   CFLAGS=$CFLAGS_atomic_ax_save_flags
   25509 
   25510 
   25511   CPPFLAGS=$CPPFLAGS_atomic_ax_save_flags
   25512 
   25513 
   25514   CXXFLAGS=$CXXFLAGS_atomic_ax_save_flags
   25515 
   25516 
   25517   ERLCFLAGS=$ERLCFLAGS_atomic_ax_save_flags
   25518 
   25519 
   25520   FCFLAGS=$FCFLAGS_atomic_ax_save_flags
   25521 
   25522 
   25523   FCLIBS=$FCLIBS_atomic_ax_save_flags
   25524 
   25525 
   25526   FFLAGS=$FFLAGS_atomic_ax_save_flags
   25527 
   25528 
   25529   FLIBS=$FLIBS_atomic_ax_save_flags
   25530 
   25531 
   25532   GCJFLAGS=$GCJFLAGS_atomic_ax_save_flags
   25533 
   25534 
   25535   JAVACFLAGS=$JAVACFLAGS_atomic_ax_save_flags
   25536 
   25537 
   25538   LDFLAGS=$LDFLAGS_atomic_ax_save_flags
   25539 
   25540 
   25541   LIBS=$LIBS_atomic_ax_save_flags
   25542 
   25543 
   25544   OBJCFLAGS=$OBJCFLAGS_atomic_ax_save_flags
   25545 
   25546 
   25547   OBJCXXFLAGS=$OBJCXXFLAGS_atomic_ax_save_flags
   25548 
   25549 
   25550   UPCFLAGS=$UPCFLAGS_atomic_ax_save_flags
   25551 
   25552 
   25553   VALAFLAGS=$VALAFLAGS_atomic_ax_save_flags
   25554 
   25555 
   25556 
   25557 
   25558 fi
   25559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   25560     conftest$ac_exeext conftest.$ac_ext
   25561 
   25562 else $as_nop
   25563   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   25564 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   25565 as_fn_error $? "not found
   25566 See \`config.log' for more details" "$LINENO" 5; }
   25567 
   25568 fi
   25569 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   25570 
   25571 fi
   25572 
   25573 done
   25574 LIBS="$LIBS $ISC_ATOMIC_LIBS"
   25575 
   25576 ac_fn_c_check_header_compile "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
   25577 if test "x$ac_cv_header_stdalign_h" = xyes
   25578 then :
   25579   printf "%s\n" "#define HAVE_STDALIGN_H 1" >>confdefs.h
   25580 
   25581 fi
   25582 ac_fn_c_check_header_compile "$LINENO" "stdnoreturn.h" "ac_cv_header_stdnoreturn_h" "$ac_includes_default"
   25583 if test "x$ac_cv_header_stdnoreturn_h" = xyes
   25584 then :
   25585   printf "%s\n" "#define HAVE_STDNORETURN_H 1" >>confdefs.h
   25586 
   25587 fi
   25588 
   25589 
   25590 ac_fn_c_check_header_compile "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
   25591 if test "x$ac_cv_header_uchar_h" = xyes
   25592 then :
   25593   printf "%s\n" "#define HAVE_UCHAR_H 1" >>confdefs.h
   25594 
   25595 fi
   25596 
   25597 
   25598 #
   25599 # Check for __builtin_unreachable
   25600 #
   25601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler support for __builtin_unreachable()" >&5
   25602 printf %s "checking compiler support for __builtin_unreachable()... " >&6; }
   25603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   25604 /* end confdefs.h.  */
   25605 
   25606 int
   25607 main (void)
   25608 {
   25609 __builtin_unreachable();
   25610 
   25611   ;
   25612   return 0;
   25613 }
   25614 _ACEOF
   25615 if ac_fn_c_try_link "$LINENO"
   25616 then :
   25617   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   25618 printf "%s\n" "yes" >&6; }
   25619 
   25620 printf "%s\n" "#define HAVE_BUILTIN_UNREACHABLE 1" >>confdefs.h
   25621 
   25622 
   25623 else $as_nop
   25624   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25625 printf "%s\n" "no" >&6; }
   25626 
   25627 fi
   25628 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   25629     conftest$ac_exeext conftest.$ac_ext
   25630 
   25631 #
   25632 # Check for __builtin_clz
   25633 #
   25634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler support for __builtin_clz" >&5
   25635 printf %s "checking compiler support for __builtin_clz... " >&6; }
   25636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   25637 /* end confdefs.h.  */
   25638 
   25639 int
   25640 main (void)
   25641 {
   25642 return (__builtin_clz(0xff) == 24 ? 1 : 0);
   25643 
   25644   ;
   25645   return 0;
   25646 }
   25647 _ACEOF
   25648 if ac_fn_c_try_link "$LINENO"
   25649 then :
   25650   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   25651 printf "%s\n" "yes" >&6; }
   25652 
   25653 printf "%s\n" "#define HAVE_BUILTIN_CLZ 1" >>confdefs.h
   25654 
   25655 
   25656 else $as_nop
   25657   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25658 printf "%s\n" "no" >&6; }
   25659 
   25660 fi
   25661 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   25662     conftest$ac_exeext conftest.$ac_ext
   25663 
   25664 #
   25665 # Check for __builtin_uadd_overflow
   25666 #
   25667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler support for __builtin_*_overflow()" >&5
   25668 printf %s "checking compiler support for __builtin_*_overflow()... " >&6; }
   25669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   25670 /* end confdefs.h.  */
   25671 #include <limits.h>
   25672 int
   25673 main (void)
   25674 {
   25675 return (__builtin_uadd_overflow(UINT_MAX, UINT_MAX, &(unsigned int){ 0 }));
   25676 
   25677   ;
   25678   return 0;
   25679 }
   25680 _ACEOF
   25681 if ac_fn_c_try_link "$LINENO"
   25682 then :
   25683   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   25684 printf "%s\n" "yes" >&6; }
   25685 
   25686 printf "%s\n" "#define HAVE_BUILTIN_OVERFLOW 1" >>confdefs.h
   25687 
   25688 
   25689 else $as_nop
   25690   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25691 printf "%s\n" "no" >&6; }
   25692 
   25693 fi
   25694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   25695     conftest$ac_exeext conftest.$ac_ext
   25696 
   25697 #
   25698 # Activate "rrset-order fixed" or not?
   25699 #
   25700 # [pairwise: --enable-fixed-rrset, --disable-fixed-rrset]
   25701 # Check whether --enable-fixed-rrset was given.
   25702 if test ${enable_fixed_rrset+y}
   25703 then :
   25704   enableval=$enable_fixed_rrset;
   25705 else $as_nop
   25706   enable_fixed_rrset="no"
   25707 fi
   25708 
   25709 if test "$enable_fixed_rrset" = "yes"
   25710 then :
   25711 
   25712 printf "%s\n" "#define DNS_RDATASET_FIXED 1" >>confdefs.h
   25713 
   25714 fi
   25715 
   25716 #
   25717 # Activate dnstap?
   25718 #
   25719 # [pairwise: --enable-dnstap, --disable-dnstap]
   25720 # Check whether --enable-dnstap was given.
   25721 if test ${enable_dnstap+y}
   25722 then :
   25723   enableval=$enable_dnstap;
   25724 else $as_nop
   25725   enable_dnstap=no
   25726 fi
   25727 
   25728 
   25729 if test "$enable_dnstap" != "no"
   25730 then :
   25731 
   25732 pkg_failed=no
   25733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libfstrm libprotobuf-c" >&5
   25734 printf %s "checking for libfstrm libprotobuf-c... " >&6; }
   25735 
   25736 if test -n "$DNSTAP_CFLAGS"; then
   25737     pkg_cv_DNSTAP_CFLAGS="$DNSTAP_CFLAGS"
   25738  elif test -n "$PKG_CONFIG"; then
   25739     if test -n "$PKG_CONFIG" && \
   25740     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfstrm libprotobuf-c\""; } >&5
   25741   ($PKG_CONFIG --exists --print-errors "libfstrm libprotobuf-c") 2>&5
   25742   ac_status=$?
   25743   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   25744   test $ac_status = 0; }; then
   25745   pkg_cv_DNSTAP_CFLAGS=`$PKG_CONFIG --cflags "libfstrm libprotobuf-c" 2>/dev/null`
   25746 		      test "x$?" != "x0" && pkg_failed=yes
   25747 else
   25748   pkg_failed=yes
   25749 fi
   25750  else
   25751     pkg_failed=untried
   25752 fi
   25753 if test -n "$DNSTAP_LIBS"; then
   25754     pkg_cv_DNSTAP_LIBS="$DNSTAP_LIBS"
   25755  elif test -n "$PKG_CONFIG"; then
   25756     if test -n "$PKG_CONFIG" && \
   25757     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfstrm libprotobuf-c\""; } >&5
   25758   ($PKG_CONFIG --exists --print-errors "libfstrm libprotobuf-c") 2>&5
   25759   ac_status=$?
   25760   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   25761   test $ac_status = 0; }; then
   25762   pkg_cv_DNSTAP_LIBS=`$PKG_CONFIG --libs "libfstrm libprotobuf-c" 2>/dev/null`
   25763 		      test "x$?" != "x0" && pkg_failed=yes
   25764 else
   25765   pkg_failed=yes
   25766 fi
   25767  else
   25768     pkg_failed=untried
   25769 fi
   25770 
   25771 
   25772 
   25773 if test $pkg_failed = yes; then
   25774         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25775 printf "%s\n" "no" >&6; }
   25776 
   25777 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   25778         _pkg_short_errors_supported=yes
   25779 else
   25780         _pkg_short_errors_supported=no
   25781 fi
   25782         if test $_pkg_short_errors_supported = yes; then
   25783                 DNSTAP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfstrm libprotobuf-c" 2>&1`
   25784         else
   25785                 DNSTAP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfstrm libprotobuf-c" 2>&1`
   25786         fi
   25787         # Put the nasty error message in config.log where it belongs
   25788         echo "$DNSTAP_PKG_ERRORS" >&5
   25789 
   25790         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   25791 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   25792 as_fn_error $? "Required libraries (fstrm, protobuf-c) were not found, please install them.
   25793 See \`config.log' for more details" "$LINENO" 5; }
   25794 elif test $pkg_failed = untried; then
   25795         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25796 printf "%s\n" "no" >&6; }
   25797         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   25798 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   25799 as_fn_error $? "Required libraries (fstrm, protobuf-c) were not found, please install them.
   25800 See \`config.log' for more details" "$LINENO" 5; }
   25801 else
   25802         DNSTAP_CFLAGS=$pkg_cv_DNSTAP_CFLAGS
   25803         DNSTAP_LIBS=$pkg_cv_DNSTAP_LIBS
   25804         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   25805 printf "%s\n" "yes" >&6; }
   25806 
   25807 fi
   25808        # Extract the first word of "fstrm_capture", so it can be a program name with args.
   25809 set dummy fstrm_capture; ac_word=$2
   25810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   25811 printf %s "checking for $ac_word... " >&6; }
   25812 if test ${ac_cv_path_FSTRM_CAPTURE+y}
   25813 then :
   25814   printf %s "(cached) " >&6
   25815 else $as_nop
   25816   case $FSTRM_CAPTURE in
   25817   [\\/]* | ?:[\\/]*)
   25818   ac_cv_path_FSTRM_CAPTURE="$FSTRM_CAPTURE" # Let the user override the test with a path.
   25819   ;;
   25820   *)
   25821   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   25822 for as_dir in $PATH
   25823 do
   25824   IFS=$as_save_IFS
   25825   case $as_dir in #(((
   25826     '') as_dir=./ ;;
   25827     */) ;;
   25828     *) as_dir=$as_dir/ ;;
   25829   esac
   25830     for ac_exec_ext in '' $ac_executable_extensions; do
   25831   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   25832     ac_cv_path_FSTRM_CAPTURE="$as_dir$ac_word$ac_exec_ext"
   25833     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   25834     break 2
   25835   fi
   25836 done
   25837   done
   25838 IFS=$as_save_IFS
   25839 
   25840   ;;
   25841 esac
   25842 fi
   25843 FSTRM_CAPTURE=$ac_cv_path_FSTRM_CAPTURE
   25844 if test -n "$FSTRM_CAPTURE"; then
   25845   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FSTRM_CAPTURE" >&5
   25846 printf "%s\n" "$FSTRM_CAPTURE" >&6; }
   25847 else
   25848   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25849 printf "%s\n" "no" >&6; }
   25850 fi
   25851 
   25852 
   25853        # Extract the first word of "protoc-c", so it can be a program name with args.
   25854 set dummy protoc-c; ac_word=$2
   25855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   25856 printf %s "checking for $ac_word... " >&6; }
   25857 if test ${ac_cv_path_PROTOC_C+y}
   25858 then :
   25859   printf %s "(cached) " >&6
   25860 else $as_nop
   25861   case $PROTOC_C in
   25862   [\\/]* | ?:[\\/]*)
   25863   ac_cv_path_PROTOC_C="$PROTOC_C" # Let the user override the test with a path.
   25864   ;;
   25865   *)
   25866   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   25867 for as_dir in $PATH
   25868 do
   25869   IFS=$as_save_IFS
   25870   case $as_dir in #(((
   25871     '') as_dir=./ ;;
   25872     */) ;;
   25873     *) as_dir=$as_dir/ ;;
   25874   esac
   25875     for ac_exec_ext in '' $ac_executable_extensions; do
   25876   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   25877     ac_cv_path_PROTOC_C="$as_dir$ac_word$ac_exec_ext"
   25878     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   25879     break 2
   25880   fi
   25881 done
   25882   done
   25883 IFS=$as_save_IFS
   25884 
   25885   ;;
   25886 esac
   25887 fi
   25888 PROTOC_C=$ac_cv_path_PROTOC_C
   25889 if test -n "$PROTOC_C"; then
   25890   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PROTOC_C" >&5
   25891 printf "%s\n" "$PROTOC_C" >&6; }
   25892 else
   25893   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25894 printf "%s\n" "no" >&6; }
   25895 fi
   25896 
   25897 
   25898        if test -z "$PROTOC_C"
   25899 then :
   25900   as_fn_error $? "protoc-c compiler not found" "$LINENO" 5
   25901 fi
   25902 
   25903 printf "%s\n" "#define HAVE_DNSTAP 1" >>confdefs.h
   25904 
   25905 
   25906 fi
   25907 
   25908 
   25909 
   25910  if test "$enable_dnstap" != "no"; then
   25911   HAVE_DNSTAP_TRUE=
   25912   HAVE_DNSTAP_FALSE='#'
   25913 else
   25914   HAVE_DNSTAP_TRUE='#'
   25915   HAVE_DNSTAP_FALSE=
   25916 fi
   25917 
   25918 #
   25919 # The following sections deal with tools used for formatting
   25920 # the documentation.  They are all optional, unless you are
   25921 # a developer editing the documentation source.
   25922 #
   25923 
   25924 #
   25925 # Look for sphinx-build
   25926 #
   25927 
   25928 # Extract the first word of "sphinx-build", so it can be a program name with args.
   25929 set dummy sphinx-build; ac_word=$2
   25930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   25931 printf %s "checking for $ac_word... " >&6; }
   25932 if test ${ac_cv_path_SPHINX_BUILD+y}
   25933 then :
   25934   printf %s "(cached) " >&6
   25935 else $as_nop
   25936   case $SPHINX_BUILD in
   25937   [\\/]* | ?:[\\/]*)
   25938   ac_cv_path_SPHINX_BUILD="$SPHINX_BUILD" # Let the user override the test with a path.
   25939   ;;
   25940   *)
   25941   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   25942 for as_dir in $PATH
   25943 do
   25944   IFS=$as_save_IFS
   25945   case $as_dir in #(((
   25946     '') as_dir=./ ;;
   25947     */) ;;
   25948     *) as_dir=$as_dir/ ;;
   25949   esac
   25950     for ac_exec_ext in '' $ac_executable_extensions; do
   25951   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   25952     ac_cv_path_SPHINX_BUILD="$as_dir$ac_word$ac_exec_ext"
   25953     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   25954     break 2
   25955   fi
   25956 done
   25957   done
   25958 IFS=$as_save_IFS
   25959 
   25960   ;;
   25961 esac
   25962 fi
   25963 SPHINX_BUILD=$ac_cv_path_SPHINX_BUILD
   25964 if test -n "$SPHINX_BUILD"; then
   25965   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SPHINX_BUILD" >&5
   25966 printf "%s\n" "$SPHINX_BUILD" >&6; }
   25967 else
   25968   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25969 printf "%s\n" "no" >&6; }
   25970 fi
   25971 
   25972 
   25973  if test -n "$SPHINX_BUILD"; then
   25974   HAVE_SPHINX_BUILD_TRUE=
   25975   HAVE_SPHINX_BUILD_FALSE='#'
   25976 else
   25977   HAVE_SPHINX_BUILD_TRUE='#'
   25978   HAVE_SPHINX_BUILD_FALSE=
   25979 fi
   25980 
   25981 
   25982 # Extract the first word of "xelatex", so it can be a program name with args.
   25983 set dummy xelatex; ac_word=$2
   25984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   25985 printf %s "checking for $ac_word... " >&6; }
   25986 if test ${ac_cv_path_XELATEX+y}
   25987 then :
   25988   printf %s "(cached) " >&6
   25989 else $as_nop
   25990   case $XELATEX in
   25991   [\\/]* | ?:[\\/]*)
   25992   ac_cv_path_XELATEX="$XELATEX" # Let the user override the test with a path.
   25993   ;;
   25994   *)
   25995   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   25996 for as_dir in $PATH
   25997 do
   25998   IFS=$as_save_IFS
   25999   case $as_dir in #(((
   26000     '') as_dir=./ ;;
   26001     */) ;;
   26002     *) as_dir=$as_dir/ ;;
   26003   esac
   26004     for ac_exec_ext in '' $ac_executable_extensions; do
   26005   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   26006     ac_cv_path_XELATEX="$as_dir$ac_word$ac_exec_ext"
   26007     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   26008     break 2
   26009   fi
   26010 done
   26011   done
   26012 IFS=$as_save_IFS
   26013 
   26014   ;;
   26015 esac
   26016 fi
   26017 XELATEX=$ac_cv_path_XELATEX
   26018 if test -n "$XELATEX"; then
   26019   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XELATEX" >&5
   26020 printf "%s\n" "$XELATEX" >&6; }
   26021 else
   26022   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26023 printf "%s\n" "no" >&6; }
   26024 fi
   26025 
   26026 
   26027 # Extract the first word of "latexmk", so it can be a program name with args.
   26028 set dummy latexmk; ac_word=$2
   26029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   26030 printf %s "checking for $ac_word... " >&6; }
   26031 if test ${ac_cv_path_LATEXMK+y}
   26032 then :
   26033   printf %s "(cached) " >&6
   26034 else $as_nop
   26035   case $LATEXMK in
   26036   [\\/]* | ?:[\\/]*)
   26037   ac_cv_path_LATEXMK="$LATEXMK" # Let the user override the test with a path.
   26038   ;;
   26039   *)
   26040   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   26041 for as_dir in $PATH
   26042 do
   26043   IFS=$as_save_IFS
   26044   case $as_dir in #(((
   26045     '') as_dir=./ ;;
   26046     */) ;;
   26047     *) as_dir=$as_dir/ ;;
   26048   esac
   26049     for ac_exec_ext in '' $ac_executable_extensions; do
   26050   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   26051     ac_cv_path_LATEXMK="$as_dir$ac_word$ac_exec_ext"
   26052     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   26053     break 2
   26054   fi
   26055 done
   26056   done
   26057 IFS=$as_save_IFS
   26058 
   26059   ;;
   26060 esac
   26061 fi
   26062 LATEXMK=$ac_cv_path_LATEXMK
   26063 if test -n "$LATEXMK"; then
   26064   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LATEXMK" >&5
   26065 printf "%s\n" "$LATEXMK" >&6; }
   26066 else
   26067   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26068 printf "%s\n" "no" >&6; }
   26069 fi
   26070 
   26071 
   26072  if test -n "$XELATEX" && test -n "$LATEXMK"; then
   26073   HAVE_XELATEX_TRUE=
   26074   HAVE_XELATEX_FALSE='#'
   26075 else
   26076   HAVE_XELATEX_TRUE='#'
   26077   HAVE_XELATEX_FALSE=
   26078 fi
   26079 
   26080 
   26081 #
   26082 # Build the man pages only if we have prebuilt manpages or we can build them from RST sources
   26083 #
   26084  if test -e doc/man/named.conf.5in || test -n "$SPHINX_BUILD"; then
   26085   BUILD_MANPAGES_TRUE=
   26086   BUILD_MANPAGES_FALSE='#'
   26087 else
   26088   BUILD_MANPAGES_TRUE='#'
   26089   BUILD_MANPAGES_FALSE=
   26090 fi
   26091 
   26092 
   26093 #
   26094 # Pull release date from CHANGES file last modification date
   26095 # for reproducible builds
   26096 #
   26097 release_date=`date -u -r CHANGES +%Y-%m-%d`
   26098 RELEASE_DATE=$release_date
   26099 
   26100 
   26101 #
   26102 # Look for Doxygen
   26103 #
   26104 for ac_prog in doxygen
   26105 do
   26106   # Extract the first word of "$ac_prog", so it can be a program name with args.
   26107 set dummy $ac_prog; ac_word=$2
   26108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   26109 printf %s "checking for $ac_word... " >&6; }
   26110 if test ${ac_cv_path_DOXYGEN+y}
   26111 then :
   26112   printf %s "(cached) " >&6
   26113 else $as_nop
   26114   case $DOXYGEN in
   26115   [\\/]* | ?:[\\/]*)
   26116   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
   26117   ;;
   26118   *)
   26119   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   26120 for as_dir in $PATH
   26121 do
   26122   IFS=$as_save_IFS
   26123   case $as_dir in #(((
   26124     '') as_dir=./ ;;
   26125     */) ;;
   26126     *) as_dir=$as_dir/ ;;
   26127   esac
   26128     for ac_exec_ext in '' $ac_executable_extensions; do
   26129   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   26130     ac_cv_path_DOXYGEN="$as_dir$ac_word$ac_exec_ext"
   26131     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   26132     break 2
   26133   fi
   26134 done
   26135   done
   26136 IFS=$as_save_IFS
   26137 
   26138   ;;
   26139 esac
   26140 fi
   26141 DOXYGEN=$ac_cv_path_DOXYGEN
   26142 if test -n "$DOXYGEN"; then
   26143   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
   26144 printf "%s\n" "$DOXYGEN" >&6; }
   26145 else
   26146   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26147 printf "%s\n" "no" >&6; }
   26148 fi
   26149 
   26150 
   26151   test -n "$DOXYGEN" && break
   26152 done
   26153 
   26154 
   26155 ac_config_files="$ac_config_files doc/doxygen/doxygen-input-filter"
   26156 
   26157 
   26158 #
   26159 # Look for curl
   26160 #
   26161 
   26162 # Extract the first word of "curl", so it can be a program name with args.
   26163 set dummy curl; ac_word=$2
   26164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   26165 printf %s "checking for $ac_word... " >&6; }
   26166 if test ${ac_cv_path_CURL+y}
   26167 then :
   26168   printf %s "(cached) " >&6
   26169 else $as_nop
   26170   case $CURL in
   26171   [\\/]* | ?:[\\/]*)
   26172   ac_cv_path_CURL="$CURL" # Let the user override the test with a path.
   26173   ;;
   26174   *)
   26175   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   26176 for as_dir in $PATH
   26177 do
   26178   IFS=$as_save_IFS
   26179   case $as_dir in #(((
   26180     '') as_dir=./ ;;
   26181     */) ;;
   26182     *) as_dir=$as_dir/ ;;
   26183   esac
   26184     for ac_exec_ext in '' $ac_executable_extensions; do
   26185   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   26186     ac_cv_path_CURL="$as_dir$ac_word$ac_exec_ext"
   26187     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   26188     break 2
   26189   fi
   26190 done
   26191   done
   26192 IFS=$as_save_IFS
   26193 
   26194   test -z "$ac_cv_path_CURL" && ac_cv_path_CURL="curl"
   26195   ;;
   26196 esac
   26197 fi
   26198 CURL=$ac_cv_path_CURL
   26199 if test -n "$CURL"; then
   26200   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CURL" >&5
   26201 printf "%s\n" "$CURL" >&6; }
   26202 else
   26203   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26204 printf "%s\n" "no" >&6; }
   26205 fi
   26206 
   26207 
   26208 
   26209 
   26210 #
   26211 # Look for nc
   26212 #
   26213 
   26214 for ac_prog in nc
   26215 do
   26216   # Extract the first word of "$ac_prog", so it can be a program name with args.
   26217 set dummy $ac_prog; ac_word=$2
   26218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   26219 printf %s "checking for $ac_word... " >&6; }
   26220 if test ${ac_cv_path_NC+y}
   26221 then :
   26222   printf %s "(cached) " >&6
   26223 else $as_nop
   26224   case $NC in
   26225   [\\/]* | ?:[\\/]*)
   26226   ac_cv_path_NC="$NC" # Let the user override the test with a path.
   26227   ;;
   26228   *)
   26229   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   26230 for as_dir in $PATH
   26231 do
   26232   IFS=$as_save_IFS
   26233   case $as_dir in #(((
   26234     '') as_dir=./ ;;
   26235     */) ;;
   26236     *) as_dir=$as_dir/ ;;
   26237   esac
   26238     for ac_exec_ext in '' $ac_executable_extensions; do
   26239   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   26240     ac_cv_path_NC="$as_dir$ac_word$ac_exec_ext"
   26241     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   26242     break 2
   26243   fi
   26244 done
   26245   done
   26246 IFS=$as_save_IFS
   26247 
   26248   ;;
   26249 esac
   26250 fi
   26251 NC=$ac_cv_path_NC
   26252 if test -n "$NC"; then
   26253   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NC" >&5
   26254 printf "%s\n" "$NC" >&6; }
   26255 else
   26256   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26257 printf "%s\n" "no" >&6; }
   26258 fi
   26259 
   26260 
   26261   test -n "$NC" && break
   26262 done
   26263 test -n "$NC" || NC="nc"
   26264 
   26265 
   26266 
   26267 #
   26268 # IDN support using libidn2
   26269 #
   26270 
   26271 LIBIDN2_CFLAGS=
   26272 LIBIDN2_LIBS=
   26273 
   26274 # [pairwise: --with-libidn2=yes, --without-libidn2]
   26275 
   26276 # Check whether --with-libidn2 was given.
   26277 if test ${with_libidn2+y}
   26278 then :
   26279   withval=$with_libidn2; with_libidn2="$withval"
   26280 else $as_nop
   26281   with_libidn2="no"
   26282 fi
   26283 
   26284 case $with_libidn2 in #(
   26285   yes) :
   26286 
   26287 pkg_failed=no
   26288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libidn2" >&5
   26289 printf %s "checking for libidn2... " >&6; }
   26290 
   26291 if test -n "$LIBIDN2_CFLAGS"; then
   26292     pkg_cv_LIBIDN2_CFLAGS="$LIBIDN2_CFLAGS"
   26293  elif test -n "$PKG_CONFIG"; then
   26294     if test -n "$PKG_CONFIG" && \
   26295     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libidn2\""; } >&5
   26296   ($PKG_CONFIG --exists --print-errors "libidn2") 2>&5
   26297   ac_status=$?
   26298   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26299   test $ac_status = 0; }; then
   26300   pkg_cv_LIBIDN2_CFLAGS=`$PKG_CONFIG --cflags "libidn2" 2>/dev/null`
   26301 		      test "x$?" != "x0" && pkg_failed=yes
   26302 else
   26303   pkg_failed=yes
   26304 fi
   26305  else
   26306     pkg_failed=untried
   26307 fi
   26308 if test -n "$LIBIDN2_LIBS"; then
   26309     pkg_cv_LIBIDN2_LIBS="$LIBIDN2_LIBS"
   26310  elif test -n "$PKG_CONFIG"; then
   26311     if test -n "$PKG_CONFIG" && \
   26312     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libidn2\""; } >&5
   26313   ($PKG_CONFIG --exists --print-errors "libidn2") 2>&5
   26314   ac_status=$?
   26315   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26316   test $ac_status = 0; }; then
   26317   pkg_cv_LIBIDN2_LIBS=`$PKG_CONFIG --libs "libidn2" 2>/dev/null`
   26318 		      test "x$?" != "x0" && pkg_failed=yes
   26319 else
   26320   pkg_failed=yes
   26321 fi
   26322  else
   26323     pkg_failed=untried
   26324 fi
   26325 
   26326 
   26327 
   26328 if test $pkg_failed = yes; then
   26329         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26330 printf "%s\n" "no" >&6; }
   26331 
   26332 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   26333         _pkg_short_errors_supported=yes
   26334 else
   26335         _pkg_short_errors_supported=no
   26336 fi
   26337         if test $_pkg_short_errors_supported = yes; then
   26338                 LIBIDN2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libidn2" 2>&1`
   26339         else
   26340                 LIBIDN2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libidn2" 2>&1`
   26341         fi
   26342         # Put the nasty error message in config.log where it belongs
   26343         echo "$LIBIDN2_PKG_ERRORS" >&5
   26344 
   26345         as_fn_error $? "Package requirements (libidn2) were not met:
   26346 
   26347 $LIBIDN2_PKG_ERRORS
   26348 
   26349 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   26350 installed software in a non-standard prefix.
   26351 
   26352 Alternatively, you may set the environment variables LIBIDN2_CFLAGS
   26353 and LIBIDN2_LIBS to avoid the need to call pkg-config.
   26354 See the pkg-config man page for more details." "$LINENO" 5
   26355 elif test $pkg_failed = untried; then
   26356         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26357 printf "%s\n" "no" >&6; }
   26358         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   26359 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   26360 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   26361 is in your PATH or set the PKG_CONFIG environment variable to the full
   26362 path to pkg-config.
   26363 
   26364 Alternatively, you may set the environment variables LIBIDN2_CFLAGS
   26365 and LIBIDN2_LIBS to avoid the need to call pkg-config.
   26366 See the pkg-config man page for more details.
   26367 
   26368 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   26369 See \`config.log' for more details" "$LINENO" 5; }
   26370 else
   26371         LIBIDN2_CFLAGS=$pkg_cv_LIBIDN2_CFLAGS
   26372         LIBIDN2_LIBS=$pkg_cv_LIBIDN2_LIBS
   26373         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   26374 printf "%s\n" "yes" >&6; }
   26375 
   26376 printf "%s\n" "#define HAVE_LIBIDN2 1" >>confdefs.h
   26377 
   26378 fi ;; #(
   26379   no) :
   26380      ;; #(
   26381   *) :
   26382 
   26383 
   26384   CCASFLAGS_libidn2_ax_save_flags=$CCASFLAGS
   26385 
   26386 
   26387 
   26388   CFLAGS_libidn2_ax_save_flags=$CFLAGS
   26389 
   26390 
   26391 
   26392   CPPFLAGS_libidn2_ax_save_flags=$CPPFLAGS
   26393 
   26394 
   26395 
   26396   CXXFLAGS_libidn2_ax_save_flags=$CXXFLAGS
   26397 
   26398 
   26399 
   26400   ERLCFLAGS_libidn2_ax_save_flags=$ERLCFLAGS
   26401 
   26402 
   26403 
   26404   FCFLAGS_libidn2_ax_save_flags=$FCFLAGS
   26405 
   26406 
   26407 
   26408   FCLIBS_libidn2_ax_save_flags=$FCLIBS
   26409 
   26410 
   26411 
   26412   FFLAGS_libidn2_ax_save_flags=$FFLAGS
   26413 
   26414 
   26415 
   26416   FLIBS_libidn2_ax_save_flags=$FLIBS
   26417 
   26418 
   26419 
   26420   GCJFLAGS_libidn2_ax_save_flags=$GCJFLAGS
   26421 
   26422 
   26423 
   26424   JAVACFLAGS_libidn2_ax_save_flags=$JAVACFLAGS
   26425 
   26426 
   26427 
   26428   LDFLAGS_libidn2_ax_save_flags=$LDFLAGS
   26429 
   26430 
   26431 
   26432   LIBS_libidn2_ax_save_flags=$LIBS
   26433 
   26434 
   26435 
   26436   OBJCFLAGS_libidn2_ax_save_flags=$OBJCFLAGS
   26437 
   26438 
   26439 
   26440   OBJCXXFLAGS_libidn2_ax_save_flags=$OBJCXXFLAGS
   26441 
   26442 
   26443 
   26444   UPCFLAGS_libidn2_ax_save_flags=$UPCFLAGS
   26445 
   26446 
   26447 
   26448   VALAFLAGS_libidn2_ax_save_flags=$VALAFLAGS
   26449 
   26450 
   26451 
   26452 		 LIBIDN2_CFLAGS="-I$with_libidn2/include"
   26453 		 LIBIDN2_LIBS="-L$with_libidn2/lib"
   26454 		 CFLAGS="$CFLAGS $LIBIDN2_CFLAGS"
   26455 		 LIBS="$LIBS $LIBIDN2_LIBS"
   26456 		        for ac_header in idn2.h
   26457 do :
   26458   ac_fn_c_check_header_compile "$LINENO" "idn2.h" "ac_cv_header_idn2_h" "$ac_includes_default"
   26459 if test "x$ac_cv_header_idn2_h" = xyes
   26460 then :
   26461   printf "%s\n" "#define HAVE_IDN2_H 1" >>confdefs.h
   26462 
   26463 else $as_nop
   26464   as_fn_error $? "idn2.h not found" "$LINENO" 5
   26465 fi
   26466 
   26467 done
   26468 		 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing idn2_to_ascii_lz" >&5
   26469 printf %s "checking for library containing idn2_to_ascii_lz... " >&6; }
   26470 if test ${ac_cv_search_idn2_to_ascii_lz+y}
   26471 then :
   26472   printf %s "(cached) " >&6
   26473 else $as_nop
   26474   ac_func_search_save_LIBS=$LIBS
   26475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   26476 /* end confdefs.h.  */
   26477 
   26478 /* Override any GCC internal prototype to avoid an error.
   26479    Use char because int might match the return type of a GCC
   26480    builtin and then its argument prototype would still apply.  */
   26481 char idn2_to_ascii_lz ();
   26482 int
   26483 main (void)
   26484 {
   26485 return idn2_to_ascii_lz ();
   26486   ;
   26487   return 0;
   26488 }
   26489 _ACEOF
   26490 for ac_lib in '' idn2
   26491 do
   26492   if test -z "$ac_lib"; then
   26493     ac_res="none required"
   26494   else
   26495     ac_res=-l$ac_lib
   26496     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   26497   fi
   26498   if ac_fn_c_try_link "$LINENO"
   26499 then :
   26500   ac_cv_search_idn2_to_ascii_lz=$ac_res
   26501 fi
   26502 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   26503     conftest$ac_exeext
   26504   if test ${ac_cv_search_idn2_to_ascii_lz+y}
   26505 then :
   26506   break
   26507 fi
   26508 done
   26509 if test ${ac_cv_search_idn2_to_ascii_lz+y}
   26510 then :
   26511 
   26512 else $as_nop
   26513   ac_cv_search_idn2_to_ascii_lz=no
   26514 fi
   26515 rm conftest.$ac_ext
   26516 LIBS=$ac_func_search_save_LIBS
   26517 fi
   26518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_idn2_to_ascii_lz" >&5
   26519 printf "%s\n" "$ac_cv_search_idn2_to_ascii_lz" >&6; }
   26520 ac_res=$ac_cv_search_idn2_to_ascii_lz
   26521 if test "$ac_res" != no
   26522 then :
   26523   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   26524   LIBIDN2_LIBS="$LIBIDN2_LIBS $ac_cv_search_idn2_to_ascii_lz"
   26525 
   26526 printf "%s\n" "#define HAVE_LIBIDN2 1" >>confdefs.h
   26527 
   26528 else $as_nop
   26529   as_fn_error $? "libidn2 requested, but not found" "$LINENO" 5
   26530 fi
   26531 
   26532 
   26533   CCASFLAGS=$CCASFLAGS_libidn2_ax_save_flags
   26534 
   26535 
   26536   CFLAGS=$CFLAGS_libidn2_ax_save_flags
   26537 
   26538 
   26539   CPPFLAGS=$CPPFLAGS_libidn2_ax_save_flags
   26540 
   26541 
   26542   CXXFLAGS=$CXXFLAGS_libidn2_ax_save_flags
   26543 
   26544 
   26545   ERLCFLAGS=$ERLCFLAGS_libidn2_ax_save_flags
   26546 
   26547 
   26548   FCFLAGS=$FCFLAGS_libidn2_ax_save_flags
   26549 
   26550 
   26551   FCLIBS=$FCLIBS_libidn2_ax_save_flags
   26552 
   26553 
   26554   FFLAGS=$FFLAGS_libidn2_ax_save_flags
   26555 
   26556 
   26557   FLIBS=$FLIBS_libidn2_ax_save_flags
   26558 
   26559 
   26560   GCJFLAGS=$GCJFLAGS_libidn2_ax_save_flags
   26561 
   26562 
   26563   JAVACFLAGS=$JAVACFLAGS_libidn2_ax_save_flags
   26564 
   26565 
   26566   LDFLAGS=$LDFLAGS_libidn2_ax_save_flags
   26567 
   26568 
   26569   LIBS=$LIBS_libidn2_ax_save_flags
   26570 
   26571 
   26572   OBJCFLAGS=$OBJCFLAGS_libidn2_ax_save_flags
   26573 
   26574 
   26575   OBJCXXFLAGS=$OBJCXXFLAGS_libidn2_ax_save_flags
   26576 
   26577 
   26578   UPCFLAGS=$UPCFLAGS_libidn2_ax_save_flags
   26579 
   26580 
   26581   VALAFLAGS=$VALAFLAGS_libidn2_ax_save_flags
   26582 
   26583 
   26584  ;; #(
   26585   *) :
   26586      ;;
   26587 esac
   26588 
   26589 
   26590 
   26591 #
   26592 # Check whether to build with cmocka unit testing framework
   26593 #
   26594 # [pairwise: --with-cmocka=detect, --with-cmocka=yes, --without-cmocka]
   26595 
   26596 # Check whether --with-cmocka was given.
   26597 if test ${with_cmocka+y}
   26598 then :
   26599   withval=$with_cmocka;
   26600 else $as_nop
   26601   with_cmocka=detect
   26602 fi
   26603 
   26604 
   26605 case $with_cmocka in #(
   26606   no) :
   26607      ;; #(
   26608   detect) :
   26609 
   26610 pkg_failed=no
   26611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmocka >= 1.1.3" >&5
   26612 printf %s "checking for cmocka >= 1.1.3... " >&6; }
   26613 
   26614 if test -n "$CMOCKA_CFLAGS"; then
   26615     pkg_cv_CMOCKA_CFLAGS="$CMOCKA_CFLAGS"
   26616  elif test -n "$PKG_CONFIG"; then
   26617     if test -n "$PKG_CONFIG" && \
   26618     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cmocka >= 1.1.3\""; } >&5
   26619   ($PKG_CONFIG --exists --print-errors "cmocka >= 1.1.3") 2>&5
   26620   ac_status=$?
   26621   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26622   test $ac_status = 0; }; then
   26623   pkg_cv_CMOCKA_CFLAGS=`$PKG_CONFIG --cflags "cmocka >= 1.1.3" 2>/dev/null`
   26624 		      test "x$?" != "x0" && pkg_failed=yes
   26625 else
   26626   pkg_failed=yes
   26627 fi
   26628  else
   26629     pkg_failed=untried
   26630 fi
   26631 if test -n "$CMOCKA_LIBS"; then
   26632     pkg_cv_CMOCKA_LIBS="$CMOCKA_LIBS"
   26633  elif test -n "$PKG_CONFIG"; then
   26634     if test -n "$PKG_CONFIG" && \
   26635     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cmocka >= 1.1.3\""; } >&5
   26636   ($PKG_CONFIG --exists --print-errors "cmocka >= 1.1.3") 2>&5
   26637   ac_status=$?
   26638   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26639   test $ac_status = 0; }; then
   26640   pkg_cv_CMOCKA_LIBS=`$PKG_CONFIG --libs "cmocka >= 1.1.3" 2>/dev/null`
   26641 		      test "x$?" != "x0" && pkg_failed=yes
   26642 else
   26643   pkg_failed=yes
   26644 fi
   26645  else
   26646     pkg_failed=untried
   26647 fi
   26648 
   26649 
   26650 
   26651 if test $pkg_failed = yes; then
   26652         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26653 printf "%s\n" "no" >&6; }
   26654 
   26655 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   26656         _pkg_short_errors_supported=yes
   26657 else
   26658         _pkg_short_errors_supported=no
   26659 fi
   26660         if test $_pkg_short_errors_supported = yes; then
   26661                 CMOCKA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cmocka >= 1.1.3" 2>&1`
   26662         else
   26663                 CMOCKA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cmocka >= 1.1.3" 2>&1`
   26664         fi
   26665         # Put the nasty error message in config.log where it belongs
   26666         echo "$CMOCKA_PKG_ERRORS" >&5
   26667 
   26668         with_cmocka=no
   26669 elif test $pkg_failed = untried; then
   26670         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26671 printf "%s\n" "no" >&6; }
   26672         with_cmocka=no
   26673 else
   26674         CMOCKA_CFLAGS=$pkg_cv_CMOCKA_CFLAGS
   26675         CMOCKA_LIBS=$pkg_cv_CMOCKA_LIBS
   26676         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   26677 printf "%s\n" "yes" >&6; }
   26678 
   26679 printf "%s\n" "#define HAVE_CMOCKA 1" >>confdefs.h
   26680 
   26681 				     with_cmocka=yes
   26682 fi ;; #(
   26683   yes) :
   26684 
   26685 pkg_failed=no
   26686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmocka >= 1.1.3" >&5
   26687 printf %s "checking for cmocka >= 1.1.3... " >&6; }
   26688 
   26689 if test -n "$CMOCKA_CFLAGS"; then
   26690     pkg_cv_CMOCKA_CFLAGS="$CMOCKA_CFLAGS"
   26691  elif test -n "$PKG_CONFIG"; then
   26692     if test -n "$PKG_CONFIG" && \
   26693     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cmocka >= 1.1.3\""; } >&5
   26694   ($PKG_CONFIG --exists --print-errors "cmocka >= 1.1.3") 2>&5
   26695   ac_status=$?
   26696   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26697   test $ac_status = 0; }; then
   26698   pkg_cv_CMOCKA_CFLAGS=`$PKG_CONFIG --cflags "cmocka >= 1.1.3" 2>/dev/null`
   26699 		      test "x$?" != "x0" && pkg_failed=yes
   26700 else
   26701   pkg_failed=yes
   26702 fi
   26703  else
   26704     pkg_failed=untried
   26705 fi
   26706 if test -n "$CMOCKA_LIBS"; then
   26707     pkg_cv_CMOCKA_LIBS="$CMOCKA_LIBS"
   26708  elif test -n "$PKG_CONFIG"; then
   26709     if test -n "$PKG_CONFIG" && \
   26710     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cmocka >= 1.1.3\""; } >&5
   26711   ($PKG_CONFIG --exists --print-errors "cmocka >= 1.1.3") 2>&5
   26712   ac_status=$?
   26713   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26714   test $ac_status = 0; }; then
   26715   pkg_cv_CMOCKA_LIBS=`$PKG_CONFIG --libs "cmocka >= 1.1.3" 2>/dev/null`
   26716 		      test "x$?" != "x0" && pkg_failed=yes
   26717 else
   26718   pkg_failed=yes
   26719 fi
   26720  else
   26721     pkg_failed=untried
   26722 fi
   26723 
   26724 
   26725 
   26726 if test $pkg_failed = yes; then
   26727         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26728 printf "%s\n" "no" >&6; }
   26729 
   26730 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   26731         _pkg_short_errors_supported=yes
   26732 else
   26733         _pkg_short_errors_supported=no
   26734 fi
   26735         if test $_pkg_short_errors_supported = yes; then
   26736                 CMOCKA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cmocka >= 1.1.3" 2>&1`
   26737         else
   26738                 CMOCKA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cmocka >= 1.1.3" 2>&1`
   26739         fi
   26740         # Put the nasty error message in config.log where it belongs
   26741         echo "$CMOCKA_PKG_ERRORS" >&5
   26742 
   26743         as_fn_error $? "Package requirements (cmocka >= 1.1.3) were not met:
   26744 
   26745 $CMOCKA_PKG_ERRORS
   26746 
   26747 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   26748 installed software in a non-standard prefix.
   26749 
   26750 Alternatively, you may set the environment variables CMOCKA_CFLAGS
   26751 and CMOCKA_LIBS to avoid the need to call pkg-config.
   26752 See the pkg-config man page for more details." "$LINENO" 5
   26753 elif test $pkg_failed = untried; then
   26754         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26755 printf "%s\n" "no" >&6; }
   26756         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   26757 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   26758 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   26759 is in your PATH or set the PKG_CONFIG environment variable to the full
   26760 path to pkg-config.
   26761 
   26762 Alternatively, you may set the environment variables CMOCKA_CFLAGS
   26763 and CMOCKA_LIBS to avoid the need to call pkg-config.
   26764 See the pkg-config man page for more details.
   26765 
   26766 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   26767 See \`config.log' for more details" "$LINENO" 5; }
   26768 else
   26769         CMOCKA_CFLAGS=$pkg_cv_CMOCKA_CFLAGS
   26770         CMOCKA_LIBS=$pkg_cv_CMOCKA_LIBS
   26771         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   26772 printf "%s\n" "yes" >&6; }
   26773 
   26774 printf "%s\n" "#define HAVE_CMOCKA 1" >>confdefs.h
   26775 
   26776 fi ;; #(
   26777   *) :
   26778     as_fn_error $? "Use PKG_CONFIG_PATH to specify path to CMocka library" "$LINENO" 5
   26779         ;;
   26780 esac
   26781 
   26782 
   26783 
   26784  if test "$with_cmocka" = "yes"; then
   26785   HAVE_CMOCKA_TRUE=
   26786   HAVE_CMOCKA_FALSE='#'
   26787 else
   26788   HAVE_CMOCKA_TRUE='#'
   26789   HAVE_CMOCKA_FALSE=
   26790 fi
   26791 
   26792 
   26793 #
   26794 # Compile with jemalloc (either provided as package or wired in the system on FreeBSD)
   26795 #
   26796 # [pairwise: --with-jemalloc=detect, --with-jemalloc=yes, --without-jemalloc]
   26797 
   26798 # Check whether --with-jemalloc was given.
   26799 if test ${with_jemalloc+y}
   26800 then :
   26801   withval=$with_jemalloc;
   26802 else $as_nop
   26803   with_jemalloc=detect
   26804 fi
   26805 
   26806 
   26807 case $with_jemalloc in #(
   26808   no) :
   26809      ;; #(
   26810   yes) :
   26811 
   26812      found=false
   26813 
   26814 pkg_failed=no
   26815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jemalloc" >&5
   26816 printf %s "checking for jemalloc... " >&6; }
   26817 
   26818 if test -n "$JEMALLOC_CFLAGS"; then
   26819     pkg_cv_JEMALLOC_CFLAGS="$JEMALLOC_CFLAGS"
   26820  elif test -n "$PKG_CONFIG"; then
   26821     if test -n "$PKG_CONFIG" && \
   26822     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jemalloc\""; } >&5
   26823   ($PKG_CONFIG --exists --print-errors "jemalloc") 2>&5
   26824   ac_status=$?
   26825   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26826   test $ac_status = 0; }; then
   26827   pkg_cv_JEMALLOC_CFLAGS=`$PKG_CONFIG --cflags "jemalloc" 2>/dev/null`
   26828 		      test "x$?" != "x0" && pkg_failed=yes
   26829 else
   26830   pkg_failed=yes
   26831 fi
   26832  else
   26833     pkg_failed=untried
   26834 fi
   26835 if test -n "$JEMALLOC_LIBS"; then
   26836     pkg_cv_JEMALLOC_LIBS="$JEMALLOC_LIBS"
   26837  elif test -n "$PKG_CONFIG"; then
   26838     if test -n "$PKG_CONFIG" && \
   26839     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jemalloc\""; } >&5
   26840   ($PKG_CONFIG --exists --print-errors "jemalloc") 2>&5
   26841   ac_status=$?
   26842   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   26843   test $ac_status = 0; }; then
   26844   pkg_cv_JEMALLOC_LIBS=`$PKG_CONFIG --libs "jemalloc" 2>/dev/null`
   26845 		      test "x$?" != "x0" && pkg_failed=yes
   26846 else
   26847   pkg_failed=yes
   26848 fi
   26849  else
   26850     pkg_failed=untried
   26851 fi
   26852 
   26853 
   26854 
   26855 if test $pkg_failed = yes; then
   26856         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26857 printf "%s\n" "no" >&6; }
   26858 
   26859 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   26860         _pkg_short_errors_supported=yes
   26861 else
   26862         _pkg_short_errors_supported=no
   26863 fi
   26864         if test $_pkg_short_errors_supported = yes; then
   26865                 JEMALLOC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jemalloc" 2>&1`
   26866         else
   26867                 JEMALLOC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "jemalloc" 2>&1`
   26868         fi
   26869         # Put the nasty error message in config.log where it belongs
   26870         echo "$JEMALLOC_PKG_ERRORS" >&5
   26871 
   26872 
   26873 	           for ac_header in malloc_np.h jemalloc/jemalloc.h
   26874 do :
   26875   as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh`
   26876 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   26877 if eval test \"x\$"$as_ac_Header"\" = x"yes"
   26878 then :
   26879   cat >>confdefs.h <<_ACEOF
   26880 #define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1
   26881 _ACEOF
   26882 
   26883 		    save_LIBS="$LIBS"
   26884 		    save_LDFLAGS="$LDFLAGS"
   26885 		    save_CPPFLAGS="$CPPFLAGS"
   26886 		    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing mallocx" >&5
   26887 printf %s "checking for library containing mallocx... " >&6; }
   26888 if test ${ac_cv_search_mallocx+y}
   26889 then :
   26890   printf %s "(cached) " >&6
   26891 else $as_nop
   26892   ac_func_search_save_LIBS=$LIBS
   26893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   26894 /* end confdefs.h.  */
   26895 
   26896 /* Override any GCC internal prototype to avoid an error.
   26897    Use char because int might match the return type of a GCC
   26898    builtin and then its argument prototype would still apply.  */
   26899 char mallocx ();
   26900 int
   26901 main (void)
   26902 {
   26903 return mallocx ();
   26904   ;
   26905   return 0;
   26906 }
   26907 _ACEOF
   26908 for ac_lib in '' jemalloc
   26909 do
   26910   if test -z "$ac_lib"; then
   26911     ac_res="none required"
   26912   else
   26913     ac_res=-l$ac_lib
   26914     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   26915   fi
   26916   if ac_fn_c_try_link "$LINENO"
   26917 then :
   26918   ac_cv_search_mallocx=$ac_res
   26919 fi
   26920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   26921     conftest$ac_exeext
   26922   if test ${ac_cv_search_mallocx+y}
   26923 then :
   26924   break
   26925 fi
   26926 done
   26927 if test ${ac_cv_search_mallocx+y}
   26928 then :
   26929 
   26930 else $as_nop
   26931   ac_cv_search_mallocx=no
   26932 fi
   26933 rm conftest.$ac_ext
   26934 LIBS=$ac_func_search_save_LIBS
   26935 fi
   26936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mallocx" >&5
   26937 printf "%s\n" "$ac_cv_search_mallocx" >&6; }
   26938 ac_res=$ac_cv_search_mallocx
   26939 if test "$ac_res" != no
   26940 then :
   26941   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   26942 
   26943 			    found=true
   26944 			    if test "$ac_cv_search_mallocx" != "none required"
   26945 then :
   26946   JEMALLOC_LIBS="$ac_cv_search_mallocx"
   26947 fi
   26948 
   26949 fi
   26950 
   26951 		    CPPFLAGS="$save_CPPFLAGS"
   26952 		    LDFLAGS="$save_LDFLAGS"
   26953 		    LIBS="$save_LIBS"
   26954 
   26955 fi
   26956 
   26957 done
   26958 
   26959 elif test $pkg_failed = untried; then
   26960         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26961 printf "%s\n" "no" >&6; }
   26962 
   26963 	           for ac_header in malloc_np.h jemalloc/jemalloc.h
   26964 do :
   26965   as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh`
   26966 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   26967 if eval test \"x\$"$as_ac_Header"\" = x"yes"
   26968 then :
   26969   cat >>confdefs.h <<_ACEOF
   26970 #define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1
   26971 _ACEOF
   26972 
   26973 		    save_LIBS="$LIBS"
   26974 		    save_LDFLAGS="$LDFLAGS"
   26975 		    save_CPPFLAGS="$CPPFLAGS"
   26976 		    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing mallocx" >&5
   26977 printf %s "checking for library containing mallocx... " >&6; }
   26978 if test ${ac_cv_search_mallocx+y}
   26979 then :
   26980   printf %s "(cached) " >&6
   26981 else $as_nop
   26982   ac_func_search_save_LIBS=$LIBS
   26983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   26984 /* end confdefs.h.  */
   26985 
   26986 /* Override any GCC internal prototype to avoid an error.
   26987    Use char because int might match the return type of a GCC
   26988    builtin and then its argument prototype would still apply.  */
   26989 char mallocx ();
   26990 int
   26991 main (void)
   26992 {
   26993 return mallocx ();
   26994   ;
   26995   return 0;
   26996 }
   26997 _ACEOF
   26998 for ac_lib in '' jemalloc
   26999 do
   27000   if test -z "$ac_lib"; then
   27001     ac_res="none required"
   27002   else
   27003     ac_res=-l$ac_lib
   27004     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   27005   fi
   27006   if ac_fn_c_try_link "$LINENO"
   27007 then :
   27008   ac_cv_search_mallocx=$ac_res
   27009 fi
   27010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   27011     conftest$ac_exeext
   27012   if test ${ac_cv_search_mallocx+y}
   27013 then :
   27014   break
   27015 fi
   27016 done
   27017 if test ${ac_cv_search_mallocx+y}
   27018 then :
   27019 
   27020 else $as_nop
   27021   ac_cv_search_mallocx=no
   27022 fi
   27023 rm conftest.$ac_ext
   27024 LIBS=$ac_func_search_save_LIBS
   27025 fi
   27026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mallocx" >&5
   27027 printf "%s\n" "$ac_cv_search_mallocx" >&6; }
   27028 ac_res=$ac_cv_search_mallocx
   27029 if test "$ac_res" != no
   27030 then :
   27031   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   27032 
   27033 			    found=true
   27034 			    if test "$ac_cv_search_mallocx" != "none required"
   27035 then :
   27036   JEMALLOC_LIBS="$ac_cv_search_mallocx"
   27037 fi
   27038 
   27039 fi
   27040 
   27041 		    CPPFLAGS="$save_CPPFLAGS"
   27042 		    LDFLAGS="$save_LDFLAGS"
   27043 		    LIBS="$save_LIBS"
   27044 
   27045 fi
   27046 
   27047 done
   27048 
   27049 else
   27050         JEMALLOC_CFLAGS=$pkg_cv_JEMALLOC_CFLAGS
   27051         JEMALLOC_LIBS=$pkg_cv_JEMALLOC_LIBS
   27052         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   27053 printf "%s\n" "yes" >&6; }
   27054 
   27055 	    found=true
   27056 
   27057 fi
   27058 
   27059     if $found
   27060 then :
   27061 
   27062 printf "%s\n" "#define HAVE_JEMALLOC 1" >>confdefs.h
   27063 
   27064 else $as_nop
   27065   as_fn_error $? "jemalloc not found" "$LINENO" 5
   27066 fi
   27067 
   27068 
   27069 
   27070  ;; #(
   27071   *) :
   27072 
   27073      found=false
   27074 
   27075 pkg_failed=no
   27076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jemalloc" >&5
   27077 printf %s "checking for jemalloc... " >&6; }
   27078 
   27079 if test -n "$JEMALLOC_CFLAGS"; then
   27080     pkg_cv_JEMALLOC_CFLAGS="$JEMALLOC_CFLAGS"
   27081  elif test -n "$PKG_CONFIG"; then
   27082     if test -n "$PKG_CONFIG" && \
   27083     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jemalloc\""; } >&5
   27084   ($PKG_CONFIG --exists --print-errors "jemalloc") 2>&5
   27085   ac_status=$?
   27086   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   27087   test $ac_status = 0; }; then
   27088   pkg_cv_JEMALLOC_CFLAGS=`$PKG_CONFIG --cflags "jemalloc" 2>/dev/null`
   27089 		      test "x$?" != "x0" && pkg_failed=yes
   27090 else
   27091   pkg_failed=yes
   27092 fi
   27093  else
   27094     pkg_failed=untried
   27095 fi
   27096 if test -n "$JEMALLOC_LIBS"; then
   27097     pkg_cv_JEMALLOC_LIBS="$JEMALLOC_LIBS"
   27098  elif test -n "$PKG_CONFIG"; then
   27099     if test -n "$PKG_CONFIG" && \
   27100     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jemalloc\""; } >&5
   27101   ($PKG_CONFIG --exists --print-errors "jemalloc") 2>&5
   27102   ac_status=$?
   27103   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   27104   test $ac_status = 0; }; then
   27105   pkg_cv_JEMALLOC_LIBS=`$PKG_CONFIG --libs "jemalloc" 2>/dev/null`
   27106 		      test "x$?" != "x0" && pkg_failed=yes
   27107 else
   27108   pkg_failed=yes
   27109 fi
   27110  else
   27111     pkg_failed=untried
   27112 fi
   27113 
   27114 
   27115 
   27116 if test $pkg_failed = yes; then
   27117         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27118 printf "%s\n" "no" >&6; }
   27119 
   27120 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   27121         _pkg_short_errors_supported=yes
   27122 else
   27123         _pkg_short_errors_supported=no
   27124 fi
   27125         if test $_pkg_short_errors_supported = yes; then
   27126                 JEMALLOC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jemalloc" 2>&1`
   27127         else
   27128                 JEMALLOC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "jemalloc" 2>&1`
   27129         fi
   27130         # Put the nasty error message in config.log where it belongs
   27131         echo "$JEMALLOC_PKG_ERRORS" >&5
   27132 
   27133 
   27134 	           for ac_header in malloc_np.h jemalloc/jemalloc.h
   27135 do :
   27136   as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh`
   27137 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   27138 if eval test \"x\$"$as_ac_Header"\" = x"yes"
   27139 then :
   27140   cat >>confdefs.h <<_ACEOF
   27141 #define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1
   27142 _ACEOF
   27143 
   27144 		    save_LIBS="$LIBS"
   27145 		    save_LDFLAGS="$LDFLAGS"
   27146 		    save_CPPFLAGS="$CPPFLAGS"
   27147 		    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing mallocx" >&5
   27148 printf %s "checking for library containing mallocx... " >&6; }
   27149 if test ${ac_cv_search_mallocx+y}
   27150 then :
   27151   printf %s "(cached) " >&6
   27152 else $as_nop
   27153   ac_func_search_save_LIBS=$LIBS
   27154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27155 /* end confdefs.h.  */
   27156 
   27157 /* Override any GCC internal prototype to avoid an error.
   27158    Use char because int might match the return type of a GCC
   27159    builtin and then its argument prototype would still apply.  */
   27160 char mallocx ();
   27161 int
   27162 main (void)
   27163 {
   27164 return mallocx ();
   27165   ;
   27166   return 0;
   27167 }
   27168 _ACEOF
   27169 for ac_lib in '' jemalloc
   27170 do
   27171   if test -z "$ac_lib"; then
   27172     ac_res="none required"
   27173   else
   27174     ac_res=-l$ac_lib
   27175     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   27176   fi
   27177   if ac_fn_c_try_link "$LINENO"
   27178 then :
   27179   ac_cv_search_mallocx=$ac_res
   27180 fi
   27181 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   27182     conftest$ac_exeext
   27183   if test ${ac_cv_search_mallocx+y}
   27184 then :
   27185   break
   27186 fi
   27187 done
   27188 if test ${ac_cv_search_mallocx+y}
   27189 then :
   27190 
   27191 else $as_nop
   27192   ac_cv_search_mallocx=no
   27193 fi
   27194 rm conftest.$ac_ext
   27195 LIBS=$ac_func_search_save_LIBS
   27196 fi
   27197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mallocx" >&5
   27198 printf "%s\n" "$ac_cv_search_mallocx" >&6; }
   27199 ac_res=$ac_cv_search_mallocx
   27200 if test "$ac_res" != no
   27201 then :
   27202   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   27203 
   27204 			    found=true
   27205 			    if test "$ac_cv_search_mallocx" != "none required"
   27206 then :
   27207   JEMALLOC_LIBS="$ac_cv_search_mallocx"
   27208 fi
   27209 
   27210 fi
   27211 
   27212 		    CPPFLAGS="$save_CPPFLAGS"
   27213 		    LDFLAGS="$save_LDFLAGS"
   27214 		    LIBS="$save_LIBS"
   27215 
   27216 fi
   27217 
   27218 done
   27219 
   27220 elif test $pkg_failed = untried; then
   27221         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27222 printf "%s\n" "no" >&6; }
   27223 
   27224 	           for ac_header in malloc_np.h jemalloc/jemalloc.h
   27225 do :
   27226   as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh`
   27227 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   27228 if eval test \"x\$"$as_ac_Header"\" = x"yes"
   27229 then :
   27230   cat >>confdefs.h <<_ACEOF
   27231 #define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1
   27232 _ACEOF
   27233 
   27234 		    save_LIBS="$LIBS"
   27235 		    save_LDFLAGS="$LDFLAGS"
   27236 		    save_CPPFLAGS="$CPPFLAGS"
   27237 		    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing mallocx" >&5
   27238 printf %s "checking for library containing mallocx... " >&6; }
   27239 if test ${ac_cv_search_mallocx+y}
   27240 then :
   27241   printf %s "(cached) " >&6
   27242 else $as_nop
   27243   ac_func_search_save_LIBS=$LIBS
   27244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27245 /* end confdefs.h.  */
   27246 
   27247 /* Override any GCC internal prototype to avoid an error.
   27248    Use char because int might match the return type of a GCC
   27249    builtin and then its argument prototype would still apply.  */
   27250 char mallocx ();
   27251 int
   27252 main (void)
   27253 {
   27254 return mallocx ();
   27255   ;
   27256   return 0;
   27257 }
   27258 _ACEOF
   27259 for ac_lib in '' jemalloc
   27260 do
   27261   if test -z "$ac_lib"; then
   27262     ac_res="none required"
   27263   else
   27264     ac_res=-l$ac_lib
   27265     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   27266   fi
   27267   if ac_fn_c_try_link "$LINENO"
   27268 then :
   27269   ac_cv_search_mallocx=$ac_res
   27270 fi
   27271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   27272     conftest$ac_exeext
   27273   if test ${ac_cv_search_mallocx+y}
   27274 then :
   27275   break
   27276 fi
   27277 done
   27278 if test ${ac_cv_search_mallocx+y}
   27279 then :
   27280 
   27281 else $as_nop
   27282   ac_cv_search_mallocx=no
   27283 fi
   27284 rm conftest.$ac_ext
   27285 LIBS=$ac_func_search_save_LIBS
   27286 fi
   27287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mallocx" >&5
   27288 printf "%s\n" "$ac_cv_search_mallocx" >&6; }
   27289 ac_res=$ac_cv_search_mallocx
   27290 if test "$ac_res" != no
   27291 then :
   27292   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   27293 
   27294 			    found=true
   27295 			    if test "$ac_cv_search_mallocx" != "none required"
   27296 then :
   27297   JEMALLOC_LIBS="$ac_cv_search_mallocx"
   27298 fi
   27299 
   27300 fi
   27301 
   27302 		    CPPFLAGS="$save_CPPFLAGS"
   27303 		    LDFLAGS="$save_LDFLAGS"
   27304 		    LIBS="$save_LIBS"
   27305 
   27306 fi
   27307 
   27308 done
   27309 
   27310 else
   27311         JEMALLOC_CFLAGS=$pkg_cv_JEMALLOC_CFLAGS
   27312         JEMALLOC_LIBS=$pkg_cv_JEMALLOC_LIBS
   27313         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   27314 printf "%s\n" "yes" >&6; }
   27315 
   27316 	    found=true
   27317 
   27318 fi
   27319 
   27320     if $found
   27321 then :
   27322 
   27323 printf "%s\n" "#define HAVE_JEMALLOC 1" >>confdefs.h
   27324 
   27325 	    with_jemalloc=yes
   27326 else $as_nop
   27327   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: jemalloc not found; performance will be reduced" >&5
   27328 printf "%s\n" "$as_me: WARNING: jemalloc not found; performance will be reduced" >&2;}
   27329 	    with_jemalloc=no
   27330 fi
   27331 
   27332 
   27333 
   27334  ;;
   27335 esac
   27336 
   27337 if test "$with_jemalloc" = "no"
   27338 then :
   27339   case $host in #(
   27340   *-freebsd*) :
   27341     as_fn_error $? "You cannot compile without jemalloc; jemalloc is the system allocator on FreeBSD" "$LINENO" 5 ;; #(
   27342   *) :
   27343      ;;
   27344 esac
   27345        ac_fn_c_check_func "$LINENO" "malloc_size" "ac_cv_func_malloc_size"
   27346 if test "x$ac_cv_func_malloc_size" = xyes
   27347 then :
   27348   printf "%s\n" "#define HAVE_MALLOC_SIZE 1" >>confdefs.h
   27349 
   27350 fi
   27351 ac_fn_c_check_func "$LINENO" "malloc_usable_size" "ac_cv_func_malloc_usable_size"
   27352 if test "x$ac_cv_func_malloc_usable_size" = xyes
   27353 then :
   27354   printf "%s\n" "#define HAVE_MALLOC_USABLE_SIZE 1" >>confdefs.h
   27355 
   27356 fi
   27357 
   27358 fi
   27359 
   27360  if test "$with_jemalloc" = "yes"; then
   27361   HAVE_JEMALLOC_TRUE=
   27362   HAVE_JEMALLOC_FALSE='#'
   27363 else
   27364   HAVE_JEMALLOC_TRUE='#'
   27365   HAVE_JEMALLOC_FALSE=
   27366 fi
   27367 
   27368 
   27369 #
   27370 # was --with-tuning specified?
   27371 #
   27372 # [pairwise: --with-tuning=small, --without-tuning]
   27373 
   27374 # Check whether --with-tuning was given.
   27375 if test ${with_tuning+y}
   27376 then :
   27377   withval=$with_tuning;
   27378 else $as_nop
   27379   with_tuning=no
   27380 fi
   27381 
   27382 
   27383 case $with_tuning in #(
   27384   small) :
   27385     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using small system tuning" >&5
   27386 printf "%s\n" "$as_me: using small system tuning" >&6;} ;; #(
   27387   *) :
   27388 
   27389 printf "%s\n" "#define TUNE_LARGE 1" >>confdefs.h
   27390 
   27391 	 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using default system tuning" >&5
   27392 printf "%s\n" "$as_me: using default system tuning" >&6;} ;;
   27393 esac
   27394 
   27395 #
   27396 # was --enable-querytrace or --enable-singletrace specified?
   27397 #
   27398 # [pairwise: --enable-singletrace --enable-querytrace, --disable-singletrace --enable-querytrace, --disable-singletrace --disable-querytrace]
   27399 # Check whether --enable-singletrace was given.
   27400 if test ${enable_singletrace+y}
   27401 then :
   27402   enableval=$enable_singletrace; enable_singletrace="$enableval"
   27403 else $as_nop
   27404   enable_singletrace="no"
   27405 fi
   27406 
   27407 
   27408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable single-query trace logging" >&5
   27409 printf %s "checking whether to enable single-query trace logging... " >&6; }
   27410 case "$enable_singletrace" in
   27411 yes)
   27412 	enable_querytrace=yes
   27413 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   27414 printf "%s\n" "yes" >&6; }
   27415 
   27416 printf "%s\n" "#define WANT_SINGLETRACE 1" >>confdefs.h
   27417 
   27418 	;;
   27419 no)
   27420 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27421 printf "%s\n" "no" >&6; }
   27422 	;;
   27423 *)
   27424 	as_fn_error $? "\"--enable-singletrace requires yes or no\"" "$LINENO" 5
   27425 	;;
   27426 esac
   27427 
   27428 # [pairwise: skip]
   27429 # Check whether --enable-querytrace was given.
   27430 if test ${enable_querytrace+y}
   27431 then :
   27432   enableval=$enable_querytrace; enable_querytrace="$enableval"
   27433 else $as_nop
   27434   enable_querytrace="$enable_singletrace"
   27435 fi
   27436 
   27437 
   27438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable query trace logging" >&5
   27439 printf %s "checking whether to enable query trace logging... " >&6; }
   27440 case "$enable_querytrace" in
   27441 yes)
   27442 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   27443 printf "%s\n" "yes" >&6; }
   27444 
   27445 printf "%s\n" "#define WANT_QUERYTRACE 1" >>confdefs.h
   27446 
   27447 	;;
   27448 no)
   27449        if test "$enable_singletrace" = "yes"
   27450 then :
   27451   as_fn_error $? "--enable-singletrace requires --enable-querytrace" "$LINENO" 5
   27452 fi
   27453 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27454 printf "%s\n" "no" >&6; }
   27455 	;;
   27456 *)
   27457 	as_fn_error $? "\"--enable-querytrace requires yes or no (not $enable_querytrace)\"" "$LINENO" 5
   27458 	;;
   27459 esac
   27460 
   27461 #
   27462 # Was --disable-auto-validation specified?
   27463 #
   27464 
   27465 validation_default=auto
   27466 
   27467 # [pairwise: --enable-auto-validation, --disable-auto-validation]
   27468 # Check whether --enable-auto-validation was given.
   27469 if test ${enable_auto_validation+y}
   27470 then :
   27471   enableval=$enable_auto_validation; :
   27472 else $as_nop
   27473   enable_auto_validation=yes
   27474 fi
   27475 
   27476 if test "$enable_auto_validation" = "no"
   27477 then :
   27478   validation_default=yes
   27479 fi
   27480 
   27481 printf "%s\n" "#define VALIDATION_DEFAULT \"$validation_default\"" >>confdefs.h
   27482 
   27483 
   27484 #
   27485 #
   27486 # Response policy rewriting using DNS Response Policy Service (DNSRPS)
   27487 # interface.
   27488 #
   27489 # DNSRPS can be compiled into BIND everywhere with a reasonably
   27490 # modern C compiler.  It is enabled on systems with dlopen() and librpz.so.
   27491 #
   27492 dnsrps_avail=yes
   27493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for librpz __attribute__s" >&5
   27494 printf %s "checking for librpz __attribute__s... " >&6; }
   27495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27496 /* end confdefs.h.  */
   27497 
   27498 int
   27499 main (void)
   27500 {
   27501 
   27502        extern void f(char *p __attribute__((unused)), ...)
   27503        __attribute__((format(printf,1,2))) __attribute__((__noreturn__));
   27504 
   27505   ;
   27506   return 0;
   27507 }
   27508 _ACEOF
   27509 if ac_fn_c_try_compile "$LINENO"
   27510 then :
   27511 
   27512     librpz_have_attr=yes
   27513 
   27514 printf "%s\n" "#define LIBRPZ_HAVE_ATTR 1" >>confdefs.h
   27515 
   27516     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   27517 printf "%s\n" "yes" >&6; }
   27518 
   27519 else $as_nop
   27520 
   27521     librpz_have_attr=no
   27522     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27523 printf "%s\n" "no" >&6; }
   27524 
   27525 fi
   27526 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   27527 
   27528 # [pairwise: --enable-dnsrps --enable-dnsrps-dl, --disable-dnsrps]
   27529 # Check whether --enable-dnsrps-dl was given.
   27530 if test ${enable_dnsrps_dl+y}
   27531 then :
   27532   enableval=$enable_dnsrps_dl; enable_librpz_dl="$enableval"
   27533 else $as_nop
   27534   enable_librpz_dl="$with_dlopen"
   27535 fi
   27536 
   27537 
   27538 if test "$enable_librpz_dl" = "yes" -a "$with_dlopen" = "no"
   27539 then :
   27540   as_fn_error $? "DNS Response Policy Service delayed link requires dlopen to be enabled" "$LINENO" 5
   27541 fi
   27542 
   27543 # [pairwise: skip]
   27544 
   27545 # Check whether --with-dnsrps-libname was given.
   27546 if test ${with_dnsrps_libname+y}
   27547 then :
   27548   withval=$with_dnsrps_libname; librpz_name="$withval"
   27549 else $as_nop
   27550   librpz_name="librpz.so"
   27551 fi
   27552 
   27553 
   27554 # [pairwise: skip]
   27555 
   27556 # Check whether --with-dnsrps-dir was given.
   27557 if test ${with_dnsrps_dir+y}
   27558 then :
   27559   withval=$with_dnsrps_dir; librpz_path="$withval/$librpz_name"
   27560 else $as_nop
   27561   librpz_path="$librpz_name"
   27562 fi
   27563 
   27564 
   27565 printf "%s\n" "#define DNSRPS_LIBRPZ_PATH \"$librpz_path\"" >>confdefs.h
   27566 
   27567 if test "$enable_librpz_dl" = "yes"
   27568 then :
   27569 
   27570 	dnsrps_lib_open=2
   27571 
   27572 else $as_nop
   27573 
   27574 	dnsrps_lib_open=1
   27575 	# Add librpz.so to linked libraries if we are not using dlopen()
   27576 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing librpz_client_create" >&5
   27577 printf %s "checking for library containing librpz_client_create... " >&6; }
   27578 if test ${ac_cv_search_librpz_client_create+y}
   27579 then :
   27580   printf %s "(cached) " >&6
   27581 else $as_nop
   27582   ac_func_search_save_LIBS=$LIBS
   27583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27584 /* end confdefs.h.  */
   27585 
   27586 /* Override any GCC internal prototype to avoid an error.
   27587    Use char because int might match the return type of a GCC
   27588    builtin and then its argument prototype would still apply.  */
   27589 char librpz_client_create ();
   27590 int
   27591 main (void)
   27592 {
   27593 return librpz_client_create ();
   27594   ;
   27595   return 0;
   27596 }
   27597 _ACEOF
   27598 for ac_lib in '' rpz
   27599 do
   27600   if test -z "$ac_lib"; then
   27601     ac_res="none required"
   27602   else
   27603     ac_res=-l$ac_lib
   27604     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   27605   fi
   27606   if ac_fn_c_try_link "$LINENO"
   27607 then :
   27608   ac_cv_search_librpz_client_create=$ac_res
   27609 fi
   27610 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   27611     conftest$ac_exeext
   27612   if test ${ac_cv_search_librpz_client_create+y}
   27613 then :
   27614   break
   27615 fi
   27616 done
   27617 if test ${ac_cv_search_librpz_client_create+y}
   27618 then :
   27619 
   27620 else $as_nop
   27621   ac_cv_search_librpz_client_create=no
   27622 fi
   27623 rm conftest.$ac_ext
   27624 LIBS=$ac_func_search_save_LIBS
   27625 fi
   27626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_librpz_client_create" >&5
   27627 printf "%s\n" "$ac_cv_search_librpz_client_create" >&6; }
   27628 ac_res=$ac_cv_search_librpz_client_create
   27629 if test "$ac_res" != no
   27630 then :
   27631   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   27632 
   27633 else $as_nop
   27634   dnsrps_lib_open=0
   27635 		 dnsrps_avail=no
   27636 fi
   27637 
   27638 
   27639 fi
   27640 
   27641 printf "%s\n" "#define DNSRPS_LIB_OPEN $dnsrps_lib_open" >>confdefs.h
   27642 
   27643 
   27644 # [pairwise: skip]
   27645 # Check whether --enable-dnsrps was given.
   27646 if test ${enable_dnsrps+y}
   27647 then :
   27648   enableval=$enable_dnsrps; enable_dnsrps=$enableval
   27649 else $as_nop
   27650   enable_dnsrps=no
   27651 fi
   27652 
   27653 
   27654 if test "$enable_dnsrps" != "no"
   27655 then :
   27656 
   27657 	if test "$dnsrps_avail" != "yes"
   27658 then :
   27659   as_fn_error $? "dlopen and librpz.so needed for DNSRPS" "$LINENO" 5
   27660 fi
   27661 	if test "$dnsrps_lib_open" = "0"
   27662 then :
   27663   as_fn_error $? "dlopen and librpz.so needed for DNSRPS" "$LINENO" 5
   27664 fi
   27665 
   27666 printf "%s\n" "#define USE_DNSRPS 1" >>confdefs.h
   27667 
   27668 
   27669 fi
   27670 
   27671 ac_fn_c_check_header_compile "$LINENO" "glob.h" "ac_cv_header_glob_h" "$ac_includes_default"
   27672 if test "x$ac_cv_header_glob_h" = xyes
   27673 then :
   27674   printf "%s\n" "#define HAVE_GLOB_H 1" >>confdefs.h
   27675 
   27676 fi
   27677 
   27678 
   27679 #
   27680 # Support for constructor and destructor attributes
   27681 #
   27682 
   27683 
   27684 
   27685     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((constructor))" >&5
   27686 printf %s "checking for __attribute__((constructor))... " >&6; }
   27687 if test ${ax_cv_have_func_attribute_constructor+y}
   27688 then :
   27689   printf %s "(cached) " >&6
   27690 else $as_nop
   27691 
   27692         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27693 /* end confdefs.h.  */
   27694 
   27695 
   27696                     int foo( void ) __attribute__((constructor));
   27697 
   27698 int
   27699 main (void)
   27700 {
   27701 
   27702   ;
   27703   return 0;
   27704 }
   27705 
   27706 _ACEOF
   27707 if ac_fn_c_try_link "$LINENO"
   27708 then :
   27709                                       if grep -- -Wattributes conftest.err
   27710 then :
   27711   ax_cv_have_func_attribute_constructor=no
   27712 else $as_nop
   27713   ax_cv_have_func_attribute_constructor=yes
   27714 fi
   27715 else $as_nop
   27716   ax_cv_have_func_attribute_constructor=no
   27717 fi
   27718 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   27719     conftest$ac_exeext conftest.$ac_ext
   27720 
   27721 fi
   27722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_func_attribute_constructor" >&5
   27723 printf "%s\n" "$ax_cv_have_func_attribute_constructor" >&6; }
   27724 
   27725     if test yes = $ax_cv_have_func_attribute_constructor
   27726 then :
   27727 
   27728 printf "%s\n" "#define HAVE_FUNC_ATTRIBUTE_CONSTRUCTOR 1" >>confdefs.h
   27729 
   27730 fi
   27731 
   27732 
   27733 
   27734 
   27735 
   27736 
   27737     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((destructor))" >&5
   27738 printf %s "checking for __attribute__((destructor))... " >&6; }
   27739 if test ${ax_cv_have_func_attribute_destructor+y}
   27740 then :
   27741   printf %s "(cached) " >&6
   27742 else $as_nop
   27743 
   27744         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27745 /* end confdefs.h.  */
   27746 
   27747 
   27748                     int foo( void ) __attribute__((destructor));
   27749 
   27750 int
   27751 main (void)
   27752 {
   27753 
   27754   ;
   27755   return 0;
   27756 }
   27757 
   27758 _ACEOF
   27759 if ac_fn_c_try_link "$LINENO"
   27760 then :
   27761                                       if grep -- -Wattributes conftest.err
   27762 then :
   27763   ax_cv_have_func_attribute_destructor=no
   27764 else $as_nop
   27765   ax_cv_have_func_attribute_destructor=yes
   27766 fi
   27767 else $as_nop
   27768   ax_cv_have_func_attribute_destructor=no
   27769 fi
   27770 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   27771     conftest$ac_exeext conftest.$ac_ext
   27772 
   27773 fi
   27774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_func_attribute_destructor" >&5
   27775 printf "%s\n" "$ax_cv_have_func_attribute_destructor" >&6; }
   27776 
   27777     if test yes = $ax_cv_have_func_attribute_destructor
   27778 then :
   27779 
   27780 printf "%s\n" "#define HAVE_FUNC_ATTRIBUTE_DESTRUCTOR 1" >>confdefs.h
   27781 
   27782 fi
   27783 
   27784 
   27785 
   27786 
   27787 #
   27788 # Files to configure.  These are listed here because we used to
   27789 # specify them as arguments to AC_OUTPUT.
   27790 #
   27791 
   27792 # Top
   27793 
   27794 ac_config_files="$ac_config_files Makefile"
   27795 
   27796 
   27797 # Binaries
   27798 
   27799 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"
   27800 
   27801 
   27802 # Libraries
   27803 
   27804 ac_config_files="$ac_config_files lib/Makefile lib/isc/Makefile lib/dns/Makefile lib/ns/Makefile lib/irs/Makefile lib/isccfg/Makefile lib/isccc/Makefile lib/bind9/Makefile"
   27805 
   27806 
   27807 # Documentation
   27808 
   27809 ac_config_files="$ac_config_files doc/Makefile doc/arm/Makefile doc/man/Makefile doc/misc/Makefile"
   27810 
   27811 
   27812 # Unit Tests
   27813 
   27814 ac_config_files="$ac_config_files tests/Makefile tests/isc/Makefile tests/dns/Makefile tests/ns/Makefile tests/irs/Makefile tests/isccfg/Makefile tests/libtest/Makefile"
   27815 
   27816 
   27817 ac_config_files="$ac_config_files tests/unit-test-driver.sh"
   27818 
   27819 
   27820 # System Tests
   27821 
   27822 ac_config_files="$ac_config_files bin/tests/Makefile bin/tests/system/Makefile bin/tests/system/conf.sh bin/tests/system/dyndb/driver/Makefile bin/tests/system/dlzexternal/driver/Makefile bin/tests/system/hooks/driver/Makefile"
   27823 
   27824 
   27825 ac_config_files="$ac_config_files bin/tests/system/ifconfig.sh"
   27826 
   27827 ac_config_files="$ac_config_files bin/tests/system/legacy.run.sh"
   27828 
   27829 ac_config_files="$ac_config_files bin/tests/system/start.sh"
   27830 
   27831 ac_config_files="$ac_config_files bin/tests/system/stop.sh"
   27832 
   27833 
   27834 # Fuzz Tests
   27835 
   27836 ac_config_files="$ac_config_files fuzz/Makefile"
   27837 
   27838 
   27839 # Misc
   27840 
   27841 ac_config_files="$ac_config_files util/check-make-install"
   27842 
   27843 
   27844 #
   27845 # Do it
   27846 #
   27847 
   27848 cat >confcache <<\_ACEOF
   27849 # This file is a shell script that caches the results of configure
   27850 # tests run on this system so they can be shared between configure
   27851 # scripts and configure runs, see configure's option --config-cache.
   27852 # It is not useful on other systems.  If it contains results you don't
   27853 # want to keep, you may remove or edit it.
   27854 #
   27855 # config.status only pays attention to the cache file if you give it
   27856 # the --recheck option to rerun configure.
   27857 #
   27858 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   27859 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   27860 # following values.
   27861 
   27862 _ACEOF
   27863 
   27864 # The following way of writing the cache mishandles newlines in values,
   27865 # but we know of no workaround that is simple, portable, and efficient.
   27866 # So, we kill variables containing newlines.
   27867 # Ultrix sh set writes to stderr and can't be redirected directly,
   27868 # and sets the high bit in the cache file unless we assign to the vars.
   27869 (
   27870   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   27871     eval ac_val=\$$ac_var
   27872     case $ac_val in #(
   27873     *${as_nl}*)
   27874       case $ac_var in #(
   27875       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   27876 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   27877       esac
   27878       case $ac_var in #(
   27879       _ | IFS | as_nl) ;; #(
   27880       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   27881       *) { eval $ac_var=; unset $ac_var;} ;;
   27882       esac ;;
   27883     esac
   27884   done
   27885 
   27886   (set) 2>&1 |
   27887     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   27888     *${as_nl}ac_space=\ *)
   27889       # `set' does not quote correctly, so add quotes: double-quote
   27890       # substitution turns \\\\ into \\, and sed turns \\ into \.
   27891       sed -n \
   27892 	"s/'/'\\\\''/g;
   27893 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   27894       ;; #(
   27895     *)
   27896       # `set' quotes correctly as required by POSIX, so do not add quotes.
   27897       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   27898       ;;
   27899     esac |
   27900     sort
   27901 ) |
   27902   sed '
   27903      /^ac_cv_env_/b end
   27904      t clear
   27905      :clear
   27906      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   27907      t end
   27908      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   27909      :end' >>confcache
   27910 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   27911   if test -w "$cache_file"; then
   27912     if test "x$cache_file" != "x/dev/null"; then
   27913       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   27914 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   27915       if test ! -f "$cache_file" || test -h "$cache_file"; then
   27916 	cat confcache >"$cache_file"
   27917       else
   27918         case $cache_file in #(
   27919         */* | ?:*)
   27920 	  mv -f confcache "$cache_file"$$ &&
   27921 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   27922         *)
   27923 	  mv -f confcache "$cache_file" ;;
   27924 	esac
   27925       fi
   27926     fi
   27927   else
   27928     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   27929 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   27930   fi
   27931 fi
   27932 rm -f confcache
   27933 
   27934 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   27935 # Let make expand exec_prefix.
   27936 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   27937 
   27938 DEFS=-DHAVE_CONFIG_H
   27939 
   27940 ac_libobjs=
   27941 ac_ltlibobjs=
   27942 U=
   27943 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   27944   # 1. Remove the extension, and $U if already installed.
   27945   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   27946   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   27947   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   27948   #    will be set to the directory where LIBOBJS objects are built.
   27949   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   27950   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   27951 done
   27952 LIBOBJS=$ac_libobjs
   27953 
   27954 LTLIBOBJS=$ac_ltlibobjs
   27955 
   27956 
   27957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   27958 printf %s "checking that generated files are newer than configure... " >&6; }
   27959    if test -n "$am_sleep_pid"; then
   27960      # Hide warnings about reused PIDs.
   27961      wait $am_sleep_pid 2>/dev/null
   27962    fi
   27963    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   27964 printf "%s\n" "done" >&6; }
   27965  if test -n "$EXEEXT"; then
   27966   am__EXEEXT_TRUE=
   27967   am__EXEEXT_FALSE='#'
   27968 else
   27969   am__EXEEXT_TRUE='#'
   27970   am__EXEEXT_FALSE=
   27971 fi
   27972 
   27973 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   27974   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   27975 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   27976 fi
   27977 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   27978   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   27979 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   27980 fi
   27981 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   27982   as_fn_error $? "conditional \"AMDEP\" was never defined.
   27983 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   27984 fi
   27985 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   27986   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   27987 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   27988 fi
   27989 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   27990   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   27991 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   27992 fi
   27993 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   27994   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   27995 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   27996 fi
   27997 
   27998 if test -z "${HOST_MACOS_TRUE}" && test -z "${HOST_MACOS_FALSE}"; then
   27999   as_fn_error $? "conditional \"HOST_MACOS\" was never defined.
   28000 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   28001 fi
   28002 if test -z "${HAVE_FUZZ_LOG_COMPILER_TRUE}" && test -z "${HAVE_FUZZ_LOG_COMPILER_FALSE}"; then
   28003   as_fn_error $? "conditional \"HAVE_FUZZ_LOG_COMPILER\" was never defined.
   28004 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   28005 fi
   28006 if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
   28007   as_fn_error $? "conditional \"HAVE_PERL\" was never defined.
   28008 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   28009 fi
   28010 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
   28011   as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
   28012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   28013 fi
   28014 if test -z "${HAVE_PYTEST_TRUE}" && test -z "${HAVE_PYTEST_FALSE}"; then
   28015   as_fn_error $? "conditional \"HAVE_PYTEST\" was never defined.
   28016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   28017 fi
   28018 if test -z "${HAVE_GEOIP2_TRUE}" && test -z "${HAVE_GEOIP2_FALSE}"; then
   28019   as_fn_error $? "conditional \"HAVE_GEOIP2\" was never defined.
   28020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   28021 fi
   28022 if test -z "${HAVE_LIBNGHTTP2_TRUE}" && test -z "${HAVE_LIBNGHTTP2_FALSE}"; then
   28023   as_fn_error $? "conditional \"HAVE_LIBNGHTTP2\" was never defined.
   28024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   28025 fi
   28026 if test -z "${HAVE_GSSAPI_TRUE}" && test -z "${HAVE_GSSAPI_FALSE}"; then
   28027   as_fn_error $? "conditional \"HAVE_GSSAPI\" was never defined.
   28028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   28029 fi
   28030 if test -z "${HAVE_LMDB_TRUE}" && test -z "${HAVE_LMDB_FALSE}"; then
   28031   as_fn_error $? "conditional \"HAVE_LMDB\" was never defined.
   28032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   28033 fi
   28034 if test -z "${HAVE_LIBXML2_TRUE}" && test -z "${HAVE_LIBXML2_FALSE}"; then
   28035   as_fn_error $? "conditional \"HAVE_LIBXML2\" was never defined.
   28036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   28037 fi
   28038 if test -z "${HAVE_JSON_C_TRUE}" && test -z "${HAVE_JSON_C_FALSE}"; then
   28039   as_fn_error $? "conditional \"HAVE_JSON_C\" was never defined.
   28040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   28041 fi
   28042 if test -z "${HAVE_READLINE_TRUE}" && test -z "${HAVE_READLINE_FALSE}"; then
   28043   as_fn_error $? "conditional \"HAVE_READLINE\" was never defined.
   28044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   28045 fi
   28046 if test -z "${HAVE_DNSTAP_TRUE}" && test -z "${HAVE_DNSTAP_FALSE}"; then
   28047   as_fn_error $? "conditional \"HAVE_DNSTAP\" was never defined.
   28048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   28049 fi
   28050 if test -z "${HAVE_SPHINX_BUILD_TRUE}" && test -z "${HAVE_SPHINX_BUILD_FALSE}"; then
   28051   as_fn_error $? "conditional \"HAVE_SPHINX_BUILD\" was never defined.
   28052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   28053 fi
   28054 if test -z "${HAVE_XELATEX_TRUE}" && test -z "${HAVE_XELATEX_FALSE}"; then
   28055   as_fn_error $? "conditional \"HAVE_XELATEX\" was never defined.
   28056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   28057 fi
   28058 if test -z "${BUILD_MANPAGES_TRUE}" && test -z "${BUILD_MANPAGES_FALSE}"; then
   28059   as_fn_error $? "conditional \"BUILD_MANPAGES\" was never defined.
   28060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   28061 fi
   28062 if test -z "${HAVE_CMOCKA_TRUE}" && test -z "${HAVE_CMOCKA_FALSE}"; then
   28063   as_fn_error $? "conditional \"HAVE_CMOCKA\" was never defined.
   28064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   28065 fi
   28066 if test -z "${HAVE_JEMALLOC_TRUE}" && test -z "${HAVE_JEMALLOC_FALSE}"; then
   28067   as_fn_error $? "conditional \"HAVE_JEMALLOC\" was never defined.
   28068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   28069 fi
   28070 
   28071 : "${CONFIG_STATUS=./config.status}"
   28072 ac_write_fail=0
   28073 ac_clean_files_save=$ac_clean_files
   28074 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   28075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   28076 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   28077 as_write_fail=0
   28078 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   28079 #! $SHELL
   28080 # Generated by $as_me.
   28081 # Run this file to recreate the current configuration.
   28082 # Compiler output produced by configure, useful for debugging
   28083 # configure, is in config.log if it exists.
   28084 
   28085 debug=false
   28086 ac_cs_recheck=false
   28087 ac_cs_silent=false
   28088 
   28089 SHELL=\${CONFIG_SHELL-$SHELL}
   28090 export SHELL
   28091 _ASEOF
   28092 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   28093 ## -------------------- ##
   28094 ## M4sh Initialization. ##
   28095 ## -------------------- ##
   28096 
   28097 # Be more Bourne compatible
   28098 DUALCASE=1; export DUALCASE # for MKS sh
   28099 as_nop=:
   28100 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   28101 then :
   28102   emulate sh
   28103   NULLCMD=:
   28104   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   28105   # is contrary to our usage.  Disable this feature.
   28106   alias -g '${1+"$@"}'='"$@"'
   28107   setopt NO_GLOB_SUBST
   28108 else $as_nop
   28109   case `(set -o) 2>/dev/null` in #(
   28110   *posix*) :
   28111     set -o posix ;; #(
   28112   *) :
   28113      ;;
   28114 esac
   28115 fi
   28116 
   28117 
   28118 
   28119 # Reset variables that may have inherited troublesome values from
   28120 # the environment.
   28121 
   28122 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   28123 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   28124 # side effect of setting IFS to empty, thus disabling word splitting.)
   28125 # Quoting is to prevent editors from complaining about space-tab.
   28126 as_nl='
   28127 '
   28128 export as_nl
   28129 IFS=" ""	$as_nl"
   28130 
   28131 PS1='$ '
   28132 PS2='> '
   28133 PS4='+ '
   28134 
   28135 # Ensure predictable behavior from utilities with locale-dependent output.
   28136 LC_ALL=C
   28137 export LC_ALL
   28138 LANGUAGE=C
   28139 export LANGUAGE
   28140 
   28141 # We cannot yet rely on "unset" to work, but we need these variables
   28142 # to be unset--not just set to an empty or harmless value--now, to
   28143 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   28144 # also avoids known problems related to "unset" and subshell syntax
   28145 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   28146 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   28147 do eval test \${$as_var+y} \
   28148   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   28149 done
   28150 
   28151 # Ensure that fds 0, 1, and 2 are open.
   28152 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   28153 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   28154 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   28155 
   28156 # The user is always right.
   28157 if ${PATH_SEPARATOR+false} :; then
   28158   PATH_SEPARATOR=:
   28159   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   28160     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   28161       PATH_SEPARATOR=';'
   28162   }
   28163 fi
   28164 
   28165 
   28166 # Find who we are.  Look in the path if we contain no directory separator.
   28167 as_myself=
   28168 case $0 in #((
   28169   *[\\/]* ) as_myself=$0 ;;
   28170   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   28171 for as_dir in $PATH
   28172 do
   28173   IFS=$as_save_IFS
   28174   case $as_dir in #(((
   28175     '') as_dir=./ ;;
   28176     */) ;;
   28177     *) as_dir=$as_dir/ ;;
   28178   esac
   28179     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   28180   done
   28181 IFS=$as_save_IFS
   28182 
   28183      ;;
   28184 esac
   28185 # We did not find ourselves, most probably we were run as `sh COMMAND'
   28186 # in which case we are not to be found in the path.
   28187 if test "x$as_myself" = x; then
   28188   as_myself=$0
   28189 fi
   28190 if test ! -f "$as_myself"; then
   28191   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   28192   exit 1
   28193 fi
   28194 
   28195 
   28196 
   28197 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   28198 # ----------------------------------------
   28199 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   28200 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   28201 # script with STATUS, using 1 if that was 0.
   28202 as_fn_error ()
   28203 {
   28204   as_status=$1; test $as_status -eq 0 && as_status=1
   28205   if test "$4"; then
   28206     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   28207     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   28208   fi
   28209   printf "%s\n" "$as_me: error: $2" >&2
   28210   as_fn_exit $as_status
   28211 } # as_fn_error
   28212 
   28213 
   28214 
   28215 # as_fn_set_status STATUS
   28216 # -----------------------
   28217 # Set $? to STATUS, without forking.
   28218 as_fn_set_status ()
   28219 {
   28220   return $1
   28221 } # as_fn_set_status
   28222 
   28223 # as_fn_exit STATUS
   28224 # -----------------
   28225 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   28226 as_fn_exit ()
   28227 {
   28228   set +e
   28229   as_fn_set_status $1
   28230   exit $1
   28231 } # as_fn_exit
   28232 
   28233 # as_fn_unset VAR
   28234 # ---------------
   28235 # Portably unset VAR.
   28236 as_fn_unset ()
   28237 {
   28238   { eval $1=; unset $1;}
   28239 }
   28240 as_unset=as_fn_unset
   28241 
   28242 # as_fn_append VAR VALUE
   28243 # ----------------------
   28244 # Append the text in VALUE to the end of the definition contained in VAR. Take
   28245 # advantage of any shell optimizations that allow amortized linear growth over
   28246 # repeated appends, instead of the typical quadratic growth present in naive
   28247 # implementations.
   28248 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   28249 then :
   28250   eval 'as_fn_append ()
   28251   {
   28252     eval $1+=\$2
   28253   }'
   28254 else $as_nop
   28255   as_fn_append ()
   28256   {
   28257     eval $1=\$$1\$2
   28258   }
   28259 fi # as_fn_append
   28260 
   28261 # as_fn_arith ARG...
   28262 # ------------------
   28263 # Perform arithmetic evaluation on the ARGs, and store the result in the
   28264 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   28265 # must be portable across $(()) and expr.
   28266 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   28267 then :
   28268   eval 'as_fn_arith ()
   28269   {
   28270     as_val=$(( $* ))
   28271   }'
   28272 else $as_nop
   28273   as_fn_arith ()
   28274   {
   28275     as_val=`expr "$@" || test $? -eq 1`
   28276   }
   28277 fi # as_fn_arith
   28278 
   28279 
   28280 if expr a : '\(a\)' >/dev/null 2>&1 &&
   28281    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   28282   as_expr=expr
   28283 else
   28284   as_expr=false
   28285 fi
   28286 
   28287 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   28288   as_basename=basename
   28289 else
   28290   as_basename=false
   28291 fi
   28292 
   28293 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   28294   as_dirname=dirname
   28295 else
   28296   as_dirname=false
   28297 fi
   28298 
   28299 as_me=`$as_basename -- "$0" ||
   28300 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   28301 	 X"$0" : 'X\(//\)$' \| \
   28302 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   28303 printf "%s\n" X/"$0" |
   28304     sed '/^.*\/\([^/][^/]*\)\/*$/{
   28305 	    s//\1/
   28306 	    q
   28307 	  }
   28308 	  /^X\/\(\/\/\)$/{
   28309 	    s//\1/
   28310 	    q
   28311 	  }
   28312 	  /^X\/\(\/\).*/{
   28313 	    s//\1/
   28314 	    q
   28315 	  }
   28316 	  s/.*/./; q'`
   28317 
   28318 # Avoid depending upon Character Ranges.
   28319 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   28320 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   28321 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   28322 as_cr_digits='0123456789'
   28323 as_cr_alnum=$as_cr_Letters$as_cr_digits
   28324 
   28325 
   28326 # Determine whether it's possible to make 'echo' print without a newline.
   28327 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   28328 # for compatibility with existing Makefiles.
   28329 ECHO_C= ECHO_N= ECHO_T=
   28330 case `echo -n x` in #(((((
   28331 -n*)
   28332   case `echo 'xy\c'` in
   28333   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   28334   xy)  ECHO_C='\c';;
   28335   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   28336        ECHO_T='	';;
   28337   esac;;
   28338 *)
   28339   ECHO_N='-n';;
   28340 esac
   28341 
   28342 # For backward compatibility with old third-party macros, we provide
   28343 # the shell variables $as_echo and $as_echo_n.  New code should use
   28344 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   28345 as_echo='printf %s\n'
   28346 as_echo_n='printf %s'
   28347 
   28348 rm -f conf$$ conf$$.exe conf$$.file
   28349 if test -d conf$$.dir; then
   28350   rm -f conf$$.dir/conf$$.file
   28351 else
   28352   rm -f conf$$.dir
   28353   mkdir conf$$.dir 2>/dev/null
   28354 fi
   28355 if (echo >conf$$.file) 2>/dev/null; then
   28356   if ln -s conf$$.file conf$$ 2>/dev/null; then
   28357     as_ln_s='ln -s'
   28358     # ... but there are two gotchas:
   28359     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   28360     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   28361     # In both cases, we have to default to `cp -pR'.
   28362     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   28363       as_ln_s='cp -pR'
   28364   elif ln conf$$.file conf$$ 2>/dev/null; then
   28365     as_ln_s=ln
   28366   else
   28367     as_ln_s='cp -pR'
   28368   fi
   28369 else
   28370   as_ln_s='cp -pR'
   28371 fi
   28372 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   28373 rmdir conf$$.dir 2>/dev/null
   28374 
   28375 
   28376 # as_fn_mkdir_p
   28377 # -------------
   28378 # Create "$as_dir" as a directory, including parents if necessary.
   28379 as_fn_mkdir_p ()
   28380 {
   28381 
   28382   case $as_dir in #(
   28383   -*) as_dir=./$as_dir;;
   28384   esac
   28385   test -d "$as_dir" || eval $as_mkdir_p || {
   28386     as_dirs=
   28387     while :; do
   28388       case $as_dir in #(
   28389       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   28390       *) as_qdir=$as_dir;;
   28391       esac
   28392       as_dirs="'$as_qdir' $as_dirs"
   28393       as_dir=`$as_dirname -- "$as_dir" ||
   28394 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   28395 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   28396 	 X"$as_dir" : 'X\(//\)$' \| \
   28397 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   28398 printf "%s\n" X"$as_dir" |
   28399     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   28400 	    s//\1/
   28401 	    q
   28402 	  }
   28403 	  /^X\(\/\/\)[^/].*/{
   28404 	    s//\1/
   28405 	    q
   28406 	  }
   28407 	  /^X\(\/\/\)$/{
   28408 	    s//\1/
   28409 	    q
   28410 	  }
   28411 	  /^X\(\/\).*/{
   28412 	    s//\1/
   28413 	    q
   28414 	  }
   28415 	  s/.*/./; q'`
   28416       test -d "$as_dir" && break
   28417     done
   28418     test -z "$as_dirs" || eval "mkdir $as_dirs"
   28419   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   28420 
   28421 
   28422 } # as_fn_mkdir_p
   28423 if mkdir -p . 2>/dev/null; then
   28424   as_mkdir_p='mkdir -p "$as_dir"'
   28425 else
   28426   test -d ./-p && rmdir ./-p
   28427   as_mkdir_p=false
   28428 fi
   28429 
   28430 
   28431 # as_fn_executable_p FILE
   28432 # -----------------------
   28433 # Test if FILE is an executable regular file.
   28434 as_fn_executable_p ()
   28435 {
   28436   test -f "$1" && test -x "$1"
   28437 } # as_fn_executable_p
   28438 as_test_x='test -x'
   28439 as_executable_p=as_fn_executable_p
   28440 
   28441 # Sed expression to map a string onto a valid CPP name.
   28442 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   28443 
   28444 # Sed expression to map a string onto a valid variable name.
   28445 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   28446 
   28447 
   28448 exec 6>&1
   28449 ## ----------------------------------- ##
   28450 ## Main body of $CONFIG_STATUS script. ##
   28451 ## ----------------------------------- ##
   28452 _ASEOF
   28453 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   28454 
   28455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   28456 # Save the log message, to keep $0 and so on meaningful, and to
   28457 # report actual input values of CONFIG_FILES etc. instead of their
   28458 # values after options handling.
   28459 ac_log="
   28460 This file was extended by BIND $as_me 9.18.24, which was
   28461 generated by GNU Autoconf 2.71.  Invocation command line was
   28462 
   28463   CONFIG_FILES    = $CONFIG_FILES
   28464   CONFIG_HEADERS  = $CONFIG_HEADERS
   28465   CONFIG_LINKS    = $CONFIG_LINKS
   28466   CONFIG_COMMANDS = $CONFIG_COMMANDS
   28467   $ $0 $@
   28468 
   28469 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   28470 "
   28471 
   28472 _ACEOF
   28473 
   28474 case $ac_config_files in *"
   28475 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   28476 esac
   28477 
   28478 case $ac_config_headers in *"
   28479 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   28480 esac
   28481 
   28482 
   28483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   28484 # Files that config.status was made for.
   28485 config_files="$ac_config_files"
   28486 config_headers="$ac_config_headers"
   28487 config_commands="$ac_config_commands"
   28488 
   28489 _ACEOF
   28490 
   28491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   28492 ac_cs_usage="\
   28493 \`$as_me' instantiates files and other configuration actions
   28494 from templates according to the current configuration.  Unless the files
   28495 and actions are specified as TAGs, all are instantiated by default.
   28496 
   28497 Usage: $0 [OPTION]... [TAG]...
   28498 
   28499   -h, --help       print this help, then exit
   28500   -V, --version    print version number and configuration settings, then exit
   28501       --config     print configuration, then exit
   28502   -q, --quiet, --silent
   28503                    do not print progress messages
   28504   -d, --debug      don't remove temporary files
   28505       --recheck    update $as_me by reconfiguring in the same conditions
   28506       --file=FILE[:TEMPLATE]
   28507                    instantiate the configuration file FILE
   28508       --header=FILE[:TEMPLATE]
   28509                    instantiate the configuration header FILE
   28510 
   28511 Configuration files:
   28512 $config_files
   28513 
   28514 Configuration headers:
   28515 $config_headers
   28516 
   28517 Configuration commands:
   28518 $config_commands
   28519 
   28520 Report bugs to <https://gitlab.isc.org/isc-projects/bind9/-/issues/new?issuable_template=Bug>.
   28521 BIND home page: <https://www.isc.org/downloads/>."
   28522 
   28523 _ACEOF
   28524 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   28525 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   28526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   28527 ac_cs_config='$ac_cs_config_escaped'
   28528 ac_cs_version="\\
   28529 BIND config.status 9.18.24
   28530 configured by $0, generated by GNU Autoconf 2.71,
   28531   with options \\"\$ac_cs_config\\"
   28532 
   28533 Copyright (C) 2021 Free Software Foundation, Inc.
   28534 This config.status script is free software; the Free Software Foundation
   28535 gives unlimited permission to copy, distribute and modify it."
   28536 
   28537 ac_pwd='$ac_pwd'
   28538 srcdir='$srcdir'
   28539 INSTALL='$INSTALL'
   28540 MKDIR_P='$MKDIR_P'
   28541 AWK='$AWK'
   28542 test -n "\$AWK" || AWK=awk
   28543 _ACEOF
   28544 
   28545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   28546 # The default lists apply if the user does not specify any file.
   28547 ac_need_defaults=:
   28548 while test $# != 0
   28549 do
   28550   case $1 in
   28551   --*=?*)
   28552     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   28553     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   28554     ac_shift=:
   28555     ;;
   28556   --*=)
   28557     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   28558     ac_optarg=
   28559     ac_shift=:
   28560     ;;
   28561   *)
   28562     ac_option=$1
   28563     ac_optarg=$2
   28564     ac_shift=shift
   28565     ;;
   28566   esac
   28567 
   28568   case $ac_option in
   28569   # Handling of the options.
   28570   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   28571     ac_cs_recheck=: ;;
   28572   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   28573     printf "%s\n" "$ac_cs_version"; exit ;;
   28574   --config | --confi | --conf | --con | --co | --c )
   28575     printf "%s\n" "$ac_cs_config"; exit ;;
   28576   --debug | --debu | --deb | --de | --d | -d )
   28577     debug=: ;;
   28578   --file | --fil | --fi | --f )
   28579     $ac_shift
   28580     case $ac_optarg in
   28581     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   28582     '') as_fn_error $? "missing file argument" ;;
   28583     esac
   28584     as_fn_append CONFIG_FILES " '$ac_optarg'"
   28585     ac_need_defaults=false;;
   28586   --header | --heade | --head | --hea )
   28587     $ac_shift
   28588     case $ac_optarg in
   28589     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   28590     esac
   28591     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   28592     ac_need_defaults=false;;
   28593   --he | --h)
   28594     # Conflict between --help and --header
   28595     as_fn_error $? "ambiguous option: \`$1'
   28596 Try \`$0 --help' for more information.";;
   28597   --help | --hel | -h )
   28598     printf "%s\n" "$ac_cs_usage"; exit ;;
   28599   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   28600   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   28601     ac_cs_silent=: ;;
   28602 
   28603   # This is an error.
   28604   -*) as_fn_error $? "unrecognized option: \`$1'
   28605 Try \`$0 --help' for more information." ;;
   28606 
   28607   *) as_fn_append ac_config_targets " $1"
   28608      ac_need_defaults=false ;;
   28609 
   28610   esac
   28611   shift
   28612 done
   28613 
   28614 ac_configure_extra_args=
   28615 
   28616 if $ac_cs_silent; then
   28617   exec 6>/dev/null
   28618   ac_configure_extra_args="$ac_configure_extra_args --silent"
   28619 fi
   28620 
   28621 _ACEOF
   28622 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   28623 if \$ac_cs_recheck; then
   28624   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   28625   shift
   28626   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   28627   CONFIG_SHELL='$SHELL'
   28628   export CONFIG_SHELL
   28629   exec "\$@"
   28630 fi
   28631 
   28632 _ACEOF
   28633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   28634 exec 5>>config.log
   28635 {
   28636   echo
   28637   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   28638 ## Running $as_me. ##
   28639 _ASBOX
   28640   printf "%s\n" "$ac_log"
   28641 } >&5
   28642 
   28643 _ACEOF
   28644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   28645 #
   28646 # INIT-COMMANDS
   28647 #
   28648 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   28649 
   28650 
   28651 # The HP-UX ksh and POSIX shell print the target directory to stdout
   28652 # if CDPATH is set.
   28653 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   28654 
   28655 sed_quote_subst='$sed_quote_subst'
   28656 double_quote_subst='$double_quote_subst'
   28657 delay_variable_subst='$delay_variable_subst'
   28658 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   28659 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   28660 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   28661 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   28662 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   28663 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   28664 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   28665 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   28666 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   28667 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   28668 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   28669 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   28670 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   28671 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   28672 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   28673 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   28674 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   28675 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   28676 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   28677 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   28678 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   28679 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   28680 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   28681 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   28682 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   28683 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   28684 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   28685 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   28686 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   28687 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   28688 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   28689 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   28690 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   28691 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   28692 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   28693 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   28694 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   28695 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   28696 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   28697 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   28698 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   28699 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   28700 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   28701 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   28702 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   28703 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   28704 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   28705 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   28706 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   28707 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   28708 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   28709 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   28710 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   28711 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   28712 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   28713 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   28714 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   28715 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   28716 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   28717 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   28718 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"`'
   28719 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   28720 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   28721 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   28722 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   28723 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   28724 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   28725 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   28726 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   28727 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   28728 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   28729 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   28730 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   28731 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   28732 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   28733 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   28734 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   28735 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   28736 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   28737 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   28738 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   28739 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   28740 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   28741 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   28742 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   28743 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   28744 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   28745 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   28746 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   28747 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   28748 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   28749 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   28750 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   28751 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   28752 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   28753 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   28754 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   28755 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   28756 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   28757 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   28758 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   28759 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   28760 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   28761 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   28762 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   28763 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   28764 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   28765 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   28766 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   28767 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   28768 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   28769 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   28770 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   28771 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   28772 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   28773 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   28774 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   28775 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   28776 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   28777 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   28778 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   28779 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   28780 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   28781 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   28782 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   28783 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   28784 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   28785 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   28786 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   28787 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   28788 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   28789 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   28790 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   28791 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   28792 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   28793 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   28794 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   28795 
   28796 LTCC='$LTCC'
   28797 LTCFLAGS='$LTCFLAGS'
   28798 compiler='$compiler_DEFAULT'
   28799 
   28800 # A function that is used when there is no print builtin or printf.
   28801 func_fallback_echo ()
   28802 {
   28803   eval 'cat <<_LTECHO_EOF
   28804 \$1
   28805 _LTECHO_EOF'
   28806 }
   28807 
   28808 # Quote evaled strings.
   28809 for var in SHELL \
   28810 ECHO \
   28811 PATH_SEPARATOR \
   28812 SED \
   28813 GREP \
   28814 EGREP \
   28815 FGREP \
   28816 LD \
   28817 NM \
   28818 LN_S \
   28819 lt_SP2NL \
   28820 lt_NL2SP \
   28821 reload_flag \
   28822 FILECMD \
   28823 OBJDUMP \
   28824 deplibs_check_method \
   28825 file_magic_cmd \
   28826 file_magic_glob \
   28827 want_nocaseglob \
   28828 DLLTOOL \
   28829 sharedlib_from_linklib_cmd \
   28830 AR \
   28831 archiver_list_spec \
   28832 STRIP \
   28833 RANLIB \
   28834 CC \
   28835 CFLAGS \
   28836 compiler \
   28837 lt_cv_sys_global_symbol_pipe \
   28838 lt_cv_sys_global_symbol_to_cdecl \
   28839 lt_cv_sys_global_symbol_to_import \
   28840 lt_cv_sys_global_symbol_to_c_name_address \
   28841 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   28842 lt_cv_nm_interface \
   28843 nm_file_list_spec \
   28844 lt_cv_truncate_bin \
   28845 lt_prog_compiler_no_builtin_flag \
   28846 lt_prog_compiler_pic \
   28847 lt_prog_compiler_wl \
   28848 lt_prog_compiler_static \
   28849 lt_cv_prog_compiler_c_o \
   28850 need_locks \
   28851 MANIFEST_TOOL \
   28852 DSYMUTIL \
   28853 NMEDIT \
   28854 LIPO \
   28855 OTOOL \
   28856 OTOOL64 \
   28857 shrext_cmds \
   28858 export_dynamic_flag_spec \
   28859 whole_archive_flag_spec \
   28860 compiler_needs_object \
   28861 with_gnu_ld \
   28862 allow_undefined_flag \
   28863 no_undefined_flag \
   28864 hardcode_libdir_flag_spec \
   28865 hardcode_libdir_separator \
   28866 exclude_expsyms \
   28867 include_expsyms \
   28868 file_list_spec \
   28869 variables_saved_for_relink \
   28870 libname_spec \
   28871 library_names_spec \
   28872 soname_spec \
   28873 install_override_mode \
   28874 finish_eval \
   28875 old_striplib \
   28876 striplib; do
   28877     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   28878     *[\\\\\\\`\\"\\\$]*)
   28879       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   28880       ;;
   28881     *)
   28882       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   28883       ;;
   28884     esac
   28885 done
   28886 
   28887 # Double-quote double-evaled strings.
   28888 for var in reload_cmds \
   28889 old_postinstall_cmds \
   28890 old_postuninstall_cmds \
   28891 old_archive_cmds \
   28892 extract_expsyms_cmds \
   28893 old_archive_from_new_cmds \
   28894 old_archive_from_expsyms_cmds \
   28895 archive_cmds \
   28896 archive_expsym_cmds \
   28897 module_cmds \
   28898 module_expsym_cmds \
   28899 export_symbols_cmds \
   28900 prelink_cmds \
   28901 postlink_cmds \
   28902 postinstall_cmds \
   28903 postuninstall_cmds \
   28904 finish_cmds \
   28905 sys_lib_search_path_spec \
   28906 configure_time_dlsearch_path \
   28907 configure_time_lt_sys_library_path; do
   28908     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   28909     *[\\\\\\\`\\"\\\$]*)
   28910       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   28911       ;;
   28912     *)
   28913       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   28914       ;;
   28915     esac
   28916 done
   28917 
   28918 ac_aux_dir='$ac_aux_dir'
   28919 
   28920 # See if we are running on zsh, and set the options that allow our
   28921 # commands through without removal of \ escapes INIT.
   28922 if test -n "\${ZSH_VERSION+set}"; then
   28923    setopt NO_GLOB_SUBST
   28924 fi
   28925 
   28926 
   28927     PACKAGE='$PACKAGE'
   28928     VERSION='$VERSION'
   28929     RM='$RM'
   28930     ofile='$ofile'
   28931 
   28932 
   28933 
   28934 
   28935 _ACEOF
   28936 
   28937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   28938 
   28939 # Handling of arguments.
   28940 for ac_config_target in $ac_config_targets
   28941 do
   28942   case $ac_config_target in
   28943     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   28944     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   28945     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   28946     "doc/doxygen/doxygen-input-filter") CONFIG_FILES="$CONFIG_FILES doc/doxygen/doxygen-input-filter" ;;
   28947     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   28948     "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
   28949     "bin/named/Makefile") CONFIG_FILES="$CONFIG_FILES bin/named/Makefile" ;;
   28950     "bin/rndc/Makefile") CONFIG_FILES="$CONFIG_FILES bin/rndc/Makefile" ;;
   28951     "bin/dig/Makefile") CONFIG_FILES="$CONFIG_FILES bin/dig/Makefile" ;;
   28952     "bin/delv/Makefile") CONFIG_FILES="$CONFIG_FILES bin/delv/Makefile" ;;
   28953     "bin/dnssec/Makefile") CONFIG_FILES="$CONFIG_FILES bin/dnssec/Makefile" ;;
   28954     "bin/tools/Makefile") CONFIG_FILES="$CONFIG_FILES bin/tools/Makefile" ;;
   28955     "bin/nsupdate/Makefile") CONFIG_FILES="$CONFIG_FILES bin/nsupdate/Makefile" ;;
   28956     "bin/check/Makefile") CONFIG_FILES="$CONFIG_FILES bin/check/Makefile" ;;
   28957     "bin/confgen/Makefile") CONFIG_FILES="$CONFIG_FILES bin/confgen/Makefile" ;;
   28958     "bin/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES bin/plugins/Makefile" ;;
   28959     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
   28960     "lib/isc/Makefile") CONFIG_FILES="$CONFIG_FILES lib/isc/Makefile" ;;
   28961     "lib/dns/Makefile") CONFIG_FILES="$CONFIG_FILES lib/dns/Makefile" ;;
   28962     "lib/ns/Makefile") CONFIG_FILES="$CONFIG_FILES lib/ns/Makefile" ;;
   28963     "lib/irs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/irs/Makefile" ;;
   28964     "lib/isccfg/Makefile") CONFIG_FILES="$CONFIG_FILES lib/isccfg/Makefile" ;;
   28965     "lib/isccc/Makefile") CONFIG_FILES="$CONFIG_FILES lib/isccc/Makefile" ;;
   28966     "lib/bind9/Makefile") CONFIG_FILES="$CONFIG_FILES lib/bind9/Makefile" ;;
   28967     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   28968     "doc/arm/Makefile") CONFIG_FILES="$CONFIG_FILES doc/arm/Makefile" ;;
   28969     "doc/man/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/Makefile" ;;
   28970     "doc/misc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/misc/Makefile" ;;
   28971     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
   28972     "tests/isc/Makefile") CONFIG_FILES="$CONFIG_FILES tests/isc/Makefile" ;;
   28973     "tests/dns/Makefile") CONFIG_FILES="$CONFIG_FILES tests/dns/Makefile" ;;
   28974     "tests/ns/Makefile") CONFIG_FILES="$CONFIG_FILES tests/ns/Makefile" ;;
   28975     "tests/irs/Makefile") CONFIG_FILES="$CONFIG_FILES tests/irs/Makefile" ;;
   28976     "tests/isccfg/Makefile") CONFIG_FILES="$CONFIG_FILES tests/isccfg/Makefile" ;;
   28977     "tests/libtest/Makefile") CONFIG_FILES="$CONFIG_FILES tests/libtest/Makefile" ;;
   28978     "tests/unit-test-driver.sh") CONFIG_FILES="$CONFIG_FILES tests/unit-test-driver.sh" ;;
   28979     "bin/tests/Makefile") CONFIG_FILES="$CONFIG_FILES bin/tests/Makefile" ;;
   28980     "bin/tests/system/Makefile") CONFIG_FILES="$CONFIG_FILES bin/tests/system/Makefile" ;;
   28981     "bin/tests/system/conf.sh") CONFIG_FILES="$CONFIG_FILES bin/tests/system/conf.sh" ;;
   28982     "bin/tests/system/dyndb/driver/Makefile") CONFIG_FILES="$CONFIG_FILES bin/tests/system/dyndb/driver/Makefile" ;;
   28983     "bin/tests/system/dlzexternal/driver/Makefile") CONFIG_FILES="$CONFIG_FILES bin/tests/system/dlzexternal/driver/Makefile" ;;
   28984     "bin/tests/system/hooks/driver/Makefile") CONFIG_FILES="$CONFIG_FILES bin/tests/system/hooks/driver/Makefile" ;;
   28985     "bin/tests/system/ifconfig.sh") CONFIG_FILES="$CONFIG_FILES bin/tests/system/ifconfig.sh" ;;
   28986     "bin/tests/system/legacy.run.sh") CONFIG_FILES="$CONFIG_FILES bin/tests/system/legacy.run.sh" ;;
   28987     "bin/tests/system/start.sh") CONFIG_FILES="$CONFIG_FILES bin/tests/system/start.sh" ;;
   28988     "bin/tests/system/stop.sh") CONFIG_FILES="$CONFIG_FILES bin/tests/system/stop.sh" ;;
   28989     "fuzz/Makefile") CONFIG_FILES="$CONFIG_FILES fuzz/Makefile" ;;
   28990     "util/check-make-install") CONFIG_FILES="$CONFIG_FILES util/check-make-install" ;;
   28991 
   28992   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   28993   esac
   28994 done
   28995 
   28996 
   28997 # If the user did not use the arguments to specify the items to instantiate,
   28998 # then the envvar interface is used.  Set only those that are not.
   28999 # We use the long form for the default assignment because of an extremely
   29000 # bizarre bug on SunOS 4.1.3.
   29001 if $ac_need_defaults; then
   29002   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   29003   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   29004   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   29005 fi
   29006 
   29007 # Have a temporary directory for convenience.  Make it in the build tree
   29008 # simply because there is no reason against having it here, and in addition,
   29009 # creating and moving files from /tmp can sometimes cause problems.
   29010 # Hook for its removal unless debugging.
   29011 # Note that there is a small window in which the directory will not be cleaned:
   29012 # after its creation but before its name has been assigned to `$tmp'.
   29013 $debug ||
   29014 {
   29015   tmp= ac_tmp=
   29016   trap 'exit_status=$?
   29017   : "${ac_tmp:=$tmp}"
   29018   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   29019 ' 0
   29020   trap 'as_fn_exit 1' 1 2 13 15
   29021 }
   29022 # Create a (secure) tmp directory for tmp files.
   29023 
   29024 {
   29025   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   29026   test -d "$tmp"
   29027 }  ||
   29028 {
   29029   tmp=./conf$$-$RANDOM
   29030   (umask 077 && mkdir "$tmp")
   29031 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   29032 ac_tmp=$tmp
   29033 
   29034 # Set up the scripts for CONFIG_FILES section.
   29035 # No need to generate them if there are no CONFIG_FILES.
   29036 # This happens for instance with `./config.status config.h'.
   29037 if test -n "$CONFIG_FILES"; then
   29038 
   29039 
   29040 ac_cr=`echo X | tr X '\015'`
   29041 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   29042 # But we know of no other shell where ac_cr would be empty at this
   29043 # point, so we can use a bashism as a fallback.
   29044 if test "x$ac_cr" = x; then
   29045   eval ac_cr=\$\'\\r\'
   29046 fi
   29047 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   29048 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   29049   ac_cs_awk_cr='\\r'
   29050 else
   29051   ac_cs_awk_cr=$ac_cr
   29052 fi
   29053 
   29054 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   29055 _ACEOF
   29056 
   29057 
   29058 {
   29059   echo "cat >conf$$subs.awk <<_ACEOF" &&
   29060   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   29061   echo "_ACEOF"
   29062 } >conf$$subs.sh ||
   29063   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   29064 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   29065 ac_delim='%!_!# '
   29066 for ac_last_try in false false false false false :; do
   29067   . ./conf$$subs.sh ||
   29068     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   29069 
   29070   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   29071   if test $ac_delim_n = $ac_delim_num; then
   29072     break
   29073   elif $ac_last_try; then
   29074     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   29075   else
   29076     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   29077   fi
   29078 done
   29079 rm -f conf$$subs.sh
   29080 
   29081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   29082 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   29083 _ACEOF
   29084 sed -n '
   29085 h
   29086 s/^/S["/; s/!.*/"]=/
   29087 p
   29088 g
   29089 s/^[^!]*!//
   29090 :repl
   29091 t repl
   29092 s/'"$ac_delim"'$//
   29093 t delim
   29094 :nl
   29095 h
   29096 s/\(.\{148\}\)..*/\1/
   29097 t more1
   29098 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   29099 p
   29100 n
   29101 b repl
   29102 :more1
   29103 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   29104 p
   29105 g
   29106 s/.\{148\}//
   29107 t nl
   29108 :delim
   29109 h
   29110 s/\(.\{148\}\)..*/\1/
   29111 t more2
   29112 s/["\\]/\\&/g; s/^/"/; s/$/"/
   29113 p
   29114 b
   29115 :more2
   29116 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   29117 p
   29118 g
   29119 s/.\{148\}//
   29120 t delim
   29121 ' <conf$$subs.awk | sed '
   29122 /^[^""]/{
   29123   N
   29124   s/\n//
   29125 }
   29126 ' >>$CONFIG_STATUS || ac_write_fail=1
   29127 rm -f conf$$subs.awk
   29128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   29129 _ACAWK
   29130 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   29131   for (key in S) S_is_set[key] = 1
   29132   FS = ""
   29133 
   29134 }
   29135 {
   29136   line = $ 0
   29137   nfields = split(line, field, "@")
   29138   substed = 0
   29139   len = length(field[1])
   29140   for (i = 2; i < nfields; i++) {
   29141     key = field[i]
   29142     keylen = length(key)
   29143     if (S_is_set[key]) {
   29144       value = S[key]
   29145       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   29146       len += length(value) + length(field[++i])
   29147       substed = 1
   29148     } else
   29149       len += 1 + keylen
   29150   }
   29151 
   29152   print line
   29153 }
   29154 
   29155 _ACAWK
   29156 _ACEOF
   29157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   29158 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   29159   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   29160 else
   29161   cat
   29162 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   29163   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   29164 _ACEOF
   29165 
   29166 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   29167 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   29168 # trailing colons and then remove the whole line if VPATH becomes empty
   29169 # (actually we leave an empty line to preserve line numbers).
   29170 if test "x$srcdir" = x.; then
   29171   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   29172 h
   29173 s///
   29174 s/^/:/
   29175 s/[	 ]*$/:/
   29176 s/:\$(srcdir):/:/g
   29177 s/:\${srcdir}:/:/g
   29178 s/:@srcdir@:/:/g
   29179 s/^:*//
   29180 s/:*$//
   29181 x
   29182 s/\(=[	 ]*\).*/\1/
   29183 G
   29184 s/\n//
   29185 s/^[^=]*=[	 ]*$//
   29186 }'
   29187 fi
   29188 
   29189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   29190 fi # test -n "$CONFIG_FILES"
   29191 
   29192 # Set up the scripts for CONFIG_HEADERS section.
   29193 # No need to generate them if there are no CONFIG_HEADERS.
   29194 # This happens for instance with `./config.status Makefile'.
   29195 if test -n "$CONFIG_HEADERS"; then
   29196 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   29197 BEGIN {
   29198 _ACEOF
   29199 
   29200 # Transform confdefs.h into an awk script `defines.awk', embedded as
   29201 # here-document in config.status, that substitutes the proper values into
   29202 # config.h.in to produce config.h.
   29203 
   29204 # Create a delimiter string that does not exist in confdefs.h, to ease
   29205 # handling of long lines.
   29206 ac_delim='%!_!# '
   29207 for ac_last_try in false false :; do
   29208   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   29209   if test -z "$ac_tt"; then
   29210     break
   29211   elif $ac_last_try; then
   29212     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   29213   else
   29214     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   29215   fi
   29216 done
   29217 
   29218 # For the awk script, D is an array of macro values keyed by name,
   29219 # likewise P contains macro parameters if any.  Preserve backslash
   29220 # newline sequences.
   29221 
   29222 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   29223 sed -n '
   29224 s/.\{148\}/&'"$ac_delim"'/g
   29225 t rset
   29226 :rset
   29227 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   29228 t def
   29229 d
   29230 :def
   29231 s/\\$//
   29232 t bsnl
   29233 s/["\\]/\\&/g
   29234 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   29235 D["\1"]=" \3"/p
   29236 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   29237 d
   29238 :bsnl
   29239 s/["\\]/\\&/g
   29240 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   29241 D["\1"]=" \3\\\\\\n"\\/p
   29242 t cont
   29243 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   29244 t cont
   29245 d
   29246 :cont
   29247 n
   29248 s/.\{148\}/&'"$ac_delim"'/g
   29249 t clear
   29250 :clear
   29251 s/\\$//
   29252 t bsnlc
   29253 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   29254 d
   29255 :bsnlc
   29256 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   29257 b cont
   29258 ' <confdefs.h | sed '
   29259 s/'"$ac_delim"'/"\\\
   29260 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   29261 
   29262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   29263   for (key in D) D_is_set[key] = 1
   29264   FS = ""
   29265 }
   29266 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   29267   line = \$ 0
   29268   split(line, arg, " ")
   29269   if (arg[1] == "#") {
   29270     defundef = arg[2]
   29271     mac1 = arg[3]
   29272   } else {
   29273     defundef = substr(arg[1], 2)
   29274     mac1 = arg[2]
   29275   }
   29276   split(mac1, mac2, "(") #)
   29277   macro = mac2[1]
   29278   prefix = substr(line, 1, index(line, defundef) - 1)
   29279   if (D_is_set[macro]) {
   29280     # Preserve the white space surrounding the "#".
   29281     print prefix "define", macro P[macro] D[macro]
   29282     next
   29283   } else {
   29284     # Replace #undef with comments.  This is necessary, for example,
   29285     # in the case of _POSIX_SOURCE, which is predefined and required
   29286     # on some systems where configure will not decide to define it.
   29287     if (defundef == "undef") {
   29288       print "/*", prefix defundef, macro, "*/"
   29289       next
   29290     }
   29291   }
   29292 }
   29293 { print }
   29294 _ACAWK
   29295 _ACEOF
   29296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   29297   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   29298 fi # test -n "$CONFIG_HEADERS"
   29299 
   29300 
   29301 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   29302 shift
   29303 for ac_tag
   29304 do
   29305   case $ac_tag in
   29306   :[FHLC]) ac_mode=$ac_tag; continue;;
   29307   esac
   29308   case $ac_mode$ac_tag in
   29309   :[FHL]*:*);;
   29310   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   29311   :[FH]-) ac_tag=-:-;;
   29312   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   29313   esac
   29314   ac_save_IFS=$IFS
   29315   IFS=:
   29316   set x $ac_tag
   29317   IFS=$ac_save_IFS
   29318   shift
   29319   ac_file=$1
   29320   shift
   29321 
   29322   case $ac_mode in
   29323   :L) ac_source=$1;;
   29324   :[FH])
   29325     ac_file_inputs=
   29326     for ac_f
   29327     do
   29328       case $ac_f in
   29329       -) ac_f="$ac_tmp/stdin";;
   29330       *) # Look for the file first in the build tree, then in the source tree
   29331 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   29332 	 # because $ac_f cannot contain `:'.
   29333 	 test -f "$ac_f" ||
   29334 	   case $ac_f in
   29335 	   [\\/$]*) false;;
   29336 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   29337 	   esac ||
   29338 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   29339       esac
   29340       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   29341       as_fn_append ac_file_inputs " '$ac_f'"
   29342     done
   29343 
   29344     # Let's still pretend it is `configure' which instantiates (i.e., don't
   29345     # use $as_me), people would be surprised to read:
   29346     #    /* config.h.  Generated by config.status.  */
   29347     configure_input='Generated from '`
   29348 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   29349 	`' by configure.'
   29350     if test x"$ac_file" != x-; then
   29351       configure_input="$ac_file.  $configure_input"
   29352       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   29353 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   29354     fi
   29355     # Neutralize special characters interpreted by sed in replacement strings.
   29356     case $configure_input in #(
   29357     *\&* | *\|* | *\\* )
   29358        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   29359        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   29360     *) ac_sed_conf_input=$configure_input;;
   29361     esac
   29362 
   29363     case $ac_tag in
   29364     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   29365       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   29366     esac
   29367     ;;
   29368   esac
   29369 
   29370   ac_dir=`$as_dirname -- "$ac_file" ||
   29371 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   29372 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   29373 	 X"$ac_file" : 'X\(//\)$' \| \
   29374 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   29375 printf "%s\n" X"$ac_file" |
   29376     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   29377 	    s//\1/
   29378 	    q
   29379 	  }
   29380 	  /^X\(\/\/\)[^/].*/{
   29381 	    s//\1/
   29382 	    q
   29383 	  }
   29384 	  /^X\(\/\/\)$/{
   29385 	    s//\1/
   29386 	    q
   29387 	  }
   29388 	  /^X\(\/\).*/{
   29389 	    s//\1/
   29390 	    q
   29391 	  }
   29392 	  s/.*/./; q'`
   29393   as_dir="$ac_dir"; as_fn_mkdir_p
   29394   ac_builddir=.
   29395 
   29396 case "$ac_dir" in
   29397 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   29398 *)
   29399   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   29400   # A ".." for each directory in $ac_dir_suffix.
   29401   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   29402   case $ac_top_builddir_sub in
   29403   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   29404   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   29405   esac ;;
   29406 esac
   29407 ac_abs_top_builddir=$ac_pwd
   29408 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   29409 # for backward compatibility:
   29410 ac_top_builddir=$ac_top_build_prefix
   29411 
   29412 case $srcdir in
   29413   .)  # We are building in place.
   29414     ac_srcdir=.
   29415     ac_top_srcdir=$ac_top_builddir_sub
   29416     ac_abs_top_srcdir=$ac_pwd ;;
   29417   [\\/]* | ?:[\\/]* )  # Absolute name.
   29418     ac_srcdir=$srcdir$ac_dir_suffix;
   29419     ac_top_srcdir=$srcdir
   29420     ac_abs_top_srcdir=$srcdir ;;
   29421   *) # Relative name.
   29422     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   29423     ac_top_srcdir=$ac_top_build_prefix$srcdir
   29424     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   29425 esac
   29426 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   29427 
   29428 
   29429   case $ac_mode in
   29430   :F)
   29431   #
   29432   # CONFIG_FILE
   29433   #
   29434 
   29435   case $INSTALL in
   29436   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   29437   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   29438   esac
   29439   ac_MKDIR_P=$MKDIR_P
   29440   case $MKDIR_P in
   29441   [\\/$]* | ?:[\\/]* ) ;;
   29442   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   29443   esac
   29444 _ACEOF
   29445 
   29446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   29447 # If the template does not know about datarootdir, expand it.
   29448 # FIXME: This hack should be removed a few years after 2.60.
   29449 ac_datarootdir_hack=; ac_datarootdir_seen=
   29450 ac_sed_dataroot='
   29451 /datarootdir/ {
   29452   p
   29453   q
   29454 }
   29455 /@datadir@/p
   29456 /@docdir@/p
   29457 /@infodir@/p
   29458 /@localedir@/p
   29459 /@mandir@/p'
   29460 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   29461 *datarootdir*) ac_datarootdir_seen=yes;;
   29462 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   29463   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   29464 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   29465 _ACEOF
   29466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   29467   ac_datarootdir_hack='
   29468   s&@datadir@&$datadir&g
   29469   s&@docdir@&$docdir&g
   29470   s&@infodir@&$infodir&g
   29471   s&@localedir@&$localedir&g
   29472   s&@mandir@&$mandir&g
   29473   s&\\\${datarootdir}&$datarootdir&g' ;;
   29474 esac
   29475 _ACEOF
   29476 
   29477 # Neutralize VPATH when `$srcdir' = `.'.
   29478 # Shell code in configure.ac might set extrasub.
   29479 # FIXME: do we really want to maintain this feature?
   29480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   29481 ac_sed_extra="$ac_vpsub
   29482 $extrasub
   29483 _ACEOF
   29484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   29485 :t
   29486 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   29487 s|@configure_input@|$ac_sed_conf_input|;t t
   29488 s&@top_builddir@&$ac_top_builddir_sub&;t t
   29489 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   29490 s&@srcdir@&$ac_srcdir&;t t
   29491 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   29492 s&@top_srcdir@&$ac_top_srcdir&;t t
   29493 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   29494 s&@builddir@&$ac_builddir&;t t
   29495 s&@abs_builddir@&$ac_abs_builddir&;t t
   29496 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   29497 s&@INSTALL@&$ac_INSTALL&;t t
   29498 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   29499 $ac_datarootdir_hack
   29500 "
   29501 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   29502   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   29503 
   29504 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   29505   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   29506   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   29507       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   29508   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   29509 which seems to be undefined.  Please make sure it is defined" >&5
   29510 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   29511 which seems to be undefined.  Please make sure it is defined" >&2;}
   29512 
   29513   rm -f "$ac_tmp/stdin"
   29514   case $ac_file in
   29515   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   29516   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   29517   esac \
   29518   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   29519  ;;
   29520   :H)
   29521   #
   29522   # CONFIG_HEADER
   29523   #
   29524   if test x"$ac_file" != x-; then
   29525     {
   29526       printf "%s\n" "/* $configure_input  */" >&1 \
   29527       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   29528     } >"$ac_tmp/config.h" \
   29529       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   29530     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   29531       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   29532 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   29533     else
   29534       rm -f "$ac_file"
   29535       mv "$ac_tmp/config.h" "$ac_file" \
   29536 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   29537     fi
   29538   else
   29539     printf "%s\n" "/* $configure_input  */" >&1 \
   29540       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   29541       || as_fn_error $? "could not create -" "$LINENO" 5
   29542   fi
   29543 # Compute "$ac_file"'s index in $config_headers.
   29544 _am_arg="$ac_file"
   29545 _am_stamp_count=1
   29546 for _am_header in $config_headers :; do
   29547   case $_am_header in
   29548     $_am_arg | $_am_arg:* )
   29549       break ;;
   29550     * )
   29551       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   29552   esac
   29553 done
   29554 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   29555 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   29556 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   29557 	 X"$_am_arg" : 'X\(//\)$' \| \
   29558 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   29559 printf "%s\n" X"$_am_arg" |
   29560     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   29561 	    s//\1/
   29562 	    q
   29563 	  }
   29564 	  /^X\(\/\/\)[^/].*/{
   29565 	    s//\1/
   29566 	    q
   29567 	  }
   29568 	  /^X\(\/\/\)$/{
   29569 	    s//\1/
   29570 	    q
   29571 	  }
   29572 	  /^X\(\/\).*/{
   29573 	    s//\1/
   29574 	    q
   29575 	  }
   29576 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   29577  ;;
   29578 
   29579   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   29580 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   29581  ;;
   29582   esac
   29583 
   29584 
   29585   case $ac_file$ac_mode in
   29586     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   29587   # Older Autoconf quotes --file arguments for eval, but not when files
   29588   # are listed without --file.  Let's play safe and only enable the eval
   29589   # if we detect the quoting.
   29590   # TODO: see whether this extra hack can be removed once we start
   29591   # requiring Autoconf 2.70 or later.
   29592   case $CONFIG_FILES in #(
   29593   *\'*) :
   29594     eval set x "$CONFIG_FILES" ;; #(
   29595   *) :
   29596     set x $CONFIG_FILES ;; #(
   29597   *) :
   29598      ;;
   29599 esac
   29600   shift
   29601   # Used to flag and report bootstrapping failures.
   29602   am_rc=0
   29603   for am_mf
   29604   do
   29605     # Strip MF so we end up with the name of the file.
   29606     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   29607     # Check whether this is an Automake generated Makefile which includes
   29608     # dependency-tracking related rules and includes.
   29609     # Grep'ing the whole file directly is not great: AIX grep has a line
   29610     # limit of 2048, but all sed's we know have understand at least 4000.
   29611     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   29612       || continue
   29613     am_dirpart=`$as_dirname -- "$am_mf" ||
   29614 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   29615 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   29616 	 X"$am_mf" : 'X\(//\)$' \| \
   29617 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   29618 printf "%s\n" X"$am_mf" |
   29619     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   29620 	    s//\1/
   29621 	    q
   29622 	  }
   29623 	  /^X\(\/\/\)[^/].*/{
   29624 	    s//\1/
   29625 	    q
   29626 	  }
   29627 	  /^X\(\/\/\)$/{
   29628 	    s//\1/
   29629 	    q
   29630 	  }
   29631 	  /^X\(\/\).*/{
   29632 	    s//\1/
   29633 	    q
   29634 	  }
   29635 	  s/.*/./; q'`
   29636     am_filepart=`$as_basename -- "$am_mf" ||
   29637 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   29638 	 X"$am_mf" : 'X\(//\)$' \| \
   29639 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   29640 printf "%s\n" X/"$am_mf" |
   29641     sed '/^.*\/\([^/][^/]*\)\/*$/{
   29642 	    s//\1/
   29643 	    q
   29644 	  }
   29645 	  /^X\/\(\/\/\)$/{
   29646 	    s//\1/
   29647 	    q
   29648 	  }
   29649 	  /^X\/\(\/\).*/{
   29650 	    s//\1/
   29651 	    q
   29652 	  }
   29653 	  s/.*/./; q'`
   29654     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   29655       && sed -e '/# am--include-marker/d' "$am_filepart" \
   29656         | $MAKE -f - am--depfiles" >&5
   29657    (cd "$am_dirpart" \
   29658       && sed -e '/# am--include-marker/d' "$am_filepart" \
   29659         | $MAKE -f - am--depfiles) >&5 2>&5
   29660    ac_status=$?
   29661    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   29662    (exit $ac_status); } || am_rc=$?
   29663   done
   29664   if test $am_rc -ne 0; then
   29665     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   29666 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   29667 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   29668     for automatic dependency tracking.  If GNU make was not used, consider
   29669     re-running the configure script with MAKE=\"gmake\" (or whatever is
   29670     necessary).  You can also try re-running configure with the
   29671     '--disable-dependency-tracking' option to at least be able to build
   29672     the package (albeit without support for automatic dependency tracking).
   29673 See \`config.log' for more details" "$LINENO" 5; }
   29674   fi
   29675   { am_dirpart=; unset am_dirpart;}
   29676   { am_filepart=; unset am_filepart;}
   29677   { am_mf=; unset am_mf;}
   29678   { am_rc=; unset am_rc;}
   29679   rm -f conftest-deps.mk
   29680 }
   29681  ;;
   29682     "libtool":C)
   29683 
   29684     # See if we are running on zsh, and set the options that allow our
   29685     # commands through without removal of \ escapes.
   29686     if test -n "${ZSH_VERSION+set}"; then
   29687       setopt NO_GLOB_SUBST
   29688     fi
   29689 
   29690     cfgfile=${ofile}T
   29691     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   29692     $RM "$cfgfile"
   29693 
   29694     cat <<_LT_EOF >> "$cfgfile"
   29695 #! $SHELL
   29696 # Generated automatically by $as_me ($PACKAGE) $VERSION
   29697 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   29698 
   29699 # Provide generalized library-building support services.
   29700 # Written by Gordon Matzigkeit, 1996
   29701 
   29702 # Copyright (C) 2014 Free Software Foundation, Inc.
   29703 # This is free software; see the source for copying conditions.  There is NO
   29704 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   29705 
   29706 # GNU Libtool is free software; you can redistribute it and/or modify
   29707 # it under the terms of the GNU General Public License as published by
   29708 # the Free Software Foundation; either version 2 of of the License, or
   29709 # (at your option) any later version.
   29710 #
   29711 # As a special exception to the GNU General Public License, if you
   29712 # distribute this file as part of a program or library that is built
   29713 # using GNU Libtool, you may include this file under the  same
   29714 # distribution terms that you use for the rest of that program.
   29715 #
   29716 # GNU Libtool is distributed in the hope that it will be useful, but
   29717 # WITHOUT ANY WARRANTY; without even the implied warranty of
   29718 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   29719 # GNU General Public License for more details.
   29720 #
   29721 # You should have received a copy of the GNU General Public License
   29722 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   29723 
   29724 
   29725 # The names of the tagged configurations supported by this script.
   29726 available_tags=''
   29727 
   29728 # Configured defaults for sys_lib_dlsearch_path munging.
   29729 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   29730 
   29731 # ### BEGIN LIBTOOL CONFIG
   29732 
   29733 # Which release of libtool.m4 was used?
   29734 macro_version=$macro_version
   29735 macro_revision=$macro_revision
   29736 
   29737 # Whether or not to build static libraries.
   29738 build_old_libs=$enable_static
   29739 
   29740 # What type of objects to build.
   29741 pic_mode=$pic_mode
   29742 
   29743 # Whether or not to build shared libraries.
   29744 build_libtool_libs=$enable_shared
   29745 
   29746 # Whether or not to optimize for fast installation.
   29747 fast_install=$enable_fast_install
   29748 
   29749 # Shared archive member basename,for filename based shared library versioning on AIX.
   29750 shared_archive_member_spec=$shared_archive_member_spec
   29751 
   29752 # Shell to use when invoking shell scripts.
   29753 SHELL=$lt_SHELL
   29754 
   29755 # An echo program that protects backslashes.
   29756 ECHO=$lt_ECHO
   29757 
   29758 # The PATH separator for the build system.
   29759 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   29760 
   29761 # The host system.
   29762 host_alias=$host_alias
   29763 host=$host
   29764 host_os=$host_os
   29765 
   29766 # The build system.
   29767 build_alias=$build_alias
   29768 build=$build
   29769 build_os=$build_os
   29770 
   29771 # A sed program that does not truncate output.
   29772 SED=$lt_SED
   29773 
   29774 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   29775 Xsed="\$SED -e 1s/^X//"
   29776 
   29777 # A grep program that handles long lines.
   29778 GREP=$lt_GREP
   29779 
   29780 # An ERE matcher.
   29781 EGREP=$lt_EGREP
   29782 
   29783 # A literal string matcher.
   29784 FGREP=$lt_FGREP
   29785 
   29786 # A BSD- or MS-compatible name lister.
   29787 NM=$lt_NM
   29788 
   29789 # Whether we need soft or hard links.
   29790 LN_S=$lt_LN_S
   29791 
   29792 # What is the maximum length of a command?
   29793 max_cmd_len=$max_cmd_len
   29794 
   29795 # Object file suffix (normally "o").
   29796 objext=$ac_objext
   29797 
   29798 # Executable file suffix (normally "").
   29799 exeext=$exeext
   29800 
   29801 # whether the shell understands "unset".
   29802 lt_unset=$lt_unset
   29803 
   29804 # turn spaces into newlines.
   29805 SP2NL=$lt_lt_SP2NL
   29806 
   29807 # turn newlines into spaces.
   29808 NL2SP=$lt_lt_NL2SP
   29809 
   29810 # convert \$build file names to \$host format.
   29811 to_host_file_cmd=$lt_cv_to_host_file_cmd
   29812 
   29813 # convert \$build files to toolchain format.
   29814 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   29815 
   29816 # A file(cmd) program that detects file types.
   29817 FILECMD=$lt_FILECMD
   29818 
   29819 # An object symbol dumper.
   29820 OBJDUMP=$lt_OBJDUMP
   29821 
   29822 # Method to check whether dependent libraries are shared objects.
   29823 deplibs_check_method=$lt_deplibs_check_method
   29824 
   29825 # Command to use when deplibs_check_method = "file_magic".
   29826 file_magic_cmd=$lt_file_magic_cmd
   29827 
   29828 # How to find potential files when deplibs_check_method = "file_magic".
   29829 file_magic_glob=$lt_file_magic_glob
   29830 
   29831 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   29832 want_nocaseglob=$lt_want_nocaseglob
   29833 
   29834 # DLL creation program.
   29835 DLLTOOL=$lt_DLLTOOL
   29836 
   29837 # Command to associate shared and link libraries.
   29838 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   29839 
   29840 # The archiver.
   29841 AR=$lt_AR
   29842 
   29843 # Flags to create an archive (by configure).
   29844 lt_ar_flags=$lt_ar_flags
   29845 
   29846 # Flags to create an archive.
   29847 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   29848 
   29849 # How to feed a file listing to the archiver.
   29850 archiver_list_spec=$lt_archiver_list_spec
   29851 
   29852 # A symbol stripping program.
   29853 STRIP=$lt_STRIP
   29854 
   29855 # Commands used to install an old-style archive.
   29856 RANLIB=$lt_RANLIB
   29857 old_postinstall_cmds=$lt_old_postinstall_cmds
   29858 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   29859 
   29860 # Whether to use a lock for old archive extraction.
   29861 lock_old_archive_extraction=$lock_old_archive_extraction
   29862 
   29863 # A C compiler.
   29864 LTCC=$lt_CC
   29865 
   29866 # LTCC compiler flags.
   29867 LTCFLAGS=$lt_CFLAGS
   29868 
   29869 # Take the output of nm and produce a listing of raw symbols and C names.
   29870 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   29871 
   29872 # Transform the output of nm in a proper C declaration.
   29873 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   29874 
   29875 # Transform the output of nm into a list of symbols to manually relocate.
   29876 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   29877 
   29878 # Transform the output of nm in a C name address pair.
   29879 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   29880 
   29881 # Transform the output of nm in a C name address pair when lib prefix is needed.
   29882 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   29883 
   29884 # The name lister interface.
   29885 nm_interface=$lt_lt_cv_nm_interface
   29886 
   29887 # Specify filename containing input files for \$NM.
   29888 nm_file_list_spec=$lt_nm_file_list_spec
   29889 
   29890 # The root where to search for dependent libraries,and where our libraries should be installed.
   29891 lt_sysroot=$lt_sysroot
   29892 
   29893 # Command to truncate a binary pipe.
   29894 lt_truncate_bin=$lt_lt_cv_truncate_bin
   29895 
   29896 # The name of the directory that contains temporary libtool files.
   29897 objdir=$objdir
   29898 
   29899 # Used to examine libraries when file_magic_cmd begins with "file".
   29900 MAGIC_CMD=$MAGIC_CMD
   29901 
   29902 # Must we lock files when doing compilation?
   29903 need_locks=$lt_need_locks
   29904 
   29905 # Manifest tool.
   29906 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   29907 
   29908 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   29909 DSYMUTIL=$lt_DSYMUTIL
   29910 
   29911 # Tool to change global to local symbols on Mac OS X.
   29912 NMEDIT=$lt_NMEDIT
   29913 
   29914 # Tool to manipulate fat objects and archives on Mac OS X.
   29915 LIPO=$lt_LIPO
   29916 
   29917 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   29918 OTOOL=$lt_OTOOL
   29919 
   29920 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   29921 OTOOL64=$lt_OTOOL64
   29922 
   29923 # Old archive suffix (normally "a").
   29924 libext=$libext
   29925 
   29926 # Shared library suffix (normally ".so").
   29927 shrext_cmds=$lt_shrext_cmds
   29928 
   29929 # The commands to extract the exported symbol list from a shared archive.
   29930 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   29931 
   29932 # Variables whose values should be saved in libtool wrapper scripts and
   29933 # restored at link time.
   29934 variables_saved_for_relink=$lt_variables_saved_for_relink
   29935 
   29936 # Do we need the "lib" prefix for modules?
   29937 need_lib_prefix=$need_lib_prefix
   29938 
   29939 # Do we need a version for libraries?
   29940 need_version=$need_version
   29941 
   29942 # Library versioning type.
   29943 version_type=$version_type
   29944 
   29945 # Shared library runtime path variable.
   29946 runpath_var=$runpath_var
   29947 
   29948 # Shared library path variable.
   29949 shlibpath_var=$shlibpath_var
   29950 
   29951 # Is shlibpath searched before the hard-coded library search path?
   29952 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   29953 
   29954 # Format of library name prefix.
   29955 libname_spec=$lt_libname_spec
   29956 
   29957 # List of archive names.  First name is the real one, the rest are links.
   29958 # The last name is the one that the linker finds with -lNAME
   29959 library_names_spec=$lt_library_names_spec
   29960 
   29961 # The coded name of the library, if different from the real name.
   29962 soname_spec=$lt_soname_spec
   29963 
   29964 # Permission mode override for installation of shared libraries.
   29965 install_override_mode=$lt_install_override_mode
   29966 
   29967 # Command to use after installation of a shared archive.
   29968 postinstall_cmds=$lt_postinstall_cmds
   29969 
   29970 # Command to use after uninstallation of a shared archive.
   29971 postuninstall_cmds=$lt_postuninstall_cmds
   29972 
   29973 # Commands used to finish a libtool library installation in a directory.
   29974 finish_cmds=$lt_finish_cmds
   29975 
   29976 # As "finish_cmds", except a single script fragment to be evaled but
   29977 # not shown.
   29978 finish_eval=$lt_finish_eval
   29979 
   29980 # Whether we should hardcode library paths into libraries.
   29981 hardcode_into_libs=$hardcode_into_libs
   29982 
   29983 # Compile-time system search path for libraries.
   29984 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   29985 
   29986 # Detected run-time system search path for libraries.
   29987 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   29988 
   29989 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   29990 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   29991 
   29992 # Whether dlopen is supported.
   29993 dlopen_support=$enable_dlopen
   29994 
   29995 # Whether dlopen of programs is supported.
   29996 dlopen_self=$enable_dlopen_self
   29997 
   29998 # Whether dlopen of statically linked programs is supported.
   29999 dlopen_self_static=$enable_dlopen_self_static
   30000 
   30001 # Commands to strip libraries.
   30002 old_striplib=$lt_old_striplib
   30003 striplib=$lt_striplib
   30004 
   30005 
   30006 # The linker used to build libraries.
   30007 LD=$lt_LD
   30008 
   30009 # How to create reloadable object files.
   30010 reload_flag=$lt_reload_flag
   30011 reload_cmds=$lt_reload_cmds
   30012 
   30013 # Commands used to build an old-style archive.
   30014 old_archive_cmds=$lt_old_archive_cmds
   30015 
   30016 # A language specific compiler.
   30017 CC=$lt_compiler
   30018 
   30019 # Is the compiler the GNU compiler?
   30020 with_gcc=$GCC
   30021 
   30022 # Compiler flag to turn off builtin functions.
   30023 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   30024 
   30025 # Additional compiler flags for building library objects.
   30026 pic_flag=$lt_lt_prog_compiler_pic
   30027 
   30028 # How to pass a linker flag through the compiler.
   30029 wl=$lt_lt_prog_compiler_wl
   30030 
   30031 # Compiler flag to prevent dynamic linking.
   30032 link_static_flag=$lt_lt_prog_compiler_static
   30033 
   30034 # Does compiler simultaneously support -c and -o options?
   30035 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   30036 
   30037 # Whether or not to add -lc for building shared libraries.
   30038 build_libtool_need_lc=$archive_cmds_need_lc
   30039 
   30040 # Whether or not to disallow shared libs when runtime libs are static.
   30041 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   30042 
   30043 # Compiler flag to allow reflexive dlopens.
   30044 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   30045 
   30046 # Compiler flag to generate shared objects directly from archives.
   30047 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   30048 
   30049 # Whether the compiler copes with passing no objects directly.
   30050 compiler_needs_object=$lt_compiler_needs_object
   30051 
   30052 # Create an old-style archive from a shared archive.
   30053 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   30054 
   30055 # Create a temporary old-style archive to link instead of a shared archive.
   30056 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   30057 
   30058 # Commands used to build a shared archive.
   30059 archive_cmds=$lt_archive_cmds
   30060 archive_expsym_cmds=$lt_archive_expsym_cmds
   30061 
   30062 # Commands used to build a loadable module if different from building
   30063 # a shared archive.
   30064 module_cmds=$lt_module_cmds
   30065 module_expsym_cmds=$lt_module_expsym_cmds
   30066 
   30067 # Whether we are building with GNU ld or not.
   30068 with_gnu_ld=$lt_with_gnu_ld
   30069 
   30070 # Flag that allows shared libraries with undefined symbols to be built.
   30071 allow_undefined_flag=$lt_allow_undefined_flag
   30072 
   30073 # Flag that enforces no undefined symbols.
   30074 no_undefined_flag=$lt_no_undefined_flag
   30075 
   30076 # Flag to hardcode \$libdir into a binary during linking.
   30077 # This must work even if \$libdir does not exist
   30078 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   30079 
   30080 # Whether we need a single "-rpath" flag with a separated argument.
   30081 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   30082 
   30083 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   30084 # DIR into the resulting binary.
   30085 hardcode_direct=$hardcode_direct
   30086 
   30087 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   30088 # DIR into the resulting binary and the resulting library dependency is
   30089 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   30090 # library is relocated.
   30091 hardcode_direct_absolute=$hardcode_direct_absolute
   30092 
   30093 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   30094 # into the resulting binary.
   30095 hardcode_minus_L=$hardcode_minus_L
   30096 
   30097 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   30098 # into the resulting binary.
   30099 hardcode_shlibpath_var=$hardcode_shlibpath_var
   30100 
   30101 # Set to "yes" if building a shared library automatically hardcodes DIR
   30102 # into the library and all subsequent libraries and executables linked
   30103 # against it.
   30104 hardcode_automatic=$hardcode_automatic
   30105 
   30106 # Set to yes if linker adds runtime paths of dependent libraries
   30107 # to runtime path list.
   30108 inherit_rpath=$inherit_rpath
   30109 
   30110 # Whether libtool must link a program against all its dependency libraries.
   30111 link_all_deplibs=$link_all_deplibs
   30112 
   30113 # Set to "yes" if exported symbols are required.
   30114 always_export_symbols=$always_export_symbols
   30115 
   30116 # The commands to list exported symbols.
   30117 export_symbols_cmds=$lt_export_symbols_cmds
   30118 
   30119 # Symbols that should not be listed in the preloaded symbols.
   30120 exclude_expsyms=$lt_exclude_expsyms
   30121 
   30122 # Symbols that must always be exported.
   30123 include_expsyms=$lt_include_expsyms
   30124 
   30125 # Commands necessary for linking programs (against libraries) with templates.
   30126 prelink_cmds=$lt_prelink_cmds
   30127 
   30128 # Commands necessary for finishing linking programs.
   30129 postlink_cmds=$lt_postlink_cmds
   30130 
   30131 # Specify filename containing input files.
   30132 file_list_spec=$lt_file_list_spec
   30133 
   30134 # How to hardcode a shared library path into an executable.
   30135 hardcode_action=$hardcode_action
   30136 
   30137 # ### END LIBTOOL CONFIG
   30138 
   30139 _LT_EOF
   30140 
   30141     cat <<'_LT_EOF' >> "$cfgfile"
   30142 
   30143 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   30144 
   30145 # func_munge_path_list VARIABLE PATH
   30146 # -----------------------------------
   30147 # VARIABLE is name of variable containing _space_ separated list of
   30148 # directories to be munged by the contents of PATH, which is string
   30149 # having a format:
   30150 # "DIR[:DIR]:"
   30151 #       string "DIR[ DIR]" will be prepended to VARIABLE
   30152 # ":DIR[:DIR]"
   30153 #       string "DIR[ DIR]" will be appended to VARIABLE
   30154 # "DIRP[:DIRP]::[DIRA:]DIRA"
   30155 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   30156 #       "DIRA[ DIRA]" will be appended to VARIABLE
   30157 # "DIR[:DIR]"
   30158 #       VARIABLE will be replaced by "DIR[ DIR]"
   30159 func_munge_path_list ()
   30160 {
   30161     case x$2 in
   30162     x)
   30163         ;;
   30164     *:)
   30165         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   30166         ;;
   30167     x:*)
   30168         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   30169         ;;
   30170     *::*)
   30171         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   30172         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   30173         ;;
   30174     *)
   30175         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   30176         ;;
   30177     esac
   30178 }
   30179 
   30180 
   30181 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   30182 func_cc_basename ()
   30183 {
   30184     for cc_temp in $*""; do
   30185       case $cc_temp in
   30186         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   30187         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   30188         \-*) ;;
   30189         *) break;;
   30190       esac
   30191     done
   30192     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   30193 }
   30194 
   30195 
   30196 # ### END FUNCTIONS SHARED WITH CONFIGURE
   30197 
   30198 _LT_EOF
   30199 
   30200   case $host_os in
   30201   aix3*)
   30202     cat <<\_LT_EOF >> "$cfgfile"
   30203 # AIX sometimes has problems with the GCC collect2 program.  For some
   30204 # reason, if we set the COLLECT_NAMES environment variable, the problems
   30205 # vanish in a puff of smoke.
   30206 if test set != "${COLLECT_NAMES+set}"; then
   30207   COLLECT_NAMES=
   30208   export COLLECT_NAMES
   30209 fi
   30210 _LT_EOF
   30211     ;;
   30212   esac
   30213 
   30214 
   30215 
   30216 ltmain=$ac_aux_dir/ltmain.sh
   30217 
   30218 
   30219   # We use sed instead of cat because bash on DJGPP gets confused if
   30220   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   30221   # text mode, it properly converts lines to CR/LF.  This bash problem
   30222   # is reportedly fixed, but why not run on old versions too?
   30223   $SED '$q' "$ltmain" >> "$cfgfile" \
   30224      || (rm -f "$cfgfile"; exit 1)
   30225 
   30226    mv -f "$cfgfile" "$ofile" ||
   30227     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   30228   chmod +x "$ofile"
   30229 
   30230  ;;
   30231     "doc/doxygen/doxygen-input-filter":F) chmod +x doc/doxygen/doxygen-input-filter ;;
   30232     "tests/unit-test-driver.sh":F) chmod +x tests/unit-test-driver.sh ;;
   30233     "bin/tests/system/ifconfig.sh":F) chmod +x bin/tests/system/ifconfig.sh ;;
   30234     "bin/tests/system/legacy.run.sh":F) chmod +x bin/tests/system/legacy.run.sh ;;
   30235     "bin/tests/system/start.sh":F) chmod +x bin/tests/system/start.sh ;;
   30236     "bin/tests/system/stop.sh":F) chmod +x bin/tests/system/stop.sh ;;
   30237 
   30238   esac
   30239 done # for ac_tag
   30240 
   30241 
   30242 as_fn_exit 0
   30243 _ACEOF
   30244 ac_clean_files=$ac_clean_files_save
   30245 
   30246 test $ac_write_fail = 0 ||
   30247   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   30248 
   30249 
   30250 # configure is writing to config.log, and then calls config.status.
   30251 # config.status does its own redirection, appending to config.log.
   30252 # Unfortunately, on DOS this fails, as config.log is still kept open
   30253 # by configure, so config.status won't be able to write to it; its
   30254 # output is simply discarded.  So we exec the FD to /dev/null,
   30255 # effectively closing config.log, so it can be properly (re)opened and
   30256 # appended to by config.status.  When coming back to configure, we
   30257 # need to make the FD available again.
   30258 if test "$no_create" != yes; then
   30259   ac_cs_success=:
   30260   ac_config_status_args=
   30261   test "$silent" = yes &&
   30262     ac_config_status_args="$ac_config_status_args --quiet"
   30263   exec 5>/dev/null
   30264   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   30265   exec 5>>config.log
   30266   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   30267   # would make configure fail if this is the last instruction.
   30268   $ac_cs_success || as_fn_exit 1
   30269 fi
   30270 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   30271   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   30272 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   30273 fi
   30274 
   30275 
   30276 # [pairwise: --enable-full-report, --disable-full-report]
   30277 # Check whether --enable-full-report was given.
   30278 if test ${enable_full_report+y}
   30279 then :
   30280   enableval=$enable_full_report;
   30281 fi
   30282 
   30283 
   30284 report() {
   30285     echo "==============================================================================="
   30286     echo "Configuration summary:"
   30287     echo "-------------------------------------------------------------------------------"
   30288     echo "Optional features enabled:"
   30289     if test "yes" = "$with_jemalloc"; then
   30290 	echo "    Memory allocator: jemalloc"
   30291     fi
   30292     if test "yes" = "$enable_full_report" -o "standard" = "$with_locktype"; then
   30293 	echo "    Mutex lock type: $with_locktype"
   30294     fi
   30295     test "small" = "$with_tuning" && echo "    Small-system tuning (--with-tuning)"
   30296     test "no" = "$enable_dnstap" || \
   30297 	    echo "    Allow 'dnstap' packet logging (--enable-dnstap)"
   30298     test -z "$MAXMINDDB_LIBS" || echo "    GeoIP2 access control (--enable-geoip)"
   30299     test -z "$GSSAPI_LIBS" || echo "    GSS-API (--with-gssapi)"
   30300 
   30301     # these lines are only printed if run with --enable-full-report
   30302     if test "yes" = "$enable_full_report"; then
   30303 	test -z "$LIBXML2_LIBS" || echo "    XML statistics (--with-libxml2)"
   30304 	test -z "$JSON_C_LIBS" || echo "    JSON statistics (--with-json-c): $JSON_C_CFLAGS $JSON_C_LIBS"
   30305 	test -z "$ZLIB_LIBS" || echo "    HTTP zlib compression (--with-zlib)"
   30306 	test -z "$LMDB_LIBS" || echo "    LMDB database to store configuration for 'addzone' zones (--with-lmdb)"
   30307 	test -z "$LIBIDN2_LIBS" || echo "    IDN support (--with-libidn2)"
   30308     fi
   30309 
   30310     test "yes" = "$enable_dnsrps" && \
   30311 	echo "    DNS Response Policy Service interface (--enable-dnsrps)"
   30312     test "yes" = "$enable_fixed_rrset" && \
   30313 	echo "    Allow 'fixed' rrset-order (--enable-fixed-rrset)"
   30314     test "yes" = "$enable_querytrace" && \
   30315 	echo "    Very verbose query trace logging (--enable-querytrace)"
   30316     test "yes" = "$enable_singletrace" && \
   30317 	echo "    Single-query trace logging (--enable-singletrace)"
   30318     test -z "$HAVE_CMOCKA" || echo "    CMocka Unit Testing Framework (--with-cmocka)"
   30319 
   30320     test "auto" = "$validation_default" && echo "    DNSSEC validation active by default (--enable-auto-validation)"
   30321 
   30322     echo "-------------------------------------------------------------------------------"
   30323 
   30324     echo "Features disabled or unavailable on this platform:"
   30325     if test "no" = "$with_jemalloc"; then
   30326       echo "    Memory allocator: system"
   30327       echo
   30328       echo "    +------------------------------------------+"
   30329       echo "    |             ==== WARNING ====            |"
   30330       echo "    |                                          |"
   30331       echo "    | This is NOT a recommended configuration. |"
   30332       echo "    | Using the system memory allocator causes |"
   30333       echo "    | reduced performance and increased memory |"
   30334       echo "    | fragmentation. Installing the jemalloc   |"
   30335       echo "    | memory allocator (version >= 4.0.0) is   |"
   30336       echo "    | strongly recommended.                    |"
   30337       echo "    +------------------------------------------+"
   30338       echo
   30339     fi
   30340     test "small" = "$with_tuning" || echo "    Small-system tuning (--with-tuning)"
   30341 
   30342     test "no" = "$enable_dnstap" && \
   30343 	    echo "    Allow 'dnstap' packet logging (--enable-dnstap)"
   30344     test -z "$MAXMINDDB_LIBS" && echo "    GeoIP2 access control (--enable-geoip)"
   30345     test -z "$GSSAPI_LIBS" && echo "    GSS-API (--with-gssapi)"
   30346 
   30347     test "no" = "$enable_dnsrps" && \
   30348 	echo "    DNS Response Policy Service interface (--enable-dnsrps)"
   30349 
   30350     test "yes" = "$enable_fixed_rrset" || \
   30351 	echo "    Allow 'fixed' rrset-order (--enable-fixed-rrset)"
   30352 
   30353     test "yes" = "$validation_default" && echo "    DNSSEC validation requires configuration (--enable-auto-validation)"
   30354 
   30355     test "yes" = "$enable_querytrace" || \
   30356 	echo "    Very verbose query trace logging (--enable-querytrace)"
   30357     test "yes" = "$enable_singletrace" || \
   30358 	echo "    Single-query trace logging (--enable-singletrace)"
   30359 
   30360     test "no" = "$with_cmocka" && echo "    CMocka Unit Testing Framework (--with-cmocka)"
   30361 
   30362     test -z "$LIBXML2_LIBS" && echo "    XML statistics (--with-libxml2)"
   30363     test -z "$JSON_C_LIBS" && echo "    JSON statistics (--with-json-c)"
   30364     test -z "$ZLIB_LIBS" && echo "    HTTP zlib compression (--with-zlib)"
   30365     test -z "$LMDB_LIBS" && echo "    LMDB database to store configuration for 'addzone' zones (--with-lmdb)"
   30366     test -z "$LIBIDN2_LIBS" && echo "    IDN support (--with-libidn2)"
   30367 
   30368     echo "-------------------------------------------------------------------------------"
   30369     echo "Configured paths:"
   30370     echo "    prefix: $prefix"
   30371     echo "    sysconfdir: $sysconfdir"
   30372     echo "    localstatedir: $localstatedir"
   30373     echo "-------------------------------------------------------------------------------"
   30374     echo "Compiler: $CC"
   30375     if test "$GCC" = "yes"
   30376 then :
   30377   $CC --version 2>&1 | sed 's/^/    /'
   30378 else $as_nop
   30379   case $host in #(
   30380   *-solaris*) :
   30381     $CC -V 2>&1 | sed 's/^/    /' ;; #(
   30382   *) :
   30383     $CC --version 2>&1 | sed 's/^/    /' ;;
   30384 esac
   30385 fi
   30386     echo "CFLAGS: $STD_CFLAGS $CFLAGS"
   30387     echo "CPPFLAGS: $STD_CPPFLAGS $CPPFLAGS"
   30388     echo "LDFLAGS: $LDFLAGS"
   30389 
   30390     if test "X$ac_unrecognized_opts" != "X"; then
   30391 	echo "-------------------------------------------------------------------------------"
   30392 	echo "Unrecognized options:"
   30393 	echo "    $ac_unrecognized_opts"
   30394     fi
   30395 
   30396     if test "yes" != "$enable_full_report"; then
   30397 	echo "-------------------------------------------------------------------------------"
   30398 	echo "For more detail, use --enable-full-report."
   30399     fi
   30400     echo "==============================================================================="
   30401 }
   30402 
   30403 if test "yes" != "$silent"; then
   30404 	report
   30405 fi
   30406 
   30407 # Tell Emacs to edit this file in shell mode.
   30408 # Local Variables:
   30409 # mode: sh
   30410 # End:
   30411 
   30412