quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

configure (710717B)


      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for libsodium 1.0.20.
      4 #
      5 # Report bugs to <https://github.com/jedisct1/libsodium/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     21 then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else case e in #(
     29   e) case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed 'exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    144 then :
    145   emulate sh
    146   NULLCMD=:
    147   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    148   # is contrary to our usage.  Disable this feature.
    149   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    150   setopt NO_GLOB_SUBST
    151 else case e in #(
    152   e) case \`(set -o) 2>/dev/null\` in #(
    153   *posix*) :
    154     set -o posix ;; #(
    155   *) :
    156      ;;
    157 esac ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else case e in #(
    176   e) exitcode=1; echo positional parameters were not saved. ;;
    177 esac
    178 fi
    179 test x\$exitcode = x0 || exit 1
    180 blah=\$(echo \$(echo blah))
    181 test x\"\$blah\" = xblah || exit 1
    182 test -x / || exit 1"
    183   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    184   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    185   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    186   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    187 test \$(( 1 + 1 )) = 2 || exit 1
    188 
    189   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    190     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    191     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    192     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    193     PATH=/empty FPATH=/empty; export PATH FPATH
    194     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    195       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    196   if (eval "$as_required") 2>/dev/null
    197 then :
    198   as_have_required=yes
    199 else case e in #(
    200   e) as_have_required=no ;;
    201 esac
    202 fi
    203   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    204 then :
    205 
    206 else case e in #(
    207   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    208 as_found=false
    209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    210 do
    211   IFS=$as_save_IFS
    212   case $as_dir in #(((
    213     '') as_dir=./ ;;
    214     */) ;;
    215     *) as_dir=$as_dir/ ;;
    216   esac
    217   as_found=:
    218   case $as_dir in #(
    219 	 /*)
    220 	   for as_base in sh bash ksh sh5; do
    221 	     # Try only shells that exist, to save several forks.
    222 	     as_shell=$as_dir$as_base
    223 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    224 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    225 then :
    226   CONFIG_SHELL=$as_shell as_have_required=yes
    227 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    228 then :
    229   break 2
    230 fi
    231 fi
    232 	   done;;
    233        esac
    234   as_found=false
    235 done
    236 IFS=$as_save_IFS
    237 if $as_found
    238 then :
    239 
    240 else case e in #(
    241   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    243 then :
    244   CONFIG_SHELL=$SHELL as_have_required=yes
    245 fi ;;
    246 esac
    247 fi
    248 
    249 
    250       if test "x$CONFIG_SHELL" != x
    251 then :
    252   export CONFIG_SHELL
    253              # We cannot yet assume a decent shell, so we have to provide a
    254 # neutralization value for shells without unset; and this also
    255 # works around shells that cannot unset nonexistent variables.
    256 # Preserve -v and -x to the replacement shell.
    257 BASH_ENV=/dev/null
    258 ENV=/dev/null
    259 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    260 case $- in # ((((
    261   *v*x* | *x*v* ) as_opts=-vx ;;
    262   *v* ) as_opts=-v ;;
    263   *x* ) as_opts=-x ;;
    264   * ) as_opts= ;;
    265 esac
    266 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    267 # Admittedly, this is quite paranoid, since all the known shells bail
    268 # out after a failed 'exec'.
    269 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    270 exit 255
    271 fi
    272 
    273     if test x$as_have_required = xno
    274 then :
    275   printf "%s\n" "$0: This script requires a shell more modern than all"
    276   printf "%s\n" "$0: the shells that I found on your system."
    277   if test ${ZSH_VERSION+y} ; then
    278     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    279     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    280   else
    281     printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
    282 $0: https://github.com/jedisct1/libsodium/issues about your
    283 $0: system, including any error possibly output before this
    284 $0: message. Then install a modern shell, or manually run
    285 $0: the script under such a shell if you do have one."
    286   fi
    287   exit 1
    288 fi ;;
    289 esac
    290 fi
    291 fi
    292 SHELL=${CONFIG_SHELL-/bin/sh}
    293 export SHELL
    294 # Unset more variables known to interfere with behavior of common tools.
    295 CLICOLOR_FORCE= GREP_OPTIONS=
    296 unset CLICOLOR_FORCE GREP_OPTIONS
    297 
    298 ## --------------------- ##
    299 ## M4sh Shell Functions. ##
    300 ## --------------------- ##
    301 # as_fn_unset VAR
    302 # ---------------
    303 # Portably unset VAR.
    304 as_fn_unset ()
    305 {
    306   { eval $1=; unset $1;}
    307 }
    308 as_unset=as_fn_unset
    309 
    310 
    311 # as_fn_set_status STATUS
    312 # -----------------------
    313 # Set $? to STATUS, without forking.
    314 as_fn_set_status ()
    315 {
    316   return $1
    317 } # as_fn_set_status
    318 
    319 # as_fn_exit STATUS
    320 # -----------------
    321 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    322 as_fn_exit ()
    323 {
    324   set +e
    325   as_fn_set_status $1
    326   exit $1
    327 } # as_fn_exit
    328 
    329 # as_fn_mkdir_p
    330 # -------------
    331 # Create "$as_dir" as a directory, including parents if necessary.
    332 as_fn_mkdir_p ()
    333 {
    334 
    335   case $as_dir in #(
    336   -*) as_dir=./$as_dir;;
    337   esac
    338   test -d "$as_dir" || eval $as_mkdir_p || {
    339     as_dirs=
    340     while :; do
    341       case $as_dir in #(
    342       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    343       *) as_qdir=$as_dir;;
    344       esac
    345       as_dirs="'$as_qdir' $as_dirs"
    346       as_dir=`$as_dirname -- "$as_dir" ||
    347 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    348 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    349 	 X"$as_dir" : 'X\(//\)$' \| \
    350 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    351 printf "%s\n" X"$as_dir" |
    352     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    353 	    s//\1/
    354 	    q
    355 	  }
    356 	  /^X\(\/\/\)[^/].*/{
    357 	    s//\1/
    358 	    q
    359 	  }
    360 	  /^X\(\/\/\)$/{
    361 	    s//\1/
    362 	    q
    363 	  }
    364 	  /^X\(\/\).*/{
    365 	    s//\1/
    366 	    q
    367 	  }
    368 	  s/.*/./; q'`
    369       test -d "$as_dir" && break
    370     done
    371     test -z "$as_dirs" || eval "mkdir $as_dirs"
    372   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    373 
    374 
    375 } # as_fn_mkdir_p
    376 
    377 # as_fn_executable_p FILE
    378 # -----------------------
    379 # Test if FILE is an executable regular file.
    380 as_fn_executable_p ()
    381 {
    382   test -f "$1" && test -x "$1"
    383 } # as_fn_executable_p
    384 # as_fn_append VAR VALUE
    385 # ----------------------
    386 # Append the text in VALUE to the end of the definition contained in VAR. Take
    387 # advantage of any shell optimizations that allow amortized linear growth over
    388 # repeated appends, instead of the typical quadratic growth present in naive
    389 # implementations.
    390 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    391 then :
    392   eval 'as_fn_append ()
    393   {
    394     eval $1+=\$2
    395   }'
    396 else case e in #(
    397   e) as_fn_append ()
    398   {
    399     eval $1=\$$1\$2
    400   } ;;
    401 esac
    402 fi # as_fn_append
    403 
    404 # as_fn_arith ARG...
    405 # ------------------
    406 # Perform arithmetic evaluation on the ARGs, and store the result in the
    407 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    408 # must be portable across $(()) and expr.
    409 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    410 then :
    411   eval 'as_fn_arith ()
    412   {
    413     as_val=$(( $* ))
    414   }'
    415 else case e in #(
    416   e) as_fn_arith ()
    417   {
    418     as_val=`expr "$@" || test $? -eq 1`
    419   } ;;
    420 esac
    421 fi # as_fn_arith
    422 
    423 
    424 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    425 # ----------------------------------------
    426 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    427 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    428 # script with STATUS, using 1 if that was 0.
    429 as_fn_error ()
    430 {
    431   as_status=$1; test $as_status -eq 0 && as_status=1
    432   if test "$4"; then
    433     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    434     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    435   fi
    436   printf "%s\n" "$as_me: error: $2" >&2
    437   as_fn_exit $as_status
    438 } # as_fn_error
    439 
    440 if expr a : '\(a\)' >/dev/null 2>&1 &&
    441    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    442   as_expr=expr
    443 else
    444   as_expr=false
    445 fi
    446 
    447 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    448   as_basename=basename
    449 else
    450   as_basename=false
    451 fi
    452 
    453 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    454   as_dirname=dirname
    455 else
    456   as_dirname=false
    457 fi
    458 
    459 as_me=`$as_basename -- "$0" ||
    460 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    461 	 X"$0" : 'X\(//\)$' \| \
    462 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    463 printf "%s\n" X/"$0" |
    464     sed '/^.*\/\([^/][^/]*\)\/*$/{
    465 	    s//\1/
    466 	    q
    467 	  }
    468 	  /^X\/\(\/\/\)$/{
    469 	    s//\1/
    470 	    q
    471 	  }
    472 	  /^X\/\(\/\).*/{
    473 	    s//\1/
    474 	    q
    475 	  }
    476 	  s/.*/./; q'`
    477 
    478 # Avoid depending upon Character Ranges.
    479 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    480 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    481 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    482 as_cr_digits='0123456789'
    483 as_cr_alnum=$as_cr_Letters$as_cr_digits
    484 
    485 
    486   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    487   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    488   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    489   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    490   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    491   sed -n '
    492     p
    493     /[$]LINENO/=
    494   ' <$as_myself |
    495     sed '
    496       t clear
    497       :clear
    498       s/[$]LINENO.*/&-/
    499       t lineno
    500       b
    501       :lineno
    502       N
    503       :loop
    504       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    505       t loop
    506       s/-\n.*//
    507     ' >$as_me.lineno &&
    508   chmod +x "$as_me.lineno" ||
    509     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    510 
    511   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    512   # already done that, so ensure we don't try to do so again and fall
    513   # in an infinite loop.  This has already happened in practice.
    514   _as_can_reexec=no; export _as_can_reexec
    515   # Don't try to exec as it changes $[0], causing all sort of problems
    516   # (the dirname of $[0] is not the place where we might find the
    517   # original and so on.  Autoconf is especially sensitive to this).
    518   . "./$as_me.lineno"
    519   # Exit status is that of the last command.
    520   exit
    521 }
    522 
    523 
    524 # Determine whether it's possible to make 'echo' print without a newline.
    525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    526 # for compatibility with existing Makefiles.
    527 ECHO_C= ECHO_N= ECHO_T=
    528 case `echo -n x` in #(((((
    529 -n*)
    530   case `echo 'xy\c'` in
    531   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    532   xy)  ECHO_C='\c';;
    533   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    534        ECHO_T='	';;
    535   esac;;
    536 *)
    537   ECHO_N='-n';;
    538 esac
    539 
    540 # For backward compatibility with old third-party macros, we provide
    541 # the shell variables $as_echo and $as_echo_n.  New code should use
    542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    543 as_echo='printf %s\n'
    544 as_echo_n='printf %s'
    545 
    546 rm -f conf$$ conf$$.exe conf$$.file
    547 if test -d conf$$.dir; then
    548   rm -f conf$$.dir/conf$$.file
    549 else
    550   rm -f conf$$.dir
    551   mkdir conf$$.dir 2>/dev/null
    552 fi
    553 if (echo >conf$$.file) 2>/dev/null; then
    554   if ln -s conf$$.file conf$$ 2>/dev/null; then
    555     as_ln_s='ln -s'
    556     # ... but there are two gotchas:
    557     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    558     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    559     # In both cases, we have to default to 'cp -pR'.
    560     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    561       as_ln_s='cp -pR'
    562   elif ln conf$$.file conf$$ 2>/dev/null; then
    563     as_ln_s=ln
    564   else
    565     as_ln_s='cp -pR'
    566   fi
    567 else
    568   as_ln_s='cp -pR'
    569 fi
    570 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    571 rmdir conf$$.dir 2>/dev/null
    572 
    573 if mkdir -p . 2>/dev/null; then
    574   as_mkdir_p='mkdir -p "$as_dir"'
    575 else
    576   test -d ./-p && rmdir ./-p
    577   as_mkdir_p=false
    578 fi
    579 
    580 as_test_x='test -x'
    581 as_executable_p=as_fn_executable_p
    582 
    583 # Sed expression to map a string onto a valid CPP name.
    584 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    585 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    586 
    587 # Sed expression to map a string onto a valid variable name.
    588 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    589 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    590 
    591 SHELL=${CONFIG_SHELL-/bin/sh}
    592 
    593 
    594 test -n "$DJDIR" || exec 7<&0 </dev/null
    595 exec 6>&1
    596 
    597 # Name of the host.
    598 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    599 # so uname gets run too.
    600 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    601 
    602 #
    603 # Initializations.
    604 #
    605 ac_default_prefix=/usr/local
    606 ac_clean_files=
    607 ac_config_libobj_dir=.
    608 LIBOBJS=
    609 cross_compiling=no
    610 subdirs=
    611 MFLAGS=
    612 MAKEFLAGS=
    613 
    614 # Identity of this package.
    615 PACKAGE_NAME='libsodium'
    616 PACKAGE_TARNAME='libsodium'
    617 PACKAGE_VERSION='1.0.20'
    618 PACKAGE_STRING='libsodium 1.0.20'
    619 PACKAGE_BUGREPORT='https://github.com/jedisct1/libsodium/issues'
    620 PACKAGE_URL='https://libsodium.org'
    621 
    622 ac_unique_file="src/libsodium/sodium/version.c"
    623 # Factoring default headers for most tests.
    624 ac_includes_default="\
    625 #include <stddef.h>
    626 #ifdef HAVE_STDIO_H
    627 # include <stdio.h>
    628 #endif
    629 #ifdef HAVE_STDLIB_H
    630 # include <stdlib.h>
    631 #endif
    632 #ifdef HAVE_STRING_H
    633 # include <string.h>
    634 #endif
    635 #ifdef HAVE_INTTYPES_H
    636 # include <inttypes.h>
    637 #endif
    638 #ifdef HAVE_STDINT_H
    639 # include <stdint.h>
    640 #endif
    641 #ifdef HAVE_STRINGS_H
    642 # include <strings.h>
    643 #endif
    644 #ifdef HAVE_SYS_TYPES_H
    645 # include <sys/types.h>
    646 #endif
    647 #ifdef HAVE_SYS_STAT_H
    648 # include <sys/stat.h>
    649 #endif
    650 #ifdef HAVE_UNISTD_H
    651 # include <unistd.h>
    652 #endif"
    653 
    654 ac_header_c_list=
    655 ac_subst_vars='am__EXEEXT_FALSE
    656 am__EXEEXT_TRUE
    657 LTLIBOBJS
    658 LIBOBJS
    659 HAVE_LD_OUTPUT_DEF_FALSE
    660 HAVE_LD_OUTPUT_DEF_TRUE
    661 WASI_FALSE
    662 WASI_TRUE
    663 EMSCRIPTEN_FALSE
    664 EMSCRIPTEN_TRUE
    665 TEST_LDFLAGS
    666 LIBTOOL_EXTRA_FLAGS
    667 ALLOCA
    668 HAVE_CPUID_V
    669 HAVE_TI_MODE_V
    670 HAVE_TI_MODE_FALSE
    671 HAVE_TI_MODE_TRUE
    672 HAVE_AVX_ASM_V
    673 HAVE_AVX_ASM_FALSE
    674 HAVE_AVX_ASM_TRUE
    675 HAVE_AMD64_ASM_V
    676 HAVE_AMD64_ASM_FALSE
    677 HAVE_AMD64_ASM_TRUE
    678 CFLAGS_RDRAND
    679 CFLAGS_PCLMUL
    680 CFLAGS_AESNI
    681 CFLAGS_AVX512F
    682 CFLAGS_AVX2
    683 CFLAGS_AVX
    684 CFLAGS_SSE41
    685 CFLAGS_SSSE3
    686 CFLAGS_SSE3
    687 CFLAGS_SSE2
    688 CFLAGS_MMX
    689 CFLAGS_ARMCRYPTO
    690 LIBTOOL_DEPS
    691 LT_SYS_LIBRARY_PATH
    692 OTOOL64
    693 OTOOL
    694 LIPO
    695 NMEDIT
    696 DSYMUTIL
    697 MANIFEST_TOOL
    698 RANLIB
    699 ac_ct_AR
    700 AR
    701 DLLTOOL
    702 OBJDUMP
    703 FILECMD
    704 LN_S
    705 NM
    706 ac_ct_DUMPBIN
    707 DUMPBIN
    708 LD
    709 FGREP
    710 EGREP
    711 GREP
    712 LIBTOOL
    713 CWFLAGS
    714 VALGRIND_CHECK_RULES
    715 valgrind_enabled_tools
    716 valgrind_tools
    717 ENABLE_VALGRIND_sgcheck
    718 ENABLE_VALGRIND_drd
    719 ENABLE_VALGRIND_helgrind
    720 ENABLE_VALGRIND_memcheck
    721 VALGRIND_ENABLED
    722 VALGRIND_ENABLED_FALSE
    723 VALGRIND_ENABLED_TRUE
    724 VALGRIND
    725 PKGCONFIG_LIBS_PRIVATE
    726 SAFECODE_HOME
    727 PTHREAD_CFLAGS
    728 PTHREAD_LIBS
    729 PTHREAD_CXX
    730 PTHREAD_CC
    731 ax_pthread_config
    732 CPP
    733 SED
    734 SODIUM_LIBRARY_MINIMAL_DEF
    735 MINIMAL_FALSE
    736 MINIMAL_TRUE
    737 am__fastdepCCAS_FALSE
    738 am__fastdepCCAS_TRUE
    739 CCASDEPMODE
    740 CCASFLAGS
    741 CCAS
    742 am__fastdepCC_FALSE
    743 am__fastdepCC_TRUE
    744 CCDEPMODE
    745 am__include
    746 DEPDIR
    747 OBJEXT
    748 EXEEXT
    749 ac_ct_CC
    750 CPPFLAGS
    751 LDFLAGS
    752 CFLAGS
    753 CC
    754 DLL_VERSION
    755 SODIUM_LIBRARY_VERSION
    756 SODIUM_LIBRARY_VERSION_MINOR
    757 SODIUM_LIBRARY_VERSION_MAJOR
    758 am__nodep
    759 AMDEPBACKSLASH
    760 AMDEP_FALSE
    761 AMDEP_TRUE
    762 MAINT
    763 MAINTAINER_MODE_FALSE
    764 MAINTAINER_MODE_TRUE
    765 am__xargs_n
    766 am__rm_f_notfound
    767 AM_BACKSLASH
    768 AM_DEFAULT_VERBOSITY
    769 AM_DEFAULT_V
    770 AM_V
    771 CSCOPE
    772 ETAGS
    773 CTAGS
    774 am__untar
    775 am__tar
    776 AMTAR
    777 am__leading_dot
    778 SET_MAKE
    779 AWK
    780 mkdir_p
    781 MKDIR_P
    782 INSTALL_STRIP_PROGRAM
    783 STRIP
    784 install_sh
    785 MAKEINFO
    786 AUTOHEADER
    787 AUTOMAKE
    788 AUTOCONF
    789 ACLOCAL
    790 VERSION
    791 PACKAGE
    792 CYGPATH_W
    793 am__isrc
    794 INSTALL_DATA
    795 INSTALL_SCRIPT
    796 INSTALL_PROGRAM
    797 target_os
    798 target_vendor
    799 target_cpu
    800 target
    801 host_os
    802 host_vendor
    803 host_cpu
    804 host
    805 build_os
    806 build_vendor
    807 build_cpu
    808 build
    809 target_alias
    810 host_alias
    811 build_alias
    812 LIBS
    813 ECHO_T
    814 ECHO_N
    815 ECHO_C
    816 DEFS
    817 mandir
    818 localedir
    819 libdir
    820 psdir
    821 pdfdir
    822 dvidir
    823 htmldir
    824 infodir
    825 docdir
    826 oldincludedir
    827 includedir
    828 runstatedir
    829 localstatedir
    830 sharedstatedir
    831 sysconfdir
    832 datadir
    833 datarootdir
    834 libexecdir
    835 sbindir
    836 bindir
    837 program_transform_name
    838 prefix
    839 exec_prefix
    840 PACKAGE_URL
    841 PACKAGE_BUGREPORT
    842 PACKAGE_STRING
    843 PACKAGE_VERSION
    844 PACKAGE_TARNAME
    845 PACKAGE_NAME
    846 PATH_SEPARATOR
    847 SHELL
    848 am__quote'
    849 ac_subst_files=''
    850 ac_user_opts='
    851 enable_option_checking
    852 enable_silent_rules
    853 enable_maintainer_mode
    854 enable_dependency_tracking
    855 enable_ssp
    856 enable_asm
    857 enable_pie
    858 enable_blocking_random
    859 enable_minimal
    860 with_pthreads
    861 with_safecode
    862 with_ctgrind
    863 enable_retpoline
    864 enable_debug
    865 enable_opt
    866 enable_valgrind
    867 enable_valgrind_memcheck
    868 enable_valgrind_helgrind
    869 enable_valgrind_drd
    870 enable_valgrind_sgcheck
    871 enable_soname_versions
    872 enable_shared
    873 enable_static
    874 enable_pic
    875 with_pic
    876 enable_fast_install
    877 enable_aix_soname
    878 with_aix_soname
    879 with_gnu_ld
    880 with_sysroot
    881 enable_libtool_lock
    882 '
    883       ac_precious_vars='build_alias
    884 host_alias
    885 target_alias
    886 CC
    887 CFLAGS
    888 LDFLAGS
    889 LIBS
    890 CPPFLAGS
    891 CCAS
    892 CCASFLAGS
    893 CPP
    894 SAFECODE_HOME
    895 CWFLAGS
    896 LT_SYS_LIBRARY_PATH
    897 AR'
    898 
    899 
    900 # Initialize some variables set by options.
    901 ac_init_help=
    902 ac_init_version=false
    903 ac_unrecognized_opts=
    904 ac_unrecognized_sep=
    905 # The variables have the same names as the options, with
    906 # dashes changed to underlines.
    907 cache_file=/dev/null
    908 exec_prefix=NONE
    909 no_create=
    910 no_recursion=
    911 prefix=NONE
    912 program_prefix=NONE
    913 program_suffix=NONE
    914 program_transform_name=s,x,x,
    915 silent=
    916 site=
    917 srcdir=
    918 verbose=
    919 x_includes=NONE
    920 x_libraries=NONE
    921 
    922 # Installation directory options.
    923 # These are left unexpanded so users can "make install exec_prefix=/foo"
    924 # and all the variables that are supposed to be based on exec_prefix
    925 # by default will actually change.
    926 # Use braces instead of parens because sh, perl, etc. also accept them.
    927 # (The list follows the same order as the GNU Coding Standards.)
    928 bindir='${exec_prefix}/bin'
    929 sbindir='${exec_prefix}/sbin'
    930 libexecdir='${exec_prefix}/libexec'
    931 datarootdir='${prefix}/share'
    932 datadir='${datarootdir}'
    933 sysconfdir='${prefix}/etc'
    934 sharedstatedir='${prefix}/com'
    935 localstatedir='${prefix}/var'
    936 runstatedir='${localstatedir}/run'
    937 includedir='${prefix}/include'
    938 oldincludedir='/usr/include'
    939 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    940 infodir='${datarootdir}/info'
    941 htmldir='${docdir}'
    942 dvidir='${docdir}'
    943 pdfdir='${docdir}'
    944 psdir='${docdir}'
    945 libdir='${exec_prefix}/lib'
    946 localedir='${datarootdir}/locale'
    947 mandir='${datarootdir}/man'
    948 
    949 ac_prev=
    950 ac_dashdash=
    951 for ac_option
    952 do
    953   # If the previous option needs an argument, assign it.
    954   if test -n "$ac_prev"; then
    955     eval $ac_prev=\$ac_option
    956     ac_prev=
    957     continue
    958   fi
    959 
    960   case $ac_option in
    961   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    962   *=)   ac_optarg= ;;
    963   *)    ac_optarg=yes ;;
    964   esac
    965 
    966   case $ac_dashdash$ac_option in
    967   --)
    968     ac_dashdash=yes ;;
    969 
    970   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    971     ac_prev=bindir ;;
    972   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    973     bindir=$ac_optarg ;;
    974 
    975   -build | --build | --buil | --bui | --bu)
    976     ac_prev=build_alias ;;
    977   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    978     build_alias=$ac_optarg ;;
    979 
    980   -cache-file | --cache-file | --cache-fil | --cache-fi \
    981   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    982     ac_prev=cache_file ;;
    983   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    984   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    985     cache_file=$ac_optarg ;;
    986 
    987   --config-cache | -C)
    988     cache_file=config.cache ;;
    989 
    990   -datadir | --datadir | --datadi | --datad)
    991     ac_prev=datadir ;;
    992   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    993     datadir=$ac_optarg ;;
    994 
    995   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    996   | --dataroo | --dataro | --datar)
    997     ac_prev=datarootdir ;;
    998   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    999   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1000     datarootdir=$ac_optarg ;;
   1001 
   1002   -disable-* | --disable-*)
   1003     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1004     # Reject names that are not valid shell variable names.
   1005     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1006       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1007     ac_useropt_orig=$ac_useropt
   1008     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1009     case $ac_user_opts in
   1010       *"
   1011 "enable_$ac_useropt"
   1012 "*) ;;
   1013       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1014 	 ac_unrecognized_sep=', ';;
   1015     esac
   1016     eval enable_$ac_useropt=no ;;
   1017 
   1018   -docdir | --docdir | --docdi | --doc | --do)
   1019     ac_prev=docdir ;;
   1020   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1021     docdir=$ac_optarg ;;
   1022 
   1023   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1024     ac_prev=dvidir ;;
   1025   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1026     dvidir=$ac_optarg ;;
   1027 
   1028   -enable-* | --enable-*)
   1029     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1030     # Reject names that are not valid shell variable names.
   1031     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1032       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1033     ac_useropt_orig=$ac_useropt
   1034     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1035     case $ac_user_opts in
   1036       *"
   1037 "enable_$ac_useropt"
   1038 "*) ;;
   1039       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1040 	 ac_unrecognized_sep=', ';;
   1041     esac
   1042     eval enable_$ac_useropt=\$ac_optarg ;;
   1043 
   1044   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1045   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1046   | --exec | --exe | --ex)
   1047     ac_prev=exec_prefix ;;
   1048   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1049   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1050   | --exec=* | --exe=* | --ex=*)
   1051     exec_prefix=$ac_optarg ;;
   1052 
   1053   -gas | --gas | --ga | --g)
   1054     # Obsolete; use --with-gas.
   1055     with_gas=yes ;;
   1056 
   1057   -help | --help | --hel | --he | -h)
   1058     ac_init_help=long ;;
   1059   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1060     ac_init_help=recursive ;;
   1061   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1062     ac_init_help=short ;;
   1063 
   1064   -host | --host | --hos | --ho)
   1065     ac_prev=host_alias ;;
   1066   -host=* | --host=* | --hos=* | --ho=*)
   1067     host_alias=$ac_optarg ;;
   1068 
   1069   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1070     ac_prev=htmldir ;;
   1071   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1072   | --ht=*)
   1073     htmldir=$ac_optarg ;;
   1074 
   1075   -includedir | --includedir | --includedi | --included | --include \
   1076   | --includ | --inclu | --incl | --inc)
   1077     ac_prev=includedir ;;
   1078   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1079   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1080     includedir=$ac_optarg ;;
   1081 
   1082   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1083     ac_prev=infodir ;;
   1084   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1085     infodir=$ac_optarg ;;
   1086 
   1087   -libdir | --libdir | --libdi | --libd)
   1088     ac_prev=libdir ;;
   1089   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1090     libdir=$ac_optarg ;;
   1091 
   1092   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1093   | --libexe | --libex | --libe)
   1094     ac_prev=libexecdir ;;
   1095   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1096   | --libexe=* | --libex=* | --libe=*)
   1097     libexecdir=$ac_optarg ;;
   1098 
   1099   -localedir | --localedir | --localedi | --localed | --locale)
   1100     ac_prev=localedir ;;
   1101   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1102     localedir=$ac_optarg ;;
   1103 
   1104   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1105   | --localstate | --localstat | --localsta | --localst | --locals)
   1106     ac_prev=localstatedir ;;
   1107   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1108   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1109     localstatedir=$ac_optarg ;;
   1110 
   1111   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1112     ac_prev=mandir ;;
   1113   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1114     mandir=$ac_optarg ;;
   1115 
   1116   -nfp | --nfp | --nf)
   1117     # Obsolete; use --without-fp.
   1118     with_fp=no ;;
   1119 
   1120   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1121   | --no-cr | --no-c | -n)
   1122     no_create=yes ;;
   1123 
   1124   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1125   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1126     no_recursion=yes ;;
   1127 
   1128   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1129   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1130   | --oldin | --oldi | --old | --ol | --o)
   1131     ac_prev=oldincludedir ;;
   1132   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1133   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1134   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1135     oldincludedir=$ac_optarg ;;
   1136 
   1137   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1138     ac_prev=prefix ;;
   1139   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1140     prefix=$ac_optarg ;;
   1141 
   1142   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1143   | --program-pre | --program-pr | --program-p)
   1144     ac_prev=program_prefix ;;
   1145   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1146   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1147     program_prefix=$ac_optarg ;;
   1148 
   1149   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1150   | --program-suf | --program-su | --program-s)
   1151     ac_prev=program_suffix ;;
   1152   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1153   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1154     program_suffix=$ac_optarg ;;
   1155 
   1156   -program-transform-name | --program-transform-name \
   1157   | --program-transform-nam | --program-transform-na \
   1158   | --program-transform-n | --program-transform- \
   1159   | --program-transform | --program-transfor \
   1160   | --program-transfo | --program-transf \
   1161   | --program-trans | --program-tran \
   1162   | --progr-tra | --program-tr | --program-t)
   1163     ac_prev=program_transform_name ;;
   1164   -program-transform-name=* | --program-transform-name=* \
   1165   | --program-transform-nam=* | --program-transform-na=* \
   1166   | --program-transform-n=* | --program-transform-=* \
   1167   | --program-transform=* | --program-transfor=* \
   1168   | --program-transfo=* | --program-transf=* \
   1169   | --program-trans=* | --program-tran=* \
   1170   | --progr-tra=* | --program-tr=* | --program-t=*)
   1171     program_transform_name=$ac_optarg ;;
   1172 
   1173   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1174     ac_prev=pdfdir ;;
   1175   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1176     pdfdir=$ac_optarg ;;
   1177 
   1178   -psdir | --psdir | --psdi | --psd | --ps)
   1179     ac_prev=psdir ;;
   1180   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1181     psdir=$ac_optarg ;;
   1182 
   1183   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1184   | -silent | --silent | --silen | --sile | --sil)
   1185     silent=yes ;;
   1186 
   1187   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1188   | --runstate | --runstat | --runsta | --runst | --runs \
   1189   | --run | --ru | --r)
   1190     ac_prev=runstatedir ;;
   1191   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1192   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1193   | --run=* | --ru=* | --r=*)
   1194     runstatedir=$ac_optarg ;;
   1195 
   1196   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1197     ac_prev=sbindir ;;
   1198   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1199   | --sbi=* | --sb=*)
   1200     sbindir=$ac_optarg ;;
   1201 
   1202   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1203   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1204   | --sharedst | --shareds | --shared | --share | --shar \
   1205   | --sha | --sh)
   1206     ac_prev=sharedstatedir ;;
   1207   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1208   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1209   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1210   | --sha=* | --sh=*)
   1211     sharedstatedir=$ac_optarg ;;
   1212 
   1213   -site | --site | --sit)
   1214     ac_prev=site ;;
   1215   -site=* | --site=* | --sit=*)
   1216     site=$ac_optarg ;;
   1217 
   1218   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1219     ac_prev=srcdir ;;
   1220   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1221     srcdir=$ac_optarg ;;
   1222 
   1223   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1224   | --syscon | --sysco | --sysc | --sys | --sy)
   1225     ac_prev=sysconfdir ;;
   1226   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1227   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1228     sysconfdir=$ac_optarg ;;
   1229 
   1230   -target | --target | --targe | --targ | --tar | --ta | --t)
   1231     ac_prev=target_alias ;;
   1232   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1233     target_alias=$ac_optarg ;;
   1234 
   1235   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1236     verbose=yes ;;
   1237 
   1238   -version | --version | --versio | --versi | --vers | -V)
   1239     ac_init_version=: ;;
   1240 
   1241   -with-* | --with-*)
   1242     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1243     # Reject names that are not valid shell variable names.
   1244     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1245       as_fn_error $? "invalid package name: '$ac_useropt'"
   1246     ac_useropt_orig=$ac_useropt
   1247     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1248     case $ac_user_opts in
   1249       *"
   1250 "with_$ac_useropt"
   1251 "*) ;;
   1252       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1253 	 ac_unrecognized_sep=', ';;
   1254     esac
   1255     eval with_$ac_useropt=\$ac_optarg ;;
   1256 
   1257   -without-* | --without-*)
   1258     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1259     # Reject names that are not valid shell variable names.
   1260     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1261       as_fn_error $? "invalid package name: '$ac_useropt'"
   1262     ac_useropt_orig=$ac_useropt
   1263     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1264     case $ac_user_opts in
   1265       *"
   1266 "with_$ac_useropt"
   1267 "*) ;;
   1268       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1269 	 ac_unrecognized_sep=', ';;
   1270     esac
   1271     eval with_$ac_useropt=no ;;
   1272 
   1273   --x)
   1274     # Obsolete; use --with-x.
   1275     with_x=yes ;;
   1276 
   1277   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1278   | --x-incl | --x-inc | --x-in | --x-i)
   1279     ac_prev=x_includes ;;
   1280   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1281   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1282     x_includes=$ac_optarg ;;
   1283 
   1284   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1285   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1286     ac_prev=x_libraries ;;
   1287   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1288   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1289     x_libraries=$ac_optarg ;;
   1290 
   1291   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1292 Try '$0 --help' for more information"
   1293     ;;
   1294 
   1295   *=*)
   1296     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1297     # Reject names that are not valid shell variable names.
   1298     case $ac_envvar in #(
   1299       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1300       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1301     esac
   1302     eval $ac_envvar=\$ac_optarg
   1303     export $ac_envvar ;;
   1304 
   1305   *)
   1306     # FIXME: should be removed in autoconf 3.0.
   1307     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1308     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1309       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1310     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1311     ;;
   1312 
   1313   esac
   1314 done
   1315 
   1316 if test -n "$ac_prev"; then
   1317   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1318   as_fn_error $? "missing argument to $ac_option"
   1319 fi
   1320 
   1321 if test -n "$ac_unrecognized_opts"; then
   1322   case $enable_option_checking in
   1323     no) ;;
   1324     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1325     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1326   esac
   1327 fi
   1328 
   1329 # Check all directory arguments for consistency.
   1330 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1331 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1332 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1333 		libdir localedir mandir runstatedir
   1334 do
   1335   eval ac_val=\$$ac_var
   1336   # Remove trailing slashes.
   1337   case $ac_val in
   1338     */ )
   1339       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1340       eval $ac_var=\$ac_val;;
   1341   esac
   1342   # Be sure to have absolute directory names.
   1343   case $ac_val in
   1344     [\\/$]* | ?:[\\/]* )  continue;;
   1345     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1346   esac
   1347   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1348 done
   1349 
   1350 # There might be people who depend on the old broken behavior: '$host'
   1351 # used to hold the argument of --host etc.
   1352 # FIXME: To remove some day.
   1353 build=$build_alias
   1354 host=$host_alias
   1355 target=$target_alias
   1356 
   1357 # FIXME: To remove some day.
   1358 if test "x$host_alias" != x; then
   1359   if test "x$build_alias" = x; then
   1360     cross_compiling=maybe
   1361   elif test "x$build_alias" != "x$host_alias"; then
   1362     cross_compiling=yes
   1363   fi
   1364 fi
   1365 
   1366 ac_tool_prefix=
   1367 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1368 
   1369 test "$silent" = yes && exec 6>/dev/null
   1370 
   1371 
   1372 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1373 ac_ls_di=`ls -di .` &&
   1374 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1375   as_fn_error $? "working directory cannot be determined"
   1376 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1377   as_fn_error $? "pwd does not report name of working directory"
   1378 
   1379 
   1380 # Find the source files, if location was not specified.
   1381 if test -z "$srcdir"; then
   1382   ac_srcdir_defaulted=yes
   1383   # Try the directory containing this script, then the parent directory.
   1384   ac_confdir=`$as_dirname -- "$as_myself" ||
   1385 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1386 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1387 	 X"$as_myself" : 'X\(//\)$' \| \
   1388 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1389 printf "%s\n" X"$as_myself" |
   1390     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1391 	    s//\1/
   1392 	    q
   1393 	  }
   1394 	  /^X\(\/\/\)[^/].*/{
   1395 	    s//\1/
   1396 	    q
   1397 	  }
   1398 	  /^X\(\/\/\)$/{
   1399 	    s//\1/
   1400 	    q
   1401 	  }
   1402 	  /^X\(\/\).*/{
   1403 	    s//\1/
   1404 	    q
   1405 	  }
   1406 	  s/.*/./; q'`
   1407   srcdir=$ac_confdir
   1408   if test ! -r "$srcdir/$ac_unique_file"; then
   1409     srcdir=..
   1410   fi
   1411 else
   1412   ac_srcdir_defaulted=no
   1413 fi
   1414 if test ! -r "$srcdir/$ac_unique_file"; then
   1415   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1416   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1417 fi
   1418 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1419 ac_abs_confdir=`(
   1420 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1421 	pwd)`
   1422 # When building in place, set srcdir=.
   1423 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1424   srcdir=.
   1425 fi
   1426 # Remove unnecessary trailing slashes from srcdir.
   1427 # Double slashes in file names in object file debugging info
   1428 # mess up M-x gdb in Emacs.
   1429 case $srcdir in
   1430 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1431 esac
   1432 for ac_var in $ac_precious_vars; do
   1433   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1434   eval ac_env_${ac_var}_value=\$${ac_var}
   1435   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1436   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1437 done
   1438 
   1439 #
   1440 # Report the --help message.
   1441 #
   1442 if test "$ac_init_help" = "long"; then
   1443   # Omit some internal or obsolete options to make the list less imposing.
   1444   # This message is too long to be a string in the A/UX 3.1 sh.
   1445   cat <<_ACEOF
   1446 'configure' configures libsodium 1.0.20 to adapt to many kinds of systems.
   1447 
   1448 Usage: $0 [OPTION]... [VAR=VALUE]...
   1449 
   1450 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1451 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1452 
   1453 Defaults for the options are specified in brackets.
   1454 
   1455 Configuration:
   1456   -h, --help              display this help and exit
   1457       --help=short        display options specific to this package
   1458       --help=recursive    display the short help of all the included packages
   1459   -V, --version           display version information and exit
   1460   -q, --quiet, --silent   do not print 'checking ...' messages
   1461       --cache-file=FILE   cache test results in FILE [disabled]
   1462   -C, --config-cache      alias for '--cache-file=config.cache'
   1463   -n, --no-create         do not create output files
   1464       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1465 
   1466 Installation directories:
   1467   --prefix=PREFIX         install architecture-independent files in PREFIX
   1468                           [$ac_default_prefix]
   1469   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1470                           [PREFIX]
   1471 
   1472 By default, 'make install' will install all the files in
   1473 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1474 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1475 for instance '--prefix=\$HOME'.
   1476 
   1477 For better control, use the options below.
   1478 
   1479 Fine tuning of the installation directories:
   1480   --bindir=DIR            user executables [EPREFIX/bin]
   1481   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1482   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1483   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1484   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1485   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1486   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1487   --libdir=DIR            object code libraries [EPREFIX/lib]
   1488   --includedir=DIR        C header files [PREFIX/include]
   1489   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1490   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1491   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1492   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1493   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1494   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1495   --docdir=DIR            documentation root [DATAROOTDIR/doc/libsodium]
   1496   --htmldir=DIR           html documentation [DOCDIR]
   1497   --dvidir=DIR            dvi documentation [DOCDIR]
   1498   --pdfdir=DIR            pdf documentation [DOCDIR]
   1499   --psdir=DIR             ps documentation [DOCDIR]
   1500 _ACEOF
   1501 
   1502   cat <<\_ACEOF
   1503 
   1504 Program names:
   1505   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1506   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1507   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1508 
   1509 System types:
   1510   --build=BUILD     configure for building on BUILD [guessed]
   1511   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1512   --target=TARGET   configure for building compilers for TARGET [HOST]
   1513 _ACEOF
   1514 fi
   1515 
   1516 if test -n "$ac_init_help"; then
   1517   case $ac_init_help in
   1518      short | recursive ) echo "Configuration of libsodium 1.0.20:";;
   1519    esac
   1520   cat <<\_ACEOF
   1521 
   1522 Optional Features:
   1523   --disable-option-checking  ignore unrecognized --enable/--with options
   1524   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1525   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1526   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1527   --disable-silent-rules  verbose build output (undo: "make V=0")
   1528   --enable-maintainer-mode
   1529                           enable make rules and dependencies not useful (and
   1530                           sometimes confusing) to the casual installer
   1531   --enable-dependency-tracking
   1532                           do not reject slow dependency extractors
   1533   --disable-dependency-tracking
   1534                           speeds up one-time build
   1535   --disable-ssp           Do not compile with -fstack-protector
   1536   --disable-asm           Do not compile assembly code -- As a side effect,
   1537                           this disables CPU-specific implementations on
   1538                           non-Windows platforms. Only for use with targets
   1539                           such as WebAssembly.
   1540   --disable-pie           Do not produce position independent executables
   1541   --enable-blocking-random
   1542                           Enable this switch only if /dev/urandom is totally
   1543                           broken on the target platform
   1544   --enable-minimal        Only compile the minimum set of functions required
   1545                           for the high-level API
   1546   --enable-retpoline      Use return trampolines for indirect calls
   1547   --enable-debug          For maintainers only - please do not use
   1548   --enable-opt            Optimize for the native CPU - The resulting library
   1549                           will be faster but not portable
   1550   --enable-valgrind       Whether to enable Valgrind on the unit tests
   1551   --disable-valgrind-memcheck
   1552                           Whether to skip memcheck during the Valgrind tests
   1553   --disable-valgrind-helgrind
   1554                           Whether to skip helgrind during the Valgrind tests
   1555   --disable-valgrind-drd  Whether to skip drd during the Valgrind tests
   1556   --disable-valgrind-sgcheck
   1557                           Whether to skip sgcheck during the Valgrind tests
   1558   --enable-soname-versions
   1559                           enable soname versions (must be disabled for
   1560                           Android) (default: enabled)
   1561   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1562   --enable-static[=PKGS]  build static libraries [default=yes]
   1563   --enable-pic[=PKGS]     try to use only PIC/non-PIC objects [default=use
   1564                           both]
   1565   --enable-fast-install[=PKGS]
   1566                           optimize for fast installation [default=yes]
   1567   --enable-aix-soname=aix|svr4|both
   1568                           shared library versioning (aka "SONAME") variant to
   1569                           provide on AIX, [default=aix].
   1570   --disable-libtool-lock  avoid locking (might break parallel builds)
   1571 
   1572 Optional Packages:
   1573   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1574   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1575   --with-pthreads         use pthreads library, or --without-pthreads to
   1576                           disable threading support
   1577   --with-safecode         For maintainers only - please do not use
   1578   --with-ctgrind          For maintainers only - please do not use
   1579   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1580   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1581                           compiler's sysroot if not specified).
   1582 
   1583 Some influential environment variables:
   1584   CC          C compiler command
   1585   CFLAGS      C compiler flags
   1586   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1587               nonstandard directory <lib dir>
   1588   LIBS        libraries to pass to the linker, e.g. -l<library>
   1589   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1590               you have headers in a nonstandard directory <include dir>
   1591   CCAS        assembler compiler command (defaults to CC)
   1592   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
   1593   CPP         C preprocessor
   1594   SAFECODE_HOME
   1595               set to the safecode base directory
   1596   CWFLAGS     compilation flags for generating extra warnings
   1597   LT_SYS_LIBRARY_PATH
   1598               User-defined run-time library search path.
   1599   AR          path to the ar utility
   1600 
   1601 Use these variables to override the choices made by 'configure' or to help
   1602 it to find libraries and programs with nonstandard names/locations.
   1603 
   1604 Report bugs to <https://github.com/jedisct1/libsodium/issues>.
   1605 libsodium home page: <https://libsodium.org>.
   1606 _ACEOF
   1607 ac_status=$?
   1608 fi
   1609 
   1610 if test "$ac_init_help" = "recursive"; then
   1611   # If there are subdirs, report their specific --help.
   1612   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1613     test -d "$ac_dir" ||
   1614       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1615       continue
   1616     ac_builddir=.
   1617 
   1618 case "$ac_dir" in
   1619 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1620 *)
   1621   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1622   # A ".." for each directory in $ac_dir_suffix.
   1623   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1624   case $ac_top_builddir_sub in
   1625   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1626   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1627   esac ;;
   1628 esac
   1629 ac_abs_top_builddir=$ac_pwd
   1630 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1631 # for backward compatibility:
   1632 ac_top_builddir=$ac_top_build_prefix
   1633 
   1634 case $srcdir in
   1635   .)  # We are building in place.
   1636     ac_srcdir=.
   1637     ac_top_srcdir=$ac_top_builddir_sub
   1638     ac_abs_top_srcdir=$ac_pwd ;;
   1639   [\\/]* | ?:[\\/]* )  # Absolute name.
   1640     ac_srcdir=$srcdir$ac_dir_suffix;
   1641     ac_top_srcdir=$srcdir
   1642     ac_abs_top_srcdir=$srcdir ;;
   1643   *) # Relative name.
   1644     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1645     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1646     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1647 esac
   1648 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1649 
   1650     cd "$ac_dir" || { ac_status=$?; continue; }
   1651     # Check for configure.gnu first; this name is used for a wrapper for
   1652     # Metaconfig's "Configure" on case-insensitive file systems.
   1653     if test -f "$ac_srcdir/configure.gnu"; then
   1654       echo &&
   1655       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1656     elif test -f "$ac_srcdir/configure"; then
   1657       echo &&
   1658       $SHELL "$ac_srcdir/configure" --help=recursive
   1659     else
   1660       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1661     fi || ac_status=$?
   1662     cd "$ac_pwd" || { ac_status=$?; break; }
   1663   done
   1664 fi
   1665 
   1666 test -n "$ac_init_help" && exit $ac_status
   1667 if $ac_init_version; then
   1668   cat <<\_ACEOF
   1669 libsodium configure 1.0.20
   1670 generated by GNU Autoconf 2.72
   1671 
   1672 Copyright (C) 2023 Free Software Foundation, Inc.
   1673 This configure script is free software; the Free Software Foundation
   1674 gives unlimited permission to copy, distribute and modify it.
   1675 _ACEOF
   1676   exit
   1677 fi
   1678 
   1679 ## ------------------------ ##
   1680 ## Autoconf initialization. ##
   1681 ## ------------------------ ##
   1682 
   1683 # ac_fn_c_try_compile LINENO
   1684 # --------------------------
   1685 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1686 ac_fn_c_try_compile ()
   1687 {
   1688   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1689   rm -f conftest.$ac_objext conftest.beam
   1690   if { { ac_try="$ac_compile"
   1691 case "(($ac_try" in
   1692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1693   *) ac_try_echo=$ac_try;;
   1694 esac
   1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1696 printf "%s\n" "$ac_try_echo"; } >&5
   1697   (eval "$ac_compile") 2>conftest.err
   1698   ac_status=$?
   1699   if test -s conftest.err; then
   1700     grep -v '^ *+' conftest.err >conftest.er1
   1701     cat conftest.er1 >&5
   1702     mv -f conftest.er1 conftest.err
   1703   fi
   1704   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1705   test $ac_status = 0; } && {
   1706 	 test -z "$ac_c_werror_flag" ||
   1707 	 test ! -s conftest.err
   1708        } && test -s conftest.$ac_objext
   1709 then :
   1710   ac_retval=0
   1711 else case e in #(
   1712   e) printf "%s\n" "$as_me: failed program was:" >&5
   1713 sed 's/^/| /' conftest.$ac_ext >&5
   1714 
   1715 	ac_retval=1 ;;
   1716 esac
   1717 fi
   1718   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1719   as_fn_set_status $ac_retval
   1720 
   1721 } # ac_fn_c_try_compile
   1722 
   1723 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1724 # -------------------------------------------------------
   1725 # Tests whether HEADER exists and can be compiled using the include files in
   1726 # INCLUDES, setting the cache variable VAR accordingly.
   1727 ac_fn_c_check_header_compile ()
   1728 {
   1729   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1730   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1731 printf %s "checking for $2... " >&6; }
   1732 if eval test \${$3+y}
   1733 then :
   1734   printf %s "(cached) " >&6
   1735 else case e in #(
   1736   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1737 /* end confdefs.h.  */
   1738 $4
   1739 #include <$2>
   1740 _ACEOF
   1741 if ac_fn_c_try_compile "$LINENO"
   1742 then :
   1743   eval "$3=yes"
   1744 else case e in #(
   1745   e) eval "$3=no" ;;
   1746 esac
   1747 fi
   1748 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1749 esac
   1750 fi
   1751 eval ac_res=\$$3
   1752 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1753 printf "%s\n" "$ac_res" >&6; }
   1754   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1755 
   1756 } # ac_fn_c_check_header_compile
   1757 
   1758 # ac_fn_c_try_link LINENO
   1759 # -----------------------
   1760 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1761 ac_fn_c_try_link ()
   1762 {
   1763   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1764   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1765   if { { ac_try="$ac_link"
   1766 case "(($ac_try" in
   1767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1768   *) ac_try_echo=$ac_try;;
   1769 esac
   1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1771 printf "%s\n" "$ac_try_echo"; } >&5
   1772   (eval "$ac_link") 2>conftest.err
   1773   ac_status=$?
   1774   if test -s conftest.err; then
   1775     grep -v '^ *+' conftest.err >conftest.er1
   1776     cat conftest.er1 >&5
   1777     mv -f conftest.er1 conftest.err
   1778   fi
   1779   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1780   test $ac_status = 0; } && {
   1781 	 test -z "$ac_c_werror_flag" ||
   1782 	 test ! -s conftest.err
   1783        } && test -s conftest$ac_exeext && {
   1784 	 test "$cross_compiling" = yes ||
   1785 	 test -x conftest$ac_exeext
   1786        }
   1787 then :
   1788   ac_retval=0
   1789 else case e in #(
   1790   e) printf "%s\n" "$as_me: failed program was:" >&5
   1791 sed 's/^/| /' conftest.$ac_ext >&5
   1792 
   1793 	ac_retval=1 ;;
   1794 esac
   1795 fi
   1796   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1797   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1798   # interfere with the next link command; also delete a directory that is
   1799   # left behind by Apple's compiler.  We do this before executing the actions.
   1800   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1801   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1802   as_fn_set_status $ac_retval
   1803 
   1804 } # ac_fn_c_try_link
   1805 
   1806 # ac_fn_c_try_cpp LINENO
   1807 # ----------------------
   1808 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1809 ac_fn_c_try_cpp ()
   1810 {
   1811   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1812   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1813 case "(($ac_try" in
   1814   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1815   *) ac_try_echo=$ac_try;;
   1816 esac
   1817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1818 printf "%s\n" "$ac_try_echo"; } >&5
   1819   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1820   ac_status=$?
   1821   if test -s conftest.err; then
   1822     grep -v '^ *+' conftest.err >conftest.er1
   1823     cat conftest.er1 >&5
   1824     mv -f conftest.er1 conftest.err
   1825   fi
   1826   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1827   test $ac_status = 0; } > conftest.i && {
   1828 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1829 	 test ! -s conftest.err
   1830        }
   1831 then :
   1832   ac_retval=0
   1833 else case e in #(
   1834   e) printf "%s\n" "$as_me: failed program was:" >&5
   1835 sed 's/^/| /' conftest.$ac_ext >&5
   1836 
   1837     ac_retval=1 ;;
   1838 esac
   1839 fi
   1840   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1841   as_fn_set_status $ac_retval
   1842 
   1843 } # ac_fn_c_try_cpp
   1844 
   1845 # ac_fn_c_try_run LINENO
   1846 # ----------------------
   1847 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   1848 # executables *can* be run.
   1849 ac_fn_c_try_run ()
   1850 {
   1851   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1852   if { { ac_try="$ac_link"
   1853 case "(($ac_try" in
   1854   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1855   *) ac_try_echo=$ac_try;;
   1856 esac
   1857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1858 printf "%s\n" "$ac_try_echo"; } >&5
   1859   (eval "$ac_link") 2>&5
   1860   ac_status=$?
   1861   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1862   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1863   { { case "(($ac_try" in
   1864   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1865   *) ac_try_echo=$ac_try;;
   1866 esac
   1867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1868 printf "%s\n" "$ac_try_echo"; } >&5
   1869   (eval "$ac_try") 2>&5
   1870   ac_status=$?
   1871   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1872   test $ac_status = 0; }; }
   1873 then :
   1874   ac_retval=0
   1875 else case e in #(
   1876   e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5
   1877        printf "%s\n" "$as_me: failed program was:" >&5
   1878 sed 's/^/| /' conftest.$ac_ext >&5
   1879 
   1880        ac_retval=$ac_status ;;
   1881 esac
   1882 fi
   1883   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1884   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1885   as_fn_set_status $ac_retval
   1886 
   1887 } # ac_fn_c_try_run
   1888 
   1889 # ac_fn_c_check_func LINENO FUNC VAR
   1890 # ----------------------------------
   1891 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1892 ac_fn_c_check_func ()
   1893 {
   1894   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1895   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1896 printf %s "checking for $2... " >&6; }
   1897 if eval test \${$3+y}
   1898 then :
   1899   printf %s "(cached) " >&6
   1900 else case e in #(
   1901   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1902 /* end confdefs.h.  */
   1903 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1904    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1905 #define $2 innocuous_$2
   1906 
   1907 /* System header to define __stub macros and hopefully few prototypes,
   1908    which can conflict with char $2 (void); below.  */
   1909 
   1910 #include <limits.h>
   1911 #undef $2
   1912 
   1913 /* Override any GCC internal prototype to avoid an error.
   1914    Use char because int might match the return type of a GCC
   1915    builtin and then its argument prototype would still apply.  */
   1916 #ifdef __cplusplus
   1917 extern "C"
   1918 #endif
   1919 char $2 (void);
   1920 /* The GNU C library defines this for functions which it implements
   1921     to always fail with ENOSYS.  Some functions are actually named
   1922     something starting with __ and the normal name is an alias.  */
   1923 #if defined __stub_$2 || defined __stub___$2
   1924 choke me
   1925 #endif
   1926 
   1927 int
   1928 main (void)
   1929 {
   1930 return $2 ();
   1931   ;
   1932   return 0;
   1933 }
   1934 _ACEOF
   1935 if ac_fn_c_try_link "$LINENO"
   1936 then :
   1937   eval "$3=yes"
   1938 else case e in #(
   1939   e) eval "$3=no" ;;
   1940 esac
   1941 fi
   1942 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1943     conftest$ac_exeext conftest.$ac_ext ;;
   1944 esac
   1945 fi
   1946 eval ac_res=\$$3
   1947 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1948 printf "%s\n" "$ac_res" >&6; }
   1949   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1950 
   1951 } # ac_fn_c_check_func
   1952 
   1953 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1954 # -------------------------------------------
   1955 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1956 # variable VAR accordingly.
   1957 ac_fn_c_check_type ()
   1958 {
   1959   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1960   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1961 printf %s "checking for $2... " >&6; }
   1962 if eval test \${$3+y}
   1963 then :
   1964   printf %s "(cached) " >&6
   1965 else case e in #(
   1966   e) eval "$3=no"
   1967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1968 /* end confdefs.h.  */
   1969 $4
   1970 int
   1971 main (void)
   1972 {
   1973 if (sizeof ($2))
   1974 	 return 0;
   1975   ;
   1976   return 0;
   1977 }
   1978 _ACEOF
   1979 if ac_fn_c_try_compile "$LINENO"
   1980 then :
   1981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1982 /* end confdefs.h.  */
   1983 $4
   1984 int
   1985 main (void)
   1986 {
   1987 if (sizeof (($2)))
   1988 	    return 0;
   1989   ;
   1990   return 0;
   1991 }
   1992 _ACEOF
   1993 if ac_fn_c_try_compile "$LINENO"
   1994 then :
   1995 
   1996 else case e in #(
   1997   e) eval "$3=yes" ;;
   1998 esac
   1999 fi
   2000 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2001 fi
   2002 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2003 esac
   2004 fi
   2005 eval ac_res=\$$3
   2006 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2007 printf "%s\n" "$ac_res" >&6; }
   2008   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2009 
   2010 } # ac_fn_c_check_type
   2011 ac_configure_args_raw=
   2012 for ac_arg
   2013 do
   2014   case $ac_arg in
   2015   *\'*)
   2016     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2017   esac
   2018   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2019 done
   2020 
   2021 case $ac_configure_args_raw in
   2022   *$as_nl*)
   2023     ac_safe_unquote= ;;
   2024   *)
   2025     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2026     ac_unsafe_a="$ac_unsafe_z#~"
   2027     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2028     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2029 esac
   2030 
   2031 cat >config.log <<_ACEOF
   2032 This file contains any messages produced by compilers while
   2033 running configure, to aid debugging if configure makes a mistake.
   2034 
   2035 It was created by libsodium $as_me 1.0.20, which was
   2036 generated by GNU Autoconf 2.72.  Invocation command line was
   2037 
   2038   $ $0$ac_configure_args_raw
   2039 
   2040 _ACEOF
   2041 exec 5>>config.log
   2042 {
   2043 cat <<_ASUNAME
   2044 ## --------- ##
   2045 ## Platform. ##
   2046 ## --------- ##
   2047 
   2048 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2049 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2050 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2051 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2052 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2053 
   2054 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2055 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2056 
   2057 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2058 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2059 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2060 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2061 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2062 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2063 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2064 
   2065 _ASUNAME
   2066 
   2067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2068 for as_dir in $PATH
   2069 do
   2070   IFS=$as_save_IFS
   2071   case $as_dir in #(((
   2072     '') as_dir=./ ;;
   2073     */) ;;
   2074     *) as_dir=$as_dir/ ;;
   2075   esac
   2076     printf "%s\n" "PATH: $as_dir"
   2077   done
   2078 IFS=$as_save_IFS
   2079 
   2080 } >&5
   2081 
   2082 cat >&5 <<_ACEOF
   2083 
   2084 
   2085 ## ----------- ##
   2086 ## Core tests. ##
   2087 ## ----------- ##
   2088 
   2089 _ACEOF
   2090 
   2091 
   2092 # Keep a trace of the command line.
   2093 # Strip out --no-create and --no-recursion so they do not pile up.
   2094 # Strip out --silent because we don't want to record it for future runs.
   2095 # Also quote any args containing shell meta-characters.
   2096 # Make two passes to allow for proper duplicate-argument suppression.
   2097 ac_configure_args=
   2098 ac_configure_args0=
   2099 ac_configure_args1=
   2100 ac_must_keep_next=false
   2101 for ac_pass in 1 2
   2102 do
   2103   for ac_arg
   2104   do
   2105     case $ac_arg in
   2106     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2107     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2108     | -silent | --silent | --silen | --sile | --sil)
   2109       continue ;;
   2110     *\'*)
   2111       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2112     esac
   2113     case $ac_pass in
   2114     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2115     2)
   2116       as_fn_append ac_configure_args1 " '$ac_arg'"
   2117       if test $ac_must_keep_next = true; then
   2118 	ac_must_keep_next=false # Got value, back to normal.
   2119       else
   2120 	case $ac_arg in
   2121 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2122 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2123 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2124 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2125 	    case "$ac_configure_args0 " in
   2126 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2127 	    esac
   2128 	    ;;
   2129 	  -* ) ac_must_keep_next=true ;;
   2130 	esac
   2131       fi
   2132       as_fn_append ac_configure_args " '$ac_arg'"
   2133       ;;
   2134     esac
   2135   done
   2136 done
   2137 { ac_configure_args0=; unset ac_configure_args0;}
   2138 { ac_configure_args1=; unset ac_configure_args1;}
   2139 
   2140 # When interrupted or exit'd, cleanup temporary files, and complete
   2141 # config.log.  We remove comments because anyway the quotes in there
   2142 # would cause problems or look ugly.
   2143 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2144 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2145 trap 'exit_status=$?
   2146   # Sanitize IFS.
   2147   IFS=" ""	$as_nl"
   2148   # Save into config.log some information that might help in debugging.
   2149   {
   2150     echo
   2151 
   2152     printf "%s\n" "## ---------------- ##
   2153 ## Cache variables. ##
   2154 ## ---------------- ##"
   2155     echo
   2156     # The following way of writing the cache mishandles newlines in values,
   2157 (
   2158   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2159     eval ac_val=\$$ac_var
   2160     case $ac_val in #(
   2161     *${as_nl}*)
   2162       case $ac_var in #(
   2163       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2164 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2165       esac
   2166       case $ac_var in #(
   2167       _ | IFS | as_nl) ;; #(
   2168       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2169       *) { eval $ac_var=; unset $ac_var;} ;;
   2170       esac ;;
   2171     esac
   2172   done
   2173   (set) 2>&1 |
   2174     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2175     *${as_nl}ac_space=\ *)
   2176       sed -n \
   2177 	"s/'\''/'\''\\\\'\'''\''/g;
   2178 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2179       ;; #(
   2180     *)
   2181       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2182       ;;
   2183     esac |
   2184     sort
   2185 )
   2186     echo
   2187 
   2188     printf "%s\n" "## ----------------- ##
   2189 ## Output variables. ##
   2190 ## ----------------- ##"
   2191     echo
   2192     for ac_var in $ac_subst_vars
   2193     do
   2194       eval ac_val=\$$ac_var
   2195       case $ac_val in
   2196       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2197       esac
   2198       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2199     done | sort
   2200     echo
   2201 
   2202     if test -n "$ac_subst_files"; then
   2203       printf "%s\n" "## ------------------- ##
   2204 ## File substitutions. ##
   2205 ## ------------------- ##"
   2206       echo
   2207       for ac_var in $ac_subst_files
   2208       do
   2209 	eval ac_val=\$$ac_var
   2210 	case $ac_val in
   2211 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2212 	esac
   2213 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2214       done | sort
   2215       echo
   2216     fi
   2217 
   2218     if test -s confdefs.h; then
   2219       printf "%s\n" "## ----------- ##
   2220 ## confdefs.h. ##
   2221 ## ----------- ##"
   2222       echo
   2223       cat confdefs.h
   2224       echo
   2225     fi
   2226     test "$ac_signal" != 0 &&
   2227       printf "%s\n" "$as_me: caught signal $ac_signal"
   2228     printf "%s\n" "$as_me: exit $exit_status"
   2229   } >&5
   2230   rm -f core *.core core.conftest.* &&
   2231     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2232     exit $exit_status
   2233 ' 0
   2234 for ac_signal in 1 2 13 15; do
   2235   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2236 done
   2237 ac_signal=0
   2238 
   2239 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2240 rm -f -r conftest* confdefs.h
   2241 
   2242 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2243 
   2244 # Predefined preprocessor variables.
   2245 
   2246 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2247 
   2248 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2249 
   2250 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2251 
   2252 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2253 
   2254 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2255 
   2256 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2257 
   2258 
   2259 # Let the site file select an alternate cache file if it wants to.
   2260 # Prefer an explicitly selected file to automatically selected ones.
   2261 if test -n "$CONFIG_SITE"; then
   2262   ac_site_files="$CONFIG_SITE"
   2263 elif test "x$prefix" != xNONE; then
   2264   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2265 else
   2266   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2267 fi
   2268 
   2269 for ac_site_file in $ac_site_files
   2270 do
   2271   case $ac_site_file in #(
   2272   */*) :
   2273      ;; #(
   2274   *) :
   2275     ac_site_file=./$ac_site_file ;;
   2276 esac
   2277   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2278     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2279 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2280     sed 's/^/| /' "$ac_site_file" >&5
   2281     . "$ac_site_file" \
   2282       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2283 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2284 as_fn_error $? "failed to load site script $ac_site_file
   2285 See 'config.log' for more details" "$LINENO" 5; }
   2286   fi
   2287 done
   2288 
   2289 if test -r "$cache_file"; then
   2290   # Some versions of bash will fail to source /dev/null (special files
   2291   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2292   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2293     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2294 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2295     case $cache_file in
   2296       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2297       *)                      . "./$cache_file";;
   2298     esac
   2299   fi
   2300 else
   2301   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2302 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2303   >$cache_file
   2304 fi
   2305 
   2306 # Test code for whether the C compiler supports C89 (global declarations)
   2307 ac_c_conftest_c89_globals='
   2308 /* Does the compiler advertise C89 conformance?
   2309    Do not test the value of __STDC__, because some compilers set it to 0
   2310    while being otherwise adequately conformant. */
   2311 #if !defined __STDC__
   2312 # error "Compiler does not advertise C89 conformance"
   2313 #endif
   2314 
   2315 #include <stddef.h>
   2316 #include <stdarg.h>
   2317 struct stat;
   2318 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2319 struct buf { int x; };
   2320 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2321 static char *e (char **p, int i)
   2322 {
   2323   return p[i];
   2324 }
   2325 static char *f (char * (*g) (char **, int), char **p, ...)
   2326 {
   2327   char *s;
   2328   va_list v;
   2329   va_start (v,p);
   2330   s = g (p, va_arg (v,int));
   2331   va_end (v);
   2332   return s;
   2333 }
   2334 
   2335 /* C89 style stringification. */
   2336 #define noexpand_stringify(a) #a
   2337 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2338 
   2339 /* C89 style token pasting.  Exercises some of the corner cases that
   2340    e.g. old MSVC gets wrong, but not very hard. */
   2341 #define noexpand_concat(a,b) a##b
   2342 #define expand_concat(a,b) noexpand_concat(a,b)
   2343 extern int vA;
   2344 extern int vbee;
   2345 #define aye A
   2346 #define bee B
   2347 int *pvA = &expand_concat(v,aye);
   2348 int *pvbee = &noexpand_concat(v,bee);
   2349 
   2350 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2351    function prototypes and stuff, but not \xHH hex character constants.
   2352    These do not provoke an error unfortunately, instead are silently treated
   2353    as an "x".  The following induces an error, until -std is added to get
   2354    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2355    array size at least.  It is necessary to write \x00 == 0 to get something
   2356    that is true only with -std.  */
   2357 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2358 
   2359 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2360    inside strings and character constants.  */
   2361 #define FOO(x) '\''x'\''
   2362 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2363 
   2364 int test (int i, double x);
   2365 struct s1 {int (*f) (int a);};
   2366 struct s2 {int (*f) (double a);};
   2367 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2368                int, int);'
   2369 
   2370 # Test code for whether the C compiler supports C89 (body of main).
   2371 ac_c_conftest_c89_main='
   2372 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2373 '
   2374 
   2375 # Test code for whether the C compiler supports C99 (global declarations)
   2376 ac_c_conftest_c99_globals='
   2377 /* Does the compiler advertise C99 conformance? */
   2378 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2379 # error "Compiler does not advertise C99 conformance"
   2380 #endif
   2381 
   2382 // See if C++-style comments work.
   2383 
   2384 #include <stdbool.h>
   2385 extern int puts (const char *);
   2386 extern int printf (const char *, ...);
   2387 extern int dprintf (int, const char *, ...);
   2388 extern void *malloc (size_t);
   2389 extern void free (void *);
   2390 
   2391 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2392 // dprintf is used instead of fprintf to avoid needing to declare
   2393 // FILE and stderr.
   2394 #define debug(...) dprintf (2, __VA_ARGS__)
   2395 #define showlist(...) puts (#__VA_ARGS__)
   2396 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2397 static void
   2398 test_varargs_macros (void)
   2399 {
   2400   int x = 1234;
   2401   int y = 5678;
   2402   debug ("Flag");
   2403   debug ("X = %d\n", x);
   2404   showlist (The first, second, and third items.);
   2405   report (x>y, "x is %d but y is %d", x, y);
   2406 }
   2407 
   2408 // Check long long types.
   2409 #define BIG64 18446744073709551615ull
   2410 #define BIG32 4294967295ul
   2411 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2412 #if !BIG_OK
   2413   #error "your preprocessor is broken"
   2414 #endif
   2415 #if BIG_OK
   2416 #else
   2417   #error "your preprocessor is broken"
   2418 #endif
   2419 static long long int bignum = -9223372036854775807LL;
   2420 static unsigned long long int ubignum = BIG64;
   2421 
   2422 struct incomplete_array
   2423 {
   2424   int datasize;
   2425   double data[];
   2426 };
   2427 
   2428 struct named_init {
   2429   int number;
   2430   const wchar_t *name;
   2431   double average;
   2432 };
   2433 
   2434 typedef const char *ccp;
   2435 
   2436 static inline int
   2437 test_restrict (ccp restrict text)
   2438 {
   2439   // Iterate through items via the restricted pointer.
   2440   // Also check for declarations in for loops.
   2441   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2442     continue;
   2443   return 0;
   2444 }
   2445 
   2446 // Check varargs and va_copy.
   2447 static bool
   2448 test_varargs (const char *format, ...)
   2449 {
   2450   va_list args;
   2451   va_start (args, format);
   2452   va_list args_copy;
   2453   va_copy (args_copy, args);
   2454 
   2455   const char *str = "";
   2456   int number = 0;
   2457   float fnumber = 0;
   2458 
   2459   while (*format)
   2460     {
   2461       switch (*format++)
   2462 	{
   2463 	case '\''s'\'': // string
   2464 	  str = va_arg (args_copy, const char *);
   2465 	  break;
   2466 	case '\''d'\'': // int
   2467 	  number = va_arg (args_copy, int);
   2468 	  break;
   2469 	case '\''f'\'': // float
   2470 	  fnumber = va_arg (args_copy, double);
   2471 	  break;
   2472 	default:
   2473 	  break;
   2474 	}
   2475     }
   2476   va_end (args_copy);
   2477   va_end (args);
   2478 
   2479   return *str && number && fnumber;
   2480 }
   2481 '
   2482 
   2483 # Test code for whether the C compiler supports C99 (body of main).
   2484 ac_c_conftest_c99_main='
   2485   // Check bool.
   2486   _Bool success = false;
   2487   success |= (argc != 0);
   2488 
   2489   // Check restrict.
   2490   if (test_restrict ("String literal") == 0)
   2491     success = true;
   2492   char *restrict newvar = "Another string";
   2493 
   2494   // Check varargs.
   2495   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2496   test_varargs_macros ();
   2497 
   2498   // Check flexible array members.
   2499   struct incomplete_array *ia =
   2500     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2501   ia->datasize = 10;
   2502   for (int i = 0; i < ia->datasize; ++i)
   2503     ia->data[i] = i * 1.234;
   2504   // Work around memory leak warnings.
   2505   free (ia);
   2506 
   2507   // Check named initializers.
   2508   struct named_init ni = {
   2509     .number = 34,
   2510     .name = L"Test wide string",
   2511     .average = 543.34343,
   2512   };
   2513 
   2514   ni.number = 58;
   2515 
   2516   int dynamic_array[ni.number];
   2517   dynamic_array[0] = argv[0][0];
   2518   dynamic_array[ni.number - 1] = 543;
   2519 
   2520   // work around unused variable warnings
   2521   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2522 	 || dynamic_array[ni.number - 1] != 543);
   2523 '
   2524 
   2525 # Test code for whether the C compiler supports C11 (global declarations)
   2526 ac_c_conftest_c11_globals='
   2527 /* Does the compiler advertise C11 conformance? */
   2528 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2529 # error "Compiler does not advertise C11 conformance"
   2530 #endif
   2531 
   2532 // Check _Alignas.
   2533 char _Alignas (double) aligned_as_double;
   2534 char _Alignas (0) no_special_alignment;
   2535 extern char aligned_as_int;
   2536 char _Alignas (0) _Alignas (int) aligned_as_int;
   2537 
   2538 // Check _Alignof.
   2539 enum
   2540 {
   2541   int_alignment = _Alignof (int),
   2542   int_array_alignment = _Alignof (int[100]),
   2543   char_alignment = _Alignof (char)
   2544 };
   2545 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2546 
   2547 // Check _Noreturn.
   2548 int _Noreturn does_not_return (void) { for (;;) continue; }
   2549 
   2550 // Check _Static_assert.
   2551 struct test_static_assert
   2552 {
   2553   int x;
   2554   _Static_assert (sizeof (int) <= sizeof (long int),
   2555                   "_Static_assert does not work in struct");
   2556   long int y;
   2557 };
   2558 
   2559 // Check UTF-8 literals.
   2560 #define u8 syntax error!
   2561 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2562 
   2563 // Check duplicate typedefs.
   2564 typedef long *long_ptr;
   2565 typedef long int *long_ptr;
   2566 typedef long_ptr long_ptr;
   2567 
   2568 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2569 struct anonymous
   2570 {
   2571   union {
   2572     struct { int i; int j; };
   2573     struct { int k; long int l; } w;
   2574   };
   2575   int m;
   2576 } v1;
   2577 '
   2578 
   2579 # Test code for whether the C compiler supports C11 (body of main).
   2580 ac_c_conftest_c11_main='
   2581   _Static_assert ((offsetof (struct anonymous, i)
   2582 		   == offsetof (struct anonymous, w.k)),
   2583 		  "Anonymous union alignment botch");
   2584   v1.i = 2;
   2585   v1.w.k = 5;
   2586   ok |= v1.i != 5;
   2587 '
   2588 
   2589 # Test code for whether the C compiler supports C11 (complete).
   2590 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2591 ${ac_c_conftest_c99_globals}
   2592 ${ac_c_conftest_c11_globals}
   2593 
   2594 int
   2595 main (int argc, char **argv)
   2596 {
   2597   int ok = 0;
   2598   ${ac_c_conftest_c89_main}
   2599   ${ac_c_conftest_c99_main}
   2600   ${ac_c_conftest_c11_main}
   2601   return ok;
   2602 }
   2603 "
   2604 
   2605 # Test code for whether the C compiler supports C99 (complete).
   2606 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2607 ${ac_c_conftest_c99_globals}
   2608 
   2609 int
   2610 main (int argc, char **argv)
   2611 {
   2612   int ok = 0;
   2613   ${ac_c_conftest_c89_main}
   2614   ${ac_c_conftest_c99_main}
   2615   return ok;
   2616 }
   2617 "
   2618 
   2619 # Test code for whether the C compiler supports C89 (complete).
   2620 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2621 
   2622 int
   2623 main (int argc, char **argv)
   2624 {
   2625   int ok = 0;
   2626   ${ac_c_conftest_c89_main}
   2627   return ok;
   2628 }
   2629 "
   2630 
   2631 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2632 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2633 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2634 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2635 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2636 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2637 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2638 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2639 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2640 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2641 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2642 
   2643 # Auxiliary files required by this configure script.
   2644 ac_aux_files="ltmain.sh compile missing install-sh config.guess config.sub"
   2645 
   2646 # Locations in which to look for auxiliary files.
   2647 ac_aux_dir_candidates="${srcdir}/build-aux"
   2648 
   2649 # Search for a directory containing all of the required auxiliary files,
   2650 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2651 # If we don't find one directory that contains all the files we need,
   2652 # we report the set of missing files from the *first* directory in
   2653 # $ac_aux_dir_candidates and give up.
   2654 ac_missing_aux_files=""
   2655 ac_first_candidate=:
   2656 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2658 as_found=false
   2659 for as_dir in $ac_aux_dir_candidates
   2660 do
   2661   IFS=$as_save_IFS
   2662   case $as_dir in #(((
   2663     '') as_dir=./ ;;
   2664     */) ;;
   2665     *) as_dir=$as_dir/ ;;
   2666   esac
   2667   as_found=:
   2668 
   2669   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2670   ac_aux_dir_found=yes
   2671   ac_install_sh=
   2672   for ac_aux in $ac_aux_files
   2673   do
   2674     # As a special case, if "install-sh" is required, that requirement
   2675     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2676     # and $ac_install_sh is set appropriately for whichever one is found.
   2677     if test x"$ac_aux" = x"install-sh"
   2678     then
   2679       if test -f "${as_dir}install-sh"; then
   2680         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2681         ac_install_sh="${as_dir}install-sh -c"
   2682       elif test -f "${as_dir}install.sh"; then
   2683         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2684         ac_install_sh="${as_dir}install.sh -c"
   2685       elif test -f "${as_dir}shtool"; then
   2686         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2687         ac_install_sh="${as_dir}shtool install -c"
   2688       else
   2689         ac_aux_dir_found=no
   2690         if $ac_first_candidate; then
   2691           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2692         else
   2693           break
   2694         fi
   2695       fi
   2696     else
   2697       if test -f "${as_dir}${ac_aux}"; then
   2698         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2699       else
   2700         ac_aux_dir_found=no
   2701         if $ac_first_candidate; then
   2702           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2703         else
   2704           break
   2705         fi
   2706       fi
   2707     fi
   2708   done
   2709   if test "$ac_aux_dir_found" = yes; then
   2710     ac_aux_dir="$as_dir"
   2711     break
   2712   fi
   2713   ac_first_candidate=false
   2714 
   2715   as_found=false
   2716 done
   2717 IFS=$as_save_IFS
   2718 if $as_found
   2719 then :
   2720 
   2721 else case e in #(
   2722   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2723 esac
   2724 fi
   2725 
   2726 
   2727 # These three variables are undocumented and unsupported,
   2728 # and are intended to be withdrawn in a future Autoconf release.
   2729 # They can cause serious problems if a builder's source tree is in a directory
   2730 # whose full name contains unusual characters.
   2731 if test -f "${ac_aux_dir}config.guess"; then
   2732   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2733 fi
   2734 if test -f "${ac_aux_dir}config.sub"; then
   2735   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2736 fi
   2737 if test -f "$ac_aux_dir/configure"; then
   2738   ac_configure="$SHELL ${ac_aux_dir}configure"
   2739 fi
   2740 
   2741 # Check that the precious variables saved in the cache have kept the same
   2742 # value.
   2743 ac_cache_corrupted=false
   2744 for ac_var in $ac_precious_vars; do
   2745   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2746   eval ac_new_set=\$ac_env_${ac_var}_set
   2747   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2748   eval ac_new_val=\$ac_env_${ac_var}_value
   2749   case $ac_old_set,$ac_new_set in
   2750     set,)
   2751       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2752 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2753       ac_cache_corrupted=: ;;
   2754     ,set)
   2755       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2756 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2757       ac_cache_corrupted=: ;;
   2758     ,);;
   2759     *)
   2760       if test "x$ac_old_val" != "x$ac_new_val"; then
   2761 	# differences in whitespace do not lead to failure.
   2762 	ac_old_val_w=`echo x $ac_old_val`
   2763 	ac_new_val_w=`echo x $ac_new_val`
   2764 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2765 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2766 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2767 	  ac_cache_corrupted=:
   2768 	else
   2769 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2770 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2771 	  eval $ac_var=\$ac_old_val
   2772 	fi
   2773 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2774 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2775 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2776 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2777       fi;;
   2778   esac
   2779   # Pass precious variables to config.status.
   2780   if test "$ac_new_set" = set; then
   2781     case $ac_new_val in
   2782     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2783     *) ac_arg=$ac_var=$ac_new_val ;;
   2784     esac
   2785     case " $ac_configure_args " in
   2786       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2787       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2788     esac
   2789   fi
   2790 done
   2791 if $ac_cache_corrupted; then
   2792   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2793 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2794   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2795 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2796   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2797 	    and start over" "$LINENO" 5
   2798 fi
   2799 ## -------------------- ##
   2800 ## Main body of script. ##
   2801 ## -------------------- ##
   2802 
   2803 ac_ext=c
   2804 ac_cpp='$CPP $CPPFLAGS'
   2805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2808 
   2809 
   2810 
   2811 
   2812 
   2813 
   2814 
   2815 
   2816   # Make sure we can run config.sub.
   2817 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   2818   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   2819 
   2820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2821 printf %s "checking build system type... " >&6; }
   2822 if test ${ac_cv_build+y}
   2823 then :
   2824   printf %s "(cached) " >&6
   2825 else case e in #(
   2826   e) ac_build_alias=$build_alias
   2827 test "x$ac_build_alias" = x &&
   2828   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   2829 test "x$ac_build_alias" = x &&
   2830   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2831 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   2832   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   2833  ;;
   2834 esac
   2835 fi
   2836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2837 printf "%s\n" "$ac_cv_build" >&6; }
   2838 case $ac_cv_build in
   2839 *-*-*) ;;
   2840 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2841 esac
   2842 build=$ac_cv_build
   2843 ac_save_IFS=$IFS; IFS='-'
   2844 set x $ac_cv_build
   2845 shift
   2846 build_cpu=$1
   2847 build_vendor=$2
   2848 shift; shift
   2849 # Remember, the first character of IFS is used to create $*,
   2850 # except with old shells:
   2851 build_os=$*
   2852 IFS=$ac_save_IFS
   2853 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2854 
   2855 
   2856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2857 printf %s "checking host system type... " >&6; }
   2858 if test ${ac_cv_host+y}
   2859 then :
   2860   printf %s "(cached) " >&6
   2861 else case e in #(
   2862   e) if test "x$host_alias" = x; then
   2863   ac_cv_host=$ac_cv_build
   2864 else
   2865   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   2866     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   2867 fi
   2868  ;;
   2869 esac
   2870 fi
   2871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2872 printf "%s\n" "$ac_cv_host" >&6; }
   2873 case $ac_cv_host in
   2874 *-*-*) ;;
   2875 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2876 esac
   2877 host=$ac_cv_host
   2878 ac_save_IFS=$IFS; IFS='-'
   2879 set x $ac_cv_host
   2880 shift
   2881 host_cpu=$1
   2882 host_vendor=$2
   2883 shift; shift
   2884 # Remember, the first character of IFS is used to create $*,
   2885 # except with old shells:
   2886 host_os=$*
   2887 IFS=$ac_save_IFS
   2888 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2889 
   2890 
   2891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2892 printf %s "checking target system type... " >&6; }
   2893 if test ${ac_cv_target+y}
   2894 then :
   2895   printf %s "(cached) " >&6
   2896 else case e in #(
   2897   e) if test "x$target_alias" = x; then
   2898   ac_cv_target=$ac_cv_host
   2899 else
   2900   ac_cv_target=`$SHELL "${ac_aux_dir}config.sub" $target_alias` ||
   2901     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $target_alias failed" "$LINENO" 5
   2902 fi
   2903  ;;
   2904 esac
   2905 fi
   2906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2907 printf "%s\n" "$ac_cv_target" >&6; }
   2908 case $ac_cv_target in
   2909 *-*-*) ;;
   2910 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   2911 esac
   2912 target=$ac_cv_target
   2913 ac_save_IFS=$IFS; IFS='-'
   2914 set x $ac_cv_target
   2915 shift
   2916 target_cpu=$1
   2917 target_vendor=$2
   2918 shift; shift
   2919 # Remember, the first character of IFS is used to create $*,
   2920 # except with old shells:
   2921 target_os=$*
   2922 IFS=$ac_save_IFS
   2923 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2924 
   2925 
   2926 # The aliases save the names the user supplied, while $host etc.
   2927 # will get canonicalized.
   2928 test -n "$target_alias" &&
   2929   test "$program_prefix$program_suffix$program_transform_name" = \
   2930     NONENONEs,x,x, &&
   2931   program_prefix=${target_alias}-
   2932 am__api_version='1.18'
   2933 
   2934 
   2935   # Find a good install program.  We prefer a C program (faster),
   2936 # so one script is as good as another.  But avoid the broken or
   2937 # incompatible versions:
   2938 # SysV /etc/install, /usr/sbin/install
   2939 # SunOS /usr/etc/install
   2940 # IRIX /sbin/install
   2941 # AIX /bin/install
   2942 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2943 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2944 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2945 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2946 # OS/2's system install, which has a completely different semantic
   2947 # ./install, which can be erroneously created by make from ./install.sh.
   2948 # Reject install programs that cannot install multiple files.
   2949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2950 printf %s "checking for a BSD-compatible install... " >&6; }
   2951 if test -z "$INSTALL"; then
   2952 if test ${ac_cv_path_install+y}
   2953 then :
   2954   printf %s "(cached) " >&6
   2955 else case e in #(
   2956   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2957 for as_dir in $PATH
   2958 do
   2959   IFS=$as_save_IFS
   2960   case $as_dir in #(((
   2961     '') as_dir=./ ;;
   2962     */) ;;
   2963     *) as_dir=$as_dir/ ;;
   2964   esac
   2965     # Account for fact that we put trailing slashes in our PATH walk.
   2966 case $as_dir in #((
   2967   ./ | /[cC]/* | \
   2968   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2969   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2970   /usr/ucb/* ) ;;
   2971   *)
   2972     # OSF1 and SCO ODT 3.0 have their own names for install.
   2973     # Don't use installbsd from OSF since it installs stuff as root
   2974     # by default.
   2975     for ac_prog in ginstall scoinst install; do
   2976       for ac_exec_ext in '' $ac_executable_extensions; do
   2977 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2978 	  if test $ac_prog = install &&
   2979 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2980 	    # AIX install.  It has an incompatible calling convention.
   2981 	    :
   2982 	  elif test $ac_prog = install &&
   2983 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2984 	    # program-specific install script used by HP pwplus--don't use.
   2985 	    :
   2986 	  else
   2987 	    rm -rf conftest.one conftest.two conftest.dir
   2988 	    echo one > conftest.one
   2989 	    echo two > conftest.two
   2990 	    mkdir conftest.dir
   2991 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2992 	      test -s conftest.one && test -s conftest.two &&
   2993 	      test -s conftest.dir/conftest.one &&
   2994 	      test -s conftest.dir/conftest.two
   2995 	    then
   2996 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2997 	      break 3
   2998 	    fi
   2999 	  fi
   3000 	fi
   3001       done
   3002     done
   3003     ;;
   3004 esac
   3005 
   3006   done
   3007 IFS=$as_save_IFS
   3008 
   3009 rm -rf conftest.one conftest.two conftest.dir
   3010  ;;
   3011 esac
   3012 fi
   3013   if test ${ac_cv_path_install+y}; then
   3014     INSTALL=$ac_cv_path_install
   3015   else
   3016     # As a last resort, use the slow shell script.  Don't cache a
   3017     # value for INSTALL within a source directory, because that will
   3018     # break other packages using the cache if that directory is
   3019     # removed, or if the value is a relative name.
   3020     INSTALL=$ac_install_sh
   3021   fi
   3022 fi
   3023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3024 printf "%s\n" "$INSTALL" >&6; }
   3025 
   3026 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3027 # It thinks the first close brace ends the variable substitution.
   3028 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3029 
   3030 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3031 
   3032 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3033 
   3034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   3035 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   3036 if test ${am_cv_sleep_fractional_seconds+y}
   3037 then :
   3038   printf %s "(cached) " >&6
   3039 else case e in #(
   3040   e) if sleep 0.001 2>/dev/null
   3041 then :
   3042   am_cv_sleep_fractional_seconds=yes
   3043 else case e in #(
   3044   e) am_cv_sleep_fractional_seconds=no ;;
   3045 esac
   3046 fi
   3047  ;;
   3048 esac
   3049 fi
   3050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   3051 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   3052 
   3053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   3054 printf %s "checking filesystem timestamp resolution... " >&6; }
   3055 if test ${am_cv_filesystem_timestamp_resolution+y}
   3056 then :
   3057   printf %s "(cached) " >&6
   3058 else case e in #(
   3059   e) # Default to the worst case.
   3060 am_cv_filesystem_timestamp_resolution=2
   3061 
   3062 # Only try to go finer than 1 sec if sleep can do it.
   3063 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   3064 # - 1 sec is not much of a win compared to 2 sec, and
   3065 # - it takes 2 seconds to perform the test whether 1 sec works.
   3066 #
   3067 # Instead, just use the default 2s on platforms that have 1s resolution,
   3068 # accept the extra 1s delay when using $sleep in the Automake tests, in
   3069 # exchange for not incurring the 2s delay for running the test for all
   3070 # packages.
   3071 #
   3072 am_try_resolutions=
   3073 if test "$am_cv_sleep_fractional_seconds" = yes; then
   3074   # Even a millisecond often causes a bunch of false positives,
   3075   # so just try a hundredth of a second. The time saved between .001 and
   3076   # .01 is not terribly consequential.
   3077   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   3078 fi
   3079 
   3080 # In order to catch current-generation FAT out, we must *modify* files
   3081 # that already exist; the *creation* timestamp is finer.  Use names
   3082 # that make ls -t sort them differently when they have equal
   3083 # timestamps than when they have distinct timestamps, keeping
   3084 # in mind that ls -t prints the *newest* file first.
   3085 rm -f conftest.ts?
   3086 : > conftest.ts1
   3087 : > conftest.ts2
   3088 : > conftest.ts3
   3089 
   3090 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   3091 # clobber the current shell's arguments. (Outer-level square brackets
   3092 # are removed by m4; they're present so that m4 does not expand
   3093 # <dollar><star>; be careful, easy to get confused.)
   3094 if (
   3095      set X `ls -t conftest.ts[12]` &&
   3096      {
   3097        test "$*" != "X conftest.ts1 conftest.ts2" ||
   3098        test "$*" != "X conftest.ts2 conftest.ts1";
   3099      }
   3100 ); then :; else
   3101   # If neither matched, then we have a broken ls.  This can happen
   3102   # if, for instance, CONFIG_SHELL is bash and it inherits a
   3103   # broken ls alias from the environment.  This has actually
   3104   # happened.  Such a system could not be considered "sane".
   3105   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   3106   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3107 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3108 as_fn_error $? "ls -t produces unexpected output.
   3109 Make sure there is not a broken ls alias in your environment.
   3110 See 'config.log' for more details" "$LINENO" 5; }
   3111 fi
   3112 
   3113 for am_try_res in $am_try_resolutions; do
   3114   # Any one fine-grained sleep might happen to cross the boundary
   3115   # between two values of a coarser actual resolution, but if we do
   3116   # two fine-grained sleeps in a row, at least one of them will fall
   3117   # entirely within a coarse interval.
   3118   echo alpha > conftest.ts1
   3119   sleep $am_try_res
   3120   echo beta > conftest.ts2
   3121   sleep $am_try_res
   3122   echo gamma > conftest.ts3
   3123 
   3124   # We assume that 'ls -t' will make use of high-resolution
   3125   # timestamps if the operating system supports them at all.
   3126   if (set X `ls -t conftest.ts?` &&
   3127       test "$2" = conftest.ts3 &&
   3128       test "$3" = conftest.ts2 &&
   3129       test "$4" = conftest.ts1); then
   3130     #
   3131     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   3132     # because we don't need to test make.
   3133     make_ok=true
   3134     if test $am_try_res != 1; then
   3135       # But if we've succeeded so far with a subsecond resolution, we
   3136       # have one more thing to check: make. It can happen that
   3137       # everything else supports the subsecond mtimes, but make doesn't;
   3138       # notably on macOS, which ships make 3.81 from 2006 (the last one
   3139       # released under GPLv2). https://bugs.gnu.org/68808
   3140       #
   3141       # We test $MAKE if it is defined in the environment, else "make".
   3142       # It might get overridden later, but our hope is that in practice
   3143       # it does not matter: it is the system "make" which is (by far)
   3144       # the most likely to be broken, whereas if the user overrides it,
   3145       # probably they did so with a better, or at least not worse, make.
   3146       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   3147       #
   3148       # Create a Makefile (real tab character here):
   3149       rm -f conftest.mk
   3150       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   3151       echo '	touch conftest.ts2' >>conftest.mk
   3152       #
   3153       # Now, running
   3154       #   touch conftest.ts1; touch conftest.ts2; make
   3155       # should touch ts1 because ts2 is newer. This could happen by luck,
   3156       # but most often, it will fail if make's support is insufficient. So
   3157       # test for several consecutive successes.
   3158       #
   3159       # (We reuse conftest.ts[12] because we still want to modify existing
   3160       # files, not create new ones, per above.)
   3161       n=0
   3162       make=${MAKE-make}
   3163       until test $n -eq 3; do
   3164         echo one > conftest.ts1
   3165         sleep $am_try_res
   3166         echo two > conftest.ts2 # ts2 should now be newer than ts1
   3167         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   3168           make_ok=false
   3169           break # out of $n loop
   3170         fi
   3171         n=`expr $n + 1`
   3172       done
   3173     fi
   3174     #
   3175     if $make_ok; then
   3176       # Everything we know to check worked out, so call this resolution good.
   3177       am_cv_filesystem_timestamp_resolution=$am_try_res
   3178       break # out of $am_try_res loop
   3179     fi
   3180     # Otherwise, we'll go on to check the next resolution.
   3181   fi
   3182 done
   3183 rm -f conftest.ts?
   3184 # (end _am_filesystem_timestamp_resolution)
   3185  ;;
   3186 esac
   3187 fi
   3188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   3189 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   3190 
   3191 # This check should not be cached, as it may vary across builds of
   3192 # different projects.
   3193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3194 printf %s "checking whether build environment is sane... " >&6; }
   3195 # Reject unsafe characters in $srcdir or the absolute working directory
   3196 # name.  Accept space and tab only in the latter.
   3197 am_lf='
   3198 '
   3199 case `pwd` in
   3200   *[\\\"\#\$\&\'\`$am_lf]*)
   3201     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3202 printf "%s\n" "no" >&6; }
   3203     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3204 esac
   3205 case $srcdir in
   3206   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3207     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3208 printf "%s\n" "no" >&6; }
   3209     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3210 esac
   3211 
   3212 # Do 'set' in a subshell so we don't clobber the current shell's
   3213 # arguments.  Must try -L first in case configure is actually a
   3214 # symlink; some systems play weird games with the mod time of symlinks
   3215 # (eg FreeBSD returns the mod time of the symlink's containing
   3216 # directory).
   3217 am_build_env_is_sane=no
   3218 am_has_slept=no
   3219 rm -f conftest.file
   3220 for am_try in 1 2; do
   3221   echo "timestamp, slept: $am_has_slept" > conftest.file
   3222   if (
   3223     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3224     if test "$*" = "X"; then
   3225       # -L didn't work.
   3226       set X `ls -t "$srcdir/configure" conftest.file`
   3227     fi
   3228     test "$2" = conftest.file
   3229   ); then
   3230     am_build_env_is_sane=yes
   3231     break
   3232   fi
   3233   # Just in case.
   3234   sleep "$am_cv_filesystem_timestamp_resolution"
   3235   am_has_slept=yes
   3236 done
   3237 
   3238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   3239 printf "%s\n" "$am_build_env_is_sane" >&6; }
   3240 if test "$am_build_env_is_sane" = no; then
   3241   as_fn_error $? "newly created file is older than distributed files!
   3242 Check your system clock" "$LINENO" 5
   3243 fi
   3244 
   3245 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3246 # generated files are strictly newer.
   3247 am_sleep_pid=
   3248 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   3249 then :
   3250 
   3251 else case e in #(
   3252   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   3253   am_sleep_pid=$!
   3254  ;;
   3255 esac
   3256 fi
   3257 
   3258 rm -f conftest.file
   3259 
   3260 test "$program_prefix" != NONE &&
   3261   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3262 # Use a double $ so make ignores it.
   3263 test "$program_suffix" != NONE &&
   3264   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3265 # Double any \ or $.
   3266 # By default was 's,x,x', remove it if useless.
   3267 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3268 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   3269 
   3270 
   3271 # Expand $ac_aux_dir to an absolute path.
   3272 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3273 
   3274 
   3275   if test x"${MISSING+set}" != xset; then
   3276   MISSING="\${SHELL} '$am_aux_dir/missing'"
   3277 fi
   3278 # Use eval to expand $SHELL
   3279 if eval "$MISSING --is-lightweight"; then
   3280   am_missing_run="$MISSING "
   3281 else
   3282   am_missing_run=
   3283   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3284 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3285 fi
   3286 
   3287 if test x"${install_sh+set}" != xset; then
   3288   case $am_aux_dir in
   3289   *\ * | *\	*)
   3290     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3291   *)
   3292     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3293   esac
   3294 fi
   3295 
   3296 # Installed binaries are usually stripped using 'strip' when the user
   3297 # run "make install-strip".  However 'strip' might not be the right
   3298 # tool to use in cross-compilation environments, therefore Automake
   3299 # will honor the 'STRIP' environment variable to overrule this program.
   3300 if test "$cross_compiling" != no; then
   3301   if test -n "$ac_tool_prefix"; then
   3302   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3303 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3305 printf %s "checking for $ac_word... " >&6; }
   3306 if test ${ac_cv_prog_STRIP+y}
   3307 then :
   3308   printf %s "(cached) " >&6
   3309 else case e in #(
   3310   e) if test -n "$STRIP"; then
   3311   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3312 else
   3313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3314 for as_dir in $PATH
   3315 do
   3316   IFS=$as_save_IFS
   3317   case $as_dir in #(((
   3318     '') as_dir=./ ;;
   3319     */) ;;
   3320     *) as_dir=$as_dir/ ;;
   3321   esac
   3322     for ac_exec_ext in '' $ac_executable_extensions; do
   3323   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3324     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3325     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3326     break 2
   3327   fi
   3328 done
   3329   done
   3330 IFS=$as_save_IFS
   3331 
   3332 fi ;;
   3333 esac
   3334 fi
   3335 STRIP=$ac_cv_prog_STRIP
   3336 if test -n "$STRIP"; then
   3337   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3338 printf "%s\n" "$STRIP" >&6; }
   3339 else
   3340   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3341 printf "%s\n" "no" >&6; }
   3342 fi
   3343 
   3344 
   3345 fi
   3346 if test -z "$ac_cv_prog_STRIP"; then
   3347   ac_ct_STRIP=$STRIP
   3348   # Extract the first word of "strip", so it can be a program name with args.
   3349 set dummy strip; ac_word=$2
   3350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3351 printf %s "checking for $ac_word... " >&6; }
   3352 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3353 then :
   3354   printf %s "(cached) " >&6
   3355 else case e in #(
   3356   e) if test -n "$ac_ct_STRIP"; then
   3357   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3358 else
   3359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3360 for as_dir in $PATH
   3361 do
   3362   IFS=$as_save_IFS
   3363   case $as_dir in #(((
   3364     '') as_dir=./ ;;
   3365     */) ;;
   3366     *) as_dir=$as_dir/ ;;
   3367   esac
   3368     for ac_exec_ext in '' $ac_executable_extensions; do
   3369   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3370     ac_cv_prog_ac_ct_STRIP="strip"
   3371     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3372     break 2
   3373   fi
   3374 done
   3375   done
   3376 IFS=$as_save_IFS
   3377 
   3378 fi ;;
   3379 esac
   3380 fi
   3381 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3382 if test -n "$ac_ct_STRIP"; then
   3383   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3384 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3385 else
   3386   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3387 printf "%s\n" "no" >&6; }
   3388 fi
   3389 
   3390   if test "x$ac_ct_STRIP" = x; then
   3391     STRIP=":"
   3392   else
   3393     case $cross_compiling:$ac_tool_warned in
   3394 yes:)
   3395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3396 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3397 ac_tool_warned=yes ;;
   3398 esac
   3399     STRIP=$ac_ct_STRIP
   3400   fi
   3401 else
   3402   STRIP="$ac_cv_prog_STRIP"
   3403 fi
   3404 
   3405 fi
   3406 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3407 
   3408 
   3409   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3410 printf %s "checking for a race-free mkdir -p... " >&6; }
   3411 if test -z "$MKDIR_P"; then
   3412   if test ${ac_cv_path_mkdir+y}
   3413 then :
   3414   printf %s "(cached) " >&6
   3415 else case e in #(
   3416   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3417 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3418 do
   3419   IFS=$as_save_IFS
   3420   case $as_dir in #(((
   3421     '') as_dir=./ ;;
   3422     */) ;;
   3423     *) as_dir=$as_dir/ ;;
   3424   esac
   3425     for ac_prog in mkdir gmkdir; do
   3426 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3427 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3428 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3429 	     'mkdir ('*'coreutils) '* | \
   3430 	     *'BusyBox '* | \
   3431 	     'mkdir (fileutils) '4.1*)
   3432 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3433 	       break 3;;
   3434 	   esac
   3435 	 done
   3436        done
   3437   done
   3438 IFS=$as_save_IFS
   3439  ;;
   3440 esac
   3441 fi
   3442 
   3443   test -d ./--version && rmdir ./--version
   3444   if test ${ac_cv_path_mkdir+y}; then
   3445     MKDIR_P="$ac_cv_path_mkdir -p"
   3446   else
   3447     # As a last resort, use plain mkdir -p,
   3448     # in the hope it doesn't have the bugs of ancient mkdir.
   3449     MKDIR_P='mkdir -p'
   3450   fi
   3451 fi
   3452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3453 printf "%s\n" "$MKDIR_P" >&6; }
   3454 
   3455 for ac_prog in gawk mawk nawk awk
   3456 do
   3457   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3458 set dummy $ac_prog; ac_word=$2
   3459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3460 printf %s "checking for $ac_word... " >&6; }
   3461 if test ${ac_cv_prog_AWK+y}
   3462 then :
   3463   printf %s "(cached) " >&6
   3464 else case e in #(
   3465   e) if test -n "$AWK"; then
   3466   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3467 else
   3468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3469 for as_dir in $PATH
   3470 do
   3471   IFS=$as_save_IFS
   3472   case $as_dir in #(((
   3473     '') as_dir=./ ;;
   3474     */) ;;
   3475     *) as_dir=$as_dir/ ;;
   3476   esac
   3477     for ac_exec_ext in '' $ac_executable_extensions; do
   3478   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3479     ac_cv_prog_AWK="$ac_prog"
   3480     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3481     break 2
   3482   fi
   3483 done
   3484   done
   3485 IFS=$as_save_IFS
   3486 
   3487 fi ;;
   3488 esac
   3489 fi
   3490 AWK=$ac_cv_prog_AWK
   3491 if test -n "$AWK"; then
   3492   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3493 printf "%s\n" "$AWK" >&6; }
   3494 else
   3495   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3496 printf "%s\n" "no" >&6; }
   3497 fi
   3498 
   3499 
   3500   test -n "$AWK" && break
   3501 done
   3502 
   3503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3504 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3505 set x ${MAKE-make}
   3506 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3507 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3508 then :
   3509   printf %s "(cached) " >&6
   3510 else case e in #(
   3511   e) cat >conftest.make <<\_ACEOF
   3512 SHELL = /bin/sh
   3513 all:
   3514 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3515 _ACEOF
   3516 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3517 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3518   *@@@%%%=?*=@@@%%%*)
   3519     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3520   *)
   3521     eval ac_cv_prog_make_${ac_make}_set=no;;
   3522 esac
   3523 rm -f conftest.make ;;
   3524 esac
   3525 fi
   3526 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3527   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3528 printf "%s\n" "yes" >&6; }
   3529   SET_MAKE=
   3530 else
   3531   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3532 printf "%s\n" "no" >&6; }
   3533   SET_MAKE="MAKE=${MAKE-make}"
   3534 fi
   3535 
   3536 rm -rf .tst 2>/dev/null
   3537 mkdir .tst 2>/dev/null
   3538 if test -d .tst; then
   3539   am__leading_dot=.
   3540 else
   3541   am__leading_dot=_
   3542 fi
   3543 rmdir .tst 2>/dev/null
   3544 
   3545 AM_DEFAULT_VERBOSITY=1
   3546 # Check whether --enable-silent-rules was given.
   3547 if test ${enable_silent_rules+y}
   3548 then :
   3549   enableval=$enable_silent_rules;
   3550 fi
   3551 
   3552 am_make=${MAKE-make}
   3553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3554 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3555 if test ${am_cv_make_support_nested_variables+y}
   3556 then :
   3557   printf %s "(cached) " >&6
   3558 else case e in #(
   3559   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3560 BAR0=false
   3561 BAR1=true
   3562 V=1
   3563 am__doit:
   3564 	@$(TRUE)
   3565 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3566   am_cv_make_support_nested_variables=yes
   3567 else
   3568   am_cv_make_support_nested_variables=no
   3569 fi ;;
   3570 esac
   3571 fi
   3572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3573 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3574 AM_BACKSLASH='\'
   3575 
   3576 am__rm_f_notfound=
   3577 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3578 then :
   3579 
   3580 else case e in #(
   3581   e) am__rm_f_notfound='""' ;;
   3582 esac
   3583 fi
   3584 
   3585 
   3586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3587 printf %s "checking xargs -n works... " >&6; }
   3588 if test ${am_cv_xargs_n_works+y}
   3589 then :
   3590   printf %s "(cached) " >&6
   3591 else case e in #(
   3592   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3593 3"
   3594 then :
   3595   am_cv_xargs_n_works=yes
   3596 else case e in #(
   3597   e) am_cv_xargs_n_works=no ;;
   3598 esac
   3599 fi ;;
   3600 esac
   3601 fi
   3602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3603 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   3604 if test "$am_cv_xargs_n_works" = yes
   3605 then :
   3606   am__xargs_n='xargs -n'
   3607 else case e in #(
   3608   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3609  ;;
   3610 esac
   3611 fi
   3612 
   3613 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3614   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3615   # is not polluted with repeated "-I."
   3616   am__isrc=' -I$(srcdir)'
   3617   # test to see if srcdir already configured
   3618   if test -f $srcdir/config.status; then
   3619     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3620   fi
   3621 fi
   3622 
   3623 # test whether we have cygpath
   3624 if test -z "$CYGPATH_W"; then
   3625   if (cygpath --version) >/dev/null 2>/dev/null; then
   3626     CYGPATH_W='cygpath -w'
   3627   else
   3628     CYGPATH_W=echo
   3629   fi
   3630 fi
   3631 
   3632 
   3633 # Define the identity of the package.
   3634  PACKAGE='libsodium'
   3635  VERSION='1.0.20'
   3636 
   3637 
   3638 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3639 
   3640 
   3641 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3642 
   3643 # Some tools Automake needs.
   3644 
   3645 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3646 
   3647 
   3648 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3649 
   3650 
   3651 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3652 
   3653 
   3654 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3655 
   3656 
   3657 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3658 
   3659 # For better backward compatibility.  To be removed once Automake 1.9.x
   3660 # dies out for good.  For more background, see:
   3661 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3662 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3663 mkdir_p='$(MKDIR_P)'
   3664 
   3665 # We need awk for the "check" target (and possibly the TAP driver).  The
   3666 # system "awk" is bad on some platforms.
   3667 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3668 # in the wild :-(  We should find a proper way to deprecate it ...
   3669 AMTAR='$${TAR-tar}'
   3670 
   3671 
   3672 # We'll loop over all known methods to create a tar archive until one works.
   3673 _am_tools='gnutar plaintar pax cpio none'
   3674 
   3675 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   3676       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   3677       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   3678       # and bug#13588).
   3679       am_max_uid=2097151 # 2^21 - 1
   3680       am_max_gid=$am_max_uid
   3681       # The $UID and $GID variables are not portable, so we need to resort
   3682       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   3683       # below are definitely unexpected, so allow the users to see them
   3684       # (that is, avoid stderr redirection).
   3685       am_uid=`id -u || echo unknown`
   3686       am_gid=`id -g || echo unknown`
   3687       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   3688 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   3689       if test x$am_uid = xunknown; then
   3690         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   3691 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   3692       elif test $am_uid -le $am_max_uid; then
   3693         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3694 printf "%s\n" "yes" >&6; }
   3695       else
   3696         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3697 printf "%s\n" "no" >&6; }
   3698         _am_tools=none
   3699       fi
   3700       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   3701 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   3702       if test x$gm_gid = xunknown; then
   3703         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   3704 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   3705       elif test $am_gid -le $am_max_gid; then
   3706         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3707 printf "%s\n" "yes" >&6; }
   3708       else
   3709         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3710 printf "%s\n" "no" >&6; }
   3711         _am_tools=none
   3712       fi
   3713 
   3714   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   3715 printf %s "checking how to create a ustar tar archive... " >&6; }
   3716 
   3717   # Go ahead even if we have the value already cached.  We do so because we
   3718   # need to set the values for the 'am__tar' and 'am__untar' variables.
   3719   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   3720 
   3721   for _am_tool in $_am_tools; do
   3722     case $_am_tool in
   3723     gnutar)
   3724       for _am_tar in tar gnutar gtar; do
   3725         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   3726    ($_am_tar --version) >&5 2>&5
   3727    ac_status=$?
   3728    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3729    (exit $ac_status); } && break
   3730       done
   3731       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   3732       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   3733       am__untar="$_am_tar -xf -"
   3734       ;;
   3735     plaintar)
   3736       # Must skip GNU tar: if it does not support --format= it doesn't create
   3737       # ustar tarball either.
   3738       (tar --version) >/dev/null 2>&1 && continue
   3739       am__tar='tar chf - "$$tardir"'
   3740       am__tar_='tar chf - "$tardir"'
   3741       am__untar='tar xf -'
   3742       ;;
   3743     pax)
   3744       am__tar='pax -L -x ustar -w "$$tardir"'
   3745       am__tar_='pax -L -x ustar -w "$tardir"'
   3746       am__untar='pax -r'
   3747       ;;
   3748     cpio)
   3749       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   3750       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   3751       am__untar='cpio -i -H ustar -d'
   3752       ;;
   3753     none)
   3754       am__tar=false
   3755       am__tar_=false
   3756       am__untar=false
   3757       ;;
   3758     esac
   3759 
   3760     # If the value was cached, stop now.  We just wanted to have am__tar
   3761     # and am__untar set.
   3762     test -n "${am_cv_prog_tar_ustar}" && break
   3763 
   3764     # tar/untar a dummy directory, and stop if the command works.
   3765     rm -rf conftest.dir
   3766     mkdir conftest.dir
   3767     echo GrepMe > conftest.dir/file
   3768     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   3769    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   3770    ac_status=$?
   3771    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3772    (exit $ac_status); }
   3773     rm -rf conftest.dir
   3774     if test -s conftest.tar; then
   3775       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   3776    ($am__untar <conftest.tar) >&5 2>&5
   3777    ac_status=$?
   3778    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3779    (exit $ac_status); }
   3780       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   3781    (cat conftest.dir/file) >&5 2>&5
   3782    ac_status=$?
   3783    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3784    (exit $ac_status); }
   3785       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   3786     fi
   3787   done
   3788   rm -rf conftest.dir
   3789 
   3790   if test ${am_cv_prog_tar_ustar+y}
   3791 then :
   3792   printf %s "(cached) " >&6
   3793 else case e in #(
   3794   e) am_cv_prog_tar_ustar=$_am_tool ;;
   3795 esac
   3796 fi
   3797 
   3798   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   3799 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
   3800 
   3801 
   3802 
   3803 
   3804 
   3805 # Variables for tags utilities; see am/tags.am
   3806 if test -z "$CTAGS"; then
   3807   CTAGS=ctags
   3808 fi
   3809 
   3810 if test -z "$ETAGS"; then
   3811   ETAGS=etags
   3812 fi
   3813 
   3814 if test -z "$CSCOPE"; then
   3815   CSCOPE=cscope
   3816 fi
   3817 
   3818 
   3819 
   3820 
   3821 
   3822 
   3823 
   3824 
   3825 AM_DEFAULT_VERBOSITY=0
   3826 
   3827 
   3828 
   3829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   3830 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   3831     # Check whether --enable-maintainer-mode was given.
   3832 if test ${enable_maintainer_mode+y}
   3833 then :
   3834   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   3835 else case e in #(
   3836   e) USE_MAINTAINER_MODE=no ;;
   3837 esac
   3838 fi
   3839 
   3840   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   3841 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
   3842    if test $USE_MAINTAINER_MODE = yes; then
   3843   MAINTAINER_MODE_TRUE=
   3844   MAINTAINER_MODE_FALSE='#'
   3845 else
   3846   MAINTAINER_MODE_TRUE='#'
   3847   MAINTAINER_MODE_FALSE=
   3848 fi
   3849 
   3850   MAINT=$MAINTAINER_MODE_TRUE
   3851 
   3852 
   3853 # Check whether --enable-dependency-tracking was given.
   3854 if test ${enable_dependency_tracking+y}
   3855 then :
   3856   enableval=$enable_dependency_tracking;
   3857 fi
   3858 
   3859 if test "x$enable_dependency_tracking" != xno; then
   3860   am_depcomp="$ac_aux_dir/depcomp"
   3861   AMDEPBACKSLASH='\'
   3862   am__nodep='_no'
   3863 fi
   3864  if test "x$enable_dependency_tracking" != xno; then
   3865   AMDEP_TRUE=
   3866   AMDEP_FALSE='#'
   3867 else
   3868   AMDEP_TRUE='#'
   3869   AMDEP_FALSE=
   3870 fi
   3871 
   3872 
   3873 
   3874 
   3875 
   3876 SODIUM_LIBRARY_VERSION_MAJOR=26
   3877 SODIUM_LIBRARY_VERSION_MINOR=2
   3878 DLL_VERSION=26
   3879 SODIUM_LIBRARY_VERSION=28:0:2
   3880 #                       | | |
   3881 #                +------+ | +---+
   3882 #                |        |     |
   3883 #             current:revision:age
   3884 #                |        |     |
   3885 #                |        |     +- increment if interfaces have been added
   3886 #                |        |        set to zero if interfaces have been removed
   3887 #                |        |        or changed
   3888 #                |        +- increment if source code has changed
   3889 #                |           set to zero if current is incremented
   3890 #                +- increment if interfaces have been added, removed or changed
   3891 
   3892 
   3893 
   3894 
   3895 
   3896 
   3897 LX_CFLAGS=${CFLAGS-NONE}
   3898 PKGCONFIG_LIBS_PRIVATE=""
   3899 
   3900 
   3901 if pwd | fgrep ' ' > /dev/null 2>&1
   3902 then :
   3903   as_fn_error $? "The build directory contains whitespaces - This can cause tests/installation to fail due to limitations of some libtool versions" "$LINENO" 5
   3904 
   3905 fi
   3906 
   3907 sodium_CFLAGS=${CFLAGS+set}
   3908 : ${CFLAGS=""}
   3909 
   3910 
   3911 
   3912 
   3913 
   3914 
   3915 
   3916 
   3917 
   3918 
   3919 ac_ext=c
   3920 ac_cpp='$CPP $CPPFLAGS'
   3921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3924 if test -n "$ac_tool_prefix"; then
   3925   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3926 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3928 printf %s "checking for $ac_word... " >&6; }
   3929 if test ${ac_cv_prog_CC+y}
   3930 then :
   3931   printf %s "(cached) " >&6
   3932 else case e in #(
   3933   e) if test -n "$CC"; then
   3934   ac_cv_prog_CC="$CC" # Let the user override the test.
   3935 else
   3936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3937 for as_dir in $PATH
   3938 do
   3939   IFS=$as_save_IFS
   3940   case $as_dir in #(((
   3941     '') as_dir=./ ;;
   3942     */) ;;
   3943     *) as_dir=$as_dir/ ;;
   3944   esac
   3945     for ac_exec_ext in '' $ac_executable_extensions; do
   3946   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3947     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3948     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3949     break 2
   3950   fi
   3951 done
   3952   done
   3953 IFS=$as_save_IFS
   3954 
   3955 fi ;;
   3956 esac
   3957 fi
   3958 CC=$ac_cv_prog_CC
   3959 if test -n "$CC"; then
   3960   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3961 printf "%s\n" "$CC" >&6; }
   3962 else
   3963   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3964 printf "%s\n" "no" >&6; }
   3965 fi
   3966 
   3967 
   3968 fi
   3969 if test -z "$ac_cv_prog_CC"; then
   3970   ac_ct_CC=$CC
   3971   # Extract the first word of "gcc", so it can be a program name with args.
   3972 set dummy gcc; ac_word=$2
   3973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3974 printf %s "checking for $ac_word... " >&6; }
   3975 if test ${ac_cv_prog_ac_ct_CC+y}
   3976 then :
   3977   printf %s "(cached) " >&6
   3978 else case e in #(
   3979   e) if test -n "$ac_ct_CC"; then
   3980   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3981 else
   3982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3983 for as_dir in $PATH
   3984 do
   3985   IFS=$as_save_IFS
   3986   case $as_dir in #(((
   3987     '') as_dir=./ ;;
   3988     */) ;;
   3989     *) as_dir=$as_dir/ ;;
   3990   esac
   3991     for ac_exec_ext in '' $ac_executable_extensions; do
   3992   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3993     ac_cv_prog_ac_ct_CC="gcc"
   3994     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3995     break 2
   3996   fi
   3997 done
   3998   done
   3999 IFS=$as_save_IFS
   4000 
   4001 fi ;;
   4002 esac
   4003 fi
   4004 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4005 if test -n "$ac_ct_CC"; then
   4006   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4007 printf "%s\n" "$ac_ct_CC" >&6; }
   4008 else
   4009   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4010 printf "%s\n" "no" >&6; }
   4011 fi
   4012 
   4013   if test "x$ac_ct_CC" = x; then
   4014     CC=""
   4015   else
   4016     case $cross_compiling:$ac_tool_warned in
   4017 yes:)
   4018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4019 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4020 ac_tool_warned=yes ;;
   4021 esac
   4022     CC=$ac_ct_CC
   4023   fi
   4024 else
   4025   CC="$ac_cv_prog_CC"
   4026 fi
   4027 
   4028 if test -z "$CC"; then
   4029           if test -n "$ac_tool_prefix"; then
   4030     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4031 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4033 printf %s "checking for $ac_word... " >&6; }
   4034 if test ${ac_cv_prog_CC+y}
   4035 then :
   4036   printf %s "(cached) " >&6
   4037 else case e in #(
   4038   e) if test -n "$CC"; then
   4039   ac_cv_prog_CC="$CC" # Let the user override the test.
   4040 else
   4041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4042 for as_dir in $PATH
   4043 do
   4044   IFS=$as_save_IFS
   4045   case $as_dir in #(((
   4046     '') as_dir=./ ;;
   4047     */) ;;
   4048     *) as_dir=$as_dir/ ;;
   4049   esac
   4050     for ac_exec_ext in '' $ac_executable_extensions; do
   4051   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4052     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4053     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4054     break 2
   4055   fi
   4056 done
   4057   done
   4058 IFS=$as_save_IFS
   4059 
   4060 fi ;;
   4061 esac
   4062 fi
   4063 CC=$ac_cv_prog_CC
   4064 if test -n "$CC"; then
   4065   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4066 printf "%s\n" "$CC" >&6; }
   4067 else
   4068   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4069 printf "%s\n" "no" >&6; }
   4070 fi
   4071 
   4072 
   4073   fi
   4074 fi
   4075 if test -z "$CC"; then
   4076   # Extract the first word of "cc", so it can be a program name with args.
   4077 set dummy cc; ac_word=$2
   4078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4079 printf %s "checking for $ac_word... " >&6; }
   4080 if test ${ac_cv_prog_CC+y}
   4081 then :
   4082   printf %s "(cached) " >&6
   4083 else case e in #(
   4084   e) if test -n "$CC"; then
   4085   ac_cv_prog_CC="$CC" # Let the user override the test.
   4086 else
   4087   ac_prog_rejected=no
   4088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4089 for as_dir in $PATH
   4090 do
   4091   IFS=$as_save_IFS
   4092   case $as_dir in #(((
   4093     '') as_dir=./ ;;
   4094     */) ;;
   4095     *) as_dir=$as_dir/ ;;
   4096   esac
   4097     for ac_exec_ext in '' $ac_executable_extensions; do
   4098   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4099     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4100        ac_prog_rejected=yes
   4101        continue
   4102      fi
   4103     ac_cv_prog_CC="cc"
   4104     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4105     break 2
   4106   fi
   4107 done
   4108   done
   4109 IFS=$as_save_IFS
   4110 
   4111 if test $ac_prog_rejected = yes; then
   4112   # We found a bogon in the path, so make sure we never use it.
   4113   set dummy $ac_cv_prog_CC
   4114   shift
   4115   if test $# != 0; then
   4116     # We chose a different compiler from the bogus one.
   4117     # However, it has the same basename, so the bogon will be chosen
   4118     # first if we set CC to just the basename; use the full file name.
   4119     shift
   4120     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   4121   fi
   4122 fi
   4123 fi ;;
   4124 esac
   4125 fi
   4126 CC=$ac_cv_prog_CC
   4127 if test -n "$CC"; then
   4128   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4129 printf "%s\n" "$CC" >&6; }
   4130 else
   4131   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4132 printf "%s\n" "no" >&6; }
   4133 fi
   4134 
   4135 
   4136 fi
   4137 if test -z "$CC"; then
   4138   if test -n "$ac_tool_prefix"; then
   4139   for ac_prog in cl.exe
   4140   do
   4141     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4142 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4144 printf %s "checking for $ac_word... " >&6; }
   4145 if test ${ac_cv_prog_CC+y}
   4146 then :
   4147   printf %s "(cached) " >&6
   4148 else case e in #(
   4149   e) if test -n "$CC"; then
   4150   ac_cv_prog_CC="$CC" # Let the user override the test.
   4151 else
   4152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4153 for as_dir in $PATH
   4154 do
   4155   IFS=$as_save_IFS
   4156   case $as_dir in #(((
   4157     '') as_dir=./ ;;
   4158     */) ;;
   4159     *) as_dir=$as_dir/ ;;
   4160   esac
   4161     for ac_exec_ext in '' $ac_executable_extensions; do
   4162   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4163     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4164     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4165     break 2
   4166   fi
   4167 done
   4168   done
   4169 IFS=$as_save_IFS
   4170 
   4171 fi ;;
   4172 esac
   4173 fi
   4174 CC=$ac_cv_prog_CC
   4175 if test -n "$CC"; then
   4176   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4177 printf "%s\n" "$CC" >&6; }
   4178 else
   4179   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4180 printf "%s\n" "no" >&6; }
   4181 fi
   4182 
   4183 
   4184     test -n "$CC" && break
   4185   done
   4186 fi
   4187 if test -z "$CC"; then
   4188   ac_ct_CC=$CC
   4189   for ac_prog in cl.exe
   4190 do
   4191   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4192 set dummy $ac_prog; ac_word=$2
   4193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4194 printf %s "checking for $ac_word... " >&6; }
   4195 if test ${ac_cv_prog_ac_ct_CC+y}
   4196 then :
   4197   printf %s "(cached) " >&6
   4198 else case e in #(
   4199   e) if test -n "$ac_ct_CC"; then
   4200   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4201 else
   4202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4203 for as_dir in $PATH
   4204 do
   4205   IFS=$as_save_IFS
   4206   case $as_dir in #(((
   4207     '') as_dir=./ ;;
   4208     */) ;;
   4209     *) as_dir=$as_dir/ ;;
   4210   esac
   4211     for ac_exec_ext in '' $ac_executable_extensions; do
   4212   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4213     ac_cv_prog_ac_ct_CC="$ac_prog"
   4214     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4215     break 2
   4216   fi
   4217 done
   4218   done
   4219 IFS=$as_save_IFS
   4220 
   4221 fi ;;
   4222 esac
   4223 fi
   4224 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4225 if test -n "$ac_ct_CC"; then
   4226   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4227 printf "%s\n" "$ac_ct_CC" >&6; }
   4228 else
   4229   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4230 printf "%s\n" "no" >&6; }
   4231 fi
   4232 
   4233 
   4234   test -n "$ac_ct_CC" && break
   4235 done
   4236 
   4237   if test "x$ac_ct_CC" = x; then
   4238     CC=""
   4239   else
   4240     case $cross_compiling:$ac_tool_warned in
   4241 yes:)
   4242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4243 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4244 ac_tool_warned=yes ;;
   4245 esac
   4246     CC=$ac_ct_CC
   4247   fi
   4248 fi
   4249 
   4250 fi
   4251 if test -z "$CC"; then
   4252   if test -n "$ac_tool_prefix"; then
   4253   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   4254 set dummy ${ac_tool_prefix}clang; ac_word=$2
   4255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4256 printf %s "checking for $ac_word... " >&6; }
   4257 if test ${ac_cv_prog_CC+y}
   4258 then :
   4259   printf %s "(cached) " >&6
   4260 else case e in #(
   4261   e) if test -n "$CC"; then
   4262   ac_cv_prog_CC="$CC" # Let the user override the test.
   4263 else
   4264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4265 for as_dir in $PATH
   4266 do
   4267   IFS=$as_save_IFS
   4268   case $as_dir in #(((
   4269     '') as_dir=./ ;;
   4270     */) ;;
   4271     *) as_dir=$as_dir/ ;;
   4272   esac
   4273     for ac_exec_ext in '' $ac_executable_extensions; do
   4274   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4275     ac_cv_prog_CC="${ac_tool_prefix}clang"
   4276     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4277     break 2
   4278   fi
   4279 done
   4280   done
   4281 IFS=$as_save_IFS
   4282 
   4283 fi ;;
   4284 esac
   4285 fi
   4286 CC=$ac_cv_prog_CC
   4287 if test -n "$CC"; then
   4288   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4289 printf "%s\n" "$CC" >&6; }
   4290 else
   4291   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4292 printf "%s\n" "no" >&6; }
   4293 fi
   4294 
   4295 
   4296 fi
   4297 if test -z "$ac_cv_prog_CC"; then
   4298   ac_ct_CC=$CC
   4299   # Extract the first word of "clang", so it can be a program name with args.
   4300 set dummy clang; ac_word=$2
   4301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4302 printf %s "checking for $ac_word... " >&6; }
   4303 if test ${ac_cv_prog_ac_ct_CC+y}
   4304 then :
   4305   printf %s "(cached) " >&6
   4306 else case e in #(
   4307   e) if test -n "$ac_ct_CC"; then
   4308   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4309 else
   4310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4311 for as_dir in $PATH
   4312 do
   4313   IFS=$as_save_IFS
   4314   case $as_dir in #(((
   4315     '') as_dir=./ ;;
   4316     */) ;;
   4317     *) as_dir=$as_dir/ ;;
   4318   esac
   4319     for ac_exec_ext in '' $ac_executable_extensions; do
   4320   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4321     ac_cv_prog_ac_ct_CC="clang"
   4322     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4323     break 2
   4324   fi
   4325 done
   4326   done
   4327 IFS=$as_save_IFS
   4328 
   4329 fi ;;
   4330 esac
   4331 fi
   4332 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4333 if test -n "$ac_ct_CC"; then
   4334   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4335 printf "%s\n" "$ac_ct_CC" >&6; }
   4336 else
   4337   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4338 printf "%s\n" "no" >&6; }
   4339 fi
   4340 
   4341   if test "x$ac_ct_CC" = x; then
   4342     CC=""
   4343   else
   4344     case $cross_compiling:$ac_tool_warned in
   4345 yes:)
   4346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4347 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4348 ac_tool_warned=yes ;;
   4349 esac
   4350     CC=$ac_ct_CC
   4351   fi
   4352 else
   4353   CC="$ac_cv_prog_CC"
   4354 fi
   4355 
   4356 fi
   4357 
   4358 
   4359 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4360 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4361 as_fn_error $? "no acceptable C compiler found in \$PATH
   4362 See 'config.log' for more details" "$LINENO" 5; }
   4363 
   4364 # Provide some information about the compiler.
   4365 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4366 set X $ac_compile
   4367 ac_compiler=$2
   4368 for ac_option in --version -v -V -qversion -version; do
   4369   { { ac_try="$ac_compiler $ac_option >&5"
   4370 case "(($ac_try" in
   4371   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4372   *) ac_try_echo=$ac_try;;
   4373 esac
   4374 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4375 printf "%s\n" "$ac_try_echo"; } >&5
   4376   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4377   ac_status=$?
   4378   if test -s conftest.err; then
   4379     sed '10a\
   4380 ... rest of stderr output deleted ...
   4381          10q' conftest.err >conftest.er1
   4382     cat conftest.er1 >&5
   4383   fi
   4384   rm -f conftest.er1 conftest.err
   4385   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4386   test $ac_status = 0; }
   4387 done
   4388 
   4389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4390 /* end confdefs.h.  */
   4391 
   4392 int
   4393 main (void)
   4394 {
   4395 
   4396   ;
   4397   return 0;
   4398 }
   4399 _ACEOF
   4400 ac_clean_files_save=$ac_clean_files
   4401 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4402 # Try to create an executable without -o first, disregard a.out.
   4403 # It will help us diagnose broken compilers, and finding out an intuition
   4404 # of exeext.
   4405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4406 printf %s "checking whether the C compiler works... " >&6; }
   4407 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4408 
   4409 # The possible output files:
   4410 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4411 
   4412 ac_rmfiles=
   4413 for ac_file in $ac_files
   4414 do
   4415   case $ac_file in
   4416     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4417     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4418   esac
   4419 done
   4420 rm -f $ac_rmfiles
   4421 
   4422 if { { ac_try="$ac_link_default"
   4423 case "(($ac_try" in
   4424   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4425   *) ac_try_echo=$ac_try;;
   4426 esac
   4427 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4428 printf "%s\n" "$ac_try_echo"; } >&5
   4429   (eval "$ac_link_default") 2>&5
   4430   ac_status=$?
   4431   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4432   test $ac_status = 0; }
   4433 then :
   4434   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4435 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4436 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4437 # so that the user can short-circuit this test for compilers unknown to
   4438 # Autoconf.
   4439 for ac_file in $ac_files ''
   4440 do
   4441   test -f "$ac_file" || continue
   4442   case $ac_file in
   4443     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4444 	;;
   4445     [ab].out )
   4446 	# We found the default executable, but exeext='' is most
   4447 	# certainly right.
   4448 	break;;
   4449     *.* )
   4450 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4451 	then :; else
   4452 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4453 	fi
   4454 	# We set ac_cv_exeext here because the later test for it is not
   4455 	# safe: cross compilers may not add the suffix if given an '-o'
   4456 	# argument, so we may need to know it at that point already.
   4457 	# Even if this section looks crufty: it has the advantage of
   4458 	# actually working.
   4459 	break;;
   4460     * )
   4461 	break;;
   4462   esac
   4463 done
   4464 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4465 
   4466 else case e in #(
   4467   e) ac_file='' ;;
   4468 esac
   4469 fi
   4470 if test -z "$ac_file"
   4471 then :
   4472   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4473 printf "%s\n" "no" >&6; }
   4474 printf "%s\n" "$as_me: failed program was:" >&5
   4475 sed 's/^/| /' conftest.$ac_ext >&5
   4476 
   4477 { { 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 77 "C compiler cannot create executables
   4480 See 'config.log' for more details" "$LINENO" 5; }
   4481 else case e in #(
   4482   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4483 printf "%s\n" "yes" >&6; } ;;
   4484 esac
   4485 fi
   4486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4487 printf %s "checking for C compiler default output file name... " >&6; }
   4488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4489 printf "%s\n" "$ac_file" >&6; }
   4490 ac_exeext=$ac_cv_exeext
   4491 
   4492 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4493 ac_clean_files=$ac_clean_files_save
   4494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4495 printf %s "checking for suffix of executables... " >&6; }
   4496 if { { ac_try="$ac_link"
   4497 case "(($ac_try" in
   4498   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4499   *) ac_try_echo=$ac_try;;
   4500 esac
   4501 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4502 printf "%s\n" "$ac_try_echo"; } >&5
   4503   (eval "$ac_link") 2>&5
   4504   ac_status=$?
   4505   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4506   test $ac_status = 0; }
   4507 then :
   4508   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4509 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4510 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4511 # 'rm'.
   4512 for ac_file in conftest.exe conftest conftest.*; do
   4513   test -f "$ac_file" || continue
   4514   case $ac_file in
   4515     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4516     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4517 	  break;;
   4518     * ) break;;
   4519   esac
   4520 done
   4521 else case e in #(
   4522   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4523 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4524 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4525 See 'config.log' for more details" "$LINENO" 5; } ;;
   4526 esac
   4527 fi
   4528 rm -f conftest conftest$ac_cv_exeext
   4529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4530 printf "%s\n" "$ac_cv_exeext" >&6; }
   4531 
   4532 rm -f conftest.$ac_ext
   4533 EXEEXT=$ac_cv_exeext
   4534 ac_exeext=$EXEEXT
   4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4536 /* end confdefs.h.  */
   4537 #include <stdio.h>
   4538 int
   4539 main (void)
   4540 {
   4541 FILE *f = fopen ("conftest.out", "w");
   4542  if (!f)
   4543   return 1;
   4544  return ferror (f) || fclose (f) != 0;
   4545 
   4546   ;
   4547   return 0;
   4548 }
   4549 _ACEOF
   4550 ac_clean_files="$ac_clean_files conftest.out"
   4551 # Check that the compiler produces executables we can run.  If not, either
   4552 # the compiler is broken, or we cross compile.
   4553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4554 printf %s "checking whether we are cross compiling... " >&6; }
   4555 if test "$cross_compiling" != yes; then
   4556   { { ac_try="$ac_link"
   4557 case "(($ac_try" in
   4558   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4559   *) ac_try_echo=$ac_try;;
   4560 esac
   4561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4562 printf "%s\n" "$ac_try_echo"; } >&5
   4563   (eval "$ac_link") 2>&5
   4564   ac_status=$?
   4565   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4566   test $ac_status = 0; }
   4567   if { ac_try='./conftest$ac_cv_exeext'
   4568   { { case "(($ac_try" in
   4569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4570   *) ac_try_echo=$ac_try;;
   4571 esac
   4572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4573 printf "%s\n" "$ac_try_echo"; } >&5
   4574   (eval "$ac_try") 2>&5
   4575   ac_status=$?
   4576   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4577   test $ac_status = 0; }; }; then
   4578     cross_compiling=no
   4579   else
   4580     if test "$cross_compiling" = maybe; then
   4581 	cross_compiling=yes
   4582     else
   4583 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4584 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4585 as_fn_error 77 "cannot run C compiled programs.
   4586 If you meant to cross compile, use '--host'.
   4587 See 'config.log' for more details" "$LINENO" 5; }
   4588     fi
   4589   fi
   4590 fi
   4591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4592 printf "%s\n" "$cross_compiling" >&6; }
   4593 
   4594 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4595   conftest.o conftest.obj conftest.out
   4596 ac_clean_files=$ac_clean_files_save
   4597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4598 printf %s "checking for suffix of object files... " >&6; }
   4599 if test ${ac_cv_objext+y}
   4600 then :
   4601   printf %s "(cached) " >&6
   4602 else case e in #(
   4603   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4604 /* end confdefs.h.  */
   4605 
   4606 int
   4607 main (void)
   4608 {
   4609 
   4610   ;
   4611   return 0;
   4612 }
   4613 _ACEOF
   4614 rm -f conftest.o conftest.obj
   4615 if { { ac_try="$ac_compile"
   4616 case "(($ac_try" in
   4617   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4618   *) ac_try_echo=$ac_try;;
   4619 esac
   4620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4621 printf "%s\n" "$ac_try_echo"; } >&5
   4622   (eval "$ac_compile") 2>&5
   4623   ac_status=$?
   4624   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4625   test $ac_status = 0; }
   4626 then :
   4627   for ac_file in conftest.o conftest.obj conftest.*; do
   4628   test -f "$ac_file" || continue;
   4629   case $ac_file in
   4630     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4631     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4632        break;;
   4633   esac
   4634 done
   4635 else case e in #(
   4636   e) printf "%s\n" "$as_me: failed program was:" >&5
   4637 sed 's/^/| /' conftest.$ac_ext >&5
   4638 
   4639 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4640 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4641 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4642 See 'config.log' for more details" "$LINENO" 5; } ;;
   4643 esac
   4644 fi
   4645 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4646 esac
   4647 fi
   4648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4649 printf "%s\n" "$ac_cv_objext" >&6; }
   4650 OBJEXT=$ac_cv_objext
   4651 ac_objext=$OBJEXT
   4652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4653 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4654 if test ${ac_cv_c_compiler_gnu+y}
   4655 then :
   4656   printf %s "(cached) " >&6
   4657 else case e in #(
   4658   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4659 /* end confdefs.h.  */
   4660 
   4661 int
   4662 main (void)
   4663 {
   4664 #ifndef __GNUC__
   4665        choke me
   4666 #endif
   4667 
   4668   ;
   4669   return 0;
   4670 }
   4671 _ACEOF
   4672 if ac_fn_c_try_compile "$LINENO"
   4673 then :
   4674   ac_compiler_gnu=yes
   4675 else case e in #(
   4676   e) ac_compiler_gnu=no ;;
   4677 esac
   4678 fi
   4679 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4680 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4681  ;;
   4682 esac
   4683 fi
   4684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4685 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4687 
   4688 if test $ac_compiler_gnu = yes; then
   4689   GCC=yes
   4690 else
   4691   GCC=
   4692 fi
   4693 ac_test_CFLAGS=${CFLAGS+y}
   4694 ac_save_CFLAGS=$CFLAGS
   4695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4696 printf %s "checking whether $CC accepts -g... " >&6; }
   4697 if test ${ac_cv_prog_cc_g+y}
   4698 then :
   4699   printf %s "(cached) " >&6
   4700 else case e in #(
   4701   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4702    ac_c_werror_flag=yes
   4703    ac_cv_prog_cc_g=no
   4704    CFLAGS="-g"
   4705    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4706 /* end confdefs.h.  */
   4707 
   4708 int
   4709 main (void)
   4710 {
   4711 
   4712   ;
   4713   return 0;
   4714 }
   4715 _ACEOF
   4716 if ac_fn_c_try_compile "$LINENO"
   4717 then :
   4718   ac_cv_prog_cc_g=yes
   4719 else case e in #(
   4720   e) CFLAGS=""
   4721       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4722 /* end confdefs.h.  */
   4723 
   4724 int
   4725 main (void)
   4726 {
   4727 
   4728   ;
   4729   return 0;
   4730 }
   4731 _ACEOF
   4732 if ac_fn_c_try_compile "$LINENO"
   4733 then :
   4734 
   4735 else case e in #(
   4736   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4737 	 CFLAGS="-g"
   4738 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4739 /* end confdefs.h.  */
   4740 
   4741 int
   4742 main (void)
   4743 {
   4744 
   4745   ;
   4746   return 0;
   4747 }
   4748 _ACEOF
   4749 if ac_fn_c_try_compile "$LINENO"
   4750 then :
   4751   ac_cv_prog_cc_g=yes
   4752 fi
   4753 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4754 esac
   4755 fi
   4756 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4757 esac
   4758 fi
   4759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4760    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4761 esac
   4762 fi
   4763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4764 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4765 if test $ac_test_CFLAGS; then
   4766   CFLAGS=$ac_save_CFLAGS
   4767 elif test $ac_cv_prog_cc_g = yes; then
   4768   if test "$GCC" = yes; then
   4769     CFLAGS="-g -O2"
   4770   else
   4771     CFLAGS="-g"
   4772   fi
   4773 else
   4774   if test "$GCC" = yes; then
   4775     CFLAGS="-O2"
   4776   else
   4777     CFLAGS=
   4778   fi
   4779 fi
   4780 ac_prog_cc_stdc=no
   4781 if test x$ac_prog_cc_stdc = xno
   4782 then :
   4783   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4784 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4785 if test ${ac_cv_prog_cc_c11+y}
   4786 then :
   4787   printf %s "(cached) " >&6
   4788 else case e in #(
   4789   e) ac_cv_prog_cc_c11=no
   4790 ac_save_CC=$CC
   4791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4792 /* end confdefs.h.  */
   4793 $ac_c_conftest_c11_program
   4794 _ACEOF
   4795 for ac_arg in '' -std=gnu11
   4796 do
   4797   CC="$ac_save_CC $ac_arg"
   4798   if ac_fn_c_try_compile "$LINENO"
   4799 then :
   4800   ac_cv_prog_cc_c11=$ac_arg
   4801 fi
   4802 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4803   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4804 done
   4805 rm -f conftest.$ac_ext
   4806 CC=$ac_save_CC ;;
   4807 esac
   4808 fi
   4809 
   4810 if test "x$ac_cv_prog_cc_c11" = xno
   4811 then :
   4812   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4813 printf "%s\n" "unsupported" >&6; }
   4814 else case e in #(
   4815   e) if test "x$ac_cv_prog_cc_c11" = x
   4816 then :
   4817   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4818 printf "%s\n" "none needed" >&6; }
   4819 else case e in #(
   4820   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4821 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4822      CC="$CC $ac_cv_prog_cc_c11" ;;
   4823 esac
   4824 fi
   4825   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4826   ac_prog_cc_stdc=c11 ;;
   4827 esac
   4828 fi
   4829 fi
   4830 if test x$ac_prog_cc_stdc = xno
   4831 then :
   4832   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4833 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4834 if test ${ac_cv_prog_cc_c99+y}
   4835 then :
   4836   printf %s "(cached) " >&6
   4837 else case e in #(
   4838   e) ac_cv_prog_cc_c99=no
   4839 ac_save_CC=$CC
   4840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4841 /* end confdefs.h.  */
   4842 $ac_c_conftest_c99_program
   4843 _ACEOF
   4844 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4845 do
   4846   CC="$ac_save_CC $ac_arg"
   4847   if ac_fn_c_try_compile "$LINENO"
   4848 then :
   4849   ac_cv_prog_cc_c99=$ac_arg
   4850 fi
   4851 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4852   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4853 done
   4854 rm -f conftest.$ac_ext
   4855 CC=$ac_save_CC ;;
   4856 esac
   4857 fi
   4858 
   4859 if test "x$ac_cv_prog_cc_c99" = xno
   4860 then :
   4861   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4862 printf "%s\n" "unsupported" >&6; }
   4863 else case e in #(
   4864   e) if test "x$ac_cv_prog_cc_c99" = x
   4865 then :
   4866   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4867 printf "%s\n" "none needed" >&6; }
   4868 else case e in #(
   4869   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4870 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4871      CC="$CC $ac_cv_prog_cc_c99" ;;
   4872 esac
   4873 fi
   4874   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4875   ac_prog_cc_stdc=c99 ;;
   4876 esac
   4877 fi
   4878 fi
   4879 if test x$ac_prog_cc_stdc = xno
   4880 then :
   4881   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4882 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4883 if test ${ac_cv_prog_cc_c89+y}
   4884 then :
   4885   printf %s "(cached) " >&6
   4886 else case e in #(
   4887   e) ac_cv_prog_cc_c89=no
   4888 ac_save_CC=$CC
   4889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4890 /* end confdefs.h.  */
   4891 $ac_c_conftest_c89_program
   4892 _ACEOF
   4893 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4894 do
   4895   CC="$ac_save_CC $ac_arg"
   4896   if ac_fn_c_try_compile "$LINENO"
   4897 then :
   4898   ac_cv_prog_cc_c89=$ac_arg
   4899 fi
   4900 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4901   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4902 done
   4903 rm -f conftest.$ac_ext
   4904 CC=$ac_save_CC ;;
   4905 esac
   4906 fi
   4907 
   4908 if test "x$ac_cv_prog_cc_c89" = xno
   4909 then :
   4910   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4911 printf "%s\n" "unsupported" >&6; }
   4912 else case e in #(
   4913   e) if test "x$ac_cv_prog_cc_c89" = x
   4914 then :
   4915   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4916 printf "%s\n" "none needed" >&6; }
   4917 else case e in #(
   4918   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4919 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4920      CC="$CC $ac_cv_prog_cc_c89" ;;
   4921 esac
   4922 fi
   4923   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4924   ac_prog_cc_stdc=c89 ;;
   4925 esac
   4926 fi
   4927 fi
   4928 
   4929 ac_ext=c
   4930 ac_cpp='$CPP $CPPFLAGS'
   4931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4934 
   4935 
   4936   ac_ext=c
   4937 ac_cpp='$CPP $CPPFLAGS'
   4938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4942 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4943 if test ${am_cv_prog_cc_c_o+y}
   4944 then :
   4945   printf %s "(cached) " >&6
   4946 else case e in #(
   4947   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4948 /* end confdefs.h.  */
   4949 
   4950 int
   4951 main (void)
   4952 {
   4953 
   4954   ;
   4955   return 0;
   4956 }
   4957 _ACEOF
   4958   # Make sure it works both with $CC and with simple cc.
   4959   # Following AC_PROG_CC_C_O, we do the test twice because some
   4960   # compilers refuse to overwrite an existing .o file with -o,
   4961   # though they will create one.
   4962   am_cv_prog_cc_c_o=yes
   4963   for am_i in 1 2; do
   4964     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4965    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4966    ac_status=$?
   4967    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4968    (exit $ac_status); } \
   4969          && test -f conftest2.$ac_objext; then
   4970       : OK
   4971     else
   4972       am_cv_prog_cc_c_o=no
   4973       break
   4974     fi
   4975   done
   4976   # aligned with autoconf, so not including core; see bug#72225.
   4977   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   4978     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   4979     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   4980   unset am_i ;;
   4981 esac
   4982 fi
   4983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4984 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4985 if test "$am_cv_prog_cc_c_o" != yes; then
   4986    # Losing compiler, so override with the script.
   4987    # FIXME: It is wrong to rewrite CC.
   4988    # But if we don't then we get into trouble of one sort or another.
   4989    # A longer-term fix would be to have automake use am__CC in this case,
   4990    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4991    CC="$am_aux_dir/compile $CC"
   4992 fi
   4993 ac_ext=c
   4994 ac_cpp='$CPP $CPPFLAGS'
   4995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4998 
   4999 DEPDIR="${am__leading_dot}deps"
   5000 
   5001 ac_config_commands="$ac_config_commands depfiles"
   5002 
   5003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   5004 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   5005 cat > confinc.mk << 'END'
   5006 am__doit:
   5007 	@echo this is the am__doit target >confinc.out
   5008 .PHONY: am__doit
   5009 END
   5010 am__include="#"
   5011 am__quote=
   5012 # BSD make does it like this.
   5013 echo '.include "confinc.mk" # ignored' > confmf.BSD
   5014 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   5015 echo 'include confinc.mk # ignored' > confmf.GNU
   5016 _am_result=no
   5017 for s in GNU BSD; do
   5018   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   5019    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   5020    ac_status=$?
   5021    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5022    (exit $ac_status); }
   5023   case $?:`cat confinc.out 2>/dev/null` in #(
   5024   '0:this is the am__doit target') :
   5025     case $s in #(
   5026   BSD) :
   5027     am__include='.include' am__quote='"' ;; #(
   5028   *) :
   5029     am__include='include' am__quote='' ;;
   5030 esac ;; #(
   5031   *) :
   5032      ;;
   5033 esac
   5034   if test "$am__include" != "#"; then
   5035     _am_result="yes ($s style)"
   5036     break
   5037   fi
   5038 done
   5039 rm -f confinc.* confmf.*
   5040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   5041 printf "%s\n" "${_am_result}" >&6; }
   5042 
   5043 
   5044 depcc="$CC"   am_compiler_list=
   5045 
   5046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5047 printf %s "checking dependency style of $depcc... " >&6; }
   5048 if test ${am_cv_CC_dependencies_compiler_type+y}
   5049 then :
   5050   printf %s "(cached) " >&6
   5051 else case e in #(
   5052   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5053   # We make a subdir and do the tests there.  Otherwise we can end up
   5054   # making bogus files that we don't know about and never remove.  For
   5055   # instance it was reported that on HP-UX the gcc test will end up
   5056   # making a dummy file named 'D' -- because '-MD' means "put the output
   5057   # in D".
   5058   rm -rf conftest.dir
   5059   mkdir conftest.dir
   5060   # Copy depcomp to subdir because otherwise we won't find it if we're
   5061   # using a relative directory.
   5062   cp "$am_depcomp" conftest.dir
   5063   cd conftest.dir
   5064   # We will build objects and dependencies in a subdirectory because
   5065   # it helps to detect inapplicable dependency modes.  For instance
   5066   # both Tru64's cc and ICC support -MD to output dependencies as a
   5067   # side effect of compilation, but ICC will put the dependencies in
   5068   # the current directory while Tru64 will put them in the object
   5069   # directory.
   5070   mkdir sub
   5071 
   5072   am_cv_CC_dependencies_compiler_type=none
   5073   if test "$am_compiler_list" = ""; then
   5074      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5075   fi
   5076   am__universal=false
   5077   case " $depcc " in #(
   5078      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5079      esac
   5080 
   5081   for depmode in $am_compiler_list; do
   5082     # Setup a source with many dependencies, because some compilers
   5083     # like to wrap large dependency lists on column 80 (with \), and
   5084     # we should not choose a depcomp mode which is confused by this.
   5085     #
   5086     # We need to recreate these files for each test, as the compiler may
   5087     # overwrite some of them when testing with obscure command lines.
   5088     # This happens at least with the AIX C compiler.
   5089     : > sub/conftest.c
   5090     for i in 1 2 3 4 5 6; do
   5091       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5092       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5093       # Solaris 10 /bin/sh.
   5094       echo '/* dummy */' > sub/conftst$i.h
   5095     done
   5096     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5097 
   5098     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5099     # mode.  It turns out that the SunPro C++ compiler does not properly
   5100     # handle '-M -o', and we need to detect this.  Also, some Intel
   5101     # versions had trouble with output in subdirs.
   5102     am__obj=sub/conftest.${OBJEXT-o}
   5103     am__minus_obj="-o $am__obj"
   5104     case $depmode in
   5105     gcc)
   5106       # This depmode causes a compiler race in universal mode.
   5107       test "$am__universal" = false || continue
   5108       ;;
   5109     nosideeffect)
   5110       # After this tag, mechanisms are not by side-effect, so they'll
   5111       # only be used when explicitly requested.
   5112       if test "x$enable_dependency_tracking" = xyes; then
   5113 	continue
   5114       else
   5115 	break
   5116       fi
   5117       ;;
   5118     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5119       # This compiler won't grok '-c -o', but also, the minuso test has
   5120       # not run yet.  These depmodes are late enough in the game, and
   5121       # so weak that their functioning should not be impacted.
   5122       am__obj=conftest.${OBJEXT-o}
   5123       am__minus_obj=
   5124       ;;
   5125     none) break ;;
   5126     esac
   5127     if depmode=$depmode \
   5128        source=sub/conftest.c object=$am__obj \
   5129        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5130        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5131          >/dev/null 2>conftest.err &&
   5132        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5133        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5134        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5135        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5136       # icc doesn't choke on unknown options, it will just issue warnings
   5137       # or remarks (even with -Werror).  So we grep stderr for any message
   5138       # that says an option was ignored or not supported.
   5139       # When given -MP, icc 7.0 and 7.1 complain thus:
   5140       #   icc: Command line warning: ignoring option '-M'; no argument required
   5141       # The diagnosis changed in icc 8.0:
   5142       #   icc: Command line remark: option '-MP' not supported
   5143       if (grep 'ignoring option' conftest.err ||
   5144           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5145         am_cv_CC_dependencies_compiler_type=$depmode
   5146         break
   5147       fi
   5148     fi
   5149   done
   5150 
   5151   cd ..
   5152   rm -rf conftest.dir
   5153 else
   5154   am_cv_CC_dependencies_compiler_type=none
   5155 fi
   5156  ;;
   5157 esac
   5158 fi
   5159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5160 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   5161 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5162 
   5163  if
   5164   test "x$enable_dependency_tracking" != xno \
   5165   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5166   am__fastdepCC_TRUE=
   5167   am__fastdepCC_FALSE='#'
   5168 else
   5169   am__fastdepCC_TRUE='#'
   5170   am__fastdepCC_FALSE=
   5171 fi
   5172 
   5173 
   5174 # By default we simply use the C compiler to build assembly code.
   5175 
   5176 test "${CCAS+set}" = set || CCAS=$CC
   5177 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
   5178 
   5179 
   5180 
   5181 depcc="$CCAS"   am_compiler_list=
   5182 
   5183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5184 printf %s "checking dependency style of $depcc... " >&6; }
   5185 if test ${am_cv_CCAS_dependencies_compiler_type+y}
   5186 then :
   5187   printf %s "(cached) " >&6
   5188 else case e in #(
   5189   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5190   # We make a subdir and do the tests there.  Otherwise we can end up
   5191   # making bogus files that we don't know about and never remove.  For
   5192   # instance it was reported that on HP-UX the gcc test will end up
   5193   # making a dummy file named 'D' -- because '-MD' means "put the output
   5194   # in D".
   5195   rm -rf conftest.dir
   5196   mkdir conftest.dir
   5197   # Copy depcomp to subdir because otherwise we won't find it if we're
   5198   # using a relative directory.
   5199   cp "$am_depcomp" conftest.dir
   5200   cd conftest.dir
   5201   # We will build objects and dependencies in a subdirectory because
   5202   # it helps to detect inapplicable dependency modes.  For instance
   5203   # both Tru64's cc and ICC support -MD to output dependencies as a
   5204   # side effect of compilation, but ICC will put the dependencies in
   5205   # the current directory while Tru64 will put them in the object
   5206   # directory.
   5207   mkdir sub
   5208 
   5209   am_cv_CCAS_dependencies_compiler_type=none
   5210   if test "$am_compiler_list" = ""; then
   5211      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5212   fi
   5213   am__universal=false
   5214 
   5215 
   5216   for depmode in $am_compiler_list; do
   5217     # Setup a source with many dependencies, because some compilers
   5218     # like to wrap large dependency lists on column 80 (with \), and
   5219     # we should not choose a depcomp mode which is confused by this.
   5220     #
   5221     # We need to recreate these files for each test, as the compiler may
   5222     # overwrite some of them when testing with obscure command lines.
   5223     # This happens at least with the AIX C compiler.
   5224     : > sub/conftest.c
   5225     for i in 1 2 3 4 5 6; do
   5226       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5227       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5228       # Solaris 10 /bin/sh.
   5229       echo '/* dummy */' > sub/conftst$i.h
   5230     done
   5231     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5232 
   5233     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5234     # mode.  It turns out that the SunPro C++ compiler does not properly
   5235     # handle '-M -o', and we need to detect this.  Also, some Intel
   5236     # versions had trouble with output in subdirs.
   5237     am__obj=sub/conftest.${OBJEXT-o}
   5238     am__minus_obj="-o $am__obj"
   5239     case $depmode in
   5240     gcc)
   5241       # This depmode causes a compiler race in universal mode.
   5242       test "$am__universal" = false || continue
   5243       ;;
   5244     nosideeffect)
   5245       # After this tag, mechanisms are not by side-effect, so they'll
   5246       # only be used when explicitly requested.
   5247       if test "x$enable_dependency_tracking" = xyes; then
   5248 	continue
   5249       else
   5250 	break
   5251       fi
   5252       ;;
   5253     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5254       # This compiler won't grok '-c -o', but also, the minuso test has
   5255       # not run yet.  These depmodes are late enough in the game, and
   5256       # so weak that their functioning should not be impacted.
   5257       am__obj=conftest.${OBJEXT-o}
   5258       am__minus_obj=
   5259       ;;
   5260     none) break ;;
   5261     esac
   5262     if depmode=$depmode \
   5263        source=sub/conftest.c object=$am__obj \
   5264        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5265        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5266          >/dev/null 2>conftest.err &&
   5267        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5268        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5269        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5270        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5271       # icc doesn't choke on unknown options, it will just issue warnings
   5272       # or remarks (even with -Werror).  So we grep stderr for any message
   5273       # that says an option was ignored or not supported.
   5274       # When given -MP, icc 7.0 and 7.1 complain thus:
   5275       #   icc: Command line warning: ignoring option '-M'; no argument required
   5276       # The diagnosis changed in icc 8.0:
   5277       #   icc: Command line remark: option '-MP' not supported
   5278       if (grep 'ignoring option' conftest.err ||
   5279           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5280         am_cv_CCAS_dependencies_compiler_type=$depmode
   5281         break
   5282       fi
   5283     fi
   5284   done
   5285 
   5286   cd ..
   5287   rm -rf conftest.dir
   5288 else
   5289   am_cv_CCAS_dependencies_compiler_type=none
   5290 fi
   5291  ;;
   5292 esac
   5293 fi
   5294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
   5295 printf "%s\n" "$am_cv_CCAS_dependencies_compiler_type" >&6; }
   5296 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
   5297 
   5298  if
   5299   test "x$enable_dependency_tracking" != xno \
   5300   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
   5301   am__fastdepCCAS_TRUE=
   5302   am__fastdepCCAS_FALSE='#'
   5303 else
   5304   am__fastdepCCAS_TRUE='#'
   5305   am__fastdepCCAS_FALSE=
   5306 fi
   5307 
   5308 
   5309 
   5310 ac_header= ac_cache=
   5311 for ac_item in $ac_header_c_list
   5312 do
   5313   if test $ac_cache; then
   5314     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   5315     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   5316       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   5317     fi
   5318     ac_header= ac_cache=
   5319   elif test $ac_header; then
   5320     ac_cache=$ac_item
   5321   else
   5322     ac_header=$ac_item
   5323   fi
   5324 done
   5325 
   5326 
   5327 
   5328 
   5329 
   5330 
   5331 
   5332 
   5333 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   5334 then :
   5335 
   5336 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   5337 
   5338 fi
   5339 
   5340 
   5341 
   5342 
   5343 
   5344 
   5345   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   5346 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   5347 if test ${ac_cv_safe_to_define___extensions__+y}
   5348 then :
   5349   printf %s "(cached) " >&6
   5350 else case e in #(
   5351   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5352 /* end confdefs.h.  */
   5353 
   5354 #         define __EXTENSIONS__ 1
   5355           $ac_includes_default
   5356 int
   5357 main (void)
   5358 {
   5359 
   5360   ;
   5361   return 0;
   5362 }
   5363 _ACEOF
   5364 if ac_fn_c_try_compile "$LINENO"
   5365 then :
   5366   ac_cv_safe_to_define___extensions__=yes
   5367 else case e in #(
   5368   e) ac_cv_safe_to_define___extensions__=no ;;
   5369 esac
   5370 fi
   5371 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5372 esac
   5373 fi
   5374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   5375 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   5376 
   5377   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   5378 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   5379 if test ${ac_cv_should_define__xopen_source+y}
   5380 then :
   5381   printf %s "(cached) " >&6
   5382 else case e in #(
   5383   e) ac_cv_should_define__xopen_source=no
   5384     if test $ac_cv_header_wchar_h = yes
   5385 then :
   5386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5387 /* end confdefs.h.  */
   5388 
   5389           #include <wchar.h>
   5390           mbstate_t x;
   5391 int
   5392 main (void)
   5393 {
   5394 
   5395   ;
   5396   return 0;
   5397 }
   5398 _ACEOF
   5399 if ac_fn_c_try_compile "$LINENO"
   5400 then :
   5401 
   5402 else case e in #(
   5403   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5404 /* end confdefs.h.  */
   5405 
   5406             #define _XOPEN_SOURCE 500
   5407             #include <wchar.h>
   5408             mbstate_t x;
   5409 int
   5410 main (void)
   5411 {
   5412 
   5413   ;
   5414   return 0;
   5415 }
   5416 _ACEOF
   5417 if ac_fn_c_try_compile "$LINENO"
   5418 then :
   5419   ac_cv_should_define__xopen_source=yes
   5420 fi
   5421 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5422 esac
   5423 fi
   5424 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5425 fi ;;
   5426 esac
   5427 fi
   5428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   5429 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   5430 
   5431   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   5432 
   5433   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   5434 
   5435   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   5436 
   5437   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   5438 
   5439   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   5440 
   5441   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   5442 
   5443   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   5444 
   5445   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   5446 
   5447   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   5448 
   5449   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   5450 
   5451   printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
   5452 
   5453   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   5454 
   5455   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   5456 
   5457   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   5458 
   5459   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   5460 
   5461   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   5462 
   5463   if test $ac_cv_header_minix_config_h = yes
   5464 then :
   5465   MINIX=yes
   5466     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   5467 
   5468     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   5469 
   5470     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   5471 
   5472 else case e in #(
   5473   e) MINIX= ;;
   5474 esac
   5475 fi
   5476   if test $ac_cv_safe_to_define___extensions__ = yes
   5477 then :
   5478   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   5479 
   5480 fi
   5481   if test $ac_cv_should_define__xopen_source = yes
   5482 then :
   5483   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   5484 
   5485 fi
   5486 
   5487 
   5488 
   5489 if test "$sodium_CFLAGS" != "set" ; then
   5490   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -O3" >&5
   5491 printf %s "checking whether C compiler accepts -O3... " >&6; }
   5492 if test ${ax_cv_check_cflags___O3+y}
   5493 then :
   5494   printf %s "(cached) " >&6
   5495 else case e in #(
   5496   e)
   5497   ax_check_save_flags=$CFLAGS
   5498   CFLAGS="$CFLAGS  -O3"
   5499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5500 /* end confdefs.h.  */
   5501 #include <time.h>
   5502 int
   5503 main (void)
   5504 {
   5505 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   5506 
   5507   ;
   5508   return 0;
   5509 }
   5510 _ACEOF
   5511 if ac_fn_c_try_link "$LINENO"
   5512 then :
   5513   ax_cv_check_cflags___O3=yes
   5514 else case e in #(
   5515   e) ax_cv_check_cflags___O3=no ;;
   5516 esac
   5517 fi
   5518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5519     conftest$ac_exeext conftest.$ac_ext
   5520   CFLAGS=$ax_check_save_flags ;;
   5521 esac
   5522 fi
   5523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___O3" >&5
   5524 printf "%s\n" "$ax_cv_check_cflags___O3" >&6; }
   5525 if test "x$ax_cv_check_cflags___O3" = xyes
   5526 then :
   5527   CFLAGS="$CFLAGS -O3"
   5528 else case e in #(
   5529   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -O2" >&5
   5530 printf %s "checking whether C compiler accepts -O2... " >&6; }
   5531 if test ${ax_cv_check_cflags___O2+y}
   5532 then :
   5533   printf %s "(cached) " >&6
   5534 else case e in #(
   5535   e)
   5536   ax_check_save_flags=$CFLAGS
   5537   CFLAGS="$CFLAGS  -O2"
   5538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5539 /* end confdefs.h.  */
   5540 #include <time.h>
   5541 int
   5542 main (void)
   5543 {
   5544 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   5545 
   5546   ;
   5547   return 0;
   5548 }
   5549 _ACEOF
   5550 if ac_fn_c_try_link "$LINENO"
   5551 then :
   5552   ax_cv_check_cflags___O2=yes
   5553 else case e in #(
   5554   e) ax_cv_check_cflags___O2=no ;;
   5555 esac
   5556 fi
   5557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5558     conftest$ac_exeext conftest.$ac_ext
   5559   CFLAGS=$ax_check_save_flags ;;
   5560 esac
   5561 fi
   5562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___O2" >&5
   5563 printf "%s\n" "$ax_cv_check_cflags___O2" >&6; }
   5564 if test "x$ax_cv_check_cflags___O2" = xyes
   5565 then :
   5566   CFLAGS="$CFLAGS -O2"
   5567 else case e in #(
   5568   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -O1" >&5
   5569 printf %s "checking whether C compiler accepts -O1... " >&6; }
   5570 if test ${ax_cv_check_cflags___O1+y}
   5571 then :
   5572   printf %s "(cached) " >&6
   5573 else case e in #(
   5574   e)
   5575   ax_check_save_flags=$CFLAGS
   5576   CFLAGS="$CFLAGS  -O1"
   5577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5578 /* end confdefs.h.  */
   5579 #include <time.h>
   5580 int
   5581 main (void)
   5582 {
   5583 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   5584 
   5585   ;
   5586   return 0;
   5587 }
   5588 _ACEOF
   5589 if ac_fn_c_try_link "$LINENO"
   5590 then :
   5591   ax_cv_check_cflags___O1=yes
   5592 else case e in #(
   5593   e) ax_cv_check_cflags___O1=no ;;
   5594 esac
   5595 fi
   5596 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5597     conftest$ac_exeext conftest.$ac_ext
   5598   CFLAGS=$ax_check_save_flags ;;
   5599 esac
   5600 fi
   5601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___O1" >&5
   5602 printf "%s\n" "$ax_cv_check_cflags___O1" >&6; }
   5603 if test "x$ax_cv_check_cflags___O1" = xyes
   5604 then :
   5605   CFLAGS="$CFLAGS -O1"
   5606 else case e in #(
   5607   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -O" >&5
   5608 printf %s "checking whether C compiler accepts -O... " >&6; }
   5609 if test ${ax_cv_check_cflags___O+y}
   5610 then :
   5611   printf %s "(cached) " >&6
   5612 else case e in #(
   5613   e)
   5614   ax_check_save_flags=$CFLAGS
   5615   CFLAGS="$CFLAGS  -O"
   5616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5617 /* end confdefs.h.  */
   5618 #include <time.h>
   5619 int
   5620 main (void)
   5621 {
   5622 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   5623 
   5624   ;
   5625   return 0;
   5626 }
   5627 _ACEOF
   5628 if ac_fn_c_try_link "$LINENO"
   5629 then :
   5630   ax_cv_check_cflags___O=yes
   5631 else case e in #(
   5632   e) ax_cv_check_cflags___O=no ;;
   5633 esac
   5634 fi
   5635 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5636     conftest$ac_exeext conftest.$ac_ext
   5637   CFLAGS=$ax_check_save_flags ;;
   5638 esac
   5639 fi
   5640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___O" >&5
   5641 printf "%s\n" "$ax_cv_check_cflags___O" >&6; }
   5642 if test "x$ax_cv_check_cflags___O" = xyes
   5643 then :
   5644   CFLAGS="$CFLAGS -O"
   5645 else case e in #(
   5646   e) : ;;
   5647 esac
   5648 fi
   5649  ;;
   5650 esac
   5651 fi
   5652  ;;
   5653 esac
   5654 fi
   5655  ;;
   5656 esac
   5657 fi
   5658 
   5659 fi
   5660 
   5661 
   5662 # Check whether --enable-ssp was given.
   5663 if test ${enable_ssp+y}
   5664 then :
   5665   enableval=$enable_ssp;
   5666   if test "x$enableval" = "xno"
   5667 then :
   5668 
   5669     enable_ssp="no"
   5670 
   5671 else case e in #(
   5672   e)
   5673     enable_ssp="yes"
   5674    ;;
   5675 esac
   5676 fi
   5677 
   5678 else case e in #(
   5679   e)
   5680   enable_ssp="yes"
   5681  ;;
   5682 esac
   5683 fi
   5684 
   5685 
   5686 # Check whether --enable-asm was given.
   5687 if test ${enable_asm+y}
   5688 then :
   5689   enableval=$enable_asm;
   5690   if test "x$enableval" = "xno"
   5691 then :
   5692 
   5693     enable_asm="no"
   5694 
   5695 else case e in #(
   5696   e)
   5697     enable_asm="yes"
   5698    ;;
   5699 esac
   5700 fi
   5701 
   5702 else case e in #(
   5703   e)
   5704   enable_asm="yes"
   5705  ;;
   5706 esac
   5707 fi
   5708 
   5709 
   5710 if test "x$EMSCRIPTEN" != "x"
   5711 then :
   5712 
   5713   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -s ASSERTIONS=0" >&5
   5714 printf %s "checking whether C compiler accepts -s ASSERTIONS=0... " >&6; }
   5715 if test ${ax_cv_check_cflags___s_ASSERTIONS_0+y}
   5716 then :
   5717   printf %s "(cached) " >&6
   5718 else case e in #(
   5719   e)
   5720   ax_check_save_flags=$CFLAGS
   5721   CFLAGS="$CFLAGS  -s ASSERTIONS=0"
   5722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5723 /* end confdefs.h.  */
   5724 #include <time.h>
   5725 int
   5726 main (void)
   5727 {
   5728 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   5729 
   5730   ;
   5731   return 0;
   5732 }
   5733 _ACEOF
   5734 if ac_fn_c_try_link "$LINENO"
   5735 then :
   5736   ax_cv_check_cflags___s_ASSERTIONS_0=yes
   5737 else case e in #(
   5738   e) ax_cv_check_cflags___s_ASSERTIONS_0=no ;;
   5739 esac
   5740 fi
   5741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5742     conftest$ac_exeext conftest.$ac_ext
   5743   CFLAGS=$ax_check_save_flags ;;
   5744 esac
   5745 fi
   5746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___s_ASSERTIONS_0" >&5
   5747 printf "%s\n" "$ax_cv_check_cflags___s_ASSERTIONS_0" >&6; }
   5748 if test "x$ax_cv_check_cflags___s_ASSERTIONS_0" = xyes
   5749 then :
   5750 
   5751     enable_asm="no"
   5752     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compiling to JavaScript - asm implementations disabled" >&5
   5753 printf "%s\n" "$as_me: WARNING: compiling to JavaScript - asm implementations disabled" >&2;}
   5754 
   5755 else case e in #(
   5756   e)
   5757     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: EMSCRIPTEN environment variable defined, but emcc doesn\'t appear to be used - Assuming compilation to native code" >&5
   5758 printf "%s\n" "$as_me: WARNING: EMSCRIPTEN environment variable defined, but emcc doesn\'t appear to be used - Assuming compilation to native code" >&2;}
   5759     CFLAGS="$CFLAGS -U__EMSCRIPTEN__"
   5760     unset EMSCRIPTEN
   5761    ;;
   5762 esac
   5763 fi
   5764 
   5765 
   5766 fi
   5767 
   5768 # Check whether --enable-pie was given.
   5769 if test ${enable_pie+y}
   5770 then :
   5771   enableval=$enable_pie; enable_pie=$enableval
   5772 else case e in #(
   5773   e) enable_pie="maybe" ;;
   5774 esac
   5775 fi
   5776 
   5777 
   5778 case $host_os in #(
   5779   mingw*|cygwin*|msys|eabi*) :
   5780     enable_pie="no" ;; #(
   5781   *) :
   5782      ;;
   5783 esac
   5784 
   5785 # Check whether --enable-blocking-random was given.
   5786 if test ${enable_blocking_random+y}
   5787 then :
   5788   enableval=$enable_blocking_random;
   5789   if test "x$enableval" = "xyes"
   5790 then :
   5791 
   5792 
   5793 printf "%s\n" "#define USE_BLOCKING_RANDOM 1" >>confdefs.h
   5794 
   5795 
   5796 fi
   5797 
   5798 fi
   5799 
   5800 
   5801 # Check whether --enable-minimal was given.
   5802 if test ${enable_minimal+y}
   5803 then :
   5804   enableval=$enable_minimal;
   5805   if test "x$enableval" = "xyes"
   5806 then :
   5807 
   5808     enable_minimal="yes"
   5809     SODIUM_LIBRARY_MINIMAL_DEF="#define SODIUM_LIBRARY_MINIMAL 1"
   5810 
   5811 printf "%s\n" "#define MINIMAL 1" >>confdefs.h
   5812 
   5813 
   5814 else case e in #(
   5815   e)
   5816     enable_minimal="no"
   5817    ;;
   5818 esac
   5819 fi
   5820 
   5821 else case e in #(
   5822   e)
   5823   enable_minimal="no"
   5824  ;;
   5825 esac
   5826 fi
   5827 
   5828  if test x$enable_minimal = xyes; then
   5829   MINIMAL_TRUE=
   5830   MINIMAL_FALSE='#'
   5831 else
   5832   MINIMAL_TRUE='#'
   5833   MINIMAL_FALSE=
   5834 fi
   5835 
   5836 
   5837 
   5838 
   5839 # Check whether --with-pthreads was given.
   5840 if test ${with_pthreads+y}
   5841 then :
   5842   withval=$with_pthreads;
   5843 else case e in #(
   5844   e) withval="yes" ;;
   5845 esac
   5846 fi
   5847 
   5848 
   5849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5850 printf %s "checking for a sed that does not truncate output... " >&6; }
   5851 if test ${ac_cv_path_SED+y}
   5852 then :
   5853   printf %s "(cached) " >&6
   5854 else case e in #(
   5855   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5856      for ac_i in 1 2 3 4 5 6 7; do
   5857        ac_script="$ac_script$as_nl$ac_script"
   5858      done
   5859      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5860      { ac_script=; unset ac_script;}
   5861      if test -z "$SED"; then
   5862   ac_path_SED_found=false
   5863   # Loop through the user's path and test for each of PROGNAME-LIST
   5864   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5865 for as_dir in $PATH
   5866 do
   5867   IFS=$as_save_IFS
   5868   case $as_dir in #(((
   5869     '') as_dir=./ ;;
   5870     */) ;;
   5871     *) as_dir=$as_dir/ ;;
   5872   esac
   5873     for ac_prog in sed gsed
   5874    do
   5875     for ac_exec_ext in '' $ac_executable_extensions; do
   5876       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5877       as_fn_executable_p "$ac_path_SED" || continue
   5878 # Check for GNU ac_path_SED and select it if it is found.
   5879   # Check for GNU $ac_path_SED
   5880 case `"$ac_path_SED" --version 2>&1` in #(
   5881 *GNU*)
   5882   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5883 #(
   5884 *)
   5885   ac_count=0
   5886   printf %s 0123456789 >"conftest.in"
   5887   while :
   5888   do
   5889     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5890     mv "conftest.tmp" "conftest.in"
   5891     cp "conftest.in" "conftest.nl"
   5892     printf "%s\n" '' >> "conftest.nl"
   5893     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5894     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5895     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5896     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5897       # Best one so far, save it but keep looking for a better one
   5898       ac_cv_path_SED="$ac_path_SED"
   5899       ac_path_SED_max=$ac_count
   5900     fi
   5901     # 10*(2^10) chars as input seems more than enough
   5902     test $ac_count -gt 10 && break
   5903   done
   5904   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5905 esac
   5906 
   5907       $ac_path_SED_found && break 3
   5908     done
   5909   done
   5910   done
   5911 IFS=$as_save_IFS
   5912   if test -z "$ac_cv_path_SED"; then
   5913     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5914   fi
   5915 else
   5916   ac_cv_path_SED=$SED
   5917 fi
   5918  ;;
   5919 esac
   5920 fi
   5921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5922 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5923  SED="$ac_cv_path_SED"
   5924   rm -f conftest.sed
   5925 
   5926 ac_ext=c
   5927 ac_cpp='$CPP $CPPFLAGS'
   5928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   5932 printf %s "checking how to run the C preprocessor... " >&6; }
   5933 # On Suns, sometimes $CPP names a directory.
   5934 if test -n "$CPP" && test -d "$CPP"; then
   5935   CPP=
   5936 fi
   5937 if test -z "$CPP"; then
   5938   if test ${ac_cv_prog_CPP+y}
   5939 then :
   5940   printf %s "(cached) " >&6
   5941 else case e in #(
   5942   e)     # Double quotes because $CC needs to be expanded
   5943     for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
   5944     do
   5945       ac_preproc_ok=false
   5946 for ac_c_preproc_warn_flag in '' yes
   5947 do
   5948   # Use a header file that comes with gcc, so configuring glibc
   5949   # with a fresh cross-compiler works.
   5950   # On the NeXT, cc -E runs the code through the compiler's parser,
   5951   # not just through cpp. "Syntax error" is here to catch this case.
   5952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5953 /* end confdefs.h.  */
   5954 #include <limits.h>
   5955 		     Syntax error
   5956 _ACEOF
   5957 if ac_fn_c_try_cpp "$LINENO"
   5958 then :
   5959 
   5960 else case e in #(
   5961   e) # Broken: fails on valid input.
   5962 continue ;;
   5963 esac
   5964 fi
   5965 rm -f conftest.err conftest.i conftest.$ac_ext
   5966 
   5967   # OK, works on sane cases.  Now check whether nonexistent headers
   5968   # can be detected and how.
   5969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5970 /* end confdefs.h.  */
   5971 #include <ac_nonexistent.h>
   5972 _ACEOF
   5973 if ac_fn_c_try_cpp "$LINENO"
   5974 then :
   5975   # Broken: success on invalid input.
   5976 continue
   5977 else case e in #(
   5978   e) # Passes both tests.
   5979 ac_preproc_ok=:
   5980 break ;;
   5981 esac
   5982 fi
   5983 rm -f conftest.err conftest.i conftest.$ac_ext
   5984 
   5985 done
   5986 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5987 rm -f conftest.i conftest.err conftest.$ac_ext
   5988 if $ac_preproc_ok
   5989 then :
   5990   break
   5991 fi
   5992 
   5993     done
   5994     ac_cv_prog_CPP=$CPP
   5995    ;;
   5996 esac
   5997 fi
   5998   CPP=$ac_cv_prog_CPP
   5999 else
   6000   ac_cv_prog_CPP=$CPP
   6001 fi
   6002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   6003 printf "%s\n" "$CPP" >&6; }
   6004 ac_preproc_ok=false
   6005 for ac_c_preproc_warn_flag in '' yes
   6006 do
   6007   # Use a header file that comes with gcc, so configuring glibc
   6008   # with a fresh cross-compiler works.
   6009   # On the NeXT, cc -E runs the code through the compiler's parser,
   6010   # not just through cpp. "Syntax error" is here to catch this case.
   6011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6012 /* end confdefs.h.  */
   6013 #include <limits.h>
   6014 		     Syntax error
   6015 _ACEOF
   6016 if ac_fn_c_try_cpp "$LINENO"
   6017 then :
   6018 
   6019 else case e in #(
   6020   e) # Broken: fails on valid input.
   6021 continue ;;
   6022 esac
   6023 fi
   6024 rm -f conftest.err conftest.i conftest.$ac_ext
   6025 
   6026   # OK, works on sane cases.  Now check whether nonexistent headers
   6027   # can be detected and how.
   6028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6029 /* end confdefs.h.  */
   6030 #include <ac_nonexistent.h>
   6031 _ACEOF
   6032 if ac_fn_c_try_cpp "$LINENO"
   6033 then :
   6034   # Broken: success on invalid input.
   6035 continue
   6036 else case e in #(
   6037   e) # Passes both tests.
   6038 ac_preproc_ok=:
   6039 break ;;
   6040 esac
   6041 fi
   6042 rm -f conftest.err conftest.i conftest.$ac_ext
   6043 
   6044 done
   6045 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6046 rm -f conftest.i conftest.err conftest.$ac_ext
   6047 if $ac_preproc_ok
   6048 then :
   6049 
   6050 else case e in #(
   6051   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   6052 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   6053 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   6054 See 'config.log' for more details" "$LINENO" 5; } ;;
   6055 esac
   6056 fi
   6057 
   6058 ac_ext=c
   6059 ac_cpp='$CPP $CPPFLAGS'
   6060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6063 
   6064 
   6065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5
   6066 printf %s "checking for egrep -e... " >&6; }
   6067 if test ${ac_cv_path_EGREP_TRADITIONAL+y}
   6068 then :
   6069   printf %s "(cached) " >&6
   6070 else case e in #(
   6071   e) if test -z "$EGREP_TRADITIONAL"; then
   6072   ac_path_EGREP_TRADITIONAL_found=false
   6073   # Loop through the user's path and test for each of PROGNAME-LIST
   6074   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6075 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6076 do
   6077   IFS=$as_save_IFS
   6078   case $as_dir in #(((
   6079     '') as_dir=./ ;;
   6080     */) ;;
   6081     *) as_dir=$as_dir/ ;;
   6082   esac
   6083     for ac_prog in grep ggrep
   6084    do
   6085     for ac_exec_ext in '' $ac_executable_extensions; do
   6086       ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
   6087       as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
   6088 # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
   6089   # Check for GNU $ac_path_EGREP_TRADITIONAL
   6090 case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
   6091 *GNU*)
   6092   ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
   6093 #(
   6094 *)
   6095   ac_count=0
   6096   printf %s 0123456789 >"conftest.in"
   6097   while :
   6098   do
   6099     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6100     mv "conftest.tmp" "conftest.in"
   6101     cp "conftest.in" "conftest.nl"
   6102     printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl"
   6103     "$ac_path_EGREP_TRADITIONAL" -E 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6104     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6105     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6106     if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
   6107       # Best one so far, save it but keep looking for a better one
   6108       ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
   6109       ac_path_EGREP_TRADITIONAL_max=$ac_count
   6110     fi
   6111     # 10*(2^10) chars as input seems more than enough
   6112     test $ac_count -gt 10 && break
   6113   done
   6114   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6115 esac
   6116 
   6117       $ac_path_EGREP_TRADITIONAL_found && break 3
   6118     done
   6119   done
   6120   done
   6121 IFS=$as_save_IFS
   6122   if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
   6123     :
   6124   fi
   6125 else
   6126   ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
   6127 fi
   6128 
   6129     if test "$ac_cv_path_EGREP_TRADITIONAL"
   6130 then :
   6131   ac_cv_path_EGREP_TRADITIONAL="$ac_cv_path_EGREP_TRADITIONAL -E"
   6132 else case e in #(
   6133   e) if test -z "$EGREP_TRADITIONAL"; then
   6134   ac_path_EGREP_TRADITIONAL_found=false
   6135   # Loop through the user's path and test for each of PROGNAME-LIST
   6136   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6137 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6138 do
   6139   IFS=$as_save_IFS
   6140   case $as_dir in #(((
   6141     '') as_dir=./ ;;
   6142     */) ;;
   6143     *) as_dir=$as_dir/ ;;
   6144   esac
   6145     for ac_prog in egrep
   6146    do
   6147     for ac_exec_ext in '' $ac_executable_extensions; do
   6148       ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
   6149       as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
   6150 # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
   6151   # Check for GNU $ac_path_EGREP_TRADITIONAL
   6152 case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
   6153 *GNU*)
   6154   ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
   6155 #(
   6156 *)
   6157   ac_count=0
   6158   printf %s 0123456789 >"conftest.in"
   6159   while :
   6160   do
   6161     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6162     mv "conftest.tmp" "conftest.in"
   6163     cp "conftest.in" "conftest.nl"
   6164     printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl"
   6165     "$ac_path_EGREP_TRADITIONAL" 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6166     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6167     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6168     if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
   6169       # Best one so far, save it but keep looking for a better one
   6170       ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
   6171       ac_path_EGREP_TRADITIONAL_max=$ac_count
   6172     fi
   6173     # 10*(2^10) chars as input seems more than enough
   6174     test $ac_count -gt 10 && break
   6175   done
   6176   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6177 esac
   6178 
   6179       $ac_path_EGREP_TRADITIONAL_found && break 3
   6180     done
   6181   done
   6182   done
   6183 IFS=$as_save_IFS
   6184   if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
   6185     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6186   fi
   6187 else
   6188   ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
   6189 fi
   6190  ;;
   6191 esac
   6192 fi ;;
   6193 esac
   6194 fi
   6195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP_TRADITIONAL" >&5
   6196 printf "%s\n" "$ac_cv_path_EGREP_TRADITIONAL" >&6; }
   6197  EGREP_TRADITIONAL=$ac_cv_path_EGREP_TRADITIONAL
   6198 
   6199 if test "x$withval" = "xyes"
   6200 then :
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 ac_ext=c
   6207 ac_cpp='$CPP $CPPFLAGS'
   6208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6211 
   6212 ax_pthread_ok=no
   6213 
   6214 # We used to check for pthread.h first, but this fails if pthread.h
   6215 # requires special compiler flags (e.g. on Tru64 or Sequent).
   6216 # It gets checked for in the link test anyway.
   6217 
   6218 # First of all, check if the user has set any of the PTHREAD_LIBS,
   6219 # etcetera environment variables, and if threads linking works using
   6220 # them:
   6221 if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
   6222         ax_pthread_save_CC="$CC"
   6223         ax_pthread_save_CFLAGS="$CFLAGS"
   6224         ax_pthread_save_LIBS="$LIBS"
   6225         if test "x$PTHREAD_CC" != "x"
   6226 then :
   6227   CC="$PTHREAD_CC"
   6228 fi
   6229         if test "x$PTHREAD_CXX" != "x"
   6230 then :
   6231   CXX="$PTHREAD_CXX"
   6232 fi
   6233         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   6234         LIBS="$PTHREAD_LIBS $LIBS"
   6235         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
   6236 printf %s "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
   6237         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6238 /* end confdefs.h.  */
   6239 
   6240 /* Override any GCC internal prototype to avoid an error.
   6241    Use char because int might match the return type of a GCC
   6242    builtin and then its argument prototype would still apply.
   6243    The 'extern "C"' is for builds by C++ compilers;
   6244    although this is not generally supported in C code supporting it here
   6245    has little cost and some practical benefit (sr 110532).  */
   6246 #ifdef __cplusplus
   6247 extern "C"
   6248 #endif
   6249 char pthread_join (void);
   6250 int
   6251 main (void)
   6252 {
   6253 return pthread_join ();
   6254   ;
   6255   return 0;
   6256 }
   6257 _ACEOF
   6258 if ac_fn_c_try_link "$LINENO"
   6259 then :
   6260   ax_pthread_ok=yes
   6261 fi
   6262 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6263     conftest$ac_exeext conftest.$ac_ext
   6264         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   6265 printf "%s\n" "$ax_pthread_ok" >&6; }
   6266         if test "x$ax_pthread_ok" = "xno"; then
   6267                 PTHREAD_LIBS=""
   6268                 PTHREAD_CFLAGS=""
   6269         fi
   6270         CC="$ax_pthread_save_CC"
   6271         CFLAGS="$ax_pthread_save_CFLAGS"
   6272         LIBS="$ax_pthread_save_LIBS"
   6273 fi
   6274 
   6275 # We must check for the threads library under a number of different
   6276 # names; the ordering is very important because some systems
   6277 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
   6278 # libraries is broken (non-POSIX).
   6279 
   6280 # Create a list of thread flags to try. Items with a "," contain both
   6281 # C compiler flags (before ",") and linker flags (after ","). Other items
   6282 # starting with a "-" are C compiler flags, and remaining items are
   6283 # library names, except for "none" which indicates that we try without
   6284 # any flags at all, and "pthread-config" which is a program returning
   6285 # the flags for the Pth emulation library.
   6286 
   6287 ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
   6288 
   6289 # The ordering *is* (sometimes) important.  Some notes on the
   6290 # individual items follow:
   6291 
   6292 # pthreads: AIX (must check this before -lpthread)
   6293 # none: in case threads are in libc; should be tried before -Kthread and
   6294 #       other compiler flags to prevent continual compiler warnings
   6295 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
   6296 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
   6297 #           (Note: HP C rejects this with "bad form for `-t' option")
   6298 # -pthreads: Solaris/gcc (Note: HP C also rejects)
   6299 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
   6300 #      doesn't hurt to check since this sometimes defines pthreads and
   6301 #      -D_REENTRANT too), HP C (must be checked before -lpthread, which
   6302 #      is present but should not be used directly; and before -mthreads,
   6303 #      because the compiler interprets this as "-mt" + "-hreads")
   6304 # -mthreads: Mingw32/gcc, Lynx/gcc
   6305 # pthread: Linux, etcetera
   6306 # --thread-safe: KAI C++
   6307 # pthread-config: use pthread-config program (for GNU Pth library)
   6308 
   6309 case $host_os in
   6310 
   6311         freebsd*)
   6312 
   6313         # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
   6314         # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
   6315 
   6316         ax_pthread_flags="-kthread lthread $ax_pthread_flags"
   6317         ;;
   6318 
   6319         hpux*)
   6320 
   6321         # From the cc(1) man page: "[-mt] Sets various -D flags to enable
   6322         # multi-threading and also sets -lpthread."
   6323 
   6324         ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags"
   6325         ;;
   6326 
   6327         openedition*)
   6328 
   6329         # IBM z/OS requires a feature-test macro to be defined in order to
   6330         # enable POSIX threads at all, so give the user a hint if this is
   6331         # not set. (We don't define these ourselves, as they can affect
   6332         # other portions of the system API in unpredictable ways.)
   6333 
   6334         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6335 /* end confdefs.h.  */
   6336 
   6337 #            if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
   6338              AX_PTHREAD_ZOS_MISSING
   6339 #            endif
   6340 
   6341 _ACEOF
   6342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6343   $EGREP_TRADITIONAL "AX_PTHREAD_ZOS_MISSING" >/dev/null 2>&1
   6344 then :
   6345   { 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
   6346 printf "%s\n" "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
   6347 fi
   6348 rm -rf conftest*
   6349 
   6350         ;;
   6351 
   6352         solaris*)
   6353 
   6354         # On Solaris (at least, for some versions), libc contains stubbed
   6355         # (non-functional) versions of the pthreads routines, so link-based
   6356         # tests will erroneously succeed. (N.B.: The stubs are missing
   6357         # pthread_cleanup_push, or rather a function called by this macro,
   6358         # so we could check for that, but who knows whether they'll stub
   6359         # that too in a future libc.)  So we'll check first for the
   6360         # standard Solaris way of linking pthreads (-mt -lpthread).
   6361 
   6362         ax_pthread_flags="-mt,-lpthread pthread $ax_pthread_flags"
   6363         ;;
   6364 esac
   6365 
   6366 # Are we compiling with Clang?
   6367 
   6368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
   6369 printf %s "checking whether $CC is Clang... " >&6; }
   6370 if test ${ax_cv_PTHREAD_CLANG+y}
   6371 then :
   6372   printf %s "(cached) " >&6
   6373 else case e in #(
   6374   e) ax_cv_PTHREAD_CLANG=no
   6375      # Note that Autoconf sets GCC=yes for Clang as well as GCC
   6376      if test "x$GCC" = "xyes"; then
   6377         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6378 /* end confdefs.h.  */
   6379 /* Note: Clang 2.7 lacks __clang_[a-z]+__ */
   6380 #            if defined(__clang__) && defined(__llvm__)
   6381              AX_PTHREAD_CC_IS_CLANG
   6382 #            endif
   6383 
   6384 _ACEOF
   6385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6386   $EGREP_TRADITIONAL "AX_PTHREAD_CC_IS_CLANG" >/dev/null 2>&1
   6387 then :
   6388   ax_cv_PTHREAD_CLANG=yes
   6389 fi
   6390 rm -rf conftest*
   6391 
   6392      fi
   6393      ;;
   6394 esac
   6395 fi
   6396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5
   6397 printf "%s\n" "$ax_cv_PTHREAD_CLANG" >&6; }
   6398 ax_pthread_clang="$ax_cv_PTHREAD_CLANG"
   6399 
   6400 
   6401 # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
   6402 
   6403 # Note that for GCC and Clang -pthread generally implies -lpthread,
   6404 # except when -nostdlib is passed.
   6405 # This is problematic using libtool to build C++ shared libraries with pthread:
   6406 # [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25460
   6407 # [2] https://bugzilla.redhat.com/show_bug.cgi?id=661333
   6408 # [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468555
   6409 # To solve this, first try -pthread together with -lpthread for GCC
   6410 
   6411 if test "x$GCC" = "xyes"
   6412 then :
   6413   ax_pthread_flags="-pthread,-lpthread -pthread -pthreads $ax_pthread_flags"
   6414 fi
   6415 
   6416 # Clang takes -pthread (never supported any other flag), but we'll try with -lpthread first
   6417 
   6418 if test "x$ax_pthread_clang" = "xyes"
   6419 then :
   6420   ax_pthread_flags="-pthread,-lpthread -pthread"
   6421 fi
   6422 
   6423 
   6424 # The presence of a feature test macro requesting re-entrant function
   6425 # definitions is, on some systems, a strong hint that pthreads support is
   6426 # correctly enabled
   6427 
   6428 case $host_os in
   6429         darwin* | hpux* | linux* | osf* | solaris*)
   6430         ax_pthread_check_macro="_REENTRANT"
   6431         ;;
   6432 
   6433         aix*)
   6434         ax_pthread_check_macro="_THREAD_SAFE"
   6435         ;;
   6436 
   6437         *)
   6438         ax_pthread_check_macro="--"
   6439         ;;
   6440 esac
   6441 if test "x$ax_pthread_check_macro" = "x--"
   6442 then :
   6443   ax_pthread_check_cond=0
   6444 else case e in #(
   6445   e) ax_pthread_check_cond="!defined($ax_pthread_check_macro)" ;;
   6446 esac
   6447 fi
   6448 
   6449 
   6450 if test "x$ax_pthread_ok" = "xno"; then
   6451 for ax_pthread_try_flag in $ax_pthread_flags; do
   6452 
   6453         case $ax_pthread_try_flag in
   6454                 none)
   6455                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
   6456 printf %s "checking whether pthreads work without any flags... " >&6; }
   6457                 ;;
   6458 
   6459                 *,*)
   6460                 PTHREAD_CFLAGS=`echo $ax_pthread_try_flag | sed "s/^\(.*\),\(.*\)$/\1/"`
   6461                 PTHREAD_LIBS=`echo $ax_pthread_try_flag | sed "s/^\(.*\),\(.*\)$/\2/"`
   6462                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with \"$PTHREAD_CFLAGS\" and \"$PTHREAD_LIBS\"" >&5
   6463 printf %s "checking whether pthreads work with \"$PTHREAD_CFLAGS\" and \"$PTHREAD_LIBS\"... " >&6; }
   6464                 ;;
   6465 
   6466                 -*)
   6467                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_flag" >&5
   6468 printf %s "checking whether pthreads work with $ax_pthread_try_flag... " >&6; }
   6469                 PTHREAD_CFLAGS="$ax_pthread_try_flag"
   6470                 ;;
   6471 
   6472                 pthread-config)
   6473                 # Extract the first word of "pthread-config", so it can be a program name with args.
   6474 set dummy pthread-config; ac_word=$2
   6475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6476 printf %s "checking for $ac_word... " >&6; }
   6477 if test ${ac_cv_prog_ax_pthread_config+y}
   6478 then :
   6479   printf %s "(cached) " >&6
   6480 else case e in #(
   6481   e) if test -n "$ax_pthread_config"; then
   6482   ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
   6483 else
   6484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6485 for as_dir in $PATH
   6486 do
   6487   IFS=$as_save_IFS
   6488   case $as_dir in #(((
   6489     '') as_dir=./ ;;
   6490     */) ;;
   6491     *) as_dir=$as_dir/ ;;
   6492   esac
   6493     for ac_exec_ext in '' $ac_executable_extensions; do
   6494   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6495     ac_cv_prog_ax_pthread_config="yes"
   6496     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6497     break 2
   6498   fi
   6499 done
   6500   done
   6501 IFS=$as_save_IFS
   6502 
   6503   test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
   6504 fi ;;
   6505 esac
   6506 fi
   6507 ax_pthread_config=$ac_cv_prog_ax_pthread_config
   6508 if test -n "$ax_pthread_config"; then
   6509   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
   6510 printf "%s\n" "$ax_pthread_config" >&6; }
   6511 else
   6512   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6513 printf "%s\n" "no" >&6; }
   6514 fi
   6515 
   6516 
   6517                 if test "x$ax_pthread_config" = "xno"
   6518 then :
   6519   continue
   6520 fi
   6521                 PTHREAD_CFLAGS="`pthread-config --cflags`"
   6522                 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
   6523                 ;;
   6524 
   6525                 *)
   6526                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_flag" >&5
   6527 printf %s "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; }
   6528                 PTHREAD_LIBS="-l$ax_pthread_try_flag"
   6529                 ;;
   6530         esac
   6531 
   6532         ax_pthread_save_CFLAGS="$CFLAGS"
   6533         ax_pthread_save_LIBS="$LIBS"
   6534         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   6535         LIBS="$PTHREAD_LIBS $LIBS"
   6536 
   6537         # Check for various functions.  We must include pthread.h,
   6538         # since some functions may be macros.  (On the Sequent, we
   6539         # need a special flag -Kthread to make this header compile.)
   6540         # We check for pthread_join because it is in -lpthread on IRIX
   6541         # while pthread_create is in libc.  We check for pthread_attr_init
   6542         # due to DEC craziness with -lpthreads.  We check for
   6543         # pthread_cleanup_push because it is one of the few pthread
   6544         # functions on Solaris that doesn't have a non-functional libc stub.
   6545         # We try pthread_create on general principles.
   6546 
   6547         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6548 /* end confdefs.h.  */
   6549 #include <pthread.h>
   6550 #                       if $ax_pthread_check_cond
   6551 #                        error "$ax_pthread_check_macro must be defined"
   6552 #                       endif
   6553                         static void *some_global = NULL;
   6554                         static void routine(void *a)
   6555                           {
   6556                              /* To avoid any unused-parameter or
   6557                                 unused-but-set-parameter warning.  */
   6558                              some_global = a;
   6559                           }
   6560                         static void *start_routine(void *a) { return a; }
   6561 int
   6562 main (void)
   6563 {
   6564 pthread_t th; pthread_attr_t attr;
   6565                         pthread_create(&th, 0, start_routine, 0);
   6566                         pthread_join(th, 0);
   6567                         pthread_attr_init(&attr);
   6568                         pthread_cleanup_push(routine, 0);
   6569                         pthread_cleanup_pop(0) /* ; */
   6570   ;
   6571   return 0;
   6572 }
   6573 _ACEOF
   6574 if ac_fn_c_try_link "$LINENO"
   6575 then :
   6576   ax_pthread_ok=yes
   6577 fi
   6578 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6579     conftest$ac_exeext conftest.$ac_ext
   6580 
   6581         CFLAGS="$ax_pthread_save_CFLAGS"
   6582         LIBS="$ax_pthread_save_LIBS"
   6583 
   6584         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   6585 printf "%s\n" "$ax_pthread_ok" >&6; }
   6586         if test "x$ax_pthread_ok" = "xyes"
   6587 then :
   6588   break
   6589 fi
   6590 
   6591         PTHREAD_LIBS=""
   6592         PTHREAD_CFLAGS=""
   6593 done
   6594 fi
   6595 
   6596 
   6597 # Clang needs special handling, because older versions handle the -pthread
   6598 # option in a rather... idiosyncratic way
   6599 
   6600 if test "x$ax_pthread_clang" = "xyes"; then
   6601 
   6602         # Clang takes -pthread; it has never supported any other flag
   6603 
   6604         # (Note 1: This will need to be revisited if a system that Clang
   6605         # supports has POSIX threads in a separate library.  This tends not
   6606         # to be the way of modern systems, but it's conceivable.)
   6607 
   6608         # (Note 2: On some systems, notably Darwin, -pthread is not needed
   6609         # to get POSIX threads support; the API is always present and
   6610         # active.  We could reasonably leave PTHREAD_CFLAGS empty.  But
   6611         # -pthread does define _REENTRANT, and while the Darwin headers
   6612         # ignore this macro, third-party headers might not.)
   6613 
   6614         # However, older versions of Clang make a point of warning the user
   6615         # that, in an invocation where only linking and no compilation is
   6616         # taking place, the -pthread option has no effect ("argument unused
   6617         # during compilation").  They expect -pthread to be passed in only
   6618         # when source code is being compiled.
   6619         #
   6620         # Problem is, this is at odds with the way Automake and most other
   6621         # C build frameworks function, which is that the same flags used in
   6622         # compilation (CFLAGS) are also used in linking.  Many systems
   6623         # supported by AX_PTHREAD require exactly this for POSIX threads
   6624         # support, and in fact it is often not straightforward to specify a
   6625         # flag that is used only in the compilation phase and not in
   6626         # linking.  Such a scenario is extremely rare in practice.
   6627         #
   6628         # Even though use of the -pthread flag in linking would only print
   6629         # a warning, this can be a nuisance for well-run software projects
   6630         # that build with -Werror.  So if the active version of Clang has
   6631         # this misfeature, we search for an option to squash it.
   6632 
   6633         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread" >&5
   6634 printf %s "checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; }
   6635 if test ${ax_cv_PTHREAD_CLANG_NO_WARN_FLAG+y}
   6636 then :
   6637   printf %s "(cached) " >&6
   6638 else case e in #(
   6639   e) ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown
   6640              # Create an alternate version of $ac_link that compiles and
   6641              # links in two steps (.c -> .o, .o -> exe) instead of one
   6642              # (.c -> exe), because the warning occurs only in the second
   6643              # step
   6644              ax_pthread_save_ac_link="$ac_link"
   6645              ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
   6646              ax_pthread_link_step=`printf "%s\n" "$ac_link" | sed "$ax_pthread_sed"`
   6647              ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
   6648              ax_pthread_save_CFLAGS="$CFLAGS"
   6649              for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
   6650                 if test "x$ax_pthread_try" = "xunknown"
   6651 then :
   6652   break
   6653 fi
   6654                 CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
   6655                 ac_link="$ax_pthread_save_ac_link"
   6656                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6657 /* end confdefs.h.  */
   6658 int main(void){return 0;}
   6659 _ACEOF
   6660 if ac_fn_c_try_link "$LINENO"
   6661 then :
   6662   ac_link="$ax_pthread_2step_ac_link"
   6663                      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6664 /* end confdefs.h.  */
   6665 int main(void){return 0;}
   6666 _ACEOF
   6667 if ac_fn_c_try_link "$LINENO"
   6668 then :
   6669   break
   6670 fi
   6671 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6672     conftest$ac_exeext conftest.$ac_ext
   6673 
   6674 fi
   6675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6676     conftest$ac_exeext conftest.$ac_ext
   6677              done
   6678              ac_link="$ax_pthread_save_ac_link"
   6679              CFLAGS="$ax_pthread_save_CFLAGS"
   6680              if test "x$ax_pthread_try" = "x"
   6681 then :
   6682   ax_pthread_try=no
   6683 fi
   6684              ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try"
   6685              ;;
   6686 esac
   6687 fi
   6688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5
   6689 printf "%s\n" "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&6; }
   6690 
   6691         case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in
   6692                 no | unknown) ;;
   6693                 *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;;
   6694         esac
   6695 
   6696 fi # $ax_pthread_clang = yes
   6697 
   6698 
   6699 
   6700 # Various other checks:
   6701 if test "x$ax_pthread_ok" = "xyes"; then
   6702         ax_pthread_save_CFLAGS="$CFLAGS"
   6703         ax_pthread_save_LIBS="$LIBS"
   6704         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   6705         LIBS="$PTHREAD_LIBS $LIBS"
   6706 
   6707         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
   6708         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
   6709 printf %s "checking for joinable pthread attribute... " >&6; }
   6710 if test ${ax_cv_PTHREAD_JOINABLE_ATTR+y}
   6711 then :
   6712   printf %s "(cached) " >&6
   6713 else case e in #(
   6714   e) ax_cv_PTHREAD_JOINABLE_ATTR=unknown
   6715              for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
   6716                  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6717 /* end confdefs.h.  */
   6718 #include <pthread.h>
   6719 int
   6720 main (void)
   6721 {
   6722 int attr = $ax_pthread_attr; return attr /* ; */
   6723   ;
   6724   return 0;
   6725 }
   6726 _ACEOF
   6727 if ac_fn_c_try_link "$LINENO"
   6728 then :
   6729   ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break
   6730 fi
   6731 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6732     conftest$ac_exeext conftest.$ac_ext
   6733              done
   6734              ;;
   6735 esac
   6736 fi
   6737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
   6738 printf "%s\n" "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
   6739         if test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \
   6740                test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \
   6741                test "x$ax_pthread_joinable_attr_defined" != "xyes"
   6742 then :
   6743 
   6744 printf "%s\n" "#define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR" >>confdefs.h
   6745 
   6746                ax_pthread_joinable_attr_defined=yes
   6747 
   6748 fi
   6749 
   6750         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for pthreads" >&5
   6751 printf %s "checking whether more special flags are required for pthreads... " >&6; }
   6752 if test ${ax_cv_PTHREAD_SPECIAL_FLAGS+y}
   6753 then :
   6754   printf %s "(cached) " >&6
   6755 else case e in #(
   6756   e) ax_cv_PTHREAD_SPECIAL_FLAGS=no
   6757              case $host_os in
   6758              solaris*)
   6759              ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
   6760              ;;
   6761              esac
   6762              ;;
   6763 esac
   6764 fi
   6765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
   6766 printf "%s\n" "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
   6767         if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
   6768                test "x$ax_pthread_special_flags_added" != "xyes"
   6769 then :
   6770   PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
   6771                ax_pthread_special_flags_added=yes
   6772 fi
   6773 
   6774         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
   6775 printf %s "checking for PTHREAD_PRIO_INHERIT... " >&6; }
   6776 if test ${ax_cv_PTHREAD_PRIO_INHERIT+y}
   6777 then :
   6778   printf %s "(cached) " >&6
   6779 else case e in #(
   6780   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6781 /* end confdefs.h.  */
   6782 #include <pthread.h>
   6783 int
   6784 main (void)
   6785 {
   6786 int i = PTHREAD_PRIO_INHERIT;
   6787                                                return i;
   6788   ;
   6789   return 0;
   6790 }
   6791 _ACEOF
   6792 if ac_fn_c_try_link "$LINENO"
   6793 then :
   6794   ax_cv_PTHREAD_PRIO_INHERIT=yes
   6795 else case e in #(
   6796   e) ax_cv_PTHREAD_PRIO_INHERIT=no ;;
   6797 esac
   6798 fi
   6799 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6800     conftest$ac_exeext conftest.$ac_ext
   6801              ;;
   6802 esac
   6803 fi
   6804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
   6805 printf "%s\n" "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
   6806         if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \
   6807                test "x$ax_pthread_prio_inherit_defined" != "xyes"
   6808 then :
   6809 
   6810 printf "%s\n" "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
   6811 
   6812                ax_pthread_prio_inherit_defined=yes
   6813 
   6814 fi
   6815 
   6816         CFLAGS="$ax_pthread_save_CFLAGS"
   6817         LIBS="$ax_pthread_save_LIBS"
   6818 
   6819         # More AIX lossage: compile with *_r variant
   6820         if test "x$GCC" != "xyes"; then
   6821             case $host_os in
   6822                 aix*)
   6823                 case "x/$CC" in #(
   6824   x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) :
   6825     #handle absolute path differently from PATH based program lookup
   6826                      case "x$CC" in #(
   6827   x/*) :
   6828 
   6829 			   if as_fn_executable_p ${CC}_r
   6830 then :
   6831   PTHREAD_CC="${CC}_r"
   6832 fi
   6833 			   if test "x${CXX}" != "x"
   6834 then :
   6835   if as_fn_executable_p ${CXX}_r
   6836 then :
   6837   PTHREAD_CXX="${CXX}_r"
   6838 fi
   6839 fi
   6840 			  ;; #(
   6841   *) :
   6842 
   6843 			   for ac_prog in ${CC}_r
   6844 do
   6845   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6846 set dummy $ac_prog; ac_word=$2
   6847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6848 printf %s "checking for $ac_word... " >&6; }
   6849 if test ${ac_cv_prog_PTHREAD_CC+y}
   6850 then :
   6851   printf %s "(cached) " >&6
   6852 else case e in #(
   6853   e) if test -n "$PTHREAD_CC"; then
   6854   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
   6855 else
   6856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6857 for as_dir in $PATH
   6858 do
   6859   IFS=$as_save_IFS
   6860   case $as_dir in #(((
   6861     '') as_dir=./ ;;
   6862     */) ;;
   6863     *) as_dir=$as_dir/ ;;
   6864   esac
   6865     for ac_exec_ext in '' $ac_executable_extensions; do
   6866   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6867     ac_cv_prog_PTHREAD_CC="$ac_prog"
   6868     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6869     break 2
   6870   fi
   6871 done
   6872   done
   6873 IFS=$as_save_IFS
   6874 
   6875 fi ;;
   6876 esac
   6877 fi
   6878 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
   6879 if test -n "$PTHREAD_CC"; then
   6880   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
   6881 printf "%s\n" "$PTHREAD_CC" >&6; }
   6882 else
   6883   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6884 printf "%s\n" "no" >&6; }
   6885 fi
   6886 
   6887 
   6888   test -n "$PTHREAD_CC" && break
   6889 done
   6890 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   6891 
   6892 			   if test "x${CXX}" != "x"
   6893 then :
   6894   for ac_prog in ${CXX}_r
   6895 do
   6896   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6897 set dummy $ac_prog; ac_word=$2
   6898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6899 printf %s "checking for $ac_word... " >&6; }
   6900 if test ${ac_cv_prog_PTHREAD_CXX+y}
   6901 then :
   6902   printf %s "(cached) " >&6
   6903 else case e in #(
   6904   e) if test -n "$PTHREAD_CXX"; then
   6905   ac_cv_prog_PTHREAD_CXX="$PTHREAD_CXX" # Let the user override the test.
   6906 else
   6907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6908 for as_dir in $PATH
   6909 do
   6910   IFS=$as_save_IFS
   6911   case $as_dir in #(((
   6912     '') as_dir=./ ;;
   6913     */) ;;
   6914     *) as_dir=$as_dir/ ;;
   6915   esac
   6916     for ac_exec_ext in '' $ac_executable_extensions; do
   6917   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6918     ac_cv_prog_PTHREAD_CXX="$ac_prog"
   6919     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6920     break 2
   6921   fi
   6922 done
   6923   done
   6924 IFS=$as_save_IFS
   6925 
   6926 fi ;;
   6927 esac
   6928 fi
   6929 PTHREAD_CXX=$ac_cv_prog_PTHREAD_CXX
   6930 if test -n "$PTHREAD_CXX"; then
   6931   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CXX" >&5
   6932 printf "%s\n" "$PTHREAD_CXX" >&6; }
   6933 else
   6934   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6935 printf "%s\n" "no" >&6; }
   6936 fi
   6937 
   6938 
   6939   test -n "$PTHREAD_CXX" && break
   6940 done
   6941 test -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"
   6942 
   6943 fi
   6944 
   6945                       ;;
   6946 esac
   6947                      ;; #(
   6948   *) :
   6949      ;;
   6950 esac
   6951                 ;;
   6952             esac
   6953         fi
   6954 fi
   6955 
   6956 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   6957 test -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"
   6958 
   6959 
   6960 
   6961 
   6962 
   6963 
   6964 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
   6965 if test "x$ax_pthread_ok" = "xyes"; then
   6966 
   6967     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6968 /* end confdefs.h.  */
   6969 
   6970         #include <pthread.h>
   6971 
   6972 int
   6973 main (void)
   6974 {
   6975 
   6976         pthread_mutex_t mutex;
   6977 
   6978         pthread_mutex_lock(&mutex);
   6979         pthread_mutex_unlock(&mutex)
   6980 
   6981 
   6982   ;
   6983   return 0;
   6984 }
   6985 _ACEOF
   6986 if ac_fn_c_try_link "$LINENO"
   6987 then :
   6988 
   6989 
   6990 printf "%s\n" "#define HAVE_PTHREAD 1" >>confdefs.h
   6991 
   6992         with_threads="yes"
   6993         LIBS="$PTHREAD_LIBS $LIBS"
   6994         PKGCONFIG_LIBS_PRIVATE="$PTHREAD_LIBS $PTHREAD_CFLAGS $PKGCONFIG_LIBS_PRIVATE"
   6995         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   6996         CC="$PTHREAD_CC"
   6997 
   6998 fi
   6999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7000     conftest$ac_exeext conftest.$ac_ext
   7001 
   7002         :
   7003 else
   7004         ax_pthread_ok=no
   7005          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pthread mutexes are not available" >&5
   7006 printf "%s\n" "$as_me: pthread mutexes are not available" >&6;}
   7007 
   7008 fi
   7009 ac_ext=c
   7010 ac_cpp='$CPP $CPPFLAGS'
   7011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7014 
   7015 
   7016 
   7017 else case e in #(
   7018   e) with_threads="no" ;;
   7019 esac
   7020 fi
   7021 
   7022 
   7023 # Check whether --with-safecode was given.
   7024 if test ${with_safecode+y}
   7025 then :
   7026   withval=$with_safecode; if test "x$withval" = "xyes"
   7027 then :
   7028 
   7029 
   7030     : ${SAFECODE_HOME:=/opt/safecode}
   7031     LDFLAGS="$LDFLAGS -L${SAFECODE_HOME}/lib"
   7032     LIBS="$LIBS -lsc_dbg_rt -lpoolalloc_bitmap -lstdc++"
   7033     CFLAGS="$CFLAGS -fmemsafety"
   7034 
   7035 fi
   7036 
   7037 fi
   7038 
   7039 
   7040 
   7041 # Check whether --with-ctgrind was given.
   7042 if test ${with_ctgrind+y}
   7043 then :
   7044   withval=$with_ctgrind; if test "x$withval" = "xyes"
   7045 then :
   7046 
   7047     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ct_poison in -lctgrind" >&5
   7048 printf %s "checking for ct_poison in -lctgrind... " >&6; }
   7049 if test ${ac_cv_lib_ctgrind_ct_poison+y}
   7050 then :
   7051   printf %s "(cached) " >&6
   7052 else case e in #(
   7053   e) ac_check_lib_save_LIBS=$LIBS
   7054 LIBS="-lctgrind  $LIBS"
   7055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7056 /* end confdefs.h.  */
   7057 
   7058 /* Override any GCC internal prototype to avoid an error.
   7059    Use char because int might match the return type of a GCC
   7060    builtin and then its argument prototype would still apply.
   7061    The 'extern "C"' is for builds by C++ compilers;
   7062    although this is not generally supported in C code supporting it here
   7063    has little cost and some practical benefit (sr 110532).  */
   7064 #ifdef __cplusplus
   7065 extern "C"
   7066 #endif
   7067 char ct_poison (void);
   7068 int
   7069 main (void)
   7070 {
   7071 return ct_poison ();
   7072   ;
   7073   return 0;
   7074 }
   7075 _ACEOF
   7076 if ac_fn_c_try_link "$LINENO"
   7077 then :
   7078   ac_cv_lib_ctgrind_ct_poison=yes
   7079 else case e in #(
   7080   e) ac_cv_lib_ctgrind_ct_poison=no ;;
   7081 esac
   7082 fi
   7083 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7084     conftest$ac_exeext conftest.$ac_ext
   7085 LIBS=$ac_check_lib_save_LIBS ;;
   7086 esac
   7087 fi
   7088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ctgrind_ct_poison" >&5
   7089 printf "%s\n" "$ac_cv_lib_ctgrind_ct_poison" >&6; }
   7090 if test "x$ac_cv_lib_ctgrind_ct_poison" = xyes
   7091 then :
   7092   printf "%s\n" "#define HAVE_LIBCTGRIND 1" >>confdefs.h
   7093 
   7094   LIBS="-lctgrind $LIBS"
   7095 
   7096 fi
   7097 
   7098 
   7099 fi
   7100 
   7101 fi
   7102 
   7103 
   7104 # Check whether --enable-retpoline was given.
   7105 if test ${enable_retpoline+y}
   7106 then :
   7107   enableval=$enable_retpoline; if test "x$enableval" = "xyes"
   7108 then :
   7109 
   7110   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mindirect-branch=thunk-inline" >&5
   7111 printf %s "checking whether C compiler accepts -mindirect-branch=thunk-inline... " >&6; }
   7112 if test ${ax_cv_check_cflags___mindirect_branch_thunk_inline+y}
   7113 then :
   7114   printf %s "(cached) " >&6
   7115 else case e in #(
   7116   e)
   7117   ax_check_save_flags=$CFLAGS
   7118   CFLAGS="$CFLAGS  -mindirect-branch=thunk-inline"
   7119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7120 /* end confdefs.h.  */
   7121 #include <time.h>
   7122 int
   7123 main (void)
   7124 {
   7125 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7126 
   7127   ;
   7128   return 0;
   7129 }
   7130 _ACEOF
   7131 if ac_fn_c_try_link "$LINENO"
   7132 then :
   7133   ax_cv_check_cflags___mindirect_branch_thunk_inline=yes
   7134 else case e in #(
   7135   e) ax_cv_check_cflags___mindirect_branch_thunk_inline=no ;;
   7136 esac
   7137 fi
   7138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7139     conftest$ac_exeext conftest.$ac_ext
   7140   CFLAGS=$ax_check_save_flags ;;
   7141 esac
   7142 fi
   7143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mindirect_branch_thunk_inline" >&5
   7144 printf "%s\n" "$ax_cv_check_cflags___mindirect_branch_thunk_inline" >&6; }
   7145 if test "x$ax_cv_check_cflags___mindirect_branch_thunk_inline" = xyes
   7146 then :
   7147   CFLAGS="$CFLAGS -mindirect-branch=thunk-inline"
   7148 else case e in #(
   7149   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mretpoline" >&5
   7150 printf %s "checking whether C compiler accepts -mretpoline... " >&6; }
   7151 if test ${ax_cv_check_cflags___mretpoline+y}
   7152 then :
   7153   printf %s "(cached) " >&6
   7154 else case e in #(
   7155   e)
   7156   ax_check_save_flags=$CFLAGS
   7157   CFLAGS="$CFLAGS  -mretpoline"
   7158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7159 /* end confdefs.h.  */
   7160 #include <time.h>
   7161 int
   7162 main (void)
   7163 {
   7164 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7165 
   7166   ;
   7167   return 0;
   7168 }
   7169 _ACEOF
   7170 if ac_fn_c_try_link "$LINENO"
   7171 then :
   7172   ax_cv_check_cflags___mretpoline=yes
   7173 else case e in #(
   7174   e) ax_cv_check_cflags___mretpoline=no ;;
   7175 esac
   7176 fi
   7177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7178     conftest$ac_exeext conftest.$ac_ext
   7179   CFLAGS=$ax_check_save_flags ;;
   7180 esac
   7181 fi
   7182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mretpoline" >&5
   7183 printf "%s\n" "$ax_cv_check_cflags___mretpoline" >&6; }
   7184 if test "x$ax_cv_check_cflags___mretpoline" = xyes
   7185 then :
   7186   CFLAGS="$CFLAGS -mretpoline"
   7187 else case e in #(
   7188   e) : ;;
   7189 esac
   7190 fi
   7191 
   7192    ;;
   7193 esac
   7194 fi
   7195 
   7196   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mindirect-branch-register" >&5
   7197 printf %s "checking whether C compiler accepts -mindirect-branch-register... " >&6; }
   7198 if test ${ax_cv_check_cflags___mindirect_branch_register+y}
   7199 then :
   7200   printf %s "(cached) " >&6
   7201 else case e in #(
   7202   e)
   7203   ax_check_save_flags=$CFLAGS
   7204   CFLAGS="$CFLAGS  -mindirect-branch-register"
   7205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7206 /* end confdefs.h.  */
   7207 #include <time.h>
   7208 int
   7209 main (void)
   7210 {
   7211 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7212 
   7213   ;
   7214   return 0;
   7215 }
   7216 _ACEOF
   7217 if ac_fn_c_try_link "$LINENO"
   7218 then :
   7219   ax_cv_check_cflags___mindirect_branch_register=yes
   7220 else case e in #(
   7221   e) ax_cv_check_cflags___mindirect_branch_register=no ;;
   7222 esac
   7223 fi
   7224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7225     conftest$ac_exeext conftest.$ac_ext
   7226   CFLAGS=$ax_check_save_flags ;;
   7227 esac
   7228 fi
   7229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mindirect_branch_register" >&5
   7230 printf "%s\n" "$ax_cv_check_cflags___mindirect_branch_register" >&6; }
   7231 if test "x$ax_cv_check_cflags___mindirect_branch_register" = xyes
   7232 then :
   7233   :
   7234 else case e in #(
   7235   e) : ;;
   7236 esac
   7237 fi
   7238 
   7239 
   7240 fi
   7241 
   7242 fi
   7243 
   7244 
   7245 ENABLE_CWFLAGS=no
   7246 # Check whether --enable-debug was given.
   7247 if test ${enable_debug+y}
   7248 then :
   7249   enableval=$enable_debug;
   7250   if test "x$enableval" = "xyes"
   7251 then :
   7252 
   7253     if test "x$LX_CFLAGS" = "xNONE"
   7254 then :
   7255 
   7256       nxflags=""
   7257       for flag in `echo $CFLAGS`; do
   7258         case $flag in #(
   7259   -O*) :
   7260       ;; #(
   7261   -g*) :
   7262       ;; #(
   7263   *) :
   7264     as_fn_append nxflags " $flag" ;; #(
   7265   *) :
   7266      ;;
   7267 esac
   7268       done
   7269       CFLAGS="$nxflags -O -g3"
   7270 
   7271 fi
   7272     ENABLE_CWFLAGS=yes
   7273     CPPFLAGS="$CPPFLAGS -DDEBUG=1 -U_FORTIFY_SOURCE"
   7274 
   7275 fi
   7276 
   7277 fi
   7278 
   7279 
   7280 # Check whether --enable-opt was given.
   7281 if test ${enable_opt+y}
   7282 then :
   7283   enableval=$enable_opt;
   7284   if test "x$enableval" = "xyes"
   7285 then :
   7286 
   7287     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -ftree-vectorize" >&5
   7288 printf %s "checking whether C compiler accepts -ftree-vectorize... " >&6; }
   7289 if test ${ax_cv_check_cflags___ftree_vectorize+y}
   7290 then :
   7291   printf %s "(cached) " >&6
   7292 else case e in #(
   7293   e)
   7294   ax_check_save_flags=$CFLAGS
   7295   CFLAGS="$CFLAGS  -ftree-vectorize"
   7296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7297 /* end confdefs.h.  */
   7298 #include <time.h>
   7299 int
   7300 main (void)
   7301 {
   7302 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7303 
   7304   ;
   7305   return 0;
   7306 }
   7307 _ACEOF
   7308 if ac_fn_c_try_link "$LINENO"
   7309 then :
   7310   ax_cv_check_cflags___ftree_vectorize=yes
   7311 else case e in #(
   7312   e) ax_cv_check_cflags___ftree_vectorize=no ;;
   7313 esac
   7314 fi
   7315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7316     conftest$ac_exeext conftest.$ac_ext
   7317   CFLAGS=$ax_check_save_flags ;;
   7318 esac
   7319 fi
   7320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___ftree_vectorize" >&5
   7321 printf "%s\n" "$ax_cv_check_cflags___ftree_vectorize" >&6; }
   7322 if test "x$ax_cv_check_cflags___ftree_vectorize" = xyes
   7323 then :
   7324   CFLAGS="$CFLAGS -ftree-vectorize"
   7325 else case e in #(
   7326   e) : ;;
   7327 esac
   7328 fi
   7329 
   7330     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -ftree-slp-vectorize" >&5
   7331 printf %s "checking whether C compiler accepts -ftree-slp-vectorize... " >&6; }
   7332 if test ${ax_cv_check_cflags___ftree_slp_vectorize+y}
   7333 then :
   7334   printf %s "(cached) " >&6
   7335 else case e in #(
   7336   e)
   7337   ax_check_save_flags=$CFLAGS
   7338   CFLAGS="$CFLAGS  -ftree-slp-vectorize"
   7339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7340 /* end confdefs.h.  */
   7341 #include <time.h>
   7342 int
   7343 main (void)
   7344 {
   7345 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7346 
   7347   ;
   7348   return 0;
   7349 }
   7350 _ACEOF
   7351 if ac_fn_c_try_link "$LINENO"
   7352 then :
   7353   ax_cv_check_cflags___ftree_slp_vectorize=yes
   7354 else case e in #(
   7355   e) ax_cv_check_cflags___ftree_slp_vectorize=no ;;
   7356 esac
   7357 fi
   7358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7359     conftest$ac_exeext conftest.$ac_ext
   7360   CFLAGS=$ax_check_save_flags ;;
   7361 esac
   7362 fi
   7363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___ftree_slp_vectorize" >&5
   7364 printf "%s\n" "$ax_cv_check_cflags___ftree_slp_vectorize" >&6; }
   7365 if test "x$ax_cv_check_cflags___ftree_slp_vectorize" = xyes
   7366 then :
   7367   CFLAGS="$CFLAGS -ftree-slp-vectorize"
   7368 else case e in #(
   7369   e) : ;;
   7370 esac
   7371 fi
   7372 
   7373     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fomit-frame-pointer" >&5
   7374 printf %s "checking whether C compiler accepts -fomit-frame-pointer... " >&6; }
   7375 if test ${ax_cv_check_cflags___fomit_frame_pointer+y}
   7376 then :
   7377   printf %s "(cached) " >&6
   7378 else case e in #(
   7379   e)
   7380   ax_check_save_flags=$CFLAGS
   7381   CFLAGS="$CFLAGS  -fomit-frame-pointer"
   7382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7383 /* end confdefs.h.  */
   7384 #include <time.h>
   7385 int
   7386 main (void)
   7387 {
   7388 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7389 
   7390   ;
   7391   return 0;
   7392 }
   7393 _ACEOF
   7394 if ac_fn_c_try_link "$LINENO"
   7395 then :
   7396   ax_cv_check_cflags___fomit_frame_pointer=yes
   7397 else case e in #(
   7398   e) ax_cv_check_cflags___fomit_frame_pointer=no ;;
   7399 esac
   7400 fi
   7401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7402     conftest$ac_exeext conftest.$ac_ext
   7403   CFLAGS=$ax_check_save_flags ;;
   7404 esac
   7405 fi
   7406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fomit_frame_pointer" >&5
   7407 printf "%s\n" "$ax_cv_check_cflags___fomit_frame_pointer" >&6; }
   7408 if test "x$ax_cv_check_cflags___fomit_frame_pointer" = xyes
   7409 then :
   7410   CFLAGS="$CFLAGS -fomit-frame-pointer"
   7411 else case e in #(
   7412   e) : ;;
   7413 esac
   7414 fi
   7415 
   7416     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -march=native" >&5
   7417 printf %s "checking whether C compiler accepts -march=native... " >&6; }
   7418 if test ${ax_cv_check_cflags___march_native+y}
   7419 then :
   7420   printf %s "(cached) " >&6
   7421 else case e in #(
   7422   e)
   7423   ax_check_save_flags=$CFLAGS
   7424   CFLAGS="$CFLAGS  -march=native"
   7425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7426 /* end confdefs.h.  */
   7427 #include <time.h>
   7428 int
   7429 main (void)
   7430 {
   7431 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7432 
   7433   ;
   7434   return 0;
   7435 }
   7436 _ACEOF
   7437 if ac_fn_c_try_link "$LINENO"
   7438 then :
   7439   ax_cv_check_cflags___march_native=yes
   7440 else case e in #(
   7441   e) ax_cv_check_cflags___march_native=no ;;
   7442 esac
   7443 fi
   7444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7445     conftest$ac_exeext conftest.$ac_ext
   7446   CFLAGS=$ax_check_save_flags ;;
   7447 esac
   7448 fi
   7449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___march_native" >&5
   7450 printf "%s\n" "$ax_cv_check_cflags___march_native" >&6; }
   7451 if test "x$ax_cv_check_cflags___march_native" = xyes
   7452 then :
   7453   CFLAGS="$CFLAGS -march=native"
   7454 else case e in #(
   7455   e) : ;;
   7456 esac
   7457 fi
   7458 
   7459     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mtune=native" >&5
   7460 printf %s "checking whether C compiler accepts -mtune=native... " >&6; }
   7461 if test ${ax_cv_check_cflags___mtune_native+y}
   7462 then :
   7463   printf %s "(cached) " >&6
   7464 else case e in #(
   7465   e)
   7466   ax_check_save_flags=$CFLAGS
   7467   CFLAGS="$CFLAGS  -mtune=native"
   7468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7469 /* end confdefs.h.  */
   7470 #include <time.h>
   7471 int
   7472 main (void)
   7473 {
   7474 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7475 
   7476   ;
   7477   return 0;
   7478 }
   7479 _ACEOF
   7480 if ac_fn_c_try_link "$LINENO"
   7481 then :
   7482   ax_cv_check_cflags___mtune_native=yes
   7483 else case e in #(
   7484   e) ax_cv_check_cflags___mtune_native=no ;;
   7485 esac
   7486 fi
   7487 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7488     conftest$ac_exeext conftest.$ac_ext
   7489   CFLAGS=$ax_check_save_flags ;;
   7490 esac
   7491 fi
   7492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mtune_native" >&5
   7493 printf "%s\n" "$ax_cv_check_cflags___mtune_native" >&6; }
   7494 if test "x$ax_cv_check_cflags___mtune_native" = xyes
   7495 then :
   7496   CFLAGS="$CFLAGS -mtune=native"
   7497 else case e in #(
   7498   e) : ;;
   7499 esac
   7500 fi
   7501 
   7502 
   7503 fi
   7504 
   7505 fi
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 		# Check whether --enable-valgrind was given.
   7516 if test ${enable_valgrind+y}
   7517 then :
   7518   enableval=$enable_valgrind; enable_valgrind=$enableval
   7519 else case e in #(
   7520   e) enable_valgrind= ;;
   7521 esac
   7522 fi
   7523 
   7524 
   7525 	if test "$enable_valgrind" != "no"
   7526 then :
   7527 
   7528 		# Check for Valgrind.
   7529 		# Extract the first word of "valgrind", so it can be a program name with args.
   7530 set dummy valgrind; ac_word=$2
   7531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7532 printf %s "checking for $ac_word... " >&6; }
   7533 if test ${ac_cv_prog_VALGRIND+y}
   7534 then :
   7535   printf %s "(cached) " >&6
   7536 else case e in #(
   7537   e) if test -n "$VALGRIND"; then
   7538   ac_cv_prog_VALGRIND="$VALGRIND" # Let the user override the test.
   7539 else
   7540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7541 for as_dir in $PATH
   7542 do
   7543   IFS=$as_save_IFS
   7544   case $as_dir in #(((
   7545     '') as_dir=./ ;;
   7546     */) ;;
   7547     *) as_dir=$as_dir/ ;;
   7548   esac
   7549     for ac_exec_ext in '' $ac_executable_extensions; do
   7550   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7551     ac_cv_prog_VALGRIND="valgrind"
   7552     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7553     break 2
   7554   fi
   7555 done
   7556   done
   7557 IFS=$as_save_IFS
   7558 
   7559 fi ;;
   7560 esac
   7561 fi
   7562 VALGRIND=$ac_cv_prog_VALGRIND
   7563 if test -n "$VALGRIND"; then
   7564   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5
   7565 printf "%s\n" "$VALGRIND" >&6; }
   7566 else
   7567   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7568 printf "%s\n" "no" >&6; }
   7569 fi
   7570 
   7571 
   7572 		if test "$VALGRIND" = ""
   7573 then :
   7574 
   7575 			if test "$enable_valgrind" = "yes"
   7576 then :
   7577 
   7578 				as_fn_error $? "Could not find valgrind; either install it or reconfigure with --disable-valgrind" "$LINENO" 5
   7579 
   7580 else case e in #(
   7581   e)
   7582 				enable_valgrind=no
   7583 			 ;;
   7584 esac
   7585 fi
   7586 
   7587 else case e in #(
   7588   e)
   7589 			enable_valgrind=yes
   7590 		 ;;
   7591 esac
   7592 fi
   7593 
   7594 fi
   7595 
   7596 	 if test "$enable_valgrind" = "yes"; then
   7597   VALGRIND_ENABLED_TRUE=
   7598   VALGRIND_ENABLED_FALSE='#'
   7599 else
   7600   VALGRIND_ENABLED_TRUE='#'
   7601   VALGRIND_ENABLED_FALSE=
   7602 fi
   7603 
   7604 	VALGRIND_ENABLED=$enable_valgrind
   7605 
   7606 
   7607 	# Check for Valgrind tools we care about.
   7608 	valgrind_enabled_tools=
   7609 
   7610 		# Check whether --enable-valgrind-memcheck was given.
   7611 if test ${enable_valgrind_memcheck+y}
   7612 then :
   7613   enableval=$enable_valgrind_memcheck; enable_valgrind_memcheck=$enableval
   7614 else case e in #(
   7615   e) enable_valgrind_memcheck= ;;
   7616 esac
   7617 fi
   7618 
   7619 		if test "$enable_valgrind" = "no"
   7620 then :
   7621 
   7622 			enable_valgrind_memcheck=no
   7623 elif test "$enable_valgrind_memcheck" != "no"
   7624 then :
   7625 
   7626 			{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool memcheck" >&5
   7627 printf %s "checking for Valgrind tool memcheck... " >&6; }
   7628 if test ${ax_cv_valgrind_tool_memcheck+y}
   7629 then :
   7630   printf %s "(cached) " >&6
   7631 else case e in #(
   7632   e)
   7633 				ax_cv_valgrind_tool_memcheck=no
   7634 
   7635 				if `$VALGRIND --tool=memcheck --help >/dev/null 2>&1`
   7636 then :
   7637 
   7638 					ax_cv_valgrind_tool_memcheck=yes
   7639 
   7640 fi
   7641 			 ;;
   7642 esac
   7643 fi
   7644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_memcheck" >&5
   7645 printf "%s\n" "$ax_cv_valgrind_tool_memcheck" >&6; }
   7646 			if test "$ax_cv_valgrind_tool_memcheck" = "no"
   7647 then :
   7648 
   7649 				if test "$enable_valgrind_memcheck" = "yes"
   7650 then :
   7651 
   7652 					as_fn_error $? "Valgrind does not support memcheck; reconfigure with --disable-valgrind-memcheck" "$LINENO" 5
   7653 
   7654 else case e in #(
   7655   e)
   7656 					enable_valgrind_memcheck=no
   7657 				 ;;
   7658 esac
   7659 fi
   7660 
   7661 else case e in #(
   7662   e)
   7663 				enable_valgrind_memcheck=yes
   7664 			 ;;
   7665 esac
   7666 fi
   7667 
   7668 fi
   7669 		if test "$enable_valgrind_memcheck" = "yes"
   7670 then :
   7671 
   7672 			valgrind_enabled_tools="$valgrind_enabled_tools memcheck"
   7673 
   7674 fi
   7675 		ENABLE_VALGRIND_memcheck=$enable_valgrind_memcheck
   7676 
   7677 
   7678 		# Check whether --enable-valgrind-helgrind was given.
   7679 if test ${enable_valgrind_helgrind+y}
   7680 then :
   7681   enableval=$enable_valgrind_helgrind; enable_valgrind_helgrind=$enableval
   7682 else case e in #(
   7683   e) enable_valgrind_helgrind= ;;
   7684 esac
   7685 fi
   7686 
   7687 		if test "$enable_valgrind" = "no"
   7688 then :
   7689 
   7690 			enable_valgrind_helgrind=no
   7691 elif test "$enable_valgrind_helgrind" != "no"
   7692 then :
   7693 
   7694 			{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool helgrind" >&5
   7695 printf %s "checking for Valgrind tool helgrind... " >&6; }
   7696 if test ${ax_cv_valgrind_tool_helgrind+y}
   7697 then :
   7698   printf %s "(cached) " >&6
   7699 else case e in #(
   7700   e)
   7701 				ax_cv_valgrind_tool_helgrind=no
   7702 
   7703 				if `$VALGRIND --tool=helgrind --help >/dev/null 2>&1`
   7704 then :
   7705 
   7706 					ax_cv_valgrind_tool_helgrind=yes
   7707 
   7708 fi
   7709 			 ;;
   7710 esac
   7711 fi
   7712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_helgrind" >&5
   7713 printf "%s\n" "$ax_cv_valgrind_tool_helgrind" >&6; }
   7714 			if test "$ax_cv_valgrind_tool_helgrind" = "no"
   7715 then :
   7716 
   7717 				if test "$enable_valgrind_helgrind" = "yes"
   7718 then :
   7719 
   7720 					as_fn_error $? "Valgrind does not support helgrind; reconfigure with --disable-valgrind-helgrind" "$LINENO" 5
   7721 
   7722 else case e in #(
   7723   e)
   7724 					enable_valgrind_helgrind=no
   7725 				 ;;
   7726 esac
   7727 fi
   7728 
   7729 else case e in #(
   7730   e)
   7731 				enable_valgrind_helgrind=yes
   7732 			 ;;
   7733 esac
   7734 fi
   7735 
   7736 fi
   7737 		if test "$enable_valgrind_helgrind" = "yes"
   7738 then :
   7739 
   7740 			valgrind_enabled_tools="$valgrind_enabled_tools helgrind"
   7741 
   7742 fi
   7743 		ENABLE_VALGRIND_helgrind=$enable_valgrind_helgrind
   7744 
   7745 
   7746 		# Check whether --enable-valgrind-drd was given.
   7747 if test ${enable_valgrind_drd+y}
   7748 then :
   7749   enableval=$enable_valgrind_drd; enable_valgrind_drd=$enableval
   7750 else case e in #(
   7751   e) enable_valgrind_drd= ;;
   7752 esac
   7753 fi
   7754 
   7755 		if test "$enable_valgrind" = "no"
   7756 then :
   7757 
   7758 			enable_valgrind_drd=no
   7759 elif test "$enable_valgrind_drd" != "no"
   7760 then :
   7761 
   7762 			{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool drd" >&5
   7763 printf %s "checking for Valgrind tool drd... " >&6; }
   7764 if test ${ax_cv_valgrind_tool_drd+y}
   7765 then :
   7766   printf %s "(cached) " >&6
   7767 else case e in #(
   7768   e)
   7769 				ax_cv_valgrind_tool_drd=no
   7770 
   7771 				if `$VALGRIND --tool=drd --help >/dev/null 2>&1`
   7772 then :
   7773 
   7774 					ax_cv_valgrind_tool_drd=yes
   7775 
   7776 fi
   7777 			 ;;
   7778 esac
   7779 fi
   7780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_drd" >&5
   7781 printf "%s\n" "$ax_cv_valgrind_tool_drd" >&6; }
   7782 			if test "$ax_cv_valgrind_tool_drd" = "no"
   7783 then :
   7784 
   7785 				if test "$enable_valgrind_drd" = "yes"
   7786 then :
   7787 
   7788 					as_fn_error $? "Valgrind does not support drd; reconfigure with --disable-valgrind-drd" "$LINENO" 5
   7789 
   7790 else case e in #(
   7791   e)
   7792 					enable_valgrind_drd=no
   7793 				 ;;
   7794 esac
   7795 fi
   7796 
   7797 else case e in #(
   7798   e)
   7799 				enable_valgrind_drd=yes
   7800 			 ;;
   7801 esac
   7802 fi
   7803 
   7804 fi
   7805 		if test "$enable_valgrind_drd" = "yes"
   7806 then :
   7807 
   7808 			valgrind_enabled_tools="$valgrind_enabled_tools drd"
   7809 
   7810 fi
   7811 		ENABLE_VALGRIND_drd=$enable_valgrind_drd
   7812 
   7813 
   7814 		# Check whether --enable-valgrind-sgcheck was given.
   7815 if test ${enable_valgrind_sgcheck+y}
   7816 then :
   7817   enableval=$enable_valgrind_sgcheck; enable_valgrind_sgcheck=$enableval
   7818 else case e in #(
   7819   e) enable_valgrind_sgcheck= ;;
   7820 esac
   7821 fi
   7822 
   7823 		if test "$enable_valgrind" = "no"
   7824 then :
   7825 
   7826 			enable_valgrind_sgcheck=no
   7827 elif test "$enable_valgrind_sgcheck" != "no"
   7828 then :
   7829 
   7830 			{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool sgcheck" >&5
   7831 printf %s "checking for Valgrind tool sgcheck... " >&6; }
   7832 if test ${ax_cv_valgrind_tool_sgcheck+y}
   7833 then :
   7834   printf %s "(cached) " >&6
   7835 else case e in #(
   7836   e)
   7837 				ax_cv_valgrind_tool_sgcheck=no
   7838 
   7839 				if `$VALGRIND --tool=exp-sgcheck --help >/dev/null 2>&1`
   7840 then :
   7841 
   7842 					ax_cv_valgrind_tool_sgcheck=yes
   7843 
   7844 fi
   7845 			 ;;
   7846 esac
   7847 fi
   7848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_sgcheck" >&5
   7849 printf "%s\n" "$ax_cv_valgrind_tool_sgcheck" >&6; }
   7850 			if test "$ax_cv_valgrind_tool_sgcheck" = "no"
   7851 then :
   7852 
   7853 				if test "$enable_valgrind_sgcheck" = "yes"
   7854 then :
   7855 
   7856 					as_fn_error $? "Valgrind does not support sgcheck; reconfigure with --disable-valgrind-sgcheck" "$LINENO" 5
   7857 
   7858 else case e in #(
   7859   e)
   7860 					enable_valgrind_sgcheck=no
   7861 				 ;;
   7862 esac
   7863 fi
   7864 
   7865 else case e in #(
   7866   e)
   7867 				enable_valgrind_sgcheck=yes
   7868 			 ;;
   7869 esac
   7870 fi
   7871 
   7872 fi
   7873 		if test "$enable_valgrind_sgcheck" = "yes"
   7874 then :
   7875 
   7876 			valgrind_enabled_tools="$valgrind_enabled_tools sgcheck"
   7877 
   7878 fi
   7879 		ENABLE_VALGRIND_sgcheck=$enable_valgrind_sgcheck
   7880 
   7881 
   7882 	valgrind_tools="memcheck helgrind drd sgcheck"
   7883 
   7884 	valgrind_enabled_tools=$valgrind_enabled_tools
   7885 
   7886 
   7887 VALGRIND_CHECK_RULES='
   7888 # Valgrind check
   7889 #
   7890 # Optional:
   7891 #  - VALGRIND_SUPPRESSIONS_FILES: Space-separated list of Valgrind suppressions
   7892 #    files to load. (Default: empty)
   7893 #  - VALGRIND_FLAGS: General flags to pass to all Valgrind tools.
   7894 #    (Default: --num-callers=30)
   7895 #  - VALGRIND_$toolname_FLAGS: Flags to pass to Valgrind $toolname (one of:
   7896 #    memcheck, helgrind, drd, sgcheck). (Default: various)
   7897 
   7898 # Optional variables
   7899 VALGRIND_SUPPRESSIONS ?= $(addprefix --suppressions=,$(VALGRIND_SUPPRESSIONS_FILES))
   7900 VALGRIND_FLAGS ?= --num-callers=30
   7901 VALGRIND_memcheck_FLAGS ?= --leak-check=full --show-reachable=no
   7902 VALGRIND_helgrind_FLAGS ?= --history-level=approx
   7903 VALGRIND_drd_FLAGS ?=
   7904 VALGRIND_sgcheck_FLAGS ?=
   7905 
   7906 # Internal use
   7907 valgrind_log_files = $(addprefix test-suite-,$(addsuffix .log,$(valgrind_tools)))
   7908 
   7909 valgrind_memcheck_flags = --tool=memcheck $(VALGRIND_memcheck_FLAGS)
   7910 valgrind_helgrind_flags = --tool=helgrind $(VALGRIND_helgrind_FLAGS)
   7911 valgrind_drd_flags = --tool=drd $(VALGRIND_drd_FLAGS)
   7912 valgrind_sgcheck_flags = --tool=exp-sgcheck $(VALGRIND_sgcheck_FLAGS)
   7913 
   7914 valgrind_quiet = $(valgrind_quiet_$(V))
   7915 valgrind_quiet_ = $(valgrind_quiet_$(AM_DEFAULT_VERBOSITY))
   7916 valgrind_quiet_0 = --quiet
   7917 valgrind_v_use   = $(valgrind_v_use_$(V))
   7918 valgrind_v_use_  = $(valgrind_v_use_$(AM_DEFAULT_VERBOSITY))
   7919 valgrind_v_use_0 = @echo "  USE   " $(patsubst check-valgrind-%-local,%,$''@):;
   7920 
   7921 # Support running with and without libtool.
   7922 ifneq ($(LIBTOOL),)
   7923 valgrind_lt = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=execute
   7924 else
   7925 valgrind_lt =
   7926 endif
   7927 
   7928 # Use recursive makes in order to ignore errors during check
   7929 check-valgrind-local:
   7930 ifeq ($(VALGRIND_ENABLED),yes)
   7931 	$(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) -k \
   7932 		$(foreach tool, $(valgrind_enabled_tools), check-valgrind-$(tool))
   7933 else
   7934 	@echo "Need to reconfigure with --enable-valgrind"
   7935 endif
   7936 
   7937 # Valgrind running
   7938 VALGRIND_TESTS_ENVIRONMENT = \
   7939 	$(TESTS_ENVIRONMENT) \
   7940 	env VALGRIND=$(VALGRIND) \
   7941 	G_SLICE=always-malloc,debug-blocks \
   7942 	G_DEBUG=fatal-warnings,fatal-criticals,gc-friendly
   7943 
   7944 VALGRIND_LOG_COMPILER = \
   7945 	$(valgrind_lt) \
   7946 	$(VALGRIND) $(VALGRIND_SUPPRESSIONS) --error-exitcode=1 $(VALGRIND_FLAGS)
   7947 
   7948 define valgrind_tool_rule
   7949 check-valgrind-$(1)-local:
   7950 ifeq ($$(VALGRIND_ENABLED)-$$(ENABLE_VALGRIND_$(1)),yes-yes)
   7951 ifneq ($$(TESTS),)
   7952 	$$(valgrind_v_use)$$(MAKE) check-TESTS \
   7953 		TESTS_ENVIRONMENT="$$(VALGRIND_TESTS_ENVIRONMENT)" \
   7954 		LOG_COMPILER="$$(VALGRIND_LOG_COMPILER)" \
   7955 		LOG_FLAGS="$$(valgrind_$(1)_flags)" \
   7956 		TEST_SUITE_LOG=test-suite-$(1).log
   7957 endif
   7958 else ifeq ($$(VALGRIND_ENABLED),yes)
   7959 	@echo "Need to reconfigure with --enable-valgrind-$(1)"
   7960 else
   7961 	@echo "Need to reconfigure with --enable-valgrind"
   7962 endif
   7963 endef
   7964 
   7965 $(foreach tool,$(valgrind_tools),$(eval $(call valgrind_tool_rule,$(tool))))
   7966 
   7967 A''M_DISTCHECK_CONFIGURE_FLAGS ?=
   7968 A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-valgrind
   7969 
   7970 MOSTLYCLEANFILES ?=
   7971 MOSTLYCLEANFILES += $(valgrind_log_files)
   7972 
   7973 .PHONY: check-valgrind $(addprefix check-valgrind-,$(valgrind_tools))
   7974 '
   7975 
   7976 
   7977 
   7978 
   7979 
   7980 
   7981 
   7982   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for variable-length arrays" >&5
   7983 printf %s "checking for variable-length arrays... " >&6; }
   7984 if test ${ac_cv_c_vararrays+y}
   7985 then :
   7986   printf %s "(cached) " >&6
   7987 else case e in #(
   7988   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7989 /* end confdefs.h.  */
   7990 	#ifndef __STDC_NO_VLA__
   7991 	#error __STDC_NO_VLA__ not defined
   7992 	#endif
   7993 
   7994 _ACEOF
   7995 if ac_fn_c_try_compile "$LINENO"
   7996 then :
   7997   ac_cv_c_vararrays='no: __STDC_NO_VLA__ is defined'
   7998 else case e in #(
   7999   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8000 /* end confdefs.h.  */
   8001 /* Test for VLA support.  This test is partly inspired
   8002 		  from examples in the C standard.  Use at least two VLA
   8003 		  functions to detect the GCC 3.4.3 bug described in:
   8004 		  https://lists.gnu.org/archive/html/bug-gnulib/2014-08/msg00014.html
   8005 		  */
   8006 	       #ifdef __STDC_NO_VLA__
   8007 		syntax error;
   8008 	       #else
   8009 		 extern int n;
   8010 		 int B[100];
   8011 		 int fvla (int m, int C[m][m]);
   8012 
   8013 		 int
   8014 		 simple (int count, int all[static count])
   8015 		 {
   8016 		   return all[count - 1];
   8017 		 }
   8018 
   8019 		 int
   8020 		 fvla (int m, int C[m][m])
   8021 		 {
   8022 		   typedef int VLA[m][m];
   8023 		   VLA x;
   8024 		   int D[m];
   8025 		   static int (*q)[m] = &B;
   8026 		   int (*s)[n] = q;
   8027 		   return C && &x[0][0] == &D[0] && &D[0] == s[0];
   8028 		 }
   8029 	       #endif
   8030 
   8031 int
   8032 main (void)
   8033 {
   8034 
   8035   ;
   8036   return 0;
   8037 }
   8038 _ACEOF
   8039 if ac_fn_c_try_compile "$LINENO"
   8040 then :
   8041   ac_cv_c_vararrays=yes
   8042 else case e in #(
   8043   e) ac_cv_c_vararrays=no ;;
   8044 esac
   8045 fi
   8046 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8047 esac
   8048 fi
   8049 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8050 esac
   8051 fi
   8052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_vararrays" >&5
   8053 printf "%s\n" "$ac_cv_c_vararrays" >&6; }
   8054   if test "$ac_cv_c_vararrays" = yes; then
   8055 
   8056 printf "%s\n" "#define HAVE_C_VARARRAYS 1" >>confdefs.h
   8057 
   8058   elif test "$ac_cv_c_vararrays" = no; then
   8059 
   8060 printf "%s\n" "#define __STDC_NO_VLA__ 1" >>confdefs.h
   8061 
   8062   fi
   8063 
   8064 
   8065 
   8066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __wasi__ defined" >&5
   8067 printf %s "checking for __wasi__ defined... " >&6; }
   8068 if test ${ac_cv_defined___wasi__+y}
   8069 then :
   8070   printf %s "(cached) " >&6
   8071 else case e in #(
   8072   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8073 /* end confdefs.h.  */
   8074 
   8075 int
   8076 main (void)
   8077 {
   8078 
   8079   #ifdef __wasi__
   8080   int ok;
   8081   (void)ok;
   8082   #else
   8083   choke me
   8084   #endif
   8085 
   8086   ;
   8087   return 0;
   8088 }
   8089 _ACEOF
   8090 if ac_fn_c_try_compile "$LINENO"
   8091 then :
   8092   ac_cv_defined___wasi__=yes
   8093 else case e in #(
   8094   e) ac_cv_defined___wasi__=no ;;
   8095 esac
   8096 fi
   8097 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8098 esac
   8099 fi
   8100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined___wasi__" >&5
   8101 printf "%s\n" "$ac_cv_defined___wasi__" >&6; }
   8102 if test $ac_cv_defined___wasi__ != "no"
   8103 then :
   8104   WASI="yes"
   8105 fi
   8106 
   8107 case $host_os in #(
   8108   linux-gnu) :
   8109 
   8110     ac_save_cflags=$CFLAGS
   8111     ac_cwerror_flag=yes
   8112     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror" >&5
   8113 printf %s "checking whether C compiler accepts -Werror... " >&6; }
   8114 if test ${ax_cv_check_cflags___Werror+y}
   8115 then :
   8116   printf %s "(cached) " >&6
   8117 else case e in #(
   8118   e)
   8119   ax_check_save_flags=$CFLAGS
   8120   CFLAGS="$CFLAGS  -Werror"
   8121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8122 /* end confdefs.h.  */
   8123 #include <time.h>
   8124 int
   8125 main (void)
   8126 {
   8127 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8128 
   8129   ;
   8130   return 0;
   8131 }
   8132 _ACEOF
   8133 if ac_fn_c_try_link "$LINENO"
   8134 then :
   8135   ax_cv_check_cflags___Werror=yes
   8136 else case e in #(
   8137   e) ax_cv_check_cflags___Werror=no ;;
   8138 esac
   8139 fi
   8140 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8141     conftest$ac_exeext conftest.$ac_ext
   8142   CFLAGS=$ax_check_save_flags ;;
   8143 esac
   8144 fi
   8145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror" >&5
   8146 printf "%s\n" "$ax_cv_check_cflags___Werror" >&6; }
   8147 if test "x$ax_cv_check_cflags___Werror" = xyes
   8148 then :
   8149   CFLAGS="$CFLAGS -Werror"
   8150 else case e in #(
   8151   e) : ;;
   8152 esac
   8153 fi
   8154 
   8155     ax_add_fortify_3_failed=
   8156     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to add -D_FORTIFY_SOURCE=3 to CPPFLAGS" >&5
   8157 printf %s "checking whether to add -D_FORTIFY_SOURCE=3 to CPPFLAGS... " >&6; }
   8158     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8159 /* end confdefs.h.  */
   8160 
   8161 
   8162 int
   8163 main (void)
   8164 {
   8165 
   8166                 #ifndef _FORTIFY_SOURCE
   8167                     return 0;
   8168                 #else
   8169                     _FORTIFY_SOURCE_already_defined;
   8170                 #endif
   8171 
   8172 
   8173   ;
   8174   return 0;
   8175 }
   8176 _ACEOF
   8177 if ac_fn_c_try_link "$LINENO"
   8178 then :
   8179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8180 /* end confdefs.h.  */
   8181 
   8182 
   8183                 #define _FORTIFY_SOURCE 3
   8184                 #include <string.h>
   8185                 int main(void) {
   8186                     char *s = " ";
   8187                     strcpy(s, "x");
   8188                     return strlen(s)-1;
   8189                 }
   8190 
   8191 
   8192 _ACEOF
   8193 if ac_fn_c_try_link "$LINENO"
   8194 then :
   8195 
   8196               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   8197 printf "%s\n" "yes" >&6; }
   8198               CFLAGS=$ac_save_cflags
   8199               CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=3"
   8200 
   8201 else case e in #(
   8202   e)
   8203               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8204 printf "%s\n" "no" >&6; }
   8205               ax_add_fortify_3_failed=1
   8206              ;;
   8207 esac
   8208 fi
   8209 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8210     conftest$ac_exeext conftest.$ac_ext
   8211 else case e in #(
   8212   e)
   8213           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8214 printf "%s\n" "no" >&6; }
   8215           ax_add_fortify_3_failed=1
   8216          ;;
   8217 esac
   8218 fi
   8219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8220     conftest$ac_exeext conftest.$ac_ext
   8221     if test -n "$ax_add_fortify_3_failed"
   8222     then
   8223     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to add -D_FORTIFY_SOURCE=2 to CPPFLAGS" >&5
   8224 printf %s "checking whether to add -D_FORTIFY_SOURCE=2 to CPPFLAGS... " >&6; }
   8225     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8226 /* end confdefs.h.  */
   8227 
   8228 
   8229 int
   8230 main (void)
   8231 {
   8232 
   8233                 #ifndef _FORTIFY_SOURCE
   8234                     return 0;
   8235                 #else
   8236                     _FORTIFY_SOURCE_already_defined;
   8237                 #endif
   8238 
   8239 
   8240   ;
   8241   return 0;
   8242 }
   8243 _ACEOF
   8244 if ac_fn_c_try_link "$LINENO"
   8245 then :
   8246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8247 /* end confdefs.h.  */
   8248 
   8249 
   8250                 #define _FORTIFY_SOURCE 2
   8251                 #include <string.h>
   8252                 int main(void) {
   8253                     char *s = " ";
   8254                     strcpy(s, "x");
   8255                     return strlen(s)-1;
   8256                 }
   8257 
   8258 
   8259 _ACEOF
   8260 if ac_fn_c_try_link "$LINENO"
   8261 then :
   8262 
   8263               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   8264 printf "%s\n" "yes" >&6; }
   8265               CFLAGS=$ac_save_cflags
   8266               CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
   8267 
   8268 else case e in #(
   8269   e)
   8270               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8271 printf "%s\n" "no" >&6; }
   8272               CFLAGS=$ac_save_cflags
   8273              ;;
   8274 esac
   8275 fi
   8276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8277     conftest$ac_exeext conftest.$ac_ext
   8278 else case e in #(
   8279   e)
   8280           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8281 printf "%s\n" "no" >&6; }
   8282           CFLAGS=$ac_save_cflags
   8283          ;;
   8284 esac
   8285 fi
   8286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8287     conftest$ac_exeext conftest.$ac_ext
   8288     fi
   8289  ;; #(
   8290   *) :
   8291       ;;
   8292 esac
   8293 
   8294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fvisibility=hidden" >&5
   8295 printf %s "checking whether C compiler accepts -fvisibility=hidden... " >&6; }
   8296 if test ${ax_cv_check_cflags___fvisibility_hidden+y}
   8297 then :
   8298   printf %s "(cached) " >&6
   8299 else case e in #(
   8300   e)
   8301   ax_check_save_flags=$CFLAGS
   8302   CFLAGS="$CFLAGS  -fvisibility=hidden"
   8303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8304 /* end confdefs.h.  */
   8305 #include <time.h>
   8306 int
   8307 main (void)
   8308 {
   8309 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8310 
   8311   ;
   8312   return 0;
   8313 }
   8314 _ACEOF
   8315 if ac_fn_c_try_link "$LINENO"
   8316 then :
   8317   ax_cv_check_cflags___fvisibility_hidden=yes
   8318 else case e in #(
   8319   e) ax_cv_check_cflags___fvisibility_hidden=no ;;
   8320 esac
   8321 fi
   8322 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8323     conftest$ac_exeext conftest.$ac_ext
   8324   CFLAGS=$ax_check_save_flags ;;
   8325 esac
   8326 fi
   8327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fvisibility_hidden" >&5
   8328 printf "%s\n" "$ax_cv_check_cflags___fvisibility_hidden" >&6; }
   8329 if test "x$ax_cv_check_cflags___fvisibility_hidden" = xyes
   8330 then :
   8331   CFLAGS="$CFLAGS -fvisibility=hidden"
   8332 else case e in #(
   8333   e) : ;;
   8334 esac
   8335 fi
   8336 
   8337 
   8338 case $host_os in #(
   8339   cygwin*|mingw*|msys|pw32*|cegcc*|eabi*) :
   8340       ;; #(
   8341   *) :
   8342 
   8343   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fPIC" >&5
   8344 printf %s "checking whether C compiler accepts -fPIC... " >&6; }
   8345 if test ${ax_cv_check_cflags___fPIC+y}
   8346 then :
   8347   printf %s "(cached) " >&6
   8348 else case e in #(
   8349   e)
   8350   ax_check_save_flags=$CFLAGS
   8351   CFLAGS="$CFLAGS  -fPIC"
   8352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8353 /* end confdefs.h.  */
   8354 #include <time.h>
   8355 int
   8356 main (void)
   8357 {
   8358 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8359 
   8360   ;
   8361   return 0;
   8362 }
   8363 _ACEOF
   8364 if ac_fn_c_try_link "$LINENO"
   8365 then :
   8366   ax_cv_check_cflags___fPIC=yes
   8367 else case e in #(
   8368   e) ax_cv_check_cflags___fPIC=no ;;
   8369 esac
   8370 fi
   8371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8372     conftest$ac_exeext conftest.$ac_ext
   8373   CFLAGS=$ax_check_save_flags ;;
   8374 esac
   8375 fi
   8376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fPIC" >&5
   8377 printf "%s\n" "$ax_cv_check_cflags___fPIC" >&6; }
   8378 if test "x$ax_cv_check_cflags___fPIC" = xyes
   8379 then :
   8380   CFLAGS="$CFLAGS -fPIC"
   8381 else case e in #(
   8382   e) : ;;
   8383 esac
   8384 fi
   8385 
   8386  ;;
   8387 esac
   8388 
   8389 if test "$enable_pie" != "no"
   8390 then :
   8391 
   8392   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fPIE" >&5
   8393 printf %s "checking whether C compiler accepts -fPIE... " >&6; }
   8394 if test ${ax_cv_check_cflags___fPIE+y}
   8395 then :
   8396   printf %s "(cached) " >&6
   8397 else case e in #(
   8398   e)
   8399   ax_check_save_flags=$CFLAGS
   8400   CFLAGS="$CFLAGS  -fPIE"
   8401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8402 /* end confdefs.h.  */
   8403 #include <time.h>
   8404 int
   8405 main (void)
   8406 {
   8407 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8408 
   8409   ;
   8410   return 0;
   8411 }
   8412 _ACEOF
   8413 if ac_fn_c_try_link "$LINENO"
   8414 then :
   8415   ax_cv_check_cflags___fPIE=yes
   8416 else case e in #(
   8417   e) ax_cv_check_cflags___fPIE=no ;;
   8418 esac
   8419 fi
   8420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8421     conftest$ac_exeext conftest.$ac_ext
   8422   CFLAGS=$ax_check_save_flags ;;
   8423 esac
   8424 fi
   8425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fPIE" >&5
   8426 printf "%s\n" "$ax_cv_check_cflags___fPIE" >&6; }
   8427 if test "x$ax_cv_check_cflags___fPIE" = xyes
   8428 then :
   8429 
   8430     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -pie" >&5
   8431 printf %s "checking whether the linker accepts -pie... " >&6; }
   8432 if test ${ax_cv_check_ldflags___pie+y}
   8433 then :
   8434   printf %s "(cached) " >&6
   8435 else case e in #(
   8436   e)
   8437   ax_check_save_flags=$LDFLAGS
   8438   LDFLAGS="$LDFLAGS  -pie"
   8439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8440 /* end confdefs.h.  */
   8441 #include <time.h>
   8442 int
   8443 main (void)
   8444 {
   8445 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8446   ;
   8447   return 0;
   8448 }
   8449 _ACEOF
   8450 if ac_fn_c_try_link "$LINENO"
   8451 then :
   8452   ax_cv_check_ldflags___pie=yes
   8453 else case e in #(
   8454   e) ax_cv_check_ldflags___pie=no ;;
   8455 esac
   8456 fi
   8457 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8458     conftest$ac_exeext conftest.$ac_ext
   8459   LDFLAGS=$ax_check_save_flags ;;
   8460 esac
   8461 fi
   8462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___pie" >&5
   8463 printf "%s\n" "$ax_cv_check_ldflags___pie" >&6; }
   8464 if test "x$ax_cv_check_ldflags___pie" = xyes
   8465 then :
   8466 
   8467       CFLAGS="$CFLAGS -fPIE"
   8468        LDFLAGS="$LDFLAGS -pie"
   8469 
   8470 else case e in #(
   8471   e) : ;;
   8472 esac
   8473 fi
   8474 
   8475 
   8476 else case e in #(
   8477   e) : ;;
   8478 esac
   8479 fi
   8480 
   8481 
   8482 fi
   8483 
   8484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fno-strict-aliasing" >&5
   8485 printf %s "checking whether C compiler accepts -fno-strict-aliasing... " >&6; }
   8486 if test ${ax_cv_check_cflags___fno_strict_aliasing+y}
   8487 then :
   8488   printf %s "(cached) " >&6
   8489 else case e in #(
   8490   e)
   8491   ax_check_save_flags=$CFLAGS
   8492   CFLAGS="$CFLAGS  -fno-strict-aliasing"
   8493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8494 /* end confdefs.h.  */
   8495 #include <time.h>
   8496 int
   8497 main (void)
   8498 {
   8499 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8500 
   8501   ;
   8502   return 0;
   8503 }
   8504 _ACEOF
   8505 if ac_fn_c_try_link "$LINENO"
   8506 then :
   8507   ax_cv_check_cflags___fno_strict_aliasing=yes
   8508 else case e in #(
   8509   e) ax_cv_check_cflags___fno_strict_aliasing=no ;;
   8510 esac
   8511 fi
   8512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8513     conftest$ac_exeext conftest.$ac_ext
   8514   CFLAGS=$ax_check_save_flags ;;
   8515 esac
   8516 fi
   8517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fno_strict_aliasing" >&5
   8518 printf "%s\n" "$ax_cv_check_cflags___fno_strict_aliasing" >&6; }
   8519 if test "x$ax_cv_check_cflags___fno_strict_aliasing" = xyes
   8520 then :
   8521   CFLAGS="$CFLAGS -fno-strict-aliasing"
   8522 else case e in #(
   8523   e) : ;;
   8524 esac
   8525 fi
   8526 
   8527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fno-strict-overflow" >&5
   8528 printf %s "checking whether C compiler accepts -fno-strict-overflow... " >&6; }
   8529 if test ${ax_cv_check_cflags___fno_strict_overflow+y}
   8530 then :
   8531   printf %s "(cached) " >&6
   8532 else case e in #(
   8533   e)
   8534   ax_check_save_flags=$CFLAGS
   8535   CFLAGS="$CFLAGS  -fno-strict-overflow"
   8536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8537 /* end confdefs.h.  */
   8538 #include <time.h>
   8539 int
   8540 main (void)
   8541 {
   8542 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8543 
   8544   ;
   8545   return 0;
   8546 }
   8547 _ACEOF
   8548 if ac_fn_c_try_link "$LINENO"
   8549 then :
   8550   ax_cv_check_cflags___fno_strict_overflow=yes
   8551 else case e in #(
   8552   e) ax_cv_check_cflags___fno_strict_overflow=no ;;
   8553 esac
   8554 fi
   8555 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8556     conftest$ac_exeext conftest.$ac_ext
   8557   CFLAGS=$ax_check_save_flags ;;
   8558 esac
   8559 fi
   8560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fno_strict_overflow" >&5
   8561 printf "%s\n" "$ax_cv_check_cflags___fno_strict_overflow" >&6; }
   8562 if test "x$ax_cv_check_cflags___fno_strict_overflow" = xyes
   8563 then :
   8564   CFLAGS="$CFLAGS -fno-strict-overflow"
   8565 else case e in #(
   8566   e)
   8567   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fwrapv" >&5
   8568 printf %s "checking whether C compiler accepts -fwrapv... " >&6; }
   8569 if test ${ax_cv_check_cflags___fwrapv+y}
   8570 then :
   8571   printf %s "(cached) " >&6
   8572 else case e in #(
   8573   e)
   8574   ax_check_save_flags=$CFLAGS
   8575   CFLAGS="$CFLAGS  -fwrapv"
   8576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8577 /* end confdefs.h.  */
   8578 #include <time.h>
   8579 int
   8580 main (void)
   8581 {
   8582 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8583 
   8584   ;
   8585   return 0;
   8586 }
   8587 _ACEOF
   8588 if ac_fn_c_try_link "$LINENO"
   8589 then :
   8590   ax_cv_check_cflags___fwrapv=yes
   8591 else case e in #(
   8592   e) ax_cv_check_cflags___fwrapv=no ;;
   8593 esac
   8594 fi
   8595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8596     conftest$ac_exeext conftest.$ac_ext
   8597   CFLAGS=$ax_check_save_flags ;;
   8598 esac
   8599 fi
   8600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fwrapv" >&5
   8601 printf "%s\n" "$ax_cv_check_cflags___fwrapv" >&6; }
   8602 if test "x$ax_cv_check_cflags___fwrapv" = xyes
   8603 then :
   8604   CFLAGS="$CFLAGS -fwrapv"
   8605 else case e in #(
   8606   e) : ;;
   8607 esac
   8608 fi
   8609 
   8610  ;;
   8611 esac
   8612 fi
   8613 
   8614 
   8615 if test "$GCC" = "yes"
   8616 then :
   8617 
   8618   case $host_cpu in #(
   8619   i?86|amd64|x86_64) :
   8620 
   8621       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8622 /* end confdefs.h.  */
   8623 
   8624 #if !defined(__clang__) && defined(__GNUC__) && ((__GNUC__ << 8) | __GNUC_MINOR__) < 0x403
   8625 # error old gcc
   8626 #endif
   8627 int main(void) { return 0; }
   8628 
   8629 _ACEOF
   8630 if ac_fn_c_try_compile "$LINENO"
   8631 then :
   8632 
   8633 else case e in #(
   8634   e)
   8635           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -flax-vector-conversions" >&5
   8636 printf %s "checking whether C compiler accepts -flax-vector-conversions... " >&6; }
   8637 if test ${ax_cv_check_cflags___flax_vector_conversions+y}
   8638 then :
   8639   printf %s "(cached) " >&6
   8640 else case e in #(
   8641   e)
   8642   ax_check_save_flags=$CFLAGS
   8643   CFLAGS="$CFLAGS  -flax-vector-conversions"
   8644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8645 /* end confdefs.h.  */
   8646 #include <time.h>
   8647 int
   8648 main (void)
   8649 {
   8650 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8651 
   8652   ;
   8653   return 0;
   8654 }
   8655 _ACEOF
   8656 if ac_fn_c_try_link "$LINENO"
   8657 then :
   8658   ax_cv_check_cflags___flax_vector_conversions=yes
   8659 else case e in #(
   8660   e) ax_cv_check_cflags___flax_vector_conversions=no ;;
   8661 esac
   8662 fi
   8663 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8664     conftest$ac_exeext conftest.$ac_ext
   8665   CFLAGS=$ax_check_save_flags ;;
   8666 esac
   8667 fi
   8668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___flax_vector_conversions" >&5
   8669 printf "%s\n" "$ax_cv_check_cflags___flax_vector_conversions" >&6; }
   8670 if test "x$ax_cv_check_cflags___flax_vector_conversions" = xyes
   8671 then :
   8672   CFLAGS="$CFLAGS -flax-vector-conversions"
   8673 else case e in #(
   8674   e) : ;;
   8675 esac
   8676 fi
   8677 
   8678          ;;
   8679 esac
   8680 fi
   8681 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8682 
   8683      ;; #(
   8684   *) :
   8685      ;;
   8686 esac
   8687 
   8688 fi
   8689 
   8690 LIBTOOL_OLD_FLAGS="$LIBTOOL_EXTRA_FLAGS"
   8691 LIBTOOL_EXTRA_FLAGS="$LIBTOOL_EXTRA_FLAGS -version-info $SODIUM_LIBRARY_VERSION"
   8692 # Check whether --enable-soname-versions was given.
   8693 if test ${enable_soname_versions+y}
   8694 then :
   8695   enableval=$enable_soname_versions;
   8696         if test "x$enableval" = "xno"
   8697 then :
   8698 
   8699           LIBTOOL_EXTRA_FLAGS="$LIBTOOL_OLD_FLAGS -avoid-version"
   8700 
   8701 fi
   8702 
   8703 
   8704 fi
   8705 
   8706 
   8707 case $host_os in #(
   8708   cygwin*|mingw*|msys|pw32*|cegcc*) :
   8709 
   8710     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--dynamicbase" >&5
   8711 printf %s "checking whether the linker accepts -Wl,--dynamicbase... " >&6; }
   8712 if test ${ax_cv_check_ldflags___Wl___dynamicbase+y}
   8713 then :
   8714   printf %s "(cached) " >&6
   8715 else case e in #(
   8716   e)
   8717   ax_check_save_flags=$LDFLAGS
   8718   LDFLAGS="$LDFLAGS  -Wl,--dynamicbase"
   8719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8720 /* end confdefs.h.  */
   8721 #include <time.h>
   8722 int
   8723 main (void)
   8724 {
   8725 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8726   ;
   8727   return 0;
   8728 }
   8729 _ACEOF
   8730 if ac_fn_c_try_link "$LINENO"
   8731 then :
   8732   ax_cv_check_ldflags___Wl___dynamicbase=yes
   8733 else case e in #(
   8734   e) ax_cv_check_ldflags___Wl___dynamicbase=no ;;
   8735 esac
   8736 fi
   8737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8738     conftest$ac_exeext conftest.$ac_ext
   8739   LDFLAGS=$ax_check_save_flags ;;
   8740 esac
   8741 fi
   8742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___dynamicbase" >&5
   8743 printf "%s\n" "$ax_cv_check_ldflags___Wl___dynamicbase" >&6; }
   8744 if test "x$ax_cv_check_ldflags___Wl___dynamicbase" = xyes
   8745 then :
   8746   LDFLAGS="$LDFLAGS -Wl,--dynamicbase"
   8747 else case e in #(
   8748   e) : ;;
   8749 esac
   8750 fi
   8751 
   8752     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--high-entropy-va" >&5
   8753 printf %s "checking whether the linker accepts -Wl,--high-entropy-va... " >&6; }
   8754 if test ${ax_cv_check_ldflags___Wl___high_entropy_va+y}
   8755 then :
   8756   printf %s "(cached) " >&6
   8757 else case e in #(
   8758   e)
   8759   ax_check_save_flags=$LDFLAGS
   8760   LDFLAGS="$LDFLAGS  -Wl,--high-entropy-va"
   8761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8762 /* end confdefs.h.  */
   8763 #include <time.h>
   8764 int
   8765 main (void)
   8766 {
   8767 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8768   ;
   8769   return 0;
   8770 }
   8771 _ACEOF
   8772 if ac_fn_c_try_link "$LINENO"
   8773 then :
   8774   ax_cv_check_ldflags___Wl___high_entropy_va=yes
   8775 else case e in #(
   8776   e) ax_cv_check_ldflags___Wl___high_entropy_va=no ;;
   8777 esac
   8778 fi
   8779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8780     conftest$ac_exeext conftest.$ac_ext
   8781   LDFLAGS=$ax_check_save_flags ;;
   8782 esac
   8783 fi
   8784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___high_entropy_va" >&5
   8785 printf "%s\n" "$ax_cv_check_ldflags___Wl___high_entropy_va" >&6; }
   8786 if test "x$ax_cv_check_ldflags___Wl___high_entropy_va" = xyes
   8787 then :
   8788   LDFLAGS="$LDFLAGS -Wl,--high-entropy-va"
   8789 else case e in #(
   8790   e) : ;;
   8791 esac
   8792 fi
   8793 
   8794     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--nxcompat" >&5
   8795 printf %s "checking whether the linker accepts -Wl,--nxcompat... " >&6; }
   8796 if test ${ax_cv_check_ldflags___Wl___nxcompat+y}
   8797 then :
   8798   printf %s "(cached) " >&6
   8799 else case e in #(
   8800   e)
   8801   ax_check_save_flags=$LDFLAGS
   8802   LDFLAGS="$LDFLAGS  -Wl,--nxcompat"
   8803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8804 /* end confdefs.h.  */
   8805 #include <time.h>
   8806 int
   8807 main (void)
   8808 {
   8809 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8810   ;
   8811   return 0;
   8812 }
   8813 _ACEOF
   8814 if ac_fn_c_try_link "$LINENO"
   8815 then :
   8816   ax_cv_check_ldflags___Wl___nxcompat=yes
   8817 else case e in #(
   8818   e) ax_cv_check_ldflags___Wl___nxcompat=no ;;
   8819 esac
   8820 fi
   8821 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8822     conftest$ac_exeext conftest.$ac_ext
   8823   LDFLAGS=$ax_check_save_flags ;;
   8824 esac
   8825 fi
   8826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___nxcompat" >&5
   8827 printf "%s\n" "$ax_cv_check_ldflags___Wl___nxcompat" >&6; }
   8828 if test "x$ax_cv_check_ldflags___Wl___nxcompat" = xyes
   8829 then :
   8830   LDFLAGS="$LDFLAGS -Wl,--nxcompat"
   8831 else case e in #(
   8832   e) : ;;
   8833 esac
   8834 fi
   8835 
   8836    ;; #(
   8837   *) :
   8838      ;;
   8839 esac
   8840 
   8841 case $host_os in #(
   8842   cygwin*|mingw*|msys|pw32*|cegcc*|eabi*) :
   8843 
   8844     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fno-asynchronous-unwind-tables" >&5
   8845 printf %s "checking whether C compiler accepts -fno-asynchronous-unwind-tables... " >&6; }
   8846 if test ${ax_cv_check_cflags___fno_asynchronous_unwind_tables+y}
   8847 then :
   8848   printf %s "(cached) " >&6
   8849 else case e in #(
   8850   e)
   8851   ax_check_save_flags=$CFLAGS
   8852   CFLAGS="$CFLAGS  -fno-asynchronous-unwind-tables"
   8853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8854 /* end confdefs.h.  */
   8855 #include <time.h>
   8856 int
   8857 main (void)
   8858 {
   8859 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8860 
   8861   ;
   8862   return 0;
   8863 }
   8864 _ACEOF
   8865 if ac_fn_c_try_link "$LINENO"
   8866 then :
   8867   ax_cv_check_cflags___fno_asynchronous_unwind_tables=yes
   8868 else case e in #(
   8869   e) ax_cv_check_cflags___fno_asynchronous_unwind_tables=no ;;
   8870 esac
   8871 fi
   8872 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8873     conftest$ac_exeext conftest.$ac_ext
   8874   CFLAGS=$ax_check_save_flags ;;
   8875 esac
   8876 fi
   8877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fno_asynchronous_unwind_tables" >&5
   8878 printf "%s\n" "$ax_cv_check_cflags___fno_asynchronous_unwind_tables" >&6; }
   8879 if test "x$ax_cv_check_cflags___fno_asynchronous_unwind_tables" = xyes
   8880 then :
   8881 
   8882       CFLAGS="$CFLAGS -fno-asynchronous-unwind-tables"
   8883 
   8884 else case e in #(
   8885   e) : ;;
   8886 esac
   8887 fi
   8888 
   8889  ;; #(
   8890   *) :
   8891      ;;
   8892 esac
   8893 
   8894 if test "x$enable_ssp" != "xno"
   8895 then :
   8896 
   8897 
   8898 case $host_os in #(
   8899   solaris*|cygwin*|mingw*|msys|pw32*|cegcc*|haiku|none|eabi*) :
   8900       ;; #(
   8901   *) :
   8902 
   8903     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstack-protector" >&5
   8904 printf %s "checking whether C compiler accepts -fstack-protector... " >&6; }
   8905 if test ${ax_cv_check_cflags___fstack_protector+y}
   8906 then :
   8907   printf %s "(cached) " >&6
   8908 else case e in #(
   8909   e)
   8910   ax_check_save_flags=$CFLAGS
   8911   CFLAGS="$CFLAGS  -fstack-protector"
   8912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8913 /* end confdefs.h.  */
   8914 #include <time.h>
   8915 int
   8916 main (void)
   8917 {
   8918 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8919 
   8920   ;
   8921   return 0;
   8922 }
   8923 _ACEOF
   8924 if ac_fn_c_try_link "$LINENO"
   8925 then :
   8926   ax_cv_check_cflags___fstack_protector=yes
   8927 else case e in #(
   8928   e) ax_cv_check_cflags___fstack_protector=no ;;
   8929 esac
   8930 fi
   8931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8932     conftest$ac_exeext conftest.$ac_ext
   8933   CFLAGS=$ax_check_save_flags ;;
   8934 esac
   8935 fi
   8936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_protector" >&5
   8937 printf "%s\n" "$ax_cv_check_cflags___fstack_protector" >&6; }
   8938 if test "x$ax_cv_check_cflags___fstack_protector" = xyes
   8939 then :
   8940 
   8941       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -fstack-protector" >&5
   8942 printf %s "checking whether the linker accepts -fstack-protector... " >&6; }
   8943 if test ${ax_cv_check_ldflags___fstack_protector+y}
   8944 then :
   8945   printf %s "(cached) " >&6
   8946 else case e in #(
   8947   e)
   8948   ax_check_save_flags=$LDFLAGS
   8949   LDFLAGS="$LDFLAGS  -fstack-protector"
   8950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8951 /* end confdefs.h.  */
   8952 #include <time.h>
   8953 int
   8954 main (void)
   8955 {
   8956 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8957   ;
   8958   return 0;
   8959 }
   8960 _ACEOF
   8961 if ac_fn_c_try_link "$LINENO"
   8962 then :
   8963   ax_cv_check_ldflags___fstack_protector=yes
   8964 else case e in #(
   8965   e) ax_cv_check_ldflags___fstack_protector=no ;;
   8966 esac
   8967 fi
   8968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8969     conftest$ac_exeext conftest.$ac_ext
   8970   LDFLAGS=$ax_check_save_flags ;;
   8971 esac
   8972 fi
   8973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___fstack_protector" >&5
   8974 printf "%s\n" "$ax_cv_check_ldflags___fstack_protector" >&6; }
   8975 if test "x$ax_cv_check_ldflags___fstack_protector" = xyes
   8976 then :
   8977   CFLAGS="$CFLAGS -fstack-protector"
   8978 
   8979 else case e in #(
   8980   e) : ;;
   8981 esac
   8982 fi
   8983 
   8984 
   8985 else case e in #(
   8986   e) : ;;
   8987 esac
   8988 fi
   8989 
   8990    ;; #(
   8991   *) :
   8992      ;;
   8993 esac
   8994 
   8995 fi
   8996 
   8997 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CFLAGS -Wall" | sed "$as_sed_sh"`
   8998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CFLAGS -Wall" >&5
   8999 printf %s "checking whether C compiler accepts $CFLAGS -Wall... " >&6; }
   9000 if eval test \${$as_CACHEVAR+y}
   9001 then :
   9002   printf %s "(cached) " >&6
   9003 else case e in #(
   9004   e)
   9005   ax_check_save_flags=$CFLAGS
   9006   CFLAGS="$CFLAGS  $CFLAGS -Wall"
   9007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9008 /* end confdefs.h.  */
   9009 #include <time.h>
   9010 int
   9011 main (void)
   9012 {
   9013 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   9014 
   9015   ;
   9016   return 0;
   9017 }
   9018 _ACEOF
   9019 if ac_fn_c_try_link "$LINENO"
   9020 then :
   9021   eval "$as_CACHEVAR=yes"
   9022 else case e in #(
   9023   e) eval "$as_CACHEVAR=no" ;;
   9024 esac
   9025 fi
   9026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9027     conftest$ac_exeext conftest.$ac_ext
   9028   CFLAGS=$ax_check_save_flags ;;
   9029 esac
   9030 fi
   9031 eval ac_res=\$$as_CACHEVAR
   9032 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   9033 printf "%s\n" "$ac_res" >&6; }
   9034 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   9035 then :
   9036   CWFLAGS="$CFLAGS -Wall"
   9037 else case e in #(
   9038   e) : ;;
   9039 esac
   9040 fi
   9041 
   9042 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CFLAGS -Wno-deprecated-declarations" | sed "$as_sed_sh"`
   9043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CFLAGS -Wno-deprecated-declarations" >&5
   9044 printf %s "checking whether C compiler accepts $CFLAGS -Wno-deprecated-declarations... " >&6; }
   9045 if eval test \${$as_CACHEVAR+y}
   9046 then :
   9047   printf %s "(cached) " >&6
   9048 else case e in #(
   9049   e)
   9050   ax_check_save_flags=$CFLAGS
   9051   CFLAGS="$CFLAGS  $CFLAGS -Wno-deprecated-declarations"
   9052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9053 /* end confdefs.h.  */
   9054 #include <time.h>
   9055 int
   9056 main (void)
   9057 {
   9058 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   9059 
   9060   ;
   9061   return 0;
   9062 }
   9063 _ACEOF
   9064 if ac_fn_c_try_link "$LINENO"
   9065 then :
   9066   eval "$as_CACHEVAR=yes"
   9067 else case e in #(
   9068   e) eval "$as_CACHEVAR=no" ;;
   9069 esac
   9070 fi
   9071 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9072     conftest$ac_exeext conftest.$ac_ext
   9073   CFLAGS=$ax_check_save_flags ;;
   9074 esac
   9075 fi
   9076 eval ac_res=\$$as_CACHEVAR
   9077 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   9078 printf "%s\n" "$ac_res" >&6; }
   9079 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   9080 then :
   9081   CFLAGS="$CFLAGS -Wno-deprecated-declarations"
   9082 else case e in #(
   9083   e) : ;;
   9084 esac
   9085 fi
   9086 
   9087 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CFLAGS -Wno-unknown-pragmas" | sed "$as_sed_sh"`
   9088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CFLAGS -Wno-unknown-pragmas" >&5
   9089 printf %s "checking whether C compiler accepts $CFLAGS -Wno-unknown-pragmas... " >&6; }
   9090 if eval test \${$as_CACHEVAR+y}
   9091 then :
   9092   printf %s "(cached) " >&6
   9093 else case e in #(
   9094   e)
   9095   ax_check_save_flags=$CFLAGS
   9096   CFLAGS="$CFLAGS  $CFLAGS -Wno-unknown-pragmas"
   9097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9098 /* end confdefs.h.  */
   9099 #include <time.h>
   9100 int
   9101 main (void)
   9102 {
   9103 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   9104 
   9105   ;
   9106   return 0;
   9107 }
   9108 _ACEOF
   9109 if ac_fn_c_try_link "$LINENO"
   9110 then :
   9111   eval "$as_CACHEVAR=yes"
   9112 else case e in #(
   9113   e) eval "$as_CACHEVAR=no" ;;
   9114 esac
   9115 fi
   9116 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9117     conftest$ac_exeext conftest.$ac_ext
   9118   CFLAGS=$ax_check_save_flags ;;
   9119 esac
   9120 fi
   9121 eval ac_res=\$$as_CACHEVAR
   9122 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   9123 printf "%s\n" "$ac_res" >&6; }
   9124 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   9125 then :
   9126   CFLAGS="$CFLAGS -Wno-unknown-pragmas"
   9127 else case e in #(
   9128   e) : ;;
   9129 esac
   9130 fi
   9131 
   9132 
   9133 
   9134 
   9135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clang" >&5
   9136 printf %s "checking for clang... " >&6; }
   9137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9138 /* end confdefs.h.  */
   9139 
   9140 int
   9141 main (void)
   9142 {
   9143 
   9144 #ifndef __clang__
   9145 #error Not clang nor zig cc
   9146 #endif
   9147 
   9148   ;
   9149   return 0;
   9150 }
   9151 _ACEOF
   9152 if ac_fn_c_try_compile "$LINENO"
   9153 then :
   9154   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   9155 printf "%s\n" "yes" >&6; }
   9156    as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wno-unknown-warning-option" | sed "$as_sed_sh"`
   9157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wno-unknown-warning-option" >&5
   9158 printf %s "checking whether C compiler accepts $CWFLAGS -Wno-unknown-warning-option... " >&6; }
   9159 if eval test \${$as_CACHEVAR+y}
   9160 then :
   9161   printf %s "(cached) " >&6
   9162 else case e in #(
   9163   e)
   9164   ax_check_save_flags=$CFLAGS
   9165   CFLAGS="$CFLAGS  $CWFLAGS -Wno-unknown-warning-option"
   9166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9167 /* end confdefs.h.  */
   9168 #include <time.h>
   9169 int
   9170 main (void)
   9171 {
   9172 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   9173 
   9174   ;
   9175   return 0;
   9176 }
   9177 _ACEOF
   9178 if ac_fn_c_try_link "$LINENO"
   9179 then :
   9180   eval "$as_CACHEVAR=yes"
   9181 else case e in #(
   9182   e) eval "$as_CACHEVAR=no" ;;
   9183 esac
   9184 fi
   9185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9186     conftest$ac_exeext conftest.$ac_ext
   9187   CFLAGS=$ax_check_save_flags ;;
   9188 esac
   9189 fi
   9190 eval ac_res=\$$as_CACHEVAR
   9191 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   9192 printf "%s\n" "$ac_res" >&6; }
   9193 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   9194 then :
   9195   CWFLAGS="$CWFLAGS -Wno-unknown-warning-option"
   9196 else case e in #(
   9197   e) : ;;
   9198 esac
   9199 fi
   9200 
   9201 
   9202 else case e in #(
   9203   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9204 printf "%s\n" "no" >&6; }
   9205  ;;
   9206 esac
   9207 fi
   9208 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9209 
   9210 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wextra" | sed "$as_sed_sh"`
   9211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wextra" >&5
   9212 printf %s "checking whether C compiler accepts $CWFLAGS -Wextra... " >&6; }
   9213 if eval test \${$as_CACHEVAR+y}
   9214 then :
   9215   printf %s "(cached) " >&6
   9216 else case e in #(
   9217   e)
   9218   ax_check_save_flags=$CFLAGS
   9219   CFLAGS="$CFLAGS  $CWFLAGS -Wextra"
   9220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9221 /* end confdefs.h.  */
   9222 #include <time.h>
   9223 int
   9224 main (void)
   9225 {
   9226 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   9227 
   9228   ;
   9229   return 0;
   9230 }
   9231 _ACEOF
   9232 if ac_fn_c_try_link "$LINENO"
   9233 then :
   9234   eval "$as_CACHEVAR=yes"
   9235 else case e in #(
   9236   e) eval "$as_CACHEVAR=no" ;;
   9237 esac
   9238 fi
   9239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9240     conftest$ac_exeext conftest.$ac_ext
   9241   CFLAGS=$ax_check_save_flags ;;
   9242 esac
   9243 fi
   9244 eval ac_res=\$$as_CACHEVAR
   9245 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   9246 printf "%s\n" "$ac_res" >&6; }
   9247 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   9248 then :
   9249   CWFLAGS="$WCFLAGS -Wextra"
   9250 else case e in #(
   9251   e) : ;;
   9252 esac
   9253 fi
   9254 
   9255 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Warray-bounds" | sed "$as_sed_sh"`
   9256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Warray-bounds" >&5
   9257 printf %s "checking whether C compiler accepts $CWFLAGS -Warray-bounds... " >&6; }
   9258 if eval test \${$as_CACHEVAR+y}
   9259 then :
   9260   printf %s "(cached) " >&6
   9261 else case e in #(
   9262   e)
   9263   ax_check_save_flags=$CFLAGS
   9264   CFLAGS="$CFLAGS  $CWFLAGS -Warray-bounds"
   9265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9266 /* end confdefs.h.  */
   9267 #include <time.h>
   9268 int
   9269 main (void)
   9270 {
   9271 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   9272 
   9273   ;
   9274   return 0;
   9275 }
   9276 _ACEOF
   9277 if ac_fn_c_try_link "$LINENO"
   9278 then :
   9279   eval "$as_CACHEVAR=yes"
   9280 else case e in #(
   9281   e) eval "$as_CACHEVAR=no" ;;
   9282 esac
   9283 fi
   9284 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9285     conftest$ac_exeext conftest.$ac_ext
   9286   CFLAGS=$ax_check_save_flags ;;
   9287 esac
   9288 fi
   9289 eval ac_res=\$$as_CACHEVAR
   9290 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   9291 printf "%s\n" "$ac_res" >&6; }
   9292 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   9293 then :
   9294   CWFLAGS="$CWFLAGS -Warray-bounds"
   9295 else case e in #(
   9296   e) : ;;
   9297 esac
   9298 fi
   9299 
   9300 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wbad-function-cast" | sed "$as_sed_sh"`
   9301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wbad-function-cast" >&5
   9302 printf %s "checking whether C compiler accepts $CWFLAGS -Wbad-function-cast... " >&6; }
   9303 if eval test \${$as_CACHEVAR+y}
   9304 then :
   9305   printf %s "(cached) " >&6
   9306 else case e in #(
   9307   e)
   9308   ax_check_save_flags=$CFLAGS
   9309   CFLAGS="$CFLAGS  $CWFLAGS -Wbad-function-cast"
   9310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9311 /* end confdefs.h.  */
   9312 #include <time.h>
   9313 int
   9314 main (void)
   9315 {
   9316 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   9317 
   9318   ;
   9319   return 0;
   9320 }
   9321 _ACEOF
   9322 if ac_fn_c_try_link "$LINENO"
   9323 then :
   9324   eval "$as_CACHEVAR=yes"
   9325 else case e in #(
   9326   e) eval "$as_CACHEVAR=no" ;;
   9327 esac
   9328 fi
   9329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9330     conftest$ac_exeext conftest.$ac_ext
   9331   CFLAGS=$ax_check_save_flags ;;
   9332 esac
   9333 fi
   9334 eval ac_res=\$$as_CACHEVAR
   9335 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   9336 printf "%s\n" "$ac_res" >&6; }
   9337 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   9338 then :
   9339   CWFLAGS="$CWFLAGS -Wbad-function-cast"
   9340 else case e in #(
   9341   e) : ;;
   9342 esac
   9343 fi
   9344 
   9345 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wcast-qual" | sed "$as_sed_sh"`
   9346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wcast-qual" >&5
   9347 printf %s "checking whether C compiler accepts $CWFLAGS -Wcast-qual... " >&6; }
   9348 if eval test \${$as_CACHEVAR+y}
   9349 then :
   9350   printf %s "(cached) " >&6
   9351 else case e in #(
   9352   e)
   9353   ax_check_save_flags=$CFLAGS
   9354   CFLAGS="$CFLAGS  $CWFLAGS -Wcast-qual"
   9355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9356 /* end confdefs.h.  */
   9357 #include <time.h>
   9358 int
   9359 main (void)
   9360 {
   9361 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   9362 
   9363   ;
   9364   return 0;
   9365 }
   9366 _ACEOF
   9367 if ac_fn_c_try_link "$LINENO"
   9368 then :
   9369   eval "$as_CACHEVAR=yes"
   9370 else case e in #(
   9371   e) eval "$as_CACHEVAR=no" ;;
   9372 esac
   9373 fi
   9374 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9375     conftest$ac_exeext conftest.$ac_ext
   9376   CFLAGS=$ax_check_save_flags ;;
   9377 esac
   9378 fi
   9379 eval ac_res=\$$as_CACHEVAR
   9380 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   9381 printf "%s\n" "$ac_res" >&6; }
   9382 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   9383 then :
   9384   CWFLAGS="$CWFLAGS -Wcast-qual"
   9385 else case e in #(
   9386   e) : ;;
   9387 esac
   9388 fi
   9389 
   9390 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wdiv-by-zero" | sed "$as_sed_sh"`
   9391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wdiv-by-zero" >&5
   9392 printf %s "checking whether C compiler accepts $CWFLAGS -Wdiv-by-zero... " >&6; }
   9393 if eval test \${$as_CACHEVAR+y}
   9394 then :
   9395   printf %s "(cached) " >&6
   9396 else case e in #(
   9397   e)
   9398   ax_check_save_flags=$CFLAGS
   9399   CFLAGS="$CFLAGS  $CWFLAGS -Wdiv-by-zero"
   9400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9401 /* end confdefs.h.  */
   9402 #include <time.h>
   9403 int
   9404 main (void)
   9405 {
   9406 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   9407 
   9408   ;
   9409   return 0;
   9410 }
   9411 _ACEOF
   9412 if ac_fn_c_try_link "$LINENO"
   9413 then :
   9414   eval "$as_CACHEVAR=yes"
   9415 else case e in #(
   9416   e) eval "$as_CACHEVAR=no" ;;
   9417 esac
   9418 fi
   9419 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9420     conftest$ac_exeext conftest.$ac_ext
   9421   CFLAGS=$ax_check_save_flags ;;
   9422 esac
   9423 fi
   9424 eval ac_res=\$$as_CACHEVAR
   9425 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   9426 printf "%s\n" "$ac_res" >&6; }
   9427 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   9428 then :
   9429   CWFLAGS="$CWFLAGS -Wdiv-by-zero"
   9430 else case e in #(
   9431   e) : ;;
   9432 esac
   9433 fi
   9434 
   9435 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wduplicated-branches" | sed "$as_sed_sh"`
   9436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wduplicated-branches" >&5
   9437 printf %s "checking whether C compiler accepts $CWFLAGS -Wduplicated-branches... " >&6; }
   9438 if eval test \${$as_CACHEVAR+y}
   9439 then :
   9440   printf %s "(cached) " >&6
   9441 else case e in #(
   9442   e)
   9443   ax_check_save_flags=$CFLAGS
   9444   CFLAGS="$CFLAGS  $CWFLAGS -Wduplicated-branches"
   9445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9446 /* end confdefs.h.  */
   9447 #include <time.h>
   9448 int
   9449 main (void)
   9450 {
   9451 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   9452 
   9453   ;
   9454   return 0;
   9455 }
   9456 _ACEOF
   9457 if ac_fn_c_try_link "$LINENO"
   9458 then :
   9459   eval "$as_CACHEVAR=yes"
   9460 else case e in #(
   9461   e) eval "$as_CACHEVAR=no" ;;
   9462 esac
   9463 fi
   9464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9465     conftest$ac_exeext conftest.$ac_ext
   9466   CFLAGS=$ax_check_save_flags ;;
   9467 esac
   9468 fi
   9469 eval ac_res=\$$as_CACHEVAR
   9470 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   9471 printf "%s\n" "$ac_res" >&6; }
   9472 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   9473 then :
   9474   CWFLAGS="$CWFLAGS -Wduplicated-branches"
   9475 else case e in #(
   9476   e) : ;;
   9477 esac
   9478 fi
   9479 
   9480 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wduplicated-cond" | sed "$as_sed_sh"`
   9481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wduplicated-cond" >&5
   9482 printf %s "checking whether C compiler accepts $CWFLAGS -Wduplicated-cond... " >&6; }
   9483 if eval test \${$as_CACHEVAR+y}
   9484 then :
   9485   printf %s "(cached) " >&6
   9486 else case e in #(
   9487   e)
   9488   ax_check_save_flags=$CFLAGS
   9489   CFLAGS="$CFLAGS  $CWFLAGS -Wduplicated-cond"
   9490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9491 /* end confdefs.h.  */
   9492 #include <time.h>
   9493 int
   9494 main (void)
   9495 {
   9496 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   9497 
   9498   ;
   9499   return 0;
   9500 }
   9501 _ACEOF
   9502 if ac_fn_c_try_link "$LINENO"
   9503 then :
   9504   eval "$as_CACHEVAR=yes"
   9505 else case e in #(
   9506   e) eval "$as_CACHEVAR=no" ;;
   9507 esac
   9508 fi
   9509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9510     conftest$ac_exeext conftest.$ac_ext
   9511   CFLAGS=$ax_check_save_flags ;;
   9512 esac
   9513 fi
   9514 eval ac_res=\$$as_CACHEVAR
   9515 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   9516 printf "%s\n" "$ac_res" >&6; }
   9517 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   9518 then :
   9519   CWFLAGS="$CWFLAGS -Wduplicated-cond"
   9520 else case e in #(
   9521   e) : ;;
   9522 esac
   9523 fi
   9524 
   9525 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wfloat-equal" | sed "$as_sed_sh"`
   9526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wfloat-equal" >&5
   9527 printf %s "checking whether C compiler accepts $CWFLAGS -Wfloat-equal... " >&6; }
   9528 if eval test \${$as_CACHEVAR+y}
   9529 then :
   9530   printf %s "(cached) " >&6
   9531 else case e in #(
   9532   e)
   9533   ax_check_save_flags=$CFLAGS
   9534   CFLAGS="$CFLAGS  $CWFLAGS -Wfloat-equal"
   9535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9536 /* end confdefs.h.  */
   9537 #include <time.h>
   9538 int
   9539 main (void)
   9540 {
   9541 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   9542 
   9543   ;
   9544   return 0;
   9545 }
   9546 _ACEOF
   9547 if ac_fn_c_try_link "$LINENO"
   9548 then :
   9549   eval "$as_CACHEVAR=yes"
   9550 else case e in #(
   9551   e) eval "$as_CACHEVAR=no" ;;
   9552 esac
   9553 fi
   9554 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9555     conftest$ac_exeext conftest.$ac_ext
   9556   CFLAGS=$ax_check_save_flags ;;
   9557 esac
   9558 fi
   9559 eval ac_res=\$$as_CACHEVAR
   9560 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   9561 printf "%s\n" "$ac_res" >&6; }
   9562 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   9563 then :
   9564   CWFLAGS="$CWFLAGS -Wfloat-equal"
   9565 else case e in #(
   9566   e) : ;;
   9567 esac
   9568 fi
   9569 
   9570 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wformat=2" | sed "$as_sed_sh"`
   9571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wformat=2" >&5
   9572 printf %s "checking whether C compiler accepts $CWFLAGS -Wformat=2... " >&6; }
   9573 if eval test \${$as_CACHEVAR+y}
   9574 then :
   9575   printf %s "(cached) " >&6
   9576 else case e in #(
   9577   e)
   9578   ax_check_save_flags=$CFLAGS
   9579   CFLAGS="$CFLAGS  $CWFLAGS -Wformat=2"
   9580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9581 /* end confdefs.h.  */
   9582 #include <time.h>
   9583 int
   9584 main (void)
   9585 {
   9586 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   9587 
   9588   ;
   9589   return 0;
   9590 }
   9591 _ACEOF
   9592 if ac_fn_c_try_link "$LINENO"
   9593 then :
   9594   eval "$as_CACHEVAR=yes"
   9595 else case e in #(
   9596   e) eval "$as_CACHEVAR=no" ;;
   9597 esac
   9598 fi
   9599 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9600     conftest$ac_exeext conftest.$ac_ext
   9601   CFLAGS=$ax_check_save_flags ;;
   9602 esac
   9603 fi
   9604 eval ac_res=\$$as_CACHEVAR
   9605 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   9606 printf "%s\n" "$ac_res" >&6; }
   9607 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   9608 then :
   9609   CWFLAGS="$CWFLAGS -Wformat=2"
   9610 else case e in #(
   9611   e) : ;;
   9612 esac
   9613 fi
   9614 
   9615 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wlogical-op" | sed "$as_sed_sh"`
   9616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wlogical-op" >&5
   9617 printf %s "checking whether C compiler accepts $CWFLAGS -Wlogical-op... " >&6; }
   9618 if eval test \${$as_CACHEVAR+y}
   9619 then :
   9620   printf %s "(cached) " >&6
   9621 else case e in #(
   9622   e)
   9623   ax_check_save_flags=$CFLAGS
   9624   CFLAGS="$CFLAGS  $CWFLAGS -Wlogical-op"
   9625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9626 /* end confdefs.h.  */
   9627 #include <time.h>
   9628 int
   9629 main (void)
   9630 {
   9631 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   9632 
   9633   ;
   9634   return 0;
   9635 }
   9636 _ACEOF
   9637 if ac_fn_c_try_link "$LINENO"
   9638 then :
   9639   eval "$as_CACHEVAR=yes"
   9640 else case e in #(
   9641   e) eval "$as_CACHEVAR=no" ;;
   9642 esac
   9643 fi
   9644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9645     conftest$ac_exeext conftest.$ac_ext
   9646   CFLAGS=$ax_check_save_flags ;;
   9647 esac
   9648 fi
   9649 eval ac_res=\$$as_CACHEVAR
   9650 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   9651 printf "%s\n" "$ac_res" >&6; }
   9652 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   9653 then :
   9654   CWFLAGS="$CWFLAGS -Wlogical-op"
   9655 else case e in #(
   9656   e) : ;;
   9657 esac
   9658 fi
   9659 
   9660 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wmaybe-uninitialized" | sed "$as_sed_sh"`
   9661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wmaybe-uninitialized" >&5
   9662 printf %s "checking whether C compiler accepts $CWFLAGS -Wmaybe-uninitialized... " >&6; }
   9663 if eval test \${$as_CACHEVAR+y}
   9664 then :
   9665   printf %s "(cached) " >&6
   9666 else case e in #(
   9667   e)
   9668   ax_check_save_flags=$CFLAGS
   9669   CFLAGS="$CFLAGS  $CWFLAGS -Wmaybe-uninitialized"
   9670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9671 /* end confdefs.h.  */
   9672 #include <time.h>
   9673 int
   9674 main (void)
   9675 {
   9676 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   9677 
   9678   ;
   9679   return 0;
   9680 }
   9681 _ACEOF
   9682 if ac_fn_c_try_link "$LINENO"
   9683 then :
   9684   eval "$as_CACHEVAR=yes"
   9685 else case e in #(
   9686   e) eval "$as_CACHEVAR=no" ;;
   9687 esac
   9688 fi
   9689 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9690     conftest$ac_exeext conftest.$ac_ext
   9691   CFLAGS=$ax_check_save_flags ;;
   9692 esac
   9693 fi
   9694 eval ac_res=\$$as_CACHEVAR
   9695 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   9696 printf "%s\n" "$ac_res" >&6; }
   9697 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   9698 then :
   9699   CWFLAGS="$CWFLAGS -Wmaybe-uninitialized"
   9700 else case e in #(
   9701   e) : ;;
   9702 esac
   9703 fi
   9704 
   9705 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wmisleading-indentation" | sed "$as_sed_sh"`
   9706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wmisleading-indentation" >&5
   9707 printf %s "checking whether C compiler accepts $CWFLAGS -Wmisleading-indentation... " >&6; }
   9708 if eval test \${$as_CACHEVAR+y}
   9709 then :
   9710   printf %s "(cached) " >&6
   9711 else case e in #(
   9712   e)
   9713   ax_check_save_flags=$CFLAGS
   9714   CFLAGS="$CFLAGS  $CWFLAGS -Wmisleading-indentation"
   9715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9716 /* end confdefs.h.  */
   9717 #include <time.h>
   9718 int
   9719 main (void)
   9720 {
   9721 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   9722 
   9723   ;
   9724   return 0;
   9725 }
   9726 _ACEOF
   9727 if ac_fn_c_try_link "$LINENO"
   9728 then :
   9729   eval "$as_CACHEVAR=yes"
   9730 else case e in #(
   9731   e) eval "$as_CACHEVAR=no" ;;
   9732 esac
   9733 fi
   9734 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9735     conftest$ac_exeext conftest.$ac_ext
   9736   CFLAGS=$ax_check_save_flags ;;
   9737 esac
   9738 fi
   9739 eval ac_res=\$$as_CACHEVAR
   9740 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   9741 printf "%s\n" "$ac_res" >&6; }
   9742 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   9743 then :
   9744   CWFLAGS="$CWFLAGS -Wmisleading-indentation"
   9745 else case e in #(
   9746   e) : ;;
   9747 esac
   9748 fi
   9749 
   9750 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wmissing-declarations" | sed "$as_sed_sh"`
   9751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wmissing-declarations" >&5
   9752 printf %s "checking whether C compiler accepts $CWFLAGS -Wmissing-declarations... " >&6; }
   9753 if eval test \${$as_CACHEVAR+y}
   9754 then :
   9755   printf %s "(cached) " >&6
   9756 else case e in #(
   9757   e)
   9758   ax_check_save_flags=$CFLAGS
   9759   CFLAGS="$CFLAGS  $CWFLAGS -Wmissing-declarations"
   9760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9761 /* end confdefs.h.  */
   9762 #include <time.h>
   9763 int
   9764 main (void)
   9765 {
   9766 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   9767 
   9768   ;
   9769   return 0;
   9770 }
   9771 _ACEOF
   9772 if ac_fn_c_try_link "$LINENO"
   9773 then :
   9774   eval "$as_CACHEVAR=yes"
   9775 else case e in #(
   9776   e) eval "$as_CACHEVAR=no" ;;
   9777 esac
   9778 fi
   9779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9780     conftest$ac_exeext conftest.$ac_ext
   9781   CFLAGS=$ax_check_save_flags ;;
   9782 esac
   9783 fi
   9784 eval ac_res=\$$as_CACHEVAR
   9785 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   9786 printf "%s\n" "$ac_res" >&6; }
   9787 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   9788 then :
   9789   CWFLAGS="$CWFLAGS -Wmissing-declarations"
   9790 else case e in #(
   9791   e) : ;;
   9792 esac
   9793 fi
   9794 
   9795 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wmissing-prototypes" | sed "$as_sed_sh"`
   9796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wmissing-prototypes" >&5
   9797 printf %s "checking whether C compiler accepts $CWFLAGS -Wmissing-prototypes... " >&6; }
   9798 if eval test \${$as_CACHEVAR+y}
   9799 then :
   9800   printf %s "(cached) " >&6
   9801 else case e in #(
   9802   e)
   9803   ax_check_save_flags=$CFLAGS
   9804   CFLAGS="$CFLAGS  $CWFLAGS -Wmissing-prototypes"
   9805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9806 /* end confdefs.h.  */
   9807 #include <time.h>
   9808 int
   9809 main (void)
   9810 {
   9811 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   9812 
   9813   ;
   9814   return 0;
   9815 }
   9816 _ACEOF
   9817 if ac_fn_c_try_link "$LINENO"
   9818 then :
   9819   eval "$as_CACHEVAR=yes"
   9820 else case e in #(
   9821   e) eval "$as_CACHEVAR=no" ;;
   9822 esac
   9823 fi
   9824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9825     conftest$ac_exeext conftest.$ac_ext
   9826   CFLAGS=$ax_check_save_flags ;;
   9827 esac
   9828 fi
   9829 eval ac_res=\$$as_CACHEVAR
   9830 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   9831 printf "%s\n" "$ac_res" >&6; }
   9832 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   9833 then :
   9834   CWFLAGS="$CWFLAGS -Wmissing-prototypes"
   9835 else case e in #(
   9836   e) : ;;
   9837 esac
   9838 fi
   9839 
   9840 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wnested-externs" | sed "$as_sed_sh"`
   9841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wnested-externs" >&5
   9842 printf %s "checking whether C compiler accepts $CWFLAGS -Wnested-externs... " >&6; }
   9843 if eval test \${$as_CACHEVAR+y}
   9844 then :
   9845   printf %s "(cached) " >&6
   9846 else case e in #(
   9847   e)
   9848   ax_check_save_flags=$CFLAGS
   9849   CFLAGS="$CFLAGS  $CWFLAGS -Wnested-externs"
   9850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9851 /* end confdefs.h.  */
   9852 #include <time.h>
   9853 int
   9854 main (void)
   9855 {
   9856 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   9857 
   9858   ;
   9859   return 0;
   9860 }
   9861 _ACEOF
   9862 if ac_fn_c_try_link "$LINENO"
   9863 then :
   9864   eval "$as_CACHEVAR=yes"
   9865 else case e in #(
   9866   e) eval "$as_CACHEVAR=no" ;;
   9867 esac
   9868 fi
   9869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9870     conftest$ac_exeext conftest.$ac_ext
   9871   CFLAGS=$ax_check_save_flags ;;
   9872 esac
   9873 fi
   9874 eval ac_res=\$$as_CACHEVAR
   9875 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   9876 printf "%s\n" "$ac_res" >&6; }
   9877 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   9878 then :
   9879   CWFLAGS="$CWFLAGS -Wnested-externs"
   9880 else case e in #(
   9881   e) : ;;
   9882 esac
   9883 fi
   9884 
   9885 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wno-type-limits" | sed "$as_sed_sh"`
   9886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wno-type-limits" >&5
   9887 printf %s "checking whether C compiler accepts $CWFLAGS -Wno-type-limits... " >&6; }
   9888 if eval test \${$as_CACHEVAR+y}
   9889 then :
   9890   printf %s "(cached) " >&6
   9891 else case e in #(
   9892   e)
   9893   ax_check_save_flags=$CFLAGS
   9894   CFLAGS="$CFLAGS  $CWFLAGS -Wno-type-limits"
   9895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9896 /* end confdefs.h.  */
   9897 #include <time.h>
   9898 int
   9899 main (void)
   9900 {
   9901 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   9902 
   9903   ;
   9904   return 0;
   9905 }
   9906 _ACEOF
   9907 if ac_fn_c_try_link "$LINENO"
   9908 then :
   9909   eval "$as_CACHEVAR=yes"
   9910 else case e in #(
   9911   e) eval "$as_CACHEVAR=no" ;;
   9912 esac
   9913 fi
   9914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9915     conftest$ac_exeext conftest.$ac_ext
   9916   CFLAGS=$ax_check_save_flags ;;
   9917 esac
   9918 fi
   9919 eval ac_res=\$$as_CACHEVAR
   9920 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   9921 printf "%s\n" "$ac_res" >&6; }
   9922 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   9923 then :
   9924   CWFLAGS="$CWFLAGS -Wno-type-limits"
   9925 else case e in #(
   9926   e) : ;;
   9927 esac
   9928 fi
   9929 
   9930 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wno-unknown-pragmas" | sed "$as_sed_sh"`
   9931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wno-unknown-pragmas" >&5
   9932 printf %s "checking whether C compiler accepts $CWFLAGS -Wno-unknown-pragmas... " >&6; }
   9933 if eval test \${$as_CACHEVAR+y}
   9934 then :
   9935   printf %s "(cached) " >&6
   9936 else case e in #(
   9937   e)
   9938   ax_check_save_flags=$CFLAGS
   9939   CFLAGS="$CFLAGS  $CWFLAGS -Wno-unknown-pragmas"
   9940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9941 /* end confdefs.h.  */
   9942 #include <time.h>
   9943 int
   9944 main (void)
   9945 {
   9946 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   9947 
   9948   ;
   9949   return 0;
   9950 }
   9951 _ACEOF
   9952 if ac_fn_c_try_link "$LINENO"
   9953 then :
   9954   eval "$as_CACHEVAR=yes"
   9955 else case e in #(
   9956   e) eval "$as_CACHEVAR=no" ;;
   9957 esac
   9958 fi
   9959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9960     conftest$ac_exeext conftest.$ac_ext
   9961   CFLAGS=$ax_check_save_flags ;;
   9962 esac
   9963 fi
   9964 eval ac_res=\$$as_CACHEVAR
   9965 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   9966 printf "%s\n" "$ac_res" >&6; }
   9967 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   9968 then :
   9969   CWFLAGS="$CWFLAGS -Wno-unknown-pragmas"
   9970 else case e in #(
   9971   e) : ;;
   9972 esac
   9973 fi
   9974 
   9975 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wnormalized=id" | sed "$as_sed_sh"`
   9976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wnormalized=id" >&5
   9977 printf %s "checking whether C compiler accepts $CWFLAGS -Wnormalized=id... " >&6; }
   9978 if eval test \${$as_CACHEVAR+y}
   9979 then :
   9980   printf %s "(cached) " >&6
   9981 else case e in #(
   9982   e)
   9983   ax_check_save_flags=$CFLAGS
   9984   CFLAGS="$CFLAGS  $CWFLAGS -Wnormalized=id"
   9985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9986 /* end confdefs.h.  */
   9987 #include <time.h>
   9988 int
   9989 main (void)
   9990 {
   9991 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   9992 
   9993   ;
   9994   return 0;
   9995 }
   9996 _ACEOF
   9997 if ac_fn_c_try_link "$LINENO"
   9998 then :
   9999   eval "$as_CACHEVAR=yes"
  10000 else case e in #(
  10001   e) eval "$as_CACHEVAR=no" ;;
  10002 esac
  10003 fi
  10004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10005     conftest$ac_exeext conftest.$ac_ext
  10006   CFLAGS=$ax_check_save_flags ;;
  10007 esac
  10008 fi
  10009 eval ac_res=\$$as_CACHEVAR
  10010 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  10011 printf "%s\n" "$ac_res" >&6; }
  10012 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
  10013 then :
  10014   CWFLAGS="$CWFLAGS -Wnormalized=id"
  10015 else case e in #(
  10016   e) : ;;
  10017 esac
  10018 fi
  10019 
  10020 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wnull-dereference" | sed "$as_sed_sh"`
  10021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wnull-dereference" >&5
  10022 printf %s "checking whether C compiler accepts $CWFLAGS -Wnull-dereference... " >&6; }
  10023 if eval test \${$as_CACHEVAR+y}
  10024 then :
  10025   printf %s "(cached) " >&6
  10026 else case e in #(
  10027   e)
  10028   ax_check_save_flags=$CFLAGS
  10029   CFLAGS="$CFLAGS  $CWFLAGS -Wnull-dereference"
  10030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10031 /* end confdefs.h.  */
  10032 #include <time.h>
  10033 int
  10034 main (void)
  10035 {
  10036 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  10037 
  10038   ;
  10039   return 0;
  10040 }
  10041 _ACEOF
  10042 if ac_fn_c_try_link "$LINENO"
  10043 then :
  10044   eval "$as_CACHEVAR=yes"
  10045 else case e in #(
  10046   e) eval "$as_CACHEVAR=no" ;;
  10047 esac
  10048 fi
  10049 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10050     conftest$ac_exeext conftest.$ac_ext
  10051   CFLAGS=$ax_check_save_flags ;;
  10052 esac
  10053 fi
  10054 eval ac_res=\$$as_CACHEVAR
  10055 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  10056 printf "%s\n" "$ac_res" >&6; }
  10057 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
  10058 then :
  10059   CWFLAGS="$CWFLAGS -Wnull-dereference"
  10060 else case e in #(
  10061   e) : ;;
  10062 esac
  10063 fi
  10064 
  10065 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wold-style-declaration" | sed "$as_sed_sh"`
  10066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wold-style-declaration" >&5
  10067 printf %s "checking whether C compiler accepts $CWFLAGS -Wold-style-declaration... " >&6; }
  10068 if eval test \${$as_CACHEVAR+y}
  10069 then :
  10070   printf %s "(cached) " >&6
  10071 else case e in #(
  10072   e)
  10073   ax_check_save_flags=$CFLAGS
  10074   CFLAGS="$CFLAGS  $CWFLAGS -Wold-style-declaration"
  10075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10076 /* end confdefs.h.  */
  10077 #include <time.h>
  10078 int
  10079 main (void)
  10080 {
  10081 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  10082 
  10083   ;
  10084   return 0;
  10085 }
  10086 _ACEOF
  10087 if ac_fn_c_try_link "$LINENO"
  10088 then :
  10089   eval "$as_CACHEVAR=yes"
  10090 else case e in #(
  10091   e) eval "$as_CACHEVAR=no" ;;
  10092 esac
  10093 fi
  10094 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10095     conftest$ac_exeext conftest.$ac_ext
  10096   CFLAGS=$ax_check_save_flags ;;
  10097 esac
  10098 fi
  10099 eval ac_res=\$$as_CACHEVAR
  10100 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  10101 printf "%s\n" "$ac_res" >&6; }
  10102 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
  10103 then :
  10104   CWFLAGS="$CWFLAGS -Wold-style-declaration"
  10105 else case e in #(
  10106   e) : ;;
  10107 esac
  10108 fi
  10109 
  10110 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wpointer-arith" | sed "$as_sed_sh"`
  10111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wpointer-arith" >&5
  10112 printf %s "checking whether C compiler accepts $CWFLAGS -Wpointer-arith... " >&6; }
  10113 if eval test \${$as_CACHEVAR+y}
  10114 then :
  10115   printf %s "(cached) " >&6
  10116 else case e in #(
  10117   e)
  10118   ax_check_save_flags=$CFLAGS
  10119   CFLAGS="$CFLAGS  $CWFLAGS -Wpointer-arith"
  10120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10121 /* end confdefs.h.  */
  10122 #include <time.h>
  10123 int
  10124 main (void)
  10125 {
  10126 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  10127 
  10128   ;
  10129   return 0;
  10130 }
  10131 _ACEOF
  10132 if ac_fn_c_try_link "$LINENO"
  10133 then :
  10134   eval "$as_CACHEVAR=yes"
  10135 else case e in #(
  10136   e) eval "$as_CACHEVAR=no" ;;
  10137 esac
  10138 fi
  10139 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10140     conftest$ac_exeext conftest.$ac_ext
  10141   CFLAGS=$ax_check_save_flags ;;
  10142 esac
  10143 fi
  10144 eval ac_res=\$$as_CACHEVAR
  10145 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  10146 printf "%s\n" "$ac_res" >&6; }
  10147 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
  10148 then :
  10149   CWFLAGS="$CWFLAGS -Wpointer-arith"
  10150 else case e in #(
  10151   e) : ;;
  10152 esac
  10153 fi
  10154 
  10155 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wredundant-decls" | sed "$as_sed_sh"`
  10156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wredundant-decls" >&5
  10157 printf %s "checking whether C compiler accepts $CWFLAGS -Wredundant-decls... " >&6; }
  10158 if eval test \${$as_CACHEVAR+y}
  10159 then :
  10160   printf %s "(cached) " >&6
  10161 else case e in #(
  10162   e)
  10163   ax_check_save_flags=$CFLAGS
  10164   CFLAGS="$CFLAGS  $CWFLAGS -Wredundant-decls"
  10165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10166 /* end confdefs.h.  */
  10167 #include <time.h>
  10168 int
  10169 main (void)
  10170 {
  10171 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  10172 
  10173   ;
  10174   return 0;
  10175 }
  10176 _ACEOF
  10177 if ac_fn_c_try_link "$LINENO"
  10178 then :
  10179   eval "$as_CACHEVAR=yes"
  10180 else case e in #(
  10181   e) eval "$as_CACHEVAR=no" ;;
  10182 esac
  10183 fi
  10184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10185     conftest$ac_exeext conftest.$ac_ext
  10186   CFLAGS=$ax_check_save_flags ;;
  10187 esac
  10188 fi
  10189 eval ac_res=\$$as_CACHEVAR
  10190 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  10191 printf "%s\n" "$ac_res" >&6; }
  10192 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
  10193 then :
  10194   CWFLAGS="$CWFLAGS -Wredundant-decls"
  10195 else case e in #(
  10196   e) : ;;
  10197 esac
  10198 fi
  10199 
  10200 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wrestrict" | sed "$as_sed_sh"`
  10201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wrestrict" >&5
  10202 printf %s "checking whether C compiler accepts $CWFLAGS -Wrestrict... " >&6; }
  10203 if eval test \${$as_CACHEVAR+y}
  10204 then :
  10205   printf %s "(cached) " >&6
  10206 else case e in #(
  10207   e)
  10208   ax_check_save_flags=$CFLAGS
  10209   CFLAGS="$CFLAGS  $CWFLAGS -Wrestrict"
  10210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10211 /* end confdefs.h.  */
  10212 #include <time.h>
  10213 int
  10214 main (void)
  10215 {
  10216 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  10217 
  10218   ;
  10219   return 0;
  10220 }
  10221 _ACEOF
  10222 if ac_fn_c_try_link "$LINENO"
  10223 then :
  10224   eval "$as_CACHEVAR=yes"
  10225 else case e in #(
  10226   e) eval "$as_CACHEVAR=no" ;;
  10227 esac
  10228 fi
  10229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10230     conftest$ac_exeext conftest.$ac_ext
  10231   CFLAGS=$ax_check_save_flags ;;
  10232 esac
  10233 fi
  10234 eval ac_res=\$$as_CACHEVAR
  10235 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  10236 printf "%s\n" "$ac_res" >&6; }
  10237 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
  10238 then :
  10239   CWFLAGS="$CWFLAGS -Wrestrict"
  10240 else case e in #(
  10241   e) : ;;
  10242 esac
  10243 fi
  10244 
  10245 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wshorten-64-to-32" | sed "$as_sed_sh"`
  10246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wshorten-64-to-32" >&5
  10247 printf %s "checking whether C compiler accepts $CWFLAGS -Wshorten-64-to-32... " >&6; }
  10248 if eval test \${$as_CACHEVAR+y}
  10249 then :
  10250   printf %s "(cached) " >&6
  10251 else case e in #(
  10252   e)
  10253   ax_check_save_flags=$CFLAGS
  10254   CFLAGS="$CFLAGS  $CWFLAGS -Wshorten-64-to-32"
  10255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10256 /* end confdefs.h.  */
  10257 #include <time.h>
  10258 int
  10259 main (void)
  10260 {
  10261 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  10262 
  10263   ;
  10264   return 0;
  10265 }
  10266 _ACEOF
  10267 if ac_fn_c_try_link "$LINENO"
  10268 then :
  10269   eval "$as_CACHEVAR=yes"
  10270 else case e in #(
  10271   e) eval "$as_CACHEVAR=no" ;;
  10272 esac
  10273 fi
  10274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10275     conftest$ac_exeext conftest.$ac_ext
  10276   CFLAGS=$ax_check_save_flags ;;
  10277 esac
  10278 fi
  10279 eval ac_res=\$$as_CACHEVAR
  10280 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  10281 printf "%s\n" "$ac_res" >&6; }
  10282 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
  10283 then :
  10284   CWFLAGS="$CWFLAGS -Wshorten-64-to-32"
  10285 else case e in #(
  10286   e) : ;;
  10287 esac
  10288 fi
  10289 
  10290 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wsometimes-uninitialized" | sed "$as_sed_sh"`
  10291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wsometimes-uninitialized" >&5
  10292 printf %s "checking whether C compiler accepts $CWFLAGS -Wsometimes-uninitialized... " >&6; }
  10293 if eval test \${$as_CACHEVAR+y}
  10294 then :
  10295   printf %s "(cached) " >&6
  10296 else case e in #(
  10297   e)
  10298   ax_check_save_flags=$CFLAGS
  10299   CFLAGS="$CFLAGS  $CWFLAGS -Wsometimes-uninitialized"
  10300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10301 /* end confdefs.h.  */
  10302 #include <time.h>
  10303 int
  10304 main (void)
  10305 {
  10306 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  10307 
  10308   ;
  10309   return 0;
  10310 }
  10311 _ACEOF
  10312 if ac_fn_c_try_link "$LINENO"
  10313 then :
  10314   eval "$as_CACHEVAR=yes"
  10315 else case e in #(
  10316   e) eval "$as_CACHEVAR=no" ;;
  10317 esac
  10318 fi
  10319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10320     conftest$ac_exeext conftest.$ac_ext
  10321   CFLAGS=$ax_check_save_flags ;;
  10322 esac
  10323 fi
  10324 eval ac_res=\$$as_CACHEVAR
  10325 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  10326 printf "%s\n" "$ac_res" >&6; }
  10327 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
  10328 then :
  10329   CWFLAGS="$CWFLAGS -Wsometimes-uninitialized"
  10330 else case e in #(
  10331   e) : ;;
  10332 esac
  10333 fi
  10334 
  10335 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wstrict-prototypes" | sed "$as_sed_sh"`
  10336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wstrict-prototypes" >&5
  10337 printf %s "checking whether C compiler accepts $CWFLAGS -Wstrict-prototypes... " >&6; }
  10338 if eval test \${$as_CACHEVAR+y}
  10339 then :
  10340   printf %s "(cached) " >&6
  10341 else case e in #(
  10342   e)
  10343   ax_check_save_flags=$CFLAGS
  10344   CFLAGS="$CFLAGS  $CWFLAGS -Wstrict-prototypes"
  10345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10346 /* end confdefs.h.  */
  10347 #include <time.h>
  10348 int
  10349 main (void)
  10350 {
  10351 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  10352 
  10353   ;
  10354   return 0;
  10355 }
  10356 _ACEOF
  10357 if ac_fn_c_try_link "$LINENO"
  10358 then :
  10359   eval "$as_CACHEVAR=yes"
  10360 else case e in #(
  10361   e) eval "$as_CACHEVAR=no" ;;
  10362 esac
  10363 fi
  10364 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10365     conftest$ac_exeext conftest.$ac_ext
  10366   CFLAGS=$ax_check_save_flags ;;
  10367 esac
  10368 fi
  10369 eval ac_res=\$$as_CACHEVAR
  10370 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  10371 printf "%s\n" "$ac_res" >&6; }
  10372 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
  10373 then :
  10374   CWFLAGS="$CWFLAGS -Wstrict-prototypes"
  10375 else case e in #(
  10376   e) : ;;
  10377 esac
  10378 fi
  10379 
  10380 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wswitch-enum" | sed "$as_sed_sh"`
  10381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wswitch-enum" >&5
  10382 printf %s "checking whether C compiler accepts $CWFLAGS -Wswitch-enum... " >&6; }
  10383 if eval test \${$as_CACHEVAR+y}
  10384 then :
  10385   printf %s "(cached) " >&6
  10386 else case e in #(
  10387   e)
  10388   ax_check_save_flags=$CFLAGS
  10389   CFLAGS="$CFLAGS  $CWFLAGS -Wswitch-enum"
  10390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10391 /* end confdefs.h.  */
  10392 #include <time.h>
  10393 int
  10394 main (void)
  10395 {
  10396 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  10397 
  10398   ;
  10399   return 0;
  10400 }
  10401 _ACEOF
  10402 if ac_fn_c_try_link "$LINENO"
  10403 then :
  10404   eval "$as_CACHEVAR=yes"
  10405 else case e in #(
  10406   e) eval "$as_CACHEVAR=no" ;;
  10407 esac
  10408 fi
  10409 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10410     conftest$ac_exeext conftest.$ac_ext
  10411   CFLAGS=$ax_check_save_flags ;;
  10412 esac
  10413 fi
  10414 eval ac_res=\$$as_CACHEVAR
  10415 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  10416 printf "%s\n" "$ac_res" >&6; }
  10417 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
  10418 then :
  10419   CWFLAGS="$CWFLAGS -Wswitch-enum"
  10420 else case e in #(
  10421   e) : ;;
  10422 esac
  10423 fi
  10424 
  10425 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wvariable-decl" | sed "$as_sed_sh"`
  10426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wvariable-decl" >&5
  10427 printf %s "checking whether C compiler accepts $CWFLAGS -Wvariable-decl... " >&6; }
  10428 if eval test \${$as_CACHEVAR+y}
  10429 then :
  10430   printf %s "(cached) " >&6
  10431 else case e in #(
  10432   e)
  10433   ax_check_save_flags=$CFLAGS
  10434   CFLAGS="$CFLAGS  $CWFLAGS -Wvariable-decl"
  10435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10436 /* end confdefs.h.  */
  10437 #include <time.h>
  10438 int
  10439 main (void)
  10440 {
  10441 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  10442 
  10443   ;
  10444   return 0;
  10445 }
  10446 _ACEOF
  10447 if ac_fn_c_try_link "$LINENO"
  10448 then :
  10449   eval "$as_CACHEVAR=yes"
  10450 else case e in #(
  10451   e) eval "$as_CACHEVAR=no" ;;
  10452 esac
  10453 fi
  10454 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10455     conftest$ac_exeext conftest.$ac_ext
  10456   CFLAGS=$ax_check_save_flags ;;
  10457 esac
  10458 fi
  10459 eval ac_res=\$$as_CACHEVAR
  10460 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  10461 printf "%s\n" "$ac_res" >&6; }
  10462 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
  10463 then :
  10464   CWFLAGS="$CWFLAGS -Wvariable-decl"
  10465 else case e in #(
  10466   e) : ;;
  10467 esac
  10468 fi
  10469 
  10470 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CWFLAGS -Wwrite-strings" | sed "$as_sed_sh"`
  10471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wwrite-strings" >&5
  10472 printf %s "checking whether C compiler accepts $CWFLAGS -Wwrite-strings... " >&6; }
  10473 if eval test \${$as_CACHEVAR+y}
  10474 then :
  10475   printf %s "(cached) " >&6
  10476 else case e in #(
  10477   e)
  10478   ax_check_save_flags=$CFLAGS
  10479   CFLAGS="$CFLAGS  $CWFLAGS -Wwrite-strings"
  10480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10481 /* end confdefs.h.  */
  10482 #include <time.h>
  10483 int
  10484 main (void)
  10485 {
  10486 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  10487 
  10488   ;
  10489   return 0;
  10490 }
  10491 _ACEOF
  10492 if ac_fn_c_try_link "$LINENO"
  10493 then :
  10494   eval "$as_CACHEVAR=yes"
  10495 else case e in #(
  10496   e) eval "$as_CACHEVAR=no" ;;
  10497 esac
  10498 fi
  10499 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10500     conftest$ac_exeext conftest.$ac_ext
  10501   CFLAGS=$ax_check_save_flags ;;
  10502 esac
  10503 fi
  10504 eval ac_res=\$$as_CACHEVAR
  10505 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  10506 printf "%s\n" "$ac_res" >&6; }
  10507 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
  10508 then :
  10509   CWFLAGS="$CWFLAGS -Wwrite-strings"
  10510 else case e in #(
  10511   e) : ;;
  10512 esac
  10513 fi
  10514 
  10515 
  10516 if test "x$EMSCRIPTEN" = "x"
  10517 then :
  10518 
  10519   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,relro" >&5
  10520 printf %s "checking whether the linker accepts -Wl,-z,relro... " >&6; }
  10521 if test ${ax_cv_check_ldflags___Wl__z_relro+y}
  10522 then :
  10523   printf %s "(cached) " >&6
  10524 else case e in #(
  10525   e)
  10526   ax_check_save_flags=$LDFLAGS
  10527   LDFLAGS="$LDFLAGS  -Wl,-z,relro"
  10528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10529 /* end confdefs.h.  */
  10530 #include <time.h>
  10531 int
  10532 main (void)
  10533 {
  10534 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  10535   ;
  10536   return 0;
  10537 }
  10538 _ACEOF
  10539 if ac_fn_c_try_link "$LINENO"
  10540 then :
  10541   ax_cv_check_ldflags___Wl__z_relro=yes
  10542 else case e in #(
  10543   e) ax_cv_check_ldflags___Wl__z_relro=no ;;
  10544 esac
  10545 fi
  10546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10547     conftest$ac_exeext conftest.$ac_ext
  10548   LDFLAGS=$ax_check_save_flags ;;
  10549 esac
  10550 fi
  10551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_relro" >&5
  10552 printf "%s\n" "$ax_cv_check_ldflags___Wl__z_relro" >&6; }
  10553 if test "x$ax_cv_check_ldflags___Wl__z_relro" = xyes
  10554 then :
  10555   LDFLAGS="$LDFLAGS -Wl,-z,relro"
  10556 else case e in #(
  10557   e) : ;;
  10558 esac
  10559 fi
  10560 
  10561   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,now" >&5
  10562 printf %s "checking whether the linker accepts -Wl,-z,now... " >&6; }
  10563 if test ${ax_cv_check_ldflags___Wl__z_now+y}
  10564 then :
  10565   printf %s "(cached) " >&6
  10566 else case e in #(
  10567   e)
  10568   ax_check_save_flags=$LDFLAGS
  10569   LDFLAGS="$LDFLAGS  -Wl,-z,now"
  10570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10571 /* end confdefs.h.  */
  10572 #include <time.h>
  10573 int
  10574 main (void)
  10575 {
  10576 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  10577   ;
  10578   return 0;
  10579 }
  10580 _ACEOF
  10581 if ac_fn_c_try_link "$LINENO"
  10582 then :
  10583   ax_cv_check_ldflags___Wl__z_now=yes
  10584 else case e in #(
  10585   e) ax_cv_check_ldflags___Wl__z_now=no ;;
  10586 esac
  10587 fi
  10588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10589     conftest$ac_exeext conftest.$ac_ext
  10590   LDFLAGS=$ax_check_save_flags ;;
  10591 esac
  10592 fi
  10593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_now" >&5
  10594 printf "%s\n" "$ax_cv_check_ldflags___Wl__z_now" >&6; }
  10595 if test "x$ax_cv_check_ldflags___Wl__z_now" = xyes
  10596 then :
  10597   LDFLAGS="$LDFLAGS -Wl,-z,now"
  10598 else case e in #(
  10599   e) : ;;
  10600 esac
  10601 fi
  10602 
  10603   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,noexecstack" >&5
  10604 printf %s "checking whether the linker accepts -Wl,-z,noexecstack... " >&6; }
  10605 if test ${ax_cv_check_ldflags___Wl__z_noexecstack+y}
  10606 then :
  10607   printf %s "(cached) " >&6
  10608 else case e in #(
  10609   e)
  10610   ax_check_save_flags=$LDFLAGS
  10611   LDFLAGS="$LDFLAGS  -Wl,-z,noexecstack"
  10612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10613 /* end confdefs.h.  */
  10614 #include <time.h>
  10615 int
  10616 main (void)
  10617 {
  10618 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  10619   ;
  10620   return 0;
  10621 }
  10622 _ACEOF
  10623 if ac_fn_c_try_link "$LINENO"
  10624 then :
  10625   ax_cv_check_ldflags___Wl__z_noexecstack=yes
  10626 else case e in #(
  10627   e) ax_cv_check_ldflags___Wl__z_noexecstack=no ;;
  10628 esac
  10629 fi
  10630 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10631     conftest$ac_exeext conftest.$ac_ext
  10632   LDFLAGS=$ax_check_save_flags ;;
  10633 esac
  10634 fi
  10635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_noexecstack" >&5
  10636 printf "%s\n" "$ax_cv_check_ldflags___Wl__z_noexecstack" >&6; }
  10637 if test "x$ax_cv_check_ldflags___Wl__z_noexecstack" = xyes
  10638 then :
  10639   LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"
  10640 else case e in #(
  10641   e) : ;;
  10642 esac
  10643 fi
  10644 
  10645 
  10646 fi
  10647 
  10648 
  10649         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether segmentation violations can be caught" >&5
  10650 printf %s "checking whether segmentation violations can be caught... " >&6; }
  10651 if test ${ax_cv_check_cCATCHABLE_SEGV+y}
  10652 then :
  10653   printf %s "(cached) " >&6
  10654 else case e in #(
  10655   e)
  10656         if test "$cross_compiling" = yes
  10657 then :
  10658   ax_cv_check_cCATCHABLE_SEGV=unknown
  10659 
  10660 else case e in #(
  10661   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10662 /* end confdefs.h.  */
  10663 
  10664 
  10665 #include <signal.h>
  10666 #include <stdlib.h>
  10667 static void sig(int _) { exit(0); }
  10668 
  10669 int
  10670 main (void)
  10671 {
  10672 
  10673 volatile unsigned char * volatile x = (volatile unsigned char *) malloc(8);
  10674 size_t i;
  10675 
  10676 #ifdef SIGPROT
  10677 signal(SIGPROT, sig);
  10678 #endif
  10679 signal(SIGSEGV, sig);
  10680 signal(SIGBUS, sig);
  10681 #if !defined(__SANITIZE_ADDRESS__) && !defined(__EMSCRIPTEN__)
  10682 *((volatile unsigned char *) -1) = 0xd0;
  10683 *((volatile unsigned char *) 1) = 0xd0;
  10684 for (i = 0; i < 10000000; i += 1024) { x[-i] = x[i] = (unsigned char) i; }
  10685 #endif
  10686 free((void *) x);
  10687 exit(1)
  10688 
  10689   ;
  10690   return 0;
  10691 }
  10692 _ACEOF
  10693 if ac_fn_c_try_run "$LINENO"
  10694 then :
  10695   ax_cv_check_cCATCHABLE_SEGV=yes
  10696 else case e in #(
  10697   e) ax_cv_check_cCATCHABLE_SEGV=no ;;
  10698 esac
  10699 fi
  10700 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  10701   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
  10702 esac
  10703 fi
  10704 
  10705      ;;
  10706 esac
  10707 fi
  10708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cCATCHABLE_SEGV" >&5
  10709 printf "%s\n" "$ax_cv_check_cCATCHABLE_SEGV" >&6; }
  10710     if test "x$ax_cv_check_cCATCHABLE_SEGV" = xyes
  10711 then :
  10712 
  10713 printf "%s\n" "#define HAVE_CATCHABLE_SEGV 1" >>confdefs.h
  10714 
  10715 else case e in #(
  10716   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: On this platform, segmentation violations cannot be caught using signal handlers. This is expected if you enabled a tool such as Address Sanitizer (-fsanitize=address), but be aware that using Address Sanitizer may also significantly reduce performance." >&5
  10717 printf "%s\n" "$as_me: WARNING: On this platform, segmentation violations cannot be caught using signal handlers. This is expected if you enabled a tool such as Address Sanitizer (-fsanitize=address), but be aware that using Address Sanitizer may also significantly reduce performance." >&2;}
  10718      ;;
  10719 esac
  10720 fi
  10721 
  10722 
  10723         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether SIGABRT can be caught" >&5
  10724 printf %s "checking whether SIGABRT can be caught... " >&6; }
  10725 if test ${ax_cv_check_cCATCHABLE_ABRT+y}
  10726 then :
  10727   printf %s "(cached) " >&6
  10728 else case e in #(
  10729   e)
  10730         if test "$cross_compiling" = yes
  10731 then :
  10732   ax_cv_check_cCATCHABLE_ABRT=unknown
  10733 
  10734 else case e in #(
  10735   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10736 /* end confdefs.h.  */
  10737 
  10738 
  10739 #include <signal.h>
  10740 #include <stdlib.h>
  10741 
  10742 #ifndef SIGABRT
  10743 # error SIGABRT is not defined
  10744 #endif
  10745 
  10746 static void sigabrt_handler_3(int _)
  10747 {
  10748     exit(0);
  10749 }
  10750 
  10751 static void sigabrt_handler_2(int _)
  10752 {
  10753     signal(SIGABRT, sigabrt_handler_3);
  10754     abort();
  10755     exit(1);
  10756 }
  10757 
  10758 static void sigabrt_handler_1(int _)
  10759 {
  10760     signal(SIGABRT, sigabrt_handler_2);
  10761     abort();
  10762     exit(1);
  10763 }
  10764 
  10765 int
  10766 main (void)
  10767 {
  10768 
  10769 signal(SIGABRT, sigabrt_handler_1);
  10770 abort();
  10771 exit(1);
  10772 
  10773   ;
  10774   return 0;
  10775 }
  10776 _ACEOF
  10777 if ac_fn_c_try_run "$LINENO"
  10778 then :
  10779   ax_cv_check_cCATCHABLE_ABRT=yes
  10780 else case e in #(
  10781   e) ax_cv_check_cCATCHABLE_ABRT=no ;;
  10782 esac
  10783 fi
  10784 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  10785   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
  10786 esac
  10787 fi
  10788 
  10789      ;;
  10790 esac
  10791 fi
  10792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cCATCHABLE_ABRT" >&5
  10793 printf "%s\n" "$ax_cv_check_cCATCHABLE_ABRT" >&6; }
  10794     if test "x$ax_cv_check_cCATCHABLE_ABRT" = xyes
  10795 then :
  10796 
  10797 printf "%s\n" "#define HAVE_CATCHABLE_ABRT 1" >>confdefs.h
  10798 
  10799 else case e in #(
  10800   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: On this platform, SIGABRT cannot be caught using signal handlers." >&5
  10801 printf "%s\n" "$as_me: WARNING: On this platform, SIGABRT cannot be caught using signal handlers." >&2;}
  10802      ;;
  10803 esac
  10804 fi
  10805 
  10806 
  10807 if test "x$with_threads" = "xyes"
  10808 then :
  10809 
  10810 
  10811   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for thread local storage (TLS) class" >&5
  10812 printf %s "checking for thread local storage (TLS) class... " >&6; }
  10813   if test ${ac_cv_tls+y}
  10814 then :
  10815   printf %s "(cached) " >&6
  10816 else case e in #(
  10817   e) for ax_tls_keyword in thread_local _Thread_local __thread '__declspec(thread)' none; do
  10818        case $ax_tls_keyword in #(
  10819   none) :
  10820     ac_cv_tls=none ; break ;; #(
  10821   *) :
  10822     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10823 /* end confdefs.h.  */
  10824 #include <stdlib.h>
  10825 int
  10826 main (void)
  10827 {
  10828 static  $ax_tls_keyword  int bar;
  10829 
  10830   ;
  10831   return 0;
  10832 }
  10833 _ACEOF
  10834 if ac_fn_c_try_compile "$LINENO"
  10835 then :
  10836   ac_cv_tls=$ax_tls_keyword ; break
  10837 else case e in #(
  10838   e) ac_cv_tls=none
  10839            ;;
  10840 esac
  10841 fi
  10842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  10843          ;;
  10844 esac
  10845     done
  10846    ;;
  10847 esac
  10848 fi
  10849 
  10850   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5
  10851 printf "%s\n" "$ac_cv_tls" >&6; }
  10852 
  10853   if test "$ac_cv_tls" != "none"
  10854 then :
  10855 
  10856 printf "%s\n" "#define TLS $ac_cv_tls" >>confdefs.h
  10857 
  10858      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: thread local storage is supported" >&5
  10859 printf "%s\n" "thread local storage is supported" >&6; }
  10860           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -ftls-model=local-dynamic" >&5
  10861 printf %s "checking whether C compiler accepts -ftls-model=local-dynamic... " >&6; }
  10862 if test ${ax_cv_check_cflags___ftls_model_local_dynamic+y}
  10863 then :
  10864   printf %s "(cached) " >&6
  10865 else case e in #(
  10866   e)
  10867   ax_check_save_flags=$CFLAGS
  10868   CFLAGS="$CFLAGS  -ftls-model=local-dynamic"
  10869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10870 /* end confdefs.h.  */
  10871 #include <time.h>
  10872 int
  10873 main (void)
  10874 {
  10875 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  10876 
  10877   ;
  10878   return 0;
  10879 }
  10880 _ACEOF
  10881 if ac_fn_c_try_link "$LINENO"
  10882 then :
  10883   ax_cv_check_cflags___ftls_model_local_dynamic=yes
  10884 else case e in #(
  10885   e) ax_cv_check_cflags___ftls_model_local_dynamic=no ;;
  10886 esac
  10887 fi
  10888 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  10889     conftest$ac_exeext conftest.$ac_ext
  10890   CFLAGS=$ax_check_save_flags ;;
  10891 esac
  10892 fi
  10893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___ftls_model_local_dynamic" >&5
  10894 printf "%s\n" "$ax_cv_check_cflags___ftls_model_local_dynamic" >&6; }
  10895 if test "x$ax_cv_check_cflags___ftls_model_local_dynamic" = xyes
  10896 then :
  10897   CFLAGS="$CFLAGS -ftls-model=local-dynamic"
  10898 else case e in #(
  10899   e) : ;;
  10900 esac
  10901 fi
  10902 
  10903 else case e in #(
  10904   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: thread local storage is not supported" >&5
  10905 printf "%s\n" "thread local storage is not supported" >&6; } ;;
  10906 esac
  10907 fi
  10908 
  10909 fi
  10910 
  10911 case `pwd` in
  10912   *\ * | *\	*)
  10913     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  10914 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  10915 esac
  10916 
  10917 
  10918 
  10919 macro_version='2.5.4'
  10920 macro_revision='2.5.4'
  10921 
  10922 
  10923 
  10924 
  10925 
  10926 
  10927 
  10928 
  10929 
  10930 
  10931 
  10932 
  10933 
  10934 
  10935 ltmain=$ac_aux_dir/ltmain.sh
  10936 
  10937 # Backslashify metacharacters that are still active within
  10938 # double-quoted strings.
  10939 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  10940 
  10941 # Same as above, but do not quote variable references.
  10942 double_quote_subst='s/\(["`\\]\)/\\\1/g'
  10943 
  10944 # Sed substitution to delay expansion of an escaped shell variable in a
  10945 # double_quote_subst'ed string.
  10946 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  10947 
  10948 # Sed substitution to delay expansion of an escaped single quote.
  10949 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  10950 
  10951 # Sed substitution to avoid accidental globbing in evaled expressions
  10952 no_glob_subst='s/\*/\\\*/g'
  10953 
  10954 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  10955 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  10956 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  10957 
  10958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  10959 printf %s "checking how to print strings... " >&6; }
  10960 # Test print first, because it will be a builtin if present.
  10961 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  10962    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  10963   ECHO='print -r --'
  10964 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  10965   ECHO='printf %s\n'
  10966 else
  10967   # Use this function as a fallback that always works.
  10968   func_fallback_echo ()
  10969   {
  10970     eval 'cat <<_LTECHO_EOF
  10971 $1
  10972 _LTECHO_EOF'
  10973   }
  10974   ECHO='func_fallback_echo'
  10975 fi
  10976 
  10977 # func_echo_all arg...
  10978 # Invoke $ECHO with all args, space-separated.
  10979 func_echo_all ()
  10980 {
  10981     $ECHO ""
  10982 }
  10983 
  10984 case $ECHO in
  10985   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  10986 printf "%s\n" "printf" >&6; } ;;
  10987   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  10988 printf "%s\n" "print -r" >&6; } ;;
  10989   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  10990 printf "%s\n" "cat" >&6; } ;;
  10991 esac
  10992 
  10993 
  10994 
  10995 
  10996 
  10997 
  10998 
  10999 
  11000 
  11001 
  11002 
  11003 
  11004 
  11005 
  11006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  11007 printf %s "checking for a sed that does not truncate output... " >&6; }
  11008 if test ${ac_cv_path_SED+y}
  11009 then :
  11010   printf %s "(cached) " >&6
  11011 else case e in #(
  11012   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  11013      for ac_i in 1 2 3 4 5 6 7; do
  11014        ac_script="$ac_script$as_nl$ac_script"
  11015      done
  11016      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  11017      { ac_script=; unset ac_script;}
  11018      if test -z "$SED"; then
  11019   ac_path_SED_found=false
  11020   # Loop through the user's path and test for each of PROGNAME-LIST
  11021   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11022 for as_dir in $PATH
  11023 do
  11024   IFS=$as_save_IFS
  11025   case $as_dir in #(((
  11026     '') as_dir=./ ;;
  11027     */) ;;
  11028     *) as_dir=$as_dir/ ;;
  11029   esac
  11030     for ac_prog in sed gsed
  11031    do
  11032     for ac_exec_ext in '' $ac_executable_extensions; do
  11033       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
  11034       as_fn_executable_p "$ac_path_SED" || continue
  11035 # Check for GNU ac_path_SED and select it if it is found.
  11036   # Check for GNU $ac_path_SED
  11037 case `"$ac_path_SED" --version 2>&1` in #(
  11038 *GNU*)
  11039   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  11040 #(
  11041 *)
  11042   ac_count=0
  11043   printf %s 0123456789 >"conftest.in"
  11044   while :
  11045   do
  11046     cat "conftest.in" "conftest.in" >"conftest.tmp"
  11047     mv "conftest.tmp" "conftest.in"
  11048     cp "conftest.in" "conftest.nl"
  11049     printf "%s\n" '' >> "conftest.nl"
  11050     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  11051     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  11052     as_fn_arith $ac_count + 1 && ac_count=$as_val
  11053     if test $ac_count -gt ${ac_path_SED_max-0}; then
  11054       # Best one so far, save it but keep looking for a better one
  11055       ac_cv_path_SED="$ac_path_SED"
  11056       ac_path_SED_max=$ac_count
  11057     fi
  11058     # 10*(2^10) chars as input seems more than enough
  11059     test $ac_count -gt 10 && break
  11060   done
  11061   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  11062 esac
  11063 
  11064       $ac_path_SED_found && break 3
  11065     done
  11066   done
  11067   done
  11068 IFS=$as_save_IFS
  11069   if test -z "$ac_cv_path_SED"; then
  11070     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  11071   fi
  11072 else
  11073   ac_cv_path_SED=$SED
  11074 fi
  11075  ;;
  11076 esac
  11077 fi
  11078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  11079 printf "%s\n" "$ac_cv_path_SED" >&6; }
  11080  SED="$ac_cv_path_SED"
  11081   rm -f conftest.sed
  11082 
  11083 test -z "$SED" && SED=sed
  11084 Xsed="$SED -e 1s/^X//"
  11085 
  11086 
  11087 
  11088 
  11089 
  11090 
  11091 
  11092 
  11093 
  11094 
  11095 
  11096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  11097 printf %s "checking for grep that handles long lines and -e... " >&6; }
  11098 if test ${ac_cv_path_GREP+y}
  11099 then :
  11100   printf %s "(cached) " >&6
  11101 else case e in #(
  11102   e) if test -z "$GREP"; then
  11103   ac_path_GREP_found=false
  11104   # Loop through the user's path and test for each of PROGNAME-LIST
  11105   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11106 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  11107 do
  11108   IFS=$as_save_IFS
  11109   case $as_dir in #(((
  11110     '') as_dir=./ ;;
  11111     */) ;;
  11112     *) as_dir=$as_dir/ ;;
  11113   esac
  11114     for ac_prog in grep ggrep
  11115    do
  11116     for ac_exec_ext in '' $ac_executable_extensions; do
  11117       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
  11118       as_fn_executable_p "$ac_path_GREP" || continue
  11119 # Check for GNU ac_path_GREP and select it if it is found.
  11120   # Check for GNU $ac_path_GREP
  11121 case `"$ac_path_GREP" --version 2>&1` in #(
  11122 *GNU*)
  11123   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  11124 #(
  11125 *)
  11126   ac_count=0
  11127   printf %s 0123456789 >"conftest.in"
  11128   while :
  11129   do
  11130     cat "conftest.in" "conftest.in" >"conftest.tmp"
  11131     mv "conftest.tmp" "conftest.in"
  11132     cp "conftest.in" "conftest.nl"
  11133     printf "%s\n" 'GREP' >> "conftest.nl"
  11134     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  11135     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  11136     as_fn_arith $ac_count + 1 && ac_count=$as_val
  11137     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  11138       # Best one so far, save it but keep looking for a better one
  11139       ac_cv_path_GREP="$ac_path_GREP"
  11140       ac_path_GREP_max=$ac_count
  11141     fi
  11142     # 10*(2^10) chars as input seems more than enough
  11143     test $ac_count -gt 10 && break
  11144   done
  11145   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  11146 esac
  11147 
  11148       $ac_path_GREP_found && break 3
  11149     done
  11150   done
  11151   done
  11152 IFS=$as_save_IFS
  11153   if test -z "$ac_cv_path_GREP"; then
  11154     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  11155   fi
  11156 else
  11157   ac_cv_path_GREP=$GREP
  11158 fi
  11159  ;;
  11160 esac
  11161 fi
  11162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  11163 printf "%s\n" "$ac_cv_path_GREP" >&6; }
  11164  GREP="$ac_cv_path_GREP"
  11165 
  11166 
  11167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  11168 printf %s "checking for egrep... " >&6; }
  11169 if test ${ac_cv_path_EGREP+y}
  11170 then :
  11171   printf %s "(cached) " >&6
  11172 else case e in #(
  11173   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  11174    then ac_cv_path_EGREP="$GREP -E"
  11175    else
  11176      if test -z "$EGREP"; then
  11177   ac_path_EGREP_found=false
  11178   # Loop through the user's path and test for each of PROGNAME-LIST
  11179   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11180 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  11181 do
  11182   IFS=$as_save_IFS
  11183   case $as_dir in #(((
  11184     '') as_dir=./ ;;
  11185     */) ;;
  11186     *) as_dir=$as_dir/ ;;
  11187   esac
  11188     for ac_prog in egrep
  11189    do
  11190     for ac_exec_ext in '' $ac_executable_extensions; do
  11191       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
  11192       as_fn_executable_p "$ac_path_EGREP" || continue
  11193 # Check for GNU ac_path_EGREP and select it if it is found.
  11194   # Check for GNU $ac_path_EGREP
  11195 case `"$ac_path_EGREP" --version 2>&1` in #(
  11196 *GNU*)
  11197   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  11198 #(
  11199 *)
  11200   ac_count=0
  11201   printf %s 0123456789 >"conftest.in"
  11202   while :
  11203   do
  11204     cat "conftest.in" "conftest.in" >"conftest.tmp"
  11205     mv "conftest.tmp" "conftest.in"
  11206     cp "conftest.in" "conftest.nl"
  11207     printf "%s\n" 'EGREP' >> "conftest.nl"
  11208     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  11209     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  11210     as_fn_arith $ac_count + 1 && ac_count=$as_val
  11211     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  11212       # Best one so far, save it but keep looking for a better one
  11213       ac_cv_path_EGREP="$ac_path_EGREP"
  11214       ac_path_EGREP_max=$ac_count
  11215     fi
  11216     # 10*(2^10) chars as input seems more than enough
  11217     test $ac_count -gt 10 && break
  11218   done
  11219   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  11220 esac
  11221 
  11222       $ac_path_EGREP_found && break 3
  11223     done
  11224   done
  11225   done
  11226 IFS=$as_save_IFS
  11227   if test -z "$ac_cv_path_EGREP"; then
  11228     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  11229   fi
  11230 else
  11231   ac_cv_path_EGREP=$EGREP
  11232 fi
  11233 
  11234    fi ;;
  11235 esac
  11236 fi
  11237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  11238 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
  11239  EGREP="$ac_cv_path_EGREP"
  11240 
  11241          EGREP_TRADITIONAL=$EGREP
  11242  ac_cv_path_EGREP_TRADITIONAL=$EGREP
  11243 
  11244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  11245 printf %s "checking for fgrep... " >&6; }
  11246 if test ${ac_cv_path_FGREP+y}
  11247 then :
  11248   printf %s "(cached) " >&6
  11249 else case e in #(
  11250   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  11251    then ac_cv_path_FGREP="$GREP -F"
  11252    else
  11253      if test -z "$FGREP"; then
  11254   ac_path_FGREP_found=false
  11255   # Loop through the user's path and test for each of PROGNAME-LIST
  11256   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11257 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  11258 do
  11259   IFS=$as_save_IFS
  11260   case $as_dir in #(((
  11261     '') as_dir=./ ;;
  11262     */) ;;
  11263     *) as_dir=$as_dir/ ;;
  11264   esac
  11265     for ac_prog in fgrep
  11266    do
  11267     for ac_exec_ext in '' $ac_executable_extensions; do
  11268       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
  11269       as_fn_executable_p "$ac_path_FGREP" || continue
  11270 # Check for GNU ac_path_FGREP and select it if it is found.
  11271   # Check for GNU $ac_path_FGREP
  11272 case `"$ac_path_FGREP" --version 2>&1` in #(
  11273 *GNU*)
  11274   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  11275 #(
  11276 *)
  11277   ac_count=0
  11278   printf %s 0123456789 >"conftest.in"
  11279   while :
  11280   do
  11281     cat "conftest.in" "conftest.in" >"conftest.tmp"
  11282     mv "conftest.tmp" "conftest.in"
  11283     cp "conftest.in" "conftest.nl"
  11284     printf "%s\n" 'FGREP' >> "conftest.nl"
  11285     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  11286     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  11287     as_fn_arith $ac_count + 1 && ac_count=$as_val
  11288     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  11289       # Best one so far, save it but keep looking for a better one
  11290       ac_cv_path_FGREP="$ac_path_FGREP"
  11291       ac_path_FGREP_max=$ac_count
  11292     fi
  11293     # 10*(2^10) chars as input seems more than enough
  11294     test $ac_count -gt 10 && break
  11295   done
  11296   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  11297 esac
  11298 
  11299       $ac_path_FGREP_found && break 3
  11300     done
  11301   done
  11302   done
  11303 IFS=$as_save_IFS
  11304   if test -z "$ac_cv_path_FGREP"; then
  11305     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  11306   fi
  11307 else
  11308   ac_cv_path_FGREP=$FGREP
  11309 fi
  11310 
  11311    fi ;;
  11312 esac
  11313 fi
  11314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  11315 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
  11316  FGREP="$ac_cv_path_FGREP"
  11317 
  11318 
  11319 test -z "$GREP" && GREP=grep
  11320 
  11321 
  11322 
  11323 
  11324 
  11325 
  11326 
  11327 
  11328 
  11329 
  11330 
  11331 
  11332 
  11333 
  11334 
  11335 
  11336 
  11337 
  11338 
  11339 # Check whether --with-gnu-ld was given.
  11340 if test ${with_gnu_ld+y}
  11341 then :
  11342   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
  11343 else case e in #(
  11344   e) with_gnu_ld=no ;;
  11345 esac
  11346 fi
  11347 
  11348 ac_prog=ld
  11349 if test yes = "$GCC"; then
  11350   # Check if gcc -print-prog-name=ld gives a path.
  11351   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  11352 printf %s "checking for ld used by $CC... " >&6; }
  11353   case $host in
  11354   *-*-mingw* | *-*-windows*)
  11355     # gcc leaves a trailing carriage return, which upsets mingw
  11356     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  11357   *)
  11358     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  11359   esac
  11360   case $ac_prog in
  11361     # Accept absolute paths.
  11362     [\\/]* | ?:[\\/]*)
  11363       re_direlt='/[^/][^/]*/\.\./'
  11364       # Canonicalize the pathname of ld
  11365       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  11366       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  11367 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  11368       done
  11369       test -z "$LD" && LD=$ac_prog
  11370       ;;
  11371   "")
  11372     # If it fails, then pretend we aren't using GCC.
  11373     ac_prog=ld
  11374     ;;
  11375   *)
  11376     # If it is relative, then search for the first ld in PATH.
  11377     with_gnu_ld=unknown
  11378     ;;
  11379   esac
  11380 elif test yes = "$with_gnu_ld"; then
  11381   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  11382 printf %s "checking for GNU ld... " >&6; }
  11383 else
  11384   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  11385 printf %s "checking for non-GNU ld... " >&6; }
  11386 fi
  11387 if test ${lt_cv_path_LD+y}
  11388 then :
  11389   printf %s "(cached) " >&6
  11390 else case e in #(
  11391   e) if test -z "$LD"; then
  11392   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  11393   for ac_dir in $PATH; do
  11394     IFS=$lt_save_ifs
  11395     test -z "$ac_dir" && ac_dir=.
  11396     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  11397       lt_cv_path_LD=$ac_dir/$ac_prog
  11398       # Check to see if the program is GNU ld.  I'd rather use --version,
  11399       # but apparently some variants of GNU ld only accept -v.
  11400       # Break only if it was the GNU/non-GNU ld that we prefer.
  11401       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  11402       *GNU* | *'with BFD'*)
  11403 	test no != "$with_gnu_ld" && break
  11404 	;;
  11405       *)
  11406 	test yes != "$with_gnu_ld" && break
  11407 	;;
  11408       esac
  11409     fi
  11410   done
  11411   IFS=$lt_save_ifs
  11412 else
  11413   lt_cv_path_LD=$LD # Let the user override the test with a path.
  11414 fi ;;
  11415 esac
  11416 fi
  11417 
  11418 LD=$lt_cv_path_LD
  11419 if test -n "$LD"; then
  11420   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  11421 printf "%s\n" "$LD" >&6; }
  11422 else
  11423   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11424 printf "%s\n" "no" >&6; }
  11425 fi
  11426 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  11427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  11428 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
  11429 if test ${lt_cv_prog_gnu_ld+y}
  11430 then :
  11431   printf %s "(cached) " >&6
  11432 else case e in #(
  11433   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
  11434 case `$LD -v 2>&1 </dev/null` in
  11435 *GNU* | *'with BFD'*)
  11436   lt_cv_prog_gnu_ld=yes
  11437   ;;
  11438 *)
  11439   lt_cv_prog_gnu_ld=no
  11440   ;;
  11441 esac ;;
  11442 esac
  11443 fi
  11444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  11445 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
  11446 with_gnu_ld=$lt_cv_prog_gnu_ld
  11447 
  11448 
  11449 
  11450 
  11451 
  11452 
  11453 
  11454 
  11455 
  11456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  11457 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  11458 if test ${lt_cv_path_NM+y}
  11459 then :
  11460   printf %s "(cached) " >&6
  11461 else case e in #(
  11462   e) if test -n "$NM"; then
  11463   # Let the user override the test.
  11464   lt_cv_path_NM=$NM
  11465 else
  11466   lt_nm_to_check=${ac_tool_prefix}nm
  11467   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  11468     lt_nm_to_check="$lt_nm_to_check nm"
  11469   fi
  11470   for lt_tmp_nm in $lt_nm_to_check; do
  11471     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  11472     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  11473       IFS=$lt_save_ifs
  11474       test -z "$ac_dir" && ac_dir=.
  11475       tmp_nm=$ac_dir/$lt_tmp_nm
  11476       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
  11477 	# Check to see if the nm accepts a BSD-compat flag.
  11478 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
  11479 	#   nm: unknown option "B" ignored
  11480 	# Tru64's nm complains that /dev/null is an invalid object file
  11481 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
  11482 	case $build_os in
  11483 	mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
  11484 	*) lt_bad_file=/dev/null ;;
  11485 	esac
  11486 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
  11487 	*$lt_bad_file* | *'Invalid file or object type'*)
  11488 	  lt_cv_path_NM="$tmp_nm -B"
  11489 	  break 2
  11490 	  ;;
  11491 	*)
  11492 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
  11493 	  */dev/null*)
  11494 	    lt_cv_path_NM="$tmp_nm -p"
  11495 	    break 2
  11496 	    ;;
  11497 	  *)
  11498 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  11499 	    continue # so that we can try to find one that supports BSD flags
  11500 	    ;;
  11501 	  esac
  11502 	  ;;
  11503 	esac
  11504       fi
  11505     done
  11506     IFS=$lt_save_ifs
  11507   done
  11508   : ${lt_cv_path_NM=no}
  11509 fi ;;
  11510 esac
  11511 fi
  11512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  11513 printf "%s\n" "$lt_cv_path_NM" >&6; }
  11514 if test no != "$lt_cv_path_NM"; then
  11515   NM=$lt_cv_path_NM
  11516 else
  11517   # Didn't find any BSD compatible name lister, look for dumpbin.
  11518   if test -n "$DUMPBIN"; then :
  11519     # Let the user override the test.
  11520   else
  11521     if test -n "$ac_tool_prefix"; then
  11522   for ac_prog in dumpbin "link -dump"
  11523   do
  11524     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  11525 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  11526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11527 printf %s "checking for $ac_word... " >&6; }
  11528 if test ${ac_cv_prog_DUMPBIN+y}
  11529 then :
  11530   printf %s "(cached) " >&6
  11531 else case e in #(
  11532   e) if test -n "$DUMPBIN"; then
  11533   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  11534 else
  11535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11536 for as_dir in $PATH
  11537 do
  11538   IFS=$as_save_IFS
  11539   case $as_dir in #(((
  11540     '') as_dir=./ ;;
  11541     */) ;;
  11542     *) as_dir=$as_dir/ ;;
  11543   esac
  11544     for ac_exec_ext in '' $ac_executable_extensions; do
  11545   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  11546     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  11547     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  11548     break 2
  11549   fi
  11550 done
  11551   done
  11552 IFS=$as_save_IFS
  11553 
  11554 fi ;;
  11555 esac
  11556 fi
  11557 DUMPBIN=$ac_cv_prog_DUMPBIN
  11558 if test -n "$DUMPBIN"; then
  11559   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  11560 printf "%s\n" "$DUMPBIN" >&6; }
  11561 else
  11562   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11563 printf "%s\n" "no" >&6; }
  11564 fi
  11565 
  11566 
  11567     test -n "$DUMPBIN" && break
  11568   done
  11569 fi
  11570 if test -z "$DUMPBIN"; then
  11571   ac_ct_DUMPBIN=$DUMPBIN
  11572   for ac_prog in dumpbin "link -dump"
  11573 do
  11574   # Extract the first word of "$ac_prog", so it can be a program name with args.
  11575 set dummy $ac_prog; ac_word=$2
  11576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11577 printf %s "checking for $ac_word... " >&6; }
  11578 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
  11579 then :
  11580   printf %s "(cached) " >&6
  11581 else case e in #(
  11582   e) if test -n "$ac_ct_DUMPBIN"; then
  11583   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  11584 else
  11585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11586 for as_dir in $PATH
  11587 do
  11588   IFS=$as_save_IFS
  11589   case $as_dir in #(((
  11590     '') as_dir=./ ;;
  11591     */) ;;
  11592     *) as_dir=$as_dir/ ;;
  11593   esac
  11594     for ac_exec_ext in '' $ac_executable_extensions; do
  11595   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  11596     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  11597     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  11598     break 2
  11599   fi
  11600 done
  11601   done
  11602 IFS=$as_save_IFS
  11603 
  11604 fi ;;
  11605 esac
  11606 fi
  11607 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  11608 if test -n "$ac_ct_DUMPBIN"; then
  11609   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  11610 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
  11611 else
  11612   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11613 printf "%s\n" "no" >&6; }
  11614 fi
  11615 
  11616 
  11617   test -n "$ac_ct_DUMPBIN" && break
  11618 done
  11619 
  11620   if test "x$ac_ct_DUMPBIN" = x; then
  11621     DUMPBIN=":"
  11622   else
  11623     case $cross_compiling:$ac_tool_warned in
  11624 yes:)
  11625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  11626 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  11627 ac_tool_warned=yes ;;
  11628 esac
  11629     DUMPBIN=$ac_ct_DUMPBIN
  11630   fi
  11631 fi
  11632 
  11633     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
  11634     *COFF*)
  11635       DUMPBIN="$DUMPBIN -symbols -headers"
  11636       ;;
  11637     *)
  11638       DUMPBIN=:
  11639       ;;
  11640     esac
  11641   fi
  11642 
  11643   if test : != "$DUMPBIN"; then
  11644     NM=$DUMPBIN
  11645   fi
  11646 fi
  11647 test -z "$NM" && NM=nm
  11648 
  11649 
  11650 
  11651 
  11652 
  11653 
  11654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  11655 printf %s "checking the name lister ($NM) interface... " >&6; }
  11656 if test ${lt_cv_nm_interface+y}
  11657 then :
  11658   printf %s "(cached) " >&6
  11659 else case e in #(
  11660   e) lt_cv_nm_interface="BSD nm"
  11661   echo "int some_variable = 0;" > conftest.$ac_ext
  11662   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  11663   (eval "$ac_compile" 2>conftest.err)
  11664   cat conftest.err >&5
  11665   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  11666   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  11667   cat conftest.err >&5
  11668   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  11669   cat conftest.out >&5
  11670   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  11671     lt_cv_nm_interface="MS dumpbin"
  11672   fi
  11673   rm -f conftest* ;;
  11674 esac
  11675 fi
  11676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  11677 printf "%s\n" "$lt_cv_nm_interface" >&6; }
  11678 
  11679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  11680 printf %s "checking whether ln -s works... " >&6; }
  11681 LN_S=$as_ln_s
  11682 if test "$LN_S" = "ln -s"; then
  11683   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  11684 printf "%s\n" "yes" >&6; }
  11685 else
  11686   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  11687 printf "%s\n" "no, using $LN_S" >&6; }
  11688 fi
  11689 
  11690 # find the maximum length of command line arguments
  11691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  11692 printf %s "checking the maximum length of command line arguments... " >&6; }
  11693 if test ${lt_cv_sys_max_cmd_len+y}
  11694 then :
  11695   printf %s "(cached) " >&6
  11696 else case e in #(
  11697   e)   i=0
  11698   teststring=ABCD
  11699 
  11700   case $build_os in
  11701   msdosdjgpp*)
  11702     # On DJGPP, this test can blow up pretty badly due to problems in libc
  11703     # (any single argument exceeding 2000 bytes causes a buffer overrun
  11704     # during glob expansion).  Even if it were fixed, the result of this
  11705     # check would be larger than it should be.
  11706     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
  11707     ;;
  11708 
  11709   gnu* | ironclad*)
  11710     # Under GNU Hurd and Ironclad, this test is not required because there
  11711     # is no limit to the length of command line arguments.
  11712     # Libtool will interpret -1 as no limit whatsoever
  11713     lt_cv_sys_max_cmd_len=-1;
  11714     ;;
  11715 
  11716   cygwin* | mingw* | windows* | cegcc*)
  11717     # On Win9x/ME, this test blows up -- it succeeds, but takes
  11718     # about 5 minutes as the teststring grows exponentially.
  11719     # Worse, since 9x/ME are not pre-emptively multitasking,
  11720     # you end up with a "frozen" computer, even though with patience
  11721     # the test eventually succeeds (with a max line length of 256k).
  11722     # Instead, let's just punt: use the minimum linelength reported by
  11723     # all of the supported platforms: 8192 (on NT/2K/XP).
  11724     lt_cv_sys_max_cmd_len=8192;
  11725     ;;
  11726 
  11727   mint*)
  11728     # On MiNT this can take a long time and run out of memory.
  11729     lt_cv_sys_max_cmd_len=8192;
  11730     ;;
  11731 
  11732   amigaos*)
  11733     # On AmigaOS with pdksh, this test takes hours, literally.
  11734     # So we just punt and use a minimum line length of 8192.
  11735     lt_cv_sys_max_cmd_len=8192;
  11736     ;;
  11737 
  11738   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
  11739     # This has been around since 386BSD, at least.  Likely further.
  11740     if test -x /sbin/sysctl; then
  11741       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  11742     elif test -x /usr/sbin/sysctl; then
  11743       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  11744     else
  11745       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
  11746     fi
  11747     # And add a safety zone
  11748     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  11749     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  11750     ;;
  11751 
  11752   interix*)
  11753     # We know the value 262144 and hardcode it with a safety zone (like BSD)
  11754     lt_cv_sys_max_cmd_len=196608
  11755     ;;
  11756 
  11757   os2*)
  11758     # The test takes a long time on OS/2.
  11759     lt_cv_sys_max_cmd_len=8192
  11760     ;;
  11761 
  11762   osf*)
  11763     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  11764     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  11765     # nice to cause kernel panics so lets avoid the loop below.
  11766     # First set a reasonable default.
  11767     lt_cv_sys_max_cmd_len=16384
  11768     #
  11769     if test -x /sbin/sysconfig; then
  11770       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  11771         *1*) lt_cv_sys_max_cmd_len=-1 ;;
  11772       esac
  11773     fi
  11774     ;;
  11775   sco3.2v5*)
  11776     lt_cv_sys_max_cmd_len=102400
  11777     ;;
  11778   sysv5* | sco5v6* | sysv4.2uw2*)
  11779     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  11780     if test -n "$kargmax"; then
  11781       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
  11782     else
  11783       lt_cv_sys_max_cmd_len=32768
  11784     fi
  11785     ;;
  11786   *)
  11787     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  11788     if test -n "$lt_cv_sys_max_cmd_len" && \
  11789        test undefined != "$lt_cv_sys_max_cmd_len"; then
  11790       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  11791       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  11792     else
  11793       # Make teststring a little bigger before we do anything with it.
  11794       # a 1K string should be a reasonable start.
  11795       for i in 1 2 3 4 5 6 7 8; do
  11796         teststring=$teststring$teststring
  11797       done
  11798       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  11799       # If test is not a shell built-in, we'll probably end up computing a
  11800       # maximum length that is only half of the actual maximum length, but
  11801       # we can't tell.
  11802       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
  11803 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  11804 	      test 17 != "$i" # 1/2 MB should be enough
  11805       do
  11806         i=`expr $i + 1`
  11807         teststring=$teststring$teststring
  11808       done
  11809       # Only check the string length outside the loop.
  11810       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  11811       teststring=
  11812       # Add a significant safety factor because C++ compilers can tack on
  11813       # massive amounts of additional arguments before passing them to the
  11814       # linker.  It appears as though 1/2 is a usable value.
  11815       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  11816     fi
  11817     ;;
  11818   esac
  11819  ;;
  11820 esac
  11821 fi
  11822 
  11823 if test -n "$lt_cv_sys_max_cmd_len"; then
  11824   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  11825 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
  11826 else
  11827   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
  11828 printf "%s\n" "none" >&6; }
  11829 fi
  11830 max_cmd_len=$lt_cv_sys_max_cmd_len
  11831 
  11832 
  11833 
  11834 
  11835 
  11836 
  11837 : ${CP="cp -f"}
  11838 : ${MV="mv -f"}
  11839 : ${RM="rm -f"}
  11840 
  11841 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  11842   lt_unset=unset
  11843 else
  11844   lt_unset=false
  11845 fi
  11846 
  11847 
  11848 
  11849 
  11850 
  11851 # test EBCDIC or ASCII
  11852 case `echo X|tr X '\101'` in
  11853  A) # ASCII based system
  11854     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  11855   lt_SP2NL='tr \040 \012'
  11856   lt_NL2SP='tr \015\012 \040\040'
  11857   ;;
  11858  *) # EBCDIC based system
  11859   lt_SP2NL='tr \100 \n'
  11860   lt_NL2SP='tr \r\n \100\100'
  11861   ;;
  11862 esac
  11863 
  11864 
  11865 
  11866 
  11867 
  11868 
  11869 
  11870 
  11871 
  11872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
  11873 printf %s "checking how to convert $build file names to $host format... " >&6; }
  11874 if test ${lt_cv_to_host_file_cmd+y}
  11875 then :
  11876   printf %s "(cached) " >&6
  11877 else case e in #(
  11878   e) case $host in
  11879   *-*-mingw* )
  11880     case $build in
  11881       *-*-mingw* | *-*-windows* ) # actually msys
  11882         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  11883         ;;
  11884       *-*-cygwin* )
  11885         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  11886         ;;
  11887       * ) # otherwise, assume *nix
  11888         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  11889         ;;
  11890     esac
  11891     ;;
  11892   *-*-cygwin* )
  11893     case $build in
  11894       *-*-mingw* | *-*-windows* ) # actually msys
  11895         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  11896         ;;
  11897       *-*-cygwin* )
  11898         lt_cv_to_host_file_cmd=func_convert_file_noop
  11899         ;;
  11900       * ) # otherwise, assume *nix
  11901         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  11902         ;;
  11903     esac
  11904     ;;
  11905   * ) # unhandled hosts (and "normal" native builds)
  11906     lt_cv_to_host_file_cmd=func_convert_file_noop
  11907     ;;
  11908 esac
  11909  ;;
  11910 esac
  11911 fi
  11912 
  11913 to_host_file_cmd=$lt_cv_to_host_file_cmd
  11914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
  11915 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
  11916 
  11917 
  11918 
  11919 
  11920 
  11921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
  11922 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
  11923 if test ${lt_cv_to_tool_file_cmd+y}
  11924 then :
  11925   printf %s "(cached) " >&6
  11926 else case e in #(
  11927   e) #assume ordinary cross tools, or native build.
  11928 lt_cv_to_tool_file_cmd=func_convert_file_noop
  11929 case $host in
  11930   *-*-mingw* | *-*-windows* )
  11931     case $build in
  11932       *-*-mingw* | *-*-windows* ) # actually msys
  11933         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  11934         ;;
  11935     esac
  11936     ;;
  11937 esac
  11938  ;;
  11939 esac
  11940 fi
  11941 
  11942 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  11943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
  11944 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
  11945 
  11946 
  11947 
  11948 
  11949 
  11950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  11951 printf %s "checking for $LD option to reload object files... " >&6; }
  11952 if test ${lt_cv_ld_reload_flag+y}
  11953 then :
  11954   printf %s "(cached) " >&6
  11955 else case e in #(
  11956   e) lt_cv_ld_reload_flag='-r' ;;
  11957 esac
  11958 fi
  11959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  11960 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
  11961 reload_flag=$lt_cv_ld_reload_flag
  11962 case $reload_flag in
  11963 "" | " "*) ;;
  11964 *) reload_flag=" $reload_flag" ;;
  11965 esac
  11966 reload_cmds='$LD$reload_flag -o $output$reload_objs'
  11967 case $host_os in
  11968   cygwin* | mingw* | windows* | pw32* | cegcc*)
  11969     if test yes != "$GCC"; then
  11970       reload_cmds=false
  11971     fi
  11972     ;;
  11973   darwin*)
  11974     if test yes = "$GCC"; then
  11975       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
  11976     else
  11977       reload_cmds='$LD$reload_flag -o $output$reload_objs'
  11978     fi
  11979     ;;
  11980 esac
  11981 
  11982 
  11983 
  11984 
  11985 
  11986 
  11987 
  11988 
  11989 
  11990 # Extract the first word of "file", so it can be a program name with args.
  11991 set dummy file; ac_word=$2
  11992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11993 printf %s "checking for $ac_word... " >&6; }
  11994 if test ${ac_cv_prog_FILECMD+y}
  11995 then :
  11996   printf %s "(cached) " >&6
  11997 else case e in #(
  11998   e) if test -n "$FILECMD"; then
  11999   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
  12000 else
  12001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12002 for as_dir in $PATH
  12003 do
  12004   IFS=$as_save_IFS
  12005   case $as_dir in #(((
  12006     '') as_dir=./ ;;
  12007     */) ;;
  12008     *) as_dir=$as_dir/ ;;
  12009   esac
  12010     for ac_exec_ext in '' $ac_executable_extensions; do
  12011   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  12012     ac_cv_prog_FILECMD="file"
  12013     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  12014     break 2
  12015   fi
  12016 done
  12017   done
  12018 IFS=$as_save_IFS
  12019 
  12020   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
  12021 fi ;;
  12022 esac
  12023 fi
  12024 FILECMD=$ac_cv_prog_FILECMD
  12025 if test -n "$FILECMD"; then
  12026   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
  12027 printf "%s\n" "$FILECMD" >&6; }
  12028 else
  12029   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12030 printf "%s\n" "no" >&6; }
  12031 fi
  12032 
  12033 
  12034 
  12035 
  12036 
  12037 
  12038 
  12039 
  12040 if test -n "$ac_tool_prefix"; then
  12041   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  12042 set dummy ${ac_tool_prefix}objdump; ac_word=$2
  12043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12044 printf %s "checking for $ac_word... " >&6; }
  12045 if test ${ac_cv_prog_OBJDUMP+y}
  12046 then :
  12047   printf %s "(cached) " >&6
  12048 else case e in #(
  12049   e) if test -n "$OBJDUMP"; then
  12050   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  12051 else
  12052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12053 for as_dir in $PATH
  12054 do
  12055   IFS=$as_save_IFS
  12056   case $as_dir in #(((
  12057     '') as_dir=./ ;;
  12058     */) ;;
  12059     *) as_dir=$as_dir/ ;;
  12060   esac
  12061     for ac_exec_ext in '' $ac_executable_extensions; do
  12062   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  12063     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  12064     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  12065     break 2
  12066   fi
  12067 done
  12068   done
  12069 IFS=$as_save_IFS
  12070 
  12071 fi ;;
  12072 esac
  12073 fi
  12074 OBJDUMP=$ac_cv_prog_OBJDUMP
  12075 if test -n "$OBJDUMP"; then
  12076   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  12077 printf "%s\n" "$OBJDUMP" >&6; }
  12078 else
  12079   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12080 printf "%s\n" "no" >&6; }
  12081 fi
  12082 
  12083 
  12084 fi
  12085 if test -z "$ac_cv_prog_OBJDUMP"; then
  12086   ac_ct_OBJDUMP=$OBJDUMP
  12087   # Extract the first word of "objdump", so it can be a program name with args.
  12088 set dummy objdump; ac_word=$2
  12089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12090 printf %s "checking for $ac_word... " >&6; }
  12091 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
  12092 then :
  12093   printf %s "(cached) " >&6
  12094 else case e in #(
  12095   e) if test -n "$ac_ct_OBJDUMP"; then
  12096   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  12097 else
  12098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12099 for as_dir in $PATH
  12100 do
  12101   IFS=$as_save_IFS
  12102   case $as_dir in #(((
  12103     '') as_dir=./ ;;
  12104     */) ;;
  12105     *) as_dir=$as_dir/ ;;
  12106   esac
  12107     for ac_exec_ext in '' $ac_executable_extensions; do
  12108   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  12109     ac_cv_prog_ac_ct_OBJDUMP="objdump"
  12110     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  12111     break 2
  12112   fi
  12113 done
  12114   done
  12115 IFS=$as_save_IFS
  12116 
  12117 fi ;;
  12118 esac
  12119 fi
  12120 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  12121 if test -n "$ac_ct_OBJDUMP"; then
  12122   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  12123 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
  12124 else
  12125   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12126 printf "%s\n" "no" >&6; }
  12127 fi
  12128 
  12129   if test "x$ac_ct_OBJDUMP" = x; then
  12130     OBJDUMP="false"
  12131   else
  12132     case $cross_compiling:$ac_tool_warned in
  12133 yes:)
  12134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  12135 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  12136 ac_tool_warned=yes ;;
  12137 esac
  12138     OBJDUMP=$ac_ct_OBJDUMP
  12139   fi
  12140 else
  12141   OBJDUMP="$ac_cv_prog_OBJDUMP"
  12142 fi
  12143 
  12144 test -z "$OBJDUMP" && OBJDUMP=objdump
  12145 
  12146 
  12147 
  12148 
  12149 
  12150 
  12151 
  12152 
  12153 
  12154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  12155 printf %s "checking how to recognize dependent libraries... " >&6; }
  12156 if test ${lt_cv_deplibs_check_method+y}
  12157 then :
  12158   printf %s "(cached) " >&6
  12159 else case e in #(
  12160   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
  12161 lt_cv_file_magic_test_file=
  12162 lt_cv_deplibs_check_method='unknown'
  12163 # Need to set the preceding variable on all platforms that support
  12164 # interlibrary dependencies.
  12165 # 'none' -- dependencies not supported.
  12166 # 'unknown' -- same as none, but documents that we really don't know.
  12167 # 'pass_all' -- all dependencies passed with no checks.
  12168 # 'file_magic [[regex]]' -- check by looking for files in library path
  12169 # that responds to the $file_magic_cmd with a given extended regex.
  12170 # If you have 'file' or equivalent on your system and you're not sure
  12171 # whether 'pass_all' will *always* work, you probably want this one.
  12172 
  12173 case $host_os in
  12174 aix[4-9]*)
  12175   lt_cv_deplibs_check_method=pass_all
  12176   ;;
  12177 
  12178 beos*)
  12179   lt_cv_deplibs_check_method=pass_all
  12180   ;;
  12181 
  12182 bsdi[45]*)
  12183   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  12184   lt_cv_file_magic_cmd='$FILECMD -L'
  12185   lt_cv_file_magic_test_file=/shlib/libc.so
  12186   ;;
  12187 
  12188 cygwin*)
  12189   # func_win32_libid is a shell function defined in ltmain.sh
  12190   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  12191   lt_cv_file_magic_cmd='func_win32_libid'
  12192   ;;
  12193 
  12194 mingw* | windows* | pw32*)
  12195   # Base MSYS/MinGW do not provide the 'file' command needed by
  12196   # func_win32_libid shell function, so use a weaker test based on 'objdump',
  12197   # unless we find 'file', for example because we are cross-compiling.
  12198   if ( file / ) >/dev/null 2>&1; then
  12199     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  12200     lt_cv_file_magic_cmd='func_win32_libid'
  12201   else
  12202     # Keep this pattern in sync with the one in func_win32_libid.
  12203     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
  12204     lt_cv_file_magic_cmd='$OBJDUMP -f'
  12205   fi
  12206   ;;
  12207 
  12208 cegcc*)
  12209   # use the weaker test based on 'objdump'. See mingw*.
  12210   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  12211   lt_cv_file_magic_cmd='$OBJDUMP -f'
  12212   ;;
  12213 
  12214 darwin* | rhapsody*)
  12215   lt_cv_deplibs_check_method=pass_all
  12216   ;;
  12217 
  12218 freebsd* | dragonfly* | midnightbsd*)
  12219   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  12220     case $host_cpu in
  12221     i*86 )
  12222       # Not sure whether the presence of OpenBSD here was a mistake.
  12223       # Let's accept both of them until this is cleared up.
  12224       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  12225       lt_cv_file_magic_cmd=$FILECMD
  12226       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  12227       ;;
  12228     esac
  12229   else
  12230     lt_cv_deplibs_check_method=pass_all
  12231   fi
  12232   ;;
  12233 
  12234 haiku*)
  12235   lt_cv_deplibs_check_method=pass_all
  12236   ;;
  12237 
  12238 hpux10.20* | hpux11*)
  12239   lt_cv_file_magic_cmd=$FILECMD
  12240   case $host_cpu in
  12241   ia64*)
  12242     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  12243     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  12244     ;;
  12245   hppa*64*)
  12246     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]'
  12247     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  12248     ;;
  12249   *)
  12250     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  12251     lt_cv_file_magic_test_file=/usr/lib/libc.sl
  12252     ;;
  12253   esac
  12254   ;;
  12255 
  12256 interix[3-9]*)
  12257   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  12258   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  12259   ;;
  12260 
  12261 irix5* | irix6* | nonstopux*)
  12262   case $LD in
  12263   *-32|*"-32 ") libmagic=32-bit;;
  12264   *-n32|*"-n32 ") libmagic=N32;;
  12265   *-64|*"-64 ") libmagic=64-bit;;
  12266   *) libmagic=never-match;;
  12267   esac
  12268   lt_cv_deplibs_check_method=pass_all
  12269   ;;
  12270 
  12271 # This must be glibc/ELF.
  12272 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  12273   lt_cv_deplibs_check_method=pass_all
  12274   ;;
  12275 
  12276 *-mlibc)
  12277   lt_cv_deplibs_check_method=pass_all
  12278   ;;
  12279 
  12280 netbsd* | netbsdelf*-gnu)
  12281   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  12282     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  12283   else
  12284     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  12285   fi
  12286   ;;
  12287 
  12288 newos6*)
  12289   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  12290   lt_cv_file_magic_cmd=$FILECMD
  12291   lt_cv_file_magic_test_file=/usr/lib/libnls.so
  12292   ;;
  12293 
  12294 *nto* | *qnx*)
  12295   lt_cv_deplibs_check_method=pass_all
  12296   ;;
  12297 
  12298 openbsd*)
  12299   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  12300     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  12301   else
  12302     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  12303   fi
  12304   ;;
  12305 
  12306 osf3* | osf4* | osf5*)
  12307   lt_cv_deplibs_check_method=pass_all
  12308   ;;
  12309 
  12310 rdos*)
  12311   lt_cv_deplibs_check_method=pass_all
  12312   ;;
  12313 
  12314 serenity*)
  12315   lt_cv_deplibs_check_method=pass_all
  12316   ;;
  12317 
  12318 solaris*)
  12319   lt_cv_deplibs_check_method=pass_all
  12320   ;;
  12321 
  12322 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  12323   lt_cv_deplibs_check_method=pass_all
  12324   ;;
  12325 
  12326 sysv4 | sysv4.3*)
  12327   case $host_vendor in
  12328   motorola)
  12329     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]'
  12330     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  12331     ;;
  12332   ncr)
  12333     lt_cv_deplibs_check_method=pass_all
  12334     ;;
  12335   sequent)
  12336     lt_cv_file_magic_cmd='/bin/file'
  12337     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  12338     ;;
  12339   sni)
  12340     lt_cv_file_magic_cmd='/bin/file'
  12341     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  12342     lt_cv_file_magic_test_file=/lib/libc.so
  12343     ;;
  12344   siemens)
  12345     lt_cv_deplibs_check_method=pass_all
  12346     ;;
  12347   pc)
  12348     lt_cv_deplibs_check_method=pass_all
  12349     ;;
  12350   esac
  12351   ;;
  12352 
  12353 tpf*)
  12354   lt_cv_deplibs_check_method=pass_all
  12355   ;;
  12356 os2*)
  12357   lt_cv_deplibs_check_method=pass_all
  12358   ;;
  12359 esac
  12360  ;;
  12361 esac
  12362 fi
  12363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  12364 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
  12365 
  12366 file_magic_glob=
  12367 want_nocaseglob=no
  12368 if test "$build" = "$host"; then
  12369   case $host_os in
  12370   mingw* | windows* | pw32*)
  12371     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  12372       want_nocaseglob=yes
  12373     else
  12374       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  12375     fi
  12376     ;;
  12377   esac
  12378 fi
  12379 
  12380 file_magic_cmd=$lt_cv_file_magic_cmd
  12381 deplibs_check_method=$lt_cv_deplibs_check_method
  12382 test -z "$deplibs_check_method" && deplibs_check_method=unknown
  12383 
  12384 
  12385 
  12386 
  12387 
  12388 
  12389 
  12390 
  12391 
  12392 
  12393 
  12394 
  12395 
  12396 
  12397 
  12398 
  12399 
  12400 
  12401 
  12402 
  12403 
  12404 
  12405 if test -n "$ac_tool_prefix"; then
  12406   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  12407 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  12408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12409 printf %s "checking for $ac_word... " >&6; }
  12410 if test ${ac_cv_prog_DLLTOOL+y}
  12411 then :
  12412   printf %s "(cached) " >&6
  12413 else case e in #(
  12414   e) if test -n "$DLLTOOL"; then
  12415   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  12416 else
  12417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12418 for as_dir in $PATH
  12419 do
  12420   IFS=$as_save_IFS
  12421   case $as_dir in #(((
  12422     '') as_dir=./ ;;
  12423     */) ;;
  12424     *) as_dir=$as_dir/ ;;
  12425   esac
  12426     for ac_exec_ext in '' $ac_executable_extensions; do
  12427   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  12428     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  12429     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  12430     break 2
  12431   fi
  12432 done
  12433   done
  12434 IFS=$as_save_IFS
  12435 
  12436 fi ;;
  12437 esac
  12438 fi
  12439 DLLTOOL=$ac_cv_prog_DLLTOOL
  12440 if test -n "$DLLTOOL"; then
  12441   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  12442 printf "%s\n" "$DLLTOOL" >&6; }
  12443 else
  12444   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12445 printf "%s\n" "no" >&6; }
  12446 fi
  12447 
  12448 
  12449 fi
  12450 if test -z "$ac_cv_prog_DLLTOOL"; then
  12451   ac_ct_DLLTOOL=$DLLTOOL
  12452   # Extract the first word of "dlltool", so it can be a program name with args.
  12453 set dummy dlltool; ac_word=$2
  12454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12455 printf %s "checking for $ac_word... " >&6; }
  12456 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
  12457 then :
  12458   printf %s "(cached) " >&6
  12459 else case e in #(
  12460   e) if test -n "$ac_ct_DLLTOOL"; then
  12461   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  12462 else
  12463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12464 for as_dir in $PATH
  12465 do
  12466   IFS=$as_save_IFS
  12467   case $as_dir in #(((
  12468     '') as_dir=./ ;;
  12469     */) ;;
  12470     *) as_dir=$as_dir/ ;;
  12471   esac
  12472     for ac_exec_ext in '' $ac_executable_extensions; do
  12473   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  12474     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  12475     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  12476     break 2
  12477   fi
  12478 done
  12479   done
  12480 IFS=$as_save_IFS
  12481 
  12482 fi ;;
  12483 esac
  12484 fi
  12485 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  12486 if test -n "$ac_ct_DLLTOOL"; then
  12487   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  12488 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
  12489 else
  12490   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12491 printf "%s\n" "no" >&6; }
  12492 fi
  12493 
  12494   if test "x$ac_ct_DLLTOOL" = x; then
  12495     DLLTOOL="false"
  12496   else
  12497     case $cross_compiling:$ac_tool_warned in
  12498 yes:)
  12499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  12500 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  12501 ac_tool_warned=yes ;;
  12502 esac
  12503     DLLTOOL=$ac_ct_DLLTOOL
  12504   fi
  12505 else
  12506   DLLTOOL="$ac_cv_prog_DLLTOOL"
  12507 fi
  12508 
  12509 test -z "$DLLTOOL" && DLLTOOL=dlltool
  12510 
  12511 
  12512 
  12513 
  12514 
  12515 
  12516 
  12517 
  12518 
  12519 
  12520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  12521 printf %s "checking how to associate runtime and link libraries... " >&6; }
  12522 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
  12523 then :
  12524   printf %s "(cached) " >&6
  12525 else case e in #(
  12526   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
  12527 
  12528 case $host_os in
  12529 cygwin* | mingw* | windows* | pw32* | cegcc*)
  12530   # two different shell functions defined in ltmain.sh;
  12531   # decide which one to use based on capabilities of $DLLTOOL
  12532   case `$DLLTOOL --help 2>&1` in
  12533   *--identify-strict*)
  12534     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  12535     ;;
  12536   *)
  12537     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  12538     ;;
  12539   esac
  12540   ;;
  12541 *)
  12542   # fallback: assume linklib IS sharedlib
  12543   lt_cv_sharedlib_from_linklib_cmd=$ECHO
  12544   ;;
  12545 esac
  12546  ;;
  12547 esac
  12548 fi
  12549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  12550 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  12551 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  12552 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  12553 
  12554 
  12555 
  12556 
  12557 
  12558 
  12559 
  12560 if test -n "$ac_tool_prefix"; then
  12561   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  12562 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  12563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12564 printf %s "checking for $ac_word... " >&6; }
  12565 if test ${ac_cv_prog_RANLIB+y}
  12566 then :
  12567   printf %s "(cached) " >&6
  12568 else case e in #(
  12569   e) if test -n "$RANLIB"; then
  12570   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  12571 else
  12572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12573 for as_dir in $PATH
  12574 do
  12575   IFS=$as_save_IFS
  12576   case $as_dir in #(((
  12577     '') as_dir=./ ;;
  12578     */) ;;
  12579     *) as_dir=$as_dir/ ;;
  12580   esac
  12581     for ac_exec_ext in '' $ac_executable_extensions; do
  12582   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  12583     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  12584     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  12585     break 2
  12586   fi
  12587 done
  12588   done
  12589 IFS=$as_save_IFS
  12590 
  12591 fi ;;
  12592 esac
  12593 fi
  12594 RANLIB=$ac_cv_prog_RANLIB
  12595 if test -n "$RANLIB"; then
  12596   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  12597 printf "%s\n" "$RANLIB" >&6; }
  12598 else
  12599   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12600 printf "%s\n" "no" >&6; }
  12601 fi
  12602 
  12603 
  12604 fi
  12605 if test -z "$ac_cv_prog_RANLIB"; then
  12606   ac_ct_RANLIB=$RANLIB
  12607   # Extract the first word of "ranlib", so it can be a program name with args.
  12608 set dummy ranlib; ac_word=$2
  12609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12610 printf %s "checking for $ac_word... " >&6; }
  12611 if test ${ac_cv_prog_ac_ct_RANLIB+y}
  12612 then :
  12613   printf %s "(cached) " >&6
  12614 else case e in #(
  12615   e) if test -n "$ac_ct_RANLIB"; then
  12616   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  12617 else
  12618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12619 for as_dir in $PATH
  12620 do
  12621   IFS=$as_save_IFS
  12622   case $as_dir in #(((
  12623     '') as_dir=./ ;;
  12624     */) ;;
  12625     *) as_dir=$as_dir/ ;;
  12626   esac
  12627     for ac_exec_ext in '' $ac_executable_extensions; do
  12628   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  12629     ac_cv_prog_ac_ct_RANLIB="ranlib"
  12630     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  12631     break 2
  12632   fi
  12633 done
  12634   done
  12635 IFS=$as_save_IFS
  12636 
  12637 fi ;;
  12638 esac
  12639 fi
  12640 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  12641 if test -n "$ac_ct_RANLIB"; then
  12642   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  12643 printf "%s\n" "$ac_ct_RANLIB" >&6; }
  12644 else
  12645   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12646 printf "%s\n" "no" >&6; }
  12647 fi
  12648 
  12649   if test "x$ac_ct_RANLIB" = x; then
  12650     RANLIB=":"
  12651   else
  12652     case $cross_compiling:$ac_tool_warned in
  12653 yes:)
  12654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  12655 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  12656 ac_tool_warned=yes ;;
  12657 esac
  12658     RANLIB=$ac_ct_RANLIB
  12659   fi
  12660 else
  12661   RANLIB="$ac_cv_prog_RANLIB"
  12662 fi
  12663 
  12664 if test -n "$ac_tool_prefix"; then
  12665   for ac_prog in ar
  12666   do
  12667     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  12668 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  12669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12670 printf %s "checking for $ac_word... " >&6; }
  12671 if test ${ac_cv_prog_AR+y}
  12672 then :
  12673   printf %s "(cached) " >&6
  12674 else case e in #(
  12675   e) if test -n "$AR"; then
  12676   ac_cv_prog_AR="$AR" # Let the user override the test.
  12677 else
  12678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12679 for as_dir in $PATH
  12680 do
  12681   IFS=$as_save_IFS
  12682   case $as_dir in #(((
  12683     '') as_dir=./ ;;
  12684     */) ;;
  12685     *) as_dir=$as_dir/ ;;
  12686   esac
  12687     for ac_exec_ext in '' $ac_executable_extensions; do
  12688   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  12689     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  12690     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  12691     break 2
  12692   fi
  12693 done
  12694   done
  12695 IFS=$as_save_IFS
  12696 
  12697 fi ;;
  12698 esac
  12699 fi
  12700 AR=$ac_cv_prog_AR
  12701 if test -n "$AR"; then
  12702   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  12703 printf "%s\n" "$AR" >&6; }
  12704 else
  12705   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12706 printf "%s\n" "no" >&6; }
  12707 fi
  12708 
  12709 
  12710     test -n "$AR" && break
  12711   done
  12712 fi
  12713 if test -z "$AR"; then
  12714   ac_ct_AR=$AR
  12715   for ac_prog in ar
  12716 do
  12717   # Extract the first word of "$ac_prog", so it can be a program name with args.
  12718 set dummy $ac_prog; ac_word=$2
  12719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12720 printf %s "checking for $ac_word... " >&6; }
  12721 if test ${ac_cv_prog_ac_ct_AR+y}
  12722 then :
  12723   printf %s "(cached) " >&6
  12724 else case e in #(
  12725   e) if test -n "$ac_ct_AR"; then
  12726   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  12727 else
  12728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12729 for as_dir in $PATH
  12730 do
  12731   IFS=$as_save_IFS
  12732   case $as_dir in #(((
  12733     '') as_dir=./ ;;
  12734     */) ;;
  12735     *) as_dir=$as_dir/ ;;
  12736   esac
  12737     for ac_exec_ext in '' $ac_executable_extensions; do
  12738   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  12739     ac_cv_prog_ac_ct_AR="$ac_prog"
  12740     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  12741     break 2
  12742   fi
  12743 done
  12744   done
  12745 IFS=$as_save_IFS
  12746 
  12747 fi ;;
  12748 esac
  12749 fi
  12750 ac_ct_AR=$ac_cv_prog_ac_ct_AR
  12751 if test -n "$ac_ct_AR"; then
  12752   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  12753 printf "%s\n" "$ac_ct_AR" >&6; }
  12754 else
  12755   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12756 printf "%s\n" "no" >&6; }
  12757 fi
  12758 
  12759 
  12760   test -n "$ac_ct_AR" && break
  12761 done
  12762 
  12763   if test "x$ac_ct_AR" = x; then
  12764     AR="false"
  12765   else
  12766     case $cross_compiling:$ac_tool_warned in
  12767 yes:)
  12768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  12769 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  12770 ac_tool_warned=yes ;;
  12771 esac
  12772     AR=$ac_ct_AR
  12773   fi
  12774 fi
  12775 
  12776 : ${AR=ar}
  12777 
  12778 
  12779 
  12780 
  12781 
  12782 
  12783 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
  12784 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
  12785 # higher priority because that's what people were doing historically (setting
  12786 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
  12787 # variable obsoleted/removed.
  12788 
  12789 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
  12790 lt_ar_flags=$AR_FLAGS
  12791 
  12792 
  12793 
  12794 
  12795 
  12796 
  12797 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
  12798 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
  12799 
  12800 
  12801 
  12802 
  12803 
  12804 
  12805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
  12806 printf %s "checking for archiver @FILE support... " >&6; }
  12807 if test ${lt_cv_ar_at_file+y}
  12808 then :
  12809   printf %s "(cached) " >&6
  12810 else case e in #(
  12811   e) lt_cv_ar_at_file=no
  12812    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12813 /* end confdefs.h.  */
  12814 
  12815 int
  12816 main (void)
  12817 {
  12818 
  12819   ;
  12820   return 0;
  12821 }
  12822 _ACEOF
  12823 if ac_fn_c_try_compile "$LINENO"
  12824 then :
  12825   echo conftest.$ac_objext > conftest.lst
  12826       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
  12827       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  12828   (eval $lt_ar_try) 2>&5
  12829   ac_status=$?
  12830   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12831   test $ac_status = 0; }
  12832       if test 0 -eq "$ac_status"; then
  12833 	# Ensure the archiver fails upon bogus file names.
  12834 	rm -f conftest.$ac_objext libconftest.a
  12835 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  12836   (eval $lt_ar_try) 2>&5
  12837   ac_status=$?
  12838   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12839   test $ac_status = 0; }
  12840 	if test 0 -ne "$ac_status"; then
  12841           lt_cv_ar_at_file=@
  12842         fi
  12843       fi
  12844       rm -f conftest.* libconftest.a
  12845 
  12846 fi
  12847 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  12848    ;;
  12849 esac
  12850 fi
  12851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
  12852 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
  12853 
  12854 if test no = "$lt_cv_ar_at_file"; then
  12855   archiver_list_spec=
  12856 else
  12857   archiver_list_spec=$lt_cv_ar_at_file
  12858 fi
  12859 
  12860 
  12861 
  12862 
  12863 
  12864 
  12865 
  12866 if test -n "$ac_tool_prefix"; then
  12867   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  12868 set dummy ${ac_tool_prefix}strip; ac_word=$2
  12869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12870 printf %s "checking for $ac_word... " >&6; }
  12871 if test ${ac_cv_prog_STRIP+y}
  12872 then :
  12873   printf %s "(cached) " >&6
  12874 else case e in #(
  12875   e) if test -n "$STRIP"; then
  12876   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  12877 else
  12878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12879 for as_dir in $PATH
  12880 do
  12881   IFS=$as_save_IFS
  12882   case $as_dir in #(((
  12883     '') as_dir=./ ;;
  12884     */) ;;
  12885     *) as_dir=$as_dir/ ;;
  12886   esac
  12887     for ac_exec_ext in '' $ac_executable_extensions; do
  12888   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  12889     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  12890     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  12891     break 2
  12892   fi
  12893 done
  12894   done
  12895 IFS=$as_save_IFS
  12896 
  12897 fi ;;
  12898 esac
  12899 fi
  12900 STRIP=$ac_cv_prog_STRIP
  12901 if test -n "$STRIP"; then
  12902   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  12903 printf "%s\n" "$STRIP" >&6; }
  12904 else
  12905   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12906 printf "%s\n" "no" >&6; }
  12907 fi
  12908 
  12909 
  12910 fi
  12911 if test -z "$ac_cv_prog_STRIP"; then
  12912   ac_ct_STRIP=$STRIP
  12913   # Extract the first word of "strip", so it can be a program name with args.
  12914 set dummy strip; ac_word=$2
  12915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12916 printf %s "checking for $ac_word... " >&6; }
  12917 if test ${ac_cv_prog_ac_ct_STRIP+y}
  12918 then :
  12919   printf %s "(cached) " >&6
  12920 else case e in #(
  12921   e) if test -n "$ac_ct_STRIP"; then
  12922   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  12923 else
  12924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12925 for as_dir in $PATH
  12926 do
  12927   IFS=$as_save_IFS
  12928   case $as_dir in #(((
  12929     '') as_dir=./ ;;
  12930     */) ;;
  12931     *) as_dir=$as_dir/ ;;
  12932   esac
  12933     for ac_exec_ext in '' $ac_executable_extensions; do
  12934   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  12935     ac_cv_prog_ac_ct_STRIP="strip"
  12936     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  12937     break 2
  12938   fi
  12939 done
  12940   done
  12941 IFS=$as_save_IFS
  12942 
  12943 fi ;;
  12944 esac
  12945 fi
  12946 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  12947 if test -n "$ac_ct_STRIP"; then
  12948   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  12949 printf "%s\n" "$ac_ct_STRIP" >&6; }
  12950 else
  12951   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12952 printf "%s\n" "no" >&6; }
  12953 fi
  12954 
  12955   if test "x$ac_ct_STRIP" = x; then
  12956     STRIP=":"
  12957   else
  12958     case $cross_compiling:$ac_tool_warned in
  12959 yes:)
  12960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  12961 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  12962 ac_tool_warned=yes ;;
  12963 esac
  12964     STRIP=$ac_ct_STRIP
  12965   fi
  12966 else
  12967   STRIP="$ac_cv_prog_STRIP"
  12968 fi
  12969 
  12970 test -z "$STRIP" && STRIP=:
  12971 
  12972 
  12973 
  12974 
  12975 
  12976 
  12977 
  12978 test -z "$RANLIB" && RANLIB=:
  12979 
  12980 
  12981 
  12982 
  12983 
  12984 
  12985 # Determine commands to create old-style static archives.
  12986 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  12987 old_postinstall_cmds='chmod 644 $oldlib'
  12988 old_postuninstall_cmds=
  12989 
  12990 if test -n "$RANLIB"; then
  12991   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
  12992   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
  12993 fi
  12994 
  12995 case $host_os in
  12996   darwin*)
  12997     lock_old_archive_extraction=yes ;;
  12998   *)
  12999     lock_old_archive_extraction=no ;;
  13000 esac
  13001 
  13002 
  13003 
  13004 
  13005 
  13006 
  13007 
  13008 
  13009 
  13010 
  13011 
  13012 
  13013 
  13014 
  13015 
  13016 
  13017 
  13018 
  13019 
  13020 
  13021 
  13022 
  13023 
  13024 
  13025 
  13026 
  13027 
  13028 
  13029 
  13030 
  13031 
  13032 
  13033 
  13034 
  13035 
  13036 
  13037 
  13038 
  13039 
  13040 # If no C compiler was specified, use CC.
  13041 LTCC=${LTCC-"$CC"}
  13042 
  13043 # If no C compiler flags were specified, use CFLAGS.
  13044 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  13045 
  13046 # Allow CC to be a program name with arguments.
  13047 compiler=$CC
  13048 
  13049 
  13050 # Check for command to grab the raw symbol name followed by C symbol from nm.
  13051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  13052 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
  13053 if test ${lt_cv_sys_global_symbol_pipe+y}
  13054 then :
  13055   printf %s "(cached) " >&6
  13056 else case e in #(
  13057   e)
  13058 # These are sane defaults that work on at least a few old systems.
  13059 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
  13060 
  13061 # Character class describing NM global symbol codes.
  13062 symcode='[BCDEGRST]'
  13063 
  13064 # Regexp to match symbols that can be accessed directly from C.
  13065 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  13066 
  13067 # Define system-specific variables.
  13068 case $host_os in
  13069 aix*)
  13070   symcode='[BCDT]'
  13071   ;;
  13072 cygwin* | mingw* | windows* | pw32* | cegcc*)
  13073   symcode='[ABCDGISTW]'
  13074   ;;
  13075 hpux*)
  13076   if test ia64 = "$host_cpu"; then
  13077     symcode='[ABCDEGRST]'
  13078   fi
  13079   ;;
  13080 irix* | nonstopux*)
  13081   symcode='[BCDEGRST]'
  13082   ;;
  13083 osf*)
  13084   symcode='[BCDEGQRST]'
  13085   ;;
  13086 solaris*)
  13087   symcode='[BCDRT]'
  13088   ;;
  13089 sco3.2v5*)
  13090   symcode='[DT]'
  13091   ;;
  13092 sysv4.2uw2*)
  13093   symcode='[DT]'
  13094   ;;
  13095 sysv5* | sco5v6* | unixware* | OpenUNIX*)
  13096   symcode='[ABDT]'
  13097   ;;
  13098 sysv4)
  13099   symcode='[DFNSTU]'
  13100   ;;
  13101 esac
  13102 
  13103 # If we're using GNU nm, then use its standard symbol codes.
  13104 case `$NM -V 2>&1` in
  13105 *GNU* | *'with BFD'*)
  13106   symcode='[ABCDGIRSTW]' ;;
  13107 esac
  13108 
  13109 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  13110   # Gets list of data symbols to import.
  13111   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
  13112   # Adjust the below global symbol transforms to fixup imported variables.
  13113   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
  13114   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
  13115   lt_c_name_lib_hook="\
  13116   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
  13117   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
  13118 else
  13119   # Disable hooks by default.
  13120   lt_cv_sys_global_symbol_to_import=
  13121   lt_cdecl_hook=
  13122   lt_c_name_hook=
  13123   lt_c_name_lib_hook=
  13124 fi
  13125 
  13126 # Transform an extracted symbol line into a proper C declaration.
  13127 # Some systems (esp. on ia64) link data and code symbols differently,
  13128 # so use this general approach.
  13129 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
  13130 $lt_cdecl_hook\
  13131 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
  13132 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
  13133 
  13134 # Transform an extracted symbol line into symbol name and symbol address
  13135 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
  13136 $lt_c_name_hook\
  13137 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
  13138 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
  13139 
  13140 # Transform an extracted symbol line into symbol name with lib prefix and
  13141 # symbol address.
  13142 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
  13143 $lt_c_name_lib_hook\
  13144 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
  13145 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
  13146 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
  13147 
  13148 # Handle CRLF in mingw tool chain
  13149 opt_cr=
  13150 case $build_os in
  13151 mingw* | windows*)
  13152   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  13153   ;;
  13154 esac
  13155 
  13156 # Try without a prefix underscore, then with it.
  13157 for ac_symprfx in "" "_"; do
  13158 
  13159   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  13160   symxfrm="\\1 $ac_symprfx\\2 \\2"
  13161 
  13162   # Write the raw and C identifiers.
  13163   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  13164     # Fake it for dumpbin and say T for any non-static function,
  13165     # D for any global variable and I for any imported variable.
  13166     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
  13167     # which start with @ or ?.
  13168     lt_cv_sys_global_symbol_pipe="$AWK '"\
  13169 "     {last_section=section; section=\$ 3};"\
  13170 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
  13171 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  13172 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
  13173 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
  13174 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
  13175 "     \$ 0!~/External *\|/{next};"\
  13176 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  13177 "     {if(hide[section]) next};"\
  13178 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
  13179 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
  13180 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
  13181 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
  13182 "     ' prfx=^$ac_symprfx"
  13183   else
  13184     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  13185   fi
  13186   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
  13187 
  13188   # Check to see that the pipe works correctly.
  13189   pipe_works=no
  13190 
  13191   rm -f conftest*
  13192   cat > conftest.$ac_ext <<_LT_EOF
  13193 #ifdef __cplusplus
  13194 extern "C" {
  13195 #endif
  13196 char nm_test_var;
  13197 void nm_test_func(void);
  13198 void nm_test_func(void){}
  13199 #ifdef __cplusplus
  13200 }
  13201 #endif
  13202 int main(void){nm_test_var='a';nm_test_func();return(0);}
  13203 _LT_EOF
  13204 
  13205   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  13206   (eval $ac_compile) 2>&5
  13207   ac_status=$?
  13208   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13209   test $ac_status = 0; }; then
  13210     # Now try to grab the symbols.
  13211     nlist=conftest.nm
  13212     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
  13213     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
  13214       # Try sorting and uniquifying the output.
  13215       if sort "$nlist" | uniq > "$nlist"T; then
  13216 	mv -f "$nlist"T "$nlist"
  13217       else
  13218 	rm -f "$nlist"T
  13219       fi
  13220 
  13221       # Make sure that we snagged all the symbols we need.
  13222       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  13223 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  13224 	  cat <<_LT_EOF > conftest.$ac_ext
  13225 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
  13226 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
  13227 /* DATA imports from DLLs on WIN32 can't be const, because runtime
  13228    relocations are performed -- see ld's documentation on pseudo-relocs.  */
  13229 # define LT_DLSYM_CONST
  13230 #elif defined __osf__
  13231 /* This system does not cope well with relocations in const data.  */
  13232 # define LT_DLSYM_CONST
  13233 #else
  13234 # define LT_DLSYM_CONST const
  13235 #endif
  13236 
  13237 #ifdef __cplusplus
  13238 extern "C" {
  13239 #endif
  13240 
  13241 _LT_EOF
  13242 	  # Now generate the symbol file.
  13243 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  13244 
  13245 	  cat <<_LT_EOF >> conftest.$ac_ext
  13246 
  13247 /* The mapping between symbol names and symbols.  */
  13248 LT_DLSYM_CONST struct {
  13249   const char *name;
  13250   void       *address;
  13251 }
  13252 lt__PROGRAM__LTX_preloaded_symbols[] =
  13253 {
  13254   { "@PROGRAM@", (void *) 0 },
  13255 _LT_EOF
  13256 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  13257 	  cat <<\_LT_EOF >> conftest.$ac_ext
  13258   {0, (void *) 0}
  13259 };
  13260 
  13261 /* This works around a problem in FreeBSD linker */
  13262 #ifdef FREEBSD_WORKAROUND
  13263 static const void *lt_preloaded_setup() {
  13264   return lt__PROGRAM__LTX_preloaded_symbols;
  13265 }
  13266 #endif
  13267 
  13268 #ifdef __cplusplus
  13269 }
  13270 #endif
  13271 _LT_EOF
  13272 	  # Now try linking the two files.
  13273 	  mv conftest.$ac_objext conftstm.$ac_objext
  13274 	  lt_globsym_save_LIBS=$LIBS
  13275 	  lt_globsym_save_CFLAGS=$CFLAGS
  13276 	  LIBS=conftstm.$ac_objext
  13277 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  13278 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  13279   (eval $ac_link) 2>&5
  13280   ac_status=$?
  13281   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13282   test $ac_status = 0; } && test -s conftest$ac_exeext; then
  13283 	    pipe_works=yes
  13284 	  fi
  13285 	  LIBS=$lt_globsym_save_LIBS
  13286 	  CFLAGS=$lt_globsym_save_CFLAGS
  13287 	else
  13288 	  echo "cannot find nm_test_func in $nlist" >&5
  13289 	fi
  13290       else
  13291 	echo "cannot find nm_test_var in $nlist" >&5
  13292       fi
  13293     else
  13294       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  13295     fi
  13296   else
  13297     echo "$progname: failed program was:" >&5
  13298     cat conftest.$ac_ext >&5
  13299   fi
  13300   rm -rf conftest* conftst*
  13301 
  13302   # Do not use the global_symbol_pipe unless it works.
  13303   if test yes = "$pipe_works"; then
  13304     break
  13305   else
  13306     lt_cv_sys_global_symbol_pipe=
  13307   fi
  13308 done
  13309  ;;
  13310 esac
  13311 fi
  13312 
  13313 if test -z "$lt_cv_sys_global_symbol_pipe"; then
  13314   lt_cv_sys_global_symbol_to_cdecl=
  13315 fi
  13316 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  13317   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  13318 printf "%s\n" "failed" >&6; }
  13319 else
  13320   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  13321 printf "%s\n" "ok" >&6; }
  13322 fi
  13323 
  13324 # Response file support.
  13325 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  13326   nm_file_list_spec='@'
  13327 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  13328   nm_file_list_spec='@'
  13329 fi
  13330 
  13331 
  13332 
  13333 
  13334 
  13335 
  13336 
  13337 
  13338 
  13339 
  13340 
  13341 
  13342 
  13343 
  13344 
  13345 
  13346 
  13347 
  13348 
  13349 
  13350 
  13351 
  13352 
  13353 
  13354 
  13355 
  13356 
  13357 
  13358 
  13359 
  13360 
  13361 
  13362 
  13363 
  13364 
  13365 
  13366 
  13367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
  13368 printf %s "checking for sysroot... " >&6; }
  13369 
  13370 # Check whether --with-sysroot was given.
  13371 if test ${with_sysroot+y}
  13372 then :
  13373   withval=$with_sysroot;
  13374 else case e in #(
  13375   e) with_sysroot=no ;;
  13376 esac
  13377 fi
  13378 
  13379 
  13380 lt_sysroot=
  13381 case $with_sysroot in #(
  13382  yes)
  13383    if test yes = "$GCC"; then
  13384      # Trim trailing / since we'll always append absolute paths and we want
  13385      # to avoid //, if only for less confusing output for the user.
  13386      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
  13387    fi
  13388    ;; #(
  13389  /*)
  13390    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
  13391    ;; #(
  13392  no|'')
  13393    ;; #(
  13394  *)
  13395    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
  13396 printf "%s\n" "$with_sysroot" >&6; }
  13397    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
  13398    ;;
  13399 esac
  13400 
  13401  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
  13402 printf "%s\n" "${lt_sysroot:-no}" >&6; }
  13403 
  13404 
  13405 
  13406 
  13407 
  13408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
  13409 printf %s "checking for a working dd... " >&6; }
  13410 if test ${ac_cv_path_lt_DD+y}
  13411 then :
  13412   printf %s "(cached) " >&6
  13413 else case e in #(
  13414   e) printf 0123456789abcdef0123456789abcdef >conftest.i
  13415 cat conftest.i conftest.i >conftest2.i
  13416 : ${lt_DD:=$DD}
  13417 if test -z "$lt_DD"; then
  13418   ac_path_lt_DD_found=false
  13419   # Loop through the user's path and test for each of PROGNAME-LIST
  13420   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13421 for as_dir in $PATH
  13422 do
  13423   IFS=$as_save_IFS
  13424   case $as_dir in #(((
  13425     '') as_dir=./ ;;
  13426     */) ;;
  13427     *) as_dir=$as_dir/ ;;
  13428   esac
  13429     for ac_prog in dd
  13430    do
  13431     for ac_exec_ext in '' $ac_executable_extensions; do
  13432       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
  13433       as_fn_executable_p "$ac_path_lt_DD" || continue
  13434 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  13435   cmp -s conftest.i conftest.out \
  13436   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
  13437 fi
  13438       $ac_path_lt_DD_found && break 3
  13439     done
  13440   done
  13441   done
  13442 IFS=$as_save_IFS
  13443   if test -z "$ac_cv_path_lt_DD"; then
  13444     :
  13445   fi
  13446 else
  13447   ac_cv_path_lt_DD=$lt_DD
  13448 fi
  13449 
  13450 rm -f conftest.i conftest2.i conftest.out ;;
  13451 esac
  13452 fi
  13453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
  13454 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
  13455 
  13456 
  13457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
  13458 printf %s "checking how to truncate binary pipes... " >&6; }
  13459 if test ${lt_cv_truncate_bin+y}
  13460 then :
  13461   printf %s "(cached) " >&6
  13462 else case e in #(
  13463   e) printf 0123456789abcdef0123456789abcdef >conftest.i
  13464 cat conftest.i conftest.i >conftest2.i
  13465 lt_cv_truncate_bin=
  13466 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  13467   cmp -s conftest.i conftest.out \
  13468   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
  13469 fi
  13470 rm -f conftest.i conftest2.i conftest.out
  13471 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
  13472 esac
  13473 fi
  13474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
  13475 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
  13476 
  13477 
  13478 
  13479 
  13480 
  13481 
  13482 
  13483 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
  13484 func_cc_basename ()
  13485 {
  13486     for cc_temp in $*""; do
  13487       case $cc_temp in
  13488         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  13489         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  13490         \-*) ;;
  13491         *) break;;
  13492       esac
  13493     done
  13494     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  13495 }
  13496 
  13497 # Check whether --enable-libtool-lock was given.
  13498 if test ${enable_libtool_lock+y}
  13499 then :
  13500   enableval=$enable_libtool_lock;
  13501 fi
  13502 
  13503 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
  13504 
  13505 # Some flags need to be propagated to the compiler or linker for good
  13506 # libtool support.
  13507 case $host in
  13508 ia64-*-hpux*)
  13509   # Find out what ABI is being produced by ac_compile, and set mode
  13510   # options accordingly.
  13511   echo 'int i;' > conftest.$ac_ext
  13512   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  13513   (eval $ac_compile) 2>&5
  13514   ac_status=$?
  13515   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13516   test $ac_status = 0; }; then
  13517     case `$FILECMD conftest.$ac_objext` in
  13518       *ELF-32*)
  13519 	HPUX_IA64_MODE=32
  13520 	;;
  13521       *ELF-64*)
  13522 	HPUX_IA64_MODE=64
  13523 	;;
  13524     esac
  13525   fi
  13526   rm -rf conftest*
  13527   ;;
  13528 *-*-irix6*)
  13529   # Find out what ABI is being produced by ac_compile, and set linker
  13530   # options accordingly.
  13531   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  13532   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  13533   (eval $ac_compile) 2>&5
  13534   ac_status=$?
  13535   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13536   test $ac_status = 0; }; then
  13537     if test yes = "$lt_cv_prog_gnu_ld"; then
  13538       case `$FILECMD conftest.$ac_objext` in
  13539 	*32-bit*)
  13540 	  LD="${LD-ld} -melf32bsmip"
  13541 	  ;;
  13542 	*N32*)
  13543 	  LD="${LD-ld} -melf32bmipn32"
  13544 	  ;;
  13545 	*64-bit*)
  13546 	  LD="${LD-ld} -melf64bmip"
  13547 	;;
  13548       esac
  13549     else
  13550       case `$FILECMD conftest.$ac_objext` in
  13551 	*32-bit*)
  13552 	  LD="${LD-ld} -32"
  13553 	  ;;
  13554 	*N32*)
  13555 	  LD="${LD-ld} -n32"
  13556 	  ;;
  13557 	*64-bit*)
  13558 	  LD="${LD-ld} -64"
  13559 	  ;;
  13560       esac
  13561     fi
  13562   fi
  13563   rm -rf conftest*
  13564   ;;
  13565 
  13566 mips64*-*linux*)
  13567   # Find out what ABI is being produced by ac_compile, and set linker
  13568   # options accordingly.
  13569   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  13570   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  13571   (eval $ac_compile) 2>&5
  13572   ac_status=$?
  13573   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13574   test $ac_status = 0; }; then
  13575     emul=elf
  13576     case `$FILECMD conftest.$ac_objext` in
  13577       *32-bit*)
  13578 	emul="${emul}32"
  13579 	;;
  13580       *64-bit*)
  13581 	emul="${emul}64"
  13582 	;;
  13583     esac
  13584     case `$FILECMD conftest.$ac_objext` in
  13585       *MSB*)
  13586 	emul="${emul}btsmip"
  13587 	;;
  13588       *LSB*)
  13589 	emul="${emul}ltsmip"
  13590 	;;
  13591     esac
  13592     case `$FILECMD conftest.$ac_objext` in
  13593       *N32*)
  13594 	emul="${emul}n32"
  13595 	;;
  13596     esac
  13597     LD="${LD-ld} -m $emul"
  13598   fi
  13599   rm -rf conftest*
  13600   ;;
  13601 
  13602 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
  13603 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
  13604   # Find out what ABI is being produced by ac_compile, and set linker
  13605   # options accordingly.  Note that the listed cases only cover the
  13606   # situations where additional linker options are needed (such as when
  13607   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
  13608   # vice versa); the common cases where no linker options are needed do
  13609   # not appear in the list.
  13610   echo 'int i;' > conftest.$ac_ext
  13611   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  13612   (eval $ac_compile) 2>&5
  13613   ac_status=$?
  13614   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13615   test $ac_status = 0; }; then
  13616     case `$FILECMD conftest.o` in
  13617       *32-bit*)
  13618 	case $host in
  13619 	  x86_64-*kfreebsd*-gnu)
  13620 	    LD="${LD-ld} -m elf_i386_fbsd"
  13621 	    ;;
  13622 	  x86_64-*linux*|x86_64-gnu*)
  13623 	    case `$FILECMD conftest.o` in
  13624 	      *x86-64*)
  13625 		LD="${LD-ld} -m elf32_x86_64"
  13626 		;;
  13627 	      *)
  13628 		LD="${LD-ld} -m elf_i386"
  13629 		;;
  13630 	    esac
  13631 	    ;;
  13632 	  powerpc64le-*linux*)
  13633 	    LD="${LD-ld} -m elf32lppclinux"
  13634 	    ;;
  13635 	  powerpc64-*linux*)
  13636 	    LD="${LD-ld} -m elf32ppclinux"
  13637 	    ;;
  13638 	  s390x-*linux*)
  13639 	    LD="${LD-ld} -m elf_s390"
  13640 	    ;;
  13641 	  sparc64-*linux*)
  13642 	    LD="${LD-ld} -m elf32_sparc"
  13643 	    ;;
  13644 	esac
  13645 	;;
  13646       *64-bit*)
  13647 	case $host in
  13648 	  x86_64-*kfreebsd*-gnu)
  13649 	    LD="${LD-ld} -m elf_x86_64_fbsd"
  13650 	    ;;
  13651 	  x86_64-*linux*|x86_64-gnu*)
  13652 	    LD="${LD-ld} -m elf_x86_64"
  13653 	    ;;
  13654 	  powerpcle-*linux*)
  13655 	    LD="${LD-ld} -m elf64lppc"
  13656 	    ;;
  13657 	  powerpc-*linux*)
  13658 	    LD="${LD-ld} -m elf64ppc"
  13659 	    ;;
  13660 	  s390*-*linux*|s390*-*tpf*)
  13661 	    LD="${LD-ld} -m elf64_s390"
  13662 	    ;;
  13663 	  sparc*-*linux*)
  13664 	    LD="${LD-ld} -m elf64_sparc"
  13665 	    ;;
  13666 	esac
  13667 	;;
  13668     esac
  13669   fi
  13670   rm -rf conftest*
  13671   ;;
  13672 
  13673 *-*-sco3.2v5*)
  13674   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  13675   SAVE_CFLAGS=$CFLAGS
  13676   CFLAGS="$CFLAGS -belf"
  13677   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  13678 printf %s "checking whether the C compiler needs -belf... " >&6; }
  13679 if test ${lt_cv_cc_needs_belf+y}
  13680 then :
  13681   printf %s "(cached) " >&6
  13682 else case e in #(
  13683   e) ac_ext=c
  13684 ac_cpp='$CPP $CPPFLAGS'
  13685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  13688 
  13689      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13690 /* end confdefs.h.  */
  13691 
  13692 int
  13693 main (void)
  13694 {
  13695 
  13696   ;
  13697   return 0;
  13698 }
  13699 _ACEOF
  13700 if ac_fn_c_try_link "$LINENO"
  13701 then :
  13702   lt_cv_cc_needs_belf=yes
  13703 else case e in #(
  13704   e) lt_cv_cc_needs_belf=no ;;
  13705 esac
  13706 fi
  13707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  13708     conftest$ac_exeext conftest.$ac_ext
  13709      ac_ext=c
  13710 ac_cpp='$CPP $CPPFLAGS'
  13711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  13714  ;;
  13715 esac
  13716 fi
  13717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  13718 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
  13719   if test yes != "$lt_cv_cc_needs_belf"; then
  13720     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  13721     CFLAGS=$SAVE_CFLAGS
  13722   fi
  13723   ;;
  13724 *-*solaris*)
  13725   # Find out what ABI is being produced by ac_compile, and set linker
  13726   # options accordingly.
  13727   echo 'int i;' > conftest.$ac_ext
  13728   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  13729   (eval $ac_compile) 2>&5
  13730   ac_status=$?
  13731   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13732   test $ac_status = 0; }; then
  13733     case `$FILECMD conftest.o` in
  13734     *64-bit*)
  13735       case $lt_cv_prog_gnu_ld in
  13736       yes*)
  13737         case $host in
  13738         i?86-*-solaris*|x86_64-*-solaris*)
  13739           LD="${LD-ld} -m elf_x86_64"
  13740           ;;
  13741         sparc*-*-solaris*)
  13742           LD="${LD-ld} -m elf64_sparc"
  13743           ;;
  13744         esac
  13745         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
  13746         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
  13747           LD=${LD-ld}_sol2
  13748         fi
  13749         ;;
  13750       *)
  13751 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  13752 	  LD="${LD-ld} -64"
  13753 	fi
  13754 	;;
  13755       esac
  13756       ;;
  13757     esac
  13758   fi
  13759   rm -rf conftest*
  13760   ;;
  13761 esac
  13762 
  13763 need_locks=$enable_libtool_lock
  13764 
  13765 if test -n "$ac_tool_prefix"; then
  13766   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  13767 set dummy ${ac_tool_prefix}mt; ac_word=$2
  13768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13769 printf %s "checking for $ac_word... " >&6; }
  13770 if test ${ac_cv_prog_MANIFEST_TOOL+y}
  13771 then :
  13772   printf %s "(cached) " >&6
  13773 else case e in #(
  13774   e) if test -n "$MANIFEST_TOOL"; then
  13775   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  13776 else
  13777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13778 for as_dir in $PATH
  13779 do
  13780   IFS=$as_save_IFS
  13781   case $as_dir in #(((
  13782     '') as_dir=./ ;;
  13783     */) ;;
  13784     *) as_dir=$as_dir/ ;;
  13785   esac
  13786     for ac_exec_ext in '' $ac_executable_extensions; do
  13787   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  13788     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  13789     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  13790     break 2
  13791   fi
  13792 done
  13793   done
  13794 IFS=$as_save_IFS
  13795 
  13796 fi ;;
  13797 esac
  13798 fi
  13799 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  13800 if test -n "$MANIFEST_TOOL"; then
  13801   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  13802 printf "%s\n" "$MANIFEST_TOOL" >&6; }
  13803 else
  13804   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13805 printf "%s\n" "no" >&6; }
  13806 fi
  13807 
  13808 
  13809 fi
  13810 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  13811   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  13812   # Extract the first word of "mt", so it can be a program name with args.
  13813 set dummy mt; ac_word=$2
  13814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13815 printf %s "checking for $ac_word... " >&6; }
  13816 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
  13817 then :
  13818   printf %s "(cached) " >&6
  13819 else case e in #(
  13820   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
  13821   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  13822 else
  13823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13824 for as_dir in $PATH
  13825 do
  13826   IFS=$as_save_IFS
  13827   case $as_dir in #(((
  13828     '') as_dir=./ ;;
  13829     */) ;;
  13830     *) as_dir=$as_dir/ ;;
  13831   esac
  13832     for ac_exec_ext in '' $ac_executable_extensions; do
  13833   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  13834     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  13835     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  13836     break 2
  13837   fi
  13838 done
  13839   done
  13840 IFS=$as_save_IFS
  13841 
  13842 fi ;;
  13843 esac
  13844 fi
  13845 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  13846 if test -n "$ac_ct_MANIFEST_TOOL"; then
  13847   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  13848 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
  13849 else
  13850   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13851 printf "%s\n" "no" >&6; }
  13852 fi
  13853 
  13854   if test "x$ac_ct_MANIFEST_TOOL" = x; then
  13855     MANIFEST_TOOL=":"
  13856   else
  13857     case $cross_compiling:$ac_tool_warned in
  13858 yes:)
  13859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  13860 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  13861 ac_tool_warned=yes ;;
  13862 esac
  13863     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  13864   fi
  13865 else
  13866   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  13867 fi
  13868 
  13869 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  13870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  13871 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  13872 if test ${lt_cv_path_manifest_tool+y}
  13873 then :
  13874   printf %s "(cached) " >&6
  13875 else case e in #(
  13876   e) lt_cv_path_manifest_tool=no
  13877   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  13878   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  13879   cat conftest.err >&5
  13880   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  13881     lt_cv_path_manifest_tool=yes
  13882   fi
  13883   rm -f conftest* ;;
  13884 esac
  13885 fi
  13886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
  13887 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
  13888 if test yes != "$lt_cv_path_manifest_tool"; then
  13889   MANIFEST_TOOL=:
  13890 fi
  13891 
  13892 
  13893 
  13894 
  13895 
  13896 
  13897   case $host_os in
  13898     rhapsody* | darwin*)
  13899     if test -n "$ac_tool_prefix"; then
  13900   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  13901 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  13902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13903 printf %s "checking for $ac_word... " >&6; }
  13904 if test ${ac_cv_prog_DSYMUTIL+y}
  13905 then :
  13906   printf %s "(cached) " >&6
  13907 else case e in #(
  13908   e) if test -n "$DSYMUTIL"; then
  13909   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  13910 else
  13911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13912 for as_dir in $PATH
  13913 do
  13914   IFS=$as_save_IFS
  13915   case $as_dir in #(((
  13916     '') as_dir=./ ;;
  13917     */) ;;
  13918     *) as_dir=$as_dir/ ;;
  13919   esac
  13920     for ac_exec_ext in '' $ac_executable_extensions; do
  13921   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  13922     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  13923     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  13924     break 2
  13925   fi
  13926 done
  13927   done
  13928 IFS=$as_save_IFS
  13929 
  13930 fi ;;
  13931 esac
  13932 fi
  13933 DSYMUTIL=$ac_cv_prog_DSYMUTIL
  13934 if test -n "$DSYMUTIL"; then
  13935   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  13936 printf "%s\n" "$DSYMUTIL" >&6; }
  13937 else
  13938   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13939 printf "%s\n" "no" >&6; }
  13940 fi
  13941 
  13942 
  13943 fi
  13944 if test -z "$ac_cv_prog_DSYMUTIL"; then
  13945   ac_ct_DSYMUTIL=$DSYMUTIL
  13946   # Extract the first word of "dsymutil", so it can be a program name with args.
  13947 set dummy dsymutil; ac_word=$2
  13948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13949 printf %s "checking for $ac_word... " >&6; }
  13950 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
  13951 then :
  13952   printf %s "(cached) " >&6
  13953 else case e in #(
  13954   e) if test -n "$ac_ct_DSYMUTIL"; then
  13955   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  13956 else
  13957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13958 for as_dir in $PATH
  13959 do
  13960   IFS=$as_save_IFS
  13961   case $as_dir in #(((
  13962     '') as_dir=./ ;;
  13963     */) ;;
  13964     *) as_dir=$as_dir/ ;;
  13965   esac
  13966     for ac_exec_ext in '' $ac_executable_extensions; do
  13967   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  13968     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  13969     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  13970     break 2
  13971   fi
  13972 done
  13973   done
  13974 IFS=$as_save_IFS
  13975 
  13976 fi ;;
  13977 esac
  13978 fi
  13979 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  13980 if test -n "$ac_ct_DSYMUTIL"; then
  13981   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  13982 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
  13983 else
  13984   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13985 printf "%s\n" "no" >&6; }
  13986 fi
  13987 
  13988   if test "x$ac_ct_DSYMUTIL" = x; then
  13989     DSYMUTIL=":"
  13990   else
  13991     case $cross_compiling:$ac_tool_warned in
  13992 yes:)
  13993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  13994 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  13995 ac_tool_warned=yes ;;
  13996 esac
  13997     DSYMUTIL=$ac_ct_DSYMUTIL
  13998   fi
  13999 else
  14000   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  14001 fi
  14002 
  14003     if test -n "$ac_tool_prefix"; then
  14004   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  14005 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  14006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14007 printf %s "checking for $ac_word... " >&6; }
  14008 if test ${ac_cv_prog_NMEDIT+y}
  14009 then :
  14010   printf %s "(cached) " >&6
  14011 else case e in #(
  14012   e) if test -n "$NMEDIT"; then
  14013   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  14014 else
  14015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14016 for as_dir in $PATH
  14017 do
  14018   IFS=$as_save_IFS
  14019   case $as_dir in #(((
  14020     '') as_dir=./ ;;
  14021     */) ;;
  14022     *) as_dir=$as_dir/ ;;
  14023   esac
  14024     for ac_exec_ext in '' $ac_executable_extensions; do
  14025   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  14026     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  14027     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  14028     break 2
  14029   fi
  14030 done
  14031   done
  14032 IFS=$as_save_IFS
  14033 
  14034 fi ;;
  14035 esac
  14036 fi
  14037 NMEDIT=$ac_cv_prog_NMEDIT
  14038 if test -n "$NMEDIT"; then
  14039   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  14040 printf "%s\n" "$NMEDIT" >&6; }
  14041 else
  14042   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14043 printf "%s\n" "no" >&6; }
  14044 fi
  14045 
  14046 
  14047 fi
  14048 if test -z "$ac_cv_prog_NMEDIT"; then
  14049   ac_ct_NMEDIT=$NMEDIT
  14050   # Extract the first word of "nmedit", so it can be a program name with args.
  14051 set dummy nmedit; ac_word=$2
  14052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14053 printf %s "checking for $ac_word... " >&6; }
  14054 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
  14055 then :
  14056   printf %s "(cached) " >&6
  14057 else case e in #(
  14058   e) if test -n "$ac_ct_NMEDIT"; then
  14059   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  14060 else
  14061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14062 for as_dir in $PATH
  14063 do
  14064   IFS=$as_save_IFS
  14065   case $as_dir in #(((
  14066     '') as_dir=./ ;;
  14067     */) ;;
  14068     *) as_dir=$as_dir/ ;;
  14069   esac
  14070     for ac_exec_ext in '' $ac_executable_extensions; do
  14071   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  14072     ac_cv_prog_ac_ct_NMEDIT="nmedit"
  14073     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  14074     break 2
  14075   fi
  14076 done
  14077   done
  14078 IFS=$as_save_IFS
  14079 
  14080 fi ;;
  14081 esac
  14082 fi
  14083 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  14084 if test -n "$ac_ct_NMEDIT"; then
  14085   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  14086 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
  14087 else
  14088   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14089 printf "%s\n" "no" >&6; }
  14090 fi
  14091 
  14092   if test "x$ac_ct_NMEDIT" = x; then
  14093     NMEDIT=":"
  14094   else
  14095     case $cross_compiling:$ac_tool_warned in
  14096 yes:)
  14097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14098 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14099 ac_tool_warned=yes ;;
  14100 esac
  14101     NMEDIT=$ac_ct_NMEDIT
  14102   fi
  14103 else
  14104   NMEDIT="$ac_cv_prog_NMEDIT"
  14105 fi
  14106 
  14107     if test -n "$ac_tool_prefix"; then
  14108   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  14109 set dummy ${ac_tool_prefix}lipo; ac_word=$2
  14110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14111 printf %s "checking for $ac_word... " >&6; }
  14112 if test ${ac_cv_prog_LIPO+y}
  14113 then :
  14114   printf %s "(cached) " >&6
  14115 else case e in #(
  14116   e) if test -n "$LIPO"; then
  14117   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  14118 else
  14119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14120 for as_dir in $PATH
  14121 do
  14122   IFS=$as_save_IFS
  14123   case $as_dir in #(((
  14124     '') as_dir=./ ;;
  14125     */) ;;
  14126     *) as_dir=$as_dir/ ;;
  14127   esac
  14128     for ac_exec_ext in '' $ac_executable_extensions; do
  14129   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  14130     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  14131     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  14132     break 2
  14133   fi
  14134 done
  14135   done
  14136 IFS=$as_save_IFS
  14137 
  14138 fi ;;
  14139 esac
  14140 fi
  14141 LIPO=$ac_cv_prog_LIPO
  14142 if test -n "$LIPO"; then
  14143   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  14144 printf "%s\n" "$LIPO" >&6; }
  14145 else
  14146   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14147 printf "%s\n" "no" >&6; }
  14148 fi
  14149 
  14150 
  14151 fi
  14152 if test -z "$ac_cv_prog_LIPO"; then
  14153   ac_ct_LIPO=$LIPO
  14154   # Extract the first word of "lipo", so it can be a program name with args.
  14155 set dummy lipo; ac_word=$2
  14156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14157 printf %s "checking for $ac_word... " >&6; }
  14158 if test ${ac_cv_prog_ac_ct_LIPO+y}
  14159 then :
  14160   printf %s "(cached) " >&6
  14161 else case e in #(
  14162   e) if test -n "$ac_ct_LIPO"; then
  14163   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  14164 else
  14165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14166 for as_dir in $PATH
  14167 do
  14168   IFS=$as_save_IFS
  14169   case $as_dir in #(((
  14170     '') as_dir=./ ;;
  14171     */) ;;
  14172     *) as_dir=$as_dir/ ;;
  14173   esac
  14174     for ac_exec_ext in '' $ac_executable_extensions; do
  14175   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  14176     ac_cv_prog_ac_ct_LIPO="lipo"
  14177     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  14178     break 2
  14179   fi
  14180 done
  14181   done
  14182 IFS=$as_save_IFS
  14183 
  14184 fi ;;
  14185 esac
  14186 fi
  14187 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  14188 if test -n "$ac_ct_LIPO"; then
  14189   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  14190 printf "%s\n" "$ac_ct_LIPO" >&6; }
  14191 else
  14192   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14193 printf "%s\n" "no" >&6; }
  14194 fi
  14195 
  14196   if test "x$ac_ct_LIPO" = x; then
  14197     LIPO=":"
  14198   else
  14199     case $cross_compiling:$ac_tool_warned in
  14200 yes:)
  14201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14202 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14203 ac_tool_warned=yes ;;
  14204 esac
  14205     LIPO=$ac_ct_LIPO
  14206   fi
  14207 else
  14208   LIPO="$ac_cv_prog_LIPO"
  14209 fi
  14210 
  14211     if test -n "$ac_tool_prefix"; then
  14212   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  14213 set dummy ${ac_tool_prefix}otool; ac_word=$2
  14214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14215 printf %s "checking for $ac_word... " >&6; }
  14216 if test ${ac_cv_prog_OTOOL+y}
  14217 then :
  14218   printf %s "(cached) " >&6
  14219 else case e in #(
  14220   e) if test -n "$OTOOL"; then
  14221   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  14222 else
  14223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14224 for as_dir in $PATH
  14225 do
  14226   IFS=$as_save_IFS
  14227   case $as_dir in #(((
  14228     '') as_dir=./ ;;
  14229     */) ;;
  14230     *) as_dir=$as_dir/ ;;
  14231   esac
  14232     for ac_exec_ext in '' $ac_executable_extensions; do
  14233   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  14234     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  14235     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  14236     break 2
  14237   fi
  14238 done
  14239   done
  14240 IFS=$as_save_IFS
  14241 
  14242 fi ;;
  14243 esac
  14244 fi
  14245 OTOOL=$ac_cv_prog_OTOOL
  14246 if test -n "$OTOOL"; then
  14247   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  14248 printf "%s\n" "$OTOOL" >&6; }
  14249 else
  14250   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14251 printf "%s\n" "no" >&6; }
  14252 fi
  14253 
  14254 
  14255 fi
  14256 if test -z "$ac_cv_prog_OTOOL"; then
  14257   ac_ct_OTOOL=$OTOOL
  14258   # Extract the first word of "otool", so it can be a program name with args.
  14259 set dummy otool; ac_word=$2
  14260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14261 printf %s "checking for $ac_word... " >&6; }
  14262 if test ${ac_cv_prog_ac_ct_OTOOL+y}
  14263 then :
  14264   printf %s "(cached) " >&6
  14265 else case e in #(
  14266   e) if test -n "$ac_ct_OTOOL"; then
  14267   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  14268 else
  14269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14270 for as_dir in $PATH
  14271 do
  14272   IFS=$as_save_IFS
  14273   case $as_dir in #(((
  14274     '') as_dir=./ ;;
  14275     */) ;;
  14276     *) as_dir=$as_dir/ ;;
  14277   esac
  14278     for ac_exec_ext in '' $ac_executable_extensions; do
  14279   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  14280     ac_cv_prog_ac_ct_OTOOL="otool"
  14281     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  14282     break 2
  14283   fi
  14284 done
  14285   done
  14286 IFS=$as_save_IFS
  14287 
  14288 fi ;;
  14289 esac
  14290 fi
  14291 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  14292 if test -n "$ac_ct_OTOOL"; then
  14293   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  14294 printf "%s\n" "$ac_ct_OTOOL" >&6; }
  14295 else
  14296   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14297 printf "%s\n" "no" >&6; }
  14298 fi
  14299 
  14300   if test "x$ac_ct_OTOOL" = x; then
  14301     OTOOL=":"
  14302   else
  14303     case $cross_compiling:$ac_tool_warned in
  14304 yes:)
  14305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14306 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14307 ac_tool_warned=yes ;;
  14308 esac
  14309     OTOOL=$ac_ct_OTOOL
  14310   fi
  14311 else
  14312   OTOOL="$ac_cv_prog_OTOOL"
  14313 fi
  14314 
  14315     if test -n "$ac_tool_prefix"; then
  14316   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  14317 set dummy ${ac_tool_prefix}otool64; ac_word=$2
  14318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14319 printf %s "checking for $ac_word... " >&6; }
  14320 if test ${ac_cv_prog_OTOOL64+y}
  14321 then :
  14322   printf %s "(cached) " >&6
  14323 else case e in #(
  14324   e) if test -n "$OTOOL64"; then
  14325   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  14326 else
  14327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14328 for as_dir in $PATH
  14329 do
  14330   IFS=$as_save_IFS
  14331   case $as_dir in #(((
  14332     '') as_dir=./ ;;
  14333     */) ;;
  14334     *) as_dir=$as_dir/ ;;
  14335   esac
  14336     for ac_exec_ext in '' $ac_executable_extensions; do
  14337   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  14338     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  14339     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  14340     break 2
  14341   fi
  14342 done
  14343   done
  14344 IFS=$as_save_IFS
  14345 
  14346 fi ;;
  14347 esac
  14348 fi
  14349 OTOOL64=$ac_cv_prog_OTOOL64
  14350 if test -n "$OTOOL64"; then
  14351   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  14352 printf "%s\n" "$OTOOL64" >&6; }
  14353 else
  14354   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14355 printf "%s\n" "no" >&6; }
  14356 fi
  14357 
  14358 
  14359 fi
  14360 if test -z "$ac_cv_prog_OTOOL64"; then
  14361   ac_ct_OTOOL64=$OTOOL64
  14362   # Extract the first word of "otool64", so it can be a program name with args.
  14363 set dummy otool64; ac_word=$2
  14364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14365 printf %s "checking for $ac_word... " >&6; }
  14366 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
  14367 then :
  14368   printf %s "(cached) " >&6
  14369 else case e in #(
  14370   e) if test -n "$ac_ct_OTOOL64"; then
  14371   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  14372 else
  14373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14374 for as_dir in $PATH
  14375 do
  14376   IFS=$as_save_IFS
  14377   case $as_dir in #(((
  14378     '') as_dir=./ ;;
  14379     */) ;;
  14380     *) as_dir=$as_dir/ ;;
  14381   esac
  14382     for ac_exec_ext in '' $ac_executable_extensions; do
  14383   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  14384     ac_cv_prog_ac_ct_OTOOL64="otool64"
  14385     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  14386     break 2
  14387   fi
  14388 done
  14389   done
  14390 IFS=$as_save_IFS
  14391 
  14392 fi ;;
  14393 esac
  14394 fi
  14395 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  14396 if test -n "$ac_ct_OTOOL64"; then
  14397   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  14398 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
  14399 else
  14400   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14401 printf "%s\n" "no" >&6; }
  14402 fi
  14403 
  14404   if test "x$ac_ct_OTOOL64" = x; then
  14405     OTOOL64=":"
  14406   else
  14407     case $cross_compiling:$ac_tool_warned in
  14408 yes:)
  14409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14410 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14411 ac_tool_warned=yes ;;
  14412 esac
  14413     OTOOL64=$ac_ct_OTOOL64
  14414   fi
  14415 else
  14416   OTOOL64="$ac_cv_prog_OTOOL64"
  14417 fi
  14418 
  14419 
  14420 
  14421 
  14422 
  14423 
  14424 
  14425 
  14426 
  14427 
  14428 
  14429 
  14430 
  14431 
  14432 
  14433 
  14434 
  14435 
  14436 
  14437 
  14438 
  14439 
  14440 
  14441 
  14442 
  14443 
  14444 
  14445     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  14446 printf %s "checking for -single_module linker flag... " >&6; }
  14447 if test ${lt_cv_apple_cc_single_mod+y}
  14448 then :
  14449   printf %s "(cached) " >&6
  14450 else case e in #(
  14451   e) lt_cv_apple_cc_single_mod=no
  14452       if test -z "$LT_MULTI_MODULE"; then
  14453 	# By default we will add the -single_module flag. You can override
  14454 	# by either setting the environment variable LT_MULTI_MODULE
  14455 	# non-empty at configure time, or by adding -multi_module to the
  14456 	# link flags.
  14457 	rm -rf libconftest.dylib*
  14458 	echo "int foo(void){return 1;}" > conftest.c
  14459 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  14460 -dynamiclib -Wl,-single_module conftest.c" >&5
  14461 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  14462 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  14463         _lt_result=$?
  14464 	# If there is a non-empty error log, and "single_module"
  14465 	# appears in it, assume the flag caused a linker warning
  14466         if test -s conftest.err && $GREP single_module conftest.err; then
  14467 	  cat conftest.err >&5
  14468 	# Otherwise, if the output was created with a 0 exit code from
  14469 	# the compiler, it worked.
  14470 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
  14471 	  lt_cv_apple_cc_single_mod=yes
  14472 	else
  14473 	  cat conftest.err >&5
  14474 	fi
  14475 	rm -rf libconftest.dylib*
  14476 	rm -f conftest.*
  14477       fi ;;
  14478 esac
  14479 fi
  14480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  14481 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
  14482 
  14483     # Feature test to disable chained fixups since it is not
  14484     # compatible with '-undefined dynamic_lookup'
  14485     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
  14486 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
  14487 if test ${lt_cv_support_no_fixup_chains+y}
  14488 then :
  14489   printf %s "(cached) " >&6
  14490 else case e in #(
  14491   e)  save_LDFLAGS=$LDFLAGS
  14492         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
  14493         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14494 /* end confdefs.h.  */
  14495 
  14496 int
  14497 main (void)
  14498 {
  14499 
  14500   ;
  14501   return 0;
  14502 }
  14503 _ACEOF
  14504 if ac_fn_c_try_link "$LINENO"
  14505 then :
  14506   lt_cv_support_no_fixup_chains=yes
  14507 else case e in #(
  14508   e) lt_cv_support_no_fixup_chains=no
  14509          ;;
  14510 esac
  14511 fi
  14512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14513     conftest$ac_exeext conftest.$ac_ext
  14514         LDFLAGS=$save_LDFLAGS
  14515 
  14516      ;;
  14517 esac
  14518 fi
  14519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
  14520 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
  14521 
  14522     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  14523 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
  14524 if test ${lt_cv_ld_exported_symbols_list+y}
  14525 then :
  14526   printf %s "(cached) " >&6
  14527 else case e in #(
  14528   e) lt_cv_ld_exported_symbols_list=no
  14529       save_LDFLAGS=$LDFLAGS
  14530       echo "_main" > conftest.sym
  14531       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  14532       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14533 /* end confdefs.h.  */
  14534 
  14535 int
  14536 main (void)
  14537 {
  14538 
  14539   ;
  14540   return 0;
  14541 }
  14542 _ACEOF
  14543 if ac_fn_c_try_link "$LINENO"
  14544 then :
  14545   lt_cv_ld_exported_symbols_list=yes
  14546 else case e in #(
  14547   e) lt_cv_ld_exported_symbols_list=no ;;
  14548 esac
  14549 fi
  14550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  14551     conftest$ac_exeext conftest.$ac_ext
  14552 	LDFLAGS=$save_LDFLAGS
  14553      ;;
  14554 esac
  14555 fi
  14556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  14557 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
  14558 
  14559     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  14560 printf %s "checking for -force_load linker flag... " >&6; }
  14561 if test ${lt_cv_ld_force_load+y}
  14562 then :
  14563   printf %s "(cached) " >&6
  14564 else case e in #(
  14565   e) lt_cv_ld_force_load=no
  14566       cat > conftest.c << _LT_EOF
  14567 int forced_loaded() { return 2;}
  14568 _LT_EOF
  14569       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  14570       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  14571       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
  14572       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
  14573       echo "$RANLIB libconftest.a" >&5
  14574       $RANLIB libconftest.a 2>&5
  14575       cat > conftest.c << _LT_EOF
  14576 int main(void) { return 0;}
  14577 _LT_EOF
  14578       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  14579       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  14580       _lt_result=$?
  14581       if test -s conftest.err && $GREP force_load conftest.err; then
  14582 	cat conftest.err >&5
  14583       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
  14584 	lt_cv_ld_force_load=yes
  14585       else
  14586 	cat conftest.err >&5
  14587       fi
  14588         rm -f conftest.err libconftest.a conftest conftest.c
  14589         rm -rf conftest.dSYM
  14590      ;;
  14591 esac
  14592 fi
  14593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  14594 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
  14595     case $host_os in
  14596     rhapsody* | darwin1.[012])
  14597       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
  14598     darwin1.*)
  14599       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
  14600     darwin*)
  14601       case $MACOSX_DEPLOYMENT_TARGET,$host in
  14602         10.[012],*|,*powerpc*-darwin[5-8]*)
  14603           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
  14604         *)
  14605           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
  14606           if test yes = "$lt_cv_support_no_fixup_chains"; then
  14607             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
  14608           fi
  14609         ;;
  14610       esac
  14611     ;;
  14612   esac
  14613     if test yes = "$lt_cv_apple_cc_single_mod"; then
  14614       _lt_dar_single_mod='$single_module'
  14615     fi
  14616     _lt_dar_needs_single_mod=no
  14617     case $host_os in
  14618     rhapsody* | darwin1.*)
  14619       _lt_dar_needs_single_mod=yes ;;
  14620     darwin*)
  14621       # When targeting Mac OS X 10.4 (darwin 8) or later,
  14622       # -single_module is the default and -multi_module is unsupported.
  14623       # The toolchain on macOS 10.14 (darwin 18) and later cannot
  14624       # target any OS version that needs -single_module.
  14625       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  14626       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
  14627         _lt_dar_needs_single_mod=yes ;;
  14628       esac
  14629     ;;
  14630     esac
  14631     if test yes = "$lt_cv_ld_exported_symbols_list"; then
  14632       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
  14633     else
  14634       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
  14635     fi
  14636     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
  14637       _lt_dsymutil='~$DSYMUTIL $lib || :'
  14638     else
  14639       _lt_dsymutil=
  14640     fi
  14641     ;;
  14642   esac
  14643 
  14644 # func_munge_path_list VARIABLE PATH
  14645 # -----------------------------------
  14646 # VARIABLE is name of variable containing _space_ separated list of
  14647 # directories to be munged by the contents of PATH, which is string
  14648 # having a format:
  14649 # "DIR[:DIR]:"
  14650 #       string "DIR[ DIR]" will be prepended to VARIABLE
  14651 # ":DIR[:DIR]"
  14652 #       string "DIR[ DIR]" will be appended to VARIABLE
  14653 # "DIRP[:DIRP]::[DIRA:]DIRA"
  14654 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
  14655 #       "DIRA[ DIRA]" will be appended to VARIABLE
  14656 # "DIR[:DIR]"
  14657 #       VARIABLE will be replaced by "DIR[ DIR]"
  14658 func_munge_path_list ()
  14659 {
  14660     case x$2 in
  14661     x)
  14662         ;;
  14663     *:)
  14664         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
  14665         ;;
  14666     x:*)
  14667         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
  14668         ;;
  14669     *::*)
  14670         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
  14671         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
  14672         ;;
  14673     *)
  14674         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
  14675         ;;
  14676     esac
  14677 }
  14678 
  14679 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  14680 "
  14681 if test "x$ac_cv_header_dlfcn_h" = xyes
  14682 then :
  14683   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
  14684 
  14685 fi
  14686 
  14687 
  14688 
  14689 
  14690 
  14691 # Set options
  14692 
  14693 
  14694 
  14695         enable_dlopen=no
  14696 
  14697 
  14698   enable_win32_dll=no
  14699 
  14700 
  14701             # Check whether --enable-shared was given.
  14702 if test ${enable_shared+y}
  14703 then :
  14704   enableval=$enable_shared; p=${PACKAGE-default}
  14705     case $enableval in
  14706     yes) enable_shared=yes ;;
  14707     no) enable_shared=no ;;
  14708     *)
  14709       enable_shared=no
  14710       # Look at the argument we got.  We use all the common list separators.
  14711       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  14712       for pkg in $enableval; do
  14713 	IFS=$lt_save_ifs
  14714 	if test "X$pkg" = "X$p"; then
  14715 	  enable_shared=yes
  14716 	fi
  14717       done
  14718       IFS=$lt_save_ifs
  14719       ;;
  14720     esac
  14721 else case e in #(
  14722   e) enable_shared=yes ;;
  14723 esac
  14724 fi
  14725 
  14726 
  14727 
  14728 
  14729 
  14730 
  14731 
  14732 
  14733 
  14734   # Check whether --enable-static was given.
  14735 if test ${enable_static+y}
  14736 then :
  14737   enableval=$enable_static; p=${PACKAGE-default}
  14738     case $enableval in
  14739     yes) enable_static=yes ;;
  14740     no) enable_static=no ;;
  14741     *)
  14742      enable_static=no
  14743       # Look at the argument we got.  We use all the common list separators.
  14744       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  14745       for pkg in $enableval; do
  14746 	IFS=$lt_save_ifs
  14747 	if test "X$pkg" = "X$p"; then
  14748 	  enable_static=yes
  14749 	fi
  14750       done
  14751       IFS=$lt_save_ifs
  14752       ;;
  14753     esac
  14754 else case e in #(
  14755   e) enable_static=yes ;;
  14756 esac
  14757 fi
  14758 
  14759 
  14760 
  14761 
  14762 
  14763 
  14764 
  14765 
  14766 
  14767   # Check whether --enable-pic was given.
  14768 if test ${enable_pic+y}
  14769 then :
  14770   enableval=$enable_pic; lt_p=${PACKAGE-default}
  14771      case $enableval in
  14772      yes|no) pic_mode=$enableval ;;
  14773      *)
  14774        pic_mode=default
  14775        # Look at the argument we got.  We use all the common list separators.
  14776        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  14777        for lt_pkg in $enableval; do
  14778 	 IFS=$lt_save_ifs
  14779 	 if test "X$lt_pkg" = "X$lt_p"; then
  14780 	   pic_mode=yes
  14781 	 fi
  14782        done
  14783        IFS=$lt_save_ifs
  14784        ;;
  14785      esac
  14786 else case e in #(
  14787   e)           # Check whether --with-pic was given.
  14788 if test ${with_pic+y}
  14789 then :
  14790   withval=$with_pic; lt_p=${PACKAGE-default}
  14791 	 case $withval in
  14792 	 yes|no) pic_mode=$withval ;;
  14793 	 *)
  14794 	   pic_mode=default
  14795 	   # Look at the argument we got.  We use all the common list separators.
  14796 	   lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  14797 	   for lt_pkg in $withval; do
  14798 	     IFS=$lt_save_ifs
  14799 	     if test "X$lt_pkg" = "X$lt_p"; then
  14800 	       pic_mode=yes
  14801 	     fi
  14802 	   done
  14803 	   IFS=$lt_save_ifs
  14804 	   ;;
  14805 	 esac
  14806 else case e in #(
  14807   e) pic_mode=default ;;
  14808 esac
  14809 fi
  14810 
  14811      ;;
  14812 esac
  14813 fi
  14814 
  14815 
  14816 
  14817 
  14818 
  14819 
  14820 
  14821 
  14822   # Check whether --enable-fast-install was given.
  14823 if test ${enable_fast_install+y}
  14824 then :
  14825   enableval=$enable_fast_install; p=${PACKAGE-default}
  14826     case $enableval in
  14827     yes) enable_fast_install=yes ;;
  14828     no) enable_fast_install=no ;;
  14829     *)
  14830       enable_fast_install=no
  14831       # Look at the argument we got.  We use all the common list separators.
  14832       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  14833       for pkg in $enableval; do
  14834 	IFS=$lt_save_ifs
  14835 	if test "X$pkg" = "X$p"; then
  14836 	  enable_fast_install=yes
  14837 	fi
  14838       done
  14839       IFS=$lt_save_ifs
  14840       ;;
  14841     esac
  14842 else case e in #(
  14843   e) enable_fast_install=yes ;;
  14844 esac
  14845 fi
  14846 
  14847 
  14848 
  14849 
  14850 
  14851 
  14852 
  14853 
  14854   shared_archive_member_spec=
  14855 case $host,$enable_shared in
  14856 power*-*-aix[5-9]*,yes)
  14857   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
  14858 printf %s "checking which variant of shared library versioning to provide... " >&6; }
  14859   # Check whether --enable-aix-soname was given.
  14860 if test ${enable_aix_soname+y}
  14861 then :
  14862   enableval=$enable_aix_soname; case $enableval in
  14863      aix|svr4|both)
  14864        ;;
  14865      *)
  14866        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
  14867        ;;
  14868      esac
  14869      lt_cv_with_aix_soname=$enable_aix_soname
  14870 else case e in #(
  14871   e) # Check whether --with-aix-soname was given.
  14872 if test ${with_aix_soname+y}
  14873 then :
  14874   withval=$with_aix_soname; case $withval in
  14875          aix|svr4|both)
  14876            ;;
  14877          *)
  14878            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
  14879            ;;
  14880          esac
  14881          lt_cv_with_aix_soname=$with_aix_soname
  14882 else case e in #(
  14883   e) if test ${lt_cv_with_aix_soname+y}
  14884 then :
  14885   printf %s "(cached) " >&6
  14886 else case e in #(
  14887   e) lt_cv_with_aix_soname=aix ;;
  14888 esac
  14889 fi
  14890  ;;
  14891 esac
  14892 fi
  14893 
  14894      enable_aix_soname=$lt_cv_with_aix_soname ;;
  14895 esac
  14896 fi
  14897 
  14898   with_aix_soname=$enable_aix_soname
  14899   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
  14900 printf "%s\n" "$with_aix_soname" >&6; }
  14901   if test aix != "$with_aix_soname"; then
  14902     # For the AIX way of multilib, we name the shared archive member
  14903     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
  14904     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
  14905     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
  14906     # the AIX toolchain works better with OBJECT_MODE set (default 32).
  14907     if test 64 = "${OBJECT_MODE-32}"; then
  14908       shared_archive_member_spec=shr_64
  14909     else
  14910       shared_archive_member_spec=shr
  14911     fi
  14912   fi
  14913   ;;
  14914 *)
  14915   with_aix_soname=aix
  14916   ;;
  14917 esac
  14918 
  14919 
  14920 
  14921 
  14922 
  14923 
  14924 
  14925 
  14926 
  14927 
  14928 # This can be used to rebuild libtool when needed
  14929 LIBTOOL_DEPS=$ltmain
  14930 
  14931 # Always use our own libtool.
  14932 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  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 test -z "$LN_S" && LN_S="ln -s"
  14964 
  14965 
  14966 
  14967 
  14968 
  14969 
  14970 
  14971 
  14972 
  14973 
  14974 
  14975 
  14976 
  14977 
  14978 if test -n "${ZSH_VERSION+set}"; then
  14979    setopt NO_GLOB_SUBST
  14980 fi
  14981 
  14982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  14983 printf %s "checking for objdir... " >&6; }
  14984 if test ${lt_cv_objdir+y}
  14985 then :
  14986   printf %s "(cached) " >&6
  14987 else case e in #(
  14988   e) rm -f .libs 2>/dev/null
  14989 mkdir .libs 2>/dev/null
  14990 if test -d .libs; then
  14991   lt_cv_objdir=.libs
  14992 else
  14993   # MS-DOS does not allow filenames that begin with a dot.
  14994   lt_cv_objdir=_libs
  14995 fi
  14996 rmdir .libs 2>/dev/null ;;
  14997 esac
  14998 fi
  14999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  15000 printf "%s\n" "$lt_cv_objdir" >&6; }
  15001 objdir=$lt_cv_objdir
  15002 
  15003 
  15004 
  15005 
  15006 
  15007 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
  15008 
  15009 
  15010 
  15011 
  15012 case $host_os in
  15013 aix3*)
  15014   # AIX sometimes has problems with the GCC collect2 program.  For some
  15015   # reason, if we set the COLLECT_NAMES environment variable, the problems
  15016   # vanish in a puff of smoke.
  15017   if test set != "${COLLECT_NAMES+set}"; then
  15018     COLLECT_NAMES=
  15019     export COLLECT_NAMES
  15020   fi
  15021   ;;
  15022 esac
  15023 
  15024 # Global variables:
  15025 ofile=libtool
  15026 can_build_shared=yes
  15027 
  15028 # All known linkers require a '.a' archive for static linking (except MSVC and
  15029 # ICC, which need '.lib').
  15030 libext=a
  15031 
  15032 with_gnu_ld=$lt_cv_prog_gnu_ld
  15033 
  15034 old_CC=$CC
  15035 old_CFLAGS=$CFLAGS
  15036 
  15037 # Set sane defaults for various variables
  15038 test -z "$CC" && CC=cc
  15039 test -z "$LTCC" && LTCC=$CC
  15040 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  15041 test -z "$LD" && LD=ld
  15042 test -z "$ac_objext" && ac_objext=o
  15043 
  15044 func_cc_basename $compiler
  15045 cc_basename=$func_cc_basename_result
  15046 
  15047 
  15048 # Only perform the check for file, if the check method requires it
  15049 test -z "$MAGIC_CMD" && MAGIC_CMD=file
  15050 case $deplibs_check_method in
  15051 file_magic*)
  15052   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  15053     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  15054 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
  15055 if test ${lt_cv_path_MAGIC_CMD+y}
  15056 then :
  15057   printf %s "(cached) " >&6
  15058 else case e in #(
  15059   e) case $MAGIC_CMD in
  15060 [\\/*] |  ?:[\\/]*)
  15061   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  15062   ;;
  15063 *)
  15064   lt_save_MAGIC_CMD=$MAGIC_CMD
  15065   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  15066   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  15067   for ac_dir in $ac_dummy; do
  15068     IFS=$lt_save_ifs
  15069     test -z "$ac_dir" && ac_dir=.
  15070     if test -f "$ac_dir/${ac_tool_prefix}file"; then
  15071       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
  15072       if test -n "$file_magic_test_file"; then
  15073 	case $deplibs_check_method in
  15074 	"file_magic "*)
  15075 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  15076 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  15077 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  15078 	    $EGREP "$file_magic_regex" > /dev/null; then
  15079 	    :
  15080 	  else
  15081 	    cat <<_LT_EOF 1>&2
  15082 
  15083 *** Warning: the command libtool uses to detect shared libraries,
  15084 *** $file_magic_cmd, produces output that libtool cannot recognize.
  15085 *** The result is that libtool may fail to recognize shared libraries
  15086 *** as such.  This will affect the creation of libtool libraries that
  15087 *** depend on shared libraries, but programs linked with such libtool
  15088 *** libraries will work regardless of this problem.  Nevertheless, you
  15089 *** may want to report the problem to your system manager and/or to
  15090 *** bug-libtool@gnu.org
  15091 
  15092 _LT_EOF
  15093 	  fi ;;
  15094 	esac
  15095       fi
  15096       break
  15097     fi
  15098   done
  15099   IFS=$lt_save_ifs
  15100   MAGIC_CMD=$lt_save_MAGIC_CMD
  15101   ;;
  15102 esac ;;
  15103 esac
  15104 fi
  15105 
  15106 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  15107 if test -n "$MAGIC_CMD"; then
  15108   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  15109 printf "%s\n" "$MAGIC_CMD" >&6; }
  15110 else
  15111   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15112 printf "%s\n" "no" >&6; }
  15113 fi
  15114 
  15115 
  15116 
  15117 
  15118 
  15119 if test -z "$lt_cv_path_MAGIC_CMD"; then
  15120   if test -n "$ac_tool_prefix"; then
  15121     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  15122 printf %s "checking for file... " >&6; }
  15123 if test ${lt_cv_path_MAGIC_CMD+y}
  15124 then :
  15125   printf %s "(cached) " >&6
  15126 else case e in #(
  15127   e) case $MAGIC_CMD in
  15128 [\\/*] |  ?:[\\/]*)
  15129   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  15130   ;;
  15131 *)
  15132   lt_save_MAGIC_CMD=$MAGIC_CMD
  15133   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  15134   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  15135   for ac_dir in $ac_dummy; do
  15136     IFS=$lt_save_ifs
  15137     test -z "$ac_dir" && ac_dir=.
  15138     if test -f "$ac_dir/file"; then
  15139       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
  15140       if test -n "$file_magic_test_file"; then
  15141 	case $deplibs_check_method in
  15142 	"file_magic "*)
  15143 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  15144 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  15145 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  15146 	    $EGREP "$file_magic_regex" > /dev/null; then
  15147 	    :
  15148 	  else
  15149 	    cat <<_LT_EOF 1>&2
  15150 
  15151 *** Warning: the command libtool uses to detect shared libraries,
  15152 *** $file_magic_cmd, produces output that libtool cannot recognize.
  15153 *** The result is that libtool may fail to recognize shared libraries
  15154 *** as such.  This will affect the creation of libtool libraries that
  15155 *** depend on shared libraries, but programs linked with such libtool
  15156 *** libraries will work regardless of this problem.  Nevertheless, you
  15157 *** may want to report the problem to your system manager and/or to
  15158 *** bug-libtool@gnu.org
  15159 
  15160 _LT_EOF
  15161 	  fi ;;
  15162 	esac
  15163       fi
  15164       break
  15165     fi
  15166   done
  15167   IFS=$lt_save_ifs
  15168   MAGIC_CMD=$lt_save_MAGIC_CMD
  15169   ;;
  15170 esac ;;
  15171 esac
  15172 fi
  15173 
  15174 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  15175 if test -n "$MAGIC_CMD"; then
  15176   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  15177 printf "%s\n" "$MAGIC_CMD" >&6; }
  15178 else
  15179   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15180 printf "%s\n" "no" >&6; }
  15181 fi
  15182 
  15183 
  15184   else
  15185     MAGIC_CMD=:
  15186   fi
  15187 fi
  15188 
  15189   fi
  15190   ;;
  15191 esac
  15192 
  15193 # Use C for the default configuration in the libtool script
  15194 
  15195 lt_save_CC=$CC
  15196 ac_ext=c
  15197 ac_cpp='$CPP $CPPFLAGS'
  15198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15201 
  15202 
  15203 # Source file extension for C test sources.
  15204 ac_ext=c
  15205 
  15206 # Object file extension for compiled C test sources.
  15207 objext=o
  15208 objext=$objext
  15209 
  15210 # Code to be used in simple compile tests
  15211 lt_simple_compile_test_code="int some_variable = 0;"
  15212 
  15213 # Code to be used in simple link tests
  15214 lt_simple_link_test_code='int main(void){return(0);}'
  15215 
  15216 
  15217 
  15218 
  15219 
  15220 
  15221 
  15222 # If no C compiler was specified, use CC.
  15223 LTCC=${LTCC-"$CC"}
  15224 
  15225 # If no C compiler flags were specified, use CFLAGS.
  15226 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  15227 
  15228 # Allow CC to be a program name with arguments.
  15229 compiler=$CC
  15230 
  15231 # Save the default compiler, since it gets overwritten when the other
  15232 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  15233 compiler_DEFAULT=$CC
  15234 
  15235 # save warnings/boilerplate of simple test code
  15236 ac_outfile=conftest.$ac_objext
  15237 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  15238 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  15239 _lt_compiler_boilerplate=`cat conftest.err`
  15240 $RM conftest*
  15241 
  15242 ac_outfile=conftest.$ac_objext
  15243 echo "$lt_simple_link_test_code" >conftest.$ac_ext
  15244 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  15245 _lt_linker_boilerplate=`cat conftest.err`
  15246 $RM -r conftest*
  15247 
  15248 
  15249 ## CAVEAT EMPTOR:
  15250 ## There is no encapsulation within the following macros, do not change
  15251 ## the running order or otherwise move them around unless you know exactly
  15252 ## what you are doing...
  15253 if test -n "$compiler"; then
  15254 
  15255 lt_prog_compiler_no_builtin_flag=
  15256 
  15257 if test yes = "$GCC"; then
  15258   case $cc_basename in
  15259   nvcc*)
  15260     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  15261   *)
  15262     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  15263   esac
  15264 
  15265   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  15266 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  15267 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
  15268 then :
  15269   printf %s "(cached) " >&6
  15270 else case e in #(
  15271   e) lt_cv_prog_compiler_rtti_exceptions=no
  15272    ac_outfile=conftest.$ac_objext
  15273    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  15274    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
  15275    # Insert the option either (1) after the last *FLAGS variable, or
  15276    # (2) before a word containing "conftest.", or (3) at the end.
  15277    # Note that $ac_compile itself does not contain backslashes and begins
  15278    # with a dollar sign (not a hyphen), so the echo should work correctly.
  15279    # The option is referenced via a variable to avoid confusing sed.
  15280    lt_compile=`echo "$ac_compile" | $SED \
  15281    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  15282    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  15283    -e 's:$: $lt_compiler_flag:'`
  15284    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  15285    (eval "$lt_compile" 2>conftest.err)
  15286    ac_status=$?
  15287    cat conftest.err >&5
  15288    echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15289    if (exit $ac_status) && test -s "$ac_outfile"; then
  15290      # The compiler can only warn and ignore the option if not recognized
  15291      # So say no if there are warnings other than the usual output.
  15292      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  15293      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  15294      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  15295        lt_cv_prog_compiler_rtti_exceptions=yes
  15296      fi
  15297    fi
  15298    $RM conftest*
  15299  ;;
  15300 esac
  15301 fi
  15302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  15303 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  15304 
  15305 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
  15306     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  15307 else
  15308     :
  15309 fi
  15310 
  15311 fi
  15312 
  15313 
  15314 
  15315 
  15316 
  15317 
  15318   lt_prog_compiler_wl=
  15319 lt_prog_compiler_pic=
  15320 lt_prog_compiler_static=
  15321 
  15322 
  15323   if test yes = "$GCC"; then
  15324     lt_prog_compiler_wl='-Wl,'
  15325     lt_prog_compiler_static='-static'
  15326 
  15327     case $host_os in
  15328       aix*)
  15329       # All AIX code is PIC.
  15330       if test ia64 = "$host_cpu"; then
  15331 	# AIX 5 now supports IA64 processor
  15332 	lt_prog_compiler_static='-Bstatic'
  15333       fi
  15334       lt_prog_compiler_pic='-fPIC'
  15335       ;;
  15336 
  15337     amigaos*)
  15338       case $host_cpu in
  15339       powerpc)
  15340             # see comment about AmigaOS4 .so support
  15341             lt_prog_compiler_pic='-fPIC'
  15342         ;;
  15343       m68k)
  15344             # FIXME: we need at least 68020 code to build shared libraries, but
  15345             # adding the '-m68020' flag to GCC prevents building anything better,
  15346             # like '-m68040'.
  15347             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  15348         ;;
  15349       esac
  15350       ;;
  15351 
  15352     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  15353       # PIC is the default for these OSes.
  15354       ;;
  15355 
  15356     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
  15357       # This hack is so that the source file can tell whether it is being
  15358       # built for inclusion in a dll (and should export symbols for example).
  15359       # Although the cygwin gcc ignores -fPIC, still need this for old-style
  15360       # (--disable-auto-import) libraries
  15361       lt_prog_compiler_pic='-DDLL_EXPORT'
  15362       case $host_os in
  15363       os2*)
  15364 	lt_prog_compiler_static='$wl-static'
  15365 	;;
  15366       esac
  15367       ;;
  15368 
  15369     darwin* | rhapsody*)
  15370       # PIC is the default on this platform
  15371       # Common symbols not allowed in MH_DYLIB files
  15372       lt_prog_compiler_pic='-fno-common'
  15373       ;;
  15374 
  15375     haiku*)
  15376       # PIC is the default for Haiku.
  15377       # The "-static" flag exists, but is broken.
  15378       lt_prog_compiler_static=
  15379       ;;
  15380 
  15381     hpux*)
  15382       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  15383       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
  15384       # sets the default TLS model and affects inlining.
  15385       case $host_cpu in
  15386       hppa*64*)
  15387 	# +Z the default
  15388 	;;
  15389       *)
  15390 	lt_prog_compiler_pic='-fPIC'
  15391 	;;
  15392       esac
  15393       ;;
  15394 
  15395     interix[3-9]*)
  15396       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  15397       # Instead, we relocate shared libraries at runtime.
  15398       ;;
  15399 
  15400     msdosdjgpp*)
  15401       # Just because we use GCC doesn't mean we suddenly get shared libraries
  15402       # on systems that don't support them.
  15403       lt_prog_compiler_can_build_shared=no
  15404       enable_shared=no
  15405       ;;
  15406 
  15407     *nto* | *qnx*)
  15408       # QNX uses GNU C++, but need to define -shared option too, otherwise
  15409       # it will coredump.
  15410       lt_prog_compiler_pic='-fPIC -shared'
  15411       ;;
  15412 
  15413     sysv4*MP*)
  15414       if test -d /usr/nec; then
  15415 	lt_prog_compiler_pic=-Kconform_pic
  15416       fi
  15417       ;;
  15418 
  15419     *)
  15420       lt_prog_compiler_pic='-fPIC'
  15421       ;;
  15422     esac
  15423 
  15424     case $cc_basename in
  15425     nvcc*) # Cuda Compiler Driver 2.2
  15426       lt_prog_compiler_wl='-Xlinker '
  15427       if test -n "$lt_prog_compiler_pic"; then
  15428         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
  15429       fi
  15430       ;;
  15431     esac
  15432   else
  15433     # PORTME Check for flag to pass linker flags through the system compiler.
  15434     case $host_os in
  15435     aix*)
  15436       lt_prog_compiler_wl='-Wl,'
  15437       if test ia64 = "$host_cpu"; then
  15438 	# AIX 5 now supports IA64 processor
  15439 	lt_prog_compiler_static='-Bstatic'
  15440       else
  15441 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  15442       fi
  15443       ;;
  15444 
  15445     darwin* | rhapsody*)
  15446       # PIC is the default on this platform
  15447       # Common symbols not allowed in MH_DYLIB files
  15448       lt_prog_compiler_pic='-fno-common'
  15449       case $cc_basename in
  15450       nagfor*)
  15451         # NAG Fortran compiler
  15452         lt_prog_compiler_wl='-Wl,-Wl,,'
  15453         lt_prog_compiler_pic='-PIC'
  15454         lt_prog_compiler_static='-Bstatic'
  15455         ;;
  15456       esac
  15457       ;;
  15458 
  15459     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
  15460       # This hack is so that the source file can tell whether it is being
  15461       # built for inclusion in a dll (and should export symbols for example).
  15462       lt_prog_compiler_pic='-DDLL_EXPORT'
  15463       case $host_os in
  15464       os2*)
  15465 	lt_prog_compiler_static='$wl-static'
  15466 	;;
  15467       esac
  15468       ;;
  15469 
  15470     hpux9* | hpux10* | hpux11*)
  15471       lt_prog_compiler_wl='-Wl,'
  15472       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  15473       # not for PA HP-UX.
  15474       case $host_cpu in
  15475       hppa*64*|ia64*)
  15476 	# +Z the default
  15477 	;;
  15478       *)
  15479 	lt_prog_compiler_pic='+Z'
  15480 	;;
  15481       esac
  15482       # Is there a better lt_prog_compiler_static that works with the bundled CC?
  15483       lt_prog_compiler_static='$wl-a ${wl}archive'
  15484       ;;
  15485 
  15486     irix5* | irix6* | nonstopux*)
  15487       lt_prog_compiler_wl='-Wl,'
  15488       # PIC (with -KPIC) is the default.
  15489       lt_prog_compiler_static='-non_shared'
  15490       ;;
  15491 
  15492     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  15493       case $cc_basename in
  15494       # old Intel for x86_64, which still supported -KPIC.
  15495       ecc*)
  15496 	lt_prog_compiler_wl='-Wl,'
  15497 	lt_prog_compiler_pic='-KPIC'
  15498 	lt_prog_compiler_static='-static'
  15499         ;;
  15500       *flang* | ftn | f18* | f95*)
  15501         # Flang compiler.
  15502 	lt_prog_compiler_wl='-Wl,'
  15503 	lt_prog_compiler_pic='-fPIC'
  15504 	lt_prog_compiler_static='-static'
  15505         ;;
  15506       # icc used to be incompatible with GCC.
  15507       # ICC 10 doesn't accept -KPIC any more.
  15508       icc* | ifort*)
  15509 	lt_prog_compiler_wl='-Wl,'
  15510 	lt_prog_compiler_pic='-fPIC'
  15511 	lt_prog_compiler_static='-static'
  15512         ;;
  15513       # Lahey Fortran 8.1.
  15514       lf95*)
  15515 	lt_prog_compiler_wl='-Wl,'
  15516 	lt_prog_compiler_pic='--shared'
  15517 	lt_prog_compiler_static='--static'
  15518 	;;
  15519       nagfor*)
  15520 	# NAG Fortran compiler
  15521 	lt_prog_compiler_wl='-Wl,-Wl,,'
  15522 	lt_prog_compiler_pic='-PIC'
  15523 	lt_prog_compiler_static='-Bstatic'
  15524 	;;
  15525       tcc*)
  15526 	# Fabrice Bellard et al's Tiny C Compiler
  15527 	lt_prog_compiler_wl='-Wl,'
  15528 	lt_prog_compiler_pic='-fPIC'
  15529 	lt_prog_compiler_static='-static'
  15530 	;;
  15531       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  15532         # Portland Group compilers (*not* the Pentium gcc compiler,
  15533 	# which looks to be a dead project)
  15534 	lt_prog_compiler_wl='-Wl,'
  15535 	lt_prog_compiler_pic='-fpic'
  15536 	lt_prog_compiler_static='-Bstatic'
  15537         ;;
  15538       ccc*)
  15539         lt_prog_compiler_wl='-Wl,'
  15540         # All Alpha code is PIC.
  15541         lt_prog_compiler_static='-non_shared'
  15542         ;;
  15543       xl* | bgxl* | bgf* | mpixl*)
  15544 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  15545 	lt_prog_compiler_wl='-Wl,'
  15546 	lt_prog_compiler_pic='-qpic'
  15547 	lt_prog_compiler_static='-qstaticlink'
  15548 	;;
  15549       *)
  15550 	case `$CC -V 2>&1 | $SED 5q` in
  15551 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
  15552 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
  15553 	  lt_prog_compiler_pic='-KPIC'
  15554 	  lt_prog_compiler_static='-Bstatic'
  15555 	  lt_prog_compiler_wl=''
  15556 	  ;;
  15557 	*Sun\ F* | *Sun*Fortran*)
  15558 	  lt_prog_compiler_pic='-KPIC'
  15559 	  lt_prog_compiler_static='-Bstatic'
  15560 	  lt_prog_compiler_wl='-Qoption ld '
  15561 	  ;;
  15562 	*Sun\ C*)
  15563 	  # Sun C 5.9
  15564 	  lt_prog_compiler_pic='-KPIC'
  15565 	  lt_prog_compiler_static='-Bstatic'
  15566 	  lt_prog_compiler_wl='-Wl,'
  15567 	  ;;
  15568         *Intel*\ [CF]*Compiler*)
  15569 	  lt_prog_compiler_wl='-Wl,'
  15570 	  lt_prog_compiler_pic='-fPIC'
  15571 	  lt_prog_compiler_static='-static'
  15572 	  ;;
  15573 	*Portland\ Group*)
  15574 	  lt_prog_compiler_wl='-Wl,'
  15575 	  lt_prog_compiler_pic='-fpic'
  15576 	  lt_prog_compiler_static='-Bstatic'
  15577 	  ;;
  15578 	esac
  15579 	;;
  15580       esac
  15581       ;;
  15582 
  15583     newsos6)
  15584       lt_prog_compiler_pic='-KPIC'
  15585       lt_prog_compiler_static='-Bstatic'
  15586       ;;
  15587 
  15588     *-mlibc)
  15589       lt_prog_compiler_wl='-Wl,'
  15590       lt_prog_compiler_pic='-fPIC'
  15591       lt_prog_compiler_static='-static'
  15592       ;;
  15593 
  15594     *nto* | *qnx*)
  15595       # QNX uses GNU C++, but need to define -shared option too, otherwise
  15596       # it will coredump.
  15597       lt_prog_compiler_pic='-fPIC -shared'
  15598       ;;
  15599 
  15600     osf3* | osf4* | osf5*)
  15601       lt_prog_compiler_wl='-Wl,'
  15602       # All OSF/1 code is PIC.
  15603       lt_prog_compiler_static='-non_shared'
  15604       ;;
  15605 
  15606     rdos*)
  15607       lt_prog_compiler_static='-non_shared'
  15608       ;;
  15609 
  15610     serenity*)
  15611       ;;
  15612 
  15613     solaris*)
  15614       lt_prog_compiler_pic='-KPIC'
  15615       lt_prog_compiler_static='-Bstatic'
  15616       case $cc_basename in
  15617       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  15618 	lt_prog_compiler_wl='-Qoption ld ';;
  15619       *)
  15620 	lt_prog_compiler_wl='-Wl,';;
  15621       esac
  15622       ;;
  15623 
  15624     sunos4*)
  15625       lt_prog_compiler_wl='-Qoption ld '
  15626       lt_prog_compiler_pic='-PIC'
  15627       lt_prog_compiler_static='-Bstatic'
  15628       ;;
  15629 
  15630     sysv4 | sysv4.2uw2* | sysv4.3*)
  15631       lt_prog_compiler_wl='-Wl,'
  15632       lt_prog_compiler_pic='-KPIC'
  15633       lt_prog_compiler_static='-Bstatic'
  15634       ;;
  15635 
  15636     sysv4*MP*)
  15637       if test -d /usr/nec; then
  15638 	lt_prog_compiler_pic='-Kconform_pic'
  15639 	lt_prog_compiler_static='-Bstatic'
  15640       fi
  15641       ;;
  15642 
  15643     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  15644       lt_prog_compiler_wl='-Wl,'
  15645       lt_prog_compiler_pic='-KPIC'
  15646       lt_prog_compiler_static='-Bstatic'
  15647       ;;
  15648 
  15649     unicos*)
  15650       lt_prog_compiler_wl='-Wl,'
  15651       lt_prog_compiler_can_build_shared=no
  15652       ;;
  15653 
  15654     uts4*)
  15655       lt_prog_compiler_pic='-pic'
  15656       lt_prog_compiler_static='-Bstatic'
  15657       ;;
  15658 
  15659     *)
  15660       lt_prog_compiler_can_build_shared=no
  15661       ;;
  15662     esac
  15663   fi
  15664 
  15665 case $host_os in
  15666   # For platforms that do not support PIC, -DPIC is meaningless:
  15667   *djgpp*)
  15668     lt_prog_compiler_pic=
  15669     ;;
  15670   *)
  15671     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  15672     ;;
  15673 esac
  15674 
  15675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  15676 printf %s "checking for $compiler option to produce PIC... " >&6; }
  15677 if test ${lt_cv_prog_compiler_pic+y}
  15678 then :
  15679   printf %s "(cached) " >&6
  15680 else case e in #(
  15681   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
  15682 esac
  15683 fi
  15684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
  15685 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
  15686 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
  15687 
  15688 #
  15689 # Check to make sure the PIC flag actually works.
  15690 #
  15691 if test -n "$lt_prog_compiler_pic"; then
  15692   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  15693 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  15694 if test ${lt_cv_prog_compiler_pic_works+y}
  15695 then :
  15696   printf %s "(cached) " >&6
  15697 else case e in #(
  15698   e) lt_cv_prog_compiler_pic_works=no
  15699    ac_outfile=conftest.$ac_objext
  15700    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  15701    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
  15702    # Insert the option either (1) after the last *FLAGS variable, or
  15703    # (2) before a word containing "conftest.", or (3) at the end.
  15704    # Note that $ac_compile itself does not contain backslashes and begins
  15705    # with a dollar sign (not a hyphen), so the echo should work correctly.
  15706    # The option is referenced via a variable to avoid confusing sed.
  15707    lt_compile=`echo "$ac_compile" | $SED \
  15708    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  15709    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  15710    -e 's:$: $lt_compiler_flag:'`
  15711    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  15712    (eval "$lt_compile" 2>conftest.err)
  15713    ac_status=$?
  15714    cat conftest.err >&5
  15715    echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15716    if (exit $ac_status) && test -s "$ac_outfile"; then
  15717      # The compiler can only warn and ignore the option if not recognized
  15718      # So say no if there are warnings other than the usual output.
  15719      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  15720      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  15721      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  15722        lt_cv_prog_compiler_pic_works=yes
  15723      fi
  15724    fi
  15725    $RM conftest*
  15726  ;;
  15727 esac
  15728 fi
  15729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  15730 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
  15731 
  15732 if test yes = "$lt_cv_prog_compiler_pic_works"; then
  15733     case $lt_prog_compiler_pic in
  15734      "" | " "*) ;;
  15735      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  15736      esac
  15737 else
  15738     lt_prog_compiler_pic=
  15739      lt_prog_compiler_can_build_shared=no
  15740 fi
  15741 
  15742 fi
  15743 
  15744 
  15745 
  15746 
  15747 
  15748 
  15749 
  15750 
  15751 
  15752 
  15753 
  15754 #
  15755 # Check to make sure the static flag actually works.
  15756 #
  15757 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  15758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  15759 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  15760 if test ${lt_cv_prog_compiler_static_works+y}
  15761 then :
  15762   printf %s "(cached) " >&6
  15763 else case e in #(
  15764   e) lt_cv_prog_compiler_static_works=no
  15765    save_LDFLAGS=$LDFLAGS
  15766    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  15767    echo "$lt_simple_link_test_code" > conftest.$ac_ext
  15768    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  15769      # The linker can only warn and ignore the option if not recognized
  15770      # So say no if there are warnings
  15771      if test -s conftest.err; then
  15772        # Append any errors to the config.log.
  15773        cat conftest.err 1>&5
  15774        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  15775        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  15776        if diff conftest.exp conftest.er2 >/dev/null; then
  15777          lt_cv_prog_compiler_static_works=yes
  15778        fi
  15779      else
  15780        lt_cv_prog_compiler_static_works=yes
  15781      fi
  15782    fi
  15783    $RM -r conftest*
  15784    LDFLAGS=$save_LDFLAGS
  15785  ;;
  15786 esac
  15787 fi
  15788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  15789 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
  15790 
  15791 if test yes = "$lt_cv_prog_compiler_static_works"; then
  15792     :
  15793 else
  15794     lt_prog_compiler_static=
  15795 fi
  15796 
  15797 
  15798 
  15799 
  15800 
  15801 
  15802 
  15803   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  15804 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  15805 if test ${lt_cv_prog_compiler_c_o+y}
  15806 then :
  15807   printf %s "(cached) " >&6
  15808 else case e in #(
  15809   e) lt_cv_prog_compiler_c_o=no
  15810    $RM -r conftest 2>/dev/null
  15811    mkdir conftest
  15812    cd conftest
  15813    mkdir out
  15814    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  15815 
  15816    lt_compiler_flag="-o out/conftest2.$ac_objext"
  15817    # Insert the option either (1) after the last *FLAGS variable, or
  15818    # (2) before a word containing "conftest.", or (3) at the end.
  15819    # Note that $ac_compile itself does not contain backslashes and begins
  15820    # with a dollar sign (not a hyphen), so the echo should work correctly.
  15821    lt_compile=`echo "$ac_compile" | $SED \
  15822    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  15823    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  15824    -e 's:$: $lt_compiler_flag:'`
  15825    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  15826    (eval "$lt_compile" 2>out/conftest.err)
  15827    ac_status=$?
  15828    cat out/conftest.err >&5
  15829    echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15830    if (exit $ac_status) && test -s out/conftest2.$ac_objext
  15831    then
  15832      # The compiler can only warn and ignore the option if not recognized
  15833      # So say no if there are warnings
  15834      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  15835      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  15836      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  15837        lt_cv_prog_compiler_c_o=yes
  15838      fi
  15839    fi
  15840    chmod u+w . 2>&5
  15841    $RM conftest*
  15842    # SGI C++ compiler will create directory out/ii_files/ for
  15843    # template instantiation
  15844    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  15845    $RM out/* && rmdir out
  15846    cd ..
  15847    $RM -r conftest
  15848    $RM conftest*
  15849  ;;
  15850 esac
  15851 fi
  15852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  15853 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
  15854 
  15855 
  15856 
  15857 
  15858 
  15859 
  15860   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  15861 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  15862 if test ${lt_cv_prog_compiler_c_o+y}
  15863 then :
  15864   printf %s "(cached) " >&6
  15865 else case e in #(
  15866   e) lt_cv_prog_compiler_c_o=no
  15867    $RM -r conftest 2>/dev/null
  15868    mkdir conftest
  15869    cd conftest
  15870    mkdir out
  15871    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  15872 
  15873    lt_compiler_flag="-o out/conftest2.$ac_objext"
  15874    # Insert the option either (1) after the last *FLAGS variable, or
  15875    # (2) before a word containing "conftest.", or (3) at the end.
  15876    # Note that $ac_compile itself does not contain backslashes and begins
  15877    # with a dollar sign (not a hyphen), so the echo should work correctly.
  15878    lt_compile=`echo "$ac_compile" | $SED \
  15879    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  15880    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  15881    -e 's:$: $lt_compiler_flag:'`
  15882    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  15883    (eval "$lt_compile" 2>out/conftest.err)
  15884    ac_status=$?
  15885    cat out/conftest.err >&5
  15886    echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15887    if (exit $ac_status) && test -s out/conftest2.$ac_objext
  15888    then
  15889      # The compiler can only warn and ignore the option if not recognized
  15890      # So say no if there are warnings
  15891      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  15892      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  15893      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  15894        lt_cv_prog_compiler_c_o=yes
  15895      fi
  15896    fi
  15897    chmod u+w . 2>&5
  15898    $RM conftest*
  15899    # SGI C++ compiler will create directory out/ii_files/ for
  15900    # template instantiation
  15901    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  15902    $RM out/* && rmdir out
  15903    cd ..
  15904    $RM -r conftest
  15905    $RM conftest*
  15906  ;;
  15907 esac
  15908 fi
  15909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  15910 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
  15911 
  15912 
  15913 
  15914 
  15915 hard_links=nottested
  15916 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
  15917   # do not overwrite the value of need_locks provided by the user
  15918   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  15919 printf %s "checking if we can lock with hard links... " >&6; }
  15920   hard_links=yes
  15921   $RM conftest*
  15922   ln conftest.a conftest.b 2>/dev/null && hard_links=no
  15923   touch conftest.a
  15924   ln conftest.a conftest.b 2>&5 || hard_links=no
  15925   ln conftest.a conftest.b 2>/dev/null && hard_links=no
  15926   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  15927 printf "%s\n" "$hard_links" >&6; }
  15928   if test no = "$hard_links"; then
  15929     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
  15930 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
  15931     need_locks=warn
  15932   fi
  15933 else
  15934   need_locks=no
  15935 fi
  15936 
  15937 
  15938 
  15939 
  15940 
  15941 
  15942   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  15943 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  15944 
  15945   runpath_var=
  15946   allow_undefined_flag=
  15947   always_export_symbols=no
  15948   archive_cmds=
  15949   archive_expsym_cmds=
  15950   compiler_needs_object=no
  15951   enable_shared_with_static_runtimes=no
  15952   export_dynamic_flag_spec=
  15953   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  15954   hardcode_automatic=no
  15955   hardcode_direct=no
  15956   hardcode_direct_absolute=no
  15957   hardcode_libdir_flag_spec=
  15958   hardcode_libdir_separator=
  15959   hardcode_minus_L=no
  15960   hardcode_shlibpath_var=unsupported
  15961   inherit_rpath=no
  15962   link_all_deplibs=unknown
  15963   module_cmds=
  15964   module_expsym_cmds=
  15965   old_archive_from_new_cmds=
  15966   old_archive_from_expsyms_cmds=
  15967   thread_safe_flag_spec=
  15968   whole_archive_flag_spec=
  15969   # include_expsyms should be a list of space-separated symbols to be *always*
  15970   # included in the symbol list
  15971   include_expsyms=
  15972   # exclude_expsyms can be an extended regexp of symbols to exclude
  15973   # it will be wrapped by ' (' and ')$', so one must not match beginning or
  15974   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
  15975   # as well as any symbol that contains 'd'.
  15976   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  15977   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  15978   # platforms (ab)use it in PIC code, but their linkers get confused if
  15979   # the symbol is explicitly referenced.  Since portable code cannot
  15980   # rely on this symbol name, it's probably fine to never include it in
  15981   # preloaded symbol tables.
  15982   # Exclude shared library initialization/finalization symbols.
  15983   extract_expsyms_cmds=
  15984 
  15985   case $host_os in
  15986   cygwin* | mingw* | windows* | pw32* | cegcc*)
  15987     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
  15988     # When not using gcc, we currently assume that we are using
  15989     # Microsoft Visual C++ or Intel C++ Compiler.
  15990     if test yes != "$GCC"; then
  15991       with_gnu_ld=no
  15992     fi
  15993     ;;
  15994   interix*)
  15995     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
  15996     with_gnu_ld=yes
  15997     ;;
  15998   esac
  15999 
  16000   ld_shlibs=yes
  16001 
  16002   # On some targets, GNU ld is compatible enough with the native linker
  16003   # that we're better off using the native interface for both.
  16004   lt_use_gnu_ld_interface=no
  16005   if test yes = "$with_gnu_ld"; then
  16006     case $host_os in
  16007       aix*)
  16008 	# The AIX port of GNU ld has always aspired to compatibility
  16009 	# with the native linker.  However, as the warning in the GNU ld
  16010 	# block says, versions before 2.19.5* couldn't really create working
  16011 	# shared libraries, regardless of the interface used.
  16012 	case `$LD -v 2>&1` in
  16013 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  16014 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  16015 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  16016 	  *)
  16017 	    lt_use_gnu_ld_interface=yes
  16018 	    ;;
  16019 	esac
  16020 	;;
  16021       *)
  16022 	lt_use_gnu_ld_interface=yes
  16023 	;;
  16024     esac
  16025   fi
  16026 
  16027   if test yes = "$lt_use_gnu_ld_interface"; then
  16028     # If archive_cmds runs LD, not CC, wlarc should be empty
  16029     wlarc='$wl'
  16030 
  16031     # Set some defaults for GNU ld with shared library support. These
  16032     # are reset later if shared libraries are not supported. Putting them
  16033     # here allows them to be overridden if necessary.
  16034     runpath_var=LD_RUN_PATH
  16035     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  16036     export_dynamic_flag_spec='$wl--export-dynamic'
  16037     # ancient GNU ld didn't support --whole-archive et. al.
  16038     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  16039       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
  16040     else
  16041       whole_archive_flag_spec=
  16042     fi
  16043     supports_anon_versioning=no
  16044     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
  16045       *GNU\ gold*) supports_anon_versioning=yes ;;
  16046       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  16047       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  16048       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  16049       *\ 2.11.*) ;; # other 2.11 versions
  16050       *) supports_anon_versioning=yes ;;
  16051     esac
  16052 
  16053     # See if GNU ld supports shared libraries.
  16054     case $host_os in
  16055     aix[3-9]*)
  16056       # On AIX/PPC, the GNU linker is very broken
  16057       if test ia64 != "$host_cpu"; then
  16058 	ld_shlibs=no
  16059 	cat <<_LT_EOF 1>&2
  16060 
  16061 *** Warning: the GNU linker, at least up to release 2.19, is reported
  16062 *** to be unable to reliably create shared libraries on AIX.
  16063 *** Therefore, libtool is disabling shared libraries support.  If you
  16064 *** really care for shared libraries, you may want to install binutils
  16065 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  16066 *** You will then need to restart the configuration process.
  16067 
  16068 _LT_EOF
  16069       fi
  16070       ;;
  16071 
  16072     amigaos*)
  16073       case $host_cpu in
  16074       powerpc)
  16075             # see comment about AmigaOS4 .so support
  16076             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  16077             archive_expsym_cmds=''
  16078         ;;
  16079       m68k)
  16080             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)'
  16081             hardcode_libdir_flag_spec='-L$libdir'
  16082             hardcode_minus_L=yes
  16083         ;;
  16084       esac
  16085       ;;
  16086 
  16087     beos*)
  16088       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  16089 	allow_undefined_flag=unsupported
  16090 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  16091 	# support --undefined.  This deserves some investigation.  FIXME
  16092 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  16093       else
  16094 	ld_shlibs=no
  16095       fi
  16096       ;;
  16097 
  16098     cygwin* | mingw* | windows* | pw32* | cegcc*)
  16099       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  16100       # as there is no search path for DLLs.
  16101       hardcode_libdir_flag_spec='-L$libdir'
  16102       export_dynamic_flag_spec='$wl--export-all-symbols'
  16103       allow_undefined_flag=unsupported
  16104       always_export_symbols=no
  16105       enable_shared_with_static_runtimes=yes
  16106       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'
  16107       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  16108       file_list_spec='@'
  16109 
  16110       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  16111         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  16112 	# If the export-symbols file already is a .def file, use it as
  16113 	# is; otherwise, prepend EXPORTS...
  16114 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
  16115           cp $export_symbols $output_objdir/$soname.def;
  16116         else
  16117           echo EXPORTS > $output_objdir/$soname.def;
  16118           cat $export_symbols >> $output_objdir/$soname.def;
  16119         fi~
  16120         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  16121       else
  16122 	ld_shlibs=no
  16123       fi
  16124       ;;
  16125 
  16126     haiku*)
  16127       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  16128       link_all_deplibs=no
  16129       ;;
  16130 
  16131     os2*)
  16132       hardcode_libdir_flag_spec='-L$libdir'
  16133       hardcode_minus_L=yes
  16134       allow_undefined_flag=unsupported
  16135       shrext_cmds=.dll
  16136       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  16137 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  16138 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  16139 	$ECHO EXPORTS >> $output_objdir/$libname.def~
  16140 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  16141 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  16142 	emximp -o $lib $output_objdir/$libname.def'
  16143       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  16144 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  16145 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  16146 	$ECHO EXPORTS >> $output_objdir/$libname.def~
  16147 	prefix_cmds="$SED"~
  16148 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
  16149 	  prefix_cmds="$prefix_cmds -e 1d";
  16150 	fi~
  16151 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  16152 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  16153 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  16154 	emximp -o $lib $output_objdir/$libname.def'
  16155       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  16156       enable_shared_with_static_runtimes=yes
  16157       file_list_spec='@'
  16158       ;;
  16159 
  16160     interix[3-9]*)
  16161       hardcode_direct=no
  16162       hardcode_shlibpath_var=no
  16163       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  16164       export_dynamic_flag_spec='$wl-E'
  16165       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  16166       # Instead, shared libraries are loaded at an image base (0x10000000 by
  16167       # default) and relocated if they conflict, which is a slow very memory
  16168       # consuming and fragmenting process.  To avoid this, we pick a random,
  16169       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  16170       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
  16171       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  16172       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'
  16173       ;;
  16174 
  16175     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  16176       tmp_diet=no
  16177       if test linux-dietlibc = "$host_os"; then
  16178 	case $cc_basename in
  16179 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
  16180 	esac
  16181       fi
  16182       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  16183 	 && test no = "$tmp_diet"
  16184       then
  16185 	tmp_addflag=' $pic_flag'
  16186 	tmp_sharedflag='-shared'
  16187 	case $cc_basename,$host_cpu in
  16188         pgcc*)				# Portland Group C compiler
  16189 	  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'
  16190 	  tmp_addflag=' $pic_flag'
  16191 	  ;;
  16192 	pgf77* | pgf90* | pgf95* | pgfortran*)
  16193 					# Portland Group f77 and f90 compilers
  16194 	  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'
  16195 	  tmp_addflag=' $pic_flag -Mnomain' ;;
  16196 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
  16197 	  tmp_addflag=' -i_dynamic' ;;
  16198 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
  16199 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
  16200 	ifc* | ifort*)			# Intel Fortran compiler
  16201 	  tmp_addflag=' -nofor_main' ;;
  16202 	lf95*)				# Lahey Fortran 8.1
  16203 	  whole_archive_flag_spec=
  16204 	  tmp_sharedflag='--shared' ;;
  16205         nagfor*)                        # NAGFOR 5.3
  16206           tmp_sharedflag='-Wl,-shared' ;;
  16207 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  16208 	  tmp_sharedflag='-qmkshrobj'
  16209 	  tmp_addflag= ;;
  16210 	nvcc*)	# Cuda Compiler Driver 2.2
  16211 	  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'
  16212 	  compiler_needs_object=yes
  16213 	  ;;
  16214 	esac
  16215 	case `$CC -V 2>&1 | $SED 5q` in
  16216 	*Sun\ C*)			# Sun C 5.9
  16217 	  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'
  16218 	  compiler_needs_object=yes
  16219 	  tmp_sharedflag='-G' ;;
  16220 	*Sun\ F*)			# Sun Fortran 8.3
  16221 	  tmp_sharedflag='-G' ;;
  16222 	esac
  16223 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  16224 
  16225         if test yes = "$supports_anon_versioning"; then
  16226           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  16227             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  16228             echo "local: *; };" >> $output_objdir/$libname.ver~
  16229             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
  16230         fi
  16231 
  16232 	case $cc_basename in
  16233 	tcc*)
  16234 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  16235 	  export_dynamic_flag_spec='-rdynamic'
  16236 	  ;;
  16237 	xlf* | bgf* | bgxlf* | mpixlf*)
  16238 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  16239 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  16240 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  16241 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  16242 	  if test yes = "$supports_anon_versioning"; then
  16243 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  16244               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  16245               echo "local: *; };" >> $output_objdir/$libname.ver~
  16246               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  16247 	  fi
  16248 	  ;;
  16249 	esac
  16250       else
  16251         ld_shlibs=no
  16252       fi
  16253       ;;
  16254 
  16255     *-mlibc)
  16256 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  16257 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  16258       ;;
  16259 
  16260     netbsd* | netbsdelf*-gnu)
  16261       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  16262 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  16263 	wlarc=
  16264       else
  16265 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  16266 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  16267       fi
  16268       ;;
  16269 
  16270     solaris*)
  16271       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  16272 	ld_shlibs=no
  16273 	cat <<_LT_EOF 1>&2
  16274 
  16275 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  16276 *** create shared libraries on Solaris systems.  Therefore, libtool
  16277 *** is disabling shared libraries support.  We urge you to upgrade GNU
  16278 *** binutils to release 2.9.1 or newer.  Another option is to modify
  16279 *** your PATH or compiler configuration so that the native linker is
  16280 *** used, and then restart.
  16281 
  16282 _LT_EOF
  16283       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  16284 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  16285 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  16286       else
  16287 	ld_shlibs=no
  16288       fi
  16289       ;;
  16290 
  16291     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  16292       case `$LD -v 2>&1` in
  16293         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  16294 	ld_shlibs=no
  16295 	cat <<_LT_EOF 1>&2
  16296 
  16297 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
  16298 *** reliably create shared libraries on SCO systems.  Therefore, libtool
  16299 *** is disabling shared libraries support.  We urge you to upgrade GNU
  16300 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
  16301 *** your PATH or compiler configuration so that the native linker is
  16302 *** used, and then restart.
  16303 
  16304 _LT_EOF
  16305 	;;
  16306 	*)
  16307 	  # For security reasons, it is highly recommended that you always
  16308 	  # use absolute paths for naming shared libraries, and exclude the
  16309 	  # DT_RUNPATH tag from executables and libraries.  But doing so
  16310 	  # requires that you compile everything twice, which is a pain.
  16311 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  16312 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  16313 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  16314 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  16315 	  else
  16316 	    ld_shlibs=no
  16317 	  fi
  16318 	;;
  16319       esac
  16320       ;;
  16321 
  16322     sunos4*)
  16323       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  16324       wlarc=
  16325       hardcode_direct=yes
  16326       hardcode_shlibpath_var=no
  16327       ;;
  16328 
  16329     *)
  16330       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  16331 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  16332 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  16333       else
  16334 	ld_shlibs=no
  16335       fi
  16336       ;;
  16337     esac
  16338 
  16339     if test no = "$ld_shlibs"; then
  16340       runpath_var=
  16341       hardcode_libdir_flag_spec=
  16342       export_dynamic_flag_spec=
  16343       whole_archive_flag_spec=
  16344     fi
  16345   else
  16346     # PORTME fill in a description of your system's linker (not GNU ld)
  16347     case $host_os in
  16348     aix3*)
  16349       allow_undefined_flag=unsupported
  16350       always_export_symbols=yes
  16351       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'
  16352       # Note: this linker hardcodes the directories in LIBPATH if there
  16353       # are no directories specified by -L.
  16354       hardcode_minus_L=yes
  16355       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
  16356 	# Neither direct hardcoding nor static linking is supported with a
  16357 	# broken collect2.
  16358 	hardcode_direct=unsupported
  16359       fi
  16360       ;;
  16361 
  16362     aix[4-9]*)
  16363       if test ia64 = "$host_cpu"; then
  16364 	# On IA64, the linker does run time linking by default, so we don't
  16365 	# have to do anything special.
  16366 	aix_use_runtimelinking=no
  16367 	exp_sym_flag='-Bexport'
  16368 	no_entry_flag=
  16369       else
  16370 	# If we're using GNU nm, then we don't want the "-C" option.
  16371 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
  16372 	# Without the "-l" option, or with the "-B" option, AIX nm treats
  16373 	# weak defined symbols like other global defined symbols, whereas
  16374 	# GNU nm marks them as "W".
  16375 	# While the 'weak' keyword is ignored in the Export File, we need
  16376 	# it in the Import File for the 'aix-soname' feature, so we have
  16377 	# to replace the "-B" option with "-P" for AIX nm.
  16378 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  16379 	  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'
  16380 	else
  16381 	  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'
  16382 	fi
  16383 	aix_use_runtimelinking=no
  16384 
  16385 	# Test if we are trying to use run time linking or normal
  16386 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
  16387 	# have runtime linking enabled, and use it for executables.
  16388 	# For shared libraries, we enable/disable runtime linking
  16389 	# depending on the kind of the shared library created -
  16390 	# when "with_aix_soname,aix_use_runtimelinking" is:
  16391 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
  16392 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
  16393 	#            lib.a           static archive
  16394 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
  16395 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
  16396 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
  16397 	#            lib.a(lib.so.V) shared, rtl:no
  16398 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
  16399 	#            lib.a           static archive
  16400 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  16401 	  for ld_flag in $LDFLAGS; do
  16402 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
  16403 	    aix_use_runtimelinking=yes
  16404 	    break
  16405 	  fi
  16406 	  done
  16407 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
  16408 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
  16409 	    # so we don't have lib.a shared libs to link our executables.
  16410 	    # We have to force runtime linking in this case.
  16411 	    aix_use_runtimelinking=yes
  16412 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
  16413 	  fi
  16414 	  ;;
  16415 	esac
  16416 
  16417 	exp_sym_flag='-bexport'
  16418 	no_entry_flag='-bnoentry'
  16419       fi
  16420 
  16421       # When large executables or shared objects are built, AIX ld can
  16422       # have problems creating the table of contents.  If linking a library
  16423       # or program results in "error TOC overflow" add -mminimal-toc to
  16424       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
  16425       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  16426 
  16427       archive_cmds=''
  16428       hardcode_direct=yes
  16429       hardcode_direct_absolute=yes
  16430       hardcode_libdir_separator=':'
  16431       link_all_deplibs=yes
  16432       file_list_spec='$wl-f,'
  16433       case $with_aix_soname,$aix_use_runtimelinking in
  16434       aix,*) ;; # traditional, no import file
  16435       svr4,* | *,yes) # use import file
  16436 	# The Import File defines what to hardcode.
  16437 	hardcode_direct=no
  16438 	hardcode_direct_absolute=no
  16439 	;;
  16440       esac
  16441 
  16442       if test yes = "$GCC"; then
  16443 	case $host_os in aix4.[012]|aix4.[012].*)
  16444 	# We only want to do this on AIX 4.2 and lower, the check
  16445 	# below for broken collect2 doesn't work under 4.3+
  16446 	  collect2name=`$CC -print-prog-name=collect2`
  16447 	  if test -f "$collect2name" &&
  16448 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  16449 	  then
  16450 	  # We have reworked collect2
  16451 	  :
  16452 	  else
  16453 	  # We have old collect2
  16454 	  hardcode_direct=unsupported
  16455 	  # It fails to find uninstalled libraries when the uninstalled
  16456 	  # path is not listed in the libpath.  Setting hardcode_minus_L
  16457 	  # to unsupported forces relinking
  16458 	  hardcode_minus_L=yes
  16459 	  hardcode_libdir_flag_spec='-L$libdir'
  16460 	  hardcode_libdir_separator=
  16461 	  fi
  16462 	  ;;
  16463 	esac
  16464 	shared_flag='-shared'
  16465 	if test yes = "$aix_use_runtimelinking"; then
  16466 	  shared_flag="$shared_flag "'$wl-G'
  16467 	fi
  16468 	# Need to ensure runtime linking is disabled for the traditional
  16469 	# shared library, or the linker may eventually find shared libraries
  16470 	# /with/ Import File - we do not want to mix them.
  16471 	shared_flag_aix='-shared'
  16472 	shared_flag_svr4='-shared $wl-G'
  16473       else
  16474 	# not using gcc
  16475 	if test ia64 = "$host_cpu"; then
  16476 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  16477 	# chokes on -Wl,-G. The following line is correct:
  16478 	  shared_flag='-G'
  16479 	else
  16480 	  if test yes = "$aix_use_runtimelinking"; then
  16481 	    shared_flag='$wl-G'
  16482 	  else
  16483 	    shared_flag='$wl-bM:SRE'
  16484 	  fi
  16485 	  shared_flag_aix='$wl-bM:SRE'
  16486 	  shared_flag_svr4='$wl-G'
  16487 	fi
  16488       fi
  16489 
  16490       export_dynamic_flag_spec='$wl-bexpall'
  16491       # It seems that -bexpall does not export symbols beginning with
  16492       # underscore (_), so it is better to generate a list of symbols to export.
  16493       always_export_symbols=yes
  16494       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
  16495 	# Warning - without using the other runtime loading flags (-brtl),
  16496 	# -berok will link without error, but may produce a broken library.
  16497 	allow_undefined_flag='-berok'
  16498         # Determine the default libpath from the value encoded in an
  16499         # empty executable.
  16500         if test set = "${lt_cv_aix_libpath+set}"; then
  16501   aix_libpath=$lt_cv_aix_libpath
  16502 else
  16503   if test ${lt_cv_aix_libpath_+y}
  16504 then :
  16505   printf %s "(cached) " >&6
  16506 else case e in #(
  16507   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16508 /* end confdefs.h.  */
  16509 
  16510 int
  16511 main (void)
  16512 {
  16513 
  16514   ;
  16515   return 0;
  16516 }
  16517 _ACEOF
  16518 if ac_fn_c_try_link "$LINENO"
  16519 then :
  16520 
  16521   lt_aix_libpath_sed='
  16522       /Import File Strings/,/^$/ {
  16523 	  /^0/ {
  16524 	      s/^0  *\([^ ]*\) *$/\1/
  16525 	      p
  16526 	  }
  16527       }'
  16528   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  16529   # Check for a 64-bit object if we didn't find anything.
  16530   if test -z "$lt_cv_aix_libpath_"; then
  16531     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  16532   fi
  16533 fi
  16534 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16535     conftest$ac_exeext conftest.$ac_ext
  16536   if test -z "$lt_cv_aix_libpath_"; then
  16537     lt_cv_aix_libpath_=/usr/lib:/lib
  16538   fi
  16539    ;;
  16540 esac
  16541 fi
  16542 
  16543   aix_libpath=$lt_cv_aix_libpath_
  16544 fi
  16545 
  16546         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  16547         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
  16548       else
  16549 	if test ia64 = "$host_cpu"; then
  16550 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
  16551 	  allow_undefined_flag="-z nodefs"
  16552 	  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"
  16553 	else
  16554 	 # Determine the default libpath from the value encoded in an
  16555 	 # empty executable.
  16556 	 if test set = "${lt_cv_aix_libpath+set}"; then
  16557   aix_libpath=$lt_cv_aix_libpath
  16558 else
  16559   if test ${lt_cv_aix_libpath_+y}
  16560 then :
  16561   printf %s "(cached) " >&6
  16562 else case e in #(
  16563   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16564 /* end confdefs.h.  */
  16565 
  16566 int
  16567 main (void)
  16568 {
  16569 
  16570   ;
  16571   return 0;
  16572 }
  16573 _ACEOF
  16574 if ac_fn_c_try_link "$LINENO"
  16575 then :
  16576 
  16577   lt_aix_libpath_sed='
  16578       /Import File Strings/,/^$/ {
  16579 	  /^0/ {
  16580 	      s/^0  *\([^ ]*\) *$/\1/
  16581 	      p
  16582 	  }
  16583       }'
  16584   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  16585   # Check for a 64-bit object if we didn't find anything.
  16586   if test -z "$lt_cv_aix_libpath_"; then
  16587     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  16588   fi
  16589 fi
  16590 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16591     conftest$ac_exeext conftest.$ac_ext
  16592   if test -z "$lt_cv_aix_libpath_"; then
  16593     lt_cv_aix_libpath_=/usr/lib:/lib
  16594   fi
  16595    ;;
  16596 esac
  16597 fi
  16598 
  16599   aix_libpath=$lt_cv_aix_libpath_
  16600 fi
  16601 
  16602 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  16603 	  # Warning - without using the other run time loading flags,
  16604 	  # -berok will link without error, but may produce a broken library.
  16605 	  no_undefined_flag=' $wl-bernotok'
  16606 	  allow_undefined_flag=' $wl-berok'
  16607 	  if test yes = "$with_gnu_ld"; then
  16608 	    # We only use this code for GNU lds that support --whole-archive.
  16609 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
  16610 	  else
  16611 	    # Exported symbols can be pulled into shared objects from archives
  16612 	    whole_archive_flag_spec='$convenience'
  16613 	  fi
  16614 	  archive_cmds_need_lc=yes
  16615 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
  16616 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
  16617 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
  16618 	  if test svr4 != "$with_aix_soname"; then
  16619 	    # This is similar to how AIX traditionally builds its shared libraries.
  16620 	    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'
  16621 	  fi
  16622 	  if test aix != "$with_aix_soname"; then
  16623 	    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'
  16624 	  else
  16625 	    # used by -dlpreopen to get the symbols
  16626 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
  16627 	  fi
  16628 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
  16629 	fi
  16630       fi
  16631       ;;
  16632 
  16633     amigaos*)
  16634       case $host_cpu in
  16635       powerpc)
  16636             # see comment about AmigaOS4 .so support
  16637             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  16638             archive_expsym_cmds=''
  16639         ;;
  16640       m68k)
  16641             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)'
  16642             hardcode_libdir_flag_spec='-L$libdir'
  16643             hardcode_minus_L=yes
  16644         ;;
  16645       esac
  16646       ;;
  16647 
  16648     bsdi[45]*)
  16649       export_dynamic_flag_spec=-rdynamic
  16650       ;;
  16651 
  16652     cygwin* | mingw* | windows* | pw32* | cegcc*)
  16653       # When not using gcc, we currently assume that we are using
  16654       # Microsoft Visual C++ or Intel C++ Compiler.
  16655       # hardcode_libdir_flag_spec is actually meaningless, as there is
  16656       # no search path for DLLs.
  16657       case $cc_basename in
  16658       cl* | icl*)
  16659 	# Native MSVC or ICC
  16660 	hardcode_libdir_flag_spec=' '
  16661 	allow_undefined_flag=unsupported
  16662 	always_export_symbols=yes
  16663 	file_list_spec='@'
  16664 	# Tell ltmain to make .lib files, not .a files.
  16665 	libext=lib
  16666 	# Tell ltmain to make .dll files, not .so files.
  16667 	shrext_cmds=.dll
  16668 	# FIXME: Setting linknames here is a bad hack.
  16669 	archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
  16670 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
  16671             cp "$export_symbols" "$output_objdir/$soname.def";
  16672             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
  16673           else
  16674             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
  16675           fi~
  16676           $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  16677           linknames='
  16678 	# The linker will not automatically build a static lib if we build a DLL.
  16679 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
  16680 	enable_shared_with_static_runtimes=yes
  16681 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  16682 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  16683 	# Don't use ranlib
  16684 	old_postinstall_cmds='chmod 644 $oldlib'
  16685 	postlink_cmds='lt_outputfile="@OUTPUT@"~
  16686           lt_tool_outputfile="@TOOL_OUTPUT@"~
  16687           case $lt_outputfile in
  16688             *.exe|*.EXE) ;;
  16689             *)
  16690               lt_outputfile=$lt_outputfile.exe
  16691               lt_tool_outputfile=$lt_tool_outputfile.exe
  16692               ;;
  16693           esac~
  16694           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
  16695             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  16696             $RM "$lt_outputfile.manifest";
  16697           fi'
  16698 	;;
  16699       *)
  16700 	# Assume MSVC and ICC wrapper
  16701 	hardcode_libdir_flag_spec=' '
  16702 	allow_undefined_flag=unsupported
  16703 	# Tell ltmain to make .lib files, not .a files.
  16704 	libext=lib
  16705 	# Tell ltmain to make .dll files, not .so files.
  16706 	shrext_cmds=.dll
  16707 	# FIXME: Setting linknames here is a bad hack.
  16708 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  16709 	# The linker will automatically build a .lib file if we build a DLL.
  16710 	old_archive_from_new_cmds='true'
  16711 	# FIXME: Should let the user specify the lib program.
  16712 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  16713 	enable_shared_with_static_runtimes=yes
  16714 	;;
  16715       esac
  16716       ;;
  16717 
  16718     darwin* | rhapsody*)
  16719 
  16720 
  16721   archive_cmds_need_lc=no
  16722   hardcode_direct=no
  16723   hardcode_automatic=yes
  16724   hardcode_shlibpath_var=unsupported
  16725   if test yes = "$lt_cv_ld_force_load"; then
  16726     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\"`'
  16727 
  16728   else
  16729     whole_archive_flag_spec=''
  16730   fi
  16731   link_all_deplibs=yes
  16732   allow_undefined_flag=$_lt_dar_allow_undefined
  16733   case $cc_basename in
  16734      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
  16735      *) _lt_dar_can_shared=$GCC ;;
  16736   esac
  16737   if test yes = "$_lt_dar_can_shared"; then
  16738     output_verbose_link_cmd=func_echo_all
  16739     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
  16740     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
  16741     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"
  16742     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"
  16743 
  16744   else
  16745   ld_shlibs=no
  16746   fi
  16747 
  16748       ;;
  16749 
  16750     dgux*)
  16751       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  16752       hardcode_libdir_flag_spec='-L$libdir'
  16753       hardcode_shlibpath_var=no
  16754       ;;
  16755 
  16756     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  16757     # support.  Future versions do this automatically, but an explicit c++rt0.o
  16758     # does not break anything, and helps significantly (at the cost of a little
  16759     # extra space).
  16760     freebsd2.2*)
  16761       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  16762       hardcode_libdir_flag_spec='-R$libdir'
  16763       hardcode_direct=yes
  16764       hardcode_shlibpath_var=no
  16765       ;;
  16766 
  16767     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  16768     freebsd2.*)
  16769       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  16770       hardcode_direct=yes
  16771       hardcode_minus_L=yes
  16772       hardcode_shlibpath_var=no
  16773       ;;
  16774 
  16775     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  16776     freebsd* | dragonfly* | midnightbsd*)
  16777       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  16778       hardcode_libdir_flag_spec='-R$libdir'
  16779       hardcode_direct=yes
  16780       hardcode_shlibpath_var=no
  16781       ;;
  16782 
  16783     hpux9*)
  16784       if test yes = "$GCC"; then
  16785 	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'
  16786       else
  16787 	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'
  16788       fi
  16789       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  16790       hardcode_libdir_separator=:
  16791       hardcode_direct=yes
  16792 
  16793       # hardcode_minus_L: Not really in the search PATH,
  16794       # but as the default location of the library.
  16795       hardcode_minus_L=yes
  16796       export_dynamic_flag_spec='$wl-E'
  16797       ;;
  16798 
  16799     hpux10*)
  16800       if test yes,no = "$GCC,$with_gnu_ld"; then
  16801 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  16802       else
  16803 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  16804       fi
  16805       if test no = "$with_gnu_ld"; then
  16806 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  16807 	hardcode_libdir_separator=:
  16808 	hardcode_direct=yes
  16809 	hardcode_direct_absolute=yes
  16810 	export_dynamic_flag_spec='$wl-E'
  16811 	# hardcode_minus_L: Not really in the search PATH,
  16812 	# but as the default location of the library.
  16813 	hardcode_minus_L=yes
  16814       fi
  16815       ;;
  16816 
  16817     hpux11*)
  16818       if test yes,no = "$GCC,$with_gnu_ld"; then
  16819 	case $host_cpu in
  16820 	hppa*64*)
  16821 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  16822 	  ;;
  16823 	ia64*)
  16824 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  16825 	  ;;
  16826 	*)
  16827 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  16828 	  ;;
  16829 	esac
  16830       else
  16831 	case $host_cpu in
  16832 	hppa*64*)
  16833 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  16834 	  ;;
  16835 	ia64*)
  16836 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  16837 	  ;;
  16838 	*)
  16839 
  16840 	  # Older versions of the 11.00 compiler do not understand -b yet
  16841 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  16842 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  16843 printf %s "checking if $CC understands -b... " >&6; }
  16844 if test ${lt_cv_prog_compiler__b+y}
  16845 then :
  16846   printf %s "(cached) " >&6
  16847 else case e in #(
  16848   e) lt_cv_prog_compiler__b=no
  16849    save_LDFLAGS=$LDFLAGS
  16850    LDFLAGS="$LDFLAGS -b"
  16851    echo "$lt_simple_link_test_code" > conftest.$ac_ext
  16852    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  16853      # The linker can only warn and ignore the option if not recognized
  16854      # So say no if there are warnings
  16855      if test -s conftest.err; then
  16856        # Append any errors to the config.log.
  16857        cat conftest.err 1>&5
  16858        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  16859        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  16860        if diff conftest.exp conftest.er2 >/dev/null; then
  16861          lt_cv_prog_compiler__b=yes
  16862        fi
  16863      else
  16864        lt_cv_prog_compiler__b=yes
  16865      fi
  16866    fi
  16867    $RM -r conftest*
  16868    LDFLAGS=$save_LDFLAGS
  16869  ;;
  16870 esac
  16871 fi
  16872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  16873 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
  16874 
  16875 if test yes = "$lt_cv_prog_compiler__b"; then
  16876     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  16877 else
  16878     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  16879 fi
  16880 
  16881 	  ;;
  16882 	esac
  16883       fi
  16884       if test no = "$with_gnu_ld"; then
  16885 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  16886 	hardcode_libdir_separator=:
  16887 
  16888 	case $host_cpu in
  16889 	hppa*64*|ia64*)
  16890 	  hardcode_direct=no
  16891 	  hardcode_shlibpath_var=no
  16892 	  ;;
  16893 	*)
  16894 	  hardcode_direct=yes
  16895 	  hardcode_direct_absolute=yes
  16896 	  export_dynamic_flag_spec='$wl-E'
  16897 
  16898 	  # hardcode_minus_L: Not really in the search PATH,
  16899 	  # but as the default location of the library.
  16900 	  hardcode_minus_L=yes
  16901 	  ;;
  16902 	esac
  16903       fi
  16904       ;;
  16905 
  16906     irix5* | irix6* | nonstopux*)
  16907       if test yes = "$GCC"; then
  16908 	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'
  16909 	# Try to use the -exported_symbol ld option, if it does not
  16910 	# work, assume that -exports_file does not work either and
  16911 	# implicitly export all symbols.
  16912 	# This should be the same for all languages, so no per-tag cache variable.
  16913 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
  16914 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
  16915 if test ${lt_cv_irix_exported_symbol+y}
  16916 then :
  16917   printf %s "(cached) " >&6
  16918 else case e in #(
  16919   e) save_LDFLAGS=$LDFLAGS
  16920 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
  16921 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16922 /* end confdefs.h.  */
  16923 int foo (void) { return 0; }
  16924 _ACEOF
  16925 if ac_fn_c_try_link "$LINENO"
  16926 then :
  16927   lt_cv_irix_exported_symbol=yes
  16928 else case e in #(
  16929   e) lt_cv_irix_exported_symbol=no ;;
  16930 esac
  16931 fi
  16932 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  16933     conftest$ac_exeext conftest.$ac_ext
  16934            LDFLAGS=$save_LDFLAGS ;;
  16935 esac
  16936 fi
  16937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
  16938 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
  16939 	if test yes = "$lt_cv_irix_exported_symbol"; then
  16940           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'
  16941 	fi
  16942       else
  16943 	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'
  16944 	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'
  16945       fi
  16946       archive_cmds_need_lc='no'
  16947       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  16948       hardcode_libdir_separator=:
  16949       inherit_rpath=yes
  16950       link_all_deplibs=yes
  16951       ;;
  16952 
  16953     linux*)
  16954       case $cc_basename in
  16955       tcc*)
  16956 	# Fabrice Bellard et al's Tiny C Compiler
  16957 	ld_shlibs=yes
  16958 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  16959 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  16960 	;;
  16961       esac
  16962       ;;
  16963 
  16964     *-mlibc)
  16965       ;;
  16966 
  16967     netbsd* | netbsdelf*-gnu)
  16968       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  16969 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
  16970       else
  16971 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
  16972       fi
  16973       hardcode_libdir_flag_spec='-R$libdir'
  16974       hardcode_direct=yes
  16975       hardcode_shlibpath_var=no
  16976       ;;
  16977 
  16978     newsos6)
  16979       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  16980       hardcode_direct=yes
  16981       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  16982       hardcode_libdir_separator=:
  16983       hardcode_shlibpath_var=no
  16984       ;;
  16985 
  16986     *nto* | *qnx*)
  16987       ;;
  16988 
  16989     openbsd*)
  16990       if test -f /usr/libexec/ld.so; then
  16991 	hardcode_direct=yes
  16992 	hardcode_shlibpath_var=no
  16993 	hardcode_direct_absolute=yes
  16994 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  16995 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  16996 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
  16997 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  16998 	  export_dynamic_flag_spec='$wl-E'
  16999 	else
  17000 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  17001 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  17002 	fi
  17003       else
  17004 	ld_shlibs=no
  17005       fi
  17006       ;;
  17007 
  17008     os2*)
  17009       hardcode_libdir_flag_spec='-L$libdir'
  17010       hardcode_minus_L=yes
  17011       allow_undefined_flag=unsupported
  17012       shrext_cmds=.dll
  17013       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  17014 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  17015 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  17016 	$ECHO EXPORTS >> $output_objdir/$libname.def~
  17017 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  17018 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  17019 	emximp -o $lib $output_objdir/$libname.def'
  17020       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  17021 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  17022 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  17023 	$ECHO EXPORTS >> $output_objdir/$libname.def~
  17024 	prefix_cmds="$SED"~
  17025 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
  17026 	  prefix_cmds="$prefix_cmds -e 1d";
  17027 	fi~
  17028 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  17029 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  17030 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  17031 	emximp -o $lib $output_objdir/$libname.def'
  17032       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  17033       enable_shared_with_static_runtimes=yes
  17034       file_list_spec='@'
  17035       ;;
  17036 
  17037     osf3*)
  17038       if test yes = "$GCC"; then
  17039 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  17040 	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'
  17041       else
  17042 	allow_undefined_flag=' -expect_unresolved \*'
  17043 	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'
  17044       fi
  17045       archive_cmds_need_lc='no'
  17046       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  17047       hardcode_libdir_separator=:
  17048       ;;
  17049 
  17050     osf4* | osf5*)	# as osf3* with the addition of -msym flag
  17051       if test yes = "$GCC"; then
  17052 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  17053 	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'
  17054 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  17055       else
  17056 	allow_undefined_flag=' -expect_unresolved \*'
  17057 	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'
  17058 	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~
  17059           $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'
  17060 
  17061 	# Both c and cxx compiler support -rpath directly
  17062 	hardcode_libdir_flag_spec='-rpath $libdir'
  17063       fi
  17064       archive_cmds_need_lc='no'
  17065       hardcode_libdir_separator=:
  17066       ;;
  17067 
  17068     serenity*)
  17069       ;;
  17070 
  17071     solaris*)
  17072       no_undefined_flag=' -z defs'
  17073       if test yes = "$GCC"; then
  17074 	wlarc='$wl'
  17075 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  17076 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  17077           $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'
  17078       else
  17079 	case `$CC -V 2>&1` in
  17080 	*"Compilers 5.0"*)
  17081 	  wlarc=''
  17082 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
  17083 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  17084             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  17085 	  ;;
  17086 	*)
  17087 	  wlarc='$wl'
  17088 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  17089 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  17090             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  17091 	  ;;
  17092 	esac
  17093       fi
  17094       hardcode_libdir_flag_spec='-R$libdir'
  17095       hardcode_shlibpath_var=no
  17096       case $host_os in
  17097       solaris2.[0-5] | solaris2.[0-5].*) ;;
  17098       *)
  17099 	# The compiler driver will combine and reorder linker options,
  17100 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
  17101 	# but is careful enough not to reorder.
  17102 	# Supported since Solaris 2.6 (maybe 2.5.1?)
  17103 	if test yes = "$GCC"; then
  17104 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
  17105 	else
  17106 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  17107 	fi
  17108 	;;
  17109       esac
  17110       link_all_deplibs=yes
  17111       ;;
  17112 
  17113     sunos4*)
  17114       if test sequent = "$host_vendor"; then
  17115 	# Use $CC to link under sequent, because it throws in some extra .o
  17116 	# files that make .init and .fini sections work.
  17117 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  17118       else
  17119 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  17120       fi
  17121       hardcode_libdir_flag_spec='-L$libdir'
  17122       hardcode_direct=yes
  17123       hardcode_minus_L=yes
  17124       hardcode_shlibpath_var=no
  17125       ;;
  17126 
  17127     sysv4)
  17128       case $host_vendor in
  17129 	sni)
  17130 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  17131 	  hardcode_direct=yes # is this really true???
  17132 	;;
  17133 	siemens)
  17134 	  ## LD is ld it makes a PLAMLIB
  17135 	  ## CC just makes a GrossModule.
  17136 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  17137 	  reload_cmds='$CC -r -o $output$reload_objs'
  17138 	  hardcode_direct=no
  17139         ;;
  17140 	motorola)
  17141 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  17142 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  17143 	;;
  17144       esac
  17145       runpath_var='LD_RUN_PATH'
  17146       hardcode_shlibpath_var=no
  17147       ;;
  17148 
  17149     sysv4.3*)
  17150       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  17151       hardcode_shlibpath_var=no
  17152       export_dynamic_flag_spec='-Bexport'
  17153       ;;
  17154 
  17155     sysv4*MP*)
  17156       if test -d /usr/nec; then
  17157 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  17158 	hardcode_shlibpath_var=no
  17159 	runpath_var=LD_RUN_PATH
  17160 	hardcode_runpath_var=yes
  17161 	ld_shlibs=yes
  17162       fi
  17163       ;;
  17164 
  17165     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  17166       no_undefined_flag='$wl-z,text'
  17167       archive_cmds_need_lc=no
  17168       hardcode_shlibpath_var=no
  17169       runpath_var='LD_RUN_PATH'
  17170 
  17171       if test yes = "$GCC"; then
  17172 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  17173 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  17174       else
  17175 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  17176 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  17177       fi
  17178       ;;
  17179 
  17180     sysv5* | sco3.2v5* | sco5v6*)
  17181       # Note: We CANNOT use -z defs as we might desire, because we do not
  17182       # link with -lc, and that would cause any symbols used from libc to
  17183       # always be unresolved, which means just about no library would
  17184       # ever link correctly.  If we're not using GNU ld we use -z text
  17185       # though, which does catch some bad symbols but isn't as heavy-handed
  17186       # as -z defs.
  17187       no_undefined_flag='$wl-z,text'
  17188       allow_undefined_flag='$wl-z,nodefs'
  17189       archive_cmds_need_lc=no
  17190       hardcode_shlibpath_var=no
  17191       hardcode_libdir_flag_spec='$wl-R,$libdir'
  17192       hardcode_libdir_separator=':'
  17193       link_all_deplibs=yes
  17194       export_dynamic_flag_spec='$wl-Bexport'
  17195       runpath_var='LD_RUN_PATH'
  17196 
  17197       if test yes = "$GCC"; then
  17198 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  17199 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  17200       else
  17201 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  17202 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  17203       fi
  17204       ;;
  17205 
  17206     uts4*)
  17207       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  17208       hardcode_libdir_flag_spec='-L$libdir'
  17209       hardcode_shlibpath_var=no
  17210       ;;
  17211 
  17212     *)
  17213       ld_shlibs=no
  17214       ;;
  17215     esac
  17216 
  17217     if test sni = "$host_vendor"; then
  17218       case $host in
  17219       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  17220 	export_dynamic_flag_spec='$wl-Blargedynsym'
  17221 	;;
  17222       esac
  17223     fi
  17224   fi
  17225 
  17226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  17227 printf "%s\n" "$ld_shlibs" >&6; }
  17228 test no = "$ld_shlibs" && can_build_shared=no
  17229 
  17230 with_gnu_ld=$with_gnu_ld
  17231 
  17232 
  17233 
  17234 
  17235 
  17236 
  17237 
  17238 
  17239 
  17240 
  17241 
  17242 
  17243 
  17244 
  17245 
  17246 #
  17247 # Do we need to explicitly link libc?
  17248 #
  17249 case "x$archive_cmds_need_lc" in
  17250 x|xyes)
  17251   # Assume -lc should be added
  17252   archive_cmds_need_lc=yes
  17253 
  17254   if test yes,yes = "$GCC,$enable_shared"; then
  17255     case $archive_cmds in
  17256     *'~'*)
  17257       # FIXME: we may have to deal with multi-command sequences.
  17258       ;;
  17259     '$CC '*)
  17260       # Test whether the compiler implicitly links with -lc since on some
  17261       # systems, -lgcc has to come before -lc. If gcc already passes -lc
  17262       # to ld, don't add -lc before -lgcc.
  17263       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  17264 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
  17265 if test ${lt_cv_archive_cmds_need_lc+y}
  17266 then :
  17267   printf %s "(cached) " >&6
  17268 else case e in #(
  17269   e) $RM conftest*
  17270 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  17271 
  17272 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  17273   (eval $ac_compile) 2>&5
  17274   ac_status=$?
  17275   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17276   test $ac_status = 0; } 2>conftest.err; then
  17277 	  soname=conftest
  17278 	  lib=conftest
  17279 	  libobjs=conftest.$ac_objext
  17280 	  deplibs=
  17281 	  wl=$lt_prog_compiler_wl
  17282 	  pic_flag=$lt_prog_compiler_pic
  17283 	  compiler_flags=-v
  17284 	  linker_flags=-v
  17285 	  verstring=
  17286 	  output_objdir=.
  17287 	  libname=conftest
  17288 	  lt_save_allow_undefined_flag=$allow_undefined_flag
  17289 	  allow_undefined_flag=
  17290 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  17291   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  17292   ac_status=$?
  17293   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17294   test $ac_status = 0; }
  17295 	  then
  17296 	    lt_cv_archive_cmds_need_lc=no
  17297 	  else
  17298 	    lt_cv_archive_cmds_need_lc=yes
  17299 	  fi
  17300 	  allow_undefined_flag=$lt_save_allow_undefined_flag
  17301 	else
  17302 	  cat conftest.err 1>&5
  17303 	fi
  17304 	$RM conftest*
  17305 	 ;;
  17306 esac
  17307 fi
  17308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  17309 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
  17310       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  17311       ;;
  17312     esac
  17313   fi
  17314   ;;
  17315 esac
  17316 
  17317 
  17318 
  17319 
  17320 
  17321 
  17322 
  17323 
  17324 
  17325 
  17326 
  17327 
  17328 
  17329 
  17330 
  17331 
  17332 
  17333 
  17334 
  17335 
  17336 
  17337 
  17338 
  17339 
  17340 
  17341 
  17342 
  17343 
  17344 
  17345 
  17346 
  17347 
  17348 
  17349 
  17350 
  17351 
  17352 
  17353 
  17354 
  17355 
  17356 
  17357 
  17358 
  17359 
  17360 
  17361 
  17362 
  17363 
  17364 
  17365 
  17366 
  17367 
  17368 
  17369 
  17370 
  17371 
  17372 
  17373 
  17374 
  17375 
  17376 
  17377 
  17378 
  17379 
  17380 
  17381 
  17382 
  17383 
  17384 
  17385 
  17386 
  17387 
  17388 
  17389 
  17390 
  17391 
  17392 
  17393 
  17394 
  17395 
  17396 
  17397 
  17398 
  17399 
  17400 
  17401 
  17402 
  17403 
  17404 
  17405 
  17406 
  17407 
  17408 
  17409 
  17410 
  17411 
  17412 
  17413 
  17414 
  17415 
  17416 
  17417 
  17418 
  17419 
  17420 
  17421 
  17422 
  17423 
  17424 
  17425 
  17426 
  17427 
  17428 
  17429 
  17430 
  17431 
  17432 
  17433 
  17434 
  17435 
  17436 
  17437 
  17438 
  17439 
  17440 
  17441 
  17442 
  17443 
  17444 
  17445 
  17446 
  17447 
  17448 
  17449 
  17450 
  17451 
  17452 
  17453 
  17454 
  17455 
  17456 
  17457 
  17458 
  17459 
  17460 
  17461 
  17462 
  17463 
  17464 
  17465 
  17466 
  17467 
  17468   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  17469 printf %s "checking dynamic linker characteristics... " >&6; }
  17470 
  17471 if test yes = "$GCC"; then
  17472   case $host_os in
  17473     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
  17474     *) lt_awk_arg='/^libraries:/' ;;
  17475   esac
  17476   case $host_os in
  17477     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
  17478     *) lt_sed_strip_eq='s|=/|/|g' ;;
  17479   esac
  17480   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  17481   case $lt_search_path_spec in
  17482   *\;*)
  17483     # if the path contains ";" then we assume it to be the separator
  17484     # otherwise default to the standard path separator (i.e. ":") - it is
  17485     # assumed that no part of a normal pathname contains ";" but that should
  17486     # okay in the real world where ";" in dirpaths is itself problematic.
  17487     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  17488     ;;
  17489   *)
  17490     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  17491     ;;
  17492   esac
  17493   # Ok, now we have the path, separated by spaces, we can step through it
  17494   # and add multilib dir if necessary...
  17495   lt_tmp_lt_search_path_spec=
  17496   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  17497   # ...but if some path component already ends with the multilib dir we assume
  17498   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
  17499   case "$lt_multi_os_dir; $lt_search_path_spec " in
  17500   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
  17501     lt_multi_os_dir=
  17502     ;;
  17503   esac
  17504   for lt_sys_path in $lt_search_path_spec; do
  17505     if test -d "$lt_sys_path$lt_multi_os_dir"; then
  17506       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
  17507     elif test -n "$lt_multi_os_dir"; then
  17508       test -d "$lt_sys_path" && \
  17509 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  17510     fi
  17511   done
  17512   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  17513 BEGIN {RS = " "; FS = "/|\n";} {
  17514   lt_foo = "";
  17515   lt_count = 0;
  17516   for (lt_i = NF; lt_i > 0; lt_i--) {
  17517     if ($lt_i != "" && $lt_i != ".") {
  17518       if ($lt_i == "..") {
  17519         lt_count++;
  17520       } else {
  17521         if (lt_count == 0) {
  17522           lt_foo = "/" $lt_i lt_foo;
  17523         } else {
  17524           lt_count--;
  17525         }
  17526       }
  17527     }
  17528   }
  17529   if (lt_foo != "") { lt_freq[lt_foo]++; }
  17530   if (lt_freq[lt_foo] == 1) { print lt_foo; }
  17531 }'`
  17532   # AWK program above erroneously prepends '/' to C:/dos/paths
  17533   # for these hosts.
  17534   case $host_os in
  17535     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  17536       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
  17537   esac
  17538   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  17539 else
  17540   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  17541 fi
  17542 library_names_spec=
  17543 libname_spec='lib$name'
  17544 soname_spec=
  17545 shrext_cmds=.so
  17546 postinstall_cmds=
  17547 postuninstall_cmds=
  17548 finish_cmds=
  17549 finish_eval=
  17550 shlibpath_var=
  17551 shlibpath_overrides_runpath=unknown
  17552 version_type=none
  17553 dynamic_linker="$host_os ld.so"
  17554 sys_lib_dlsearch_path_spec="/lib /usr/lib"
  17555 need_lib_prefix=unknown
  17556 hardcode_into_libs=no
  17557 
  17558 # when you set need_version to no, make sure it does not cause -set_version
  17559 # flags to be left without arguments
  17560 need_version=unknown
  17561 
  17562 
  17563 
  17564 case $host_os in
  17565 aix3*)
  17566   version_type=linux # correct to gnu/linux during the next big refactor
  17567   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
  17568   shlibpath_var=LIBPATH
  17569 
  17570   # AIX 3 has no versioning support, so we append a major version to the name.
  17571   soname_spec='$libname$release$shared_ext$major'
  17572   ;;
  17573 
  17574 aix[4-9]*)
  17575   version_type=linux # correct to gnu/linux during the next big refactor
  17576   need_lib_prefix=no
  17577   need_version=no
  17578   hardcode_into_libs=yes
  17579   if test ia64 = "$host_cpu"; then
  17580     # AIX 5 supports IA64
  17581     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
  17582     shlibpath_var=LD_LIBRARY_PATH
  17583   else
  17584     # With GCC up to 2.95.x, collect2 would create an import file
  17585     # for dependence libraries.  The import file would start with
  17586     # the line '#! .'.  This would cause the generated library to
  17587     # depend on '.', always an invalid library.  This was fixed in
  17588     # development snapshots of GCC prior to 3.0.
  17589     case $host_os in
  17590       aix4 | aix4.[01] | aix4.[01].*)
  17591       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  17592 	   echo ' yes '
  17593 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
  17594 	:
  17595       else
  17596 	can_build_shared=no
  17597       fi
  17598       ;;
  17599     esac
  17600     # Using Import Files as archive members, it is possible to support
  17601     # filename-based versioning of shared library archives on AIX. While
  17602     # this would work for both with and without runtime linking, it will
  17603     # prevent static linking of such archives. So we do filename-based
  17604     # shared library versioning with .so extension only, which is used
  17605     # when both runtime linking and shared linking is enabled.
  17606     # Unfortunately, runtime linking may impact performance, so we do
  17607     # not want this to be the default eventually. Also, we use the
  17608     # versioned .so libs for executables only if there is the -brtl
  17609     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
  17610     # To allow for filename-based versioning support, we need to create
  17611     # libNAME.so.V as an archive file, containing:
  17612     # *) an Import File, referring to the versioned filename of the
  17613     #    archive as well as the shared archive member, telling the
  17614     #    bitwidth (32 or 64) of that shared object, and providing the
  17615     #    list of exported symbols of that shared object, eventually
  17616     #    decorated with the 'weak' keyword
  17617     # *) the shared object with the F_LOADONLY flag set, to really avoid
  17618     #    it being seen by the linker.
  17619     # At run time we better use the real file rather than another symlink,
  17620     # but for link time we create the symlink libNAME.so -> libNAME.so.V
  17621 
  17622     case $with_aix_soname,$aix_use_runtimelinking in
  17623     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
  17624     # soname into executable. Probably we can add versioning support to
  17625     # collect2, so additional links can be useful in future.
  17626     aix,yes) # traditional libtool
  17627       dynamic_linker='AIX unversionable lib.so'
  17628       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  17629       # instead of lib<name>.a to let people know that these are not
  17630       # typical AIX shared libraries.
  17631       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  17632       ;;
  17633     aix,no) # traditional AIX only
  17634       dynamic_linker='AIX lib.a(lib.so.V)'
  17635       # We preserve .a as extension for shared libraries through AIX4.2
  17636       # and later when we are not doing run time linking.
  17637       library_names_spec='$libname$release.a $libname.a'
  17638       soname_spec='$libname$release$shared_ext$major'
  17639       ;;
  17640     svr4,*) # full svr4 only
  17641       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
  17642       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  17643       # We do not specify a path in Import Files, so LIBPATH fires.
  17644       shlibpath_overrides_runpath=yes
  17645       ;;
  17646     *,yes) # both, prefer svr4
  17647       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
  17648       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  17649       # unpreferred sharedlib libNAME.a needs extra handling
  17650       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"'
  17651       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"'
  17652       # We do not specify a path in Import Files, so LIBPATH fires.
  17653       shlibpath_overrides_runpath=yes
  17654       ;;
  17655     *,no) # both, prefer aix
  17656       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
  17657       library_names_spec='$libname$release.a $libname.a'
  17658       soname_spec='$libname$release$shared_ext$major'
  17659       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
  17660       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)'
  17661       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"'
  17662       ;;
  17663     esac
  17664     shlibpath_var=LIBPATH
  17665   fi
  17666   ;;
  17667 
  17668 amigaos*)
  17669   case $host_cpu in
  17670   powerpc)
  17671     # Since July 2007 AmigaOS4 officially supports .so libraries.
  17672     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  17673     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  17674     ;;
  17675   m68k)
  17676     library_names_spec='$libname.ixlibrary $libname.a'
  17677     # Create ${libname}_ixlibrary.a entries in /sys/libs.
  17678     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'
  17679     ;;
  17680   esac
  17681   ;;
  17682 
  17683 beos*)
  17684   library_names_spec='$libname$shared_ext'
  17685   dynamic_linker="$host_os ld.so"
  17686   shlibpath_var=LIBRARY_PATH
  17687   ;;
  17688 
  17689 bsdi[45]*)
  17690   version_type=linux # correct to gnu/linux during the next big refactor
  17691   need_version=no
  17692   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  17693   soname_spec='$libname$release$shared_ext$major'
  17694   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  17695   shlibpath_var=LD_LIBRARY_PATH
  17696   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  17697   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  17698   # the default ld.so.conf also contains /usr/contrib/lib and
  17699   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  17700   # libtool to hard-code these into programs
  17701   ;;
  17702 
  17703 cygwin* | mingw* | windows* | pw32* | cegcc*)
  17704   version_type=windows
  17705   shrext_cmds=.dll
  17706   need_version=no
  17707   need_lib_prefix=no
  17708 
  17709   case $GCC,$cc_basename in
  17710   yes,*)
  17711     # gcc
  17712     library_names_spec='$libname.dll.a'
  17713     # DLL is installed to $(libdir)/../bin by postinstall_cmds
  17714     # If user builds GCC with multilib enabled,
  17715     # it should just install on $(libdir)
  17716     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
  17717     if test xyes = x"$multilib"; then
  17718       postinstall_cmds='base_file=`basename \$file`~
  17719         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  17720         dldir=$destdir/`dirname \$dlpath`~
  17721         $install_prog $dir/$dlname $destdir/$dlname~
  17722         chmod a+x $destdir/$dlname~
  17723         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  17724           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
  17725         fi'
  17726     else
  17727       postinstall_cmds='base_file=`basename \$file`~
  17728         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  17729         dldir=$destdir/`dirname \$dlpath`~
  17730         test -d \$dldir || mkdir -p \$dldir~
  17731         $install_prog $dir/$dlname \$dldir/$dlname~
  17732         chmod a+x \$dldir/$dlname~
  17733         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  17734           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  17735         fi'
  17736     fi
  17737     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  17738       dlpath=$dir/\$dldll~
  17739        $RM \$dlpath'
  17740     shlibpath_overrides_runpath=yes
  17741 
  17742     case $host_os in
  17743     cygwin*)
  17744       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  17745       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  17746 
  17747       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  17748       ;;
  17749     mingw* | windows* | cegcc*)
  17750       # MinGW DLLs use traditional 'lib' prefix
  17751       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  17752       ;;
  17753     pw32*)
  17754       # pw32 DLLs use 'pw' prefix rather than 'lib'
  17755       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  17756       ;;
  17757     esac
  17758     dynamic_linker='Win32 ld.exe'
  17759     ;;
  17760 
  17761   *,cl* | *,icl*)
  17762     # Native MSVC or ICC
  17763     libname_spec='$name'
  17764     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  17765     library_names_spec='$libname.dll.lib'
  17766 
  17767     case $build_os in
  17768     mingw* | windows*)
  17769       sys_lib_search_path_spec=
  17770       lt_save_ifs=$IFS
  17771       IFS=';'
  17772       for lt_path in $LIB
  17773       do
  17774         IFS=$lt_save_ifs
  17775         # Let DOS variable expansion print the short 8.3 style file name.
  17776         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
  17777         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
  17778       done
  17779       IFS=$lt_save_ifs
  17780       # Convert to MSYS style.
  17781       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
  17782       ;;
  17783     cygwin*)
  17784       # Convert to unix form, then to dos form, then back to unix form
  17785       # but this time dos style (no spaces!) so that the unix form looks
  17786       # like /cygdrive/c/PROGRA~1:/cygdr...
  17787       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
  17788       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
  17789       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  17790       ;;
  17791     *)
  17792       sys_lib_search_path_spec=$LIB
  17793       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  17794         # It is most probably a Windows format PATH.
  17795         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  17796       else
  17797         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  17798       fi
  17799       # FIXME: find the short name or the path components, as spaces are
  17800       # common. (e.g. "Program Files" -> "PROGRA~1")
  17801       ;;
  17802     esac
  17803 
  17804     # DLL is installed to $(libdir)/../bin by postinstall_cmds
  17805     postinstall_cmds='base_file=`basename \$file`~
  17806       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  17807       dldir=$destdir/`dirname \$dlpath`~
  17808       test -d \$dldir || mkdir -p \$dldir~
  17809       $install_prog $dir/$dlname \$dldir/$dlname'
  17810     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  17811       dlpath=$dir/\$dldll~
  17812        $RM \$dlpath'
  17813     shlibpath_overrides_runpath=yes
  17814     dynamic_linker='Win32 link.exe'
  17815     ;;
  17816 
  17817   *)
  17818     # Assume MSVC and ICC wrapper
  17819     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
  17820     dynamic_linker='Win32 ld.exe'
  17821     ;;
  17822   esac
  17823   # FIXME: first we should search . and the directory the executable is in
  17824   shlibpath_var=PATH
  17825   ;;
  17826 
  17827 darwin* | rhapsody*)
  17828   dynamic_linker="$host_os dyld"
  17829   version_type=darwin
  17830   need_lib_prefix=no
  17831   need_version=no
  17832   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
  17833   soname_spec='$libname$release$major$shared_ext'
  17834   shlibpath_overrides_runpath=yes
  17835   shlibpath_var=DYLD_LIBRARY_PATH
  17836   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  17837 
  17838   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  17839   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  17840   ;;
  17841 
  17842 dgux*)
  17843   version_type=linux # correct to gnu/linux during the next big refactor
  17844   need_lib_prefix=no
  17845   need_version=no
  17846   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  17847   soname_spec='$libname$release$shared_ext$major'
  17848   shlibpath_var=LD_LIBRARY_PATH
  17849   ;;
  17850 
  17851 freebsd* | dragonfly* | midnightbsd*)
  17852   # DragonFly does not have aout.  When/if they implement a new
  17853   # versioning mechanism, adjust this.
  17854   if test -x /usr/bin/objformat; then
  17855     objformat=`/usr/bin/objformat`
  17856   else
  17857     case $host_os in
  17858     freebsd[23].*) objformat=aout ;;
  17859     *) objformat=elf ;;
  17860     esac
  17861   fi
  17862   version_type=freebsd-$objformat
  17863   case $version_type in
  17864     freebsd-elf*)
  17865       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  17866       soname_spec='$libname$release$shared_ext$major'
  17867       need_version=no
  17868       need_lib_prefix=no
  17869       ;;
  17870     freebsd-*)
  17871       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  17872       need_version=yes
  17873       ;;
  17874   esac
  17875   case $host_cpu in
  17876     powerpc64)
  17877       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
  17878       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
  17879       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17880 /* end confdefs.h.  */
  17881 int test_pointer_size[sizeof (void *) - 5];
  17882 
  17883 _ACEOF
  17884 if ac_fn_c_try_compile "$LINENO"
  17885 then :
  17886   shlibpath_var=LD_LIBRARY_PATH
  17887 else case e in #(
  17888   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
  17889 esac
  17890 fi
  17891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  17892       ;;
  17893     *)
  17894       shlibpath_var=LD_LIBRARY_PATH
  17895       ;;
  17896   esac
  17897   case $host_os in
  17898   freebsd2.*)
  17899     shlibpath_overrides_runpath=yes
  17900     ;;
  17901   freebsd3.[01]* | freebsdelf3.[01]*)
  17902     shlibpath_overrides_runpath=yes
  17903     hardcode_into_libs=yes
  17904     ;;
  17905   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  17906   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  17907     shlibpath_overrides_runpath=no
  17908     hardcode_into_libs=yes
  17909     ;;
  17910   *) # from 4.6 on, and DragonFly
  17911     shlibpath_overrides_runpath=yes
  17912     hardcode_into_libs=yes
  17913     ;;
  17914   esac
  17915   ;;
  17916 
  17917 haiku*)
  17918   version_type=linux # correct to gnu/linux during the next big refactor
  17919   need_lib_prefix=no
  17920   need_version=no
  17921   dynamic_linker="$host_os runtime_loader"
  17922   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  17923   soname_spec='$libname$release$shared_ext$major'
  17924   shlibpath_var=LIBRARY_PATH
  17925   shlibpath_overrides_runpath=no
  17926   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
  17927   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
  17928   hardcode_into_libs=no
  17929   ;;
  17930 
  17931 hpux9* | hpux10* | hpux11*)
  17932   # Give a soname corresponding to the major version so that dld.sl refuses to
  17933   # link against other versions.
  17934   version_type=sunos
  17935   need_lib_prefix=no
  17936   need_version=no
  17937   case $host_cpu in
  17938   ia64*)
  17939     shrext_cmds='.so'
  17940     hardcode_into_libs=yes
  17941     dynamic_linker="$host_os dld.so"
  17942     shlibpath_var=LD_LIBRARY_PATH
  17943     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  17944     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  17945     soname_spec='$libname$release$shared_ext$major'
  17946     if test 32 = "$HPUX_IA64_MODE"; then
  17947       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  17948       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
  17949     else
  17950       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  17951       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
  17952     fi
  17953     ;;
  17954   hppa*64*)
  17955     shrext_cmds='.sl'
  17956     hardcode_into_libs=yes
  17957     dynamic_linker="$host_os dld.sl"
  17958     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  17959     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  17960     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  17961     soname_spec='$libname$release$shared_ext$major'
  17962     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  17963     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  17964     ;;
  17965   *)
  17966     shrext_cmds='.sl'
  17967     dynamic_linker="$host_os dld.sl"
  17968     shlibpath_var=SHLIB_PATH
  17969     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  17970     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  17971     soname_spec='$libname$release$shared_ext$major'
  17972     ;;
  17973   esac
  17974   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  17975   postinstall_cmds='chmod 555 $lib'
  17976   # or fails outright, so override atomically:
  17977   install_override_mode=555
  17978   ;;
  17979 
  17980 interix[3-9]*)
  17981   version_type=linux # correct to gnu/linux during the next big refactor
  17982   need_lib_prefix=no
  17983   need_version=no
  17984   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  17985   soname_spec='$libname$release$shared_ext$major'
  17986   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  17987   shlibpath_var=LD_LIBRARY_PATH
  17988   shlibpath_overrides_runpath=no
  17989   hardcode_into_libs=yes
  17990   ;;
  17991 
  17992 irix5* | irix6* | nonstopux*)
  17993   case $host_os in
  17994     nonstopux*) version_type=nonstopux ;;
  17995     *)
  17996 	if test yes = "$lt_cv_prog_gnu_ld"; then
  17997 		version_type=linux # correct to gnu/linux during the next big refactor
  17998 	else
  17999 		version_type=irix
  18000 	fi ;;
  18001   esac
  18002   need_lib_prefix=no
  18003   need_version=no
  18004   soname_spec='$libname$release$shared_ext$major'
  18005   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
  18006   case $host_os in
  18007   irix5* | nonstopux*)
  18008     libsuff= shlibsuff=
  18009     ;;
  18010   *)
  18011     case $LD in # libtool.m4 will add one of these switches to LD
  18012     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  18013       libsuff= shlibsuff= libmagic=32-bit;;
  18014     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  18015       libsuff=32 shlibsuff=N32 libmagic=N32;;
  18016     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  18017       libsuff=64 shlibsuff=64 libmagic=64-bit;;
  18018     *) libsuff= shlibsuff= libmagic=never-match;;
  18019     esac
  18020     ;;
  18021   esac
  18022   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  18023   shlibpath_overrides_runpath=no
  18024   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
  18025   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
  18026   hardcode_into_libs=yes
  18027   ;;
  18028 
  18029 # No shared lib support for Linux oldld, aout, or coff.
  18030 linux*oldld* | linux*aout* | linux*coff*)
  18031   dynamic_linker=no
  18032   ;;
  18033 
  18034 linux*android*)
  18035   version_type=none # Android doesn't support versioned libraries.
  18036   need_lib_prefix=no
  18037   need_version=no
  18038   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
  18039   soname_spec='$libname$release$shared_ext'
  18040   finish_cmds=
  18041   shlibpath_var=LD_LIBRARY_PATH
  18042   shlibpath_overrides_runpath=yes
  18043 
  18044   # This implies no fast_install, which is unacceptable.
  18045   # Some rework will be needed to allow for fast_install
  18046   # before this can be enabled.
  18047   hardcode_into_libs=yes
  18048 
  18049   dynamic_linker='Android linker'
  18050   # -rpath works at least for libraries that are not overridden by
  18051   # libraries installed in system locations.
  18052   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  18053   ;;
  18054 
  18055 # This must be glibc/ELF.
  18056 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  18057   version_type=linux # correct to gnu/linux during the next big refactor
  18058   need_lib_prefix=no
  18059   need_version=no
  18060   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  18061   soname_spec='$libname$release$shared_ext$major'
  18062   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  18063   shlibpath_var=LD_LIBRARY_PATH
  18064   shlibpath_overrides_runpath=no
  18065 
  18066   # Some binutils ld are patched to set DT_RUNPATH
  18067   if test ${lt_cv_shlibpath_overrides_runpath+y}
  18068 then :
  18069   printf %s "(cached) " >&6
  18070 else case e in #(
  18071   e) lt_cv_shlibpath_overrides_runpath=no
  18072     save_LDFLAGS=$LDFLAGS
  18073     save_libdir=$libdir
  18074     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  18075 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  18076     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18077 /* end confdefs.h.  */
  18078 
  18079 int
  18080 main (void)
  18081 {
  18082 
  18083   ;
  18084   return 0;
  18085 }
  18086 _ACEOF
  18087 if ac_fn_c_try_link "$LINENO"
  18088 then :
  18089   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
  18090 then :
  18091   lt_cv_shlibpath_overrides_runpath=yes
  18092 fi
  18093 fi
  18094 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  18095     conftest$ac_exeext conftest.$ac_ext
  18096     LDFLAGS=$save_LDFLAGS
  18097     libdir=$save_libdir
  18098      ;;
  18099 esac
  18100 fi
  18101 
  18102   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  18103 
  18104   # This implies no fast_install, which is unacceptable.
  18105   # Some rework will be needed to allow for fast_install
  18106   # before this can be enabled.
  18107   hardcode_into_libs=yes
  18108 
  18109   # Ideally, we could use ldconfig to report *all* directories which are
  18110   # searched for libraries, however this is still not possible.  Aside from not
  18111   # being certain /sbin/ldconfig is available, command
  18112   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
  18113   # even though it is searched at run-time.  Try to do the best guess by
  18114   # appending ld.so.conf contents (and includes) to the search path.
  18115   if test -f /etc/ld.so.conf; then
  18116     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' ' '`
  18117     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  18118   fi
  18119 
  18120   # We used to test for /lib/ld.so.1 and disable shared libraries on
  18121   # powerpc, because MkLinux only supported shared libraries with the
  18122   # GNU dynamic linker.  Since this was broken with cross compilers,
  18123   # most powerpc-linux boxes support dynamic linking these days and
  18124   # people can always --disable-shared, the test was removed, and we
  18125   # assume the GNU/Linux dynamic linker is in use.
  18126   dynamic_linker='GNU/Linux ld.so'
  18127   ;;
  18128 
  18129 netbsdelf*-gnu)
  18130   version_type=linux
  18131   need_lib_prefix=no
  18132   need_version=no
  18133   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  18134   soname_spec='$libname$release$shared_ext$major'
  18135   shlibpath_var=LD_LIBRARY_PATH
  18136   shlibpath_overrides_runpath=no
  18137   hardcode_into_libs=yes
  18138   dynamic_linker='NetBSD ld.elf_so'
  18139   ;;
  18140 
  18141 netbsd*)
  18142   version_type=sunos
  18143   need_lib_prefix=no
  18144   need_version=no
  18145   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  18146     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  18147     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  18148     dynamic_linker='NetBSD (a.out) ld.so'
  18149   else
  18150     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  18151     soname_spec='$libname$release$shared_ext$major'
  18152     dynamic_linker='NetBSD ld.elf_so'
  18153   fi
  18154   shlibpath_var=LD_LIBRARY_PATH
  18155   shlibpath_overrides_runpath=yes
  18156   hardcode_into_libs=yes
  18157   ;;
  18158 
  18159 *-mlibc)
  18160   version_type=linux # correct to gnu/linux during the next big refactor
  18161   need_lib_prefix=no
  18162   need_version=no
  18163   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  18164   soname_spec='$libname$release$shared_ext$major'
  18165   dynamic_linker='mlibc ld.so'
  18166   shlibpath_var=LD_LIBRARY_PATH
  18167   shlibpath_overrides_runpath=no
  18168   hardcode_into_libs=yes
  18169   ;;
  18170 
  18171 newsos6)
  18172   version_type=linux # correct to gnu/linux during the next big refactor
  18173   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  18174   shlibpath_var=LD_LIBRARY_PATH
  18175   shlibpath_overrides_runpath=yes
  18176   ;;
  18177 
  18178 *nto* | *qnx*)
  18179   version_type=qnx
  18180   need_lib_prefix=no
  18181   need_version=no
  18182   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  18183   soname_spec='$libname$release$shared_ext$major'
  18184   shlibpath_var=LD_LIBRARY_PATH
  18185   shlibpath_overrides_runpath=no
  18186   hardcode_into_libs=yes
  18187   dynamic_linker='ldqnx.so'
  18188   ;;
  18189 
  18190 openbsd*)
  18191   version_type=sunos
  18192   sys_lib_dlsearch_path_spec=/usr/lib
  18193   need_lib_prefix=no
  18194   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  18195     need_version=no
  18196   else
  18197     need_version=yes
  18198   fi
  18199   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  18200   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  18201   shlibpath_var=LD_LIBRARY_PATH
  18202   shlibpath_overrides_runpath=yes
  18203   ;;
  18204 
  18205 os2*)
  18206   libname_spec='$name'
  18207   version_type=windows
  18208   shrext_cmds=.dll
  18209   need_version=no
  18210   need_lib_prefix=no
  18211   # OS/2 can only load a DLL with a base name of 8 characters or less.
  18212   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
  18213     v=$($ECHO $release$versuffix | tr -d .-);
  18214     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
  18215     $ECHO $n$v`$shared_ext'
  18216   library_names_spec='${libname}_dll.$libext'
  18217   dynamic_linker='OS/2 ld.exe'
  18218   shlibpath_var=BEGINLIBPATH
  18219   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  18220   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  18221   postinstall_cmds='base_file=`basename \$file`~
  18222     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
  18223     dldir=$destdir/`dirname \$dlpath`~
  18224     test -d \$dldir || mkdir -p \$dldir~
  18225     $install_prog $dir/$dlname \$dldir/$dlname~
  18226     chmod a+x \$dldir/$dlname~
  18227     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  18228       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  18229     fi'
  18230   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
  18231     dlpath=$dir/\$dldll~
  18232     $RM \$dlpath'
  18233   ;;
  18234 
  18235 osf3* | osf4* | osf5*)
  18236   version_type=osf
  18237   need_lib_prefix=no
  18238   need_version=no
  18239   soname_spec='$libname$release$shared_ext$major'
  18240   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  18241   shlibpath_var=LD_LIBRARY_PATH
  18242   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  18243   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  18244   ;;
  18245 
  18246 rdos*)
  18247   dynamic_linker=no
  18248   ;;
  18249 
  18250 serenity*)
  18251   version_type=linux # correct to gnu/linux during the next big refactor
  18252   need_lib_prefix=no
  18253   need_version=no
  18254   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  18255   soname_spec='$libname$release$shared_ext$major'
  18256   shlibpath_var=LD_LIBRARY_PATH
  18257   shlibpath_overrides_runpath=no
  18258   dynamic_linker='SerenityOS LibELF'
  18259   ;;
  18260 
  18261 solaris*)
  18262   version_type=linux # correct to gnu/linux during the next big refactor
  18263   need_lib_prefix=no
  18264   need_version=no
  18265   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  18266   soname_spec='$libname$release$shared_ext$major'
  18267   shlibpath_var=LD_LIBRARY_PATH
  18268   shlibpath_overrides_runpath=yes
  18269   hardcode_into_libs=yes
  18270   # ldd complains unless libraries are executable
  18271   postinstall_cmds='chmod +x $lib'
  18272   ;;
  18273 
  18274 sunos4*)
  18275   version_type=sunos
  18276   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  18277   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  18278   shlibpath_var=LD_LIBRARY_PATH
  18279   shlibpath_overrides_runpath=yes
  18280   if test yes = "$with_gnu_ld"; then
  18281     need_lib_prefix=no
  18282   fi
  18283   need_version=yes
  18284   ;;
  18285 
  18286 sysv4 | sysv4.3*)
  18287   version_type=linux # correct to gnu/linux during the next big refactor
  18288   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  18289   soname_spec='$libname$release$shared_ext$major'
  18290   shlibpath_var=LD_LIBRARY_PATH
  18291   case $host_vendor in
  18292     sni)
  18293       shlibpath_overrides_runpath=no
  18294       need_lib_prefix=no
  18295       runpath_var=LD_RUN_PATH
  18296       ;;
  18297     siemens)
  18298       need_lib_prefix=no
  18299       ;;
  18300     motorola)
  18301       need_lib_prefix=no
  18302       need_version=no
  18303       shlibpath_overrides_runpath=no
  18304       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  18305       ;;
  18306   esac
  18307   ;;
  18308 
  18309 sysv4*MP*)
  18310   if test -d /usr/nec; then
  18311     version_type=linux # correct to gnu/linux during the next big refactor
  18312     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
  18313     soname_spec='$libname$shared_ext.$major'
  18314     shlibpath_var=LD_LIBRARY_PATH
  18315   fi
  18316   ;;
  18317 
  18318 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  18319   version_type=sco
  18320   need_lib_prefix=no
  18321   need_version=no
  18322   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
  18323   soname_spec='$libname$release$shared_ext$major'
  18324   shlibpath_var=LD_LIBRARY_PATH
  18325   shlibpath_overrides_runpath=yes
  18326   hardcode_into_libs=yes
  18327   if test yes = "$with_gnu_ld"; then
  18328     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  18329   else
  18330     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  18331     case $host_os in
  18332       sco3.2v5*)
  18333         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  18334 	;;
  18335     esac
  18336   fi
  18337   sys_lib_dlsearch_path_spec='/usr/lib'
  18338   ;;
  18339 
  18340 tpf*)
  18341   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
  18342   version_type=linux # correct to gnu/linux during the next big refactor
  18343   need_lib_prefix=no
  18344   need_version=no
  18345   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  18346   shlibpath_var=LD_LIBRARY_PATH
  18347   shlibpath_overrides_runpath=no
  18348   hardcode_into_libs=yes
  18349   ;;
  18350 
  18351 uts4*)
  18352   version_type=linux # correct to gnu/linux during the next big refactor
  18353   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  18354   soname_spec='$libname$release$shared_ext$major'
  18355   shlibpath_var=LD_LIBRARY_PATH
  18356   ;;
  18357 
  18358 emscripten*)
  18359   version_type=none
  18360   need_lib_prefix=no
  18361   need_version=no
  18362   library_names_spec='$libname$release$shared_ext'
  18363   soname_spec='$libname$release$shared_ext'
  18364   finish_cmds=
  18365   dynamic_linker="Emscripten linker"
  18366   lt_prog_compiler_wl=
  18367 lt_prog_compiler_pic=
  18368 lt_prog_compiler_static=
  18369 
  18370 
  18371   if test yes = "$GCC"; then
  18372     lt_prog_compiler_wl='-Wl,'
  18373     lt_prog_compiler_static='-static'
  18374 
  18375     case $host_os in
  18376       aix*)
  18377       # All AIX code is PIC.
  18378       if test ia64 = "$host_cpu"; then
  18379 	# AIX 5 now supports IA64 processor
  18380 	lt_prog_compiler_static='-Bstatic'
  18381       fi
  18382       lt_prog_compiler_pic='-fPIC'
  18383       ;;
  18384 
  18385     amigaos*)
  18386       case $host_cpu in
  18387       powerpc)
  18388             # see comment about AmigaOS4 .so support
  18389             lt_prog_compiler_pic='-fPIC'
  18390         ;;
  18391       m68k)
  18392             # FIXME: we need at least 68020 code to build shared libraries, but
  18393             # adding the '-m68020' flag to GCC prevents building anything better,
  18394             # like '-m68040'.
  18395             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  18396         ;;
  18397       esac
  18398       ;;
  18399 
  18400     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  18401       # PIC is the default for these OSes.
  18402       ;;
  18403 
  18404     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
  18405       # This hack is so that the source file can tell whether it is being
  18406       # built for inclusion in a dll (and should export symbols for example).
  18407       # Although the cygwin gcc ignores -fPIC, still need this for old-style
  18408       # (--disable-auto-import) libraries
  18409       lt_prog_compiler_pic='-DDLL_EXPORT'
  18410       case $host_os in
  18411       os2*)
  18412 	lt_prog_compiler_static='$wl-static'
  18413 	;;
  18414       esac
  18415       ;;
  18416 
  18417     darwin* | rhapsody*)
  18418       # PIC is the default on this platform
  18419       # Common symbols not allowed in MH_DYLIB files
  18420       lt_prog_compiler_pic='-fno-common'
  18421       ;;
  18422 
  18423     haiku*)
  18424       # PIC is the default for Haiku.
  18425       # The "-static" flag exists, but is broken.
  18426       lt_prog_compiler_static=
  18427       ;;
  18428 
  18429     hpux*)
  18430       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  18431       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
  18432       # sets the default TLS model and affects inlining.
  18433       case $host_cpu in
  18434       hppa*64*)
  18435 	# +Z the default
  18436 	;;
  18437       *)
  18438 	lt_prog_compiler_pic='-fPIC'
  18439 	;;
  18440       esac
  18441       ;;
  18442 
  18443     interix[3-9]*)
  18444       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  18445       # Instead, we relocate shared libraries at runtime.
  18446       ;;
  18447 
  18448     msdosdjgpp*)
  18449       # Just because we use GCC doesn't mean we suddenly get shared libraries
  18450       # on systems that don't support them.
  18451       lt_prog_compiler_can_build_shared=no
  18452       enable_shared=no
  18453       ;;
  18454 
  18455     *nto* | *qnx*)
  18456       # QNX uses GNU C++, but need to define -shared option too, otherwise
  18457       # it will coredump.
  18458       lt_prog_compiler_pic='-fPIC -shared'
  18459       ;;
  18460 
  18461     sysv4*MP*)
  18462       if test -d /usr/nec; then
  18463 	lt_prog_compiler_pic=-Kconform_pic
  18464       fi
  18465       ;;
  18466 
  18467     *)
  18468       lt_prog_compiler_pic='-fPIC'
  18469       ;;
  18470     esac
  18471 
  18472     case $cc_basename in
  18473     nvcc*) # Cuda Compiler Driver 2.2
  18474       lt_prog_compiler_wl='-Xlinker '
  18475       if test -n "$lt_prog_compiler_pic"; then
  18476         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
  18477       fi
  18478       ;;
  18479     esac
  18480   else
  18481     # PORTME Check for flag to pass linker flags through the system compiler.
  18482     case $host_os in
  18483     aix*)
  18484       lt_prog_compiler_wl='-Wl,'
  18485       if test ia64 = "$host_cpu"; then
  18486 	# AIX 5 now supports IA64 processor
  18487 	lt_prog_compiler_static='-Bstatic'
  18488       else
  18489 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  18490       fi
  18491       ;;
  18492 
  18493     darwin* | rhapsody*)
  18494       # PIC is the default on this platform
  18495       # Common symbols not allowed in MH_DYLIB files
  18496       lt_prog_compiler_pic='-fno-common'
  18497       case $cc_basename in
  18498       nagfor*)
  18499         # NAG Fortran compiler
  18500         lt_prog_compiler_wl='-Wl,-Wl,,'
  18501         lt_prog_compiler_pic='-PIC'
  18502         lt_prog_compiler_static='-Bstatic'
  18503         ;;
  18504       esac
  18505       ;;
  18506 
  18507     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
  18508       # This hack is so that the source file can tell whether it is being
  18509       # built for inclusion in a dll (and should export symbols for example).
  18510       lt_prog_compiler_pic='-DDLL_EXPORT'
  18511       case $host_os in
  18512       os2*)
  18513 	lt_prog_compiler_static='$wl-static'
  18514 	;;
  18515       esac
  18516       ;;
  18517 
  18518     hpux9* | hpux10* | hpux11*)
  18519       lt_prog_compiler_wl='-Wl,'
  18520       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  18521       # not for PA HP-UX.
  18522       case $host_cpu in
  18523       hppa*64*|ia64*)
  18524 	# +Z the default
  18525 	;;
  18526       *)
  18527 	lt_prog_compiler_pic='+Z'
  18528 	;;
  18529       esac
  18530       # Is there a better lt_prog_compiler_static that works with the bundled CC?
  18531       lt_prog_compiler_static='$wl-a ${wl}archive'
  18532       ;;
  18533 
  18534     irix5* | irix6* | nonstopux*)
  18535       lt_prog_compiler_wl='-Wl,'
  18536       # PIC (with -KPIC) is the default.
  18537       lt_prog_compiler_static='-non_shared'
  18538       ;;
  18539 
  18540     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  18541       case $cc_basename in
  18542       # old Intel for x86_64, which still supported -KPIC.
  18543       ecc*)
  18544 	lt_prog_compiler_wl='-Wl,'
  18545 	lt_prog_compiler_pic='-KPIC'
  18546 	lt_prog_compiler_static='-static'
  18547         ;;
  18548       *flang* | ftn | f18* | f95*)
  18549         # Flang compiler.
  18550 	lt_prog_compiler_wl='-Wl,'
  18551 	lt_prog_compiler_pic='-fPIC'
  18552 	lt_prog_compiler_static='-static'
  18553         ;;
  18554       # icc used to be incompatible with GCC.
  18555       # ICC 10 doesn't accept -KPIC any more.
  18556       icc* | ifort*)
  18557 	lt_prog_compiler_wl='-Wl,'
  18558 	lt_prog_compiler_pic='-fPIC'
  18559 	lt_prog_compiler_static='-static'
  18560         ;;
  18561       # Lahey Fortran 8.1.
  18562       lf95*)
  18563 	lt_prog_compiler_wl='-Wl,'
  18564 	lt_prog_compiler_pic='--shared'
  18565 	lt_prog_compiler_static='--static'
  18566 	;;
  18567       nagfor*)
  18568 	# NAG Fortran compiler
  18569 	lt_prog_compiler_wl='-Wl,-Wl,,'
  18570 	lt_prog_compiler_pic='-PIC'
  18571 	lt_prog_compiler_static='-Bstatic'
  18572 	;;
  18573       tcc*)
  18574 	# Fabrice Bellard et al's Tiny C Compiler
  18575 	lt_prog_compiler_wl='-Wl,'
  18576 	lt_prog_compiler_pic='-fPIC'
  18577 	lt_prog_compiler_static='-static'
  18578 	;;
  18579       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  18580         # Portland Group compilers (*not* the Pentium gcc compiler,
  18581 	# which looks to be a dead project)
  18582 	lt_prog_compiler_wl='-Wl,'
  18583 	lt_prog_compiler_pic='-fpic'
  18584 	lt_prog_compiler_static='-Bstatic'
  18585         ;;
  18586       ccc*)
  18587         lt_prog_compiler_wl='-Wl,'
  18588         # All Alpha code is PIC.
  18589         lt_prog_compiler_static='-non_shared'
  18590         ;;
  18591       xl* | bgxl* | bgf* | mpixl*)
  18592 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  18593 	lt_prog_compiler_wl='-Wl,'
  18594 	lt_prog_compiler_pic='-qpic'
  18595 	lt_prog_compiler_static='-qstaticlink'
  18596 	;;
  18597       *)
  18598 	case `$CC -V 2>&1 | $SED 5q` in
  18599 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
  18600 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
  18601 	  lt_prog_compiler_pic='-KPIC'
  18602 	  lt_prog_compiler_static='-Bstatic'
  18603 	  lt_prog_compiler_wl=''
  18604 	  ;;
  18605 	*Sun\ F* | *Sun*Fortran*)
  18606 	  lt_prog_compiler_pic='-KPIC'
  18607 	  lt_prog_compiler_static='-Bstatic'
  18608 	  lt_prog_compiler_wl='-Qoption ld '
  18609 	  ;;
  18610 	*Sun\ C*)
  18611 	  # Sun C 5.9
  18612 	  lt_prog_compiler_pic='-KPIC'
  18613 	  lt_prog_compiler_static='-Bstatic'
  18614 	  lt_prog_compiler_wl='-Wl,'
  18615 	  ;;
  18616         *Intel*\ [CF]*Compiler*)
  18617 	  lt_prog_compiler_wl='-Wl,'
  18618 	  lt_prog_compiler_pic='-fPIC'
  18619 	  lt_prog_compiler_static='-static'
  18620 	  ;;
  18621 	*Portland\ Group*)
  18622 	  lt_prog_compiler_wl='-Wl,'
  18623 	  lt_prog_compiler_pic='-fpic'
  18624 	  lt_prog_compiler_static='-Bstatic'
  18625 	  ;;
  18626 	esac
  18627 	;;
  18628       esac
  18629       ;;
  18630 
  18631     newsos6)
  18632       lt_prog_compiler_pic='-KPIC'
  18633       lt_prog_compiler_static='-Bstatic'
  18634       ;;
  18635 
  18636     *-mlibc)
  18637       lt_prog_compiler_wl='-Wl,'
  18638       lt_prog_compiler_pic='-fPIC'
  18639       lt_prog_compiler_static='-static'
  18640       ;;
  18641 
  18642     *nto* | *qnx*)
  18643       # QNX uses GNU C++, but need to define -shared option too, otherwise
  18644       # it will coredump.
  18645       lt_prog_compiler_pic='-fPIC -shared'
  18646       ;;
  18647 
  18648     osf3* | osf4* | osf5*)
  18649       lt_prog_compiler_wl='-Wl,'
  18650       # All OSF/1 code is PIC.
  18651       lt_prog_compiler_static='-non_shared'
  18652       ;;
  18653 
  18654     rdos*)
  18655       lt_prog_compiler_static='-non_shared'
  18656       ;;
  18657 
  18658     serenity*)
  18659       ;;
  18660 
  18661     solaris*)
  18662       lt_prog_compiler_pic='-KPIC'
  18663       lt_prog_compiler_static='-Bstatic'
  18664       case $cc_basename in
  18665       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  18666 	lt_prog_compiler_wl='-Qoption ld ';;
  18667       *)
  18668 	lt_prog_compiler_wl='-Wl,';;
  18669       esac
  18670       ;;
  18671 
  18672     sunos4*)
  18673       lt_prog_compiler_wl='-Qoption ld '
  18674       lt_prog_compiler_pic='-PIC'
  18675       lt_prog_compiler_static='-Bstatic'
  18676       ;;
  18677 
  18678     sysv4 | sysv4.2uw2* | sysv4.3*)
  18679       lt_prog_compiler_wl='-Wl,'
  18680       lt_prog_compiler_pic='-KPIC'
  18681       lt_prog_compiler_static='-Bstatic'
  18682       ;;
  18683 
  18684     sysv4*MP*)
  18685       if test -d /usr/nec; then
  18686 	lt_prog_compiler_pic='-Kconform_pic'
  18687 	lt_prog_compiler_static='-Bstatic'
  18688       fi
  18689       ;;
  18690 
  18691     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  18692       lt_prog_compiler_wl='-Wl,'
  18693       lt_prog_compiler_pic='-KPIC'
  18694       lt_prog_compiler_static='-Bstatic'
  18695       ;;
  18696 
  18697     unicos*)
  18698       lt_prog_compiler_wl='-Wl,'
  18699       lt_prog_compiler_can_build_shared=no
  18700       ;;
  18701 
  18702     uts4*)
  18703       lt_prog_compiler_pic='-pic'
  18704       lt_prog_compiler_static='-Bstatic'
  18705       ;;
  18706 
  18707     *)
  18708       lt_prog_compiler_can_build_shared=no
  18709       ;;
  18710     esac
  18711   fi
  18712 
  18713 case $host_os in
  18714   # For platforms that do not support PIC, -DPIC is meaningless:
  18715   *djgpp*)
  18716     lt_prog_compiler_pic=
  18717     ;;
  18718   *)
  18719     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  18720     ;;
  18721 esac
  18722 
  18723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  18724 printf %s "checking for $compiler option to produce PIC... " >&6; }
  18725 if test ${lt_cv_prog_compiler_pic+y}
  18726 then :
  18727   printf %s "(cached) " >&6
  18728 else case e in #(
  18729   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
  18730 esac
  18731 fi
  18732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
  18733 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
  18734 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
  18735 
  18736 #
  18737 # Check to make sure the PIC flag actually works.
  18738 #
  18739 if test -n "$lt_prog_compiler_pic"; then
  18740   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  18741 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  18742 if test ${lt_cv_prog_compiler_pic_works+y}
  18743 then :
  18744   printf %s "(cached) " >&6
  18745 else case e in #(
  18746   e) lt_cv_prog_compiler_pic_works=no
  18747    ac_outfile=conftest.$ac_objext
  18748    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  18749    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
  18750    # Insert the option either (1) after the last *FLAGS variable, or
  18751    # (2) before a word containing "conftest.", or (3) at the end.
  18752    # Note that $ac_compile itself does not contain backslashes and begins
  18753    # with a dollar sign (not a hyphen), so the echo should work correctly.
  18754    # The option is referenced via a variable to avoid confusing sed.
  18755    lt_compile=`echo "$ac_compile" | $SED \
  18756    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  18757    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  18758    -e 's:$: $lt_compiler_flag:'`
  18759    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  18760    (eval "$lt_compile" 2>conftest.err)
  18761    ac_status=$?
  18762    cat conftest.err >&5
  18763    echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18764    if (exit $ac_status) && test -s "$ac_outfile"; then
  18765      # The compiler can only warn and ignore the option if not recognized
  18766      # So say no if there are warnings other than the usual output.
  18767      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  18768      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  18769      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  18770        lt_cv_prog_compiler_pic_works=yes
  18771      fi
  18772    fi
  18773    $RM conftest*
  18774  ;;
  18775 esac
  18776 fi
  18777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  18778 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
  18779 
  18780 if test yes = "$lt_cv_prog_compiler_pic_works"; then
  18781     case $lt_prog_compiler_pic in
  18782      "" | " "*) ;;
  18783      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  18784      esac
  18785 else
  18786     lt_prog_compiler_pic=
  18787      lt_prog_compiler_can_build_shared=no
  18788 fi
  18789 
  18790 fi
  18791 
  18792 
  18793 
  18794 
  18795 
  18796 #
  18797 # Check to make sure the static flag actually works.
  18798 #
  18799 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  18800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  18801 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  18802 if test ${lt_cv_prog_compiler_static_works+y}
  18803 then :
  18804   printf %s "(cached) " >&6
  18805 else case e in #(
  18806   e) lt_cv_prog_compiler_static_works=no
  18807    save_LDFLAGS=$LDFLAGS
  18808    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  18809    echo "$lt_simple_link_test_code" > conftest.$ac_ext
  18810    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  18811      # The linker can only warn and ignore the option if not recognized
  18812      # So say no if there are warnings
  18813      if test -s conftest.err; then
  18814        # Append any errors to the config.log.
  18815        cat conftest.err 1>&5
  18816        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  18817        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  18818        if diff conftest.exp conftest.er2 >/dev/null; then
  18819          lt_cv_prog_compiler_static_works=yes
  18820        fi
  18821      else
  18822        lt_cv_prog_compiler_static_works=yes
  18823      fi
  18824    fi
  18825    $RM -r conftest*
  18826    LDFLAGS=$save_LDFLAGS
  18827  ;;
  18828 esac
  18829 fi
  18830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  18831 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
  18832 
  18833 if test yes = "$lt_cv_prog_compiler_static_works"; then
  18834     :
  18835 else
  18836     lt_prog_compiler_static=
  18837 fi
  18838 
  18839 
  18840 
  18841 ='-fPIC'
  18842   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
  18843   archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib -s EXPORTED_FUNCTIONS=@$output_objdir/$soname.expsym'
  18844   archive_cmds_need_lc=no
  18845   no_undefined_flag=
  18846   ;;
  18847 
  18848 *)
  18849   dynamic_linker=no
  18850   ;;
  18851 esac
  18852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  18853 printf "%s\n" "$dynamic_linker" >&6; }
  18854 test no = "$dynamic_linker" && can_build_shared=no
  18855 
  18856 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  18857 if test yes = "$GCC"; then
  18858   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  18859 fi
  18860 
  18861 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
  18862   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
  18863 fi
  18864 
  18865 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
  18866   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
  18867 fi
  18868 
  18869 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
  18870 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
  18871 
  18872 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
  18873 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
  18874 
  18875 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
  18876 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
  18877 
  18878 
  18879 
  18880 
  18881 
  18882 
  18883 
  18884 
  18885 
  18886 
  18887 
  18888 
  18889 
  18890 
  18891 
  18892 
  18893 
  18894 
  18895 
  18896 
  18897 
  18898 
  18899 
  18900 
  18901 
  18902 
  18903 
  18904 
  18905 
  18906 
  18907 
  18908 
  18909 
  18910 
  18911 
  18912 
  18913 
  18914 
  18915 
  18916 
  18917 
  18918 
  18919 
  18920 
  18921 
  18922 
  18923 
  18924 
  18925 
  18926 
  18927 
  18928 
  18929 
  18930 
  18931 
  18932 
  18933 
  18934 
  18935 
  18936 
  18937 
  18938 
  18939 
  18940 
  18941 
  18942 
  18943 
  18944 
  18945 
  18946 
  18947 
  18948 
  18949 
  18950 
  18951 
  18952 
  18953 
  18954 
  18955 
  18956 
  18957 
  18958 
  18959 
  18960 
  18961 
  18962 
  18963 
  18964 
  18965 
  18966 
  18967 
  18968 
  18969 
  18970 
  18971 
  18972 
  18973 
  18974   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  18975 printf %s "checking how to hardcode library paths into programs... " >&6; }
  18976 hardcode_action=
  18977 if test -n "$hardcode_libdir_flag_spec" ||
  18978    test -n "$runpath_var" ||
  18979    test yes = "$hardcode_automatic"; then
  18980 
  18981   # We can hardcode non-existent directories.
  18982   if test no != "$hardcode_direct" &&
  18983      # If the only mechanism to avoid hardcoding is shlibpath_var, we
  18984      # have to relink, otherwise we might link with an installed library
  18985      # when we should be linking with a yet-to-be-installed one
  18986      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
  18987      test no != "$hardcode_minus_L"; then
  18988     # Linking always hardcodes the temporary library directory.
  18989     hardcode_action=relink
  18990   else
  18991     # We can link without hardcoding, and we can hardcode nonexisting dirs.
  18992     hardcode_action=immediate
  18993   fi
  18994 else
  18995   # We cannot hardcode anything, or else we can only hardcode existing
  18996   # directories.
  18997   hardcode_action=unsupported
  18998 fi
  18999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  19000 printf "%s\n" "$hardcode_action" >&6; }
  19001 
  19002 if test relink = "$hardcode_action" ||
  19003    test yes = "$inherit_rpath"; then
  19004   # Fast installation is not supported
  19005   enable_fast_install=no
  19006 elif test yes = "$shlibpath_overrides_runpath" ||
  19007      test no = "$enable_shared"; then
  19008   # Fast installation is not necessary
  19009   enable_fast_install=needless
  19010 fi
  19011 
  19012 
  19013 
  19014 
  19015 
  19016 
  19017   if test yes != "$enable_dlopen"; then
  19018   enable_dlopen=unknown
  19019   enable_dlopen_self=unknown
  19020   enable_dlopen_self_static=unknown
  19021 else
  19022   lt_cv_dlopen=no
  19023   lt_cv_dlopen_libs=
  19024 
  19025   case $host_os in
  19026   beos*)
  19027     lt_cv_dlopen=load_add_on
  19028     lt_cv_dlopen_libs=
  19029     lt_cv_dlopen_self=yes
  19030     ;;
  19031 
  19032   mingw* | windows* | pw32* | cegcc*)
  19033     lt_cv_dlopen=LoadLibrary
  19034     lt_cv_dlopen_libs=
  19035     ;;
  19036 
  19037   cygwin*)
  19038     lt_cv_dlopen=dlopen
  19039     lt_cv_dlopen_libs=
  19040     ;;
  19041 
  19042   darwin*)
  19043     # if libdl is installed we need to link against it
  19044     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  19045 printf %s "checking for dlopen in -ldl... " >&6; }
  19046 if test ${ac_cv_lib_dl_dlopen+y}
  19047 then :
  19048   printf %s "(cached) " >&6
  19049 else case e in #(
  19050   e) ac_check_lib_save_LIBS=$LIBS
  19051 LIBS="-ldl  $LIBS"
  19052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19053 /* end confdefs.h.  */
  19054 
  19055 /* Override any GCC internal prototype to avoid an error.
  19056    Use char because int might match the return type of a GCC
  19057    builtin and then its argument prototype would still apply.
  19058    The 'extern "C"' is for builds by C++ compilers;
  19059    although this is not generally supported in C code supporting it here
  19060    has little cost and some practical benefit (sr 110532).  */
  19061 #ifdef __cplusplus
  19062 extern "C"
  19063 #endif
  19064 char dlopen (void);
  19065 int
  19066 main (void)
  19067 {
  19068 return dlopen ();
  19069   ;
  19070   return 0;
  19071 }
  19072 _ACEOF
  19073 if ac_fn_c_try_link "$LINENO"
  19074 then :
  19075   ac_cv_lib_dl_dlopen=yes
  19076 else case e in #(
  19077   e) ac_cv_lib_dl_dlopen=no ;;
  19078 esac
  19079 fi
  19080 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  19081     conftest$ac_exeext conftest.$ac_ext
  19082 LIBS=$ac_check_lib_save_LIBS ;;
  19083 esac
  19084 fi
  19085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  19086 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
  19087 if test "x$ac_cv_lib_dl_dlopen" = xyes
  19088 then :
  19089   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
  19090 else case e in #(
  19091   e)
  19092     lt_cv_dlopen=dyld
  19093     lt_cv_dlopen_libs=
  19094     lt_cv_dlopen_self=yes
  19095      ;;
  19096 esac
  19097 fi
  19098 
  19099     ;;
  19100 
  19101   tpf*)
  19102     # Don't try to run any link tests for TPF.  We know it's impossible
  19103     # because TPF is a cross-compiler, and we know how we open DSOs.
  19104     lt_cv_dlopen=dlopen
  19105     lt_cv_dlopen_libs=
  19106     lt_cv_dlopen_self=no
  19107     ;;
  19108 
  19109   *)
  19110     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  19111 if test "x$ac_cv_func_shl_load" = xyes
  19112 then :
  19113   lt_cv_dlopen=shl_load
  19114 else case e in #(
  19115   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  19116 printf %s "checking for shl_load in -ldld... " >&6; }
  19117 if test ${ac_cv_lib_dld_shl_load+y}
  19118 then :
  19119   printf %s "(cached) " >&6
  19120 else case e in #(
  19121   e) ac_check_lib_save_LIBS=$LIBS
  19122 LIBS="-ldld  $LIBS"
  19123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19124 /* end confdefs.h.  */
  19125 
  19126 /* Override any GCC internal prototype to avoid an error.
  19127    Use char because int might match the return type of a GCC
  19128    builtin and then its argument prototype would still apply.
  19129    The 'extern "C"' is for builds by C++ compilers;
  19130    although this is not generally supported in C code supporting it here
  19131    has little cost and some practical benefit (sr 110532).  */
  19132 #ifdef __cplusplus
  19133 extern "C"
  19134 #endif
  19135 char shl_load (void);
  19136 int
  19137 main (void)
  19138 {
  19139 return shl_load ();
  19140   ;
  19141   return 0;
  19142 }
  19143 _ACEOF
  19144 if ac_fn_c_try_link "$LINENO"
  19145 then :
  19146   ac_cv_lib_dld_shl_load=yes
  19147 else case e in #(
  19148   e) ac_cv_lib_dld_shl_load=no ;;
  19149 esac
  19150 fi
  19151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  19152     conftest$ac_exeext conftest.$ac_ext
  19153 LIBS=$ac_check_lib_save_LIBS ;;
  19154 esac
  19155 fi
  19156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  19157 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
  19158 if test "x$ac_cv_lib_dld_shl_load" = xyes
  19159 then :
  19160   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
  19161 else case e in #(
  19162   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  19163 if test "x$ac_cv_func_dlopen" = xyes
  19164 then :
  19165   lt_cv_dlopen=dlopen
  19166 else case e in #(
  19167   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  19168 printf %s "checking for dlopen in -ldl... " >&6; }
  19169 if test ${ac_cv_lib_dl_dlopen+y}
  19170 then :
  19171   printf %s "(cached) " >&6
  19172 else case e in #(
  19173   e) ac_check_lib_save_LIBS=$LIBS
  19174 LIBS="-ldl  $LIBS"
  19175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19176 /* end confdefs.h.  */
  19177 
  19178 /* Override any GCC internal prototype to avoid an error.
  19179    Use char because int might match the return type of a GCC
  19180    builtin and then its argument prototype would still apply.
  19181    The 'extern "C"' is for builds by C++ compilers;
  19182    although this is not generally supported in C code supporting it here
  19183    has little cost and some practical benefit (sr 110532).  */
  19184 #ifdef __cplusplus
  19185 extern "C"
  19186 #endif
  19187 char dlopen (void);
  19188 int
  19189 main (void)
  19190 {
  19191 return dlopen ();
  19192   ;
  19193   return 0;
  19194 }
  19195 _ACEOF
  19196 if ac_fn_c_try_link "$LINENO"
  19197 then :
  19198   ac_cv_lib_dl_dlopen=yes
  19199 else case e in #(
  19200   e) ac_cv_lib_dl_dlopen=no ;;
  19201 esac
  19202 fi
  19203 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  19204     conftest$ac_exeext conftest.$ac_ext
  19205 LIBS=$ac_check_lib_save_LIBS ;;
  19206 esac
  19207 fi
  19208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  19209 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
  19210 if test "x$ac_cv_lib_dl_dlopen" = xyes
  19211 then :
  19212   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
  19213 else case e in #(
  19214   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  19215 printf %s "checking for dlopen in -lsvld... " >&6; }
  19216 if test ${ac_cv_lib_svld_dlopen+y}
  19217 then :
  19218   printf %s "(cached) " >&6
  19219 else case e in #(
  19220   e) ac_check_lib_save_LIBS=$LIBS
  19221 LIBS="-lsvld  $LIBS"
  19222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19223 /* end confdefs.h.  */
  19224 
  19225 /* Override any GCC internal prototype to avoid an error.
  19226    Use char because int might match the return type of a GCC
  19227    builtin and then its argument prototype would still apply.
  19228    The 'extern "C"' is for builds by C++ compilers;
  19229    although this is not generally supported in C code supporting it here
  19230    has little cost and some practical benefit (sr 110532).  */
  19231 #ifdef __cplusplus
  19232 extern "C"
  19233 #endif
  19234 char dlopen (void);
  19235 int
  19236 main (void)
  19237 {
  19238 return dlopen ();
  19239   ;
  19240   return 0;
  19241 }
  19242 _ACEOF
  19243 if ac_fn_c_try_link "$LINENO"
  19244 then :
  19245   ac_cv_lib_svld_dlopen=yes
  19246 else case e in #(
  19247   e) ac_cv_lib_svld_dlopen=no ;;
  19248 esac
  19249 fi
  19250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  19251     conftest$ac_exeext conftest.$ac_ext
  19252 LIBS=$ac_check_lib_save_LIBS ;;
  19253 esac
  19254 fi
  19255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  19256 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
  19257 if test "x$ac_cv_lib_svld_dlopen" = xyes
  19258 then :
  19259   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
  19260 else case e in #(
  19261   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  19262 printf %s "checking for dld_link in -ldld... " >&6; }
  19263 if test ${ac_cv_lib_dld_dld_link+y}
  19264 then :
  19265   printf %s "(cached) " >&6
  19266 else case e in #(
  19267   e) ac_check_lib_save_LIBS=$LIBS
  19268 LIBS="-ldld  $LIBS"
  19269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19270 /* end confdefs.h.  */
  19271 
  19272 /* Override any GCC internal prototype to avoid an error.
  19273    Use char because int might match the return type of a GCC
  19274    builtin and then its argument prototype would still apply.
  19275    The 'extern "C"' is for builds by C++ compilers;
  19276    although this is not generally supported in C code supporting it here
  19277    has little cost and some practical benefit (sr 110532).  */
  19278 #ifdef __cplusplus
  19279 extern "C"
  19280 #endif
  19281 char dld_link (void);
  19282 int
  19283 main (void)
  19284 {
  19285 return dld_link ();
  19286   ;
  19287   return 0;
  19288 }
  19289 _ACEOF
  19290 if ac_fn_c_try_link "$LINENO"
  19291 then :
  19292   ac_cv_lib_dld_dld_link=yes
  19293 else case e in #(
  19294   e) ac_cv_lib_dld_dld_link=no ;;
  19295 esac
  19296 fi
  19297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  19298     conftest$ac_exeext conftest.$ac_ext
  19299 LIBS=$ac_check_lib_save_LIBS ;;
  19300 esac
  19301 fi
  19302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  19303 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
  19304 if test "x$ac_cv_lib_dld_dld_link" = xyes
  19305 then :
  19306   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
  19307 fi
  19308 
  19309 	       ;;
  19310 esac
  19311 fi
  19312 
  19313 	     ;;
  19314 esac
  19315 fi
  19316 
  19317 	   ;;
  19318 esac
  19319 fi
  19320 
  19321 	 ;;
  19322 esac
  19323 fi
  19324 
  19325        ;;
  19326 esac
  19327 fi
  19328 
  19329     ;;
  19330   esac
  19331 
  19332   if test no = "$lt_cv_dlopen"; then
  19333     enable_dlopen=no
  19334   else
  19335     enable_dlopen=yes
  19336   fi
  19337 
  19338   case $lt_cv_dlopen in
  19339   dlopen)
  19340     save_CPPFLAGS=$CPPFLAGS
  19341     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  19342 
  19343     save_LDFLAGS=$LDFLAGS
  19344     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  19345 
  19346     save_LIBS=$LIBS
  19347     LIBS="$lt_cv_dlopen_libs $LIBS"
  19348 
  19349     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  19350 printf %s "checking whether a program can dlopen itself... " >&6; }
  19351 if test ${lt_cv_dlopen_self+y}
  19352 then :
  19353   printf %s "(cached) " >&6
  19354 else case e in #(
  19355   e) 	  if test yes = "$cross_compiling"; then :
  19356   lt_cv_dlopen_self=cross
  19357 else
  19358   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  19359   lt_status=$lt_dlunknown
  19360   cat > conftest.$ac_ext <<_LT_EOF
  19361 #line $LINENO "configure"
  19362 #include "confdefs.h"
  19363 
  19364 #if HAVE_DLFCN_H
  19365 #include <dlfcn.h>
  19366 #endif
  19367 
  19368 #include <stdio.h>
  19369 
  19370 #ifdef RTLD_GLOBAL
  19371 #  define LT_DLGLOBAL		RTLD_GLOBAL
  19372 #else
  19373 #  ifdef DL_GLOBAL
  19374 #    define LT_DLGLOBAL		DL_GLOBAL
  19375 #  else
  19376 #    define LT_DLGLOBAL		0
  19377 #  endif
  19378 #endif
  19379 
  19380 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  19381    find out it does not work in some platform. */
  19382 #ifndef LT_DLLAZY_OR_NOW
  19383 #  ifdef RTLD_LAZY
  19384 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
  19385 #  else
  19386 #    ifdef DL_LAZY
  19387 #      define LT_DLLAZY_OR_NOW		DL_LAZY
  19388 #    else
  19389 #      ifdef RTLD_NOW
  19390 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
  19391 #      else
  19392 #        ifdef DL_NOW
  19393 #          define LT_DLLAZY_OR_NOW	DL_NOW
  19394 #        else
  19395 #          define LT_DLLAZY_OR_NOW	0
  19396 #        endif
  19397 #      endif
  19398 #    endif
  19399 #  endif
  19400 #endif
  19401 
  19402 /* When -fvisibility=hidden is used, assume the code has been annotated
  19403    correspondingly for the symbols needed.  */
  19404 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  19405 int fnord (void) __attribute__((visibility("default")));
  19406 #endif
  19407 
  19408 int fnord (void) { return 42; }
  19409 int main (void)
  19410 {
  19411   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  19412   int status = $lt_dlunknown;
  19413 
  19414   if (self)
  19415     {
  19416       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
  19417       else
  19418         {
  19419 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
  19420           else puts (dlerror ());
  19421 	}
  19422       /* dlclose (self); */
  19423     }
  19424   else
  19425     puts (dlerror ());
  19426 
  19427   return status;
  19428 }
  19429 _LT_EOF
  19430   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  19431   (eval $ac_link) 2>&5
  19432   ac_status=$?
  19433   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  19434   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  19435     (./conftest; exit; ) >&5 2>/dev/null
  19436     lt_status=$?
  19437     case x$lt_status in
  19438       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  19439       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  19440       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  19441     esac
  19442   else :
  19443     # compilation failed
  19444     lt_cv_dlopen_self=no
  19445   fi
  19446 fi
  19447 rm -fr conftest*
  19448 
  19449      ;;
  19450 esac
  19451 fi
  19452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  19453 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
  19454 
  19455     if test yes = "$lt_cv_dlopen_self"; then
  19456       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  19457       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  19458 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
  19459 if test ${lt_cv_dlopen_self_static+y}
  19460 then :
  19461   printf %s "(cached) " >&6
  19462 else case e in #(
  19463   e) 	  if test yes = "$cross_compiling"; then :
  19464   lt_cv_dlopen_self_static=cross
  19465 else
  19466   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  19467   lt_status=$lt_dlunknown
  19468   cat > conftest.$ac_ext <<_LT_EOF
  19469 #line $LINENO "configure"
  19470 #include "confdefs.h"
  19471 
  19472 #if HAVE_DLFCN_H
  19473 #include <dlfcn.h>
  19474 #endif
  19475 
  19476 #include <stdio.h>
  19477 
  19478 #ifdef RTLD_GLOBAL
  19479 #  define LT_DLGLOBAL		RTLD_GLOBAL
  19480 #else
  19481 #  ifdef DL_GLOBAL
  19482 #    define LT_DLGLOBAL		DL_GLOBAL
  19483 #  else
  19484 #    define LT_DLGLOBAL		0
  19485 #  endif
  19486 #endif
  19487 
  19488 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  19489    find out it does not work in some platform. */
  19490 #ifndef LT_DLLAZY_OR_NOW
  19491 #  ifdef RTLD_LAZY
  19492 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
  19493 #  else
  19494 #    ifdef DL_LAZY
  19495 #      define LT_DLLAZY_OR_NOW		DL_LAZY
  19496 #    else
  19497 #      ifdef RTLD_NOW
  19498 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
  19499 #      else
  19500 #        ifdef DL_NOW
  19501 #          define LT_DLLAZY_OR_NOW	DL_NOW
  19502 #        else
  19503 #          define LT_DLLAZY_OR_NOW	0
  19504 #        endif
  19505 #      endif
  19506 #    endif
  19507 #  endif
  19508 #endif
  19509 
  19510 /* When -fvisibility=hidden is used, assume the code has been annotated
  19511    correspondingly for the symbols needed.  */
  19512 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  19513 int fnord (void) __attribute__((visibility("default")));
  19514 #endif
  19515 
  19516 int fnord (void) { return 42; }
  19517 int main (void)
  19518 {
  19519   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  19520   int status = $lt_dlunknown;
  19521 
  19522   if (self)
  19523     {
  19524       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
  19525       else
  19526         {
  19527 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
  19528           else puts (dlerror ());
  19529 	}
  19530       /* dlclose (self); */
  19531     }
  19532   else
  19533     puts (dlerror ());
  19534 
  19535   return status;
  19536 }
  19537 _LT_EOF
  19538   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  19539   (eval $ac_link) 2>&5
  19540   ac_status=$?
  19541   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  19542   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  19543     (./conftest; exit; ) >&5 2>/dev/null
  19544     lt_status=$?
  19545     case x$lt_status in
  19546       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  19547       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  19548       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  19549     esac
  19550   else :
  19551     # compilation failed
  19552     lt_cv_dlopen_self_static=no
  19553   fi
  19554 fi
  19555 rm -fr conftest*
  19556 
  19557        ;;
  19558 esac
  19559 fi
  19560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  19561 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
  19562     fi
  19563 
  19564     CPPFLAGS=$save_CPPFLAGS
  19565     LDFLAGS=$save_LDFLAGS
  19566     LIBS=$save_LIBS
  19567     ;;
  19568   esac
  19569 
  19570   case $lt_cv_dlopen_self in
  19571   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  19572   *) enable_dlopen_self=unknown ;;
  19573   esac
  19574 
  19575   case $lt_cv_dlopen_self_static in
  19576   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  19577   *) enable_dlopen_self_static=unknown ;;
  19578   esac
  19579 fi
  19580 
  19581 
  19582 
  19583 
  19584 
  19585 
  19586 
  19587 
  19588 
  19589 
  19590 
  19591 
  19592 
  19593 
  19594 
  19595 
  19596 
  19597 striplib=
  19598 old_striplib=
  19599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  19600 printf %s "checking whether stripping libraries is possible... " >&6; }
  19601 if test -z "$STRIP"; then
  19602   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19603 printf "%s\n" "no" >&6; }
  19604 else
  19605   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  19606     old_striplib="$STRIP --strip-debug"
  19607     striplib="$STRIP --strip-unneeded"
  19608     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  19609 printf "%s\n" "yes" >&6; }
  19610   else
  19611     case $host_os in
  19612     darwin*)
  19613       # FIXME - insert some real tests, host_os isn't really good enough
  19614       striplib="$STRIP -x"
  19615       old_striplib="$STRIP -S"
  19616       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  19617 printf "%s\n" "yes" >&6; }
  19618       ;;
  19619     freebsd*)
  19620       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
  19621         old_striplib="$STRIP --strip-debug"
  19622         striplib="$STRIP --strip-unneeded"
  19623         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  19624 printf "%s\n" "yes" >&6; }
  19625       else
  19626         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19627 printf "%s\n" "no" >&6; }
  19628       fi
  19629       ;;
  19630     *)
  19631       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19632 printf "%s\n" "no" >&6; }
  19633       ;;
  19634     esac
  19635   fi
  19636 fi
  19637 
  19638 
  19639 
  19640 
  19641 
  19642 
  19643 
  19644 
  19645 
  19646 
  19647 
  19648 
  19649   # Report what library types will actually be built
  19650   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  19651 printf %s "checking if libtool supports shared libraries... " >&6; }
  19652   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  19653 printf "%s\n" "$can_build_shared" >&6; }
  19654 
  19655   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  19656 printf %s "checking whether to build shared libraries... " >&6; }
  19657   test no = "$can_build_shared" && enable_shared=no
  19658 
  19659   # On AIX, shared libraries and static libraries use the same namespace, and
  19660   # are all built from PIC.
  19661   case $host_os in
  19662   aix3*)
  19663     test yes = "$enable_shared" && enable_static=no
  19664     if test -n "$RANLIB"; then
  19665       archive_cmds="$archive_cmds~\$RANLIB \$lib"
  19666       postinstall_cmds='$RANLIB $lib'
  19667     fi
  19668     ;;
  19669 
  19670   aix[4-9]*)
  19671     if test ia64 != "$host_cpu"; then
  19672       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
  19673       yes,aix,yes) ;;			# shared object as lib.so file only
  19674       yes,svr4,*) ;;			# shared object as lib.so archive member only
  19675       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
  19676       esac
  19677     fi
  19678     ;;
  19679   esac
  19680   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  19681 printf "%s\n" "$enable_shared" >&6; }
  19682 
  19683   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  19684 printf %s "checking whether to build static libraries... " >&6; }
  19685   # Make sure either enable_shared or enable_static is yes.
  19686   test yes = "$enable_shared" || enable_static=yes
  19687   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  19688 printf "%s\n" "$enable_static" >&6; }
  19689 
  19690 
  19691 
  19692 
  19693 fi
  19694 ac_ext=c
  19695 ac_cpp='$CPP $CPPFLAGS'
  19696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  19697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  19698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  19699 
  19700 CC=$lt_save_CC
  19701 
  19702 
  19703 
  19704 
  19705 
  19706 
  19707 
  19708 
  19709 
  19710 
  19711 
  19712 
  19713 
  19714 
  19715 
  19716         ac_config_commands="$ac_config_commands libtool"
  19717 
  19718 
  19719 
  19720 
  19721 # Only expand once:
  19722 
  19723 
  19724 
  19725 
  19726 
  19727 if test -n "$ac_tool_prefix"; then
  19728   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  19729 set dummy ${ac_tool_prefix}ar; ac_word=$2
  19730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19731 printf %s "checking for $ac_word... " >&6; }
  19732 if test ${ac_cv_prog_AR+y}
  19733 then :
  19734   printf %s "(cached) " >&6
  19735 else case e in #(
  19736   e) if test -n "$AR"; then
  19737   ac_cv_prog_AR="$AR" # Let the user override the test.
  19738 else
  19739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19740 for as_dir in $PATH
  19741 do
  19742   IFS=$as_save_IFS
  19743   case $as_dir in #(((
  19744     '') as_dir=./ ;;
  19745     */) ;;
  19746     *) as_dir=$as_dir/ ;;
  19747   esac
  19748     for ac_exec_ext in '' $ac_executable_extensions; do
  19749   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  19750     ac_cv_prog_AR="${ac_tool_prefix}ar"
  19751     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  19752     break 2
  19753   fi
  19754 done
  19755   done
  19756 IFS=$as_save_IFS
  19757 
  19758 fi ;;
  19759 esac
  19760 fi
  19761 AR=$ac_cv_prog_AR
  19762 if test -n "$AR"; then
  19763   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  19764 printf "%s\n" "$AR" >&6; }
  19765 else
  19766   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19767 printf "%s\n" "no" >&6; }
  19768 fi
  19769 
  19770 
  19771 fi
  19772 if test -z "$ac_cv_prog_AR"; then
  19773   ac_ct_AR=$AR
  19774   # Extract the first word of "ar", so it can be a program name with args.
  19775 set dummy ar; ac_word=$2
  19776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19777 printf %s "checking for $ac_word... " >&6; }
  19778 if test ${ac_cv_prog_ac_ct_AR+y}
  19779 then :
  19780   printf %s "(cached) " >&6
  19781 else case e in #(
  19782   e) if test -n "$ac_ct_AR"; then
  19783   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  19784 else
  19785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19786 for as_dir in $PATH
  19787 do
  19788   IFS=$as_save_IFS
  19789   case $as_dir in #(((
  19790     '') as_dir=./ ;;
  19791     */) ;;
  19792     *) as_dir=$as_dir/ ;;
  19793   esac
  19794     for ac_exec_ext in '' $ac_executable_extensions; do
  19795   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  19796     ac_cv_prog_ac_ct_AR="ar"
  19797     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  19798     break 2
  19799   fi
  19800 done
  19801   done
  19802 IFS=$as_save_IFS
  19803 
  19804 fi ;;
  19805 esac
  19806 fi
  19807 ac_ct_AR=$ac_cv_prog_ac_ct_AR
  19808 if test -n "$ac_ct_AR"; then
  19809   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  19810 printf "%s\n" "$ac_ct_AR" >&6; }
  19811 else
  19812   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19813 printf "%s\n" "no" >&6; }
  19814 fi
  19815 
  19816   if test "x$ac_ct_AR" = x; then
  19817     AR="ar"
  19818   else
  19819     case $cross_compiling:$ac_tool_warned in
  19820 yes:)
  19821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  19822 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  19823 ac_tool_warned=yes ;;
  19824 esac
  19825     AR=$ac_ct_AR
  19826   fi
  19827 else
  19828   AR="$ac_cv_prog_AR"
  19829 fi
  19830 
  19831 
  19832 
  19833 target_cpu_aarch64=no
  19834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ARM64 target" >&5
  19835 printf %s "checking for ARM64 target... " >&6; }
  19836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19837 /* end confdefs.h.  */
  19838 
  19839 #ifndef __aarch64__
  19840 #error Not aarch64
  19841 #endif
  19842 #include <arm_neon.h>
  19843 
  19844 int
  19845 main (void)
  19846 {
  19847 (void) 0
  19848   ;
  19849   return 0;
  19850 }
  19851 _ACEOF
  19852 if ac_fn_c_try_link "$LINENO"
  19853 then :
  19854   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  19855 printf "%s\n" "yes" >&6; }
  19856     target_cpu_aarch64=yes
  19857 else case e in #(
  19858   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19859 printf "%s\n" "no" >&6; }
  19860     target_cpu_aarch64=no ;;
  19861 esac
  19862 fi
  19863 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  19864     conftest$ac_exeext conftest.$ac_ext
  19865 
  19866 if test "x$EMSCRIPTEN" = "x"
  19867 then :
  19868 
  19869 
  19870   if test "x$target_cpu_aarch64" = "xyes"
  19871 then :
  19872 
  19873     have_armcrypto=no
  19874     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ARM crypto instructions set" >&5
  19875 printf %s "checking for ARM crypto instructions set... " >&6; }
  19876     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19877 /* end confdefs.h.  */
  19878 
  19879       #ifndef __ARM_FEATURE_CRYPTO
  19880       #  define __ARM_FEATURE_CRYPTO 1
  19881       #endif
  19882       #ifndef __ARM_FEATURE_AES
  19883       #  define __ARM_FEATURE_AES 1
  19884       #endif
  19885 
  19886       #include <arm_neon.h>
  19887 
  19888       #ifdef __clang__
  19889       #  pragma clang attribute push(__attribute__((target("neon,crypto,aes"))), apply_to = function)
  19890       #elif defined(__GNUC__)
  19891       #  pragma GCC target("+simd+crypto")
  19892       #endif
  19893 
  19894 int
  19895 main (void)
  19896 {
  19897 
  19898       int64x2_t x = { 0, 0 };
  19899       vaeseq_u8(vmovq_n_u8(0), vmovq_n_u8(0));
  19900       vmull_high_p64(vreinterpretq_p64_s64(x), vreinterpretq_p64_s64(x));
  19901 
  19902       #ifdef __clang__
  19903       #  pragma clang attribute pop
  19904       #endif
  19905       (void) 0
  19906 
  19907   ;
  19908   return 0;
  19909 }
  19910 _ACEOF
  19911 if ac_fn_c_try_link "$LINENO"
  19912 then :
  19913 
  19914         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  19915 printf "%s\n" "yes" >&6; }
  19916         have_armcrypto=yes
  19917 
  19918 else case e in #(
  19919   e)
  19920         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19921 printf "%s\n" "no" >&6; }
  19922         oldcflags="$CFLAGS"
  19923         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -march=armv8-a+crypto+aes" >&5
  19924 printf %s "checking whether C compiler accepts -march=armv8-a+crypto+aes... " >&6; }
  19925 if test ${ax_cv_check_cflags___march_armv8_apcryptopaes+y}
  19926 then :
  19927   printf %s "(cached) " >&6
  19928 else case e in #(
  19929   e)
  19930   ax_check_save_flags=$CFLAGS
  19931   CFLAGS="$CFLAGS  -march=armv8-a+crypto+aes"
  19932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19933 /* end confdefs.h.  */
  19934 #include <time.h>
  19935 int
  19936 main (void)
  19937 {
  19938 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  19939 
  19940   ;
  19941   return 0;
  19942 }
  19943 _ACEOF
  19944 if ac_fn_c_try_link "$LINENO"
  19945 then :
  19946   ax_cv_check_cflags___march_armv8_apcryptopaes=yes
  19947 else case e in #(
  19948   e) ax_cv_check_cflags___march_armv8_apcryptopaes=no ;;
  19949 esac
  19950 fi
  19951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  19952     conftest$ac_exeext conftest.$ac_ext
  19953   CFLAGS=$ax_check_save_flags ;;
  19954 esac
  19955 fi
  19956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___march_armv8_apcryptopaes" >&5
  19957 printf "%s\n" "$ax_cv_check_cflags___march_armv8_apcryptopaes" >&6; }
  19958 if test "x$ax_cv_check_cflags___march_armv8_apcryptopaes" = xyes
  19959 then :
  19960 
  19961           CFLAGS="$CFLAGS -march=armv8-a+crypto+aes"
  19962           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ARM crypto instructions set with -march=armv8-a+crypto+aes" >&5
  19963 printf %s "checking for ARM crypto instructions set with -march=armv8-a+crypto+aes... " >&6; }
  19964           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19965 /* end confdefs.h.  */
  19966 
  19967             #ifdef __clang__
  19968             #  pragma clang attribute push(__attribute__((target("neon,crypto,aes"))), apply_to = function)
  19969             #elif defined(__GNUC__)
  19970             #  pragma GCC target("+simd+crypto")
  19971             #endif
  19972             #ifndef __ARM_FEATURE_CRYPTO
  19973             #  define __ARM_FEATURE_CRYPTO 1
  19974             #endif
  19975             #ifndef __ARM_FEATURE_AES
  19976             #  define __ARM_FEATURE_AES 1
  19977             #endif
  19978 
  19979             #include <arm_neon.h>
  19980 
  19981 int
  19982 main (void)
  19983 {
  19984 
  19985             int64x2_t x = { 0, 0 };
  19986             vaeseq_u8(vmovq_n_u8(0), vmovq_n_u8(0));
  19987             vmull_high_p64(vreinterpretq_p64_s64(x), vreinterpretq_p64_s64(x));
  19988 
  19989             #ifdef __clang__
  19990             #  pragma clang attribute pop
  19991             #endif
  19992             (void) 0
  19993 
  19994   ;
  19995   return 0;
  19996 }
  19997 _ACEOF
  19998 if ac_fn_c_try_link "$LINENO"
  19999 then :
  20000 
  20001               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes - with addition of -march=armv8-a+crypto+aes" >&5
  20002 printf "%s\n" "yes - with addition of -march=armv8-a+crypto+aes" >&6; }
  20003               have_armcrypto=yes
  20004               CFLAGS_ARMCRYPTO="-march=armv8-a+crypto+aes"
  20005 
  20006 else case e in #(
  20007   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20008 printf "%s\n" "no" >&6; } ;;
  20009 esac
  20010 fi
  20011 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20012     conftest$ac_exeext conftest.$ac_ext
  20013           CFLAGS="$oldcflags"
  20014 
  20015 else case e in #(
  20016   e) : ;;
  20017 esac
  20018 fi
  20019 
  20020        ;;
  20021 esac
  20022 fi
  20023 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20024     conftest$ac_exeext conftest.$ac_ext
  20025       if test "$have_armcrypto" = "yes"
  20026 then :
  20027 
  20028 printf "%s\n" "#define HAVE_ARMCRYPTO 1" >>confdefs.h
  20029 
  20030 fi
  20031 
  20032 fi
  20033 
  20034   oldcflags="$CFLAGS"
  20035   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mmmx" >&5
  20036 printf %s "checking whether C compiler accepts -mmmx... " >&6; }
  20037 if test ${ax_cv_check_cflags___mmmx+y}
  20038 then :
  20039   printf %s "(cached) " >&6
  20040 else case e in #(
  20041   e)
  20042   ax_check_save_flags=$CFLAGS
  20043   CFLAGS="$CFLAGS  -mmmx"
  20044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20045 /* end confdefs.h.  */
  20046 #include <time.h>
  20047 int
  20048 main (void)
  20049 {
  20050 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  20051 
  20052   ;
  20053   return 0;
  20054 }
  20055 _ACEOF
  20056 if ac_fn_c_try_link "$LINENO"
  20057 then :
  20058   ax_cv_check_cflags___mmmx=yes
  20059 else case e in #(
  20060   e) ax_cv_check_cflags___mmmx=no ;;
  20061 esac
  20062 fi
  20063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20064     conftest$ac_exeext conftest.$ac_ext
  20065   CFLAGS=$ax_check_save_flags ;;
  20066 esac
  20067 fi
  20068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mmmx" >&5
  20069 printf "%s\n" "$ax_cv_check_cflags___mmmx" >&6; }
  20070 if test "x$ax_cv_check_cflags___mmmx" = xyes
  20071 then :
  20072   CFLAGS="$CFLAGS -mmmx"
  20073 else case e in #(
  20074   e) : ;;
  20075 esac
  20076 fi
  20077 
  20078   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MMX instructions set" >&5
  20079 printf %s "checking for MMX instructions set... " >&6; }
  20080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20081 /* end confdefs.h.  */
  20082 
  20083 #pragma GCC target("mmx")
  20084 #include <mmintrin.h>
  20085 
  20086 int
  20087 main (void)
  20088 {
  20089  __m64 x = _mm_setzero_si64();
  20090   ;
  20091   return 0;
  20092 }
  20093 _ACEOF
  20094 if ac_fn_c_try_link "$LINENO"
  20095 then :
  20096   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  20097 printf "%s\n" "yes" >&6; }
  20098 
  20099 printf "%s\n" "#define HAVE_MMINTRIN_H 1" >>confdefs.h
  20100 
  20101      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mmmx" >&5
  20102 printf %s "checking whether C compiler accepts -mmmx... " >&6; }
  20103 if test ${ax_cv_check_cflags___mmmx+y}
  20104 then :
  20105   printf %s "(cached) " >&6
  20106 else case e in #(
  20107   e)
  20108   ax_check_save_flags=$CFLAGS
  20109   CFLAGS="$CFLAGS  -mmmx"
  20110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20111 /* end confdefs.h.  */
  20112 #include <time.h>
  20113 int
  20114 main (void)
  20115 {
  20116 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  20117 
  20118   ;
  20119   return 0;
  20120 }
  20121 _ACEOF
  20122 if ac_fn_c_try_link "$LINENO"
  20123 then :
  20124   ax_cv_check_cflags___mmmx=yes
  20125 else case e in #(
  20126   e) ax_cv_check_cflags___mmmx=no ;;
  20127 esac
  20128 fi
  20129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20130     conftest$ac_exeext conftest.$ac_ext
  20131   CFLAGS=$ax_check_save_flags ;;
  20132 esac
  20133 fi
  20134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mmmx" >&5
  20135 printf "%s\n" "$ax_cv_check_cflags___mmmx" >&6; }
  20136 if test "x$ax_cv_check_cflags___mmmx" = xyes
  20137 then :
  20138   CFLAGS_MMX="-mmmx"
  20139 else case e in #(
  20140   e) : ;;
  20141 esac
  20142 fi
  20143 
  20144 else case e in #(
  20145   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20146 printf "%s\n" "no" >&6; } ;;
  20147 esac
  20148 fi
  20149 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20150     conftest$ac_exeext conftest.$ac_ext
  20151   CFLAGS="$oldcflags"
  20152 
  20153   oldcflags="$CFLAGS"
  20154   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -msse2" >&5
  20155 printf %s "checking whether C compiler accepts -msse2... " >&6; }
  20156 if test ${ax_cv_check_cflags___msse2+y}
  20157 then :
  20158   printf %s "(cached) " >&6
  20159 else case e in #(
  20160   e)
  20161   ax_check_save_flags=$CFLAGS
  20162   CFLAGS="$CFLAGS  -msse2"
  20163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20164 /* end confdefs.h.  */
  20165 #include <time.h>
  20166 int
  20167 main (void)
  20168 {
  20169 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  20170 
  20171   ;
  20172   return 0;
  20173 }
  20174 _ACEOF
  20175 if ac_fn_c_try_link "$LINENO"
  20176 then :
  20177   ax_cv_check_cflags___msse2=yes
  20178 else case e in #(
  20179   e) ax_cv_check_cflags___msse2=no ;;
  20180 esac
  20181 fi
  20182 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20183     conftest$ac_exeext conftest.$ac_ext
  20184   CFLAGS=$ax_check_save_flags ;;
  20185 esac
  20186 fi
  20187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___msse2" >&5
  20188 printf "%s\n" "$ax_cv_check_cflags___msse2" >&6; }
  20189 if test "x$ax_cv_check_cflags___msse2" = xyes
  20190 then :
  20191   CFLAGS="$CFLAGS -msse2"
  20192 else case e in #(
  20193   e) : ;;
  20194 esac
  20195 fi
  20196 
  20197   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSE2 instructions set" >&5
  20198 printf %s "checking for SSE2 instructions set... " >&6; }
  20199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20200 /* end confdefs.h.  */
  20201 
  20202 #pragma GCC target("sse2")
  20203 #ifndef __SSE2__
  20204 # define __SSE2__
  20205 #endif
  20206 #include <emmintrin.h>
  20207 
  20208 int
  20209 main (void)
  20210 {
  20211  __m128d x = _mm_setzero_pd();
  20212        __m128i z = _mm_srli_epi64(_mm_setzero_si128(), 26);
  20213   ;
  20214   return 0;
  20215 }
  20216 _ACEOF
  20217 if ac_fn_c_try_link "$LINENO"
  20218 then :
  20219   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  20220 printf "%s\n" "yes" >&6; }
  20221 
  20222 printf "%s\n" "#define HAVE_EMMINTRIN_H 1" >>confdefs.h
  20223 
  20224      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -msse2" >&5
  20225 printf %s "checking whether C compiler accepts -msse2... " >&6; }
  20226 if test ${ax_cv_check_cflags___msse2+y}
  20227 then :
  20228   printf %s "(cached) " >&6
  20229 else case e in #(
  20230   e)
  20231   ax_check_save_flags=$CFLAGS
  20232   CFLAGS="$CFLAGS  -msse2"
  20233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20234 /* end confdefs.h.  */
  20235 #include <time.h>
  20236 int
  20237 main (void)
  20238 {
  20239 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  20240 
  20241   ;
  20242   return 0;
  20243 }
  20244 _ACEOF
  20245 if ac_fn_c_try_link "$LINENO"
  20246 then :
  20247   ax_cv_check_cflags___msse2=yes
  20248 else case e in #(
  20249   e) ax_cv_check_cflags___msse2=no ;;
  20250 esac
  20251 fi
  20252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20253     conftest$ac_exeext conftest.$ac_ext
  20254   CFLAGS=$ax_check_save_flags ;;
  20255 esac
  20256 fi
  20257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___msse2" >&5
  20258 printf "%s\n" "$ax_cv_check_cflags___msse2" >&6; }
  20259 if test "x$ax_cv_check_cflags___msse2" = xyes
  20260 then :
  20261   CFLAGS_SSE2="-msse2"
  20262 else case e in #(
  20263   e) : ;;
  20264 esac
  20265 fi
  20266 
  20267 else case e in #(
  20268   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20269 printf "%s\n" "no" >&6; } ;;
  20270 esac
  20271 fi
  20272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20273     conftest$ac_exeext conftest.$ac_ext
  20274   CFLAGS="$oldcflags"
  20275 
  20276   oldcflags="$CFLAGS"
  20277   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -msse3" >&5
  20278 printf %s "checking whether C compiler accepts -msse3... " >&6; }
  20279 if test ${ax_cv_check_cflags___msse3+y}
  20280 then :
  20281   printf %s "(cached) " >&6
  20282 else case e in #(
  20283   e)
  20284   ax_check_save_flags=$CFLAGS
  20285   CFLAGS="$CFLAGS  -msse3"
  20286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20287 /* end confdefs.h.  */
  20288 #include <time.h>
  20289 int
  20290 main (void)
  20291 {
  20292 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  20293 
  20294   ;
  20295   return 0;
  20296 }
  20297 _ACEOF
  20298 if ac_fn_c_try_link "$LINENO"
  20299 then :
  20300   ax_cv_check_cflags___msse3=yes
  20301 else case e in #(
  20302   e) ax_cv_check_cflags___msse3=no ;;
  20303 esac
  20304 fi
  20305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20306     conftest$ac_exeext conftest.$ac_ext
  20307   CFLAGS=$ax_check_save_flags ;;
  20308 esac
  20309 fi
  20310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___msse3" >&5
  20311 printf "%s\n" "$ax_cv_check_cflags___msse3" >&6; }
  20312 if test "x$ax_cv_check_cflags___msse3" = xyes
  20313 then :
  20314   CFLAGS="$CFLAGS -msse3"
  20315 else case e in #(
  20316   e) : ;;
  20317 esac
  20318 fi
  20319 
  20320   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSE3 instructions set" >&5
  20321 printf %s "checking for SSE3 instructions set... " >&6; }
  20322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20323 /* end confdefs.h.  */
  20324 
  20325 #pragma GCC target("sse3")
  20326 #include <pmmintrin.h>
  20327 
  20328 int
  20329 main (void)
  20330 {
  20331  __m128 x = _mm_addsub_ps(_mm_cvtpd_ps(_mm_setzero_pd()),
  20332                                 _mm_cvtpd_ps(_mm_setzero_pd()));
  20333   ;
  20334   return 0;
  20335 }
  20336 _ACEOF
  20337 if ac_fn_c_try_link "$LINENO"
  20338 then :
  20339   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  20340 printf "%s\n" "yes" >&6; }
  20341 
  20342 printf "%s\n" "#define HAVE_PMMINTRIN_H 1" >>confdefs.h
  20343 
  20344      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -msse3" >&5
  20345 printf %s "checking whether C compiler accepts -msse3... " >&6; }
  20346 if test ${ax_cv_check_cflags___msse3+y}
  20347 then :
  20348   printf %s "(cached) " >&6
  20349 else case e in #(
  20350   e)
  20351   ax_check_save_flags=$CFLAGS
  20352   CFLAGS="$CFLAGS  -msse3"
  20353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20354 /* end confdefs.h.  */
  20355 #include <time.h>
  20356 int
  20357 main (void)
  20358 {
  20359 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  20360 
  20361   ;
  20362   return 0;
  20363 }
  20364 _ACEOF
  20365 if ac_fn_c_try_link "$LINENO"
  20366 then :
  20367   ax_cv_check_cflags___msse3=yes
  20368 else case e in #(
  20369   e) ax_cv_check_cflags___msse3=no ;;
  20370 esac
  20371 fi
  20372 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20373     conftest$ac_exeext conftest.$ac_ext
  20374   CFLAGS=$ax_check_save_flags ;;
  20375 esac
  20376 fi
  20377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___msse3" >&5
  20378 printf "%s\n" "$ax_cv_check_cflags___msse3" >&6; }
  20379 if test "x$ax_cv_check_cflags___msse3" = xyes
  20380 then :
  20381   CFLAGS_SSE3="-msse3"
  20382 else case e in #(
  20383   e) : ;;
  20384 esac
  20385 fi
  20386 
  20387 else case e in #(
  20388   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20389 printf "%s\n" "no" >&6; } ;;
  20390 esac
  20391 fi
  20392 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20393     conftest$ac_exeext conftest.$ac_ext
  20394   CFLAGS="$oldcflags"
  20395 
  20396   oldcflags="$CFLAGS"
  20397   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mssse3" >&5
  20398 printf %s "checking whether C compiler accepts -mssse3... " >&6; }
  20399 if test ${ax_cv_check_cflags___mssse3+y}
  20400 then :
  20401   printf %s "(cached) " >&6
  20402 else case e in #(
  20403   e)
  20404   ax_check_save_flags=$CFLAGS
  20405   CFLAGS="$CFLAGS  -mssse3"
  20406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20407 /* end confdefs.h.  */
  20408 #include <time.h>
  20409 int
  20410 main (void)
  20411 {
  20412 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  20413 
  20414   ;
  20415   return 0;
  20416 }
  20417 _ACEOF
  20418 if ac_fn_c_try_link "$LINENO"
  20419 then :
  20420   ax_cv_check_cflags___mssse3=yes
  20421 else case e in #(
  20422   e) ax_cv_check_cflags___mssse3=no ;;
  20423 esac
  20424 fi
  20425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20426     conftest$ac_exeext conftest.$ac_ext
  20427   CFLAGS=$ax_check_save_flags ;;
  20428 esac
  20429 fi
  20430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mssse3" >&5
  20431 printf "%s\n" "$ax_cv_check_cflags___mssse3" >&6; }
  20432 if test "x$ax_cv_check_cflags___mssse3" = xyes
  20433 then :
  20434   CFLAGS="$CFLAGS -mssse3"
  20435 else case e in #(
  20436   e) : ;;
  20437 esac
  20438 fi
  20439 
  20440   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSSE3 instructions set" >&5
  20441 printf %s "checking for SSSE3 instructions set... " >&6; }
  20442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20443 /* end confdefs.h.  */
  20444 
  20445 #pragma GCC target("ssse3")
  20446 #include <tmmintrin.h>
  20447 
  20448 int
  20449 main (void)
  20450 {
  20451  __m64 x = _mm_abs_pi32(_m_from_int(0));
  20452   ;
  20453   return 0;
  20454 }
  20455 _ACEOF
  20456 if ac_fn_c_try_link "$LINENO"
  20457 then :
  20458   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  20459 printf "%s\n" "yes" >&6; }
  20460 
  20461 printf "%s\n" "#define HAVE_TMMINTRIN_H 1" >>confdefs.h
  20462 
  20463      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mssse3" >&5
  20464 printf %s "checking whether C compiler accepts -mssse3... " >&6; }
  20465 if test ${ax_cv_check_cflags___mssse3+y}
  20466 then :
  20467   printf %s "(cached) " >&6
  20468 else case e in #(
  20469   e)
  20470   ax_check_save_flags=$CFLAGS
  20471   CFLAGS="$CFLAGS  -mssse3"
  20472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20473 /* end confdefs.h.  */
  20474 #include <time.h>
  20475 int
  20476 main (void)
  20477 {
  20478 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  20479 
  20480   ;
  20481   return 0;
  20482 }
  20483 _ACEOF
  20484 if ac_fn_c_try_link "$LINENO"
  20485 then :
  20486   ax_cv_check_cflags___mssse3=yes
  20487 else case e in #(
  20488   e) ax_cv_check_cflags___mssse3=no ;;
  20489 esac
  20490 fi
  20491 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20492     conftest$ac_exeext conftest.$ac_ext
  20493   CFLAGS=$ax_check_save_flags ;;
  20494 esac
  20495 fi
  20496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mssse3" >&5
  20497 printf "%s\n" "$ax_cv_check_cflags___mssse3" >&6; }
  20498 if test "x$ax_cv_check_cflags___mssse3" = xyes
  20499 then :
  20500   CFLAGS_SSSE3="-mssse3"
  20501 else case e in #(
  20502   e) : ;;
  20503 esac
  20504 fi
  20505 
  20506 else case e in #(
  20507   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20508 printf "%s\n" "no" >&6; } ;;
  20509 esac
  20510 fi
  20511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20512     conftest$ac_exeext conftest.$ac_ext
  20513   CFLAGS="$oldcflags"
  20514 
  20515   oldcflags="$CFLAGS"
  20516   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -msse4.1" >&5
  20517 printf %s "checking whether C compiler accepts -msse4.1... " >&6; }
  20518 if test ${ax_cv_check_cflags___msse4_1+y}
  20519 then :
  20520   printf %s "(cached) " >&6
  20521 else case e in #(
  20522   e)
  20523   ax_check_save_flags=$CFLAGS
  20524   CFLAGS="$CFLAGS  -msse4.1"
  20525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20526 /* end confdefs.h.  */
  20527 #include <time.h>
  20528 int
  20529 main (void)
  20530 {
  20531 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  20532 
  20533   ;
  20534   return 0;
  20535 }
  20536 _ACEOF
  20537 if ac_fn_c_try_link "$LINENO"
  20538 then :
  20539   ax_cv_check_cflags___msse4_1=yes
  20540 else case e in #(
  20541   e) ax_cv_check_cflags___msse4_1=no ;;
  20542 esac
  20543 fi
  20544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20545     conftest$ac_exeext conftest.$ac_ext
  20546   CFLAGS=$ax_check_save_flags ;;
  20547 esac
  20548 fi
  20549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___msse4_1" >&5
  20550 printf "%s\n" "$ax_cv_check_cflags___msse4_1" >&6; }
  20551 if test "x$ax_cv_check_cflags___msse4_1" = xyes
  20552 then :
  20553   CFLAGS="$CFLAGS -msse4.1"
  20554 else case e in #(
  20555   e) : ;;
  20556 esac
  20557 fi
  20558 
  20559   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSE4.1 instructions set" >&5
  20560 printf %s "checking for SSE4.1 instructions set... " >&6; }
  20561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20562 /* end confdefs.h.  */
  20563 
  20564 #pragma GCC target("sse4.1")
  20565 #include <smmintrin.h>
  20566 
  20567 int
  20568 main (void)
  20569 {
  20570  __m128i x = _mm_minpos_epu16(_mm_setzero_si128());
  20571   ;
  20572   return 0;
  20573 }
  20574 _ACEOF
  20575 if ac_fn_c_try_link "$LINENO"
  20576 then :
  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_SMMINTRIN_H 1" >>confdefs.h
  20581 
  20582      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -msse4.1" >&5
  20583 printf %s "checking whether C compiler accepts -msse4.1... " >&6; }
  20584 if test ${ax_cv_check_cflags___msse4_1+y}
  20585 then :
  20586   printf %s "(cached) " >&6
  20587 else case e in #(
  20588   e)
  20589   ax_check_save_flags=$CFLAGS
  20590   CFLAGS="$CFLAGS  -msse4.1"
  20591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20592 /* end confdefs.h.  */
  20593 #include <time.h>
  20594 int
  20595 main (void)
  20596 {
  20597 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  20598 
  20599   ;
  20600   return 0;
  20601 }
  20602 _ACEOF
  20603 if ac_fn_c_try_link "$LINENO"
  20604 then :
  20605   ax_cv_check_cflags___msse4_1=yes
  20606 else case e in #(
  20607   e) ax_cv_check_cflags___msse4_1=no ;;
  20608 esac
  20609 fi
  20610 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20611     conftest$ac_exeext conftest.$ac_ext
  20612   CFLAGS=$ax_check_save_flags ;;
  20613 esac
  20614 fi
  20615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___msse4_1" >&5
  20616 printf "%s\n" "$ax_cv_check_cflags___msse4_1" >&6; }
  20617 if test "x$ax_cv_check_cflags___msse4_1" = xyes
  20618 then :
  20619   CFLAGS_SSE41="-msse4.1"
  20620 else case e in #(
  20621   e) : ;;
  20622 esac
  20623 fi
  20624 
  20625 else case e in #(
  20626   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20627 printf "%s\n" "no" >&6; } ;;
  20628 esac
  20629 fi
  20630 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20631     conftest$ac_exeext conftest.$ac_ext
  20632   CFLAGS="$oldcflags"
  20633 
  20634   oldcflags="$CFLAGS"
  20635   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mavx" >&5
  20636 printf %s "checking whether C compiler accepts -mavx... " >&6; }
  20637 if test ${ax_cv_check_cflags___mavx+y}
  20638 then :
  20639   printf %s "(cached) " >&6
  20640 else case e in #(
  20641   e)
  20642   ax_check_save_flags=$CFLAGS
  20643   CFLAGS="$CFLAGS  -mavx"
  20644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20645 /* end confdefs.h.  */
  20646 #include <time.h>
  20647 int
  20648 main (void)
  20649 {
  20650 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  20651 
  20652   ;
  20653   return 0;
  20654 }
  20655 _ACEOF
  20656 if ac_fn_c_try_link "$LINENO"
  20657 then :
  20658   ax_cv_check_cflags___mavx=yes
  20659 else case e in #(
  20660   e) ax_cv_check_cflags___mavx=no ;;
  20661 esac
  20662 fi
  20663 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20664     conftest$ac_exeext conftest.$ac_ext
  20665   CFLAGS=$ax_check_save_flags ;;
  20666 esac
  20667 fi
  20668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mavx" >&5
  20669 printf "%s\n" "$ax_cv_check_cflags___mavx" >&6; }
  20670 if test "x$ax_cv_check_cflags___mavx" = xyes
  20671 then :
  20672   CFLAGS="$CFLAGS -mavx"
  20673 else case e in #(
  20674   e) : ;;
  20675 esac
  20676 fi
  20677 
  20678   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AVX instructions set" >&5
  20679 printf %s "checking for AVX instructions set... " >&6; }
  20680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20681 /* end confdefs.h.  */
  20682 
  20683 #pragma GCC target("avx")
  20684 #include <immintrin.h>
  20685 
  20686 int
  20687 main (void)
  20688 {
  20689  _mm256_zeroall();
  20690   ;
  20691   return 0;
  20692 }
  20693 _ACEOF
  20694 if ac_fn_c_try_link "$LINENO"
  20695 then :
  20696   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  20697 printf "%s\n" "yes" >&6; }
  20698 
  20699 printf "%s\n" "#define HAVE_AVXINTRIN_H 1" >>confdefs.h
  20700 
  20701      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mavx" >&5
  20702 printf %s "checking whether C compiler accepts -mavx... " >&6; }
  20703 if test ${ax_cv_check_cflags___mavx+y}
  20704 then :
  20705   printf %s "(cached) " >&6
  20706 else case e in #(
  20707   e)
  20708   ax_check_save_flags=$CFLAGS
  20709   CFLAGS="$CFLAGS  -mavx"
  20710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20711 /* end confdefs.h.  */
  20712 #include <time.h>
  20713 int
  20714 main (void)
  20715 {
  20716 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  20717 
  20718   ;
  20719   return 0;
  20720 }
  20721 _ACEOF
  20722 if ac_fn_c_try_link "$LINENO"
  20723 then :
  20724   ax_cv_check_cflags___mavx=yes
  20725 else case e in #(
  20726   e) ax_cv_check_cflags___mavx=no ;;
  20727 esac
  20728 fi
  20729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20730     conftest$ac_exeext conftest.$ac_ext
  20731   CFLAGS=$ax_check_save_flags ;;
  20732 esac
  20733 fi
  20734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mavx" >&5
  20735 printf "%s\n" "$ax_cv_check_cflags___mavx" >&6; }
  20736 if test "x$ax_cv_check_cflags___mavx" = xyes
  20737 then :
  20738   CFLAGS_AVX="-mavx"
  20739 else case e in #(
  20740   e) : ;;
  20741 esac
  20742 fi
  20743 
  20744 else case e in #(
  20745   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20746 printf "%s\n" "no" >&6; } ;;
  20747 esac
  20748 fi
  20749 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20750     conftest$ac_exeext conftest.$ac_ext
  20751   CFLAGS="$oldcflags"
  20752 
  20753   oldcflags="$CFLAGS"
  20754   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mavx2" >&5
  20755 printf %s "checking whether C compiler accepts -mavx2... " >&6; }
  20756 if test ${ax_cv_check_cflags___mavx2+y}
  20757 then :
  20758   printf %s "(cached) " >&6
  20759 else case e in #(
  20760   e)
  20761   ax_check_save_flags=$CFLAGS
  20762   CFLAGS="$CFLAGS  -mavx2"
  20763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20764 /* end confdefs.h.  */
  20765 #include <time.h>
  20766 int
  20767 main (void)
  20768 {
  20769 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  20770 
  20771   ;
  20772   return 0;
  20773 }
  20774 _ACEOF
  20775 if ac_fn_c_try_link "$LINENO"
  20776 then :
  20777   ax_cv_check_cflags___mavx2=yes
  20778 else case e in #(
  20779   e) ax_cv_check_cflags___mavx2=no ;;
  20780 esac
  20781 fi
  20782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20783     conftest$ac_exeext conftest.$ac_ext
  20784   CFLAGS=$ax_check_save_flags ;;
  20785 esac
  20786 fi
  20787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mavx2" >&5
  20788 printf "%s\n" "$ax_cv_check_cflags___mavx2" >&6; }
  20789 if test "x$ax_cv_check_cflags___mavx2" = xyes
  20790 then :
  20791   CFLAGS="$CFLAGS -mavx2"
  20792 else case e in #(
  20793   e) : ;;
  20794 esac
  20795 fi
  20796 
  20797   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AVX2 instructions set" >&5
  20798 printf %s "checking for AVX2 instructions set... " >&6; }
  20799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20800 /* end confdefs.h.  */
  20801 
  20802 #pragma GCC target("avx2")
  20803 #include <immintrin.h>
  20804 
  20805 int
  20806 main (void)
  20807 {
  20808 
  20809 __m256 x = _mm256_set1_ps(3.14);
  20810 __m256 y = _mm256_permutevar8x32_ps(x, _mm256_set1_epi32(42));
  20811 return _mm256_movemask_ps(_mm256_cmp_ps(x, y, _CMP_NEQ_OQ));
  20812 
  20813   ;
  20814   return 0;
  20815 }
  20816 _ACEOF
  20817 if ac_fn_c_try_link "$LINENO"
  20818 then :
  20819   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  20820 printf "%s\n" "yes" >&6; }
  20821 
  20822 printf "%s\n" "#define HAVE_AVX2INTRIN_H 1" >>confdefs.h
  20823 
  20824      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mavx2" >&5
  20825 printf %s "checking whether C compiler accepts -mavx2... " >&6; }
  20826 if test ${ax_cv_check_cflags___mavx2+y}
  20827 then :
  20828   printf %s "(cached) " >&6
  20829 else case e in #(
  20830   e)
  20831   ax_check_save_flags=$CFLAGS
  20832   CFLAGS="$CFLAGS  -mavx2"
  20833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20834 /* end confdefs.h.  */
  20835 #include <time.h>
  20836 int
  20837 main (void)
  20838 {
  20839 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  20840 
  20841   ;
  20842   return 0;
  20843 }
  20844 _ACEOF
  20845 if ac_fn_c_try_link "$LINENO"
  20846 then :
  20847   ax_cv_check_cflags___mavx2=yes
  20848 else case e in #(
  20849   e) ax_cv_check_cflags___mavx2=no ;;
  20850 esac
  20851 fi
  20852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20853     conftest$ac_exeext conftest.$ac_ext
  20854   CFLAGS=$ax_check_save_flags ;;
  20855 esac
  20856 fi
  20857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mavx2" >&5
  20858 printf "%s\n" "$ax_cv_check_cflags___mavx2" >&6; }
  20859 if test "x$ax_cv_check_cflags___mavx2" = xyes
  20860 then :
  20861   CFLAGS_AVX2="-mavx2"
  20862 else case e in #(
  20863   e) : ;;
  20864 esac
  20865 fi
  20866 
  20867      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _mm256_broadcastsi128_si256 is correctly defined" >&5
  20868 printf %s "checking if _mm256_broadcastsi128_si256 is correctly defined... " >&6; }
  20869      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20870 /* end confdefs.h.  */
  20871 
  20872 #pragma GCC target("avx2")
  20873 #include <immintrin.h>
  20874 
  20875 int
  20876 main (void)
  20877 {
  20878  __m256i y = _mm256_broadcastsi128_si256(_mm_setzero_si128());
  20879   ;
  20880   return 0;
  20881 }
  20882 _ACEOF
  20883 if ac_fn_c_try_link "$LINENO"
  20884 then :
  20885   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  20886 printf "%s\n" "yes" >&6; }
  20887 else case e in #(
  20888   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20889 printf "%s\n" "no" >&6; }
  20890 
  20891 printf "%s\n" "#define _mm256_broadcastsi128_si256 _mm_broadcastsi128_si256" >>confdefs.h
  20892  ;;
  20893 esac
  20894 fi
  20895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20896     conftest$ac_exeext conftest.$ac_ext
  20897 
  20898 else case e in #(
  20899   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20900 printf "%s\n" "no" >&6; } ;;
  20901 esac
  20902 fi
  20903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20904     conftest$ac_exeext conftest.$ac_ext
  20905   CFLAGS="$oldcflags"
  20906 
  20907   oldcflags="$CFLAGS"
  20908   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mavx512f" >&5
  20909 printf %s "checking whether C compiler accepts -mavx512f... " >&6; }
  20910 if test ${ax_cv_check_cflags___mavx512f+y}
  20911 then :
  20912   printf %s "(cached) " >&6
  20913 else case e in #(
  20914   e)
  20915   ax_check_save_flags=$CFLAGS
  20916   CFLAGS="$CFLAGS  -mavx512f"
  20917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20918 /* end confdefs.h.  */
  20919 #include <time.h>
  20920 int
  20921 main (void)
  20922 {
  20923 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  20924 
  20925   ;
  20926   return 0;
  20927 }
  20928 _ACEOF
  20929 if ac_fn_c_try_link "$LINENO"
  20930 then :
  20931   ax_cv_check_cflags___mavx512f=yes
  20932 else case e in #(
  20933   e) ax_cv_check_cflags___mavx512f=no ;;
  20934 esac
  20935 fi
  20936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  20937     conftest$ac_exeext conftest.$ac_ext
  20938   CFLAGS=$ax_check_save_flags ;;
  20939 esac
  20940 fi
  20941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mavx512f" >&5
  20942 printf "%s\n" "$ax_cv_check_cflags___mavx512f" >&6; }
  20943 if test "x$ax_cv_check_cflags___mavx512f" = xyes
  20944 then :
  20945   CFLAGS="$CFLAGS -mavx512f"
  20946 else case e in #(
  20947   e) : ;;
  20948 esac
  20949 fi
  20950 
  20951   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AVX512F instructions set" >&5
  20952 printf %s "checking for AVX512F instructions set... " >&6; }
  20953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20954 /* end confdefs.h.  */
  20955 
  20956 #pragma GCC target("avx512f")
  20957 #include <immintrin.h>
  20958 
  20959 int
  20960 main (void)
  20961 {
  20962 
  20963 
  20964 #ifndef __AVX512F__
  20965 # error No AVX512 support
  20966 #elif defined(__clang__)
  20967 # if __clang_major__ < 4
  20968 #  error Compiler AVX512 support may be broken
  20969 # endif
  20970 #elif defined(__GNUC__)
  20971 # if __GNUC__ < 6
  20972 #  error Compiler AVX512 support may be broken
  20973 # endif
  20974 #endif
  20975 
  20976 __m512i x = _mm512_setzero_epi32();
  20977 __m512i y = _mm512_permutexvar_epi64(_mm512_setr_epi64(0, 1, 4, 5, 2, 3, 6, 7), x);
  20978 
  20979   ;
  20980   return 0;
  20981 }
  20982 _ACEOF
  20983 if ac_fn_c_try_link "$LINENO"
  20984 then :
  20985   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  20986 printf "%s\n" "yes" >&6; }
  20987 
  20988 printf "%s\n" "#define HAVE_AVX512FINTRIN_H 1" >>confdefs.h
  20989 
  20990      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mavx512f" >&5
  20991 printf %s "checking whether C compiler accepts -mavx512f... " >&6; }
  20992 if test ${ax_cv_check_cflags___mavx512f+y}
  20993 then :
  20994   printf %s "(cached) " >&6
  20995 else case e in #(
  20996   e)
  20997   ax_check_save_flags=$CFLAGS
  20998   CFLAGS="$CFLAGS  -mavx512f"
  20999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21000 /* end confdefs.h.  */
  21001 #include <time.h>
  21002 int
  21003 main (void)
  21004 {
  21005 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  21006 
  21007   ;
  21008   return 0;
  21009 }
  21010 _ACEOF
  21011 if ac_fn_c_try_link "$LINENO"
  21012 then :
  21013   ax_cv_check_cflags___mavx512f=yes
  21014 else case e in #(
  21015   e) ax_cv_check_cflags___mavx512f=no ;;
  21016 esac
  21017 fi
  21018 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  21019     conftest$ac_exeext conftest.$ac_ext
  21020   CFLAGS=$ax_check_save_flags ;;
  21021 esac
  21022 fi
  21023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mavx512f" >&5
  21024 printf "%s\n" "$ax_cv_check_cflags___mavx512f" >&6; }
  21025 if test "x$ax_cv_check_cflags___mavx512f" = xyes
  21026 then :
  21027   CFLAGS_AVX512F="-mavx512f"
  21028 else case e in #(
  21029   e) : ;;
  21030 esac
  21031 fi
  21032 
  21033 else case e in #(
  21034   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21035 printf "%s\n" "no" >&6; }
  21036      as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CFLAGS -mno-avx512f" | sed "$as_sed_sh"`
  21037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CFLAGS -mno-avx512f" >&5
  21038 printf %s "checking whether C compiler accepts $CFLAGS -mno-avx512f... " >&6; }
  21039 if eval test \${$as_CACHEVAR+y}
  21040 then :
  21041   printf %s "(cached) " >&6
  21042 else case e in #(
  21043   e)
  21044   ax_check_save_flags=$CFLAGS
  21045   CFLAGS="$CFLAGS  $CFLAGS -mno-avx512f"
  21046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21047 /* end confdefs.h.  */
  21048 #include <time.h>
  21049 int
  21050 main (void)
  21051 {
  21052 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  21053 
  21054   ;
  21055   return 0;
  21056 }
  21057 _ACEOF
  21058 if ac_fn_c_try_link "$LINENO"
  21059 then :
  21060   eval "$as_CACHEVAR=yes"
  21061 else case e in #(
  21062   e) eval "$as_CACHEVAR=no" ;;
  21063 esac
  21064 fi
  21065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  21066     conftest$ac_exeext conftest.$ac_ext
  21067   CFLAGS=$ax_check_save_flags ;;
  21068 esac
  21069 fi
  21070 eval ac_res=\$$as_CACHEVAR
  21071 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  21072 printf "%s\n" "$ac_res" >&6; }
  21073 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
  21074 then :
  21075   CFLAGS="$CFLAGS -mno-avx512f"
  21076 else case e in #(
  21077   e) : ;;
  21078 esac
  21079 fi
  21080 
  21081      ;;
  21082 esac
  21083 fi
  21084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  21085     conftest$ac_exeext conftest.$ac_ext
  21086   CFLAGS="$oldcflags"
  21087 
  21088   oldcflags="$CFLAGS"
  21089   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -maes" >&5
  21090 printf %s "checking whether C compiler accepts -maes... " >&6; }
  21091 if test ${ax_cv_check_cflags___maes+y}
  21092 then :
  21093   printf %s "(cached) " >&6
  21094 else case e in #(
  21095   e)
  21096   ax_check_save_flags=$CFLAGS
  21097   CFLAGS="$CFLAGS  -maes"
  21098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21099 /* end confdefs.h.  */
  21100 #include <time.h>
  21101 int
  21102 main (void)
  21103 {
  21104 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  21105 
  21106   ;
  21107   return 0;
  21108 }
  21109 _ACEOF
  21110 if ac_fn_c_try_link "$LINENO"
  21111 then :
  21112   ax_cv_check_cflags___maes=yes
  21113 else case e in #(
  21114   e) ax_cv_check_cflags___maes=no ;;
  21115 esac
  21116 fi
  21117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  21118     conftest$ac_exeext conftest.$ac_ext
  21119   CFLAGS=$ax_check_save_flags ;;
  21120 esac
  21121 fi
  21122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___maes" >&5
  21123 printf "%s\n" "$ax_cv_check_cflags___maes" >&6; }
  21124 if test "x$ax_cv_check_cflags___maes" = xyes
  21125 then :
  21126   CFLAGS="$CFLAGS -maes"
  21127 else case e in #(
  21128   e) : ;;
  21129 esac
  21130 fi
  21131 
  21132   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mpclmul" >&5
  21133 printf %s "checking whether C compiler accepts -mpclmul... " >&6; }
  21134 if test ${ax_cv_check_cflags___mpclmul+y}
  21135 then :
  21136   printf %s "(cached) " >&6
  21137 else case e in #(
  21138   e)
  21139   ax_check_save_flags=$CFLAGS
  21140   CFLAGS="$CFLAGS  -mpclmul"
  21141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21142 /* end confdefs.h.  */
  21143 #include <time.h>
  21144 int
  21145 main (void)
  21146 {
  21147 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  21148 
  21149   ;
  21150   return 0;
  21151 }
  21152 _ACEOF
  21153 if ac_fn_c_try_link "$LINENO"
  21154 then :
  21155   ax_cv_check_cflags___mpclmul=yes
  21156 else case e in #(
  21157   e) ax_cv_check_cflags___mpclmul=no ;;
  21158 esac
  21159 fi
  21160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  21161     conftest$ac_exeext conftest.$ac_ext
  21162   CFLAGS=$ax_check_save_flags ;;
  21163 esac
  21164 fi
  21165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mpclmul" >&5
  21166 printf "%s\n" "$ax_cv_check_cflags___mpclmul" >&6; }
  21167 if test "x$ax_cv_check_cflags___mpclmul" = xyes
  21168 then :
  21169   CFLAGS="$CFLAGS -mpclmul"
  21170 else case e in #(
  21171   e) : ;;
  21172 esac
  21173 fi
  21174 
  21175   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AESNI instructions set and PCLMULQDQ" >&5
  21176 printf %s "checking for AESNI instructions set and PCLMULQDQ... " >&6; }
  21177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21178 /* end confdefs.h.  */
  21179 
  21180 #pragma GCC target("aes")
  21181 #pragma GCC target("pclmul")
  21182 #include <wmmintrin.h>
  21183 
  21184 int
  21185 main (void)
  21186 {
  21187  __m128i x = _mm_aesimc_si128(_mm_setzero_si128());
  21188        __m128i y = _mm_clmulepi64_si128(_mm_setzero_si128(), _mm_setzero_si128(), 0);
  21189   ;
  21190   return 0;
  21191 }
  21192 _ACEOF
  21193 if ac_fn_c_try_link "$LINENO"
  21194 then :
  21195   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  21196 printf "%s\n" "yes" >&6; }
  21197 
  21198 printf "%s\n" "#define HAVE_WMMINTRIN_H 1" >>confdefs.h
  21199 
  21200      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -maes" >&5
  21201 printf %s "checking whether C compiler accepts -maes... " >&6; }
  21202 if test ${ax_cv_check_cflags___maes+y}
  21203 then :
  21204   printf %s "(cached) " >&6
  21205 else case e in #(
  21206   e)
  21207   ax_check_save_flags=$CFLAGS
  21208   CFLAGS="$CFLAGS  -maes"
  21209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21210 /* end confdefs.h.  */
  21211 #include <time.h>
  21212 int
  21213 main (void)
  21214 {
  21215 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  21216 
  21217   ;
  21218   return 0;
  21219 }
  21220 _ACEOF
  21221 if ac_fn_c_try_link "$LINENO"
  21222 then :
  21223   ax_cv_check_cflags___maes=yes
  21224 else case e in #(
  21225   e) ax_cv_check_cflags___maes=no ;;
  21226 esac
  21227 fi
  21228 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  21229     conftest$ac_exeext conftest.$ac_ext
  21230   CFLAGS=$ax_check_save_flags ;;
  21231 esac
  21232 fi
  21233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___maes" >&5
  21234 printf "%s\n" "$ax_cv_check_cflags___maes" >&6; }
  21235 if test "x$ax_cv_check_cflags___maes" = xyes
  21236 then :
  21237   CFLAGS_AESNI="-maes"
  21238 else case e in #(
  21239   e) : ;;
  21240 esac
  21241 fi
  21242 
  21243      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mpclmul" >&5
  21244 printf %s "checking whether C compiler accepts -mpclmul... " >&6; }
  21245 if test ${ax_cv_check_cflags___mpclmul+y}
  21246 then :
  21247   printf %s "(cached) " >&6
  21248 else case e in #(
  21249   e)
  21250   ax_check_save_flags=$CFLAGS
  21251   CFLAGS="$CFLAGS  -mpclmul"
  21252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21253 /* end confdefs.h.  */
  21254 #include <time.h>
  21255 int
  21256 main (void)
  21257 {
  21258 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  21259 
  21260   ;
  21261   return 0;
  21262 }
  21263 _ACEOF
  21264 if ac_fn_c_try_link "$LINENO"
  21265 then :
  21266   ax_cv_check_cflags___mpclmul=yes
  21267 else case e in #(
  21268   e) ax_cv_check_cflags___mpclmul=no ;;
  21269 esac
  21270 fi
  21271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  21272     conftest$ac_exeext conftest.$ac_ext
  21273   CFLAGS=$ax_check_save_flags ;;
  21274 esac
  21275 fi
  21276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mpclmul" >&5
  21277 printf "%s\n" "$ax_cv_check_cflags___mpclmul" >&6; }
  21278 if test "x$ax_cv_check_cflags___mpclmul" = xyes
  21279 then :
  21280   CFLAGS_PCLMUL="-mpclmul"
  21281 else case e in #(
  21282   e) : ;;
  21283 esac
  21284 fi
  21285 
  21286 
  21287 else case e in #(
  21288   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21289 printf "%s\n" "no" >&6; } ;;
  21290 esac
  21291 fi
  21292 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  21293     conftest$ac_exeext conftest.$ac_ext
  21294   CFLAGS="$oldcflags"
  21295 
  21296   oldcflags="$CFLAGS"
  21297   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mrdrnd" >&5
  21298 printf %s "checking whether C compiler accepts -mrdrnd... " >&6; }
  21299 if test ${ax_cv_check_cflags___mrdrnd+y}
  21300 then :
  21301   printf %s "(cached) " >&6
  21302 else case e in #(
  21303   e)
  21304   ax_check_save_flags=$CFLAGS
  21305   CFLAGS="$CFLAGS  -mrdrnd"
  21306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21307 /* end confdefs.h.  */
  21308 #include <time.h>
  21309 int
  21310 main (void)
  21311 {
  21312 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  21313 
  21314   ;
  21315   return 0;
  21316 }
  21317 _ACEOF
  21318 if ac_fn_c_try_link "$LINENO"
  21319 then :
  21320   ax_cv_check_cflags___mrdrnd=yes
  21321 else case e in #(
  21322   e) ax_cv_check_cflags___mrdrnd=no ;;
  21323 esac
  21324 fi
  21325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  21326     conftest$ac_exeext conftest.$ac_ext
  21327   CFLAGS=$ax_check_save_flags ;;
  21328 esac
  21329 fi
  21330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mrdrnd" >&5
  21331 printf "%s\n" "$ax_cv_check_cflags___mrdrnd" >&6; }
  21332 if test "x$ax_cv_check_cflags___mrdrnd" = xyes
  21333 then :
  21334   CFLAGS="$CFLAGS -mrdrnd"
  21335 else case e in #(
  21336   e) : ;;
  21337 esac
  21338 fi
  21339 
  21340   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for RDRAND" >&5
  21341 printf %s "checking for RDRAND... " >&6; }
  21342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21343 /* end confdefs.h.  */
  21344 
  21345 #pragma GCC target("rdrnd")
  21346 #include <immintrin.h>
  21347 
  21348 int
  21349 main (void)
  21350 {
  21351  unsigned long long x; _rdrand64_step(&x);
  21352   ;
  21353   return 0;
  21354 }
  21355 _ACEOF
  21356 if ac_fn_c_try_link "$LINENO"
  21357 then :
  21358   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  21359 printf "%s\n" "yes" >&6; }
  21360 
  21361 printf "%s\n" "#define HAVE_RDRAND 1" >>confdefs.h
  21362 
  21363      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mrdrnd" >&5
  21364 printf %s "checking whether C compiler accepts -mrdrnd... " >&6; }
  21365 if test ${ax_cv_check_cflags___mrdrnd+y}
  21366 then :
  21367   printf %s "(cached) " >&6
  21368 else case e in #(
  21369   e)
  21370   ax_check_save_flags=$CFLAGS
  21371   CFLAGS="$CFLAGS  -mrdrnd"
  21372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21373 /* end confdefs.h.  */
  21374 #include <time.h>
  21375 int
  21376 main (void)
  21377 {
  21378 time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
  21379 
  21380   ;
  21381   return 0;
  21382 }
  21383 _ACEOF
  21384 if ac_fn_c_try_link "$LINENO"
  21385 then :
  21386   ax_cv_check_cflags___mrdrnd=yes
  21387 else case e in #(
  21388   e) ax_cv_check_cflags___mrdrnd=no ;;
  21389 esac
  21390 fi
  21391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  21392     conftest$ac_exeext conftest.$ac_ext
  21393   CFLAGS=$ax_check_save_flags ;;
  21394 esac
  21395 fi
  21396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mrdrnd" >&5
  21397 printf "%s\n" "$ax_cv_check_cflags___mrdrnd" >&6; }
  21398 if test "x$ax_cv_check_cflags___mrdrnd" = xyes
  21399 then :
  21400   CFLAGS_RDRAND="-mrdrnd"
  21401 else case e in #(
  21402   e) : ;;
  21403 esac
  21404 fi
  21405 
  21406 
  21407 else case e in #(
  21408   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21409 printf "%s\n" "no" >&6; } ;;
  21410 esac
  21411 fi
  21412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  21413     conftest$ac_exeext conftest.$ac_ext
  21414   CFLAGS="$oldcflags"
  21415 
  21416 
  21417 fi
  21418 
  21419 
  21420 
  21421 
  21422 
  21423 
  21424 
  21425 
  21426 
  21427 
  21428 
  21429 
  21430 
  21431 
  21432 ac_fn_c_check_header_compile "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
  21433 if test "x$ac_cv_header_sys_mman_h" = xyes
  21434 then :
  21435   printf "%s\n" "#define HAVE_SYS_MMAN_H 1" >>confdefs.h
  21436 
  21437 fi
  21438 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
  21439 if test "x$ac_cv_header_sys_param_h" = xyes
  21440 then :
  21441   printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
  21442 
  21443 fi
  21444 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
  21445 if test "x$ac_cv_header_sys_random_h" = xyes
  21446 then :
  21447   printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
  21448 
  21449 fi
  21450 ac_fn_c_check_header_compile "$LINENO" "intrin.h" "ac_cv_header_intrin_h" "$ac_includes_default"
  21451 if test "x$ac_cv_header_intrin_h" = xyes
  21452 then :
  21453   printf "%s\n" "#define HAVE_INTRIN_H 1" >>confdefs.h
  21454 
  21455 fi
  21456 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
  21457 if test "x$ac_cv_header_sys_auxv_h" = xyes
  21458 then :
  21459   printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
  21460 
  21461 fi
  21462 
  21463 ac_fn_c_check_header_compile "$LINENO" "CommonCrypto/CommonRandom.h" "ac_cv_header_CommonCrypto_CommonRandom_h" "$ac_includes_default"
  21464 if test "x$ac_cv_header_CommonCrypto_CommonRandom_h" = xyes
  21465 then :
  21466   printf "%s\n" "#define HAVE_COMMONCRYPTO_COMMONRANDOM_H 1" >>confdefs.h
  21467 
  21468 fi
  21469 
  21470 ac_fn_c_check_header_compile "$LINENO" "cet.h" "ac_cv_header_cet_h" "$ac_includes_default"
  21471 if test "x$ac_cv_header_cet_h" = xyes
  21472 then :
  21473   printf "%s\n" "#define HAVE_CET_H 1" >>confdefs.h
  21474 
  21475 fi
  21476 ac_fn_c_check_header_compile "$LINENO" "threads.h" "ac_cv_header_threads_h" "$ac_includes_default"
  21477 if test "x$ac_cv_header_threads_h" = xyes
  21478 then :
  21479   printf "%s\n" "#define HAVE_THREADS_H 1" >>confdefs.h
  21480 
  21481 fi
  21482 
  21483 
  21484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _xgetbv() is available" >&5
  21485 printf %s "checking if _xgetbv() is available... " >&6; }
  21486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21487 /* end confdefs.h.  */
  21488  #include <intrin.h>
  21489 int
  21490 main (void)
  21491 {
  21492  (void) _xgetbv(0)
  21493   ;
  21494   return 0;
  21495 }
  21496 _ACEOF
  21497 if ac_fn_c_try_link "$LINENO"
  21498 then :
  21499   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  21500 printf "%s\n" "yes" >&6; }
  21501 
  21502 printf "%s\n" "#define HAVE__XGETBV 1" >>confdefs.h
  21503 
  21504 else case e in #(
  21505   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21506 printf "%s\n" "no" >&6; } ;;
  21507 esac
  21508 fi
  21509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  21510     conftest$ac_exeext conftest.$ac_ext
  21511 
  21512 
  21513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
  21514 printf %s "checking for inline... " >&6; }
  21515 if test ${ac_cv_c_inline+y}
  21516 then :
  21517   printf %s "(cached) " >&6
  21518 else case e in #(
  21519   e) ac_cv_c_inline=no
  21520 for ac_kw in inline __inline__ __inline; do
  21521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21522 /* end confdefs.h.  */
  21523 #ifndef __cplusplus
  21524 typedef int foo_t;
  21525 static $ac_kw foo_t static_foo (void) {return 0; }
  21526 $ac_kw foo_t foo (void) {return 0; }
  21527 #endif
  21528 
  21529 _ACEOF
  21530 if ac_fn_c_try_compile "$LINENO"
  21531 then :
  21532   ac_cv_c_inline=$ac_kw
  21533 fi
  21534 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  21535   test "$ac_cv_c_inline" != no && break
  21536 done
  21537  ;;
  21538 esac
  21539 fi
  21540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
  21541 printf "%s\n" "$ac_cv_c_inline" >&6; }
  21542 
  21543 case $ac_cv_c_inline in
  21544   inline | yes) ;;
  21545   *)
  21546     case $ac_cv_c_inline in
  21547       no) ac_val=;;
  21548       *) ac_val=$ac_cv_c_inline;;
  21549     esac
  21550     cat >>confdefs.h <<_ACEOF
  21551 #ifndef __cplusplus
  21552 #define inline $ac_val
  21553 #endif
  21554 _ACEOF
  21555     ;;
  21556 esac
  21557 
  21558 case $host_cpu in #(
  21559   i?86|amd64|x86_64) :
  21560     ac_cv_c_bigendian=no
  21561  ;; #(
  21562   *) :
  21563      ;;
  21564 esac
  21565  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
  21566 printf %s "checking whether byte ordering is bigendian... " >&6; }
  21567 if test ${ac_cv_c_bigendian+y}
  21568 then :
  21569   printf %s "(cached) " >&6
  21570 else case e in #(
  21571   e) ac_cv_c_bigendian=unknown
  21572     # See if we're dealing with a universal compiler.
  21573     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21574 /* end confdefs.h.  */
  21575 #ifndef __APPLE_CC__
  21576 	       not a universal capable compiler
  21577 	     #endif
  21578 	     typedef int dummy;
  21579 
  21580 _ACEOF
  21581 if ac_fn_c_try_compile "$LINENO"
  21582 then :
  21583 
  21584 	# Check for potential -arch flags.  It is not universal unless
  21585 	# there are at least two -arch flags with different values.
  21586 	ac_arch=
  21587 	ac_prev=
  21588 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
  21589 	 if test -n "$ac_prev"; then
  21590 	   case $ac_word in
  21591 	     i?86 | x86_64 | ppc | ppc64)
  21592 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
  21593 		 ac_arch=$ac_word
  21594 	       else
  21595 		 ac_cv_c_bigendian=universal
  21596 		 break
  21597 	       fi
  21598 	       ;;
  21599 	   esac
  21600 	   ac_prev=
  21601 	 elif test "x$ac_word" = "x-arch"; then
  21602 	   ac_prev=arch
  21603 	 fi
  21604        done
  21605 fi
  21606 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  21607     if test $ac_cv_c_bigendian = unknown; then
  21608       # See if sys/param.h defines the BYTE_ORDER macro.
  21609       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21610 /* end confdefs.h.  */
  21611 #include <sys/types.h>
  21612 	     #include <sys/param.h>
  21613 
  21614 int
  21615 main (void)
  21616 {
  21617 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \\
  21618 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \\
  21619 		     && LITTLE_ENDIAN)
  21620 	      bogus endian macros
  21621 	     #endif
  21622 
  21623   ;
  21624   return 0;
  21625 }
  21626 _ACEOF
  21627 if ac_fn_c_try_compile "$LINENO"
  21628 then :
  21629   # It does; now see whether it defined to BIG_ENDIAN or not.
  21630 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21631 /* end confdefs.h.  */
  21632 #include <sys/types.h>
  21633 		#include <sys/param.h>
  21634 
  21635 int
  21636 main (void)
  21637 {
  21638 #if BYTE_ORDER != BIG_ENDIAN
  21639 		 not big endian
  21640 		#endif
  21641 
  21642   ;
  21643   return 0;
  21644 }
  21645 _ACEOF
  21646 if ac_fn_c_try_compile "$LINENO"
  21647 then :
  21648   ac_cv_c_bigendian=yes
  21649 else case e in #(
  21650   e) ac_cv_c_bigendian=no ;;
  21651 esac
  21652 fi
  21653 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  21654 fi
  21655 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  21656     fi
  21657     if test $ac_cv_c_bigendian = unknown; then
  21658       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
  21659       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21660 /* end confdefs.h.  */
  21661 #include <limits.h>
  21662 
  21663 int
  21664 main (void)
  21665 {
  21666 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
  21667 	      bogus endian macros
  21668 	     #endif
  21669 
  21670   ;
  21671   return 0;
  21672 }
  21673 _ACEOF
  21674 if ac_fn_c_try_compile "$LINENO"
  21675 then :
  21676   # It does; now see whether it defined to _BIG_ENDIAN or not.
  21677 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21678 /* end confdefs.h.  */
  21679 #include <limits.h>
  21680 
  21681 int
  21682 main (void)
  21683 {
  21684 #ifndef _BIG_ENDIAN
  21685 		 not big endian
  21686 		#endif
  21687 
  21688   ;
  21689   return 0;
  21690 }
  21691 _ACEOF
  21692 if ac_fn_c_try_compile "$LINENO"
  21693 then :
  21694   ac_cv_c_bigendian=yes
  21695 else case e in #(
  21696   e) ac_cv_c_bigendian=no ;;
  21697 esac
  21698 fi
  21699 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  21700 fi
  21701 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  21702     fi
  21703     if test $ac_cv_c_bigendian = unknown; then
  21704       # Compile a test program.
  21705       if test "$cross_compiling" = yes
  21706 then :
  21707   # Try to guess by grepping values from an object file.
  21708 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21709 /* end confdefs.h.  */
  21710 unsigned short int ascii_mm[] =
  21711 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  21712 		unsigned short int ascii_ii[] =
  21713 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  21714 		int use_ascii (int i) {
  21715 		  return ascii_mm[i] + ascii_ii[i];
  21716 		}
  21717 		unsigned short int ebcdic_ii[] =
  21718 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  21719 		unsigned short int ebcdic_mm[] =
  21720 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  21721 		int use_ebcdic (int i) {
  21722 		  return ebcdic_mm[i] + ebcdic_ii[i];
  21723 		}
  21724 		int
  21725 		main (int argc, char **argv)
  21726 		{
  21727 		  /* Intimidate the compiler so that it does not
  21728 		     optimize the arrays away.  */
  21729 		  char *p = argv[0];
  21730 		  ascii_mm[1] = *p++; ebcdic_mm[1] = *p++;
  21731 		  ascii_ii[1] = *p++; ebcdic_ii[1] = *p++;
  21732 		  return use_ascii (argc) == use_ebcdic (*p);
  21733 		}
  21734 _ACEOF
  21735 if ac_fn_c_try_link "$LINENO"
  21736 then :
  21737   if grep BIGenDianSyS conftest$ac_exeext >/dev/null; then
  21738 	      ac_cv_c_bigendian=yes
  21739 	    fi
  21740 	    if grep LiTTleEnDian conftest$ac_exeext >/dev/null ; then
  21741 	      if test "$ac_cv_c_bigendian" = unknown; then
  21742 		ac_cv_c_bigendian=no
  21743 	      else
  21744 		# finding both strings is unlikely to happen, but who knows?
  21745 		ac_cv_c_bigendian=unknown
  21746 	      fi
  21747 	    fi
  21748 fi
  21749 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  21750     conftest$ac_exeext conftest.$ac_ext
  21751 else case e in #(
  21752   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21753 /* end confdefs.h.  */
  21754 $ac_includes_default
  21755 int
  21756 main (void)
  21757 {
  21758 
  21759 	     /* Are we little or big endian?  From Harbison&Steele.  */
  21760 	     union
  21761 	     {
  21762 	       long int l;
  21763 	       char c[sizeof (long int)];
  21764 	     } u;
  21765 	     u.l = 1;
  21766 	     return u.c[sizeof (long int) - 1] == 1;
  21767 
  21768   ;
  21769   return 0;
  21770 }
  21771 _ACEOF
  21772 if ac_fn_c_try_run "$LINENO"
  21773 then :
  21774   ac_cv_c_bigendian=no
  21775 else case e in #(
  21776   e) ac_cv_c_bigendian=yes ;;
  21777 esac
  21778 fi
  21779 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  21780   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
  21781 esac
  21782 fi
  21783 
  21784     fi ;;
  21785 esac
  21786 fi
  21787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
  21788 printf "%s\n" "$ac_cv_c_bigendian" >&6; }
  21789  case $ac_cv_c_bigendian in #(
  21790    yes)
  21791 
  21792 printf "%s\n" "#define NATIVE_BIG_ENDIAN 1" >>confdefs.h
  21793 ;; #(
  21794    no)
  21795 
  21796 printf "%s\n" "#define NATIVE_LITTLE_ENDIAN 1" >>confdefs.h
  21797  ;; #(
  21798    universal)
  21799      as_fn_error $? "universal endianness is not supported - compile separately and use lipo(1)" "$LINENO" 5
  21800 
  21801      ;; #(
  21802    *)
  21803      as_fn_error $? "unknown endianness" "$LINENO" 5 ;;
  21804  esac
  21805 
  21806 
  21807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether __STDC_LIMIT_MACROS is required" >&5
  21808 printf %s "checking whether __STDC_LIMIT_MACROS is required... " >&6; }
  21809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21810 /* end confdefs.h.  */
  21811 
  21812 #include <limits.h>
  21813 #include <stdint.h>
  21814 
  21815 int
  21816 main (void)
  21817 {
  21818 
  21819 (void) SIZE_MAX;
  21820 (void) UINT64_MAX;
  21821 
  21822   ;
  21823   return 0;
  21824 }
  21825 _ACEOF
  21826 if ac_fn_c_try_link "$LINENO"
  21827 then :
  21828   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21829 printf "%s\n" "no" >&6; }
  21830 else case e in #(
  21831   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  21832 printf "%s\n" "yes" >&6; }
  21833    CPPFLAGS="$CPPFLAGS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS"
  21834  ;;
  21835 esac
  21836 fi
  21837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  21838     conftest$ac_exeext conftest.$ac_ext
  21839 
  21840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use inline asm code" >&5
  21841 printf %s "checking whether we can use inline asm code... " >&6; }
  21842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21843 /* end confdefs.h.  */
  21844 
  21845 
  21846 int
  21847 main (void)
  21848 {
  21849 
  21850 int a = 42;
  21851 int *pnt = &a;
  21852 __asm__ __volatile__ ("" : : "r"(pnt) : "memory");
  21853 
  21854   ;
  21855   return 0;
  21856 }
  21857 _ACEOF
  21858 if ac_fn_c_try_link "$LINENO"
  21859 then :
  21860   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  21861 printf "%s\n" "yes" >&6; }
  21862 
  21863 printf "%s\n" "#define HAVE_INLINE_ASM 1" >>confdefs.h
  21864 
  21865   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21866 printf "%s\n" "no" >&6; }
  21867 
  21868 fi
  21869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  21870     conftest$ac_exeext conftest.$ac_ext
  21871 
  21872 HAVE_AMD64_ASM_V=0
  21873 if test "$enable_asm" != "no"
  21874 then :
  21875 
  21876   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use x86_64 asm code" >&5
  21877 printf %s "checking whether we can use x86_64 asm code... " >&6; }
  21878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21879 /* end confdefs.h.  */
  21880 
  21881 
  21882 int
  21883 main (void)
  21884 {
  21885 
  21886 #if defined(__amd64) || defined(__amd64__) || defined(__x86_64__)
  21887 # if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__MINGW64__) || defined(_WIN32) || defined(_WIN64)
  21888 #  error Windows x86_64 calling conventions are not supported yet
  21889 # endif
  21890 /* neat */
  21891 #else
  21892 # error !x86_64
  21893 #endif
  21894 unsigned char i = 0, o = 0, t;
  21895 __asm__ __volatile__ ("pxor %%xmm12, %%xmm6 \n"
  21896                       "movb (%[i]), %[t] \n"
  21897                       "addb %[t], (%[o]) \n"
  21898                       : [t] "=&r"(t)
  21899                       : [o] "D"(&o), [i] "S"(&i)
  21900                       : "memory", "flags", "cc");
  21901 
  21902   ;
  21903   return 0;
  21904 }
  21905 _ACEOF
  21906 if ac_fn_c_try_link "$LINENO"
  21907 then :
  21908   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  21909 printf "%s\n" "yes" >&6; }
  21910 
  21911 printf "%s\n" "#define HAVE_AMD64_ASM 1" >>confdefs.h
  21912 
  21913    HAVE_AMD64_ASM_V=1
  21914 else case e in #(
  21915   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21916 printf "%s\n" "no" >&6; } ;;
  21917 esac
  21918 fi
  21919 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  21920     conftest$ac_exeext conftest.$ac_ext
  21921 
  21922 fi
  21923  if test $HAVE_AMD64_ASM_V = 1; then
  21924   HAVE_AMD64_ASM_TRUE=
  21925   HAVE_AMD64_ASM_FALSE='#'
  21926 else
  21927   HAVE_AMD64_ASM_TRUE='#'
  21928   HAVE_AMD64_ASM_FALSE=
  21929 fi
  21930 
  21931 
  21932 
  21933 HAVE_AVX_ASM_V=0
  21934 if test "$enable_asm" != "no"
  21935 then :
  21936 
  21937   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can assemble AVX opcodes" >&5
  21938 printf %s "checking whether we can assemble AVX opcodes... " >&6; }
  21939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21940 /* end confdefs.h.  */
  21941 
  21942 
  21943 int
  21944 main (void)
  21945 {
  21946 
  21947 #if defined(__amd64) || defined(__amd64__) || defined(__x86_64__)
  21948 # if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__MINGW64__) || defined(_WIN32) || defined(_WIN64)
  21949 #  error Windows x86_64 calling conventions are not supported yet
  21950 # endif
  21951 /* neat */
  21952 #else
  21953 # error !x86_64
  21954 #endif
  21955 __asm__ __volatile__ ("vpunpcklqdq %xmm0,%xmm13,%xmm0");
  21956 
  21957   ;
  21958   return 0;
  21959 }
  21960 _ACEOF
  21961 if ac_fn_c_try_link "$LINENO"
  21962 then :
  21963   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  21964 printf "%s\n" "yes" >&6; }
  21965 
  21966 printf "%s\n" "#define HAVE_AVX_ASM 1" >>confdefs.h
  21967 
  21968    HAVE_AVX_ASM_V=1
  21969 else case e in #(
  21970   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21971 printf "%s\n" "no" >&6; } ;;
  21972 esac
  21973 fi
  21974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  21975     conftest$ac_exeext conftest.$ac_ext
  21976 
  21977 fi
  21978  if test $HAVE_AVX_ASM_V = 1; then
  21979   HAVE_AVX_ASM_TRUE=
  21980   HAVE_AVX_ASM_FALSE='#'
  21981 else
  21982   HAVE_AVX_ASM_TRUE='#'
  21983   HAVE_AVX_ASM_FALSE=
  21984 fi
  21985 
  21986 
  21987 
  21988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 128-bit arithmetic" >&5
  21989 printf %s "checking for 128-bit arithmetic... " >&6; }
  21990 HAVE_TI_MODE_V=0
  21991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21992 /* end confdefs.h.  */
  21993 
  21994 #if !defined(__clang__) && !defined(__GNUC__) && !defined(__SIZEOF_INT128__)
  21995 # error mode(TI) is a gcc extension, and __int128 is not available
  21996 #endif
  21997 #if defined(__clang__) && !defined(__x86_64__) && !defined(__aarch64__)
  21998 # error clang does not properly handle the 128-bit type on 32-bit systems
  21999 #endif
  22000 #ifndef NATIVE_LITTLE_ENDIAN
  22001 # error libsodium currently expects a little endian CPU for the 128-bit type
  22002 #endif
  22003 #ifdef __EMSCRIPTEN__
  22004 # error emscripten currently doesn't support some operations on integers larger than 64 bits
  22005 #endif
  22006 #include <stddef.h>
  22007 #include <stdint.h>
  22008 #if defined(__SIZEOF_INT128__)
  22009 typedef unsigned __int128 uint128_t;
  22010 #else
  22011 typedef unsigned uint128_t __attribute__((mode(TI)));
  22012 #endif
  22013 void fcontract(uint128_t *t) {
  22014   *t += 0x8000000000000 - 1;
  22015   *t *= *t;
  22016   *t >>= 84;
  22017 }
  22018 
  22019 int
  22020 main (void)
  22021 {
  22022 
  22023 (void) fcontract;
  22024 
  22025   ;
  22026   return 0;
  22027 }
  22028 _ACEOF
  22029 if ac_fn_c_try_compile "$LINENO"
  22030 then :
  22031   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  22032 printf "%s\n" "yes" >&6; }
  22033 
  22034 printf "%s\n" "#define HAVE_TI_MODE 1" >>confdefs.h
  22035 
  22036  HAVE_TI_MODE_V=1
  22037 else case e in #(
  22038   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22039 printf "%s\n" "no" >&6; } ;;
  22040 esac
  22041 fi
  22042 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  22043  if test $HAVE_TI_MODE_V = 1; then
  22044   HAVE_TI_MODE_TRUE=
  22045   HAVE_TI_MODE_FALSE='#'
  22046 else
  22047   HAVE_TI_MODE_TRUE='#'
  22048   HAVE_TI_MODE_FALSE=
  22049 fi
  22050 
  22051 
  22052 
  22053 HAVE_CPUID_V=0
  22054 if test "$enable_asm" != "no"
  22055 then :
  22056 
  22057   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cpuid instruction" >&5
  22058 printf %s "checking for cpuid instruction... " >&6; }
  22059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22060 /* end confdefs.h.  */
  22061 
  22062 int
  22063 main (void)
  22064 {
  22065 
  22066 unsigned int cpu_info[4];
  22067 __asm__ __volatile__ ("xchgl %%ebx, %k1; cpuid; xchgl %%ebx, %k1" :
  22068                       "=a" (cpu_info[0]), "=&r" (cpu_info[1]),
  22069                       "=c" (cpu_info[2]), "=d" (cpu_info[3]) :
  22070                       "0" (0U), "2" (0U));
  22071 
  22072   ;
  22073   return 0;
  22074 }
  22075 _ACEOF
  22076 if ac_fn_c_try_link "$LINENO"
  22077 then :
  22078   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  22079 printf "%s\n" "yes" >&6; }
  22080 
  22081 printf "%s\n" "#define HAVE_CPUID 1" >>confdefs.h
  22082 
  22083    HAVE_CPUID_V=1
  22084 else case e in #(
  22085   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22086 printf "%s\n" "no" >&6; } ;;
  22087 esac
  22088 fi
  22089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  22090     conftest$ac_exeext conftest.$ac_ext
  22091 
  22092 fi
  22093 
  22094 
  22095 asm_hide_symbol="unsupported"
  22096 if test "$enable_asm" != "no"
  22097 then :
  22098 
  22099   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the .private_extern asm directive is supported" >&5
  22100 printf %s "checking if the .private_extern asm directive is supported... " >&6; }
  22101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22102 /* end confdefs.h.  */
  22103 
  22104 int
  22105 main (void)
  22106 {
  22107 
  22108 __asm__ __volatile__ (".private_extern dummy_symbol \n"
  22109                       ".private_extern _dummy_symbol \n"
  22110                       ".globl dummy_symbol \n"
  22111                       ".globl _dummy_symbol \n"
  22112                       "dummy_symbol: \n"
  22113                       "_dummy_symbol: \n"
  22114                       "    nop \n"
  22115 );
  22116 
  22117   ;
  22118   return 0;
  22119 }
  22120 _ACEOF
  22121 if ac_fn_c_try_link "$LINENO"
  22122 then :
  22123   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  22124 printf "%s\n" "yes" >&6; }
  22125    asm_hide_symbol=".private_extern"
  22126 else case e in #(
  22127   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22128 printf "%s\n" "no" >&6; } ;;
  22129 esac
  22130 fi
  22131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  22132     conftest$ac_exeext conftest.$ac_ext
  22133 
  22134   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the .hidden asm directive is supported" >&5
  22135 printf %s "checking if the .hidden asm directive is supported... " >&6; }
  22136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22137 /* end confdefs.h.  */
  22138 
  22139 int
  22140 main (void)
  22141 {
  22142 
  22143 __asm__ __volatile__ (".hidden dummy_symbol \n"
  22144                       ".hidden _dummy_symbol \n"
  22145                       ".globl dummy_symbol \n"
  22146                       ".globl _dummy_symbol \n"
  22147                       "dummy_symbol: \n"
  22148                       "_dummy_symbol: \n"
  22149                       "    nop \n"
  22150 );
  22151 
  22152   ;
  22153   return 0;
  22154 }
  22155 _ACEOF
  22156 if ac_fn_c_try_link "$LINENO"
  22157 then :
  22158   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  22159 printf "%s\n" "yes" >&6; }
  22160    if test "$asm_hide_symbol" = "unsupported"
  22161 then :
  22162   asm_hide_symbol=".hidden"
  22163 else case e in #(
  22164   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: unable to reliably tag symbols as private" >&5
  22165 printf "%s\n" "$as_me: unable to reliably tag symbols as private" >&6;}
  22166            asm_hide_symbol="unsupported" ;;
  22167 esac
  22168 fi
  22169 
  22170 else case e in #(
  22171   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22172 printf "%s\n" "no" >&6; } ;;
  22173 esac
  22174 fi
  22175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  22176     conftest$ac_exeext conftest.$ac_ext
  22177 
  22178   if test "$asm_hide_symbol" != "unsupported"
  22179 then :
  22180 
  22181 
  22182 printf "%s\n" "#define ASM_HIDE_SYMBOL $asm_hide_symbol" >>confdefs.h
  22183 
  22184 
  22185 fi
  22186 
  22187 fi
  22188 
  22189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if weak symbols are supported" >&5
  22190 printf %s "checking if weak symbols are supported... " >&6; }
  22191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22192 /* end confdefs.h.  */
  22193 
  22194 #if !defined(__ELF__) && !defined(__APPLE_CC__)
  22195 # error Support for weak symbols may not be available
  22196 #endif
  22197 __attribute__((weak)) void __dummy(void *x) { }
  22198 void f(void *x) { __dummy(x); }
  22199 
  22200 int
  22201 main (void)
  22202 {
  22203 
  22204 
  22205   ;
  22206   return 0;
  22207 }
  22208 _ACEOF
  22209 if ac_fn_c_try_link "$LINENO"
  22210 then :
  22211   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  22212 printf "%s\n" "yes" >&6; }
  22213 
  22214 printf "%s\n" "#define HAVE_WEAK_SYMBOLS 1" >>confdefs.h
  22215 
  22216 else case e in #(
  22217   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22218 printf "%s\n" "no" >&6; } ;;
  22219 esac
  22220 fi
  22221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  22222     conftest$ac_exeext conftest.$ac_ext
  22223 
  22224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if atomic operations are supported" >&5
  22225 printf %s "checking if atomic operations are supported... " >&6; }
  22226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22227 /* end confdefs.h.  */
  22228 
  22229 int
  22230 main (void)
  22231 {
  22232 
  22233 static volatile int _sodium_lock;
  22234 __sync_lock_test_and_set(&_sodium_lock, 1);
  22235 __sync_lock_release(&_sodium_lock);
  22236 
  22237 
  22238   ;
  22239   return 0;
  22240 }
  22241 _ACEOF
  22242 if ac_fn_c_try_link "$LINENO"
  22243 then :
  22244   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  22245 printf "%s\n" "yes" >&6; }
  22246 
  22247 printf "%s\n" "#define HAVE_ATOMIC_OPS 1" >>confdefs.h
  22248 
  22249 else case e in #(
  22250   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22251 printf "%s\n" "no" >&6; } ;;
  22252 esac
  22253 fi
  22254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  22255     conftest$ac_exeext conftest.$ac_ext
  22256 
  22257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if C11 memory fences are supported" >&5
  22258 printf %s "checking if C11 memory fences are supported... " >&6; }
  22259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22260 /* end confdefs.h.  */
  22261 
  22262 #include <stdatomic.h>
  22263 
  22264 int
  22265 main (void)
  22266 {
  22267 
  22268 atomic_thread_fence(memory_order_acquire);
  22269 
  22270 
  22271   ;
  22272   return 0;
  22273 }
  22274 _ACEOF
  22275 if ac_fn_c_try_link "$LINENO"
  22276 then :
  22277   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  22278 printf "%s\n" "yes" >&6; }
  22279 
  22280 printf "%s\n" "#define HAVE_C11_MEMORY_FENCES 1" >>confdefs.h
  22281 
  22282 else case e in #(
  22283   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22284 printf "%s\n" "no" >&6; } ;;
  22285 esac
  22286 fi
  22287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  22288     conftest$ac_exeext conftest.$ac_ext
  22289 
  22290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gcc memory fences are supported" >&5
  22291 printf %s "checking if gcc memory fences are supported... " >&6; }
  22292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22293 /* end confdefs.h.  */
  22294 
  22295 int
  22296 main (void)
  22297 {
  22298 
  22299 __atomic_thread_fence(__ATOMIC_ACQUIRE);
  22300 
  22301 
  22302   ;
  22303   return 0;
  22304 }
  22305 _ACEOF
  22306 if ac_fn_c_try_link "$LINENO"
  22307 then :
  22308   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  22309 printf "%s\n" "yes" >&6; }
  22310 
  22311 printf "%s\n" "#define HAVE_GCC_MEMORY_FENCES 1" >>confdefs.h
  22312 
  22313 else case e in #(
  22314   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22315 printf "%s\n" "no" >&6; } ;;
  22316 esac
  22317 fi
  22318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  22319     conftest$ac_exeext conftest.$ac_ext
  22320 
  22321 
  22322 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  22323 if test "x$ac_cv_type_size_t" = xyes
  22324 then :
  22325 
  22326 else case e in #(
  22327   e)
  22328 printf "%s\n" "#define size_t unsigned int" >>confdefs.h
  22329  ;;
  22330 esac
  22331 fi
  22332 
  22333 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  22334 # for constant arguments.  Useless!
  22335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
  22336 printf %s "checking for working alloca.h... " >&6; }
  22337 if test ${ac_cv_working_alloca_h+y}
  22338 then :
  22339   printf %s "(cached) " >&6
  22340 else case e in #(
  22341   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22342 /* end confdefs.h.  */
  22343 #include <alloca.h>
  22344 int
  22345 main (void)
  22346 {
  22347 char *p = (char *) alloca (2 * sizeof (int));
  22348 			  if (p) return 0;
  22349   ;
  22350   return 0;
  22351 }
  22352 _ACEOF
  22353 if ac_fn_c_try_link "$LINENO"
  22354 then :
  22355   ac_cv_working_alloca_h=yes
  22356 else case e in #(
  22357   e) ac_cv_working_alloca_h=no ;;
  22358 esac
  22359 fi
  22360 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  22361     conftest$ac_exeext conftest.$ac_ext ;;
  22362 esac
  22363 fi
  22364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
  22365 printf "%s\n" "$ac_cv_working_alloca_h" >&6; }
  22366 if test $ac_cv_working_alloca_h = yes; then
  22367 
  22368 printf "%s\n" "#define HAVE_ALLOCA_H 1" >>confdefs.h
  22369 
  22370 fi
  22371 
  22372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
  22373 printf %s "checking for alloca... " >&6; }
  22374 if test ${ac_cv_func_alloca_works+y}
  22375 then :
  22376   printf %s "(cached) " >&6
  22377 else case e in #(
  22378   e) ac_cv_func_alloca_works=$ac_cv_working_alloca_h
  22379 if test "$ac_cv_func_alloca_works" != yes
  22380 then :
  22381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22382 /* end confdefs.h.  */
  22383 #include <stdlib.h>
  22384 #include <stddef.h>
  22385 #ifndef alloca
  22386 # ifdef __GNUC__
  22387 #  define alloca __builtin_alloca
  22388 # elif defined _MSC_VER
  22389 #  include <malloc.h>
  22390 #  define alloca _alloca
  22391 # else
  22392 #  ifdef  __cplusplus
  22393 extern "C"
  22394 #  endif
  22395 void *alloca (size_t);
  22396 # endif
  22397 #endif
  22398 
  22399 int
  22400 main (void)
  22401 {
  22402 char *p = (char *) alloca (1);
  22403 				    if (p) return 0;
  22404   ;
  22405   return 0;
  22406 }
  22407 _ACEOF
  22408 if ac_fn_c_try_link "$LINENO"
  22409 then :
  22410   ac_cv_func_alloca_works=yes
  22411 fi
  22412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  22413     conftest$ac_exeext conftest.$ac_ext
  22414 fi ;;
  22415 esac
  22416 fi
  22417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
  22418 printf "%s\n" "$ac_cv_func_alloca_works" >&6; }
  22419 
  22420 if test $ac_cv_func_alloca_works = yes; then
  22421 
  22422 printf "%s\n" "#define HAVE_ALLOCA 1" >>confdefs.h
  22423 
  22424 else
  22425   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  22426 # that cause trouble.  Some versions do not even contain alloca or
  22427 # contain a buggy version.  If you still want to use their alloca,
  22428 # use ar to extract alloca.o from them instead of compiling alloca.c.
  22429 
  22430 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
  22431 
  22432 printf "%s\n" "#define C_ALLOCA 1" >>confdefs.h
  22433 
  22434 
  22435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
  22436 printf %s "checking stack direction for C alloca... " >&6; }
  22437 if test ${ac_cv_c_stack_direction+y}
  22438 then :
  22439   printf %s "(cached) " >&6
  22440 else case e in #(
  22441   e) if test "$cross_compiling" = yes
  22442 then :
  22443   ac_cv_c_stack_direction=0
  22444 else case e in #(
  22445   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22446 /* end confdefs.h.  */
  22447 $ac_includes_default
  22448 int
  22449 find_stack_direction (int *addr, int depth)
  22450 {
  22451   int dir, dummy = 0;
  22452   if (! addr)
  22453     addr = &dummy;
  22454   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
  22455   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
  22456   return dir + dummy;
  22457 }
  22458 
  22459 int
  22460 main (int argc, char **argv)
  22461 {
  22462   return find_stack_direction (0, argc + !argv + 20) < 0;
  22463 }
  22464 _ACEOF
  22465 if ac_fn_c_try_run "$LINENO"
  22466 then :
  22467   ac_cv_c_stack_direction=1
  22468 else case e in #(
  22469   e) ac_cv_c_stack_direction=-1 ;;
  22470 esac
  22471 fi
  22472 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  22473   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
  22474 esac
  22475 fi
  22476  ;;
  22477 esac
  22478 fi
  22479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
  22480 printf "%s\n" "$ac_cv_c_stack_direction" >&6; }
  22481 printf "%s\n" "#define STACK_DIRECTION $ac_cv_c_stack_direction" >>confdefs.h
  22482 
  22483 
  22484 fi
  22485 
  22486 if test "x$EMSCRIPTEN" = "x"
  22487 then :
  22488 
  22489   ac_fn_c_check_func "$LINENO" "arc4random" "ac_cv_func_arc4random"
  22490 if test "x$ac_cv_func_arc4random" = xyes
  22491 then :
  22492   printf "%s\n" "#define HAVE_ARC4RANDOM 1" >>confdefs.h
  22493 
  22494 fi
  22495 ac_fn_c_check_func "$LINENO" "arc4random_buf" "ac_cv_func_arc4random_buf"
  22496 if test "x$ac_cv_func_arc4random_buf" = xyes
  22497 then :
  22498   printf "%s\n" "#define HAVE_ARC4RANDOM_BUF 1" >>confdefs.h
  22499 
  22500 fi
  22501 
  22502   if test "x$WASI" = "x"
  22503 then :
  22504 
  22505     ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
  22506 if test "x$ac_cv_func_mmap" = xyes
  22507 then :
  22508   printf "%s\n" "#define HAVE_MMAP 1" >>confdefs.h
  22509 
  22510 fi
  22511 ac_fn_c_check_func "$LINENO" "mlock" "ac_cv_func_mlock"
  22512 if test "x$ac_cv_func_mlock" = xyes
  22513 then :
  22514   printf "%s\n" "#define HAVE_MLOCK 1" >>confdefs.h
  22515 
  22516 fi
  22517 ac_fn_c_check_func "$LINENO" "madvise" "ac_cv_func_madvise"
  22518 if test "x$ac_cv_func_madvise" = xyes
  22519 then :
  22520   printf "%s\n" "#define HAVE_MADVISE 1" >>confdefs.h
  22521 
  22522 fi
  22523 ac_fn_c_check_func "$LINENO" "mprotect" "ac_cv_func_mprotect"
  22524 if test "x$ac_cv_func_mprotect" = xyes
  22525 then :
  22526   printf "%s\n" "#define HAVE_MPROTECT 1" >>confdefs.h
  22527 
  22528 fi
  22529 
  22530     ac_fn_c_check_func "$LINENO" "raise" "ac_cv_func_raise"
  22531 if test "x$ac_cv_func_raise" = xyes
  22532 then :
  22533   printf "%s\n" "#define HAVE_RAISE 1" >>confdefs.h
  22534 
  22535 fi
  22536 
  22537     ac_fn_c_check_func "$LINENO" "sysconf" "ac_cv_func_sysconf"
  22538 if test "x$ac_cv_func_sysconf" = xyes
  22539 then :
  22540   printf "%s\n" "#define HAVE_SYSCONF 1" >>confdefs.h
  22541 
  22542 fi
  22543 
  22544 
  22545 fi
  22546   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getrandom with a standard API" >&5
  22547 printf %s "checking for getrandom with a standard API... " >&6; }
  22548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22549 /* end confdefs.h.  */
  22550 
  22551 #include <stdlib.h>
  22552 #ifdef HAVE_UNISTD_H
  22553 # include <unistd.h>
  22554 #endif
  22555 #ifdef HAVE_SYS_RANDOM_H
  22556 # include <sys/random.h>
  22557 #endif
  22558 
  22559 int
  22560 main (void)
  22561 {
  22562 
  22563 unsigned char buf;
  22564 if (&getrandom != NULL) {
  22565   (void) getrandom((void *) &buf, 1U, 0U);
  22566 }
  22567 
  22568   ;
  22569   return 0;
  22570 }
  22571 _ACEOF
  22572 if ac_fn_c_try_link "$LINENO"
  22573 then :
  22574   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  22575 printf "%s\n" "yes" >&6; }
  22576    ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
  22577 if test "x$ac_cv_func_getrandom" = xyes
  22578 then :
  22579   printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
  22580 
  22581 fi
  22582 
  22583 else case e in #(
  22584   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22585 printf "%s\n" "no" >&6; }
  22586    ;;
  22587 esac
  22588 fi
  22589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  22590     conftest$ac_exeext conftest.$ac_ext
  22591 
  22592   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getentropy with a standard API" >&5
  22593 printf %s "checking for getentropy with a standard API... " >&6; }
  22594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22595 /* end confdefs.h.  */
  22596 
  22597 #include <stdlib.h>
  22598 #ifdef HAVE_UNISTD_H
  22599 # include <unistd.h>
  22600 #endif
  22601 #ifdef HAVE_SYS_RANDOM_H
  22602 # include <sys/random.h>
  22603 #endif
  22604 
  22605 int
  22606 main (void)
  22607 {
  22608 
  22609 unsigned char buf;
  22610 if (&getentropy != NULL) {
  22611   (void) getentropy((void *) &buf, 1U);
  22612 }
  22613 
  22614   ;
  22615   return 0;
  22616 }
  22617 _ACEOF
  22618 if ac_fn_c_try_link "$LINENO"
  22619 then :
  22620   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  22621 printf "%s\n" "yes" >&6; }
  22622    ac_fn_c_check_func "$LINENO" "getentropy" "ac_cv_func_getentropy"
  22623 if test "x$ac_cv_func_getentropy" = xyes
  22624 then :
  22625   printf "%s\n" "#define HAVE_GETENTROPY 1" >>confdefs.h
  22626 
  22627 fi
  22628 
  22629 else case e in #(
  22630   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22631 printf "%s\n" "no" >&6; }
  22632    ;;
  22633 esac
  22634 fi
  22635 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  22636     conftest$ac_exeext conftest.$ac_ext
  22637 
  22638 fi
  22639 
  22640 if test "x$WASI" = "x"
  22641 then :
  22642 
  22643   ac_fn_c_check_func "$LINENO" "getpid" "ac_cv_func_getpid"
  22644 if test "x$ac_cv_func_getpid" = xyes
  22645 then :
  22646   printf "%s\n" "#define HAVE_GETPID 1" >>confdefs.h
  22647 
  22648 fi
  22649 
  22650   ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
  22651 if test "x$ac_cv_func_getauxval" = xyes
  22652 then :
  22653   printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
  22654 
  22655 fi
  22656 ac_fn_c_check_func "$LINENO" "elf_aux_info" "ac_cv_func_elf_aux_info"
  22657 if test "x$ac_cv_func_elf_aux_info" = xyes
  22658 then :
  22659   printf "%s\n" "#define HAVE_ELF_AUX_INFO 1" >>confdefs.h
  22660 
  22661 fi
  22662 
  22663 
  22664 fi
  22665 
  22666 ac_fn_c_check_func "$LINENO" "posix_memalign" "ac_cv_func_posix_memalign"
  22667 if test "x$ac_cv_func_posix_memalign" = xyes
  22668 then :
  22669   printf "%s\n" "#define HAVE_POSIX_MEMALIGN 1" >>confdefs.h
  22670 
  22671 fi
  22672 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
  22673 if test "x$ac_cv_func_nanosleep" = xyes
  22674 then :
  22675   printf "%s\n" "#define HAVE_NANOSLEEP 1" >>confdefs.h
  22676 
  22677 fi
  22678 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
  22679 if test "x$ac_cv_func_clock_gettime" = xyes
  22680 then :
  22681   printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
  22682 
  22683 fi
  22684 
  22685 
  22686 if test "x$WASI" = "x"
  22687 then :
  22688 
  22689   ac_fn_c_check_func "$LINENO" "memset_s" "ac_cv_func_memset_s"
  22690 if test "x$ac_cv_func_memset_s" = xyes
  22691 then :
  22692   printf "%s\n" "#define HAVE_MEMSET_S 1" >>confdefs.h
  22693 
  22694 fi
  22695 ac_fn_c_check_func "$LINENO" "explicit_bzero" "ac_cv_func_explicit_bzero"
  22696 if test "x$ac_cv_func_explicit_bzero" = xyes
  22697 then :
  22698   printf "%s\n" "#define HAVE_EXPLICIT_BZERO 1" >>confdefs.h
  22699 
  22700 fi
  22701 ac_fn_c_check_func "$LINENO" "memset_explicit" "ac_cv_func_memset_explicit"
  22702 if test "x$ac_cv_func_memset_explicit" = xyes
  22703 then :
  22704   printf "%s\n" "#define HAVE_MEMSET_EXPLICIT 1" >>confdefs.h
  22705 
  22706 fi
  22707 ac_fn_c_check_func "$LINENO" "explicit_memset" "ac_cv_func_explicit_memset"
  22708 if test "x$ac_cv_func_explicit_memset" = xyes
  22709 then :
  22710   printf "%s\n" "#define HAVE_EXPLICIT_MEMSET 1" >>confdefs.h
  22711 
  22712 fi
  22713 
  22714 
  22715 fi
  22716 
  22717 
  22718 
  22719 TEST_LDFLAGS=''
  22720 if test "x$EMSCRIPTEN" != "x"
  22721 then :
  22722 
  22723   EXEEXT=.js
  22724   TEST_LDFLAGS='--pre-js pre.js.inc -s RESERVED_FUNCTION_POINTERS=8'
  22725 
  22726 fi
  22727 
  22728  if test "x$EMSCRIPTEN" != "x"; then
  22729   EMSCRIPTEN_TRUE=
  22730   EMSCRIPTEN_FALSE='#'
  22731 else
  22732   EMSCRIPTEN_TRUE='#'
  22733   EMSCRIPTEN_FALSE=
  22734 fi
  22735 
  22736  if test "x$WASI" != "x"; then
  22737   WASI_TRUE=
  22738   WASI_FALSE='#'
  22739 else
  22740   WASI_TRUE='#'
  22741   WASI_FALSE=
  22742 fi
  22743 
  22744 
  22745 
  22746 printf "%s\n" "#define CONFIGURED 1" >>confdefs.h
  22747 
  22748 
  22749 
  22750 
  22751 
  22752   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gcc/ld supports -Wl,--output-def" >&5
  22753 printf %s "checking if gcc/ld supports -Wl,--output-def... " >&6; }
  22754 if test ${gl_cv_ld_output_def+y}
  22755 then :
  22756   printf %s "(cached) " >&6
  22757 else case e in #(
  22758   e) if test "$enable_shared" = no; then
  22759        gl_cv_ld_output_def="not needed, shared libraries are disabled"
  22760      else
  22761        gl_ldflags_save=$LDFLAGS
  22762        LDFLAGS="-Wl,--output-def,conftest.def"
  22763        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22764 /* end confdefs.h.  */
  22765 
  22766 int
  22767 main (void)
  22768 {
  22769 
  22770   ;
  22771   return 0;
  22772 }
  22773 _ACEOF
  22774 if ac_fn_c_try_link "$LINENO"
  22775 then :
  22776   gl_cv_ld_output_def=yes
  22777 else case e in #(
  22778   e) gl_cv_ld_output_def=no ;;
  22779 esac
  22780 fi
  22781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
  22782     conftest$ac_exeext conftest.$ac_ext
  22783        rm -f conftest.def
  22784        LDFLAGS="$gl_ldflags_save"
  22785      fi ;;
  22786 esac
  22787 fi
  22788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_ld_output_def" >&5
  22789 printf "%s\n" "$gl_cv_ld_output_def" >&6; }
  22790    if test "x$gl_cv_ld_output_def" = "xyes"; then
  22791   HAVE_LD_OUTPUT_DEF_TRUE=
  22792   HAVE_LD_OUTPUT_DEF_FALSE='#'
  22793 else
  22794   HAVE_LD_OUTPUT_DEF_TRUE='#'
  22795   HAVE_LD_OUTPUT_DEF_FALSE=
  22796 fi
  22797 
  22798 
  22799 
  22800 
  22801 
  22802 
  22803 if test "x$ENABLE_CWFLAGS" = "xyes"
  22804 then :
  22805 
  22806   CFLAGS="$CFLAGS $CWFLAGS"
  22807 
  22808 fi
  22809 
  22810 ac_config_files="$ac_config_files Makefile builds/Makefile contrib/Makefile dist-build/Makefile libsodium.pc libsodium-uninstalled.pc src/Makefile src/libsodium/Makefile src/libsodium/include/Makefile src/libsodium/include/sodium/version.h test/default/Makefile test/Makefile"
  22811 
  22812 cat >confcache <<\_ACEOF
  22813 # This file is a shell script that caches the results of configure
  22814 # tests run on this system so they can be shared between configure
  22815 # scripts and configure runs, see configure's option --config-cache.
  22816 # It is not useful on other systems.  If it contains results you don't
  22817 # want to keep, you may remove or edit it.
  22818 #
  22819 # config.status only pays attention to the cache file if you give it
  22820 # the --recheck option to rerun configure.
  22821 #
  22822 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
  22823 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
  22824 # following values.
  22825 
  22826 _ACEOF
  22827 
  22828 # The following way of writing the cache mishandles newlines in values,
  22829 # but we know of no workaround that is simple, portable, and efficient.
  22830 # So, we kill variables containing newlines.
  22831 # Ultrix sh set writes to stderr and can't be redirected directly,
  22832 # and sets the high bit in the cache file unless we assign to the vars.
  22833 (
  22834   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  22835     eval ac_val=\$$ac_var
  22836     case $ac_val in #(
  22837     *${as_nl}*)
  22838       case $ac_var in #(
  22839       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  22840 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  22841       esac
  22842       case $ac_var in #(
  22843       _ | IFS | as_nl) ;; #(
  22844       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  22845       *) { eval $ac_var=; unset $ac_var;} ;;
  22846       esac ;;
  22847     esac
  22848   done
  22849 
  22850   (set) 2>&1 |
  22851     case $as_nl`(ac_space=' '; set) 2>&1` in #(
  22852     *${as_nl}ac_space=\ *)
  22853       # 'set' does not quote correctly, so add quotes: double-quote
  22854       # substitution turns \\\\ into \\, and sed turns \\ into \.
  22855       sed -n \
  22856 	"s/'/'\\\\''/g;
  22857 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  22858       ;; #(
  22859     *)
  22860       # 'set' quotes correctly as required by POSIX, so do not add quotes.
  22861       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  22862       ;;
  22863     esac |
  22864     sort
  22865 ) |
  22866   sed '
  22867      /^ac_cv_env_/b end
  22868      t clear
  22869      :clear
  22870      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
  22871      t end
  22872      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  22873      :end' >>confcache
  22874 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  22875   if test -w "$cache_file"; then
  22876     if test "x$cache_file" != "x/dev/null"; then
  22877       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  22878 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
  22879       if test ! -f "$cache_file" || test -h "$cache_file"; then
  22880 	cat confcache >"$cache_file"
  22881       else
  22882         case $cache_file in #(
  22883         */* | ?:*)
  22884 	  mv -f confcache "$cache_file"$$ &&
  22885 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
  22886         *)
  22887 	  mv -f confcache "$cache_file" ;;
  22888 	esac
  22889       fi
  22890     fi
  22891   else
  22892     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  22893 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
  22894   fi
  22895 fi
  22896 rm -f confcache
  22897 
  22898 test "x$prefix" = xNONE && prefix=$ac_default_prefix
  22899 # Let make expand exec_prefix.
  22900 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  22901 
  22902 # Transform confdefs.h into DEFS.
  22903 # Protect against shell expansion while executing Makefile rules.
  22904 # Protect against Makefile macro expansion.
  22905 #
  22906 # If the first sed substitution is executed (which looks for macros that
  22907 # take arguments), then branch to the quote section.  Otherwise,
  22908 # look for a macro that doesn't take arguments.
  22909 ac_script='
  22910 :mline
  22911 /\\$/{
  22912  N
  22913  s,\\\n,,
  22914  b mline
  22915 }
  22916 t clear
  22917 :clear
  22918 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
  22919 t quote
  22920 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
  22921 t quote
  22922 b any
  22923 :quote
  22924 s/[][	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
  22925 s/\$/$$/g
  22926 H
  22927 :any
  22928 ${
  22929 	g
  22930 	s/^\n//
  22931 	s/\n/ /g
  22932 	p
  22933 }
  22934 '
  22935 DEFS=`sed -n "$ac_script" confdefs.h`
  22936 
  22937 
  22938 ac_libobjs=
  22939 ac_ltlibobjs=
  22940 U=
  22941 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  22942   # 1. Remove the extension, and $U if already installed.
  22943   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  22944   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
  22945   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
  22946   #    will be set to the directory where LIBOBJS objects are built.
  22947   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  22948   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  22949 done
  22950 LIBOBJS=$ac_libobjs
  22951 
  22952 LTLIBOBJS=$ac_ltlibobjs
  22953 
  22954 
  22955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  22956 printf %s "checking that generated files are newer than configure... " >&6; }
  22957    if test -n "$am_sleep_pid"; then
  22958      # Hide warnings about reused PIDs.
  22959      wait $am_sleep_pid 2>/dev/null
  22960    fi
  22961    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
  22962 printf "%s\n" "done" >&6; }
  22963 case $enable_silent_rules in # (((
  22964   yes) AM_DEFAULT_VERBOSITY=0;;
  22965    no) AM_DEFAULT_VERBOSITY=1;;
  22966 esac
  22967 if test $am_cv_make_support_nested_variables = yes; then
  22968     AM_V='$(V)'
  22969   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  22970 else
  22971   AM_V=$AM_DEFAULT_VERBOSITY
  22972   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  22973 fi
  22974 
  22975  if test -n "$EXEEXT"; then
  22976   am__EXEEXT_TRUE=
  22977   am__EXEEXT_FALSE='#'
  22978 else
  22979   am__EXEEXT_TRUE='#'
  22980   am__EXEEXT_FALSE=
  22981 fi
  22982 
  22983 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  22984   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
  22985 Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22986 fi
  22987 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  22988   as_fn_error $? "conditional \"AMDEP\" was never defined.
  22989 Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22990 fi
  22991 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  22992   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  22993 Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22994 fi
  22995 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
  22996   as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
  22997 Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22998 fi
  22999 if test -z "${MINIMAL_TRUE}" && test -z "${MINIMAL_FALSE}"; then
  23000   as_fn_error $? "conditional \"MINIMAL\" was never defined.
  23001 Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23002 fi
  23003 if test -z "${VALGRIND_ENABLED_TRUE}" && test -z "${VALGRIND_ENABLED_FALSE}"; then
  23004   as_fn_error $? "conditional \"VALGRIND_ENABLED\" was never defined.
  23005 Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23006 fi
  23007 if test -z "${HAVE_AMD64_ASM_TRUE}" && test -z "${HAVE_AMD64_ASM_FALSE}"; then
  23008   as_fn_error $? "conditional \"HAVE_AMD64_ASM\" was never defined.
  23009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23010 fi
  23011 if test -z "${HAVE_AVX_ASM_TRUE}" && test -z "${HAVE_AVX_ASM_FALSE}"; then
  23012   as_fn_error $? "conditional \"HAVE_AVX_ASM\" was never defined.
  23013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23014 fi
  23015 if test -z "${HAVE_TI_MODE_TRUE}" && test -z "${HAVE_TI_MODE_FALSE}"; then
  23016   as_fn_error $? "conditional \"HAVE_TI_MODE\" was never defined.
  23017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23018 fi
  23019 if test -z "${EMSCRIPTEN_TRUE}" && test -z "${EMSCRIPTEN_FALSE}"; then
  23020   as_fn_error $? "conditional \"EMSCRIPTEN\" was never defined.
  23021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23022 fi
  23023 if test -z "${WASI_TRUE}" && test -z "${WASI_FALSE}"; then
  23024   as_fn_error $? "conditional \"WASI\" was never defined.
  23025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23026 fi
  23027 if test -z "${HAVE_LD_OUTPUT_DEF_TRUE}" && test -z "${HAVE_LD_OUTPUT_DEF_FALSE}"; then
  23028   as_fn_error $? "conditional \"HAVE_LD_OUTPUT_DEF\" was never defined.
  23029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23030 fi
  23031 
  23032 : "${CONFIG_STATUS=./config.status}"
  23033 ac_write_fail=0
  23034 ac_clean_files_save=$ac_clean_files
  23035 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  23036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  23037 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
  23038 as_write_fail=0
  23039 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  23040 #! $SHELL
  23041 # Generated by $as_me.
  23042 # Run this file to recreate the current configuration.
  23043 # Compiler output produced by configure, useful for debugging
  23044 # configure, is in config.log if it exists.
  23045 
  23046 debug=false
  23047 ac_cs_recheck=false
  23048 ac_cs_silent=false
  23049 
  23050 SHELL=\${CONFIG_SHELL-$SHELL}
  23051 export SHELL
  23052 _ASEOF
  23053 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  23054 ## -------------------- ##
  23055 ## M4sh Initialization. ##
  23056 ## -------------------- ##
  23057 
  23058 # Be more Bourne compatible
  23059 DUALCASE=1; export DUALCASE # for MKS sh
  23060 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
  23061 then :
  23062   emulate sh
  23063   NULLCMD=:
  23064   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  23065   # is contrary to our usage.  Disable this feature.
  23066   alias -g '${1+"$@"}'='"$@"'
  23067   setopt NO_GLOB_SUBST
  23068 else case e in #(
  23069   e) case `(set -o) 2>/dev/null` in #(
  23070   *posix*) :
  23071     set -o posix ;; #(
  23072   *) :
  23073      ;;
  23074 esac ;;
  23075 esac
  23076 fi
  23077 
  23078 
  23079 
  23080 # Reset variables that may have inherited troublesome values from
  23081 # the environment.
  23082 
  23083 # IFS needs to be set, to space, tab, and newline, in precisely that order.
  23084 # (If _AS_PATH_WALK were called with IFS unset, it would have the
  23085 # side effect of setting IFS to empty, thus disabling word splitting.)
  23086 # Quoting is to prevent editors from complaining about space-tab.
  23087 as_nl='
  23088 '
  23089 export as_nl
  23090 IFS=" ""	$as_nl"
  23091 
  23092 PS1='$ '
  23093 PS2='> '
  23094 PS4='+ '
  23095 
  23096 # Ensure predictable behavior from utilities with locale-dependent output.
  23097 LC_ALL=C
  23098 export LC_ALL
  23099 LANGUAGE=C
  23100 export LANGUAGE
  23101 
  23102 # We cannot yet rely on "unset" to work, but we need these variables
  23103 # to be unset--not just set to an empty or harmless value--now, to
  23104 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
  23105 # also avoids known problems related to "unset" and subshell syntax
  23106 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
  23107 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
  23108 do eval test \${$as_var+y} \
  23109   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  23110 done
  23111 
  23112 # Ensure that fds 0, 1, and 2 are open.
  23113 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
  23114 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
  23115 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
  23116 
  23117 # The user is always right.
  23118 if ${PATH_SEPARATOR+false} :; then
  23119   PATH_SEPARATOR=:
  23120   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  23121     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  23122       PATH_SEPARATOR=';'
  23123   }
  23124 fi
  23125 
  23126 
  23127 # Find who we are.  Look in the path if we contain no directory separator.
  23128 as_myself=
  23129 case $0 in #((
  23130   *[\\/]* ) as_myself=$0 ;;
  23131   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  23132 for as_dir in $PATH
  23133 do
  23134   IFS=$as_save_IFS
  23135   case $as_dir in #(((
  23136     '') as_dir=./ ;;
  23137     */) ;;
  23138     *) as_dir=$as_dir/ ;;
  23139   esac
  23140     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
  23141   done
  23142 IFS=$as_save_IFS
  23143 
  23144      ;;
  23145 esac
  23146 # We did not find ourselves, most probably we were run as 'sh COMMAND'
  23147 # in which case we are not to be found in the path.
  23148 if test "x$as_myself" = x; then
  23149   as_myself=$0
  23150 fi
  23151 if test ! -f "$as_myself"; then
  23152   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  23153   exit 1
  23154 fi
  23155 
  23156 
  23157 
  23158 # as_fn_error STATUS ERROR [LINENO LOG_FD]
  23159 # ----------------------------------------
  23160 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  23161 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  23162 # script with STATUS, using 1 if that was 0.
  23163 as_fn_error ()
  23164 {
  23165   as_status=$1; test $as_status -eq 0 && as_status=1
  23166   if test "$4"; then
  23167     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  23168     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  23169   fi
  23170   printf "%s\n" "$as_me: error: $2" >&2
  23171   as_fn_exit $as_status
  23172 } # as_fn_error
  23173 
  23174 
  23175 # as_fn_set_status STATUS
  23176 # -----------------------
  23177 # Set $? to STATUS, without forking.
  23178 as_fn_set_status ()
  23179 {
  23180   return $1
  23181 } # as_fn_set_status
  23182 
  23183 # as_fn_exit STATUS
  23184 # -----------------
  23185 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  23186 as_fn_exit ()
  23187 {
  23188   set +e
  23189   as_fn_set_status $1
  23190   exit $1
  23191 } # as_fn_exit
  23192 
  23193 # as_fn_unset VAR
  23194 # ---------------
  23195 # Portably unset VAR.
  23196 as_fn_unset ()
  23197 {
  23198   { eval $1=; unset $1;}
  23199 }
  23200 as_unset=as_fn_unset
  23201 
  23202 # as_fn_append VAR VALUE
  23203 # ----------------------
  23204 # Append the text in VALUE to the end of the definition contained in VAR. Take
  23205 # advantage of any shell optimizations that allow amortized linear growth over
  23206 # repeated appends, instead of the typical quadratic growth present in naive
  23207 # implementations.
  23208 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
  23209 then :
  23210   eval 'as_fn_append ()
  23211   {
  23212     eval $1+=\$2
  23213   }'
  23214 else case e in #(
  23215   e) as_fn_append ()
  23216   {
  23217     eval $1=\$$1\$2
  23218   } ;;
  23219 esac
  23220 fi # as_fn_append
  23221 
  23222 # as_fn_arith ARG...
  23223 # ------------------
  23224 # Perform arithmetic evaluation on the ARGs, and store the result in the
  23225 # global $as_val. Take advantage of shells that can avoid forks. The arguments
  23226 # must be portable across $(()) and expr.
  23227 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
  23228 then :
  23229   eval 'as_fn_arith ()
  23230   {
  23231     as_val=$(( $* ))
  23232   }'
  23233 else case e in #(
  23234   e) as_fn_arith ()
  23235   {
  23236     as_val=`expr "$@" || test $? -eq 1`
  23237   } ;;
  23238 esac
  23239 fi # as_fn_arith
  23240 
  23241 
  23242 if expr a : '\(a\)' >/dev/null 2>&1 &&
  23243    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  23244   as_expr=expr
  23245 else
  23246   as_expr=false
  23247 fi
  23248 
  23249 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  23250   as_basename=basename
  23251 else
  23252   as_basename=false
  23253 fi
  23254 
  23255 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  23256   as_dirname=dirname
  23257 else
  23258   as_dirname=false
  23259 fi
  23260 
  23261 as_me=`$as_basename -- "$0" ||
  23262 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  23263 	 X"$0" : 'X\(//\)$' \| \
  23264 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  23265 printf "%s\n" X/"$0" |
  23266     sed '/^.*\/\([^/][^/]*\)\/*$/{
  23267 	    s//\1/
  23268 	    q
  23269 	  }
  23270 	  /^X\/\(\/\/\)$/{
  23271 	    s//\1/
  23272 	    q
  23273 	  }
  23274 	  /^X\/\(\/\).*/{
  23275 	    s//\1/
  23276 	    q
  23277 	  }
  23278 	  s/.*/./; q'`
  23279 
  23280 # Avoid depending upon Character Ranges.
  23281 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  23282 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  23283 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  23284 as_cr_digits='0123456789'
  23285 as_cr_alnum=$as_cr_Letters$as_cr_digits
  23286 
  23287 
  23288 # Determine whether it's possible to make 'echo' print without a newline.
  23289 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
  23290 # for compatibility with existing Makefiles.
  23291 ECHO_C= ECHO_N= ECHO_T=
  23292 case `echo -n x` in #(((((
  23293 -n*)
  23294   case `echo 'xy\c'` in
  23295   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  23296   xy)  ECHO_C='\c';;
  23297   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  23298        ECHO_T='	';;
  23299   esac;;
  23300 *)
  23301   ECHO_N='-n';;
  23302 esac
  23303 
  23304 # For backward compatibility with old third-party macros, we provide
  23305 # the shell variables $as_echo and $as_echo_n.  New code should use
  23306 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
  23307 as_echo='printf %s\n'
  23308 as_echo_n='printf %s'
  23309 
  23310 rm -f conf$$ conf$$.exe conf$$.file
  23311 if test -d conf$$.dir; then
  23312   rm -f conf$$.dir/conf$$.file
  23313 else
  23314   rm -f conf$$.dir
  23315   mkdir conf$$.dir 2>/dev/null
  23316 fi
  23317 if (echo >conf$$.file) 2>/dev/null; then
  23318   if ln -s conf$$.file conf$$ 2>/dev/null; then
  23319     as_ln_s='ln -s'
  23320     # ... but there are two gotchas:
  23321     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
  23322     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
  23323     # In both cases, we have to default to 'cp -pR'.
  23324     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  23325       as_ln_s='cp -pR'
  23326   elif ln conf$$.file conf$$ 2>/dev/null; then
  23327     as_ln_s=ln
  23328   else
  23329     as_ln_s='cp -pR'
  23330   fi
  23331 else
  23332   as_ln_s='cp -pR'
  23333 fi
  23334 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  23335 rmdir conf$$.dir 2>/dev/null
  23336 
  23337 
  23338 # as_fn_mkdir_p
  23339 # -------------
  23340 # Create "$as_dir" as a directory, including parents if necessary.
  23341 as_fn_mkdir_p ()
  23342 {
  23343 
  23344   case $as_dir in #(
  23345   -*) as_dir=./$as_dir;;
  23346   esac
  23347   test -d "$as_dir" || eval $as_mkdir_p || {
  23348     as_dirs=
  23349     while :; do
  23350       case $as_dir in #(
  23351       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  23352       *) as_qdir=$as_dir;;
  23353       esac
  23354       as_dirs="'$as_qdir' $as_dirs"
  23355       as_dir=`$as_dirname -- "$as_dir" ||
  23356 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  23357 	 X"$as_dir" : 'X\(//\)[^/]' \| \
  23358 	 X"$as_dir" : 'X\(//\)$' \| \
  23359 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  23360 printf "%s\n" X"$as_dir" |
  23361     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  23362 	    s//\1/
  23363 	    q
  23364 	  }
  23365 	  /^X\(\/\/\)[^/].*/{
  23366 	    s//\1/
  23367 	    q
  23368 	  }
  23369 	  /^X\(\/\/\)$/{
  23370 	    s//\1/
  23371 	    q
  23372 	  }
  23373 	  /^X\(\/\).*/{
  23374 	    s//\1/
  23375 	    q
  23376 	  }
  23377 	  s/.*/./; q'`
  23378       test -d "$as_dir" && break
  23379     done
  23380     test -z "$as_dirs" || eval "mkdir $as_dirs"
  23381   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  23382 
  23383 
  23384 } # as_fn_mkdir_p
  23385 if mkdir -p . 2>/dev/null; then
  23386   as_mkdir_p='mkdir -p "$as_dir"'
  23387 else
  23388   test -d ./-p && rmdir ./-p
  23389   as_mkdir_p=false
  23390 fi
  23391 
  23392 
  23393 # as_fn_executable_p FILE
  23394 # -----------------------
  23395 # Test if FILE is an executable regular file.
  23396 as_fn_executable_p ()
  23397 {
  23398   test -f "$1" && test -x "$1"
  23399 } # as_fn_executable_p
  23400 as_test_x='test -x'
  23401 as_executable_p=as_fn_executable_p
  23402 
  23403 # Sed expression to map a string onto a valid CPP name.
  23404 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
  23405 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
  23406 
  23407 # Sed expression to map a string onto a valid variable name.
  23408 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
  23409 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
  23410 
  23411 
  23412 exec 6>&1
  23413 ## ----------------------------------- ##
  23414 ## Main body of $CONFIG_STATUS script. ##
  23415 ## ----------------------------------- ##
  23416 _ASEOF
  23417 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  23418 
  23419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  23420 # Save the log message, to keep $0 and so on meaningful, and to
  23421 # report actual input values of CONFIG_FILES etc. instead of their
  23422 # values after options handling.
  23423 ac_log="
  23424 This file was extended by libsodium $as_me 1.0.20, which was
  23425 generated by GNU Autoconf 2.72.  Invocation command line was
  23426 
  23427   CONFIG_FILES    = $CONFIG_FILES
  23428   CONFIG_HEADERS  = $CONFIG_HEADERS
  23429   CONFIG_LINKS    = $CONFIG_LINKS
  23430   CONFIG_COMMANDS = $CONFIG_COMMANDS
  23431   $ $0 $@
  23432 
  23433 on `(hostname || uname -n) 2>/dev/null | sed 1q`
  23434 "
  23435 
  23436 _ACEOF
  23437 
  23438 case $ac_config_files in *"
  23439 "*) set x $ac_config_files; shift; ac_config_files=$*;;
  23440 esac
  23441 
  23442 
  23443 
  23444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  23445 # Files that config.status was made for.
  23446 config_files="$ac_config_files"
  23447 config_commands="$ac_config_commands"
  23448 
  23449 _ACEOF
  23450 
  23451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  23452 ac_cs_usage="\
  23453 '$as_me' instantiates files and other configuration actions
  23454 from templates according to the current configuration.  Unless the files
  23455 and actions are specified as TAGs, all are instantiated by default.
  23456 
  23457 Usage: $0 [OPTION]... [TAG]...
  23458 
  23459   -h, --help       print this help, then exit
  23460   -V, --version    print version number and configuration settings, then exit
  23461       --config     print configuration, then exit
  23462   -q, --quiet, --silent
  23463                    do not print progress messages
  23464   -d, --debug      don't remove temporary files
  23465       --recheck    update $as_me by reconfiguring in the same conditions
  23466       --file=FILE[:TEMPLATE]
  23467                    instantiate the configuration file FILE
  23468 
  23469 Configuration files:
  23470 $config_files
  23471 
  23472 Configuration commands:
  23473 $config_commands
  23474 
  23475 Report bugs to <https://github.com/jedisct1/libsodium/issues>.
  23476 libsodium home page: <https://libsodium.org>."
  23477 
  23478 _ACEOF
  23479 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
  23480 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
  23481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  23482 ac_cs_config='$ac_cs_config_escaped'
  23483 ac_cs_version="\\
  23484 libsodium config.status 1.0.20
  23485 configured by $0, generated by GNU Autoconf 2.72,
  23486   with options \\"\$ac_cs_config\\"
  23487 
  23488 Copyright (C) 2023 Free Software Foundation, Inc.
  23489 This config.status script is free software; the Free Software Foundation
  23490 gives unlimited permission to copy, distribute and modify it."
  23491 
  23492 ac_pwd='$ac_pwd'
  23493 srcdir='$srcdir'
  23494 INSTALL='$INSTALL'
  23495 MKDIR_P='$MKDIR_P'
  23496 AWK='$AWK'
  23497 test -n "\$AWK" || AWK=awk
  23498 _ACEOF
  23499 
  23500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  23501 # The default lists apply if the user does not specify any file.
  23502 ac_need_defaults=:
  23503 while test $# != 0
  23504 do
  23505   case $1 in
  23506   --*=?*)
  23507     ac_option=`expr "X$1" : 'X\([^=]*\)='`
  23508     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  23509     ac_shift=:
  23510     ;;
  23511   --*=)
  23512     ac_option=`expr "X$1" : 'X\([^=]*\)='`
  23513     ac_optarg=
  23514     ac_shift=:
  23515     ;;
  23516   *)
  23517     ac_option=$1
  23518     ac_optarg=$2
  23519     ac_shift=shift
  23520     ;;
  23521   esac
  23522 
  23523   case $ac_option in
  23524   # Handling of the options.
  23525   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  23526     ac_cs_recheck=: ;;
  23527   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  23528     printf "%s\n" "$ac_cs_version"; exit ;;
  23529   --config | --confi | --conf | --con | --co | --c )
  23530     printf "%s\n" "$ac_cs_config"; exit ;;
  23531   --debug | --debu | --deb | --de | --d | -d )
  23532     debug=: ;;
  23533   --file | --fil | --fi | --f )
  23534     $ac_shift
  23535     case $ac_optarg in
  23536     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  23537     '') as_fn_error $? "missing file argument" ;;
  23538     esac
  23539     as_fn_append CONFIG_FILES " '$ac_optarg'"
  23540     ac_need_defaults=false;;
  23541   --he | --h |  --help | --hel | -h )
  23542     printf "%s\n" "$ac_cs_usage"; exit ;;
  23543   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  23544   | -silent | --silent | --silen | --sile | --sil | --si | --s)
  23545     ac_cs_silent=: ;;
  23546 
  23547   # This is an error.
  23548   -*) as_fn_error $? "unrecognized option: '$1'
  23549 Try '$0 --help' for more information." ;;
  23550 
  23551   *) as_fn_append ac_config_targets " $1"
  23552      ac_need_defaults=false ;;
  23553 
  23554   esac
  23555   shift
  23556 done
  23557 
  23558 ac_configure_extra_args=
  23559 
  23560 if $ac_cs_silent; then
  23561   exec 6>/dev/null
  23562   ac_configure_extra_args="$ac_configure_extra_args --silent"
  23563 fi
  23564 
  23565 _ACEOF
  23566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  23567 if \$ac_cs_recheck; then
  23568   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  23569   shift
  23570   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
  23571   CONFIG_SHELL='$SHELL'
  23572   export CONFIG_SHELL
  23573   exec "\$@"
  23574 fi
  23575 
  23576 _ACEOF
  23577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  23578 exec 5>>config.log
  23579 {
  23580   echo
  23581   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  23582 ## Running $as_me. ##
  23583 _ASBOX
  23584   printf "%s\n" "$ac_log"
  23585 } >&5
  23586 
  23587 _ACEOF
  23588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  23589 #
  23590 # INIT-COMMANDS
  23591 #
  23592 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
  23593 
  23594 
  23595 # The HP-UX ksh and POSIX shell print the target directory to stdout
  23596 # if CDPATH is set.
  23597 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  23598 
  23599 sed_quote_subst='$sed_quote_subst'
  23600 double_quote_subst='$double_quote_subst'
  23601 delay_variable_subst='$delay_variable_subst'
  23602 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  23603 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  23604 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  23605 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  23606 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  23607 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  23608 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
  23609 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  23610 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  23611 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
  23612 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  23613 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  23614 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  23615 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  23616 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  23617 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  23618 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  23619 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  23620 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  23621 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  23622 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  23623 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  23624 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  23625 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  23626 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  23627 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  23628 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  23629 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  23630 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  23631 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  23632 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
  23633 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
  23634 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  23635 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  23636 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
  23637 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  23638 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  23639 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  23640 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
  23641 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
  23642 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
  23643 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
  23644 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  23645 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
  23646 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  23647 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
  23648 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  23649 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  23650 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  23651 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  23652 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  23653 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  23654 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  23655 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  23656 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  23657 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  23658 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  23659 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  23660 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
  23661 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  23662 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"`'
  23663 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
  23664 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
  23665 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
  23666 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
  23667 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  23668 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  23669 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  23670 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  23671 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  23672 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  23673 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  23674 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  23675 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
  23676 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  23677 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  23678 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  23679 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  23680 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  23681 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  23682 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  23683 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  23684 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  23685 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  23686 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  23687 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  23688 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  23689 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  23690 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  23691 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  23692 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  23693 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  23694 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  23695 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  23696 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  23697 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  23698 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  23699 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  23700 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  23701 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  23702 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  23703 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  23704 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  23705 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  23706 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  23707 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  23708 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  23709 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  23710 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  23711 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  23712 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
  23713 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  23714 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  23715 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  23716 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  23717 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  23718 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  23719 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  23720 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  23721 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  23722 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  23723 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  23724 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  23725 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  23726 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  23727 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  23728 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  23729 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  23730 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  23731 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
  23732 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
  23733 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  23734 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  23735 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  23736 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  23737 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  23738 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  23739 
  23740 LTCC='$LTCC'
  23741 LTCFLAGS='$LTCFLAGS'
  23742 compiler='$compiler_DEFAULT'
  23743 
  23744 # A function that is used when there is no print builtin or printf.
  23745 func_fallback_echo ()
  23746 {
  23747   eval 'cat <<_LTECHO_EOF
  23748 \$1
  23749 _LTECHO_EOF'
  23750 }
  23751 
  23752 # Quote evaled strings.
  23753 for var in SHELL \
  23754 ECHO \
  23755 PATH_SEPARATOR \
  23756 SED \
  23757 GREP \
  23758 EGREP \
  23759 FGREP \
  23760 LD \
  23761 NM \
  23762 LN_S \
  23763 lt_SP2NL \
  23764 lt_NL2SP \
  23765 reload_flag \
  23766 FILECMD \
  23767 OBJDUMP \
  23768 deplibs_check_method \
  23769 file_magic_cmd \
  23770 file_magic_glob \
  23771 want_nocaseglob \
  23772 DLLTOOL \
  23773 sharedlib_from_linklib_cmd \
  23774 AR \
  23775 archiver_list_spec \
  23776 STRIP \
  23777 RANLIB \
  23778 CC \
  23779 CFLAGS \
  23780 compiler \
  23781 lt_cv_sys_global_symbol_pipe \
  23782 lt_cv_sys_global_symbol_to_cdecl \
  23783 lt_cv_sys_global_symbol_to_import \
  23784 lt_cv_sys_global_symbol_to_c_name_address \
  23785 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  23786 lt_cv_nm_interface \
  23787 nm_file_list_spec \
  23788 lt_cv_truncate_bin \
  23789 lt_prog_compiler_no_builtin_flag \
  23790 lt_prog_compiler_pic \
  23791 lt_prog_compiler_wl \
  23792 lt_prog_compiler_static \
  23793 lt_cv_prog_compiler_c_o \
  23794 need_locks \
  23795 MANIFEST_TOOL \
  23796 DSYMUTIL \
  23797 NMEDIT \
  23798 LIPO \
  23799 OTOOL \
  23800 OTOOL64 \
  23801 shrext_cmds \
  23802 export_dynamic_flag_spec \
  23803 whole_archive_flag_spec \
  23804 compiler_needs_object \
  23805 with_gnu_ld \
  23806 allow_undefined_flag \
  23807 no_undefined_flag \
  23808 hardcode_libdir_flag_spec \
  23809 hardcode_libdir_separator \
  23810 exclude_expsyms \
  23811 include_expsyms \
  23812 file_list_spec \
  23813 variables_saved_for_relink \
  23814 libname_spec \
  23815 library_names_spec \
  23816 soname_spec \
  23817 install_override_mode \
  23818 finish_eval \
  23819 old_striplib \
  23820 striplib; do
  23821     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  23822     *[\\\\\\\`\\"\\\$]*)
  23823       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  23824       ;;
  23825     *)
  23826       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  23827       ;;
  23828     esac
  23829 done
  23830 
  23831 # Double-quote double-evaled strings.
  23832 for var in reload_cmds \
  23833 old_postinstall_cmds \
  23834 old_postuninstall_cmds \
  23835 old_archive_cmds \
  23836 extract_expsyms_cmds \
  23837 old_archive_from_new_cmds \
  23838 old_archive_from_expsyms_cmds \
  23839 archive_cmds \
  23840 archive_expsym_cmds \
  23841 module_cmds \
  23842 module_expsym_cmds \
  23843 export_symbols_cmds \
  23844 prelink_cmds \
  23845 postlink_cmds \
  23846 postinstall_cmds \
  23847 postuninstall_cmds \
  23848 finish_cmds \
  23849 sys_lib_search_path_spec \
  23850 configure_time_dlsearch_path \
  23851 configure_time_lt_sys_library_path; do
  23852     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  23853     *[\\\\\\\`\\"\\\$]*)
  23854       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  23855       ;;
  23856     *)
  23857       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  23858       ;;
  23859     esac
  23860 done
  23861 
  23862 ac_aux_dir='$ac_aux_dir'
  23863 
  23864 # See if we are running on zsh, and set the options that allow our
  23865 # commands through without removal of \ escapes INIT.
  23866 if test -n "\${ZSH_VERSION+set}"; then
  23867    setopt NO_GLOB_SUBST
  23868 fi
  23869 
  23870 
  23871     PACKAGE='$PACKAGE'
  23872     VERSION='$VERSION'
  23873     RM='$RM'
  23874     ofile='$ofile'
  23875 
  23876 
  23877 
  23878 
  23879 _ACEOF
  23880 
  23881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  23882 
  23883 # Handling of arguments.
  23884 for ac_config_target in $ac_config_targets
  23885 do
  23886   case $ac_config_target in
  23887     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  23888     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  23889     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  23890     "builds/Makefile") CONFIG_FILES="$CONFIG_FILES builds/Makefile" ;;
  23891     "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
  23892     "dist-build/Makefile") CONFIG_FILES="$CONFIG_FILES dist-build/Makefile" ;;
  23893     "libsodium.pc") CONFIG_FILES="$CONFIG_FILES libsodium.pc" ;;
  23894     "libsodium-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES libsodium-uninstalled.pc" ;;
  23895     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  23896     "src/libsodium/Makefile") CONFIG_FILES="$CONFIG_FILES src/libsodium/Makefile" ;;
  23897     "src/libsodium/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/libsodium/include/Makefile" ;;
  23898     "src/libsodium/include/sodium/version.h") CONFIG_FILES="$CONFIG_FILES src/libsodium/include/sodium/version.h" ;;
  23899     "test/default/Makefile") CONFIG_FILES="$CONFIG_FILES test/default/Makefile" ;;
  23900     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
  23901 
  23902   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
  23903   esac
  23904 done
  23905 
  23906 
  23907 # If the user did not use the arguments to specify the items to instantiate,
  23908 # then the envvar interface is used.  Set only those that are not.
  23909 # We use the long form for the default assignment because of an extremely
  23910 # bizarre bug on SunOS 4.1.3.
  23911 if $ac_need_defaults; then
  23912   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
  23913   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
  23914 fi
  23915 
  23916 # Have a temporary directory for convenience.  Make it in the build tree
  23917 # simply because there is no reason against having it here, and in addition,
  23918 # creating and moving files from /tmp can sometimes cause problems.
  23919 # Hook for its removal unless debugging.
  23920 # Note that there is a small window in which the directory will not be cleaned:
  23921 # after its creation but before its name has been assigned to '$tmp'.
  23922 $debug ||
  23923 {
  23924   tmp= ac_tmp=
  23925   trap 'exit_status=$?
  23926   : "${ac_tmp:=$tmp}"
  23927   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  23928 ' 0
  23929   trap 'as_fn_exit 1' 1 2 13 15
  23930 }
  23931 # Create a (secure) tmp directory for tmp files.
  23932 
  23933 {
  23934   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  23935   test -d "$tmp"
  23936 }  ||
  23937 {
  23938   tmp=./conf$$-$RANDOM
  23939   (umask 077 && mkdir "$tmp")
  23940 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  23941 ac_tmp=$tmp
  23942 
  23943 # Set up the scripts for CONFIG_FILES section.
  23944 # No need to generate them if there are no CONFIG_FILES.
  23945 # This happens for instance with './config.status config.h'.
  23946 if test -n "$CONFIG_FILES"; then
  23947 
  23948 
  23949 ac_cr=`echo X | tr X '\015'`
  23950 # On cygwin, bash can eat \r inside `` if the user requested igncr.
  23951 # But we know of no other shell where ac_cr would be empty at this
  23952 # point, so we can use a bashism as a fallback.
  23953 if test "x$ac_cr" = x; then
  23954   eval ac_cr=\$\'\\r\'
  23955 fi
  23956 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  23957 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  23958   ac_cs_awk_cr='\\r'
  23959 else
  23960   ac_cs_awk_cr=$ac_cr
  23961 fi
  23962 
  23963 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  23964 _ACEOF
  23965 
  23966 
  23967 {
  23968   echo "cat >conf$$subs.awk <<_ACEOF" &&
  23969   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  23970   echo "_ACEOF"
  23971 } >conf$$subs.sh ||
  23972   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  23973 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  23974 ac_delim='%!_!# '
  23975 for ac_last_try in false false false false false :; do
  23976   . ./conf$$subs.sh ||
  23977     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  23978 
  23979   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  23980   if test $ac_delim_n = $ac_delim_num; then
  23981     break
  23982   elif $ac_last_try; then
  23983     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  23984   else
  23985     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  23986   fi
  23987 done
  23988 rm -f conf$$subs.sh
  23989 
  23990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  23991 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  23992 _ACEOF
  23993 sed -n '
  23994 h
  23995 s/^/S["/; s/!.*/"]=/
  23996 p
  23997 g
  23998 s/^[^!]*!//
  23999 :repl
  24000 t repl
  24001 s/'"$ac_delim"'$//
  24002 t delim
  24003 :nl
  24004 h
  24005 s/\(.\{148\}\)..*/\1/
  24006 t more1
  24007 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  24008 p
  24009 n
  24010 b repl
  24011 :more1
  24012 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  24013 p
  24014 g
  24015 s/.\{148\}//
  24016 t nl
  24017 :delim
  24018 h
  24019 s/\(.\{148\}\)..*/\1/
  24020 t more2
  24021 s/["\\]/\\&/g; s/^/"/; s/$/"/
  24022 p
  24023 b
  24024 :more2
  24025 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  24026 p
  24027 g
  24028 s/.\{148\}//
  24029 t delim
  24030 ' <conf$$subs.awk | sed '
  24031 /^[^""]/{
  24032   N
  24033   s/\n//
  24034 }
  24035 ' >>$CONFIG_STATUS || ac_write_fail=1
  24036 rm -f conf$$subs.awk
  24037 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  24038 _ACAWK
  24039 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  24040   for (key in S) S_is_set[key] = 1
  24041   FS = ""
  24042 
  24043 }
  24044 {
  24045   line = $ 0
  24046   nfields = split(line, field, "@")
  24047   substed = 0
  24048   len = length(field[1])
  24049   for (i = 2; i < nfields; i++) {
  24050     key = field[i]
  24051     keylen = length(key)
  24052     if (S_is_set[key]) {
  24053       value = S[key]
  24054       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  24055       len += length(value) + length(field[++i])
  24056       substed = 1
  24057     } else
  24058       len += 1 + keylen
  24059   }
  24060 
  24061   print line
  24062 }
  24063 
  24064 _ACAWK
  24065 _ACEOF
  24066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  24067 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  24068   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  24069 else
  24070   cat
  24071 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  24072   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  24073 _ACEOF
  24074 
  24075 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  24076 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  24077 # trailing colons and then remove the whole line if VPATH becomes empty
  24078 # (actually we leave an empty line to preserve line numbers).
  24079 if test "x$srcdir" = x.; then
  24080   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
  24081 h
  24082 s///
  24083 s/^/:/
  24084 s/[	 ]*$/:/
  24085 s/:\$(srcdir):/:/g
  24086 s/:\${srcdir}:/:/g
  24087 s/:@srcdir@:/:/g
  24088 s/^:*//
  24089 s/:*$//
  24090 x
  24091 s/\(=[	 ]*\).*/\1/
  24092 G
  24093 s/\n//
  24094 s/^[^=]*=[	 ]*$//
  24095 }'
  24096 fi
  24097 
  24098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  24099 fi # test -n "$CONFIG_FILES"
  24100 
  24101 
  24102 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
  24103 shift
  24104 for ac_tag
  24105 do
  24106   case $ac_tag in
  24107   :[FHLC]) ac_mode=$ac_tag; continue;;
  24108   esac
  24109   case $ac_mode$ac_tag in
  24110   :[FHL]*:*);;
  24111   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
  24112   :[FH]-) ac_tag=-:-;;
  24113   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  24114   esac
  24115   ac_save_IFS=$IFS
  24116   IFS=:
  24117   set x $ac_tag
  24118   IFS=$ac_save_IFS
  24119   shift
  24120   ac_file=$1
  24121   shift
  24122 
  24123   case $ac_mode in
  24124   :L) ac_source=$1;;
  24125   :[FH])
  24126     ac_file_inputs=
  24127     for ac_f
  24128     do
  24129       case $ac_f in
  24130       -) ac_f="$ac_tmp/stdin";;
  24131       *) # Look for the file first in the build tree, then in the source tree
  24132 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
  24133 	 # because $ac_f cannot contain ':'.
  24134 	 test -f "$ac_f" ||
  24135 	   case $ac_f in
  24136 	   [\\/$]*) false;;
  24137 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  24138 	   esac ||
  24139 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
  24140       esac
  24141       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  24142       as_fn_append ac_file_inputs " '$ac_f'"
  24143     done
  24144 
  24145     # Let's still pretend it is 'configure' which instantiates (i.e., don't
  24146     # use $as_me), people would be surprised to read:
  24147     #    /* config.h.  Generated by config.status.  */
  24148     configure_input='Generated from '`
  24149 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  24150 	`' by configure.'
  24151     if test x"$ac_file" != x-; then
  24152       configure_input="$ac_file.  $configure_input"
  24153       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  24154 printf "%s\n" "$as_me: creating $ac_file" >&6;}
  24155     fi
  24156     # Neutralize special characters interpreted by sed in replacement strings.
  24157     case $configure_input in #(
  24158     *\&* | *\|* | *\\* )
  24159        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
  24160        sed 's/[\\\\&|]/\\\\&/g'`;; #(
  24161     *) ac_sed_conf_input=$configure_input;;
  24162     esac
  24163 
  24164     case $ac_tag in
  24165     *:-:* | *:-) cat >"$ac_tmp/stdin" \
  24166       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  24167     esac
  24168     ;;
  24169   esac
  24170 
  24171   ac_dir=`$as_dirname -- "$ac_file" ||
  24172 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  24173 	 X"$ac_file" : 'X\(//\)[^/]' \| \
  24174 	 X"$ac_file" : 'X\(//\)$' \| \
  24175 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  24176 printf "%s\n" X"$ac_file" |
  24177     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  24178 	    s//\1/
  24179 	    q
  24180 	  }
  24181 	  /^X\(\/\/\)[^/].*/{
  24182 	    s//\1/
  24183 	    q
  24184 	  }
  24185 	  /^X\(\/\/\)$/{
  24186 	    s//\1/
  24187 	    q
  24188 	  }
  24189 	  /^X\(\/\).*/{
  24190 	    s//\1/
  24191 	    q
  24192 	  }
  24193 	  s/.*/./; q'`
  24194   as_dir="$ac_dir"; as_fn_mkdir_p
  24195   ac_builddir=.
  24196 
  24197 case "$ac_dir" in
  24198 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  24199 *)
  24200   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
  24201   # A ".." for each directory in $ac_dir_suffix.
  24202   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  24203   case $ac_top_builddir_sub in
  24204   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  24205   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  24206   esac ;;
  24207 esac
  24208 ac_abs_top_builddir=$ac_pwd
  24209 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  24210 # for backward compatibility:
  24211 ac_top_builddir=$ac_top_build_prefix
  24212 
  24213 case $srcdir in
  24214   .)  # We are building in place.
  24215     ac_srcdir=.
  24216     ac_top_srcdir=$ac_top_builddir_sub
  24217     ac_abs_top_srcdir=$ac_pwd ;;
  24218   [\\/]* | ?:[\\/]* )  # Absolute name.
  24219     ac_srcdir=$srcdir$ac_dir_suffix;
  24220     ac_top_srcdir=$srcdir
  24221     ac_abs_top_srcdir=$srcdir ;;
  24222   *) # Relative name.
  24223     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  24224     ac_top_srcdir=$ac_top_build_prefix$srcdir
  24225     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  24226 esac
  24227 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  24228 
  24229 
  24230   case $ac_mode in
  24231   :F)
  24232   #
  24233   # CONFIG_FILE
  24234   #
  24235 
  24236   case $INSTALL in
  24237   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  24238   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  24239   esac
  24240   ac_MKDIR_P=$MKDIR_P
  24241   case $MKDIR_P in
  24242   [\\/$]* | ?:[\\/]* ) ;;
  24243   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  24244   esac
  24245 _ACEOF
  24246 
  24247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  24248 # If the template does not know about datarootdir, expand it.
  24249 # FIXME: This hack should be removed a few years after 2.60.
  24250 ac_datarootdir_hack=; ac_datarootdir_seen=
  24251 ac_sed_dataroot='
  24252 /datarootdir/ {
  24253   p
  24254   q
  24255 }
  24256 /@datadir@/p
  24257 /@docdir@/p
  24258 /@infodir@/p
  24259 /@localedir@/p
  24260 /@mandir@/p'
  24261 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  24262 *datarootdir*) ac_datarootdir_seen=yes;;
  24263 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  24264   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  24265 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  24266 _ACEOF
  24267 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  24268   ac_datarootdir_hack='
  24269   s&@datadir@&$datadir&g
  24270   s&@docdir@&$docdir&g
  24271   s&@infodir@&$infodir&g
  24272   s&@localedir@&$localedir&g
  24273   s&@mandir@&$mandir&g
  24274   s&\\\${datarootdir}&$datarootdir&g' ;;
  24275 esac
  24276 _ACEOF
  24277 
  24278 # Neutralize VPATH when '$srcdir' = '.'.
  24279 # Shell code in configure.ac might set extrasub.
  24280 # FIXME: do we really want to maintain this feature?
  24281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  24282 ac_sed_extra="$ac_vpsub
  24283 $extrasub
  24284 _ACEOF
  24285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  24286 :t
  24287 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  24288 s|@configure_input@|$ac_sed_conf_input|;t t
  24289 s&@top_builddir@&$ac_top_builddir_sub&;t t
  24290 s&@top_build_prefix@&$ac_top_build_prefix&;t t
  24291 s&@srcdir@&$ac_srcdir&;t t
  24292 s&@abs_srcdir@&$ac_abs_srcdir&;t t
  24293 s&@top_srcdir@&$ac_top_srcdir&;t t
  24294 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  24295 s&@builddir@&$ac_builddir&;t t
  24296 s&@abs_builddir@&$ac_abs_builddir&;t t
  24297 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  24298 s&@INSTALL@&$ac_INSTALL&;t t
  24299 s&@MKDIR_P@&$ac_MKDIR_P&;t t
  24300 $ac_datarootdir_hack
  24301 "
  24302 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  24303   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  24304 
  24305 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  24306   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  24307   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
  24308       "$ac_tmp/out"`; test -z "$ac_out"; } &&
  24309   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
  24310 which seems to be undefined.  Please make sure it is defined" >&5
  24311 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
  24312 which seems to be undefined.  Please make sure it is defined" >&2;}
  24313 
  24314   rm -f "$ac_tmp/stdin"
  24315   case $ac_file in
  24316   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  24317   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  24318   esac \
  24319   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  24320  ;;
  24321 
  24322 
  24323   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  24324 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
  24325  ;;
  24326   esac
  24327 
  24328 
  24329   case $ac_file$ac_mode in
  24330     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  24331   # Older Autoconf quotes --file arguments for eval, but not when files
  24332   # are listed without --file.  Let's play safe and only enable the eval
  24333   # if we detect the quoting.
  24334   # TODO: see whether this extra hack can be removed once we start
  24335   # requiring Autoconf 2.70 or later.
  24336   case $CONFIG_FILES in #(
  24337   *\'*) :
  24338     eval set x "$CONFIG_FILES" ;; #(
  24339   *) :
  24340     set x $CONFIG_FILES ;; #(
  24341   *) :
  24342      ;;
  24343 esac
  24344   shift
  24345   # Used to flag and report bootstrapping failures.
  24346   am_rc=0
  24347   for am_mf
  24348   do
  24349     # Strip MF so we end up with the name of the file.
  24350     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
  24351     # Check whether this is an Automake generated Makefile which includes
  24352     # dependency-tracking related rules and includes.
  24353     # Grep'ing the whole file directly is not great: AIX grep has a line
  24354     # limit of 2048, but all sed's we know have understand at least 4000.
  24355     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
  24356       || continue
  24357     am_dirpart=`$as_dirname -- "$am_mf" ||
  24358 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  24359 	 X"$am_mf" : 'X\(//\)[^/]' \| \
  24360 	 X"$am_mf" : 'X\(//\)$' \| \
  24361 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  24362 printf "%s\n" X"$am_mf" |
  24363     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  24364 	    s//\1/
  24365 	    q
  24366 	  }
  24367 	  /^X\(\/\/\)[^/].*/{
  24368 	    s//\1/
  24369 	    q
  24370 	  }
  24371 	  /^X\(\/\/\)$/{
  24372 	    s//\1/
  24373 	    q
  24374 	  }
  24375 	  /^X\(\/\).*/{
  24376 	    s//\1/
  24377 	    q
  24378 	  }
  24379 	  s/.*/./; q'`
  24380     am_filepart=`$as_basename -- "$am_mf" ||
  24381 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
  24382 	 X"$am_mf" : 'X\(//\)$' \| \
  24383 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  24384 printf "%s\n" X/"$am_mf" |
  24385     sed '/^.*\/\([^/][^/]*\)\/*$/{
  24386 	    s//\1/
  24387 	    q
  24388 	  }
  24389 	  /^X\/\(\/\/\)$/{
  24390 	    s//\1/
  24391 	    q
  24392 	  }
  24393 	  /^X\/\(\/\).*/{
  24394 	    s//\1/
  24395 	    q
  24396 	  }
  24397 	  s/.*/./; q'`
  24398     { echo "$as_me:$LINENO: cd "$am_dirpart" \
  24399       && sed -e '/# am--include-marker/d' "$am_filepart" \
  24400         | $MAKE -f - am--depfiles" >&5
  24401    (cd "$am_dirpart" \
  24402       && sed -e '/# am--include-marker/d' "$am_filepart" \
  24403         | $MAKE -f - am--depfiles) >&5 2>&5
  24404    ac_status=$?
  24405    echo "$as_me:$LINENO: \$? = $ac_status" >&5
  24406    (exit $ac_status); } || am_rc=$?
  24407   done
  24408   if test $am_rc -ne 0; then
  24409     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
  24410 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
  24411 as_fn_error $? "Something went wrong bootstrapping makefile fragments
  24412     for automatic dependency tracking.  If GNU make was not used, consider
  24413     re-running the configure script with MAKE=\"gmake\" (or whatever is
  24414     necessary).  You can also try re-running configure with the
  24415     '--disable-dependency-tracking' option to at least be able to build
  24416     the package (albeit without support for automatic dependency tracking).
  24417 See 'config.log' for more details" "$LINENO" 5; }
  24418   fi
  24419   { am_dirpart=; unset am_dirpart;}
  24420   { am_filepart=; unset am_filepart;}
  24421   { am_mf=; unset am_mf;}
  24422   { am_rc=; unset am_rc;}
  24423   rm -f conftest-deps.mk
  24424 }
  24425  ;;
  24426     "libtool":C)
  24427 
  24428     # See if we are running on zsh, and set the options that allow our
  24429     # commands through without removal of \ escapes.
  24430     if test -n "${ZSH_VERSION+set}"; then
  24431       setopt NO_GLOB_SUBST
  24432     fi
  24433 
  24434     cfgfile=${ofile}T
  24435     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  24436     $RM "$cfgfile"
  24437 
  24438     cat <<_LT_EOF >> "$cfgfile"
  24439 #! $SHELL
  24440 # Generated automatically by $as_me ($PACKAGE) $VERSION
  24441 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  24442 
  24443 # Provide generalized library-building support services.
  24444 # Written by Gordon Matzigkeit, 1996
  24445 
  24446 # Copyright (C) 2024 Free Software Foundation, Inc.
  24447 # This is free software; see the source for copying conditions.  There is NO
  24448 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  24449 
  24450 # GNU Libtool is free software; you can redistribute it and/or modify
  24451 # it under the terms of the GNU General Public License as published by
  24452 # the Free Software Foundation; either version 2 of the License, or
  24453 # (at your option) any later version.
  24454 #
  24455 # As a special exception to the GNU General Public License, if you
  24456 # distribute this file as part of a program or library that is built
  24457 # using GNU Libtool, you may include this file under the  same
  24458 # distribution terms that you use for the rest of that program.
  24459 #
  24460 # GNU Libtool is distributed in the hope that it will be useful, but
  24461 # WITHOUT ANY WARRANTY; without even the implied warranty of
  24462 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  24463 # GNU General Public License for more details.
  24464 #
  24465 # You should have received a copy of the GNU General Public License
  24466 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
  24467 
  24468 
  24469 # The names of the tagged configurations supported by this script.
  24470 available_tags=''
  24471 
  24472 # Configured defaults for sys_lib_dlsearch_path munging.
  24473 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
  24474 
  24475 # ### BEGIN LIBTOOL CONFIG
  24476 
  24477 # Which release of libtool.m4 was used?
  24478 macro_version=$macro_version
  24479 macro_revision=$macro_revision
  24480 
  24481 # Whether or not to build shared libraries.
  24482 build_libtool_libs=$enable_shared
  24483 
  24484 # Whether or not to build static libraries.
  24485 build_old_libs=$enable_static
  24486 
  24487 # What type of objects to build.
  24488 pic_mode=$pic_mode
  24489 
  24490 # Whether or not to optimize for fast installation.
  24491 fast_install=$enable_fast_install
  24492 
  24493 # Shared archive member basename,for filename based shared library versioning on AIX.
  24494 shared_archive_member_spec=$shared_archive_member_spec
  24495 
  24496 # Shell to use when invoking shell scripts.
  24497 SHELL=$lt_SHELL
  24498 
  24499 # An echo program that protects backslashes.
  24500 ECHO=$lt_ECHO
  24501 
  24502 # The PATH separator for the build system.
  24503 PATH_SEPARATOR=$lt_PATH_SEPARATOR
  24504 
  24505 # The host system.
  24506 host_alias=$host_alias
  24507 host=$host
  24508 host_os=$host_os
  24509 
  24510 # The build system.
  24511 build_alias=$build_alias
  24512 build=$build
  24513 build_os=$build_os
  24514 
  24515 # A sed program that does not truncate output.
  24516 SED=$lt_SED
  24517 
  24518 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  24519 Xsed="\$SED -e 1s/^X//"
  24520 
  24521 # A grep program that handles long lines.
  24522 GREP=$lt_GREP
  24523 
  24524 # An ERE matcher.
  24525 EGREP=$lt_EGREP
  24526 
  24527 # A literal string matcher.
  24528 FGREP=$lt_FGREP
  24529 
  24530 # A BSD- or MS-compatible name lister.
  24531 NM=$lt_NM
  24532 
  24533 # Whether we need soft or hard links.
  24534 LN_S=$lt_LN_S
  24535 
  24536 # What is the maximum length of a command?
  24537 max_cmd_len=$max_cmd_len
  24538 
  24539 # Object file suffix (normally "o").
  24540 objext=$ac_objext
  24541 
  24542 # Executable file suffix (normally "").
  24543 exeext=$exeext
  24544 
  24545 # whether the shell understands "unset".
  24546 lt_unset=$lt_unset
  24547 
  24548 # turn spaces into newlines.
  24549 SP2NL=$lt_lt_SP2NL
  24550 
  24551 # turn newlines into spaces.
  24552 NL2SP=$lt_lt_NL2SP
  24553 
  24554 # convert \$build file names to \$host format.
  24555 to_host_file_cmd=$lt_cv_to_host_file_cmd
  24556 
  24557 # convert \$build files to toolchain format.
  24558 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  24559 
  24560 # A file(cmd) program that detects file types.
  24561 FILECMD=$lt_FILECMD
  24562 
  24563 # An object symbol dumper.
  24564 OBJDUMP=$lt_OBJDUMP
  24565 
  24566 # Method to check whether dependent libraries are shared objects.
  24567 deplibs_check_method=$lt_deplibs_check_method
  24568 
  24569 # Command to use when deplibs_check_method = "file_magic".
  24570 file_magic_cmd=$lt_file_magic_cmd
  24571 
  24572 # How to find potential files when deplibs_check_method = "file_magic".
  24573 file_magic_glob=$lt_file_magic_glob
  24574 
  24575 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  24576 want_nocaseglob=$lt_want_nocaseglob
  24577 
  24578 # DLL creation program.
  24579 DLLTOOL=$lt_DLLTOOL
  24580 
  24581 # Command to associate shared and link libraries.
  24582 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  24583 
  24584 # The archiver.
  24585 AR=$lt_AR
  24586 
  24587 # Flags to create an archive (by configure).
  24588 lt_ar_flags=$lt_ar_flags
  24589 
  24590 # Flags to create an archive.
  24591 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
  24592 
  24593 # How to feed a file listing to the archiver.
  24594 archiver_list_spec=$lt_archiver_list_spec
  24595 
  24596 # A symbol stripping program.
  24597 STRIP=$lt_STRIP
  24598 
  24599 # Commands used to install an old-style archive.
  24600 RANLIB=$lt_RANLIB
  24601 old_postinstall_cmds=$lt_old_postinstall_cmds
  24602 old_postuninstall_cmds=$lt_old_postuninstall_cmds
  24603 
  24604 # Whether to use a lock for old archive extraction.
  24605 lock_old_archive_extraction=$lock_old_archive_extraction
  24606 
  24607 # A C compiler.
  24608 LTCC=$lt_CC
  24609 
  24610 # LTCC compiler flags.
  24611 LTCFLAGS=$lt_CFLAGS
  24612 
  24613 # Take the output of nm and produce a listing of raw symbols and C names.
  24614 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  24615 
  24616 # Transform the output of nm in a proper C declaration.
  24617 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  24618 
  24619 # Transform the output of nm into a list of symbols to manually relocate.
  24620 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
  24621 
  24622 # Transform the output of nm in a C name address pair.
  24623 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  24624 
  24625 # Transform the output of nm in a C name address pair when lib prefix is needed.
  24626 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  24627 
  24628 # The name lister interface.
  24629 nm_interface=$lt_lt_cv_nm_interface
  24630 
  24631 # Specify filename containing input files for \$NM.
  24632 nm_file_list_spec=$lt_nm_file_list_spec
  24633 
  24634 # The root where to search for dependent libraries,and where our libraries should be installed.
  24635 lt_sysroot=$lt_sysroot
  24636 
  24637 # Command to truncate a binary pipe.
  24638 lt_truncate_bin=$lt_lt_cv_truncate_bin
  24639 
  24640 # The name of the directory that contains temporary libtool files.
  24641 objdir=$objdir
  24642 
  24643 # Used to examine libraries when file_magic_cmd begins with "file".
  24644 MAGIC_CMD=$MAGIC_CMD
  24645 
  24646 # Must we lock files when doing compilation?
  24647 need_locks=$lt_need_locks
  24648 
  24649 # Manifest tool.
  24650 MANIFEST_TOOL=$lt_MANIFEST_TOOL
  24651 
  24652 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  24653 DSYMUTIL=$lt_DSYMUTIL
  24654 
  24655 # Tool to change global to local symbols on Mac OS X.
  24656 NMEDIT=$lt_NMEDIT
  24657 
  24658 # Tool to manipulate fat objects and archives on Mac OS X.
  24659 LIPO=$lt_LIPO
  24660 
  24661 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  24662 OTOOL=$lt_OTOOL
  24663 
  24664 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  24665 OTOOL64=$lt_OTOOL64
  24666 
  24667 # Old archive suffix (normally "a").
  24668 libext=$libext
  24669 
  24670 # Shared library suffix (normally ".so").
  24671 shrext_cmds=$lt_shrext_cmds
  24672 
  24673 # The commands to extract the exported symbol list from a shared archive.
  24674 extract_expsyms_cmds=$lt_extract_expsyms_cmds
  24675 
  24676 # Variables whose values should be saved in libtool wrapper scripts and
  24677 # restored at link time.
  24678 variables_saved_for_relink=$lt_variables_saved_for_relink
  24679 
  24680 # Do we need the "lib" prefix for modules?
  24681 need_lib_prefix=$need_lib_prefix
  24682 
  24683 # Do we need a version for libraries?
  24684 need_version=$need_version
  24685 
  24686 # Library versioning type.
  24687 version_type=$version_type
  24688 
  24689 # Shared library runtime path variable.
  24690 runpath_var=$runpath_var
  24691 
  24692 # Shared library path variable.
  24693 shlibpath_var=$shlibpath_var
  24694 
  24695 # Is shlibpath searched before the hard-coded library search path?
  24696 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  24697 
  24698 # Format of library name prefix.
  24699 libname_spec=$lt_libname_spec
  24700 
  24701 # List of archive names.  First name is the real one, the rest are links.
  24702 # The last name is the one that the linker finds with -lNAME
  24703 library_names_spec=$lt_library_names_spec
  24704 
  24705 # The coded name of the library, if different from the real name.
  24706 soname_spec=$lt_soname_spec
  24707 
  24708 # Permission mode override for installation of shared libraries.
  24709 install_override_mode=$lt_install_override_mode
  24710 
  24711 # Command to use after installation of a shared archive.
  24712 postinstall_cmds=$lt_postinstall_cmds
  24713 
  24714 # Command to use after uninstallation of a shared archive.
  24715 postuninstall_cmds=$lt_postuninstall_cmds
  24716 
  24717 # Commands used to finish a libtool library installation in a directory.
  24718 finish_cmds=$lt_finish_cmds
  24719 
  24720 # As "finish_cmds", except a single script fragment to be evaled but
  24721 # not shown.
  24722 finish_eval=$lt_finish_eval
  24723 
  24724 # Whether we should hardcode library paths into libraries.
  24725 hardcode_into_libs=$hardcode_into_libs
  24726 
  24727 # Compile-time system search path for libraries.
  24728 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  24729 
  24730 # Detected run-time system search path for libraries.
  24731 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
  24732 
  24733 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
  24734 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
  24735 
  24736 # Whether dlopen is supported.
  24737 dlopen_support=$enable_dlopen
  24738 
  24739 # Whether dlopen of programs is supported.
  24740 dlopen_self=$enable_dlopen_self
  24741 
  24742 # Whether dlopen of statically linked programs is supported.
  24743 dlopen_self_static=$enable_dlopen_self_static
  24744 
  24745 # Commands to strip libraries.
  24746 old_striplib=$lt_old_striplib
  24747 striplib=$lt_striplib
  24748 
  24749 
  24750 # The linker used to build libraries.
  24751 LD=$lt_LD
  24752 
  24753 # How to create reloadable object files.
  24754 reload_flag=$lt_reload_flag
  24755 reload_cmds=$lt_reload_cmds
  24756 
  24757 # Commands used to build an old-style archive.
  24758 old_archive_cmds=$lt_old_archive_cmds
  24759 
  24760 # A language specific compiler.
  24761 CC=$lt_compiler
  24762 
  24763 # Is the compiler the GNU compiler?
  24764 with_gcc=$GCC
  24765 
  24766 # Compiler flag to turn off builtin functions.
  24767 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  24768 
  24769 # Additional compiler flags for building library objects.
  24770 pic_flag=$lt_lt_prog_compiler_pic
  24771 
  24772 # How to pass a linker flag through the compiler.
  24773 wl=$lt_lt_prog_compiler_wl
  24774 
  24775 # Compiler flag to prevent dynamic linking.
  24776 link_static_flag=$lt_lt_prog_compiler_static
  24777 
  24778 # Does compiler simultaneously support -c and -o options?
  24779 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  24780 
  24781 # Whether or not to add -lc for building shared libraries.
  24782 build_libtool_need_lc=$archive_cmds_need_lc
  24783 
  24784 # Whether or not to disallow shared libs when runtime libs are static.
  24785 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  24786 
  24787 # Compiler flag to allow reflexive dlopens.
  24788 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  24789 
  24790 # Compiler flag to generate shared objects directly from archives.
  24791 whole_archive_flag_spec=$lt_whole_archive_flag_spec
  24792 
  24793 # Whether the compiler copes with passing no objects directly.
  24794 compiler_needs_object=$lt_compiler_needs_object
  24795 
  24796 # Create an old-style archive from a shared archive.
  24797 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  24798 
  24799 # Create a temporary old-style archive to link instead of a shared archive.
  24800 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  24801 
  24802 # Commands used to build a shared archive.
  24803 archive_cmds=$lt_archive_cmds
  24804 archive_expsym_cmds=$lt_archive_expsym_cmds
  24805 
  24806 # Commands used to build a loadable module if different from building
  24807 # a shared archive.
  24808 module_cmds=$lt_module_cmds
  24809 module_expsym_cmds=$lt_module_expsym_cmds
  24810 
  24811 # Whether we are building with GNU ld or not.
  24812 with_gnu_ld=$lt_with_gnu_ld
  24813 
  24814 # Flag that allows shared libraries with undefined symbols to be built.
  24815 allow_undefined_flag=$lt_allow_undefined_flag
  24816 
  24817 # Flag that enforces no undefined symbols.
  24818 no_undefined_flag=$lt_no_undefined_flag
  24819 
  24820 # Flag to hardcode \$libdir into a binary during linking.
  24821 # This must work even if \$libdir does not exist
  24822 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  24823 
  24824 # Whether we need a single "-rpath" flag with a separated argument.
  24825 hardcode_libdir_separator=$lt_hardcode_libdir_separator
  24826 
  24827 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  24828 # DIR into the resulting binary.
  24829 hardcode_direct=$hardcode_direct
  24830 
  24831 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  24832 # DIR into the resulting binary and the resulting library dependency is
  24833 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
  24834 # library is relocated.
  24835 hardcode_direct_absolute=$hardcode_direct_absolute
  24836 
  24837 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  24838 # into the resulting binary.
  24839 hardcode_minus_L=$hardcode_minus_L
  24840 
  24841 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  24842 # into the resulting binary.
  24843 hardcode_shlibpath_var=$hardcode_shlibpath_var
  24844 
  24845 # Set to "yes" if building a shared library automatically hardcodes DIR
  24846 # into the library and all subsequent libraries and executables linked
  24847 # against it.
  24848 hardcode_automatic=$hardcode_automatic
  24849 
  24850 # Set to yes if linker adds runtime paths of dependent libraries
  24851 # to runtime path list.
  24852 inherit_rpath=$inherit_rpath
  24853 
  24854 # Whether libtool must link a program against all its dependency libraries.
  24855 link_all_deplibs=$link_all_deplibs
  24856 
  24857 # Set to "yes" if exported symbols are required.
  24858 always_export_symbols=$always_export_symbols
  24859 
  24860 # The commands to list exported symbols.
  24861 export_symbols_cmds=$lt_export_symbols_cmds
  24862 
  24863 # Symbols that should not be listed in the preloaded symbols.
  24864 exclude_expsyms=$lt_exclude_expsyms
  24865 
  24866 # Symbols that must always be exported.
  24867 include_expsyms=$lt_include_expsyms
  24868 
  24869 # Commands necessary for linking programs (against libraries) with templates.
  24870 prelink_cmds=$lt_prelink_cmds
  24871 
  24872 # Commands necessary for finishing linking programs.
  24873 postlink_cmds=$lt_postlink_cmds
  24874 
  24875 # Specify filename containing input files.
  24876 file_list_spec=$lt_file_list_spec
  24877 
  24878 # How to hardcode a shared library path into an executable.
  24879 hardcode_action=$hardcode_action
  24880 
  24881 # ### END LIBTOOL CONFIG
  24882 
  24883 _LT_EOF
  24884 
  24885     cat <<'_LT_EOF' >> "$cfgfile"
  24886 
  24887 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
  24888 
  24889 # func_munge_path_list VARIABLE PATH
  24890 # -----------------------------------
  24891 # VARIABLE is name of variable containing _space_ separated list of
  24892 # directories to be munged by the contents of PATH, which is string
  24893 # having a format:
  24894 # "DIR[:DIR]:"
  24895 #       string "DIR[ DIR]" will be prepended to VARIABLE
  24896 # ":DIR[:DIR]"
  24897 #       string "DIR[ DIR]" will be appended to VARIABLE
  24898 # "DIRP[:DIRP]::[DIRA:]DIRA"
  24899 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
  24900 #       "DIRA[ DIRA]" will be appended to VARIABLE
  24901 # "DIR[:DIR]"
  24902 #       VARIABLE will be replaced by "DIR[ DIR]"
  24903 func_munge_path_list ()
  24904 {
  24905     case x$2 in
  24906     x)
  24907         ;;
  24908     *:)
  24909         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
  24910         ;;
  24911     x:*)
  24912         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
  24913         ;;
  24914     *::*)
  24915         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
  24916         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
  24917         ;;
  24918     *)
  24919         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
  24920         ;;
  24921     esac
  24922 }
  24923 
  24924 
  24925 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
  24926 func_cc_basename ()
  24927 {
  24928     for cc_temp in $*""; do
  24929       case $cc_temp in
  24930         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  24931         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  24932         \-*) ;;
  24933         *) break;;
  24934       esac
  24935     done
  24936     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  24937 }
  24938 
  24939 
  24940 # ### END FUNCTIONS SHARED WITH CONFIGURE
  24941 
  24942 _LT_EOF
  24943 
  24944   case $host_os in
  24945   aix3*)
  24946     cat <<\_LT_EOF >> "$cfgfile"
  24947 # AIX sometimes has problems with the GCC collect2 program.  For some
  24948 # reason, if we set the COLLECT_NAMES environment variable, the problems
  24949 # vanish in a puff of smoke.
  24950 if test set != "${COLLECT_NAMES+set}"; then
  24951   COLLECT_NAMES=
  24952   export COLLECT_NAMES
  24953 fi
  24954 _LT_EOF
  24955     ;;
  24956   esac
  24957 
  24958 
  24959 
  24960 ltmain=$ac_aux_dir/ltmain.sh
  24961 
  24962 
  24963   # We use sed instead of cat because bash on DJGPP gets confused if
  24964   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
  24965   # text mode, it properly converts lines to CR/LF.  This bash problem
  24966   # is reportedly fixed, but why not run on old versions too?
  24967   $SED '$q' "$ltmain" >> "$cfgfile" \
  24968      || (rm -f "$cfgfile"; exit 1)
  24969 
  24970    mv -f "$cfgfile" "$ofile" ||
  24971     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  24972   chmod +x "$ofile"
  24973 
  24974  ;;
  24975 
  24976   esac
  24977 done # for ac_tag
  24978 
  24979 
  24980 as_fn_exit 0
  24981 _ACEOF
  24982 ac_clean_files=$ac_clean_files_save
  24983 
  24984 test $ac_write_fail = 0 ||
  24985   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  24986 
  24987 
  24988 # configure is writing to config.log, and then calls config.status.
  24989 # config.status does its own redirection, appending to config.log.
  24990 # Unfortunately, on DOS this fails, as config.log is still kept open
  24991 # by configure, so config.status won't be able to write to it; its
  24992 # output is simply discarded.  So we exec the FD to /dev/null,
  24993 # effectively closing config.log, so it can be properly (re)opened and
  24994 # appended to by config.status.  When coming back to configure, we
  24995 # need to make the FD available again.
  24996 if test "$no_create" != yes; then
  24997   ac_cs_success=:
  24998   ac_config_status_args=
  24999   test "$silent" = yes &&
  25000     ac_config_status_args="$ac_config_status_args --quiet"
  25001   exec 5>/dev/null
  25002   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  25003   exec 5>>config.log
  25004   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  25005   # would make configure fail if this is the last instruction.
  25006   $ac_cs_success || as_fn_exit 1
  25007 fi
  25008 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  25009   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  25010 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  25011 fi
  25012 
  25013