Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.73 for XZ Utils 5.8.3.
      4 #
      5 # Report bugs to <xz (at] tukaani.org>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2026 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   # contradicts POSIX and common usage.  Disable this.
     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 case $# in # ((
    135   0) exec $CONFIG_SHELL $as_opts "$as_myself" ;;
    136   *) exec $CONFIG_SHELL $as_opts "$as_myself" "$@" ;;
    137 esac
    138 # Admittedly, this is quite paranoid, since all the known shells bail
    139 # out after a failed 'exec'.
    140 printf '%s\n' "$0: could not re-execute with $CONFIG_SHELL" >&2
    141 exit 255
    142   fi
    143   # We don't want this to propagate to other subprocesses.
    144           { _as_can_reexec=; unset _as_can_reexec;}
    145 if test "x$CONFIG_SHELL" = x; then
    146   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    147 then :
    148   emulate sh
    149   NULLCMD=:
    150   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    151   # contradicts POSIX and common usage.  Disable this.
    152   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    153   setopt NO_GLOB_SUBST
    154 else case e in #(
    155   e) case \`(set -o) 2>/dev/null\` in #(
    156   *posix*) :
    157     set -o posix ;; #(
    158   *) :
    159      ;;
    160 esac ;;
    161 esac
    162 fi
    163 "
    164   as_required="as_fn_return () { (exit \$1); }
    165 as_fn_success () { as_fn_return 0; }
    166 as_fn_failure () { as_fn_return 1; }
    167 as_fn_ret_success () { return 0; }
    168 as_fn_ret_failure () { return 1; }
    169 
    170 exitcode=0
    171 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    172 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    173 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    174 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    175 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    176 then :
    177 
    178 else case e in #(
    179   e) exitcode=1; echo positional parameters were not saved. ;;
    180 esac
    181 fi
    182 test x\$exitcode = x0 || exit 1
    183 blah=\$(echo \$(echo blah))
    184 test x\"\$blah\" = xblah || exit 1
    185 test -x / || exit 1"
    186   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    187   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    188   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    189   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    190 test \$(( 1 + 1 )) = 2 || exit 1
    191 
    192   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    193     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    194     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    195     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    196     PATH=/empty FPATH=/empty; export PATH FPATH
    197     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    198       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    199   if (eval "$as_required") 2>/dev/null
    200 then :
    201   as_have_required=yes
    202 else case e in #(
    203   e) as_have_required=no ;;
    204 esac
    205 fi
    206   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    207 then :
    208 
    209 else case e in #(
    210   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   case $as_dir in #(((
    216     '') as_dir=./ ;;
    217     */) ;;
    218     *) as_dir=$as_dir/ ;;
    219   esac
    220   as_found=:
    221   case $as_dir in #(
    222 	 /*)
    223 	   for as_base in sh bash ksh sh5; do
    224 	     # Try only shells that exist, to save several forks.
    225 	     as_shell=$as_dir$as_base
    226 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    227 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    228 then :
    229   CONFIG_SHELL=$as_shell as_have_required=yes
    230 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    231 then :
    232   break 2
    233 fi
    234 fi
    235 	   done;;
    236        esac
    237   as_found=false
    238 done
    239 IFS=$as_save_IFS
    240 if $as_found
    241 then :
    242 
    243 else case e in #(
    244   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    245 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    246 then :
    247   CONFIG_SHELL=$SHELL as_have_required=yes
    248 fi ;;
    249 esac
    250 fi
    251 
    252 
    253       if test "x$CONFIG_SHELL" != x
    254 then :
    255   export CONFIG_SHELL
    256              # We cannot yet assume a decent shell, so we have to provide a
    257 # neutralization value for shells without unset; and this also
    258 # works around shells that cannot unset nonexistent variables.
    259 # Preserve -v and -x to the replacement shell.
    260 BASH_ENV=/dev/null
    261 ENV=/dev/null
    262 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    263 case $- in # ((((
    264   *v*x* | *x*v* ) as_opts=-vx ;;
    265   *v* ) as_opts=-v ;;
    266   *x* ) as_opts=-x ;;
    267   * ) as_opts= ;;
    268 esac
    269 case $# in # ((
    270   0) exec $CONFIG_SHELL $as_opts "$as_myself" ;;
    271   *) exec $CONFIG_SHELL $as_opts "$as_myself" "$@" ;;
    272 esac
    273 # Admittedly, this is quite paranoid, since all the known shells bail
    274 # out after a failed 'exec'.
    275 printf '%s\n' "$0: could not re-execute with $CONFIG_SHELL" >&2
    276 exit 255
    277 fi
    278 
    279     if test x$as_have_required = xno
    280 then :
    281   printf '%s\n' "$0: This script requires a shell more modern than all"
    282   printf '%s\n' "$0: the shells that I found on your system."
    283   if test ${ZSH_VERSION+y} ; then
    284     printf '%s\n' "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    285     printf '%s\n' "$0: be upgraded to zsh 4.3.4 or later."
    286   else
    287     printf '%s\n' "$0: Please tell bug-autoconf (at] gnu.org and xz (at] tukaani.org
    288 $0: about your system, including any error possibly output
    289 $0: before this message. Then install a modern shell, or
    290 $0: manually run the script under such a shell if you do
    291 $0: have one."
    292   fi
    293   exit 1
    294 fi ;;
    295 esac
    296 fi
    297 fi
    298 SHELL=${CONFIG_SHELL-/bin/sh}
    299 export SHELL
    300 # Unset more variables known to interfere with behavior of common tools.
    301 CLICOLOR_FORCE= GREP_OPTIONS=
    302 unset CLICOLOR_FORCE GREP_OPTIONS
    303 
    304 ## --------------------- ##
    305 ## M4sh Shell Functions. ##
    306 ## --------------------- ##
    307 # as_fn_unset VAR
    308 # ---------------
    309 # Portably unset VAR.
    310 as_fn_unset ()
    311 {
    312   { eval $1=; unset $1;}
    313 }
    314 as_unset=as_fn_unset
    315 
    316 
    317 # as_fn_set_status STATUS
    318 # -----------------------
    319 # Set $? to STATUS, without forking.
    320 as_fn_set_status ()
    321 {
    322   return $1
    323 } # as_fn_set_status
    324 
    325 # as_fn_exit STATUS
    326 # -----------------
    327 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    328 as_fn_exit ()
    329 {
    330   set +e
    331   as_fn_set_status $1
    332   exit $1
    333 } # as_fn_exit
    334 
    335 # as_fn_mkdir_p
    336 # -------------
    337 # Create "$as_dir" as a directory, including parents if necessary.
    338 as_fn_mkdir_p ()
    339 {
    340 
    341   case $as_dir in #(
    342   -*) as_dir=./$as_dir;;
    343   esac
    344   test -d "$as_dir" || eval $as_mkdir_p || {
    345     as_dirs=
    346     while :; do
    347       case $as_dir in #(
    348       *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    349       *) as_qdir=$as_dir;;
    350       esac
    351       as_dirs="'$as_qdir' $as_dirs"
    352       as_dir=`$as_dirname -- "$as_dir" ||
    353 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    354 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    355 	 X"$as_dir" : 'X\(//\)$' \| \
    356 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    357 printf '%s\n' X"$as_dir" |
    358     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    359 	    s//\1/
    360 	    q
    361 	  }
    362 	  /^X\(\/\/\)[^/].*/{
    363 	    s//\1/
    364 	    q
    365 	  }
    366 	  /^X\(\/\/\)$/{
    367 	    s//\1/
    368 	    q
    369 	  }
    370 	  /^X\(\/\).*/{
    371 	    s//\1/
    372 	    q
    373 	  }
    374 	  s/.*/./; q'`
    375       test -d "$as_dir" && break
    376     done
    377     test -z "$as_dirs" || eval "mkdir $as_dirs"
    378   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    379 
    380 
    381 } # as_fn_mkdir_p
    382 
    383 # as_fn_executable_p FILE
    384 # -----------------------
    385 # Test if FILE is an executable regular file.
    386 as_fn_executable_p ()
    387 {
    388   test -f "$1" && test -x "$1"
    389 } # as_fn_executable_p
    390 # as_fn_append VAR VALUE
    391 # ----------------------
    392 # Append the text in VALUE to the end of the definition contained in VAR. Take
    393 # advantage of any shell optimizations that allow amortized linear growth over
    394 # repeated appends, instead of the typical quadratic growth present in naive
    395 # implementations.
    396 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    397 then :
    398   eval 'as_fn_append ()
    399   {
    400     eval $1+=\$2
    401   }'
    402 else case e in #(
    403   e) as_fn_append ()
    404   {
    405     eval $1=\$$1\$2
    406   } ;;
    407 esac
    408 fi # as_fn_append
    409 
    410 # as_fn_arith ARG...
    411 # ------------------
    412 # Perform arithmetic evaluation on the ARGs, and store the result in the
    413 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    414 # must be portable across $(()) and expr.
    415 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    416 then :
    417   eval 'as_fn_arith ()
    418   {
    419     as_val=$(( $* ))
    420   }'
    421 else case e in #(
    422   e) as_fn_arith ()
    423   {
    424     as_val=`expr "$@" || test $? -eq 1`
    425   } ;;
    426 esac
    427 fi # as_fn_arith
    428 
    429 
    430 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    431 # ----------------------------------------
    432 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    433 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    434 # script with STATUS, using 1 if that was 0.
    435 as_fn_error ()
    436 {
    437   as_status=$1; test $as_status -eq 0 && as_status=1
    438   if test "$4"; then
    439     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    440     printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    441   fi
    442   printf '%s\n' "$as_me: error: $2" >&2
    443   as_fn_exit $as_status
    444 } # as_fn_error
    445 
    446 if expr a : '\(a\)' >/dev/null 2>&1 &&
    447    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    448   as_expr=expr
    449 else
    450   as_expr=false
    451 fi
    452 
    453 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    454   as_basename=basename
    455 else
    456   as_basename=false
    457 fi
    458 
    459 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    460   as_dirname=dirname
    461 else
    462   as_dirname=false
    463 fi
    464 
    465 as_me=`$as_basename -- "$0" ||
    466 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    467 	 X"$0" : 'X\(//\)$' \| \
    468 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    469 printf '%s\n' X/"$0" |
    470     sed '/^.*\/\([^/][^/]*\)\/*$/{
    471 	    s//\1/
    472 	    q
    473 	  }
    474 	  /^X\/\(\/\/\)$/{
    475 	    s//\1/
    476 	    q
    477 	  }
    478 	  /^X\/\(\/\).*/{
    479 	    s//\1/
    480 	    q
    481 	  }
    482 	  s/.*/./; q'`
    483 
    484 # Avoid depending upon Character Ranges.
    485 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    486 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    487 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    488 as_cr_digits='0123456789'
    489 as_cr_alnum=$as_cr_Letters$as_cr_digits
    490 
    491 
    492   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    493   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    494   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    495   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    496   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    497   sed -n '
    498     p
    499     /[$]LINENO/=
    500   ' <$as_myself |
    501     sed '
    502       t clear
    503       :clear
    504       s/[$]LINENO.*/&-/
    505       t lineno
    506       b
    507       :lineno
    508       N
    509       :loop
    510       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    511       t loop
    512       s/-\n.*//
    513     ' >$as_me.lineno &&
    514   chmod +x "$as_me.lineno" ||
    515     { printf '%s\n' "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    516 
    517   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    518   # already done that, so ensure we don't try to do so again and fall
    519   # in an infinite loop.  This has already happened in practice.
    520   _as_can_reexec=no; export _as_can_reexec
    521   # Don't try to exec as it changes $[0], causing all sort of problems
    522   # (the dirname of $[0] is not the place where we might find the
    523   # original and so on.  Autoconf is especially sensitive to this).
    524   . "./$as_me.lineno"
    525   # Exit status is that of the last command.
    526   exit
    527 }
    528 
    529 rm -f conf$$ conf$$.exe conf$$.file
    530 if test -d conf$$.dir; then
    531   rm -f conf$$.dir/conf$$.file
    532 else
    533   rm -f conf$$.dir
    534   mkdir conf$$.dir 2>/dev/null
    535 fi
    536 if (echo >conf$$.file) 2>/dev/null; then
    537   if ln -s conf$$.file conf$$ 2>/dev/null; then
    538     as_ln_s='ln -s'
    539     # ... but there are two gotchas:
    540     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    541     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    542     # In both cases, we have to default to 'cp -pR'.
    543     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    544       as_ln_s='cp -pR'
    545   elif ln conf$$.file conf$$ 2>/dev/null; then
    546     as_ln_s=ln
    547   else
    548     as_ln_s='cp -pR'
    549   fi
    550 else
    551   as_ln_s='cp -pR'
    552 fi
    553 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    554 rmdir conf$$.dir 2>/dev/null
    555 
    556 if mkdir -p . 2>/dev/null; then
    557   as_mkdir_p='mkdir -p "$as_dir"'
    558 else
    559   test -d ./-p && rmdir ./-p
    560   as_mkdir_p=false
    561 fi
    562 
    563 as_test_x='test -x'
    564 as_executable_p=as_fn_executable_p
    565 
    566 # Sed expression to map a string onto a valid CPP name.
    567 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    568 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    569 
    570 # Sed expression to map a string onto a valid variable name.
    571 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    572 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    573 
    574 SHELL=${CONFIG_SHELL-/bin/sh}
    575 
    576 
    577 test -n "$DJDIR" || exec 7<&0 </dev/null
    578 exec 6>&1
    579 
    580 # Name of the host.
    581 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    582 # so uname gets run too.
    583 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    584 
    585 #
    586 # Initializations.
    587 #
    588 ac_default_prefix=/usr/local
    589 ac_clean_CONFIG_STATUS=
    590 ac_clean_files=
    591 ac_config_libobj_dir=.
    592 LIBOBJS=
    593 cross_compiling=no
    594 subdirs=
    595 MFLAGS=
    596 MAKEFLAGS=
    597 
    598 # Identity of this package.
    599 PACKAGE_NAME='XZ Utils'
    600 PACKAGE_TARNAME='xz'
    601 PACKAGE_VERSION='5.8.3'
    602 PACKAGE_STRING='XZ Utils 5.8.3'
    603 PACKAGE_BUGREPORT='xz (at] tukaani.org'
    604 PACKAGE_URL='https://tukaani.org/xz/'
    605 
    606 ac_unique_file="src/liblzma/common/common.h"
    607 # Factoring default headers for most tests.
    608 ac_includes_default="\
    609 #include <stddef.h>
    610 #ifdef HAVE_STDIO_H
    611 # include <stdio.h>
    612 #endif
    613 #ifdef HAVE_STDLIB_H
    614 # include <stdlib.h>
    615 #endif
    616 #ifdef HAVE_STRING_H
    617 # include <string.h>
    618 #endif
    619 #ifdef HAVE_INTTYPES_H
    620 # include <inttypes.h>
    621 #endif
    622 #ifdef HAVE_STDINT_H
    623 # include <stdint.h>
    624 #endif
    625 #ifdef HAVE_STRINGS_H
    626 # include <strings.h>
    627 #endif
    628 #ifdef HAVE_SYS_TYPES_H
    629 # include <sys/types.h>
    630 #endif
    631 #ifdef HAVE_SYS_STAT_H
    632 # include <sys/stat.h>
    633 #endif
    634 #ifdef HAVE_UNISTD_H
    635 # include <unistd.h>
    636 #endif"
    637 
    638 ac_header_c_list=
    639 gt_needs=
    640 : ${enable_year2038:=no}
    641 ac_subst_vars='am__EXEEXT_FALSE
    642 am__EXEEXT_TRUE
    643 LTLIBOBJS
    644 xz
    645 AM_CFLAGS
    646 COND_GNULIB_FALSE
    647 COND_GNULIB_TRUE
    648 HAVE_VISIBILITY
    649 CFLAG_VISIBILITY
    650 COND_INTERNAL_SHA256_FALSE
    651 COND_INTERNAL_SHA256_TRUE
    652 GETOPT_H
    653 LIBOBJS
    654 localedir_c_make
    655 localedir_c
    656 POSUB
    657 LTLIBINTL
    658 LIBINTL
    659 INTLLIBS
    660 LTLIBICONV
    661 LIBICONV
    662 INTL_MACOSX_LIBS
    663 XGETTEXT_EXTRA_OPTIONS
    664 MSGMERGE_FOR_MSGFMT_OPTION
    665 MSGMERGE
    666 XGETTEXT_015
    667 XGETTEXT
    668 GMSGFMT_015
    669 GMSGFMT
    670 MSGFMT
    671 GETTEXT_MACRO_VERSION
    672 USE_NLS
    673 LINKER_FLAG_UNDEFINED_VERSION
    674 COND_SYMVERS_GENERIC_FALSE
    675 COND_SYMVERS_GENERIC_TRUE
    676 COND_SYMVERS_LINUX_FALSE
    677 COND_SYMVERS_LINUX_TRUE
    678 COND_SHARED_FALSE
    679 COND_SHARED_TRUE
    680 RC
    681 LT_SYS_LIBRARY_PATH
    682 OTOOL64
    683 OTOOL
    684 LIPO
    685 NMEDIT
    686 DSYMUTIL
    687 MANIFEST_TOOL
    688 RANLIB
    689 ac_ct_AR
    690 AR
    691 FILECMD
    692 NM
    693 ac_ct_DUMPBIN
    694 DUMPBIN
    695 LD
    696 FGREP
    697 EGREP
    698 GREP
    699 LIBTOOL
    700 OBJDUMP
    701 DLLTOOL
    702 AS
    703 COND_THREADS_FALSE
    704 COND_THREADS_TRUE
    705 PTHREAD_CFLAGS
    706 PTHREAD_LIBS
    707 PTHREAD_CXX
    708 PTHREAD_CC
    709 ax_pthread_config
    710 CPP
    711 SED
    712 am__fastdepCCAS_FALSE
    713 am__fastdepCCAS_TRUE
    714 CCASDEPMODE
    715 CCASFLAGS
    716 CCAS
    717 am__fastdepCC_FALSE
    718 am__fastdepCC_TRUE
    719 CCDEPMODE
    720 am__nodep
    721 AMDEPBACKSLASH
    722 AMDEP_FALSE
    723 AMDEP_TRUE
    724 am__include
    725 DEPDIR
    726 OBJEXT
    727 EXEEXT
    728 ac_ct_CC
    729 CPPFLAGS
    730 LDFLAGS
    731 CFLAGS
    732 CC
    733 LN_S
    734 am__xargs_n
    735 am__rm_f_notfound
    736 AM_BACKSLASH
    737 AM_DEFAULT_VERBOSITY
    738 AM_DEFAULT_V
    739 AM_V
    740 CSCOPE
    741 ETAGS
    742 CTAGS
    743 am__untar
    744 am__tar
    745 AMTAR
    746 am__leading_dot
    747 SET_MAKE
    748 AWK
    749 mkdir_p
    750 MKDIR_P
    751 INSTALL_STRIP_PROGRAM
    752 STRIP
    753 install_sh
    754 MAKEINFO
    755 AUTOHEADER
    756 AUTOMAKE
    757 AUTOCONF
    758 ACLOCAL
    759 VERSION
    760 PACKAGE
    761 CYGPATH_W
    762 am__isrc
    763 INSTALL_DATA
    764 INSTALL_SCRIPT
    765 INSTALL_PROGRAM
    766 PREFERABLY_POSIX_SHELL
    767 POSIX_SHELL
    768 enable_path_for_scripts
    769 COND_DOXYGEN_FALSE
    770 COND_DOXYGEN_TRUE
    771 COND_DOC_FALSE
    772 COND_DOC_TRUE
    773 COND_SCRIPTS_FALSE
    774 COND_SCRIPTS_TRUE
    775 COND_LZMALINKS_FALSE
    776 COND_LZMALINKS_TRUE
    777 COND_LZMAINFO_FALSE
    778 COND_LZMAINFO_TRUE
    779 COND_LZMADEC_FALSE
    780 COND_LZMADEC_TRUE
    781 COND_XZDEC_FALSE
    782 COND_XZDEC_TRUE
    783 COND_XZ_FALSE
    784 COND_XZ_TRUE
    785 COND_SMALL_FALSE
    786 COND_SMALL_TRUE
    787 COND_ASM_X86_FALSE
    788 COND_ASM_X86_TRUE
    789 COND_LZIP_DECODER_FALSE
    790 COND_LZIP_DECODER_TRUE
    791 COND_MICROLZMA_FALSE
    792 COND_MICROLZMA_TRUE
    793 COND_CHECK_SHA256_FALSE
    794 COND_CHECK_SHA256_TRUE
    795 COND_CHECK_CRC64_FALSE
    796 COND_CHECK_CRC64_TRUE
    797 COND_CHECK_CRC32_FALSE
    798 COND_CHECK_CRC32_TRUE
    799 COND_DECODER_LZ_FALSE
    800 COND_DECODER_LZ_TRUE
    801 COND_ENCODER_LZ_FALSE
    802 COND_ENCODER_LZ_TRUE
    803 COND_FILTER_LZ_FALSE
    804 COND_FILTER_LZ_TRUE
    805 COND_DECODER_SIMPLE_FALSE
    806 COND_DECODER_SIMPLE_TRUE
    807 COND_ENCODER_SIMPLE_FALSE
    808 COND_ENCODER_SIMPLE_TRUE
    809 COND_FILTER_SIMPLE_FALSE
    810 COND_FILTER_SIMPLE_TRUE
    811 COND_DECODER_RISCV_FALSE
    812 COND_DECODER_RISCV_TRUE
    813 COND_ENCODER_RISCV_FALSE
    814 COND_ENCODER_RISCV_TRUE
    815 COND_FILTER_RISCV_FALSE
    816 COND_FILTER_RISCV_TRUE
    817 COND_DECODER_SPARC_FALSE
    818 COND_DECODER_SPARC_TRUE
    819 COND_ENCODER_SPARC_FALSE
    820 COND_ENCODER_SPARC_TRUE
    821 COND_FILTER_SPARC_FALSE
    822 COND_FILTER_SPARC_TRUE
    823 COND_DECODER_ARM64_FALSE
    824 COND_DECODER_ARM64_TRUE
    825 COND_ENCODER_ARM64_FALSE
    826 COND_ENCODER_ARM64_TRUE
    827 COND_FILTER_ARM64_FALSE
    828 COND_FILTER_ARM64_TRUE
    829 COND_DECODER_ARMTHUMB_FALSE
    830 COND_DECODER_ARMTHUMB_TRUE
    831 COND_ENCODER_ARMTHUMB_FALSE
    832 COND_ENCODER_ARMTHUMB_TRUE
    833 COND_FILTER_ARMTHUMB_FALSE
    834 COND_FILTER_ARMTHUMB_TRUE
    835 COND_DECODER_ARM_FALSE
    836 COND_DECODER_ARM_TRUE
    837 COND_ENCODER_ARM_FALSE
    838 COND_ENCODER_ARM_TRUE
    839 COND_FILTER_ARM_FALSE
    840 COND_FILTER_ARM_TRUE
    841 COND_DECODER_IA64_FALSE
    842 COND_DECODER_IA64_TRUE
    843 COND_ENCODER_IA64_FALSE
    844 COND_ENCODER_IA64_TRUE
    845 COND_FILTER_IA64_FALSE
    846 COND_FILTER_IA64_TRUE
    847 COND_DECODER_POWERPC_FALSE
    848 COND_DECODER_POWERPC_TRUE
    849 COND_ENCODER_POWERPC_FALSE
    850 COND_ENCODER_POWERPC_TRUE
    851 COND_FILTER_POWERPC_FALSE
    852 COND_FILTER_POWERPC_TRUE
    853 COND_DECODER_X86_FALSE
    854 COND_DECODER_X86_TRUE
    855 COND_ENCODER_X86_FALSE
    856 COND_ENCODER_X86_TRUE
    857 COND_FILTER_X86_FALSE
    858 COND_FILTER_X86_TRUE
    859 COND_DECODER_DELTA_FALSE
    860 COND_DECODER_DELTA_TRUE
    861 COND_ENCODER_DELTA_FALSE
    862 COND_ENCODER_DELTA_TRUE
    863 COND_FILTER_DELTA_FALSE
    864 COND_FILTER_DELTA_TRUE
    865 COND_DECODER_LZMA2_FALSE
    866 COND_DECODER_LZMA2_TRUE
    867 COND_ENCODER_LZMA2_FALSE
    868 COND_ENCODER_LZMA2_TRUE
    869 COND_FILTER_LZMA2_FALSE
    870 COND_FILTER_LZMA2_TRUE
    871 COND_DECODER_LZMA1_FALSE
    872 COND_DECODER_LZMA1_TRUE
    873 COND_ENCODER_LZMA1_FALSE
    874 COND_ENCODER_LZMA1_TRUE
    875 COND_FILTER_LZMA1_FALSE
    876 COND_FILTER_LZMA1_TRUE
    877 COND_MAIN_DECODER_FALSE
    878 COND_MAIN_DECODER_TRUE
    879 COND_MAIN_ENCODER_FALSE
    880 COND_MAIN_ENCODER_TRUE
    881 LN_EXEEXT
    882 COND_W32_FALSE
    883 COND_W32_TRUE
    884 host_os
    885 host_vendor
    886 host_cpu
    887 host
    888 build_os
    889 build_vendor
    890 build_cpu
    891 build
    892 ECHO_T
    893 ECHO_N
    894 ECHO_C
    895 target_alias
    896 host_alias
    897 build_alias
    898 LIBS
    899 DEFS
    900 mandir
    901 localedir
    902 libdir
    903 psdir
    904 pdfdir
    905 dvidir
    906 htmldir
    907 infodir
    908 docdir
    909 oldincludedir
    910 includedir
    911 runstatedir
    912 localstatedir
    913 sharedstatedir
    914 sysconfdir
    915 datadir
    916 datarootdir
    917 libexecdir
    918 sbindir
    919 bindir
    920 program_transform_name
    921 prefix
    922 exec_prefix
    923 PACKAGE_URL
    924 PACKAGE_BUGREPORT
    925 PACKAGE_STRING
    926 PACKAGE_VERSION
    927 PACKAGE_TARNAME
    928 PACKAGE_NAME
    929 PATH_SEPARATOR
    930 SHELL
    931 am__quote'
    932 ac_subst_files=''
    933 ac_user_opts='
    934 enable_option_checking
    935 enable_debug
    936 enable_encoders
    937 enable_decoders
    938 enable_match_finders
    939 enable_checks
    940 enable_external_sha256
    941 enable_microlzma
    942 enable_lzip_decoder
    943 enable_assembler
    944 enable_clmul_crc
    945 enable_arm64_crc32
    946 enable_loongarch_crc32
    947 enable_small
    948 enable_threads
    949 enable_assume_ram
    950 enable_xz
    951 enable_xzdec
    952 enable_lzmadec
    953 enable_lzmainfo
    954 enable_lzma_links
    955 enable_scripts
    956 enable_doc
    957 enable_doxygen
    958 enable_sandbox
    959 enable_path_for_scripts
    960 enable_silent_rules
    961 enable_dependency_tracking
    962 enable_shared
    963 enable_static
    964 enable_pic
    965 with_pic
    966 enable_cxx_stdlib
    967 enable_fast_install
    968 enable_aix_soname
    969 with_aix_soname
    970 with_gnu_ld
    971 with_sysroot
    972 enable_libtool_lock
    973 enable_symbol_versions
    974 enable_nls
    975 enable_rpath
    976 with_libiconv_prefix
    977 with_libintl_prefix
    978 enable_largefile
    979 enable_unaligned_access
    980 enable_unsafe_type_punning
    981 enable_werror
    982 enable_year2038
    983 '
    984       ac_precious_vars='build_alias
    985 host_alias
    986 target_alias
    987 CC
    988 CFLAGS
    989 LDFLAGS
    990 LIBS
    991 CPPFLAGS
    992 CCAS
    993 CCASFLAGS
    994 CPP
    995 LT_SYS_LIBRARY_PATH'
    996 
    997 
    998 # Initialize some variables set by options.
    999 ac_init_help=
   1000 ac_init_version=false
   1001 ac_unrecognized_opts=
   1002 ac_unrecognized_sep=
   1003 # The variables have the same names as the options, with
   1004 # dashes changed to underlines.
   1005 cache_file=/dev/null
   1006 exec_prefix=NONE
   1007 no_create=
   1008 no_recursion=
   1009 prefix=NONE
   1010 program_prefix=NONE
   1011 program_suffix=NONE
   1012 program_transform_name=s,x,x,
   1013 silent=
   1014 site=
   1015 srcdir=
   1016 verbose=
   1017 x_includes=NONE
   1018 x_libraries=NONE
   1019 
   1020 # Installation directory options.
   1021 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1022 # and all the variables that are supposed to be based on exec_prefix
   1023 # by default will actually change.
   1024 # Use braces instead of parens because sh, perl, etc. also accept them.
   1025 # (The list follows the same order as the GNU Coding Standards.)
   1026 bindir='${exec_prefix}/bin'
   1027 sbindir='${exec_prefix}/sbin'
   1028 libexecdir='${exec_prefix}/libexec'
   1029 datarootdir='${prefix}/share'
   1030 datadir='${datarootdir}'
   1031 sysconfdir='${prefix}/etc'
   1032 sharedstatedir='${prefix}/com'
   1033 localstatedir='${prefix}/var'
   1034 runstatedir='${localstatedir}/run'
   1035 includedir='${prefix}/include'
   1036 oldincludedir='/usr/include'
   1037 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1038 infodir='${datarootdir}/info'
   1039 htmldir='${docdir}'
   1040 dvidir='${docdir}'
   1041 pdfdir='${docdir}'
   1042 psdir='${docdir}'
   1043 libdir='${exec_prefix}/lib'
   1044 localedir='${datarootdir}/locale'
   1045 mandir='${datarootdir}/man'
   1046 
   1047 ac_prev=
   1048 ac_dashdash=
   1049 for ac_option
   1050 do
   1051   # If the previous option needs an argument, assign it.
   1052   if test -n "$ac_prev"; then
   1053     eval $ac_prev=\$ac_option
   1054     ac_prev=
   1055     continue
   1056   fi
   1057 
   1058   case $ac_option in
   1059   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1060   *=)   ac_optarg= ;;
   1061   *)    ac_optarg=yes ;;
   1062   esac
   1063 
   1064   case $ac_dashdash$ac_option in
   1065   --)
   1066     ac_dashdash=yes ;;
   1067 
   1068   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1069     ac_prev=bindir ;;
   1070   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1071     bindir=$ac_optarg ;;
   1072 
   1073   -build | --build | --buil | --bui | --bu)
   1074     ac_prev=build_alias ;;
   1075   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1076     build_alias=$ac_optarg ;;
   1077 
   1078   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1079   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1080     ac_prev=cache_file ;;
   1081   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1082   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1083     cache_file=$ac_optarg ;;
   1084 
   1085   --config-cache | -C)
   1086     cache_file=config.cache ;;
   1087 
   1088   -datadir | --datadir | --datadi | --datad)
   1089     ac_prev=datadir ;;
   1090   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1091     datadir=$ac_optarg ;;
   1092 
   1093   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1094   | --dataroo | --dataro | --datar)
   1095     ac_prev=datarootdir ;;
   1096   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1097   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1098     datarootdir=$ac_optarg ;;
   1099 
   1100   -disable-* | --disable-*)
   1101     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1102     # Reject names that are not valid shell variable names.
   1103     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1104       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1105     ac_useropt_orig=$ac_useropt
   1106     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1107     case $ac_user_opts in
   1108       *"
   1109 "enable_$ac_useropt"
   1110 "*) ;;
   1111       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1112 	 ac_unrecognized_sep=', ';;
   1113     esac
   1114     eval enable_$ac_useropt=no ;;
   1115 
   1116   -docdir | --docdir | --docdi | --doc | --do)
   1117     ac_prev=docdir ;;
   1118   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1119     docdir=$ac_optarg ;;
   1120 
   1121   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1122     ac_prev=dvidir ;;
   1123   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1124     dvidir=$ac_optarg ;;
   1125 
   1126   -enable-* | --enable-*)
   1127     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1128     # Reject names that are not valid shell variable names.
   1129     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1130       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1131     ac_useropt_orig=$ac_useropt
   1132     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1133     case $ac_user_opts in
   1134       *"
   1135 "enable_$ac_useropt"
   1136 "*) ;;
   1137       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1138 	 ac_unrecognized_sep=', ';;
   1139     esac
   1140     eval enable_$ac_useropt=\$ac_optarg ;;
   1141 
   1142   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1143   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1144   | --exec | --exe | --ex)
   1145     ac_prev=exec_prefix ;;
   1146   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1147   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1148   | --exec=* | --exe=* | --ex=*)
   1149     exec_prefix=$ac_optarg ;;
   1150 
   1151   -gas | --gas | --ga | --g)
   1152     # Obsolete; use --with-gas.
   1153     with_gas=yes ;;
   1154 
   1155   -help | --help | --hel | --he | -h)
   1156     ac_init_help=long ;;
   1157   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1158     ac_init_help=recursive ;;
   1159   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1160     ac_init_help=short ;;
   1161 
   1162   -host | --host | --hos | --ho)
   1163     ac_prev=host_alias ;;
   1164   -host=* | --host=* | --hos=* | --ho=*)
   1165     host_alias=$ac_optarg ;;
   1166 
   1167   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1168     ac_prev=htmldir ;;
   1169   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1170   | --ht=*)
   1171     htmldir=$ac_optarg ;;
   1172 
   1173   -includedir | --includedir | --includedi | --included | --include \
   1174   | --includ | --inclu | --incl | --inc)
   1175     ac_prev=includedir ;;
   1176   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1177   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1178     includedir=$ac_optarg ;;
   1179 
   1180   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1181     ac_prev=infodir ;;
   1182   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1183     infodir=$ac_optarg ;;
   1184 
   1185   -libdir | --libdir | --libdi | --libd)
   1186     ac_prev=libdir ;;
   1187   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1188     libdir=$ac_optarg ;;
   1189 
   1190   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1191   | --libexe | --libex | --libe)
   1192     ac_prev=libexecdir ;;
   1193   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1194   | --libexe=* | --libex=* | --libe=*)
   1195     libexecdir=$ac_optarg ;;
   1196 
   1197   -localedir | --localedir | --localedi | --localed | --locale)
   1198     ac_prev=localedir ;;
   1199   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1200     localedir=$ac_optarg ;;
   1201 
   1202   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1203   | --localstate | --localstat | --localsta | --localst | --locals)
   1204     ac_prev=localstatedir ;;
   1205   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1206   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1207     localstatedir=$ac_optarg ;;
   1208 
   1209   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1210     ac_prev=mandir ;;
   1211   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1212     mandir=$ac_optarg ;;
   1213 
   1214   -nfp | --nfp | --nf)
   1215     # Obsolete; use --without-fp.
   1216     with_fp=no ;;
   1217 
   1218   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1219   | --no-cr | --no-c | -n)
   1220     no_create=yes ;;
   1221 
   1222   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1223   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1224     no_recursion=yes ;;
   1225 
   1226   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1227   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1228   | --oldin | --oldi | --old | --ol | --o)
   1229     ac_prev=oldincludedir ;;
   1230   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1231   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1232   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1233     oldincludedir=$ac_optarg ;;
   1234 
   1235   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1236     ac_prev=prefix ;;
   1237   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1238     prefix=$ac_optarg ;;
   1239 
   1240   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1241   | --program-pre | --program-pr | --program-p)
   1242     ac_prev=program_prefix ;;
   1243   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1244   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1245     program_prefix=$ac_optarg ;;
   1246 
   1247   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1248   | --program-suf | --program-su | --program-s)
   1249     ac_prev=program_suffix ;;
   1250   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1251   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1252     program_suffix=$ac_optarg ;;
   1253 
   1254   -program-transform-name | --program-transform-name \
   1255   | --program-transform-nam | --program-transform-na \
   1256   | --program-transform-n | --program-transform- \
   1257   | --program-transform | --program-transfor \
   1258   | --program-transfo | --program-transf \
   1259   | --program-trans | --program-tran \
   1260   | --progr-tra | --program-tr | --program-t)
   1261     ac_prev=program_transform_name ;;
   1262   -program-transform-name=* | --program-transform-name=* \
   1263   | --program-transform-nam=* | --program-transform-na=* \
   1264   | --program-transform-n=* | --program-transform-=* \
   1265   | --program-transform=* | --program-transfor=* \
   1266   | --program-transfo=* | --program-transf=* \
   1267   | --program-trans=* | --program-tran=* \
   1268   | --progr-tra=* | --program-tr=* | --program-t=*)
   1269     program_transform_name=$ac_optarg ;;
   1270 
   1271   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1272     ac_prev=pdfdir ;;
   1273   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1274     pdfdir=$ac_optarg ;;
   1275 
   1276   -psdir | --psdir | --psdi | --psd | --ps)
   1277     ac_prev=psdir ;;
   1278   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1279     psdir=$ac_optarg ;;
   1280 
   1281   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1282   | -silent | --silent | --silen | --sile | --sil)
   1283     silent=yes ;;
   1284 
   1285   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1286   | --runstate | --runstat | --runsta | --runst | --runs \
   1287   | --run | --ru | --r)
   1288     ac_prev=runstatedir ;;
   1289   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1290   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1291   | --run=* | --ru=* | --r=*)
   1292     runstatedir=$ac_optarg ;;
   1293 
   1294   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1295     ac_prev=sbindir ;;
   1296   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1297   | --sbi=* | --sb=*)
   1298     sbindir=$ac_optarg ;;
   1299 
   1300   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1301   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1302   | --sharedst | --shareds | --shared | --share | --shar \
   1303   | --sha | --sh)
   1304     ac_prev=sharedstatedir ;;
   1305   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1306   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1307   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1308   | --sha=* | --sh=*)
   1309     sharedstatedir=$ac_optarg ;;
   1310 
   1311   -site | --site | --sit)
   1312     ac_prev=site ;;
   1313   -site=* | --site=* | --sit=*)
   1314     site=$ac_optarg ;;
   1315 
   1316   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1317     ac_prev=srcdir ;;
   1318   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1319     srcdir=$ac_optarg ;;
   1320 
   1321   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1322   | --syscon | --sysco | --sysc | --sys | --sy)
   1323     ac_prev=sysconfdir ;;
   1324   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1325   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1326     sysconfdir=$ac_optarg ;;
   1327 
   1328   -target | --target | --targe | --targ | --tar | --ta | --t)
   1329     ac_prev=target_alias ;;
   1330   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1331     target_alias=$ac_optarg ;;
   1332 
   1333   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1334     verbose=yes ;;
   1335 
   1336   -version | --version | --versio | --versi | --vers | -V)
   1337     ac_init_version=: ;;
   1338 
   1339   -with-* | --with-*)
   1340     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1341     # Reject names that are not valid shell variable names.
   1342     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1343       as_fn_error $? "invalid package name: '$ac_useropt'"
   1344     ac_useropt_orig=$ac_useropt
   1345     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1346     case $ac_user_opts in
   1347       *"
   1348 "with_$ac_useropt"
   1349 "*) ;;
   1350       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1351 	 ac_unrecognized_sep=', ';;
   1352     esac
   1353     eval with_$ac_useropt=\$ac_optarg ;;
   1354 
   1355   -without-* | --without-*)
   1356     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1357     # Reject names that are not valid shell variable names.
   1358     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1359       as_fn_error $? "invalid package name: '$ac_useropt'"
   1360     ac_useropt_orig=$ac_useropt
   1361     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1362     case $ac_user_opts in
   1363       *"
   1364 "with_$ac_useropt"
   1365 "*) ;;
   1366       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1367 	 ac_unrecognized_sep=', ';;
   1368     esac
   1369     eval with_$ac_useropt=no ;;
   1370 
   1371   --x)
   1372     # Obsolete; use --with-x.
   1373     with_x=yes ;;
   1374 
   1375   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1376   | --x-incl | --x-inc | --x-in | --x-i)
   1377     ac_prev=x_includes ;;
   1378   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1379   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1380     x_includes=$ac_optarg ;;
   1381 
   1382   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1383   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1384     ac_prev=x_libraries ;;
   1385   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1386   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1387     x_libraries=$ac_optarg ;;
   1388 
   1389   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1390 Try '$0 --help' for more information"
   1391     ;;
   1392 
   1393   *=*)
   1394     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1395     # Reject names that are not valid shell variable names.
   1396     case $ac_envvar in #(
   1397       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1398       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1399     esac
   1400     eval $ac_envvar=\$ac_optarg
   1401     export $ac_envvar ;;
   1402 
   1403   *)
   1404     # FIXME: should be removed in autoconf 3.0.
   1405     printf '%s\n' "$as_me: WARNING: you should use --build, --host, --target" >&2
   1406     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1407       printf '%s\n' "$as_me: WARNING: invalid host type: $ac_option" >&2
   1408     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1409     ;;
   1410 
   1411   esac
   1412 done
   1413 
   1414 if test -n "$ac_prev"; then
   1415   ac_option=--`printf '%s\n' $ac_prev | sed 's/_/-/g'`
   1416   as_fn_error $? "missing argument to $ac_option"
   1417 fi
   1418 
   1419 if test -n "$ac_unrecognized_opts"; then
   1420   case $enable_option_checking in
   1421     no) ;;
   1422     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1423     *)     printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1424   esac
   1425 fi
   1426 
   1427 # Check all directory arguments for consistency.
   1428 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1429 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1430 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1431 		libdir localedir mandir runstatedir
   1432 do
   1433   eval ac_val=\$$ac_var
   1434   # Remove trailing slashes.
   1435   case $ac_val in
   1436     */ )
   1437       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1438       eval $ac_var=\$ac_val;;
   1439   esac
   1440   # Be sure to have absolute directory names.
   1441   case $ac_val in
   1442     [\\/$]* | ?:[\\/]* )  continue;;
   1443     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1444   esac
   1445   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1446 done
   1447 
   1448 # There might be people who depend on the old broken behavior: '$host'
   1449 # used to hold the argument of --host etc.
   1450 # FIXME: To remove some day.
   1451 build=$build_alias
   1452 host=$host_alias
   1453 target=$target_alias
   1454 
   1455 # FIXME: To remove some day.
   1456 if test "x$host_alias" != x; then
   1457   if test "x$build_alias" = x; then
   1458     cross_compiling=maybe
   1459   elif test "x$build_alias" != "x$host_alias"; then
   1460     cross_compiling=yes
   1461   fi
   1462 fi
   1463 
   1464 ac_tool_prefix=
   1465 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1466 
   1467 test "$silent" = yes && exec 6>/dev/null
   1468 
   1469 
   1470 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1471 ac_ls_di=`ls -di .` &&
   1472 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1473   as_fn_error $? "working directory cannot be determined"
   1474 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1475   as_fn_error $? "pwd does not report name of working directory"
   1476 
   1477 
   1478 # Find the source files, if location was not specified.
   1479 if test -z "$srcdir"; then
   1480   ac_srcdir_defaulted=yes
   1481   # Try the directory containing this script, then the parent directory.
   1482   ac_confdir=`$as_dirname -- "$as_myself" ||
   1483 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1484 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1485 	 X"$as_myself" : 'X\(//\)$' \| \
   1486 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1487 printf '%s\n' X"$as_myself" |
   1488     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1489 	    s//\1/
   1490 	    q
   1491 	  }
   1492 	  /^X\(\/\/\)[^/].*/{
   1493 	    s//\1/
   1494 	    q
   1495 	  }
   1496 	  /^X\(\/\/\)$/{
   1497 	    s//\1/
   1498 	    q
   1499 	  }
   1500 	  /^X\(\/\).*/{
   1501 	    s//\1/
   1502 	    q
   1503 	  }
   1504 	  s/.*/./; q'`
   1505   srcdir=$ac_confdir
   1506   if test ! -r "$srcdir/$ac_unique_file"; then
   1507     srcdir=..
   1508   fi
   1509 else
   1510   ac_srcdir_defaulted=no
   1511 fi
   1512 if test ! -r "$srcdir/$ac_unique_file"; then
   1513   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1514   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1515 fi
   1516 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1517 ac_abs_confdir=`(
   1518 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1519 	pwd)`
   1520 # When building in place, set srcdir=.
   1521 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1522   srcdir=.
   1523 fi
   1524 # Remove unnecessary trailing slashes from srcdir.
   1525 # Double slashes in file names in object file debugging info
   1526 # mess up M-x gdb in Emacs.
   1527 case $srcdir in
   1528 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1529 esac
   1530 for ac_var in $ac_precious_vars; do
   1531   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1532   eval ac_env_${ac_var}_value=\$${ac_var}
   1533   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1534   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1535 done
   1536 
   1537 #
   1538 # Report the --help message.
   1539 #
   1540 if test "$ac_init_help" = "long"; then
   1541   # Omit some internal or obsolete options to make the list less imposing.
   1542   # This message is too long to be a string in the A/UX 3.1 sh.
   1543   cat <<_ACEOF
   1544 'configure' configures XZ Utils 5.8.3 to adapt to many kinds of systems.
   1545 
   1546 Usage: $0 [OPTION]... [VAR=VALUE]...
   1547 
   1548 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1549 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1550 
   1551 Defaults for the options are specified in brackets.
   1552 
   1553 Configuration:
   1554   -h, --help              display this help and exit
   1555       --help=short        display options specific to this package
   1556       --help=recursive    display the short help of all the included packages
   1557   -V, --version           display version information and exit
   1558   -q, --quiet, --silent   do not print 'checking ...' messages
   1559       --cache-file=FILE   cache test results in FILE [disabled]
   1560   -C, --config-cache      alias for '--cache-file=config.cache'
   1561   -n, --no-create         do not create output files
   1562       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1563 
   1564 Installation directories:
   1565   --prefix=PREFIX         install architecture-independent files in PREFIX
   1566                           [$ac_default_prefix]
   1567   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1568                           [PREFIX]
   1569 
   1570 By default, 'make install' will install all the files in
   1571 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1572 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1573 for instance '--prefix=\$HOME'.
   1574 
   1575 For better control, use the options below.
   1576 
   1577 Fine tuning of the installation directories:
   1578   --bindir=DIR            user executables [EPREFIX/bin]
   1579   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1580   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1581   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1582   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1583   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1584   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1585   --libdir=DIR            object code libraries [EPREFIX/lib]
   1586   --includedir=DIR        C header files [PREFIX/include]
   1587   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1588   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1589   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1590   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1591   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1592   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1593   --docdir=DIR            documentation root [DATAROOTDIR/doc/xz]
   1594   --htmldir=DIR           html documentation [DOCDIR]
   1595   --dvidir=DIR            dvi documentation [DOCDIR]
   1596   --pdfdir=DIR            pdf documentation [DOCDIR]
   1597   --psdir=DIR             ps documentation [DOCDIR]
   1598 _ACEOF
   1599 
   1600   cat <<\_ACEOF
   1601 
   1602 Program names:
   1603   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1604   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1605   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1606 
   1607 System types:
   1608   --build=BUILD     configure for building on BUILD [guessed]
   1609   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1610 _ACEOF
   1611 fi
   1612 
   1613 if test -n "$ac_init_help"; then
   1614   case $ac_init_help in
   1615      short | recursive ) echo "Configuration of XZ Utils 5.8.3:";;
   1616    esac
   1617   cat <<\_ACEOF
   1618 
   1619 Optional Features:
   1620   --disable-option-checking  ignore unrecognized --enable/--with options
   1621   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1622   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1623   --enable-debug          Enable debugging code.
   1624   --enable-encoders=LIST  Comma-separated list of encoders to build.
   1625                           Default=all. Available encoders: lzma1 lzma2 delta
   1626                           x86 powerpc ia64 arm armthumb arm64 sparc riscv
   1627   --enable-decoders=LIST  Comma-separated list of decoders to build.
   1628                           Default=all. Available decoders are the same as
   1629                           available encoders.
   1630   --enable-match-finders=LIST
   1631                           Comma-separated list of match finders to build.
   1632                           Default=all. At least one match finder is required
   1633                           for encoding with the LZMA1 and LZMA2 filters.
   1634                           Available match finders: hc3 hc4 bt2 bt3 bt4
   1635   --enable-checks=LIST    Comma-separated list of integrity checks to build.
   1636                           Default=all. Available integrity checks: crc32 crc64
   1637                           sha256
   1638   --enable-external-sha256
   1639                           Use SHA-256 code from the operating system. See
   1640                           INSTALL for possible subtle problems.
   1641   --disable-microlzma     Do not build MicroLZMA encoder and decoder. It is
   1642                           needed by specific applications only, for example,
   1643                           erofs-utils.
   1644   --disable-lzip-decoder  Disable decompression support for .lz (lzip) files.
   1645   --disable-assembler     Do not use assembler optimizations even if such
   1646                           exist for the architecture.
   1647   --disable-clmul-crc     Do not use carryless multiplication for CRC
   1648                           calculation even if support for it is detected.
   1649   --disable-arm64-crc32   Do not use ARM64 CRC32 instructions even if support
   1650                           for it is detected.
   1651   --disable-loongarch-crc32
   1652                           Do not use LoongArch CRC32 instructions even if
   1653                           support for them is detected.
   1654   --enable-small          Make liblzma smaller and a little slower. This is
   1655                           disabled by default to optimize for speed.
   1656   --enable-threads=METHOD Supported METHODS are 'yes', 'no', 'posix', 'win95',
   1657                           and 'vista'. The default is 'yes'. Using 'no'
   1658                           together with --enable-small makes liblzma thread
   1659                           unsafe.
   1660   --enable-assume-ram=SIZE
   1661                           If and only if the real amount of RAM cannot be
   1662                           determined, assume SIZE MiB. The default is 128 MiB.
   1663                           This affects the default memory usage limit.
   1664   --disable-xz            do not build the xz tool
   1665   --disable-xzdec         do not build xzdec
   1666   --disable-lzmadec       do not build lzmadec (it exists primarily for LZMA
   1667                           Utils compatibility)
   1668   --disable-lzmainfo      do not build lzmainfo (it exists primarily for LZMA
   1669                           Utils compatibility)
   1670   --disable-lzma-links    do not create symlinks for LZMA Utils compatibility
   1671   --disable-scripts       do not install the scripts xzdiff, xzgrep, xzless,
   1672                           xzmore, and their symlinks
   1673   --disable-doc           do not install documentation files to docdir (man
   1674                           pages are still installed and, if --enable-doxygen
   1675                           is used, liblzma API documentation is installed too)
   1676   --enable-doxygen        generate HTML version of the liblzma API
   1677                           documentation using Doxygen and install the result
   1678                           to docdir
   1679   --enable-sandbox=METHOD Sandboxing METHOD can be 'auto', 'no', 'capsicum',
   1680                           'pledge', or 'landlock'. The default is 'auto' which
   1681                           enables sandboxing if a supported sandboxing method
   1682                           is found.
   1683   --enable-path-for-scripts=PREFIX
   1684                           If PREFIX isn't empty, PATH=PREFIX:$PATH will be set
   1685                           in the beginning of the scripts (xzgrep and others).
   1686                           The default is empty except on Solaris the default
   1687                           is /usr/xpg4/bin.
   1688   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1689   --disable-silent-rules  verbose build output (undo: "make V=0")
   1690   --enable-dependency-tracking
   1691                           do not reject slow dependency extractors
   1692   --disable-dependency-tracking
   1693                           speeds up one-time build
   1694   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1695   --enable-static[=PKGS]  build static libraries [default=yes]
   1696   --enable-pic[=PKGS]     try to use only PIC/non-PIC objects [default=use
   1697                           both]
   1698   --enable-cxx-stdlib[=PKGS]
   1699                           let the compiler frontend decide what standard
   1700                           libraries to link when building C++ shared libraries
   1701                           and modules [default=no]
   1702   --enable-fast-install[=PKGS]
   1703                           optimize for fast installation [default=yes]
   1704   --enable-aix-soname=aix|svr4|both
   1705                           shared library versioning (aka "SONAME") variant to
   1706                           provide on AIX, [default=aix].
   1707   --disable-libtool-lock  avoid locking (might break parallel builds)
   1708   --enable-symbol-versions
   1709                           Use symbol versioning for liblzma. Enabled by
   1710                           default on GNU/Linux, other GNU-based systems, and
   1711                           FreeBSD.
   1712   --disable-nls           do not use Native Language Support
   1713   --disable-rpath         do not hardcode runtime library paths
   1714   --disable-largefile     omit support for large files
   1715   --enable-unaligned-access
   1716                           Enable if the system supports *fast* unaligned
   1717                           memory access with 16-bit, 32-bit, and 64-bit
   1718                           integers. By default, this is enabled on x86,
   1719                           x86-64, 32/64-bit big endian PowerPC, 64-bit little
   1720                           endian PowerPC, and some ARM, ARM64, and RISC-V
   1721                           systems.
   1722   --enable-unsafe-type-punning
   1723                           This introduces strict aliasing violations and may
   1724                           result in broken code. However, this might improve
   1725                           performance in some cases, especially with old
   1726                           compilers (e.g. GCC 3 and early 4.x on x86, GCC < 6
   1727                           on ARMv6 and ARMv7).
   1728   --enable-werror         Enable -Werror to abort compilation on all compiler
   1729                           warnings.
   1730   --enable-year2038       support timestamps after 2038
   1731 
   1732 Optional Packages:
   1733   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1734   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1735   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1736   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1737                           compiler's sysroot if not specified).
   1738   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1739   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
   1740   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
   1741   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
   1742   --without-libintl-prefix     don't search for libintl in includedir and libdir
   1743 
   1744 Some influential environment variables:
   1745   CC          C compiler command
   1746   CFLAGS      C compiler flags
   1747   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1748               nonstandard directory <lib dir>
   1749   LIBS        libraries to pass to the linker, e.g. -l<library>
   1750   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1751               you have headers in a nonstandard directory <include dir>
   1752   CCAS        assembler compiler command (defaults to CC)
   1753   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
   1754   CPP         C preprocessor
   1755   LT_SYS_LIBRARY_PATH
   1756               User-defined run-time library search path.
   1757 
   1758 Use these variables to override the choices made by 'configure' or to help
   1759 it to find libraries and programs with nonstandard names/locations.
   1760 
   1761 Report bugs to <xz@tukaani.org>.
   1762 XZ Utils home page: <https://tukaani.org/xz/>.
   1763 _ACEOF
   1764 ac_status=$?
   1765 fi
   1766 
   1767 if test "$ac_init_help" = "recursive"; then
   1768   # If there are subdirs, report their specific --help.
   1769   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1770     test -d "$ac_dir" ||
   1771       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1772       continue
   1773     ac_builddir=.
   1774 
   1775 case "$ac_dir" in
   1776 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1777 *)
   1778   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   1779   # A ".." for each directory in $ac_dir_suffix.
   1780   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1781   case $ac_top_builddir_sub in
   1782   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1783   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1784   esac ;;
   1785 esac
   1786 ac_abs_top_builddir=$ac_pwd
   1787 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1788 # for backward compatibility:
   1789 ac_top_builddir=$ac_top_build_prefix
   1790 
   1791 case $srcdir in
   1792   .)  # We are building in place.
   1793     ac_srcdir=.
   1794     ac_top_srcdir=$ac_top_builddir_sub
   1795     ac_abs_top_srcdir=$ac_pwd ;;
   1796   [\\/]* | ?:[\\/]* )  # Absolute name.
   1797     ac_srcdir=$srcdir$ac_dir_suffix;
   1798     ac_top_srcdir=$srcdir
   1799     ac_abs_top_srcdir=$srcdir ;;
   1800   *) # Relative name.
   1801     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1802     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1803     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1804 esac
   1805 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1806 
   1807     cd "$ac_dir" || { ac_status=$?; continue; }
   1808     # Check for configure.gnu first; this name is used for a wrapper for
   1809     # Metaconfig's "Configure" on case-insensitive file systems.
   1810     if test -f "$ac_srcdir/configure.gnu"; then
   1811       echo &&
   1812       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1813     elif test -f "$ac_srcdir/configure"; then
   1814       echo &&
   1815       $SHELL "$ac_srcdir/configure" --help=recursive
   1816     else
   1817       printf '%s\n' "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1818     fi || ac_status=$?
   1819     cd "$ac_pwd" || { ac_status=$?; break; }
   1820   done
   1821 fi
   1822 
   1823 test -n "$ac_init_help" && exit $ac_status
   1824 if $ac_init_version; then
   1825   cat <<\_ACEOF
   1826 XZ Utils configure 5.8.3
   1827 generated by GNU Autoconf 2.73
   1828 
   1829 Copyright (C) 2026 Free Software Foundation, Inc.
   1830 This configure script is free software; the Free Software Foundation
   1831 gives unlimited permission to copy, distribute and modify it.
   1832 _ACEOF
   1833   exit
   1834 fi
   1835 
   1836 ## ------------------------ ##
   1837 ## Autoconf initialization. ##
   1838 ## ------------------------ ##
   1839 
   1840 # ac_fn_c_try_compile LINENO
   1841 # --------------------------
   1842 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1843 ac_fn_c_try_compile ()
   1844 {
   1845   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1846   rm -f conftest.$ac_objext conftest.beam
   1847   if { { ac_try="$ac_compile"
   1848 case "(($ac_try" in
   1849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1850   *) ac_try_echo=$ac_try;;
   1851 esac
   1852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1853 printf '%s\n' "$ac_try_echo"; } >&5
   1854   (eval "$ac_compile") 2>conftest.err
   1855   ac_status=$?
   1856   if test -s conftest.err; then
   1857     grep -v '^ *+' conftest.err >conftest.er1
   1858     cat conftest.er1 >&5
   1859     mv -f conftest.er1 conftest.err
   1860   fi
   1861   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1862   test $ac_status = 0; } && {
   1863 	 test -z "$ac_c_werror_flag" ||
   1864 	 test ! -s conftest.err
   1865        } && test -s conftest.$ac_objext
   1866 then :
   1867   ac_retval=0
   1868 else case e in #(
   1869   e) printf '%s\n' "$as_me: failed program was:" >&5
   1870 sed 's/^/| /' conftest.$ac_ext >&5
   1871 
   1872 	ac_retval=1 ;;
   1873 esac
   1874 fi
   1875   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1876   as_fn_set_status $ac_retval
   1877 
   1878 } # ac_fn_c_try_compile
   1879 
   1880 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1881 # -------------------------------------------------------
   1882 # Tests whether HEADER exists and can be compiled using the include files in
   1883 # INCLUDES, setting the cache variable VAR accordingly.
   1884 ac_fn_c_check_header_compile ()
   1885 {
   1886   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1887   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1888 printf %s "checking for $2... " >&6; }
   1889 if eval test \${$3+y}
   1890 then :
   1891   printf %s "(cached) " >&6
   1892 else case e in #(
   1893   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1894 /* end confdefs.h.  */
   1895 $4
   1896 #include <$2>
   1897 _ACEOF
   1898 if ac_fn_c_try_compile "$LINENO"
   1899 then :
   1900   eval "$3=yes"
   1901 else case e in #(
   1902   e) eval "$3=no" ;;
   1903 esac
   1904 fi
   1905 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1906 esac
   1907 fi
   1908 eval ac_res=\$$3
   1909 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1910 printf '%s\n' "$ac_res" >&6; }
   1911   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1912 
   1913 } # ac_fn_c_check_header_compile
   1914 
   1915 # ac_fn_c_try_link LINENO
   1916 # -----------------------
   1917 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1918 ac_fn_c_try_link ()
   1919 {
   1920   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1921   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1922   if { { ac_try="$ac_link"
   1923 case "(($ac_try" in
   1924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1925   *) ac_try_echo=$ac_try;;
   1926 esac
   1927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1928 printf '%s\n' "$ac_try_echo"; } >&5
   1929   (eval "$ac_link") 2>conftest.err
   1930   ac_status=$?
   1931   if test -s conftest.err; then
   1932     grep -v '^ *+' conftest.err >conftest.er1
   1933     cat conftest.er1 >&5
   1934     mv -f conftest.er1 conftest.err
   1935   fi
   1936   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1937   test $ac_status = 0; } && {
   1938 	 test -z "$ac_c_werror_flag" ||
   1939 	 test ! -s conftest.err
   1940        } && test -s conftest$ac_exeext && {
   1941 	 test "$cross_compiling" = yes ||
   1942 	 test -x conftest$ac_exeext
   1943        }
   1944 then :
   1945   ac_retval=0
   1946 else case e in #(
   1947   e) printf '%s\n' "$as_me: failed program was:" >&5
   1948 sed 's/^/| /' conftest.$ac_ext >&5
   1949 
   1950 	ac_retval=1 ;;
   1951 esac
   1952 fi
   1953   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1954   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1955   # interfere with the next link command; also delete a directory that is
   1956   # left behind by Apple's compiler.  We do this before executing the actions.
   1957   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1958   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1959   as_fn_set_status $ac_retval
   1960 
   1961 } # ac_fn_c_try_link
   1962 
   1963 # ac_fn_c_try_cpp LINENO
   1964 # ----------------------
   1965 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1966 ac_fn_c_try_cpp ()
   1967 {
   1968   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1969   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1970 case "(($ac_try" in
   1971   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1972   *) ac_try_echo=$ac_try;;
   1973 esac
   1974 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1975 printf '%s\n' "$ac_try_echo"; } >&5
   1976   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1977   ac_status=$?
   1978   if test -s conftest.err; then
   1979     grep -v '^ *+' conftest.err >conftest.er1
   1980     cat conftest.er1 >&5
   1981     mv -f conftest.er1 conftest.err
   1982   fi
   1983   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1984   test $ac_status = 0; } > conftest.i && {
   1985 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1986 	 test ! -s conftest.err
   1987        }
   1988 then :
   1989   ac_retval=0
   1990 else case e in #(
   1991   e) printf '%s\n' "$as_me: failed program was:" >&5
   1992 sed 's/^/| /' conftest.$ac_ext >&5
   1993 
   1994     ac_retval=1 ;;
   1995 esac
   1996 fi
   1997   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1998   as_fn_set_status $ac_retval
   1999 
   2000 } # ac_fn_c_try_cpp
   2001 
   2002 # ac_fn_c_check_func LINENO FUNC VAR
   2003 # ----------------------------------
   2004 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   2005 ac_fn_c_check_func ()
   2006 {
   2007   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2008   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2009 printf %s "checking for $2... " >&6; }
   2010 if eval test \${$3+y}
   2011 then :
   2012   printf %s "(cached) " >&6
   2013 else case e in #(
   2014   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2015 /* end confdefs.h.  */
   2016 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   2017    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   2018 #define $2 innocuous_$2
   2019 
   2020 /* System header to define __stub macros and hopefully few prototypes,
   2021    which can conflict with char $2 (void); below.  */
   2022 
   2023 #include <limits.h>
   2024 #undef $2
   2025 
   2026 /* Override any GCC internal prototype to avoid an error.
   2027    Use char because int might match the return type of a GCC
   2028    builtin and then its argument prototype would still apply.  */
   2029 #ifdef __cplusplus
   2030 extern "C"
   2031 #endif
   2032 char $2 (void);
   2033 /* The GNU C library defines this for functions which it implements
   2034     to always fail with ENOSYS.  Some functions are actually named
   2035     something starting with __ and the normal name is an alias.  */
   2036 #if defined __stub_$2 || defined __stub___$2
   2037 choke me
   2038 #endif
   2039 
   2040 int
   2041 main (void)
   2042 {
   2043 return $2 ();
   2044   ;
   2045   return 0;
   2046 }
   2047 _ACEOF
   2048 if ac_fn_c_try_link "$LINENO"
   2049 then :
   2050   eval "$3=yes"
   2051 else case e in #(
   2052   e) eval "$3=no" ;;
   2053 esac
   2054 fi
   2055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   2056     conftest$ac_exeext conftest.$ac_ext ;;
   2057 esac
   2058 fi
   2059 eval ac_res=\$$3
   2060 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2061 printf '%s\n' "$ac_res" >&6; }
   2062   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2063 
   2064 } # ac_fn_c_check_func
   2065 
   2066 # ac_fn_c_try_run LINENO
   2067 # ----------------------
   2068 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   2069 # executables *can* be run.
   2070 ac_fn_c_try_run ()
   2071 {
   2072   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2073   if { { ac_try="$ac_link"
   2074 case "(($ac_try" in
   2075   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2076   *) ac_try_echo=$ac_try;;
   2077 esac
   2078 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2079 printf '%s\n' "$ac_try_echo"; } >&5
   2080   (eval "$ac_link") 2>&5
   2081   ac_status=$?
   2082   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2083   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   2084   { { case "(($ac_try" in
   2085   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2086   *) ac_try_echo=$ac_try;;
   2087 esac
   2088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2089 printf '%s\n' "$ac_try_echo"; } >&5
   2090   (eval "$ac_try") 2>&5
   2091   ac_status=$?
   2092   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2093   test $ac_status = 0; }; }
   2094 then :
   2095   ac_retval=0
   2096 else case e in #(
   2097   e) printf '%s\n' "$as_me: program exited with status $ac_status" >&5
   2098        printf '%s\n' "$as_me: failed program was:" >&5
   2099 sed 's/^/| /' conftest.$ac_ext >&5
   2100 
   2101        ac_retval=$ac_status ;;
   2102 esac
   2103 fi
   2104   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2105   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2106   as_fn_set_status $ac_retval
   2107 
   2108 } # ac_fn_c_try_run
   2109 
   2110 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2111 # -------------------------------------------
   2112 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2113 # variable VAR accordingly.
   2114 ac_fn_c_check_type ()
   2115 {
   2116   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2117   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2118 printf %s "checking for $2... " >&6; }
   2119 if eval test \${$3+y}
   2120 then :
   2121   printf %s "(cached) " >&6
   2122 else case e in #(
   2123   e) eval "$3=no"
   2124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2125 /* end confdefs.h.  */
   2126 $4
   2127 int
   2128 main (void)
   2129 {
   2130 if (sizeof ($2))
   2131 	 return 0;
   2132   ;
   2133   return 0;
   2134 }
   2135 _ACEOF
   2136 if ac_fn_c_try_compile "$LINENO"
   2137 then :
   2138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2139 /* end confdefs.h.  */
   2140 $4
   2141 int
   2142 main (void)
   2143 {
   2144 if (sizeof (($2)))
   2145 	    return 0;
   2146   ;
   2147   return 0;
   2148 }
   2149 _ACEOF
   2150 if ac_fn_c_try_compile "$LINENO"
   2151 then :
   2152 
   2153 else case e in #(
   2154   e) eval "$3=yes" ;;
   2155 esac
   2156 fi
   2157 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2158 fi
   2159 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2160 esac
   2161 fi
   2162 eval ac_res=\$$3
   2163 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2164 printf '%s\n' "$ac_res" >&6; }
   2165   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2166 
   2167 } # ac_fn_c_check_type
   2168 
   2169 # ac_fn_c_find_uintX_t LINENO BITS VAR
   2170 # ------------------------------------
   2171 # Finds an unsigned integer type with width BITS, setting cache variable VAR
   2172 # accordingly.
   2173 ac_fn_c_find_uintX_t ()
   2174 {
   2175   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2176   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
   2177 printf %s "checking for uint$2_t... " >&6; }
   2178 if eval test \${$3+y}
   2179 then :
   2180   printf %s "(cached) " >&6
   2181 else case e in #(
   2182   e) eval "$3=no"
   2183      # Order is important - never check a type that is potentially smaller
   2184      # than half of the expected target width.
   2185      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
   2186 	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
   2187        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2188 /* end confdefs.h.  */
   2189 $ac_includes_default
   2190 int
   2191 main (void)
   2192 {
   2193 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
   2194 test_array [0] = 0;
   2195 return test_array [0];
   2196 
   2197   ;
   2198   return 0;
   2199 }
   2200 _ACEOF
   2201 if ac_fn_c_try_compile "$LINENO"
   2202 then :
   2203   case $ac_type in #(
   2204   uint$2_t) :
   2205     eval "$3=yes" ;; #(
   2206   *) :
   2207     eval "$3=\$ac_type" ;;
   2208 esac
   2209 fi
   2210 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2211        if eval test \"x\$"$3"\" = x"no"
   2212 then :
   2213 
   2214 else case e in #(
   2215   e) break ;;
   2216 esac
   2217 fi
   2218      done ;;
   2219 esac
   2220 fi
   2221 eval ac_res=\$$3
   2222 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2223 printf '%s\n' "$ac_res" >&6; }
   2224   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2225 
   2226 } # ac_fn_c_find_uintX_t
   2227 
   2228 # ac_fn_c_find_intX_t LINENO BITS VAR
   2229 # -----------------------------------
   2230 # Finds a signed integer type with width BITS, setting cache variable VAR
   2231 # accordingly.
   2232 ac_fn_c_find_intX_t ()
   2233 {
   2234   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2235   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
   2236 printf %s "checking for int$2_t... " >&6; }
   2237 if eval test \${$3+y}
   2238 then :
   2239   printf %s "(cached) " >&6
   2240 else case e in #(
   2241   e) eval "$3=no"
   2242      # Order is important - never check a type that is potentially smaller
   2243      # than half of the expected target width.
   2244      for ac_type in int$2_t 'int' 'long int' \
   2245 	 'long long int' 'short int' 'signed char'; do
   2246        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2247 /* end confdefs.h.  */
   2248 $ac_includes_default
   2249 	     enum { N = $2 / 2 - 1 };
   2250 int
   2251 main (void)
   2252 {
   2253 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
   2254 test_array [0] = 0;
   2255 return test_array [0];
   2256 
   2257   ;
   2258   return 0;
   2259 }
   2260 _ACEOF
   2261 if ac_fn_c_try_compile "$LINENO"
   2262 then :
   2263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2264 /* end confdefs.h.  */
   2265 $ac_includes_default
   2266 	        enum { N = $2 / 2 - 1 };
   2267 int
   2268 main (void)
   2269 {
   2270 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
   2271 		 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
   2272 test_array [0] = 0;
   2273 return test_array [0];
   2274 
   2275   ;
   2276   return 0;
   2277 }
   2278 _ACEOF
   2279 if ac_fn_c_try_compile "$LINENO"
   2280 then :
   2281 
   2282 else case e in #(
   2283   e) case $ac_type in #(
   2284   int$2_t) :
   2285     eval "$3=yes" ;; #(
   2286   *) :
   2287     eval "$3=\$ac_type" ;;
   2288 esac ;;
   2289 esac
   2290 fi
   2291 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2292 fi
   2293 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2294        if eval test \"x\$"$3"\" = x"no"
   2295 then :
   2296 
   2297 else case e in #(
   2298   e) break ;;
   2299 esac
   2300 fi
   2301      done ;;
   2302 esac
   2303 fi
   2304 eval ac_res=\$$3
   2305 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2306 printf '%s\n' "$ac_res" >&6; }
   2307   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2308 
   2309 } # ac_fn_c_find_intX_t
   2310 
   2311 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   2312 # --------------------------------------------
   2313 # Tries to find the compile-time value of EXPR in a program that includes
   2314 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   2315 # computed
   2316 ac_fn_c_compute_int ()
   2317 {
   2318   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2319   if test "$cross_compiling" = yes; then
   2320     # Depending upon the size, compute the lo and hi bounds.
   2321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2322 /* end confdefs.h.  */
   2323 $4
   2324 int
   2325 main (void)
   2326 {
   2327 static int test_array [1 - 2 * !(($2) >= 0)];
   2328 test_array [0] = 0;
   2329 return test_array [0];
   2330 
   2331   ;
   2332   return 0;
   2333 }
   2334 _ACEOF
   2335 if ac_fn_c_try_compile "$LINENO"
   2336 then :
   2337   ac_lo=0 ac_mid=0
   2338   while :; do
   2339     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2340 /* end confdefs.h.  */
   2341 $4
   2342 int
   2343 main (void)
   2344 {
   2345 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2346 test_array [0] = 0;
   2347 return test_array [0];
   2348 
   2349   ;
   2350   return 0;
   2351 }
   2352 _ACEOF
   2353 if ac_fn_c_try_compile "$LINENO"
   2354 then :
   2355   ac_hi=$ac_mid; break
   2356 else case e in #(
   2357   e) as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2358 			if test $ac_lo -le $ac_mid; then
   2359 			  ac_lo= ac_hi=
   2360 			  break
   2361 			fi
   2362 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val ;;
   2363 esac
   2364 fi
   2365 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2366   done
   2367 else case e in #(
   2368   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2369 /* end confdefs.h.  */
   2370 $4
   2371 int
   2372 main (void)
   2373 {
   2374 static int test_array [1 - 2 * !(($2) < 0)];
   2375 test_array [0] = 0;
   2376 return test_array [0];
   2377 
   2378   ;
   2379   return 0;
   2380 }
   2381 _ACEOF
   2382 if ac_fn_c_try_compile "$LINENO"
   2383 then :
   2384   ac_hi=-1 ac_mid=-1
   2385   while :; do
   2386     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2387 /* end confdefs.h.  */
   2388 $4
   2389 int
   2390 main (void)
   2391 {
   2392 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2393 test_array [0] = 0;
   2394 return test_array [0];
   2395 
   2396   ;
   2397   return 0;
   2398 }
   2399 _ACEOF
   2400 if ac_fn_c_try_compile "$LINENO"
   2401 then :
   2402   ac_lo=$ac_mid; break
   2403 else case e in #(
   2404   e) as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2405 			if test $ac_mid -le $ac_hi; then
   2406 			  ac_lo= ac_hi=
   2407 			  break
   2408 			fi
   2409 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val ;;
   2410 esac
   2411 fi
   2412 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2413   done
   2414 else case e in #(
   2415   e) ac_lo= ac_hi= ;;
   2416 esac
   2417 fi
   2418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2419 esac
   2420 fi
   2421 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2422 # Binary search between lo and hi bounds.
   2423 while test "x$ac_lo" != "x$ac_hi"; do
   2424   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2426 /* end confdefs.h.  */
   2427 $4
   2428 int
   2429 main (void)
   2430 {
   2431 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2432 test_array [0] = 0;
   2433 return test_array [0];
   2434 
   2435   ;
   2436   return 0;
   2437 }
   2438 _ACEOF
   2439 if ac_fn_c_try_compile "$LINENO"
   2440 then :
   2441   ac_hi=$ac_mid
   2442 else case e in #(
   2443   e) as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val ;;
   2444 esac
   2445 fi
   2446 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2447 done
   2448 case $ac_lo in #((
   2449 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2450 '') ac_retval=1 ;;
   2451 esac
   2452   else
   2453     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2454 /* end confdefs.h.  */
   2455 $4
   2456 static long int longval (void) { return $2; }
   2457 static unsigned long int ulongval (void) { return $2; }
   2458 #include <stdio.h>
   2459 #include <stdlib.h>
   2460 int
   2461 main (void)
   2462 {
   2463 
   2464   FILE *f = fopen ("conftest.val", "w");
   2465   if (! f)
   2466     return 1;
   2467   if (($2) < 0)
   2468     {
   2469       long int i = longval ();
   2470       if (i != ($2))
   2471 	return 1;
   2472       fprintf (f, "%ld", i);
   2473     }
   2474   else
   2475     {
   2476       unsigned long int i = ulongval ();
   2477       if (i != ($2))
   2478 	return 1;
   2479       fprintf (f, "%lu", i);
   2480     }
   2481   /* Do not output a trailing newline, as this causes \r\n confusion
   2482      on some platforms.  */
   2483   return ferror (f) || fclose (f) != 0;
   2484 
   2485   ;
   2486   return 0;
   2487 }
   2488 _ACEOF
   2489 if ac_fn_c_try_run "$LINENO"
   2490 then :
   2491   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2492 else case e in #(
   2493   e) ac_retval=1 ;;
   2494 esac
   2495 fi
   2496 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2497   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2498 rm -f conftest.val
   2499 
   2500   fi
   2501   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2502   as_fn_set_status $ac_retval
   2503 
   2504 } # ac_fn_c_compute_int
   2505 
   2506 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2507 # ----------------------------------------------------
   2508 # Tries to find if the field MEMBER exists in type AGGR, after including
   2509 # INCLUDES, setting cache variable VAR accordingly.
   2510 ac_fn_c_check_member ()
   2511 {
   2512   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2513   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2514 printf %s "checking for $2.$3... " >&6; }
   2515 if eval test \${$4+y}
   2516 then :
   2517   printf %s "(cached) " >&6
   2518 else case e in #(
   2519   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2520 /* end confdefs.h.  */
   2521 $5
   2522 int
   2523 main (void)
   2524 {
   2525 static $2 ac_aggr;
   2526 if (ac_aggr.$3)
   2527 return 0;
   2528   ;
   2529   return 0;
   2530 }
   2531 _ACEOF
   2532 if ac_fn_c_try_compile "$LINENO"
   2533 then :
   2534   eval "$4=yes"
   2535 else case e in #(
   2536   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2537 /* end confdefs.h.  */
   2538 $5
   2539 int
   2540 main (void)
   2541 {
   2542 static $2 ac_aggr;
   2543 if (sizeof ac_aggr.$3)
   2544 return 0;
   2545   ;
   2546   return 0;
   2547 }
   2548 _ACEOF
   2549 if ac_fn_c_try_compile "$LINENO"
   2550 then :
   2551   eval "$4=yes"
   2552 else case e in #(
   2553   e) eval "$4=no" ;;
   2554 esac
   2555 fi
   2556 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2557 esac
   2558 fi
   2559 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2560 esac
   2561 fi
   2562 eval ac_res=\$$4
   2563 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2564 printf '%s\n' "$ac_res" >&6; }
   2565   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2566 
   2567 } # ac_fn_c_check_member
   2568 
   2569 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   2570 # ------------------------------------------------------------------
   2571 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2572 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   2573 ac_fn_check_decl ()
   2574 {
   2575   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2576   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2577   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2578 printf %s "checking whether $as_decl_name is declared... " >&6; }
   2579 if eval test \${$3+y}
   2580 then :
   2581   printf %s "(cached) " >&6
   2582 else case e in #(
   2583   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2584   eval ac_save_FLAGS=\$$6
   2585   as_fn_append $6 " $5"
   2586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2587 /* end confdefs.h.  */
   2588 $4
   2589 int
   2590 main (void)
   2591 {
   2592 #ifndef $as_decl_name
   2593 #ifdef __cplusplus
   2594   (void) $as_decl_use;
   2595 #else
   2596   (void) $as_decl_name;
   2597 #endif
   2598 #endif
   2599 
   2600   ;
   2601   return 0;
   2602 }
   2603 _ACEOF
   2604 if ac_fn_c_try_compile "$LINENO"
   2605 then :
   2606   eval "$3=yes"
   2607 else case e in #(
   2608   e) eval "$3=no" ;;
   2609 esac
   2610 fi
   2611 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2612   eval $6=\$ac_save_FLAGS
   2613  ;;
   2614 esac
   2615 fi
   2616 eval ac_res=\$$3
   2617 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2618 printf '%s\n' "$ac_res" >&6; }
   2619   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2620 
   2621 } # ac_fn_check_decl
   2622 ac_configure_args_raw=
   2623 for ac_arg
   2624 do
   2625   case $ac_arg in
   2626   *\'*)
   2627     ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2628   esac
   2629   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2630 done
   2631 
   2632 case $ac_configure_args_raw in
   2633   *$as_nl*)
   2634     ac_safe_unquote= ;;
   2635   *)
   2636     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2637     ac_unsafe_a="$ac_unsafe_z#~"
   2638     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2639     ac_configure_args_raw=`      printf '%s\n' "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2640 esac
   2641 
   2642 cat >config.log <<_ACEOF
   2643 This file contains any messages produced by compilers while
   2644 running configure, to aid debugging if configure makes a mistake.
   2645 
   2646 It was created by XZ Utils $as_me 5.8.3, which was
   2647 generated by GNU Autoconf 2.73.  Invocation command line was
   2648 
   2649   $ $0$ac_configure_args_raw
   2650 
   2651 _ACEOF
   2652 exec 5>>config.log
   2653 {
   2654 cat <<_ASUNAME
   2655 ## --------- ##
   2656 ## Platform. ##
   2657 ## --------- ##
   2658 
   2659 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2660 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2661 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2662 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2663 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2664 
   2665 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2666 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2667 
   2668 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2669 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2670 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2671 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2672 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2673 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2674 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2675 
   2676 _ASUNAME
   2677 
   2678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2679 for as_dir in $PATH
   2680 do
   2681   IFS=$as_save_IFS
   2682   case $as_dir in #(((
   2683     '') as_dir=./ ;;
   2684     */) ;;
   2685     *) as_dir=$as_dir/ ;;
   2686   esac
   2687     printf '%s\n' "PATH: $as_dir"
   2688   done
   2689 IFS=$as_save_IFS
   2690 
   2691 } >&5
   2692 
   2693 cat >&5 <<_ACEOF
   2694 
   2695 
   2696 ## ----------- ##
   2697 ## Core tests. ##
   2698 ## ----------- ##
   2699 
   2700 _ACEOF
   2701 
   2702 
   2703 # Keep a trace of the command line.
   2704 # Strip out --no-create and --no-recursion so they do not pile up.
   2705 # Strip out --silent because we don't want to record it for future runs.
   2706 # Also quote any args containing shell meta-characters.
   2707 # Make two passes to allow for proper duplicate-argument suppression.
   2708 ac_configure_args=
   2709 ac_configure_args0=
   2710 ac_configure_args1=
   2711 ac_must_keep_next=false
   2712 for ac_pass in 1 2
   2713 do
   2714   for ac_arg
   2715   do
   2716     case $ac_arg in
   2717     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2718     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2719     | -silent | --silent | --silen | --sile | --sil)
   2720       continue ;;
   2721     *\'*)
   2722       ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2723     esac
   2724     case $ac_pass in
   2725     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2726     2)
   2727       as_fn_append ac_configure_args1 " '$ac_arg'"
   2728       if test $ac_must_keep_next = true; then
   2729 	ac_must_keep_next=false # Got value, back to normal.
   2730       else
   2731 	case $ac_arg in
   2732 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2733 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2734 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2735 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2736 	    case "$ac_configure_args0 " in
   2737 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2738 	    esac
   2739 	    ;;
   2740 	  -* ) ac_must_keep_next=true ;;
   2741 	esac
   2742       fi
   2743       as_fn_append ac_configure_args " '$ac_arg'"
   2744       ;;
   2745     esac
   2746   done
   2747 done
   2748 { ac_configure_args0=; unset ac_configure_args0;}
   2749 { ac_configure_args1=; unset ac_configure_args1;}
   2750 
   2751 # Dump the cache to stdout.  It can be in a pipe (this is a requirement).
   2752 ac_cache_dump ()
   2753 {
   2754   # The following way of writing the cache mishandles newlines in values,
   2755 # but we know of no workaround that is simple, portable, and efficient.
   2756 # So, we kill variables containing newlines.
   2757 # Ultrix sh set writes to stderr and can't be redirected directly,
   2758 # and sets the high bit in the cache file unless we assign to the vars.
   2759 (
   2760   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   2761     eval ac_val=\$$ac_var
   2762     case $ac_val in #(
   2763     *${as_nl}*)
   2764       case $ac_var in #(
   2765       *_cv_*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2766 printf '%s\n' "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2767       esac
   2768       case $ac_var in #(
   2769       _ | IFS | as_nl) ;; #(
   2770       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2771       *) { eval $ac_var=; unset $ac_var;} ;;
   2772       esac ;;
   2773     esac
   2774   done
   2775 
   2776   (set) 2>&1 |
   2777     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   2778     *${as_nl}ac_space=\ *)
   2779       # 'set' does not quote correctly, so add quotes: double-quote
   2780       # substitution turns \\\\ into \\, and sed turns \\ into \.
   2781       sed -n \
   2782 	"s/'/'\\\\''/g;
   2783 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   2784       ;; #(
   2785     *)
   2786       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   2787       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2788       ;;
   2789     esac |
   2790     sort
   2791 )
   2792 }
   2793 
   2794 # Print debugging info to stdout.
   2795 ac_dump_debugging_info ()
   2796 {
   2797   echo
   2798 
   2799   printf '%s\n' "## ---------------- ##
   2800 ## Cache variables. ##
   2801 ## ---------------- ##"
   2802   echo
   2803   ac_cache_dump
   2804   echo
   2805 
   2806   printf '%s\n' "## ----------------- ##
   2807 ## Output variables. ##
   2808 ## ----------------- ##"
   2809   echo
   2810   for ac_var in $ac_subst_vars
   2811   do
   2812     eval ac_val=\$$ac_var
   2813     case $ac_val in
   2814     *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   2815     esac
   2816     printf '%s\n' "$ac_var='$ac_val'"
   2817   done | sort
   2818   echo
   2819 
   2820   if test -n "$ac_subst_files"; then
   2821     printf '%s\n' "## ------------------- ##
   2822 ## File substitutions. ##
   2823 ## ------------------- ##"
   2824     echo
   2825     for ac_var in $ac_subst_files
   2826     do
   2827       eval ac_val=\$$ac_var
   2828       case $ac_val in
   2829       *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   2830       esac
   2831       printf '%s\n' "$ac_var='$ac_val'"
   2832     done | sort
   2833     echo
   2834   fi
   2835 
   2836   if test -s confdefs.h; then
   2837     printf '%s\n' "## ----------- ##
   2838 ## confdefs.h. ##
   2839 ## ----------- ##"
   2840     echo
   2841     cat confdefs.h
   2842     echo
   2843   fi
   2844   test "$ac_signal" != 0 &&
   2845     printf '%s\n' "$as_me: caught signal $ac_signal"
   2846   printf '%s\n' "$as_me: exit $exit_status"
   2847 }
   2848 
   2849 # When interrupted or exit'd, cleanup temporary files, and complete
   2850 # config.log.
   2851 ac_exit_trap ()
   2852 {
   2853   exit_status=
   2854   # Sanitize IFS.
   2855   IFS=" ""	$as_nl"
   2856   # Save into config.log some information that might help in debugging.
   2857   ac_dump_debugging_info >&5
   2858   eval "rm -f $ac_clean_CONFIG_STATUS core *.core core.conftest.*" &&
   2859     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2860     exit $exit_status
   2861 }
   2862 
   2863 trap 'ac_exit_trap $?' 0
   2864 for ac_signal in 1 2 13 15; do
   2865   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2866 done
   2867 ac_signal=0
   2868 
   2869 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2870 rm -f -r conftest* confdefs.h
   2871 
   2872 printf '%s\n' "/* confdefs.h */" > confdefs.h
   2873 
   2874 # Predefined preprocessor variables.
   2875 
   2876 printf '%s\n' "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2877 
   2878 printf '%s\n' "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2879 
   2880 printf '%s\n' "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2881 
   2882 printf '%s\n' "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2883 
   2884 printf '%s\n' "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2885 
   2886 printf '%s\n' "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2887 
   2888 
   2889 # Let the site file select an alternate cache file if it wants to.
   2890 # Prefer an explicitly selected file to automatically selected ones.
   2891 if test -n "$CONFIG_SITE"; then
   2892   ac_site_files="$CONFIG_SITE"
   2893 elif test "x$prefix" != xNONE; then
   2894   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2895 else
   2896   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2897 fi
   2898 
   2899 for ac_site_file in $ac_site_files
   2900 do
   2901   case $ac_site_file in #(
   2902   */*) :
   2903      ;; #(
   2904   *) :
   2905     ac_site_file=./$ac_site_file ;;
   2906 esac
   2907   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2908     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2909 printf '%s\n' "$as_me: loading site script $ac_site_file" >&6;}
   2910     sed 's/^/| /' "$ac_site_file" >&5
   2911     . "$ac_site_file" \
   2912       || { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2913 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2914 as_fn_error $? "failed to load site script $ac_site_file
   2915 See 'config.log' for more details" "$LINENO" 5; }
   2916   fi
   2917 done
   2918 
   2919 if test -r "$cache_file"; then
   2920   # Some versions of bash will fail to source /dev/null (special files
   2921   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2922   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2923     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2924 printf '%s\n' "$as_me: loading cache $cache_file" >&6;}
   2925     case $cache_file in
   2926       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2927       *)                      . "./$cache_file";;
   2928     esac
   2929   fi
   2930 else
   2931   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2932 printf '%s\n' "$as_me: creating cache $cache_file" >&6;}
   2933   >$cache_file
   2934 fi
   2935 
   2936 # Test code for whether the C compiler supports C23 (global declarations)
   2937 ac_c_conftest_c23_globals='
   2938 /* Does the compiler advertise conformance to C17 or earlier?
   2939    Although GCC 14 does not do that, even with -std=gnu23,
   2940    it is close enough, and defines __STDC_VERSION == 202000L.  */
   2941 #if !defined __STDC_VERSION__ || __STDC_VERSION__ <= 201710L
   2942 # error "Compiler advertises conformance to C17 or earlier"
   2943 #endif
   2944 
   2945 // Check alignas.
   2946 char alignas (double) c23_aligned_as_double;
   2947 char alignas (0) c23_no_special_alignment;
   2948 extern char c23_aligned_as_int;
   2949 char alignas (0) alignas (int) c23_aligned_as_int;
   2950 
   2951 // Check alignof.
   2952 enum
   2953 {
   2954   c23_int_alignment = alignof (int),
   2955   c23_int_array_alignment = alignof (int[100]),
   2956   c23_char_alignment = alignof (char)
   2957 };
   2958 static_assert (0 < -alignof (int), "alignof is signed");
   2959 
   2960 int function_with_unnamed_parameter (int) { return 0; }
   2961 
   2962 void c23_noreturn ();
   2963 
   2964 /* Test parsing of string and char UTF-8 literals (including hex escapes).
   2965    The parens pacify GCC 15.  */
   2966 bool use_u8 = (!sizeof u8"\xFF") == (!u8'\''x'\'');
   2967 
   2968 bool check_that_bool_works = true | false | !nullptr;
   2969 #if !true
   2970 # error "true does not work in #if"
   2971 #endif
   2972 #if false
   2973 #elifdef __STDC_VERSION__
   2974 #else
   2975 # error "#elifdef does not work"
   2976 #endif
   2977 
   2978 #ifndef __has_c_attribute
   2979 # error "__has_c_attribute not defined"
   2980 #endif
   2981 
   2982 #ifndef __has_include
   2983 # error "__has_include not defined"
   2984 #endif
   2985 
   2986 #define LPAREN() (
   2987 #define FORTY_TWO(x) 42
   2988 #define VA_OPT_TEST(r, x, ...) __VA_OPT__ (FORTY_TWO r x))
   2989 static_assert (VA_OPT_TEST (LPAREN (), 0, <:-) == 42);
   2990 
   2991 static_assert (0b101010 == 42);
   2992 static_assert (0B101010 == 42);
   2993 static_assert (0xDEAD'\''BEEF == 3'\''735'\''928'\''559);
   2994 static_assert (0.500'\''000'\''000 == 0.5);
   2995 
   2996 enum unsignedish : unsigned int { uione = 1 };
   2997 static_assert (0 < -uione);
   2998 
   2999 #include <stddef.h>
   3000 constexpr nullptr_t null_pointer = nullptr;
   3001 
   3002 static typeof (1 + 1L) two () { return 2; }
   3003 static long int three () { return 3; }
   3004 '
   3005 
   3006 # Test code for whether the C compiler supports C23 (body of main).
   3007 ac_c_conftest_c23_main='
   3008   {
   3009     label_before_declaration:
   3010       int arr[10] = {};
   3011       if (arr[0])
   3012         goto label_before_declaration;
   3013       if (!arr[0])
   3014         goto label_at_end_of_block;
   3015     label_at_end_of_block:
   3016   }
   3017   ok |= !null_pointer;
   3018   ok |= two != three;
   3019 '
   3020 
   3021 # Test code for whether the C compiler supports C23 (complete).
   3022 ac_c_conftest_c23_program="${ac_c_conftest_c23_globals}
   3023 
   3024 int
   3025 main (int, char **)
   3026 {
   3027   int ok = 0;
   3028   ${ac_c_conftest_c23_main}
   3029   return ok;
   3030 }
   3031 "
   3032 
   3033 # Test code for whether the C compiler supports C89 (global declarations)
   3034 ac_c_conftest_c89_globals='
   3035 /* Do not test the value of __STDC__, because some compilers define it to 0
   3036    or do not define it, while otherwise adequately conforming.  */
   3037 
   3038 #include <stddef.h>
   3039 #include <stdarg.h>
   3040 struct stat;
   3041 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   3042 struct buf { int x; };
   3043 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   3044 static char *e (char **p, int i)
   3045 {
   3046   return p[i];
   3047 }
   3048 static char *f (char * (*g) (char **, int), char **p, ...)
   3049 {
   3050   char *s;
   3051   va_list v;
   3052   va_start (v,p);
   3053   s = g (p, va_arg (v,int));
   3054   va_end (v);
   3055   return s;
   3056 }
   3057 
   3058 /* C89 style stringification. */
   3059 #define noexpand_stringify(a) #a
   3060 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   3061 
   3062 /* C89 style token pasting.  Exercises some of the corner cases that
   3063    e.g. old MSVC gets wrong, but not very hard. */
   3064 #define noexpand_concat(a,b) a##b
   3065 #define expand_concat(a,b) noexpand_concat(a,b)
   3066 extern int vA;
   3067 extern int vbee;
   3068 #define aye A
   3069 #define bee B
   3070 int *pvA = &expand_concat(v,aye);
   3071 int *pvbee = &noexpand_concat(v,bee);
   3072 
   3073 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3074    function prototypes and stuff, but not \xHH hex character constants.
   3075    These do not provoke an error unfortunately, instead are silently treated
   3076    as an "x".  The following induces an error, until -std is added to get
   3077    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   3078    array size at least.  It is necessary to write \x00 == 0 to get something
   3079    that is true only with -std.  */
   3080 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   3081 
   3082 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3083    inside strings and character constants.  */
   3084 #define FOO(x) '\''x'\''
   3085 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   3086 
   3087 int test (int i, double x);
   3088 struct s1 {int (*f) (int a);};
   3089 struct s2 {int (*f) (double a);};
   3090 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   3091                int, int);'
   3092 
   3093 # Test code for whether the C compiler supports C89 (body of main).
   3094 ac_c_conftest_c89_main='
   3095 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   3096 '
   3097 
   3098 # Test code for whether the C compiler supports C99 (global declarations)
   3099 ac_c_conftest_c99_globals='
   3100 /* Does the compiler advertise C99 conformance? */
   3101 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   3102 # error "Compiler does not advertise C99 conformance"
   3103 #endif
   3104 
   3105 // See if C++-style comments work.
   3106 
   3107 #include <stdbool.h>
   3108 extern int puts (const char *);
   3109 extern int printf (const char *, ...);
   3110 extern int dprintf (int, const char *, ...);
   3111 extern void *malloc (size_t);
   3112 extern void free (void *);
   3113 
   3114 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3115 // dprintf is used instead of fprintf to avoid needing to declare
   3116 // FILE and stderr, and "aND" is used instead of "and" to work around
   3117 // GCC bug 40564 which is irrelevant here.
   3118 #define debug(...) dprintf (2, __VA_ARGS__)
   3119 #define showlist(...) puts (#__VA_ARGS__)
   3120 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3121 static void
   3122 test_varargs_macros (void)
   3123 {
   3124   int x = 1234;
   3125   int y = 5678;
   3126   debug ("Flag");
   3127   debug ("X = %d\n", x);
   3128   showlist (The first, second, aND third items.);
   3129   report (x>y, "x is %d but y is %d", x, y);
   3130 }
   3131 
   3132 // Check long long types.
   3133 #define BIG64 18446744073709551615ull
   3134 #define BIG32 4294967295ul
   3135 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3136 #if !BIG_OK
   3137   #error "your preprocessor is broken"
   3138 #endif
   3139 #if BIG_OK
   3140 #else
   3141   #error "your preprocessor is broken"
   3142 #endif
   3143 static long long int bignum = -9223372036854775807LL;
   3144 static unsigned long long int ubignum = BIG64;
   3145 
   3146 struct incomplete_array
   3147 {
   3148   int datasize;
   3149   double data[];
   3150 };
   3151 
   3152 struct named_init {
   3153   int number;
   3154   const wchar_t *name;
   3155   double average;
   3156 };
   3157 
   3158 typedef const char *ccp;
   3159 
   3160 static inline int
   3161 test_restrict (ccp restrict text)
   3162 {
   3163   // Iterate through items via the restricted pointer.
   3164   // Also check for declarations in for loops.
   3165   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   3166     continue;
   3167   return 0;
   3168 }
   3169 
   3170 // Check varargs and va_copy.
   3171 static bool
   3172 test_varargs (const char *format, ...)
   3173 {
   3174   va_list args;
   3175   va_start (args, format);
   3176   va_list args_copy;
   3177   va_copy (args_copy, args);
   3178 
   3179   const char *str = "";
   3180   int number = 0;
   3181   float fnumber = 0;
   3182 
   3183   while (*format)
   3184     {
   3185       switch (*format++)
   3186 	{
   3187 	case '\''s'\'': // string
   3188 	  str = va_arg (args_copy, const char *);
   3189 	  break;
   3190 	case '\''d'\'': // int
   3191 	  number = va_arg (args_copy, int);
   3192 	  break;
   3193 	case '\''f'\'': // float
   3194 	  fnumber = va_arg (args_copy, double);
   3195 	  break;
   3196 	default:
   3197 	  break;
   3198 	}
   3199     }
   3200   va_end (args_copy);
   3201   va_end (args);
   3202 
   3203   return *str && number && fnumber;
   3204 }
   3205 '
   3206 
   3207 # Test code for whether the C compiler supports C99 (body of main).
   3208 ac_c_conftest_c99_main='
   3209   // Check bool.
   3210   _Bool success = false;
   3211   success |= (argc != 0);
   3212 
   3213   // Check restrict.
   3214   if (test_restrict ("String literal") == 0)
   3215     success = true;
   3216   const char *restrict newvar = "Another string";
   3217 
   3218   // Check varargs.
   3219   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   3220   test_varargs_macros ();
   3221 
   3222   // Check flexible array members.
   3223   static struct incomplete_array *volatile incomplete_array_pointer;
   3224   struct incomplete_array *ia = incomplete_array_pointer;
   3225   ia->datasize = 10;
   3226   for (int i = 0; i < ia->datasize; ++i)
   3227     ia->data[i] = i * 1.234;
   3228   // Work around memory leak warnings.
   3229   free (ia);
   3230 
   3231   // Check named initializers.
   3232   struct named_init ni = {
   3233     .number = 34,
   3234     .name = L"Test wide string",
   3235     .average = 543.34343,
   3236   };
   3237 
   3238   ni.number = 58;
   3239 
   3240   // Do not test for VLAs, as some otherwise-conforming compilers lack them.
   3241   // C code should instead use __STDC_NO_VLA__; see Autoconf manual.
   3242 
   3243   // work around unused variable warnings
   3244   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   3245 	 || ni.number != 58);
   3246 '
   3247 
   3248 # Test code for whether the C compiler supports C11 (global declarations)
   3249 ac_c_conftest_c11_globals='
   3250 /* Does the compiler advertise C11 conformance? */
   3251 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   3252 # error "Compiler does not advertise C11 conformance"
   3253 #endif
   3254 
   3255 // Check _Alignas.
   3256 char _Alignas (double) aligned_as_double;
   3257 char _Alignas (0) no_special_alignment;
   3258 extern char aligned_as_int;
   3259 char _Alignas (0) _Alignas (int) aligned_as_int;
   3260 
   3261 // Check _Alignof.
   3262 enum
   3263 {
   3264   int_alignment = _Alignof (int),
   3265   int_array_alignment = _Alignof (int[100]),
   3266   char_alignment = _Alignof (char)
   3267 };
   3268 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   3269 
   3270 // Check _Noreturn.
   3271 int _Noreturn does_not_return (void) { for (;;) continue; }
   3272 
   3273 // Check _Static_assert.
   3274 struct test_static_assert
   3275 {
   3276   int x;
   3277   _Static_assert (sizeof (int) <= sizeof (long int),
   3278                   "_Static_assert does not work in struct");
   3279   long int y;
   3280 };
   3281 
   3282 // Check UTF-8 literals.
   3283 #define u8 syntax error!
   3284 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   3285 
   3286 // Check duplicate typedefs.
   3287 typedef long *long_ptr;
   3288 typedef long int *long_ptr;
   3289 typedef long_ptr long_ptr;
   3290 
   3291 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   3292 struct anonymous
   3293 {
   3294   union {
   3295     struct { int i; int j; };
   3296     struct { int k; long int l; } w;
   3297   };
   3298   int m;
   3299 } v1;
   3300 '
   3301 
   3302 # Test code for whether the C compiler supports C11 (body of main).
   3303 ac_c_conftest_c11_main='
   3304   _Static_assert ((offsetof (struct anonymous, i)
   3305 		   == offsetof (struct anonymous, w.k)),
   3306 		  "Anonymous union alignment botch");
   3307   v1.i = 2;
   3308   v1.w.k = 5;
   3309   ok |= v1.i != 5;
   3310 '
   3311 
   3312 # Test code for whether the C compiler supports C11 (complete).
   3313 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   3314 ${ac_c_conftest_c99_globals}
   3315 ${ac_c_conftest_c11_globals}
   3316 
   3317 int
   3318 main (int argc, char **argv)
   3319 {
   3320   int ok = 0;
   3321   ${ac_c_conftest_c89_main}
   3322   ${ac_c_conftest_c99_main}
   3323   ${ac_c_conftest_c11_main}
   3324   return ok;
   3325 }
   3326 "
   3327 
   3328 # Test code for whether the C compiler supports C99 (complete).
   3329 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   3330 ${ac_c_conftest_c99_globals}
   3331 
   3332 int
   3333 main (int argc, char **argv)
   3334 {
   3335   int ok = 0;
   3336   ${ac_c_conftest_c89_main}
   3337   ${ac_c_conftest_c99_main}
   3338   return ok;
   3339 }
   3340 "
   3341 
   3342 # Test code for whether the C compiler supports C89 (complete).
   3343 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   3344 
   3345 int
   3346 main (int argc, char **argv)
   3347 {
   3348   int ok = 0;
   3349   ${ac_c_conftest_c89_main}
   3350   return ok;
   3351 }
   3352 "
   3353 
   3354 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   3355 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   3356 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   3357 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   3358 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   3359 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   3360 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   3361 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   3362 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   3363 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   3364 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   3365 gt_needs="$gt_needs "
   3366 as_fn_append ac_header_c_list " sys/cdefs.h sys_cdefs_h HAVE_SYS_CDEFS_H"
   3367 
   3368 # Auxiliary files required by this configure script.
   3369 ac_aux_files="config.rpath ltmain.sh compile missing install-sh config.guess config.sub"
   3370 
   3371 # Locations in which to look for auxiliary files.
   3372 ac_aux_dir_candidates="${srcdir}/build-aux"
   3373 
   3374 # Search for a directory containing all of the required auxiliary files,
   3375 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   3376 # If we don't find one directory that contains all the files we need,
   3377 # we report the set of missing files from the *first* directory in
   3378 # $ac_aux_dir_candidates and give up.
   3379 ac_missing_aux_files=""
   3380 ac_first_candidate=:
   3381 printf '%s\n' "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   3382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3383 as_found=false
   3384 for as_dir in $ac_aux_dir_candidates
   3385 do
   3386   IFS=$as_save_IFS
   3387   case $as_dir in #(((
   3388     '') as_dir=./ ;;
   3389     */) ;;
   3390     *) as_dir=$as_dir/ ;;
   3391   esac
   3392   as_found=:
   3393 
   3394   printf '%s\n' "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   3395   ac_aux_dir_found=yes
   3396   ac_install_sh=
   3397   for ac_aux in $ac_aux_files
   3398   do
   3399     # As a special case, if "install-sh" is required, that requirement
   3400     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   3401     # and $ac_install_sh is set appropriately for whichever one is found.
   3402     if test x"$ac_aux" = x"install-sh"
   3403     then
   3404       if test -f "${as_dir}install-sh"; then
   3405         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   3406         ac_install_sh="${as_dir}install-sh -c"
   3407       elif test -f "${as_dir}install.sh"; then
   3408         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   3409         ac_install_sh="${as_dir}install.sh -c"
   3410       elif test -f "${as_dir}shtool"; then
   3411         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   3412         ac_install_sh="${as_dir}shtool install -c"
   3413       else
   3414         ac_aux_dir_found=no
   3415         if $ac_first_candidate; then
   3416           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   3417         else
   3418           break
   3419         fi
   3420       fi
   3421     else
   3422       if test -f "${as_dir}${ac_aux}"; then
   3423         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   3424       else
   3425         ac_aux_dir_found=no
   3426         if $ac_first_candidate; then
   3427           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   3428         else
   3429           break
   3430         fi
   3431       fi
   3432     fi
   3433   done
   3434   if test "$ac_aux_dir_found" = yes; then
   3435     ac_aux_dir="$as_dir"
   3436     break
   3437   fi
   3438   ac_first_candidate=false
   3439 
   3440   as_found=false
   3441 done
   3442 IFS=$as_save_IFS
   3443 if $as_found
   3444 then :
   3445 
   3446 else case e in #(
   3447   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   3448 esac
   3449 fi
   3450 
   3451 
   3452 # These three variables are undocumented and unsupported,
   3453 # and are intended to be withdrawn in a future Autoconf release.
   3454 # They can cause serious problems if a builder's source tree is in a directory
   3455 # whose full name contains unusual characters.
   3456 if test -f "${ac_aux_dir}config.guess"; then
   3457   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   3458 fi
   3459 if test -f "${ac_aux_dir}config.sub"; then
   3460   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   3461 fi
   3462 if test -f "$ac_aux_dir/configure"; then
   3463   ac_configure="$SHELL ${ac_aux_dir}configure"
   3464 fi
   3465 
   3466 # Check that the precious variables saved in the cache have kept the same
   3467 # value.
   3468 ac_cache_corrupted=false
   3469 for ac_var in $ac_precious_vars; do
   3470   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   3471   eval ac_new_set=\$ac_env_${ac_var}_set
   3472   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   3473   eval ac_new_val=\$ac_env_${ac_var}_value
   3474   case $ac_old_set,$ac_new_set in
   3475     set,)
   3476       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   3477 printf '%s\n' "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   3478       ac_cache_corrupted=: ;;
   3479     ,set)
   3480       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   3481 printf '%s\n' "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   3482       ac_cache_corrupted=: ;;
   3483     ,);;
   3484     *)
   3485       if test "x$ac_old_val" != "x$ac_new_val"; then
   3486 	# differences in whitespace do not lead to failure.
   3487 	ac_old_val_w=
   3488 	for ac_val in x $ac_old_val; do
   3489 	  ac_old_val_w="$ac_old_val_w $ac_val"
   3490 	done
   3491 	ac_new_val_w=
   3492 	for ac_val in x $ac_new_val; do
   3493 	  ac_new_val_w="$ac_new_val_w $ac_val"
   3494 	done
   3495 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   3496 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   3497 printf '%s\n' "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   3498 	  ac_cache_corrupted=:
   3499 	else
   3500 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   3501 printf '%s\n' "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   3502 	  eval $ac_var=\$ac_old_val
   3503 	fi
   3504 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   3505 printf '%s\n' "$as_me:   former value:  '$ac_old_val'" >&2;}
   3506 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   3507 printf '%s\n' "$as_me:   current value: '$ac_new_val'" >&2;}
   3508       fi;;
   3509   esac
   3510   # Pass precious variables to config.status.
   3511   if test "$ac_new_set" = set; then
   3512     case $ac_new_val in
   3513     *\'*) ac_arg=$ac_var=`printf '%s\n' "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   3514     *) ac_arg=$ac_var=$ac_new_val ;;
   3515     esac
   3516     case " $ac_configure_args " in
   3517       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   3518       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   3519     esac
   3520   fi
   3521 done
   3522 if $ac_cache_corrupted; then
   3523   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3524 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3525   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   3526 printf '%s\n' "$as_me: error: changes in the environment can compromise the build" >&2;}
   3527   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   3528 	    and start over" "$LINENO" 5
   3529 fi
   3530 ## -------------------- ##
   3531 ## Main body of script. ##
   3532 ## -------------------- ##
   3533 
   3534 
   3535 # Determine whether it's possible to make 'echo' print without a newline.
   3536 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   3537 # for compatibility with existing Makefiles.
   3538 ECHO_C= ECHO_N= ECHO_T=
   3539 case `echo -n x` in #(((((
   3540 -n*)
   3541   case `echo 'xy\c'` in
   3542   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   3543   xy)  ECHO_C='\c';;
   3544   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   3545        ECHO_T='	';;
   3546   esac;;
   3547 *)
   3548   ECHO_N='-n';;
   3549 esac
   3550 
   3551 ac_ext=c
   3552 ac_cpp='$CPP $CPPFLAGS'
   3553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3556 
   3557 
   3558 
   3559 
   3560 
   3561 ac_config_headers="$ac_config_headers config.h"
   3562 
   3563 
   3564 echo
   3565 echo "$PACKAGE_STRING"
   3566 
   3567 echo
   3568 echo "System type:"
   3569 # This is needed to know if assembler optimizations can be used.
   3570 
   3571 
   3572 
   3573   # Make sure we can run config.sub.
   3574 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3575   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3576 
   3577 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3578 printf %s "checking build system type... " >&6; }
   3579 if test ${ac_cv_build+y}
   3580 then :
   3581   printf %s "(cached) " >&6
   3582 else case e in #(
   3583   e) ac_build_alias=$build_alias
   3584 test "x$ac_build_alias" = x &&
   3585   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3586 test "x$ac_build_alias" = x &&
   3587   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3588 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3589   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3590  ;;
   3591 esac
   3592 fi
   3593 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3594 printf '%s\n' "$ac_cv_build" >&6; }
   3595 case $ac_cv_build in
   3596 *-*-*) ;;
   3597 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3598 esac
   3599 build=$ac_cv_build
   3600 ac_save_IFS=$IFS; IFS='-'
   3601 set x $ac_cv_build
   3602 shift
   3603 build_cpu=$1
   3604 build_vendor=$2
   3605 shift; shift
   3606 # Remember, the first character of IFS is used to create $*,
   3607 # except with old shells:
   3608 build_os=$*
   3609 IFS=$ac_save_IFS
   3610 case $build_os in *\ *) build_os=`printf '%s\n' "$build_os" | sed 's/ /-/g'`;; esac
   3611 
   3612 
   3613 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3614 printf %s "checking host system type... " >&6; }
   3615 if test ${ac_cv_host+y}
   3616 then :
   3617   printf %s "(cached) " >&6
   3618 else case e in #(
   3619   e) if test "x$host_alias" = x; then
   3620   ac_cv_host=$ac_cv_build
   3621 else
   3622   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3623     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3624 fi
   3625  ;;
   3626 esac
   3627 fi
   3628 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3629 printf '%s\n' "$ac_cv_host" >&6; }
   3630 case $ac_cv_host in
   3631 *-*-*) ;;
   3632 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3633 esac
   3634 host=$ac_cv_host
   3635 ac_save_IFS=$IFS; IFS='-'
   3636 set x $ac_cv_host
   3637 shift
   3638 host_cpu=$1
   3639 host_vendor=$2
   3640 shift; shift
   3641 # Remember, the first character of IFS is used to create $*,
   3642 # except with old shells:
   3643 host_os=$*
   3644 IFS=$ac_save_IFS
   3645 case $host_os in *\ *) host_os=`printf '%s\n' "$host_os" | sed 's/ /-/g'`;; esac
   3646 
   3647 
   3648 
   3649 # We do some special things on Windows (32-bit or 64-bit) builds.
   3650 case $host_os in
   3651 	mingw* | cygwin | msys) is_w32=yes ;;
   3652 	*)                      is_w32=no ;;
   3653 esac
   3654  if test "$is_w32" = yes; then
   3655   COND_W32_TRUE=
   3656   COND_W32_FALSE='#'
   3657 else
   3658   COND_W32_TRUE='#'
   3659   COND_W32_FALSE=
   3660 fi
   3661 
   3662 
   3663 # We need to use $EXEEXT with $(LN_S) when creating symlinks to
   3664 # executables. Cygwin is an exception to this, since it is recommended
   3665 # that symlinks don't have the .exe suffix. To make this work, we
   3666 # define LN_EXEEXT.
   3667 #
   3668 # MSYS2 is treated the same way as Cygwin. It uses plain "msys" like
   3669 # the original MSYS when building MSYS/MSYS2-binaries. Hopefully this
   3670 # doesn't break things for the original MSYS developers. Note that this
   3671 # doesn't affect normal MSYS/MSYS2 users building non-MSYS/MSYS2 binaries
   3672 # since in that case the $host_os is usually mingw32.
   3673 case $host_os in
   3674 	cygwin | msys)  LN_EXEEXT= ;;
   3675 	*)              LN_EXEEXT='$(EXEEXT)' ;;
   3676 esac
   3677 
   3678 
   3679 echo
   3680 echo "Configure options:"
   3681 AM_CFLAGS=
   3682 
   3683 
   3684 #############
   3685 # Debugging #
   3686 #############
   3687 
   3688 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if debugging code should be compiled" >&5
   3689 printf %s "checking if debugging code should be compiled... " >&6; }
   3690 # Check whether --enable-debug was given.
   3691 if test ${enable_debug+y}
   3692 then :
   3693   enableval=$enable_debug;
   3694 else case e in #(
   3695   e) enable_debug=no ;;
   3696 esac
   3697 fi
   3698 
   3699 if test "x$enable_debug" = xyes; then
   3700 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3701 printf '%s\n' "yes" >&6; }
   3702 else
   3703 
   3704 printf '%s\n' "#define NDEBUG 1" >>confdefs.h
   3705 
   3706 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3707 printf '%s\n' "no" >&6; }
   3708 fi
   3709 
   3710 
   3711 ###########
   3712 # Filters #
   3713 ###########
   3714 
   3715 
   3716 
   3717 
   3718 enable_filter_lzma1=no
   3719 enable_encoder_lzma1=no
   3720 enable_decoder_lzma1=no
   3721 enable_filter_lzma2=no
   3722 enable_encoder_lzma2=no
   3723 enable_decoder_lzma2=no
   3724 enable_filter_delta=no
   3725 enable_encoder_delta=no
   3726 enable_decoder_delta=no
   3727 enable_filter_x86=no
   3728 enable_encoder_x86=no
   3729 enable_decoder_x86=no
   3730 enable_filter_powerpc=no
   3731 enable_encoder_powerpc=no
   3732 enable_decoder_powerpc=no
   3733 enable_filter_ia64=no
   3734 enable_encoder_ia64=no
   3735 enable_decoder_ia64=no
   3736 enable_filter_arm=no
   3737 enable_encoder_arm=no
   3738 enable_decoder_arm=no
   3739 enable_filter_armthumb=no
   3740 enable_encoder_armthumb=no
   3741 enable_decoder_armthumb=no
   3742 enable_filter_arm64=no
   3743 enable_encoder_arm64=no
   3744 enable_decoder_arm64=no
   3745 enable_filter_sparc=no
   3746 enable_encoder_sparc=no
   3747 enable_decoder_sparc=no
   3748 enable_filter_riscv=no
   3749 enable_encoder_riscv=no
   3750 enable_decoder_riscv=no
   3751 
   3752 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking which encoders to build" >&5
   3753 printf %s "checking which encoders to build... " >&6; }
   3754 # Check whether --enable-encoders was given.
   3755 if test ${enable_encoders+y}
   3756 then :
   3757   enableval=$enable_encoders;
   3758 else case e in #(
   3759   e) enable_encoders=lzma1,lzma2,delta,x86,powerpc,ia64,arm,armthumb,arm64,sparc,riscv ;;
   3760 esac
   3761 fi
   3762 
   3763 enable_encoders=`echo "$enable_encoders" | sed 's/,/ /g'`
   3764 if test "x$enable_encoders" = xno || test "x$enable_encoders" = x; then
   3765 	enable_encoders=no
   3766 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: (none)" >&5
   3767 printf '%s\n' "(none)" >&6; }
   3768 else
   3769 	for arg in $enable_encoders
   3770 	do
   3771 		case $arg in
   3772 			lzma1)
   3773 				enable_filter_lzma1=yes
   3774 				enable_encoder_lzma1=yes
   3775 
   3776 printf '%s\n' "#define HAVE_ENCODER_LZMA1 1" >>confdefs.h
   3777 
   3778 				;;
   3779 			lzma2)
   3780 				enable_filter_lzma2=yes
   3781 				enable_encoder_lzma2=yes
   3782 
   3783 printf '%s\n' "#define HAVE_ENCODER_LZMA2 1" >>confdefs.h
   3784 
   3785 				;;
   3786 			delta)
   3787 				enable_filter_delta=yes
   3788 				enable_encoder_delta=yes
   3789 
   3790 printf '%s\n' "#define HAVE_ENCODER_DELTA 1" >>confdefs.h
   3791 
   3792 				;;
   3793 			x86)
   3794 				enable_filter_x86=yes
   3795 				enable_encoder_x86=yes
   3796 
   3797 printf '%s\n' "#define HAVE_ENCODER_X86 1" >>confdefs.h
   3798 
   3799 				;;
   3800 			powerpc)
   3801 				enable_filter_powerpc=yes
   3802 				enable_encoder_powerpc=yes
   3803 
   3804 printf '%s\n' "#define HAVE_ENCODER_POWERPC 1" >>confdefs.h
   3805 
   3806 				;;
   3807 			ia64)
   3808 				enable_filter_ia64=yes
   3809 				enable_encoder_ia64=yes
   3810 
   3811 printf '%s\n' "#define HAVE_ENCODER_IA64 1" >>confdefs.h
   3812 
   3813 				;;
   3814 			arm)
   3815 				enable_filter_arm=yes
   3816 				enable_encoder_arm=yes
   3817 
   3818 printf '%s\n' "#define HAVE_ENCODER_ARM 1" >>confdefs.h
   3819 
   3820 				;;
   3821 			armthumb)
   3822 				enable_filter_armthumb=yes
   3823 				enable_encoder_armthumb=yes
   3824 
   3825 printf '%s\n' "#define HAVE_ENCODER_ARMTHUMB 1" >>confdefs.h
   3826 
   3827 				;;
   3828 			arm64)
   3829 				enable_filter_arm64=yes
   3830 				enable_encoder_arm64=yes
   3831 
   3832 printf '%s\n' "#define HAVE_ENCODER_ARM64 1" >>confdefs.h
   3833 
   3834 				;;
   3835 			sparc)
   3836 				enable_filter_sparc=yes
   3837 				enable_encoder_sparc=yes
   3838 
   3839 printf '%s\n' "#define HAVE_ENCODER_SPARC 1" >>confdefs.h
   3840 
   3841 				;;
   3842 			riscv)
   3843 				enable_filter_riscv=yes
   3844 				enable_encoder_riscv=yes
   3845 
   3846 printf '%s\n' "#define HAVE_ENCODER_RISCV 1" >>confdefs.h
   3847 
   3848 				;;
   3849 			*)
   3850 				{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5
   3851 printf '%s\n' "" >&6; }
   3852 				as_fn_error $? "unknown filter: $arg" "$LINENO" 5
   3853 				;;
   3854 		esac
   3855 	done
   3856 
   3857 printf '%s\n' "#define HAVE_ENCODERS 1" >>confdefs.h
   3858 
   3859 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_encoders" >&5
   3860 printf '%s\n' "$enable_encoders" >&6; }
   3861 fi
   3862 
   3863 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking which decoders to build" >&5
   3864 printf %s "checking which decoders to build... " >&6; }
   3865 # Check whether --enable-decoders was given.
   3866 if test ${enable_decoders+y}
   3867 then :
   3868   enableval=$enable_decoders;
   3869 else case e in #(
   3870   e) enable_decoders=lzma1,lzma2,delta,x86,powerpc,ia64,arm,armthumb,arm64,sparc,riscv ;;
   3871 esac
   3872 fi
   3873 
   3874 enable_decoders=`echo "$enable_decoders" | sed 's/,/ /g'`
   3875 if test "x$enable_decoders" = xno || test "x$enable_decoders" = x; then
   3876 	enable_decoders=no
   3877 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: (none)" >&5
   3878 printf '%s\n' "(none)" >&6; }
   3879 else
   3880 	for arg in $enable_decoders
   3881 	do
   3882 		case $arg in
   3883 			lzma1)
   3884 				enable_filter_lzma1=yes
   3885 				enable_decoder_lzma1=yes
   3886 
   3887 printf '%s\n' "#define HAVE_DECODER_LZMA1 1" >>confdefs.h
   3888 
   3889 				;;
   3890 			lzma2)
   3891 				enable_filter_lzma2=yes
   3892 				enable_decoder_lzma2=yes
   3893 
   3894 printf '%s\n' "#define HAVE_DECODER_LZMA2 1" >>confdefs.h
   3895 
   3896 				;;
   3897 			delta)
   3898 				enable_filter_delta=yes
   3899 				enable_decoder_delta=yes
   3900 
   3901 printf '%s\n' "#define HAVE_DECODER_DELTA 1" >>confdefs.h
   3902 
   3903 				;;
   3904 			x86)
   3905 				enable_filter_x86=yes
   3906 				enable_decoder_x86=yes
   3907 
   3908 printf '%s\n' "#define HAVE_DECODER_X86 1" >>confdefs.h
   3909 
   3910 				;;
   3911 			powerpc)
   3912 				enable_filter_powerpc=yes
   3913 				enable_decoder_powerpc=yes
   3914 
   3915 printf '%s\n' "#define HAVE_DECODER_POWERPC 1" >>confdefs.h
   3916 
   3917 				;;
   3918 			ia64)
   3919 				enable_filter_ia64=yes
   3920 				enable_decoder_ia64=yes
   3921 
   3922 printf '%s\n' "#define HAVE_DECODER_IA64 1" >>confdefs.h
   3923 
   3924 				;;
   3925 			arm)
   3926 				enable_filter_arm=yes
   3927 				enable_decoder_arm=yes
   3928 
   3929 printf '%s\n' "#define HAVE_DECODER_ARM 1" >>confdefs.h
   3930 
   3931 				;;
   3932 			armthumb)
   3933 				enable_filter_armthumb=yes
   3934 				enable_decoder_armthumb=yes
   3935 
   3936 printf '%s\n' "#define HAVE_DECODER_ARMTHUMB 1" >>confdefs.h
   3937 
   3938 				;;
   3939 			arm64)
   3940 				enable_filter_arm64=yes
   3941 				enable_decoder_arm64=yes
   3942 
   3943 printf '%s\n' "#define HAVE_DECODER_ARM64 1" >>confdefs.h
   3944 
   3945 				;;
   3946 			sparc)
   3947 				enable_filter_sparc=yes
   3948 				enable_decoder_sparc=yes
   3949 
   3950 printf '%s\n' "#define HAVE_DECODER_SPARC 1" >>confdefs.h
   3951 
   3952 				;;
   3953 			riscv)
   3954 				enable_filter_riscv=yes
   3955 				enable_decoder_riscv=yes
   3956 
   3957 printf '%s\n' "#define HAVE_DECODER_RISCV 1" >>confdefs.h
   3958 
   3959 				;;
   3960 			*)
   3961 				{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5
   3962 printf '%s\n' "" >&6; }
   3963 				as_fn_error $? "unknown filter: $arg" "$LINENO" 5
   3964 				;;
   3965 		esac
   3966 	done
   3967 
   3968 printf '%s\n' "#define HAVE_DECODERS 1" >>confdefs.h
   3969 
   3970 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_decoders" >&5
   3971 printf '%s\n' "$enable_decoders" >&6; }
   3972 fi
   3973 
   3974 if test "x$enable_encoder_lzma2$enable_encoder_lzma1" = xyesno \
   3975 		|| test "x$enable_decoder_lzma2$enable_decoder_lzma1" = xyesno; then
   3976 	as_fn_error $? "LZMA2 requires that LZMA1 is also enabled." "$LINENO" 5
   3977 fi
   3978 
   3979  if test "x$enable_encoders" != xno; then
   3980   COND_MAIN_ENCODER_TRUE=
   3981   COND_MAIN_ENCODER_FALSE='#'
   3982 else
   3983   COND_MAIN_ENCODER_TRUE='#'
   3984   COND_MAIN_ENCODER_FALSE=
   3985 fi
   3986 
   3987  if test "x$enable_decoders" != xno; then
   3988   COND_MAIN_DECODER_TRUE=
   3989   COND_MAIN_DECODER_FALSE='#'
   3990 else
   3991   COND_MAIN_DECODER_TRUE='#'
   3992   COND_MAIN_DECODER_FALSE=
   3993 fi
   3994 
   3995 
   3996  if test "x$enable_filter_lzma1" = xyes; then
   3997   COND_FILTER_LZMA1_TRUE=
   3998   COND_FILTER_LZMA1_FALSE='#'
   3999 else
   4000   COND_FILTER_LZMA1_TRUE='#'
   4001   COND_FILTER_LZMA1_FALSE=
   4002 fi
   4003 
   4004  if test "x$enable_encoder_lzma1" = xyes; then
   4005   COND_ENCODER_LZMA1_TRUE=
   4006   COND_ENCODER_LZMA1_FALSE='#'
   4007 else
   4008   COND_ENCODER_LZMA1_TRUE='#'
   4009   COND_ENCODER_LZMA1_FALSE=
   4010 fi
   4011 
   4012  if test "x$enable_decoder_lzma1" = xyes; then
   4013   COND_DECODER_LZMA1_TRUE=
   4014   COND_DECODER_LZMA1_FALSE='#'
   4015 else
   4016   COND_DECODER_LZMA1_TRUE='#'
   4017   COND_DECODER_LZMA1_FALSE=
   4018 fi
   4019 
   4020  if test "x$enable_filter_lzma2" = xyes; then
   4021   COND_FILTER_LZMA2_TRUE=
   4022   COND_FILTER_LZMA2_FALSE='#'
   4023 else
   4024   COND_FILTER_LZMA2_TRUE='#'
   4025   COND_FILTER_LZMA2_FALSE=
   4026 fi
   4027 
   4028  if test "x$enable_encoder_lzma2" = xyes; then
   4029   COND_ENCODER_LZMA2_TRUE=
   4030   COND_ENCODER_LZMA2_FALSE='#'
   4031 else
   4032   COND_ENCODER_LZMA2_TRUE='#'
   4033   COND_ENCODER_LZMA2_FALSE=
   4034 fi
   4035 
   4036  if test "x$enable_decoder_lzma2" = xyes; then
   4037   COND_DECODER_LZMA2_TRUE=
   4038   COND_DECODER_LZMA2_FALSE='#'
   4039 else
   4040   COND_DECODER_LZMA2_TRUE='#'
   4041   COND_DECODER_LZMA2_FALSE=
   4042 fi
   4043 
   4044  if test "x$enable_filter_delta" = xyes; then
   4045   COND_FILTER_DELTA_TRUE=
   4046   COND_FILTER_DELTA_FALSE='#'
   4047 else
   4048   COND_FILTER_DELTA_TRUE='#'
   4049   COND_FILTER_DELTA_FALSE=
   4050 fi
   4051 
   4052  if test "x$enable_encoder_delta" = xyes; then
   4053   COND_ENCODER_DELTA_TRUE=
   4054   COND_ENCODER_DELTA_FALSE='#'
   4055 else
   4056   COND_ENCODER_DELTA_TRUE='#'
   4057   COND_ENCODER_DELTA_FALSE=
   4058 fi
   4059 
   4060  if test "x$enable_decoder_delta" = xyes; then
   4061   COND_DECODER_DELTA_TRUE=
   4062   COND_DECODER_DELTA_FALSE='#'
   4063 else
   4064   COND_DECODER_DELTA_TRUE='#'
   4065   COND_DECODER_DELTA_FALSE=
   4066 fi
   4067 
   4068  if test "x$enable_filter_x86" = xyes; then
   4069   COND_FILTER_X86_TRUE=
   4070   COND_FILTER_X86_FALSE='#'
   4071 else
   4072   COND_FILTER_X86_TRUE='#'
   4073   COND_FILTER_X86_FALSE=
   4074 fi
   4075 
   4076  if test "x$enable_encoder_x86" = xyes; then
   4077   COND_ENCODER_X86_TRUE=
   4078   COND_ENCODER_X86_FALSE='#'
   4079 else
   4080   COND_ENCODER_X86_TRUE='#'
   4081   COND_ENCODER_X86_FALSE=
   4082 fi
   4083 
   4084  if test "x$enable_decoder_x86" = xyes; then
   4085   COND_DECODER_X86_TRUE=
   4086   COND_DECODER_X86_FALSE='#'
   4087 else
   4088   COND_DECODER_X86_TRUE='#'
   4089   COND_DECODER_X86_FALSE=
   4090 fi
   4091 
   4092  if test "x$enable_filter_powerpc" = xyes; then
   4093   COND_FILTER_POWERPC_TRUE=
   4094   COND_FILTER_POWERPC_FALSE='#'
   4095 else
   4096   COND_FILTER_POWERPC_TRUE='#'
   4097   COND_FILTER_POWERPC_FALSE=
   4098 fi
   4099 
   4100  if test "x$enable_encoder_powerpc" = xyes; then
   4101   COND_ENCODER_POWERPC_TRUE=
   4102   COND_ENCODER_POWERPC_FALSE='#'
   4103 else
   4104   COND_ENCODER_POWERPC_TRUE='#'
   4105   COND_ENCODER_POWERPC_FALSE=
   4106 fi
   4107 
   4108  if test "x$enable_decoder_powerpc" = xyes; then
   4109   COND_DECODER_POWERPC_TRUE=
   4110   COND_DECODER_POWERPC_FALSE='#'
   4111 else
   4112   COND_DECODER_POWERPC_TRUE='#'
   4113   COND_DECODER_POWERPC_FALSE=
   4114 fi
   4115 
   4116  if test "x$enable_filter_ia64" = xyes; then
   4117   COND_FILTER_IA64_TRUE=
   4118   COND_FILTER_IA64_FALSE='#'
   4119 else
   4120   COND_FILTER_IA64_TRUE='#'
   4121   COND_FILTER_IA64_FALSE=
   4122 fi
   4123 
   4124  if test "x$enable_encoder_ia64" = xyes; then
   4125   COND_ENCODER_IA64_TRUE=
   4126   COND_ENCODER_IA64_FALSE='#'
   4127 else
   4128   COND_ENCODER_IA64_TRUE='#'
   4129   COND_ENCODER_IA64_FALSE=
   4130 fi
   4131 
   4132  if test "x$enable_decoder_ia64" = xyes; then
   4133   COND_DECODER_IA64_TRUE=
   4134   COND_DECODER_IA64_FALSE='#'
   4135 else
   4136   COND_DECODER_IA64_TRUE='#'
   4137   COND_DECODER_IA64_FALSE=
   4138 fi
   4139 
   4140  if test "x$enable_filter_arm" = xyes; then
   4141   COND_FILTER_ARM_TRUE=
   4142   COND_FILTER_ARM_FALSE='#'
   4143 else
   4144   COND_FILTER_ARM_TRUE='#'
   4145   COND_FILTER_ARM_FALSE=
   4146 fi
   4147 
   4148  if test "x$enable_encoder_arm" = xyes; then
   4149   COND_ENCODER_ARM_TRUE=
   4150   COND_ENCODER_ARM_FALSE='#'
   4151 else
   4152   COND_ENCODER_ARM_TRUE='#'
   4153   COND_ENCODER_ARM_FALSE=
   4154 fi
   4155 
   4156  if test "x$enable_decoder_arm" = xyes; then
   4157   COND_DECODER_ARM_TRUE=
   4158   COND_DECODER_ARM_FALSE='#'
   4159 else
   4160   COND_DECODER_ARM_TRUE='#'
   4161   COND_DECODER_ARM_FALSE=
   4162 fi
   4163 
   4164  if test "x$enable_filter_armthumb" = xyes; then
   4165   COND_FILTER_ARMTHUMB_TRUE=
   4166   COND_FILTER_ARMTHUMB_FALSE='#'
   4167 else
   4168   COND_FILTER_ARMTHUMB_TRUE='#'
   4169   COND_FILTER_ARMTHUMB_FALSE=
   4170 fi
   4171 
   4172  if test "x$enable_encoder_armthumb" = xyes; then
   4173   COND_ENCODER_ARMTHUMB_TRUE=
   4174   COND_ENCODER_ARMTHUMB_FALSE='#'
   4175 else
   4176   COND_ENCODER_ARMTHUMB_TRUE='#'
   4177   COND_ENCODER_ARMTHUMB_FALSE=
   4178 fi
   4179 
   4180  if test "x$enable_decoder_armthumb" = xyes; then
   4181   COND_DECODER_ARMTHUMB_TRUE=
   4182   COND_DECODER_ARMTHUMB_FALSE='#'
   4183 else
   4184   COND_DECODER_ARMTHUMB_TRUE='#'
   4185   COND_DECODER_ARMTHUMB_FALSE=
   4186 fi
   4187 
   4188  if test "x$enable_filter_arm64" = xyes; then
   4189   COND_FILTER_ARM64_TRUE=
   4190   COND_FILTER_ARM64_FALSE='#'
   4191 else
   4192   COND_FILTER_ARM64_TRUE='#'
   4193   COND_FILTER_ARM64_FALSE=
   4194 fi
   4195 
   4196  if test "x$enable_encoder_arm64" = xyes; then
   4197   COND_ENCODER_ARM64_TRUE=
   4198   COND_ENCODER_ARM64_FALSE='#'
   4199 else
   4200   COND_ENCODER_ARM64_TRUE='#'
   4201   COND_ENCODER_ARM64_FALSE=
   4202 fi
   4203 
   4204  if test "x$enable_decoder_arm64" = xyes; then
   4205   COND_DECODER_ARM64_TRUE=
   4206   COND_DECODER_ARM64_FALSE='#'
   4207 else
   4208   COND_DECODER_ARM64_TRUE='#'
   4209   COND_DECODER_ARM64_FALSE=
   4210 fi
   4211 
   4212  if test "x$enable_filter_sparc" = xyes; then
   4213   COND_FILTER_SPARC_TRUE=
   4214   COND_FILTER_SPARC_FALSE='#'
   4215 else
   4216   COND_FILTER_SPARC_TRUE='#'
   4217   COND_FILTER_SPARC_FALSE=
   4218 fi
   4219 
   4220  if test "x$enable_encoder_sparc" = xyes; then
   4221   COND_ENCODER_SPARC_TRUE=
   4222   COND_ENCODER_SPARC_FALSE='#'
   4223 else
   4224   COND_ENCODER_SPARC_TRUE='#'
   4225   COND_ENCODER_SPARC_FALSE=
   4226 fi
   4227 
   4228  if test "x$enable_decoder_sparc" = xyes; then
   4229   COND_DECODER_SPARC_TRUE=
   4230   COND_DECODER_SPARC_FALSE='#'
   4231 else
   4232   COND_DECODER_SPARC_TRUE='#'
   4233   COND_DECODER_SPARC_FALSE=
   4234 fi
   4235 
   4236  if test "x$enable_filter_riscv" = xyes; then
   4237   COND_FILTER_RISCV_TRUE=
   4238   COND_FILTER_RISCV_FALSE='#'
   4239 else
   4240   COND_FILTER_RISCV_TRUE='#'
   4241   COND_FILTER_RISCV_FALSE=
   4242 fi
   4243 
   4244  if test "x$enable_encoder_riscv" = xyes; then
   4245   COND_ENCODER_RISCV_TRUE=
   4246   COND_ENCODER_RISCV_FALSE='#'
   4247 else
   4248   COND_ENCODER_RISCV_TRUE='#'
   4249   COND_ENCODER_RISCV_FALSE=
   4250 fi
   4251 
   4252  if test "x$enable_decoder_riscv" = xyes; then
   4253   COND_DECODER_RISCV_TRUE=
   4254   COND_DECODER_RISCV_FALSE='#'
   4255 else
   4256   COND_DECODER_RISCV_TRUE='#'
   4257   COND_DECODER_RISCV_FALSE=
   4258 fi
   4259 
   4260 
   4261 # The so called "simple filters" share common code.
   4262 enable_filter_simple=no
   4263 enable_encoder_simple=no
   4264 enable_decoder_simple=no
   4265 test "x$enable_filter_x86" = xyes && enable_filter_simple=yes
   4266 test "x$enable_encoder_x86" = xyes && enable_encoder_simple=yes
   4267 test "x$enable_decoder_x86" = xyes && enable_decoder_simple=yes
   4268 test "x$enable_filter_powerpc" = xyes && enable_filter_simple=yes
   4269 test "x$enable_encoder_powerpc" = xyes && enable_encoder_simple=yes
   4270 test "x$enable_decoder_powerpc" = xyes && enable_decoder_simple=yes
   4271 test "x$enable_filter_ia64" = xyes && enable_filter_simple=yes
   4272 test "x$enable_encoder_ia64" = xyes && enable_encoder_simple=yes
   4273 test "x$enable_decoder_ia64" = xyes && enable_decoder_simple=yes
   4274 test "x$enable_filter_arm" = xyes && enable_filter_simple=yes
   4275 test "x$enable_encoder_arm" = xyes && enable_encoder_simple=yes
   4276 test "x$enable_decoder_arm" = xyes && enable_decoder_simple=yes
   4277 test "x$enable_filter_armthumb" = xyes && enable_filter_simple=yes
   4278 test "x$enable_encoder_armthumb" = xyes && enable_encoder_simple=yes
   4279 test "x$enable_decoder_armthumb" = xyes && enable_decoder_simple=yes
   4280 test "x$enable_filter_arm64" = xyes && enable_filter_simple=yes
   4281 test "x$enable_encoder_arm64" = xyes && enable_encoder_simple=yes
   4282 test "x$enable_decoder_arm64" = xyes && enable_decoder_simple=yes
   4283 test "x$enable_filter_sparc" = xyes && enable_filter_simple=yes
   4284 test "x$enable_encoder_sparc" = xyes && enable_encoder_simple=yes
   4285 test "x$enable_decoder_sparc" = xyes && enable_decoder_simple=yes
   4286 test "x$enable_filter_riscv" = xyes && enable_filter_simple=yes
   4287 test "x$enable_encoder_riscv" = xyes && enable_encoder_simple=yes
   4288 test "x$enable_decoder_riscv" = xyes && enable_decoder_simple=yes
   4289  if test "x$enable_filter_simple" = xyes; then
   4290   COND_FILTER_SIMPLE_TRUE=
   4291   COND_FILTER_SIMPLE_FALSE='#'
   4292 else
   4293   COND_FILTER_SIMPLE_TRUE='#'
   4294   COND_FILTER_SIMPLE_FALSE=
   4295 fi
   4296 
   4297  if test "x$enable_encoder_simple" = xyes; then
   4298   COND_ENCODER_SIMPLE_TRUE=
   4299   COND_ENCODER_SIMPLE_FALSE='#'
   4300 else
   4301   COND_ENCODER_SIMPLE_TRUE='#'
   4302   COND_ENCODER_SIMPLE_FALSE=
   4303 fi
   4304 
   4305  if test "x$enable_decoder_simple" = xyes; then
   4306   COND_DECODER_SIMPLE_TRUE=
   4307   COND_DECODER_SIMPLE_FALSE='#'
   4308 else
   4309   COND_DECODER_SIMPLE_TRUE='#'
   4310   COND_DECODER_SIMPLE_FALSE=
   4311 fi
   4312 
   4313 
   4314 # LZ-based filters share common code.
   4315 enable_filter_lz=no
   4316 enable_encoder_lz=no
   4317 enable_decoder_lz=no
   4318 test "x$enable_filter_lzma1" = xyes && enable_filter_lz=yes
   4319 test "x$enable_encoder_lzma1" = xyes && enable_encoder_lz=yes
   4320 test "x$enable_decoder_lzma1" = xyes && enable_decoder_lz=yes
   4321 test "x$enable_filter_lzma2" = xyes && enable_filter_lz=yes
   4322 test "x$enable_encoder_lzma2" = xyes && enable_encoder_lz=yes
   4323 test "x$enable_decoder_lzma2" = xyes && enable_decoder_lz=yes
   4324  if test "x$enable_filter_lz" = xyes; then
   4325   COND_FILTER_LZ_TRUE=
   4326   COND_FILTER_LZ_FALSE='#'
   4327 else
   4328   COND_FILTER_LZ_TRUE='#'
   4329   COND_FILTER_LZ_FALSE=
   4330 fi
   4331 
   4332  if test "x$enable_encoder_lz" = xyes; then
   4333   COND_ENCODER_LZ_TRUE=
   4334   COND_ENCODER_LZ_FALSE='#'
   4335 else
   4336   COND_ENCODER_LZ_TRUE='#'
   4337   COND_ENCODER_LZ_FALSE=
   4338 fi
   4339 
   4340  if test "x$enable_decoder_lz" = xyes; then
   4341   COND_DECODER_LZ_TRUE=
   4342   COND_DECODER_LZ_FALSE='#'
   4343 else
   4344   COND_DECODER_LZ_TRUE='#'
   4345   COND_DECODER_LZ_FALSE=
   4346 fi
   4347 
   4348 
   4349 
   4350 #################
   4351 # Match finders #
   4352 #################
   4353 
   4354 
   4355 
   4356 enable_match_finder_hc3=no
   4357 enable_match_finder_hc4=no
   4358 enable_match_finder_bt2=no
   4359 enable_match_finder_bt3=no
   4360 enable_match_finder_bt4=no
   4361 
   4362 
   4363 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking which match finders to build" >&5
   4364 printf %s "checking which match finders to build... " >&6; }
   4365 # Check whether --enable-match-finders was given.
   4366 if test ${enable_match_finders+y}
   4367 then :
   4368   enableval=$enable_match_finders;
   4369 else case e in #(
   4370   e) enable_match_finders=hc3,hc4,bt2,bt3,bt4 ;;
   4371 esac
   4372 fi
   4373 
   4374 enable_match_finders=`echo "$enable_match_finders" | sed 's/,/ /g'`
   4375 if test "x$enable_encoder_lz" = xyes ; then
   4376 	if test -z "$enable_match_finders"; then
   4377 		as_fn_error $? "At least one match finder is required for an LZ-based encoder." "$LINENO" 5
   4378 	fi
   4379 
   4380 	for arg in $enable_match_finders
   4381 		do
   4382 		case $arg in
   4383 			hc3)
   4384 				enable_match_finder_hc3=yes
   4385 
   4386 printf '%s\n' "#define HAVE_MF_HC3 1" >>confdefs.h
   4387 
   4388 				;;
   4389 			hc4)
   4390 				enable_match_finder_hc4=yes
   4391 
   4392 printf '%s\n' "#define HAVE_MF_HC4 1" >>confdefs.h
   4393 
   4394 				;;
   4395 			bt2)
   4396 				enable_match_finder_bt2=yes
   4397 
   4398 printf '%s\n' "#define HAVE_MF_BT2 1" >>confdefs.h
   4399 
   4400 				;;
   4401 			bt3)
   4402 				enable_match_finder_bt3=yes
   4403 
   4404 printf '%s\n' "#define HAVE_MF_BT3 1" >>confdefs.h
   4405 
   4406 				;;
   4407 			bt4)
   4408 				enable_match_finder_bt4=yes
   4409 
   4410 printf '%s\n' "#define HAVE_MF_BT4 1" >>confdefs.h
   4411 
   4412 				;;
   4413 			*)
   4414 				{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5
   4415 printf '%s\n' "" >&6; }
   4416 				as_fn_error $? "unknown match finder: $arg" "$LINENO" 5
   4417 				;;
   4418 		esac
   4419 	done
   4420 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_match_finders" >&5
   4421 printf '%s\n' "$enable_match_finders" >&6; }
   4422 else
   4423 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: (none because not building any LZ-based encoder)" >&5
   4424 printf '%s\n' "(none because not building any LZ-based encoder)" >&6; }
   4425 fi
   4426 
   4427 
   4428 ####################
   4429 # Integrity checks #
   4430 ####################
   4431 
   4432 
   4433 
   4434 enable_check_crc32=no
   4435 enable_check_crc64=no
   4436 enable_check_sha256=no
   4437 
   4438 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking which integrity checks to build" >&5
   4439 printf %s "checking which integrity checks to build... " >&6; }
   4440 # Check whether --enable-checks was given.
   4441 if test ${enable_checks+y}
   4442 then :
   4443   enableval=$enable_checks;
   4444 else case e in #(
   4445   e) enable_checks=crc32,crc64,sha256 ;;
   4446 esac
   4447 fi
   4448 
   4449 enable_checks=`echo "$enable_checks" | sed 's/,/ /g'`
   4450 if test "x$enable_checks" = xno || test "x$enable_checks" = x; then
   4451 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: (none)" >&5
   4452 printf '%s\n' "(none)" >&6; }
   4453 else
   4454 	for arg in $enable_checks
   4455 	do
   4456 		case $arg in
   4457 			crc32)
   4458 				enable_check_crc32=yes
   4459 
   4460 printf '%s\n' "#define HAVE_CHECK_CRC32 1" >>confdefs.h
   4461 
   4462 				;;
   4463 			crc64)
   4464 				enable_check_crc64=yes
   4465 
   4466 printf '%s\n' "#define HAVE_CHECK_CRC64 1" >>confdefs.h
   4467 
   4468 				;;
   4469 			sha256)
   4470 				enable_check_sha256=yes
   4471 
   4472 printf '%s\n' "#define HAVE_CHECK_SHA256 1" >>confdefs.h
   4473 
   4474 				;;
   4475 			*)
   4476 				{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5
   4477 printf '%s\n' "" >&6; }
   4478 				as_fn_error $? "unknown integrity check: $arg" "$LINENO" 5
   4479 				;;
   4480 		esac
   4481 	done
   4482 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_checks" >&5
   4483 printf '%s\n' "$enable_checks" >&6; }
   4484 fi
   4485 if test "x$enable_check_crc32" = xno ; then
   4486 	as_fn_error $? "For now, the CRC32 check must always be enabled." "$LINENO" 5
   4487 fi
   4488 
   4489  if test "x$enable_check_crc32" = xyes; then
   4490   COND_CHECK_CRC32_TRUE=
   4491   COND_CHECK_CRC32_FALSE='#'
   4492 else
   4493   COND_CHECK_CRC32_TRUE='#'
   4494   COND_CHECK_CRC32_FALSE=
   4495 fi
   4496 
   4497  if test "x$enable_check_crc64" = xyes; then
   4498   COND_CHECK_CRC64_TRUE=
   4499   COND_CHECK_CRC64_FALSE='#'
   4500 else
   4501   COND_CHECK_CRC64_TRUE='#'
   4502   COND_CHECK_CRC64_FALSE=
   4503 fi
   4504 
   4505  if test "x$enable_check_sha256" = xyes; then
   4506   COND_CHECK_SHA256_TRUE=
   4507   COND_CHECK_SHA256_FALSE='#'
   4508 else
   4509   COND_CHECK_SHA256_TRUE='#'
   4510   COND_CHECK_SHA256_FALSE=
   4511 fi
   4512 
   4513 
   4514 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if external SHA-256 should be used" >&5
   4515 printf %s "checking if external SHA-256 should be used... " >&6; }
   4516 # Check whether --enable-external-sha256 was given.
   4517 if test ${enable_external_sha256+y}
   4518 then :
   4519   enableval=$enable_external_sha256;
   4520 else case e in #(
   4521   e) enable_external_sha256=no ;;
   4522 esac
   4523 fi
   4524 
   4525 if test "x$enable_check_sha256" != "xyes"; then
   4526 	enable_external_sha256=no
   4527 fi
   4528 if test "x$enable_external_sha256" = xyes; then
   4529 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4530 printf '%s\n' "yes" >&6; }
   4531 else
   4532 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4533 printf '%s\n' "no" >&6; }
   4534 fi
   4535 
   4536 
   4537 #############
   4538 # MicroLZMA #
   4539 #############
   4540 
   4541 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if MicroLZMA support should be built" >&5
   4542 printf %s "checking if MicroLZMA support should be built... " >&6; }
   4543 # Check whether --enable-microlzma was given.
   4544 if test ${enable_microlzma+y}
   4545 then :
   4546   enableval=$enable_microlzma;
   4547 else case e in #(
   4548   e) enable_microlzma=yes ;;
   4549 esac
   4550 fi
   4551 
   4552 case $enable_microlzma in
   4553 	yes | no)
   4554 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_microlzma" >&5
   4555 printf '%s\n' "$enable_microlzma" >&6; }
   4556 		;;
   4557 	*)
   4558 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5
   4559 printf '%s\n' "" >&6; }
   4560 		as_fn_error $? "--enable-microlzma accepts only 'yes' or 'no'." "$LINENO" 5
   4561 		;;
   4562 esac
   4563  if test "x$enable_microlzma" = xyes; then
   4564   COND_MICROLZMA_TRUE=
   4565   COND_MICROLZMA_FALSE='#'
   4566 else
   4567   COND_MICROLZMA_TRUE='#'
   4568   COND_MICROLZMA_FALSE=
   4569 fi
   4570 
   4571 
   4572 
   4573 #############################
   4574 # .lz (lzip) format support #
   4575 #############################
   4576 
   4577 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if .lz (lzip) decompression support should be built" >&5
   4578 printf %s "checking if .lz (lzip) decompression support should be built... " >&6; }
   4579 # Check whether --enable-lzip-decoder was given.
   4580 if test ${enable_lzip_decoder+y}
   4581 then :
   4582   enableval=$enable_lzip_decoder;
   4583 else case e in #(
   4584   e) enable_lzip_decoder=yes ;;
   4585 esac
   4586 fi
   4587 
   4588 if test "x$enable_decoder_lzma1" != xyes; then
   4589 	enable_lzip_decoder=no
   4590 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no because LZMA1 decoder is disabled" >&5
   4591 printf '%s\n' "no because LZMA1 decoder is disabled" >&6; }
   4592 elif test "x$enable_lzip_decoder" = xyes; then
   4593 
   4594 printf '%s\n' "#define HAVE_LZIP_DECODER 1" >>confdefs.h
   4595 
   4596 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4597 printf '%s\n' "yes" >&6; }
   4598 else
   4599 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4600 printf '%s\n' "no" >&6; }
   4601 fi
   4602  if test "x$enable_lzip_decoder" = xyes; then
   4603   COND_LZIP_DECODER_TRUE=
   4604   COND_LZIP_DECODER_FALSE='#'
   4605 else
   4606   COND_LZIP_DECODER_TRUE='#'
   4607   COND_LZIP_DECODER_FALSE=
   4608 fi
   4609 
   4610 
   4611 
   4612 ###########################
   4613 # Assembler optimizations #
   4614 ###########################
   4615 
   4616 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if assembler optimizations should be used" >&5
   4617 printf %s "checking if assembler optimizations should be used... " >&6; }
   4618 # Check whether --enable-assembler was given.
   4619 if test ${enable_assembler+y}
   4620 then :
   4621   enableval=$enable_assembler;
   4622 else case e in #(
   4623   e) enable_assembler=yes ;;
   4624 esac
   4625 fi
   4626 
   4627 if test "x$enable_assembler" = xyes; then
   4628 	enable_assembler=no
   4629 	case $host_os in
   4630 		# Darwin should work too but only if not creating universal
   4631 		# binaries. Solaris x86 could work too but I cannot test.
   4632 		linux* | gnu* | *bsd* | mingw* | cygwin | msys | *djgpp*)
   4633 			case $host_cpu in
   4634 				i?86)   enable_assembler=x86 ;;
   4635 			esac
   4636 			;;
   4637 	esac
   4638 fi
   4639 case $enable_assembler in
   4640 	x86)
   4641 
   4642 printf '%s\n' "#define HAVE_CRC_X86_ASM 1" >>confdefs.h
   4643 
   4644 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: x86" >&5
   4645 printf '%s\n' "x86" >&6; }
   4646 		;;
   4647 	no)
   4648 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4649 printf '%s\n' "no" >&6; }
   4650 		;;
   4651 	*)
   4652 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5
   4653 printf '%s\n' "" >&6; }
   4654 		as_fn_error $? "--enable-assembler accepts only 'yes', 'no', or 'x86' (32-bit)." "$LINENO" 5
   4655 		;;
   4656 esac
   4657  if test "x$enable_assembler" = xx86; then
   4658   COND_ASM_X86_TRUE=
   4659   COND_ASM_X86_FALSE='#'
   4660 else
   4661   COND_ASM_X86_TRUE='#'
   4662   COND_ASM_X86_FALSE=
   4663 fi
   4664 
   4665 
   4666 
   4667 #############
   4668 # CLMUL CRC #
   4669 #############
   4670 
   4671 # Check whether --enable-clmul-crc was given.
   4672 if test ${enable_clmul_crc+y}
   4673 then :
   4674   enableval=$enable_clmul_crc;
   4675 else case e in #(
   4676   e) enable_clmul_crc=yes ;;
   4677 esac
   4678 fi
   4679 
   4680 
   4681 
   4682 ############################
   4683 # ARM64 CRC32 Instructions #
   4684 ############################
   4685 
   4686 # Check whether --enable-arm64-crc32 was given.
   4687 if test ${enable_arm64_crc32+y}
   4688 then :
   4689   enableval=$enable_arm64_crc32;
   4690 else case e in #(
   4691   e) enable_arm64_crc32=yes ;;
   4692 esac
   4693 fi
   4694 
   4695 
   4696 
   4697 ################################
   4698 # LoongArch CRC32 instructions #
   4699 ################################
   4700 
   4701 # Check whether --enable-loongarch-crc32 was given.
   4702 if test ${enable_loongarch_crc32+y}
   4703 then :
   4704   enableval=$enable_loongarch_crc32;
   4705 else case e in #(
   4706   e) enable_loongarch_crc32=yes ;;
   4707 esac
   4708 fi
   4709 
   4710 
   4711 
   4712 #####################
   4713 # Size optimization #
   4714 #####################
   4715 
   4716 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if small size is preferred over speed" >&5
   4717 printf %s "checking if small size is preferred over speed... " >&6; }
   4718 # Check whether --enable-small was given.
   4719 if test ${enable_small+y}
   4720 then :
   4721   enableval=$enable_small;
   4722 else case e in #(
   4723   e) enable_small=no ;;
   4724 esac
   4725 fi
   4726 
   4727 if test "x$enable_small" = xyes; then
   4728 
   4729 printf '%s\n' "#define HAVE_SMALL 1" >>confdefs.h
   4730 
   4731 elif test "x$enable_small" != xno; then
   4732 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5
   4733 printf '%s\n' "" >&6; }
   4734 	as_fn_error $? "--enable-small accepts only 'yes' or 'no'" "$LINENO" 5
   4735 fi
   4736 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_small" >&5
   4737 printf '%s\n' "$enable_small" >&6; }
   4738  if test "x$enable_small" = xyes; then
   4739   COND_SMALL_TRUE=
   4740   COND_SMALL_FALSE='#'
   4741 else
   4742   COND_SMALL_TRUE='#'
   4743   COND_SMALL_FALSE=
   4744 fi
   4745 
   4746 
   4747 
   4748 #############
   4749 # Threading #
   4750 #############
   4751 
   4752 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if threading support is wanted" >&5
   4753 printf %s "checking if threading support is wanted... " >&6; }
   4754 # Check whether --enable-threads was given.
   4755 if test ${enable_threads+y}
   4756 then :
   4757   enableval=$enable_threads;
   4758 else case e in #(
   4759   e) enable_threads=yes ;;
   4760 esac
   4761 fi
   4762 
   4763 
   4764 if test "x$enable_threads" = xyes; then
   4765 	case $host_os in
   4766 		mingw*)
   4767 			case $host_cpu in
   4768 				i?86)   enable_threads=win95 ;;
   4769 				*)      enable_threads=vista ;;
   4770 			esac
   4771 			;;
   4772 		*)
   4773 			enable_threads=posix
   4774 			;;
   4775 	esac
   4776 fi
   4777 
   4778 case $enable_threads in
   4779 	posix | win95 | vista)
   4780 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes, $enable_threads" >&5
   4781 printf '%s\n' "yes, $enable_threads" >&6; }
   4782 		;;
   4783 	no)
   4784 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4785 printf '%s\n' "no" >&6; }
   4786 		;;
   4787 	*)
   4788 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5
   4789 printf '%s\n' "" >&6; }
   4790 		as_fn_error $? "--enable-threads only accepts 'yes', 'no', 'posix', 'win95', or 'vista'" "$LINENO" 5
   4791 		;;
   4792 esac
   4793 
   4794 # We use the actual result a little later.
   4795 
   4796 
   4797 #########################
   4798 # Assumed amount of RAM #
   4799 #########################
   4800 
   4801 # We use 128 MiB as default, because it will allow decompressing files
   4802 # created with "xz -9". It would be slightly safer to guess a lower value,
   4803 # but most systems, on which we don't have any way to determine the amount
   4804 # of RAM, will probably have at least 128 MiB of RAM.
   4805 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how much RAM to assume if the real amount is unknown" >&5
   4806 printf %s "checking how much RAM to assume if the real amount is unknown... " >&6; }
   4807 # Check whether --enable-assume-ram was given.
   4808 if test ${enable_assume_ram+y}
   4809 then :
   4810   enableval=$enable_assume_ram;
   4811 else case e in #(
   4812   e) enable_assume_ram=128 ;;
   4813 esac
   4814 fi
   4815 
   4816 assume_ram_check=`echo "$enable_assume_ram" | tr -d 0123456789`
   4817 if test -z "$enable_assume_ram" || test -n "$assume_ram_check"; then
   4818 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5
   4819 printf '%s\n' "" >&6; }
   4820 	as_fn_error $? "--enable-assume-ram accepts only an integer argument" "$LINENO" 5
   4821 fi
   4822 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_assume_ram MiB" >&5
   4823 printf '%s\n' "$enable_assume_ram MiB" >&6; }
   4824 
   4825 printf '%s\n' "#define ASSUME_RAM $enable_assume_ram" >>confdefs.h
   4826 
   4827 
   4828 
   4829 #########################
   4830 # Components to install #
   4831 #########################
   4832 
   4833 # Check whether --enable-xz was given.
   4834 if test ${enable_xz+y}
   4835 then :
   4836   enableval=$enable_xz;
   4837 else case e in #(
   4838   e) enable_xz=yes ;;
   4839 esac
   4840 fi
   4841 
   4842  if test x$enable_xz != xno; then
   4843   COND_XZ_TRUE=
   4844   COND_XZ_FALSE='#'
   4845 else
   4846   COND_XZ_TRUE='#'
   4847   COND_XZ_FALSE=
   4848 fi
   4849 
   4850 
   4851 # Check whether --enable-xzdec was given.
   4852 if test ${enable_xzdec+y}
   4853 then :
   4854   enableval=$enable_xzdec;
   4855 else case e in #(
   4856   e) enable_xzdec=yes ;;
   4857 esac
   4858 fi
   4859 
   4860 test "x$enable_decoders" = xno && enable_xzdec=no
   4861  if test x$enable_xzdec != xno; then
   4862   COND_XZDEC_TRUE=
   4863   COND_XZDEC_FALSE='#'
   4864 else
   4865   COND_XZDEC_TRUE='#'
   4866   COND_XZDEC_FALSE=
   4867 fi
   4868 
   4869 
   4870 # Check whether --enable-lzmadec was given.
   4871 if test ${enable_lzmadec+y}
   4872 then :
   4873   enableval=$enable_lzmadec;
   4874 else case e in #(
   4875   e) enable_lzmadec=yes ;;
   4876 esac
   4877 fi
   4878 
   4879 test "x$enable_decoder_lzma1" = xno && enable_lzmadec=no
   4880  if test x$enable_lzmadec != xno; then
   4881   COND_LZMADEC_TRUE=
   4882   COND_LZMADEC_FALSE='#'
   4883 else
   4884   COND_LZMADEC_TRUE='#'
   4885   COND_LZMADEC_FALSE=
   4886 fi
   4887 
   4888 
   4889 # Check whether --enable-lzmainfo was given.
   4890 if test ${enable_lzmainfo+y}
   4891 then :
   4892   enableval=$enable_lzmainfo;
   4893 else case e in #(
   4894   e) enable_lzmainfo=yes ;;
   4895 esac
   4896 fi
   4897 
   4898 test "x$enable_decoder_lzma1" = xno && enable_lzmainfo=no
   4899  if test x$enable_lzmainfo != xno; then
   4900   COND_LZMAINFO_TRUE=
   4901   COND_LZMAINFO_FALSE='#'
   4902 else
   4903   COND_LZMAINFO_TRUE='#'
   4904   COND_LZMAINFO_FALSE=
   4905 fi
   4906 
   4907 
   4908 # Check whether --enable-lzma-links was given.
   4909 if test ${enable_lzma_links+y}
   4910 then :
   4911   enableval=$enable_lzma_links;
   4912 else case e in #(
   4913   e) enable_lzma_links=yes ;;
   4914 esac
   4915 fi
   4916 
   4917  if test x$enable_lzma_links != xno; then
   4918   COND_LZMALINKS_TRUE=
   4919   COND_LZMALINKS_FALSE='#'
   4920 else
   4921   COND_LZMALINKS_TRUE='#'
   4922   COND_LZMALINKS_FALSE=
   4923 fi
   4924 
   4925 
   4926 # Check whether --enable-scripts was given.
   4927 if test ${enable_scripts+y}
   4928 then :
   4929   enableval=$enable_scripts;
   4930 else case e in #(
   4931   e) enable_scripts=yes ;;
   4932 esac
   4933 fi
   4934 
   4935  if test x$enable_scripts != xno; then
   4936   COND_SCRIPTS_TRUE=
   4937   COND_SCRIPTS_FALSE='#'
   4938 else
   4939   COND_SCRIPTS_TRUE='#'
   4940   COND_SCRIPTS_FALSE=
   4941 fi
   4942 
   4943 
   4944 # Check whether --enable-doc was given.
   4945 if test ${enable_doc+y}
   4946 then :
   4947   enableval=$enable_doc;
   4948 else case e in #(
   4949   e) enable_doc=yes ;;
   4950 esac
   4951 fi
   4952 
   4953  if test x$enable_doc != xno; then
   4954   COND_DOC_TRUE=
   4955   COND_DOC_FALSE='#'
   4956 else
   4957   COND_DOC_TRUE='#'
   4958   COND_DOC_FALSE=
   4959 fi
   4960 
   4961 
   4962 # Check whether --enable-doxygen was given.
   4963 if test ${enable_doxygen+y}
   4964 then :
   4965   enableval=$enable_doxygen;
   4966 else case e in #(
   4967   e) enable_doxygen=no ;;
   4968 esac
   4969 fi
   4970 
   4971  if test x$enable_doxygen != xno; then
   4972   COND_DOXYGEN_TRUE=
   4973   COND_DOXYGEN_FALSE='#'
   4974 else
   4975   COND_DOXYGEN_TRUE='#'
   4976   COND_DOXYGEN_FALSE=
   4977 fi
   4978 
   4979 
   4980 
   4981 ##############
   4982 # Sandboxing #
   4983 ##############
   4984 
   4985 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if sandboxing should be used" >&5
   4986 printf %s "checking if sandboxing should be used... " >&6; }
   4987 # Check whether --enable-sandbox was given.
   4988 if test ${enable_sandbox+y}
   4989 then :
   4990   enableval=$enable_sandbox;
   4991 else case e in #(
   4992   e) enable_sandbox=auto ;;
   4993 esac
   4994 fi
   4995 
   4996 case $enable_xzdec-$enable_xz-$enable_sandbox in
   4997 	no-no-*)
   4998 		enable_sandbox=no
   4999 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no, --disable-xz and --disable-xzdec was used" >&5
   5000 printf '%s\n' "no, --disable-xz and --disable-xzdec was used" >&6; }
   5001 		;;
   5002 	*-*-auto)
   5003 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: maybe (autodetect)" >&5
   5004 printf '%s\n' "maybe (autodetect)" >&6; }
   5005 		;;
   5006 	*-*-no | *-*-capsicum | *-*-pledge | *-*-landlock)
   5007 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_sandbox" >&5
   5008 printf '%s\n' "$enable_sandbox" >&6; }
   5009 		;;
   5010 	*)
   5011 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5
   5012 printf '%s\n' "" >&6; }
   5013 		as_fn_error $? "--enable-sandbox only accepts 'auto', 'no', 'capsicum', 'pledge', or 'landlock'." "$LINENO" 5
   5014 		;;
   5015 esac
   5016 
   5017 
   5018 ###########################
   5019 # PATH prefix for scripts #
   5020 ###########################
   5021 
   5022 # The scripts can add a prefix to the search PATH so that POSIX tools
   5023 # or the xz binary is always in the PATH.
   5024 # Check whether --enable-path-for-scripts was given.
   5025 if test ${enable_path_for_scripts+y}
   5026 then :
   5027   enableval=$enable_path_for_scripts;
   5028 else case e in #(
   5029   e)
   5030 		case $host_os in
   5031 			solaris*) enable_path_for_scripts=/usr/xpg4/bin ;;
   5032 			*)        enable_path_for_scripts= ;;
   5033 		esac
   5034 	 ;;
   5035 esac
   5036 fi
   5037 
   5038 if test -n "$enable_path_for_scripts" && test "x$enable_path_for_scripts" != xno ; then
   5039 	enable_path_for_scripts="PATH=$enable_path_for_scripts:\$PATH"
   5040 else
   5041 	enable_path_for_scripts=
   5042 fi
   5043 
   5044 
   5045 
   5046 ###############################################################################
   5047 # Checks for programs.
   5048 ###############################################################################
   5049 
   5050 echo
   5051 case $host_os in
   5052 	solaris*)
   5053 		# The gnulib POSIX shell macro below may pick a shell that
   5054 		# doesn't work with xzgrep. Workaround by picking a shell
   5055 		# that is known to work.
   5056 		if test -z "$gl_cv_posix_shell" && test -x /usr/xpg4/bin/sh; then
   5057 			gl_cv_posix_shell=/usr/xpg4/bin/sh
   5058 		fi
   5059 		;;
   5060 esac
   5061 
   5062   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a shell that conforms to POSIX" >&5
   5063 printf %s "checking for a shell that conforms to POSIX... " >&6; }
   5064 if test ${gl_cv_posix_shell+y}
   5065 then :
   5066   printf %s "(cached) " >&6
   5067 else case e in #(
   5068   e) gl_test_posix_shell_script='
   5069        func_return () {
   5070          (exit $1)
   5071        }
   5072        func_success () {
   5073          func_return 0
   5074        }
   5075        func_failure () {
   5076          func_return 1
   5077        }
   5078        func_ret_success () {
   5079          return 0
   5080        }
   5081        func_ret_failure () {
   5082          return 1
   5083        }
   5084        subshell_umask_sanity () {
   5085          (umask 22; (umask 0); test $(umask) -eq 22)
   5086        }
   5087        test "$(echo foo)" = foo &&
   5088        func_success &&
   5089        ! func_failure &&
   5090        func_ret_success &&
   5091        ! func_ret_failure &&
   5092        (set x && func_ret_success y && test x = "$1") &&
   5093        subshell_umask_sanity
   5094      '
   5095      for gl_cv_posix_shell in \
   5096          "$CONFIG_SHELL" "$SHELL" /bin/sh /bin/bash /bin/ksh /bin/sh5 no; do
   5097        case $gl_cv_posix_shell in
   5098          /*)
   5099            "$gl_cv_posix_shell" -c "$gl_test_posix_shell_script" 2>/dev/null \
   5100              && break;;
   5101        esac
   5102      done ;;
   5103 esac
   5104 fi
   5105 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $gl_cv_posix_shell" >&5
   5106 printf '%s\n' "$gl_cv_posix_shell" >&6; }
   5107 
   5108   if test "$gl_cv_posix_shell" != no; then
   5109     POSIX_SHELL=$gl_cv_posix_shell
   5110     PREFERABLY_POSIX_SHELL=$POSIX_SHELL
   5111   else
   5112     POSIX_SHELL=
   5113     PREFERABLY_POSIX_SHELL=/bin/sh
   5114   fi
   5115 
   5116 
   5117 
   5118 if test -z "$POSIX_SHELL" && test "x$enable_scripts" = xyes ; then
   5119 	as_fn_error $? "No POSIX conforming shell (sh) was found." "$LINENO" 5
   5120 fi
   5121 
   5122 echo
   5123 echo "Initializing Automake:"
   5124 
   5125 # We don't use "subdir-objects" yet because it breaks "make distclean" when
   5126 # dependencies are enabled (as of Automake 1.14.1) due to this bug:
   5127 # https://debbugs.gnu.org/cgi/bugreport.cgi?bug=17354
   5128 # The -Wno-unsupported is used to silence warnings about missing
   5129 # "subdir-objects".
   5130 am__api_version='1.18'
   5131 
   5132 
   5133   # Find a good install program.  We prefer a C program (faster),
   5134 # so one script is as good as another.  But avoid the broken or
   5135 # incompatible versions:
   5136 # SysV /etc/install, /usr/sbin/install
   5137 # SunOS /usr/etc/install
   5138 # IRIX /sbin/install
   5139 # AIX /bin/install
   5140 # AmigaOS /C/install, which installs bootblocks on floppy discs
   5141 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   5142 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   5143 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   5144 # OS/2's system install, which has a completely different semantic
   5145 # ./install, which can be erroneously created by make from ./install.sh.
   5146 # Reject install programs that cannot install multiple files.
   5147 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   5148 printf %s "checking for a BSD-compatible install... " >&6; }
   5149 if test -z "$INSTALL"; then
   5150 if test ${ac_cv_path_install+y}
   5151 then :
   5152   printf %s "(cached) " >&6
   5153 else case e in #(
   5154   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5155 for as_dir in $PATH
   5156 do
   5157   IFS=$as_save_IFS
   5158   case $as_dir in #(((
   5159     '') as_dir=./ ;;
   5160     */) ;;
   5161     *) as_dir=$as_dir/ ;;
   5162   esac
   5163     # Account for fact that we put trailing slashes in our PATH walk.
   5164 case $as_dir in #((
   5165   ./ | /[cC]/* | \
   5166   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   5167   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   5168   /usr/ucb/* ) ;;
   5169   *)
   5170     # OSF/1 and SCO ODT 3.0 have their own names for install.
   5171     # Don't use installbsd from OSF/1 since it installs stuff as root
   5172     # by default.
   5173     for ac_prog in ginstall scoinst install; do
   5174       for ac_exec_ext in '' $ac_executable_extensions; do
   5175 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   5176 	  if test $ac_prog = install &&
   5177 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   5178 	    # AIX install.  It has an incompatible calling convention.
   5179 	    :
   5180 	  elif test $ac_prog = install &&
   5181 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   5182 	    # program-specific install script used by HP pwplus--don't use.
   5183 	    :
   5184 	  else
   5185 	    rm -rf conftest.one conftest.two conftest.dir
   5186 	    echo one > conftest.one
   5187 	    echo two > conftest.two
   5188 	    mkdir conftest.dir
   5189 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   5190 	      test -s conftest.one && test -s conftest.two &&
   5191 	      test -s conftest.dir/conftest.one &&
   5192 	      test -s conftest.dir/conftest.two
   5193 	    then
   5194 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   5195 	      break 3
   5196 	    fi
   5197 	  fi
   5198 	fi
   5199       done
   5200     done
   5201     ;;
   5202 esac
   5203 
   5204   done
   5205 IFS=$as_save_IFS
   5206 
   5207 rm -rf conftest.one conftest.two conftest.dir
   5208  ;;
   5209 esac
   5210 fi
   5211   if test ${ac_cv_path_install+y}; then
   5212     INSTALL=$ac_cv_path_install
   5213   else
   5214     # As a last resort, use the slow shell script.  Don't cache a
   5215     # value for INSTALL within a source directory, because that will
   5216     # break other packages using the cache if that directory is
   5217     # removed, or if the value is a relative name.
   5218     INSTALL=$ac_install_sh
   5219   fi
   5220 fi
   5221 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   5222 printf '%s\n' "$INSTALL" >&6; }
   5223 
   5224 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   5225 # It thinks the first close brace ends the variable substitution.
   5226 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   5227 
   5228 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   5229 
   5230 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   5231 
   5232 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   5233 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   5234 if test ${am_cv_sleep_fractional_seconds+y}
   5235 then :
   5236   printf %s "(cached) " >&6
   5237 else case e in #(
   5238   e) if sleep 0.001 2>/dev/null
   5239 then :
   5240   am_cv_sleep_fractional_seconds=yes
   5241 else case e in #(
   5242   e) am_cv_sleep_fractional_seconds=no ;;
   5243 esac
   5244 fi
   5245  ;;
   5246 esac
   5247 fi
   5248 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   5249 printf '%s\n' "$am_cv_sleep_fractional_seconds" >&6; }
   5250 
   5251 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   5252 printf %s "checking filesystem timestamp resolution... " >&6; }
   5253 if test ${am_cv_filesystem_timestamp_resolution+y}
   5254 then :
   5255   printf %s "(cached) " >&6
   5256 else case e in #(
   5257   e) # Default to the worst case.
   5258 am_cv_filesystem_timestamp_resolution=2
   5259 
   5260 # Only try to go finer than 1 sec if sleep can do it.
   5261 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   5262 # - 1 sec is not much of a win compared to 2 sec, and
   5263 # - it takes 2 seconds to perform the test whether 1 sec works.
   5264 #
   5265 # Instead, just use the default 2s on platforms that have 1s resolution,
   5266 # accept the extra 1s delay when using $sleep in the Automake tests, in
   5267 # exchange for not incurring the 2s delay for running the test for all
   5268 # packages.
   5269 #
   5270 am_try_resolutions=
   5271 if test "$am_cv_sleep_fractional_seconds" = yes; then
   5272   # Even a millisecond often causes a bunch of false positives,
   5273   # so just try a hundredth of a second. The time saved between .001 and
   5274   # .01 is not terribly consequential.
   5275   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   5276 fi
   5277 
   5278 # In order to catch current-generation FAT out, we must *modify* files
   5279 # that already exist; the *creation* timestamp is finer.  Use names
   5280 # that make ls -t sort them differently when they have equal
   5281 # timestamps than when they have distinct timestamps, keeping
   5282 # in mind that ls -t prints the *newest* file first.
   5283 rm -f conftest.ts?
   5284 : > conftest.ts1
   5285 : > conftest.ts2
   5286 : > conftest.ts3
   5287 
   5288 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   5289 # clobber the current shell's arguments. (Outer-level square brackets
   5290 # are removed by m4; they're present so that m4 does not expand
   5291 # <dollar><star>; be careful, easy to get confused.)
   5292 if (
   5293      set X `ls -t conftest.ts[12]` &&
   5294      {
   5295        test "$*" != "X conftest.ts1 conftest.ts2" ||
   5296        test "$*" != "X conftest.ts2 conftest.ts1";
   5297      }
   5298 ); then :; else
   5299   # If neither matched, then we have a broken ls.  This can happen
   5300   # if, for instance, CONFIG_SHELL is bash and it inherits a
   5301   # broken ls alias from the environment.  This has actually
   5302   # happened.  Such a system could not be considered "sane".
   5303   printf '%s\n' ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   5304   { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   5305 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   5306 as_fn_error $? "ls -t produces unexpected output.
   5307 Make sure there is not a broken ls alias in your environment.
   5308 See 'config.log' for more details" "$LINENO" 5; }
   5309 fi
   5310 
   5311 for am_try_res in $am_try_resolutions; do
   5312   # Any one fine-grained sleep might happen to cross the boundary
   5313   # between two values of a coarser actual resolution, but if we do
   5314   # two fine-grained sleeps in a row, at least one of them will fall
   5315   # entirely within a coarse interval.
   5316   echo alpha > conftest.ts1
   5317   sleep $am_try_res
   5318   echo beta > conftest.ts2
   5319   sleep $am_try_res
   5320   echo gamma > conftest.ts3
   5321 
   5322   # We assume that 'ls -t' will make use of high-resolution
   5323   # timestamps if the operating system supports them at all.
   5324   if (set X `ls -t conftest.ts?` &&
   5325       test "$2" = conftest.ts3 &&
   5326       test "$3" = conftest.ts2 &&
   5327       test "$4" = conftest.ts1); then
   5328     #
   5329     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   5330     # because we don't need to test make.
   5331     make_ok=true
   5332     if test $am_try_res != 1; then
   5333       # But if we've succeeded so far with a subsecond resolution, we
   5334       # have one more thing to check: make. It can happen that
   5335       # everything else supports the subsecond mtimes, but make doesn't;
   5336       # notably on macOS, which ships make 3.81 from 2006 (the last one
   5337       # released under GPLv2). https://bugs.gnu.org/68808
   5338       #
   5339       # We test $MAKE if it is defined in the environment, else "make".
   5340       # It might get overridden later, but our hope is that in practice
   5341       # it does not matter: it is the system "make" which is (by far)
   5342       # the most likely to be broken, whereas if the user overrides it,
   5343       # probably they did so with a better, or at least not worse, make.
   5344       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   5345       #
   5346       # Create a Makefile (real tab character here):
   5347       rm -f conftest.mk
   5348       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   5349       echo '	touch conftest.ts2' >>conftest.mk
   5350       #
   5351       # Now, running
   5352       #   touch conftest.ts1; touch conftest.ts2; make
   5353       # should touch ts1 because ts2 is newer. This could happen by luck,
   5354       # but most often, it will fail if make's support is insufficient. So
   5355       # test for several consecutive successes.
   5356       #
   5357       # (We reuse conftest.ts[12] because we still want to modify existing
   5358       # files, not create new ones, per above.)
   5359       n=0
   5360       make=${MAKE-make}
   5361       until test $n -eq 3; do
   5362         echo one > conftest.ts1
   5363         sleep $am_try_res
   5364         echo two > conftest.ts2 # ts2 should now be newer than ts1
   5365         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   5366           make_ok=false
   5367           break # out of $n loop
   5368         fi
   5369         n=`expr $n + 1`
   5370       done
   5371     fi
   5372     #
   5373     if $make_ok; then
   5374       # Everything we know to check worked out, so call this resolution good.
   5375       am_cv_filesystem_timestamp_resolution=$am_try_res
   5376       break # out of $am_try_res loop
   5377     fi
   5378     # Otherwise, we'll go on to check the next resolution.
   5379   fi
   5380 done
   5381 rm -f conftest.ts?
   5382 # (end _am_filesystem_timestamp_resolution)
   5383  ;;
   5384 esac
   5385 fi
   5386 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   5387 printf '%s\n' "$am_cv_filesystem_timestamp_resolution" >&6; }
   5388 
   5389 # This check should not be cached, as it may vary across builds of
   5390 # different projects.
   5391 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   5392 printf %s "checking whether build environment is sane... " >&6; }
   5393 # Reject unsafe characters in $srcdir or the absolute working directory
   5394 # name.  Accept space and tab only in the latter.
   5395 am_lf='
   5396 '
   5397 case `pwd` in
   5398   *[\\\"\#\$\&\'\`$am_lf]*)
   5399     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5400 printf '%s\n' "no" >&6; }
   5401     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   5402 esac
   5403 case $srcdir in
   5404   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   5405     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5406 printf '%s\n' "no" >&6; }
   5407     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   5408 esac
   5409 
   5410 # Do 'set' in a subshell so we don't clobber the current shell's
   5411 # arguments.  Must try -L first in case configure is actually a
   5412 # symlink; some systems play weird games with the mod time of symlinks
   5413 # (eg FreeBSD returns the mod time of the symlink's containing
   5414 # directory).
   5415 am_build_env_is_sane=no
   5416 am_has_slept=no
   5417 rm -f conftest.file
   5418 for am_try in 1 2; do
   5419   echo "timestamp, slept: $am_has_slept" > conftest.file
   5420   if (
   5421     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   5422     if test "$*" = "X"; then
   5423       # -L didn't work.
   5424       set X `ls -t "$srcdir/configure" conftest.file`
   5425     fi
   5426     test "$2" = conftest.file
   5427   ); then
   5428     am_build_env_is_sane=yes
   5429     break
   5430   fi
   5431   # Just in case.
   5432   sleep "$am_cv_filesystem_timestamp_resolution"
   5433   am_has_slept=yes
   5434 done
   5435 
   5436 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   5437 printf '%s\n' "$am_build_env_is_sane" >&6; }
   5438 if test "$am_build_env_is_sane" = no; then
   5439   as_fn_error $? "newly created file is older than distributed files!
   5440 Check your system clock" "$LINENO" 5
   5441 fi
   5442 
   5443 # If we didn't sleep, we still need to ensure time stamps of config.status and
   5444 # generated files are strictly newer.
   5445 am_sleep_pid=
   5446 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   5447 then :
   5448 
   5449 else case e in #(
   5450   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   5451   am_sleep_pid=$!
   5452  ;;
   5453 esac
   5454 fi
   5455 
   5456 rm -f conftest.file
   5457 
   5458 test "$program_prefix" != NONE &&
   5459   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   5460 # Use a double $ so make ignores it.
   5461 test "$program_suffix" != NONE &&
   5462   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   5463 # Double any \ or $.
   5464 # By default was 's,x,x', remove it if useless.
   5465 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   5466 program_transform_name=`printf '%s\n' "$program_transform_name" | sed "$ac_script"`
   5467 
   5468 
   5469 # Expand $ac_aux_dir to an absolute path.
   5470 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   5471 
   5472 
   5473   if test x"${MISSING+set}" != xset; then
   5474   MISSING="\${SHELL} '$am_aux_dir/missing'"
   5475 fi
   5476 # Use eval to expand $SHELL
   5477 if eval "$MISSING --is-lightweight"; then
   5478   am_missing_run="$MISSING "
   5479 else
   5480   am_missing_run=
   5481   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   5482 printf '%s\n' "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   5483 fi
   5484 
   5485 if test x"${install_sh+set}" != xset; then
   5486   case $am_aux_dir in
   5487   *\ * | *\	*)
   5488     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   5489   *)
   5490     install_sh="\${SHELL} $am_aux_dir/install-sh"
   5491   esac
   5492 fi
   5493 
   5494 # Installed binaries are usually stripped using 'strip' when the user
   5495 # run "make install-strip".  However 'strip' might not be the right
   5496 # tool to use in cross-compilation environments, therefore Automake
   5497 # will honor the 'STRIP' environment variable to overrule this program.
   5498 if test "$cross_compiling" != no; then
   5499   if test -n "$ac_tool_prefix"; then
   5500   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5501 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5502 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5503 printf %s "checking for $ac_word... " >&6; }
   5504 if test ${ac_cv_prog_STRIP+y}
   5505 then :
   5506   printf %s "(cached) " >&6
   5507 else case e in #(
   5508   e) if test -n "$STRIP"; then
   5509   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5510 else
   5511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5512 for as_dir in $PATH
   5513 do
   5514   IFS=$as_save_IFS
   5515   case $as_dir in #(((
   5516     '') as_dir=./ ;;
   5517     */) ;;
   5518     *) as_dir=$as_dir/ ;;
   5519   esac
   5520     for ac_exec_ext in '' $ac_executable_extensions; do
   5521   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5522     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5523     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5524     break 2
   5525   fi
   5526 done
   5527   done
   5528 IFS=$as_save_IFS
   5529 
   5530 fi ;;
   5531 esac
   5532 fi
   5533 STRIP=$ac_cv_prog_STRIP
   5534 if test -n "$STRIP"; then
   5535   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5536 printf '%s\n' "$STRIP" >&6; }
   5537 else
   5538   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5539 printf '%s\n' "no" >&6; }
   5540 fi
   5541 
   5542 
   5543 fi
   5544 if test -z "$ac_cv_prog_STRIP"; then
   5545   ac_ct_STRIP=$STRIP
   5546   # Extract the first word of "strip", so it can be a program name with args.
   5547 set dummy strip; ac_word=$2
   5548 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5549 printf %s "checking for $ac_word... " >&6; }
   5550 if test ${ac_cv_prog_ac_ct_STRIP+y}
   5551 then :
   5552   printf %s "(cached) " >&6
   5553 else case e in #(
   5554   e) if test -n "$ac_ct_STRIP"; then
   5555   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5556 else
   5557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5558 for as_dir in $PATH
   5559 do
   5560   IFS=$as_save_IFS
   5561   case $as_dir in #(((
   5562     '') as_dir=./ ;;
   5563     */) ;;
   5564     *) as_dir=$as_dir/ ;;
   5565   esac
   5566     for ac_exec_ext in '' $ac_executable_extensions; do
   5567   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5568     ac_cv_prog_ac_ct_STRIP="strip"
   5569     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5570     break 2
   5571   fi
   5572 done
   5573   done
   5574 IFS=$as_save_IFS
   5575 
   5576 fi ;;
   5577 esac
   5578 fi
   5579 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5580 if test -n "$ac_ct_STRIP"; then
   5581   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5582 printf '%s\n' "$ac_ct_STRIP" >&6; }
   5583 else
   5584   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5585 printf '%s\n' "no" >&6; }
   5586 fi
   5587 
   5588   if test "x$ac_ct_STRIP" = x; then
   5589     STRIP=":"
   5590   else
   5591     case $cross_compiling:$ac_tool_warned in
   5592 yes:)
   5593 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5594 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5595 ac_tool_warned=yes ;;
   5596 esac
   5597     STRIP=$ac_ct_STRIP
   5598   fi
   5599 else
   5600   STRIP="$ac_cv_prog_STRIP"
   5601 fi
   5602 
   5603 fi
   5604 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   5605 
   5606 
   5607   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   5608 printf %s "checking for a race-free mkdir -p... " >&6; }
   5609 if test -z "$MKDIR_P"; then
   5610   if test ${ac_cv_path_mkdir+y}
   5611 then :
   5612   printf %s "(cached) " >&6
   5613 else case e in #(
   5614   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5615 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   5616 do
   5617   IFS=$as_save_IFS
   5618   case $as_dir in #(((
   5619     '') as_dir=./ ;;
   5620     */) ;;
   5621     *) as_dir=$as_dir/ ;;
   5622   esac
   5623     for ac_prog in mkdir gmkdir; do
   5624 	 for ac_exec_ext in '' $ac_executable_extensions; do
   5625 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   5626 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   5627 	     'mkdir ('*'coreutils) '* | \
   5628 	     *'BusyBox '* | \
   5629 	     'mkdir (fileutils) '4.1*)
   5630 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   5631 	       break 3;;
   5632 	   esac
   5633 	 done
   5634        done
   5635   done
   5636 IFS=$as_save_IFS
   5637  ;;
   5638 esac
   5639 fi
   5640 
   5641   test -d ./--version && rmdir ./--version
   5642   if test ${ac_cv_path_mkdir+y}; then
   5643     MKDIR_P="$ac_cv_path_mkdir -p"
   5644   else
   5645     # As a last resort, use plain mkdir -p,
   5646     # in the hope it doesn't have the bugs of ancient mkdir.
   5647     MKDIR_P='mkdir -p'
   5648   fi
   5649 fi
   5650 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   5651 printf '%s\n' "$MKDIR_P" >&6; }
   5652 
   5653 for ac_prog in gawk mawk nawk awk 'busybox awk'
   5654 do
   5655   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5656 set dummy $ac_prog; ac_word=$2
   5657 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5658 printf %s "checking for $ac_word... " >&6; }
   5659 if test ${ac_cv_prog_AWK+y}
   5660 then :
   5661   printf %s "(cached) " >&6
   5662 else case e in #(
   5663   e) if test -n "$AWK"; then
   5664   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   5665 else
   5666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5667 for as_dir in $PATH
   5668 do
   5669   IFS=$as_save_IFS
   5670   case $as_dir in #(((
   5671     '') as_dir=./ ;;
   5672     */) ;;
   5673     *) as_dir=$as_dir/ ;;
   5674   esac
   5675     for ac_exec_ext in '' $ac_executable_extensions; do
   5676   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5677     ac_cv_prog_AWK="$ac_prog"
   5678     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5679     break 2
   5680   fi
   5681 done
   5682   done
   5683 IFS=$as_save_IFS
   5684 
   5685 fi ;;
   5686 esac
   5687 fi
   5688 AWK=$ac_cv_prog_AWK
   5689 if test -n "$AWK"; then
   5690   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   5691 printf '%s\n' "$AWK" >&6; }
   5692 else
   5693   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5694 printf '%s\n' "no" >&6; }
   5695 fi
   5696 
   5697 
   5698   test -n "$AWK" && break
   5699 done
   5700 
   5701 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   5702 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   5703 set x ${MAKE-make}
   5704 ac_make=`printf '%s\n' "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   5705 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   5706 then :
   5707   printf %s "(cached) " >&6
   5708 else case e in #(
   5709   e) cat >conftest.make <<\_ACEOF
   5710 SHELL = /bin/sh
   5711 all:
   5712 	@printf '%s\n' '@@@%%%=$(MAKE)=@@@%%%'
   5713 _ACEOF
   5714 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   5715 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   5716   *@@@%%%=?*=@@@%%%*)
   5717     eval ac_cv_prog_make_${ac_make}_set=yes;;
   5718   *)
   5719     eval ac_cv_prog_make_${ac_make}_set=no;;
   5720 esac
   5721 rm -f conftest.make ;;
   5722 esac
   5723 fi
   5724 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   5725   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5726 printf '%s\n' "yes" >&6; }
   5727   SET_MAKE=
   5728 else
   5729   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5730 printf '%s\n' "no" >&6; }
   5731   SET_MAKE="MAKE=${MAKE-make}"
   5732 fi
   5733 
   5734 rm -rf .tst 2>/dev/null
   5735 mkdir .tst 2>/dev/null
   5736 if test -d .tst; then
   5737   am__leading_dot=.
   5738 else
   5739   am__leading_dot=_
   5740 fi
   5741 rmdir .tst 2>/dev/null
   5742 
   5743 AM_DEFAULT_VERBOSITY=1
   5744 # Check whether --enable-silent-rules was given.
   5745 if test ${enable_silent_rules+y}
   5746 then :
   5747   enableval=$enable_silent_rules;
   5748 fi
   5749 
   5750 am_make=${MAKE-make}
   5751 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   5752 printf %s "checking whether $am_make supports nested variables... " >&6; }
   5753 if test ${am_cv_make_support_nested_variables+y}
   5754 then :
   5755   printf %s "(cached) " >&6
   5756 else case e in #(
   5757   e) if printf '%s\n' 'TRUE=$(BAR$(V))
   5758 BAR0=false
   5759 BAR1=true
   5760 V=1
   5761 am__doit:
   5762 	@$(TRUE)
   5763 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   5764   am_cv_make_support_nested_variables=yes
   5765 else
   5766   am_cv_make_support_nested_variables=no
   5767 fi ;;
   5768 esac
   5769 fi
   5770 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   5771 printf '%s\n' "$am_cv_make_support_nested_variables" >&6; }
   5772 AM_BACKSLASH='\'
   5773 
   5774 am__rm_f_notfound=
   5775 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   5776 then :
   5777 
   5778 else case e in #(
   5779   e) am__rm_f_notfound='""' ;;
   5780 esac
   5781 fi
   5782 
   5783 
   5784 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   5785 printf %s "checking xargs -n works... " >&6; }
   5786 if test ${am_cv_xargs_n_works+y}
   5787 then :
   5788   printf %s "(cached) " >&6
   5789 else case e in #(
   5790   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   5791 3"
   5792 then :
   5793   am_cv_xargs_n_works=yes
   5794 else case e in #(
   5795   e) am_cv_xargs_n_works=no ;;
   5796 esac
   5797 fi ;;
   5798 esac
   5799 fi
   5800 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   5801 printf '%s\n' "$am_cv_xargs_n_works" >&6; }
   5802 if test "$am_cv_xargs_n_works" = yes
   5803 then :
   5804   am__xargs_n='xargs -n'
   5805 else case e in #(
   5806   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   5807  ;;
   5808 esac
   5809 fi
   5810 
   5811 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   5812   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   5813   # is not polluted with repeated "-I."
   5814   am__isrc=' -I$(srcdir)'
   5815   # test to see if srcdir already configured
   5816   if test -f $srcdir/config.status; then
   5817     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   5818   fi
   5819 fi
   5820 
   5821 # test whether we have cygpath
   5822 if test -z "$CYGPATH_W"; then
   5823   if (cygpath --version) >/dev/null 2>/dev/null; then
   5824     CYGPATH_W='cygpath -w'
   5825   else
   5826     CYGPATH_W=echo
   5827   fi
   5828 fi
   5829 
   5830 
   5831 # Define the identity of the package.
   5832  PACKAGE='xz'
   5833  VERSION='5.8.3'
   5834 
   5835 
   5836 printf '%s\n' "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   5837 
   5838 
   5839 printf '%s\n' "#define VERSION \"$VERSION\"" >>confdefs.h
   5840 
   5841 # Some tools Automake needs.
   5842 
   5843 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   5844 
   5845 
   5846 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   5847 
   5848 
   5849 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   5850 
   5851 
   5852 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   5853 
   5854 
   5855 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   5856 
   5857 # For better backward compatibility.  To be removed once Automake 1.9.x
   5858 # dies out for good.  For more background, see:
   5859 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   5860 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   5861 mkdir_p='$(MKDIR_P)'
   5862 
   5863 # We need awk for the "check" target (and possibly the TAP driver).  The
   5864 # system "awk" is bad on some platforms.
   5865 # Always define AMTAR for backward compatibility.  Yes, it's still used
   5866 # in the wild :-(  We should find a proper way to deprecate it ...
   5867 AMTAR='$${TAR-tar}'
   5868 
   5869 
   5870 # We'll loop over all known methods to create a tar archive until one works.
   5871 _am_tools='gnutar  pax cpio none'
   5872 
   5873 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 # Variables for tags utilities; see am/tags.am
   5880 if test -z "$CTAGS"; then
   5881   CTAGS=ctags
   5882 fi
   5883 
   5884 if test -z "$ETAGS"; then
   5885   ETAGS=etags
   5886 fi
   5887 
   5888 if test -z "$CSCOPE"; then
   5889   CSCOPE=cscope
   5890 fi
   5891 
   5892 
   5893 
   5894 
   5895 
   5896 
   5897 
   5898 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5899 printf %s "checking whether ln -s works... " >&6; }
   5900 LN_S=$as_ln_s
   5901 if test "$LN_S" = "ln -s"; then
   5902   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5903 printf '%s\n' "yes" >&6; }
   5904 else
   5905   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5906 printf '%s\n' "no, using $LN_S" >&6; }
   5907 fi
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 
   5916 
   5917 
   5918 
   5919 
   5920 
   5921 
   5922 DEPDIR="${am__leading_dot}deps"
   5923 
   5924 ac_config_commands="$ac_config_commands depfiles"
   5925 
   5926 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   5927 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   5928 cat > confinc.mk << 'END'
   5929 am__doit:
   5930 	@echo this is the am__doit target >confinc.out
   5931 .PHONY: am__doit
   5932 END
   5933 am__include="#"
   5934 am__quote=
   5935 # BSD make does it like this.
   5936 echo '.include "confinc.mk" # ignored' > confmf.BSD
   5937 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   5938 echo 'include confinc.mk # ignored' > confmf.GNU
   5939 _am_result=no
   5940 for s in GNU BSD; do
   5941   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   5942    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   5943    ac_status=$?
   5944    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5945    (exit $ac_status); }
   5946   case $?:`cat confinc.out 2>/dev/null` in #(
   5947   '0:this is the am__doit target') :
   5948     case $s in #(
   5949   BSD) :
   5950     am__include='.include' am__quote='"' ;; #(
   5951   *) :
   5952     am__include='include' am__quote='' ;;
   5953 esac ;; #(
   5954   *) :
   5955      ;;
   5956 esac
   5957   if test "$am__include" != "#"; then
   5958     _am_result="yes ($s style)"
   5959     break
   5960   fi
   5961 done
   5962 rm -f confinc.* confmf.*
   5963 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   5964 printf '%s\n' "${_am_result}" >&6; }
   5965 
   5966 # Check whether --enable-dependency-tracking was given.
   5967 if test ${enable_dependency_tracking+y}
   5968 then :
   5969   enableval=$enable_dependency_tracking;
   5970 fi
   5971 
   5972 if test "x$enable_dependency_tracking" != xno; then
   5973   am_depcomp="$ac_aux_dir/depcomp"
   5974   AMDEPBACKSLASH='\'
   5975   am__nodep='_no'
   5976 fi
   5977  if test "x$enable_dependency_tracking" != xno; then
   5978   AMDEP_TRUE=
   5979   AMDEP_FALSE='#'
   5980 else
   5981   AMDEP_TRUE='#'
   5982   AMDEP_FALSE=
   5983 fi
   5984 
   5985 
   5986 ac_ext=c
   5987 ac_cpp='$CPP $CPPFLAGS'
   5988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5991 if test -n "$ac_tool_prefix"; then
   5992   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   5993 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   5994 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5995 printf %s "checking for $ac_word... " >&6; }
   5996 if test ${ac_cv_prog_CC+y}
   5997 then :
   5998   printf %s "(cached) " >&6
   5999 else case e in #(
   6000   e) if test -n "$CC"; then
   6001   ac_cv_prog_CC="$CC" # Let the user override the test.
   6002 else
   6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6004 for as_dir in $PATH
   6005 do
   6006   IFS=$as_save_IFS
   6007   case $as_dir in #(((
   6008     '') as_dir=./ ;;
   6009     */) ;;
   6010     *) as_dir=$as_dir/ ;;
   6011   esac
   6012     for ac_exec_ext in '' $ac_executable_extensions; do
   6013   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6014     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   6015     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6016     break 2
   6017   fi
   6018 done
   6019   done
   6020 IFS=$as_save_IFS
   6021 
   6022 fi ;;
   6023 esac
   6024 fi
   6025 CC=$ac_cv_prog_CC
   6026 if test -n "$CC"; then
   6027   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   6028 printf '%s\n' "$CC" >&6; }
   6029 else
   6030   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6031 printf '%s\n' "no" >&6; }
   6032 fi
   6033 
   6034 
   6035 fi
   6036 if test -z "$ac_cv_prog_CC"; then
   6037   ac_ct_CC=$CC
   6038   # Extract the first word of "gcc", so it can be a program name with args.
   6039 set dummy gcc; ac_word=$2
   6040 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6041 printf %s "checking for $ac_word... " >&6; }
   6042 if test ${ac_cv_prog_ac_ct_CC+y}
   6043 then :
   6044   printf %s "(cached) " >&6
   6045 else case e in #(
   6046   e) if test -n "$ac_ct_CC"; then
   6047   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   6048 else
   6049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6050 for as_dir in $PATH
   6051 do
   6052   IFS=$as_save_IFS
   6053   case $as_dir in #(((
   6054     '') as_dir=./ ;;
   6055     */) ;;
   6056     *) as_dir=$as_dir/ ;;
   6057   esac
   6058     for ac_exec_ext in '' $ac_executable_extensions; do
   6059   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6060     ac_cv_prog_ac_ct_CC="gcc"
   6061     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6062     break 2
   6063   fi
   6064 done
   6065   done
   6066 IFS=$as_save_IFS
   6067 
   6068 fi ;;
   6069 esac
   6070 fi
   6071 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   6072 if test -n "$ac_ct_CC"; then
   6073   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   6074 printf '%s\n' "$ac_ct_CC" >&6; }
   6075 else
   6076   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6077 printf '%s\n' "no" >&6; }
   6078 fi
   6079 
   6080   if test "x$ac_ct_CC" = x; then
   6081     CC=""
   6082   else
   6083     case $cross_compiling:$ac_tool_warned in
   6084 yes:)
   6085 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6086 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6087 ac_tool_warned=yes ;;
   6088 esac
   6089     CC=$ac_ct_CC
   6090   fi
   6091 else
   6092   CC="$ac_cv_prog_CC"
   6093 fi
   6094 
   6095 if test -z "$CC"; then
   6096           if test -n "$ac_tool_prefix"; then
   6097     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   6098 set dummy ${ac_tool_prefix}cc; ac_word=$2
   6099 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6100 printf %s "checking for $ac_word... " >&6; }
   6101 if test ${ac_cv_prog_CC+y}
   6102 then :
   6103   printf %s "(cached) " >&6
   6104 else case e in #(
   6105   e) if test -n "$CC"; then
   6106   ac_cv_prog_CC="$CC" # Let the user override the test.
   6107 else
   6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6109 for as_dir in $PATH
   6110 do
   6111   IFS=$as_save_IFS
   6112   case $as_dir in #(((
   6113     '') as_dir=./ ;;
   6114     */) ;;
   6115     *) as_dir=$as_dir/ ;;
   6116   esac
   6117     for ac_exec_ext in '' $ac_executable_extensions; do
   6118   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6119     ac_cv_prog_CC="${ac_tool_prefix}cc"
   6120     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6121     break 2
   6122   fi
   6123 done
   6124   done
   6125 IFS=$as_save_IFS
   6126 
   6127 fi ;;
   6128 esac
   6129 fi
   6130 CC=$ac_cv_prog_CC
   6131 if test -n "$CC"; then
   6132   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   6133 printf '%s\n' "$CC" >&6; }
   6134 else
   6135   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6136 printf '%s\n' "no" >&6; }
   6137 fi
   6138 
   6139 
   6140   fi
   6141 fi
   6142 if test -z "$CC"; then
   6143   # Extract the first word of "cc", so it can be a program name with args.
   6144 set dummy cc; ac_word=$2
   6145 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6146 printf %s "checking for $ac_word... " >&6; }
   6147 if test ${ac_cv_prog_CC+y}
   6148 then :
   6149   printf %s "(cached) " >&6
   6150 else case e in #(
   6151   e) if test -n "$CC"; then
   6152   ac_cv_prog_CC="$CC" # Let the user override the test.
   6153 else
   6154   ac_prog_rejected=no
   6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6156 for as_dir in $PATH
   6157 do
   6158   IFS=$as_save_IFS
   6159   case $as_dir in #(((
   6160     '') as_dir=./ ;;
   6161     */) ;;
   6162     *) as_dir=$as_dir/ ;;
   6163   esac
   6164     for ac_exec_ext in '' $ac_executable_extensions; do
   6165   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6166     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   6167        ac_prog_rejected=yes
   6168        continue
   6169      fi
   6170     ac_cv_prog_CC="cc"
   6171     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6172     break 2
   6173   fi
   6174 done
   6175   done
   6176 IFS=$as_save_IFS
   6177 
   6178 if test $ac_prog_rejected = yes; then
   6179   # We found a bogon in the path, so make sure we never use it.
   6180   set dummy $ac_cv_prog_CC
   6181   shift
   6182   if test $# != 0; then
   6183     # We chose a different compiler from the bogus one.
   6184     # However, it has the same basename, so the bogon will be chosen
   6185     # first if we set CC to just the basename; use the full file name.
   6186     shift
   6187     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   6188   fi
   6189 fi
   6190 fi ;;
   6191 esac
   6192 fi
   6193 CC=$ac_cv_prog_CC
   6194 if test -n "$CC"; then
   6195   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   6196 printf '%s\n' "$CC" >&6; }
   6197 else
   6198   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6199 printf '%s\n' "no" >&6; }
   6200 fi
   6201 
   6202 
   6203 fi
   6204 if test -z "$CC"; then
   6205   if test -n "$ac_tool_prefix"; then
   6206   for ac_prog in cl.exe
   6207   do
   6208     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6209 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6210 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6211 printf %s "checking for $ac_word... " >&6; }
   6212 if test ${ac_cv_prog_CC+y}
   6213 then :
   6214   printf %s "(cached) " >&6
   6215 else case e in #(
   6216   e) if test -n "$CC"; then
   6217   ac_cv_prog_CC="$CC" # Let the user override the test.
   6218 else
   6219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6220 for as_dir in $PATH
   6221 do
   6222   IFS=$as_save_IFS
   6223   case $as_dir in #(((
   6224     '') as_dir=./ ;;
   6225     */) ;;
   6226     *) as_dir=$as_dir/ ;;
   6227   esac
   6228     for ac_exec_ext in '' $ac_executable_extensions; do
   6229   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6230     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   6231     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6232     break 2
   6233   fi
   6234 done
   6235   done
   6236 IFS=$as_save_IFS
   6237 
   6238 fi ;;
   6239 esac
   6240 fi
   6241 CC=$ac_cv_prog_CC
   6242 if test -n "$CC"; then
   6243   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   6244 printf '%s\n' "$CC" >&6; }
   6245 else
   6246   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6247 printf '%s\n' "no" >&6; }
   6248 fi
   6249 
   6250 
   6251     test -n "$CC" && break
   6252   done
   6253 fi
   6254 if test -z "$CC"; then
   6255   ac_ct_CC=$CC
   6256   for ac_prog in cl.exe
   6257 do
   6258   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6259 set dummy $ac_prog; ac_word=$2
   6260 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6261 printf %s "checking for $ac_word... " >&6; }
   6262 if test ${ac_cv_prog_ac_ct_CC+y}
   6263 then :
   6264   printf %s "(cached) " >&6
   6265 else case e in #(
   6266   e) if test -n "$ac_ct_CC"; then
   6267   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   6268 else
   6269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6270 for as_dir in $PATH
   6271 do
   6272   IFS=$as_save_IFS
   6273   case $as_dir in #(((
   6274     '') as_dir=./ ;;
   6275     */) ;;
   6276     *) as_dir=$as_dir/ ;;
   6277   esac
   6278     for ac_exec_ext in '' $ac_executable_extensions; do
   6279   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6280     ac_cv_prog_ac_ct_CC="$ac_prog"
   6281     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6282     break 2
   6283   fi
   6284 done
   6285   done
   6286 IFS=$as_save_IFS
   6287 
   6288 fi ;;
   6289 esac
   6290 fi
   6291 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   6292 if test -n "$ac_ct_CC"; then
   6293   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   6294 printf '%s\n' "$ac_ct_CC" >&6; }
   6295 else
   6296   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6297 printf '%s\n' "no" >&6; }
   6298 fi
   6299 
   6300 
   6301   test -n "$ac_ct_CC" && break
   6302 done
   6303 
   6304   if test "x$ac_ct_CC" = x; then
   6305     CC=""
   6306   else
   6307     case $cross_compiling:$ac_tool_warned in
   6308 yes:)
   6309 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6310 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6311 ac_tool_warned=yes ;;
   6312 esac
   6313     CC=$ac_ct_CC
   6314   fi
   6315 fi
   6316 
   6317 fi
   6318 if test -z "$CC"; then
   6319   if test -n "$ac_tool_prefix"; then
   6320   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   6321 set dummy ${ac_tool_prefix}clang; ac_word=$2
   6322 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6323 printf %s "checking for $ac_word... " >&6; }
   6324 if test ${ac_cv_prog_CC+y}
   6325 then :
   6326   printf %s "(cached) " >&6
   6327 else case e in #(
   6328   e) if test -n "$CC"; then
   6329   ac_cv_prog_CC="$CC" # Let the user override the test.
   6330 else
   6331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6332 for as_dir in $PATH
   6333 do
   6334   IFS=$as_save_IFS
   6335   case $as_dir in #(((
   6336     '') as_dir=./ ;;
   6337     */) ;;
   6338     *) as_dir=$as_dir/ ;;
   6339   esac
   6340     for ac_exec_ext in '' $ac_executable_extensions; do
   6341   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6342     ac_cv_prog_CC="${ac_tool_prefix}clang"
   6343     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6344     break 2
   6345   fi
   6346 done
   6347   done
   6348 IFS=$as_save_IFS
   6349 
   6350 fi ;;
   6351 esac
   6352 fi
   6353 CC=$ac_cv_prog_CC
   6354 if test -n "$CC"; then
   6355   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   6356 printf '%s\n' "$CC" >&6; }
   6357 else
   6358   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6359 printf '%s\n' "no" >&6; }
   6360 fi
   6361 
   6362 
   6363 fi
   6364 if test -z "$ac_cv_prog_CC"; then
   6365   ac_ct_CC=$CC
   6366   # Extract the first word of "clang", so it can be a program name with args.
   6367 set dummy clang; ac_word=$2
   6368 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6369 printf %s "checking for $ac_word... " >&6; }
   6370 if test ${ac_cv_prog_ac_ct_CC+y}
   6371 then :
   6372   printf %s "(cached) " >&6
   6373 else case e in #(
   6374   e) if test -n "$ac_ct_CC"; then
   6375   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   6376 else
   6377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6378 for as_dir in $PATH
   6379 do
   6380   IFS=$as_save_IFS
   6381   case $as_dir in #(((
   6382     '') as_dir=./ ;;
   6383     */) ;;
   6384     *) as_dir=$as_dir/ ;;
   6385   esac
   6386     for ac_exec_ext in '' $ac_executable_extensions; do
   6387   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6388     ac_cv_prog_ac_ct_CC="clang"
   6389     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6390     break 2
   6391   fi
   6392 done
   6393   done
   6394 IFS=$as_save_IFS
   6395 
   6396 fi ;;
   6397 esac
   6398 fi
   6399 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   6400 if test -n "$ac_ct_CC"; then
   6401   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   6402 printf '%s\n' "$ac_ct_CC" >&6; }
   6403 else
   6404   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6405 printf '%s\n' "no" >&6; }
   6406 fi
   6407 
   6408   if test "x$ac_ct_CC" = x; then
   6409     CC=""
   6410   else
   6411     case $cross_compiling:$ac_tool_warned in
   6412 yes:)
   6413 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6414 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6415 ac_tool_warned=yes ;;
   6416 esac
   6417     CC=$ac_ct_CC
   6418   fi
   6419 else
   6420   CC="$ac_cv_prog_CC"
   6421 fi
   6422 
   6423 fi
   6424 
   6425 
   6426 test -z "$CC" && { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   6427 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   6428 as_fn_error $? "no acceptable C compiler found in \$PATH
   6429 See 'config.log' for more details" "$LINENO" 5; }
   6430 
   6431 # Provide some information about the compiler.
   6432 printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   6433 set X $ac_compile
   6434 ac_compiler=$2
   6435 for ac_option in --version -v -V -qversion -version; do
   6436   { { ac_try="$ac_compiler $ac_option >&5"
   6437 case "(($ac_try" in
   6438   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6439   *) ac_try_echo=$ac_try;;
   6440 esac
   6441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   6442 printf '%s\n' "$ac_try_echo"; } >&5
   6443   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   6444   ac_status=$?
   6445   if test -s conftest.err; then
   6446     sed '10a\
   6447 ... rest of stderr output deleted ...
   6448          10q' conftest.err >conftest.er1
   6449     cat conftest.er1 >&5
   6450   fi
   6451   rm -f conftest.er1 conftest.err
   6452   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6453   test $ac_status = 0; }
   6454 done
   6455 
   6456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6457 /* end confdefs.h.  */
   6458 
   6459 int
   6460 main (void)
   6461 {
   6462 
   6463   ;
   6464   return 0;
   6465 }
   6466 _ACEOF
   6467 ac_clean_files_save=$ac_clean_files
   6468 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   6469 # Try to create an executable without -o first, disregard a.out.
   6470 # It will help us diagnose broken compilers, and finding out an intuition
   6471 # of exeext.
   6472 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   6473 printf %s "checking whether the C compiler works... " >&6; }
   6474 ac_link_default=`printf '%s\n' "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   6475 
   6476 # The possible output files:
   6477 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   6478 
   6479 ac_rmfiles=
   6480 for ac_file in $ac_files
   6481 do
   6482   case $ac_file in
   6483     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   6484     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   6485   esac
   6486 done
   6487 rm -f $ac_rmfiles
   6488 
   6489 if { { ac_try="$ac_link_default"
   6490 case "(($ac_try" in
   6491   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6492   *) ac_try_echo=$ac_try;;
   6493 esac
   6494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   6495 printf '%s\n' "$ac_try_echo"; } >&5
   6496   (eval "$ac_link_default") 2>&5
   6497   ac_status=$?
   6498   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6499   test $ac_status = 0; }
   6500 then :
   6501   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   6502 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   6503 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   6504 # so that the user can short-circuit this test for compilers unknown to
   6505 # Autoconf.
   6506 for ac_file in $ac_files ''
   6507 do
   6508   test -f "$ac_file" || continue
   6509   case $ac_file in
   6510     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   6511 	;;
   6512     [ab].out )
   6513 	# We found the default executable, but exeext='' is most
   6514 	# certainly right.
   6515 	break;;
   6516     *.* )
   6517 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   6518 	then :; else
   6519 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   6520 	fi
   6521 	# We set ac_cv_exeext here because the later test for it is not
   6522 	# safe: cross compilers may not add the suffix if given an '-o'
   6523 	# argument, so we may need to know it at that point already.
   6524 	# Even if this section looks crufty: it has the advantage of
   6525 	# actually working.
   6526 	break;;
   6527     * )
   6528 	break;;
   6529   esac
   6530 done
   6531 test "$ac_cv_exeext" = no && ac_cv_exeext=
   6532 
   6533 else case e in #(
   6534   e) ac_file='' ;;
   6535 esac
   6536 fi
   6537 if test -z "$ac_file"
   6538 then :
   6539   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6540 printf '%s\n' "no" >&6; }
   6541 printf '%s\n' "$as_me: failed program was:" >&5
   6542 sed 's/^/| /' conftest.$ac_ext >&5
   6543 
   6544 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   6545 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   6546 as_fn_error 77 "C compiler cannot create executables
   6547 See 'config.log' for more details" "$LINENO" 5; }
   6548 else case e in #(
   6549   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6550 printf '%s\n' "yes" >&6; } ;;
   6551 esac
   6552 fi
   6553 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   6554 printf %s "checking for C compiler default output file name... " >&6; }
   6555 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   6556 printf '%s\n' "$ac_file" >&6; }
   6557 ac_exeext=$ac_cv_exeext
   6558 
   6559 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   6560 ac_clean_files=$ac_clean_files_save
   6561 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   6562 printf %s "checking for suffix of executables... " >&6; }
   6563 if { { ac_try="$ac_link"
   6564 case "(($ac_try" in
   6565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6566   *) ac_try_echo=$ac_try;;
   6567 esac
   6568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   6569 printf '%s\n' "$ac_try_echo"; } >&5
   6570   (eval "$ac_link") 2>&5
   6571   ac_status=$?
   6572   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6573   test $ac_status = 0; }
   6574 then :
   6575   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   6576 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   6577 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   6578 # 'rm'.
   6579 for ac_file in conftest.exe conftest conftest.*; do
   6580   test -f "$ac_file" || continue
   6581   case $ac_file in
   6582     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   6583     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   6584 	  break;;
   6585     * ) break;;
   6586   esac
   6587 done
   6588 else case e in #(
   6589   e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   6590 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   6591 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   6592 See 'config.log' for more details" "$LINENO" 5; } ;;
   6593 esac
   6594 fi
   6595 rm -f conftest conftest$ac_cv_exeext
   6596 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   6597 printf '%s\n' "$ac_cv_exeext" >&6; }
   6598 
   6599 rm -f conftest.$ac_ext
   6600 EXEEXT=$ac_cv_exeext
   6601 ac_exeext=$EXEEXT
   6602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6603 /* end confdefs.h.  */
   6604 #include <stdio.h>
   6605 int
   6606 main (void)
   6607 {
   6608 FILE *f = fopen ("conftest.out", "w");
   6609  if (!f)
   6610   return 1;
   6611  return ferror (f) || fclose (f) != 0;
   6612 
   6613   ;
   6614   return 0;
   6615 }
   6616 _ACEOF
   6617 ac_clean_files="$ac_clean_files conftest.out"
   6618 # Check that the compiler produces executables we can run.  If not, either
   6619 # the compiler is broken, or we cross compile.
   6620 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   6621 printf %s "checking whether we are cross compiling... " >&6; }
   6622 if test "$cross_compiling" != yes; then
   6623   { { ac_try="$ac_link"
   6624 case "(($ac_try" in
   6625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6626   *) ac_try_echo=$ac_try;;
   6627 esac
   6628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   6629 printf '%s\n' "$ac_try_echo"; } >&5
   6630   (eval "$ac_link") 2>&5
   6631   ac_status=$?
   6632   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6633   test $ac_status = 0; }
   6634   if { ac_try='./conftest$ac_cv_exeext'
   6635   { { case "(($ac_try" in
   6636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6637   *) ac_try_echo=$ac_try;;
   6638 esac
   6639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   6640 printf '%s\n' "$ac_try_echo"; } >&5
   6641   (eval "$ac_try") 2>&5
   6642   ac_status=$?
   6643   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6644   test $ac_status = 0; }; }; then
   6645     cross_compiling=no
   6646   else
   6647     if test "$cross_compiling" = maybe; then
   6648 	cross_compiling=yes
   6649     else
   6650 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   6651 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   6652 as_fn_error 77 "cannot run C compiled programs.
   6653 If you meant to cross compile, use '--host'.
   6654 See 'config.log' for more details" "$LINENO" 5; }
   6655     fi
   6656   fi
   6657 fi
   6658 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   6659 printf '%s\n' "$cross_compiling" >&6; }
   6660 
   6661 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   6662   conftest.o conftest.obj conftest.out
   6663 ac_clean_files=$ac_clean_files_save
   6664 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   6665 printf %s "checking for suffix of object files... " >&6; }
   6666 if test ${ac_cv_objext+y}
   6667 then :
   6668   printf %s "(cached) " >&6
   6669 else case e in #(
   6670   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6671 /* end confdefs.h.  */
   6672 
   6673 int
   6674 main (void)
   6675 {
   6676 
   6677   ;
   6678   return 0;
   6679 }
   6680 _ACEOF
   6681 rm -f conftest.o conftest.obj
   6682 if { { ac_try="$ac_compile"
   6683 case "(($ac_try" in
   6684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6685   *) ac_try_echo=$ac_try;;
   6686 esac
   6687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   6688 printf '%s\n' "$ac_try_echo"; } >&5
   6689   (eval "$ac_compile") 2>&5
   6690   ac_status=$?
   6691   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6692   test $ac_status = 0; }
   6693 then :
   6694   for ac_file in conftest.o conftest.obj conftest.*; do
   6695   test -f "$ac_file" || continue;
   6696   case $ac_file in
   6697     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   6698     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   6699        break;;
   6700   esac
   6701 done
   6702 else case e in #(
   6703   e) printf '%s\n' "$as_me: failed program was:" >&5
   6704 sed 's/^/| /' conftest.$ac_ext >&5
   6705 
   6706 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   6707 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   6708 as_fn_error $? "cannot compute suffix of object files: cannot compile
   6709 See 'config.log' for more details" "$LINENO" 5; } ;;
   6710 esac
   6711 fi
   6712 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   6713 esac
   6714 fi
   6715 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   6716 printf '%s\n' "$ac_cv_objext" >&6; }
   6717 OBJEXT=$ac_cv_objext
   6718 ac_objext=$OBJEXT
   6719 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   6720 printf %s "checking whether the compiler supports GNU C... " >&6; }
   6721 if test ${ac_cv_c_compiler_gnu+y}
   6722 then :
   6723   printf %s "(cached) " >&6
   6724 else case e in #(
   6725   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6726 /* end confdefs.h.  */
   6727 
   6728 int
   6729 main (void)
   6730 {
   6731 #ifndef __GNUC__
   6732        choke me
   6733 #endif
   6734 
   6735   ;
   6736   return 0;
   6737 }
   6738 _ACEOF
   6739 if ac_fn_c_try_compile "$LINENO"
   6740 then :
   6741   ac_compiler_gnu=yes
   6742 else case e in #(
   6743   e) ac_compiler_gnu=no ;;
   6744 esac
   6745 fi
   6746 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6747 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   6748  ;;
   6749 esac
   6750 fi
   6751 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   6752 printf '%s\n' "$ac_cv_c_compiler_gnu" >&6; }
   6753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6754 
   6755 if test $ac_compiler_gnu = yes; then
   6756   GCC=yes
   6757 else
   6758   GCC=
   6759 fi
   6760 ac_test_CFLAGS=${CFLAGS+y}
   6761 ac_save_CFLAGS=$CFLAGS
   6762 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   6763 printf %s "checking whether $CC accepts -g... " >&6; }
   6764 if test ${ac_cv_prog_cc_g+y}
   6765 then :
   6766   printf %s "(cached) " >&6
   6767 else case e in #(
   6768   e) ac_save_c_werror_flag=$ac_c_werror_flag
   6769    ac_c_werror_flag=yes
   6770    ac_cv_prog_cc_g=no
   6771    CFLAGS="-g"
   6772    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6773 /* end confdefs.h.  */
   6774 
   6775 int
   6776 main (void)
   6777 {
   6778 
   6779   ;
   6780   return 0;
   6781 }
   6782 _ACEOF
   6783 if ac_fn_c_try_compile "$LINENO"
   6784 then :
   6785   ac_cv_prog_cc_g=yes
   6786 else case e in #(
   6787   e) CFLAGS=""
   6788       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6789 /* end confdefs.h.  */
   6790 
   6791 int
   6792 main (void)
   6793 {
   6794 
   6795   ;
   6796   return 0;
   6797 }
   6798 _ACEOF
   6799 if ac_fn_c_try_compile "$LINENO"
   6800 then :
   6801 
   6802 else case e in #(
   6803   e) ac_c_werror_flag=$ac_save_c_werror_flag
   6804 	 CFLAGS="-g"
   6805 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6806 /* end confdefs.h.  */
   6807 
   6808 int
   6809 main (void)
   6810 {
   6811 
   6812   ;
   6813   return 0;
   6814 }
   6815 _ACEOF
   6816 if ac_fn_c_try_compile "$LINENO"
   6817 then :
   6818   ac_cv_prog_cc_g=yes
   6819 fi
   6820 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6821 esac
   6822 fi
   6823 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6824 esac
   6825 fi
   6826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6827    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   6828 esac
   6829 fi
   6830 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   6831 printf '%s\n' "$ac_cv_prog_cc_g" >&6; }
   6832 if test $ac_test_CFLAGS; then
   6833   CFLAGS=$ac_save_CFLAGS
   6834 elif test $ac_cv_prog_cc_g = yes; then
   6835   if test "$GCC" = yes; then
   6836     CFLAGS="-g -O2"
   6837   else
   6838     CFLAGS="-g"
   6839   fi
   6840 else
   6841   if test "$GCC" = yes; then
   6842     CFLAGS="-O2"
   6843   else
   6844     CFLAGS=
   6845   fi
   6846 fi
   6847 ac_prog_cc_stdc=no
   6848 if test x$ac_prog_cc_stdc = xno
   6849 then :
   6850   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C23 features" >&5
   6851 printf %s "checking for $CC option to enable C23 features... " >&6; }
   6852 if test ${ac_cv_prog_cc_c23+y}
   6853 then :
   6854   printf %s "(cached) " >&6
   6855 else case e in #(
   6856   e) ac_cv_prog_cc_c23=no
   6857 ac_save_CC=$CC
   6858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6859 /* end confdefs.h.  */
   6860 $ac_c_conftest_c23_program
   6861 _ACEOF
   6862 for ac_arg in '' -std=gnu23
   6863 do
   6864   CC="$ac_save_CC $ac_arg"
   6865   if ac_fn_c_try_compile "$LINENO"
   6866 then :
   6867   ac_cv_prog_cc_c23=$ac_arg
   6868 fi
   6869 rm -f core conftest.err conftest.$ac_objext conftest.beam
   6870   test "x$ac_cv_prog_cc_c23" != "xno" && break
   6871 done
   6872 rm -f conftest.$ac_ext
   6873 CC=$ac_save_CC ;;
   6874 esac
   6875 fi
   6876 
   6877 if test "x$ac_cv_prog_cc_c23" = xno
   6878 then :
   6879   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   6880 printf '%s\n' "unsupported" >&6; }
   6881 else case e in #(
   6882   e) if test "x$ac_cv_prog_cc_c23" = x
   6883 then :
   6884   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   6885 printf '%s\n' "none needed" >&6; }
   6886 else case e in #(
   6887   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c23" >&5
   6888 printf '%s\n' "$ac_cv_prog_cc_c23" >&6; }
   6889      CC="$CC $ac_cv_prog_cc_c23" ;;
   6890 esac
   6891 fi
   6892   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c23
   6893   ac_prog_cc_stdc=c23 ;;
   6894 esac
   6895 fi
   6896 fi
   6897 if test x$ac_prog_cc_stdc = xno
   6898 then :
   6899   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   6900 printf %s "checking for $CC option to enable C11 features... " >&6; }
   6901 if test ${ac_cv_prog_cc_c11+y}
   6902 then :
   6903   printf %s "(cached) " >&6
   6904 else case e in #(
   6905   e) ac_cv_prog_cc_c11=no
   6906 ac_save_CC=$CC
   6907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6908 /* end confdefs.h.  */
   6909 $ac_c_conftest_c11_program
   6910 _ACEOF
   6911 for ac_arg in '' -std=gnu11 -std:c11
   6912 do
   6913   CC="$ac_save_CC $ac_arg"
   6914   if ac_fn_c_try_compile "$LINENO"
   6915 then :
   6916   ac_cv_prog_cc_c11=$ac_arg
   6917 fi
   6918 rm -f core conftest.err conftest.$ac_objext conftest.beam
   6919   test "x$ac_cv_prog_cc_c11" != "xno" && break
   6920 done
   6921 rm -f conftest.$ac_ext
   6922 CC=$ac_save_CC ;;
   6923 esac
   6924 fi
   6925 
   6926 if test "x$ac_cv_prog_cc_c11" = xno
   6927 then :
   6928   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   6929 printf '%s\n' "unsupported" >&6; }
   6930 else case e in #(
   6931   e) if test "x$ac_cv_prog_cc_c11" = x
   6932 then :
   6933   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   6934 printf '%s\n' "none needed" >&6; }
   6935 else case e in #(
   6936   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   6937 printf '%s\n' "$ac_cv_prog_cc_c11" >&6; }
   6938      CC="$CC $ac_cv_prog_cc_c11" ;;
   6939 esac
   6940 fi
   6941   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   6942   ac_prog_cc_stdc=c11 ;;
   6943 esac
   6944 fi
   6945 fi
   6946 if test x$ac_prog_cc_stdc = xno
   6947 then :
   6948   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   6949 printf %s "checking for $CC option to enable C99 features... " >&6; }
   6950 if test ${ac_cv_prog_cc_c99+y}
   6951 then :
   6952   printf %s "(cached) " >&6
   6953 else case e in #(
   6954   e) ac_cv_prog_cc_c99=no
   6955 ac_save_CC=$CC
   6956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6957 /* end confdefs.h.  */
   6958 $ac_c_conftest_c99_program
   6959 _ACEOF
   6960 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   6961 do
   6962   CC="$ac_save_CC $ac_arg"
   6963   if ac_fn_c_try_compile "$LINENO"
   6964 then :
   6965   ac_cv_prog_cc_c99=$ac_arg
   6966 fi
   6967 rm -f core conftest.err conftest.$ac_objext conftest.beam
   6968   test "x$ac_cv_prog_cc_c99" != "xno" && break
   6969 done
   6970 rm -f conftest.$ac_ext
   6971 CC=$ac_save_CC ;;
   6972 esac
   6973 fi
   6974 
   6975 if test "x$ac_cv_prog_cc_c99" = xno
   6976 then :
   6977   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   6978 printf '%s\n' "unsupported" >&6; }
   6979 else case e in #(
   6980   e) if test "x$ac_cv_prog_cc_c99" = x
   6981 then :
   6982   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   6983 printf '%s\n' "none needed" >&6; }
   6984 else case e in #(
   6985   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   6986 printf '%s\n' "$ac_cv_prog_cc_c99" >&6; }
   6987      CC="$CC $ac_cv_prog_cc_c99" ;;
   6988 esac
   6989 fi
   6990   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   6991   ac_prog_cc_stdc=c99 ;;
   6992 esac
   6993 fi
   6994 fi
   6995 if test x$ac_prog_cc_stdc = xno
   6996 then :
   6997   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   6998 printf %s "checking for $CC option to enable C89 features... " >&6; }
   6999 if test ${ac_cv_prog_cc_c89+y}
   7000 then :
   7001   printf %s "(cached) " >&6
   7002 else case e in #(
   7003   e) ac_cv_prog_cc_c89=no
   7004 ac_save_CC=$CC
   7005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7006 /* end confdefs.h.  */
   7007 $ac_c_conftest_c89_program
   7008 _ACEOF
   7009 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   7010 do
   7011   CC="$ac_save_CC $ac_arg"
   7012   if ac_fn_c_try_compile "$LINENO"
   7013 then :
   7014   ac_cv_prog_cc_c89=$ac_arg
   7015 fi
   7016 rm -f core conftest.err conftest.$ac_objext conftest.beam
   7017   test "x$ac_cv_prog_cc_c89" != "xno" && break
   7018 done
   7019 rm -f conftest.$ac_ext
   7020 CC=$ac_save_CC ;;
   7021 esac
   7022 fi
   7023 
   7024 if test "x$ac_cv_prog_cc_c89" = xno
   7025 then :
   7026   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   7027 printf '%s\n' "unsupported" >&6; }
   7028 else case e in #(
   7029   e) if test "x$ac_cv_prog_cc_c89" = x
   7030 then :
   7031   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   7032 printf '%s\n' "none needed" >&6; }
   7033 else case e in #(
   7034   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   7035 printf '%s\n' "$ac_cv_prog_cc_c89" >&6; }
   7036      CC="$CC $ac_cv_prog_cc_c89" ;;
   7037 esac
   7038 fi
   7039   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   7040   ac_prog_cc_stdc=c89 ;;
   7041 esac
   7042 fi
   7043 fi
   7044 
   7045 ac_ext=c
   7046 ac_cpp='$CPP $CPPFLAGS'
   7047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7050 
   7051 
   7052   ac_ext=c
   7053 ac_cpp='$CPP $CPPFLAGS'
   7054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7057 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   7058 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   7059 if test ${am_cv_prog_cc_c_o+y}
   7060 then :
   7061   printf %s "(cached) " >&6
   7062 else case e in #(
   7063   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7064 /* end confdefs.h.  */
   7065 
   7066 int
   7067 main (void)
   7068 {
   7069 
   7070   ;
   7071   return 0;
   7072 }
   7073 _ACEOF
   7074   # Make sure it works both with $CC and with simple cc.
   7075   # Following AC_PROG_CC_C_O, we do the test twice because some
   7076   # compilers refuse to overwrite an existing .o file with -o,
   7077   # though they will create one.
   7078   am_cv_prog_cc_c_o=yes
   7079   for am_i in 1 2; do
   7080     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   7081    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   7082    ac_status=$?
   7083    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7084    (exit $ac_status); } \
   7085          && test -f conftest2.$ac_objext; then
   7086       : OK
   7087     else
   7088       am_cv_prog_cc_c_o=no
   7089       break
   7090     fi
   7091   done
   7092   # aligned with autoconf, so not including core; see bug#72225.
   7093   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   7094     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   7095     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   7096   unset am_i ;;
   7097 esac
   7098 fi
   7099 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   7100 printf '%s\n' "$am_cv_prog_cc_c_o" >&6; }
   7101 if test "$am_cv_prog_cc_c_o" != yes; then
   7102    # Losing compiler, so override with the script.
   7103    # FIXME: It is wrong to rewrite CC.
   7104    # But if we don't then we get into trouble of one sort or another.
   7105    # A longer-term fix would be to have automake use am__CC in this case,
   7106    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   7107    CC="$am_aux_dir/compile $CC"
   7108 fi
   7109 ac_ext=c
   7110 ac_cpp='$CPP $CPPFLAGS'
   7111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7114 
   7115 
   7116 depcc="$CC"   am_compiler_list=
   7117 
   7118 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   7119 printf %s "checking dependency style of $depcc... " >&6; }
   7120 if test ${am_cv_CC_dependencies_compiler_type+y}
   7121 then :
   7122   printf %s "(cached) " >&6
   7123 else case e in #(
   7124   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   7125   # We make a subdir and do the tests there.  Otherwise we can end up
   7126   # making bogus files that we don't know about and never remove.  For
   7127   # instance it was reported that on HP-UX the gcc test will end up
   7128   # making a dummy file named 'D' -- because '-MD' means "put the output
   7129   # in D".
   7130   rm -rf conftest.dir
   7131   mkdir conftest.dir
   7132   # Copy depcomp to subdir because otherwise we won't find it if we're
   7133   # using a relative directory.
   7134   cp "$am_depcomp" conftest.dir
   7135   cd conftest.dir
   7136   # We will build objects and dependencies in a subdirectory because
   7137   # it helps to detect inapplicable dependency modes.  For instance
   7138   # both Tru64's cc and ICC support -MD to output dependencies as a
   7139   # side effect of compilation, but ICC will put the dependencies in
   7140   # the current directory while Tru64 will put them in the object
   7141   # directory.
   7142   mkdir sub
   7143 
   7144   am_cv_CC_dependencies_compiler_type=none
   7145   if test "$am_compiler_list" = ""; then
   7146      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   7147   fi
   7148   am__universal=false
   7149   case " $depcc " in #(
   7150      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   7151      esac
   7152 
   7153   for depmode in $am_compiler_list; do
   7154     # Setup a source with many dependencies, because some compilers
   7155     # like to wrap large dependency lists on column 80 (with \), and
   7156     # we should not choose a depcomp mode which is confused by this.
   7157     #
   7158     # We need to recreate these files for each test, as the compiler may
   7159     # overwrite some of them when testing with obscure command lines.
   7160     # This happens at least with the AIX C compiler.
   7161     : > sub/conftest.c
   7162     for i in 1 2 3 4 5 6; do
   7163       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   7164       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   7165       # Solaris 10 /bin/sh.
   7166       echo '/* dummy */' > sub/conftst$i.h
   7167     done
   7168     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   7169 
   7170     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   7171     # mode.  It turns out that the SunPro C++ compiler does not properly
   7172     # handle '-M -o', and we need to detect this.  Also, some Intel
   7173     # versions had trouble with output in subdirs.
   7174     am__obj=sub/conftest.${OBJEXT-o}
   7175     am__minus_obj="-o $am__obj"
   7176     case $depmode in
   7177     gcc)
   7178       # This depmode causes a compiler race in universal mode.
   7179       test "$am__universal" = false || continue
   7180       ;;
   7181     nosideeffect)
   7182       # After this tag, mechanisms are not by side-effect, so they'll
   7183       # only be used when explicitly requested.
   7184       if test "x$enable_dependency_tracking" = xyes; then
   7185 	continue
   7186       else
   7187 	break
   7188       fi
   7189       ;;
   7190     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   7191       # This compiler won't grok '-c -o', but also, the minuso test has
   7192       # not run yet.  These depmodes are late enough in the game, and
   7193       # so weak that their functioning should not be impacted.
   7194       am__obj=conftest.${OBJEXT-o}
   7195       am__minus_obj=
   7196       ;;
   7197     none) break ;;
   7198     esac
   7199     if depmode=$depmode \
   7200        source=sub/conftest.c object=$am__obj \
   7201        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   7202        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   7203          >/dev/null 2>conftest.err &&
   7204        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   7205        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   7206        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   7207        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   7208       # icc doesn't choke on unknown options, it will just issue warnings
   7209       # or remarks (even with -Werror).  So we grep stderr for any message
   7210       # that says an option was ignored or not supported.
   7211       # When given -MP, icc 7.0 and 7.1 complain thus:
   7212       #   icc: Command line warning: ignoring option '-M'; no argument required
   7213       # The diagnosis changed in icc 8.0:
   7214       #   icc: Command line remark: option '-MP' not supported
   7215       if (grep 'ignoring option' conftest.err ||
   7216           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   7217         am_cv_CC_dependencies_compiler_type=$depmode
   7218         break
   7219       fi
   7220     fi
   7221   done
   7222 
   7223   cd ..
   7224   rm -rf conftest.dir
   7225 else
   7226   am_cv_CC_dependencies_compiler_type=none
   7227 fi
   7228  ;;
   7229 esac
   7230 fi
   7231 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   7232 printf '%s\n' "$am_cv_CC_dependencies_compiler_type" >&6; }
   7233 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   7234 
   7235  if
   7236   test "x$enable_dependency_tracking" != xno \
   7237   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   7238   am__fastdepCC_TRUE=
   7239   am__fastdepCC_FALSE='#'
   7240 else
   7241   am__fastdepCC_TRUE='#'
   7242   am__fastdepCC_FALSE=
   7243 fi
   7244 
   7245 
   7246 
   7247 if test x$ac_cv_prog_cc_c99 = xno ; then
   7248 	as_fn_error $? "No C99 compiler was found." "$LINENO" 5
   7249 fi
   7250 
   7251 
   7252 # By default we simply use the C compiler to build assembly code.
   7253 
   7254 test "${CCAS+set}" = set || CCAS=$CC
   7255 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
   7256 
   7257 
   7258 
   7259 depcc="$CCAS"   am_compiler_list=
   7260 
   7261 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   7262 printf %s "checking dependency style of $depcc... " >&6; }
   7263 if test ${am_cv_CCAS_dependencies_compiler_type+y}
   7264 then :
   7265   printf %s "(cached) " >&6
   7266 else case e in #(
   7267   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   7268   # We make a subdir and do the tests there.  Otherwise we can end up
   7269   # making bogus files that we don't know about and never remove.  For
   7270   # instance it was reported that on HP-UX the gcc test will end up
   7271   # making a dummy file named 'D' -- because '-MD' means "put the output
   7272   # in D".
   7273   rm -rf conftest.dir
   7274   mkdir conftest.dir
   7275   # Copy depcomp to subdir because otherwise we won't find it if we're
   7276   # using a relative directory.
   7277   cp "$am_depcomp" conftest.dir
   7278   cd conftest.dir
   7279   # We will build objects and dependencies in a subdirectory because
   7280   # it helps to detect inapplicable dependency modes.  For instance
   7281   # both Tru64's cc and ICC support -MD to output dependencies as a
   7282   # side effect of compilation, but ICC will put the dependencies in
   7283   # the current directory while Tru64 will put them in the object
   7284   # directory.
   7285   mkdir sub
   7286 
   7287   am_cv_CCAS_dependencies_compiler_type=none
   7288   if test "$am_compiler_list" = ""; then
   7289      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   7290   fi
   7291   am__universal=false
   7292 
   7293 
   7294   for depmode in $am_compiler_list; do
   7295     # Setup a source with many dependencies, because some compilers
   7296     # like to wrap large dependency lists on column 80 (with \), and
   7297     # we should not choose a depcomp mode which is confused by this.
   7298     #
   7299     # We need to recreate these files for each test, as the compiler may
   7300     # overwrite some of them when testing with obscure command lines.
   7301     # This happens at least with the AIX C compiler.
   7302     : > sub/conftest.c
   7303     for i in 1 2 3 4 5 6; do
   7304       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   7305       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   7306       # Solaris 10 /bin/sh.
   7307       echo '/* dummy */' > sub/conftst$i.h
   7308     done
   7309     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   7310 
   7311     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   7312     # mode.  It turns out that the SunPro C++ compiler does not properly
   7313     # handle '-M -o', and we need to detect this.  Also, some Intel
   7314     # versions had trouble with output in subdirs.
   7315     am__obj=sub/conftest.${OBJEXT-o}
   7316     am__minus_obj="-o $am__obj"
   7317     case $depmode in
   7318     gcc)
   7319       # This depmode causes a compiler race in universal mode.
   7320       test "$am__universal" = false || continue
   7321       ;;
   7322     nosideeffect)
   7323       # After this tag, mechanisms are not by side-effect, so they'll
   7324       # only be used when explicitly requested.
   7325       if test "x$enable_dependency_tracking" = xyes; then
   7326 	continue
   7327       else
   7328 	break
   7329       fi
   7330       ;;
   7331     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   7332       # This compiler won't grok '-c -o', but also, the minuso test has
   7333       # not run yet.  These depmodes are late enough in the game, and
   7334       # so weak that their functioning should not be impacted.
   7335       am__obj=conftest.${OBJEXT-o}
   7336       am__minus_obj=
   7337       ;;
   7338     none) break ;;
   7339     esac
   7340     if depmode=$depmode \
   7341        source=sub/conftest.c object=$am__obj \
   7342        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   7343        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   7344          >/dev/null 2>conftest.err &&
   7345        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   7346        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   7347        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   7348        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   7349       # icc doesn't choke on unknown options, it will just issue warnings
   7350       # or remarks (even with -Werror).  So we grep stderr for any message
   7351       # that says an option was ignored or not supported.
   7352       # When given -MP, icc 7.0 and 7.1 complain thus:
   7353       #   icc: Command line warning: ignoring option '-M'; no argument required
   7354       # The diagnosis changed in icc 8.0:
   7355       #   icc: Command line remark: option '-MP' not supported
   7356       if (grep 'ignoring option' conftest.err ||
   7357           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   7358         am_cv_CCAS_dependencies_compiler_type=$depmode
   7359         break
   7360       fi
   7361     fi
   7362   done
   7363 
   7364   cd ..
   7365   rm -rf conftest.dir
   7366 else
   7367   am_cv_CCAS_dependencies_compiler_type=none
   7368 fi
   7369  ;;
   7370 esac
   7371 fi
   7372 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
   7373 printf '%s\n' "$am_cv_CCAS_dependencies_compiler_type" >&6; }
   7374 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
   7375 
   7376  if
   7377   test "x$enable_dependency_tracking" != xno \
   7378   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
   7379   am__fastdepCCAS_TRUE=
   7380   am__fastdepCCAS_FALSE='#'
   7381 else
   7382   am__fastdepCCAS_TRUE='#'
   7383   am__fastdepCCAS_FALSE=
   7384 fi
   7385 
   7386 
   7387 
   7388 ac_header= ac_cache=
   7389 for ac_item in $ac_header_c_list
   7390 do
   7391   if test $ac_cache; then
   7392     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   7393     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   7394       printf '%s\n' "#define $ac_item 1" >> confdefs.h
   7395     fi
   7396     ac_header= ac_cache=
   7397   elif test $ac_header; then
   7398     ac_cache=$ac_item
   7399   else
   7400     ac_header=$ac_item
   7401   fi
   7402 done
   7403 
   7404 
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 
   7411 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   7412 then :
   7413 
   7414 printf '%s\n' "#define STDC_HEADERS 1" >>confdefs.h
   7415 
   7416 fi
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   7424 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   7425 if test ${ac_cv_safe_to_define___extensions__+y}
   7426 then :
   7427   printf %s "(cached) " >&6
   7428 else case e in #(
   7429   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7430 /* end confdefs.h.  */
   7431 
   7432 #         define __EXTENSIONS__ 1
   7433           $ac_includes_default
   7434 int
   7435 main (void)
   7436 {
   7437 
   7438   ;
   7439   return 0;
   7440 }
   7441 _ACEOF
   7442 if ac_fn_c_try_compile "$LINENO"
   7443 then :
   7444   ac_cv_safe_to_define___extensions__=yes
   7445 else case e in #(
   7446   e) ac_cv_safe_to_define___extensions__=no ;;
   7447 esac
   7448 fi
   7449 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7450 esac
   7451 fi
   7452 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   7453 printf '%s\n' "$ac_cv_safe_to_define___extensions__" >&6; }
   7454 
   7455   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   7456 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   7457 if test ${ac_cv_should_define__xopen_source+y}
   7458 then :
   7459   printf %s "(cached) " >&6
   7460 else case e in #(
   7461   e) ac_cv_should_define__xopen_source=no
   7462     if test $ac_cv_header_wchar_h = yes
   7463 then :
   7464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7465 /* end confdefs.h.  */
   7466 
   7467           #include <wchar.h>
   7468           mbstate_t x;
   7469 int
   7470 main (void)
   7471 {
   7472 
   7473   ;
   7474   return 0;
   7475 }
   7476 _ACEOF
   7477 if ac_fn_c_try_compile "$LINENO"
   7478 then :
   7479 
   7480 else case e in #(
   7481   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7482 /* end confdefs.h.  */
   7483 
   7484             #define _XOPEN_SOURCE 500
   7485             #include <wchar.h>
   7486             mbstate_t x;
   7487 int
   7488 main (void)
   7489 {
   7490 
   7491   ;
   7492   return 0;
   7493 }
   7494 _ACEOF
   7495 if ac_fn_c_try_compile "$LINENO"
   7496 then :
   7497   ac_cv_should_define__xopen_source=yes
   7498 fi
   7499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7500 esac
   7501 fi
   7502 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7503 fi ;;
   7504 esac
   7505 fi
   7506 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   7507 printf '%s\n' "$ac_cv_should_define__xopen_source" >&6; }
   7508 
   7509   printf '%s\n' "#define _ALL_SOURCE 1" >>confdefs.h
   7510 
   7511   printf '%s\n' "#define _COSMO_SOURCE 1" >>confdefs.h
   7512 
   7513   printf '%s\n' "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   7514 
   7515   printf '%s\n' "#define _GNU_SOURCE 1" >>confdefs.h
   7516 
   7517   printf '%s\n' "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   7518 
   7519   printf '%s\n' "#define _NETBSD_SOURCE 1" >>confdefs.h
   7520 
   7521   printf '%s\n' "#define _OPENBSD_SOURCE 1" >>confdefs.h
   7522 
   7523   printf '%s\n' "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   7524 
   7525   printf '%s\n' "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   7526 
   7527   printf '%s\n' "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   7528 
   7529   printf '%s\n' "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   7530 
   7531   printf '%s\n' "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
   7532 
   7533   printf '%s\n' "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   7534 
   7535   printf '%s\n' "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   7536 
   7537   printf '%s\n' "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   7538 
   7539   printf '%s\n' "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   7540 
   7541   printf '%s\n' "#define _TANDEM_SOURCE 1" >>confdefs.h
   7542 
   7543   if test $ac_cv_header_minix_config_h = yes
   7544 then :
   7545   MINIX=yes
   7546     printf '%s\n' "#define _MINIX 1" >>confdefs.h
   7547 
   7548     printf '%s\n' "#define _POSIX_SOURCE 1" >>confdefs.h
   7549 
   7550     printf '%s\n' "#define _POSIX_1_SOURCE 2" >>confdefs.h
   7551 
   7552 else case e in #(
   7553   e) MINIX= ;;
   7554 esac
   7555 fi
   7556   if test $ac_cv_safe_to_define___extensions__ = yes
   7557 then :
   7558   printf '%s\n' "#define __EXTENSIONS__ 1" >>confdefs.h
   7559 
   7560 fi
   7561   if test $ac_cv_should_define__xopen_source = yes
   7562 then :
   7563   printf '%s\n' "#define _XOPEN_SOURCE 500" >>confdefs.h
   7564 
   7565 fi
   7566 
   7567 
   7568 # If using GCC or compatible compiler, verify that CFLAGS doesn't contain
   7569 # something that makes -Werror unhappy. It's important to check this after
   7570 # the above check for system extensions. It adds macros that can trigger,
   7571 # for example, -Wunused-macros.
   7572 if test "$GCC" = yes && test "x$SKIP_WERROR_CHECK" != xyes ; then
   7573 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if the -Werror option is usable" >&5
   7574 printf %s "checking if the -Werror option is usable... " >&6; }
   7575 	OLD_CFLAGS=$CFLAGS
   7576 	CFLAGS="$CFLAGS -Werror"
   7577 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7578 /* end confdefs.h.  */
   7579 extern int foo; int foo;
   7580 _ACEOF
   7581 if ac_fn_c_try_compile "$LINENO"
   7582 then :
   7583 
   7584 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   7585 printf '%s\n' "yes" >&6; }
   7586 
   7587 else case e in #(
   7588   e)
   7589 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7590 printf '%s\n' "no" >&6; }
   7591 		as_fn_error $? "
   7592     CFLAGS contains something that makes -Werror complain (see config.log).
   7593     This would break certain checks in 'configure'. It is strongly
   7594     recommended to modify CFLAGS to fix this. If you want to use noisy
   7595     warning options, for example, -Weverything, it is still possible to
   7596     add them later when running 'make': make CFLAGS+=-Weverything
   7597 
   7598     In case you really want to continue with the current CFLAGS, pass
   7599     'SKIP_WERROR_CHECK=yes' as an argument to 'configure'.
   7600 		" "$LINENO" 5
   7601 	 ;;
   7602 esac
   7603 fi
   7604 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7605 	CFLAGS=$OLD_CFLAGS
   7606 fi
   7607 
   7608 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   7609 printf %s "checking for a sed that does not truncate output... " >&6; }
   7610 if test ${ac_cv_path_SED+y}
   7611 then :
   7612   printf %s "(cached) " >&6
   7613 else case e in #(
   7614   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   7615      for ac_i in 1 2 3 4 5 6 7; do
   7616        ac_script="$ac_script$as_nl$ac_script"
   7617      done
   7618      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   7619      { ac_script=; unset ac_script;}
   7620      if test -z "$SED"; then
   7621   ac_path_SED_found=false
   7622   # Loop through the user's path and test for each of PROGNAME-LIST
   7623   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7624 for as_dir in $PATH
   7625 do
   7626   IFS=$as_save_IFS
   7627   case $as_dir in #(((
   7628     '') as_dir=./ ;;
   7629     */) ;;
   7630     *) as_dir=$as_dir/ ;;
   7631   esac
   7632     for ac_prog in sed gsed
   7633    do
   7634     for ac_exec_ext in '' $ac_executable_extensions; do
   7635       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   7636       as_fn_executable_p "$ac_path_SED" || continue
   7637 # Check for GNU ac_path_SED and select it if it is found.
   7638   # Check for GNU $ac_path_SED
   7639 case `"$ac_path_SED" --version 2>&1` in #(
   7640 *GNU*)
   7641   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   7642 #(
   7643 *)
   7644   ac_count=0
   7645   printf %s 0123456789 >"conftest.in"
   7646   while :
   7647   do
   7648     cat "conftest.in" "conftest.in" >"conftest.tmp"
   7649     mv "conftest.tmp" "conftest.in"
   7650     cp "conftest.in" "conftest.nl"
   7651     printf '%s\n' '' >> "conftest.nl"
   7652     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   7653     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   7654     as_fn_arith $ac_count + 1 && ac_count=$as_val
   7655     if test $ac_count -gt ${ac_path_SED_max-0}; then
   7656       # Best one so far, save it but keep looking for a better one
   7657       ac_cv_path_SED="$ac_path_SED"
   7658       ac_path_SED_max=$ac_count
   7659     fi
   7660     # 10*(2^10) chars as input seems more than enough
   7661     test $ac_count -gt 10 && break
   7662   done
   7663   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   7664 esac
   7665 
   7666       $ac_path_SED_found && break 3
   7667     done
   7668   done
   7669   done
   7670 IFS=$as_save_IFS
   7671   if test -z "$ac_cv_path_SED"; then
   7672     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   7673   fi
   7674 else
   7675   ac_cv_path_SED=$SED
   7676 fi
   7677  ;;
   7678 esac
   7679 fi
   7680 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   7681 printf '%s\n' "$ac_cv_path_SED" >&6; }
   7682  SED="$ac_cv_path_SED"
   7683   rm -f conftest.sed
   7684 
   7685 ac_ext=c
   7686 ac_cpp='$CPP $CPPFLAGS'
   7687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7690 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7691 printf %s "checking how to run the C preprocessor... " >&6; }
   7692 # On Suns, sometimes $CPP names a directory.
   7693 if test -n "$CPP" && test -d "$CPP"; then
   7694   CPP=
   7695 fi
   7696 if test -z "$CPP"; then
   7697   if test ${ac_cv_prog_CPP+y}
   7698 then :
   7699   printf %s "(cached) " >&6
   7700 else case e in #(
   7701   e)     # Double quotes because $CC needs to be expanded
   7702     for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
   7703     do
   7704       ac_preproc_ok=false
   7705 for ac_c_preproc_warn_flag in '' yes
   7706 do
   7707   # Use a header file that comes with gcc, so configuring glibc
   7708   # with a fresh cross-compiler works.
   7709   # On the NeXT, cc -E runs the code through the compiler's parser,
   7710   # not just through cpp. "Syntax error" is here to catch this case.
   7711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7712 /* end confdefs.h.  */
   7713 #include <limits.h>
   7714 		     Syntax error
   7715 _ACEOF
   7716 if ac_fn_c_try_cpp "$LINENO"
   7717 then :
   7718 
   7719 else case e in #(
   7720   e) # Broken: fails on valid input.
   7721 continue ;;
   7722 esac
   7723 fi
   7724 rm -f conftest.err conftest.i conftest.$ac_ext
   7725 
   7726   # OK, works on sane cases.  Now check whether nonexistent headers
   7727   # can be detected and how.
   7728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7729 /* end confdefs.h.  */
   7730 #include <ac_nonexistent.h>
   7731 _ACEOF
   7732 if ac_fn_c_try_cpp "$LINENO"
   7733 then :
   7734   # Broken: success on invalid input.
   7735 continue
   7736 else case e in #(
   7737   e) # Passes both tests.
   7738 ac_preproc_ok=:
   7739 break ;;
   7740 esac
   7741 fi
   7742 rm -f conftest.err conftest.i conftest.$ac_ext
   7743 
   7744 done
   7745 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7746 rm -f conftest.i conftest.err conftest.$ac_ext
   7747 if $ac_preproc_ok
   7748 then :
   7749   break
   7750 fi
   7751 
   7752     done
   7753     ac_cv_prog_CPP=$CPP
   7754    ;;
   7755 esac
   7756 fi
   7757   CPP=$ac_cv_prog_CPP
   7758 else
   7759   ac_cv_prog_CPP=$CPP
   7760 fi
   7761 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7762 printf '%s\n' "$CPP" >&6; }
   7763 ac_preproc_ok=false
   7764 for ac_c_preproc_warn_flag in '' yes
   7765 do
   7766   # Use a header file that comes with gcc, so configuring glibc
   7767   # with a fresh cross-compiler works.
   7768   # On the NeXT, cc -E runs the code through the compiler's parser,
   7769   # not just through cpp. "Syntax error" is here to catch this case.
   7770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7771 /* end confdefs.h.  */
   7772 #include <limits.h>
   7773 		     Syntax error
   7774 _ACEOF
   7775 if ac_fn_c_try_cpp "$LINENO"
   7776 then :
   7777 
   7778 else case e in #(
   7779   e) # Broken: fails on valid input.
   7780 continue ;;
   7781 esac
   7782 fi
   7783 rm -f conftest.err conftest.i conftest.$ac_ext
   7784 
   7785   # OK, works on sane cases.  Now check whether nonexistent headers
   7786   # can be detected and how.
   7787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7788 /* end confdefs.h.  */
   7789 #include <ac_nonexistent.h>
   7790 _ACEOF
   7791 if ac_fn_c_try_cpp "$LINENO"
   7792 then :
   7793   # Broken: success on invalid input.
   7794 continue
   7795 else case e in #(
   7796   e) # Passes both tests.
   7797 ac_preproc_ok=:
   7798 break ;;
   7799 esac
   7800 fi
   7801 rm -f conftest.err conftest.i conftest.$ac_ext
   7802 
   7803 done
   7804 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7805 rm -f conftest.i conftest.err conftest.$ac_ext
   7806 if $ac_preproc_ok
   7807 then :
   7808 
   7809 else case e in #(
   7810   e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   7811 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   7812 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7813 See 'config.log' for more details" "$LINENO" 5; } ;;
   7814 esac
   7815 fi
   7816 
   7817 ac_ext=c
   7818 ac_cpp='$CPP $CPPFLAGS'
   7819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7822 
   7823 
   7824 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5
   7825 printf %s "checking for egrep -e... " >&6; }
   7826 if test ${ac_cv_path_EGREP_TRADITIONAL+y}
   7827 then :
   7828   printf %s "(cached) " >&6
   7829 else case e in #(
   7830   e) if test -z "$EGREP_TRADITIONAL"; then
   7831   ac_path_EGREP_TRADITIONAL_found=false
   7832   # Loop through the user's path and test for each of PROGNAME-LIST
   7833   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7834 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   7835 do
   7836   IFS=$as_save_IFS
   7837   case $as_dir in #(((
   7838     '') as_dir=./ ;;
   7839     */) ;;
   7840     *) as_dir=$as_dir/ ;;
   7841   esac
   7842     for ac_prog in grep ggrep
   7843    do
   7844     for ac_exec_ext in '' $ac_executable_extensions; do
   7845       ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
   7846       as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
   7847 # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
   7848   # Check for GNU $ac_path_EGREP_TRADITIONAL
   7849 case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
   7850 *GNU*)
   7851   ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
   7852 #(
   7853 *)
   7854   ac_count=0
   7855   printf %s 0123456789 >"conftest.in"
   7856   while :
   7857   do
   7858     cat "conftest.in" "conftest.in" >"conftest.tmp"
   7859     mv "conftest.tmp" "conftest.in"
   7860     cp "conftest.in" "conftest.nl"
   7861     printf '%s\n' 'EGREP_TRADITIONAL' >> "conftest.nl"
   7862     "$ac_path_EGREP_TRADITIONAL" -E 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   7863     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   7864     as_fn_arith $ac_count + 1 && ac_count=$as_val
   7865     if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
   7866       # Best one so far, save it but keep looking for a better one
   7867       ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
   7868       ac_path_EGREP_TRADITIONAL_max=$ac_count
   7869     fi
   7870     # 10*(2^10) chars as input seems more than enough
   7871     test $ac_count -gt 10 && break
   7872   done
   7873   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   7874 esac
   7875 
   7876       $ac_path_EGREP_TRADITIONAL_found && break 3
   7877     done
   7878   done
   7879   done
   7880 IFS=$as_save_IFS
   7881   if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
   7882     :
   7883   fi
   7884 else
   7885   ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
   7886 fi
   7887 
   7888     if test "$ac_cv_path_EGREP_TRADITIONAL"
   7889 then :
   7890   ac_cv_path_EGREP_TRADITIONAL="$ac_cv_path_EGREP_TRADITIONAL -E"
   7891 else case e in #(
   7892   e) if test -z "$EGREP_TRADITIONAL"; then
   7893   ac_path_EGREP_TRADITIONAL_found=false
   7894   # Loop through the user's path and test for each of PROGNAME-LIST
   7895   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7896 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   7897 do
   7898   IFS=$as_save_IFS
   7899   case $as_dir in #(((
   7900     '') as_dir=./ ;;
   7901     */) ;;
   7902     *) as_dir=$as_dir/ ;;
   7903   esac
   7904     for ac_prog in egrep
   7905    do
   7906     for ac_exec_ext in '' $ac_executable_extensions; do
   7907       ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
   7908       as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
   7909 # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
   7910   # Check for GNU $ac_path_EGREP_TRADITIONAL
   7911 case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
   7912 *GNU*)
   7913   ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
   7914 #(
   7915 *)
   7916   ac_count=0
   7917   printf %s 0123456789 >"conftest.in"
   7918   while :
   7919   do
   7920     cat "conftest.in" "conftest.in" >"conftest.tmp"
   7921     mv "conftest.tmp" "conftest.in"
   7922     cp "conftest.in" "conftest.nl"
   7923     printf '%s\n' 'EGREP_TRADITIONAL' >> "conftest.nl"
   7924     "$ac_path_EGREP_TRADITIONAL" 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   7925     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   7926     as_fn_arith $ac_count + 1 && ac_count=$as_val
   7927     if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
   7928       # Best one so far, save it but keep looking for a better one
   7929       ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
   7930       ac_path_EGREP_TRADITIONAL_max=$ac_count
   7931     fi
   7932     # 10*(2^10) chars as input seems more than enough
   7933     test $ac_count -gt 10 && break
   7934   done
   7935   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   7936 esac
   7937 
   7938       $ac_path_EGREP_TRADITIONAL_found && break 3
   7939     done
   7940   done
   7941   done
   7942 IFS=$as_save_IFS
   7943   if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
   7944     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   7945   fi
   7946 else
   7947   ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
   7948 fi
   7949  ;;
   7950 esac
   7951 fi ;;
   7952 esac
   7953 fi
   7954 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP_TRADITIONAL" >&5
   7955 printf '%s\n' "$ac_cv_path_EGREP_TRADITIONAL" >&6; }
   7956  EGREP_TRADITIONAL=$ac_cv_path_EGREP_TRADITIONAL
   7957 
   7958 case $enable_threads in #(
   7959   posix) :
   7960 
   7961 		echo
   7962 		echo "POSIX threading support:"
   7963 
   7964 
   7965 
   7966 
   7967 ac_ext=c
   7968 ac_cpp='$CPP $CPPFLAGS'
   7969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7972 
   7973 ax_pthread_ok=no
   7974 
   7975 # We used to check for pthread.h first, but this fails if pthread.h
   7976 # requires special compiler flags (e.g. on Tru64 or Sequent).
   7977 # It gets checked for in the link test anyway.
   7978 
   7979 # First of all, check if the user has set any of the PTHREAD_LIBS,
   7980 # etcetera environment variables, and if threads linking works using
   7981 # them:
   7982 if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
   7983         ax_pthread_save_CC="$CC"
   7984         ax_pthread_save_CFLAGS="$CFLAGS"
   7985         ax_pthread_save_LIBS="$LIBS"
   7986         if test "x$PTHREAD_CC" != "x"
   7987 then :
   7988   CC="$PTHREAD_CC"
   7989 fi
   7990         if test "x$PTHREAD_CXX" != "x"
   7991 then :
   7992   CXX="$PTHREAD_CXX"
   7993 fi
   7994         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   7995         LIBS="$PTHREAD_LIBS $LIBS"
   7996         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
   7997 printf %s "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
   7998         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7999 /* end confdefs.h.  */
   8000 
   8001 /* Override any GCC internal prototype to avoid an error.
   8002    Use char because int might match the return type of a GCC
   8003    builtin and then its argument prototype would still apply.
   8004    The 'extern "C"' is for builds by C++ compilers;
   8005    although this is not generally supported in C code supporting it here
   8006    has little cost and some practical benefit (sr 110532).  */
   8007 #ifdef __cplusplus
   8008 extern "C"
   8009 #endif
   8010 char pthread_join (void);
   8011 int
   8012 main (void)
   8013 {
   8014 return pthread_join ();
   8015   ;
   8016   return 0;
   8017 }
   8018 _ACEOF
   8019 if ac_fn_c_try_link "$LINENO"
   8020 then :
   8021   ax_pthread_ok=yes
   8022 fi
   8023 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8024     conftest$ac_exeext conftest.$ac_ext
   8025         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   8026 printf '%s\n' "$ax_pthread_ok" >&6; }
   8027         if test "x$ax_pthread_ok" = "xno"; then
   8028                 PTHREAD_LIBS=""
   8029                 PTHREAD_CFLAGS=""
   8030         fi
   8031         CC="$ax_pthread_save_CC"
   8032         CFLAGS="$ax_pthread_save_CFLAGS"
   8033         LIBS="$ax_pthread_save_LIBS"
   8034 fi
   8035 
   8036 # We must check for the threads library under a number of different
   8037 # names; the ordering is very important because some systems
   8038 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
   8039 # libraries is broken (non-POSIX).
   8040 
   8041 # Create a list of thread flags to try. Items with a "," contain both
   8042 # C compiler flags (before ",") and linker flags (after ","). Other items
   8043 # starting with a "-" are C compiler flags, and remaining items are
   8044 # library names, except for "none" which indicates that we try without
   8045 # any flags at all, and "pthread-config" which is a program returning
   8046 # the flags for the Pth emulation library.
   8047 
   8048 ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
   8049 
   8050 # The ordering *is* (sometimes) important.  Some notes on the
   8051 # individual items follow:
   8052 
   8053 # pthreads: AIX (must check this before -lpthread)
   8054 # none: in case threads are in libc; should be tried before -Kthread and
   8055 #       other compiler flags to prevent continual compiler warnings
   8056 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
   8057 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
   8058 #           (Note: HP C rejects this with "bad form for `-t' option")
   8059 # -pthreads: Solaris/gcc (Note: HP C also rejects)
   8060 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
   8061 #      doesn't hurt to check since this sometimes defines pthreads and
   8062 #      -D_REENTRANT too), HP C (must be checked before -lpthread, which
   8063 #      is present but should not be used directly; and before -mthreads,
   8064 #      because the compiler interprets this as "-mt" + "-hreads")
   8065 # -mthreads: Mingw32/gcc, Lynx/gcc
   8066 # pthread: Linux, etcetera
   8067 # --thread-safe: KAI C++
   8068 # pthread-config: use pthread-config program (for GNU Pth library)
   8069 
   8070 case $host_os in
   8071 
   8072         freebsd*)
   8073 
   8074         # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
   8075         # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
   8076 
   8077         ax_pthread_flags="-kthread lthread $ax_pthread_flags"
   8078         ;;
   8079 
   8080         hpux*)
   8081 
   8082         # From the cc(1) man page: "[-mt] Sets various -D flags to enable
   8083         # multi-threading and also sets -lpthread."
   8084 
   8085         ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags"
   8086         ;;
   8087 
   8088         openedition*)
   8089 
   8090         # IBM z/OS requires a feature-test macro to be defined in order to
   8091         # enable POSIX threads at all, so give the user a hint if this is
   8092         # not set. (We don't define these ourselves, as they can affect
   8093         # other portions of the system API in unpredictable ways.)
   8094 
   8095         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8096 /* end confdefs.h.  */
   8097 
   8098 #            if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
   8099              AX_PTHREAD_ZOS_MISSING
   8100 #            endif
   8101 
   8102 _ACEOF
   8103 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   8104   $EGREP_TRADITIONAL "AX_PTHREAD_ZOS_MISSING" >/dev/null 2>&1
   8105 then :
   8106   { 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
   8107 printf '%s\n' "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
   8108 fi
   8109 rm -rf conftest*
   8110 
   8111         ;;
   8112 
   8113         solaris*)
   8114 
   8115         # On Solaris (at least, for some versions), libc contains stubbed
   8116         # (non-functional) versions of the pthreads routines, so link-based
   8117         # tests will erroneously succeed. (N.B.: The stubs are missing
   8118         # pthread_cleanup_push, or rather a function called by this macro,
   8119         # so we could check for that, but who knows whether they'll stub
   8120         # that too in a future libc.)  So we'll check first for the
   8121         # standard Solaris way of linking pthreads (-mt -lpthread).
   8122 
   8123         ax_pthread_flags="-mt,-lpthread pthread $ax_pthread_flags"
   8124         ;;
   8125 esac
   8126 
   8127 # Are we compiling with Clang?
   8128 
   8129 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
   8130 printf %s "checking whether $CC is Clang... " >&6; }
   8131 if test ${ax_cv_PTHREAD_CLANG+y}
   8132 then :
   8133   printf %s "(cached) " >&6
   8134 else case e in #(
   8135   e) ax_cv_PTHREAD_CLANG=no
   8136      # Note that Autoconf sets GCC=yes for Clang as well as GCC
   8137      if test "x$GCC" = "xyes"; then
   8138         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8139 /* end confdefs.h.  */
   8140 /* Note: Clang 2.7 lacks __clang_[a-z]+__ */
   8141 #            if defined(__clang__) && defined(__llvm__)
   8142              AX_PTHREAD_CC_IS_CLANG
   8143 #            endif
   8144 
   8145 _ACEOF
   8146 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   8147   $EGREP_TRADITIONAL "AX_PTHREAD_CC_IS_CLANG" >/dev/null 2>&1
   8148 then :
   8149   ax_cv_PTHREAD_CLANG=yes
   8150 fi
   8151 rm -rf conftest*
   8152 
   8153      fi
   8154      ;;
   8155 esac
   8156 fi
   8157 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5
   8158 printf '%s\n' "$ax_cv_PTHREAD_CLANG" >&6; }
   8159 ax_pthread_clang="$ax_cv_PTHREAD_CLANG"
   8160 
   8161 
   8162 # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
   8163 
   8164 # Note that for GCC and Clang -pthread generally implies -lpthread,
   8165 # except when -nostdlib is passed.
   8166 # This is problematic using libtool to build C++ shared libraries with pthread:
   8167 # [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25460
   8168 # [2] https://bugzilla.redhat.com/show_bug.cgi?id=661333
   8169 # [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468555
   8170 # To solve this, first try -pthread together with -lpthread for GCC
   8171 
   8172 if test "x$GCC" = "xyes"
   8173 then :
   8174   ax_pthread_flags="-pthread,-lpthread -pthread -pthreads $ax_pthread_flags"
   8175 fi
   8176 
   8177 # Clang takes -pthread (never supported any other flag), but we'll try with -lpthread first
   8178 
   8179 if test "x$ax_pthread_clang" = "xyes"
   8180 then :
   8181   ax_pthread_flags="-pthread,-lpthread -pthread"
   8182 fi
   8183 
   8184 
   8185 # The presence of a feature test macro requesting re-entrant function
   8186 # definitions is, on some systems, a strong hint that pthreads support is
   8187 # correctly enabled
   8188 
   8189 case $host_os in
   8190         darwin* | hpux* | linux* | osf* | solaris*)
   8191         ax_pthread_check_macro="_REENTRANT"
   8192         ;;
   8193 
   8194         aix*)
   8195         ax_pthread_check_macro="_THREAD_SAFE"
   8196         ;;
   8197 
   8198         *)
   8199         ax_pthread_check_macro="--"
   8200         ;;
   8201 esac
   8202 if test "x$ax_pthread_check_macro" = "x--"
   8203 then :
   8204   ax_pthread_check_cond=0
   8205 else case e in #(
   8206   e) ax_pthread_check_cond="!defined($ax_pthread_check_macro)" ;;
   8207 esac
   8208 fi
   8209 
   8210 
   8211 if test "x$ax_pthread_ok" = "xno"; then
   8212 for ax_pthread_try_flag in $ax_pthread_flags; do
   8213 
   8214         case $ax_pthread_try_flag in
   8215                 none)
   8216                 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
   8217 printf %s "checking whether pthreads work without any flags... " >&6; }
   8218                 ;;
   8219 
   8220                 *,*)
   8221                 PTHREAD_CFLAGS=`echo $ax_pthread_try_flag | sed "s/^\(.*\),\(.*\)$/\1/"`
   8222                 PTHREAD_LIBS=`echo $ax_pthread_try_flag | sed "s/^\(.*\),\(.*\)$/\2/"`
   8223                 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with \"$PTHREAD_CFLAGS\" and \"$PTHREAD_LIBS\"" >&5
   8224 printf %s "checking whether pthreads work with \"$PTHREAD_CFLAGS\" and \"$PTHREAD_LIBS\"... " >&6; }
   8225                 ;;
   8226 
   8227                 -*)
   8228                 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_flag" >&5
   8229 printf %s "checking whether pthreads work with $ax_pthread_try_flag... " >&6; }
   8230                 PTHREAD_CFLAGS="$ax_pthread_try_flag"
   8231                 ;;
   8232 
   8233                 pthread-config)
   8234                 # Extract the first word of "pthread-config", so it can be a program name with args.
   8235 set dummy pthread-config; ac_word=$2
   8236 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8237 printf %s "checking for $ac_word... " >&6; }
   8238 if test ${ac_cv_prog_ax_pthread_config+y}
   8239 then :
   8240   printf %s "(cached) " >&6
   8241 else case e in #(
   8242   e) if test -n "$ax_pthread_config"; then
   8243   ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
   8244 else
   8245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8246 for as_dir in $PATH
   8247 do
   8248   IFS=$as_save_IFS
   8249   case $as_dir in #(((
   8250     '') as_dir=./ ;;
   8251     */) ;;
   8252     *) as_dir=$as_dir/ ;;
   8253   esac
   8254     for ac_exec_ext in '' $ac_executable_extensions; do
   8255   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8256     ac_cv_prog_ax_pthread_config="yes"
   8257     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8258     break 2
   8259   fi
   8260 done
   8261   done
   8262 IFS=$as_save_IFS
   8263 
   8264   test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
   8265 fi ;;
   8266 esac
   8267 fi
   8268 ax_pthread_config=$ac_cv_prog_ax_pthread_config
   8269 if test -n "$ax_pthread_config"; then
   8270   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
   8271 printf '%s\n' "$ax_pthread_config" >&6; }
   8272 else
   8273   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8274 printf '%s\n' "no" >&6; }
   8275 fi
   8276 
   8277 
   8278                 if test "x$ax_pthread_config" = "xno"
   8279 then :
   8280   continue
   8281 fi
   8282                 PTHREAD_CFLAGS="`pthread-config --cflags`"
   8283                 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
   8284                 ;;
   8285 
   8286                 *)
   8287                 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_flag" >&5
   8288 printf %s "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; }
   8289                 PTHREAD_LIBS="-l$ax_pthread_try_flag"
   8290                 ;;
   8291         esac
   8292 
   8293         ax_pthread_save_CFLAGS="$CFLAGS"
   8294         ax_pthread_save_LIBS="$LIBS"
   8295         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   8296         LIBS="$PTHREAD_LIBS $LIBS"
   8297 
   8298         # Check for various functions.  We must include pthread.h,
   8299         # since some functions may be macros.  (On the Sequent, we
   8300         # need a special flag -Kthread to make this header compile.)
   8301         # We check for pthread_join because it is in -lpthread on IRIX
   8302         # while pthread_create is in libc.  We check for pthread_attr_init
   8303         # due to DEC craziness with -lpthreads.  We check for
   8304         # pthread_cleanup_push because it is one of the few pthread
   8305         # functions on Solaris that doesn't have a non-functional libc stub.
   8306         # We try pthread_create on general principles.
   8307 
   8308         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8309 /* end confdefs.h.  */
   8310 #include <pthread.h>
   8311 #                       if $ax_pthread_check_cond
   8312 #                        error "$ax_pthread_check_macro must be defined"
   8313 #                       endif
   8314                         static void *some_global = NULL;
   8315                         static void routine(void *a)
   8316                           {
   8317                              /* To avoid any unused-parameter or
   8318                                 unused-but-set-parameter warning.  */
   8319                              some_global = a;
   8320                           }
   8321                         static void *start_routine(void *a) { return a; }
   8322 int
   8323 main (void)
   8324 {
   8325 pthread_t th; pthread_attr_t attr;
   8326                         pthread_create(&th, 0, start_routine, 0);
   8327                         pthread_join(th, 0);
   8328                         pthread_attr_init(&attr);
   8329                         pthread_cleanup_push(routine, 0);
   8330                         pthread_cleanup_pop(0) /* ; */
   8331   ;
   8332   return 0;
   8333 }
   8334 _ACEOF
   8335 if ac_fn_c_try_link "$LINENO"
   8336 then :
   8337   ax_pthread_ok=yes
   8338 fi
   8339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8340     conftest$ac_exeext conftest.$ac_ext
   8341 
   8342         CFLAGS="$ax_pthread_save_CFLAGS"
   8343         LIBS="$ax_pthread_save_LIBS"
   8344 
   8345         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   8346 printf '%s\n' "$ax_pthread_ok" >&6; }
   8347         if test "x$ax_pthread_ok" = "xyes"
   8348 then :
   8349   break
   8350 fi
   8351 
   8352         PTHREAD_LIBS=""
   8353         PTHREAD_CFLAGS=""
   8354 done
   8355 fi
   8356 
   8357 
   8358 # Clang needs special handling, because older versions handle the -pthread
   8359 # option in a rather... idiosyncratic way
   8360 
   8361 if test "x$ax_pthread_clang" = "xyes"; then
   8362 
   8363         # Clang takes -pthread; it has never supported any other flag
   8364 
   8365         # (Note 1: This will need to be revisited if a system that Clang
   8366         # supports has POSIX threads in a separate library.  This tends not
   8367         # to be the way of modern systems, but it's conceivable.)
   8368 
   8369         # (Note 2: On some systems, notably Darwin, -pthread is not needed
   8370         # to get POSIX threads support; the API is always present and
   8371         # active.  We could reasonably leave PTHREAD_CFLAGS empty.  But
   8372         # -pthread does define _REENTRANT, and while the Darwin headers
   8373         # ignore this macro, third-party headers might not.)
   8374 
   8375         # However, older versions of Clang make a point of warning the user
   8376         # that, in an invocation where only linking and no compilation is
   8377         # taking place, the -pthread option has no effect ("argument unused
   8378         # during compilation").  They expect -pthread to be passed in only
   8379         # when source code is being compiled.
   8380         #
   8381         # Problem is, this is at odds with the way Automake and most other
   8382         # C build frameworks function, which is that the same flags used in
   8383         # compilation (CFLAGS) are also used in linking.  Many systems
   8384         # supported by AX_PTHREAD require exactly this for POSIX threads
   8385         # support, and in fact it is often not straightforward to specify a
   8386         # flag that is used only in the compilation phase and not in
   8387         # linking.  Such a scenario is extremely rare in practice.
   8388         #
   8389         # Even though use of the -pthread flag in linking would only print
   8390         # a warning, this can be a nuisance for well-run software projects
   8391         # that build with -Werror.  So if the active version of Clang has
   8392         # this misfeature, we search for an option to squash it.
   8393 
   8394         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread" >&5
   8395 printf %s "checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; }
   8396 if test ${ax_cv_PTHREAD_CLANG_NO_WARN_FLAG+y}
   8397 then :
   8398   printf %s "(cached) " >&6
   8399 else case e in #(
   8400   e) ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown
   8401              # Create an alternate version of $ac_link that compiles and
   8402              # links in two steps (.c -> .o, .o -> exe) instead of one
   8403              # (.c -> exe), because the warning occurs only in the second
   8404              # step
   8405              ax_pthread_save_ac_link="$ac_link"
   8406              ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
   8407              ax_pthread_link_step=`printf '%s\n' "$ac_link" | sed "$ax_pthread_sed"`
   8408              ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
   8409              ax_pthread_save_CFLAGS="$CFLAGS"
   8410              for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
   8411                 if test "x$ax_pthread_try" = "xunknown"
   8412 then :
   8413   break
   8414 fi
   8415                 CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
   8416                 ac_link="$ax_pthread_save_ac_link"
   8417                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8418 /* end confdefs.h.  */
   8419 int main(void){return 0;}
   8420 _ACEOF
   8421 if ac_fn_c_try_link "$LINENO"
   8422 then :
   8423   ac_link="$ax_pthread_2step_ac_link"
   8424                      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8425 /* end confdefs.h.  */
   8426 int main(void){return 0;}
   8427 _ACEOF
   8428 if ac_fn_c_try_link "$LINENO"
   8429 then :
   8430   break
   8431 fi
   8432 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8433     conftest$ac_exeext conftest.$ac_ext
   8434 
   8435 fi
   8436 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8437     conftest$ac_exeext conftest.$ac_ext
   8438              done
   8439              ac_link="$ax_pthread_save_ac_link"
   8440              CFLAGS="$ax_pthread_save_CFLAGS"
   8441              if test "x$ax_pthread_try" = "x"
   8442 then :
   8443   ax_pthread_try=no
   8444 fi
   8445              ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try"
   8446              ;;
   8447 esac
   8448 fi
   8449 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5
   8450 printf '%s\n' "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&6; }
   8451 
   8452         case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in
   8453                 no | unknown) ;;
   8454                 *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;;
   8455         esac
   8456 
   8457 fi # $ax_pthread_clang = yes
   8458 
   8459 
   8460 
   8461 # Various other checks:
   8462 if test "x$ax_pthread_ok" = "xyes"; then
   8463         ax_pthread_save_CFLAGS="$CFLAGS"
   8464         ax_pthread_save_LIBS="$LIBS"
   8465         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   8466         LIBS="$PTHREAD_LIBS $LIBS"
   8467 
   8468         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
   8469         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
   8470 printf %s "checking for joinable pthread attribute... " >&6; }
   8471 if test ${ax_cv_PTHREAD_JOINABLE_ATTR+y}
   8472 then :
   8473   printf %s "(cached) " >&6
   8474 else case e in #(
   8475   e) ax_cv_PTHREAD_JOINABLE_ATTR=unknown
   8476              for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
   8477                  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8478 /* end confdefs.h.  */
   8479 #include <pthread.h>
   8480 int
   8481 main (void)
   8482 {
   8483 int attr = $ax_pthread_attr; return attr /* ; */
   8484   ;
   8485   return 0;
   8486 }
   8487 _ACEOF
   8488 if ac_fn_c_try_link "$LINENO"
   8489 then :
   8490   ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break
   8491 fi
   8492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8493     conftest$ac_exeext conftest.$ac_ext
   8494              done
   8495              ;;
   8496 esac
   8497 fi
   8498 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
   8499 printf '%s\n' "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
   8500         if test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \
   8501                test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \
   8502                test "x$ax_pthread_joinable_attr_defined" != "xyes"
   8503 then :
   8504 
   8505 printf '%s\n' "#define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR" >>confdefs.h
   8506 
   8507                ax_pthread_joinable_attr_defined=yes
   8508 
   8509 fi
   8510 
   8511         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for pthreads" >&5
   8512 printf %s "checking whether more special flags are required for pthreads... " >&6; }
   8513 if test ${ax_cv_PTHREAD_SPECIAL_FLAGS+y}
   8514 then :
   8515   printf %s "(cached) " >&6
   8516 else case e in #(
   8517   e) ax_cv_PTHREAD_SPECIAL_FLAGS=no
   8518              case $host_os in
   8519              solaris*)
   8520              ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
   8521              ;;
   8522              esac
   8523              ;;
   8524 esac
   8525 fi
   8526 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
   8527 printf '%s\n' "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
   8528         if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
   8529                test "x$ax_pthread_special_flags_added" != "xyes"
   8530 then :
   8531   PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
   8532                ax_pthread_special_flags_added=yes
   8533 fi
   8534 
   8535         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
   8536 printf %s "checking for PTHREAD_PRIO_INHERIT... " >&6; }
   8537 if test ${ax_cv_PTHREAD_PRIO_INHERIT+y}
   8538 then :
   8539   printf %s "(cached) " >&6
   8540 else case e in #(
   8541   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8542 /* end confdefs.h.  */
   8543 #include <pthread.h>
   8544 int
   8545 main (void)
   8546 {
   8547 int i = PTHREAD_PRIO_INHERIT;
   8548                                                return i;
   8549   ;
   8550   return 0;
   8551 }
   8552 _ACEOF
   8553 if ac_fn_c_try_link "$LINENO"
   8554 then :
   8555   ax_cv_PTHREAD_PRIO_INHERIT=yes
   8556 else case e in #(
   8557   e) ax_cv_PTHREAD_PRIO_INHERIT=no ;;
   8558 esac
   8559 fi
   8560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8561     conftest$ac_exeext conftest.$ac_ext
   8562              ;;
   8563 esac
   8564 fi
   8565 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
   8566 printf '%s\n' "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
   8567         if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \
   8568                test "x$ax_pthread_prio_inherit_defined" != "xyes"
   8569 then :
   8570 
   8571 printf '%s\n' "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
   8572 
   8573                ax_pthread_prio_inherit_defined=yes
   8574 
   8575 fi
   8576 
   8577         CFLAGS="$ax_pthread_save_CFLAGS"
   8578         LIBS="$ax_pthread_save_LIBS"
   8579 
   8580         # More AIX lossage: compile with *_r variant
   8581         if test "x$GCC" != "xyes"; then
   8582             case $host_os in
   8583                 aix*)
   8584                 case "x/$CC" in #(
   8585   x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) :
   8586     #handle absolute path differently from PATH based program lookup
   8587                      case "x$CC" in #(
   8588   x/*) :
   8589 
   8590 			   if as_fn_executable_p ${CC}_r
   8591 then :
   8592   PTHREAD_CC="${CC}_r"
   8593 fi
   8594 			   if test "x${CXX}" != "x"
   8595 then :
   8596   if as_fn_executable_p ${CXX}_r
   8597 then :
   8598   PTHREAD_CXX="${CXX}_r"
   8599 fi
   8600 fi
   8601 			  ;; #(
   8602   *) :
   8603 
   8604 			   for ac_prog in ${CC}_r
   8605 do
   8606   # Extract the first word of "$ac_prog", so it can be a program name with args.
   8607 set dummy $ac_prog; ac_word=$2
   8608 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8609 printf %s "checking for $ac_word... " >&6; }
   8610 if test ${ac_cv_prog_PTHREAD_CC+y}
   8611 then :
   8612   printf %s "(cached) " >&6
   8613 else case e in #(
   8614   e) if test -n "$PTHREAD_CC"; then
   8615   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
   8616 else
   8617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8618 for as_dir in $PATH
   8619 do
   8620   IFS=$as_save_IFS
   8621   case $as_dir in #(((
   8622     '') as_dir=./ ;;
   8623     */) ;;
   8624     *) as_dir=$as_dir/ ;;
   8625   esac
   8626     for ac_exec_ext in '' $ac_executable_extensions; do
   8627   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8628     ac_cv_prog_PTHREAD_CC="$ac_prog"
   8629     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8630     break 2
   8631   fi
   8632 done
   8633   done
   8634 IFS=$as_save_IFS
   8635 
   8636 fi ;;
   8637 esac
   8638 fi
   8639 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
   8640 if test -n "$PTHREAD_CC"; then
   8641   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
   8642 printf '%s\n' "$PTHREAD_CC" >&6; }
   8643 else
   8644   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8645 printf '%s\n' "no" >&6; }
   8646 fi
   8647 
   8648 
   8649   test -n "$PTHREAD_CC" && break
   8650 done
   8651 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   8652 
   8653 			   if test "x${CXX}" != "x"
   8654 then :
   8655   for ac_prog in ${CXX}_r
   8656 do
   8657   # Extract the first word of "$ac_prog", so it can be a program name with args.
   8658 set dummy $ac_prog; ac_word=$2
   8659 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8660 printf %s "checking for $ac_word... " >&6; }
   8661 if test ${ac_cv_prog_PTHREAD_CXX+y}
   8662 then :
   8663   printf %s "(cached) " >&6
   8664 else case e in #(
   8665   e) if test -n "$PTHREAD_CXX"; then
   8666   ac_cv_prog_PTHREAD_CXX="$PTHREAD_CXX" # Let the user override the test.
   8667 else
   8668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8669 for as_dir in $PATH
   8670 do
   8671   IFS=$as_save_IFS
   8672   case $as_dir in #(((
   8673     '') as_dir=./ ;;
   8674     */) ;;
   8675     *) as_dir=$as_dir/ ;;
   8676   esac
   8677     for ac_exec_ext in '' $ac_executable_extensions; do
   8678   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8679     ac_cv_prog_PTHREAD_CXX="$ac_prog"
   8680     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8681     break 2
   8682   fi
   8683 done
   8684   done
   8685 IFS=$as_save_IFS
   8686 
   8687 fi ;;
   8688 esac
   8689 fi
   8690 PTHREAD_CXX=$ac_cv_prog_PTHREAD_CXX
   8691 if test -n "$PTHREAD_CXX"; then
   8692   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CXX" >&5
   8693 printf '%s\n' "$PTHREAD_CXX" >&6; }
   8694 else
   8695   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8696 printf '%s\n' "no" >&6; }
   8697 fi
   8698 
   8699 
   8700   test -n "$PTHREAD_CXX" && break
   8701 done
   8702 test -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"
   8703 
   8704 fi
   8705 
   8706                       ;;
   8707 esac
   8708                      ;; #(
   8709   *) :
   8710      ;;
   8711 esac
   8712                 ;;
   8713             esac
   8714         fi
   8715 fi
   8716 
   8717 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   8718 test -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
   8726 if test "x$ax_pthread_ok" = "xyes"; then
   8727         :
   8728         :
   8729 else
   8730         ax_pthread_ok=no
   8731 
   8732 fi
   8733 ac_ext=c
   8734 ac_cpp='$CPP $CPPFLAGS'
   8735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8738 
   8739  		LIBS="$PTHREAD_LIBS $LIBS"
   8740 		AM_CFLAGS="$AM_CFLAGS $PTHREAD_CFLAGS"
   8741 
   8742 
   8743 
   8744 printf '%s\n' "#define MYTHREAD_POSIX 1" >>confdefs.h
   8745 
   8746 
   8747 		# This is nice to have but not mandatory.
   8748 		OLD_CFLAGS=$CFLAGS
   8749 		CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   8750 		ac_fn_c_check_func "$LINENO" "pthread_condattr_setclock" "ac_cv_func_pthread_condattr_setclock"
   8751 if test "x$ac_cv_func_pthread_condattr_setclock" = xyes
   8752 then :
   8753   printf '%s\n' "#define HAVE_PTHREAD_CONDATTR_SETCLOCK 1" >>confdefs.h
   8754 
   8755 fi
   8756 
   8757 		CFLAGS=$OLD_CFLAGS
   8758 	 ;; #(
   8759   win95) :
   8760 
   8761 
   8762 printf '%s\n' "#define MYTHREAD_WIN95 1" >>confdefs.h
   8763 
   8764 	 ;; #(
   8765   vista) :
   8766 
   8767 
   8768 printf '%s\n' "#define MYTHREAD_VISTA 1" >>confdefs.h
   8769 
   8770 
   8771  ;; #(
   8772   *) :
   8773      ;;
   8774 esac
   8775  if test "x$enable_threads" != xno; then
   8776   COND_THREADS_TRUE=
   8777   COND_THREADS_FALSE='#'
   8778 else
   8779   COND_THREADS_TRUE='#'
   8780   COND_THREADS_FALSE=
   8781 fi
   8782 
   8783 
   8784 echo
   8785 echo "Initializing Libtool:"
   8786 
   8787 case `pwd` in
   8788   *\ * | *\	*)
   8789     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   8790 printf '%s\n' "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   8791 esac
   8792 
   8793 
   8794 
   8795 macro_version='2.6.0'
   8796 macro_revision='2.6.0'
   8797 
   8798 
   8799 
   8800 
   8801 
   8802 
   8803 
   8804 
   8805 
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 ltmain=$ac_aux_dir/ltmain.sh
   8812 
   8813 # Backslashify metacharacters that are still active within
   8814 # double-quoted strings.
   8815 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   8816 
   8817 # Same as above, but do not quote variable references.
   8818 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   8819 
   8820 # Sed substitution to delay expansion of an escaped shell variable in a
   8821 # double_quote_subst'ed string.
   8822 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   8823 
   8824 # Sed substitution to delay expansion of an escaped single quote.
   8825 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   8826 
   8827 # Sed substitution to avoid accidental globbing in evaled expressions
   8828 no_glob_subst='s/\*/\\\*/g'
   8829 
   8830 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   8831 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   8832 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   8833 
   8834 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   8835 printf %s "checking how to print strings... " >&6; }
   8836 # Test print first, because it will be a builtin if present.
   8837 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   8838    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   8839   ECHO='print -r --'
   8840 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   8841   ECHO='printf %s\n'
   8842 else
   8843   # Use this function as a fallback that always works.
   8844   func_fallback_echo ()
   8845   {
   8846     eval 'cat <<_LTECHO_EOF
   8847 $1
   8848 _LTECHO_EOF'
   8849   }
   8850   ECHO='func_fallback_echo'
   8851 fi
   8852 
   8853 # func_echo_all arg...
   8854 # Invoke $ECHO with all args, space-separated.
   8855 func_echo_all ()
   8856 {
   8857     $ECHO ""
   8858 }
   8859 
   8860 case $ECHO in
   8861   printf*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   8862 printf '%s\n' "printf" >&6; } ;;
   8863   print*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   8864 printf '%s\n' "print -r" >&6; } ;;
   8865   *) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   8866 printf '%s\n' "cat" >&6; } ;;
   8867 esac
   8868 
   8869 
   8870 
   8871 
   8872 
   8873 
   8874 
   8875 
   8876 
   8877 
   8878 
   8879 
   8880 
   8881 
   8882 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   8883 printf %s "checking for a sed that does not truncate output... " >&6; }
   8884 if test ${ac_cv_path_SED+y}
   8885 then :
   8886   printf %s "(cached) " >&6
   8887 else case e in #(
   8888   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   8889      for ac_i in 1 2 3 4 5 6 7; do
   8890        ac_script="$ac_script$as_nl$ac_script"
   8891      done
   8892      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   8893      { ac_script=; unset ac_script;}
   8894      if test -z "$SED"; then
   8895   ac_path_SED_found=false
   8896   # Loop through the user's path and test for each of PROGNAME-LIST
   8897   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8898 for as_dir in $PATH
   8899 do
   8900   IFS=$as_save_IFS
   8901   case $as_dir in #(((
   8902     '') as_dir=./ ;;
   8903     */) ;;
   8904     *) as_dir=$as_dir/ ;;
   8905   esac
   8906     for ac_prog in sed gsed
   8907    do
   8908     for ac_exec_ext in '' $ac_executable_extensions; do
   8909       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   8910       as_fn_executable_p "$ac_path_SED" || continue
   8911 # Check for GNU ac_path_SED and select it if it is found.
   8912   # Check for GNU $ac_path_SED
   8913 case `"$ac_path_SED" --version 2>&1` in #(
   8914 *GNU*)
   8915   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   8916 #(
   8917 *)
   8918   ac_count=0
   8919   printf %s 0123456789 >"conftest.in"
   8920   while :
   8921   do
   8922     cat "conftest.in" "conftest.in" >"conftest.tmp"
   8923     mv "conftest.tmp" "conftest.in"
   8924     cp "conftest.in" "conftest.nl"
   8925     printf '%s\n' '' >> "conftest.nl"
   8926     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   8927     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   8928     as_fn_arith $ac_count + 1 && ac_count=$as_val
   8929     if test $ac_count -gt ${ac_path_SED_max-0}; then
   8930       # Best one so far, save it but keep looking for a better one
   8931       ac_cv_path_SED="$ac_path_SED"
   8932       ac_path_SED_max=$ac_count
   8933     fi
   8934     # 10*(2^10) chars as input seems more than enough
   8935     test $ac_count -gt 10 && break
   8936   done
   8937   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   8938 esac
   8939 
   8940       $ac_path_SED_found && break 3
   8941     done
   8942   done
   8943   done
   8944 IFS=$as_save_IFS
   8945   if test -z "$ac_cv_path_SED"; then
   8946     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   8947   fi
   8948 else
   8949   ac_cv_path_SED=$SED
   8950 fi
   8951  ;;
   8952 esac
   8953 fi
   8954 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   8955 printf '%s\n' "$ac_cv_path_SED" >&6; }
   8956  SED="$ac_cv_path_SED"
   8957   rm -f conftest.sed
   8958 
   8959 test -z "$SED" && SED=sed
   8960 Xsed="$SED -e 1s/^X//"
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 
   8971 
   8972 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   8973 printf %s "checking for grep that handles long lines and -e... " >&6; }
   8974 if test ${ac_cv_path_GREP+y}
   8975 then :
   8976   printf %s "(cached) " >&6
   8977 else case e in #(
   8978   e) if test -z "$GREP"; then
   8979   ac_path_GREP_found=false
   8980   # Loop through the user's path and test for each of PROGNAME-LIST
   8981   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8982 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   8983 do
   8984   IFS=$as_save_IFS
   8985   case $as_dir in #(((
   8986     '') as_dir=./ ;;
   8987     */) ;;
   8988     *) as_dir=$as_dir/ ;;
   8989   esac
   8990     for ac_prog in grep ggrep
   8991    do
   8992     for ac_exec_ext in '' $ac_executable_extensions; do
   8993       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   8994       as_fn_executable_p "$ac_path_GREP" || continue
   8995 # Check for GNU ac_path_GREP and select it if it is found.
   8996   # Check for GNU $ac_path_GREP
   8997 case `"$ac_path_GREP" --version 2>&1` in #(
   8998 *GNU*)
   8999   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   9000 #(
   9001 *)
   9002   ac_count=0
   9003   printf %s 0123456789 >"conftest.in"
   9004   while :
   9005   do
   9006     cat "conftest.in" "conftest.in" >"conftest.tmp"
   9007     mv "conftest.tmp" "conftest.in"
   9008     cp "conftest.in" "conftest.nl"
   9009     printf '%s\n' 'GREP' >> "conftest.nl"
   9010     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   9011     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   9012     as_fn_arith $ac_count + 1 && ac_count=$as_val
   9013     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   9014       # Best one so far, save it but keep looking for a better one
   9015       ac_cv_path_GREP="$ac_path_GREP"
   9016       ac_path_GREP_max=$ac_count
   9017     fi
   9018     # 10*(2^10) chars as input seems more than enough
   9019     test $ac_count -gt 10 && break
   9020   done
   9021   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   9022 esac
   9023 
   9024       $ac_path_GREP_found && break 3
   9025     done
   9026   done
   9027   done
   9028 IFS=$as_save_IFS
   9029   if test -z "$ac_cv_path_GREP"; then
   9030     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   9031   fi
   9032 else
   9033   ac_cv_path_GREP=$GREP
   9034 fi
   9035  ;;
   9036 esac
   9037 fi
   9038 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   9039 printf '%s\n' "$ac_cv_path_GREP" >&6; }
   9040  GREP="$ac_cv_path_GREP"
   9041 
   9042 
   9043 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   9044 printf %s "checking for egrep... " >&6; }
   9045 if test ${ac_cv_path_EGREP+y}
   9046 then :
   9047   printf %s "(cached) " >&6
   9048 else case e in #(
   9049   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   9050    then ac_cv_path_EGREP="$GREP -E"
   9051    else
   9052      if test -z "$EGREP"; then
   9053   ac_path_EGREP_found=false
   9054   # Loop through the user's path and test for each of PROGNAME-LIST
   9055   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9056 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   9057 do
   9058   IFS=$as_save_IFS
   9059   case $as_dir in #(((
   9060     '') as_dir=./ ;;
   9061     */) ;;
   9062     *) as_dir=$as_dir/ ;;
   9063   esac
   9064     for ac_prog in egrep
   9065    do
   9066     for ac_exec_ext in '' $ac_executable_extensions; do
   9067       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   9068       as_fn_executable_p "$ac_path_EGREP" || continue
   9069 # Check for GNU ac_path_EGREP and select it if it is found.
   9070   # Check for GNU $ac_path_EGREP
   9071 case `"$ac_path_EGREP" --version 2>&1` in #(
   9072 *GNU*)
   9073   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   9074 #(
   9075 *)
   9076   ac_count=0
   9077   printf %s 0123456789 >"conftest.in"
   9078   while :
   9079   do
   9080     cat "conftest.in" "conftest.in" >"conftest.tmp"
   9081     mv "conftest.tmp" "conftest.in"
   9082     cp "conftest.in" "conftest.nl"
   9083     printf '%s\n' 'EGREP' >> "conftest.nl"
   9084     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   9085     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   9086     as_fn_arith $ac_count + 1 && ac_count=$as_val
   9087     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   9088       # Best one so far, save it but keep looking for a better one
   9089       ac_cv_path_EGREP="$ac_path_EGREP"
   9090       ac_path_EGREP_max=$ac_count
   9091     fi
   9092     # 10*(2^10) chars as input seems more than enough
   9093     test $ac_count -gt 10 && break
   9094   done
   9095   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   9096 esac
   9097 
   9098       $ac_path_EGREP_found && break 3
   9099     done
   9100   done
   9101   done
   9102 IFS=$as_save_IFS
   9103   if test -z "$ac_cv_path_EGREP"; then
   9104     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   9105   fi
   9106 else
   9107   ac_cv_path_EGREP=$EGREP
   9108 fi
   9109 
   9110    fi ;;
   9111 esac
   9112 fi
   9113 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   9114 printf '%s\n' "$ac_cv_path_EGREP" >&6; }
   9115  EGREP="$ac_cv_path_EGREP"
   9116 
   9117          EGREP_TRADITIONAL=$EGREP
   9118  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   9119 
   9120 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   9121 printf %s "checking for fgrep... " >&6; }
   9122 if test ${ac_cv_path_FGREP+y}
   9123 then :
   9124   printf %s "(cached) " >&6
   9125 else case e in #(
   9126   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   9127    then ac_cv_path_FGREP="$GREP -F"
   9128    else
   9129      if test -z "$FGREP"; then
   9130   ac_path_FGREP_found=false
   9131   # Loop through the user's path and test for each of PROGNAME-LIST
   9132   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9133 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   9134 do
   9135   IFS=$as_save_IFS
   9136   case $as_dir in #(((
   9137     '') as_dir=./ ;;
   9138     */) ;;
   9139     *) as_dir=$as_dir/ ;;
   9140   esac
   9141     for ac_prog in fgrep
   9142    do
   9143     for ac_exec_ext in '' $ac_executable_extensions; do
   9144       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   9145       as_fn_executable_p "$ac_path_FGREP" || continue
   9146 # Check for GNU ac_path_FGREP and select it if it is found.
   9147   # Check for GNU $ac_path_FGREP
   9148 case `"$ac_path_FGREP" --version 2>&1` in #(
   9149 *GNU*)
   9150   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   9151 #(
   9152 *)
   9153   ac_count=0
   9154   printf %s 0123456789 >"conftest.in"
   9155   while :
   9156   do
   9157     cat "conftest.in" "conftest.in" >"conftest.tmp"
   9158     mv "conftest.tmp" "conftest.in"
   9159     cp "conftest.in" "conftest.nl"
   9160     printf '%s\n' 'FGREP' >> "conftest.nl"
   9161     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   9162     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   9163     as_fn_arith $ac_count + 1 && ac_count=$as_val
   9164     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   9165       # Best one so far, save it but keep looking for a better one
   9166       ac_cv_path_FGREP="$ac_path_FGREP"
   9167       ac_path_FGREP_max=$ac_count
   9168     fi
   9169     # 10*(2^10) chars as input seems more than enough
   9170     test $ac_count -gt 10 && break
   9171   done
   9172   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   9173 esac
   9174 
   9175       $ac_path_FGREP_found && break 3
   9176     done
   9177   done
   9178   done
   9179 IFS=$as_save_IFS
   9180   if test -z "$ac_cv_path_FGREP"; then
   9181     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   9182   fi
   9183 else
   9184   ac_cv_path_FGREP=$FGREP
   9185 fi
   9186 
   9187    fi ;;
   9188 esac
   9189 fi
   9190 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   9191 printf '%s\n' "$ac_cv_path_FGREP" >&6; }
   9192  FGREP="$ac_cv_path_FGREP"
   9193 
   9194 
   9195 test -z "$GREP" && GREP=grep
   9196 
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 
   9207 
   9208 
   9209 
   9210 
   9211 
   9212 
   9213 
   9214 
   9215 # Check whether --with-gnu-ld was given.
   9216 if test ${with_gnu_ld+y}
   9217 then :
   9218   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   9219 else case e in #(
   9220   e) with_gnu_ld=no ;;
   9221 esac
   9222 fi
   9223 
   9224 ac_prog=ld
   9225 if test yes = "$GCC"; then
   9226   # Check if gcc -print-prog-name=ld gives a path.
   9227   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   9228 printf %s "checking for ld used by $CC... " >&6; }
   9229   case $host in
   9230   *-*-mingw* | *-*-windows*)
   9231     # gcc leaves a trailing carriage return, which upsets mingw
   9232     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   9233   *)
   9234     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   9235   esac
   9236   case $ac_prog in
   9237     # Accept absolute paths.
   9238     [\\/]* | ?:[\\/]*)
   9239       re_direlt='/[^/][^/]*/\.\./'
   9240       # Canonicalize the pathname of ld
   9241       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   9242       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   9243 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   9244       done
   9245       test -z "$LD" && LD=$ac_prog
   9246       ;;
   9247   "")
   9248     # If it fails, then pretend we aren't using GCC.
   9249     ac_prog=ld
   9250     ;;
   9251   *)
   9252     # If it is relative, then search for the first ld in PATH.
   9253     with_gnu_ld=unknown
   9254     ;;
   9255   esac
   9256 elif test yes = "$with_gnu_ld"; then
   9257   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   9258 printf %s "checking for GNU ld... " >&6; }
   9259 else
   9260   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   9261 printf %s "checking for non-GNU ld... " >&6; }
   9262 fi
   9263 if test ${lt_cv_path_LD+y}
   9264 then :
   9265   printf %s "(cached) " >&6
   9266 else case e in #(
   9267   e) if test -z "$LD"; then
   9268   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9269   for ac_dir in $PATH; do
   9270     IFS=$lt_save_ifs
   9271     test -z "$ac_dir" && ac_dir=.
   9272     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   9273       lt_cv_path_LD=$ac_dir/$ac_prog
   9274       # Check to see if the program is GNU ld.  I'd rather use --version,
   9275       # but apparently some variants of GNU ld only accept -v.
   9276       # Break only if it was the GNU/non-GNU ld that we prefer.
   9277       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   9278       *GNU* | *'with BFD'*)
   9279 	test no != "$with_gnu_ld" && break
   9280 	;;
   9281       *)
   9282 	test yes != "$with_gnu_ld" && break
   9283 	;;
   9284       esac
   9285     fi
   9286   done
   9287   IFS=$lt_save_ifs
   9288 else
   9289   lt_cv_path_LD=$LD # Let the user override the test with a path.
   9290 fi ;;
   9291 esac
   9292 fi
   9293 
   9294 LD=$lt_cv_path_LD
   9295 if test -n "$LD"; then
   9296   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   9297 printf '%s\n' "$LD" >&6; }
   9298 else
   9299   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9300 printf '%s\n' "no" >&6; }
   9301 fi
   9302 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   9303 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   9304 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   9305 if test ${lt_cv_prog_gnu_ld+y}
   9306 then :
   9307   printf %s "(cached) " >&6
   9308 else case e in #(
   9309   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   9310 case `$LD -v 2>&1 </dev/null` in
   9311 *GNU* | *'with BFD'*)
   9312   lt_cv_prog_gnu_ld=yes
   9313   ;;
   9314 *)
   9315   lt_cv_prog_gnu_ld=no
   9316   ;;
   9317 esac ;;
   9318 esac
   9319 fi
   9320 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   9321 printf '%s\n' "$lt_cv_prog_gnu_ld" >&6; }
   9322 with_gnu_ld=$lt_cv_prog_gnu_ld
   9323 
   9324 
   9325 
   9326 
   9327 
   9328 
   9329 
   9330 
   9331 
   9332 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   9333 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   9334 if test ${lt_cv_path_NM+y}
   9335 then :
   9336   printf %s "(cached) " >&6
   9337 else case e in #(
   9338   e) if test -n "$NM"; then
   9339   # Let the user override the test.
   9340   lt_cv_path_NM=$NM
   9341 else
   9342   lt_nm_to_check=${ac_tool_prefix}nm
   9343   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   9344     lt_nm_to_check="$lt_nm_to_check nm"
   9345   fi
   9346   for lt_tmp_nm in $lt_nm_to_check; do
   9347     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9348     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   9349       IFS=$lt_save_ifs
   9350       test -z "$ac_dir" && ac_dir=.
   9351       tmp_nm=$ac_dir/$lt_tmp_nm
   9352       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   9353 	# Check to see if the nm accepts a BSD-compat flag.
   9354 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   9355 	#   nm: unknown option "B" ignored
   9356 	# Tru64's nm complains that /dev/null is an invalid object file
   9357 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   9358 	case $build_os in
   9359 	mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
   9360 	*) lt_bad_file=/dev/null ;;
   9361 	esac
   9362 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   9363 	*$lt_bad_file* | *'Invalid file or object type'*)
   9364 	  lt_cv_path_NM="$tmp_nm -B"
   9365 	  break 2
   9366 	  ;;
   9367 	*)
   9368 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   9369 	  */dev/null*)
   9370 	    lt_cv_path_NM="$tmp_nm -p"
   9371 	    break 2
   9372 	    ;;
   9373 	  *)
   9374 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   9375 	    continue # so that we can try to find one that supports BSD flags
   9376 	    ;;
   9377 	  esac
   9378 	  ;;
   9379 	esac
   9380       fi
   9381     done
   9382     IFS=$lt_save_ifs
   9383   done
   9384   : ${lt_cv_path_NM=no}
   9385 fi ;;
   9386 esac
   9387 fi
   9388 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   9389 printf '%s\n' "$lt_cv_path_NM" >&6; }
   9390 if test no != "$lt_cv_path_NM"; then
   9391   NM=$lt_cv_path_NM
   9392 else
   9393   # Didn't find any BSD compatible name lister, look for dumpbin.
   9394   if test -n "$DUMPBIN"; then :
   9395     # Let the user override the test.
   9396   else
   9397     if test -n "$ac_tool_prefix"; then
   9398   for ac_prog in dumpbin "link -dump"
   9399   do
   9400     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   9401 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   9402 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9403 printf %s "checking for $ac_word... " >&6; }
   9404 if test ${ac_cv_prog_DUMPBIN+y}
   9405 then :
   9406   printf %s "(cached) " >&6
   9407 else case e in #(
   9408   e) if test -n "$DUMPBIN"; then
   9409   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   9410 else
   9411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9412 for as_dir in $PATH
   9413 do
   9414   IFS=$as_save_IFS
   9415   case $as_dir in #(((
   9416     '') as_dir=./ ;;
   9417     */) ;;
   9418     *) as_dir=$as_dir/ ;;
   9419   esac
   9420     for ac_exec_ext in '' $ac_executable_extensions; do
   9421   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9422     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   9423     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9424     break 2
   9425   fi
   9426 done
   9427   done
   9428 IFS=$as_save_IFS
   9429 
   9430 fi ;;
   9431 esac
   9432 fi
   9433 DUMPBIN=$ac_cv_prog_DUMPBIN
   9434 if test -n "$DUMPBIN"; then
   9435   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   9436 printf '%s\n' "$DUMPBIN" >&6; }
   9437 else
   9438   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9439 printf '%s\n' "no" >&6; }
   9440 fi
   9441 
   9442 
   9443     test -n "$DUMPBIN" && break
   9444   done
   9445 fi
   9446 if test -z "$DUMPBIN"; then
   9447   ac_ct_DUMPBIN=$DUMPBIN
   9448   for ac_prog in dumpbin "link -dump"
   9449 do
   9450   # Extract the first word of "$ac_prog", so it can be a program name with args.
   9451 set dummy $ac_prog; ac_word=$2
   9452 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9453 printf %s "checking for $ac_word... " >&6; }
   9454 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   9455 then :
   9456   printf %s "(cached) " >&6
   9457 else case e in #(
   9458   e) if test -n "$ac_ct_DUMPBIN"; then
   9459   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   9460 else
   9461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9462 for as_dir in $PATH
   9463 do
   9464   IFS=$as_save_IFS
   9465   case $as_dir in #(((
   9466     '') as_dir=./ ;;
   9467     */) ;;
   9468     *) as_dir=$as_dir/ ;;
   9469   esac
   9470     for ac_exec_ext in '' $ac_executable_extensions; do
   9471   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9472     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   9473     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9474     break 2
   9475   fi
   9476 done
   9477   done
   9478 IFS=$as_save_IFS
   9479 
   9480 fi ;;
   9481 esac
   9482 fi
   9483 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   9484 if test -n "$ac_ct_DUMPBIN"; then
   9485   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   9486 printf '%s\n' "$ac_ct_DUMPBIN" >&6; }
   9487 else
   9488   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9489 printf '%s\n' "no" >&6; }
   9490 fi
   9491 
   9492 
   9493   test -n "$ac_ct_DUMPBIN" && break
   9494 done
   9495 
   9496   if test "x$ac_ct_DUMPBIN" = x; then
   9497     DUMPBIN=":"
   9498   else
   9499     case $cross_compiling:$ac_tool_warned in
   9500 yes:)
   9501 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9502 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9503 ac_tool_warned=yes ;;
   9504 esac
   9505     DUMPBIN=$ac_ct_DUMPBIN
   9506   fi
   9507 fi
   9508 
   9509     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   9510     *COFF*)
   9511       DUMPBIN="$DUMPBIN -symbols -headers"
   9512       ;;
   9513     *)
   9514       DUMPBIN=:
   9515       ;;
   9516     esac
   9517   fi
   9518 
   9519   if test : != "$DUMPBIN"; then
   9520     NM=$DUMPBIN
   9521   fi
   9522 fi
   9523 test -z "$NM" && NM=nm
   9524 
   9525 
   9526 
   9527 
   9528 
   9529 
   9530 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   9531 printf %s "checking the name lister ($NM) interface... " >&6; }
   9532 if test ${lt_cv_nm_interface+y}
   9533 then :
   9534   printf %s "(cached) " >&6
   9535 else case e in #(
   9536   e) lt_cv_nm_interface="BSD nm"
   9537   echo "int some_variable = 0;" > conftest.$ac_ext
   9538   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   9539   (eval "$ac_compile" 2>conftest.err)
   9540   cat conftest.err >&5
   9541   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   9542   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   9543   cat conftest.err >&5
   9544   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   9545   cat conftest.out >&5
   9546   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   9547     lt_cv_nm_interface="MS dumpbin"
   9548   fi
   9549   rm -f conftest* ;;
   9550 esac
   9551 fi
   9552 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   9553 printf '%s\n' "$lt_cv_nm_interface" >&6; }
   9554 
   9555 # find the maximum length of command line arguments
   9556 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   9557 printf %s "checking the maximum length of command line arguments... " >&6; }
   9558 if test ${lt_cv_sys_max_cmd_len+y}
   9559 then :
   9560   printf %s "(cached) " >&6
   9561 else case e in #(
   9562   e)   i=0
   9563   teststring=ABCD
   9564 
   9565   case $build_os in
   9566   msdosdjgpp*)
   9567     # On DJGPP, this test can blow up pretty badly due to problems in libc
   9568     # (any single argument exceeding 2000 bytes causes a buffer overrun
   9569     # during glob expansion).  Even if it were fixed, the result of this
   9570     # check would be larger than it should be.
   9571     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   9572     ;;
   9573 
   9574   gnu* | ironclad*)
   9575     # Under GNU Hurd and Ironclad, this test is not required because there
   9576     # is no limit to the length of command line arguments.
   9577     # Libtool will interpret -1 as no limit whatsoever
   9578     lt_cv_sys_max_cmd_len=-1;
   9579     ;;
   9580 
   9581   cygwin* | mingw* | windows* | cegcc*)
   9582     # On Win9x/ME, this test blows up -- it succeeds, but takes
   9583     # about 5 minutes as the teststring grows exponentially.
   9584     # Worse, since 9x/ME are not pre-emptively multitasking,
   9585     # you end up with a "frozen" computer, even though with patience
   9586     # the test eventually succeeds (with a max line length of 256k).
   9587     # Instead, let's just punt: use the minimum linelength reported by
   9588     # all of the supported platforms: 8192 (on NT/2K/XP).
   9589     lt_cv_sys_max_cmd_len=8192;
   9590     ;;
   9591 
   9592   mint*)
   9593     # On MiNT this can take a long time and run out of memory.
   9594     lt_cv_sys_max_cmd_len=8192;
   9595     ;;
   9596 
   9597   amigaos*)
   9598     # On AmigaOS with pdksh, this test takes hours, literally.
   9599     # So we just punt and use a minimum line length of 8192.
   9600     lt_cv_sys_max_cmd_len=8192;
   9601     ;;
   9602 
   9603   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   9604     # This has been around since 386BSD, at least.  Likely further.
   9605     if test -x /sbin/sysctl; then
   9606       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   9607     elif test -x /usr/sbin/sysctl; then
   9608       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   9609     else
   9610       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   9611     fi
   9612     # And add a safety zone
   9613     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   9614     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   9615     ;;
   9616 
   9617   interix*)
   9618     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   9619     lt_cv_sys_max_cmd_len=196608
   9620     ;;
   9621 
   9622   os2*)
   9623     # The test takes a long time on OS/2.
   9624     lt_cv_sys_max_cmd_len=8192
   9625     ;;
   9626 
   9627   osf*)
   9628     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   9629     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   9630     # nice to cause kernel panics so lets avoid the loop below.
   9631     # First set a reasonable default.
   9632     lt_cv_sys_max_cmd_len=16384
   9633     #
   9634     if test -x /sbin/sysconfig; then
   9635       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   9636         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   9637       esac
   9638     fi
   9639     ;;
   9640   sco3.2v5*)
   9641     lt_cv_sys_max_cmd_len=102400
   9642     ;;
   9643   sysv5* | sco5v6* | sysv4.2uw2*)
   9644     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   9645     if test -n "$kargmax"; then
   9646       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   9647     else
   9648       lt_cv_sys_max_cmd_len=32768
   9649     fi
   9650     ;;
   9651   *)
   9652     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   9653     if test -n "$lt_cv_sys_max_cmd_len" && \
   9654        test undefined != "$lt_cv_sys_max_cmd_len"; then
   9655       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   9656       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   9657     else
   9658       # Make teststring a little bigger before we do anything with it.
   9659       # a 1K string should be a reasonable start.
   9660       for i in 1 2 3 4 5 6 7 8; do
   9661         teststring=$teststring$teststring
   9662       done
   9663       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   9664       # If test is not a shell built-in, we'll probably end up computing a
   9665       # maximum length that is only half of the actual maximum length, but
   9666       # we can't tell.
   9667       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   9668 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   9669 	      test 17 != "$i" # 1/2 MB should be enough
   9670       do
   9671         i=`expr $i + 1`
   9672         teststring=$teststring$teststring
   9673       done
   9674       # Only check the string length outside the loop.
   9675       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   9676       teststring=
   9677       # Add a significant safety factor because C++ compilers can tack on
   9678       # massive amounts of additional arguments before passing them to the
   9679       # linker.  It appears as though 1/2 is a usable value.
   9680       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   9681     fi
   9682     ;;
   9683   esac
   9684  ;;
   9685 esac
   9686 fi
   9687 
   9688 if test -n "$lt_cv_sys_max_cmd_len"; then
   9689   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   9690 printf '%s\n' "$lt_cv_sys_max_cmd_len" >&6; }
   9691 else
   9692   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none" >&5
   9693 printf '%s\n' "none" >&6; }
   9694 fi
   9695 max_cmd_len=$lt_cv_sys_max_cmd_len
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 : ${CP="cp -f"}
   9703 : ${MV="mv -f"}
   9704 : ${RM="rm -f"}
   9705 
   9706 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   9707   lt_unset=unset
   9708 else
   9709   lt_unset=false
   9710 fi
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 # test EBCDIC or ASCII
   9717 case `echo X|tr X '\101'` in
   9718  A) # ASCII based system
   9719     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   9720   lt_SP2NL='tr \040 \012'
   9721   lt_NL2SP='tr \015\012 \040\040'
   9722   ;;
   9723  *) # EBCDIC based system
   9724   lt_SP2NL='tr \100 \n'
   9725   lt_NL2SP='tr \r\n \100\100'
   9726   ;;
   9727 esac
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   9738 printf %s "checking how to convert $build file names to $host format... " >&6; }
   9739 if test ${lt_cv_to_host_file_cmd+y}
   9740 then :
   9741   printf %s "(cached) " >&6
   9742 else case e in #(
   9743   e) case $host in
   9744   *-*-mingw* )
   9745     case $build in
   9746       *-*-mingw* | *-*-windows* ) # actually msys
   9747         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   9748         ;;
   9749       *-*-cygwin* )
   9750         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   9751         ;;
   9752       * ) # otherwise, assume *nix
   9753         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   9754         ;;
   9755     esac
   9756     ;;
   9757   *-*-cygwin* )
   9758     case $build in
   9759       *-*-mingw* | *-*-windows* ) # actually msys
   9760         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   9761         ;;
   9762       *-*-cygwin* )
   9763         lt_cv_to_host_file_cmd=func_convert_file_noop
   9764         ;;
   9765       * ) # otherwise, assume *nix
   9766         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   9767         ;;
   9768     esac
   9769     ;;
   9770   * ) # unhandled hosts (and "normal" native builds)
   9771     lt_cv_to_host_file_cmd=func_convert_file_noop
   9772     ;;
   9773 esac
   9774  ;;
   9775 esac
   9776 fi
   9777 
   9778 to_host_file_cmd=$lt_cv_to_host_file_cmd
   9779 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   9780 printf '%s\n' "$lt_cv_to_host_file_cmd" >&6; }
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   9787 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   9788 if test ${lt_cv_to_tool_file_cmd+y}
   9789 then :
   9790   printf %s "(cached) " >&6
   9791 else case e in #(
   9792   e) #assume ordinary cross tools, or native build.
   9793 lt_cv_to_tool_file_cmd=func_convert_file_noop
   9794 case $host in
   9795   *-*-mingw* | *-*-windows* )
   9796     case $build in
   9797       *-*-mingw* | *-*-windows* ) # actually msys
   9798         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   9799         ;;
   9800     esac
   9801     ;;
   9802 esac
   9803  ;;
   9804 esac
   9805 fi
   9806 
   9807 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   9808 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   9809 printf '%s\n' "$lt_cv_to_tool_file_cmd" >&6; }
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 case $host in #(
   9816   *-*-mingw* | *-*-windows* | *-*-cygwin*) :
   9817     case $build in #(
   9818   *-*-mingw* | *-*-windows* | *-*-cygwin*) :
   9819     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether cygpath is installed" >&5
   9820 printf %s "checking whether cygpath is installed... " >&6; }
   9821       if test ${lt_cv_cygpath_installed+y}
   9822 then :
   9823   printf %s "(cached) " >&6
   9824 else case e in #(
   9825   e) lt_cv_cygpath_installed=ignoring
   9826           cygpath --help &> /dev/null
   9827           _lt_result=$?
   9828           if test 0 = "$_lt_result"
   9829 then :
   9830   lt_cv_cygpath_installed=yes
   9831 else case e in #(
   9832   e) lt_cv_cygpath_installed=no ;;
   9833 esac
   9834 fi
   9835          ;;
   9836 esac
   9837 fi
   9838 
   9839       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cygpath_installed" >&5
   9840 printf '%s\n' "$lt_cv_cygpath_installed" >&6; }
   9841 
   9842 
   9843 
   9844 
   9845       if test "xyes" != "x$lt_cv_cygpath_installed"
   9846 then :
   9847 
   9848           { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to use cmd with one slash or two slashes" >&5
   9849 printf %s "checking whether to use cmd with one slash or two slashes... " >&6; }
   9850           if test ${lt_cv_cmd_slashes+y}
   9851 then :
   9852   printf %s "(cached) " >&6
   9853 else case e in #(
   9854   e)
   9855               _lt_result=`cmd /c echo one-slash works. Not checked //c echo two-slashes 2>/dev/null`
   9856               if test 0 != $?
   9857 then :
   9858   as_fn_error $? "Do not know how to convert paths" "$LINENO" 5
   9859 fi
   9860               case $_lt_result in #(
   9861   one-slash*) :
   9862     lt_cv_cmd_slashes="one" ;; #(
   9863   two-slashes*) :
   9864     lt_cv_cmd_slashes="two" ;; #(
   9865   *) :
   9866     as_fn_error $? "Do not know how to convert paths" "$LINENO" 5
   9867                ;;
   9868 esac
   9869              ;;
   9870 esac
   9871 fi
   9872 
   9873           { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cmd_slashes" >&5
   9874 printf '%s\n' "$lt_cv_cmd_slashes" >&6; }
   9875 
   9876 fi
   9877      ;; #(
   9878   *) :
   9879      ;;
   9880 esac
   9881 
   9882  ;; #(
   9883   *) :
   9884      ;;
   9885 esac
   9886 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   9887 printf %s "checking for $LD option to reload object files... " >&6; }
   9888 if test ${lt_cv_ld_reload_flag+y}
   9889 then :
   9890   printf %s "(cached) " >&6
   9891 else case e in #(
   9892   e) lt_cv_ld_reload_flag='-r' ;;
   9893 esac
   9894 fi
   9895 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   9896 printf '%s\n' "$lt_cv_ld_reload_flag" >&6; }
   9897 reload_flag=$lt_cv_ld_reload_flag
   9898 case $reload_flag in
   9899 "" | " "*) ;;
   9900 *) reload_flag=" $reload_flag" ;;
   9901 esac
   9902 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   9903 case $host_os in
   9904   cygwin* | mingw* | windows* | pw32* | cegcc*)
   9905     if test yes != "$GCC"; then
   9906       reload_cmds=false
   9907     fi
   9908     ;;
   9909   darwin*)
   9910     if test yes = "$GCC"; then
   9911       reload_cmds='$LTCC $LTCFLAGS $stdlibflag $wl-r -o $output$reload_objs'
   9912     else
   9913       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   9914     fi
   9915     ;;
   9916 esac
   9917 
   9918 
   9919 
   9920 
   9921 
   9922 
   9923 
   9924 
   9925 
   9926 # Extract the first word of "file", so it can be a program name with args.
   9927 set dummy file; ac_word=$2
   9928 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9929 printf %s "checking for $ac_word... " >&6; }
   9930 if test ${ac_cv_prog_FILECMD+y}
   9931 then :
   9932   printf %s "(cached) " >&6
   9933 else case e in #(
   9934   e) if test -n "$FILECMD"; then
   9935   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   9936 else
   9937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9938 for as_dir in $PATH
   9939 do
   9940   IFS=$as_save_IFS
   9941   case $as_dir in #(((
   9942     '') as_dir=./ ;;
   9943     */) ;;
   9944     *) as_dir=$as_dir/ ;;
   9945   esac
   9946     for ac_exec_ext in '' $ac_executable_extensions; do
   9947   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9948     ac_cv_prog_FILECMD="file"
   9949     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9950     break 2
   9951   fi
   9952 done
   9953   done
   9954 IFS=$as_save_IFS
   9955 
   9956   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
   9957 fi ;;
   9958 esac
   9959 fi
   9960 FILECMD=$ac_cv_prog_FILECMD
   9961 if test -n "$FILECMD"; then
   9962   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   9963 printf '%s\n' "$FILECMD" >&6; }
   9964 else
   9965   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9966 printf '%s\n' "no" >&6; }
   9967 fi
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 if test -n "$ac_tool_prefix"; then
   9977   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   9978 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   9979 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9980 printf %s "checking for $ac_word... " >&6; }
   9981 if test ${ac_cv_prog_OBJDUMP+y}
   9982 then :
   9983   printf %s "(cached) " >&6
   9984 else case e in #(
   9985   e) if test -n "$OBJDUMP"; then
   9986   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   9987 else
   9988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9989 for as_dir in $PATH
   9990 do
   9991   IFS=$as_save_IFS
   9992   case $as_dir in #(((
   9993     '') as_dir=./ ;;
   9994     */) ;;
   9995     *) as_dir=$as_dir/ ;;
   9996   esac
   9997     for ac_exec_ext in '' $ac_executable_extensions; do
   9998   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9999     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   10000     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10001     break 2
   10002   fi
   10003 done
   10004   done
   10005 IFS=$as_save_IFS
   10006 
   10007 fi ;;
   10008 esac
   10009 fi
   10010 OBJDUMP=$ac_cv_prog_OBJDUMP
   10011 if test -n "$OBJDUMP"; then
   10012   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   10013 printf '%s\n' "$OBJDUMP" >&6; }
   10014 else
   10015   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10016 printf '%s\n' "no" >&6; }
   10017 fi
   10018 
   10019 
   10020 fi
   10021 if test -z "$ac_cv_prog_OBJDUMP"; then
   10022   ac_ct_OBJDUMP=$OBJDUMP
   10023   # Extract the first word of "objdump", so it can be a program name with args.
   10024 set dummy objdump; ac_word=$2
   10025 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10026 printf %s "checking for $ac_word... " >&6; }
   10027 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   10028 then :
   10029   printf %s "(cached) " >&6
   10030 else case e in #(
   10031   e) if test -n "$ac_ct_OBJDUMP"; then
   10032   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   10033 else
   10034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10035 for as_dir in $PATH
   10036 do
   10037   IFS=$as_save_IFS
   10038   case $as_dir in #(((
   10039     '') as_dir=./ ;;
   10040     */) ;;
   10041     *) as_dir=$as_dir/ ;;
   10042   esac
   10043     for ac_exec_ext in '' $ac_executable_extensions; do
   10044   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10045     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   10046     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10047     break 2
   10048   fi
   10049 done
   10050   done
   10051 IFS=$as_save_IFS
   10052 
   10053 fi ;;
   10054 esac
   10055 fi
   10056 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   10057 if test -n "$ac_ct_OBJDUMP"; then
   10058   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   10059 printf '%s\n' "$ac_ct_OBJDUMP" >&6; }
   10060 else
   10061   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10062 printf '%s\n' "no" >&6; }
   10063 fi
   10064 
   10065   if test "x$ac_ct_OBJDUMP" = x; then
   10066     OBJDUMP="false"
   10067   else
   10068     case $cross_compiling:$ac_tool_warned in
   10069 yes:)
   10070 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10071 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10072 ac_tool_warned=yes ;;
   10073 esac
   10074     OBJDUMP=$ac_ct_OBJDUMP
   10075   fi
   10076 else
   10077   OBJDUMP="$ac_cv_prog_OBJDUMP"
   10078 fi
   10079 
   10080 test -z "$OBJDUMP" && OBJDUMP=objdump
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   10088 printf %s "checking how to recognize dependent libraries... " >&6; }
   10089 if test ${lt_cv_deplibs_check_method+y}
   10090 then :
   10091   printf %s "(cached) " >&6
   10092 else case e in #(
   10093   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   10094 lt_cv_file_magic_test_file=
   10095 lt_cv_deplibs_check_method='unknown'
   10096 # Need to set the preceding variable on all platforms that support
   10097 # interlibrary dependencies.
   10098 # 'none' -- dependencies not supported.
   10099 # 'unknown' -- same as none, but documents that we really don't know.
   10100 # 'pass_all' -- all dependencies passed with no checks.
   10101 # 'file_magic [[regex]]' -- check by looking for files in library path
   10102 # that responds to the $file_magic_cmd with a given extended regex.
   10103 # If you have 'file' or equivalent on your system and you're not sure
   10104 # whether 'pass_all' will *always* work, you probably want this one.
   10105 
   10106 case $host_os in
   10107 aix[4-9]*)
   10108   lt_cv_deplibs_check_method=pass_all
   10109   ;;
   10110 
   10111 beos*)
   10112   lt_cv_deplibs_check_method=pass_all
   10113   ;;
   10114 
   10115 bsdi[45]*)
   10116   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   10117   lt_cv_file_magic_cmd='$FILECMD -L'
   10118   lt_cv_file_magic_test_file=/shlib/libc.so
   10119   ;;
   10120 
   10121 cygwin*)
   10122   # func_win32_libid is a shell function defined in ltmain.sh
   10123   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   10124   lt_cv_file_magic_cmd='func_win32_libid'
   10125   ;;
   10126 
   10127 mingw* | windows* | pw32*)
   10128   # Base MSYS/MinGW do not provide the 'file' command needed by
   10129   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   10130   # unless we find 'file', for example because we are cross-compiling.
   10131   if ( file / ) >/dev/null 2>&1; then
   10132     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   10133     lt_cv_file_magic_cmd='func_win32_libid'
   10134   else
   10135     # Keep this pattern in sync with the one in func_win32_libid.
   10136     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
   10137     lt_cv_file_magic_cmd='$OBJDUMP -f'
   10138   fi
   10139   ;;
   10140 
   10141 cegcc*)
   10142   # use the weaker test based on 'objdump'. See mingw*.
   10143   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   10144   lt_cv_file_magic_cmd='$OBJDUMP -f'
   10145   ;;
   10146 
   10147 darwin* | rhapsody*)
   10148   lt_cv_deplibs_check_method=pass_all
   10149   ;;
   10150 
   10151 freebsd* | dragonfly* | midnightbsd*)
   10152   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   10153     case $host_cpu in
   10154     i*86 )
   10155       # Not sure whether the presence of OpenBSD here was a mistake.
   10156       # Let's accept both of them until this is cleared up.
   10157       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   10158       lt_cv_file_magic_cmd=$FILECMD
   10159       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   10160       ;;
   10161     esac
   10162   else
   10163     lt_cv_deplibs_check_method=pass_all
   10164   fi
   10165   ;;
   10166 
   10167 haiku*)
   10168   lt_cv_deplibs_check_method=pass_all
   10169   ;;
   10170 
   10171 hpux10.20* | hpux11*)
   10172   lt_cv_file_magic_cmd=$FILECMD
   10173   case $host_cpu in
   10174   ia64*)
   10175     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   10176     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   10177     ;;
   10178   hppa*64*)
   10179     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]'
   10180     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   10181     ;;
   10182   *)
   10183     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   10184     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   10185     ;;
   10186   esac
   10187   ;;
   10188 
   10189 interix[3-9]*)
   10190   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   10191   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   10192   ;;
   10193 
   10194 irix5* | irix6* | nonstopux*)
   10195   case $LD in
   10196   *-32|*"-32 ") libmagic=32-bit;;
   10197   *-n32|*"-n32 ") libmagic=N32;;
   10198   *-64|*"-64 ") libmagic=64-bit;;
   10199   *) libmagic=never-match;;
   10200   esac
   10201   lt_cv_deplibs_check_method=pass_all
   10202   ;;
   10203 
   10204 *-mlibc)
   10205   lt_cv_deplibs_check_method=pass_all
   10206   ;;
   10207 
   10208 # This must be glibc/ELF.
   10209 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   10210   lt_cv_deplibs_check_method=pass_all
   10211   ;;
   10212 
   10213 netbsd* | netbsdelf*-gnu)
   10214   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   10215     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   10216   else
   10217     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   10218   fi
   10219   ;;
   10220 
   10221 newos6*)
   10222   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   10223   lt_cv_file_magic_cmd=$FILECMD
   10224   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   10225   ;;
   10226 
   10227 *nto* | *qnx*)
   10228   lt_cv_deplibs_check_method=pass_all
   10229   ;;
   10230 
   10231 openbsd*)
   10232   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10233     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   10234   else
   10235     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   10236   fi
   10237   ;;
   10238 
   10239 osf3* | osf4* | osf5*)
   10240   lt_cv_deplibs_check_method=pass_all
   10241   ;;
   10242 
   10243 rdos*)
   10244   lt_cv_deplibs_check_method=pass_all
   10245   ;;
   10246 
   10247 serenity*)
   10248   lt_cv_deplibs_check_method=pass_all
   10249   ;;
   10250 
   10251 solaris*)
   10252   lt_cv_deplibs_check_method=pass_all
   10253   ;;
   10254 
   10255 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10256   lt_cv_deplibs_check_method=pass_all
   10257   ;;
   10258 
   10259 sysv4 | sysv4.3*)
   10260   case $host_vendor in
   10261   motorola)
   10262     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]'
   10263     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   10264     ;;
   10265   ncr)
   10266     lt_cv_deplibs_check_method=pass_all
   10267     ;;
   10268   sequent)
   10269     lt_cv_file_magic_cmd='/bin/file'
   10270     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   10271     ;;
   10272   sni)
   10273     lt_cv_file_magic_cmd='/bin/file'
   10274     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   10275     lt_cv_file_magic_test_file=/lib/libc.so
   10276     ;;
   10277   siemens)
   10278     lt_cv_deplibs_check_method=pass_all
   10279     ;;
   10280   pc)
   10281     lt_cv_deplibs_check_method=pass_all
   10282     ;;
   10283   esac
   10284   ;;
   10285 
   10286 tpf*)
   10287   lt_cv_deplibs_check_method=pass_all
   10288   ;;
   10289 os2*)
   10290   lt_cv_deplibs_check_method=pass_all
   10291   ;;
   10292 esac
   10293  ;;
   10294 esac
   10295 fi
   10296 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   10297 printf '%s\n' "$lt_cv_deplibs_check_method" >&6; }
   10298 
   10299 file_magic_glob=
   10300 want_nocaseglob=no
   10301 if test "$build" = "$host"; then
   10302   case $host_os in
   10303   mingw* | windows* | pw32*)
   10304     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   10305       want_nocaseglob=yes
   10306     else
   10307       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   10308     fi
   10309     ;;
   10310   esac
   10311 fi
   10312 
   10313 file_magic_cmd=$lt_cv_file_magic_cmd
   10314 deplibs_check_method=$lt_cv_deplibs_check_method
   10315 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 
   10330 
   10331 
   10332 
   10333 
   10334 
   10335 
   10336 
   10337 
   10338 if test -n "$ac_tool_prefix"; then
   10339   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   10340 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   10341 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10342 printf %s "checking for $ac_word... " >&6; }
   10343 if test ${ac_cv_prog_DLLTOOL+y}
   10344 then :
   10345   printf %s "(cached) " >&6
   10346 else case e in #(
   10347   e) if test -n "$DLLTOOL"; then
   10348   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   10349 else
   10350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10351 for as_dir in $PATH
   10352 do
   10353   IFS=$as_save_IFS
   10354   case $as_dir in #(((
   10355     '') as_dir=./ ;;
   10356     */) ;;
   10357     *) as_dir=$as_dir/ ;;
   10358   esac
   10359     for ac_exec_ext in '' $ac_executable_extensions; do
   10360   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10361     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   10362     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10363     break 2
   10364   fi
   10365 done
   10366   done
   10367 IFS=$as_save_IFS
   10368 
   10369 fi ;;
   10370 esac
   10371 fi
   10372 DLLTOOL=$ac_cv_prog_DLLTOOL
   10373 if test -n "$DLLTOOL"; then
   10374   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   10375 printf '%s\n' "$DLLTOOL" >&6; }
   10376 else
   10377   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10378 printf '%s\n' "no" >&6; }
   10379 fi
   10380 
   10381 
   10382 fi
   10383 if test -z "$ac_cv_prog_DLLTOOL"; then
   10384   ac_ct_DLLTOOL=$DLLTOOL
   10385   # Extract the first word of "dlltool", so it can be a program name with args.
   10386 set dummy dlltool; ac_word=$2
   10387 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10388 printf %s "checking for $ac_word... " >&6; }
   10389 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   10390 then :
   10391   printf %s "(cached) " >&6
   10392 else case e in #(
   10393   e) if test -n "$ac_ct_DLLTOOL"; then
   10394   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   10395 else
   10396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10397 for as_dir in $PATH
   10398 do
   10399   IFS=$as_save_IFS
   10400   case $as_dir in #(((
   10401     '') as_dir=./ ;;
   10402     */) ;;
   10403     *) as_dir=$as_dir/ ;;
   10404   esac
   10405     for ac_exec_ext in '' $ac_executable_extensions; do
   10406   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10407     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   10408     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10409     break 2
   10410   fi
   10411 done
   10412   done
   10413 IFS=$as_save_IFS
   10414 
   10415 fi ;;
   10416 esac
   10417 fi
   10418 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   10419 if test -n "$ac_ct_DLLTOOL"; then
   10420   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   10421 printf '%s\n' "$ac_ct_DLLTOOL" >&6; }
   10422 else
   10423   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10424 printf '%s\n' "no" >&6; }
   10425 fi
   10426 
   10427   if test "x$ac_ct_DLLTOOL" = x; then
   10428     DLLTOOL="false"
   10429   else
   10430     case $cross_compiling:$ac_tool_warned in
   10431 yes:)
   10432 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10433 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10434 ac_tool_warned=yes ;;
   10435 esac
   10436     DLLTOOL=$ac_ct_DLLTOOL
   10437   fi
   10438 else
   10439   DLLTOOL="$ac_cv_prog_DLLTOOL"
   10440 fi
   10441 
   10442 test -z "$DLLTOOL" && DLLTOOL=dlltool
   10443 
   10444 
   10445 
   10446 
   10447 
   10448 
   10449 
   10450 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   10451 printf %s "checking how to associate runtime and link libraries... " >&6; }
   10452 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   10453 then :
   10454   printf %s "(cached) " >&6
   10455 else case e in #(
   10456   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   10457 
   10458 case $host_os in
   10459 cygwin* | mingw* | windows* | pw32* | cegcc*)
   10460   # two different shell functions defined in ltmain.sh;
   10461   # decide which one to use based on capabilities of $DLLTOOL
   10462   case `$DLLTOOL --help 2>&1` in
   10463   *--identify-strict*)
   10464     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   10465     ;;
   10466   *)
   10467     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   10468     ;;
   10469   esac
   10470   ;;
   10471 *)
   10472   # fallback: assume linklib IS sharedlib
   10473   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   10474   ;;
   10475 esac
   10476  ;;
   10477 esac
   10478 fi
   10479 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   10480 printf '%s\n' "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   10481 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   10482 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 
   10489 
   10490 if test -n "$ac_tool_prefix"; then
   10491   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   10492 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   10493 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10494 printf %s "checking for $ac_word... " >&6; }
   10495 if test ${ac_cv_prog_RANLIB+y}
   10496 then :
   10497   printf %s "(cached) " >&6
   10498 else case e in #(
   10499   e) if test -n "$RANLIB"; then
   10500   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   10501 else
   10502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10503 for as_dir in $PATH
   10504 do
   10505   IFS=$as_save_IFS
   10506   case $as_dir in #(((
   10507     '') as_dir=./ ;;
   10508     */) ;;
   10509     *) as_dir=$as_dir/ ;;
   10510   esac
   10511     for ac_exec_ext in '' $ac_executable_extensions; do
   10512   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10513     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   10514     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10515     break 2
   10516   fi
   10517 done
   10518   done
   10519 IFS=$as_save_IFS
   10520 
   10521 fi ;;
   10522 esac
   10523 fi
   10524 RANLIB=$ac_cv_prog_RANLIB
   10525 if test -n "$RANLIB"; then
   10526   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   10527 printf '%s\n' "$RANLIB" >&6; }
   10528 else
   10529   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10530 printf '%s\n' "no" >&6; }
   10531 fi
   10532 
   10533 
   10534 fi
   10535 if test -z "$ac_cv_prog_RANLIB"; then
   10536   ac_ct_RANLIB=$RANLIB
   10537   # Extract the first word of "ranlib", so it can be a program name with args.
   10538 set dummy ranlib; ac_word=$2
   10539 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10540 printf %s "checking for $ac_word... " >&6; }
   10541 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   10542 then :
   10543   printf %s "(cached) " >&6
   10544 else case e in #(
   10545   e) if test -n "$ac_ct_RANLIB"; then
   10546   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   10547 else
   10548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10549 for as_dir in $PATH
   10550 do
   10551   IFS=$as_save_IFS
   10552   case $as_dir in #(((
   10553     '') as_dir=./ ;;
   10554     */) ;;
   10555     *) as_dir=$as_dir/ ;;
   10556   esac
   10557     for ac_exec_ext in '' $ac_executable_extensions; do
   10558   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10559     ac_cv_prog_ac_ct_RANLIB="ranlib"
   10560     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10561     break 2
   10562   fi
   10563 done
   10564   done
   10565 IFS=$as_save_IFS
   10566 
   10567 fi ;;
   10568 esac
   10569 fi
   10570 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   10571 if test -n "$ac_ct_RANLIB"; then
   10572   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   10573 printf '%s\n' "$ac_ct_RANLIB" >&6; }
   10574 else
   10575   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10576 printf '%s\n' "no" >&6; }
   10577 fi
   10578 
   10579   if test "x$ac_ct_RANLIB" = x; then
   10580     RANLIB=":"
   10581   else
   10582     case $cross_compiling:$ac_tool_warned in
   10583 yes:)
   10584 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10585 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10586 ac_tool_warned=yes ;;
   10587 esac
   10588     RANLIB=$ac_ct_RANLIB
   10589   fi
   10590 else
   10591   RANLIB="$ac_cv_prog_RANLIB"
   10592 fi
   10593 
   10594 if test -n "$ac_tool_prefix"; then
   10595   for ac_prog in ar
   10596   do
   10597     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   10598 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   10599 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10600 printf %s "checking for $ac_word... " >&6; }
   10601 if test ${ac_cv_prog_AR+y}
   10602 then :
   10603   printf %s "(cached) " >&6
   10604 else case e in #(
   10605   e) if test -n "$AR"; then
   10606   ac_cv_prog_AR="$AR" # Let the user override the test.
   10607 else
   10608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10609 for as_dir in $PATH
   10610 do
   10611   IFS=$as_save_IFS
   10612   case $as_dir in #(((
   10613     '') as_dir=./ ;;
   10614     */) ;;
   10615     *) as_dir=$as_dir/ ;;
   10616   esac
   10617     for ac_exec_ext in '' $ac_executable_extensions; do
   10618   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10619     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   10620     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10621     break 2
   10622   fi
   10623 done
   10624   done
   10625 IFS=$as_save_IFS
   10626 
   10627 fi ;;
   10628 esac
   10629 fi
   10630 AR=$ac_cv_prog_AR
   10631 if test -n "$AR"; then
   10632   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   10633 printf '%s\n' "$AR" >&6; }
   10634 else
   10635   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10636 printf '%s\n' "no" >&6; }
   10637 fi
   10638 
   10639 
   10640     test -n "$AR" && break
   10641   done
   10642 fi
   10643 if test -z "$AR"; then
   10644   ac_ct_AR=$AR
   10645   for ac_prog in ar
   10646 do
   10647   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10648 set dummy $ac_prog; ac_word=$2
   10649 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10650 printf %s "checking for $ac_word... " >&6; }
   10651 if test ${ac_cv_prog_ac_ct_AR+y}
   10652 then :
   10653   printf %s "(cached) " >&6
   10654 else case e in #(
   10655   e) if test -n "$ac_ct_AR"; then
   10656   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   10657 else
   10658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10659 for as_dir in $PATH
   10660 do
   10661   IFS=$as_save_IFS
   10662   case $as_dir in #(((
   10663     '') as_dir=./ ;;
   10664     */) ;;
   10665     *) as_dir=$as_dir/ ;;
   10666   esac
   10667     for ac_exec_ext in '' $ac_executable_extensions; do
   10668   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10669     ac_cv_prog_ac_ct_AR="$ac_prog"
   10670     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10671     break 2
   10672   fi
   10673 done
   10674   done
   10675 IFS=$as_save_IFS
   10676 
   10677 fi ;;
   10678 esac
   10679 fi
   10680 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   10681 if test -n "$ac_ct_AR"; then
   10682   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   10683 printf '%s\n' "$ac_ct_AR" >&6; }
   10684 else
   10685   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10686 printf '%s\n' "no" >&6; }
   10687 fi
   10688 
   10689 
   10690   test -n "$ac_ct_AR" && break
   10691 done
   10692 
   10693   if test "x$ac_ct_AR" = x; then
   10694     AR="false"
   10695   else
   10696     case $cross_compiling:$ac_tool_warned in
   10697 yes:)
   10698 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10699 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10700 ac_tool_warned=yes ;;
   10701 esac
   10702     AR=$ac_ct_AR
   10703   fi
   10704 fi
   10705 
   10706 : ${AR=ar}
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   10714 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   10715 # higher priority because that's what people were doing historically (setting
   10716 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   10717 # variable obsoleted/removed.
   10718 
   10719 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   10720 lt_ar_flags=$AR_FLAGS
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   10728 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   10736 printf %s "checking for archiver @FILE support... " >&6; }
   10737 if test ${lt_cv_ar_at_file+y}
   10738 then :
   10739   printf %s "(cached) " >&6
   10740 else case e in #(
   10741   e) lt_cv_ar_at_file=no
   10742    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10743 /* end confdefs.h.  */
   10744 
   10745 int
   10746 main (void)
   10747 {
   10748 
   10749   ;
   10750   return 0;
   10751 }
   10752 _ACEOF
   10753 if ac_fn_c_try_compile "$LINENO"
   10754 then :
   10755   echo conftest.$ac_objext > conftest.lst
   10756       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   10757       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   10758   (eval $lt_ar_try) 2>&5
   10759   ac_status=$?
   10760   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10761   test $ac_status = 0; }
   10762       if test 0 -eq "$ac_status"; then
   10763 	# Ensure the archiver fails upon bogus file names.
   10764 	rm -f conftest.$ac_objext libconftest.a
   10765 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   10766   (eval $lt_ar_try) 2>&5
   10767   ac_status=$?
   10768   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10769   test $ac_status = 0; }
   10770 	if test 0 -ne "$ac_status"; then
   10771           lt_cv_ar_at_file=@
   10772         fi
   10773       fi
   10774       rm -f conftest.* libconftest.a
   10775 
   10776 fi
   10777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10778    ;;
   10779 esac
   10780 fi
   10781 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   10782 printf '%s\n' "$lt_cv_ar_at_file" >&6; }
   10783 
   10784 if test no = "$lt_cv_ar_at_file"; then
   10785   archiver_list_spec=
   10786 else
   10787   archiver_list_spec=$lt_cv_ar_at_file
   10788 fi
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 if test -n "$ac_tool_prefix"; then
   10797   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   10798 set dummy ${ac_tool_prefix}strip; ac_word=$2
   10799 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10800 printf %s "checking for $ac_word... " >&6; }
   10801 if test ${ac_cv_prog_STRIP+y}
   10802 then :
   10803   printf %s "(cached) " >&6
   10804 else case e in #(
   10805   e) if test -n "$STRIP"; then
   10806   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   10807 else
   10808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10809 for as_dir in $PATH
   10810 do
   10811   IFS=$as_save_IFS
   10812   case $as_dir in #(((
   10813     '') as_dir=./ ;;
   10814     */) ;;
   10815     *) as_dir=$as_dir/ ;;
   10816   esac
   10817     for ac_exec_ext in '' $ac_executable_extensions; do
   10818   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10819     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   10820     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10821     break 2
   10822   fi
   10823 done
   10824   done
   10825 IFS=$as_save_IFS
   10826 
   10827 fi ;;
   10828 esac
   10829 fi
   10830 STRIP=$ac_cv_prog_STRIP
   10831 if test -n "$STRIP"; then
   10832   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   10833 printf '%s\n' "$STRIP" >&6; }
   10834 else
   10835   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10836 printf '%s\n' "no" >&6; }
   10837 fi
   10838 
   10839 
   10840 fi
   10841 if test -z "$ac_cv_prog_STRIP"; then
   10842   ac_ct_STRIP=$STRIP
   10843   # Extract the first word of "strip", so it can be a program name with args.
   10844 set dummy strip; ac_word=$2
   10845 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10846 printf %s "checking for $ac_word... " >&6; }
   10847 if test ${ac_cv_prog_ac_ct_STRIP+y}
   10848 then :
   10849   printf %s "(cached) " >&6
   10850 else case e in #(
   10851   e) if test -n "$ac_ct_STRIP"; then
   10852   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   10853 else
   10854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10855 for as_dir in $PATH
   10856 do
   10857   IFS=$as_save_IFS
   10858   case $as_dir in #(((
   10859     '') as_dir=./ ;;
   10860     */) ;;
   10861     *) as_dir=$as_dir/ ;;
   10862   esac
   10863     for ac_exec_ext in '' $ac_executable_extensions; do
   10864   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10865     ac_cv_prog_ac_ct_STRIP="strip"
   10866     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10867     break 2
   10868   fi
   10869 done
   10870   done
   10871 IFS=$as_save_IFS
   10872 
   10873 fi ;;
   10874 esac
   10875 fi
   10876 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   10877 if test -n "$ac_ct_STRIP"; then
   10878   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   10879 printf '%s\n' "$ac_ct_STRIP" >&6; }
   10880 else
   10881   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10882 printf '%s\n' "no" >&6; }
   10883 fi
   10884 
   10885   if test "x$ac_ct_STRIP" = x; then
   10886     STRIP=":"
   10887   else
   10888     case $cross_compiling:$ac_tool_warned in
   10889 yes:)
   10890 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10891 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10892 ac_tool_warned=yes ;;
   10893 esac
   10894     STRIP=$ac_ct_STRIP
   10895   fi
   10896 else
   10897   STRIP="$ac_cv_prog_STRIP"
   10898 fi
   10899 
   10900 test -z "$STRIP" && STRIP=:
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 test -z "$RANLIB" && RANLIB=:
   10909 
   10910 
   10911 
   10912 
   10913 
   10914 
   10915 # Determine commands to create old-style static archives.
   10916 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   10917 old_postinstall_cmds='chmod 644 $oldlib'
   10918 old_postuninstall_cmds=
   10919 
   10920 if test -n "$RANLIB"; then
   10921   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   10922   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   10923 fi
   10924 
   10925 case $host_os in
   10926   darwin*)
   10927     lock_old_archive_extraction=yes ;;
   10928   *)
   10929     lock_old_archive_extraction=no ;;
   10930 esac
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 # If no C compiler was specified, use CC.
   10971 LTCC=${LTCC-"$CC"}
   10972 
   10973 # If no C compiler flags were specified, use CFLAGS.
   10974 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10975 
   10976 # Allow CC to be a program name with arguments.
   10977 compiler=$CC
   10978 
   10979 
   10980 # Check for command to grab the raw symbol name followed by C symbol from nm.
   10981 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   10982 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   10983 if test ${lt_cv_sys_global_symbol_pipe+y}
   10984 then :
   10985   printf %s "(cached) " >&6
   10986 else case e in #(
   10987   e)
   10988 # These are sane defaults that work on at least a few old systems.
   10989 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   10990 
   10991 # Character class describing NM global symbol codes.
   10992 symcode='[BCDEGRST]'
   10993 
   10994 # Regexp to match symbols that can be accessed directly from C.
   10995 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   10996 
   10997 # Define system-specific variables.
   10998 case $host_os in
   10999 aix*)
   11000   symcode='[BCDT]'
   11001   ;;
   11002 cygwin* | mingw* | windows* | pw32* | cegcc*)
   11003   symcode='[ABCDGISTW]'
   11004   ;;
   11005 hpux*)
   11006   if test ia64 = "$host_cpu"; then
   11007     symcode='[ABCDEGRST]'
   11008   fi
   11009   ;;
   11010 irix* | nonstopux*)
   11011   symcode='[BCDEGRST]'
   11012   ;;
   11013 osf*)
   11014   symcode='[BCDEGQRST]'
   11015   ;;
   11016 solaris*)
   11017   symcode='[BCDRT]'
   11018   ;;
   11019 sco3.2v5*)
   11020   symcode='[DT]'
   11021   ;;
   11022 sysv4.2uw2*)
   11023   symcode='[DT]'
   11024   ;;
   11025 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   11026   symcode='[ABDT]'
   11027   ;;
   11028 sysv4)
   11029   symcode='[DFNSTU]'
   11030   ;;
   11031 esac
   11032 
   11033 # If we're using GNU nm, then use its standard symbol codes.
   11034 case `$NM -V 2>&1` in
   11035 *GNU* | *'with BFD'*)
   11036   symcode='[ABCDGIRSTW]' ;;
   11037 esac
   11038 
   11039 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   11040   # Gets list of data symbols to import.
   11041   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/\1/p'"
   11042   # Adjust the below global symbol transforms to fixup imported variables.
   11043   lt_cdecl_hook=" -e 's/^I .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/extern __declspec(dllimport) char \1;/p'"
   11044   lt_c_name_hook=" -e 's/^I .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"\1\", (void *) 0},/p'"
   11045   lt_c_name_lib_hook="\
   11046   -e 's/^I .* \(lib[a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"\1\", (void *) 0},/p'\
   11047   -e 's/^I .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"lib\1\", (void *) 0},/p'"
   11048 else
   11049   # Disable hooks by default.
   11050   lt_cv_sys_global_symbol_to_import=
   11051   lt_cdecl_hook=
   11052   lt_c_name_hook=
   11053   lt_c_name_lib_hook=
   11054 fi
   11055 
   11056 # Transform an extracted symbol line into a proper C declaration.
   11057 # Some systems (esp. on ia64) link data and code symbols differently,
   11058 # so use this general approach.
   11059 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   11060 $lt_cdecl_hook\
   11061 " -e 's/^T .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/extern int \1();/p'"\
   11062 " -e 's/^$symcode$symcode* .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/extern char \1;/p'"
   11063 
   11064 # Transform an extracted symbol line into symbol name and symbol address
   11065 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   11066 $lt_c_name_hook\
   11067 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   11068 " -e 's/^$symcode$symcode* .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"\1\", (void *) \&\1},/p'"
   11069 
   11070 # Transform an extracted symbol line into symbol name with lib prefix and
   11071 # symbol address.
   11072 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   11073 $lt_c_name_lib_hook\
   11074 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   11075 " -e 's/^$symcode$symcode* .* \(lib[a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"\1\", (void *) \&\1},/p'"\
   11076 " -e 's/^$symcode$symcode* .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   11077 
   11078 # Handle CRLF in mingw tool chain
   11079 opt_cr=
   11080 case $build_os in
   11081 mingw* | windows*)
   11082   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   11083   ;;
   11084 esac
   11085 
   11086 # Try without a prefix underscore, then with it.
   11087 for ac_symprfx in "" "_"; do
   11088 
   11089   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   11090   symxfrm="\\1 $ac_symprfx\\2 \\2"
   11091 
   11092   # Write the raw and C identifiers.
   11093   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   11094     # Fake it for dumpbin and say T for any non-static function,
   11095     # D for any global variable and I for any imported variable.
   11096     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   11097     # which start with @ or ?.  And Cygwin gawk-4.1.4-3 and newer
   11098     # treats input as binary, have to drop carriage return first.
   11099     lt_cv_sys_global_symbol_pipe="$AWK '"\
   11100 "     {sub(/\\r\$/,\"\")};"\
   11101 "     {last_section=section; section=\$ 3};"\
   11102 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   11103 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   11104 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   11105 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   11106 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   11107 "     \$ 0!~/External *\|/{next};"\
   11108 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   11109 "     {if(hide[section]) next};"\
   11110 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   11111 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   11112 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   11113 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   11114 "     ' prfx=^$ac_symprfx"
   11115   else
   11116     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   11117   fi
   11118   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   11119 
   11120   # Check to see that the pipe works correctly.
   11121   pipe_works=no
   11122 
   11123   rm -f conftest*
   11124   cat > conftest.$ac_ext <<_LT_EOF
   11125 #ifdef __cplusplus
   11126 extern "C" {
   11127 #endif
   11128 char nm_test_var;
   11129 void nm_test_func(void);
   11130 void nm_test_func(void){}
   11131 #ifdef __cplusplus
   11132 }
   11133 #endif
   11134 int main(void){nm_test_var='a';nm_test_func();return(0);}
   11135 _LT_EOF
   11136 
   11137   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11138   (eval $ac_compile) 2>&5
   11139   ac_status=$?
   11140   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11141   test $ac_status = 0; }; then
   11142     # Now try to grab the symbols.
   11143     nlist=conftest.nm
   11144     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   11145     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   11146       # Try sorting and uniquifying the output.
   11147       if sort "$nlist" | uniq > "$nlist"T; then
   11148 	mv -f "$nlist"T "$nlist"
   11149       else
   11150 	rm -f "$nlist"T
   11151       fi
   11152 
   11153       # Make sure that we snagged all the symbols we need.
   11154       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   11155 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   11156 	  cat <<_LT_EOF > conftest.$ac_ext
   11157 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   11158 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   11159 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   11160    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   11161 # define LT_DLSYM_CONST
   11162 #elif defined __osf__
   11163 /* This system does not cope well with relocations in const data.  */
   11164 # define LT_DLSYM_CONST
   11165 #else
   11166 # define LT_DLSYM_CONST const
   11167 #endif
   11168 
   11169 #ifdef __cplusplus
   11170 extern "C" {
   11171 #endif
   11172 
   11173 _LT_EOF
   11174 	  # Now generate the symbol file.
   11175 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   11176 
   11177 	  cat <<_LT_EOF >> conftest.$ac_ext
   11178 
   11179 /* The mapping between symbol names and symbols.  */
   11180 LT_DLSYM_CONST struct {
   11181   const char *name;
   11182   void       *address;
   11183 }
   11184 lt__PROGRAM__LTX_preloaded_symbols[] =
   11185 {
   11186   { "@PROGRAM@", (void *) 0 },
   11187 _LT_EOF
   11188 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   11189 	  cat <<\_LT_EOF >> conftest.$ac_ext
   11190   {0, (void *) 0}
   11191 };
   11192 
   11193 /* This works around a problem in FreeBSD linker */
   11194 #ifdef FREEBSD_WORKAROUND
   11195 static const void *lt_preloaded_setup() {
   11196   return lt__PROGRAM__LTX_preloaded_symbols;
   11197 }
   11198 #endif
   11199 
   11200 #ifdef __cplusplus
   11201 }
   11202 #endif
   11203 _LT_EOF
   11204 	  # Now try linking the two files.
   11205 	  mv conftest.$ac_objext conftstm.$ac_objext
   11206 	  lt_globsym_save_LIBS=$LIBS
   11207 	  lt_globsym_save_CFLAGS=$CFLAGS
   11208 	  LIBS=conftstm.$ac_objext
   11209 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   11210 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11211   (eval $ac_link) 2>&5
   11212   ac_status=$?
   11213   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11214   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   11215 	    pipe_works=yes
   11216 	  fi
   11217 	  LIBS=$lt_globsym_save_LIBS
   11218 	  CFLAGS=$lt_globsym_save_CFLAGS
   11219 	else
   11220 	  echo "cannot find nm_test_func in $nlist" >&5
   11221 	fi
   11222       else
   11223 	echo "cannot find nm_test_var in $nlist" >&5
   11224       fi
   11225     else
   11226       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   11227     fi
   11228   else
   11229     echo "$progname: failed program was:" >&5
   11230     cat conftest.$ac_ext >&5
   11231   fi
   11232   rm -rf conftest* conftst*
   11233 
   11234   # Do not use the global_symbol_pipe unless it works.
   11235   if test yes = "$pipe_works"; then
   11236     break
   11237   else
   11238     lt_cv_sys_global_symbol_pipe=
   11239   fi
   11240 done
   11241  ;;
   11242 esac
   11243 fi
   11244 
   11245 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   11246   lt_cv_sys_global_symbol_to_cdecl=
   11247 fi
   11248 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   11249   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   11250 printf '%s\n' "failed" >&6; }
   11251 else
   11252   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   11253 printf '%s\n' "ok" >&6; }
   11254 fi
   11255 
   11256 # Response file support.
   11257 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   11258   nm_file_list_spec='@'
   11259 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   11260   nm_file_list_spec='@'
   11261 fi
   11262 
   11263 
   11264 
   11265 
   11266 
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 
   11276 
   11277 
   11278 
   11279 
   11280 
   11281 
   11282 
   11283 
   11284 
   11285 
   11286 
   11287 
   11288 
   11289 
   11290 
   11291 
   11292 
   11293 
   11294 
   11295 
   11296 
   11297 
   11298 
   11299 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   11300 printf %s "checking for sysroot... " >&6; }
   11301 
   11302 # Check whether --with-sysroot was given.
   11303 if test ${with_sysroot+y}
   11304 then :
   11305   withval=$with_sysroot;
   11306 else case e in #(
   11307   e) with_sysroot=no ;;
   11308 esac
   11309 fi
   11310 
   11311 
   11312 lt_sysroot=
   11313 case $with_sysroot in #(
   11314  yes)
   11315    if test yes = "$GCC"; then
   11316      # Trim trailing / since we'll always append absolute paths and we want
   11317      # to avoid //, if only for less confusing output for the user.
   11318      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
   11319    fi
   11320    ;; #(
   11321  /*)
   11322    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   11323    ;; #(
   11324  no|'')
   11325    ;; #(
   11326  *)
   11327    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   11328 printf '%s\n' "$with_sysroot" >&6; }
   11329    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   11330    ;;
   11331 esac
   11332 
   11333  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   11334 printf '%s\n' "${lt_sysroot:-no}" >&6; }
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   11341 printf %s "checking for a working dd... " >&6; }
   11342 if test ${ac_cv_path_lt_DD+y}
   11343 then :
   11344   printf %s "(cached) " >&6
   11345 else case e in #(
   11346   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   11347 cat conftest.i conftest.i >conftest2.i
   11348 : ${lt_DD:=$DD}
   11349 if test -z "$lt_DD"; then
   11350   ac_path_lt_DD_found=false
   11351   # Loop through the user's path and test for each of PROGNAME-LIST
   11352   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11353 for as_dir in $PATH
   11354 do
   11355   IFS=$as_save_IFS
   11356   case $as_dir in #(((
   11357     '') as_dir=./ ;;
   11358     */) ;;
   11359     *) as_dir=$as_dir/ ;;
   11360   esac
   11361     for ac_prog in dd
   11362    do
   11363     for ac_exec_ext in '' $ac_executable_extensions; do
   11364       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   11365       as_fn_executable_p "$ac_path_lt_DD" || continue
   11366 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   11367   cmp -s conftest.i conftest.out \
   11368   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   11369 fi
   11370       $ac_path_lt_DD_found && break 3
   11371     done
   11372   done
   11373   done
   11374 IFS=$as_save_IFS
   11375   if test -z "$ac_cv_path_lt_DD"; then
   11376     :
   11377   fi
   11378 else
   11379   ac_cv_path_lt_DD=$lt_DD
   11380 fi
   11381 
   11382 rm -f conftest.i conftest2.i conftest.out ;;
   11383 esac
   11384 fi
   11385 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   11386 printf '%s\n' "$ac_cv_path_lt_DD" >&6; }
   11387 
   11388 
   11389 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   11390 printf %s "checking how to truncate binary pipes... " >&6; }
   11391 if test ${lt_cv_truncate_bin+y}
   11392 then :
   11393   printf %s "(cached) " >&6
   11394 else case e in #(
   11395   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   11396 cat conftest.i conftest.i >conftest2.i
   11397 lt_cv_truncate_bin=
   11398 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   11399   cmp -s conftest.i conftest.out \
   11400   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   11401 fi
   11402 rm -f conftest.i conftest2.i conftest.out
   11403 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   11404 esac
   11405 fi
   11406 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   11407 printf '%s\n' "$lt_cv_truncate_bin" >&6; }
   11408 
   11409 
   11410 
   11411 
   11412 
   11413 
   11414 
   11415 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   11416 func_cc_basename ()
   11417 {
   11418     for cc_temp in $*""; do
   11419       case $cc_temp in
   11420         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11421         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11422         \-*) ;;
   11423         *) break;;
   11424       esac
   11425     done
   11426     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   11427 }
   11428 
   11429 # Check whether --enable-libtool-lock was given.
   11430 if test ${enable_libtool_lock+y}
   11431 then :
   11432   enableval=$enable_libtool_lock;
   11433 fi
   11434 
   11435 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   11436 
   11437 # Some flags need to be propagated to the compiler or linker for good
   11438 # libtool support.
   11439 case $host in
   11440 ia64-*-hpux*)
   11441   # Find out what ABI is being produced by ac_compile, and set mode
   11442   # options accordingly.
   11443   echo 'int i;' > conftest.$ac_ext
   11444   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11445   (eval $ac_compile) 2>&5
   11446   ac_status=$?
   11447   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11448   test $ac_status = 0; }; then
   11449     case `$FILECMD conftest.$ac_objext` in
   11450       *ELF-32*)
   11451 	HPUX_IA64_MODE=32
   11452 	;;
   11453       *ELF-64*)
   11454 	HPUX_IA64_MODE=64
   11455 	;;
   11456     esac
   11457   fi
   11458   rm -rf conftest*
   11459   ;;
   11460 *-*-irix6*)
   11461   # Find out what ABI is being produced by ac_compile, and set linker
   11462   # options accordingly.
   11463   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   11464   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11465   (eval $ac_compile) 2>&5
   11466   ac_status=$?
   11467   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11468   test $ac_status = 0; }; then
   11469     if test yes = "$lt_cv_prog_gnu_ld"; then
   11470       case `$FILECMD conftest.$ac_objext` in
   11471 	*32-bit*)
   11472 	  LD="${LD-ld} -melf32bsmip"
   11473 	  ;;
   11474 	*N32*)
   11475 	  LD="${LD-ld} -melf32bmipn32"
   11476 	  ;;
   11477 	*64-bit*)
   11478 	  LD="${LD-ld} -melf64bmip"
   11479 	;;
   11480       esac
   11481     else
   11482       case `$FILECMD conftest.$ac_objext` in
   11483 	*32-bit*)
   11484 	  LD="${LD-ld} -32"
   11485 	  ;;
   11486 	*N32*)
   11487 	  LD="${LD-ld} -n32"
   11488 	  ;;
   11489 	*64-bit*)
   11490 	  LD="${LD-ld} -64"
   11491 	  ;;
   11492       esac
   11493     fi
   11494   fi
   11495   rm -rf conftest*
   11496   ;;
   11497 
   11498 mips64*-*linux*)
   11499   # Find out what ABI is being produced by ac_compile, and set linker
   11500   # options accordingly.
   11501   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   11502   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11503   (eval $ac_compile) 2>&5
   11504   ac_status=$?
   11505   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11506   test $ac_status = 0; }; then
   11507     emul=elf
   11508     case `$FILECMD conftest.$ac_objext` in
   11509       *32-bit*)
   11510 	emul="${emul}32"
   11511 	;;
   11512       *64-bit*)
   11513 	emul="${emul}64"
   11514 	;;
   11515     esac
   11516     case `$FILECMD conftest.$ac_objext` in
   11517       *MSB*)
   11518 	emul="${emul}btsmip"
   11519 	;;
   11520       *LSB*)
   11521 	emul="${emul}ltsmip"
   11522 	;;
   11523     esac
   11524     case `$FILECMD conftest.$ac_objext` in
   11525       *N32*)
   11526 	emul="${emul}n32"
   11527 	;;
   11528     esac
   11529     LD="${LD-ld} -m $emul"
   11530   fi
   11531   rm -rf conftest*
   11532   ;;
   11533 
   11534 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   11535 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
   11536   # Find out what ABI is being produced by ac_compile, and set linker
   11537   # options accordingly.  Note that the listed cases only cover the
   11538   # situations where additional linker options are needed (such as when
   11539   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   11540   # vice versa); the common cases where no linker options are needed do
   11541   # not appear in the list.
   11542   echo 'int i;' > conftest.$ac_ext
   11543   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11544   (eval $ac_compile) 2>&5
   11545   ac_status=$?
   11546   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11547   test $ac_status = 0; }; then
   11548     case `$FILECMD conftest.o` in
   11549       *32-bit*)
   11550 	case $host in
   11551 	  x86_64-*kfreebsd*-gnu)
   11552 	    LD="${LD-ld} -m elf_i386_fbsd"
   11553 	    ;;
   11554 	  x86_64-*linux*|x86_64-gnu*)
   11555 	    case `$FILECMD conftest.o` in
   11556 	      *x86-64*)
   11557 		LD="${LD-ld} -m elf32_x86_64"
   11558 		;;
   11559 	      *)
   11560 		LD="${LD-ld} -m elf_i386"
   11561 		;;
   11562 	    esac
   11563 	    ;;
   11564 	  powerpc64le-*linux*)
   11565 	    LD="${LD-ld} -m elf32lppclinux"
   11566 	    ;;
   11567 	  powerpc64-*linux*)
   11568 	    LD="${LD-ld} -m elf32ppclinux"
   11569 	    ;;
   11570 	  s390x-*linux*)
   11571 	    LD="${LD-ld} -m elf_s390"
   11572 	    ;;
   11573 	  sparc64-*linux*)
   11574 	    LD="${LD-ld} -m elf32_sparc"
   11575 	    ;;
   11576 	esac
   11577 	;;
   11578       *64-bit*)
   11579 	case $host in
   11580 	  x86_64-*kfreebsd*-gnu)
   11581 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   11582 	    ;;
   11583 	  x86_64-*linux*|x86_64-gnu*)
   11584 	    LD="${LD-ld} -m elf_x86_64"
   11585 	    ;;
   11586 	  powerpcle-*linux*)
   11587 	    LD="${LD-ld} -m elf64lppc"
   11588 	    ;;
   11589 	  powerpc-*linux*)
   11590 	    LD="${LD-ld} -m elf64ppc"
   11591 	    ;;
   11592 	  s390*-*linux*|s390*-*tpf*)
   11593 	    LD="${LD-ld} -m elf64_s390"
   11594 	    ;;
   11595 	  sparc*-*linux*)
   11596 	    LD="${LD-ld} -m elf64_sparc"
   11597 	    ;;
   11598 	esac
   11599 	;;
   11600     esac
   11601   fi
   11602   rm -rf conftest*
   11603   ;;
   11604 
   11605 *-*-sco3.2v5*)
   11606   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   11607   SAVE_CFLAGS=$CFLAGS
   11608   CFLAGS="$CFLAGS -belf"
   11609   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   11610 printf %s "checking whether the C compiler needs -belf... " >&6; }
   11611 if test ${lt_cv_cc_needs_belf+y}
   11612 then :
   11613   printf %s "(cached) " >&6
   11614 else case e in #(
   11615   e) ac_ext=c
   11616 ac_cpp='$CPP $CPPFLAGS'
   11617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11620 
   11621      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11622 /* end confdefs.h.  */
   11623 
   11624 int
   11625 main (void)
   11626 {
   11627 
   11628   ;
   11629   return 0;
   11630 }
   11631 _ACEOF
   11632 if ac_fn_c_try_link "$LINENO"
   11633 then :
   11634   lt_cv_cc_needs_belf=yes
   11635 else case e in #(
   11636   e) lt_cv_cc_needs_belf=no ;;
   11637 esac
   11638 fi
   11639 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11640     conftest$ac_exeext conftest.$ac_ext
   11641      ac_ext=c
   11642 ac_cpp='$CPP $CPPFLAGS'
   11643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11646  ;;
   11647 esac
   11648 fi
   11649 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   11650 printf '%s\n' "$lt_cv_cc_needs_belf" >&6; }
   11651   if test yes != "$lt_cv_cc_needs_belf"; then
   11652     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   11653     CFLAGS=$SAVE_CFLAGS
   11654   fi
   11655   ;;
   11656 *-*solaris*)
   11657   # Find out what ABI is being produced by ac_compile, and set linker
   11658   # options accordingly.
   11659   echo 'int i;' > conftest.$ac_ext
   11660   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11661   (eval $ac_compile) 2>&5
   11662   ac_status=$?
   11663   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11664   test $ac_status = 0; }; then
   11665     case `$FILECMD conftest.o` in
   11666     *64-bit*)
   11667       case $lt_cv_prog_gnu_ld in
   11668       yes*)
   11669         case $host in
   11670         i?86-*-solaris*|x86_64-*-solaris*)
   11671           LD="${LD-ld} -m elf_x86_64"
   11672           ;;
   11673         sparc*-*-solaris*)
   11674           LD="${LD-ld} -m elf64_sparc"
   11675           ;;
   11676         esac
   11677         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   11678         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   11679           LD=${LD-ld}_sol2
   11680         fi
   11681         ;;
   11682       *)
   11683 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   11684 	  LD="${LD-ld} -64"
   11685 	fi
   11686 	;;
   11687       esac
   11688       ;;
   11689     esac
   11690   fi
   11691   rm -rf conftest*
   11692   ;;
   11693 esac
   11694 
   11695 need_locks=$enable_libtool_lock
   11696 
   11697 if test -n "$ac_tool_prefix"; then
   11698   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   11699 set dummy ${ac_tool_prefix}mt; ac_word=$2
   11700 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11701 printf %s "checking for $ac_word... " >&6; }
   11702 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   11703 then :
   11704   printf %s "(cached) " >&6
   11705 else case e in #(
   11706   e) if test -n "$MANIFEST_TOOL"; then
   11707   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   11708 else
   11709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11710 for as_dir in $PATH
   11711 do
   11712   IFS=$as_save_IFS
   11713   case $as_dir in #(((
   11714     '') as_dir=./ ;;
   11715     */) ;;
   11716     *) as_dir=$as_dir/ ;;
   11717   esac
   11718     for ac_exec_ext in '' $ac_executable_extensions; do
   11719   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11720     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   11721     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11722     break 2
   11723   fi
   11724 done
   11725   done
   11726 IFS=$as_save_IFS
   11727 
   11728 fi ;;
   11729 esac
   11730 fi
   11731 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   11732 if test -n "$MANIFEST_TOOL"; then
   11733   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   11734 printf '%s\n' "$MANIFEST_TOOL" >&6; }
   11735 else
   11736   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11737 printf '%s\n' "no" >&6; }
   11738 fi
   11739 
   11740 
   11741 fi
   11742 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   11743   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   11744   # Extract the first word of "mt", so it can be a program name with args.
   11745 set dummy mt; ac_word=$2
   11746 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11747 printf %s "checking for $ac_word... " >&6; }
   11748 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   11749 then :
   11750   printf %s "(cached) " >&6
   11751 else case e in #(
   11752   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   11753   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   11754 else
   11755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11756 for as_dir in $PATH
   11757 do
   11758   IFS=$as_save_IFS
   11759   case $as_dir in #(((
   11760     '') as_dir=./ ;;
   11761     */) ;;
   11762     *) as_dir=$as_dir/ ;;
   11763   esac
   11764     for ac_exec_ext in '' $ac_executable_extensions; do
   11765   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11766     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   11767     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11768     break 2
   11769   fi
   11770 done
   11771   done
   11772 IFS=$as_save_IFS
   11773 
   11774 fi ;;
   11775 esac
   11776 fi
   11777 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   11778 if test -n "$ac_ct_MANIFEST_TOOL"; then
   11779   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   11780 printf '%s\n' "$ac_ct_MANIFEST_TOOL" >&6; }
   11781 else
   11782   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11783 printf '%s\n' "no" >&6; }
   11784 fi
   11785 
   11786   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   11787     MANIFEST_TOOL=":"
   11788   else
   11789     case $cross_compiling:$ac_tool_warned in
   11790 yes:)
   11791 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11792 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11793 ac_tool_warned=yes ;;
   11794 esac
   11795     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   11796   fi
   11797 else
   11798   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   11799 fi
   11800 
   11801 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   11802 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   11803 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   11804 if test ${lt_cv_path_manifest_tool+y}
   11805 then :
   11806   printf %s "(cached) " >&6
   11807 else case e in #(
   11808   e) lt_cv_path_manifest_tool=no
   11809   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   11810   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   11811   cat conftest.err >&5
   11812   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   11813     lt_cv_path_manifest_tool=yes
   11814   fi
   11815   rm -f conftest* ;;
   11816 esac
   11817 fi
   11818 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
   11819 printf '%s\n' "$lt_cv_path_manifest_tool" >&6; }
   11820 if test yes != "$lt_cv_path_manifest_tool"; then
   11821   MANIFEST_TOOL=:
   11822 fi
   11823 
   11824 
   11825 
   11826 
   11827 
   11828 
   11829   case $host_os in
   11830     rhapsody* | darwin*)
   11831     if test -n "$ac_tool_prefix"; then
   11832   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   11833 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   11834 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11835 printf %s "checking for $ac_word... " >&6; }
   11836 if test ${ac_cv_prog_DSYMUTIL+y}
   11837 then :
   11838   printf %s "(cached) " >&6
   11839 else case e in #(
   11840   e) if test -n "$DSYMUTIL"; then
   11841   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   11842 else
   11843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11844 for as_dir in $PATH
   11845 do
   11846   IFS=$as_save_IFS
   11847   case $as_dir in #(((
   11848     '') as_dir=./ ;;
   11849     */) ;;
   11850     *) as_dir=$as_dir/ ;;
   11851   esac
   11852     for ac_exec_ext in '' $ac_executable_extensions; do
   11853   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11854     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   11855     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11856     break 2
   11857   fi
   11858 done
   11859   done
   11860 IFS=$as_save_IFS
   11861 
   11862 fi ;;
   11863 esac
   11864 fi
   11865 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   11866 if test -n "$DSYMUTIL"; then
   11867   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   11868 printf '%s\n' "$DSYMUTIL" >&6; }
   11869 else
   11870   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11871 printf '%s\n' "no" >&6; }
   11872 fi
   11873 
   11874 
   11875 fi
   11876 if test -z "$ac_cv_prog_DSYMUTIL"; then
   11877   ac_ct_DSYMUTIL=$DSYMUTIL
   11878   # Extract the first word of "dsymutil", so it can be a program name with args.
   11879 set dummy dsymutil; ac_word=$2
   11880 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11881 printf %s "checking for $ac_word... " >&6; }
   11882 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   11883 then :
   11884   printf %s "(cached) " >&6
   11885 else case e in #(
   11886   e) if test -n "$ac_ct_DSYMUTIL"; then
   11887   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   11888 else
   11889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11890 for as_dir in $PATH
   11891 do
   11892   IFS=$as_save_IFS
   11893   case $as_dir in #(((
   11894     '') as_dir=./ ;;
   11895     */) ;;
   11896     *) as_dir=$as_dir/ ;;
   11897   esac
   11898     for ac_exec_ext in '' $ac_executable_extensions; do
   11899   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11900     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   11901     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11902     break 2
   11903   fi
   11904 done
   11905   done
   11906 IFS=$as_save_IFS
   11907 
   11908 fi ;;
   11909 esac
   11910 fi
   11911 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   11912 if test -n "$ac_ct_DSYMUTIL"; then
   11913   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   11914 printf '%s\n' "$ac_ct_DSYMUTIL" >&6; }
   11915 else
   11916   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11917 printf '%s\n' "no" >&6; }
   11918 fi
   11919 
   11920   if test "x$ac_ct_DSYMUTIL" = x; then
   11921     DSYMUTIL=":"
   11922   else
   11923     case $cross_compiling:$ac_tool_warned in
   11924 yes:)
   11925 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11926 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11927 ac_tool_warned=yes ;;
   11928 esac
   11929     DSYMUTIL=$ac_ct_DSYMUTIL
   11930   fi
   11931 else
   11932   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   11933 fi
   11934 
   11935     if test -n "$ac_tool_prefix"; then
   11936   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   11937 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   11938 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11939 printf %s "checking for $ac_word... " >&6; }
   11940 if test ${ac_cv_prog_NMEDIT+y}
   11941 then :
   11942   printf %s "(cached) " >&6
   11943 else case e in #(
   11944   e) if test -n "$NMEDIT"; then
   11945   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   11946 else
   11947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11948 for as_dir in $PATH
   11949 do
   11950   IFS=$as_save_IFS
   11951   case $as_dir in #(((
   11952     '') as_dir=./ ;;
   11953     */) ;;
   11954     *) as_dir=$as_dir/ ;;
   11955   esac
   11956     for ac_exec_ext in '' $ac_executable_extensions; do
   11957   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11958     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   11959     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11960     break 2
   11961   fi
   11962 done
   11963   done
   11964 IFS=$as_save_IFS
   11965 
   11966 fi ;;
   11967 esac
   11968 fi
   11969 NMEDIT=$ac_cv_prog_NMEDIT
   11970 if test -n "$NMEDIT"; then
   11971   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   11972 printf '%s\n' "$NMEDIT" >&6; }
   11973 else
   11974   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11975 printf '%s\n' "no" >&6; }
   11976 fi
   11977 
   11978 
   11979 fi
   11980 if test -z "$ac_cv_prog_NMEDIT"; then
   11981   ac_ct_NMEDIT=$NMEDIT
   11982   # Extract the first word of "nmedit", so it can be a program name with args.
   11983 set dummy nmedit; ac_word=$2
   11984 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11985 printf %s "checking for $ac_word... " >&6; }
   11986 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   11987 then :
   11988   printf %s "(cached) " >&6
   11989 else case e in #(
   11990   e) if test -n "$ac_ct_NMEDIT"; then
   11991   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   11992 else
   11993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11994 for as_dir in $PATH
   11995 do
   11996   IFS=$as_save_IFS
   11997   case $as_dir in #(((
   11998     '') as_dir=./ ;;
   11999     */) ;;
   12000     *) as_dir=$as_dir/ ;;
   12001   esac
   12002     for ac_exec_ext in '' $ac_executable_extensions; do
   12003   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12004     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   12005     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12006     break 2
   12007   fi
   12008 done
   12009   done
   12010 IFS=$as_save_IFS
   12011 
   12012 fi ;;
   12013 esac
   12014 fi
   12015 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   12016 if test -n "$ac_ct_NMEDIT"; then
   12017   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   12018 printf '%s\n' "$ac_ct_NMEDIT" >&6; }
   12019 else
   12020   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12021 printf '%s\n' "no" >&6; }
   12022 fi
   12023 
   12024   if test "x$ac_ct_NMEDIT" = x; then
   12025     NMEDIT=":"
   12026   else
   12027     case $cross_compiling:$ac_tool_warned in
   12028 yes:)
   12029 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12030 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12031 ac_tool_warned=yes ;;
   12032 esac
   12033     NMEDIT=$ac_ct_NMEDIT
   12034   fi
   12035 else
   12036   NMEDIT="$ac_cv_prog_NMEDIT"
   12037 fi
   12038 
   12039     if test -n "$ac_tool_prefix"; then
   12040   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   12041 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   12042 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12043 printf %s "checking for $ac_word... " >&6; }
   12044 if test ${ac_cv_prog_LIPO+y}
   12045 then :
   12046   printf %s "(cached) " >&6
   12047 else case e in #(
   12048   e) if test -n "$LIPO"; then
   12049   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   12050 else
   12051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12052 for as_dir in $PATH
   12053 do
   12054   IFS=$as_save_IFS
   12055   case $as_dir in #(((
   12056     '') as_dir=./ ;;
   12057     */) ;;
   12058     *) as_dir=$as_dir/ ;;
   12059   esac
   12060     for ac_exec_ext in '' $ac_executable_extensions; do
   12061   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12062     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   12063     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12064     break 2
   12065   fi
   12066 done
   12067   done
   12068 IFS=$as_save_IFS
   12069 
   12070 fi ;;
   12071 esac
   12072 fi
   12073 LIPO=$ac_cv_prog_LIPO
   12074 if test -n "$LIPO"; then
   12075   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   12076 printf '%s\n' "$LIPO" >&6; }
   12077 else
   12078   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12079 printf '%s\n' "no" >&6; }
   12080 fi
   12081 
   12082 
   12083 fi
   12084 if test -z "$ac_cv_prog_LIPO"; then
   12085   ac_ct_LIPO=$LIPO
   12086   # Extract the first word of "lipo", so it can be a program name with args.
   12087 set dummy lipo; ac_word=$2
   12088 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12089 printf %s "checking for $ac_word... " >&6; }
   12090 if test ${ac_cv_prog_ac_ct_LIPO+y}
   12091 then :
   12092   printf %s "(cached) " >&6
   12093 else case e in #(
   12094   e) if test -n "$ac_ct_LIPO"; then
   12095   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   12096 else
   12097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12098 for as_dir in $PATH
   12099 do
   12100   IFS=$as_save_IFS
   12101   case $as_dir in #(((
   12102     '') as_dir=./ ;;
   12103     */) ;;
   12104     *) as_dir=$as_dir/ ;;
   12105   esac
   12106     for ac_exec_ext in '' $ac_executable_extensions; do
   12107   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12108     ac_cv_prog_ac_ct_LIPO="lipo"
   12109     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12110     break 2
   12111   fi
   12112 done
   12113   done
   12114 IFS=$as_save_IFS
   12115 
   12116 fi ;;
   12117 esac
   12118 fi
   12119 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   12120 if test -n "$ac_ct_LIPO"; then
   12121   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   12122 printf '%s\n' "$ac_ct_LIPO" >&6; }
   12123 else
   12124   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12125 printf '%s\n' "no" >&6; }
   12126 fi
   12127 
   12128   if test "x$ac_ct_LIPO" = x; then
   12129     LIPO=":"
   12130   else
   12131     case $cross_compiling:$ac_tool_warned in
   12132 yes:)
   12133 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12134 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12135 ac_tool_warned=yes ;;
   12136 esac
   12137     LIPO=$ac_ct_LIPO
   12138   fi
   12139 else
   12140   LIPO="$ac_cv_prog_LIPO"
   12141 fi
   12142 
   12143     if test -n "$ac_tool_prefix"; then
   12144   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   12145 set dummy ${ac_tool_prefix}otool; ac_word=$2
   12146 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12147 printf %s "checking for $ac_word... " >&6; }
   12148 if test ${ac_cv_prog_OTOOL+y}
   12149 then :
   12150   printf %s "(cached) " >&6
   12151 else case e in #(
   12152   e) if test -n "$OTOOL"; then
   12153   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   12154 else
   12155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12156 for as_dir in $PATH
   12157 do
   12158   IFS=$as_save_IFS
   12159   case $as_dir in #(((
   12160     '') as_dir=./ ;;
   12161     */) ;;
   12162     *) as_dir=$as_dir/ ;;
   12163   esac
   12164     for ac_exec_ext in '' $ac_executable_extensions; do
   12165   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12166     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   12167     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12168     break 2
   12169   fi
   12170 done
   12171   done
   12172 IFS=$as_save_IFS
   12173 
   12174 fi ;;
   12175 esac
   12176 fi
   12177 OTOOL=$ac_cv_prog_OTOOL
   12178 if test -n "$OTOOL"; then
   12179   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   12180 printf '%s\n' "$OTOOL" >&6; }
   12181 else
   12182   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12183 printf '%s\n' "no" >&6; }
   12184 fi
   12185 
   12186 
   12187 fi
   12188 if test -z "$ac_cv_prog_OTOOL"; then
   12189   ac_ct_OTOOL=$OTOOL
   12190   # Extract the first word of "otool", so it can be a program name with args.
   12191 set dummy otool; ac_word=$2
   12192 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12193 printf %s "checking for $ac_word... " >&6; }
   12194 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   12195 then :
   12196   printf %s "(cached) " >&6
   12197 else case e in #(
   12198   e) if test -n "$ac_ct_OTOOL"; then
   12199   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   12200 else
   12201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12202 for as_dir in $PATH
   12203 do
   12204   IFS=$as_save_IFS
   12205   case $as_dir in #(((
   12206     '') as_dir=./ ;;
   12207     */) ;;
   12208     *) as_dir=$as_dir/ ;;
   12209   esac
   12210     for ac_exec_ext in '' $ac_executable_extensions; do
   12211   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12212     ac_cv_prog_ac_ct_OTOOL="otool"
   12213     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12214     break 2
   12215   fi
   12216 done
   12217   done
   12218 IFS=$as_save_IFS
   12219 
   12220 fi ;;
   12221 esac
   12222 fi
   12223 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   12224 if test -n "$ac_ct_OTOOL"; then
   12225   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   12226 printf '%s\n' "$ac_ct_OTOOL" >&6; }
   12227 else
   12228   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12229 printf '%s\n' "no" >&6; }
   12230 fi
   12231 
   12232   if test "x$ac_ct_OTOOL" = x; then
   12233     OTOOL=":"
   12234   else
   12235     case $cross_compiling:$ac_tool_warned in
   12236 yes:)
   12237 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12238 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12239 ac_tool_warned=yes ;;
   12240 esac
   12241     OTOOL=$ac_ct_OTOOL
   12242   fi
   12243 else
   12244   OTOOL="$ac_cv_prog_OTOOL"
   12245 fi
   12246 
   12247     if test -n "$ac_tool_prefix"; then
   12248   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   12249 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   12250 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12251 printf %s "checking for $ac_word... " >&6; }
   12252 if test ${ac_cv_prog_OTOOL64+y}
   12253 then :
   12254   printf %s "(cached) " >&6
   12255 else case e in #(
   12256   e) if test -n "$OTOOL64"; then
   12257   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   12258 else
   12259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12260 for as_dir in $PATH
   12261 do
   12262   IFS=$as_save_IFS
   12263   case $as_dir in #(((
   12264     '') as_dir=./ ;;
   12265     */) ;;
   12266     *) as_dir=$as_dir/ ;;
   12267   esac
   12268     for ac_exec_ext in '' $ac_executable_extensions; do
   12269   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12270     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   12271     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12272     break 2
   12273   fi
   12274 done
   12275   done
   12276 IFS=$as_save_IFS
   12277 
   12278 fi ;;
   12279 esac
   12280 fi
   12281 OTOOL64=$ac_cv_prog_OTOOL64
   12282 if test -n "$OTOOL64"; then
   12283   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   12284 printf '%s\n' "$OTOOL64" >&6; }
   12285 else
   12286   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12287 printf '%s\n' "no" >&6; }
   12288 fi
   12289 
   12290 
   12291 fi
   12292 if test -z "$ac_cv_prog_OTOOL64"; then
   12293   ac_ct_OTOOL64=$OTOOL64
   12294   # Extract the first word of "otool64", so it can be a program name with args.
   12295 set dummy otool64; ac_word=$2
   12296 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12297 printf %s "checking for $ac_word... " >&6; }
   12298 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   12299 then :
   12300   printf %s "(cached) " >&6
   12301 else case e in #(
   12302   e) if test -n "$ac_ct_OTOOL64"; then
   12303   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   12304 else
   12305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12306 for as_dir in $PATH
   12307 do
   12308   IFS=$as_save_IFS
   12309   case $as_dir in #(((
   12310     '') as_dir=./ ;;
   12311     */) ;;
   12312     *) as_dir=$as_dir/ ;;
   12313   esac
   12314     for ac_exec_ext in '' $ac_executable_extensions; do
   12315   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12316     ac_cv_prog_ac_ct_OTOOL64="otool64"
   12317     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12318     break 2
   12319   fi
   12320 done
   12321   done
   12322 IFS=$as_save_IFS
   12323 
   12324 fi ;;
   12325 esac
   12326 fi
   12327 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   12328 if test -n "$ac_ct_OTOOL64"; then
   12329   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   12330 printf '%s\n' "$ac_ct_OTOOL64" >&6; }
   12331 else
   12332   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12333 printf '%s\n' "no" >&6; }
   12334 fi
   12335 
   12336   if test "x$ac_ct_OTOOL64" = x; then
   12337     OTOOL64=":"
   12338   else
   12339     case $cross_compiling:$ac_tool_warned in
   12340 yes:)
   12341 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12342 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12343 ac_tool_warned=yes ;;
   12344 esac
   12345     OTOOL64=$ac_ct_OTOOL64
   12346   fi
   12347 else
   12348   OTOOL64="$ac_cv_prog_OTOOL64"
   12349 fi
   12350 
   12351 
   12352 
   12353 
   12354 
   12355 
   12356 
   12357 
   12358 
   12359 
   12360 
   12361 
   12362 
   12363 
   12364 
   12365 
   12366 
   12367 
   12368 
   12369 
   12370 
   12371 
   12372 
   12373 
   12374 
   12375 
   12376 
   12377     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   12378 printf %s "checking for -single_module linker flag... " >&6; }
   12379 if test ${lt_cv_apple_cc_single_mod+y}
   12380 then :
   12381   printf %s "(cached) " >&6
   12382 else case e in #(
   12383   e) lt_cv_apple_cc_single_mod=no
   12384       if test -z "$LT_MULTI_MODULE"; then
   12385 	# By default we will add the -single_module flag. You can override
   12386 	# by either setting the environment variable LT_MULTI_MODULE
   12387 	# non-empty at configure time, or by adding -multi_module to the
   12388 	# link flags.
   12389 	rm -rf libconftest.dylib*
   12390 	echo "int foo(void){return 1;}" > conftest.c
   12391 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   12392 -dynamiclib -Wl,-single_module conftest.c" >&5
   12393 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   12394 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   12395         _lt_result=$?
   12396 	# If there is a non-empty error log, and "single_module"
   12397 	# appears in it, assume the flag caused a linker warning
   12398         if test -s conftest.err && $GREP single_module conftest.err; then
   12399 	  cat conftest.err >&5
   12400 	# Otherwise, if the output was created with a 0 exit code from
   12401 	# the compiler, it worked.
   12402 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   12403 	  lt_cv_apple_cc_single_mod=yes
   12404 	else
   12405 	  cat conftest.err >&5
   12406 	fi
   12407 	rm -rf libconftest.dylib*
   12408 	rm -f conftest.*
   12409       fi ;;
   12410 esac
   12411 fi
   12412 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   12413 printf '%s\n' "$lt_cv_apple_cc_single_mod" >&6; }
   12414 
   12415     # Feature test to disable chained fixups since it is not
   12416     # compatible with '-undefined dynamic_lookup'
   12417     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
   12418 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
   12419 if test ${lt_cv_support_no_fixup_chains+y}
   12420 then :
   12421   printf %s "(cached) " >&6
   12422 else case e in #(
   12423   e)  save_LDFLAGS=$LDFLAGS
   12424         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
   12425         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12426 /* end confdefs.h.  */
   12427 
   12428 int
   12429 main (void)
   12430 {
   12431 
   12432   ;
   12433   return 0;
   12434 }
   12435 _ACEOF
   12436 if ac_fn_c_try_link "$LINENO"
   12437 then :
   12438   lt_cv_support_no_fixup_chains=yes
   12439 else case e in #(
   12440   e) lt_cv_support_no_fixup_chains=no
   12441          ;;
   12442 esac
   12443 fi
   12444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12445     conftest$ac_exeext conftest.$ac_ext
   12446         LDFLAGS=$save_LDFLAGS
   12447 
   12448      ;;
   12449 esac
   12450 fi
   12451 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
   12452 printf '%s\n' "$lt_cv_support_no_fixup_chains" >&6; }
   12453 
   12454     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   12455 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   12456 if test ${lt_cv_ld_exported_symbols_list+y}
   12457 then :
   12458   printf %s "(cached) " >&6
   12459 else case e in #(
   12460   e) lt_cv_ld_exported_symbols_list=no
   12461       save_LDFLAGS=$LDFLAGS
   12462       echo "_main" > conftest.sym
   12463       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   12464       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12465 /* end confdefs.h.  */
   12466 
   12467 int
   12468 main (void)
   12469 {
   12470 
   12471   ;
   12472   return 0;
   12473 }
   12474 _ACEOF
   12475 if ac_fn_c_try_link "$LINENO"
   12476 then :
   12477   lt_cv_ld_exported_symbols_list=yes
   12478 else case e in #(
   12479   e) lt_cv_ld_exported_symbols_list=no ;;
   12480 esac
   12481 fi
   12482 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12483     conftest$ac_exeext conftest.$ac_ext
   12484 	LDFLAGS=$save_LDFLAGS
   12485      ;;
   12486 esac
   12487 fi
   12488 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   12489 printf '%s\n' "$lt_cv_ld_exported_symbols_list" >&6; }
   12490 
   12491     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   12492 printf %s "checking for -force_load linker flag... " >&6; }
   12493 if test ${lt_cv_ld_force_load+y}
   12494 then :
   12495   printf %s "(cached) " >&6
   12496 else case e in #(
   12497   e) lt_cv_ld_force_load=no
   12498       cat > conftest.c << _LT_EOF
   12499 int forced_loaded() { return 2;}
   12500 _LT_EOF
   12501       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   12502       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   12503       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   12504       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   12505       echo "$RANLIB libconftest.a" >&5
   12506       $RANLIB libconftest.a 2>&5
   12507       cat > conftest.c << _LT_EOF
   12508 int main(void) { return 0;}
   12509 _LT_EOF
   12510       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   12511       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   12512       _lt_result=$?
   12513       if test -s conftest.err && $GREP force_load conftest.err; then
   12514 	cat conftest.err >&5
   12515       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   12516 	lt_cv_ld_force_load=yes
   12517       else
   12518 	cat conftest.err >&5
   12519       fi
   12520         rm -f conftest.err libconftest.a conftest conftest.c
   12521         rm -rf conftest.dSYM
   12522      ;;
   12523 esac
   12524 fi
   12525 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   12526 printf '%s\n' "$lt_cv_ld_force_load" >&6; }
   12527     case $host_os in
   12528     rhapsody* | darwin1.[012])
   12529       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   12530     darwin1.*)
   12531       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   12532     darwin*)
   12533       case $MACOSX_DEPLOYMENT_TARGET,$host in
   12534         10.[012],*|,*powerpc*-darwin[5-8]*)
   12535           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   12536         *)
   12537           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
   12538           if test yes = "$lt_cv_support_no_fixup_chains"; then
   12539             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
   12540           fi
   12541         ;;
   12542       esac
   12543     ;;
   12544   esac
   12545     if test yes = "$lt_cv_apple_cc_single_mod"; then
   12546       _lt_dar_single_mod='$single_module'
   12547     fi
   12548     _lt_dar_needs_single_mod=no
   12549     case $host_os in
   12550     rhapsody* | darwin1.*)
   12551       _lt_dar_needs_single_mod=yes ;;
   12552     darwin*)
   12553       # When targeting Mac OS X 10.4 (darwin 8) or later,
   12554       # -single_module is the default and -multi_module is unsupported.
   12555       # The toolchain on macOS 10.14 (darwin 18) and later cannot
   12556       # target any OS version that needs -single_module.
   12557       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   12558       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
   12559         _lt_dar_needs_single_mod=yes ;;
   12560       esac
   12561     ;;
   12562     esac
   12563     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   12564       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   12565     else
   12566       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   12567     fi
   12568     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   12569       _lt_dsymutil='~$DSYMUTIL $lib || :'
   12570     else
   12571       _lt_dsymutil=
   12572     fi
   12573     ;;
   12574   esac
   12575 
   12576 # func_munge_path_list VARIABLE PATH
   12577 # -----------------------------------
   12578 # VARIABLE is name of variable containing _space_ separated list of
   12579 # directories to be munged by the contents of PATH, which is string
   12580 # having a format:
   12581 # "DIR[:DIR]:"
   12582 #       string "DIR[ DIR]" will be prepended to VARIABLE
   12583 # ":DIR[:DIR]"
   12584 #       string "DIR[ DIR]" will be appended to VARIABLE
   12585 # "DIRP[:DIRP]::[DIRA:]DIRA"
   12586 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   12587 #       "DIRA[ DIRA]" will be appended to VARIABLE
   12588 # "DIR[:DIR]"
   12589 #       VARIABLE will be replaced by "DIR[ DIR]"
   12590 func_munge_path_list ()
   12591 {
   12592     case x$2 in
   12593     x)
   12594         ;;
   12595     *:)
   12596         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   12597         ;;
   12598     x:*)
   12599         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   12600         ;;
   12601     *::*)
   12602         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   12603         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   12604         ;;
   12605     *)
   12606         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   12607         ;;
   12608     esac
   12609 }
   12610 
   12611 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   12612 "
   12613 if test "x$ac_cv_header_dlfcn_h" = xyes
   12614 then :
   12615   printf '%s\n' "#define HAVE_DLFCN_H 1" >>confdefs.h
   12616 
   12617 fi
   12618 
   12619 
   12620 
   12621 
   12622 
   12623 # Set options
   12624 enable_win32_dll=yes
   12625 
   12626 case $host in
   12627 *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-cegcc*)
   12628   if test -n "$ac_tool_prefix"; then
   12629   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   12630 set dummy ${ac_tool_prefix}as; ac_word=$2
   12631 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12632 printf %s "checking for $ac_word... " >&6; }
   12633 if test ${ac_cv_prog_AS+y}
   12634 then :
   12635   printf %s "(cached) " >&6
   12636 else case e in #(
   12637   e) if test -n "$AS"; then
   12638   ac_cv_prog_AS="$AS" # Let the user override the test.
   12639 else
   12640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12641 for as_dir in $PATH
   12642 do
   12643   IFS=$as_save_IFS
   12644   case $as_dir in #(((
   12645     '') as_dir=./ ;;
   12646     */) ;;
   12647     *) as_dir=$as_dir/ ;;
   12648   esac
   12649     for ac_exec_ext in '' $ac_executable_extensions; do
   12650   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12651     ac_cv_prog_AS="${ac_tool_prefix}as"
   12652     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12653     break 2
   12654   fi
   12655 done
   12656   done
   12657 IFS=$as_save_IFS
   12658 
   12659 fi ;;
   12660 esac
   12661 fi
   12662 AS=$ac_cv_prog_AS
   12663 if test -n "$AS"; then
   12664   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   12665 printf '%s\n' "$AS" >&6; }
   12666 else
   12667   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12668 printf '%s\n' "no" >&6; }
   12669 fi
   12670 
   12671 
   12672 fi
   12673 if test -z "$ac_cv_prog_AS"; then
   12674   ac_ct_AS=$AS
   12675   # Extract the first word of "as", so it can be a program name with args.
   12676 set dummy as; ac_word=$2
   12677 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12678 printf %s "checking for $ac_word... " >&6; }
   12679 if test ${ac_cv_prog_ac_ct_AS+y}
   12680 then :
   12681   printf %s "(cached) " >&6
   12682 else case e in #(
   12683   e) if test -n "$ac_ct_AS"; then
   12684   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   12685 else
   12686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12687 for as_dir in $PATH
   12688 do
   12689   IFS=$as_save_IFS
   12690   case $as_dir in #(((
   12691     '') as_dir=./ ;;
   12692     */) ;;
   12693     *) as_dir=$as_dir/ ;;
   12694   esac
   12695     for ac_exec_ext in '' $ac_executable_extensions; do
   12696   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12697     ac_cv_prog_ac_ct_AS="as"
   12698     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12699     break 2
   12700   fi
   12701 done
   12702   done
   12703 IFS=$as_save_IFS
   12704 
   12705 fi ;;
   12706 esac
   12707 fi
   12708 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   12709 if test -n "$ac_ct_AS"; then
   12710   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   12711 printf '%s\n' "$ac_ct_AS" >&6; }
   12712 else
   12713   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12714 printf '%s\n' "no" >&6; }
   12715 fi
   12716 
   12717   if test "x$ac_ct_AS" = x; then
   12718     AS="false"
   12719   else
   12720     case $cross_compiling:$ac_tool_warned in
   12721 yes:)
   12722 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12723 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12724 ac_tool_warned=yes ;;
   12725 esac
   12726     AS=$ac_ct_AS
   12727   fi
   12728 else
   12729   AS="$ac_cv_prog_AS"
   12730 fi
   12731 
   12732   if test -n "$ac_tool_prefix"; then
   12733   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   12734 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   12735 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12736 printf %s "checking for $ac_word... " >&6; }
   12737 if test ${ac_cv_prog_DLLTOOL+y}
   12738 then :
   12739   printf %s "(cached) " >&6
   12740 else case e in #(
   12741   e) if test -n "$DLLTOOL"; then
   12742   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   12743 else
   12744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12745 for as_dir in $PATH
   12746 do
   12747   IFS=$as_save_IFS
   12748   case $as_dir in #(((
   12749     '') as_dir=./ ;;
   12750     */) ;;
   12751     *) as_dir=$as_dir/ ;;
   12752   esac
   12753     for ac_exec_ext in '' $ac_executable_extensions; do
   12754   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12755     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   12756     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12757     break 2
   12758   fi
   12759 done
   12760   done
   12761 IFS=$as_save_IFS
   12762 
   12763 fi ;;
   12764 esac
   12765 fi
   12766 DLLTOOL=$ac_cv_prog_DLLTOOL
   12767 if test -n "$DLLTOOL"; then
   12768   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   12769 printf '%s\n' "$DLLTOOL" >&6; }
   12770 else
   12771   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12772 printf '%s\n' "no" >&6; }
   12773 fi
   12774 
   12775 
   12776 fi
   12777 if test -z "$ac_cv_prog_DLLTOOL"; then
   12778   ac_ct_DLLTOOL=$DLLTOOL
   12779   # Extract the first word of "dlltool", so it can be a program name with args.
   12780 set dummy dlltool; ac_word=$2
   12781 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12782 printf %s "checking for $ac_word... " >&6; }
   12783 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   12784 then :
   12785   printf %s "(cached) " >&6
   12786 else case e in #(
   12787   e) if test -n "$ac_ct_DLLTOOL"; then
   12788   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   12789 else
   12790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12791 for as_dir in $PATH
   12792 do
   12793   IFS=$as_save_IFS
   12794   case $as_dir in #(((
   12795     '') as_dir=./ ;;
   12796     */) ;;
   12797     *) as_dir=$as_dir/ ;;
   12798   esac
   12799     for ac_exec_ext in '' $ac_executable_extensions; do
   12800   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12801     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12802     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12803     break 2
   12804   fi
   12805 done
   12806   done
   12807 IFS=$as_save_IFS
   12808 
   12809 fi ;;
   12810 esac
   12811 fi
   12812 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12813 if test -n "$ac_ct_DLLTOOL"; then
   12814   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12815 printf '%s\n' "$ac_ct_DLLTOOL" >&6; }
   12816 else
   12817   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12818 printf '%s\n' "no" >&6; }
   12819 fi
   12820 
   12821   if test "x$ac_ct_DLLTOOL" = x; then
   12822     DLLTOOL="false"
   12823   else
   12824     case $cross_compiling:$ac_tool_warned in
   12825 yes:)
   12826 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12827 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12828 ac_tool_warned=yes ;;
   12829 esac
   12830     DLLTOOL=$ac_ct_DLLTOOL
   12831   fi
   12832 else
   12833   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12834 fi
   12835 
   12836   if test -n "$ac_tool_prefix"; then
   12837   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   12838 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   12839 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12840 printf %s "checking for $ac_word... " >&6; }
   12841 if test ${ac_cv_prog_OBJDUMP+y}
   12842 then :
   12843   printf %s "(cached) " >&6
   12844 else case e in #(
   12845   e) if test -n "$OBJDUMP"; then
   12846   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   12847 else
   12848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12849 for as_dir in $PATH
   12850 do
   12851   IFS=$as_save_IFS
   12852   case $as_dir in #(((
   12853     '') as_dir=./ ;;
   12854     */) ;;
   12855     *) as_dir=$as_dir/ ;;
   12856   esac
   12857     for ac_exec_ext in '' $ac_executable_extensions; do
   12858   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12859     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   12860     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12861     break 2
   12862   fi
   12863 done
   12864   done
   12865 IFS=$as_save_IFS
   12866 
   12867 fi ;;
   12868 esac
   12869 fi
   12870 OBJDUMP=$ac_cv_prog_OBJDUMP
   12871 if test -n "$OBJDUMP"; then
   12872   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   12873 printf '%s\n' "$OBJDUMP" >&6; }
   12874 else
   12875   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12876 printf '%s\n' "no" >&6; }
   12877 fi
   12878 
   12879 
   12880 fi
   12881 if test -z "$ac_cv_prog_OBJDUMP"; then
   12882   ac_ct_OBJDUMP=$OBJDUMP
   12883   # Extract the first word of "objdump", so it can be a program name with args.
   12884 set dummy objdump; ac_word=$2
   12885 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12886 printf %s "checking for $ac_word... " >&6; }
   12887 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   12888 then :
   12889   printf %s "(cached) " >&6
   12890 else case e in #(
   12891   e) if test -n "$ac_ct_OBJDUMP"; then
   12892   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   12893 else
   12894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12895 for as_dir in $PATH
   12896 do
   12897   IFS=$as_save_IFS
   12898   case $as_dir in #(((
   12899     '') as_dir=./ ;;
   12900     */) ;;
   12901     *) as_dir=$as_dir/ ;;
   12902   esac
   12903     for ac_exec_ext in '' $ac_executable_extensions; do
   12904   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12905     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   12906     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12907     break 2
   12908   fi
   12909 done
   12910   done
   12911 IFS=$as_save_IFS
   12912 
   12913 fi ;;
   12914 esac
   12915 fi
   12916 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   12917 if test -n "$ac_ct_OBJDUMP"; then
   12918   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   12919 printf '%s\n' "$ac_ct_OBJDUMP" >&6; }
   12920 else
   12921   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12922 printf '%s\n' "no" >&6; }
   12923 fi
   12924 
   12925   if test "x$ac_ct_OBJDUMP" = x; then
   12926     OBJDUMP="false"
   12927   else
   12928     case $cross_compiling:$ac_tool_warned in
   12929 yes:)
   12930 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12931 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12932 ac_tool_warned=yes ;;
   12933 esac
   12934     OBJDUMP=$ac_ct_OBJDUMP
   12935   fi
   12936 else
   12937   OBJDUMP="$ac_cv_prog_OBJDUMP"
   12938 fi
   12939 
   12940   ;;
   12941 esac
   12942 
   12943 test -z "$AS" && AS=as
   12944 
   12945 
   12946 
   12947 
   12948 
   12949 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12950 
   12951 
   12952 
   12953 
   12954 
   12955 test -z "$OBJDUMP" && OBJDUMP=objdump
   12956 
   12957 
   12958 
   12959 
   12960 
   12961 
   12962 
   12963         enable_dlopen=no
   12964 
   12965 
   12966 
   12967             # Check whether --enable-shared was given.
   12968 if test ${enable_shared+y}
   12969 then :
   12970   enableval=$enable_shared; p=${PACKAGE-default}
   12971     case $enableval in
   12972     yes) enable_shared=yes ;;
   12973     no) enable_shared=no ;;
   12974     *)
   12975       enable_shared=no
   12976       # Look at the argument we got.  We use all the common list separators.
   12977       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   12978       for pkg in $enableval; do
   12979 	IFS=$lt_save_ifs
   12980 	if test "X$pkg" = "X$p"; then
   12981 	  enable_shared=yes
   12982 	fi
   12983       done
   12984       IFS=$lt_save_ifs
   12985       ;;
   12986     esac
   12987 else case e in #(
   12988   e) enable_shared=yes ;;
   12989 esac
   12990 fi
   12991 
   12992 
   12993 
   12994 
   12995 
   12996 
   12997 
   12998 
   12999 
   13000   # Check whether --enable-static was given.
   13001 if test ${enable_static+y}
   13002 then :
   13003   enableval=$enable_static; p=${PACKAGE-default}
   13004     case $enableval in
   13005     yes) enable_static=yes ;;
   13006     no) enable_static=no ;;
   13007     *)
   13008      enable_static=no
   13009       # Look at the argument we got.  We use all the common list separators.
   13010       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   13011       for pkg in $enableval; do
   13012 	IFS=$lt_save_ifs
   13013 	if test "X$pkg" = "X$p"; then
   13014 	  enable_static=yes
   13015 	fi
   13016       done
   13017       IFS=$lt_save_ifs
   13018       ;;
   13019     esac
   13020 else case e in #(
   13021   e) enable_static=yes ;;
   13022 esac
   13023 fi
   13024 
   13025 
   13026 
   13027 
   13028 
   13029 
   13030 
   13031 
   13032 
   13033   # Check whether --enable-pic was given.
   13034 if test ${enable_pic+y}
   13035 then :
   13036   enableval=$enable_pic; lt_p=${PACKAGE-default}
   13037      case $enableval in
   13038      yes|no) pic_mode=$enableval ;;
   13039      *)
   13040        pic_mode=default
   13041        # Look at the argument we got.  We use all the common list separators.
   13042        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   13043        for lt_pkg in $enableval; do
   13044 	 IFS=$lt_save_ifs
   13045 	 if test "X$lt_pkg" = "X$lt_p"; then
   13046 	   pic_mode=yes
   13047 	 fi
   13048        done
   13049        IFS=$lt_save_ifs
   13050        ;;
   13051      esac
   13052 else case e in #(
   13053   e)           # Check whether --with-pic was given.
   13054 if test ${with_pic+y}
   13055 then :
   13056   withval=$with_pic; lt_p=${PACKAGE-default}
   13057 	 case $withval in
   13058 	 yes|no) pic_mode=$withval ;;
   13059 	 *)
   13060 	   pic_mode=default
   13061 	   # Look at the argument we got.  We use all the common list separators.
   13062 	   lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   13063 	   for lt_pkg in $withval; do
   13064 	     IFS=$lt_save_ifs
   13065 	     if test "X$lt_pkg" = "X$lt_p"; then
   13066 	       pic_mode=yes
   13067 	     fi
   13068 	   done
   13069 	   IFS=$lt_save_ifs
   13070 	   ;;
   13071 	 esac
   13072 else case e in #(
   13073   e) pic_mode=default ;;
   13074 esac
   13075 fi
   13076 
   13077      ;;
   13078 esac
   13079 fi
   13080 
   13081 
   13082 
   13083 
   13084 
   13085 
   13086 
   13087 
   13088   stdlibflag=-nostdlib
   13089 # Check whether --enable-cxx-stdlib was given.
   13090 if test ${enable_cxx_stdlib+y}
   13091 then :
   13092   enableval=$enable_cxx_stdlib; p=${PACKAGE-default}
   13093     case $enableval in
   13094     yes) enable_cxx_stdlib=yes ;;
   13095     no) enable_cxx_stdlib=no ;;
   13096     *)
   13097      enable_cxx_stdlib=no
   13098       # Look at the argument we got.  We use all the common list separators.
   13099       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   13100       for pkg in $enableval; do
   13101 	IFS=$lt_save_ifs
   13102 	if test "X$pkg" = "X$p"; then
   13103 	  enable_cxx_stdlib=yes
   13104 	fi
   13105       done
   13106       IFS=$lt_save_ifs
   13107       ;;
   13108     esac
   13109 else case e in #(
   13110   e) enable_cxx_stdlib=no ;;
   13111 esac
   13112 fi
   13113 
   13114 
   13115 if test yes = "$enable_cxx_stdlib"; then
   13116   stdlibflag=
   13117 fi
   13118 
   13119 
   13120 
   13121 
   13122 
   13123 
   13124 
   13125 
   13126 
   13127 
   13128 
   13129   # Check whether --enable-fast-install was given.
   13130 if test ${enable_fast_install+y}
   13131 then :
   13132   enableval=$enable_fast_install; p=${PACKAGE-default}
   13133     case $enableval in
   13134     yes) enable_fast_install=yes ;;
   13135     no) enable_fast_install=no ;;
   13136     *)
   13137       enable_fast_install=no
   13138       # Look at the argument we got.  We use all the common list separators.
   13139       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   13140       for pkg in $enableval; do
   13141 	IFS=$lt_save_ifs
   13142 	if test "X$pkg" = "X$p"; then
   13143 	  enable_fast_install=yes
   13144 	fi
   13145       done
   13146       IFS=$lt_save_ifs
   13147       ;;
   13148     esac
   13149 else case e in #(
   13150   e) enable_fast_install=yes ;;
   13151 esac
   13152 fi
   13153 
   13154 
   13155 
   13156 
   13157 
   13158 
   13159 
   13160 
   13161   shared_archive_member_spec=
   13162 case $host,$enable_shared in
   13163 power*-*-aix[5-9]*,yes)
   13164   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   13165 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   13166   # Check whether --enable-aix-soname was given.
   13167 if test ${enable_aix_soname+y}
   13168 then :
   13169   enableval=$enable_aix_soname; case $enableval in
   13170      aix|svr4|both)
   13171        ;;
   13172      *)
   13173        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
   13174        ;;
   13175      esac
   13176      lt_cv_with_aix_soname=$enable_aix_soname
   13177 else case e in #(
   13178   e) # Check whether --with-aix-soname was given.
   13179 if test ${with_aix_soname+y}
   13180 then :
   13181   withval=$with_aix_soname; case $withval in
   13182          aix|svr4|both)
   13183            ;;
   13184          *)
   13185            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   13186            ;;
   13187          esac
   13188          lt_cv_with_aix_soname=$with_aix_soname
   13189 else case e in #(
   13190   e) if test ${lt_cv_with_aix_soname+y}
   13191 then :
   13192   printf %s "(cached) " >&6
   13193 else case e in #(
   13194   e) lt_cv_with_aix_soname=aix ;;
   13195 esac
   13196 fi
   13197  ;;
   13198 esac
   13199 fi
   13200 
   13201      enable_aix_soname=$lt_cv_with_aix_soname ;;
   13202 esac
   13203 fi
   13204 
   13205   with_aix_soname=$enable_aix_soname
   13206   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   13207 printf '%s\n' "$with_aix_soname" >&6; }
   13208   if test aix != "$with_aix_soname"; then
   13209     # For the AIX way of multilib, we name the shared archive member
   13210     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   13211     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   13212     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   13213     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   13214     if test 64 = "${OBJECT_MODE-32}"; then
   13215       shared_archive_member_spec=shr_64
   13216     else
   13217       shared_archive_member_spec=shr
   13218     fi
   13219   fi
   13220   ;;
   13221 power*-*-aix[5-9]*,'')
   13222   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: for $host, specify if building shared libraries for versioning (svr4|both)" >&5
   13223 printf '%s\n' "$as_me: WARNING: for $host, specify if building shared libraries for versioning (svr4|both)" >&2;}
   13224   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   13225 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   13226   with_aix_soname=aix
   13227   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: (default) $with_aix_soname" >&5
   13228 printf '%s\n' "(default) $with_aix_soname" >&6; }
   13229   ;;
   13230 *)
   13231   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   13232 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   13233   with_aix_soname=aix
   13234   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: (default) $with_aix_soname" >&5
   13235 printf '%s\n' "(default) $with_aix_soname" >&6; }
   13236   ;;
   13237 esac
   13238 
   13239 
   13240 
   13241 
   13242 
   13243 
   13244 
   13245 
   13246 
   13247 
   13248 # This can be used to rebuild libtool when needed
   13249 LIBTOOL_DEPS=$ltmain
   13250 
   13251 # Always use our own libtool.
   13252 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   13253 
   13254 
   13255 
   13256 
   13257 
   13258 
   13259 
   13260 
   13261 
   13262 
   13263 
   13264 
   13265 
   13266 
   13267 
   13268 
   13269 
   13270 
   13271 
   13272 
   13273 
   13274 
   13275 
   13276 
   13277 
   13278 
   13279 
   13280 
   13281 
   13282 
   13283 test -z "$LN_S" && LN_S="ln -s"
   13284 
   13285 
   13286 
   13287 
   13288 
   13289 
   13290 
   13291 
   13292 
   13293 
   13294 
   13295 
   13296 
   13297 
   13298 if test -n "${ZSH_VERSION+set}"; then
   13299    setopt NO_GLOB_SUBST
   13300 fi
   13301 
   13302 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   13303 printf %s "checking for objdir... " >&6; }
   13304 if test ${lt_cv_objdir+y}
   13305 then :
   13306   printf %s "(cached) " >&6
   13307 else case e in #(
   13308   e) rm -f .libs 2>/dev/null
   13309 mkdir .libs 2>/dev/null
   13310 if test -d .libs; then
   13311   lt_cv_objdir=.libs
   13312 else
   13313   # MS-DOS does not allow filenames that begin with a dot.
   13314   lt_cv_objdir=_libs
   13315 fi
   13316 rmdir .libs 2>/dev/null ;;
   13317 esac
   13318 fi
   13319 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   13320 printf '%s\n' "$lt_cv_objdir" >&6; }
   13321 objdir=$lt_cv_objdir
   13322 
   13323 
   13324 
   13325 
   13326 
   13327 printf '%s\n' "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   13328 
   13329 
   13330 
   13331 
   13332 case $host_os in
   13333 aix3*)
   13334   # AIX sometimes has problems with the GCC collect2 program.  For some
   13335   # reason, if we set the COLLECT_NAMES environment variable, the problems
   13336   # vanish in a puff of smoke.
   13337   if test set != "${COLLECT_NAMES+set}"; then
   13338     COLLECT_NAMES=
   13339     export COLLECT_NAMES
   13340   fi
   13341   ;;
   13342 esac
   13343 
   13344 # Global variables:
   13345 ofile=libtool
   13346 can_build_shared=yes
   13347 
   13348 # All known linkers require a '.a' archive for static linking (except MSVC and
   13349 # ICC, which need '.lib').
   13350 libext=a
   13351 
   13352 with_gnu_ld=$lt_cv_prog_gnu_ld
   13353 
   13354 old_CC=$CC
   13355 old_CFLAGS=$CFLAGS
   13356 
   13357 # Set sane defaults for various variables
   13358 test -z "$CC" && CC=cc
   13359 test -z "$LTCC" && LTCC=$CC
   13360 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   13361 test -z "$LD" && LD=ld
   13362 test -z "$ac_objext" && ac_objext=o
   13363 
   13364 func_cc_basename $compiler
   13365 cc_basename=$func_cc_basename_result
   13366 
   13367 
   13368 # Only perform the check for file, if the check method requires it
   13369 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   13370 case $deplibs_check_method in
   13371 file_magic*)
   13372   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   13373     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   13374 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   13375 if test ${lt_cv_path_MAGIC_CMD+y}
   13376 then :
   13377   printf %s "(cached) " >&6
   13378 else case e in #(
   13379   e) case $MAGIC_CMD in
   13380 [\\/*] |  ?:[\\/]*)
   13381   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   13382   ;;
   13383 *)
   13384   lt_save_MAGIC_CMD=$MAGIC_CMD
   13385   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   13386   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   13387   for ac_dir in $ac_dummy; do
   13388     IFS=$lt_save_ifs
   13389     test -z "$ac_dir" && ac_dir=.
   13390     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   13391       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   13392       if test -n "$file_magic_test_file"; then
   13393 	case $deplibs_check_method in
   13394 	"file_magic "*)
   13395 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   13396 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   13397 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   13398 	    $EGREP "$file_magic_regex" > /dev/null; then
   13399 	    :
   13400 	  else
   13401 	    cat <<_LT_EOF 1>&2
   13402 
   13403 *** Warning: the command libtool uses to detect shared libraries,
   13404 *** $file_magic_cmd, produces output that libtool cannot recognize.
   13405 *** The result is that libtool may fail to recognize shared libraries
   13406 *** as such.  This will affect the creation of libtool libraries that
   13407 *** depend on shared libraries, but programs linked with such libtool
   13408 *** libraries will work regardless of this problem.  Nevertheless, you
   13409 *** may want to report the problem to your system manager and/or to
   13410 *** bug-libtool@gnu.org
   13411 
   13412 _LT_EOF
   13413 	  fi ;;
   13414 	esac
   13415       fi
   13416       break
   13417     fi
   13418   done
   13419   IFS=$lt_save_ifs
   13420   MAGIC_CMD=$lt_save_MAGIC_CMD
   13421   ;;
   13422 esac ;;
   13423 esac
   13424 fi
   13425 
   13426 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   13427 if test -n "$MAGIC_CMD"; then
   13428   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   13429 printf '%s\n' "$MAGIC_CMD" >&6; }
   13430 else
   13431   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13432 printf '%s\n' "no" >&6; }
   13433 fi
   13434 
   13435 
   13436 
   13437 
   13438 
   13439 if test -z "$lt_cv_path_MAGIC_CMD"; then
   13440   if test -n "$ac_tool_prefix"; then
   13441     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   13442 printf %s "checking for file... " >&6; }
   13443 if test ${lt_cv_path_MAGIC_CMD+y}
   13444 then :
   13445   printf %s "(cached) " >&6
   13446 else case e in #(
   13447   e) case $MAGIC_CMD in
   13448 [\\/*] |  ?:[\\/]*)
   13449   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   13450   ;;
   13451 *)
   13452   lt_save_MAGIC_CMD=$MAGIC_CMD
   13453   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   13454   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   13455   for ac_dir in $ac_dummy; do
   13456     IFS=$lt_save_ifs
   13457     test -z "$ac_dir" && ac_dir=.
   13458     if test -f "$ac_dir/file"; then
   13459       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   13460       if test -n "$file_magic_test_file"; then
   13461 	case $deplibs_check_method in
   13462 	"file_magic "*)
   13463 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   13464 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   13465 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   13466 	    $EGREP "$file_magic_regex" > /dev/null; then
   13467 	    :
   13468 	  else
   13469 	    cat <<_LT_EOF 1>&2
   13470 
   13471 *** Warning: the command libtool uses to detect shared libraries,
   13472 *** $file_magic_cmd, produces output that libtool cannot recognize.
   13473 *** The result is that libtool may fail to recognize shared libraries
   13474 *** as such.  This will affect the creation of libtool libraries that
   13475 *** depend on shared libraries, but programs linked with such libtool
   13476 *** libraries will work regardless of this problem.  Nevertheless, you
   13477 *** may want to report the problem to your system manager and/or to
   13478 *** bug-libtool@gnu.org
   13479 
   13480 _LT_EOF
   13481 	  fi ;;
   13482 	esac
   13483       fi
   13484       break
   13485     fi
   13486   done
   13487   IFS=$lt_save_ifs
   13488   MAGIC_CMD=$lt_save_MAGIC_CMD
   13489   ;;
   13490 esac ;;
   13491 esac
   13492 fi
   13493 
   13494 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   13495 if test -n "$MAGIC_CMD"; then
   13496   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   13497 printf '%s\n' "$MAGIC_CMD" >&6; }
   13498 else
   13499   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13500 printf '%s\n' "no" >&6; }
   13501 fi
   13502 
   13503 
   13504   else
   13505     MAGIC_CMD=:
   13506   fi
   13507 fi
   13508 
   13509   fi
   13510   ;;
   13511 esac
   13512 
   13513 # Use C for the default configuration in the libtool script
   13514 
   13515 lt_save_CC=$CC
   13516 ac_ext=c
   13517 ac_cpp='$CPP $CPPFLAGS'
   13518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13521 
   13522 
   13523 # Source file extension for C test sources.
   13524 ac_ext=c
   13525 
   13526 # Object file extension for compiled C test sources.
   13527 objext=o
   13528 objext=$objext
   13529 
   13530 # Code to be used in simple compile tests
   13531 lt_simple_compile_test_code="int some_variable = 0;"
   13532 
   13533 # Code to be used in simple link tests
   13534 lt_simple_link_test_code='int main(void){return(0);}'
   13535 
   13536 
   13537 
   13538 
   13539 
   13540 
   13541 
   13542 # If no C compiler was specified, use CC.
   13543 LTCC=${LTCC-"$CC"}
   13544 
   13545 # If no C compiler flags were specified, use CFLAGS.
   13546 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13547 
   13548 # Allow CC to be a program name with arguments.
   13549 compiler=$CC
   13550 
   13551 # Save the default compiler, since it gets overwritten when the other
   13552 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   13553 compiler_DEFAULT=$CC
   13554 
   13555 # save warnings/boilerplate of simple test code
   13556 ac_outfile=conftest.$ac_objext
   13557 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   13558 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13559 _lt_compiler_boilerplate=`cat conftest.err`
   13560 $RM conftest*
   13561 
   13562 ac_outfile=conftest.$ac_objext
   13563 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   13564 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13565 _lt_linker_boilerplate=`cat conftest.err`
   13566 $RM -r conftest*
   13567 
   13568 
   13569 ## CAVEAT EMPTOR:
   13570 ## There is no encapsulation within the following macros, do not change
   13571 ## the running order or otherwise move them around unless you know exactly
   13572 ## what you are doing...
   13573 if test -n "$compiler"; then
   13574 
   13575 lt_prog_compiler_no_builtin_flag=
   13576 
   13577 if test yes = "$GCC"; then
   13578   case $cc_basename in
   13579   nvcc*)
   13580     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   13581   *)
   13582     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   13583   esac
   13584 
   13585   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   13586 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   13587 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   13588 then :
   13589   printf %s "(cached) " >&6
   13590 else case e in #(
   13591   e) lt_cv_prog_compiler_rtti_exceptions=no
   13592    ac_outfile=conftest.$ac_objext
   13593    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13594    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   13595    # Insert the option either (1) after the last *FLAGS variable, or
   13596    # (2) before a word containing "conftest.", or (3) at the end.
   13597    # Note that $ac_compile itself does not contain backslashes and begins
   13598    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13599    # The option is referenced via a variable to avoid confusing sed.
   13600    lt_compile=`echo "$ac_compile" | $SED \
   13601    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13602    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13603    -e 's:$: $lt_compiler_flag:'`
   13604    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13605    (eval "$lt_compile" 2>conftest.err)
   13606    ac_status=$?
   13607    cat conftest.err >&5
   13608    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13609    if (exit $ac_status) && test -s "$ac_outfile"; then
   13610      # The compiler can only warn and ignore the option if not recognized
   13611      # So say no if there are warnings other than the usual output.
   13612      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.expsym
   13613      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13614      if test ! -s conftest.er2 || diff conftest.expsym conftest.er2 >/dev/null; then
   13615        lt_cv_prog_compiler_rtti_exceptions=yes
   13616      fi
   13617    fi
   13618    $RM conftest*
   13619  ;;
   13620 esac
   13621 fi
   13622 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   13623 printf '%s\n' "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   13624 
   13625 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   13626     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   13627 else
   13628     :
   13629 fi
   13630 
   13631 fi
   13632 
   13633 
   13634 
   13635 
   13636 
   13637 
   13638   lt_prog_compiler_wl=
   13639 lt_prog_compiler_pic=
   13640 lt_prog_compiler_static=
   13641 
   13642 
   13643   if test yes = "$GCC"; then
   13644     lt_prog_compiler_wl='-Wl,'
   13645     lt_prog_compiler_static='-static'
   13646 
   13647     case $host_os in
   13648       aix*)
   13649       # All AIX code is PIC.
   13650       if test ia64 = "$host_cpu"; then
   13651 	# AIX 5 now supports IA64 processor
   13652 	lt_prog_compiler_static='-Bstatic'
   13653       fi
   13654       lt_prog_compiler_pic='-fPIC'
   13655       ;;
   13656 
   13657     amigaos*)
   13658       case $host_cpu in
   13659       powerpc)
   13660             # see comment about AmigaOS4 .so support
   13661             lt_prog_compiler_pic='-fPIC'
   13662         ;;
   13663       m68k)
   13664             # FIXME: we need at least 68020 code to build shared libraries, but
   13665             # adding the '-m68020' flag to GCC prevents building anything better,
   13666             # like '-m68040'.
   13667             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   13668         ;;
   13669       esac
   13670       ;;
   13671 
   13672     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13673       # PIC is the default for these OSes.
   13674       ;;
   13675 
   13676     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   13677       # This hack is so that the source file can tell whether it is being
   13678       # built for inclusion in a dll (and should export symbols for example).
   13679       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   13680       # (--disable-auto-import) libraries
   13681       lt_prog_compiler_pic='-DDLL_EXPORT'
   13682       case $host_os in
   13683       os2*)
   13684 	lt_prog_compiler_static='$wl-static'
   13685 	;;
   13686       esac
   13687       ;;
   13688 
   13689     darwin* | rhapsody*)
   13690       # PIC is the default on this platform
   13691       # Common symbols not allowed in MH_DYLIB files
   13692       lt_prog_compiler_pic='-fno-common'
   13693       ;;
   13694 
   13695     haiku*)
   13696       # PIC is the default for Haiku.
   13697       # The "-static" flag exists, but is broken.
   13698       lt_prog_compiler_static=
   13699       ;;
   13700 
   13701     hpux*)
   13702       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   13703       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   13704       # sets the default TLS model and affects inlining.
   13705       case $host_cpu in
   13706       hppa*64*)
   13707 	# +Z the default
   13708 	;;
   13709       *)
   13710 	lt_prog_compiler_pic='-fPIC'
   13711 	;;
   13712       esac
   13713       ;;
   13714 
   13715     interix[3-9]*)
   13716       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13717       # Instead, we relocate shared libraries at runtime.
   13718       ;;
   13719 
   13720     msdosdjgpp*)
   13721       # Just because we use GCC doesn't mean we suddenly get shared libraries
   13722       # on systems that don't support them.
   13723       lt_prog_compiler_can_build_shared=no
   13724       enable_shared=no
   13725       ;;
   13726 
   13727     *nto* | *qnx*)
   13728       # QNX uses GNU C++, but need to define -shared option too, otherwise
   13729       # it will coredump.
   13730       lt_prog_compiler_pic='-fPIC -shared'
   13731       ;;
   13732 
   13733     sysv4*MP*)
   13734       if test -d /usr/nec; then
   13735 	lt_prog_compiler_pic=-Kconform_pic
   13736       fi
   13737       ;;
   13738 
   13739     *)
   13740       lt_prog_compiler_pic='-fPIC'
   13741       ;;
   13742     esac
   13743 
   13744     case $cc_basename in
   13745     nvcc*) # Cuda Compiler Driver 2.2
   13746       lt_prog_compiler_wl='-Xlinker '
   13747       if test -n "$lt_prog_compiler_pic"; then
   13748         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   13749       fi
   13750       ;;
   13751     esac
   13752   else
   13753     # PORTME Check for flag to pass linker flags through the system compiler.
   13754     case $host_os in
   13755     aix*)
   13756       lt_prog_compiler_wl='-Wl,'
   13757       if test ia64 = "$host_cpu"; then
   13758 	# AIX 5 now supports IA64 processor
   13759 	lt_prog_compiler_static='-Bstatic'
   13760       else
   13761 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.expsym'
   13762       fi
   13763       ;;
   13764 
   13765     darwin* | rhapsody*)
   13766       # PIC is the default on this platform
   13767       # Common symbols not allowed in MH_DYLIB files
   13768       lt_prog_compiler_pic='-fno-common'
   13769       case $cc_basename in
   13770       nagfor*)
   13771         # NAG Fortran compiler
   13772         lt_prog_compiler_wl='-Wl,-Wl,,'
   13773         lt_prog_compiler_pic='-PIC'
   13774         lt_prog_compiler_static='-Bstatic'
   13775         ;;
   13776       esac
   13777       ;;
   13778 
   13779     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   13780       # This hack is so that the source file can tell whether it is being
   13781       # built for inclusion in a dll (and should export symbols for example).
   13782       lt_prog_compiler_pic='-DDLL_EXPORT'
   13783       case $host_os in
   13784       os2*)
   13785 	lt_prog_compiler_static='$wl-static'
   13786 	;;
   13787       esac
   13788       ;;
   13789 
   13790     hpux9* | hpux10* | hpux11*)
   13791       lt_prog_compiler_wl='-Wl,'
   13792       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13793       # not for PA HP-UX.
   13794       case $host_cpu in
   13795       hppa*64*|ia64*)
   13796 	# +Z the default
   13797 	;;
   13798       *)
   13799 	lt_prog_compiler_pic='+Z'
   13800 	;;
   13801       esac
   13802       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13803       lt_prog_compiler_static='$wl-a ${wl}archive'
   13804       ;;
   13805 
   13806     irix5* | irix6* | nonstopux*)
   13807       lt_prog_compiler_wl='-Wl,'
   13808       # PIC (with -KPIC) is the default.
   13809       lt_prog_compiler_static='-non_shared'
   13810       ;;
   13811 
   13812     *-mlibc)
   13813       lt_prog_compiler_wl='-Wl,'
   13814       lt_prog_compiler_pic='-fPIC'
   13815       lt_prog_compiler_static='-static'
   13816       ;;
   13817 
   13818     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | freebsd*)
   13819       case $cc_basename in
   13820       # old Intel for x86_64, which still supported -KPIC.
   13821       ecc*)
   13822 	lt_prog_compiler_wl='-Wl,'
   13823 	lt_prog_compiler_pic='-KPIC'
   13824 	lt_prog_compiler_static='-static'
   13825         ;;
   13826       *flang* | ftn | f18* | f95*)
   13827         # Flang compiler.
   13828 	lt_prog_compiler_wl='-Wl,'
   13829 	lt_prog_compiler_pic='-fPIC'
   13830 	lt_prog_compiler_static='-static'
   13831         ;;
   13832       # icc used to be incompatible with GCC.
   13833       # ICC 10 doesn't accept -KPIC any more.
   13834       icc* | ifort* | icx* | ifx*)
   13835 	lt_prog_compiler_wl='-Wl,'
   13836 	lt_prog_compiler_pic='-fPIC'
   13837 	lt_prog_compiler_static='-static'
   13838         ;;
   13839       # Lahey Fortran 8.1.
   13840       lf95*)
   13841 	lt_prog_compiler_wl='-Wl,'
   13842 	lt_prog_compiler_pic='--shared'
   13843 	lt_prog_compiler_static='--static'
   13844 	;;
   13845       nagfor*)
   13846 	# NAG Fortran compiler
   13847 	lt_prog_compiler_wl='-Wl,-Wl,,'
   13848 	lt_prog_compiler_pic='-PIC'
   13849 	lt_prog_compiler_static='-Bstatic'
   13850 	;;
   13851       tcc*)
   13852 	# Fabrice Bellard et al's Tiny C Compiler
   13853 	lt_prog_compiler_wl='-Wl,'
   13854 	lt_prog_compiler_pic='-fPIC'
   13855 	lt_prog_compiler_static='-static'
   13856 	;;
   13857       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   13858         # Portland Group compilers (*not* the Pentium gcc compiler,
   13859 	# which looks to be a dead project)
   13860 	lt_prog_compiler_wl='-Wl,'
   13861 	lt_prog_compiler_pic='-fpic'
   13862 	lt_prog_compiler_static='-Bstatic'
   13863         ;;
   13864       ccc*)
   13865         lt_prog_compiler_wl='-Wl,'
   13866         # All Alpha code is PIC.
   13867         lt_prog_compiler_static='-non_shared'
   13868         ;;
   13869       xl* | bgxl* | bgf* | mpixl*)
   13870 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   13871 	lt_prog_compiler_wl='-Wl,'
   13872 	lt_prog_compiler_pic='-qpic'
   13873 	lt_prog_compiler_static='-qstaticlink'
   13874 	;;
   13875       *)
   13876 	case `$CC -V 2>&1 | $SED 5q` in
   13877 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   13878 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   13879 	  lt_prog_compiler_pic='-KPIC'
   13880 	  lt_prog_compiler_static='-Bstatic'
   13881 	  lt_prog_compiler_wl=''
   13882 	  ;;
   13883 	*Sun\ F* | *Sun*Fortran*)
   13884 	  lt_prog_compiler_pic='-KPIC'
   13885 	  lt_prog_compiler_static='-Bstatic'
   13886 	  lt_prog_compiler_wl='-Qoption ld '
   13887 	  ;;
   13888 	*Sun\ C*)
   13889 	  # Sun C 5.9
   13890 	  lt_prog_compiler_pic='-KPIC'
   13891 	  lt_prog_compiler_static='-Bstatic'
   13892 	  lt_prog_compiler_wl='-Wl,'
   13893 	  ;;
   13894         *Intel*\ [CF]*Compiler*)
   13895 	  lt_prog_compiler_wl='-Wl,'
   13896 	  lt_prog_compiler_pic='-fPIC'
   13897 	  lt_prog_compiler_static='-static'
   13898 	  ;;
   13899 	*Portland\ Group*)
   13900 	  lt_prog_compiler_wl='-Wl,'
   13901 	  lt_prog_compiler_pic='-fpic'
   13902 	  lt_prog_compiler_static='-Bstatic'
   13903 	  ;;
   13904 	esac
   13905 	;;
   13906       esac
   13907       ;;
   13908 
   13909     newsos6)
   13910       lt_prog_compiler_pic='-KPIC'
   13911       lt_prog_compiler_static='-Bstatic'
   13912       ;;
   13913 
   13914     *nto* | *qnx*)
   13915       # QNX uses GNU C++, but need to define -shared option too, otherwise
   13916       # it will coredump.
   13917       lt_prog_compiler_pic='-fPIC -shared'
   13918       ;;
   13919 
   13920     osf3* | osf4* | osf5*)
   13921       lt_prog_compiler_wl='-Wl,'
   13922       # All OSF/1 code is PIC.
   13923       lt_prog_compiler_static='-non_shared'
   13924       ;;
   13925 
   13926     rdos*)
   13927       lt_prog_compiler_static='-non_shared'
   13928       ;;
   13929 
   13930     serenity*)
   13931       ;;
   13932 
   13933     solaris*)
   13934       lt_prog_compiler_pic='-KPIC'
   13935       lt_prog_compiler_static='-Bstatic'
   13936       case $cc_basename in
   13937       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   13938 	lt_prog_compiler_wl='-Qoption ld ';;
   13939       *)
   13940 	lt_prog_compiler_wl='-Wl,';;
   13941       esac
   13942       ;;
   13943 
   13944     sunos4*)
   13945       lt_prog_compiler_wl='-Qoption ld '
   13946       lt_prog_compiler_pic='-PIC'
   13947       lt_prog_compiler_static='-Bstatic'
   13948       ;;
   13949 
   13950     sysv4 | sysv4.2uw2* | sysv4.3*)
   13951       lt_prog_compiler_wl='-Wl,'
   13952       lt_prog_compiler_pic='-KPIC'
   13953       lt_prog_compiler_static='-Bstatic'
   13954       ;;
   13955 
   13956     sysv4*MP*)
   13957       if test -d /usr/nec; then
   13958 	lt_prog_compiler_pic='-Kconform_pic'
   13959 	lt_prog_compiler_static='-Bstatic'
   13960       fi
   13961       ;;
   13962 
   13963     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13964       lt_prog_compiler_wl='-Wl,'
   13965       lt_prog_compiler_pic='-KPIC'
   13966       lt_prog_compiler_static='-Bstatic'
   13967       ;;
   13968 
   13969     unicos*)
   13970       lt_prog_compiler_wl='-Wl,'
   13971       lt_prog_compiler_can_build_shared=no
   13972       ;;
   13973 
   13974     uts4*)
   13975       lt_prog_compiler_pic='-pic'
   13976       lt_prog_compiler_static='-Bstatic'
   13977       ;;
   13978 
   13979     *)
   13980       lt_prog_compiler_can_build_shared=no
   13981       ;;
   13982     esac
   13983   fi
   13984 
   13985 case $host_os in
   13986   # For platforms that do not support PIC, -DPIC is meaningless:
   13987   *djgpp*)
   13988     lt_prog_compiler_pic=
   13989     ;;
   13990   *)
   13991     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   13992     ;;
   13993 esac
   13994 
   13995 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   13996 printf %s "checking for $compiler option to produce PIC... " >&6; }
   13997 if test ${lt_cv_prog_compiler_pic+y}
   13998 then :
   13999   printf %s "(cached) " >&6
   14000 else case e in #(
   14001   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   14002 esac
   14003 fi
   14004 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   14005 printf '%s\n' "$lt_cv_prog_compiler_pic" >&6; }
   14006 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   14007 
   14008 #
   14009 # Check to make sure the PIC flag actually works.
   14010 #
   14011 if test -n "$lt_prog_compiler_pic"; then
   14012   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   14013 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   14014 if test ${lt_cv_prog_compiler_pic_works+y}
   14015 then :
   14016   printf %s "(cached) " >&6
   14017 else case e in #(
   14018   e) lt_cv_prog_compiler_pic_works=no
   14019    ac_outfile=conftest.$ac_objext
   14020    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14021    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   14022    # Insert the option either (1) after the last *FLAGS variable, or
   14023    # (2) before a word containing "conftest.", or (3) at the end.
   14024    # Note that $ac_compile itself does not contain backslashes and begins
   14025    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14026    # The option is referenced via a variable to avoid confusing sed.
   14027    lt_compile=`echo "$ac_compile" | $SED \
   14028    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14029    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14030    -e 's:$: $lt_compiler_flag:'`
   14031    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14032    (eval "$lt_compile" 2>conftest.err)
   14033    ac_status=$?
   14034    cat conftest.err >&5
   14035    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14036    if (exit $ac_status) && test -s "$ac_outfile"; then
   14037      # The compiler can only warn and ignore the option if not recognized
   14038      # So say no if there are warnings other than the usual output.
   14039      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.expsym
   14040      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14041      if test ! -s conftest.er2 || diff conftest.expsym conftest.er2 >/dev/null; then
   14042        lt_cv_prog_compiler_pic_works=yes
   14043      fi
   14044    fi
   14045    $RM conftest*
   14046  ;;
   14047 esac
   14048 fi
   14049 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   14050 printf '%s\n' "$lt_cv_prog_compiler_pic_works" >&6; }
   14051 
   14052 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   14053     case $lt_prog_compiler_pic in
   14054      "" | " "*) ;;
   14055      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   14056      esac
   14057 else
   14058     lt_prog_compiler_pic=
   14059      lt_prog_compiler_can_build_shared=no
   14060 fi
   14061 
   14062 fi
   14063 
   14064 
   14065 
   14066 
   14067 
   14068 
   14069 
   14070 
   14071 
   14072 
   14073 
   14074 #
   14075 # Check to make sure the static flag actually works.
   14076 #
   14077 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   14078 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14079 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14080 if test ${lt_cv_prog_compiler_static_works+y}
   14081 then :
   14082   printf %s "(cached) " >&6
   14083 else case e in #(
   14084   e) lt_cv_prog_compiler_static_works=no
   14085    save_LDFLAGS=$LDFLAGS
   14086    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14087    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14088    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14089      # The linker can only warn and ignore the option if not recognized
   14090      # So say no if there are warnings
   14091      if test -s conftest.err; then
   14092        # Append any errors to the config.log.
   14093        cat conftest.err 1>&5
   14094        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.expsym
   14095        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14096        if diff conftest.expsym conftest.er2 >/dev/null; then
   14097          lt_cv_prog_compiler_static_works=yes
   14098        fi
   14099      else
   14100        lt_cv_prog_compiler_static_works=yes
   14101      fi
   14102    fi
   14103    $RM -r conftest*
   14104    LDFLAGS=$save_LDFLAGS
   14105  ;;
   14106 esac
   14107 fi
   14108 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   14109 printf '%s\n' "$lt_cv_prog_compiler_static_works" >&6; }
   14110 
   14111 if test yes = "$lt_cv_prog_compiler_static_works"; then
   14112     :
   14113 else
   14114     lt_prog_compiler_static=
   14115 fi
   14116 
   14117 
   14118 
   14119 
   14120 
   14121 
   14122 
   14123   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14124 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14125 if test ${lt_cv_prog_compiler_c_o+y}
   14126 then :
   14127   printf %s "(cached) " >&6
   14128 else case e in #(
   14129   e) lt_cv_prog_compiler_c_o=no
   14130    $RM -r conftest 2>/dev/null
   14131    mkdir conftest
   14132    cd conftest
   14133    mkdir out
   14134    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14135 
   14136    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14137    # Insert the option either (1) after the last *FLAGS variable, or
   14138    # (2) before a word containing "conftest.", or (3) at the end.
   14139    # Note that $ac_compile itself does not contain backslashes and begins
   14140    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14141    lt_compile=`echo "$ac_compile" | $SED \
   14142    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14143    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14144    -e 's:$: $lt_compiler_flag:'`
   14145    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14146    (eval "$lt_compile" 2>out/conftest.err)
   14147    ac_status=$?
   14148    cat out/conftest.err >&5
   14149    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14150    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14151    then
   14152      # The compiler can only warn and ignore the option if not recognized
   14153      # So say no if there are warnings
   14154      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.expsym
   14155      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14156      if test ! -s out/conftest.er2 || diff out/conftest.expsym out/conftest.er2 >/dev/null; then
   14157        lt_cv_prog_compiler_c_o=yes
   14158      fi
   14159    fi
   14160    chmod u+w . 2>&5
   14161    $RM conftest*
   14162    # SGI C++ compiler will create directory out/ii_files/ for
   14163    # template instantiation
   14164    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14165    $RM out/* && rmdir out
   14166    cd ..
   14167    $RM -r conftest
   14168    $RM conftest*
   14169  ;;
   14170 esac
   14171 fi
   14172 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   14173 printf '%s\n' "$lt_cv_prog_compiler_c_o" >&6; }
   14174 
   14175 
   14176 
   14177 
   14178 
   14179 
   14180   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14181 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14182 if test ${lt_cv_prog_compiler_c_o+y}
   14183 then :
   14184   printf %s "(cached) " >&6
   14185 else case e in #(
   14186   e) lt_cv_prog_compiler_c_o=no
   14187    $RM -r conftest 2>/dev/null
   14188    mkdir conftest
   14189    cd conftest
   14190    mkdir out
   14191    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14192 
   14193    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14194    # Insert the option either (1) after the last *FLAGS variable, or
   14195    # (2) before a word containing "conftest.", or (3) at the end.
   14196    # Note that $ac_compile itself does not contain backslashes and begins
   14197    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14198    lt_compile=`echo "$ac_compile" | $SED \
   14199    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14200    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14201    -e 's:$: $lt_compiler_flag:'`
   14202    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14203    (eval "$lt_compile" 2>out/conftest.err)
   14204    ac_status=$?
   14205    cat out/conftest.err >&5
   14206    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14207    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14208    then
   14209      # The compiler can only warn and ignore the option if not recognized
   14210      # So say no if there are warnings
   14211      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.expsym
   14212      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14213      if test ! -s out/conftest.er2 || diff out/conftest.expsym out/conftest.er2 >/dev/null; then
   14214        lt_cv_prog_compiler_c_o=yes
   14215      fi
   14216    fi
   14217    chmod u+w . 2>&5
   14218    $RM conftest*
   14219    # SGI C++ compiler will create directory out/ii_files/ for
   14220    # template instantiation
   14221    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14222    $RM out/* && rmdir out
   14223    cd ..
   14224    $RM -r conftest
   14225    $RM conftest*
   14226  ;;
   14227 esac
   14228 fi
   14229 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   14230 printf '%s\n' "$lt_cv_prog_compiler_c_o" >&6; }
   14231 
   14232 
   14233 
   14234 
   14235 hard_links=nottested
   14236 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   14237   # do not overwrite the value of need_locks provided by the user
   14238   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   14239 printf %s "checking if we can lock with hard links... " >&6; }
   14240   hard_links=yes
   14241   $RM conftest*
   14242   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14243   touch conftest.a
   14244   ln conftest.a conftest.b 2>&5 || hard_links=no
   14245   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14246   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   14247 printf '%s\n' "$hard_links" >&6; }
   14248   if test no = "$hard_links"; then
   14249     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   14250 printf '%s\n' "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   14251     need_locks=warn
   14252   fi
   14253 else
   14254   need_locks=no
   14255 fi
   14256 
   14257 
   14258 
   14259 
   14260 
   14261 
   14262   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14263 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14264 
   14265   runpath_var=
   14266   allow_undefined_flag=
   14267   always_export_symbols=no
   14268   archive_cmds=
   14269   archive_expsym_cmds=
   14270   compiler_needs_object=no
   14271   enable_shared_with_static_runtimes=no
   14272   export_dynamic_flag_spec=
   14273   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14274   hardcode_automatic=no
   14275   hardcode_direct=no
   14276   hardcode_direct_absolute=no
   14277   hardcode_libdir_flag_spec=
   14278   hardcode_libdir_separator=
   14279   hardcode_minus_L=no
   14280   hardcode_shlibpath_var=unsupported
   14281   inherit_rpath=no
   14282   link_all_deplibs=unknown
   14283   module_cmds=
   14284   module_expsym_cmds=
   14285   old_archive_from_new_cmds=
   14286   old_archive_from_expsyms_cmds=
   14287   thread_safe_flag_spec=
   14288   whole_archive_flag_spec=
   14289   # include_expsyms should be a list of space-separated symbols to be *always*
   14290   # included in the symbol list
   14291   include_expsyms=
   14292   # exclude_expsyms can be an extended regexp of symbols to exclude
   14293   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   14294   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   14295   # as well as any symbol that contains 'd'.
   14296   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14297   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14298   # platforms (ab)use it in PIC code, but their linkers get confused if
   14299   # the symbol is explicitly referenced.  Since portable code cannot
   14300   # rely on this symbol name, it's probably fine to never include it in
   14301   # preloaded symbol tables.
   14302   # Exclude shared library initialization/finalization symbols.
   14303   extract_expsyms_cmds=
   14304 
   14305   case $host_os in
   14306   cygwin* | mingw* | windows* | pw32* | cegcc*)
   14307     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   14308     # When not using gcc, we currently assume that we are using
   14309     # Microsoft Visual C++ or Intel C++ Compiler.
   14310     if test yes != "$GCC"; then
   14311       with_gnu_ld=no
   14312     fi
   14313     ;;
   14314   interix*)
   14315     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   14316     with_gnu_ld=yes
   14317     ;;
   14318   esac
   14319 
   14320   ld_shlibs=yes
   14321 
   14322   # On some targets, GNU ld is compatible enough with the native linker
   14323   # that we're better off using the native interface for both.
   14324   lt_use_gnu_ld_interface=no
   14325   if test yes = "$with_gnu_ld"; then
   14326     case $host_os in
   14327       aix*)
   14328 	# The AIX port of GNU ld has always aspired to compatibility
   14329 	# with the native linker.  However, as the warning in the GNU ld
   14330 	# block says, versions before 2.19.5* couldn't really create working
   14331 	# shared libraries, regardless of the interface used.
   14332 	case `$LD -v 2>&1` in
   14333 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   14334 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   14335 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   14336 	  *)
   14337 	    lt_use_gnu_ld_interface=yes
   14338 	    ;;
   14339 	esac
   14340 	;;
   14341       *)
   14342 	lt_use_gnu_ld_interface=yes
   14343 	;;
   14344     esac
   14345   fi
   14346 
   14347   if test yes = "$lt_use_gnu_ld_interface"; then
   14348     # If archive_cmds runs LD, not CC, wlarc should be empty
   14349     wlarc='$wl'
   14350 
   14351     # Set some defaults for GNU ld with shared library support. These
   14352     # are reset later if shared libraries are not supported. Putting them
   14353     # here allows them to be overridden if necessary.
   14354     runpath_var=LD_RUN_PATH
   14355     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   14356     export_dynamic_flag_spec='$wl--export-dynamic'
   14357     # ancient GNU ld didn't support --whole-archive et. al.
   14358     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   14359       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   14360     else
   14361       whole_archive_flag_spec=
   14362     fi
   14363     supports_anon_versioning=no
   14364     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   14365       *GNU\ gold*) supports_anon_versioning=yes ;;
   14366       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14367       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14368       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14369       *\ 2.11.*) ;; # other 2.11 versions
   14370       *) supports_anon_versioning=yes ;;
   14371     esac
   14372 
   14373     # See if GNU ld supports shared libraries.
   14374     case $host_os in
   14375     aix[3-9]*)
   14376       # On AIX/PPC, the GNU linker is very broken
   14377       if test ia64 != "$host_cpu"; then
   14378 	ld_shlibs=no
   14379 	cat <<_LT_EOF 1>&2
   14380 
   14381 *** Warning: the GNU linker, at least up to release 2.19, is reported
   14382 *** to be unable to reliably create shared libraries on AIX.
   14383 *** Therefore, libtool is disabling shared libraries support.  If you
   14384 *** really care for shared libraries, you may want to install binutils
   14385 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   14386 *** You will then need to restart the configuration process.
   14387 
   14388 _LT_EOF
   14389       fi
   14390       ;;
   14391 
   14392     amigaos*)
   14393       case $host_cpu in
   14394       powerpc)
   14395             # see comment about AmigaOS4 .so support
   14396             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14397             archive_expsym_cmds=''
   14398         ;;
   14399       m68k)
   14400             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)'
   14401             hardcode_libdir_flag_spec='-L$libdir'
   14402             hardcode_minus_L=yes
   14403         ;;
   14404       esac
   14405       ;;
   14406 
   14407     beos*)
   14408       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   14409 	allow_undefined_flag=unsupported
   14410 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14411 	# support --undefined.  This deserves some investigation.  FIXME
   14412 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14413       else
   14414 	ld_shlibs=no
   14415       fi
   14416       ;;
   14417 
   14418     cygwin* | mingw* | windows* | pw32* | cegcc*)
   14419       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   14420       # as there is no search path for DLLs.
   14421       hardcode_libdir_flag_spec='-L$libdir'
   14422       export_dynamic_flag_spec='$wl--export-all-symbols'
   14423       allow_undefined_flag=unsupported
   14424       always_export_symbols=no
   14425       enable_shared_with_static_runtimes=yes
   14426       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'
   14427       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   14428       file_list_spec='@'
   14429 
   14430       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   14431         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14432 	# If the export-symbols file already is a .def file, use it as
   14433 	# is; otherwise, prepend EXPORTS...
   14434 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   14435           cp $export_symbols $output_objdir/$soname.def;
   14436         else
   14437           echo EXPORTS > $output_objdir/$soname.def;
   14438           cat $export_symbols >> $output_objdir/$soname.def;
   14439         fi~
   14440         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14441       else
   14442 	ld_shlibs=no
   14443       fi
   14444       ;;
   14445 
   14446     haiku*)
   14447       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14448       link_all_deplibs=no
   14449       ;;
   14450 
   14451     os2*)
   14452       hardcode_libdir_flag_spec='-L$libdir'
   14453       hardcode_minus_L=yes
   14454       allow_undefined_flag=unsupported
   14455       shrext_cmds=.dll
   14456       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   14457 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   14458 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   14459 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   14460 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   14461 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   14462 	emximp -o $lib $output_objdir/$libname.def'
   14463       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   14464 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   14465 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   14466 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   14467 	prefix_cmds="$SED"~
   14468 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   14469 	  prefix_cmds="$prefix_cmds -e 1d";
   14470 	fi~
   14471 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   14472 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   14473 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   14474 	emximp -o $lib $output_objdir/$libname.def'
   14475       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   14476       enable_shared_with_static_runtimes=yes
   14477       file_list_spec='@'
   14478       ;;
   14479 
   14480     interix[3-9]*)
   14481       hardcode_direct=no
   14482       hardcode_shlibpath_var=no
   14483       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   14484       export_dynamic_flag_spec='$wl-E'
   14485       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14486       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14487       # default) and relocated if they conflict, which is a slow very memory
   14488       # consuming and fragmenting process.  To avoid this, we pick a random,
   14489       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14490       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14491       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   14492       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'
   14493       ;;
   14494 
   14495     *-mlibc)
   14496 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14497 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   14498       ;;
   14499 
   14500     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   14501       tmp_diet=no
   14502       if test linux-dietlibc = "$host_os"; then
   14503 	case $cc_basename in
   14504 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   14505 	esac
   14506       fi
   14507       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   14508 	 && test no = "$tmp_diet"
   14509       then
   14510 	tmp_addflag=' $pic_flag'
   14511 	tmp_sharedflag='-shared'
   14512 	case $cc_basename,$host_cpu in
   14513         pgcc*)				# Portland Group C compiler
   14514 	  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'
   14515 	  tmp_addflag=' $pic_flag'
   14516 	  ;;
   14517 	pgf77* | pgf90* | pgf95* | pgfortran*)
   14518 					# Portland Group f77 and f90 compilers
   14519 	  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'
   14520 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14521 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   14522 	  tmp_addflag=' -i_dynamic' ;;
   14523 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14524 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14525 	ifc* | ifort* | ifx*)		# Intel Fortran compiler
   14526 	  tmp_addflag=' -nofor_main' ;;
   14527 	lf95*)				# Lahey Fortran 8.1
   14528 	  whole_archive_flag_spec=
   14529 	  tmp_sharedflag='--shared' ;;
   14530         nagfor*)                        # NAGFOR 5.3
   14531           tmp_sharedflag='-Wl,-shared' ;;
   14532 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   14533 	  tmp_sharedflag='-qmkshrobj'
   14534 	  tmp_addflag= ;;
   14535 	nvcc*)	# Cuda Compiler Driver 2.2
   14536 	  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'
   14537 	  compiler_needs_object=yes
   14538 	  ;;
   14539 	esac
   14540 	case `$CC -V 2>&1 | $SED 5q` in
   14541 	*Sun\ C*)			# Sun C 5.9
   14542 	  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'
   14543 	  compiler_needs_object=yes
   14544 	  tmp_sharedflag='-G' ;;
   14545 	*Sun\ F*)			# Sun Fortran 8.3
   14546 	  tmp_sharedflag='-G' ;;
   14547 	esac
   14548 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14549 
   14550         if test yes = "$supports_anon_versioning"; then
   14551           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   14552             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14553             echo "local: *; };" >> $output_objdir/$libname.ver~
   14554             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   14555         fi
   14556 
   14557 	case $cc_basename in
   14558 	tcc*)
   14559 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   14560 	  export_dynamic_flag_spec='-rdynamic'
   14561 	  ;;
   14562 	xlf* | bgf* | bgxlf* | mpixlf*)
   14563 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   14564 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   14565 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   14566 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   14567 	  if test yes = "$supports_anon_versioning"; then
   14568 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   14569               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14570               echo "local: *; };" >> $output_objdir/$libname.ver~
   14571               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   14572 	  fi
   14573 	  ;;
   14574 	esac
   14575       else
   14576         ld_shlibs=no
   14577       fi
   14578       ;;
   14579 
   14580     netbsd* | netbsdelf*-gnu)
   14581       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   14582 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14583 	wlarc=
   14584       else
   14585 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14586 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   14587       fi
   14588       ;;
   14589 
   14590     solaris*)
   14591       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   14592 	ld_shlibs=no
   14593 	cat <<_LT_EOF 1>&2
   14594 
   14595 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14596 *** create shared libraries on Solaris systems.  Therefore, libtool
   14597 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14598 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14599 *** your PATH or compiler configuration so that the native linker is
   14600 *** used, and then restart.
   14601 
   14602 _LT_EOF
   14603       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   14604 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14605 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   14606       else
   14607 	ld_shlibs=no
   14608       fi
   14609       ;;
   14610 
   14611     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14612       case `$LD -v 2>&1` in
   14613         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14614 	ld_shlibs=no
   14615 	cat <<_LT_EOF 1>&2
   14616 
   14617 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   14618 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14619 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14620 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14621 *** your PATH or compiler configuration so that the native linker is
   14622 *** used, and then restart.
   14623 
   14624 _LT_EOF
   14625 	;;
   14626 	*)
   14627 	  # For security reasons, it is highly recommended that you always
   14628 	  # use absolute paths for naming shared libraries, and exclude the
   14629 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   14630 	  # requires that you compile everything twice, which is a pain.
   14631 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   14632 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   14633 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14634 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   14635 	  else
   14636 	    ld_shlibs=no
   14637 	  fi
   14638 	;;
   14639       esac
   14640       ;;
   14641 
   14642     sunos4*)
   14643       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14644       wlarc=
   14645       hardcode_direct=yes
   14646       hardcode_shlibpath_var=no
   14647       ;;
   14648 
   14649     *)
   14650       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   14651 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14652 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   14653       else
   14654 	ld_shlibs=no
   14655       fi
   14656       ;;
   14657     esac
   14658 
   14659     if test no = "$ld_shlibs"; then
   14660       runpath_var=
   14661       hardcode_libdir_flag_spec=
   14662       export_dynamic_flag_spec=
   14663       whole_archive_flag_spec=
   14664     fi
   14665   else
   14666     # PORTME fill in a description of your system's linker (not GNU ld)
   14667     case $host_os in
   14668     aix3*)
   14669       allow_undefined_flag=unsupported
   14670       always_export_symbols=yes
   14671       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'
   14672       # Note: this linker hardcodes the directories in LIBPATH if there
   14673       # are no directories specified by -L.
   14674       hardcode_minus_L=yes
   14675       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   14676 	# Neither direct hardcoding nor static linking is supported with a
   14677 	# broken collect2.
   14678 	hardcode_direct=unsupported
   14679       fi
   14680       ;;
   14681 
   14682     aix[4-9]*)
   14683       if test ia64 = "$host_cpu"; then
   14684 	# On IA64, the linker does run time linking by default, so we don't
   14685 	# have to do anything special.
   14686 	aix_use_runtimelinking=no
   14687 	exp_sym_flag='-Bexport'
   14688 	no_entry_flag=
   14689       else
   14690 	# If we're using GNU nm, then we don't want the "-C" option.
   14691 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   14692 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   14693 	# weak defined symbols like other global defined symbols, whereas
   14694 	# GNU nm marks them as "W".
   14695 	# While the 'weak' keyword is ignored in the Export File, we need
   14696 	# it in the Import File for the 'aix-soname' feature, so we have
   14697 	# to replace the "-B" option with "-P" for AIX nm.
   14698 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   14699 	  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'
   14700 	else
   14701 	  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'
   14702 	fi
   14703 	aix_use_runtimelinking=no
   14704 
   14705 	# Test if we are trying to use run time linking or normal
   14706 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   14707 	# have runtime linking enabled, and use it for executables.
   14708 	# For shared libraries, we enable/disable runtime linking
   14709 	# depending on the kind of the shared library created -
   14710 	# when "with_aix_soname,aix_use_runtimelinking" is:
   14711 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   14712 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   14713 	#            lib.a           static archive
   14714 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   14715 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   14716 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   14717 	#            lib.a(lib.so.V) shared, rtl:no
   14718 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   14719 	#            lib.a           static archive
   14720 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   14721 	  for ld_flag in $LDFLAGS; do
   14722 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   14723 	    aix_use_runtimelinking=yes
   14724 	    break
   14725 	  fi
   14726 	  done
   14727 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   14728 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   14729 	    # so we don't have lib.a shared libs to link our executables.
   14730 	    # We have to force runtime linking in this case.
   14731 	    aix_use_runtimelinking=yes
   14732 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   14733 	  fi
   14734 	  ;;
   14735 	esac
   14736 
   14737 	exp_sym_flag='-bexport'
   14738 	no_entry_flag='-bnoentry'
   14739       fi
   14740 
   14741       # When large executables or shared objects are built, AIX ld can
   14742       # have problems creating the table of contents.  If linking a library
   14743       # or program results in "error TOC overflow" add -mminimal-toc to
   14744       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   14745       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   14746 
   14747       archive_cmds=''
   14748       hardcode_direct=yes
   14749       hardcode_direct_absolute=yes
   14750       hardcode_libdir_separator=':'
   14751       link_all_deplibs=yes
   14752       file_list_spec='$wl-f,'
   14753       case $with_aix_soname,$aix_use_runtimelinking in
   14754       aix,*) ;; # traditional, no import file
   14755       svr4,* | *,yes) # use import file
   14756 	# The Import File defines what to hardcode.
   14757 	hardcode_direct=no
   14758 	hardcode_direct_absolute=no
   14759 	;;
   14760       esac
   14761 
   14762       if test yes = "$GCC"; then
   14763 	case $host_os in aix4.[012]|aix4.[012].*)
   14764 	# We only want to do this on AIX 4.2 and lower, the check
   14765 	# below for broken collect2 doesn't work under 4.3+
   14766 	  collect2name=`$CC -print-prog-name=collect2`
   14767 	  if test -f "$collect2name" &&
   14768 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   14769 	  then
   14770 	  # We have reworked collect2
   14771 	  :
   14772 	  else
   14773 	  # We have old collect2
   14774 	  hardcode_direct=unsupported
   14775 	  # It fails to find uninstalled libraries when the uninstalled
   14776 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   14777 	  # to unsupported forces relinking
   14778 	  hardcode_minus_L=yes
   14779 	  hardcode_libdir_flag_spec='-L$libdir'
   14780 	  hardcode_libdir_separator=
   14781 	  fi
   14782 	  ;;
   14783 	esac
   14784 	shared_flag='-shared'
   14785 	if test yes = "$aix_use_runtimelinking"; then
   14786 	  shared_flag="$shared_flag "'$wl-G'
   14787 	fi
   14788 	# Need to ensure runtime linking is disabled for the traditional
   14789 	# shared library, or the linker may eventually find shared libraries
   14790 	# /with/ Import File - we do not want to mix them.
   14791 	shared_flag_aix='-shared'
   14792 	shared_flag_svr4='-shared $wl-G'
   14793       else
   14794 	# not using gcc
   14795 	if test ia64 = "$host_cpu"; then
   14796 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   14797 	# chokes on -Wl,-G. The following line is correct:
   14798 	  shared_flag='-G'
   14799 	else
   14800 	  if test yes = "$aix_use_runtimelinking"; then
   14801 	    shared_flag='$wl-G'
   14802 	  else
   14803 	    shared_flag='$wl-bM:SRE'
   14804 	  fi
   14805 	  shared_flag_aix='$wl-bM:SRE'
   14806 	  shared_flag_svr4='$wl-G'
   14807 	fi
   14808       fi
   14809 
   14810       export_dynamic_flag_spec='$wl-bexpall'
   14811       # It seems that -bexpall does not export symbols beginning with
   14812       # underscore (_), so it is better to generate a list of symbols to export.
   14813       always_export_symbols=yes
   14814       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   14815 	# Warning - without using the other runtime loading flags (-brtl),
   14816 	# -berok will link without error, but may produce a broken library.
   14817 	allow_undefined_flag='-berok'
   14818         # Determine the default libpath from the value encoded in an
   14819         # empty executable.
   14820         if test set = "${lt_cv_aix_libpath+set}"; then
   14821   aix_libpath=$lt_cv_aix_libpath
   14822 else
   14823   if test ${lt_cv_aix_libpath_+y}
   14824 then :
   14825   printf %s "(cached) " >&6
   14826 else case e in #(
   14827   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14828 /* end confdefs.h.  */
   14829 
   14830 int
   14831 main (void)
   14832 {
   14833 
   14834   ;
   14835   return 0;
   14836 }
   14837 _ACEOF
   14838 if ac_fn_c_try_link "$LINENO"
   14839 then :
   14840 
   14841   lt_aix_libpath_sed='
   14842       /Import File Strings/,/^$/ {
   14843 	  /^0/ {
   14844 	      s/^0  *\([^ ]*\) *$/\1/
   14845 	      p
   14846 	  }
   14847       }'
   14848   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14849   # Check for a 64-bit object if we didn't find anything.
   14850   if test -z "$lt_cv_aix_libpath_"; then
   14851     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14852   fi
   14853 fi
   14854 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14855     conftest$ac_exeext conftest.$ac_ext
   14856   if test -z "$lt_cv_aix_libpath_"; then
   14857     lt_cv_aix_libpath_=/usr/lib:/lib
   14858   fi
   14859    ;;
   14860 esac
   14861 fi
   14862 
   14863   aix_libpath=$lt_cv_aix_libpath_
   14864 fi
   14865 
   14866         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   14867         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
   14868       else
   14869 	if test ia64 = "$host_cpu"; then
   14870 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   14871 	  allow_undefined_flag="-z nodefs"
   14872 	  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"
   14873 	else
   14874 	 # Determine the default libpath from the value encoded in an
   14875 	 # empty executable.
   14876 	 if test set = "${lt_cv_aix_libpath+set}"; then
   14877   aix_libpath=$lt_cv_aix_libpath
   14878 else
   14879   if test ${lt_cv_aix_libpath_+y}
   14880 then :
   14881   printf %s "(cached) " >&6
   14882 else case e in #(
   14883   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14884 /* end confdefs.h.  */
   14885 
   14886 int
   14887 main (void)
   14888 {
   14889 
   14890   ;
   14891   return 0;
   14892 }
   14893 _ACEOF
   14894 if ac_fn_c_try_link "$LINENO"
   14895 then :
   14896 
   14897   lt_aix_libpath_sed='
   14898       /Import File Strings/,/^$/ {
   14899 	  /^0/ {
   14900 	      s/^0  *\([^ ]*\) *$/\1/
   14901 	      p
   14902 	  }
   14903       }'
   14904   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14905   # Check for a 64-bit object if we didn't find anything.
   14906   if test -z "$lt_cv_aix_libpath_"; then
   14907     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14908   fi
   14909 fi
   14910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14911     conftest$ac_exeext conftest.$ac_ext
   14912   if test -z "$lt_cv_aix_libpath_"; then
   14913     lt_cv_aix_libpath_=/usr/lib:/lib
   14914   fi
   14915    ;;
   14916 esac
   14917 fi
   14918 
   14919   aix_libpath=$lt_cv_aix_libpath_
   14920 fi
   14921 
   14922 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   14923 	  # Warning - without using the other run time loading flags,
   14924 	  # -berok will link without error, but may produce a broken library.
   14925 	  no_undefined_flag=' $wl-bernotok'
   14926 	  allow_undefined_flag=' $wl-berok'
   14927 	  if test yes = "$with_gnu_ld"; then
   14928 	    # We only use this code for GNU lds that support --whole-archive.
   14929 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   14930 	  else
   14931 	    # Exported symbols can be pulled into shared objects from archives
   14932 	    whole_archive_flag_spec='$convenience'
   14933 	  fi
   14934 	  archive_cmds_need_lc=yes
   14935 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   14936 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   14937 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   14938 	  if test svr4 != "$with_aix_soname"; then
   14939 	    # This is similar to how AIX traditionally builds its shared libraries.
   14940 	    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'
   14941 	  fi
   14942 	  if test aix != "$with_aix_soname"; then
   14943 	    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'
   14944 	  else
   14945 	    # used by -dlpreopen to get the symbols
   14946 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   14947 	  fi
   14948 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   14949 	fi
   14950       fi
   14951       ;;
   14952 
   14953     amigaos*)
   14954       case $host_cpu in
   14955       powerpc)
   14956             # see comment about AmigaOS4 .so support
   14957             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14958             archive_expsym_cmds=''
   14959         ;;
   14960       m68k)
   14961             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)'
   14962             hardcode_libdir_flag_spec='-L$libdir'
   14963             hardcode_minus_L=yes
   14964         ;;
   14965       esac
   14966       ;;
   14967 
   14968     bsdi[45]*)
   14969       export_dynamic_flag_spec=-rdynamic
   14970       ;;
   14971 
   14972     cygwin* | mingw* | windows* | pw32* | cegcc*)
   14973       # When not using gcc, we currently assume that we are using
   14974       # Microsoft Visual C++ or Intel C++ Compiler.
   14975       # hardcode_libdir_flag_spec is actually meaningless, as there is
   14976       # no search path for DLLs.
   14977       case $cc_basename in
   14978       cl* | icl* | icx* | icpx*)
   14979 	# Native MSVC and Intel compilers
   14980 	hardcode_libdir_flag_spec=' '
   14981 	allow_undefined_flag=unsupported
   14982 	always_export_symbols=yes
   14983 	file_list_spec='@'
   14984 	# Tell ltmain to make .lib files, not .a files.
   14985 	libext=lib
   14986 	# Tell ltmain to make .dll files, not .so files.
   14987 	shrext_cmds=.dll
   14988 	# FIXME: Setting linknames here is a bad hack.
   14989 	# A check exists to verify if there are linker flags, which will use
   14990 	# different commands when linking.
   14991 	archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   14992 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   14993             cp "$export_symbols" "$output_objdir/$soname.def";
   14994             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.expsym";
   14995           else
   14996             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.expsym;
   14997           fi~
   14998           if test -z "$linker_flags"; then
   14999              $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.expsym" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib";
   15000           else
   15001              $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.expsym" -Wl,$linker_flags-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib";
   15002           fi~
   15003           linknames='
   15004 	# The linker will not automatically build a static lib if we build a DLL.
   15005 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   15006 	enable_shared_with_static_runtimes=yes
   15007 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   15008 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   15009 	# Don't use ranlib
   15010 	old_postinstall_cmds='chmod 644 $oldlib'
   15011 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   15012           lt_tool_outputfile="@TOOL_OUTPUT@"~
   15013           case $lt_outputfile in
   15014             *.exe|*.EXE) ;;
   15015             *)
   15016               lt_outputfile=$lt_outputfile.exe
   15017               lt_tool_outputfile=$lt_tool_outputfile.exe
   15018               ;;
   15019           esac~
   15020           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   15021             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   15022             $RM "$lt_outputfile.manifest";
   15023           fi'
   15024 	;;
   15025       *)
   15026 	# Assume MSVC and ICC wrapper
   15027 	hardcode_libdir_flag_spec=' '
   15028 	allow_undefined_flag=unsupported
   15029 	# Tell ltmain to make .lib files, not .a files.
   15030 	libext=lib
   15031 	# Tell ltmain to make .dll files, not .so files.
   15032 	shrext_cmds=.dll
   15033 	# FIXME: Setting linknames here is a bad hack.
   15034 	archive_cmds='$CC -Fe$lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   15035 	# The linker will automatically build a .lib file if we build a DLL.
   15036 	old_archive_from_new_cmds='true'
   15037 	# FIXME: Should let the user specify the lib program.
   15038 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15039 	enable_shared_with_static_runtimes=yes
   15040 	;;
   15041       esac
   15042       ;;
   15043 
   15044     darwin* | rhapsody*)
   15045 
   15046 
   15047   archive_cmds_need_lc=no
   15048   hardcode_direct=no
   15049   hardcode_automatic=yes
   15050   hardcode_shlibpath_var=unsupported
   15051   if test yes = "$lt_cv_ld_force_load"; then
   15052     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\"`'
   15053 
   15054   else
   15055     whole_archive_flag_spec=''
   15056   fi
   15057   link_all_deplibs=yes
   15058   allow_undefined_flag=$_lt_dar_allow_undefined
   15059   case $cc_basename in
   15060      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   15061      *) _lt_dar_can_shared=$GCC ;;
   15062   esac
   15063   if test yes = "$_lt_dar_can_shared"; then
   15064     output_verbose_link_cmd=func_echo_all
   15065     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   15066     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   15067     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"
   15068     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"
   15069 
   15070   else
   15071   ld_shlibs=no
   15072   fi
   15073 
   15074       ;;
   15075 
   15076     dgux*)
   15077       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15078       hardcode_libdir_flag_spec='-L$libdir'
   15079       hardcode_shlibpath_var=no
   15080       ;;
   15081 
   15082     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15083     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15084     # does not break anything, and helps significantly (at the cost of a little
   15085     # extra space).
   15086     freebsd2.2*)
   15087       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15088       hardcode_libdir_flag_spec='-R$libdir'
   15089       hardcode_direct=yes
   15090       hardcode_shlibpath_var=no
   15091       ;;
   15092 
   15093     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15094     freebsd2.*)
   15095       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15096       hardcode_direct=yes
   15097       hardcode_minus_L=yes
   15098       hardcode_shlibpath_var=no
   15099       ;;
   15100 
   15101     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15102     freebsd* | dragonfly* | midnightbsd*)
   15103       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15104       hardcode_libdir_flag_spec='-R$libdir'
   15105       hardcode_direct=yes
   15106       hardcode_shlibpath_var=no
   15107       ;;
   15108 
   15109     hpux9*)
   15110       if test yes = "$GCC"; then
   15111 	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'
   15112       else
   15113 	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'
   15114       fi
   15115       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   15116       hardcode_libdir_separator=:
   15117       hardcode_direct=yes
   15118 
   15119       # hardcode_minus_L: Not really in the search PATH,
   15120       # but as the default location of the library.
   15121       hardcode_minus_L=yes
   15122       export_dynamic_flag_spec='$wl-E'
   15123       ;;
   15124 
   15125     hpux10*)
   15126       if test yes,no = "$GCC,$with_gnu_ld"; then
   15127 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15128       else
   15129 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15130       fi
   15131       if test no = "$with_gnu_ld"; then
   15132 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   15133 	hardcode_libdir_separator=:
   15134 	hardcode_direct=yes
   15135 	hardcode_direct_absolute=yes
   15136 	export_dynamic_flag_spec='$wl-E'
   15137 	# hardcode_minus_L: Not really in the search PATH,
   15138 	# but as the default location of the library.
   15139 	hardcode_minus_L=yes
   15140       fi
   15141       ;;
   15142 
   15143     hpux11*)
   15144       if test yes,no = "$GCC,$with_gnu_ld"; then
   15145 	case $host_cpu in
   15146 	hppa*64*)
   15147 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   15148 	  ;;
   15149 	ia64*)
   15150 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15151 	  ;;
   15152 	*)
   15153 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15154 	  ;;
   15155 	esac
   15156       else
   15157 	case $host_cpu in
   15158 	hppa*64*)
   15159 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   15160 	  ;;
   15161 	ia64*)
   15162 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15163 	  ;;
   15164 	*)
   15165 
   15166 	  # Older versions of the 11.00 compiler do not understand -b yet
   15167 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   15168 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   15169 printf %s "checking if $CC understands -b... " >&6; }
   15170 if test ${lt_cv_prog_compiler__b+y}
   15171 then :
   15172   printf %s "(cached) " >&6
   15173 else case e in #(
   15174   e) lt_cv_prog_compiler__b=no
   15175    save_LDFLAGS=$LDFLAGS
   15176    LDFLAGS="$LDFLAGS -b"
   15177    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15178    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15179      # The linker can only warn and ignore the option if not recognized
   15180      # So say no if there are warnings
   15181      if test -s conftest.err; then
   15182        # Append any errors to the config.log.
   15183        cat conftest.err 1>&5
   15184        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.expsym
   15185        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15186        if diff conftest.expsym conftest.er2 >/dev/null; then
   15187          lt_cv_prog_compiler__b=yes
   15188        fi
   15189      else
   15190        lt_cv_prog_compiler__b=yes
   15191      fi
   15192    fi
   15193    $RM -r conftest*
   15194    LDFLAGS=$save_LDFLAGS
   15195  ;;
   15196 esac
   15197 fi
   15198 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   15199 printf '%s\n' "$lt_cv_prog_compiler__b" >&6; }
   15200 
   15201 if test yes = "$lt_cv_prog_compiler__b"; then
   15202     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15203 else
   15204     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15205 fi
   15206 
   15207 	  ;;
   15208 	esac
   15209       fi
   15210       if test no = "$with_gnu_ld"; then
   15211 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   15212 	hardcode_libdir_separator=:
   15213 
   15214 	case $host_cpu in
   15215 	hppa*64*|ia64*)
   15216 	  hardcode_direct=no
   15217 	  hardcode_shlibpath_var=no
   15218 	  ;;
   15219 	*)
   15220 	  hardcode_direct=yes
   15221 	  hardcode_direct_absolute=yes
   15222 	  export_dynamic_flag_spec='$wl-E'
   15223 
   15224 	  # hardcode_minus_L: Not really in the search PATH,
   15225 	  # but as the default location of the library.
   15226 	  hardcode_minus_L=yes
   15227 	  ;;
   15228 	esac
   15229       fi
   15230       ;;
   15231 
   15232     irix5* | irix6* | nonstopux*)
   15233       if test yes = "$GCC"; then
   15234 	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'
   15235 	# Try to use the -exported_symbol ld option, if it does not
   15236 	# work, assume that -exports_file does not work either and
   15237 	# implicitly export all symbols.
   15238 	# This should be the same for all languages, so no per-tag cache variable.
   15239 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   15240 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   15241 if test ${lt_cv_irix_exported_symbol+y}
   15242 then :
   15243   printf %s "(cached) " >&6
   15244 else case e in #(
   15245   e) save_LDFLAGS=$LDFLAGS
   15246 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   15247 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15248 /* end confdefs.h.  */
   15249 int foo (void) { return 0; }
   15250 _ACEOF
   15251 if ac_fn_c_try_link "$LINENO"
   15252 then :
   15253   lt_cv_irix_exported_symbol=yes
   15254 else case e in #(
   15255   e) lt_cv_irix_exported_symbol=no ;;
   15256 esac
   15257 fi
   15258 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15259     conftest$ac_exeext conftest.$ac_ext
   15260            LDFLAGS=$save_LDFLAGS ;;
   15261 esac
   15262 fi
   15263 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   15264 printf '%s\n' "$lt_cv_irix_exported_symbol" >&6; }
   15265 	if test yes = "$lt_cv_irix_exported_symbol"; then
   15266           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'
   15267 	fi
   15268       else
   15269 	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'
   15270 	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'
   15271       fi
   15272       archive_cmds_need_lc='no'
   15273       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15274       hardcode_libdir_separator=:
   15275       inherit_rpath=yes
   15276       link_all_deplibs=yes
   15277       ;;
   15278 
   15279     *-mlibc)
   15280       ;;
   15281 
   15282     linux*)
   15283       case $cc_basename in
   15284       tcc*)
   15285 	# Fabrice Bellard et al's Tiny C Compiler
   15286 	ld_shlibs=yes
   15287 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15288 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15289 	;;
   15290       esac
   15291       ;;
   15292 
   15293     netbsd* | netbsdelf*-gnu)
   15294       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15295 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15296       else
   15297 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15298       fi
   15299       hardcode_libdir_flag_spec='-R$libdir'
   15300       hardcode_direct=yes
   15301       hardcode_shlibpath_var=no
   15302       ;;
   15303 
   15304     newsos6)
   15305       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15306       hardcode_direct=yes
   15307       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15308       hardcode_libdir_separator=:
   15309       hardcode_shlibpath_var=no
   15310       ;;
   15311 
   15312     *nto* | *qnx*)
   15313       ;;
   15314 
   15315     openbsd*)
   15316       if test -f /usr/libexec/ld.so; then
   15317 	hardcode_direct=yes
   15318 	hardcode_shlibpath_var=no
   15319 	hardcode_direct_absolute=yes
   15320 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   15321 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15322 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   15323 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   15324 	  export_dynamic_flag_spec='$wl-E'
   15325 	else
   15326 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15327 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   15328 	fi
   15329       else
   15330 	ld_shlibs=no
   15331       fi
   15332       ;;
   15333 
   15334     os2*)
   15335       hardcode_libdir_flag_spec='-L$libdir'
   15336       hardcode_minus_L=yes
   15337       allow_undefined_flag=unsupported
   15338       shrext_cmds=.dll
   15339       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15340 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15341 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15342 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15343 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   15344 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15345 	emximp -o $lib $output_objdir/$libname.def'
   15346       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15347 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15348 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15349 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15350 	prefix_cmds="$SED"~
   15351 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   15352 	  prefix_cmds="$prefix_cmds -e 1d";
   15353 	fi~
   15354 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   15355 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   15356 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15357 	emximp -o $lib $output_objdir/$libname.def'
   15358       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   15359       enable_shared_with_static_runtimes=yes
   15360       file_list_spec='@'
   15361       ;;
   15362 
   15363     osf3*)
   15364       if test yes = "$GCC"; then
   15365 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   15366 	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'
   15367       else
   15368 	allow_undefined_flag=' -expect_unresolved \*'
   15369 	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'
   15370       fi
   15371       archive_cmds_need_lc='no'
   15372       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15373       hardcode_libdir_separator=:
   15374       ;;
   15375 
   15376     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15377       if test yes = "$GCC"; then
   15378 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   15379 	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'
   15380 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15381       else
   15382 	allow_undefined_flag=' -expect_unresolved \*'
   15383 	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'
   15384 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.expsym; done; printf "%s\\n" "-hidden">> $lib.expsym~
   15385           $CC -shared$allow_undefined_flag $wl-input $wl$lib.expsym $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.expsym'
   15386 
   15387 	# Both c and cxx compiler support -rpath directly
   15388 	hardcode_libdir_flag_spec='-rpath $libdir'
   15389       fi
   15390       archive_cmds_need_lc='no'
   15391       hardcode_libdir_separator=:
   15392       ;;
   15393 
   15394     serenity*)
   15395       ;;
   15396 
   15397     solaris*)
   15398       no_undefined_flag=' -z defs'
   15399       if test yes = "$GCC"; then
   15400 	wlarc='$wl'
   15401 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   15402 	archive_expsym_cmds='echo "{ global:" > $lib.expsym~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.expsym~echo "local: *; };" >> $lib.expsym~
   15403           $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.expsym $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.expsym'
   15404       else
   15405 	case `$CC -V 2>&1` in
   15406 	*"Compilers 5.0"*)
   15407 	  wlarc=''
   15408 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15409 	  archive_expsym_cmds='echo "{ global:" > $lib.expsym~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.expsym~echo "local: *; };" >> $lib.expsym~
   15410             $LD -G$allow_undefined_flag -M $lib.expsym -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.expsym'
   15411 	  ;;
   15412 	*)
   15413 	  wlarc='$wl'
   15414 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15415 	  archive_expsym_cmds='echo "{ global:" > $lib.expsym~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.expsym~echo "local: *; };" >> $lib.expsym~
   15416             $CC -G$allow_undefined_flag -M $lib.expsym -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.expsym'
   15417 	  ;;
   15418 	esac
   15419       fi
   15420       hardcode_libdir_flag_spec='-R$libdir'
   15421       hardcode_shlibpath_var=no
   15422       case $host_os in
   15423       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15424       *)
   15425 	# The compiler driver will combine and reorder linker options,
   15426 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   15427 	# but is careful enough not to reorder.
   15428 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15429 	if test yes = "$GCC"; then
   15430 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   15431 	else
   15432 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   15433 	fi
   15434 	;;
   15435       esac
   15436       link_all_deplibs=yes
   15437       ;;
   15438 
   15439     sunos4*)
   15440       if test sequent = "$host_vendor"; then
   15441 	# Use $CC to link under sequent, because it throws in some extra .o
   15442 	# files that make .init and .fini sections work.
   15443 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15444       else
   15445 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15446       fi
   15447       hardcode_libdir_flag_spec='-L$libdir'
   15448       hardcode_direct=yes
   15449       hardcode_minus_L=yes
   15450       hardcode_shlibpath_var=no
   15451       ;;
   15452 
   15453     sysv4)
   15454       case $host_vendor in
   15455 	sni)
   15456 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15457 	  hardcode_direct=yes # is this really true???
   15458 	;;
   15459 	siemens)
   15460 	  ## LD is ld it makes a PLAMLIB
   15461 	  ## CC just makes a GrossModule.
   15462 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15463 	  reload_cmds='$CC -r -o $output$reload_objs'
   15464 	  hardcode_direct=no
   15465         ;;
   15466 	motorola)
   15467 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15468 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   15469 	;;
   15470       esac
   15471       runpath_var='LD_RUN_PATH'
   15472       hardcode_shlibpath_var=no
   15473       ;;
   15474 
   15475     sysv4.3*)
   15476       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15477       hardcode_shlibpath_var=no
   15478       export_dynamic_flag_spec='-Bexport'
   15479       ;;
   15480 
   15481     sysv4*MP*)
   15482       if test -d /usr/nec; then
   15483 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15484 	hardcode_shlibpath_var=no
   15485 	runpath_var=LD_RUN_PATH
   15486 	hardcode_runpath_var=yes
   15487 	ld_shlibs=yes
   15488       fi
   15489       ;;
   15490 
   15491     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15492       no_undefined_flag='$wl-z,text'
   15493       archive_cmds_need_lc=no
   15494       hardcode_shlibpath_var=no
   15495       runpath_var='LD_RUN_PATH'
   15496 
   15497       if test yes = "$GCC"; then
   15498 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15499 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15500       else
   15501 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15502 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15503       fi
   15504       ;;
   15505 
   15506     sysv5* | sco3.2v5* | sco5v6*)
   15507       # Note: We CANNOT use -z defs as we might desire, because we do not
   15508       # link with -lc, and that would cause any symbols used from libc to
   15509       # always be unresolved, which means just about no library would
   15510       # ever link correctly.  If we're not using GNU ld we use -z text
   15511       # though, which does catch some bad symbols but isn't as heavy-handed
   15512       # as -z defs.
   15513       no_undefined_flag='$wl-z,text'
   15514       allow_undefined_flag='$wl-z,nodefs'
   15515       archive_cmds_need_lc=no
   15516       hardcode_shlibpath_var=no
   15517       hardcode_libdir_flag_spec='$wl-R,$libdir'
   15518       hardcode_libdir_separator=':'
   15519       link_all_deplibs=yes
   15520       export_dynamic_flag_spec='$wl-Bexport'
   15521       runpath_var='LD_RUN_PATH'
   15522 
   15523       if test yes = "$GCC"; then
   15524 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15525 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15526       else
   15527 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15528 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15529       fi
   15530       ;;
   15531 
   15532     uts4*)
   15533       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15534       hardcode_libdir_flag_spec='-L$libdir'
   15535       hardcode_shlibpath_var=no
   15536       ;;
   15537 
   15538     *)
   15539       ld_shlibs=no
   15540       ;;
   15541     esac
   15542 
   15543     if test sni = "$host_vendor"; then
   15544       case $host in
   15545       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   15546 	export_dynamic_flag_spec='$wl-Blargedynsym'
   15547 	;;
   15548       esac
   15549     fi
   15550   fi
   15551 
   15552 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   15553 printf '%s\n' "$ld_shlibs" >&6; }
   15554 test no = "$ld_shlibs" && can_build_shared=no
   15555 
   15556 with_gnu_ld=$with_gnu_ld
   15557 
   15558 
   15559 
   15560 
   15561 
   15562 
   15563 
   15564 
   15565 
   15566 
   15567 
   15568 
   15569 
   15570 
   15571 
   15572 #
   15573 # Do we need to explicitly link libc?
   15574 #
   15575 case "x$archive_cmds_need_lc" in
   15576 x|xyes)
   15577   # Assume -lc should be added
   15578   archive_cmds_need_lc=yes
   15579 
   15580   if test yes,yes = "$GCC,$enable_shared"; then
   15581     case $archive_cmds in
   15582     *'~'*)
   15583       # FIXME: we may have to deal with multi-command sequences.
   15584       ;;
   15585     '$CC '*)
   15586       # Test whether the compiler implicitly links with -lc since on some
   15587       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15588       # to ld, don't add -lc before -lgcc.
   15589       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   15590 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   15591 if test ${lt_cv_archive_cmds_need_lc+y}
   15592 then :
   15593   printf %s "(cached) " >&6
   15594 else case e in #(
   15595   e) $RM conftest*
   15596 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15597 
   15598 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   15599   (eval $ac_compile) 2>&5
   15600   ac_status=$?
   15601   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15602   test $ac_status = 0; } 2>conftest.err; then
   15603 	  soname=conftest
   15604 	  lib=conftest
   15605 	  libobjs=conftest.$ac_objext
   15606 	  deplibs=
   15607 	  wl=$lt_prog_compiler_wl
   15608 	  pic_flag=$lt_prog_compiler_pic
   15609 	  compiler_flags=-v
   15610 	  linker_flags=-v
   15611 	  verstring=
   15612 	  output_objdir=.
   15613 	  libname=conftest
   15614 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   15615 	  allow_undefined_flag=
   15616 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   15617   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15618   ac_status=$?
   15619   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15620   test $ac_status = 0; }
   15621 	  then
   15622 	    lt_cv_archive_cmds_need_lc=no
   15623 	  else
   15624 	    lt_cv_archive_cmds_need_lc=yes
   15625 	  fi
   15626 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   15627 	else
   15628 	  cat conftest.err 1>&5
   15629 	fi
   15630 	$RM conftest*
   15631 	 ;;
   15632 esac
   15633 fi
   15634 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   15635 printf '%s\n' "$lt_cv_archive_cmds_need_lc" >&6; }
   15636       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   15637       ;;
   15638     esac
   15639   fi
   15640   ;;
   15641 esac
   15642 
   15643 
   15644 
   15645 
   15646 
   15647 
   15648 
   15649 
   15650 
   15651 
   15652 
   15653 
   15654 
   15655 
   15656 
   15657 
   15658 
   15659 
   15660 
   15661 
   15662 
   15663 
   15664 
   15665 
   15666 
   15667 
   15668 
   15669 
   15670 
   15671 
   15672 
   15673 
   15674 
   15675 
   15676 
   15677 
   15678 
   15679 
   15680 
   15681 
   15682 
   15683 
   15684 
   15685 
   15686 
   15687 
   15688 
   15689 
   15690 
   15691 
   15692 
   15693 
   15694 
   15695 
   15696 
   15697 
   15698 
   15699 
   15700 
   15701 
   15702 
   15703 
   15704 
   15705 
   15706 
   15707 
   15708 
   15709 
   15710 
   15711 
   15712 
   15713 
   15714 
   15715 
   15716 
   15717 
   15718 
   15719 
   15720 
   15721 
   15722 
   15723 
   15724 
   15725 
   15726 
   15727 
   15728 
   15729 
   15730 
   15731 
   15732 
   15733 
   15734 
   15735 
   15736 
   15737 
   15738 
   15739 
   15740 
   15741 
   15742 
   15743 
   15744 
   15745 
   15746 
   15747 
   15748 
   15749 
   15750 
   15751 
   15752 
   15753 
   15754 
   15755 
   15756 
   15757 
   15758 
   15759 
   15760 
   15761 
   15762 
   15763 
   15764 
   15765 
   15766 
   15767 
   15768 
   15769 
   15770 
   15771 
   15772 
   15773 
   15774 
   15775 
   15776 
   15777 
   15778 
   15779 
   15780 
   15781 
   15782 
   15783 
   15784 
   15785 
   15786 
   15787 
   15788 
   15789 
   15790 
   15791 
   15792 
   15793 
   15794   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   15795 printf %s "checking dynamic linker characteristics... " >&6; }
   15796 
   15797 if test yes = "$GCC"; then
   15798   case $host_os in
   15799     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   15800     *) lt_awk_arg='/^libraries:/' ;;
   15801   esac
   15802   case $host_os in
   15803     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   15804     *) lt_sed_strip_eq='s|=/|/|g' ;;
   15805   esac
   15806   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   15807   case $lt_search_path_spec in
   15808   *\;*)
   15809     # if the path contains ";" then we assume it to be the separator
   15810     # otherwise default to the standard path separator (i.e. ":") - it is
   15811     # assumed that no part of a normal pathname contains ";" but that should
   15812     # okay in the real world where ";" in dirpaths is itself problematic.
   15813     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   15814     ;;
   15815   *)
   15816     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   15817     ;;
   15818   esac
   15819   # Ok, now we have the path, separated by spaces, we can step through it
   15820   # and add multilib dir if necessary...
   15821   lt_tmp_lt_search_path_spec=
   15822   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   15823   # ...but if some path component already ends with the multilib dir we assume
   15824   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   15825   case "$lt_multi_os_dir; $lt_search_path_spec " in
   15826   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   15827     lt_multi_os_dir=
   15828     ;;
   15829   esac
   15830   for lt_sys_path in $lt_search_path_spec; do
   15831     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   15832       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   15833     elif test -n "$lt_multi_os_dir"; then
   15834       test -d "$lt_sys_path" && \
   15835 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   15836     fi
   15837   done
   15838   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   15839 BEGIN {RS = " "; FS = "/|\n";} {
   15840   lt_foo = "";
   15841   lt_count = 0;
   15842   for (lt_i = NF; lt_i > 0; lt_i--) {
   15843     if ($lt_i != "" && $lt_i != ".") {
   15844       if ($lt_i == "..") {
   15845         lt_count++;
   15846       } else {
   15847         if (lt_count == 0) {
   15848           lt_foo = "/" $lt_i lt_foo;
   15849         } else {
   15850           lt_count--;
   15851         }
   15852       }
   15853     }
   15854   }
   15855   if (lt_foo != "") { lt_freq[lt_foo]++; }
   15856   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   15857 }'`
   15858   # AWK program above erroneously prepends '/' to C:/dos/paths
   15859   # for these hosts.
   15860   case $host_os in
   15861     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   15862       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   15863   esac
   15864   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   15865 else
   15866   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   15867 fi
   15868 library_names_spec=
   15869 libname_spec='lib$name'
   15870 soname_spec=
   15871 shrext_cmds=.so
   15872 postinstall_cmds=
   15873 postuninstall_cmds=
   15874 finish_cmds=
   15875 finish_eval=
   15876 shlibpath_var=
   15877 shlibpath_overrides_runpath=unknown
   15878 version_type=none
   15879 dynamic_linker="$host_os ld.so"
   15880 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15881 need_lib_prefix=unknown
   15882 hardcode_into_libs=no
   15883 
   15884 # when you set need_version to no, make sure it does not cause -set_version
   15885 # flags to be left without arguments
   15886 need_version=unknown
   15887 
   15888 
   15889 
   15890 case $host_os in
   15891 aix3*)
   15892   version_type=linux # correct to gnu/linux during the next big refactor
   15893   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   15894   shlibpath_var=LIBPATH
   15895 
   15896   # AIX 3 has no versioning support, so we append a major version to the name.
   15897   soname_spec='$libname$release$shared_ext$major'
   15898   ;;
   15899 
   15900 aix[4-9]*)
   15901   version_type=linux # correct to gnu/linux during the next big refactor
   15902   need_lib_prefix=no
   15903   need_version=no
   15904   hardcode_into_libs=yes
   15905   if test ia64 = "$host_cpu"; then
   15906     # AIX 5 supports IA64
   15907     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   15908     shlibpath_var=LD_LIBRARY_PATH
   15909   else
   15910     # With GCC up to 2.95.x, collect2 would create an import file
   15911     # for dependence libraries.  The import file would start with
   15912     # the line '#! .'.  This would cause the generated library to
   15913     # depend on '.', always an invalid library.  This was fixed in
   15914     # development snapshots of GCC prior to 3.0.
   15915     case $host_os in
   15916       aix4 | aix4.[01] | aix4.[01].*)
   15917       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15918 	   echo ' yes '
   15919 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   15920 	:
   15921       else
   15922 	can_build_shared=no
   15923       fi
   15924       ;;
   15925     esac
   15926     # Using Import Files as archive members, it is possible to support
   15927     # filename-based versioning of shared library archives on AIX. While
   15928     # this would work for both with and without runtime linking, it will
   15929     # prevent static linking of such archives. So we do filename-based
   15930     # shared library versioning with .so extension only, which is used
   15931     # when both runtime linking and shared linking is enabled.
   15932     # Unfortunately, runtime linking may impact performance, so we do
   15933     # not want this to be the default eventually. Also, we use the
   15934     # versioned .so libs for executables only if there is the -brtl
   15935     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
   15936     # To allow for filename-based versioning support, we need to create
   15937     # libNAME.so.V as an archive file, containing:
   15938     # *) an Import File, referring to the versioned filename of the
   15939     #    archive as well as the shared archive member, telling the
   15940     #    bitwidth (32 or 64) of that shared object, and providing the
   15941     #    list of exported symbols of that shared object, eventually
   15942     #    decorated with the 'weak' keyword
   15943     # *) the shared object with the F_LOADONLY flag set, to really avoid
   15944     #    it being seen by the linker.
   15945     # At run time we better use the real file rather than another symlink,
   15946     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   15947 
   15948     case $with_aix_soname,$aix_use_runtimelinking in
   15949     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   15950     # soname into executable. Probably we can add versioning support to
   15951     # collect2, so additional links can be useful in future.
   15952     aix,yes) # traditional libtool
   15953       dynamic_linker='AIX unversionable lib.so'
   15954       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15955       # instead of lib<name>.a to let people know that these are not
   15956       # typical AIX shared libraries.
   15957       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15958       ;;
   15959     aix,no) # traditional AIX only
   15960       dynamic_linker='AIX lib.a(lib.so.V)'
   15961       # We preserve .a as extension for shared libraries through AIX4.2
   15962       # and later when we are not doing run time linking.
   15963       library_names_spec='$libname$release.a $libname.a'
   15964       soname_spec='$libname$release$shared_ext$major'
   15965       ;;
   15966     svr4,*) # full svr4 only
   15967       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   15968       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   15969       # We do not specify a path in Import Files, so LIBPATH fires.
   15970       shlibpath_overrides_runpath=yes
   15971       ;;
   15972     *,yes) # both, prefer svr4
   15973       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   15974       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   15975       # unpreferred sharedlib libNAME.a needs extra handling
   15976       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"'
   15977       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"'
   15978       # We do not specify a path in Import Files, so LIBPATH fires.
   15979       shlibpath_overrides_runpath=yes
   15980       ;;
   15981     *,no) # both, prefer aix
   15982       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   15983       library_names_spec='$libname$release.a $libname.a'
   15984       soname_spec='$libname$release$shared_ext$major'
   15985       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   15986       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)'
   15987       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"'
   15988       ;;
   15989     esac
   15990     shlibpath_var=LIBPATH
   15991   fi
   15992   ;;
   15993 
   15994 amigaos*)
   15995   case $host_cpu in
   15996   powerpc)
   15997     # Since July 2007 AmigaOS4 officially supports .so libraries.
   15998     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   15999     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16000     ;;
   16001   m68k)
   16002     library_names_spec='$libname.ixlibrary $libname.a'
   16003     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   16004     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'
   16005     ;;
   16006   esac
   16007   ;;
   16008 
   16009 beos*)
   16010   library_names_spec='$libname$shared_ext'
   16011   dynamic_linker="$host_os ld.so"
   16012   shlibpath_var=LIBRARY_PATH
   16013   ;;
   16014 
   16015 bsdi[45]*)
   16016   version_type=linux # correct to gnu/linux during the next big refactor
   16017   need_version=no
   16018   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16019   soname_spec='$libname$release$shared_ext$major'
   16020   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   16021   shlibpath_var=LD_LIBRARY_PATH
   16022   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   16023   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   16024   # the default ld.so.conf also contains /usr/contrib/lib and
   16025   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   16026   # libtool to hard-code these into programs
   16027   ;;
   16028 
   16029 cygwin* | mingw* | windows* | pw32* | cegcc*)
   16030   version_type=windows
   16031   shrext_cmds=.dll
   16032   need_version=no
   16033   need_lib_prefix=no
   16034 
   16035   case $GCC,$cc_basename in
   16036   yes,*)
   16037     # gcc
   16038     library_names_spec='$libname.dll.a'
   16039     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   16040     # If user builds GCC with multilib enabled,
   16041     # it should just install on $(libdir)
   16042     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
   16043     if test xyes = x"$multilib"; then
   16044       postinstall_cmds='base_file=`basename \$file`~
   16045         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   16046         dldir=$destdir/`dirname \$dlpath`~
   16047         $install_prog $dir/$dlname $destdir/$dlname~
   16048         chmod a+x $destdir/$dlname~
   16049         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   16050           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
   16051         fi'
   16052     else
   16053       postinstall_cmds='base_file=`basename \$file`~
   16054         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   16055         dldir=$destdir/`dirname \$dlpath`~
   16056         test -d \$dldir || mkdir -p \$dldir~
   16057         $install_prog $dir/$dlname \$dldir/$dlname~
   16058         chmod a+x \$dldir/$dlname~
   16059         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   16060           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   16061         fi'
   16062     fi
   16063     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   16064       dlpath=$dir/\$dldll~
   16065        $RM \$dlpath'
   16066     shlibpath_overrides_runpath=yes
   16067 
   16068     case $host_os in
   16069     cygwin*)
   16070       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   16071       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   16072 
   16073       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   16074       ;;
   16075     mingw* | windows* | cegcc*)
   16076       # MinGW DLLs use traditional 'lib' prefix
   16077       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   16078       ;;
   16079     pw32*)
   16080       # pw32 DLLs use 'pw' prefix rather than 'lib'
   16081       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   16082       ;;
   16083     esac
   16084     dynamic_linker='Win32 ld.exe'
   16085     ;;
   16086 
   16087   *,cl* | *,icl* | *,icx*)
   16088     # Native MSVC and Intel compilers
   16089     libname_spec='$name'
   16090     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   16091     library_names_spec='$libname.dll.lib'
   16092 
   16093     case $build_os in
   16094     mingw* | windows*)
   16095       sys_lib_search_path_spec=
   16096       lt_save_ifs=$IFS
   16097       IFS=';'
   16098       for lt_path in $LIB
   16099       do
   16100         IFS=$lt_save_ifs
   16101         # Let DOS variable expansion print the short 8.3 style file name.
   16102         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   16103         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   16104       done
   16105       IFS=$lt_save_ifs
   16106       # Convert to MSYS style.
   16107       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   16108       ;;
   16109     cygwin*)
   16110       # Convert to unix form, then to dos form, then back to unix form
   16111       # but this time dos style (no spaces!) so that the unix form looks
   16112       # like /cygdrive/c/PROGRA~1:/cygdr...
   16113       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   16114       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   16115       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   16116       ;;
   16117     *)
   16118       sys_lib_search_path_spec=$LIB
   16119       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   16120         # It is most probably a Windows format PATH.
   16121         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   16122       else
   16123         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   16124       fi
   16125       # FIXME: find the short name or the path components, as spaces are
   16126       # common. (e.g. "Program Files" -> "PROGRA~1")
   16127       ;;
   16128     esac
   16129 
   16130     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   16131     postinstall_cmds='base_file=`basename \$file`~
   16132       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   16133       dldir=$destdir/`dirname \$dlpath`~
   16134       test -d \$dldir || mkdir -p \$dldir~
   16135       $install_prog $dir/$dlname \$dldir/$dlname'
   16136     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   16137       dlpath=$dir/\$dldll~
   16138        $RM \$dlpath'
   16139     shlibpath_overrides_runpath=yes
   16140     dynamic_linker='Win32 link.exe'
   16141     ;;
   16142 
   16143   *)
   16144     # Assume MSVC and ICC wrapper
   16145     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   16146     dynamic_linker='Win32 ld.exe'
   16147     ;;
   16148   esac
   16149   # FIXME: first we should search . and the directory the executable is in
   16150   shlibpath_var=PATH
   16151   ;;
   16152 
   16153 darwin* | rhapsody*)
   16154   dynamic_linker="$host_os dyld"
   16155   version_type=darwin
   16156   need_lib_prefix=no
   16157   need_version=no
   16158   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   16159   soname_spec='$libname$release$major$shared_ext'
   16160   shlibpath_overrides_runpath=yes
   16161   shlibpath_var=DYLD_LIBRARY_PATH
   16162   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16163 
   16164   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   16165   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16166   ;;
   16167 
   16168 dgux*)
   16169   version_type=linux # correct to gnu/linux during the next big refactor
   16170   need_lib_prefix=no
   16171   need_version=no
   16172   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16173   soname_spec='$libname$release$shared_ext$major'
   16174   shlibpath_var=LD_LIBRARY_PATH
   16175   ;;
   16176 
   16177 freebsd* | dragonfly* | midnightbsd*)
   16178   # DragonFly does not have aout.  When/if they implement a new
   16179   # versioning mechanism, adjust this.
   16180   if test -x /usr/bin/objformat; then
   16181     objformat=`/usr/bin/objformat`
   16182   else
   16183     case $host_os in
   16184     freebsd[23].*) objformat=aout ;;
   16185     *) objformat=elf ;;
   16186     esac
   16187   fi
   16188   version_type=freebsd-$objformat
   16189   case $version_type in
   16190     freebsd-elf*)
   16191       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16192       soname_spec='$libname$release$shared_ext$major'
   16193       need_version=no
   16194       need_lib_prefix=no
   16195       ;;
   16196     freebsd-*)
   16197       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   16198       need_version=yes
   16199       ;;
   16200   esac
   16201   case $host_cpu in
   16202     powerpc64)
   16203       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
   16204       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
   16205       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16206 /* end confdefs.h.  */
   16207 int test_pointer_size[sizeof (void *) - 5];
   16208 
   16209 _ACEOF
   16210 if ac_fn_c_try_compile "$LINENO"
   16211 then :
   16212   shlibpath_var=LD_LIBRARY_PATH
   16213 else case e in #(
   16214   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
   16215 esac
   16216 fi
   16217 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16218       ;;
   16219     *)
   16220       shlibpath_var=LD_LIBRARY_PATH
   16221       ;;
   16222   esac
   16223   case $host_os in
   16224   freebsd2.*)
   16225     shlibpath_overrides_runpath=yes
   16226     ;;
   16227   freebsd3.[01]* | freebsdelf3.[01]*)
   16228     shlibpath_overrides_runpath=yes
   16229     hardcode_into_libs=yes
   16230     ;;
   16231   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16232   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16233     shlibpath_overrides_runpath=no
   16234     hardcode_into_libs=yes
   16235     ;;
   16236   *) # from 4.6 on, and DragonFly
   16237     shlibpath_overrides_runpath=yes
   16238     hardcode_into_libs=yes
   16239     ;;
   16240   esac
   16241   ;;
   16242 
   16243 haiku*)
   16244   version_type=linux # correct to gnu/linux during the next big refactor
   16245   need_lib_prefix=no
   16246   need_version=no
   16247   dynamic_linker="$host_os runtime_loader"
   16248   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16249   soname_spec='$libname$release$shared_ext$major'
   16250   shlibpath_var=LIBRARY_PATH
   16251   shlibpath_overrides_runpath=no
   16252   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
   16253   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
   16254   hardcode_into_libs=no
   16255   ;;
   16256 
   16257 hpux9* | hpux10* | hpux11*)
   16258   # Give a soname corresponding to the major version so that dld.sl refuses to
   16259   # link against other versions.
   16260   version_type=sunos
   16261   need_lib_prefix=no
   16262   need_version=no
   16263   case $host_cpu in
   16264   ia64*)
   16265     shrext_cmds='.so'
   16266     hardcode_into_libs=yes
   16267     dynamic_linker="$host_os dld.so"
   16268     shlibpath_var=LD_LIBRARY_PATH
   16269     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16270     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16271     soname_spec='$libname$release$shared_ext$major'
   16272     if test 32 = "$HPUX_IA64_MODE"; then
   16273       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16274       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   16275     else
   16276       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16277       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   16278     fi
   16279     ;;
   16280   hppa*64*)
   16281     shrext_cmds='.sl'
   16282     hardcode_into_libs=yes
   16283     dynamic_linker="$host_os dld.sl"
   16284     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16285     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16286     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16287     soname_spec='$libname$release$shared_ext$major'
   16288     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16289     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16290     ;;
   16291   *)
   16292     shrext_cmds='.sl'
   16293     dynamic_linker="$host_os dld.sl"
   16294     shlibpath_var=SHLIB_PATH
   16295     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16296     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16297     soname_spec='$libname$release$shared_ext$major'
   16298     ;;
   16299   esac
   16300   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   16301   postinstall_cmds='chmod 555 $lib'
   16302   # or fails outright, so override atomically:
   16303   install_override_mode=555
   16304   ;;
   16305 
   16306 interix[3-9]*)
   16307   version_type=linux # correct to gnu/linux during the next big refactor
   16308   need_lib_prefix=no
   16309   need_version=no
   16310   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16311   soname_spec='$libname$release$shared_ext$major'
   16312   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16313   shlibpath_var=LD_LIBRARY_PATH
   16314   shlibpath_overrides_runpath=no
   16315   hardcode_into_libs=yes
   16316   ;;
   16317 
   16318 irix5* | irix6* | nonstopux*)
   16319   case $host_os in
   16320     nonstopux*) version_type=nonstopux ;;
   16321     *)
   16322 	if test yes = "$lt_cv_prog_gnu_ld"; then
   16323 		version_type=linux # correct to gnu/linux during the next big refactor
   16324 	else
   16325 		version_type=irix
   16326 	fi ;;
   16327   esac
   16328   need_lib_prefix=no
   16329   need_version=no
   16330   soname_spec='$libname$release$shared_ext$major'
   16331   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   16332   case $host_os in
   16333   irix5* | nonstopux*)
   16334     libsuff= shlibsuff=
   16335     ;;
   16336   *)
   16337     case $LD in # libtool.m4 will add one of these switches to LD
   16338     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16339       libsuff= shlibsuff= libmagic=32-bit;;
   16340     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16341       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16342     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16343       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16344     *) libsuff= shlibsuff= libmagic=never-match;;
   16345     esac
   16346     ;;
   16347   esac
   16348   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16349   shlibpath_overrides_runpath=no
   16350   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   16351   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   16352   hardcode_into_libs=yes
   16353   ;;
   16354 
   16355 *-mlibc)
   16356   version_type=linux # correct to gnu/linux during the next big refactor
   16357   need_lib_prefix=no
   16358   need_version=no
   16359   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16360   soname_spec='$libname$release$shared_ext$major'
   16361   dynamic_linker='mlibc ld.so'
   16362   shlibpath_var=LD_LIBRARY_PATH
   16363   shlibpath_overrides_runpath=no
   16364   hardcode_into_libs=yes
   16365   ;;
   16366 
   16367 # No shared lib support for Linux oldld, aout, or coff.
   16368 linux*oldld* | linux*aout* | linux*coff*)
   16369   dynamic_linker=no
   16370   ;;
   16371 
   16372 linux*android*)
   16373   version_type=none # Android doesn't support versioned libraries.
   16374   need_lib_prefix=no
   16375   need_version=no
   16376   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
   16377   soname_spec='$libname$release$shared_ext'
   16378   finish_cmds=
   16379   shlibpath_var=LD_LIBRARY_PATH
   16380   shlibpath_overrides_runpath=yes
   16381 
   16382   # This implies no fast_install, which is unacceptable.
   16383   # Some rework will be needed to allow for fast_install
   16384   # before this can be enabled.
   16385   hardcode_into_libs=yes
   16386 
   16387   dynamic_linker='Android linker'
   16388   # -rpath works at least for libraries that are not overridden by
   16389   # libraries installed in system locations.
   16390   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16391   ;;
   16392 
   16393 # This must be glibc/ELF.
   16394 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   16395   version_type=linux # correct to gnu/linux during the next big refactor
   16396   need_lib_prefix=no
   16397   need_version=no
   16398   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16399   soname_spec='$libname$release$shared_ext$major'
   16400   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16401   shlibpath_var=LD_LIBRARY_PATH
   16402   shlibpath_overrides_runpath=no
   16403 
   16404   # Some binutils ld are patched to set DT_RUNPATH
   16405   if test ${lt_cv_shlibpath_overrides_runpath+y}
   16406 then :
   16407   printf %s "(cached) " >&6
   16408 else case e in #(
   16409   e) lt_cv_shlibpath_overrides_runpath=no
   16410     save_LDFLAGS=$LDFLAGS
   16411     save_libdir=$libdir
   16412     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   16413 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   16414     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16415 /* end confdefs.h.  */
   16416 
   16417 int
   16418 main (void)
   16419 {
   16420 
   16421   ;
   16422   return 0;
   16423 }
   16424 _ACEOF
   16425 if ac_fn_c_try_link "$LINENO"
   16426 then :
   16427   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   16428 then :
   16429   lt_cv_shlibpath_overrides_runpath=yes
   16430 fi
   16431 fi
   16432 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16433     conftest$ac_exeext conftest.$ac_ext
   16434     LDFLAGS=$save_LDFLAGS
   16435     libdir=$save_libdir
   16436      ;;
   16437 esac
   16438 fi
   16439 
   16440   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   16441 
   16442   # This implies no fast_install, which is unacceptable.
   16443   # Some rework will be needed to allow for fast_install
   16444   # before this can be enabled.
   16445   hardcode_into_libs=yes
   16446 
   16447   # Ideally, we could use ldconfig to report *all* directories which are
   16448   # searched for libraries, however this is still not possible.  Aside from not
   16449   # being certain /sbin/ldconfig is available, command
   16450   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   16451   # even though it is searched at run-time.  Try to do the best guess by
   16452   # appending ld.so.conf contents (and includes) to the search path.
   16453   if test -f /etc/ld.so.conf; then
   16454     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' ' '`
   16455     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   16456   fi
   16457 
   16458   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16459   # powerpc, because MkLinux only supported shared libraries with the
   16460   # GNU dynamic linker.  Since this was broken with cross compilers,
   16461   # most powerpc-linux boxes support dynamic linking these days and
   16462   # people can always --disable-shared, the test was removed, and we
   16463   # assume the GNU/Linux dynamic linker is in use.
   16464   dynamic_linker='GNU/Linux ld.so'
   16465   ;;
   16466 
   16467 netbsdelf*-gnu)
   16468   version_type=linux
   16469   need_lib_prefix=no
   16470   need_version=no
   16471   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16472   soname_spec='$libname$release$shared_ext$major'
   16473   shlibpath_var=LD_LIBRARY_PATH
   16474   shlibpath_overrides_runpath=no
   16475   hardcode_into_libs=yes
   16476   dynamic_linker='NetBSD ld.elf_so'
   16477   enable_cxx_stdlib=yes
   16478   stdlibflag=
   16479   ;;
   16480 
   16481 netbsd*)
   16482   version_type=sunos
   16483   need_lib_prefix=no
   16484   need_version=no
   16485   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16486     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   16487     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16488     dynamic_linker='NetBSD (a.out) ld.so'
   16489   else
   16490     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16491     soname_spec='$libname$release$shared_ext$major'
   16492     dynamic_linker='NetBSD ld.elf_so'
   16493   fi
   16494   shlibpath_var=LD_LIBRARY_PATH
   16495   shlibpath_overrides_runpath=yes
   16496   hardcode_into_libs=yes
   16497   enable_cxx_stdlib=yes
   16498   stdlibflag=
   16499   ;;
   16500 
   16501 newsos6)
   16502   version_type=linux # correct to gnu/linux during the next big refactor
   16503   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16504   shlibpath_var=LD_LIBRARY_PATH
   16505   shlibpath_overrides_runpath=yes
   16506   ;;
   16507 
   16508 *nto* | *qnx*)
   16509   version_type=qnx
   16510   need_lib_prefix=no
   16511   need_version=no
   16512   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16513   soname_spec='$libname$release$shared_ext$major'
   16514   shlibpath_var=LD_LIBRARY_PATH
   16515   shlibpath_overrides_runpath=no
   16516   hardcode_into_libs=yes
   16517   dynamic_linker='ldqnx.so'
   16518   ;;
   16519 
   16520 openbsd*)
   16521   version_type=sunos
   16522   sys_lib_dlsearch_path_spec=/usr/lib
   16523   need_lib_prefix=no
   16524   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   16525     need_version=no
   16526   else
   16527     need_version=yes
   16528   fi
   16529   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   16530   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16531   shlibpath_var=LD_LIBRARY_PATH
   16532   shlibpath_overrides_runpath=yes
   16533   ;;
   16534 
   16535 os2*)
   16536   libname_spec='$name'
   16537   version_type=windows
   16538   shrext_cmds=.dll
   16539   need_version=no
   16540   need_lib_prefix=no
   16541   # OS/2 can only load a DLL with a base name of 8 characters or less.
   16542   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   16543     v=$($ECHO $release$versuffix | tr -d .-);
   16544     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   16545     $ECHO $n$v`$shared_ext'
   16546   library_names_spec='${libname}_dll.$libext'
   16547   dynamic_linker='OS/2 ld.exe'
   16548   shlibpath_var=BEGINLIBPATH
   16549   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   16550   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16551   postinstall_cmds='base_file=`basename \$file`~
   16552     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   16553     dldir=$destdir/`dirname \$dlpath`~
   16554     test -d \$dldir || mkdir -p \$dldir~
   16555     $install_prog $dir/$dlname \$dldir/$dlname~
   16556     chmod a+x \$dldir/$dlname~
   16557     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   16558       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   16559     fi'
   16560   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   16561     dlpath=$dir/\$dldll~
   16562     $RM \$dlpath'
   16563   ;;
   16564 
   16565 osf3* | osf4* | osf5*)
   16566   version_type=osf
   16567   need_lib_prefix=no
   16568   need_version=no
   16569   soname_spec='$libname$release$shared_ext$major'
   16570   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16571   shlibpath_var=LD_LIBRARY_PATH
   16572   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16573   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16574   ;;
   16575 
   16576 rdos*)
   16577   dynamic_linker=no
   16578   ;;
   16579 
   16580 serenity*)
   16581   version_type=linux # correct to gnu/linux during the next big refactor
   16582   need_lib_prefix=no
   16583   need_version=no
   16584   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16585   soname_spec='$libname$release$shared_ext$major'
   16586   shlibpath_var=LD_LIBRARY_PATH
   16587   shlibpath_overrides_runpath=no
   16588   dynamic_linker='SerenityOS LibELF'
   16589   ;;
   16590 
   16591 solaris*)
   16592   version_type=linux # correct to gnu/linux during the next big refactor
   16593   need_lib_prefix=no
   16594   need_version=no
   16595   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16596   soname_spec='$libname$release$shared_ext$major'
   16597   shlibpath_var=LD_LIBRARY_PATH
   16598   shlibpath_overrides_runpath=yes
   16599   hardcode_into_libs=yes
   16600   # ldd complains unless libraries are executable
   16601   postinstall_cmds='chmod +x $lib'
   16602   ;;
   16603 
   16604 sunos4*)
   16605   version_type=sunos
   16606   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   16607   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16608   shlibpath_var=LD_LIBRARY_PATH
   16609   shlibpath_overrides_runpath=yes
   16610   if test yes = "$with_gnu_ld"; then
   16611     need_lib_prefix=no
   16612   fi
   16613   need_version=yes
   16614   ;;
   16615 
   16616 sysv4 | sysv4.3*)
   16617   version_type=linux # correct to gnu/linux during the next big refactor
   16618   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16619   soname_spec='$libname$release$shared_ext$major'
   16620   shlibpath_var=LD_LIBRARY_PATH
   16621   case $host_vendor in
   16622     sni)
   16623       shlibpath_overrides_runpath=no
   16624       need_lib_prefix=no
   16625       runpath_var=LD_RUN_PATH
   16626       ;;
   16627     siemens)
   16628       need_lib_prefix=no
   16629       ;;
   16630     motorola)
   16631       need_lib_prefix=no
   16632       need_version=no
   16633       shlibpath_overrides_runpath=no
   16634       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16635       ;;
   16636   esac
   16637   ;;
   16638 
   16639 sysv4*MP*)
   16640   if test -d /usr/nec; then
   16641     version_type=linux # correct to gnu/linux during the next big refactor
   16642     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   16643     soname_spec='$libname$shared_ext.$major'
   16644     shlibpath_var=LD_LIBRARY_PATH
   16645   fi
   16646   ;;
   16647 
   16648 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16649   version_type=sco
   16650   need_lib_prefix=no
   16651   need_version=no
   16652   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   16653   soname_spec='$libname$release$shared_ext$major'
   16654   shlibpath_var=LD_LIBRARY_PATH
   16655   shlibpath_overrides_runpath=yes
   16656   hardcode_into_libs=yes
   16657   if test yes = "$with_gnu_ld"; then
   16658     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16659   else
   16660     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16661     case $host_os in
   16662       sco3.2v5*)
   16663         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16664 	;;
   16665     esac
   16666   fi
   16667   sys_lib_dlsearch_path_spec='/usr/lib'
   16668   ;;
   16669 
   16670 tpf*)
   16671   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   16672   version_type=linux # correct to gnu/linux during the next big refactor
   16673   need_lib_prefix=no
   16674   need_version=no
   16675   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16676   shlibpath_var=LD_LIBRARY_PATH
   16677   shlibpath_overrides_runpath=no
   16678   hardcode_into_libs=yes
   16679   ;;
   16680 
   16681 uts4*)
   16682   version_type=linux # correct to gnu/linux during the next big refactor
   16683   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16684   soname_spec='$libname$release$shared_ext$major'
   16685   shlibpath_var=LD_LIBRARY_PATH
   16686   ;;
   16687 
   16688 emscripten*)
   16689   version_type=none
   16690   need_lib_prefix=no
   16691   need_version=no
   16692   library_names_spec='$libname$release$shared_ext'
   16693   soname_spec='$libname$release$shared_ext'
   16694   finish_cmds=
   16695   dynamic_linker="Emscripten linker"
   16696   lt_prog_compiler_wl=
   16697 lt_prog_compiler_pic=
   16698 lt_prog_compiler_static=
   16699 
   16700 
   16701   if test yes = "$GCC"; then
   16702     lt_prog_compiler_wl='-Wl,'
   16703     lt_prog_compiler_static='-static'
   16704 
   16705     case $host_os in
   16706       aix*)
   16707       # All AIX code is PIC.
   16708       if test ia64 = "$host_cpu"; then
   16709 	# AIX 5 now supports IA64 processor
   16710 	lt_prog_compiler_static='-Bstatic'
   16711       fi
   16712       lt_prog_compiler_pic='-fPIC'
   16713       ;;
   16714 
   16715     amigaos*)
   16716       case $host_cpu in
   16717       powerpc)
   16718             # see comment about AmigaOS4 .so support
   16719             lt_prog_compiler_pic='-fPIC'
   16720         ;;
   16721       m68k)
   16722             # FIXME: we need at least 68020 code to build shared libraries, but
   16723             # adding the '-m68020' flag to GCC prevents building anything better,
   16724             # like '-m68040'.
   16725             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   16726         ;;
   16727       esac
   16728       ;;
   16729 
   16730     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16731       # PIC is the default for these OSes.
   16732       ;;
   16733 
   16734     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   16735       # This hack is so that the source file can tell whether it is being
   16736       # built for inclusion in a dll (and should export symbols for example).
   16737       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   16738       # (--disable-auto-import) libraries
   16739       lt_prog_compiler_pic='-DDLL_EXPORT'
   16740       case $host_os in
   16741       os2*)
   16742 	lt_prog_compiler_static='$wl-static'
   16743 	;;
   16744       esac
   16745       ;;
   16746 
   16747     darwin* | rhapsody*)
   16748       # PIC is the default on this platform
   16749       # Common symbols not allowed in MH_DYLIB files
   16750       lt_prog_compiler_pic='-fno-common'
   16751       ;;
   16752 
   16753     haiku*)
   16754       # PIC is the default for Haiku.
   16755       # The "-static" flag exists, but is broken.
   16756       lt_prog_compiler_static=
   16757       ;;
   16758 
   16759     hpux*)
   16760       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   16761       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   16762       # sets the default TLS model and affects inlining.
   16763       case $host_cpu in
   16764       hppa*64*)
   16765 	# +Z the default
   16766 	;;
   16767       *)
   16768 	lt_prog_compiler_pic='-fPIC'
   16769 	;;
   16770       esac
   16771       ;;
   16772 
   16773     interix[3-9]*)
   16774       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16775       # Instead, we relocate shared libraries at runtime.
   16776       ;;
   16777 
   16778     msdosdjgpp*)
   16779       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16780       # on systems that don't support them.
   16781       lt_prog_compiler_can_build_shared=no
   16782       enable_shared=no
   16783       ;;
   16784 
   16785     *nto* | *qnx*)
   16786       # QNX uses GNU C++, but need to define -shared option too, otherwise
   16787       # it will coredump.
   16788       lt_prog_compiler_pic='-fPIC -shared'
   16789       ;;
   16790 
   16791     sysv4*MP*)
   16792       if test -d /usr/nec; then
   16793 	lt_prog_compiler_pic=-Kconform_pic
   16794       fi
   16795       ;;
   16796 
   16797     *)
   16798       lt_prog_compiler_pic='-fPIC'
   16799       ;;
   16800     esac
   16801 
   16802     case $cc_basename in
   16803     nvcc*) # Cuda Compiler Driver 2.2
   16804       lt_prog_compiler_wl='-Xlinker '
   16805       if test -n "$lt_prog_compiler_pic"; then
   16806         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   16807       fi
   16808       ;;
   16809     esac
   16810   else
   16811     # PORTME Check for flag to pass linker flags through the system compiler.
   16812     case $host_os in
   16813     aix*)
   16814       lt_prog_compiler_wl='-Wl,'
   16815       if test ia64 = "$host_cpu"; then
   16816 	# AIX 5 now supports IA64 processor
   16817 	lt_prog_compiler_static='-Bstatic'
   16818       else
   16819 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.expsym'
   16820       fi
   16821       ;;
   16822 
   16823     darwin* | rhapsody*)
   16824       # PIC is the default on this platform
   16825       # Common symbols not allowed in MH_DYLIB files
   16826       lt_prog_compiler_pic='-fno-common'
   16827       case $cc_basename in
   16828       nagfor*)
   16829         # NAG Fortran compiler
   16830         lt_prog_compiler_wl='-Wl,-Wl,,'
   16831         lt_prog_compiler_pic='-PIC'
   16832         lt_prog_compiler_static='-Bstatic'
   16833         ;;
   16834       esac
   16835       ;;
   16836 
   16837     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   16838       # This hack is so that the source file can tell whether it is being
   16839       # built for inclusion in a dll (and should export symbols for example).
   16840       lt_prog_compiler_pic='-DDLL_EXPORT'
   16841       case $host_os in
   16842       os2*)
   16843 	lt_prog_compiler_static='$wl-static'
   16844 	;;
   16845       esac
   16846       ;;
   16847 
   16848     hpux9* | hpux10* | hpux11*)
   16849       lt_prog_compiler_wl='-Wl,'
   16850       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16851       # not for PA HP-UX.
   16852       case $host_cpu in
   16853       hppa*64*|ia64*)
   16854 	# +Z the default
   16855 	;;
   16856       *)
   16857 	lt_prog_compiler_pic='+Z'
   16858 	;;
   16859       esac
   16860       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16861       lt_prog_compiler_static='$wl-a ${wl}archive'
   16862       ;;
   16863 
   16864     irix5* | irix6* | nonstopux*)
   16865       lt_prog_compiler_wl='-Wl,'
   16866       # PIC (with -KPIC) is the default.
   16867       lt_prog_compiler_static='-non_shared'
   16868       ;;
   16869 
   16870     *-mlibc)
   16871       lt_prog_compiler_wl='-Wl,'
   16872       lt_prog_compiler_pic='-fPIC'
   16873       lt_prog_compiler_static='-static'
   16874       ;;
   16875 
   16876     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | freebsd*)
   16877       case $cc_basename in
   16878       # old Intel for x86_64, which still supported -KPIC.
   16879       ecc*)
   16880 	lt_prog_compiler_wl='-Wl,'
   16881 	lt_prog_compiler_pic='-KPIC'
   16882 	lt_prog_compiler_static='-static'
   16883         ;;
   16884       *flang* | ftn | f18* | f95*)
   16885         # Flang compiler.
   16886 	lt_prog_compiler_wl='-Wl,'
   16887 	lt_prog_compiler_pic='-fPIC'
   16888 	lt_prog_compiler_static='-static'
   16889         ;;
   16890       # icc used to be incompatible with GCC.
   16891       # ICC 10 doesn't accept -KPIC any more.
   16892       icc* | ifort* | icx* | ifx*)
   16893 	lt_prog_compiler_wl='-Wl,'
   16894 	lt_prog_compiler_pic='-fPIC'
   16895 	lt_prog_compiler_static='-static'
   16896         ;;
   16897       # Lahey Fortran 8.1.
   16898       lf95*)
   16899 	lt_prog_compiler_wl='-Wl,'
   16900 	lt_prog_compiler_pic='--shared'
   16901 	lt_prog_compiler_static='--static'
   16902 	;;
   16903       nagfor*)
   16904 	# NAG Fortran compiler
   16905 	lt_prog_compiler_wl='-Wl,-Wl,,'
   16906 	lt_prog_compiler_pic='-PIC'
   16907 	lt_prog_compiler_static='-Bstatic'
   16908 	;;
   16909       tcc*)
   16910 	# Fabrice Bellard et al's Tiny C Compiler
   16911 	lt_prog_compiler_wl='-Wl,'
   16912 	lt_prog_compiler_pic='-fPIC'
   16913 	lt_prog_compiler_static='-static'
   16914 	;;
   16915       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   16916         # Portland Group compilers (*not* the Pentium gcc compiler,
   16917 	# which looks to be a dead project)
   16918 	lt_prog_compiler_wl='-Wl,'
   16919 	lt_prog_compiler_pic='-fpic'
   16920 	lt_prog_compiler_static='-Bstatic'
   16921         ;;
   16922       ccc*)
   16923         lt_prog_compiler_wl='-Wl,'
   16924         # All Alpha code is PIC.
   16925         lt_prog_compiler_static='-non_shared'
   16926         ;;
   16927       xl* | bgxl* | bgf* | mpixl*)
   16928 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   16929 	lt_prog_compiler_wl='-Wl,'
   16930 	lt_prog_compiler_pic='-qpic'
   16931 	lt_prog_compiler_static='-qstaticlink'
   16932 	;;
   16933       *)
   16934 	case `$CC -V 2>&1 | $SED 5q` in
   16935 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   16936 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   16937 	  lt_prog_compiler_pic='-KPIC'
   16938 	  lt_prog_compiler_static='-Bstatic'
   16939 	  lt_prog_compiler_wl=''
   16940 	  ;;
   16941 	*Sun\ F* | *Sun*Fortran*)
   16942 	  lt_prog_compiler_pic='-KPIC'
   16943 	  lt_prog_compiler_static='-Bstatic'
   16944 	  lt_prog_compiler_wl='-Qoption ld '
   16945 	  ;;
   16946 	*Sun\ C*)
   16947 	  # Sun C 5.9
   16948 	  lt_prog_compiler_pic='-KPIC'
   16949 	  lt_prog_compiler_static='-Bstatic'
   16950 	  lt_prog_compiler_wl='-Wl,'
   16951 	  ;;
   16952         *Intel*\ [CF]*Compiler*)
   16953 	  lt_prog_compiler_wl='-Wl,'
   16954 	  lt_prog_compiler_pic='-fPIC'
   16955 	  lt_prog_compiler_static='-static'
   16956 	  ;;
   16957 	*Portland\ Group*)
   16958 	  lt_prog_compiler_wl='-Wl,'
   16959 	  lt_prog_compiler_pic='-fpic'
   16960 	  lt_prog_compiler_static='-Bstatic'
   16961 	  ;;
   16962 	esac
   16963 	;;
   16964       esac
   16965       ;;
   16966 
   16967     newsos6)
   16968       lt_prog_compiler_pic='-KPIC'
   16969       lt_prog_compiler_static='-Bstatic'
   16970       ;;
   16971 
   16972     *nto* | *qnx*)
   16973       # QNX uses GNU C++, but need to define -shared option too, otherwise
   16974       # it will coredump.
   16975       lt_prog_compiler_pic='-fPIC -shared'
   16976       ;;
   16977 
   16978     osf3* | osf4* | osf5*)
   16979       lt_prog_compiler_wl='-Wl,'
   16980       # All OSF/1 code is PIC.
   16981       lt_prog_compiler_static='-non_shared'
   16982       ;;
   16983 
   16984     rdos*)
   16985       lt_prog_compiler_static='-non_shared'
   16986       ;;
   16987 
   16988     serenity*)
   16989       ;;
   16990 
   16991     solaris*)
   16992       lt_prog_compiler_pic='-KPIC'
   16993       lt_prog_compiler_static='-Bstatic'
   16994       case $cc_basename in
   16995       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   16996 	lt_prog_compiler_wl='-Qoption ld ';;
   16997       *)
   16998 	lt_prog_compiler_wl='-Wl,';;
   16999       esac
   17000       ;;
   17001 
   17002     sunos4*)
   17003       lt_prog_compiler_wl='-Qoption ld '
   17004       lt_prog_compiler_pic='-PIC'
   17005       lt_prog_compiler_static='-Bstatic'
   17006       ;;
   17007 
   17008     sysv4 | sysv4.2uw2* | sysv4.3*)
   17009       lt_prog_compiler_wl='-Wl,'
   17010       lt_prog_compiler_pic='-KPIC'
   17011       lt_prog_compiler_static='-Bstatic'
   17012       ;;
   17013 
   17014     sysv4*MP*)
   17015       if test -d /usr/nec; then
   17016 	lt_prog_compiler_pic='-Kconform_pic'
   17017 	lt_prog_compiler_static='-Bstatic'
   17018       fi
   17019       ;;
   17020 
   17021     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17022       lt_prog_compiler_wl='-Wl,'
   17023       lt_prog_compiler_pic='-KPIC'
   17024       lt_prog_compiler_static='-Bstatic'
   17025       ;;
   17026 
   17027     unicos*)
   17028       lt_prog_compiler_wl='-Wl,'
   17029       lt_prog_compiler_can_build_shared=no
   17030       ;;
   17031 
   17032     uts4*)
   17033       lt_prog_compiler_pic='-pic'
   17034       lt_prog_compiler_static='-Bstatic'
   17035       ;;
   17036 
   17037     *)
   17038       lt_prog_compiler_can_build_shared=no
   17039       ;;
   17040     esac
   17041   fi
   17042 
   17043 case $host_os in
   17044   # For platforms that do not support PIC, -DPIC is meaningless:
   17045   *djgpp*)
   17046     lt_prog_compiler_pic=
   17047     ;;
   17048   *)
   17049     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   17050     ;;
   17051 esac
   17052 
   17053 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   17054 printf %s "checking for $compiler option to produce PIC... " >&6; }
   17055 if test ${lt_cv_prog_compiler_pic+y}
   17056 then :
   17057   printf %s "(cached) " >&6
   17058 else case e in #(
   17059   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   17060 esac
   17061 fi
   17062 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   17063 printf '%s\n' "$lt_cv_prog_compiler_pic" >&6; }
   17064 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   17065 
   17066 #
   17067 # Check to make sure the PIC flag actually works.
   17068 #
   17069 if test -n "$lt_prog_compiler_pic"; then
   17070   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   17071 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   17072 if test ${lt_cv_prog_compiler_pic_works+y}
   17073 then :
   17074   printf %s "(cached) " >&6
   17075 else case e in #(
   17076   e) lt_cv_prog_compiler_pic_works=no
   17077    ac_outfile=conftest.$ac_objext
   17078    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17079    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   17080    # Insert the option either (1) after the last *FLAGS variable, or
   17081    # (2) before a word containing "conftest.", or (3) at the end.
   17082    # Note that $ac_compile itself does not contain backslashes and begins
   17083    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17084    # The option is referenced via a variable to avoid confusing sed.
   17085    lt_compile=`echo "$ac_compile" | $SED \
   17086    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17087    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17088    -e 's:$: $lt_compiler_flag:'`
   17089    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   17090    (eval "$lt_compile" 2>conftest.err)
   17091    ac_status=$?
   17092    cat conftest.err >&5
   17093    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17094    if (exit $ac_status) && test -s "$ac_outfile"; then
   17095      # The compiler can only warn and ignore the option if not recognized
   17096      # So say no if there are warnings other than the usual output.
   17097      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.expsym
   17098      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17099      if test ! -s conftest.er2 || diff conftest.expsym conftest.er2 >/dev/null; then
   17100        lt_cv_prog_compiler_pic_works=yes
   17101      fi
   17102    fi
   17103    $RM conftest*
   17104  ;;
   17105 esac
   17106 fi
   17107 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   17108 printf '%s\n' "$lt_cv_prog_compiler_pic_works" >&6; }
   17109 
   17110 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   17111     case $lt_prog_compiler_pic in
   17112      "" | " "*) ;;
   17113      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   17114      esac
   17115 else
   17116     lt_prog_compiler_pic=
   17117      lt_prog_compiler_can_build_shared=no
   17118 fi
   17119 
   17120 fi
   17121 
   17122 
   17123 
   17124 
   17125 
   17126 #
   17127 # Check to make sure the static flag actually works.
   17128 #
   17129 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   17130 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17131 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17132 if test ${lt_cv_prog_compiler_static_works+y}
   17133 then :
   17134   printf %s "(cached) " >&6
   17135 else case e in #(
   17136   e) lt_cv_prog_compiler_static_works=no
   17137    save_LDFLAGS=$LDFLAGS
   17138    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17139    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17140    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17141      # The linker can only warn and ignore the option if not recognized
   17142      # So say no if there are warnings
   17143      if test -s conftest.err; then
   17144        # Append any errors to the config.log.
   17145        cat conftest.err 1>&5
   17146        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.expsym
   17147        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17148        if diff conftest.expsym conftest.er2 >/dev/null; then
   17149          lt_cv_prog_compiler_static_works=yes
   17150        fi
   17151      else
   17152        lt_cv_prog_compiler_static_works=yes
   17153      fi
   17154    fi
   17155    $RM -r conftest*
   17156    LDFLAGS=$save_LDFLAGS
   17157  ;;
   17158 esac
   17159 fi
   17160 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   17161 printf '%s\n' "$lt_cv_prog_compiler_static_works" >&6; }
   17162 
   17163 if test yes = "$lt_cv_prog_compiler_static_works"; then
   17164     :
   17165 else
   17166     lt_prog_compiler_static=
   17167 fi
   17168 
   17169 
   17170 
   17171 ='-fPIC'
   17172   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
   17173   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'
   17174   archive_cmds_need_lc=no
   17175   no_undefined_flag=
   17176   ;;
   17177 
   17178 *)
   17179   dynamic_linker=no
   17180   ;;
   17181 esac
   17182 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   17183 printf '%s\n' "$dynamic_linker" >&6; }
   17184 test no = "$dynamic_linker" && can_build_shared=no
   17185 
   17186 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   17187 if test yes = "$GCC"; then
   17188   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   17189 fi
   17190 
   17191 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   17192   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   17193 fi
   17194 
   17195 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   17196   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   17197 fi
   17198 
   17199 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   17200 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   17201 
   17202 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   17203 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   17204 
   17205 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   17206 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   17207 
   17208 
   17209 
   17210 
   17211 
   17212 
   17213 
   17214 
   17215 
   17216 
   17217 
   17218 
   17219 
   17220 
   17221 
   17222 
   17223 
   17224 
   17225 
   17226 
   17227 
   17228 
   17229 
   17230 
   17231 
   17232 
   17233 
   17234 
   17235 
   17236 
   17237 
   17238 
   17239 
   17240 
   17241 
   17242 
   17243 
   17244 
   17245 
   17246 
   17247 
   17248 
   17249 
   17250 
   17251 
   17252 
   17253 
   17254 
   17255 
   17256 
   17257 
   17258 
   17259 
   17260 
   17261 
   17262 
   17263 
   17264 
   17265 
   17266 
   17267 
   17268 
   17269 
   17270 
   17271 
   17272 
   17273 
   17274 
   17275 
   17276 
   17277 
   17278 
   17279 
   17280 
   17281 
   17282 
   17283 
   17284 
   17285 
   17286 
   17287 
   17288 
   17289 
   17290 
   17291 
   17292 
   17293 
   17294 
   17295 
   17296 
   17297 
   17298 
   17299 
   17300 
   17301 
   17302 
   17303 
   17304   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   17305 printf %s "checking how to hardcode library paths into programs... " >&6; }
   17306 hardcode_action=
   17307 if test -n "$hardcode_libdir_flag_spec" ||
   17308    test -n "$runpath_var" ||
   17309    test yes = "$hardcode_automatic"; then
   17310 
   17311   # We can hardcode non-existent directories.
   17312   if test no != "$hardcode_direct" &&
   17313      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17314      # have to relink, otherwise we might link with an installed library
   17315      # when we should be linking with a yet-to-be-installed one
   17316      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   17317      test no != "$hardcode_minus_L"; then
   17318     # Linking always hardcodes the temporary library directory.
   17319     hardcode_action=relink
   17320   else
   17321     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17322     hardcode_action=immediate
   17323   fi
   17324 else
   17325   # We cannot hardcode anything, or else we can only hardcode existing
   17326   # directories.
   17327   hardcode_action=unsupported
   17328 fi
   17329 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   17330 printf '%s\n' "$hardcode_action" >&6; }
   17331 
   17332 if test relink = "$hardcode_action" ||
   17333    test yes = "$inherit_rpath"; then
   17334   # Fast installation is not supported
   17335   enable_fast_install=no
   17336 elif test yes = "$shlibpath_overrides_runpath" ||
   17337      test no = "$enable_shared"; then
   17338   # Fast installation is not necessary
   17339   enable_fast_install=needless
   17340 fi
   17341 
   17342 
   17343 
   17344 
   17345 
   17346 
   17347   if test yes != "$enable_dlopen"; then
   17348   enable_dlopen=unknown
   17349   enable_dlopen_self=unknown
   17350   enable_dlopen_self_static=unknown
   17351 else
   17352   lt_cv_dlopen=no
   17353   lt_cv_dlopen_libs=
   17354 
   17355   case $host_os in
   17356   beos*)
   17357     lt_cv_dlopen=load_add_on
   17358     lt_cv_dlopen_libs=
   17359     lt_cv_dlopen_self=yes
   17360     ;;
   17361 
   17362   mingw* | windows* | pw32* | cegcc*)
   17363     lt_cv_dlopen=LoadLibrary
   17364     lt_cv_dlopen_libs=
   17365     ;;
   17366 
   17367   cygwin*)
   17368     lt_cv_dlopen=dlopen
   17369     lt_cv_dlopen_libs=
   17370     ;;
   17371 
   17372   darwin*)
   17373     # if libdl is installed we need to link against it
   17374     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17375 printf %s "checking for dlopen in -ldl... " >&6; }
   17376 if test ${ac_cv_lib_dl_dlopen+y}
   17377 then :
   17378   printf %s "(cached) " >&6
   17379 else case e in #(
   17380   e) ac_check_lib_save_LIBS=$LIBS
   17381 LIBS="-ldl  $LIBS"
   17382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17383 /* end confdefs.h.  */
   17384 
   17385 /* Override any GCC internal prototype to avoid an error.
   17386    Use char because int might match the return type of a GCC
   17387    builtin and then its argument prototype would still apply.
   17388    The 'extern "C"' is for builds by C++ compilers;
   17389    although this is not generally supported in C code supporting it here
   17390    has little cost and some practical benefit (sr 110532).  */
   17391 #ifdef __cplusplus
   17392 extern "C"
   17393 #endif
   17394 char dlopen (void);
   17395 int
   17396 main (void)
   17397 {
   17398 return dlopen ();
   17399   ;
   17400   return 0;
   17401 }
   17402 _ACEOF
   17403 if ac_fn_c_try_link "$LINENO"
   17404 then :
   17405   ac_cv_lib_dl_dlopen=yes
   17406 else case e in #(
   17407   e) ac_cv_lib_dl_dlopen=no ;;
   17408 esac
   17409 fi
   17410 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17411     conftest$ac_exeext conftest.$ac_ext
   17412 LIBS=$ac_check_lib_save_LIBS ;;
   17413 esac
   17414 fi
   17415 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17416 printf '%s\n' "$ac_cv_lib_dl_dlopen" >&6; }
   17417 if test "x$ac_cv_lib_dl_dlopen" = xyes
   17418 then :
   17419   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   17420 else case e in #(
   17421   e)
   17422     lt_cv_dlopen=dyld
   17423     lt_cv_dlopen_libs=
   17424     lt_cv_dlopen_self=yes
   17425      ;;
   17426 esac
   17427 fi
   17428 
   17429     ;;
   17430 
   17431   tpf*)
   17432     # Don't try to run any link tests for TPF.  We know it's impossible
   17433     # because TPF is a cross-compiler, and we know how we open DSOs.
   17434     lt_cv_dlopen=dlopen
   17435     lt_cv_dlopen_libs=
   17436     lt_cv_dlopen_self=no
   17437     ;;
   17438 
   17439   *)
   17440     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   17441 if test "x$ac_cv_func_shl_load" = xyes
   17442 then :
   17443   lt_cv_dlopen=shl_load
   17444 else case e in #(
   17445   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   17446 printf %s "checking for shl_load in -ldld... " >&6; }
   17447 if test ${ac_cv_lib_dld_shl_load+y}
   17448 then :
   17449   printf %s "(cached) " >&6
   17450 else case e in #(
   17451   e) ac_check_lib_save_LIBS=$LIBS
   17452 LIBS="-ldld  $LIBS"
   17453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17454 /* end confdefs.h.  */
   17455 
   17456 /* Override any GCC internal prototype to avoid an error.
   17457    Use char because int might match the return type of a GCC
   17458    builtin and then its argument prototype would still apply.
   17459    The 'extern "C"' is for builds by C++ compilers;
   17460    although this is not generally supported in C code supporting it here
   17461    has little cost and some practical benefit (sr 110532).  */
   17462 #ifdef __cplusplus
   17463 extern "C"
   17464 #endif
   17465 char shl_load (void);
   17466 int
   17467 main (void)
   17468 {
   17469 return shl_load ();
   17470   ;
   17471   return 0;
   17472 }
   17473 _ACEOF
   17474 if ac_fn_c_try_link "$LINENO"
   17475 then :
   17476   ac_cv_lib_dld_shl_load=yes
   17477 else case e in #(
   17478   e) ac_cv_lib_dld_shl_load=no ;;
   17479 esac
   17480 fi
   17481 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17482     conftest$ac_exeext conftest.$ac_ext
   17483 LIBS=$ac_check_lib_save_LIBS ;;
   17484 esac
   17485 fi
   17486 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   17487 printf '%s\n' "$ac_cv_lib_dld_shl_load" >&6; }
   17488 if test "x$ac_cv_lib_dld_shl_load" = xyes
   17489 then :
   17490   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   17491 else case e in #(
   17492   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   17493 if test "x$ac_cv_func_dlopen" = xyes
   17494 then :
   17495   lt_cv_dlopen=dlopen
   17496 else case e in #(
   17497   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17498 printf %s "checking for dlopen in -ldl... " >&6; }
   17499 if test ${ac_cv_lib_dl_dlopen+y}
   17500 then :
   17501   printf %s "(cached) " >&6
   17502 else case e in #(
   17503   e) ac_check_lib_save_LIBS=$LIBS
   17504 LIBS="-ldl  $LIBS"
   17505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17506 /* end confdefs.h.  */
   17507 
   17508 /* Override any GCC internal prototype to avoid an error.
   17509    Use char because int might match the return type of a GCC
   17510    builtin and then its argument prototype would still apply.
   17511    The 'extern "C"' is for builds by C++ compilers;
   17512    although this is not generally supported in C code supporting it here
   17513    has little cost and some practical benefit (sr 110532).  */
   17514 #ifdef __cplusplus
   17515 extern "C"
   17516 #endif
   17517 char dlopen (void);
   17518 int
   17519 main (void)
   17520 {
   17521 return dlopen ();
   17522   ;
   17523   return 0;
   17524 }
   17525 _ACEOF
   17526 if ac_fn_c_try_link "$LINENO"
   17527 then :
   17528   ac_cv_lib_dl_dlopen=yes
   17529 else case e in #(
   17530   e) ac_cv_lib_dl_dlopen=no ;;
   17531 esac
   17532 fi
   17533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17534     conftest$ac_exeext conftest.$ac_ext
   17535 LIBS=$ac_check_lib_save_LIBS ;;
   17536 esac
   17537 fi
   17538 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17539 printf '%s\n' "$ac_cv_lib_dl_dlopen" >&6; }
   17540 if test "x$ac_cv_lib_dl_dlopen" = xyes
   17541 then :
   17542   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   17543 else case e in #(
   17544   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   17545 printf %s "checking for dlopen in -lsvld... " >&6; }
   17546 if test ${ac_cv_lib_svld_dlopen+y}
   17547 then :
   17548   printf %s "(cached) " >&6
   17549 else case e in #(
   17550   e) ac_check_lib_save_LIBS=$LIBS
   17551 LIBS="-lsvld  $LIBS"
   17552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17553 /* end confdefs.h.  */
   17554 
   17555 /* Override any GCC internal prototype to avoid an error.
   17556    Use char because int might match the return type of a GCC
   17557    builtin and then its argument prototype would still apply.
   17558    The 'extern "C"' is for builds by C++ compilers;
   17559    although this is not generally supported in C code supporting it here
   17560    has little cost and some practical benefit (sr 110532).  */
   17561 #ifdef __cplusplus
   17562 extern "C"
   17563 #endif
   17564 char dlopen (void);
   17565 int
   17566 main (void)
   17567 {
   17568 return dlopen ();
   17569   ;
   17570   return 0;
   17571 }
   17572 _ACEOF
   17573 if ac_fn_c_try_link "$LINENO"
   17574 then :
   17575   ac_cv_lib_svld_dlopen=yes
   17576 else case e in #(
   17577   e) ac_cv_lib_svld_dlopen=no ;;
   17578 esac
   17579 fi
   17580 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17581     conftest$ac_exeext conftest.$ac_ext
   17582 LIBS=$ac_check_lib_save_LIBS ;;
   17583 esac
   17584 fi
   17585 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   17586 printf '%s\n' "$ac_cv_lib_svld_dlopen" >&6; }
   17587 if test "x$ac_cv_lib_svld_dlopen" = xyes
   17588 then :
   17589   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   17590 else case e in #(
   17591   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   17592 printf %s "checking for dld_link in -ldld... " >&6; }
   17593 if test ${ac_cv_lib_dld_dld_link+y}
   17594 then :
   17595   printf %s "(cached) " >&6
   17596 else case e in #(
   17597   e) ac_check_lib_save_LIBS=$LIBS
   17598 LIBS="-ldld  $LIBS"
   17599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17600 /* end confdefs.h.  */
   17601 
   17602 /* Override any GCC internal prototype to avoid an error.
   17603    Use char because int might match the return type of a GCC
   17604    builtin and then its argument prototype would still apply.
   17605    The 'extern "C"' is for builds by C++ compilers;
   17606    although this is not generally supported in C code supporting it here
   17607    has little cost and some practical benefit (sr 110532).  */
   17608 #ifdef __cplusplus
   17609 extern "C"
   17610 #endif
   17611 char dld_link (void);
   17612 int
   17613 main (void)
   17614 {
   17615 return dld_link ();
   17616   ;
   17617   return 0;
   17618 }
   17619 _ACEOF
   17620 if ac_fn_c_try_link "$LINENO"
   17621 then :
   17622   ac_cv_lib_dld_dld_link=yes
   17623 else case e in #(
   17624   e) ac_cv_lib_dld_dld_link=no ;;
   17625 esac
   17626 fi
   17627 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17628     conftest$ac_exeext conftest.$ac_ext
   17629 LIBS=$ac_check_lib_save_LIBS ;;
   17630 esac
   17631 fi
   17632 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   17633 printf '%s\n' "$ac_cv_lib_dld_dld_link" >&6; }
   17634 if test "x$ac_cv_lib_dld_dld_link" = xyes
   17635 then :
   17636   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   17637 fi
   17638 
   17639 	       ;;
   17640 esac
   17641 fi
   17642 
   17643 	     ;;
   17644 esac
   17645 fi
   17646 
   17647 	   ;;
   17648 esac
   17649 fi
   17650 
   17651 	 ;;
   17652 esac
   17653 fi
   17654 
   17655        ;;
   17656 esac
   17657 fi
   17658 
   17659     ;;
   17660   esac
   17661 
   17662   if test no = "$lt_cv_dlopen"; then
   17663     enable_dlopen=no
   17664   else
   17665     enable_dlopen=yes
   17666   fi
   17667 
   17668   case $lt_cv_dlopen in
   17669   dlopen)
   17670     save_CPPFLAGS=$CPPFLAGS
   17671     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   17672 
   17673     save_LDFLAGS=$LDFLAGS
   17674     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   17675 
   17676     save_LIBS=$LIBS
   17677     LIBS="$lt_cv_dlopen_libs $LIBS"
   17678 
   17679     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   17680 printf %s "checking whether a program can dlopen itself... " >&6; }
   17681 if test ${lt_cv_dlopen_self+y}
   17682 then :
   17683   printf %s "(cached) " >&6
   17684 else case e in #(
   17685   e) 	  if test yes = "$cross_compiling"; then :
   17686   lt_cv_dlopen_self=cross
   17687 else
   17688   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   17689   lt_status=$lt_dlunknown
   17690   cat > conftest.$ac_ext <<_LT_EOF
   17691 #line $LINENO "configure"
   17692 #include "confdefs.h"
   17693 
   17694 #if HAVE_DLFCN_H
   17695 #include <dlfcn.h>
   17696 #endif
   17697 
   17698 #include <stdio.h>
   17699 
   17700 #ifdef RTLD_GLOBAL
   17701 #  define LT_DLGLOBAL		RTLD_GLOBAL
   17702 #else
   17703 #  ifdef DL_GLOBAL
   17704 #    define LT_DLGLOBAL		DL_GLOBAL
   17705 #  else
   17706 #    define LT_DLGLOBAL		0
   17707 #  endif
   17708 #endif
   17709 
   17710 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   17711    find out it does not work in some platform. */
   17712 #ifndef LT_DLLAZY_OR_NOW
   17713 #  ifdef RTLD_LAZY
   17714 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   17715 #  else
   17716 #    ifdef DL_LAZY
   17717 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   17718 #    else
   17719 #      ifdef RTLD_NOW
   17720 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   17721 #      else
   17722 #        ifdef DL_NOW
   17723 #          define LT_DLLAZY_OR_NOW	DL_NOW
   17724 #        else
   17725 #          define LT_DLLAZY_OR_NOW	0
   17726 #        endif
   17727 #      endif
   17728 #    endif
   17729 #  endif
   17730 #endif
   17731 
   17732 /* When -fvisibility=hidden is used, assume the code has been annotated
   17733    correspondingly for the symbols needed.  */
   17734 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   17735 int fnord (void) __attribute__((visibility("default")));
   17736 #endif
   17737 
   17738 int fnord (void) { return 42; }
   17739 int main (void)
   17740 {
   17741   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   17742   int status = $lt_dlunknown;
   17743 
   17744   if (self)
   17745     {
   17746       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   17747       else
   17748         {
   17749 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   17750           else puts (dlerror ());
   17751 	}
   17752       /* dlclose (self); */
   17753     }
   17754   else
   17755     puts (dlerror ());
   17756 
   17757   return status;
   17758 }
   17759 _LT_EOF
   17760   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   17761   (eval $ac_link) 2>&5
   17762   ac_status=$?
   17763   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17764   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   17765     (./conftest; exit; ) >&5 2>/dev/null
   17766     lt_status=$?
   17767     case x$lt_status in
   17768       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   17769       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   17770       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   17771     esac
   17772   else :
   17773     # compilation failed
   17774     lt_cv_dlopen_self=no
   17775   fi
   17776 fi
   17777 rm -fr conftest*
   17778 
   17779      ;;
   17780 esac
   17781 fi
   17782 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   17783 printf '%s\n' "$lt_cv_dlopen_self" >&6; }
   17784 
   17785     if test yes = "$lt_cv_dlopen_self"; then
   17786       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   17787       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   17788 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   17789 if test ${lt_cv_dlopen_self_static+y}
   17790 then :
   17791   printf %s "(cached) " >&6
   17792 else case e in #(
   17793   e) 	  if test yes = "$cross_compiling"; then :
   17794   lt_cv_dlopen_self_static=cross
   17795 else
   17796   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   17797   lt_status=$lt_dlunknown
   17798   cat > conftest.$ac_ext <<_LT_EOF
   17799 #line $LINENO "configure"
   17800 #include "confdefs.h"
   17801 
   17802 #if HAVE_DLFCN_H
   17803 #include <dlfcn.h>
   17804 #endif
   17805 
   17806 #include <stdio.h>
   17807 
   17808 #ifdef RTLD_GLOBAL
   17809 #  define LT_DLGLOBAL		RTLD_GLOBAL
   17810 #else
   17811 #  ifdef DL_GLOBAL
   17812 #    define LT_DLGLOBAL		DL_GLOBAL
   17813 #  else
   17814 #    define LT_DLGLOBAL		0
   17815 #  endif
   17816 #endif
   17817 
   17818 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   17819    find out it does not work in some platform. */
   17820 #ifndef LT_DLLAZY_OR_NOW
   17821 #  ifdef RTLD_LAZY
   17822 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   17823 #  else
   17824 #    ifdef DL_LAZY
   17825 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   17826 #    else
   17827 #      ifdef RTLD_NOW
   17828 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   17829 #      else
   17830 #        ifdef DL_NOW
   17831 #          define LT_DLLAZY_OR_NOW	DL_NOW
   17832 #        else
   17833 #          define LT_DLLAZY_OR_NOW	0
   17834 #        endif
   17835 #      endif
   17836 #    endif
   17837 #  endif
   17838 #endif
   17839 
   17840 /* When -fvisibility=hidden is used, assume the code has been annotated
   17841    correspondingly for the symbols needed.  */
   17842 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   17843 int fnord (void) __attribute__((visibility("default")));
   17844 #endif
   17845 
   17846 int fnord (void) { return 42; }
   17847 int main (void)
   17848 {
   17849   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   17850   int status = $lt_dlunknown;
   17851 
   17852   if (self)
   17853     {
   17854       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   17855       else
   17856         {
   17857 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   17858           else puts (dlerror ());
   17859 	}
   17860       /* dlclose (self); */
   17861     }
   17862   else
   17863     puts (dlerror ());
   17864 
   17865   return status;
   17866 }
   17867 _LT_EOF
   17868   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   17869   (eval $ac_link) 2>&5
   17870   ac_status=$?
   17871   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17872   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   17873     (./conftest; exit; ) >&5 2>/dev/null
   17874     lt_status=$?
   17875     case x$lt_status in
   17876       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   17877       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   17878       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   17879     esac
   17880   else :
   17881     # compilation failed
   17882     lt_cv_dlopen_self_static=no
   17883   fi
   17884 fi
   17885 rm -fr conftest*
   17886 
   17887        ;;
   17888 esac
   17889 fi
   17890 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   17891 printf '%s\n' "$lt_cv_dlopen_self_static" >&6; }
   17892     fi
   17893 
   17894     CPPFLAGS=$save_CPPFLAGS
   17895     LDFLAGS=$save_LDFLAGS
   17896     LIBS=$save_LIBS
   17897     ;;
   17898   esac
   17899 
   17900   case $lt_cv_dlopen_self in
   17901   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   17902   *) enable_dlopen_self=unknown ;;
   17903   esac
   17904 
   17905   case $lt_cv_dlopen_self_static in
   17906   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   17907   *) enable_dlopen_self_static=unknown ;;
   17908   esac
   17909 fi
   17910 
   17911 
   17912 
   17913 
   17914 
   17915 
   17916 
   17917 
   17918 
   17919 
   17920 
   17921 
   17922 
   17923 
   17924 
   17925 
   17926 
   17927 striplib=
   17928 old_striplib=
   17929 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   17930 printf %s "checking whether stripping libraries is possible... " >&6; }
   17931 if test -z "$STRIP"; then
   17932   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17933 printf '%s\n' "no" >&6; }
   17934 else
   17935   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   17936     old_striplib="$STRIP --strip-debug"
   17937     striplib="$STRIP --strip-unneeded"
   17938     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17939 printf '%s\n' "yes" >&6; }
   17940   else
   17941     case $host_os in
   17942     darwin*)
   17943       # FIXME - insert some real tests, host_os isn't really good enough
   17944       striplib="$STRIP -x"
   17945       old_striplib="$STRIP -S"
   17946       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17947 printf '%s\n' "yes" >&6; }
   17948       ;;
   17949     freebsd*)
   17950       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   17951         old_striplib="$STRIP --strip-debug"
   17952         striplib="$STRIP --strip-unneeded"
   17953         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17954 printf '%s\n' "yes" >&6; }
   17955       else
   17956         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17957 printf '%s\n' "no" >&6; }
   17958       fi
   17959       ;;
   17960     *)
   17961       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17962 printf '%s\n' "no" >&6; }
   17963       ;;
   17964     esac
   17965   fi
   17966 fi
   17967 
   17968 
   17969 
   17970 
   17971 
   17972 
   17973 
   17974 
   17975 
   17976 
   17977 
   17978 
   17979   # Report what library types will actually be built
   17980   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   17981 printf %s "checking if libtool supports shared libraries... " >&6; }
   17982   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   17983 printf '%s\n' "$can_build_shared" >&6; }
   17984 
   17985   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   17986 printf %s "checking whether to build shared libraries... " >&6; }
   17987   test no = "$can_build_shared" && enable_shared=no
   17988 
   17989   # On AIX, shared libraries and static libraries use the same namespace, and
   17990   # are all built from PIC.
   17991   case $host_os in
   17992   aix3*)
   17993     test yes = "$enable_shared" && enable_static=no
   17994     if test -n "$RANLIB"; then
   17995       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   17996       postinstall_cmds='$RANLIB $lib'
   17997     fi
   17998     ;;
   17999 
   18000   aix[4-9]*)
   18001     if test ia64 != "$host_cpu"; then
   18002       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   18003       yes,aix,yes) ;;			# shared object as lib.so file only
   18004       yes,svr4,*) ;;			# shared object as lib.so archive member only
   18005       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   18006       esac
   18007     fi
   18008     ;;
   18009   esac
   18010   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   18011 printf '%s\n' "$enable_shared" >&6; }
   18012 
   18013   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   18014 printf %s "checking whether to build static libraries... " >&6; }
   18015   # Make sure either enable_shared or enable_static is yes.
   18016   test yes = "$enable_shared" || enable_static=yes
   18017   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   18018 printf '%s\n' "$enable_static" >&6; }
   18019 
   18020 
   18021 
   18022 
   18023 fi
   18024 ac_ext=c
   18025 ac_cpp='$CPP $CPPFLAGS'
   18026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18029 
   18030 CC=$lt_save_CC
   18031 
   18032 
   18033 
   18034 
   18035 
   18036 
   18037 
   18038 
   18039 
   18040 
   18041 
   18042 
   18043 
   18044 
   18045 
   18046 
   18047 
   18048 
   18049 
   18050 
   18051 
   18052 
   18053         ac_config_commands="$ac_config_commands libtool"
   18054 
   18055 
   18056 
   18057 
   18058 # Only expand once:
   18059 
   18060 
   18061 if test -n "$ac_tool_prefix"; then
   18062   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
   18063 set dummy ${ac_tool_prefix}windres; ac_word=$2
   18064 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18065 printf %s "checking for $ac_word... " >&6; }
   18066 if test ${ac_cv_prog_RC+y}
   18067 then :
   18068   printf %s "(cached) " >&6
   18069 else case e in #(
   18070   e) if test -n "$RC"; then
   18071   ac_cv_prog_RC="$RC" # Let the user override the test.
   18072 else
   18073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18074 for as_dir in $PATH
   18075 do
   18076   IFS=$as_save_IFS
   18077   case $as_dir in #(((
   18078     '') as_dir=./ ;;
   18079     */) ;;
   18080     *) as_dir=$as_dir/ ;;
   18081   esac
   18082     for ac_exec_ext in '' $ac_executable_extensions; do
   18083   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   18084     ac_cv_prog_RC="${ac_tool_prefix}windres"
   18085     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   18086     break 2
   18087   fi
   18088 done
   18089   done
   18090 IFS=$as_save_IFS
   18091 
   18092 fi ;;
   18093 esac
   18094 fi
   18095 RC=$ac_cv_prog_RC
   18096 if test -n "$RC"; then
   18097   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
   18098 printf '%s\n' "$RC" >&6; }
   18099 else
   18100   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18101 printf '%s\n' "no" >&6; }
   18102 fi
   18103 
   18104 
   18105 fi
   18106 if test -z "$ac_cv_prog_RC"; then
   18107   ac_ct_RC=$RC
   18108   # Extract the first word of "windres", so it can be a program name with args.
   18109 set dummy windres; ac_word=$2
   18110 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18111 printf %s "checking for $ac_word... " >&6; }
   18112 if test ${ac_cv_prog_ac_ct_RC+y}
   18113 then :
   18114   printf %s "(cached) " >&6
   18115 else case e in #(
   18116   e) if test -n "$ac_ct_RC"; then
   18117   ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
   18118 else
   18119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18120 for as_dir in $PATH
   18121 do
   18122   IFS=$as_save_IFS
   18123   case $as_dir in #(((
   18124     '') as_dir=./ ;;
   18125     */) ;;
   18126     *) as_dir=$as_dir/ ;;
   18127   esac
   18128     for ac_exec_ext in '' $ac_executable_extensions; do
   18129   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   18130     ac_cv_prog_ac_ct_RC="windres"
   18131     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   18132     break 2
   18133   fi
   18134 done
   18135   done
   18136 IFS=$as_save_IFS
   18137 
   18138 fi ;;
   18139 esac
   18140 fi
   18141 ac_ct_RC=$ac_cv_prog_ac_ct_RC
   18142 if test -n "$ac_ct_RC"; then
   18143   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
   18144 printf '%s\n' "$ac_ct_RC" >&6; }
   18145 else
   18146   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18147 printf '%s\n' "no" >&6; }
   18148 fi
   18149 
   18150   if test "x$ac_ct_RC" = x; then
   18151     RC=""
   18152   else
   18153     case $cross_compiling:$ac_tool_warned in
   18154 yes:)
   18155 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   18156 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   18157 ac_tool_warned=yes ;;
   18158 esac
   18159     RC=$ac_ct_RC
   18160   fi
   18161 else
   18162   RC="$ac_cv_prog_RC"
   18163 fi
   18164 
   18165 
   18166 
   18167 
   18168 # Source file extension for RC test sources.
   18169 ac_ext=rc
   18170 
   18171 # Object file extension for compiled RC test sources.
   18172 objext=o
   18173 objext_RC=$objext
   18174 
   18175 # Code to be used in simple compile tests
   18176 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   18177 
   18178 # Code to be used in simple link tests
   18179 lt_simple_link_test_code=$lt_simple_compile_test_code
   18180 
   18181 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   18182 
   18183 
   18184 
   18185 
   18186 
   18187 
   18188 # If no C compiler was specified, use CC.
   18189 LTCC=${LTCC-"$CC"}
   18190 
   18191 # If no C compiler flags were specified, use CFLAGS.
   18192 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   18193 
   18194 # Allow CC to be a program name with arguments.
   18195 compiler=$CC
   18196 
   18197 
   18198 # save warnings/boilerplate of simple test code
   18199 ac_outfile=conftest.$ac_objext
   18200 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   18201 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18202 _lt_compiler_boilerplate=`cat conftest.err`
   18203 $RM conftest*
   18204 
   18205 ac_outfile=conftest.$ac_objext
   18206 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   18207 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18208 _lt_linker_boilerplate=`cat conftest.err`
   18209 $RM -r conftest*
   18210 
   18211 
   18212 # Allow CC to be a program name with arguments.
   18213 lt_save_CC=$CC
   18214 lt_save_CFLAGS=$CFLAGS
   18215 lt_save_GCC=$GCC
   18216 GCC=
   18217 CC=${RC-"windres"}
   18218 CFLAGS=
   18219 compiler=$CC
   18220 compiler_RC=$CC
   18221 func_cc_basename $compiler
   18222 cc_basename=$func_cc_basename_result
   18223 
   18224 lt_cv_prog_compiler_c_o_RC=yes
   18225 
   18226 if test -n "$compiler"; then
   18227   :
   18228 
   18229 
   18230 
   18231 fi
   18232 
   18233 GCC=$lt_save_GCC
   18234 ac_ext=c
   18235 ac_cpp='$CPP $CPPFLAGS'
   18236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18239 
   18240 CC=$lt_save_CC
   18241 CFLAGS=$lt_save_CFLAGS
   18242 
   18243 
   18244 # This is a bit wrong since it is possible to request that only some libs
   18245 # are built as shared. Using that feature isn't so common though, and this
   18246 # breaks only on Windows (at least for now) if the user enables only some
   18247 # libs as shared.
   18248  if test "x$enable_shared" != xno; then
   18249   COND_SHARED_TRUE=
   18250   COND_SHARED_FALSE='#'
   18251 else
   18252   COND_SHARED_TRUE='#'
   18253   COND_SHARED_FALSE=
   18254 fi
   18255 
   18256 
   18257 #####################
   18258 # Symbol versioning #
   18259 #####################
   18260 
   18261 # NOTE: This checks if we are building shared or static library
   18262 # and if --with-pic or --without-pic was used. Thus this check
   18263 # must be after Libtool initialization.
   18264 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if library symbol versioning should be used" >&5
   18265 printf %s "checking if library symbol versioning should be used... " >&6; }
   18266 # Check whether --enable-symbol-versions was given.
   18267 if test ${enable_symbol_versions+y}
   18268 then :
   18269   enableval=$enable_symbol_versions;
   18270 else case e in #(
   18271   e) enable_symbol_versions=auto ;;
   18272 esac
   18273 fi
   18274 
   18275 if test "x$enable_symbol_versions" = xauto; then
   18276 	case $host_os in
   18277 		# NOTE: Even if one omits -gnu on GNU/Linux (e.g.
   18278 		# i486-slackware-linux), configure will (via config.sub)
   18279 		# append -gnu (e.g. i486-slackware-linux-gnu), and this
   18280 		# test will work correctly.
   18281 		gnu* | *-gnu* | freebsd*)
   18282 			enable_symbol_versions=yes
   18283 			;;
   18284 		*)
   18285 			enable_symbol_versions=no
   18286 			;;
   18287 	esac
   18288 fi
   18289 
   18290 # There are two variants for symbol versioning.
   18291 # See src/liblzma/validate_map.sh for details.
   18292 #
   18293 # On GNU/Linux, extra symbols are added in the C code. These extra symbols
   18294 # must not be put into a static library as they can cause problems (and
   18295 # even if they didn't cause problems, they would be useless). On other
   18296 # systems symbol versioning may be used too but there is no problem as only
   18297 # a linker script is specified in src/liblzma/Makefile.am and that isn't
   18298 # used when creating a static library.
   18299 #
   18300 # Libtool always uses -DPIC when building shared libraries by default and
   18301 # doesn't use it for static libs by default. This can be overridden with
   18302 # --with-pic and --without-pic though. As long as neither --with-pic nor
   18303 # --without-pic is used then we can use #ifdef PIC to detect if the file is
   18304 # being built for a shared library.
   18305 LINKER_FLAG_UNDEFINED_VERSION=
   18306 if test "x$enable_symbol_versions" = xno
   18307 then :
   18308 
   18309 	enable_symbol_versions=no
   18310 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18311 printf '%s\n' "no" >&6; }
   18312 
   18313 elif test "x$enable_shared" = xno
   18314 then :
   18315 
   18316 	enable_symbol_versions=no
   18317 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no (not building a shared library)" >&5
   18318 printf '%s\n' "no (not building a shared library)" >&6; }
   18319 
   18320 else case e in #(
   18321   e)
   18322 	# "yes" means that symbol version are to be used but we need to
   18323 	# autodetect which variant to use.
   18324 	if test "x$enable_symbol_versions" = xyes ; then
   18325 		case "$host_cpu-$host_os" in
   18326 			microblaze*)
   18327 				# GCC 12 on MicroBlaze doesn't support
   18328 				# __symver__ attribute. It's simplest and
   18329 				# safest to use the generic version on that
   18330 				# platform since then only the linker script
   18331 				# is needed. The RHEL/CentOS 7 compatibility
   18332 				# symbols don't matter on MicroBlaze.
   18333 				enable_symbol_versions=generic
   18334 				;;
   18335 			*-linux*)
   18336 				# NVIDIA HPC Compiler doesn't support symbol
   18337 				# versioning but the linker script can still
   18338 				# be used.
   18339 				cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18340 /* end confdefs.h.  */
   18341 #ifdef __NVCOMPILER
   18342 					use_generic_symbol_versioning
   18343 					#endif
   18344 _ACEOF
   18345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   18346   $EGREP_TRADITIONAL "use_generic_symbol_versioning" >/dev/null 2>&1
   18347 then :
   18348   enable_symbol_versions=generic
   18349 else case e in #(
   18350   e) enable_symbol_versions=linux ;;
   18351 esac
   18352 fi
   18353 rm -rf conftest*
   18354 
   18355 				;;
   18356 			*)
   18357 				enable_symbol_versions=generic
   18358 				;;
   18359 		esac
   18360 	fi
   18361 
   18362 	if test "x$enable_symbol_versions" = xlinux ; then
   18363 		case "$pic_mode-$enable_static" in
   18364 			default-*)
   18365 				# Use symvers if PIC is defined.
   18366 				have_symbol_versions_linux=2
   18367 				;;
   18368 			*-no)
   18369 				# Not building static library.
   18370 				# Use symvers unconditionally.
   18371 				have_symbol_versions_linux=1
   18372 				;;
   18373 			*)
   18374 				{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5
   18375 printf '%s\n' "" >&6; }
   18376 				as_fn_error $? "
   18377     On GNU/Linux, building both shared and static library at the same time
   18378     is not supported if --with-pic or --without-pic is used.
   18379     Use either --disable-shared or --disable-static to build one type
   18380     of library at a time. If both types are needed, build one at a time,
   18381     possibly picking only src/liblzma/.libs/liblzma.a from the static build." "$LINENO" 5
   18382 				;;
   18383 		esac
   18384 
   18385 printf '%s\n' "#define HAVE_SYMBOL_VERSIONS_LINUX $have_symbol_versions_linux" >>confdefs.h
   18386 
   18387 	elif test "x$enable_symbol_versions" != xgeneric ; then
   18388 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5
   18389 printf '%s\n' "" >&6; }
   18390 		as_fn_error $? "unknown symbol versioning variant '$enable_symbol_versions'" "$LINENO" 5
   18391 	fi
   18392 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes ($enable_symbol_versions)" >&5
   18393 printf '%s\n' "yes ($enable_symbol_versions)" >&6; }
   18394 
   18395 	# If features are disabled in liblzma, some symbols may be missing.
   18396 	# LLVM's lld defaults to --no-undefined-version and the build breaks
   18397 	# if not all symbols in the version script exist. That is good for
   18398 	# catching errors like typos, but in our case the downside is too big.
   18399 	# Avoid the problem by using --undefined-version if the linker
   18400 	# supports it.
   18401 	#
   18402 	# GNU ld has had --no-undefined-version for a long time but it's not
   18403 	# the default. The opposite option --undefined-version was only added
   18404 	# in 2022, thus we must use --undefined-version conditionally.
   18405 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if linker supports --undefined-version" >&5
   18406 printf %s "checking if linker supports --undefined-version... " >&6; }
   18407 	OLD_LDFLAGS=$LDFLAGS
   18408 	LDFLAGS="$LDFLAGS -Wl,--undefined-version"
   18409 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18410 /* end confdefs.h.  */
   18411 int main(void) { return 0; }
   18412 _ACEOF
   18413 if ac_fn_c_try_link "$LINENO"
   18414 then :
   18415 
   18416 		LINKER_FLAG_UNDEFINED_VERSION=-Wl,--undefined-version
   18417 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18418 printf '%s\n' "yes" >&6; }
   18419 
   18420 else case e in #(
   18421   e)
   18422 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18423 printf '%s\n' "no" >&6; }
   18424 	 ;;
   18425 esac
   18426 fi
   18427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18428     conftest$ac_exeext conftest.$ac_ext
   18429 	LDFLAGS=$OLD_LDFLAGS
   18430  ;;
   18431 esac
   18432 fi
   18433 
   18434  if test "x$enable_symbol_versions" = xlinux; then
   18435   COND_SYMVERS_LINUX_TRUE=
   18436   COND_SYMVERS_LINUX_FALSE='#'
   18437 else
   18438   COND_SYMVERS_LINUX_TRUE='#'
   18439   COND_SYMVERS_LINUX_FALSE=
   18440 fi
   18441 
   18442  if test "x$enable_symbol_versions" = xgeneric; then
   18443   COND_SYMVERS_GENERIC_TRUE=
   18444   COND_SYMVERS_GENERIC_FALSE='#'
   18445 else
   18446   COND_SYMVERS_GENERIC_TRUE='#'
   18447   COND_SYMVERS_GENERIC_FALSE=
   18448 fi
   18449 
   18450 
   18451 
   18452 
   18453 ###############################################################################
   18454 # Checks for libraries.
   18455 ###############################################################################
   18456 
   18457 echo
   18458 echo "Initializing gettext:"
   18459 
   18460 
   18461 
   18462   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   18463 printf %s "checking whether NLS is requested... " >&6; }
   18464     # Check whether --enable-nls was given.
   18465 if test ${enable_nls+y}
   18466 then :
   18467   enableval=$enable_nls; USE_NLS=$enableval
   18468 else case e in #(
   18469   e) USE_NLS=yes ;;
   18470 esac
   18471 fi
   18472 
   18473   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   18474 printf '%s\n' "$USE_NLS" >&6; }
   18475 
   18476 
   18477 
   18478 
   18479       GETTEXT_MACRO_VERSION=0.22
   18480 
   18481 
   18482 
   18483 
   18484 # Prepare PATH_SEPARATOR.
   18485 # The user is always right.
   18486 if test "${PATH_SEPARATOR+set}" != set; then
   18487   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
   18488   # contains only /bin. Note that ksh looks also at the FPATH variable,
   18489   # so we have to set that as well for the test.
   18490   PATH_SEPARATOR=:
   18491   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   18492     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   18493            || PATH_SEPARATOR=';'
   18494        }
   18495 fi
   18496 
   18497 # Find out how to test for executable files. Don't use a zero-byte file,
   18498 # as systems may use methods other than mode bits to determine executability.
   18499 cat >conf$$.file <<_ASEOF
   18500 #! /bin/sh
   18501 exit 0
   18502 _ASEOF
   18503 chmod +x conf$$.file
   18504 if test -x conf$$.file >/dev/null 2>&1; then
   18505   ac_executable_p="test -x"
   18506 else
   18507   ac_executable_p="test -f"
   18508 fi
   18509 rm -f conf$$.file
   18510 
   18511 # Extract the first word of "msgfmt", so it can be a program name with args.
   18512 set dummy msgfmt; ac_word=$2
   18513 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18514 printf %s "checking for $ac_word... " >&6; }
   18515 if test ${ac_cv_path_MSGFMT+y}
   18516 then :
   18517   printf %s "(cached) " >&6
   18518 else case e in #(
   18519   e) case "$MSGFMT" in
   18520   [\\/]* | ?:[\\/]*)
   18521     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   18522     ;;
   18523   *)
   18524     gt_saved_IFS="$IFS"; IFS=$PATH_SEPARATOR
   18525     for ac_dir in $PATH; do
   18526       IFS="$gt_saved_IFS"
   18527       test -z "$ac_dir" && ac_dir=.
   18528       for ac_exec_ext in '' $ac_executable_extensions; do
   18529         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   18530           echo "$as_me: trying $ac_dir/$ac_word..." >&5
   18531           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
   18532      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   18533             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   18534             break 2
   18535           fi
   18536         fi
   18537       done
   18538     done
   18539     IFS="$gt_saved_IFS"
   18540   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   18541     ;;
   18542 esac ;;
   18543 esac
   18544 fi
   18545 MSGFMT="$ac_cv_path_MSGFMT"
   18546 if test "$MSGFMT" != ":"; then
   18547   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
   18548 printf '%s\n' "$MSGFMT" >&6; }
   18549 else
   18550   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18551 printf '%s\n' "no" >&6; }
   18552 fi
   18553 
   18554   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   18555 set dummy gmsgfmt; ac_word=$2
   18556 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18557 printf %s "checking for $ac_word... " >&6; }
   18558 if test ${ac_cv_path_GMSGFMT+y}
   18559 then :
   18560   printf %s "(cached) " >&6
   18561 else case e in #(
   18562   e) case $GMSGFMT in
   18563   [\\/]* | ?:[\\/]*)
   18564   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   18565   ;;
   18566   *)
   18567   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18568 for as_dir in $PATH
   18569 do
   18570   IFS=$as_save_IFS
   18571   case $as_dir in #(((
   18572     '') as_dir=./ ;;
   18573     */) ;;
   18574     *) as_dir=$as_dir/ ;;
   18575   esac
   18576     for ac_exec_ext in '' $ac_executable_extensions; do
   18577   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   18578     ac_cv_path_GMSGFMT="$as_dir$ac_word$ac_exec_ext"
   18579     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   18580     break 2
   18581   fi
   18582 done
   18583   done
   18584 IFS=$as_save_IFS
   18585 
   18586   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   18587   ;;
   18588 esac ;;
   18589 esac
   18590 fi
   18591 GMSGFMT=$ac_cv_path_GMSGFMT
   18592 if test -n "$GMSGFMT"; then
   18593   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
   18594 printf '%s\n' "$GMSGFMT" >&6; }
   18595 else
   18596   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18597 printf '%s\n' "no" >&6; }
   18598 fi
   18599 
   18600 
   18601 
   18602     case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
   18603     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
   18604     *) GMSGFMT_015=$GMSGFMT ;;
   18605   esac
   18606 
   18607 
   18608 
   18609 # Prepare PATH_SEPARATOR.
   18610 # The user is always right.
   18611 if test "${PATH_SEPARATOR+set}" != set; then
   18612   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
   18613   # contains only /bin. Note that ksh looks also at the FPATH variable,
   18614   # so we have to set that as well for the test.
   18615   PATH_SEPARATOR=:
   18616   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   18617     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   18618            || PATH_SEPARATOR=';'
   18619        }
   18620 fi
   18621 
   18622 # Find out how to test for executable files. Don't use a zero-byte file,
   18623 # as systems may use methods other than mode bits to determine executability.
   18624 cat >conf$$.file <<_ASEOF
   18625 #! /bin/sh
   18626 exit 0
   18627 _ASEOF
   18628 chmod +x conf$$.file
   18629 if test -x conf$$.file >/dev/null 2>&1; then
   18630   ac_executable_p="test -x"
   18631 else
   18632   ac_executable_p="test -f"
   18633 fi
   18634 rm -f conf$$.file
   18635 
   18636 # Extract the first word of "xgettext", so it can be a program name with args.
   18637 set dummy xgettext; ac_word=$2
   18638 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18639 printf %s "checking for $ac_word... " >&6; }
   18640 if test ${ac_cv_path_XGETTEXT+y}
   18641 then :
   18642   printf %s "(cached) " >&6
   18643 else case e in #(
   18644   e) case "$XGETTEXT" in
   18645   [\\/]* | ?:[\\/]*)
   18646     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   18647     ;;
   18648   *)
   18649     gt_saved_IFS="$IFS"; IFS=$PATH_SEPARATOR
   18650     for ac_dir in $PATH; do
   18651       IFS="$gt_saved_IFS"
   18652       test -z "$ac_dir" && ac_dir=.
   18653       for ac_exec_ext in '' $ac_executable_extensions; do
   18654         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   18655           echo "$as_me: trying $ac_dir/$ac_word..." >&5
   18656           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
   18657      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   18658             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   18659             break 2
   18660           fi
   18661         fi
   18662       done
   18663     done
   18664     IFS="$gt_saved_IFS"
   18665   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   18666     ;;
   18667 esac ;;
   18668 esac
   18669 fi
   18670 XGETTEXT="$ac_cv_path_XGETTEXT"
   18671 if test "$XGETTEXT" != ":"; then
   18672   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
   18673 printf '%s\n' "$XGETTEXT" >&6; }
   18674 else
   18675   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18676 printf '%s\n' "no" >&6; }
   18677 fi
   18678 
   18679     rm -f messages.po
   18680 
   18681     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
   18682     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
   18683     *) XGETTEXT_015=$XGETTEXT ;;
   18684   esac
   18685 
   18686 
   18687 
   18688 # Prepare PATH_SEPARATOR.
   18689 # The user is always right.
   18690 if test "${PATH_SEPARATOR+set}" != set; then
   18691   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
   18692   # contains only /bin. Note that ksh looks also at the FPATH variable,
   18693   # so we have to set that as well for the test.
   18694   PATH_SEPARATOR=:
   18695   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   18696     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   18697            || PATH_SEPARATOR=';'
   18698        }
   18699 fi
   18700 
   18701 # Find out how to test for executable files. Don't use a zero-byte file,
   18702 # as systems may use methods other than mode bits to determine executability.
   18703 cat >conf$$.file <<_ASEOF
   18704 #! /bin/sh
   18705 exit 0
   18706 _ASEOF
   18707 chmod +x conf$$.file
   18708 if test -x conf$$.file >/dev/null 2>&1; then
   18709   ac_executable_p="test -x"
   18710 else
   18711   ac_executable_p="test -f"
   18712 fi
   18713 rm -f conf$$.file
   18714 
   18715 # Extract the first word of "msgmerge", so it can be a program name with args.
   18716 set dummy msgmerge; ac_word=$2
   18717 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18718 printf %s "checking for $ac_word... " >&6; }
   18719 if test ${ac_cv_path_MSGMERGE+y}
   18720 then :
   18721   printf %s "(cached) " >&6
   18722 else case e in #(
   18723   e) case "$MSGMERGE" in
   18724   [\\/]* | ?:[\\/]*)
   18725     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   18726     ;;
   18727   *)
   18728     gt_saved_IFS="$IFS"; IFS=$PATH_SEPARATOR
   18729     for ac_dir in $PATH; do
   18730       IFS="$gt_saved_IFS"
   18731       test -z "$ac_dir" && ac_dir=.
   18732       for ac_exec_ext in '' $ac_executable_extensions; do
   18733         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   18734           echo "$as_me: trying $ac_dir/$ac_word..." >&5
   18735           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
   18736             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   18737             break 2
   18738           fi
   18739         fi
   18740       done
   18741     done
   18742     IFS="$gt_saved_IFS"
   18743   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   18744     ;;
   18745 esac ;;
   18746 esac
   18747 fi
   18748 MSGMERGE="$ac_cv_path_MSGMERGE"
   18749 if test "$MSGMERGE" != ":"; then
   18750   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
   18751 printf '%s\n' "$MSGMERGE" >&6; }
   18752 else
   18753   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18754 printf '%s\n' "no" >&6; }
   18755 fi
   18756 
   18757 
   18758     if LC_ALL=C $MSGMERGE --help | grep ' --for-msgfmt ' >/dev/null; then
   18759     MSGMERGE_FOR_MSGFMT_OPTION='--for-msgfmt'
   18760   else
   18761         if LC_ALL=C $MSGMERGE --help | grep ' --no-fuzzy-matching ' >/dev/null; then
   18762       MSGMERGE_FOR_MSGFMT_OPTION='--no-fuzzy-matching --no-location --quiet'
   18763     else
   18764                         MSGMERGE_FOR_MSGFMT_OPTION='--no-location --quiet'
   18765     fi
   18766   fi
   18767 
   18768 
   18769     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
   18770 
   18771 
   18772   ac_config_commands="$ac_config_commands po-directories"
   18773 
   18774 
   18775 
   18776       if test "X$prefix" = "XNONE"; then
   18777     acl_final_prefix="$ac_default_prefix"
   18778   else
   18779     acl_final_prefix="$prefix"
   18780   fi
   18781   if test "X$exec_prefix" = "XNONE"; then
   18782     acl_final_exec_prefix='${prefix}'
   18783   else
   18784     acl_final_exec_prefix="$exec_prefix"
   18785   fi
   18786   acl_saved_prefix="$prefix"
   18787   prefix="$acl_final_prefix"
   18788   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   18789   prefix="$acl_saved_prefix"
   18790 
   18791 
   18792 
   18793 # Check whether --with-gnu-ld was given.
   18794 if test ${with_gnu_ld+y}
   18795 then :
   18796   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   18797 else case e in #(
   18798   e) with_gnu_ld=no ;;
   18799 esac
   18800 fi
   18801 
   18802 # Prepare PATH_SEPARATOR.
   18803 # The user is always right.
   18804 if test "${PATH_SEPARATOR+set}" != set; then
   18805   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
   18806   # contains only /bin. Note that ksh looks also at the FPATH variable,
   18807   # so we have to set that as well for the test.
   18808   PATH_SEPARATOR=:
   18809   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   18810     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   18811            || PATH_SEPARATOR=';'
   18812        }
   18813 fi
   18814 
   18815 if test -n "$LD"; then
   18816   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ld" >&5
   18817 printf %s "checking for ld... " >&6; }
   18818 elif test "$GCC" = yes; then
   18819   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   18820 printf %s "checking for ld used by $CC... " >&6; }
   18821 elif test "$with_gnu_ld" = yes; then
   18822   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   18823 printf %s "checking for GNU ld... " >&6; }
   18824 else
   18825   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   18826 printf %s "checking for non-GNU ld... " >&6; }
   18827 fi
   18828 if test -n "$LD"; then
   18829   # Let the user override the test with a path.
   18830   :
   18831 else
   18832   if test ${acl_cv_path_LD+y}
   18833 then :
   18834   printf %s "(cached) " >&6
   18835 else case e in #(
   18836   e)
   18837     acl_cv_path_LD= # Final result of this test
   18838     ac_prog=ld # Program to search in $PATH
   18839     if test "$GCC" = yes; then
   18840       # Check if gcc -print-prog-name=ld gives a path.
   18841       case $host in
   18842         *-*-mingw* | windows*)
   18843           # gcc leaves a trailing carriage return which upsets mingw
   18844           acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   18845         *)
   18846           acl_output=`($CC -print-prog-name=ld) 2>&5` ;;
   18847       esac
   18848       case $acl_output in
   18849         # Accept absolute paths.
   18850         [\\/]* | ?:[\\/]*)
   18851           re_direlt='/[^/][^/]*/\.\./'
   18852           # Canonicalize the pathname of ld
   18853           acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'`
   18854           while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do
   18855             acl_output=`echo $acl_output | sed "s%$re_direlt%/%"`
   18856           done
   18857           # Got the pathname. No search in PATH is needed.
   18858           acl_cv_path_LD="$acl_output"
   18859           ac_prog=
   18860           ;;
   18861         "")
   18862           # If it fails, then pretend we aren't using GCC.
   18863           ;;
   18864         *)
   18865           # If it is relative, then search for the first ld in PATH.
   18866           with_gnu_ld=unknown
   18867           ;;
   18868       esac
   18869     fi
   18870     if test -n "$ac_prog"; then
   18871       # Search for $ac_prog in $PATH.
   18872       acl_saved_IFS="$IFS"; IFS=$PATH_SEPARATOR
   18873       for ac_dir in $PATH; do
   18874         IFS="$acl_saved_IFS"
   18875         test -z "$ac_dir" && ac_dir=.
   18876         if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   18877           acl_cv_path_LD="$ac_dir/$ac_prog"
   18878           # Check to see if the program is GNU ld.  I'd rather use --version,
   18879           # but apparently some variants of GNU ld only accept -v.
   18880           # Break only if it was the GNU/non-GNU ld that we prefer.
   18881           case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
   18882             *GNU* | *'with BFD'*)
   18883               test "$with_gnu_ld" != no && break
   18884               ;;
   18885             *)
   18886               test "$with_gnu_ld" != yes && break
   18887               ;;
   18888           esac
   18889         fi
   18890       done
   18891       IFS="$acl_saved_IFS"
   18892     fi
   18893     case $host in
   18894       *-*-aix*)
   18895         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18896 /* end confdefs.h.  */
   18897 #if defined __powerpc64__ || defined __LP64__
   18898                 int ok;
   18899                #else
   18900                 error fail
   18901                #endif
   18902 
   18903 _ACEOF
   18904 if ac_fn_c_try_compile "$LINENO"
   18905 then :
   18906   # The compiler produces 64-bit code. Add option '-b64' so that the
   18907            # linker groks 64-bit object files.
   18908            case "$acl_cv_path_LD " in
   18909              *" -b64 "*) ;;
   18910              *) acl_cv_path_LD="$acl_cv_path_LD -b64" ;;
   18911            esac
   18912 
   18913 fi
   18914 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18915         ;;
   18916       sparc64-*-netbsd*)
   18917         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18918 /* end confdefs.h.  */
   18919 #if defined __sparcv9 || defined __arch64__
   18920                 int ok;
   18921                #else
   18922                 error fail
   18923                #endif
   18924 
   18925 _ACEOF
   18926 if ac_fn_c_try_compile "$LINENO"
   18927 then :
   18928 
   18929 else case e in #(
   18930   e) # The compiler produces 32-bit code. Add option '-m elf32_sparc'
   18931            # so that the linker groks 32-bit object files.
   18932            case "$acl_cv_path_LD " in
   18933              *" -m elf32_sparc "*) ;;
   18934              *) acl_cv_path_LD="$acl_cv_path_LD -m elf32_sparc" ;;
   18935            esac
   18936            ;;
   18937 esac
   18938 fi
   18939 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18940         ;;
   18941     esac
   18942    ;;
   18943 esac
   18944 fi
   18945 
   18946   LD="$acl_cv_path_LD"
   18947 fi
   18948 if test -n "$LD"; then
   18949   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   18950 printf '%s\n' "$LD" >&6; }
   18951 else
   18952   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18953 printf '%s\n' "no" >&6; }
   18954   as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   18955 fi
   18956 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   18957 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   18958 if test ${acl_cv_prog_gnu_ld+y}
   18959 then :
   18960   printf %s "(cached) " >&6
   18961 else case e in #(
   18962   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   18963 case `$LD -v 2>&1 </dev/null` in
   18964 *GNU* | *'with BFD'*)
   18965   acl_cv_prog_gnu_ld=yes
   18966   ;;
   18967 *)
   18968   acl_cv_prog_gnu_ld=no
   18969   ;;
   18970 esac ;;
   18971 esac
   18972 fi
   18973 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
   18974 printf '%s\n' "$acl_cv_prog_gnu_ld" >&6; }
   18975 with_gnu_ld=$acl_cv_prog_gnu_ld
   18976 
   18977 
   18978 
   18979 
   18980 
   18981                                                 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
   18982 printf %s "checking for shared library run path origin... " >&6; }
   18983 if test ${acl_cv_rpath+y}
   18984 then :
   18985   printf %s "(cached) " >&6
   18986 else case e in #(
   18987   e)
   18988     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   18989     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   18990     . ./conftest.sh
   18991     rm -f ./conftest.sh
   18992     acl_cv_rpath=done
   18993    ;;
   18994 esac
   18995 fi
   18996 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
   18997 printf '%s\n' "$acl_cv_rpath" >&6; }
   18998   wl="$acl_cv_wl"
   18999   acl_libext="$acl_cv_libext"
   19000   acl_shlibext="$acl_cv_shlibext"
   19001   acl_libname_spec="$acl_cv_libname_spec"
   19002   acl_library_names_spec="$acl_cv_library_names_spec"
   19003   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   19004   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   19005   acl_hardcode_direct="$acl_cv_hardcode_direct"
   19006   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
   19007     # Check whether --enable-rpath was given.
   19008 if test ${enable_rpath+y}
   19009 then :
   19010   enableval=$enable_rpath; :
   19011 else case e in #(
   19012   e) enable_rpath=yes ;;
   19013 esac
   19014 fi
   19015 
   19016 
   19017 
   19018 
   19019   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking 32-bit host C ABI" >&5
   19020 printf %s "checking 32-bit host C ABI... " >&6; }
   19021 if test ${gl_cv_host_cpu_c_abi_32bit+y}
   19022 then :
   19023   printf %s "(cached) " >&6
   19024 else case e in #(
   19025   e) case "$host_cpu" in
   19026 
   19027        # CPUs that only support a 32-bit ABI.
   19028        arc \
   19029        | bfin \
   19030        | cris* \
   19031        | csky \
   19032        | epiphany \
   19033        | ft32 \
   19034        | h8300 \
   19035        | m68k \
   19036        | microblaze | microblazeel \
   19037        | nds32 | nds32le | nds32be \
   19038        | nios2 | nios2eb | nios2el \
   19039        | or1k* \
   19040        | or32 \
   19041        | sh | sh1234 | sh1234elb \
   19042        | tic6x \
   19043        | xtensa* )
   19044          gl_cv_host_cpu_c_abi_32bit=yes
   19045          ;;
   19046 
   19047        # CPUs that only support a 64-bit ABI.
   19048        alpha | alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] \
   19049        | mmix )
   19050          gl_cv_host_cpu_c_abi_32bit=no
   19051          ;;
   19052 
   19053        *)
   19054          if test -n "$gl_cv_host_cpu_c_abi"; then
   19055                       case "$gl_cv_host_cpu_c_abi" in
   19056              i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc)
   19057                gl_cv_host_cpu_c_abi_32bit=yes ;;
   19058              x86_64 | alpha | arm64 | aarch64c | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 )
   19059                gl_cv_host_cpu_c_abi_32bit=no ;;
   19060              *)
   19061                gl_cv_host_cpu_c_abi_32bit=unknown ;;
   19062            esac
   19063          else
   19064            gl_cv_host_cpu_c_abi_32bit=unknown
   19065          fi
   19066          if test $gl_cv_host_cpu_c_abi_32bit = unknown; then
   19067            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19068 /* end confdefs.h.  */
   19069 int test_pointer_size[sizeof (void *) - 5];
   19070 
   19071 _ACEOF
   19072 if ac_fn_c_try_compile "$LINENO"
   19073 then :
   19074   gl_cv_host_cpu_c_abi_32bit=no
   19075 else case e in #(
   19076   e) gl_cv_host_cpu_c_abi_32bit=yes ;;
   19077 esac
   19078 fi
   19079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19080          fi
   19081          ;;
   19082      esac
   19083      ;;
   19084 esac
   19085 fi
   19086 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_cpu_c_abi_32bit" >&5
   19087 printf '%s\n' "$gl_cv_host_cpu_c_abi_32bit" >&6; }
   19088 
   19089   HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit"
   19090 
   19091 
   19092 
   19093 
   19094 
   19095   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ELF binary format" >&5
   19096 printf %s "checking for ELF binary format... " >&6; }
   19097 if test ${gl_cv_elf+y}
   19098 then :
   19099   printf %s "(cached) " >&6
   19100 else case e in #(
   19101   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19102 /* end confdefs.h.  */
   19103 #if defined __ELF__ || (defined __linux__ && (defined __EDG__ || defined __SUNPRO_C))
   19104         Extensible Linking Format
   19105         #endif
   19106 
   19107 _ACEOF
   19108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   19109   $EGREP_TRADITIONAL "Extensible Linking Format" >/dev/null 2>&1
   19110 then :
   19111   gl_cv_elf=yes
   19112 else case e in #(
   19113   e) gl_cv_elf=no ;;
   19114 esac
   19115 fi
   19116 rm -rf conftest*
   19117 
   19118      ;;
   19119 esac
   19120 fi
   19121 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $gl_cv_elf" >&5
   19122 printf '%s\n' "$gl_cv_elf" >&6; }
   19123   if test $gl_cv_elf = yes; then
   19124     # Extract the ELF class of a file (5th byte) in decimal.
   19125     # Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header
   19126     if od -A x < /dev/null >/dev/null 2>/dev/null; then
   19127       # Use POSIX od.
   19128       func_elfclass ()
   19129       {
   19130         od -A n -t d1 -j 4 -N 1
   19131       }
   19132     else
   19133       # Use BSD hexdump.
   19134       func_elfclass ()
   19135       {
   19136         dd bs=1 count=1 skip=4 2>/dev/null | hexdump -e '1/1 "%3d "'
   19137         echo
   19138       }
   19139     fi
   19140     # Use 'expr', not 'test', to compare the values of func_elfclass, because on
   19141     # Solaris 11 OpenIndiana and Solaris 11 OmniOS, the result is 001 or 002,
   19142     # not 1 or 2.
   19143     case $HOST_CPU_C_ABI_32BIT in
   19144       yes)
   19145         # 32-bit ABI.
   19146         acl_is_expected_elfclass ()
   19147         {
   19148           expr "`func_elfclass | sed -e 's/[ 	]//g'`" = 1 > /dev/null
   19149         }
   19150         ;;
   19151       no)
   19152         # 64-bit ABI.
   19153         acl_is_expected_elfclass ()
   19154         {
   19155           expr "`func_elfclass | sed -e 's/[ 	]//g'`" = 2 > /dev/null
   19156         }
   19157         ;;
   19158       *)
   19159         # Unknown.
   19160         acl_is_expected_elfclass ()
   19161         {
   19162           :
   19163         }
   19164         ;;
   19165     esac
   19166   else
   19167     acl_is_expected_elfclass ()
   19168     {
   19169       :
   19170     }
   19171   fi
   19172 
   19173     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of directories in the library search path" >&5
   19174 printf %s "checking for the common suffixes of directories in the library search path... " >&6; }
   19175 if test ${acl_cv_libdirstems+y}
   19176 then :
   19177   printf %s "(cached) " >&6
   19178 else case e in #(
   19179   e)           acl_libdirstem=lib
   19180      acl_libdirstem2=
   19181      acl_libdirstem3=
   19182      case "$host_os" in
   19183        solaris*)
   19184                                                       if test $HOST_CPU_C_ABI_32BIT = no; then
   19185            acl_libdirstem2=lib/64
   19186            case "$host_cpu" in
   19187              sparc*)        acl_libdirstem3=lib/sparcv9 ;;
   19188              i*86 | x86_64) acl_libdirstem3=lib/amd64 ;;
   19189            esac
   19190          fi
   19191          ;;
   19192        netbsd*)
   19193                            if test $HOST_CPU_C_ABI_32BIT != no; then
   19194            case "$host_cpu" in
   19195              sparc*) acl_libdirstem2=lib/sparc ;;
   19196            esac
   19197          fi
   19198          ;;
   19199        *)
   19200                                                                                  searchpath=`(LC_ALL=C $CC $CPPFLAGS $CFLAGS -print-search-dirs) 2>/dev/null \
   19201                      | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
   19202          if test $HOST_CPU_C_ABI_32BIT != no; then
   19203            # 32-bit or unknown ABI.
   19204            if test -d /usr/lib32; then
   19205              acl_libdirstem2=lib32
   19206            fi
   19207          fi
   19208          if test $HOST_CPU_C_ABI_32BIT != yes; then
   19209            # 64-bit or unknown ABI.
   19210            if test -d /usr/lib64; then
   19211              acl_libdirstem3=lib64
   19212            fi
   19213          fi
   19214          if test -n "$searchpath"; then
   19215            acl_saved_IFS="${IFS= 	}"; IFS=":"
   19216            for searchdir in $searchpath; do
   19217              if test -d "$searchdir"; then
   19218                case "$searchdir" in
   19219                  */lib32/ | */lib32 ) acl_libdirstem2=lib32 ;;
   19220                  */lib64/ | */lib64 ) acl_libdirstem3=lib64 ;;
   19221                  */../ | */.. )
   19222                    # Better ignore directories of this form. They are misleading.
   19223                    ;;
   19224                  *) searchdir=`cd "$searchdir" && pwd`
   19225                     case "$searchdir" in
   19226                       */lib32 ) acl_libdirstem2=lib32 ;;
   19227                       */lib64 ) acl_libdirstem3=lib64 ;;
   19228                     esac ;;
   19229                esac
   19230              fi
   19231            done
   19232            IFS="$acl_saved_IFS"
   19233            if test $HOST_CPU_C_ABI_32BIT = yes; then
   19234              # 32-bit ABI.
   19235              acl_libdirstem3=
   19236            fi
   19237            if test $HOST_CPU_C_ABI_32BIT = no; then
   19238              # 64-bit ABI.
   19239              acl_libdirstem2=
   19240            fi
   19241          fi
   19242          ;;
   19243      esac
   19244      test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
   19245      test -n "$acl_libdirstem3" || acl_libdirstem3="$acl_libdirstem"
   19246      acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2,$acl_libdirstem3"
   19247      ;;
   19248 esac
   19249 fi
   19250 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5
   19251 printf '%s\n' "$acl_cv_libdirstems" >&6; }
   19252       acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'`
   19253   acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,//' -e 's/,.*//'`
   19254   acl_libdirstem3=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,[^,]*,//' -e 's/,.*//'`
   19255 
   19256 
   19257 
   19258 
   19259 
   19260 
   19261 
   19262 
   19263 
   19264 
   19265 
   19266     use_additional=yes
   19267 
   19268   acl_saved_prefix="$prefix"
   19269   prefix="$acl_final_prefix"
   19270   acl_saved_exec_prefix="$exec_prefix"
   19271   exec_prefix="$acl_final_exec_prefix"
   19272 
   19273     eval additional_includedir=\"$includedir\"
   19274     eval additional_libdir=\"$libdir\"
   19275     eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
   19276     eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
   19277 
   19278   exec_prefix="$acl_saved_exec_prefix"
   19279   prefix="$acl_saved_prefix"
   19280 
   19281 
   19282 # Check whether --with-libiconv-prefix was given.
   19283 if test ${with_libiconv_prefix+y}
   19284 then :
   19285   withval=$with_libiconv_prefix;
   19286     if test "X$withval" = "Xno"; then
   19287       use_additional=no
   19288     else
   19289       if test "X$withval" = "X"; then
   19290 
   19291   acl_saved_prefix="$prefix"
   19292   prefix="$acl_final_prefix"
   19293   acl_saved_exec_prefix="$exec_prefix"
   19294   exec_prefix="$acl_final_exec_prefix"
   19295 
   19296           eval additional_includedir=\"$includedir\"
   19297           eval additional_libdir=\"$libdir\"
   19298           eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
   19299           eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
   19300 
   19301   exec_prefix="$acl_saved_exec_prefix"
   19302   prefix="$acl_saved_prefix"
   19303 
   19304       else
   19305         additional_includedir="$withval/include"
   19306         additional_libdir="$withval/$acl_libdirstem"
   19307         additional_libdir2="$withval/$acl_libdirstem2"
   19308         additional_libdir3="$withval/$acl_libdirstem3"
   19309       fi
   19310     fi
   19311 
   19312 fi
   19313 
   19314   if test "X$additional_libdir2" = "X$additional_libdir"; then
   19315     additional_libdir2=
   19316   fi
   19317   if test "X$additional_libdir3" = "X$additional_libdir"; then
   19318     additional_libdir3=
   19319   fi
   19320       LIBICONV=
   19321   LTLIBICONV=
   19322   INCICONV=
   19323   LIBICONV_PREFIX=
   19324       HAVE_LIBICONV=
   19325   rpathdirs=
   19326   ltrpathdirs=
   19327   names_already_handled=
   19328   names_next_round='iconv '
   19329   while test -n "$names_next_round"; do
   19330     names_this_round="$names_next_round"
   19331     names_next_round=
   19332     for name in $names_this_round; do
   19333       already_handled=
   19334       for n in $names_already_handled; do
   19335         if test "$n" = "$name"; then
   19336           already_handled=yes
   19337           break
   19338         fi
   19339       done
   19340       if test -z "$already_handled"; then
   19341         names_already_handled="$names_already_handled $name"
   19342                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
   19343         eval value=\"\$HAVE_LIB$uppername\"
   19344         if test -n "$value"; then
   19345           if test "$value" = yes; then
   19346             eval value=\"\$LIB$uppername\"
   19347             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   19348             eval value=\"\$LTLIB$uppername\"
   19349             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   19350           else
   19351                                     :
   19352           fi
   19353         else
   19354                               found_dir=
   19355           found_la=
   19356           found_so=
   19357           found_a=
   19358           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
   19359           if test -n "$acl_shlibext"; then
   19360             shrext=".$acl_shlibext"             # typically: shrext=.so
   19361           else
   19362             shrext=
   19363           fi
   19364           if test $use_additional = yes; then
   19365             for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do
   19366               if test "X$found_dir" = "X"; then
   19367                 eval dir=\$$additional_libdir_variable
   19368                 if test -n "$dir"; then
   19369                                                       if test -n "$acl_shlibext"; then
   19370                     if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
   19371                       found_dir="$dir"
   19372                       found_so="$dir/$libname$shrext"
   19373                     else
   19374                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   19375                         ver=`(cd "$dir" && \
   19376                               for f in "$libname$shrext".*; do echo "$f"; done \
   19377                               | sed -e "s,^$libname$shrext\\\\.,," \
   19378                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   19379                               | sed 1q ) 2>/dev/null`
   19380                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
   19381                           found_dir="$dir"
   19382                           found_so="$dir/$libname$shrext.$ver"
   19383                         fi
   19384                       else
   19385                         eval library_names=\"$acl_library_names_spec\"
   19386                         for f in $library_names; do
   19387                           if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
   19388                             found_dir="$dir"
   19389                             found_so="$dir/$f"
   19390                             break
   19391                           fi
   19392                         done
   19393                       fi
   19394                     fi
   19395                   fi
   19396                                     if test "X$found_dir" = "X"; then
   19397                     if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
   19398                       found_dir="$dir"
   19399                       found_a="$dir/$libname.$acl_libext"
   19400                     fi
   19401                   fi
   19402                   if test "X$found_dir" != "X"; then
   19403                     if test -f "$dir/$libname.la"; then
   19404                       found_la="$dir/$libname.la"
   19405                     fi
   19406                   fi
   19407                 fi
   19408               fi
   19409             done
   19410           fi
   19411           if test "X$found_dir" = "X"; then
   19412             for x in $LDFLAGS $LTLIBICONV; do
   19413 
   19414   acl_saved_prefix="$prefix"
   19415   prefix="$acl_final_prefix"
   19416   acl_saved_exec_prefix="$exec_prefix"
   19417   exec_prefix="$acl_final_exec_prefix"
   19418   eval x=\"$x\"
   19419   exec_prefix="$acl_saved_exec_prefix"
   19420   prefix="$acl_saved_prefix"
   19421 
   19422               case "$x" in
   19423                 -L*)
   19424                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   19425                                     if test -n "$acl_shlibext"; then
   19426                     if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
   19427                       found_dir="$dir"
   19428                       found_so="$dir/$libname$shrext"
   19429                     else
   19430                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   19431                         ver=`(cd "$dir" && \
   19432                               for f in "$libname$shrext".*; do echo "$f"; done \
   19433                               | sed -e "s,^$libname$shrext\\\\.,," \
   19434                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   19435                               | sed 1q ) 2>/dev/null`
   19436                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
   19437                           found_dir="$dir"
   19438                           found_so="$dir/$libname$shrext.$ver"
   19439                         fi
   19440                       else
   19441                         eval library_names=\"$acl_library_names_spec\"
   19442                         for f in $library_names; do
   19443                           if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
   19444                             found_dir="$dir"
   19445                             found_so="$dir/$f"
   19446                             break
   19447                           fi
   19448                         done
   19449                       fi
   19450                     fi
   19451                   fi
   19452                                     if test "X$found_dir" = "X"; then
   19453                     if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
   19454                       found_dir="$dir"
   19455                       found_a="$dir/$libname.$acl_libext"
   19456                     fi
   19457                   fi
   19458                   if test "X$found_dir" != "X"; then
   19459                     if test -f "$dir/$libname.la"; then
   19460                       found_la="$dir/$libname.la"
   19461                     fi
   19462                   fi
   19463                   ;;
   19464               esac
   19465               if test "X$found_dir" != "X"; then
   19466                 break
   19467               fi
   19468             done
   19469           fi
   19470           if test "X$found_dir" != "X"; then
   19471                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   19472             if test "X$found_so" != "X"; then
   19473                                                         if test "$enable_rpath" = no \
   19474                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
   19475                  || test "X$found_dir" = "X/usr/$acl_libdirstem2" \
   19476                  || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then
   19477                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   19478               else
   19479                                                                                 haveit=
   19480                 for x in $ltrpathdirs; do
   19481                   if test "X$x" = "X$found_dir"; then
   19482                     haveit=yes
   19483                     break
   19484                   fi
   19485                 done
   19486                 if test -z "$haveit"; then
   19487                   ltrpathdirs="$ltrpathdirs $found_dir"
   19488                 fi
   19489                                 if test "$acl_hardcode_direct" = yes; then
   19490                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   19491                 else
   19492                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
   19493                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   19494                                                             haveit=
   19495                     for x in $rpathdirs; do
   19496                       if test "X$x" = "X$found_dir"; then
   19497                         haveit=yes
   19498                         break
   19499                       fi
   19500                     done
   19501                     if test -z "$haveit"; then
   19502                       rpathdirs="$rpathdirs $found_dir"
   19503                     fi
   19504                   else
   19505                                                                                 haveit=
   19506                     for x in $LDFLAGS $LIBICONV; do
   19507 
   19508   acl_saved_prefix="$prefix"
   19509   prefix="$acl_final_prefix"
   19510   acl_saved_exec_prefix="$exec_prefix"
   19511   exec_prefix="$acl_final_exec_prefix"
   19512   eval x=\"$x\"
   19513   exec_prefix="$acl_saved_exec_prefix"
   19514   prefix="$acl_saved_prefix"
   19515 
   19516                       if test "X$x" = "X-L$found_dir"; then
   19517                         haveit=yes
   19518                         break
   19519                       fi
   19520                     done
   19521                     if test -z "$haveit"; then
   19522                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   19523                     fi
   19524                     if test "$acl_hardcode_minus_L" != no; then
   19525                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   19526                     else
   19527                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   19528                     fi
   19529                   fi
   19530                 fi
   19531               fi
   19532             else
   19533               if test "X$found_a" != "X"; then
   19534                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   19535               else
   19536                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   19537               fi
   19538             fi
   19539                         additional_includedir=
   19540             case "$found_dir" in
   19541               */$acl_libdirstem | */$acl_libdirstem/)
   19542                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
   19543                 if test "$name" = 'iconv'; then
   19544                   LIBICONV_PREFIX="$basedir"
   19545                 fi
   19546                 additional_includedir="$basedir/include"
   19547                 ;;
   19548               */$acl_libdirstem2 | */$acl_libdirstem2/)
   19549                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
   19550                 if test "$name" = 'iconv'; then
   19551                   LIBICONV_PREFIX="$basedir"
   19552                 fi
   19553                 additional_includedir="$basedir/include"
   19554                 ;;
   19555               */$acl_libdirstem3 | */$acl_libdirstem3/)
   19556                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'`
   19557                 if test "$name" = 'iconv'; then
   19558                   LIBICONV_PREFIX="$basedir"
   19559                 fi
   19560                 additional_includedir="$basedir/include"
   19561                 ;;
   19562             esac
   19563             if test "X$additional_includedir" != "X"; then
   19564                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   19565                 haveit=
   19566                 if test "X$additional_includedir" = "X/usr/local/include"; then
   19567                   if test -n "$GCC"; then
   19568                     case $host_os in
   19569                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   19570                     esac
   19571                   fi
   19572                 fi
   19573                 if test -z "$haveit"; then
   19574                   for x in $CPPFLAGS $INCICONV; do
   19575 
   19576   acl_saved_prefix="$prefix"
   19577   prefix="$acl_final_prefix"
   19578   acl_saved_exec_prefix="$exec_prefix"
   19579   exec_prefix="$acl_final_exec_prefix"
   19580   eval x=\"$x\"
   19581   exec_prefix="$acl_saved_exec_prefix"
   19582   prefix="$acl_saved_prefix"
   19583 
   19584                     if test "X$x" = "X-I$additional_includedir"; then
   19585                       haveit=yes
   19586                       break
   19587                     fi
   19588                   done
   19589                   if test -z "$haveit"; then
   19590                     if test -d "$additional_includedir"; then
   19591                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   19592                     fi
   19593                   fi
   19594                 fi
   19595               fi
   19596             fi
   19597                         if test -n "$found_la"; then
   19598                                                         saved_libdir="$libdir"
   19599               case "$found_la" in
   19600                 */* | *\\*) . "$found_la" ;;
   19601                 *) . "./$found_la" ;;
   19602               esac
   19603               libdir="$saved_libdir"
   19604                             for dep in $dependency_libs; do
   19605                 case "$dep" in
   19606                   -L*)
   19607                     dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   19608                                                                                                                                                                 if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \
   19609                        && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \
   19610                        && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then
   19611                       haveit=
   19612                       if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \
   19613                          || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \
   19614                          || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then
   19615                         if test -n "$GCC"; then
   19616                           case $host_os in
   19617                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   19618                           esac
   19619                         fi
   19620                       fi
   19621                       if test -z "$haveit"; then
   19622                         haveit=
   19623                         for x in $LDFLAGS $LIBICONV; do
   19624 
   19625   acl_saved_prefix="$prefix"
   19626   prefix="$acl_final_prefix"
   19627   acl_saved_exec_prefix="$exec_prefix"
   19628   exec_prefix="$acl_final_exec_prefix"
   19629   eval x=\"$x\"
   19630   exec_prefix="$acl_saved_exec_prefix"
   19631   prefix="$acl_saved_prefix"
   19632 
   19633                           if test "X$x" = "X-L$dependency_libdir"; then
   19634                             haveit=yes
   19635                             break
   19636                           fi
   19637                         done
   19638                         if test -z "$haveit"; then
   19639                           if test -d "$dependency_libdir"; then
   19640                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$dependency_libdir"
   19641                           fi
   19642                         fi
   19643                         haveit=
   19644                         for x in $LDFLAGS $LTLIBICONV; do
   19645 
   19646   acl_saved_prefix="$prefix"
   19647   prefix="$acl_final_prefix"
   19648   acl_saved_exec_prefix="$exec_prefix"
   19649   exec_prefix="$acl_final_exec_prefix"
   19650   eval x=\"$x\"
   19651   exec_prefix="$acl_saved_exec_prefix"
   19652   prefix="$acl_saved_prefix"
   19653 
   19654                           if test "X$x" = "X-L$dependency_libdir"; then
   19655                             haveit=yes
   19656                             break
   19657                           fi
   19658                         done
   19659                         if test -z "$haveit"; then
   19660                           if test -d "$dependency_libdir"; then
   19661                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$dependency_libdir"
   19662                           fi
   19663                         fi
   19664                       fi
   19665                     fi
   19666                     ;;
   19667                   -R*)
   19668                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   19669                     if test "$enable_rpath" != no; then
   19670                                                                   haveit=
   19671                       for x in $rpathdirs; do
   19672                         if test "X$x" = "X$dir"; then
   19673                           haveit=yes
   19674                           break
   19675                         fi
   19676                       done
   19677                       if test -z "$haveit"; then
   19678                         rpathdirs="$rpathdirs $dir"
   19679                       fi
   19680                                                                   haveit=
   19681                       for x in $ltrpathdirs; do
   19682                         if test "X$x" = "X$dir"; then
   19683                           haveit=yes
   19684                           break
   19685                         fi
   19686                       done
   19687                       if test -z "$haveit"; then
   19688                         ltrpathdirs="$ltrpathdirs $dir"
   19689                       fi
   19690                     fi
   19691                     ;;
   19692                   -l*)
   19693                                                                                                                                                                 dep=`echo "X$dep" | sed -e 's/^X-l//'`
   19694                     if test "X$dep" != Xc \
   19695                        || case $host_os in
   19696                             linux* | gnu* | k*bsd*-gnu) false ;;
   19697                             *)                          true ;;
   19698                           esac; then
   19699                       names_next_round="$names_next_round $dep"
   19700                     fi
   19701                     ;;
   19702                   *.la)
   19703                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   19704                     ;;
   19705                   *)
   19706                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   19707                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   19708                     ;;
   19709                 esac
   19710               done
   19711             fi
   19712           else
   19713                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   19714             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   19715           fi
   19716         fi
   19717       fi
   19718     done
   19719   done
   19720   if test "X$rpathdirs" != "X"; then
   19721     if test -n "$acl_hardcode_libdir_separator"; then
   19722                         alldirs=
   19723       for found_dir in $rpathdirs; do
   19724         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
   19725       done
   19726             acl_saved_libdir="$libdir"
   19727       libdir="$alldirs"
   19728       eval flag=\"$acl_hardcode_libdir_flag_spec\"
   19729       libdir="$acl_saved_libdir"
   19730       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   19731     else
   19732             for found_dir in $rpathdirs; do
   19733         acl_saved_libdir="$libdir"
   19734         libdir="$found_dir"
   19735         eval flag=\"$acl_hardcode_libdir_flag_spec\"
   19736         libdir="$acl_saved_libdir"
   19737         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   19738       done
   19739     fi
   19740   fi
   19741   if test "X$ltrpathdirs" != "X"; then
   19742             for found_dir in $ltrpathdirs; do
   19743       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   19744     done
   19745   fi
   19746 
   19747 
   19748 
   19749 
   19750 
   19751 
   19752 
   19753   gl_sed_double_backslashes='s/\\/\\\\/g'
   19754   gl_sed_escape_doublequotes='s/"/\\"/g'
   19755   gl_sed_escape_for_make_1="s,\\([ \"&'();<>\\\\\`|]\\),\\\\\\1,g"
   19756   gl_sed_escape_for_make_2='s,\$,\\$$,g'
   19757       case `echo r | tr -d '\r'` in
   19758     '') gl_tr_cr='\015' ;;
   19759     *)  gl_tr_cr='\r' ;;
   19760   esac
   19761 
   19762 
   19763     gl_saved_prefix="${prefix}"
   19764   gl_saved_datarootdir="${datarootdir}"
   19765   gl_saved_localedir="${localedir}"
   19766       if test "X$prefix" = "XNONE"; then
   19767     prefix="$ac_default_prefix"
   19768   fi
   19769   eval datarootdir="$datarootdir"
   19770   eval localedir="$localedir"
   19771 
   19772 
   19773 
   19774 
   19775 
   19776     gl_final_localedir="$localedir"
   19777     case "$build_os" in
   19778     cygwin*)
   19779       case "$host_os" in
   19780         mingw* | windows*)
   19781           gl_final_localedir=`cygpath -w "$gl_final_localedir"` ;;
   19782       esac
   19783       ;;
   19784   esac
   19785     localedir_c=`printf '%s\n' "$gl_final_localedir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"`
   19786   localedir_c='"'"$localedir_c"'"'
   19787 
   19788 
   19789     localedir_c_make=`printf '%s\n' "$localedir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"`
   19790       if test "$localedir_c_make" = '\"'"${gl_final_localedir}"'\"'; then
   19791     localedir_c_make='\"$(localedir)\"'
   19792   fi
   19793 
   19794 
   19795   localedir="${gl_saved_localedir}"
   19796   datarootdir="${gl_saved_datarootdir}"
   19797   prefix="${gl_saved_prefix}"
   19798 
   19799 
   19800 
   19801 
   19802 
   19803 
   19804 
   19805 
   19806 
   19807 
   19808 
   19809 
   19810 
   19811 
   19812 
   19813 
   19814 
   19815 
   19816 
   19817 
   19818 
   19819 
   19820 
   19821     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
   19822 printf %s "checking for CFPreferencesCopyAppValue... " >&6; }
   19823 if test ${gt_cv_func_CFPreferencesCopyAppValue+y}
   19824 then :
   19825   printf %s "(cached) " >&6
   19826 else case e in #(
   19827   e) gt_saved_LIBS="$LIBS"
   19828      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   19829      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19830 /* end confdefs.h.  */
   19831 #include <CoreFoundation/CFPreferences.h>
   19832 int
   19833 main (void)
   19834 {
   19835 CFPreferencesCopyAppValue(NULL, NULL)
   19836   ;
   19837   return 0;
   19838 }
   19839 _ACEOF
   19840 if ac_fn_c_try_link "$LINENO"
   19841 then :
   19842   gt_cv_func_CFPreferencesCopyAppValue=yes
   19843 else case e in #(
   19844   e) gt_cv_func_CFPreferencesCopyAppValue=no ;;
   19845 esac
   19846 fi
   19847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19848     conftest$ac_exeext conftest.$ac_ext
   19849      LIBS="$gt_saved_LIBS" ;;
   19850 esac
   19851 fi
   19852 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
   19853 printf '%s\n' "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
   19854   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
   19855 
   19856 printf '%s\n' "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
   19857 
   19858   fi
   19859                     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
   19860 printf %s "checking for CFLocaleCopyPreferredLanguages... " >&6; }
   19861 if test ${gt_cv_func_CFLocaleCopyPreferredLanguages+y}
   19862 then :
   19863   printf %s "(cached) " >&6
   19864 else case e in #(
   19865   e) gt_saved_LIBS="$LIBS"
   19866      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   19867      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19868 /* end confdefs.h.  */
   19869 #include <CoreFoundation/CFLocale.h>
   19870 int
   19871 main (void)
   19872 {
   19873 CFLocaleCopyPreferredLanguages();
   19874   ;
   19875   return 0;
   19876 }
   19877 _ACEOF
   19878 if ac_fn_c_try_link "$LINENO"
   19879 then :
   19880   gt_cv_func_CFLocaleCopyPreferredLanguages=yes
   19881 else case e in #(
   19882   e) gt_cv_func_CFLocaleCopyPreferredLanguages=no ;;
   19883 esac
   19884 fi
   19885 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19886     conftest$ac_exeext conftest.$ac_ext
   19887      LIBS="$gt_saved_LIBS" ;;
   19888 esac
   19889 fi
   19890 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
   19891 printf '%s\n' "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
   19892   if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
   19893 
   19894 printf '%s\n' "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
   19895 
   19896   fi
   19897   INTL_MACOSX_LIBS=
   19898   if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
   19899      || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
   19900                     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices"
   19901   fi
   19902 
   19903 
   19904 
   19905 
   19906 
   19907 
   19908   LIBINTL=
   19909   LTLIBINTL=
   19910   POSUB=
   19911 
   19912     case " $gt_needs " in
   19913     *" need-formatstring-macros "*) gt_api_version=3 ;;
   19914     *" need-ngettext "*) gt_api_version=2 ;;
   19915     *) gt_api_version=1 ;;
   19916   esac
   19917   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
   19918   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
   19919 
   19920     if test "$USE_NLS" = "yes"; then
   19921     gt_use_preinstalled_gnugettext=no
   19922 
   19923 
   19924         if test $gt_api_version -ge 3; then
   19925           gt_revision_test_code='
   19926 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   19927 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
   19928 #endif
   19929 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
   19930 '
   19931         else
   19932           gt_revision_test_code=
   19933         fi
   19934         if test $gt_api_version -ge 2; then
   19935           gt_expression_test_code=' + * ngettext ("", "", 0)'
   19936         else
   19937           gt_expression_test_code=
   19938         fi
   19939 
   19940         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
   19941 printf %s "checking for GNU gettext in libc... " >&6; }
   19942 if eval test \${$gt_func_gnugettext_libc+y}
   19943 then :
   19944   printf %s "(cached) " >&6
   19945 else case e in #(
   19946   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19947 /* end confdefs.h.  */
   19948 
   19949 #include <libintl.h>
   19950 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   19951 extern int _nl_msg_cat_cntr;
   19952 extern int *_nl_domain_bindings;
   19953 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
   19954 #else
   19955 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   19956 #endif
   19957 $gt_revision_test_code
   19958 
   19959 int
   19960 main (void)
   19961 {
   19962 
   19963 bindtextdomain ("", "");
   19964 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   19965 
   19966   ;
   19967   return 0;
   19968 }
   19969 _ACEOF
   19970 if ac_fn_c_try_link "$LINENO"
   19971 then :
   19972   eval "$gt_func_gnugettext_libc=yes"
   19973 else case e in #(
   19974   e) eval "$gt_func_gnugettext_libc=no" ;;
   19975 esac
   19976 fi
   19977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19978     conftest$ac_exeext conftest.$ac_ext ;;
   19979 esac
   19980 fi
   19981 eval ac_res=\$$gt_func_gnugettext_libc
   19982 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   19983 printf '%s\n' "$ac_res" >&6; }
   19984 
   19985         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
   19986 
   19987 
   19988 
   19989 
   19990 
   19991           gl_saved_CPPFLAGS="$CPPFLAGS"
   19992 
   19993   for element in $INCICONV; do
   19994     haveit=
   19995     for x in $CPPFLAGS; do
   19996 
   19997   acl_saved_prefix="$prefix"
   19998   prefix="$acl_final_prefix"
   19999   acl_saved_exec_prefix="$exec_prefix"
   20000   exec_prefix="$acl_final_exec_prefix"
   20001   eval x=\"$x\"
   20002   exec_prefix="$acl_saved_exec_prefix"
   20003   prefix="$acl_saved_prefix"
   20004 
   20005       if test "X$x" = "X$element"; then
   20006         haveit=yes
   20007         break
   20008       fi
   20009     done
   20010     if test -z "$haveit"; then
   20011       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   20012     fi
   20013   done
   20014 
   20015 
   20016   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   20017 printf %s "checking for iconv... " >&6; }
   20018 if test ${am_cv_func_iconv+y}
   20019 then :
   20020   printf %s "(cached) " >&6
   20021 else case e in #(
   20022   e)
   20023     am_cv_func_iconv="no, consider installing GNU libiconv"
   20024     am_cv_lib_iconv=no
   20025     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20026 /* end confdefs.h.  */
   20027 
   20028 #include <stdlib.h>
   20029 #include <iconv.h>
   20030 
   20031 int
   20032 main (void)
   20033 {
   20034 iconv_t cd = iconv_open("","");
   20035            iconv(cd,NULL,NULL,NULL,NULL);
   20036            iconv_close(cd);
   20037   ;
   20038   return 0;
   20039 }
   20040 _ACEOF
   20041 if ac_fn_c_try_link "$LINENO"
   20042 then :
   20043   am_cv_func_iconv=yes
   20044 fi
   20045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20046     conftest$ac_exeext conftest.$ac_ext
   20047     if test "$am_cv_func_iconv" != yes; then
   20048       gl_saved_LIBS="$LIBS"
   20049       LIBS="$LIBS $LIBICONV"
   20050       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20051 /* end confdefs.h.  */
   20052 
   20053 #include <stdlib.h>
   20054 #include <iconv.h>
   20055 
   20056 int
   20057 main (void)
   20058 {
   20059 iconv_t cd = iconv_open("","");
   20060              iconv(cd,NULL,NULL,NULL,NULL);
   20061              iconv_close(cd);
   20062   ;
   20063   return 0;
   20064 }
   20065 _ACEOF
   20066 if ac_fn_c_try_link "$LINENO"
   20067 then :
   20068   am_cv_lib_iconv=yes
   20069         am_cv_func_iconv=yes
   20070 fi
   20071 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20072     conftest$ac_exeext conftest.$ac_ext
   20073       LIBS="$gl_saved_LIBS"
   20074     fi
   20075    ;;
   20076 esac
   20077 fi
   20078 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
   20079 printf '%s\n' "$am_cv_func_iconv" >&6; }
   20080   if test "$am_cv_func_iconv" = yes; then
   20081     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
   20082 printf %s "checking for working iconv... " >&6; }
   20083 if test ${am_cv_func_iconv_works+y}
   20084 then :
   20085   printf %s "(cached) " >&6
   20086 else case e in #(
   20087   e)
   20088                   gl_saved_LIBS="$LIBS"
   20089       if test $am_cv_lib_iconv = yes; then
   20090         LIBS="$LIBS $LIBICONV"
   20091       fi
   20092       am_cv_func_iconv_works=no
   20093       for ac_iconv_const in '' 'const'; do
   20094         if test "$cross_compiling" = yes
   20095 then :
   20096   case "$host_os" in
   20097              aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
   20098              *)            am_cv_func_iconv_works="guessing yes" ;;
   20099            esac
   20100 else case e in #(
   20101   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20102 /* end confdefs.h.  */
   20103 
   20104 #include <iconv.h>
   20105 #include <string.h>
   20106 
   20107 #ifndef ICONV_CONST
   20108 # define ICONV_CONST $ac_iconv_const
   20109 #endif
   20110 
   20111 int
   20112 main (void)
   20113 {
   20114 int result = 0;
   20115   /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
   20116      successful returns.  This is even documented in
   20117      <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
   20118   {
   20119     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
   20120     if (cd_utf8_to_88591 != (iconv_t)(-1))
   20121       {
   20122         static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
   20123         char buf[10];
   20124         ICONV_CONST char *inptr = input;
   20125         size_t inbytesleft = strlen (input);
   20126         char *outptr = buf;
   20127         size_t outbytesleft = sizeof (buf);
   20128         size_t res = iconv (cd_utf8_to_88591,
   20129                             &inptr, &inbytesleft,
   20130                             &outptr, &outbytesleft);
   20131         if (res == 0)
   20132           result |= 1;
   20133         iconv_close (cd_utf8_to_88591);
   20134       }
   20135   }
   20136   /* Test against macOS 14.4 bug: Failures are not distinguishable from
   20137      successful returns.
   20138      POSIX:2018 says: "The iconv() function shall ... return the number of
   20139      non-identical conversions performed."
   20140      But here, the conversion always does transliteration (the suffixes
   20141      "//TRANSLIT" and "//IGNORE" have no effect, nor does iconvctl()) and
   20142      does not report when it does a non-identical conversion.  */
   20143   {
   20144     iconv_t cd_utf8_to_88591 = iconv_open ("ISO-8859-1", "UTF-8");
   20145     if (cd_utf8_to_88591 != (iconv_t)(-1))
   20146       {
   20147         static ICONV_CONST char input[] = "\305\202"; /* LATIN SMALL LETTER L WITH STROKE */
   20148         char buf[10];
   20149         ICONV_CONST char *inptr = input;
   20150         size_t inbytesleft = strlen (input);
   20151         char *outptr = buf;
   20152         size_t outbytesleft = sizeof (buf);
   20153         size_t res = iconv (cd_utf8_to_88591,
   20154                             &inptr, &inbytesleft,
   20155                             &outptr, &outbytesleft);
   20156         /* Here:
   20157            With glibc, GNU libiconv (including macOS up to 13): res == (size_t)-1, errno == EILSEQ.
   20158            With musl libc, NetBSD 10, Solaris 11: res == 1.
   20159            With macOS 14.4: res == 0, output is "l".  */
   20160         if (res == 0)
   20161           result |= 2;
   20162         iconv_close (cd_utf8_to_88591);
   20163       }
   20164   }
   20165   /* Test against Solaris 10 bug: Failures are not distinguishable from
   20166      successful returns.  */
   20167   {
   20168     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
   20169     if (cd_ascii_to_88591 != (iconv_t)(-1))
   20170       {
   20171         static ICONV_CONST char input[] = "\263";
   20172         char buf[10];
   20173         ICONV_CONST char *inptr = input;
   20174         size_t inbytesleft = strlen (input);
   20175         char *outptr = buf;
   20176         size_t outbytesleft = sizeof (buf);
   20177         size_t res = iconv (cd_ascii_to_88591,
   20178                             &inptr, &inbytesleft,
   20179                             &outptr, &outbytesleft);
   20180         if (res == 0)
   20181           result |= 4;
   20182         iconv_close (cd_ascii_to_88591);
   20183       }
   20184   }
   20185   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
   20186   {
   20187     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
   20188     if (cd_88591_to_utf8 != (iconv_t)(-1))
   20189       {
   20190         static ICONV_CONST char input[] = "\304";
   20191         static char buf[2] = { (char)0xDE, (char)0xAD };
   20192         ICONV_CONST char *inptr = input;
   20193         size_t inbytesleft = 1;
   20194         char *outptr = buf;
   20195         size_t outbytesleft = 1;
   20196         size_t res = iconv (cd_88591_to_utf8,
   20197                             &inptr, &inbytesleft,
   20198                             &outptr, &outbytesleft);
   20199         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
   20200           result |= 8;
   20201         iconv_close (cd_88591_to_utf8);
   20202       }
   20203   }
   20204 #if 0 /* This bug could be worked around by the caller.  */
   20205   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
   20206   {
   20207     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
   20208     if (cd_88591_to_utf8 != (iconv_t)(-1))
   20209       {
   20210         static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
   20211         char buf[50];
   20212         ICONV_CONST char *inptr = input;
   20213         size_t inbytesleft = strlen (input);
   20214         char *outptr = buf;
   20215         size_t outbytesleft = sizeof (buf);
   20216         size_t res = iconv (cd_88591_to_utf8,
   20217                             &inptr, &inbytesleft,
   20218                             &outptr, &outbytesleft);
   20219         if ((int)res > 0)
   20220           result |= 16;
   20221         iconv_close (cd_88591_to_utf8);
   20222       }
   20223   }
   20224 #endif
   20225   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
   20226      provided.  */
   20227   {
   20228     /* Try standardized names.  */
   20229     iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
   20230     /* Try IRIX, OSF/1 names.  */
   20231     iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
   20232     /* Try AIX names.  */
   20233     iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
   20234     /* Try HP-UX names.  */
   20235     iconv_t cd4 = iconv_open ("utf8", "eucJP");
   20236     if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
   20237         && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
   20238       result |= 32;
   20239     if (cd1 != (iconv_t)(-1))
   20240       iconv_close (cd1);
   20241     if (cd2 != (iconv_t)(-1))
   20242       iconv_close (cd2);
   20243     if (cd3 != (iconv_t)(-1))
   20244       iconv_close (cd3);
   20245     if (cd4 != (iconv_t)(-1))
   20246       iconv_close (cd4);
   20247   }
   20248   return result;
   20249 
   20250   ;
   20251   return 0;
   20252 }
   20253 _ACEOF
   20254 if ac_fn_c_try_run "$LINENO"
   20255 then :
   20256   am_cv_func_iconv_works=yes
   20257 fi
   20258 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   20259   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20260 esac
   20261 fi
   20262 
   20263         test "$am_cv_func_iconv_works" = no || break
   20264       done
   20265       LIBS="$gl_saved_LIBS"
   20266      ;;
   20267 esac
   20268 fi
   20269 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
   20270 printf '%s\n' "$am_cv_func_iconv_works" >&6; }
   20271     case "$am_cv_func_iconv_works" in
   20272       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
   20273       *)   am_func_iconv=yes ;;
   20274     esac
   20275   else
   20276     am_func_iconv=no am_cv_lib_iconv=no
   20277   fi
   20278   if test "$am_func_iconv" = yes; then
   20279 
   20280 printf '%s\n' "#define HAVE_ICONV 1" >>confdefs.h
   20281 
   20282   fi
   20283   if test "$am_cv_lib_iconv" = yes; then
   20284     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
   20285 printf %s "checking how to link with libiconv... " >&6; }
   20286     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
   20287 printf '%s\n' "$LIBICONV" >&6; }
   20288   else
   20289             CPPFLAGS="$gl_saved_CPPFLAGS"
   20290     LIBICONV=
   20291     LTLIBICONV=
   20292   fi
   20293 
   20294 
   20295 
   20296 
   20297 
   20298 
   20299 
   20300 
   20301 
   20302 
   20303     use_additional=yes
   20304 
   20305   acl_saved_prefix="$prefix"
   20306   prefix="$acl_final_prefix"
   20307   acl_saved_exec_prefix="$exec_prefix"
   20308   exec_prefix="$acl_final_exec_prefix"
   20309 
   20310     eval additional_includedir=\"$includedir\"
   20311     eval additional_libdir=\"$libdir\"
   20312     eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
   20313     eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
   20314 
   20315   exec_prefix="$acl_saved_exec_prefix"
   20316   prefix="$acl_saved_prefix"
   20317 
   20318 
   20319 # Check whether --with-libintl-prefix was given.
   20320 if test ${with_libintl_prefix+y}
   20321 then :
   20322   withval=$with_libintl_prefix;
   20323     if test "X$withval" = "Xno"; then
   20324       use_additional=no
   20325     else
   20326       if test "X$withval" = "X"; then
   20327 
   20328   acl_saved_prefix="$prefix"
   20329   prefix="$acl_final_prefix"
   20330   acl_saved_exec_prefix="$exec_prefix"
   20331   exec_prefix="$acl_final_exec_prefix"
   20332 
   20333           eval additional_includedir=\"$includedir\"
   20334           eval additional_libdir=\"$libdir\"
   20335           eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
   20336           eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
   20337 
   20338   exec_prefix="$acl_saved_exec_prefix"
   20339   prefix="$acl_saved_prefix"
   20340 
   20341       else
   20342         additional_includedir="$withval/include"
   20343         additional_libdir="$withval/$acl_libdirstem"
   20344         additional_libdir2="$withval/$acl_libdirstem2"
   20345         additional_libdir3="$withval/$acl_libdirstem3"
   20346       fi
   20347     fi
   20348 
   20349 fi
   20350 
   20351   if test "X$additional_libdir2" = "X$additional_libdir"; then
   20352     additional_libdir2=
   20353   fi
   20354   if test "X$additional_libdir3" = "X$additional_libdir"; then
   20355     additional_libdir3=
   20356   fi
   20357       LIBINTL=
   20358   LTLIBINTL=
   20359   INCINTL=
   20360   LIBINTL_PREFIX=
   20361       HAVE_LIBINTL=
   20362   rpathdirs=
   20363   ltrpathdirs=
   20364   names_already_handled=
   20365   names_next_round='intl '
   20366   while test -n "$names_next_round"; do
   20367     names_this_round="$names_next_round"
   20368     names_next_round=
   20369     for name in $names_this_round; do
   20370       already_handled=
   20371       for n in $names_already_handled; do
   20372         if test "$n" = "$name"; then
   20373           already_handled=yes
   20374           break
   20375         fi
   20376       done
   20377       if test -z "$already_handled"; then
   20378         names_already_handled="$names_already_handled $name"
   20379                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
   20380         eval value=\"\$HAVE_LIB$uppername\"
   20381         if test -n "$value"; then
   20382           if test "$value" = yes; then
   20383             eval value=\"\$LIB$uppername\"
   20384             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
   20385             eval value=\"\$LTLIB$uppername\"
   20386             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
   20387           else
   20388                                     :
   20389           fi
   20390         else
   20391                               found_dir=
   20392           found_la=
   20393           found_so=
   20394           found_a=
   20395           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
   20396           if test -n "$acl_shlibext"; then
   20397             shrext=".$acl_shlibext"             # typically: shrext=.so
   20398           else
   20399             shrext=
   20400           fi
   20401           if test $use_additional = yes; then
   20402             for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do
   20403               if test "X$found_dir" = "X"; then
   20404                 eval dir=\$$additional_libdir_variable
   20405                 if test -n "$dir"; then
   20406                                                       if test -n "$acl_shlibext"; then
   20407                     if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
   20408                       found_dir="$dir"
   20409                       found_so="$dir/$libname$shrext"
   20410                     else
   20411                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   20412                         ver=`(cd "$dir" && \
   20413                               for f in "$libname$shrext".*; do echo "$f"; done \
   20414                               | sed -e "s,^$libname$shrext\\\\.,," \
   20415                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   20416                               | sed 1q ) 2>/dev/null`
   20417                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
   20418                           found_dir="$dir"
   20419                           found_so="$dir/$libname$shrext.$ver"
   20420                         fi
   20421                       else
   20422                         eval library_names=\"$acl_library_names_spec\"
   20423                         for f in $library_names; do
   20424                           if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
   20425                             found_dir="$dir"
   20426                             found_so="$dir/$f"
   20427                             break
   20428                           fi
   20429                         done
   20430                       fi
   20431                     fi
   20432                   fi
   20433                                     if test "X$found_dir" = "X"; then
   20434                     if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
   20435                       found_dir="$dir"
   20436                       found_a="$dir/$libname.$acl_libext"
   20437                     fi
   20438                   fi
   20439                   if test "X$found_dir" != "X"; then
   20440                     if test -f "$dir/$libname.la"; then
   20441                       found_la="$dir/$libname.la"
   20442                     fi
   20443                   fi
   20444                 fi
   20445               fi
   20446             done
   20447           fi
   20448           if test "X$found_dir" = "X"; then
   20449             for x in $LDFLAGS $LTLIBINTL; do
   20450 
   20451   acl_saved_prefix="$prefix"
   20452   prefix="$acl_final_prefix"
   20453   acl_saved_exec_prefix="$exec_prefix"
   20454   exec_prefix="$acl_final_exec_prefix"
   20455   eval x=\"$x\"
   20456   exec_prefix="$acl_saved_exec_prefix"
   20457   prefix="$acl_saved_prefix"
   20458 
   20459               case "$x" in
   20460                 -L*)
   20461                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   20462                                     if test -n "$acl_shlibext"; then
   20463                     if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
   20464                       found_dir="$dir"
   20465                       found_so="$dir/$libname$shrext"
   20466                     else
   20467                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   20468                         ver=`(cd "$dir" && \
   20469                               for f in "$libname$shrext".*; do echo "$f"; done \
   20470                               | sed -e "s,^$libname$shrext\\\\.,," \
   20471                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   20472                               | sed 1q ) 2>/dev/null`
   20473                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
   20474                           found_dir="$dir"
   20475                           found_so="$dir/$libname$shrext.$ver"
   20476                         fi
   20477                       else
   20478                         eval library_names=\"$acl_library_names_spec\"
   20479                         for f in $library_names; do
   20480                           if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
   20481                             found_dir="$dir"
   20482                             found_so="$dir/$f"
   20483                             break
   20484                           fi
   20485                         done
   20486                       fi
   20487                     fi
   20488                   fi
   20489                                     if test "X$found_dir" = "X"; then
   20490                     if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
   20491                       found_dir="$dir"
   20492                       found_a="$dir/$libname.$acl_libext"
   20493                     fi
   20494                   fi
   20495                   if test "X$found_dir" != "X"; then
   20496                     if test -f "$dir/$libname.la"; then
   20497                       found_la="$dir/$libname.la"
   20498                     fi
   20499                   fi
   20500                   ;;
   20501               esac
   20502               if test "X$found_dir" != "X"; then
   20503                 break
   20504               fi
   20505             done
   20506           fi
   20507           if test "X$found_dir" != "X"; then
   20508                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
   20509             if test "X$found_so" != "X"; then
   20510                                                         if test "$enable_rpath" = no \
   20511                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
   20512                  || test "X$found_dir" = "X/usr/$acl_libdirstem2" \
   20513                  || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then
   20514                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   20515               else
   20516                                                                                 haveit=
   20517                 for x in $ltrpathdirs; do
   20518                   if test "X$x" = "X$found_dir"; then
   20519                     haveit=yes
   20520                     break
   20521                   fi
   20522                 done
   20523                 if test -z "$haveit"; then
   20524                   ltrpathdirs="$ltrpathdirs $found_dir"
   20525                 fi
   20526                                 if test "$acl_hardcode_direct" = yes; then
   20527                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   20528                 else
   20529                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
   20530                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   20531                                                             haveit=
   20532                     for x in $rpathdirs; do
   20533                       if test "X$x" = "X$found_dir"; then
   20534                         haveit=yes
   20535                         break
   20536                       fi
   20537                     done
   20538                     if test -z "$haveit"; then
   20539                       rpathdirs="$rpathdirs $found_dir"
   20540                     fi
   20541                   else
   20542                                                                                 haveit=
   20543                     for x in $LDFLAGS $LIBINTL; do
   20544 
   20545   acl_saved_prefix="$prefix"
   20546   prefix="$acl_final_prefix"
   20547   acl_saved_exec_prefix="$exec_prefix"
   20548   exec_prefix="$acl_final_exec_prefix"
   20549   eval x=\"$x\"
   20550   exec_prefix="$acl_saved_exec_prefix"
   20551   prefix="$acl_saved_prefix"
   20552 
   20553                       if test "X$x" = "X-L$found_dir"; then
   20554                         haveit=yes
   20555                         break
   20556                       fi
   20557                     done
   20558                     if test -z "$haveit"; then
   20559                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
   20560                     fi
   20561                     if test "$acl_hardcode_minus_L" != no; then
   20562                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   20563                     else
   20564                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   20565                     fi
   20566                   fi
   20567                 fi
   20568               fi
   20569             else
   20570               if test "X$found_a" != "X"; then
   20571                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
   20572               else
   20573                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
   20574               fi
   20575             fi
   20576                         additional_includedir=
   20577             case "$found_dir" in
   20578               */$acl_libdirstem | */$acl_libdirstem/)
   20579                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
   20580                 if test "$name" = 'intl'; then
   20581                   LIBINTL_PREFIX="$basedir"
   20582                 fi
   20583                 additional_includedir="$basedir/include"
   20584                 ;;
   20585               */$acl_libdirstem2 | */$acl_libdirstem2/)
   20586                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
   20587                 if test "$name" = 'intl'; then
   20588                   LIBINTL_PREFIX="$basedir"
   20589                 fi
   20590                 additional_includedir="$basedir/include"
   20591                 ;;
   20592               */$acl_libdirstem3 | */$acl_libdirstem3/)
   20593                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'`
   20594                 if test "$name" = 'intl'; then
   20595                   LIBINTL_PREFIX="$basedir"
   20596                 fi
   20597                 additional_includedir="$basedir/include"
   20598                 ;;
   20599             esac
   20600             if test "X$additional_includedir" != "X"; then
   20601                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   20602                 haveit=
   20603                 if test "X$additional_includedir" = "X/usr/local/include"; then
   20604                   if test -n "$GCC"; then
   20605                     case $host_os in
   20606                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   20607                     esac
   20608                   fi
   20609                 fi
   20610                 if test -z "$haveit"; then
   20611                   for x in $CPPFLAGS $INCINTL; do
   20612 
   20613   acl_saved_prefix="$prefix"
   20614   prefix="$acl_final_prefix"
   20615   acl_saved_exec_prefix="$exec_prefix"
   20616   exec_prefix="$acl_final_exec_prefix"
   20617   eval x=\"$x\"
   20618   exec_prefix="$acl_saved_exec_prefix"
   20619   prefix="$acl_saved_prefix"
   20620 
   20621                     if test "X$x" = "X-I$additional_includedir"; then
   20622                       haveit=yes
   20623                       break
   20624                     fi
   20625                   done
   20626                   if test -z "$haveit"; then
   20627                     if test -d "$additional_includedir"; then
   20628                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
   20629                     fi
   20630                   fi
   20631                 fi
   20632               fi
   20633             fi
   20634                         if test -n "$found_la"; then
   20635                                                         saved_libdir="$libdir"
   20636               case "$found_la" in
   20637                 */* | *\\*) . "$found_la" ;;
   20638                 *) . "./$found_la" ;;
   20639               esac
   20640               libdir="$saved_libdir"
   20641                             for dep in $dependency_libs; do
   20642                 case "$dep" in
   20643                   -L*)
   20644                     dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   20645                                                                                                                                                                 if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \
   20646                        && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \
   20647                        && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then
   20648                       haveit=
   20649                       if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \
   20650                          || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \
   20651                          || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then
   20652                         if test -n "$GCC"; then
   20653                           case $host_os in
   20654                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   20655                           esac
   20656                         fi
   20657                       fi
   20658                       if test -z "$haveit"; then
   20659                         haveit=
   20660                         for x in $LDFLAGS $LIBINTL; do
   20661 
   20662   acl_saved_prefix="$prefix"
   20663   prefix="$acl_final_prefix"
   20664   acl_saved_exec_prefix="$exec_prefix"
   20665   exec_prefix="$acl_final_exec_prefix"
   20666   eval x=\"$x\"
   20667   exec_prefix="$acl_saved_exec_prefix"
   20668   prefix="$acl_saved_prefix"
   20669 
   20670                           if test "X$x" = "X-L$dependency_libdir"; then
   20671                             haveit=yes
   20672                             break
   20673                           fi
   20674                         done
   20675                         if test -z "$haveit"; then
   20676                           if test -d "$dependency_libdir"; then
   20677                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$dependency_libdir"
   20678                           fi
   20679                         fi
   20680                         haveit=
   20681                         for x in $LDFLAGS $LTLIBINTL; do
   20682 
   20683   acl_saved_prefix="$prefix"
   20684   prefix="$acl_final_prefix"
   20685   acl_saved_exec_prefix="$exec_prefix"
   20686   exec_prefix="$acl_final_exec_prefix"
   20687   eval x=\"$x\"
   20688   exec_prefix="$acl_saved_exec_prefix"
   20689   prefix="$acl_saved_prefix"
   20690 
   20691                           if test "X$x" = "X-L$dependency_libdir"; then
   20692                             haveit=yes
   20693                             break
   20694                           fi
   20695                         done
   20696                         if test -z "$haveit"; then
   20697                           if test -d "$dependency_libdir"; then
   20698                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$dependency_libdir"
   20699                           fi
   20700                         fi
   20701                       fi
   20702                     fi
   20703                     ;;
   20704                   -R*)
   20705                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   20706                     if test "$enable_rpath" != no; then
   20707                                                                   haveit=
   20708                       for x in $rpathdirs; do
   20709                         if test "X$x" = "X$dir"; then
   20710                           haveit=yes
   20711                           break
   20712                         fi
   20713                       done
   20714                       if test -z "$haveit"; then
   20715                         rpathdirs="$rpathdirs $dir"
   20716                       fi
   20717                                                                   haveit=
   20718                       for x in $ltrpathdirs; do
   20719                         if test "X$x" = "X$dir"; then
   20720                           haveit=yes
   20721                           break
   20722                         fi
   20723                       done
   20724                       if test -z "$haveit"; then
   20725                         ltrpathdirs="$ltrpathdirs $dir"
   20726                       fi
   20727                     fi
   20728                     ;;
   20729                   -l*)
   20730                                                                                                                                                                 dep=`echo "X$dep" | sed -e 's/^X-l//'`
   20731                     if test "X$dep" != Xc \
   20732                        || case $host_os in
   20733                             linux* | gnu* | k*bsd*-gnu) false ;;
   20734                             *)                          true ;;
   20735                           esac; then
   20736                       names_next_round="$names_next_round $dep"
   20737                     fi
   20738                     ;;
   20739                   *.la)
   20740                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   20741                     ;;
   20742                   *)
   20743                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
   20744                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
   20745                     ;;
   20746                 esac
   20747               done
   20748             fi
   20749           else
   20750                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   20751             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
   20752           fi
   20753         fi
   20754       fi
   20755     done
   20756   done
   20757   if test "X$rpathdirs" != "X"; then
   20758     if test -n "$acl_hardcode_libdir_separator"; then
   20759                         alldirs=
   20760       for found_dir in $rpathdirs; do
   20761         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
   20762       done
   20763             acl_saved_libdir="$libdir"
   20764       libdir="$alldirs"
   20765       eval flag=\"$acl_hardcode_libdir_flag_spec\"
   20766       libdir="$acl_saved_libdir"
   20767       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   20768     else
   20769             for found_dir in $rpathdirs; do
   20770         acl_saved_libdir="$libdir"
   20771         libdir="$found_dir"
   20772         eval flag=\"$acl_hardcode_libdir_flag_spec\"
   20773         libdir="$acl_saved_libdir"
   20774         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   20775       done
   20776     fi
   20777   fi
   20778   if test "X$ltrpathdirs" != "X"; then
   20779             for found_dir in $ltrpathdirs; do
   20780       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
   20781     done
   20782   fi
   20783 
   20784 
   20785 
   20786 
   20787 
   20788           { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
   20789 printf %s "checking for GNU gettext in libintl... " >&6; }
   20790 if eval test \${$gt_func_gnugettext_libintl+y}
   20791 then :
   20792   printf %s "(cached) " >&6
   20793 else case e in #(
   20794   e) gt_saved_CPPFLAGS="$CPPFLAGS"
   20795             CPPFLAGS="$CPPFLAGS $INCINTL"
   20796             gt_saved_LIBS="$LIBS"
   20797             LIBS="$LIBS $LIBINTL"
   20798                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20799 /* end confdefs.h.  */
   20800 
   20801 #include <libintl.h>
   20802 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   20803 extern int _nl_msg_cat_cntr;
   20804 extern
   20805 #ifdef __cplusplus
   20806 "C"
   20807 #endif
   20808 const char *_nl_expand_alias (const char *);
   20809 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
   20810 #else
   20811 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   20812 #endif
   20813 $gt_revision_test_code
   20814 
   20815 int
   20816 main (void)
   20817 {
   20818 
   20819 bindtextdomain ("", "");
   20820 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   20821 
   20822   ;
   20823   return 0;
   20824 }
   20825 _ACEOF
   20826 if ac_fn_c_try_link "$LINENO"
   20827 then :
   20828   eval "$gt_func_gnugettext_libintl=yes"
   20829 else case e in #(
   20830   e) eval "$gt_func_gnugettext_libintl=no" ;;
   20831 esac
   20832 fi
   20833 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20834     conftest$ac_exeext conftest.$ac_ext
   20835                                     gt_LIBINTL_EXTRA="$INTL_MACOSX_LIBS"
   20836 
   20837             case "$host_os" in
   20838               aix*) gt_LIBINTL_EXTRA="-lpthread" ;;
   20839             esac
   20840             if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } \
   20841                && { test -n "$LIBICONV" || test -n "$gt_LIBINTL_EXTRA"; }; then
   20842               LIBS="$LIBS $LIBICONV $gt_LIBINTL_EXTRA"
   20843               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20844 /* end confdefs.h.  */
   20845 
   20846 #include <libintl.h>
   20847 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   20848 extern int _nl_msg_cat_cntr;
   20849 extern
   20850 #ifdef __cplusplus
   20851 "C"
   20852 #endif
   20853 const char *_nl_expand_alias (const char *);
   20854 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
   20855 #else
   20856 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   20857 #endif
   20858 $gt_revision_test_code
   20859 
   20860 int
   20861 main (void)
   20862 {
   20863 
   20864 bindtextdomain ("", "");
   20865 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   20866 
   20867   ;
   20868   return 0;
   20869 }
   20870 _ACEOF
   20871 if ac_fn_c_try_link "$LINENO"
   20872 then :
   20873   LIBINTL="$LIBINTL $LIBICONV $gt_LIBINTL_EXTRA"
   20874                  LTLIBINTL="$LTLIBINTL $LTLIBICONV $gt_LIBINTL_EXTRA"
   20875                  eval "$gt_func_gnugettext_libintl=yes"
   20876 
   20877 fi
   20878 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20879     conftest$ac_exeext conftest.$ac_ext
   20880             fi
   20881             CPPFLAGS="$gt_saved_CPPFLAGS"
   20882             LIBS="$gt_saved_LIBS" ;;
   20883 esac
   20884 fi
   20885 eval ac_res=\$$gt_func_gnugettext_libintl
   20886 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   20887 printf '%s\n' "$ac_res" >&6; }
   20888         fi
   20889 
   20890                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
   20891            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
   20892                 && test "$PACKAGE" != gettext-runtime \
   20893                 && test "$PACKAGE" != gettext-tools \
   20894                 && test "$PACKAGE" != libintl; }; then
   20895           gt_use_preinstalled_gnugettext=yes
   20896         else
   20897                     LIBINTL=
   20898           LTLIBINTL=
   20899           INCINTL=
   20900         fi
   20901 
   20902 
   20903 
   20904     if test -n "$INTL_MACOSX_LIBS"; then
   20905       if test "$gt_use_preinstalled_gnugettext" = "yes" \
   20906          || test "$nls_cv_use_gnu_gettext" = "yes"; then
   20907                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
   20908         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
   20909       fi
   20910     fi
   20911 
   20912     if test "$gt_use_preinstalled_gnugettext" = "yes" \
   20913        || test "$nls_cv_use_gnu_gettext" = "yes"; then
   20914 
   20915 printf '%s\n' "#define ENABLE_NLS 1" >>confdefs.h
   20916 
   20917     else
   20918       USE_NLS=no
   20919     fi
   20920   fi
   20921 
   20922   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
   20923 printf %s "checking whether to use NLS... " >&6; }
   20924   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   20925 printf '%s\n' "$USE_NLS" >&6; }
   20926   if test "$USE_NLS" = "yes"; then
   20927     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
   20928 printf %s "checking where the gettext function comes from... " >&6; }
   20929     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   20930       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
   20931         gt_source="external libintl"
   20932       else
   20933         gt_source="libc"
   20934       fi
   20935     else
   20936       gt_source="included intl directory"
   20937     fi
   20938     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
   20939 printf '%s\n' "$gt_source" >&6; }
   20940   fi
   20941 
   20942   if test "$USE_NLS" = "yes"; then
   20943 
   20944     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   20945       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
   20946         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
   20947 printf %s "checking how to link with libintl... " >&6; }
   20948         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
   20949 printf '%s\n' "$LIBINTL" >&6; }
   20950 
   20951   for element in $INCINTL; do
   20952     haveit=
   20953     for x in $CPPFLAGS; do
   20954 
   20955   acl_saved_prefix="$prefix"
   20956   prefix="$acl_final_prefix"
   20957   acl_saved_exec_prefix="$exec_prefix"
   20958   exec_prefix="$acl_final_exec_prefix"
   20959   eval x=\"$x\"
   20960   exec_prefix="$acl_saved_exec_prefix"
   20961   prefix="$acl_saved_prefix"
   20962 
   20963       if test "X$x" = "X$element"; then
   20964         haveit=yes
   20965         break
   20966       fi
   20967     done
   20968     if test -z "$haveit"; then
   20969       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   20970     fi
   20971   done
   20972 
   20973       fi
   20974 
   20975 
   20976 printf '%s\n' "#define HAVE_GETTEXT 1" >>confdefs.h
   20977 
   20978 
   20979 printf '%s\n' "#define HAVE_DCGETTEXT 1" >>confdefs.h
   20980 
   20981     fi
   20982 
   20983         POSUB=po
   20984   fi
   20985 
   20986 
   20987 
   20988 
   20989         INTLLIBS="$LIBINTL"
   20990 
   20991 
   20992 
   20993 
   20994 
   20995 
   20996 
   20997 
   20998 
   20999 
   21000 # The command line tools use UTF-8 on native Windows. Non-ASCII characters
   21001 # display correctly only when using UCRT and gettext-runtime >= 0.23.1.
   21002 case $USE_NLS-$host_os in #(
   21003   yes-mingw*) :
   21004 
   21005 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for UCRT and gettext-runtime >= 0.23.1" >&5
   21006 printf %s "checking for UCRT and gettext-runtime >= 0.23.1... " >&6; }
   21007 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21008 /* end confdefs.h.  */
   21009 
   21010 			#define WIN32_LEAN_AND_MEAN
   21011 			#include <windows.h>
   21012 			#include <libintl.h>
   21013 
   21014 			#ifndef _UCRT
   21015 			#error "Not UCRT"
   21016 			#endif
   21017 
   21018 			#if LIBINTL_VERSION < 0x001701
   21019 			#error "gettext-runtime < 0.23.1"
   21020 			#endif
   21021 
   21022 _ACEOF
   21023 if ac_fn_c_try_cpp "$LINENO"
   21024 then :
   21025 
   21026 			{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21027 printf '%s\n' "yes" >&6; }
   21028 
   21029 else case e in #(
   21030   e)
   21031 			{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21032 printf '%s\n' "no" >&6; }
   21033 			as_fn_error $? "
   21034     Translation support (--enable-nls) on native Windows requires
   21035     UCRT and gettext-runtime >= 0.23.1. Use --disable-nls to build
   21036     with MSVCRT or old gettext-runtime." "$LINENO" 5
   21037 		 ;;
   21038 esac
   21039 fi
   21040 rm -f conftest.err conftest.i conftest.$ac_ext
   21041 
   21042  ;; #(
   21043   *) :
   21044      ;;
   21045 esac
   21046 
   21047 
   21048 ###############################################################################
   21049 # Checks for header files.
   21050 ###############################################################################
   21051 
   21052 echo
   21053 echo "System headers and functions:"
   21054 
   21055 # immintrin.h allows the use of the intrinsic functions if they are available.
   21056 # cpuid.h may be used for detecting x86 processor features at runtime.
   21057 ac_fn_c_check_header_compile "$LINENO" "immintrin.h" "ac_cv_header_immintrin_h" "$ac_includes_default"
   21058 if test "x$ac_cv_header_immintrin_h" = xyes
   21059 then :
   21060   printf '%s\n' "#define HAVE_IMMINTRIN_H 1" >>confdefs.h
   21061 
   21062 fi
   21063 ac_fn_c_check_header_compile "$LINENO" "cpuid.h" "ac_cv_header_cpuid_h" "$ac_includes_default"
   21064 if test "x$ac_cv_header_cpuid_h" = xyes
   21065 then :
   21066   printf '%s\n' "#define HAVE_CPUID_H 1" >>confdefs.h
   21067 
   21068 fi
   21069 
   21070 
   21071 
   21072 ###############################################################################
   21073 # Checks for typedefs, structures, and compiler characteristics.
   21074 ###############################################################################
   21075 
   21076 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
   21077 if test "x$ac_cv_type__Bool" = xyes
   21078 then :
   21079 
   21080 printf '%s\n' "#define HAVE__BOOL 1" >>confdefs.h
   21081 
   21082 
   21083 fi
   21084 
   21085    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99 or later" >&5
   21086 printf %s "checking for stdbool.h that conforms to C99 or later... " >&6; }
   21087 if test ${ac_cv_header_stdbool_h+y}
   21088 then :
   21089   printf %s "(cached) " >&6
   21090 else case e in #(
   21091   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21092 /* end confdefs.h.  */
   21093 #include <stdbool.h>
   21094 
   21095              /* "true" and "false" should be usable in #if expressions and
   21096                 integer constant expressions, and "bool" should be a valid
   21097                 type name.
   21098 
   21099                 Although C99 requires bool, true, and false to be macros,
   21100                 C23 and C++11 overrule that, so do not test for that.
   21101                 Although C99 requires __bool_true_false_are_defined and
   21102                 _Bool, C23 says they are obsolescent, so do not require
   21103                 them.  */
   21104 
   21105              #if !true
   21106                #error "'true' is not true"
   21107              #endif
   21108              #if true != 1
   21109                #error "'true' is not equal to 1"
   21110              #endif
   21111              char b[true == 1 ? 1 : -1];
   21112              char c[true];
   21113 
   21114              #if false
   21115                #error "'false' is not false"
   21116              #endif
   21117              #if false != 0
   21118                #error "'false' is not equal to 0"
   21119              #endif
   21120              char d[false == 0 ? 1 : -1];
   21121 
   21122              enum { e = false, f = true, g = false * true, h = true * 256 };
   21123 
   21124              char i[(bool) 0.5 == true ? 1 : -1];
   21125              char j[(bool) 0.0 == false ? 1 : -1];
   21126              char k[sizeof (bool) > 0 ? 1 : -1];
   21127 
   21128              struct sb { bool s: 1; bool t; } s;
   21129              char l[sizeof s.t > 0 ? 1 : -1];
   21130 
   21131              /* The following fails for
   21132                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
   21133              bool m[h];
   21134              char n[sizeof m == h * sizeof m[0] ? 1 : -1];
   21135              char o[-1 - (bool) 0 < 0 ? 1 : -1];
   21136              /* Catch a bug in an HP-UX C compiler.  See
   21137                 https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
   21138                 https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html
   21139               */
   21140              bool p = true;
   21141              bool *pp = &p;
   21142 
   21143 int
   21144 main (void)
   21145 {
   21146 
   21147              bool ps = &s;
   21148              *pp |= p;
   21149              *pp |= ! p;
   21150 
   21151              /* Refer to every declared value, so they cannot be
   21152                 discarded as unused.  */
   21153              return (!b + !c + !d + !e + !f + !g + !h + !i + !j + !k
   21154                      + !l + !m + !n + !o + !p + !pp + !ps);
   21155 
   21156   ;
   21157   return 0;
   21158 }
   21159 _ACEOF
   21160 if ac_fn_c_try_compile "$LINENO"
   21161 then :
   21162   ac_cv_header_stdbool_h=yes
   21163 else case e in #(
   21164   e) ac_cv_header_stdbool_h=no ;;
   21165 esac
   21166 fi
   21167 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   21168 esac
   21169 fi
   21170 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
   21171 printf '%s\n' "$ac_cv_header_stdbool_h" >&6; }
   21172 
   21173 if test $ac_cv_header_stdbool_h = yes; then
   21174 
   21175 printf '%s\n' "#define HAVE_STDBOOL_H 1" >>confdefs.h
   21176 
   21177 fi
   21178 
   21179 
   21180 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
   21181 case $ac_cv_c_uint8_t in #(
   21182   no|yes) ;; #(
   21183   *)
   21184 
   21185 printf '%s\n' "#define _UINT8_T 1" >>confdefs.h
   21186 
   21187 
   21188 printf '%s\n' "#define uint8_t $ac_cv_c_uint8_t" >>confdefs.h
   21189 ;;
   21190   esac
   21191 
   21192 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
   21193 case $ac_cv_c_uint16_t in #(
   21194   no|yes) ;; #(
   21195   *)
   21196 
   21197 
   21198 printf '%s\n' "#define uint16_t $ac_cv_c_uint16_t" >>confdefs.h
   21199 ;;
   21200   esac
   21201 
   21202 ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
   21203 case $ac_cv_c_int32_t in #(
   21204   no|yes) ;; #(
   21205   *)
   21206 
   21207 printf '%s\n' "#define int32_t $ac_cv_c_int32_t" >>confdefs.h
   21208 ;;
   21209 esac
   21210 
   21211 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
   21212 case $ac_cv_c_uint32_t in #(
   21213   no|yes) ;; #(
   21214   *)
   21215 
   21216 printf '%s\n' "#define _UINT32_T 1" >>confdefs.h
   21217 
   21218 
   21219 printf '%s\n' "#define uint32_t $ac_cv_c_uint32_t" >>confdefs.h
   21220 ;;
   21221   esac
   21222 
   21223 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
   21224 case $ac_cv_c_int64_t in #(
   21225   no|yes) ;; #(
   21226   *)
   21227 
   21228 printf '%s\n' "#define int64_t $ac_cv_c_int64_t" >>confdefs.h
   21229 ;;
   21230 esac
   21231 
   21232 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
   21233 case $ac_cv_c_uint64_t in #(
   21234   no|yes) ;; #(
   21235   *)
   21236 
   21237 printf '%s\n' "#define _UINT64_T 1" >>confdefs.h
   21238 
   21239 
   21240 printf '%s\n' "#define uint64_t $ac_cv_c_uint64_t" >>confdefs.h
   21241 ;;
   21242   esac
   21243 
   21244 
   21245   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
   21246 if test "x$ac_cv_type_uintptr_t" = xyes
   21247 then :
   21248 
   21249 printf '%s\n' "#define HAVE_UINTPTR_T 1" >>confdefs.h
   21250 
   21251 else case e in #(
   21252   e) for ac_type in 'unsigned int' 'unsigned long int' \
   21253 	'unsigned long long int'; do
   21254        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21255 /* end confdefs.h.  */
   21256 $ac_includes_default
   21257 int
   21258 main (void)
   21259 {
   21260 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
   21261 test_array [0] = 0;
   21262 return test_array [0];
   21263 
   21264   ;
   21265   return 0;
   21266 }
   21267 _ACEOF
   21268 if ac_fn_c_try_compile "$LINENO"
   21269 then :
   21270 
   21271 printf '%s\n' "#define uintptr_t $ac_type" >>confdefs.h
   21272 
   21273 	  ac_type=
   21274 fi
   21275 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   21276        test -z "$ac_type" && break
   21277      done ;;
   21278 esac
   21279 fi
   21280 
   21281 
   21282 
   21283 # The cast to long int works around a bug in the HP C Compiler
   21284 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   21285 # declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'.
   21286 # This bug is HP SR number 8606223364.
   21287 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
   21288 printf %s "checking size of size_t... " >&6; }
   21289 if test ${ac_cv_sizeof_size_t+y}
   21290 then :
   21291   printf %s "(cached) " >&6
   21292 else case e in #(
   21293   e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"
   21294 then :
   21295 
   21296 else case e in #(
   21297   e) ac_cv_sizeof_size_t=0 ;;
   21298 esac
   21299 fi
   21300  ;;
   21301 esac
   21302 fi
   21303 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
   21304 printf '%s\n' "$ac_cv_sizeof_size_t" >&6; }
   21305 
   21306 
   21307 
   21308 printf '%s\n' "#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t" >>confdefs.h
   21309 
   21310 
   21311 
   21312 # The command line tool can copy high resolution timestamps if such
   21313 # information is available in struct stat. Otherwise one second accuracy
   21314 # is used.
   21315 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim.tv_nsec" "ac_cv_member_struct_stat_st_atim_tv_nsec" "$ac_includes_default"
   21316 if test "x$ac_cv_member_struct_stat_st_atim_tv_nsec" = xyes
   21317 then :
   21318 
   21319 printf '%s\n' "#define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1" >>confdefs.h
   21320 
   21321 
   21322 fi
   21323 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec.tv_nsec" "ac_cv_member_struct_stat_st_atimespec_tv_nsec" "$ac_includes_default"
   21324 if test "x$ac_cv_member_struct_stat_st_atimespec_tv_nsec" = xyes
   21325 then :
   21326 
   21327 printf '%s\n' "#define HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC 1" >>confdefs.h
   21328 
   21329 
   21330 fi
   21331 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimensec" "ac_cv_member_struct_stat_st_atimensec" "$ac_includes_default"
   21332 if test "x$ac_cv_member_struct_stat_st_atimensec" = xyes
   21333 then :
   21334 
   21335 printf '%s\n' "#define HAVE_STRUCT_STAT_ST_ATIMENSEC 1" >>confdefs.h
   21336 
   21337 
   21338 fi
   21339 ac_fn_c_check_member "$LINENO" "struct stat" "st_uatime" "ac_cv_member_struct_stat_st_uatime" "$ac_includes_default"
   21340 if test "x$ac_cv_member_struct_stat_st_uatime" = xyes
   21341 then :
   21342 
   21343 printf '%s\n' "#define HAVE_STRUCT_STAT_ST_UATIME 1" >>confdefs.h
   21344 
   21345 
   21346 fi
   21347 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim.st__tim.tv_nsec" "ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec" "$ac_includes_default"
   21348 if test "x$ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec" = xyes
   21349 then :
   21350 
   21351 printf '%s\n' "#define HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC 1" >>confdefs.h
   21352 
   21353 
   21354 fi
   21355 
   21356 
   21357 # Check whether --enable-largefile was given.
   21358 if test ${enable_largefile+y}
   21359 then :
   21360   enableval=$enable_largefile;
   21361 fi
   21362 if test "$enable_largefile,$enable_year2038" != no,no
   21363 then :
   21364   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to support large files" >&5
   21365 printf %s "checking for $CC option to support large files... " >&6; }
   21366 if test ${ac_cv_sys_largefile_opts+y}
   21367 then :
   21368   printf %s "(cached) " >&6
   21369 else case e in #(
   21370   e) ac_save_CPPFLAGS=$CPPFLAGS
   21371   ac_opt_found=no
   21372   for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1"; do
   21373     if test x"$ac_opt" != x"none needed"
   21374 then :
   21375   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   21376 fi
   21377     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21378 /* end confdefs.h.  */
   21379 #include <sys/types.h>
   21380 #ifndef FTYPE
   21381 # define FTYPE off_t
   21382 #endif
   21383  /* Check that FTYPE can represent 2**63 - 1 correctly.
   21384     We can't simply define LARGE_FTYPE to be 9223372036854775807,
   21385     since some C++ compilers masquerading as C compilers
   21386     incorrectly reject 9223372036854775807.  */
   21387 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
   21388   int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
   21389 		       && LARGE_FTYPE % 2147483647 == 1)
   21390 		      ? 1 : -1];
   21391 int
   21392 main (void)
   21393 {
   21394 
   21395   ;
   21396   return 0;
   21397 }
   21398 _ACEOF
   21399 if ac_fn_c_try_compile "$LINENO"
   21400 then :
   21401   if test x"$ac_opt" = x"none needed"
   21402 then :
   21403   # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
   21404 	 CPPFLAGS="$CPPFLAGS -DFTYPE=ino_t"
   21405 	 if ac_fn_c_try_compile "$LINENO"
   21406 then :
   21407 
   21408 else case e in #(
   21409   e) CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
   21410 	    if ac_fn_c_try_compile "$LINENO"
   21411 then :
   21412   ac_opt='-D_FILE_OFFSET_BITS=64'
   21413 fi
   21414 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
   21415 esac
   21416 fi
   21417 rm -f core conftest.err conftest.$ac_objext conftest.beam
   21418 fi
   21419       ac_cv_sys_largefile_opts=$ac_opt
   21420       ac_opt_found=yes
   21421 fi
   21422 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   21423     test $ac_opt_found = no || break
   21424   done
   21425   CPPFLAGS=$ac_save_CPPFLAGS
   21426 
   21427   test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
   21428 esac
   21429 fi
   21430 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
   21431 printf '%s\n' "$ac_cv_sys_largefile_opts" >&6; }
   21432 
   21433 ac_have_largefile=yes
   21434 case $ac_cv_sys_largefile_opts in #(
   21435   "none needed") :
   21436      ;; #(
   21437   "supported through gnulib") :
   21438      ;; #(
   21439   "support not detected") :
   21440     ac_have_largefile=no ;; #(
   21441   "-D_FILE_OFFSET_BITS=64") :
   21442 
   21443 printf '%s\n' "#define _FILE_OFFSET_BITS 64" >>confdefs.h
   21444  ;; #(
   21445   "-D_LARGE_FILES=1") :
   21446 
   21447 printf '%s\n' "#define _LARGE_FILES 1" >>confdefs.h
   21448  ;; #(
   21449   *) :
   21450     as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
   21451 esac
   21452 
   21453 if test "$enable_year2038" != no
   21454 then :
   21455   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to support timestamps after 2038" >&5
   21456 printf %s "checking for $CC option to support timestamps after 2038... " >&6; }
   21457 if test ${ac_cv_sys_year2038_opts+y}
   21458 then :
   21459   printf %s "(cached) " >&6
   21460 else case e in #(
   21461   e) ac_save_CPPFLAGS="$CPPFLAGS"
   21462   ac_opt_found=no
   21463   for ac_opt in "none needed" "-D_TIME_BITS=64" "-D__MINGW_USE_VC2005_COMPAT" "-U_USE_32_BIT_TIME_T -D__MINGW_USE_VC2005_COMPAT"; do
   21464     if test x"$ac_opt" != x"none needed"
   21465 then :
   21466   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   21467 fi
   21468     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21469 /* end confdefs.h.  */
   21470 
   21471   #include <time.h>
   21472   /* Check that time_t can represent 2**32 - 1 correctly.  */
   21473   #define LARGE_TIME_T \\
   21474     ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
   21475   int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
   21476                            && LARGE_TIME_T % 65537 == 0)
   21477                           ? 1 : -1];
   21478 
   21479 int
   21480 main (void)
   21481 {
   21482 
   21483   ;
   21484   return 0;
   21485 }
   21486 _ACEOF
   21487 if ac_fn_c_try_compile "$LINENO"
   21488 then :
   21489   ac_cv_sys_year2038_opts="$ac_opt"
   21490       ac_opt_found=yes
   21491 fi
   21492 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   21493     test $ac_opt_found = no || break
   21494   done
   21495   CPPFLAGS="$ac_save_CPPFLAGS"
   21496   test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
   21497 esac
   21498 fi
   21499 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
   21500 printf '%s\n' "$ac_cv_sys_year2038_opts" >&6; }
   21501 
   21502 ac_have_year2038=yes
   21503 case $ac_cv_sys_year2038_opts in #(
   21504   "none needed") :
   21505      ;; #(
   21506   "support not detected") :
   21507     ac_have_year2038=no ;; #(
   21508   "-D_TIME_BITS=64") :
   21509 
   21510 printf '%s\n' "#define _TIME_BITS 64" >>confdefs.h
   21511  ;; #(
   21512   "-D__MINGW_USE_VC2005_COMPAT") :
   21513 
   21514 printf '%s\n' "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
   21515  ;; #(
   21516   "-U_USE_32_BIT_TIME_T"*) :
   21517     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   21518 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   21519 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
   21520 will stop working after mid-January 2038. Remove
   21521 _USE_32BIT_TIME_T from the compiler flags.
   21522 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   21523   *) :
   21524     as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
   21525 esac
   21526 
   21527 fi
   21528 
   21529 fi
   21530  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   21531 printf %s "checking whether byte ordering is bigendian... " >&6; }
   21532 if test ${ac_cv_c_bigendian+y}
   21533 then :
   21534   printf %s "(cached) " >&6
   21535 else case e in #(
   21536   e) ac_cv_c_bigendian=unknown
   21537     # See if we're dealing with a universal compiler.
   21538     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21539 /* end confdefs.h.  */
   21540 #ifndef __APPLE_CC__
   21541 	       not a universal capable compiler
   21542 	     #endif
   21543 	     typedef int dummy;
   21544 
   21545 _ACEOF
   21546 if ac_fn_c_try_compile "$LINENO"
   21547 then :
   21548 
   21549 	# Check for potential -arch flags.  It is not universal unless
   21550 	# there are at least two -arch flags with different values.
   21551 	ac_arch=
   21552 	ac_prev=
   21553 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   21554 	 if test -n "$ac_prev"; then
   21555 	   case $ac_word in
   21556 	     i?86 | x86_64 | ppc | ppc64)
   21557 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   21558 		 ac_arch=$ac_word
   21559 	       else
   21560 		 ac_cv_c_bigendian=universal
   21561 		 break
   21562 	       fi
   21563 	       ;;
   21564 	   esac
   21565 	   ac_prev=
   21566 	 elif test "x$ac_word" = "x-arch"; then
   21567 	   ac_prev=arch
   21568 	 fi
   21569        done
   21570 fi
   21571 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   21572     if test $ac_cv_c_bigendian = unknown; then
   21573       # See if sys/param.h defines the BYTE_ORDER macro.
   21574       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21575 /* end confdefs.h.  */
   21576 #include <sys/types.h>
   21577 	     #include <sys/param.h>
   21578 
   21579 int
   21580 main (void)
   21581 {
   21582 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \\
   21583 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \\
   21584 		     && LITTLE_ENDIAN)
   21585 	      bogus endian macros
   21586 	     #endif
   21587 
   21588   ;
   21589   return 0;
   21590 }
   21591 _ACEOF
   21592 if ac_fn_c_try_compile "$LINENO"
   21593 then :
   21594   # It does; now see whether it defined to BIG_ENDIAN or not.
   21595 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21596 /* end confdefs.h.  */
   21597 #include <sys/types.h>
   21598 		#include <sys/param.h>
   21599 
   21600 int
   21601 main (void)
   21602 {
   21603 #if BYTE_ORDER != BIG_ENDIAN
   21604 		 not big endian
   21605 		#endif
   21606 
   21607   ;
   21608   return 0;
   21609 }
   21610 _ACEOF
   21611 if ac_fn_c_try_compile "$LINENO"
   21612 then :
   21613   ac_cv_c_bigendian=yes
   21614 else case e in #(
   21615   e) ac_cv_c_bigendian=no ;;
   21616 esac
   21617 fi
   21618 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   21619 fi
   21620 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   21621     fi
   21622     if test $ac_cv_c_bigendian = unknown; then
   21623       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   21624       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21625 /* end confdefs.h.  */
   21626 #include <limits.h>
   21627 
   21628 int
   21629 main (void)
   21630 {
   21631 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   21632 	      bogus endian macros
   21633 	     #endif
   21634 
   21635   ;
   21636   return 0;
   21637 }
   21638 _ACEOF
   21639 if ac_fn_c_try_compile "$LINENO"
   21640 then :
   21641   # It does; now see whether it defined to _BIG_ENDIAN or not.
   21642 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21643 /* end confdefs.h.  */
   21644 #include <limits.h>
   21645 
   21646 int
   21647 main (void)
   21648 {
   21649 #ifndef _BIG_ENDIAN
   21650 		 not big endian
   21651 		#endif
   21652 
   21653   ;
   21654   return 0;
   21655 }
   21656 _ACEOF
   21657 if ac_fn_c_try_compile "$LINENO"
   21658 then :
   21659   ac_cv_c_bigendian=yes
   21660 else case e in #(
   21661   e) ac_cv_c_bigendian=no ;;
   21662 esac
   21663 fi
   21664 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   21665 fi
   21666 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   21667     fi
   21668     if test $ac_cv_c_bigendian = unknown; then
   21669       # Compile a test program.
   21670       if test "$cross_compiling" = yes
   21671 then :
   21672   # Try to guess by grepping values from an object file.
   21673 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21674 /* end confdefs.h.  */
   21675 unsigned short int ascii_mm[] =
   21676 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   21677 		unsigned short int ascii_ii[] =
   21678 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   21679 		int use_ascii (int i) {
   21680 		  return ascii_mm[i] + ascii_ii[i];
   21681 		}
   21682 		unsigned short int ebcdic_ii[] =
   21683 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   21684 		unsigned short int ebcdic_mm[] =
   21685 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   21686 		int use_ebcdic (int i) {
   21687 		  return ebcdic_mm[i] + ebcdic_ii[i];
   21688 		}
   21689 		int
   21690 		main (int argc, char **argv)
   21691 		{
   21692 		  /* Intimidate the compiler so that it does not
   21693 		     optimize the arrays away.  */
   21694 		  char *p = argv[0];
   21695 		  ascii_mm[1] = *p++; ebcdic_mm[1] = *p++;
   21696 		  ascii_ii[1] = *p++; ebcdic_ii[1] = *p++;
   21697 		  return use_ascii (argc) == use_ebcdic (*p);
   21698 		}
   21699 _ACEOF
   21700 if ac_fn_c_try_link "$LINENO"
   21701 then :
   21702   if grep BIGenDianSyS conftest$ac_exeext >/dev/null; then
   21703 	      ac_cv_c_bigendian=yes
   21704 	    fi
   21705 	    if grep LiTTleEnDian conftest$ac_exeext >/dev/null ; then
   21706 	      if test "$ac_cv_c_bigendian" = unknown; then
   21707 		ac_cv_c_bigendian=no
   21708 	      else
   21709 		# finding both strings is unlikely to happen, but who knows?
   21710 		ac_cv_c_bigendian=unknown
   21711 	      fi
   21712 	    fi
   21713 fi
   21714 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21715     conftest$ac_exeext conftest.$ac_ext
   21716 else case e in #(
   21717   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21718 /* end confdefs.h.  */
   21719 $ac_includes_default
   21720 int
   21721 main (void)
   21722 {
   21723 
   21724 	     /* Are we little or big endian?  From Harbison&Steele.  */
   21725 	     union
   21726 	     {
   21727 	       long int l;
   21728 	       char c[sizeof (long int)];
   21729 	     } u;
   21730 	     u.l = 1;
   21731 	     return u.c[sizeof (long int) - 1] == 1;
   21732 
   21733   ;
   21734   return 0;
   21735 }
   21736 _ACEOF
   21737 if ac_fn_c_try_run "$LINENO"
   21738 then :
   21739   ac_cv_c_bigendian=no
   21740 else case e in #(
   21741   e) ac_cv_c_bigendian=yes ;;
   21742 esac
   21743 fi
   21744 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   21745   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   21746 esac
   21747 fi
   21748 
   21749     fi ;;
   21750 esac
   21751 fi
   21752 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   21753 printf '%s\n' "$ac_cv_c_bigendian" >&6; }
   21754  case $ac_cv_c_bigendian in #(
   21755    yes)
   21756      printf '%s\n' "#define WORDS_BIGENDIAN 1" >>confdefs.h
   21757 ;; #(
   21758    no)
   21759       ;; #(
   21760    universal)
   21761 
   21762 printf '%s\n' "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   21763 
   21764      ;; #(
   21765    *)
   21766      as_fn_error $? "unknown endianness
   21767  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   21768  esac
   21769 
   21770 
   21771 # __attribute__((__constructor__)) can be used for one-time initializations.
   21772 # Use -Werror because some compilers accept unknown attributes and just
   21773 # give a warning.
   21774 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if __attribute__((__constructor__)) can be used" >&5
   21775 printf %s "checking if __attribute__((__constructor__)) can be used... " >&6; }
   21776 have_func_attribute_constructor=no
   21777 OLD_CFLAGS="$CFLAGS"
   21778 CFLAGS="$CFLAGS -Werror"
   21779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21780 /* end confdefs.h.  */
   21781 
   21782 	__attribute__((__constructor__))
   21783 	static void my_constructor_func(void) { return; }
   21784 
   21785 _ACEOF
   21786 if ac_fn_c_try_compile "$LINENO"
   21787 then :
   21788 
   21789 
   21790 printf '%s\n' "#define HAVE_FUNC_ATTRIBUTE_CONSTRUCTOR 1" >>confdefs.h
   21791 
   21792 	have_func_attribute_constructor=yes
   21793 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21794 printf '%s\n' "yes" >&6; }
   21795 
   21796 else case e in #(
   21797   e)
   21798 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21799 printf '%s\n' "no" >&6; }
   21800  ;;
   21801 esac
   21802 fi
   21803 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   21804 CFLAGS="$OLD_CFLAGS"
   21805 
   21806 # The Win95 threading lacks a thread-safe one-time initialization function.
   21807 # The one-time initialization is needed for crc32_small.c and crc64_small.c
   21808 # create the CRC tables. So if small mode is enabled, the threading mode is
   21809 # win95, and the compiler does not support attribute constructor, then we
   21810 # would end up with a multithreaded build that is thread-unsafe. As a
   21811 # result this configuration is not allowed.
   21812 if test "x$enable_small$enable_threads$have_func_attribute_constructor" \
   21813 		= xyeswin95no; then
   21814 	as_fn_error $? "
   21815     --enable-threads=win95 and --enable-small cannot be used
   21816     at the same time with a compiler that doesn't support
   21817     __attribute__((__constructor__))" "$LINENO" 5
   21818 fi
   21819 
   21820 
   21821 ###############################################################################
   21822 # Checks for library functions.
   21823 ###############################################################################
   21824 
   21825 # Gnulib replacements as needed
   21826 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to detect undeclared functions" >&5
   21827 printf %s "checking for $CC options to detect undeclared functions... " >&6; }
   21828 if test ${ac_cv_c_undeclared_builtin_options+y}
   21829 then :
   21830   printf %s "(cached) " >&6
   21831 else case e in #(
   21832   e) ac_save_CFLAGS=$CFLAGS
   21833    ac_cv_c_undeclared_builtin_options='cannot detect'
   21834    for ac_arg in '' -fno-builtin; do
   21835      CFLAGS="$ac_save_CFLAGS $ac_arg"
   21836      # This test program should *not* compile successfully.
   21837      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21838 /* end confdefs.h.  */
   21839 
   21840 int
   21841 main (void)
   21842 {
   21843 (void) strchr;
   21844   ;
   21845   return 0;
   21846 }
   21847 _ACEOF
   21848 if ac_fn_c_try_compile "$LINENO"
   21849 then :
   21850 
   21851 else case e in #(
   21852   e) # This test program should compile successfully.
   21853         # No library function is consistently available on
   21854         # freestanding implementations, so test against a dummy
   21855         # declaration.  Include always-available headers on the
   21856         # off chance that they somehow elicit warnings.
   21857         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21858 /* end confdefs.h.  */
   21859 #include <float.h>
   21860 #include <limits.h>
   21861 #include <stdarg.h>
   21862 #include <stddef.h>
   21863 extern void ac_decl (int, char *);
   21864 
   21865 int
   21866 main (void)
   21867 {
   21868 (void) ac_decl (0, (char *) 0);
   21869   (void) ac_decl;
   21870 
   21871   ;
   21872   return 0;
   21873 }
   21874 _ACEOF
   21875 if ac_fn_c_try_compile "$LINENO"
   21876 then :
   21877   if test x"$ac_arg" = x
   21878 then :
   21879   ac_cv_c_undeclared_builtin_options='none needed'
   21880 else case e in #(
   21881   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   21882 esac
   21883 fi
   21884           break
   21885 fi
   21886 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   21887 esac
   21888 fi
   21889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   21890     done
   21891     CFLAGS=$ac_save_CFLAGS
   21892    ;;
   21893 esac
   21894 fi
   21895 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   21896 printf '%s\n' "$ac_cv_c_undeclared_builtin_options" >&6; }
   21897   case $ac_cv_c_undeclared_builtin_options in #(
   21898   'cannot detect') :
   21899     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   21900 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   21901 as_fn_error $? "cannot make $CC report undeclared builtins
   21902 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   21903   'none needed') :
   21904     ac_c_undeclared_builtin_options='' ;; #(
   21905   *) :
   21906     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   21907 esac
   21908 
   21909 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to ignore future-version functions" >&5
   21910 printf %s "checking for $CC options to ignore future-version functions... " >&6; }
   21911 if test ${ac_cv_c_future_darwin_options+y}
   21912 then :
   21913   printf %s "(cached) " >&6
   21914 else case e in #(
   21915   e)       ac_compile_saved="$ac_compile"
   21916    ac_compile="$ac_compile -Werror=unguarded-availability-new"
   21917    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21918 /* end confdefs.h.  */
   21919 #if ! (defined __APPLE__ && defined __MACH__)
   21920 	   #error "-Werror=unguarded-availability-new not needed here"
   21921 	  #endif
   21922 
   21923 int
   21924 main (void)
   21925 {
   21926 
   21927   ;
   21928   return 0;
   21929 }
   21930 _ACEOF
   21931 if ac_fn_c_try_compile "$LINENO"
   21932 then :
   21933   ac_cv_c_future_darwin_options='-Werror=unguarded-availability-new'
   21934 else case e in #(
   21935   e) ac_cv_c_future_darwin_options='none needed' ;;
   21936 esac
   21937 fi
   21938 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   21939    ac_compile="$ac_compile_saved"
   21940    ;;
   21941 esac
   21942 fi
   21943 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_future_darwin_options" >&5
   21944 printf '%s\n' "$ac_cv_c_future_darwin_options" >&6; }
   21945  case $ac_cv_c_future_darwin_options in #(
   21946   'none needed') :
   21947     ac_c_future_darwin_options='' ;; #(
   21948   *) :
   21949     ac_c_future_darwin_options=$ac_cv_c_future_darwin_options ;;
   21950 esac
   21951 
   21952 
   21953   if test -z "$gl_replace_getopt"; then
   21954            for ac_header in getopt.h
   21955 do :
   21956   ac_fn_c_check_header_compile "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
   21957 if test "x$ac_cv_header_getopt_h" = xyes
   21958 then :
   21959   printf '%s\n' "#define HAVE_GETOPT_H 1" >>confdefs.h
   21960 
   21961 else case e in #(
   21962   e) gl_replace_getopt=yes ;;
   21963 esac
   21964 fi
   21965 
   21966 done
   21967   fi
   21968 
   21969   if test -z "$gl_replace_getopt"; then
   21970 
   21971   for ac_func in getopt_long
   21972 do :
   21973   ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
   21974 if test "x$ac_cv_func_getopt_long" = xyes
   21975 then :
   21976   printf '%s\n' "#define HAVE_GETOPT_LONG 1" >>confdefs.h
   21977 
   21978 else case e in #(
   21979   e) gl_replace_getopt=yes ;;
   21980 esac
   21981 fi
   21982 
   21983 done
   21984   fi
   21985 
   21986           if test -z "$gl_replace_getopt"; then
   21987     ac_fn_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h>
   21988 " "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS"
   21989 if test "x$ac_cv_have_decl_optreset" = xyes
   21990 then :
   21991 
   21992 printf '%s\n' "#define HAVE_OPTRESET 1" >>confdefs.h
   21993 
   21994 fi
   21995   fi
   21996 
   21997 
   21998 
   21999 
   22000 
   22001 
   22002 
   22003 
   22004   if test -n "$gl_replace_getopt"; then
   22005 
   22006   case " $LIBOBJS " in
   22007   *" getopt.$ac_objext "* ) ;;
   22008   *) LIBOBJS="$LIBOBJS getopt.$ac_objext"
   22009  ;;
   22010 esac
   22011 
   22012   case " $LIBOBJS " in
   22013   *" getopt1.$ac_objext "* ) ;;
   22014   *) LIBOBJS="$LIBOBJS getopt1.$ac_objext"
   22015  ;;
   22016 esac
   22017 
   22018 
   22019 
   22020 
   22021 
   22022 printf '%s\n' "#define __GETOPT_PREFIX rpl_" >>confdefs.h
   22023 
   22024 
   22025   GETOPT_H=getopt.h
   22026 
   22027 
   22028   fi
   22029 
   22030 
   22031 # If clock_gettime() is available, liblzma with pthreads may use it, and
   22032 # xz may use it even when threading support is disabled. In XZ Utils 5.4.x
   22033 # and older, configure checked for clock_gettime() only when using pthreads.
   22034 # This way non-threaded builds of liblzma didn't get a useless dependency on
   22035 # librt which further had a dependency on libpthread. Avoiding these was
   22036 # useful when a small build was needed, for example, for initramfs use.
   22037 #
   22038 # The above reasoning is thoroughly obsolete: On GNU/Linux, librt hasn't
   22039 # been needed for clock_gettime() since glibc 2.17 (2012-12-25).
   22040 # Solaris 10 needs librt but Solaris 11 doesn't anymore.
   22041 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
   22042 printf %s "checking for library containing clock_gettime... " >&6; }
   22043 if test ${ac_cv_search_clock_gettime+y}
   22044 then :
   22045   printf %s "(cached) " >&6
   22046 else case e in #(
   22047   e) ac_func_search_save_LIBS=$LIBS
   22048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22049 /* end confdefs.h.  */
   22050 
   22051 /* Override any GCC internal prototype to avoid an error.
   22052    Use char because int might match the return type of a GCC
   22053    builtin and then its argument prototype would still apply.
   22054    The 'extern "C"' is for builds by C++ compilers;
   22055    although this is not generally supported in C code supporting it here
   22056    has little cost and some practical benefit (sr 110532).  */
   22057 #ifdef __cplusplus
   22058 extern "C"
   22059 #endif
   22060 char clock_gettime (void);
   22061 int
   22062 main (void)
   22063 {
   22064 return clock_gettime ();
   22065   ;
   22066   return 0;
   22067 }
   22068 _ACEOF
   22069 for ac_lib in '' rt
   22070 do
   22071   if test -z "$ac_lib"; then
   22072     ac_res="none required"
   22073   else
   22074     ac_res=-l$ac_lib
   22075     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22076   fi
   22077   if ac_fn_c_try_link "$LINENO"
   22078 then :
   22079   ac_cv_search_clock_gettime=$ac_res
   22080 fi
   22081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22082     conftest$ac_exeext
   22083   if test ${ac_cv_search_clock_gettime+y}
   22084 then :
   22085   break
   22086 fi
   22087 done
   22088 if test ${ac_cv_search_clock_gettime+y}
   22089 then :
   22090 
   22091 else case e in #(
   22092   e) ac_cv_search_clock_gettime=no ;;
   22093 esac
   22094 fi
   22095 rm conftest.$ac_ext
   22096 LIBS=$ac_func_search_save_LIBS ;;
   22097 esac
   22098 fi
   22099 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
   22100 printf '%s\n' "$ac_cv_search_clock_gettime" >&6; }
   22101 ac_res=$ac_cv_search_clock_gettime
   22102 if test "$ac_res" != no
   22103 then :
   22104   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22105 
   22106 fi
   22107 
   22108 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
   22109 if test "x$ac_cv_func_clock_gettime" = xyes
   22110 then :
   22111   printf '%s\n' "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
   22112 
   22113 fi
   22114 
   22115 ac_fn_check_decl "$LINENO" "CLOCK_MONOTONIC" "ac_cv_have_decl_CLOCK_MONOTONIC" "#include <time.h>
   22116 " "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS"
   22117 if test "x$ac_cv_have_decl_CLOCK_MONOTONIC" = xyes
   22118 then :
   22119 
   22120 printf '%s\n' "#define HAVE_CLOCK_MONOTONIC 1" >>confdefs.h
   22121 
   22122 fi
   22123 
   22124 # Find the best function to set timestamps.
   22125 
   22126   for ac_func in futimens futimes futimesat utimes _futime utime
   22127 do :
   22128   as_ac_var=`printf '%s\n' "ac_cv_func_$ac_func" | sed "$as_sed_sh"`
   22129 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   22130 if eval test \"x\$"$as_ac_var"\" = x"yes"
   22131 then :
   22132   cat >>confdefs.h <<_ACEOF
   22133 #define `printf '%s\n' "HAVE_$ac_func" | sed "$as_sed_cpp"` 1
   22134 _ACEOF
   22135  break
   22136 fi
   22137 
   22138 done
   22139 
   22140 # These are nice to have but not mandatory.
   22141 ac_fn_c_check_func "$LINENO" "getrlimit" "ac_cv_func_getrlimit"
   22142 if test "x$ac_cv_func_getrlimit" = xyes
   22143 then :
   22144   printf '%s\n' "#define HAVE_GETRLIMIT 1" >>confdefs.h
   22145 
   22146 fi
   22147 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
   22148 if test "x$ac_cv_func_posix_fadvise" = xyes
   22149 then :
   22150   printf '%s\n' "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
   22151 
   22152 fi
   22153 
   22154 
   22155 
   22156 
   22157 
   22158 
   22159 
   22160 
   22161 
   22162 ac_fn_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include <errno.h>
   22163 " "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS"
   22164 if test "x$ac_cv_have_decl_program_invocation_name" = xyes
   22165 then :
   22166 
   22167 printf '%s\n' "#define HAVE_PROGRAM_INVOCATION_NAME 1" >>confdefs.h
   22168 
   22169 fi
   22170 
   22171 
   22172 
   22173 
   22174 
   22175 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if __builtin_bswap16/32/64 are supported" >&5
   22176 printf %s "checking if __builtin_bswap16/32/64 are supported... " >&6; }
   22177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22178 /* end confdefs.h.  */
   22179 
   22180 int
   22181 main (void)
   22182 {
   22183 __builtin_bswap16(1);
   22184 			__builtin_bswap32(1);
   22185 			__builtin_bswap64(1);
   22186   ;
   22187   return 0;
   22188 }
   22189 _ACEOF
   22190 if ac_fn_c_try_link "$LINENO"
   22191 then :
   22192 
   22193 
   22194 printf '%s\n' "#define HAVE___BUILTIN_BSWAPXX 1" >>confdefs.h
   22195 
   22196 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22197 printf '%s\n' "yes" >&6; }
   22198 
   22199 else case e in #(
   22200   e)
   22201 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22202 printf '%s\n' "no" >&6; }
   22203 
   22204 	# Look for other byteswapping methods.
   22205 	       for ac_header in byteswap.h sys/endian.h sys/byteorder.h
   22206 do :
   22207   as_ac_Header=`printf '%s\n' "ac_cv_header_$ac_header" | sed "$as_sed_sh"`
   22208 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   22209 if eval test \"x\$"$as_ac_Header"\" = x"yes"
   22210 then :
   22211   cat >>confdefs.h <<_ACEOF
   22212 #define `printf '%s\n' "HAVE_$ac_header" | sed "$as_sed_cpp"` 1
   22213 _ACEOF
   22214  break
   22215 fi
   22216 
   22217 done
   22218 
   22219 	# Even if we have byteswap.h we may lack the specific macros/functions.
   22220 	if test x$ac_cv_header_byteswap_h = xyes ; then
   22221 
   22222 			{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if bswap_16 is available" >&5
   22223 printf %s "checking if bswap_16 is available... " >&6; }
   22224 			cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22225 /* end confdefs.h.  */
   22226 
   22227 #include <byteswap.h>
   22228 int
   22229 main(void)
   22230 {
   22231 	bswap_16(42);
   22232 	return 0;
   22233 }
   22234 
   22235 _ACEOF
   22236 if ac_fn_c_try_link "$LINENO"
   22237 then :
   22238 
   22239 
   22240 printf '%s\n' "#define HAVE_BSWAP_16 1" >>confdefs.h
   22241 
   22242 				{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22243 printf '%s\n' "yes" >&6; }
   22244 
   22245 else case e in #(
   22246   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22247 printf '%s\n' "no" >&6; } ;;
   22248 esac
   22249 fi
   22250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22251     conftest$ac_exeext conftest.$ac_ext
   22252 
   22253 
   22254 			{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if bswap_32 is available" >&5
   22255 printf %s "checking if bswap_32 is available... " >&6; }
   22256 			cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22257 /* end confdefs.h.  */
   22258 
   22259 #include <byteswap.h>
   22260 int
   22261 main(void)
   22262 {
   22263 	bswap_32(42);
   22264 	return 0;
   22265 }
   22266 
   22267 _ACEOF
   22268 if ac_fn_c_try_link "$LINENO"
   22269 then :
   22270 
   22271 
   22272 printf '%s\n' "#define HAVE_BSWAP_32 1" >>confdefs.h
   22273 
   22274 				{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22275 printf '%s\n' "yes" >&6; }
   22276 
   22277 else case e in #(
   22278   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22279 printf '%s\n' "no" >&6; } ;;
   22280 esac
   22281 fi
   22282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22283     conftest$ac_exeext conftest.$ac_ext
   22284 
   22285 
   22286 			{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if bswap_64 is available" >&5
   22287 printf %s "checking if bswap_64 is available... " >&6; }
   22288 			cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22289 /* end confdefs.h.  */
   22290 
   22291 #include <byteswap.h>
   22292 int
   22293 main(void)
   22294 {
   22295 	bswap_64(42);
   22296 	return 0;
   22297 }
   22298 
   22299 _ACEOF
   22300 if ac_fn_c_try_link "$LINENO"
   22301 then :
   22302 
   22303 
   22304 printf '%s\n' "#define HAVE_BSWAP_64 1" >>confdefs.h
   22305 
   22306 				{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22307 printf '%s\n' "yes" >&6; }
   22308 
   22309 else case e in #(
   22310   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22311 printf '%s\n' "no" >&6; } ;;
   22312 esac
   22313 fi
   22314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22315     conftest$ac_exeext conftest.$ac_ext
   22316 
   22317 			fi
   22318  ;;
   22319 esac
   22320 fi
   22321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22322     conftest$ac_exeext conftest.$ac_ext
   22323 
   22324 # On archs that we use tuklib_integer_strict_align() (see below), we need
   22325 # objdump to detect support for unaligned access. (Libtool needs objdump
   22326 # too, so Libtool does this same tool check as well.)
   22327 if test -n "$ac_tool_prefix"; then
   22328   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   22329 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   22330 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22331 printf %s "checking for $ac_word... " >&6; }
   22332 if test ${ac_cv_prog_OBJDUMP+y}
   22333 then :
   22334   printf %s "(cached) " >&6
   22335 else case e in #(
   22336   e) if test -n "$OBJDUMP"; then
   22337   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   22338 else
   22339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22340 for as_dir in $PATH
   22341 do
   22342   IFS=$as_save_IFS
   22343   case $as_dir in #(((
   22344     '') as_dir=./ ;;
   22345     */) ;;
   22346     *) as_dir=$as_dir/ ;;
   22347   esac
   22348     for ac_exec_ext in '' $ac_executable_extensions; do
   22349   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22350     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   22351     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22352     break 2
   22353   fi
   22354 done
   22355   done
   22356 IFS=$as_save_IFS
   22357 
   22358 fi ;;
   22359 esac
   22360 fi
   22361 OBJDUMP=$ac_cv_prog_OBJDUMP
   22362 if test -n "$OBJDUMP"; then
   22363   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   22364 printf '%s\n' "$OBJDUMP" >&6; }
   22365 else
   22366   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22367 printf '%s\n' "no" >&6; }
   22368 fi
   22369 
   22370 
   22371 fi
   22372 if test -z "$ac_cv_prog_OBJDUMP"; then
   22373   ac_ct_OBJDUMP=$OBJDUMP
   22374   # Extract the first word of "objdump", so it can be a program name with args.
   22375 set dummy objdump; ac_word=$2
   22376 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22377 printf %s "checking for $ac_word... " >&6; }
   22378 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   22379 then :
   22380   printf %s "(cached) " >&6
   22381 else case e in #(
   22382   e) if test -n "$ac_ct_OBJDUMP"; then
   22383   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   22384 else
   22385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22386 for as_dir in $PATH
   22387 do
   22388   IFS=$as_save_IFS
   22389   case $as_dir in #(((
   22390     '') as_dir=./ ;;
   22391     */) ;;
   22392     *) as_dir=$as_dir/ ;;
   22393   esac
   22394     for ac_exec_ext in '' $ac_executable_extensions; do
   22395   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22396     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   22397     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22398     break 2
   22399   fi
   22400 done
   22401   done
   22402 IFS=$as_save_IFS
   22403 
   22404 fi ;;
   22405 esac
   22406 fi
   22407 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   22408 if test -n "$ac_ct_OBJDUMP"; then
   22409   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   22410 printf '%s\n' "$ac_ct_OBJDUMP" >&6; }
   22411 else
   22412   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22413 printf '%s\n' "no" >&6; }
   22414 fi
   22415 
   22416   if test "x$ac_ct_OBJDUMP" = x; then
   22417     OBJDUMP="false"
   22418   else
   22419     case $cross_compiling:$ac_tool_warned in
   22420 yes:)
   22421 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   22422 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   22423 ac_tool_warned=yes ;;
   22424 esac
   22425     OBJDUMP=$ac_ct_OBJDUMP
   22426   fi
   22427 else
   22428   OBJDUMP="$ac_cv_prog_OBJDUMP"
   22429 fi
   22430 
   22431 
   22432 # An internal helper that attempts to detect if -mstrict-align or
   22433 # -mno-strict-align is in effect. This sets enable_unaligned_access=yes
   22434 # if compilation succeeds and the regex passed as an argument does *not*
   22435 # match the objdump output of a check program. Otherwise this sets
   22436 # enable_unaligned_access=no.
   22437 tuklib_integer_strict_align ()
   22438 {
   22439 	# First guess no.
   22440 	enable_unaligned_access=no
   22441 
   22442 	# Force -O2 because without optimizations the memcpy()
   22443 	# won't be optimized out.
   22444 	tuklib_integer_saved_CFLAGS=$CFLAGS
   22445 	CFLAGS="$CFLAGS -O2"
   22446 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22447 /* end confdefs.h.  */
   22448 
   22449 			#include <string.h>
   22450 			unsigned int check_strict_align(const void *p)
   22451 			{
   22452 				unsigned int i;
   22453 				memcpy(&i, p, sizeof(i));
   22454 				return i;
   22455 			}
   22456 
   22457 _ACEOF
   22458 if ac_fn_c_try_compile "$LINENO"
   22459 then :
   22460 
   22461 			# Disassemble the test function from the object file.
   22462 			if $OBJDUMP -d conftest.$ac_objext > conftest.s ; then
   22463 				# This function should be passed a regex that
   22464 				# matches if there are instructions that load
   22465 				# unsigned bytes. Such instructions indicate
   22466 				# that -mstrict-align is in effect.
   22467 				#
   22468 				# NOTE: Use braces to avoid M4 parameter
   22469 				# expansion.
   22470 				if grep -- "${1}" conftest.s > /dev/null ; then
   22471 					:
   22472 				else
   22473 					# No single-byte unsigned load
   22474 					# instructions were found,
   22475 					# so it seems that -mno-strict-align
   22476 					# is in effect.
   22477 					# Override our earlier guess.
   22478 					enable_unaligned_access=yes
   22479 				fi
   22480 			fi
   22481 
   22482 fi
   22483 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   22484 	CFLAGS=$tuklib_integer_saved_CFLAGS
   22485 }
   22486 
   22487 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if unaligned memory access should be used" >&5
   22488 printf %s "checking if unaligned memory access should be used... " >&6; }
   22489 # Check whether --enable-unaligned-access was given.
   22490 if test ${enable_unaligned_access+y}
   22491 then :
   22492   enableval=$enable_unaligned_access;
   22493 else case e in #(
   22494   e) enable_unaligned_access=auto ;;
   22495 esac
   22496 fi
   22497 
   22498 if test "x$enable_unaligned_access" = xauto ; then
   22499 	# NOTE: There might be other architectures on which unaligned access
   22500 	# is fast.
   22501 	case $host_cpu in
   22502 		i?86|x86_64|powerpc|powerpc64|powerpc64le)
   22503 			enable_unaligned_access=yes
   22504 			;;
   22505 		arm*|riscv*)
   22506 			# On 32-bit ARM, GCC and Clang
   22507 			# #define __ARM_FEATURE_UNALIGNED
   22508 			# if and only if unaligned access is supported.
   22509 			#
   22510 			# RISC-V C API Specification says that if
   22511 			# __riscv_misaligned_fast is defined then
   22512 			# unaligned access is known to be fast.
   22513 			#
   22514 			# MSVC is handled as a special case: We assume that
   22515 			# 32-bit ARM supports fast unaligned access.
   22516 			# If MSVC gets RISC-V support then this will assume
   22517 			# fast unaligned access on RISC-V too.
   22518 			cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22519 /* end confdefs.h.  */
   22520 
   22521 				#if !defined(__ARM_FEATURE_UNALIGNED) \
   22522 					&& !defined(__riscv_misaligned_fast) \
   22523 					&& !defined(_MSC_VER)
   22524 				compile error
   22525 				#endif
   22526 				int main(void) { return 0; }
   22527 
   22528 _ACEOF
   22529 if ac_fn_c_try_compile "$LINENO"
   22530 then :
   22531   enable_unaligned_access=yes
   22532 else case e in #(
   22533   e) enable_unaligned_access=no ;;
   22534 esac
   22535 fi
   22536 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   22537 			;;
   22538 		aarch64*)
   22539 			# On ARM64, Clang defines __ARM_FEATURE_UNALIGNED
   22540 			# if and only if unaligned access is supported.
   22541 			# However, GCC (at least up to 15.2.0) defines it
   22542 			# even when using -mstrict-align, so autodetection
   22543 			# with this macro doesn't work with GCC on ARM64.
   22544 			# (It does work on 32-bit ARM.) See:
   22545 			#
   22546 			# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111555
   22547 			#
   22548 			# We need three checks:
   22549 			#
   22550 			# 1. If __ARM_FEATURE_UNALIGNED is defined and the
   22551 			#    compiler isn't GCC, unaligned access is enabled.
   22552 			#    If the compiler is MSVC, unaligned access is
   22553 			#    enabled even without __ARM_FEATURE_UNALIGNED.
   22554 			cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22555 /* end confdefs.h.  */
   22556 
   22557 				#if defined(__ARM_FEATURE_UNALIGNED) \
   22558 					&& (!defined(__GNUC__) \
   22559 						|| defined(__clang__))
   22560 				#elif defined(_MSC_VER)
   22561 				#else
   22562 				compile error
   22563 				#endif
   22564 				int main(void) { return 0; }
   22565 
   22566 _ACEOF
   22567 if ac_fn_c_try_compile "$LINENO"
   22568 then :
   22569   enable_unaligned_access=yes
   22570 fi
   22571 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   22572 
   22573 			# 2. If __ARM_FEATURE_UNALIGNED is not defined,
   22574 			#    unaligned access is disabled.
   22575 			if test "x$enable_unaligned_access" = xauto ; then
   22576 				cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22577 /* end confdefs.h.  */
   22578 
   22579 					#ifdef __ARM_FEATURE_UNALIGNED
   22580 					compile error
   22581 					#endif
   22582 					int main(void) { return 0; }
   22583 
   22584 _ACEOF
   22585 if ac_fn_c_try_compile "$LINENO"
   22586 then :
   22587   enable_unaligned_access=no
   22588 fi
   22589 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   22590 			fi
   22591 
   22592 			# 3. Use heuristics to detect if -mstrict-align is
   22593 			#    in effect when building with GCC.
   22594 			if test "x$enable_unaligned_access" = xauto ; then
   22595 				tuklib_integer_strict_align \
   22596 						'[[:blank:]]ldrb[[:blank:]]'
   22597 			fi
   22598 			;;
   22599 		loongarch*)
   22600 			# See sections 7.4, 8.1, and 8.2:
   22601 			# https://github.com/loongson/la-softdev-convention/blob/v0.2/la-softdev-convention.adoc
   22602 			#
   22603 			# That is, desktop and server processors likely support
   22604 			# unaligned access in hardware but embedded processors
   22605 			# might not. GCC defaults to -mno-strict-align and so
   22606 			# do majority of GNU/Linux distributions. As of
   22607 			# GCC 15.2, there is no predefined macro to detect
   22608 			# if -mstrict-align or -mno-strict-align is in effect.
   22609 			# Use heuristics based on compiler output.
   22610 
   22611 				tuklib_integer_strict_align \
   22612 						'[[:blank:]]ld\.bu[[:blank:]]'
   22613 
   22614 			;;
   22615 		*)
   22616 			enable_unaligned_access=no
   22617 			;;
   22618 	esac
   22619 fi
   22620 if test "x$enable_unaligned_access" = xyes ; then
   22621 
   22622 printf '%s\n' "#define TUKLIB_FAST_UNALIGNED_ACCESS 1" >>confdefs.h
   22623 
   22624 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22625 printf '%s\n' "yes" >&6; }
   22626 else
   22627 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22628 printf '%s\n' "no" >&6; }
   22629 fi
   22630 
   22631 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if unsafe type punning should be used" >&5
   22632 printf %s "checking if unsafe type punning should be used... " >&6; }
   22633 # Check whether --enable-unsafe-type-punning was given.
   22634 if test ${enable_unsafe_type_punning+y}
   22635 then :
   22636   enableval=$enable_unsafe_type_punning;
   22637 else case e in #(
   22638   e) enable_unsafe_type_punning=no ;;
   22639 esac
   22640 fi
   22641 
   22642 if test "x$enable_unsafe_type_punning" = xyes ; then
   22643 
   22644 printf '%s\n' "#define TUKLIB_USE_UNSAFE_TYPE_PUNNING 1" >>confdefs.h
   22645 
   22646 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22647 printf '%s\n' "yes" >&6; }
   22648 else
   22649 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22650 printf '%s\n' "no" >&6; }
   22651 fi
   22652 
   22653 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if __builtin_assume_aligned is supported" >&5
   22654 printf %s "checking if __builtin_assume_aligned is supported... " >&6; }
   22655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22656 /* end confdefs.h.  */
   22657 
   22658 int
   22659 main (void)
   22660 {
   22661 __builtin_assume_aligned("", 1);
   22662   ;
   22663   return 0;
   22664 }
   22665 _ACEOF
   22666 if ac_fn_c_try_link "$LINENO"
   22667 then :
   22668 
   22669 
   22670 printf '%s\n' "#define HAVE___BUILTIN_ASSUME_ALIGNED 1" >>confdefs.h
   22671 
   22672 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22673 printf '%s\n' "yes" >&6; }
   22674 
   22675 else case e in #(
   22676   e)
   22677 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22678 printf '%s\n' "no" >&6; }
   22679 	 ;;
   22680 esac
   22681 fi
   22682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22683     conftest$ac_exeext conftest.$ac_ext
   22684 
   22685 
   22686 
   22687 
   22688 # sys/param.h might be needed by sys/sysctl.h.
   22689 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
   22690 if test "x$ac_cv_header_sys_param_h" = xyes
   22691 then :
   22692   printf '%s\n' "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
   22693 
   22694 fi
   22695 
   22696 
   22697 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to detect the amount of physical memory" >&5
   22698 printf %s "checking how to detect the amount of physical memory... " >&6; }
   22699 if test ${tuklib_cv_physmem_method+y}
   22700 then :
   22701   printf %s "(cached) " >&6
   22702 else case e in #(
   22703   e)
   22704 
   22705 # Maybe checking $host_os would be enough but this matches what
   22706 # tuklib_physmem.c does.
   22707 #
   22708 # NOTE: IRIX has a compiler that doesn't error out with #error, so use
   22709 # a non-compilable text instead of #error to generate an error.
   22710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22711 /* end confdefs.h.  */
   22712 
   22713 #if defined(_WIN32) || defined(__CYGWIN__) || defined(__OS2__) \
   22714 		|| defined(__DJGPP__) || defined(__VMS) \
   22715 		|| defined(AMIGA) || defined(__AROS__) || defined(__QNX__)
   22716 int main(void) { return 0; }
   22717 #else
   22718 compile error
   22719 #endif
   22720 
   22721 _ACEOF
   22722 if ac_fn_c_try_compile "$LINENO"
   22723 then :
   22724   tuklib_cv_physmem_method=special
   22725 else case e in #(
   22726   e)
   22727 
   22728 # Look for AIX-specific solution before sysconf(), because the test
   22729 # for sysconf() will pass on AIX but won't actually work
   22730 # (sysconf(_SC_PHYS_PAGES) compiles but always returns -1 on AIX).
   22731 #
   22732 # NOTE: There is no need to link the check program because it's not calling
   22733 # any functions and thus implicit function declarations aren't a problem.
   22734 # The unused reference to _system_configuration.physmem might get optimized
   22735 # away, and thus the linker might not see that symbol anyway.
   22736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22737 /* end confdefs.h.  */
   22738 
   22739 #include <sys/systemcfg.h>
   22740 
   22741 int
   22742 main(void)
   22743 {
   22744 	(void)_system_configuration.physmem;
   22745 	return 0;
   22746 }
   22747 
   22748 _ACEOF
   22749 if ac_fn_c_try_compile "$LINENO"
   22750 then :
   22751   tuklib_cv_physmem_method=aix
   22752 else case e in #(
   22753   e)
   22754 
   22755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22756 /* end confdefs.h.  */
   22757 
   22758 #include <unistd.h>
   22759 int
   22760 main(void)
   22761 {
   22762 	long i;
   22763 	i = sysconf(_SC_PAGESIZE);
   22764 	i = sysconf(_SC_PHYS_PAGES);
   22765 	return 0;
   22766 }
   22767 
   22768 _ACEOF
   22769 if ac_fn_c_try_link "$LINENO"
   22770 then :
   22771   tuklib_cv_physmem_method=sysconf
   22772 else case e in #(
   22773   e)
   22774 
   22775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22776 /* end confdefs.h.  */
   22777 
   22778 #ifdef HAVE_SYS_PARAM_H
   22779 #	include <sys/param.h>
   22780 #endif
   22781 #include <sys/sysctl.h>
   22782 int
   22783 main(void)
   22784 {
   22785 	int name[2] = { CTL_HW, HW_PHYSMEM };
   22786 	unsigned long mem;
   22787 	size_t mem_ptr_size = sizeof(mem);
   22788 	sysctl(name, 2, &mem, &mem_ptr_size, NULL, 0);
   22789 	return 0;
   22790 }
   22791 
   22792 _ACEOF
   22793 if ac_fn_c_try_link "$LINENO"
   22794 then :
   22795   tuklib_cv_physmem_method=sysctl
   22796 else case e in #(
   22797   e)
   22798 
   22799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22800 /* end confdefs.h.  */
   22801 
   22802 #include <sys/sysinfo.h>
   22803 #include <machine/hal_sysinfo.h>
   22804 
   22805 int
   22806 main(void)
   22807 {
   22808 	int memkb;
   22809 	int start = 0;
   22810 	getsysinfo(GSI_PHYSMEM, (caddr_t)&memkb, sizeof(memkb), &start);
   22811 	return 0;
   22812 }
   22813 
   22814 _ACEOF
   22815 if ac_fn_c_try_link "$LINENO"
   22816 then :
   22817   tuklib_cv_physmem_method=getsysinfo
   22818 else case e in #(
   22819   e)
   22820 
   22821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22822 /* end confdefs.h.  */
   22823 
   22824 #include <sys/param.h>
   22825 #include <sys/pstat.h>
   22826 
   22827 int
   22828 main(void)
   22829 {
   22830 	struct pst_static pst;
   22831 	pstat_getstatic(&pst, sizeof(pst), 1, 0);
   22832 	(void)pst.physical_memory;
   22833 	(void)pst.page_size;
   22834 	return 0;
   22835 }
   22836 
   22837 _ACEOF
   22838 if ac_fn_c_try_link "$LINENO"
   22839 then :
   22840   tuklib_cv_physmem_method=pstat_getstatic
   22841 else case e in #(
   22842   e)
   22843 
   22844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22845 /* end confdefs.h.  */
   22846 
   22847 #include <invent.h>
   22848 int
   22849 main(void)
   22850 {
   22851 	inv_state_t *st = NULL;
   22852 	setinvent_r(&st);
   22853 	getinvent_r(st);
   22854 	endinvent_r(st);
   22855 	return 0;
   22856 }
   22857 
   22858 _ACEOF
   22859 if ac_fn_c_try_link "$LINENO"
   22860 then :
   22861   tuklib_cv_physmem_method=getinvent_r
   22862 else case e in #(
   22863   e)
   22864 
   22865 # This version of sysinfo() is Linux-specific. Some non-Linux systems have
   22866 # different sysinfo() so we must check $host_os.
   22867 case $host_os in
   22868 	linux*)
   22869 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22870 /* end confdefs.h.  */
   22871 
   22872 #include <sys/sysinfo.h>
   22873 int
   22874 main(void)
   22875 {
   22876 	struct sysinfo si;
   22877 	sysinfo(&si);
   22878 	return 0;
   22879 }
   22880 
   22881 _ACEOF
   22882 if ac_fn_c_try_link "$LINENO"
   22883 then :
   22884 
   22885 			tuklib_cv_physmem_method=sysinfo
   22886 
   22887 else case e in #(
   22888   e)
   22889 			tuklib_cv_physmem_method=unknown
   22890 		 ;;
   22891 esac
   22892 fi
   22893 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22894     conftest$ac_exeext conftest.$ac_ext
   22895 		;;
   22896 	*)
   22897 		tuklib_cv_physmem_method=unknown
   22898 		;;
   22899 esac
   22900  ;;
   22901 esac
   22902 fi
   22903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22904     conftest$ac_exeext conftest.$ac_ext ;;
   22905 esac
   22906 fi
   22907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22908     conftest$ac_exeext conftest.$ac_ext ;;
   22909 esac
   22910 fi
   22911 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22912     conftest$ac_exeext conftest.$ac_ext ;;
   22913 esac
   22914 fi
   22915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22916     conftest$ac_exeext conftest.$ac_ext ;;
   22917 esac
   22918 fi
   22919 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22920     conftest$ac_exeext conftest.$ac_ext ;;
   22921 esac
   22922 fi
   22923 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   22924 esac
   22925 fi
   22926 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   22927 esac
   22928 fi
   22929 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $tuklib_cv_physmem_method" >&5
   22930 printf '%s\n' "$tuklib_cv_physmem_method" >&6; }
   22931 
   22932 case $tuklib_cv_physmem_method in
   22933 	aix)
   22934 
   22935 printf '%s\n' "#define TUKLIB_PHYSMEM_AIX 1" >>confdefs.h
   22936 
   22937 		;;
   22938 	sysconf)
   22939 
   22940 printf '%s\n' "#define TUKLIB_PHYSMEM_SYSCONF 1" >>confdefs.h
   22941 
   22942 		;;
   22943 	sysctl)
   22944 
   22945 printf '%s\n' "#define TUKLIB_PHYSMEM_SYSCTL 1" >>confdefs.h
   22946 
   22947 		;;
   22948 	getsysinfo)
   22949 
   22950 printf '%s\n' "#define TUKLIB_PHYSMEM_GETSYSINFO 1" >>confdefs.h
   22951 
   22952 		;;
   22953 	pstat_getstatic)
   22954 
   22955 printf '%s\n' "#define TUKLIB_PHYSMEM_PSTAT_GETSTATIC 1" >>confdefs.h
   22956 
   22957 		;;
   22958 	getinvent_r)
   22959 
   22960 printf '%s\n' "#define TUKLIB_PHYSMEM_GETINVENT_R 1" >>confdefs.h
   22961 
   22962 		;;
   22963 	sysinfo)
   22964 
   22965 printf '%s\n' "#define TUKLIB_PHYSMEM_SYSINFO 1" >>confdefs.h
   22966 
   22967 		;;
   22968 esac
   22969 
   22970 
   22971 
   22972 
   22973 # sys/param.h might be needed by sys/sysctl.h.
   22974 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
   22975 if test "x$ac_cv_header_sys_param_h" = xyes
   22976 then :
   22977   printf '%s\n' "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
   22978 
   22979 fi
   22980 
   22981 
   22982 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to detect the number of available CPU cores" >&5
   22983 printf %s "checking how to detect the number of available CPU cores... " >&6; }
   22984 if test ${tuklib_cv_cpucores_method+y}
   22985 then :
   22986   printf %s "(cached) " >&6
   22987 else case e in #(
   22988   e)
   22989 
   22990 # Maybe checking $host_os would be enough but this matches what
   22991 # tuklib_cpucores.c does.
   22992 #
   22993 # NOTE: IRIX has a compiler that doesn't error out with #error, so use
   22994 # a non-compilable text instead of #error to generate an error.
   22995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22996 /* end confdefs.h.  */
   22997 
   22998 #if defined(_WIN32) || defined(__CYGWIN__)
   22999 int main(void) { return 0; }
   23000 #else
   23001 compile error
   23002 #endif
   23003 
   23004 _ACEOF
   23005 if ac_fn_c_try_compile "$LINENO"
   23006 then :
   23007   tuklib_cv_cpucores_method=special
   23008 else case e in #(
   23009   e)
   23010 
   23011 # glibc-based systems (GNU/Linux and GNU/kFreeBSD) have sched_getaffinity().
   23012 # The CPU_COUNT() macro was added in glibc 2.9 so we try to link the
   23013 # test program instead of merely compiling it. glibc 2.9 is old enough that
   23014 # if someone uses the code on older glibc, the fallback to sysconf() should
   23015 # be good enough.
   23016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23017 /* end confdefs.h.  */
   23018 
   23019 #include <sched.h>
   23020 int
   23021 main(void)
   23022 {
   23023 	cpu_set_t cpu_mask;
   23024 	sched_getaffinity(0, sizeof(cpu_mask), &cpu_mask);
   23025 	return CPU_COUNT(&cpu_mask);
   23026 }
   23027 
   23028 _ACEOF
   23029 if ac_fn_c_try_link "$LINENO"
   23030 then :
   23031   tuklib_cv_cpucores_method=sched_getaffinity
   23032 else case e in #(
   23033   e)
   23034 
   23035 # FreeBSD has both cpuset and sysctl. Look for cpuset first because
   23036 # it's a better approach.
   23037 #
   23038 # This test would match on GNU/kFreeBSD too but it would require
   23039 # -lfreebsd-glue when linking and thus in the current form this would
   23040 # fail on GNU/kFreeBSD. The above test for sched_getaffinity() matches
   23041 # on GNU/kFreeBSD so the test below should never run on that OS.
   23042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23043 /* end confdefs.h.  */
   23044 
   23045 #include <sys/param.h>
   23046 #include <sys/cpuset.h>
   23047 
   23048 int
   23049 main(void)
   23050 {
   23051 	cpuset_t set;
   23052 	cpuset_getaffinity(CPU_LEVEL_WHICH, CPU_WHICH_PID, -1,
   23053 			sizeof(set), &set);
   23054 	return 0;
   23055 }
   23056 
   23057 _ACEOF
   23058 if ac_fn_c_try_link "$LINENO"
   23059 then :
   23060   tuklib_cv_cpucores_method=cpuset
   23061 else case e in #(
   23062   e)
   23063 
   23064 # On OS/2, both sysconf() and sysctl() pass the tests in this file,
   23065 # but only sysctl() works. On QNX it's the opposite: only sysconf() works
   23066 # (although it assumes that _POSIX_SOURCE, _XOPEN_SOURCE, and _POSIX_C_SOURCE
   23067 # are undefined or alternatively _QNX_SOURCE is defined).
   23068 #
   23069 # We test sysctl() first and intentionally break the sysctl() test on QNX
   23070 # so that sysctl() is never used on QNX.
   23071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23072 /* end confdefs.h.  */
   23073 
   23074 #ifdef __QNX__
   23075 compile error
   23076 #endif
   23077 #ifdef HAVE_SYS_PARAM_H
   23078 #	include <sys/param.h>
   23079 #endif
   23080 #include <sys/sysctl.h>
   23081 int
   23082 main(void)
   23083 {
   23084 #ifdef HW_NCPUONLINE
   23085 	/* This is preferred on OpenBSD, see tuklib_cpucores.c. */
   23086 	int name[2] = { CTL_HW, HW_NCPUONLINE };
   23087 #else
   23088 	int name[2] = { CTL_HW, HW_NCPU };
   23089 #endif
   23090 	int cpus;
   23091 	size_t cpus_size = sizeof(cpus);
   23092 	sysctl(name, 2, &cpus, &cpus_size, NULL, 0);
   23093 	return 0;
   23094 }
   23095 
   23096 _ACEOF
   23097 if ac_fn_c_try_link "$LINENO"
   23098 then :
   23099   tuklib_cv_cpucores_method=sysctl
   23100 else case e in #(
   23101   e)
   23102 
   23103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23104 /* end confdefs.h.  */
   23105 
   23106 #include <unistd.h>
   23107 int
   23108 main(void)
   23109 {
   23110 	long i;
   23111 #ifdef _SC_NPROCESSORS_ONLN
   23112 	/* Many systems using sysconf() */
   23113 	i = sysconf(_SC_NPROCESSORS_ONLN);
   23114 #else
   23115 	/* IRIX */
   23116 	i = sysconf(_SC_NPROC_ONLN);
   23117 #endif
   23118 	return 0;
   23119 }
   23120 
   23121 _ACEOF
   23122 if ac_fn_c_try_link "$LINENO"
   23123 then :
   23124   tuklib_cv_cpucores_method=sysconf
   23125 else case e in #(
   23126   e)
   23127 
   23128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23129 /* end confdefs.h.  */
   23130 
   23131 #include <sys/param.h>
   23132 #include <sys/pstat.h>
   23133 
   23134 int
   23135 main(void)
   23136 {
   23137 	struct pst_dynamic pst;
   23138 	pstat_getdynamic(&pst, sizeof(pst), 1, 0);
   23139 	(void)pst.psd_proc_cnt;
   23140 	return 0;
   23141 }
   23142 
   23143 _ACEOF
   23144 if ac_fn_c_try_link "$LINENO"
   23145 then :
   23146   tuklib_cv_cpucores_method=pstat_getdynamic
   23147 else case e in #(
   23148   e)
   23149 
   23150 	tuklib_cv_cpucores_method=unknown
   23151  ;;
   23152 esac
   23153 fi
   23154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23155     conftest$ac_exeext conftest.$ac_ext ;;
   23156 esac
   23157 fi
   23158 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23159     conftest$ac_exeext conftest.$ac_ext ;;
   23160 esac
   23161 fi
   23162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23163     conftest$ac_exeext conftest.$ac_ext ;;
   23164 esac
   23165 fi
   23166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23167     conftest$ac_exeext conftest.$ac_ext ;;
   23168 esac
   23169 fi
   23170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23171     conftest$ac_exeext conftest.$ac_ext ;;
   23172 esac
   23173 fi
   23174 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   23175 esac
   23176 fi
   23177 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $tuklib_cv_cpucores_method" >&5
   23178 printf '%s\n' "$tuklib_cv_cpucores_method" >&6; }
   23179 
   23180 case $tuklib_cv_cpucores_method in
   23181 	sched_getaffinity)
   23182 
   23183 printf '%s\n' "#define TUKLIB_CPUCORES_SCHED_GETAFFINITY 1" >>confdefs.h
   23184 
   23185 		;;
   23186 	cpuset)
   23187 
   23188 printf '%s\n' "#define TUKLIB_CPUCORES_CPUSET 1" >>confdefs.h
   23189 
   23190 		;;
   23191 	sysctl)
   23192 
   23193 printf '%s\n' "#define TUKLIB_CPUCORES_SYSCTL 1" >>confdefs.h
   23194 
   23195 		;;
   23196 	sysconf)
   23197 
   23198 printf '%s\n' "#define TUKLIB_CPUCORES_SYSCONF 1" >>confdefs.h
   23199 
   23200 		;;
   23201 	pstat_getdynamic)
   23202 
   23203 printf '%s\n' "#define TUKLIB_CPUCORES_PSTAT_GETDYNAMIC 1" >>confdefs.h
   23204 
   23205 		;;
   23206 esac
   23207 
   23208 
   23209 
   23210 
   23211   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc and mbstate_t are properly declared" >&5
   23212 printf %s "checking whether mbrtowc and mbstate_t are properly declared... " >&6; }
   23213 if test ${ac_cv_func_mbrtowc+y}
   23214 then :
   23215   printf %s "(cached) " >&6
   23216 else case e in #(
   23217   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23218 /* end confdefs.h.  */
   23219 #include <wchar.h>
   23220 int
   23221 main (void)
   23222 {
   23223 wchar_t wc;
   23224 	      char const s[] = "";
   23225 	      size_t n = 1;
   23226 	      mbstate_t state;
   23227 	      return ! (sizeof state && (mbrtowc) (&wc, s, n, &state));
   23228   ;
   23229   return 0;
   23230 }
   23231 _ACEOF
   23232 if ac_fn_c_try_link "$LINENO"
   23233 then :
   23234   ac_cv_func_mbrtowc=yes
   23235 else case e in #(
   23236   e) ac_cv_func_mbrtowc=no ;;
   23237 esac
   23238 fi
   23239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23240     conftest$ac_exeext conftest.$ac_ext ;;
   23241 esac
   23242 fi
   23243 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mbrtowc" >&5
   23244 printf '%s\n' "$ac_cv_func_mbrtowc" >&6; }
   23245   if test $ac_cv_func_mbrtowc = yes; then
   23246 
   23247 printf '%s\n' "#define HAVE_MBRTOWC 1" >>confdefs.h
   23248 
   23249   fi
   23250 
   23251 ac_fn_c_check_func "$LINENO" "wcwidth" "ac_cv_func_wcwidth"
   23252 if test "x$ac_cv_func_wcwidth" = xyes
   23253 then :
   23254   printf '%s\n' "#define HAVE_WCWIDTH 1" >>confdefs.h
   23255 
   23256 fi
   23257 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
   23258 if test "x$ac_cv_func_vasprintf" = xyes
   23259 then :
   23260   printf '%s\n' "#define HAVE_VASPRINTF 1" >>confdefs.h
   23261 
   23262 fi
   23263 
   23264 
   23265 
   23266 # If requested, check for system-provided SHA-256. At least the following
   23267 # implementations are supported:
   23268 #
   23269 # OS       Headers                     Library  Type           Function
   23270 # FreeBSD  sys/types.h + sha256.h      libmd    SHA256_CTX     SHA256_Init
   23271 # NetBSD   sys/types.h + sha2.h                 SHA256_CTX     SHA256_Init
   23272 # OpenBSD  sys/types.h + sha2.h                 SHA2_CTX       SHA256Init
   23273 # Solaris  sys/types.h + sha2.h        libmd    SHA256_CTX     SHA256Init
   23274 # MINIX 3  sys/types.h + sha2.h                 SHA256_CTX     SHA256_Init
   23275 # Darwin   CommonCrypto/CommonDigest.h          CC_SHA256_CTX  CC_SHA256_Init
   23276 #
   23277 # Note that Darwin's CC_SHA256_Update takes buffer size as uint32_t instead
   23278 # of size_t.
   23279 #
   23280 sha256_header_found=no
   23281 sha256_type_found=no
   23282 sha256_func_found=no
   23283 if test "x$enable_external_sha256" = "xyes"
   23284 then :
   23285 
   23286 	# Test for Common Crypto before others, because Darwin has sha256.h
   23287 	# too and we don't want to use that, because on older versions it
   23288 	# uses OpenSSL functions, whose SHA256_Init is not guaranteed to
   23289 	# succeed.
   23290 	       for ac_header in CommonCrypto/CommonDigest.h sha256.h sha2.h
   23291 do :
   23292   as_ac_Header=`printf '%s\n' "ac_cv_header_$ac_header" | sed "$as_sed_sh"`
   23293 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   23294 if eval test \"x\$"$as_ac_Header"\" = x"yes"
   23295 then :
   23296   cat >>confdefs.h <<_ACEOF
   23297 #define `printf '%s\n' "HAVE_$ac_header" | sed "$as_sed_cpp"` 1
   23298 _ACEOF
   23299  sha256_header_found=yes ; break
   23300 fi
   23301 
   23302 done
   23303 	if test "x$sha256_header_found" = xyes; then
   23304 		ac_fn_c_check_type "$LINENO" "CC_SHA256_CTX" "ac_cv_type_CC_SHA256_CTX" "#ifdef HAVE_SYS_TYPES_H
   23305 			  # include <sys/types.h>
   23306 			  #endif
   23307 			  #ifdef HAVE_COMMONCRYPTO_COMMONDIGEST_H
   23308 			  # include <CommonCrypto/CommonDigest.h>
   23309 			  #endif
   23310 			  #ifdef HAVE_SHA256_H
   23311 			  # include <sha256.h>
   23312 			  #endif
   23313 			  #ifdef HAVE_SHA2_H
   23314 			  # include <sha2.h>
   23315 			  #endif
   23316 "
   23317 if test "x$ac_cv_type_CC_SHA256_CTX" = xyes
   23318 then :
   23319 
   23320 printf '%s\n' "#define HAVE_CC_SHA256_CTX 1" >>confdefs.h
   23321 
   23322 sha256_type_found=yes
   23323 fi
   23324 ac_fn_c_check_type "$LINENO" "SHA256_CTX" "ac_cv_type_SHA256_CTX" "#ifdef HAVE_SYS_TYPES_H
   23325 			  # include <sys/types.h>
   23326 			  #endif
   23327 			  #ifdef HAVE_COMMONCRYPTO_COMMONDIGEST_H
   23328 			  # include <CommonCrypto/CommonDigest.h>
   23329 			  #endif
   23330 			  #ifdef HAVE_SHA256_H
   23331 			  # include <sha256.h>
   23332 			  #endif
   23333 			  #ifdef HAVE_SHA2_H
   23334 			  # include <sha2.h>
   23335 			  #endif
   23336 "
   23337 if test "x$ac_cv_type_SHA256_CTX" = xyes
   23338 then :
   23339 
   23340 printf '%s\n' "#define HAVE_SHA256_CTX 1" >>confdefs.h
   23341 
   23342 sha256_type_found=yes
   23343 fi
   23344 ac_fn_c_check_type "$LINENO" "SHA2_CTX" "ac_cv_type_SHA2_CTX" "#ifdef HAVE_SYS_TYPES_H
   23345 			  # include <sys/types.h>
   23346 			  #endif
   23347 			  #ifdef HAVE_COMMONCRYPTO_COMMONDIGEST_H
   23348 			  # include <CommonCrypto/CommonDigest.h>
   23349 			  #endif
   23350 			  #ifdef HAVE_SHA256_H
   23351 			  # include <sha256.h>
   23352 			  #endif
   23353 			  #ifdef HAVE_SHA2_H
   23354 			  # include <sha2.h>
   23355 			  #endif
   23356 "
   23357 if test "x$ac_cv_type_SHA2_CTX" = xyes
   23358 then :
   23359 
   23360 printf '%s\n' "#define HAVE_SHA2_CTX 1" >>confdefs.h
   23361 
   23362 sha256_type_found=yes
   23363 fi
   23364 
   23365 		if test "x$sha256_type_found" = xyes ; then
   23366 			{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing SHA256Init" >&5
   23367 printf %s "checking for library containing SHA256Init... " >&6; }
   23368 if test ${ac_cv_search_SHA256Init+y}
   23369 then :
   23370   printf %s "(cached) " >&6
   23371 else case e in #(
   23372   e) ac_func_search_save_LIBS=$LIBS
   23373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23374 /* end confdefs.h.  */
   23375 
   23376 /* Override any GCC internal prototype to avoid an error.
   23377    Use char because int might match the return type of a GCC
   23378    builtin and then its argument prototype would still apply.
   23379    The 'extern "C"' is for builds by C++ compilers;
   23380    although this is not generally supported in C code supporting it here
   23381    has little cost and some practical benefit (sr 110532).  */
   23382 #ifdef __cplusplus
   23383 extern "C"
   23384 #endif
   23385 char SHA256Init (void);
   23386 int
   23387 main (void)
   23388 {
   23389 return SHA256Init ();
   23390   ;
   23391   return 0;
   23392 }
   23393 _ACEOF
   23394 for ac_lib in '' md
   23395 do
   23396   if test -z "$ac_lib"; then
   23397     ac_res="none required"
   23398   else
   23399     ac_res=-l$ac_lib
   23400     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   23401   fi
   23402   if ac_fn_c_try_link "$LINENO"
   23403 then :
   23404   ac_cv_search_SHA256Init=$ac_res
   23405 fi
   23406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23407     conftest$ac_exeext
   23408   if test ${ac_cv_search_SHA256Init+y}
   23409 then :
   23410   break
   23411 fi
   23412 done
   23413 if test ${ac_cv_search_SHA256Init+y}
   23414 then :
   23415 
   23416 else case e in #(
   23417   e) ac_cv_search_SHA256Init=no ;;
   23418 esac
   23419 fi
   23420 rm conftest.$ac_ext
   23421 LIBS=$ac_func_search_save_LIBS ;;
   23422 esac
   23423 fi
   23424 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SHA256Init" >&5
   23425 printf '%s\n' "$ac_cv_search_SHA256Init" >&6; }
   23426 ac_res=$ac_cv_search_SHA256Init
   23427 if test "$ac_res" != no
   23428 then :
   23429   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   23430 
   23431 fi
   23432 
   23433 			{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing SHA256_Init" >&5
   23434 printf %s "checking for library containing SHA256_Init... " >&6; }
   23435 if test ${ac_cv_search_SHA256_Init+y}
   23436 then :
   23437   printf %s "(cached) " >&6
   23438 else case e in #(
   23439   e) ac_func_search_save_LIBS=$LIBS
   23440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23441 /* end confdefs.h.  */
   23442 
   23443 /* Override any GCC internal prototype to avoid an error.
   23444    Use char because int might match the return type of a GCC
   23445    builtin and then its argument prototype would still apply.
   23446    The 'extern "C"' is for builds by C++ compilers;
   23447    although this is not generally supported in C code supporting it here
   23448    has little cost and some practical benefit (sr 110532).  */
   23449 #ifdef __cplusplus
   23450 extern "C"
   23451 #endif
   23452 char SHA256_Init (void);
   23453 int
   23454 main (void)
   23455 {
   23456 return SHA256_Init ();
   23457   ;
   23458   return 0;
   23459 }
   23460 _ACEOF
   23461 for ac_lib in '' md
   23462 do
   23463   if test -z "$ac_lib"; then
   23464     ac_res="none required"
   23465   else
   23466     ac_res=-l$ac_lib
   23467     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   23468   fi
   23469   if ac_fn_c_try_link "$LINENO"
   23470 then :
   23471   ac_cv_search_SHA256_Init=$ac_res
   23472 fi
   23473 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23474     conftest$ac_exeext
   23475   if test ${ac_cv_search_SHA256_Init+y}
   23476 then :
   23477   break
   23478 fi
   23479 done
   23480 if test ${ac_cv_search_SHA256_Init+y}
   23481 then :
   23482 
   23483 else case e in #(
   23484   e) ac_cv_search_SHA256_Init=no ;;
   23485 esac
   23486 fi
   23487 rm conftest.$ac_ext
   23488 LIBS=$ac_func_search_save_LIBS ;;
   23489 esac
   23490 fi
   23491 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SHA256_Init" >&5
   23492 printf '%s\n' "$ac_cv_search_SHA256_Init" >&6; }
   23493 ac_res=$ac_cv_search_SHA256_Init
   23494 if test "$ac_res" != no
   23495 then :
   23496   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   23497 
   23498 fi
   23499 
   23500 
   23501   for ac_func in CC_SHA256_Init SHA256Init SHA256_Init
   23502 do :
   23503   as_ac_var=`printf '%s\n' "ac_cv_func_$ac_func" | sed "$as_sed_sh"`
   23504 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   23505 if eval test \"x\$"$as_ac_var"\" = x"yes"
   23506 then :
   23507   cat >>confdefs.h <<_ACEOF
   23508 #define `printf '%s\n' "HAVE_$ac_func" | sed "$as_sed_cpp"` 1
   23509 _ACEOF
   23510  sha256_func_found=yes ; break
   23511 fi
   23512 
   23513 done
   23514 		fi
   23515 	fi
   23516 
   23517 fi
   23518  if test "x$sha256_func_found" = xno; then
   23519   COND_INTERNAL_SHA256_TRUE=
   23520   COND_INTERNAL_SHA256_FALSE='#'
   23521 else
   23522   COND_INTERNAL_SHA256_TRUE='#'
   23523   COND_INTERNAL_SHA256_FALSE=
   23524 fi
   23525 
   23526 if test "x$enable_external_sha256$sha256_func_found" = xyesno; then
   23527 	as_fn_error $? "--enable-external-sha256 was specified but no supported external SHA-256 implementation was found" "$LINENO" 5
   23528 fi
   23529 
   23530 # Check for SSE2 intrinsics. There is no run-time detection for SSE2 so if
   23531 # compiler options enable SSE2 then SSE2 support is required by the binaries.
   23532 # The compile-time check for SSE2 is done with #ifdefs because some compilers
   23533 # (ICC, MSVC) allow SSE2 intrinsics even when SSE2 isn't enabled.
   23534 ac_fn_check_decl "$LINENO" "_mm_movemask_epi8" "ac_cv_have_decl__mm_movemask_epi8" "#ifdef HAVE_IMMINTRIN_H
   23535 #include <immintrin.h>
   23536 #endif
   23537 " "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS"
   23538 if test "x$ac_cv_have_decl__mm_movemask_epi8" = xyes
   23539 then :
   23540 
   23541 printf '%s\n' "#define HAVE__MM_MOVEMASK_EPI8 1" >>confdefs.h
   23542 
   23543 fi
   23544 
   23545 # For faster CRC on 32/64-bit x86 and E2K (see also crc64_fast.c):
   23546 #
   23547 #   - Check for the CLMUL intrinsic _mm_clmulepi64_si128 in <immintrin.h>.
   23548 #     Check also for _mm_set_epi64x for consistency with CMake build
   23549 #     where it's needed to disable CLMUL with VS2013.
   23550 #
   23551 #   - Check that __attribute__((__target__("ssse3,sse4.1,pclmul"))) works
   23552 #     together with _mm_clmulepi64_si128 from <immintrin.h>. The attribute
   23553 #     was added in GCC 4.4 but some GCC 4.x versions don't allow intrinsics
   23554 #     with it. Exception: it must be not be used with EDG-based compilers
   23555 #     like ICC and the compiler on E2K.
   23556 #
   23557 # If everything above is supported, runtime detection will be used to keep the
   23558 # binaries working on systems that don't support the required extensions.
   23559 #
   23560 # NOTE: Use a check that links and not merely compiles to ensure that
   23561 # missing intrinsics don't get accepted with compilers that allow
   23562 # implicit function declarations.
   23563 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if _mm_clmulepi64_si128 is usable" >&5
   23564 printf %s "checking if _mm_clmulepi64_si128 is usable... " >&6; }
   23565 if test "x$enable_clmul_crc" = xno
   23566 then :
   23567 
   23568 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no, --disable-clmul-crc was used" >&5
   23569 printf '%s\n' "no, --disable-clmul-crc was used" >&6; }
   23570 
   23571 else case e in #(
   23572   e)
   23573 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23574 /* end confdefs.h.  */
   23575 
   23576 #include <immintrin.h>
   23577 
   23578 // CLMUL works on older E2K instruction set but it is slow due to emulation.
   23579 #if defined(__e2k__) && __iset__ < 6
   23580 #	error
   23581 #endif
   23582 
   23583 // Intel's old compiler (ICC) can define __GNUC__ but the attribute must not
   23584 // be used with it. The new Clang-based ICX needs the attribute.
   23585 // Checking for !defined(__EDG__) catches ICC and other EDG-based compilers.
   23586 #if (defined(__GNUC__) || defined(__clang__)) && !defined(__EDG__)
   23587 __attribute__((__target__("ssse3,sse4.1,pclmul")))
   23588 #endif
   23589 int main(void)
   23590 {
   23591 	__m128i a = _mm_set_epi64x(1, 2);
   23592 	a = _mm_clmulepi64_si128(a, a, 0);
   23593 	return 0;
   23594 }
   23595 
   23596 _ACEOF
   23597 if ac_fn_c_try_link "$LINENO"
   23598 then :
   23599 
   23600 
   23601 printf '%s\n' "#define HAVE_USABLE_CLMUL 1" >>confdefs.h
   23602 
   23603 		enable_clmul_crc=yes
   23604 
   23605 else case e in #(
   23606   e)
   23607 		enable_clmul_crc=no
   23608 	 ;;
   23609 esac
   23610 fi
   23611 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23612     conftest$ac_exeext conftest.$ac_ext
   23613 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_clmul_crc" >&5
   23614 printf '%s\n' "$enable_clmul_crc" >&6; }
   23615  ;;
   23616 esac
   23617 fi
   23618 
   23619 # ARM64 C Language Extensions define CRC32 functions in arm_acle.h.
   23620 # These are supported by at least GCC and Clang which both need
   23621 # __attribute__((__target__("+crc"))), unless the needed compiler flags
   23622 # are used to support the CRC instruction.
   23623 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if ARM64 CRC32 instruction is usable" >&5
   23624 printf %s "checking if ARM64 CRC32 instruction is usable... " >&6; }
   23625 if test "x$enable_arm64_crc32" = xno
   23626 then :
   23627 
   23628 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no, --disable-arm64-crc32 was used" >&5
   23629 printf '%s\n' "no, --disable-arm64-crc32 was used" >&6; }
   23630 
   23631 else case e in #(
   23632   e)
   23633 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23634 /* end confdefs.h.  */
   23635 
   23636 #include <arm_acle.h>
   23637 #include <stdint.h>
   23638 
   23639 #if (defined(__GNUC__) || defined(__clang__)) && !defined(__EDG__)
   23640 __attribute__((__target__("+crc")))
   23641 #endif
   23642 int main(void)
   23643 {
   23644 	return __crc32d(1, 2) != 0;
   23645 }
   23646 
   23647 _ACEOF
   23648 if ac_fn_c_try_link "$LINENO"
   23649 then :
   23650 
   23651 
   23652 printf '%s\n' "#define HAVE_ARM64_CRC32 1" >>confdefs.h
   23653 
   23654 		enable_arm64_crc32=yes
   23655 
   23656 else case e in #(
   23657   e)
   23658 		enable_arm64_crc32=no
   23659 	 ;;
   23660 esac
   23661 fi
   23662 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23663     conftest$ac_exeext conftest.$ac_ext
   23664 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_arm64_crc32" >&5
   23665 printf '%s\n' "$enable_arm64_crc32" >&6; }
   23666  ;;
   23667 esac
   23668 fi
   23669 
   23670 # Check for ARM64 CRC32 instruction runtime detection.
   23671 #
   23672 #   - getauxval() is supported on Linux. We also need HWCAP_CRC32 which was
   23673 #     added in glibc 2.24.
   23674 #
   23675 #   - elf_aux_info() is supported on FreeBSD and OpenBSD >= 7.6.
   23676 #
   23677 #   - sysctlbyname("hw.optional.armv8_crc32", ...) is supported on Darwin
   23678 #     (macOS, iOS, etc.). Note that sysctlbyname() is supported on FreeBSD,
   23679 #     NetBSD, and possibly others too but the string is specific to Apple
   23680 #     OSes. The C code is responsible for checking defined(__APPLE__)
   23681 #     before using sysctlbyname("hw.optional.armv8_crc32", ...).
   23682 #
   23683 if test "x$enable_arm64_crc32" = xyes
   23684 then :
   23685 
   23686 
   23687   for ac_func in getauxval elf_aux_info sysctlbyname
   23688 do :
   23689   as_ac_var=`printf '%s\n' "ac_cv_func_$ac_func" | sed "$as_sed_sh"`
   23690 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   23691 if eval test \"x\$"$as_ac_var"\" = x"yes"
   23692 then :
   23693   cat >>confdefs.h <<_ACEOF
   23694 #define `printf '%s\n' "HAVE_$ac_func" | sed "$as_sed_cpp"` 1
   23695 _ACEOF
   23696  break
   23697 fi
   23698 
   23699 done
   23700 	ac_fn_check_decl "$LINENO" "HWCAP_CRC32" "ac_cv_have_decl_HWCAP_CRC32" "#include <sys/auxv.h>
   23701 " "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS"
   23702 if test "x$ac_cv_have_decl_HWCAP_CRC32" = xyes
   23703 then :
   23704 
   23705 printf '%s\n' "#define HAVE_HWCAP_CRC32 1" >>confdefs.h
   23706 
   23707 fi
   23708 
   23709 fi
   23710 
   23711 
   23712 # LoongArch CRC32 intrinsics are in larchintrin.h.
   23713 # These are supported by at least GCC and Clang.
   23714 #
   23715 # Only 64-bit LoongArch is currently supported.
   23716 # It doesn't need runtime detection.
   23717 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if LoongArch CRC32 instructions are usable" >&5
   23718 printf %s "checking if LoongArch CRC32 instructions are usable... " >&6; }
   23719 if test "x$enable_loongarch_crc32" = xno
   23720 then :
   23721 
   23722 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no, --disable-loongarch-crc32 was used" >&5
   23723 printf '%s\n' "no, --disable-loongarch-crc32 was used" >&6; }
   23724 
   23725 else case e in #(
   23726   e)
   23727 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23728 /* end confdefs.h.  */
   23729 
   23730 #if !(defined(__loongarch__) && __loongarch_grlen >= 64)
   23731 #	error
   23732 #endif
   23733 
   23734 #include <larchintrin.h>
   23735 int main(void)
   23736 {
   23737 	return __crc_w_w_w(1, 2);
   23738 }
   23739 
   23740 _ACEOF
   23741 if ac_fn_c_try_link "$LINENO"
   23742 then :
   23743 
   23744 
   23745 printf '%s\n' "#define HAVE_LOONGARCH_CRC32 1" >>confdefs.h
   23746 
   23747 		enable_loongarch_crc32=yes
   23748 
   23749 else case e in #(
   23750   e)
   23751 		enable_loongarch_crc32=no
   23752 	 ;;
   23753 esac
   23754 fi
   23755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23756     conftest$ac_exeext conftest.$ac_ext
   23757 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_loongarch_crc32" >&5
   23758 printf '%s\n' "$enable_loongarch_crc32" >&6; }
   23759  ;;
   23760 esac
   23761 fi
   23762 
   23763 
   23764 # Check for sandbox support. If one is found, set enable_sandbox=found.
   23765 #
   23766 # About -fsanitize: Of our three sandbox methods, only Landlock is
   23767 # incompatible with -fsanitize. FreeBSD 13.2 with Capsicum was tested with
   23768 # -fsanitize=address,undefined and had no issues. OpenBSD (as of version
   23769 # 7.4) has minimal support for process instrumentation. OpenBSD does not
   23770 # distribute the additional libraries needed (libasan, libubsan, etc.) with
   23771 # GCC or Clang needed for runtime sanitization support and instead only
   23772 # support -fsanitize-minimal-runtime for minimal undefined behavior
   23773 # sanitization. This minimal support is compatible with our use of the
   23774 # Pledge sandbox. So only Landlock will result in a build that cannot
   23775 # compress or decompress a single file to standard out.
   23776 case $enable_sandbox in #(
   23777   auto | capsicum) :
   23778 
   23779 
   23780   for ac_func in cap_rights_limit
   23781 do :
   23782   ac_fn_c_check_func "$LINENO" "cap_rights_limit" "ac_cv_func_cap_rights_limit"
   23783 if test "x$ac_cv_func_cap_rights_limit" = xyes
   23784 then :
   23785   printf '%s\n' "#define HAVE_CAP_RIGHTS_LIMIT 1" >>confdefs.h
   23786  enable_sandbox=found
   23787 fi
   23788 
   23789 done
   23790 
   23791  ;; #(
   23792   *) :
   23793      ;;
   23794 esac
   23795 case $enable_sandbox in #(
   23796   auto | pledge) :
   23797 
   23798 
   23799   for ac_func in pledge
   23800 do :
   23801   ac_fn_c_check_func "$LINENO" "pledge" "ac_cv_func_pledge"
   23802 if test "x$ac_cv_func_pledge" = xyes
   23803 then :
   23804   printf '%s\n' "#define HAVE_PLEDGE 1" >>confdefs.h
   23805  enable_sandbox=found
   23806 fi
   23807 
   23808 done
   23809 
   23810  ;; #(
   23811   *) :
   23812      ;;
   23813 esac
   23814 case $enable_sandbox in #(
   23815   auto | landlock) :
   23816 
   23817 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if Linux Landlock is usable" >&5
   23818 printf %s "checking if Linux Landlock is usable... " >&6; }
   23819 
   23820 		# A compile check is done here because some systems have
   23821 		# linux/landlock.h, but do not have the syscalls defined
   23822 		# in order to actually use Linux Landlock.
   23823 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23824 /* end confdefs.h.  */
   23825 
   23826 			#include <linux/landlock.h>
   23827 			#include <sys/syscall.h>
   23828 			#include <sys/prctl.h>
   23829 
   23830 			int main(void)
   23831 			{
   23832 				(void)prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
   23833 				(void)SYS_landlock_create_ruleset;
   23834 				(void)SYS_landlock_restrict_self;
   23835 				(void)LANDLOCK_CREATE_RULESET_VERSION;
   23836 				return 0;
   23837 			}
   23838 
   23839 _ACEOF
   23840 if ac_fn_c_try_link "$LINENO"
   23841 then :
   23842 
   23843 			enable_sandbox=found
   23844 
   23845 			case "$CC $CFLAGS" in #(
   23846   *-fsanitize=*) :
   23847     as_fn_error $? "
   23848     CC or CFLAGS contain '-fsanitize=' which is incompatible with the Landlock
   23849     sandboxing. Use --disable-sandbox when using '-fsanitize'." "$LINENO" 5 ;; #(
   23850   *) :
   23851      ;;
   23852 esac
   23853 
   23854 
   23855 printf '%s\n' "#define HAVE_LINUX_LANDLOCK 1" >>confdefs.h
   23856 
   23857 			{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23858 printf '%s\n' "yes" >&6; }
   23859 
   23860 else case e in #(
   23861   e)
   23862 			{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23863 printf '%s\n' "no" >&6; }
   23864 		 ;;
   23865 esac
   23866 fi
   23867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23868     conftest$ac_exeext conftest.$ac_ext
   23869 
   23870  ;; #(
   23871   *) :
   23872      ;;
   23873 esac
   23874 
   23875 # If a specific sandboxing method was explicitly requested and it wasn't
   23876 # found, give an error.
   23877 case $enable_sandbox in
   23878 	auto | no | found)
   23879 		;;
   23880 	*)
   23881 		as_fn_error $? "$enable_sandbox support not found" "$LINENO" 5
   23882 		;;
   23883 esac
   23884 
   23885 
   23886 ###############################################################################
   23887 # If using GCC, set some additional AM_CFLAGS:
   23888 ###############################################################################
   23889 
   23890 if test "$GCC" = yes ; then
   23891 	echo
   23892 	echo "GCC extensions:"
   23893 fi
   23894 
   23895 # Always do the visibility check but don't set AM_CFLAGS on Windows.
   23896 # This way things get set properly even on Windows.
   23897 
   23898 
   23899   CFLAG_VISIBILITY=
   23900   HAVE_VISIBILITY=0
   23901   if test -n "$GCC"; then
   23902                 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5
   23903 printf %s "checking whether the -Werror option is usable... " >&6; }
   23904 if test ${gl_cv_cc_vis_werror+y}
   23905 then :
   23906   printf %s "(cached) " >&6
   23907 else case e in #(
   23908   e) gl_saved_CFLAGS="$CFLAGS"
   23909        CFLAGS="$CFLAGS -Werror"
   23910        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23911 /* end confdefs.h.  */
   23912 
   23913 int
   23914 main (void)
   23915 {
   23916 
   23917   ;
   23918   return 0;
   23919 }
   23920 _ACEOF
   23921 if ac_fn_c_try_compile "$LINENO"
   23922 then :
   23923   gl_cv_cc_vis_werror=yes
   23924 else case e in #(
   23925   e) gl_cv_cc_vis_werror=no ;;
   23926 esac
   23927 fi
   23928 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   23929        CFLAGS="$gl_saved_CFLAGS"
   23930        ;;
   23931 esac
   23932 fi
   23933 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_vis_werror" >&5
   23934 printf '%s\n' "$gl_cv_cc_vis_werror" >&6; }
   23935         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5
   23936 printf %s "checking for simple visibility declarations... " >&6; }
   23937 if test ${gl_cv_cc_visibility+y}
   23938 then :
   23939   printf %s "(cached) " >&6
   23940 else case e in #(
   23941   e) gl_saved_CFLAGS="$CFLAGS"
   23942        CFLAGS="$CFLAGS -fvisibility=hidden"
   23943                                           if test $gl_cv_cc_vis_werror = yes; then
   23944          CFLAGS="$CFLAGS -Werror"
   23945        fi
   23946        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23947 /* end confdefs.h.  */
   23948 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
   23949               extern __attribute__((__visibility__("default"))) int exportedvar;
   23950               extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
   23951               extern __attribute__((__visibility__("default"))) int exportedfunc (void);
   23952               void dummyfunc (void);
   23953               int hiddenvar;
   23954               int exportedvar;
   23955               int hiddenfunc (void) { return 51; }
   23956               int exportedfunc (void) { return 1225736919; }
   23957               void dummyfunc (void) {}
   23958 
   23959 int
   23960 main (void)
   23961 {
   23962 
   23963   ;
   23964   return 0;
   23965 }
   23966 _ACEOF
   23967 if ac_fn_c_try_compile "$LINENO"
   23968 then :
   23969   gl_cv_cc_visibility=yes
   23970 else case e in #(
   23971   e) gl_cv_cc_visibility=no ;;
   23972 esac
   23973 fi
   23974 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   23975        CFLAGS="$gl_saved_CFLAGS"
   23976        ;;
   23977 esac
   23978 fi
   23979 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5
   23980 printf '%s\n' "$gl_cv_cc_visibility" >&6; }
   23981     if test $gl_cv_cc_visibility = yes; then
   23982       CFLAG_VISIBILITY="-fvisibility=hidden"
   23983       HAVE_VISIBILITY=1
   23984     fi
   23985   fi
   23986 
   23987 
   23988 
   23989 printf '%s\n' "#define HAVE_VISIBILITY $HAVE_VISIBILITY" >>confdefs.h
   23990 
   23991 
   23992 if test -n "$CFLAG_VISIBILITY" && test "$is_w32" = no; then
   23993 	AM_CFLAGS="$AM_CFLAGS $CFLAG_VISIBILITY"
   23994 fi
   23995 
   23996 if test "$GCC" = yes
   23997 then :
   23998 
   23999 	# Enable as much warnings as possible. These commented warnings won't
   24000 	# work for this package though:
   24001 	#   * -Wunreachable-code breaks several assert(0) cases, which are
   24002 	#     backed up with "return LZMA_PROG_ERROR".
   24003 	#   * -Wcast-qual would break various things where we need a non-const
   24004 	#     pointer although we don't modify anything through it.
   24005 	#   * -Winline, -Wdisabled-optimization, -Wunsafe-loop-optimizations
   24006 	#     don't seem so useful here; at least the last one gives some
   24007 	#     warnings which are not bugs.
   24008 	#   * -Wconversion still shows too many warnings.
   24009 	#
   24010 	# The flags before the empty line are for GCC and many of them
   24011 	# are supported by Clang too. The flags after the empty line are
   24012 	# for Clang.
   24013 	for NEW_FLAG in \
   24014 			-Wall \
   24015 			-Wextra \
   24016 			-Wvla \
   24017 			-Wformat=2 \
   24018 			-Winit-self \
   24019 			-Wmissing-include-dirs \
   24020 			-Wshift-overflow=2 \
   24021 			-Wstrict-overflow=3 \
   24022 			-Walloc-zero \
   24023 			-Wduplicated-cond \
   24024 			-Wfloat-equal \
   24025 			-Wundef \
   24026 			-Wshadow \
   24027 			-Wpointer-arith \
   24028 			-Wbad-function-cast \
   24029 			-Wwrite-strings \
   24030 			-Wdate-time \
   24031 			-Wsign-conversion \
   24032 			-Wfloat-conversion \
   24033 			-Wlogical-op \
   24034 			-Waggregate-return \
   24035 			-Wstrict-prototypes \
   24036 			-Wold-style-definition \
   24037 			-Wmissing-prototypes \
   24038 			-Wmissing-declarations \
   24039 			-Wredundant-decls \
   24040 			-Wimplicit-fallthrough \
   24041 			-Wimplicit-fallthrough=5 \
   24042 			\
   24043 			-Wc99-compat \
   24044 			-Wc11-extensions \
   24045 			-Wc2x-compat \
   24046 			-Wc2x-extensions \
   24047 			-Warray-bounds-pointer-arithmetic \
   24048 			-Wassign-enum \
   24049 			-Wconditional-uninitialized \
   24050 			-Wdocumentation \
   24051 			-Wduplicate-enum \
   24052 			-Wempty-translation-unit \
   24053 			-Wextra-semi-stmt \
   24054 			-Wflexible-array-extensions \
   24055 			-Wmissing-variable-declarations \
   24056 			-Wnewline-eof \
   24057 			-Wshift-sign-overflow \
   24058 			-Wstring-conversion
   24059 	do
   24060 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC accepts $NEW_FLAG" >&5
   24061 printf %s "checking if $CC accepts $NEW_FLAG... " >&6; }
   24062 		OLD_CFLAGS="$CFLAGS"
   24063 		CFLAGS="$CFLAGS $NEW_FLAG -Werror"
   24064 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24065 /* end confdefs.h.  */
   24066 void foo(void); void foo(void) { }
   24067 _ACEOF
   24068 if ac_fn_c_try_compile "$LINENO"
   24069 then :
   24070 
   24071 			AM_CFLAGS="$AM_CFLAGS $NEW_FLAG"
   24072 			{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24073 printf '%s\n' "yes" >&6; }
   24074 
   24075 else case e in #(
   24076   e)
   24077 			{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24078 printf '%s\n' "no" >&6; }
   24079 		 ;;
   24080 esac
   24081 fi
   24082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   24083 		CFLAGS="$OLD_CFLAGS"
   24084 	done
   24085 
   24086 	# Check whether --enable-werror was given.
   24087 if test ${enable_werror+y}
   24088 then :
   24089   enableval=$enable_werror;
   24090 else case e in #(
   24091   e) enable_werror=no ;;
   24092 esac
   24093 fi
   24094 
   24095 	if test "x$enable_werror" = "xyes"; then
   24096 		AM_CFLAGS="$AM_CFLAGS -Werror"
   24097 	fi
   24098 
   24099 fi
   24100 
   24101 
   24102 ###############################################################################
   24103 # Create the makefiles and config.h
   24104 ###############################################################################
   24105 
   24106 echo
   24107 
   24108 # Don't build the lib directory at all if we don't need any replacement
   24109 # functions.
   24110  if test -n "$LIBOBJS"; then
   24111   COND_GNULIB_TRUE=
   24112   COND_GNULIB_FALSE='#'
   24113 else
   24114   COND_GNULIB_TRUE='#'
   24115   COND_GNULIB_FALSE=
   24116 fi
   24117 
   24118 
   24119 # Add default AM_CFLAGS.
   24120 
   24121 
   24122 # This is needed for src/scripts.
   24123 xz=`echo xz | sed "$program_transform_name"`
   24124 
   24125 
   24126 
   24127 
   24128 
   24129 
   24130 
   24131 
   24132 cat >confcache <<\_ACEOF
   24133 # This file is a shell script that caches the results of configure
   24134 # tests run on this system so they can be shared between configure
   24135 # scripts and configure runs, see configure's option --config-cache.
   24136 # It is not useful on other systems.  If it contains results you don't
   24137 # want to keep, you may remove or edit it.
   24138 #
   24139 # config.status only pays attention to the cache file if you give it
   24140 # the --recheck option to rerun configure.
   24141 #
   24142 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   24143 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   24144 # following values.
   24145 
   24146 _ACEOF
   24147 
   24148 ac_cache_dump |
   24149   sed '
   24150      /^ac_cv_env_/b end
   24151      t clear
   24152      :clear
   24153      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   24154      t end
   24155      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   24156      :end' >>confcache
   24157 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   24158   if test -w "$cache_file"; then
   24159     if test "x$cache_file" != "x/dev/null"; then
   24160       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   24161 printf '%s\n' "$as_me: updating cache $cache_file" >&6;}
   24162       if test ! -f "$cache_file" || test -h "$cache_file"; then
   24163 	cat confcache >"$cache_file"
   24164       else
   24165         case $cache_file in #(
   24166         */* | ?:*)
   24167 	  mv -f confcache "$cache_file"$$ &&
   24168 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   24169         *)
   24170 	  mv -f confcache "$cache_file" ;;
   24171 	esac
   24172       fi
   24173     fi
   24174   else
   24175     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   24176 printf '%s\n' "$as_me: not updating unwritable cache $cache_file" >&6;}
   24177   fi
   24178 fi
   24179 rm -f confcache
   24180 
   24181 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   24182 # Let make expand exec_prefix.
   24183 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   24184 
   24185 DEFS=-DHAVE_CONFIG_H
   24186 
   24187 ac_libobjs=
   24188 ac_ltlibobjs=
   24189 U=
   24190 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   24191   # 1. Remove the extension, and $U if already installed.
   24192   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   24193   ac_i=`printf '%s\n' "$ac_i" | sed "$ac_script"`
   24194   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   24195   #    will be set to the directory where LIBOBJS objects are built.
   24196   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   24197   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   24198 done
   24199 LIBOBJS=$ac_libobjs
   24200 
   24201 LTLIBOBJS=$ac_ltlibobjs
   24202 
   24203 
   24204 if test -z "${COND_W32_TRUE}" && test -z "${COND_W32_FALSE}"; then
   24205   as_fn_error $? "conditional \"COND_W32\" was never defined.
   24206 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24207 fi
   24208 if test -z "${COND_MAIN_ENCODER_TRUE}" && test -z "${COND_MAIN_ENCODER_FALSE}"; then
   24209   as_fn_error $? "conditional \"COND_MAIN_ENCODER\" was never defined.
   24210 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24211 fi
   24212 if test -z "${COND_MAIN_DECODER_TRUE}" && test -z "${COND_MAIN_DECODER_FALSE}"; then
   24213   as_fn_error $? "conditional \"COND_MAIN_DECODER\" was never defined.
   24214 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24215 fi
   24216 if test -z "${COND_FILTER_LZMA1_TRUE}" && test -z "${COND_FILTER_LZMA1_FALSE}"; then
   24217   as_fn_error $? "conditional \"COND_FILTER_LZMA1\" was never defined.
   24218 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24219 fi
   24220 if test -z "${COND_ENCODER_LZMA1_TRUE}" && test -z "${COND_ENCODER_LZMA1_FALSE}"; then
   24221   as_fn_error $? "conditional \"COND_ENCODER_LZMA1\" was never defined.
   24222 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24223 fi
   24224 if test -z "${COND_DECODER_LZMA1_TRUE}" && test -z "${COND_DECODER_LZMA1_FALSE}"; then
   24225   as_fn_error $? "conditional \"COND_DECODER_LZMA1\" was never defined.
   24226 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24227 fi
   24228 if test -z "${COND_FILTER_LZMA2_TRUE}" && test -z "${COND_FILTER_LZMA2_FALSE}"; then
   24229   as_fn_error $? "conditional \"COND_FILTER_LZMA2\" was never defined.
   24230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24231 fi
   24232 if test -z "${COND_ENCODER_LZMA2_TRUE}" && test -z "${COND_ENCODER_LZMA2_FALSE}"; then
   24233   as_fn_error $? "conditional \"COND_ENCODER_LZMA2\" was never defined.
   24234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24235 fi
   24236 if test -z "${COND_DECODER_LZMA2_TRUE}" && test -z "${COND_DECODER_LZMA2_FALSE}"; then
   24237   as_fn_error $? "conditional \"COND_DECODER_LZMA2\" was never defined.
   24238 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24239 fi
   24240 if test -z "${COND_FILTER_DELTA_TRUE}" && test -z "${COND_FILTER_DELTA_FALSE}"; then
   24241   as_fn_error $? "conditional \"COND_FILTER_DELTA\" was never defined.
   24242 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24243 fi
   24244 if test -z "${COND_ENCODER_DELTA_TRUE}" && test -z "${COND_ENCODER_DELTA_FALSE}"; then
   24245   as_fn_error $? "conditional \"COND_ENCODER_DELTA\" was never defined.
   24246 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24247 fi
   24248 if test -z "${COND_DECODER_DELTA_TRUE}" && test -z "${COND_DECODER_DELTA_FALSE}"; then
   24249   as_fn_error $? "conditional \"COND_DECODER_DELTA\" was never defined.
   24250 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24251 fi
   24252 if test -z "${COND_FILTER_X86_TRUE}" && test -z "${COND_FILTER_X86_FALSE}"; then
   24253   as_fn_error $? "conditional \"COND_FILTER_X86\" was never defined.
   24254 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24255 fi
   24256 if test -z "${COND_ENCODER_X86_TRUE}" && test -z "${COND_ENCODER_X86_FALSE}"; then
   24257   as_fn_error $? "conditional \"COND_ENCODER_X86\" was never defined.
   24258 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24259 fi
   24260 if test -z "${COND_DECODER_X86_TRUE}" && test -z "${COND_DECODER_X86_FALSE}"; then
   24261   as_fn_error $? "conditional \"COND_DECODER_X86\" was never defined.
   24262 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24263 fi
   24264 if test -z "${COND_FILTER_POWERPC_TRUE}" && test -z "${COND_FILTER_POWERPC_FALSE}"; then
   24265   as_fn_error $? "conditional \"COND_FILTER_POWERPC\" was never defined.
   24266 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24267 fi
   24268 if test -z "${COND_ENCODER_POWERPC_TRUE}" && test -z "${COND_ENCODER_POWERPC_FALSE}"; then
   24269   as_fn_error $? "conditional \"COND_ENCODER_POWERPC\" was never defined.
   24270 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24271 fi
   24272 if test -z "${COND_DECODER_POWERPC_TRUE}" && test -z "${COND_DECODER_POWERPC_FALSE}"; then
   24273   as_fn_error $? "conditional \"COND_DECODER_POWERPC\" was never defined.
   24274 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24275 fi
   24276 if test -z "${COND_FILTER_IA64_TRUE}" && test -z "${COND_FILTER_IA64_FALSE}"; then
   24277   as_fn_error $? "conditional \"COND_FILTER_IA64\" was never defined.
   24278 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24279 fi
   24280 if test -z "${COND_ENCODER_IA64_TRUE}" && test -z "${COND_ENCODER_IA64_FALSE}"; then
   24281   as_fn_error $? "conditional \"COND_ENCODER_IA64\" was never defined.
   24282 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24283 fi
   24284 if test -z "${COND_DECODER_IA64_TRUE}" && test -z "${COND_DECODER_IA64_FALSE}"; then
   24285   as_fn_error $? "conditional \"COND_DECODER_IA64\" was never defined.
   24286 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24287 fi
   24288 if test -z "${COND_FILTER_ARM_TRUE}" && test -z "${COND_FILTER_ARM_FALSE}"; then
   24289   as_fn_error $? "conditional \"COND_FILTER_ARM\" was never defined.
   24290 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24291 fi
   24292 if test -z "${COND_ENCODER_ARM_TRUE}" && test -z "${COND_ENCODER_ARM_FALSE}"; then
   24293   as_fn_error $? "conditional \"COND_ENCODER_ARM\" was never defined.
   24294 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24295 fi
   24296 if test -z "${COND_DECODER_ARM_TRUE}" && test -z "${COND_DECODER_ARM_FALSE}"; then
   24297   as_fn_error $? "conditional \"COND_DECODER_ARM\" was never defined.
   24298 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24299 fi
   24300 if test -z "${COND_FILTER_ARMTHUMB_TRUE}" && test -z "${COND_FILTER_ARMTHUMB_FALSE}"; then
   24301   as_fn_error $? "conditional \"COND_FILTER_ARMTHUMB\" was never defined.
   24302 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24303 fi
   24304 if test -z "${COND_ENCODER_ARMTHUMB_TRUE}" && test -z "${COND_ENCODER_ARMTHUMB_FALSE}"; then
   24305   as_fn_error $? "conditional \"COND_ENCODER_ARMTHUMB\" was never defined.
   24306 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24307 fi
   24308 if test -z "${COND_DECODER_ARMTHUMB_TRUE}" && test -z "${COND_DECODER_ARMTHUMB_FALSE}"; then
   24309   as_fn_error $? "conditional \"COND_DECODER_ARMTHUMB\" was never defined.
   24310 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24311 fi
   24312 if test -z "${COND_FILTER_ARM64_TRUE}" && test -z "${COND_FILTER_ARM64_FALSE}"; then
   24313   as_fn_error $? "conditional \"COND_FILTER_ARM64\" was never defined.
   24314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24315 fi
   24316 if test -z "${COND_ENCODER_ARM64_TRUE}" && test -z "${COND_ENCODER_ARM64_FALSE}"; then
   24317   as_fn_error $? "conditional \"COND_ENCODER_ARM64\" was never defined.
   24318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24319 fi
   24320 if test -z "${COND_DECODER_ARM64_TRUE}" && test -z "${COND_DECODER_ARM64_FALSE}"; then
   24321   as_fn_error $? "conditional \"COND_DECODER_ARM64\" was never defined.
   24322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24323 fi
   24324 if test -z "${COND_FILTER_SPARC_TRUE}" && test -z "${COND_FILTER_SPARC_FALSE}"; then
   24325   as_fn_error $? "conditional \"COND_FILTER_SPARC\" was never defined.
   24326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24327 fi
   24328 if test -z "${COND_ENCODER_SPARC_TRUE}" && test -z "${COND_ENCODER_SPARC_FALSE}"; then
   24329   as_fn_error $? "conditional \"COND_ENCODER_SPARC\" was never defined.
   24330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24331 fi
   24332 if test -z "${COND_DECODER_SPARC_TRUE}" && test -z "${COND_DECODER_SPARC_FALSE}"; then
   24333   as_fn_error $? "conditional \"COND_DECODER_SPARC\" was never defined.
   24334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24335 fi
   24336 if test -z "${COND_FILTER_RISCV_TRUE}" && test -z "${COND_FILTER_RISCV_FALSE}"; then
   24337   as_fn_error $? "conditional \"COND_FILTER_RISCV\" was never defined.
   24338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24339 fi
   24340 if test -z "${COND_ENCODER_RISCV_TRUE}" && test -z "${COND_ENCODER_RISCV_FALSE}"; then
   24341   as_fn_error $? "conditional \"COND_ENCODER_RISCV\" was never defined.
   24342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24343 fi
   24344 if test -z "${COND_DECODER_RISCV_TRUE}" && test -z "${COND_DECODER_RISCV_FALSE}"; then
   24345   as_fn_error $? "conditional \"COND_DECODER_RISCV\" was never defined.
   24346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24347 fi
   24348 if test -z "${COND_FILTER_SIMPLE_TRUE}" && test -z "${COND_FILTER_SIMPLE_FALSE}"; then
   24349   as_fn_error $? "conditional \"COND_FILTER_SIMPLE\" was never defined.
   24350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24351 fi
   24352 if test -z "${COND_ENCODER_SIMPLE_TRUE}" && test -z "${COND_ENCODER_SIMPLE_FALSE}"; then
   24353   as_fn_error $? "conditional \"COND_ENCODER_SIMPLE\" was never defined.
   24354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24355 fi
   24356 if test -z "${COND_DECODER_SIMPLE_TRUE}" && test -z "${COND_DECODER_SIMPLE_FALSE}"; then
   24357   as_fn_error $? "conditional \"COND_DECODER_SIMPLE\" was never defined.
   24358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24359 fi
   24360 if test -z "${COND_FILTER_LZ_TRUE}" && test -z "${COND_FILTER_LZ_FALSE}"; then
   24361   as_fn_error $? "conditional \"COND_FILTER_LZ\" was never defined.
   24362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24363 fi
   24364 if test -z "${COND_ENCODER_LZ_TRUE}" && test -z "${COND_ENCODER_LZ_FALSE}"; then
   24365   as_fn_error $? "conditional \"COND_ENCODER_LZ\" was never defined.
   24366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24367 fi
   24368 if test -z "${COND_DECODER_LZ_TRUE}" && test -z "${COND_DECODER_LZ_FALSE}"; then
   24369   as_fn_error $? "conditional \"COND_DECODER_LZ\" was never defined.
   24370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24371 fi
   24372 if test -z "${COND_CHECK_CRC32_TRUE}" && test -z "${COND_CHECK_CRC32_FALSE}"; then
   24373   as_fn_error $? "conditional \"COND_CHECK_CRC32\" was never defined.
   24374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24375 fi
   24376 if test -z "${COND_CHECK_CRC64_TRUE}" && test -z "${COND_CHECK_CRC64_FALSE}"; then
   24377   as_fn_error $? "conditional \"COND_CHECK_CRC64\" was never defined.
   24378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24379 fi
   24380 if test -z "${COND_CHECK_SHA256_TRUE}" && test -z "${COND_CHECK_SHA256_FALSE}"; then
   24381   as_fn_error $? "conditional \"COND_CHECK_SHA256\" was never defined.
   24382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24383 fi
   24384 if test -z "${COND_MICROLZMA_TRUE}" && test -z "${COND_MICROLZMA_FALSE}"; then
   24385   as_fn_error $? "conditional \"COND_MICROLZMA\" was never defined.
   24386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24387 fi
   24388 if test -z "${COND_LZIP_DECODER_TRUE}" && test -z "${COND_LZIP_DECODER_FALSE}"; then
   24389   as_fn_error $? "conditional \"COND_LZIP_DECODER\" was never defined.
   24390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24391 fi
   24392 if test -z "${COND_ASM_X86_TRUE}" && test -z "${COND_ASM_X86_FALSE}"; then
   24393   as_fn_error $? "conditional \"COND_ASM_X86\" was never defined.
   24394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24395 fi
   24396 if test -z "${COND_SMALL_TRUE}" && test -z "${COND_SMALL_FALSE}"; then
   24397   as_fn_error $? "conditional \"COND_SMALL\" was never defined.
   24398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24399 fi
   24400 if test -z "${COND_XZ_TRUE}" && test -z "${COND_XZ_FALSE}"; then
   24401   as_fn_error $? "conditional \"COND_XZ\" was never defined.
   24402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24403 fi
   24404 if test -z "${COND_XZDEC_TRUE}" && test -z "${COND_XZDEC_FALSE}"; then
   24405   as_fn_error $? "conditional \"COND_XZDEC\" was never defined.
   24406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24407 fi
   24408 if test -z "${COND_LZMADEC_TRUE}" && test -z "${COND_LZMADEC_FALSE}"; then
   24409   as_fn_error $? "conditional \"COND_LZMADEC\" was never defined.
   24410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24411 fi
   24412 if test -z "${COND_LZMAINFO_TRUE}" && test -z "${COND_LZMAINFO_FALSE}"; then
   24413   as_fn_error $? "conditional \"COND_LZMAINFO\" was never defined.
   24414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24415 fi
   24416 if test -z "${COND_LZMALINKS_TRUE}" && test -z "${COND_LZMALINKS_FALSE}"; then
   24417   as_fn_error $? "conditional \"COND_LZMALINKS\" was never defined.
   24418 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24419 fi
   24420 if test -z "${COND_SCRIPTS_TRUE}" && test -z "${COND_SCRIPTS_FALSE}"; then
   24421   as_fn_error $? "conditional \"COND_SCRIPTS\" was never defined.
   24422 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24423 fi
   24424 if test -z "${COND_DOC_TRUE}" && test -z "${COND_DOC_FALSE}"; then
   24425   as_fn_error $? "conditional \"COND_DOC\" was never defined.
   24426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24427 fi
   24428 if test -z "${COND_DOXYGEN_TRUE}" && test -z "${COND_DOXYGEN_FALSE}"; then
   24429   as_fn_error $? "conditional \"COND_DOXYGEN\" was never defined.
   24430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24431 fi
   24432 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   24433 printf %s "checking that generated files are newer than configure... " >&6; }
   24434    if test -n "$am_sleep_pid"; then
   24435      # Hide warnings about reused PIDs.
   24436      wait $am_sleep_pid 2>/dev/null
   24437    fi
   24438    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: done" >&5
   24439 printf '%s\n' "done" >&6; }
   24440 case $enable_silent_rules in # (((
   24441   yes) AM_DEFAULT_VERBOSITY=0;;
   24442    no) AM_DEFAULT_VERBOSITY=1;;
   24443 esac
   24444 if test $am_cv_make_support_nested_variables = yes; then
   24445     AM_V='$(V)'
   24446   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   24447 else
   24448   AM_V=$AM_DEFAULT_VERBOSITY
   24449   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   24450 fi
   24451 
   24452  if test -n "$EXEEXT"; then
   24453   am__EXEEXT_TRUE=
   24454   am__EXEEXT_FALSE='#'
   24455 else
   24456   am__EXEEXT_TRUE='#'
   24457   am__EXEEXT_FALSE=
   24458 fi
   24459 
   24460 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   24461   as_fn_error $? "conditional \"AMDEP\" was never defined.
   24462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24463 fi
   24464 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   24465   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   24466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24467 fi
   24468 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
   24469   as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
   24470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24471 fi
   24472 if test -z "${COND_THREADS_TRUE}" && test -z "${COND_THREADS_FALSE}"; then
   24473   as_fn_error $? "conditional \"COND_THREADS\" was never defined.
   24474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24475 fi
   24476 if test -z "${COND_SHARED_TRUE}" && test -z "${COND_SHARED_FALSE}"; then
   24477   as_fn_error $? "conditional \"COND_SHARED\" was never defined.
   24478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24479 fi
   24480 if test -z "${COND_SYMVERS_LINUX_TRUE}" && test -z "${COND_SYMVERS_LINUX_FALSE}"; then
   24481   as_fn_error $? "conditional \"COND_SYMVERS_LINUX\" was never defined.
   24482 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24483 fi
   24484 if test -z "${COND_SYMVERS_GENERIC_TRUE}" && test -z "${COND_SYMVERS_GENERIC_FALSE}"; then
   24485   as_fn_error $? "conditional \"COND_SYMVERS_GENERIC\" was never defined.
   24486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24487 fi
   24488 # Check whether --enable-year2038 was given.
   24489 if test ${enable_year2038+y}
   24490 then :
   24491   enableval=$enable_year2038;
   24492 fi
   24493 
   24494 
   24495 if test -z "${COND_INTERNAL_SHA256_TRUE}" && test -z "${COND_INTERNAL_SHA256_FALSE}"; then
   24496   as_fn_error $? "conditional \"COND_INTERNAL_SHA256\" was never defined.
   24497 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24498 fi
   24499 if test -z "${COND_GNULIB_TRUE}" && test -z "${COND_GNULIB_FALSE}"; then
   24500   as_fn_error $? "conditional \"COND_GNULIB\" was never defined.
   24501 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24502 fi
   24503 
   24504 : "${CONFIG_STATUS=./config.status}"
   24505 case $CONFIG_STATUS in #(
   24506   -*) :
   24507     CONFIG_STATUS=./$CONFIG_STATUS ;; #(
   24508   */*) :
   24509      ;; #(
   24510   *) :
   24511     CONFIG_STATUS=./$CONFIG_STATUS ;;
   24512 esac
   24513 
   24514 ac_write_fail=0
   24515 ac_clean_CONFIG_STATUS='"$CONFIG_STATUS"'
   24516 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   24517 printf '%s\n' "$as_me: creating $CONFIG_STATUS" >&6;}
   24518 as_write_fail=0
   24519 cat >"$CONFIG_STATUS" <<_ASEOF || as_write_fail=1
   24520 #! $SHELL
   24521 # Generated by $as_me.
   24522 # Run this file to recreate the current configuration.
   24523 # Compiler output produced by configure, useful for debugging
   24524 # configure, is in config.log if it exists.
   24525 
   24526 debug=false
   24527 ac_cs_recheck=false
   24528 ac_cs_silent=false
   24529 
   24530 SHELL=\${CONFIG_SHELL-$SHELL}
   24531 export SHELL
   24532 _ASEOF
   24533 cat >>"$CONFIG_STATUS" <<\_ASEOF || as_write_fail=1
   24534 ## -------------------- ##
   24535 ## M4sh Initialization. ##
   24536 ## -------------------- ##
   24537 
   24538 # Be more Bourne compatible
   24539 DUALCASE=1; export DUALCASE # for MKS sh
   24540 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   24541 then :
   24542   emulate sh
   24543   NULLCMD=:
   24544   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   24545   # contradicts POSIX and common usage.  Disable this.
   24546   alias -g '${1+"$@"}'='"$@"'
   24547   setopt NO_GLOB_SUBST
   24548 else case e in #(
   24549   e) case `(set -o) 2>/dev/null` in #(
   24550   *posix*) :
   24551     set -o posix ;; #(
   24552   *) :
   24553      ;;
   24554 esac ;;
   24555 esac
   24556 fi
   24557 
   24558 
   24559 
   24560 # Reset variables that may have inherited troublesome values from
   24561 # the environment.
   24562 
   24563 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   24564 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   24565 # side effect of setting IFS to empty, thus disabling word splitting.)
   24566 # Quoting is to prevent editors from complaining about space-tab.
   24567 as_nl='
   24568 '
   24569 export as_nl
   24570 IFS=" ""	$as_nl"
   24571 
   24572 PS1='$ '
   24573 PS2='> '
   24574 PS4='+ '
   24575 
   24576 # Ensure predictable behavior from utilities with locale-dependent output.
   24577 LC_ALL=C
   24578 export LC_ALL
   24579 LANGUAGE=C
   24580 export LANGUAGE
   24581 
   24582 # We cannot yet rely on "unset" to work, but we need these variables
   24583 # to be unset--not just set to an empty or harmless value--now, to
   24584 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   24585 # also avoids known problems related to "unset" and subshell syntax
   24586 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   24587 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   24588 do eval test \${$as_var+y} \
   24589   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   24590 done
   24591 
   24592 # Ensure that fds 0, 1, and 2 are open.
   24593 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   24594 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   24595 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   24596 
   24597 # The user is always right.
   24598 if ${PATH_SEPARATOR+false} :; then
   24599   PATH_SEPARATOR=:
   24600   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   24601     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   24602       PATH_SEPARATOR=';'
   24603   }
   24604 fi
   24605 
   24606 
   24607 # Find who we are.  Look in the path if we contain no directory separator.
   24608 as_myself=
   24609 case $0 in #((
   24610   *[\\/]* ) as_myself=$0 ;;
   24611   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   24612 for as_dir in $PATH
   24613 do
   24614   IFS=$as_save_IFS
   24615   case $as_dir in #(((
   24616     '') as_dir=./ ;;
   24617     */) ;;
   24618     *) as_dir=$as_dir/ ;;
   24619   esac
   24620     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   24621   done
   24622 IFS=$as_save_IFS
   24623 
   24624      ;;
   24625 esac
   24626 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   24627 # in which case we are not to be found in the path.
   24628 if test "x$as_myself" = x; then
   24629   as_myself=$0
   24630 fi
   24631 if test ! -f "$as_myself"; then
   24632   printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   24633   exit 1
   24634 fi
   24635 
   24636 
   24637 
   24638 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   24639 # ----------------------------------------
   24640 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   24641 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   24642 # script with STATUS, using 1 if that was 0.
   24643 as_fn_error ()
   24644 {
   24645   as_status=$1; test $as_status -eq 0 && as_status=1
   24646   if test "$4"; then
   24647     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   24648     printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   24649   fi
   24650   printf '%s\n' "$as_me: error: $2" >&2
   24651   as_fn_exit $as_status
   24652 } # as_fn_error
   24653 
   24654 
   24655 # as_fn_set_status STATUS
   24656 # -----------------------
   24657 # Set $? to STATUS, without forking.
   24658 as_fn_set_status ()
   24659 {
   24660   return $1
   24661 } # as_fn_set_status
   24662 
   24663 # as_fn_exit STATUS
   24664 # -----------------
   24665 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   24666 as_fn_exit ()
   24667 {
   24668   set +e
   24669   as_fn_set_status $1
   24670   exit $1
   24671 } # as_fn_exit
   24672 
   24673 # as_fn_unset VAR
   24674 # ---------------
   24675 # Portably unset VAR.
   24676 as_fn_unset ()
   24677 {
   24678   { eval $1=; unset $1;}
   24679 }
   24680 as_unset=as_fn_unset
   24681 
   24682 # as_fn_append VAR VALUE
   24683 # ----------------------
   24684 # Append the text in VALUE to the end of the definition contained in VAR. Take
   24685 # advantage of any shell optimizations that allow amortized linear growth over
   24686 # repeated appends, instead of the typical quadratic growth present in naive
   24687 # implementations.
   24688 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   24689 then :
   24690   eval 'as_fn_append ()
   24691   {
   24692     eval $1+=\$2
   24693   }'
   24694 else case e in #(
   24695   e) as_fn_append ()
   24696   {
   24697     eval $1=\$$1\$2
   24698   } ;;
   24699 esac
   24700 fi # as_fn_append
   24701 
   24702 # as_fn_arith ARG...
   24703 # ------------------
   24704 # Perform arithmetic evaluation on the ARGs, and store the result in the
   24705 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   24706 # must be portable across $(()) and expr.
   24707 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   24708 then :
   24709   eval 'as_fn_arith ()
   24710   {
   24711     as_val=$(( $* ))
   24712   }'
   24713 else case e in #(
   24714   e) as_fn_arith ()
   24715   {
   24716     as_val=`expr "$@" || test $? -eq 1`
   24717   } ;;
   24718 esac
   24719 fi # as_fn_arith
   24720 
   24721 
   24722 if expr a : '\(a\)' >/dev/null 2>&1 &&
   24723    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   24724   as_expr=expr
   24725 else
   24726   as_expr=false
   24727 fi
   24728 
   24729 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   24730   as_basename=basename
   24731 else
   24732   as_basename=false
   24733 fi
   24734 
   24735 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   24736   as_dirname=dirname
   24737 else
   24738   as_dirname=false
   24739 fi
   24740 
   24741 as_me=`$as_basename -- "$0" ||
   24742 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   24743 	 X"$0" : 'X\(//\)$' \| \
   24744 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   24745 printf '%s\n' X/"$0" |
   24746     sed '/^.*\/\([^/][^/]*\)\/*$/{
   24747 	    s//\1/
   24748 	    q
   24749 	  }
   24750 	  /^X\/\(\/\/\)$/{
   24751 	    s//\1/
   24752 	    q
   24753 	  }
   24754 	  /^X\/\(\/\).*/{
   24755 	    s//\1/
   24756 	    q
   24757 	  }
   24758 	  s/.*/./; q'`
   24759 
   24760 # Avoid depending upon Character Ranges.
   24761 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   24762 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   24763 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   24764 as_cr_digits='0123456789'
   24765 as_cr_alnum=$as_cr_Letters$as_cr_digits
   24766 
   24767 rm -f conf$$ conf$$.exe conf$$.file
   24768 if test -d conf$$.dir; then
   24769   rm -f conf$$.dir/conf$$.file
   24770 else
   24771   rm -f conf$$.dir
   24772   mkdir conf$$.dir 2>/dev/null
   24773 fi
   24774 if (echo >conf$$.file) 2>/dev/null; then
   24775   if ln -s conf$$.file conf$$ 2>/dev/null; then
   24776     as_ln_s='ln -s'
   24777     # ... but there are two gotchas:
   24778     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   24779     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   24780     # In both cases, we have to default to 'cp -pR'.
   24781     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   24782       as_ln_s='cp -pR'
   24783   elif ln conf$$.file conf$$ 2>/dev/null; then
   24784     as_ln_s=ln
   24785   else
   24786     as_ln_s='cp -pR'
   24787   fi
   24788 else
   24789   as_ln_s='cp -pR'
   24790 fi
   24791 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   24792 rmdir conf$$.dir 2>/dev/null
   24793 
   24794 
   24795 # as_fn_mkdir_p
   24796 # -------------
   24797 # Create "$as_dir" as a directory, including parents if necessary.
   24798 as_fn_mkdir_p ()
   24799 {
   24800 
   24801   case $as_dir in #(
   24802   -*) as_dir=./$as_dir;;
   24803   esac
   24804   test -d "$as_dir" || eval $as_mkdir_p || {
   24805     as_dirs=
   24806     while :; do
   24807       case $as_dir in #(
   24808       *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   24809       *) as_qdir=$as_dir;;
   24810       esac
   24811       as_dirs="'$as_qdir' $as_dirs"
   24812       as_dir=`$as_dirname -- "$as_dir" ||
   24813 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24814 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   24815 	 X"$as_dir" : 'X\(//\)$' \| \
   24816 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   24817 printf '%s\n' X"$as_dir" |
   24818     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24819 	    s//\1/
   24820 	    q
   24821 	  }
   24822 	  /^X\(\/\/\)[^/].*/{
   24823 	    s//\1/
   24824 	    q
   24825 	  }
   24826 	  /^X\(\/\/\)$/{
   24827 	    s//\1/
   24828 	    q
   24829 	  }
   24830 	  /^X\(\/\).*/{
   24831 	    s//\1/
   24832 	    q
   24833 	  }
   24834 	  s/.*/./; q'`
   24835       test -d "$as_dir" && break
   24836     done
   24837     test -z "$as_dirs" || eval "mkdir $as_dirs"
   24838   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   24839 
   24840 
   24841 } # as_fn_mkdir_p
   24842 if mkdir -p . 2>/dev/null; then
   24843   as_mkdir_p='mkdir -p "$as_dir"'
   24844 else
   24845   test -d ./-p && rmdir ./-p
   24846   as_mkdir_p=false
   24847 fi
   24848 
   24849 
   24850 # as_fn_executable_p FILE
   24851 # -----------------------
   24852 # Test if FILE is an executable regular file.
   24853 as_fn_executable_p ()
   24854 {
   24855   test -f "$1" && test -x "$1"
   24856 } # as_fn_executable_p
   24857 as_test_x='test -x'
   24858 as_executable_p=as_fn_executable_p
   24859 
   24860 # Sed expression to map a string onto a valid CPP name.
   24861 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   24862 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   24863 
   24864 # Sed expression to map a string onto a valid variable name.
   24865 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   24866 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   24867 
   24868 
   24869 exec 6>&1
   24870 ## ------------------------------------- ##
   24871 ## Main body of "$CONFIG_STATUS" script. ##
   24872 ## ------------------------------------- ##
   24873 _ASEOF
   24874 test $as_write_fail = 0 && chmod +x "$CONFIG_STATUS" || ac_write_fail=1
   24875 
   24876 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   24877 # Save the log message, to keep $0 and so on meaningful, and to
   24878 # report actual input values of CONFIG_FILES etc. instead of their
   24879 # values after options handling.
   24880 ac_log="
   24881 This file was extended by XZ Utils $as_me 5.8.3, which was
   24882 generated by GNU Autoconf 2.73.  Invocation command line was
   24883 
   24884   CONFIG_FILES    = $CONFIG_FILES
   24885   CONFIG_HEADERS  = $CONFIG_HEADERS
   24886   CONFIG_LINKS    = $CONFIG_LINKS
   24887   CONFIG_COMMANDS = $CONFIG_COMMANDS
   24888   $ $0 $@
   24889 
   24890 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   24891 "
   24892 
   24893 _ACEOF
   24894 
   24895 case $ac_config_files in *"
   24896 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   24897 esac
   24898 
   24899 case $ac_config_headers in *"
   24900 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   24901 esac
   24902 
   24903 
   24904 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   24905 # Files that config.status was made for.
   24906 config_files="$ac_config_files"
   24907 config_headers="$ac_config_headers"
   24908 config_commands="$ac_config_commands"
   24909 
   24910 _ACEOF
   24911 
   24912 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   24913 ac_cs_usage="\
   24914 '$as_me' instantiates files and other configuration actions
   24915 from templates according to the current configuration.  Unless the files
   24916 and actions are specified as TAGs, all are instantiated by default.
   24917 
   24918 Usage: $0 [OPTION]... [TAG]...
   24919 
   24920   -h, --help       print this help, then exit
   24921   -V, --version    print version number and configuration settings, then exit
   24922       --config     print configuration, then exit
   24923   -q, --quiet, --silent
   24924                    do not print progress messages
   24925   -d, --debug      don't remove temporary files
   24926       --recheck    update $as_me by reconfiguring in the same conditions
   24927       --file=FILE[:TEMPLATE]
   24928                    instantiate the configuration file FILE
   24929       --header=FILE[:TEMPLATE]
   24930                    instantiate the configuration header FILE
   24931 
   24932 Configuration files:
   24933 $config_files
   24934 
   24935 Configuration headers:
   24936 $config_headers
   24937 
   24938 Configuration commands:
   24939 $config_commands
   24940 
   24941 Report bugs to <xz (at] tukaani.org>.
   24942 XZ Utils home page: <https://tukaani.org/xz/>."
   24943 
   24944 _ACEOF
   24945 ac_cs_config=`printf '%s\n' "$ac_configure_args" | sed "$ac_safe_unquote"`
   24946 ac_cs_config_escaped=`printf '%s\n' "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   24947 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   24948 ac_cs_config='$ac_cs_config_escaped'
   24949 ac_cs_version="\\
   24950 XZ Utils config.status 5.8.3
   24951 configured by $0, generated by GNU Autoconf 2.73,
   24952   with options \\"\$ac_cs_config\\"
   24953 
   24954 Copyright (C) 2026 Free Software Foundation, Inc.
   24955 This config.status script is free software; the Free Software Foundation
   24956 gives unlimited permission to copy, distribute and modify it."
   24957 
   24958 ac_pwd='$ac_pwd'
   24959 srcdir='$srcdir'
   24960 INSTALL='$INSTALL'
   24961 MKDIR_P='$MKDIR_P'
   24962 AWK='$AWK'
   24963 test -n "\$AWK" || {
   24964   awk '' </dev/null ||
   24965     as_fn_error \$? "try installing gawk"
   24966   AWK=awk
   24967 }
   24968 _ACEOF
   24969 
   24970 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   24971 # The default lists apply if the user does not specify any file.
   24972 ac_need_defaults=:
   24973 while test $# != 0
   24974 do
   24975   case $1 in
   24976   --*=?*)
   24977     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   24978     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   24979     ac_shift=:
   24980     ;;
   24981   --*=)
   24982     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   24983     ac_optarg=
   24984     ac_shift=:
   24985     ;;
   24986   *)
   24987     ac_option=$1
   24988     ac_optarg=$2
   24989     ac_shift=shift
   24990     ;;
   24991   esac
   24992 
   24993   case $ac_option in
   24994   # Handling of the options.
   24995   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   24996     ac_cs_recheck=: ;;
   24997   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   24998     printf '%s\n' "$ac_cs_version"; exit ;;
   24999   --config | --confi | --conf | --con | --co | --c )
   25000     printf '%s\n' "$ac_cs_config"; exit ;;
   25001   --debug | --debu | --deb | --de | --d | -d )
   25002     debug=: ;;
   25003   --file | --fil | --fi | --f )
   25004     $ac_shift
   25005     case $ac_optarg in
   25006     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   25007     '') as_fn_error $? "missing file argument" ;;
   25008     esac
   25009     as_fn_append CONFIG_FILES " '$ac_optarg'"
   25010     ac_need_defaults=false;;
   25011   --header | --heade | --head | --hea )
   25012     $ac_shift
   25013     case $ac_optarg in
   25014     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   25015     esac
   25016     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   25017     ac_need_defaults=false;;
   25018   --he | --h)
   25019     # Conflict between --help and --header
   25020     as_fn_error $? "ambiguous option: '$1'
   25021 Try '$0 --help' for more information.";;
   25022   --help | --hel | -h )
   25023     printf '%s\n' "$ac_cs_usage"; exit ;;
   25024   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   25025   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   25026     ac_cs_silent=: ;;
   25027 
   25028   # This is an error.
   25029   -*) as_fn_error $? "unrecognized option: '$1'
   25030 Try '$0 --help' for more information." ;;
   25031 
   25032   *) as_fn_append ac_config_targets " $1"
   25033      ac_need_defaults=false ;;
   25034 
   25035   esac
   25036   shift
   25037 done
   25038 
   25039 ac_configure_extra_args=
   25040 
   25041 if $ac_cs_silent; then
   25042   exec 6>/dev/null
   25043   ac_configure_extra_args="$ac_configure_extra_args --silent"
   25044 fi
   25045 
   25046 _ACEOF
   25047 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   25048 if \$ac_cs_recheck; then
   25049   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   25050   shift
   25051   \printf '%s\n' "running CONFIG_SHELL=$SHELL \$*" >&6
   25052   CONFIG_SHELL='$SHELL'
   25053   export CONFIG_SHELL
   25054   exec "\$@"
   25055 fi
   25056 
   25057 _ACEOF
   25058 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   25059 exec 5>>config.log
   25060 {
   25061   echo
   25062   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   25063 ## Running $as_me. ##
   25064 _ASBOX
   25065   printf '%s\n' "$ac_log"
   25066 } >&5
   25067 
   25068 _ACEOF
   25069 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   25070 #
   25071 # INIT-COMMANDS
   25072 #
   25073 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   25074 
   25075 
   25076 # The HP-UX ksh and POSIX shell print the target directory to stdout
   25077 # if CDPATH is set.
   25078 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   25079 
   25080 sed_quote_subst='$sed_quote_subst'
   25081 double_quote_subst='$double_quote_subst'
   25082 delay_variable_subst='$delay_variable_subst'
   25083 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   25084 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   25085 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
   25086 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   25087 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   25088 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   25089 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   25090 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   25091 enable_cxx_stdlib='`$ECHO "$enable_cxx_stdlib" | $SED "$delay_single_quote_subst"`'
   25092 stdlibflag='`$ECHO "$stdlibflag" | $SED "$delay_single_quote_subst"`'
   25093 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   25094 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   25095 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   25096 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   25097 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   25098 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   25099 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   25100 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   25101 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   25102 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   25103 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   25104 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   25105 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   25106 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   25107 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   25108 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   25109 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   25110 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   25111 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   25112 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   25113 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   25114 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   25115 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   25116 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   25117 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   25118 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   25119 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   25120 lt_cv_cygpath_installed='`$ECHO "$lt_cv_cygpath_installed" | $SED "$delay_single_quote_subst"`'
   25121 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   25122 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   25123 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   25124 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   25125 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   25126 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   25127 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   25128 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   25129 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   25130 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   25131 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   25132 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   25133 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   25134 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   25135 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   25136 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   25137 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   25138 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   25139 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   25140 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   25141 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   25142 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   25143 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   25144 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   25145 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   25146 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   25147 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"`'
   25148 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   25149 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   25150 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   25151 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   25152 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   25153 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   25154 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   25155 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   25156 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   25157 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   25158 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   25159 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   25160 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   25161 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   25162 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   25163 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   25164 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   25165 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   25166 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   25167 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   25168 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   25169 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   25170 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   25171 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   25172 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   25173 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   25174 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   25175 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   25176 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   25177 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   25178 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   25179 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   25180 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   25181 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   25182 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   25183 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   25184 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   25185 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   25186 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   25187 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   25188 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   25189 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   25190 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   25191 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   25192 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   25193 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   25194 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   25195 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   25196 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   25197 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   25198 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   25199 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   25200 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   25201 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   25202 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   25203 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   25204 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   25205 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   25206 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   25207 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   25208 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   25209 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   25210 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   25211 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   25212 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   25213 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   25214 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   25215 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   25216 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   25217 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   25218 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   25219 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   25220 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   25221 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   25222 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   25223 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   25224 LD_RC='`$ECHO "$LD_RC" | $SED "$delay_single_quote_subst"`'
   25225 reload_flag_RC='`$ECHO "$reload_flag_RC" | $SED "$delay_single_quote_subst"`'
   25226 reload_cmds_RC='`$ECHO "$reload_cmds_RC" | $SED "$delay_single_quote_subst"`'
   25227 old_archive_cmds_RC='`$ECHO "$old_archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
   25228 compiler_RC='`$ECHO "$compiler_RC" | $SED "$delay_single_quote_subst"`'
   25229 GCC_RC='`$ECHO "$GCC_RC" | $SED "$delay_single_quote_subst"`'
   25230 lt_prog_compiler_no_builtin_flag_RC='`$ECHO "$lt_prog_compiler_no_builtin_flag_RC" | $SED "$delay_single_quote_subst"`'
   25231 lt_prog_compiler_pic_RC='`$ECHO "$lt_prog_compiler_pic_RC" | $SED "$delay_single_quote_subst"`'
   25232 lt_prog_compiler_wl_RC='`$ECHO "$lt_prog_compiler_wl_RC" | $SED "$delay_single_quote_subst"`'
   25233 lt_prog_compiler_static_RC='`$ECHO "$lt_prog_compiler_static_RC" | $SED "$delay_single_quote_subst"`'
   25234 lt_cv_prog_compiler_c_o_RC='`$ECHO "$lt_cv_prog_compiler_c_o_RC" | $SED "$delay_single_quote_subst"`'
   25235 archive_cmds_need_lc_RC='`$ECHO "$archive_cmds_need_lc_RC" | $SED "$delay_single_quote_subst"`'
   25236 enable_shared_with_static_runtimes_RC='`$ECHO "$enable_shared_with_static_runtimes_RC" | $SED "$delay_single_quote_subst"`'
   25237 export_dynamic_flag_spec_RC='`$ECHO "$export_dynamic_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
   25238 whole_archive_flag_spec_RC='`$ECHO "$whole_archive_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
   25239 compiler_needs_object_RC='`$ECHO "$compiler_needs_object_RC" | $SED "$delay_single_quote_subst"`'
   25240 old_archive_from_new_cmds_RC='`$ECHO "$old_archive_from_new_cmds_RC" | $SED "$delay_single_quote_subst"`'
   25241 old_archive_from_expsyms_cmds_RC='`$ECHO "$old_archive_from_expsyms_cmds_RC" | $SED "$delay_single_quote_subst"`'
   25242 archive_cmds_RC='`$ECHO "$archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
   25243 archive_expsym_cmds_RC='`$ECHO "$archive_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
   25244 module_cmds_RC='`$ECHO "$module_cmds_RC" | $SED "$delay_single_quote_subst"`'
   25245 module_expsym_cmds_RC='`$ECHO "$module_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
   25246 with_gnu_ld_RC='`$ECHO "$with_gnu_ld_RC" | $SED "$delay_single_quote_subst"`'
   25247 allow_undefined_flag_RC='`$ECHO "$allow_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
   25248 no_undefined_flag_RC='`$ECHO "$no_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
   25249 hardcode_libdir_flag_spec_RC='`$ECHO "$hardcode_libdir_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
   25250 hardcode_libdir_separator_RC='`$ECHO "$hardcode_libdir_separator_RC" | $SED "$delay_single_quote_subst"`'
   25251 hardcode_direct_RC='`$ECHO "$hardcode_direct_RC" | $SED "$delay_single_quote_subst"`'
   25252 hardcode_direct_absolute_RC='`$ECHO "$hardcode_direct_absolute_RC" | $SED "$delay_single_quote_subst"`'
   25253 hardcode_minus_L_RC='`$ECHO "$hardcode_minus_L_RC" | $SED "$delay_single_quote_subst"`'
   25254 hardcode_shlibpath_var_RC='`$ECHO "$hardcode_shlibpath_var_RC" | $SED "$delay_single_quote_subst"`'
   25255 hardcode_automatic_RC='`$ECHO "$hardcode_automatic_RC" | $SED "$delay_single_quote_subst"`'
   25256 inherit_rpath_RC='`$ECHO "$inherit_rpath_RC" | $SED "$delay_single_quote_subst"`'
   25257 link_all_deplibs_RC='`$ECHO "$link_all_deplibs_RC" | $SED "$delay_single_quote_subst"`'
   25258 always_export_symbols_RC='`$ECHO "$always_export_symbols_RC" | $SED "$delay_single_quote_subst"`'
   25259 export_symbols_cmds_RC='`$ECHO "$export_symbols_cmds_RC" | $SED "$delay_single_quote_subst"`'
   25260 exclude_expsyms_RC='`$ECHO "$exclude_expsyms_RC" | $SED "$delay_single_quote_subst"`'
   25261 include_expsyms_RC='`$ECHO "$include_expsyms_RC" | $SED "$delay_single_quote_subst"`'
   25262 prelink_cmds_RC='`$ECHO "$prelink_cmds_RC" | $SED "$delay_single_quote_subst"`'
   25263 postlink_cmds_RC='`$ECHO "$postlink_cmds_RC" | $SED "$delay_single_quote_subst"`'
   25264 file_list_spec_RC='`$ECHO "$file_list_spec_RC" | $SED "$delay_single_quote_subst"`'
   25265 hardcode_action_RC='`$ECHO "$hardcode_action_RC" | $SED "$delay_single_quote_subst"`'
   25266 
   25267 LTCC='$LTCC'
   25268 LTCFLAGS='$LTCFLAGS'
   25269 compiler='$compiler_DEFAULT'
   25270 
   25271 # A function that is used when there is no print builtin or printf.
   25272 func_fallback_echo ()
   25273 {
   25274   eval 'cat <<_LTECHO_EOF
   25275 \$1
   25276 _LTECHO_EOF'
   25277 }
   25278 
   25279 # Quote evaled strings.
   25280 for var in AS \
   25281 DLLTOOL \
   25282 OBJDUMP \
   25283 SHELL \
   25284 ECHO \
   25285 PATH_SEPARATOR \
   25286 SED \
   25287 GREP \
   25288 EGREP \
   25289 FGREP \
   25290 LD \
   25291 NM \
   25292 LN_S \
   25293 lt_SP2NL \
   25294 lt_NL2SP \
   25295 reload_flag \
   25296 FILECMD \
   25297 deplibs_check_method \
   25298 file_magic_cmd \
   25299 file_magic_glob \
   25300 want_nocaseglob \
   25301 sharedlib_from_linklib_cmd \
   25302 AR \
   25303 lt_ar_flags \
   25304 archiver_list_spec \
   25305 STRIP \
   25306 RANLIB \
   25307 CC \
   25308 CFLAGS \
   25309 compiler \
   25310 lt_cv_sys_global_symbol_pipe \
   25311 lt_cv_sys_global_symbol_to_cdecl \
   25312 lt_cv_sys_global_symbol_to_import \
   25313 lt_cv_sys_global_symbol_to_c_name_address \
   25314 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   25315 lt_cv_nm_interface \
   25316 nm_file_list_spec \
   25317 lt_cv_truncate_bin \
   25318 lt_prog_compiler_no_builtin_flag \
   25319 lt_prog_compiler_pic \
   25320 lt_prog_compiler_wl \
   25321 lt_prog_compiler_static \
   25322 lt_cv_prog_compiler_c_o \
   25323 need_locks \
   25324 MANIFEST_TOOL \
   25325 DSYMUTIL \
   25326 NMEDIT \
   25327 LIPO \
   25328 OTOOL \
   25329 OTOOL64 \
   25330 shrext_cmds \
   25331 export_dynamic_flag_spec \
   25332 whole_archive_flag_spec \
   25333 compiler_needs_object \
   25334 with_gnu_ld \
   25335 allow_undefined_flag \
   25336 no_undefined_flag \
   25337 hardcode_libdir_flag_spec \
   25338 hardcode_libdir_separator \
   25339 exclude_expsyms \
   25340 include_expsyms \
   25341 file_list_spec \
   25342 variables_saved_for_relink \
   25343 libname_spec \
   25344 library_names_spec \
   25345 soname_spec \
   25346 install_override_mode \
   25347 finish_eval \
   25348 old_striplib \
   25349 striplib \
   25350 LD_RC \
   25351 reload_flag_RC \
   25352 compiler_RC \
   25353 lt_prog_compiler_no_builtin_flag_RC \
   25354 lt_prog_compiler_pic_RC \
   25355 lt_prog_compiler_wl_RC \
   25356 lt_prog_compiler_static_RC \
   25357 lt_cv_prog_compiler_c_o_RC \
   25358 export_dynamic_flag_spec_RC \
   25359 whole_archive_flag_spec_RC \
   25360 compiler_needs_object_RC \
   25361 with_gnu_ld_RC \
   25362 allow_undefined_flag_RC \
   25363 no_undefined_flag_RC \
   25364 hardcode_libdir_flag_spec_RC \
   25365 hardcode_libdir_separator_RC \
   25366 exclude_expsyms_RC \
   25367 include_expsyms_RC \
   25368 file_list_spec_RC; do
   25369     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   25370     *[\\\\\\\`\\"\\\$]*)
   25371       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   25372       ;;
   25373     *)
   25374       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   25375       ;;
   25376     esac
   25377 done
   25378 
   25379 # Double-quote double-evaled strings.
   25380 for var in reload_cmds \
   25381 old_postinstall_cmds \
   25382 old_postuninstall_cmds \
   25383 old_archive_cmds \
   25384 extract_expsyms_cmds \
   25385 old_archive_from_new_cmds \
   25386 old_archive_from_expsyms_cmds \
   25387 archive_cmds \
   25388 archive_expsym_cmds \
   25389 module_cmds \
   25390 module_expsym_cmds \
   25391 export_symbols_cmds \
   25392 prelink_cmds \
   25393 postlink_cmds \
   25394 postinstall_cmds \
   25395 postuninstall_cmds \
   25396 finish_cmds \
   25397 sys_lib_search_path_spec \
   25398 configure_time_dlsearch_path \
   25399 configure_time_lt_sys_library_path \
   25400 reload_cmds_RC \
   25401 old_archive_cmds_RC \
   25402 old_archive_from_new_cmds_RC \
   25403 old_archive_from_expsyms_cmds_RC \
   25404 archive_cmds_RC \
   25405 archive_expsym_cmds_RC \
   25406 module_cmds_RC \
   25407 module_expsym_cmds_RC \
   25408 export_symbols_cmds_RC \
   25409 prelink_cmds_RC \
   25410 postlink_cmds_RC; do
   25411     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   25412     *[\\\\\\\`\\"\\\$]*)
   25413       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   25414       ;;
   25415     *)
   25416       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   25417       ;;
   25418     esac
   25419 done
   25420 
   25421 ac_aux_dir='$ac_aux_dir'
   25422 
   25423 # See if we are running on zsh, and set the options that allow our
   25424 # commands through without removal of \ escapes INIT.
   25425 if test -n "\${ZSH_VERSION+set}"; then
   25426    setopt NO_GLOB_SUBST
   25427 fi
   25428 
   25429 
   25430     PACKAGE='$PACKAGE'
   25431     VERSION='$VERSION'
   25432     RM='$RM'
   25433     ofile='$ofile'
   25434 
   25435 
   25436 
   25437 
   25438 
   25439 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   25440     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS.
   25441     OBSOLETE_ALL_LINGUAS="$ALL_LINGUAS"
   25442     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   25443     LINGUAS="${LINGUAS-%UNSET%}"
   25444 
   25445 
   25446 _ACEOF
   25447 
   25448 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   25449 
   25450 # Handling of arguments.
   25451 for ac_config_target in $ac_config_targets
   25452 do
   25453   case $ac_config_target in
   25454     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   25455     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   25456     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   25457     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
   25458     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   25459     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
   25460     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
   25461     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   25462     "src/liblzma/Makefile") CONFIG_FILES="$CONFIG_FILES src/liblzma/Makefile" ;;
   25463     "src/liblzma/api/Makefile") CONFIG_FILES="$CONFIG_FILES src/liblzma/api/Makefile" ;;
   25464     "src/xz/Makefile") CONFIG_FILES="$CONFIG_FILES src/xz/Makefile" ;;
   25465     "src/xzdec/Makefile") CONFIG_FILES="$CONFIG_FILES src/xzdec/Makefile" ;;
   25466     "src/lzmainfo/Makefile") CONFIG_FILES="$CONFIG_FILES src/lzmainfo/Makefile" ;;
   25467     "src/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES src/scripts/Makefile" ;;
   25468     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
   25469     "debug/Makefile") CONFIG_FILES="$CONFIG_FILES debug/Makefile" ;;
   25470     "src/scripts/xzdiff") CONFIG_FILES="$CONFIG_FILES src/scripts/xzdiff" ;;
   25471     "src/scripts/xzgrep") CONFIG_FILES="$CONFIG_FILES src/scripts/xzgrep" ;;
   25472     "src/scripts/xzmore") CONFIG_FILES="$CONFIG_FILES src/scripts/xzmore" ;;
   25473     "src/scripts/xzless") CONFIG_FILES="$CONFIG_FILES src/scripts/xzless" ;;
   25474 
   25475   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   25476   esac
   25477 done
   25478 
   25479 
   25480 # If the user did not use the arguments to specify the items to instantiate,
   25481 # then the envvar interface is used.  Set only those that are not.
   25482 # We use the long form for the default assignment because of an extremely
   25483 # bizarre bug on SunOS 4.1.3.
   25484 if $ac_need_defaults; then
   25485   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   25486   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   25487   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   25488 fi
   25489 
   25490 # Have a temporary directory for convenience.  Make it in the build tree
   25491 # simply because there is no reason against having it here, and in addition,
   25492 # creating and moving files from /tmp can sometimes cause problems.
   25493 # Hook for its removal unless debugging.
   25494 # Note that there is a small window in which the directory will not be cleaned:
   25495 # after its creation but before its name has been assigned to '$tmp'.
   25496 $debug ||
   25497 {
   25498   tmp= ac_tmp=
   25499   trap 'exit_status=$?
   25500   : "${ac_tmp:=$tmp}"
   25501   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   25502 ' 0
   25503   trap 'as_fn_exit 1' 1 2 13 15
   25504 }
   25505 # Create a (secure) tmp directory for tmp files.
   25506 
   25507 {
   25508   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   25509   test -d "$tmp"
   25510 }  ||
   25511 {
   25512   tmp=./conf$$-$RANDOM
   25513   (umask 077 && mkdir "$tmp")
   25514 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   25515 ac_tmp=$tmp
   25516 
   25517 # Set up the scripts for CONFIG_FILES section.
   25518 # No need to generate them if there are no CONFIG_FILES.
   25519 # This happens for instance with './config.status config.h'.
   25520 if test -n "$CONFIG_FILES"; then
   25521 
   25522 
   25523 ac_cr=`echo X | tr X '\015'`
   25524 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   25525 # But we know of no other shell where ac_cr would be empty at this
   25526 # point, so we can use a bashism as a fallback.
   25527 if test "x$ac_cr" = x; then
   25528   eval ac_cr=\$\'\\r\'
   25529 fi
   25530 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   25531 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   25532   ac_cs_awk_cr='\\r'
   25533 else
   25534   ac_cs_awk_cr=$ac_cr
   25535 fi
   25536 
   25537 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   25538 _ACEOF
   25539 
   25540 
   25541 {
   25542   echo "cat >conf$$subs.awk <<_ACEOF" &&
   25543   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   25544   echo "_ACEOF"
   25545 } >conf$$subs.sh ||
   25546   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   25547 ac_delim_num=`echo "$ac_subst_vars" | sed -n '$='`
   25548 ac_delim='%!_!# '
   25549 for ac_last_try in false false false false false :; do
   25550   . ./conf$$subs.sh ||
   25551     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   25552 
   25553   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | sed -n '$='`
   25554   if test $ac_delim_n = $ac_delim_num; then
   25555     break
   25556   elif $ac_last_try; then
   25557     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   25558   else
   25559     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   25560   fi
   25561 done
   25562 rm -f conf$$subs.sh
   25563 
   25564 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   25565 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   25566 _ACEOF
   25567 sed -n '
   25568 h
   25569 s/^/S["/; s/!.*/"]=/
   25570 p
   25571 g
   25572 s/^[^!]*!//
   25573 :repl
   25574 t repl
   25575 s/'"$ac_delim"'$//
   25576 t delim
   25577 :nl
   25578 h
   25579 s/\(.\{148\}\)..*/\1/
   25580 t more1
   25581 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   25582 p
   25583 n
   25584 b repl
   25585 :more1
   25586 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   25587 p
   25588 g
   25589 s/.\{148\}//
   25590 t nl
   25591 :delim
   25592 h
   25593 s/\(.\{148\}\)..*/\1/
   25594 t more2
   25595 s/["\\]/\\&/g; s/^/"/; s/$/"/
   25596 p
   25597 b
   25598 :more2
   25599 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   25600 p
   25601 g
   25602 s/.\{148\}//
   25603 t delim
   25604 ' <conf$$subs.awk | sed '
   25605 /^[^""]/{
   25606   N
   25607   s/\n//
   25608 }
   25609 ' >>"$CONFIG_STATUS" || ac_write_fail=1
   25610 rm -f conf$$subs.awk
   25611 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   25612 _ACAWK
   25613 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   25614   for (key in S) S_is_set[key] = 1
   25615   FS = ""
   25616 
   25617 }
   25618 {
   25619   line = $ 0
   25620   nfields = split(line, field, "@")
   25621   substed = 0
   25622   len = length(field[1])
   25623   for (i = 2; i < nfields; i++) {
   25624     key = field[i]
   25625     keylen = length(key)
   25626     if (S_is_set[key]) {
   25627       value = S[key]
   25628       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   25629       len += length(value) + length(field[++i])
   25630       substed = 1
   25631     } else
   25632       len += 1 + keylen
   25633   }
   25634 
   25635   print line
   25636 }
   25637 
   25638 _ACAWK
   25639 _ACEOF
   25640 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   25641 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   25642   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   25643 else
   25644   cat
   25645 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   25646   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   25647 _ACEOF
   25648 
   25649 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   25650 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   25651 # trailing colons and then remove the whole line if VPATH becomes empty
   25652 # (actually we leave an empty line to preserve line numbers).
   25653 if test "x$srcdir" = x.; then
   25654   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   25655 h
   25656 s///
   25657 s/^/:/
   25658 s/[	 ]*$/:/
   25659 s/:\$(srcdir):/:/g
   25660 s/:\${srcdir}:/:/g
   25661 s/:@srcdir@:/:/g
   25662 s/^:*//
   25663 s/:*$//
   25664 x
   25665 s/\(=[	 ]*\).*/\1/
   25666 G
   25667 s/\n//
   25668 s/^[^=]*=[	 ]*$//
   25669 }'
   25670 fi
   25671 
   25672 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   25673 fi # test -n "$CONFIG_FILES"
   25674 
   25675 # Set up the scripts for CONFIG_HEADERS section.
   25676 # No need to generate them if there are no CONFIG_HEADERS.
   25677 # This happens for instance with './config.status Makefile'.
   25678 if test -n "$CONFIG_HEADERS"; then
   25679 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   25680 BEGIN {
   25681 _ACEOF
   25682 
   25683 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   25684 # here-document in config.status, that substitutes the proper values into
   25685 # config.h.in to produce config.h.
   25686 
   25687 # Create a delimiter string that does not exist in confdefs.h, to ease
   25688 # handling of long lines.
   25689 ac_delim='%!_!# '
   25690 for ac_last_try in false false :; do
   25691   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   25692   if test -z "$ac_tt"; then
   25693     break
   25694   elif $ac_last_try; then
   25695     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   25696   else
   25697     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   25698   fi
   25699 done
   25700 
   25701 # For the awk script, D is an array of macro values keyed by name,
   25702 # likewise P contains macro parameters if any.  Preserve backslash
   25703 # newline sequences.
   25704 
   25705 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   25706 sed -n '
   25707 s/.\{148\}/&'"$ac_delim"'/g
   25708 t rset
   25709 :rset
   25710 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   25711 t def
   25712 d
   25713 :def
   25714 s/\\$//
   25715 t bsnl
   25716 s/["\\]/\\&/g
   25717 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   25718 D["\1"]=" \3"/p
   25719 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   25720 d
   25721 :bsnl
   25722 s/["\\]/\\&/g
   25723 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   25724 D["\1"]=" \3\\\\\\n"\\/p
   25725 t cont
   25726 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   25727 t cont
   25728 d
   25729 :cont
   25730 n
   25731 s/.\{148\}/&'"$ac_delim"'/g
   25732 t clear
   25733 :clear
   25734 s/\\$//
   25735 t bsnlc
   25736 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   25737 d
   25738 :bsnlc
   25739 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   25740 b cont
   25741 ' <confdefs.h | sed '
   25742 s/'"$ac_delim"'/"\\\
   25743 "/g' >>"$CONFIG_STATUS" || ac_write_fail=1
   25744 
   25745 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   25746   for (key in D) D_is_set[key] = 1
   25747   FS = ""
   25748 }
   25749 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   25750   line = \$ 0
   25751   split(line, arg, " ")
   25752   if (arg[1] == "#") {
   25753     defundef = arg[2]
   25754     mac1 = arg[3]
   25755   } else {
   25756     defundef = substr(arg[1], 2)
   25757     mac1 = arg[2]
   25758   }
   25759   split(mac1, mac2, "(") #)
   25760   macro = mac2[1]
   25761   prefix = substr(line, 1, index(line, defundef) - 1)
   25762   if (D_is_set[macro]) {
   25763     suffix = P[macro] D[macro]
   25764     while (suffix ~ /[\t ]$/) {
   25765       suffix = substr(suffix, 1, length(suffix) - 1)
   25766     }
   25767     # Preserve the white space surrounding the "#".
   25768     print prefix "define", macro suffix
   25769     next
   25770   } else {
   25771     # Replace #undef with comments.  This is necessary, for example,
   25772     # in the case of _POSIX_SOURCE, which is predefined and required
   25773     # on some systems where configure will not decide to define it.
   25774     if (defundef == "undef") {
   25775       print "/*", prefix defundef, macro, "*/"
   25776       next
   25777     }
   25778   }
   25779 }
   25780 { print }
   25781 _ACAWK
   25782 _ACEOF
   25783 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   25784   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   25785 fi # test -n "$CONFIG_HEADERS"
   25786 
   25787 
   25788 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   25789 shift
   25790 for ac_tag
   25791 do
   25792   case $ac_tag in
   25793   :[FHLC]) ac_mode=$ac_tag; continue;;
   25794   esac
   25795   case $ac_mode$ac_tag in
   25796   :[FHL]*:*);;
   25797   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   25798   :[FH]-) ac_tag=-:-;;
   25799   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   25800   esac
   25801   ac_save_IFS=$IFS
   25802   IFS=:
   25803   set x $ac_tag
   25804   IFS=$ac_save_IFS
   25805   shift
   25806   ac_file=$1
   25807   shift
   25808 
   25809   case $ac_mode in
   25810   :L) ac_source=$1;;
   25811   :[FH])
   25812     ac_file_inputs=
   25813     for ac_f
   25814     do
   25815       case $ac_f in
   25816       -) ac_f="$ac_tmp/stdin";;
   25817       *) # Look for the file first in the build tree, then in the source tree
   25818 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   25819 	 # because $ac_f cannot contain ':'.
   25820 	 test -f "$ac_f" ||
   25821 	   case $ac_f in
   25822 	   [\\/$]*) false;;
   25823 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   25824 	   esac ||
   25825 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   25826       esac
   25827       case $ac_f in *\'*) ac_f=`printf '%s\n' "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   25828       as_fn_append ac_file_inputs " '$ac_f'"
   25829     done
   25830 
   25831     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   25832     # use $as_me), people would be surprised to read:
   25833     #    /* config.h.  Generated by config.status.  */
   25834     configure_input='Generated from '`
   25835 	  printf '%s\n' "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   25836 	`' by configure.'
   25837     if test x"$ac_file" != x-; then
   25838       configure_input="$ac_file.  $configure_input"
   25839       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   25840 printf '%s\n' "$as_me: creating $ac_file" >&6;}
   25841     fi
   25842     # Neutralize special characters interpreted by sed in replacement strings.
   25843     case $configure_input in #(
   25844     *\&* | *\|* | *\\* )
   25845        ac_sed_conf_input=`printf '%s\n' "$configure_input" |
   25846        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   25847     *) ac_sed_conf_input=$configure_input;;
   25848     esac
   25849 
   25850     case $ac_tag in
   25851     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   25852       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   25853     esac
   25854     ;;
   25855   esac
   25856 
   25857   ac_dir=`$as_dirname -- "$ac_file" ||
   25858 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25859 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   25860 	 X"$ac_file" : 'X\(//\)$' \| \
   25861 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   25862 printf '%s\n' X"$ac_file" |
   25863     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25864 	    s//\1/
   25865 	    q
   25866 	  }
   25867 	  /^X\(\/\/\)[^/].*/{
   25868 	    s//\1/
   25869 	    q
   25870 	  }
   25871 	  /^X\(\/\/\)$/{
   25872 	    s//\1/
   25873 	    q
   25874 	  }
   25875 	  /^X\(\/\).*/{
   25876 	    s//\1/
   25877 	    q
   25878 	  }
   25879 	  s/.*/./; q'`
   25880   as_dir="$ac_dir"; as_fn_mkdir_p
   25881   ac_builddir=.
   25882 
   25883 case "$ac_dir" in
   25884 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   25885 *)
   25886   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   25887   # A ".." for each directory in $ac_dir_suffix.
   25888   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   25889   case $ac_top_builddir_sub in
   25890   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   25891   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   25892   esac ;;
   25893 esac
   25894 ac_abs_top_builddir=$ac_pwd
   25895 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   25896 # for backward compatibility:
   25897 ac_top_builddir=$ac_top_build_prefix
   25898 
   25899 case $srcdir in
   25900   .)  # We are building in place.
   25901     ac_srcdir=.
   25902     ac_top_srcdir=$ac_top_builddir_sub
   25903     ac_abs_top_srcdir=$ac_pwd ;;
   25904   [\\/]* | ?:[\\/]* )  # Absolute name.
   25905     ac_srcdir=$srcdir$ac_dir_suffix;
   25906     ac_top_srcdir=$srcdir
   25907     ac_abs_top_srcdir=$srcdir ;;
   25908   *) # Relative name.
   25909     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   25910     ac_top_srcdir=$ac_top_build_prefix$srcdir
   25911     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   25912 esac
   25913 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   25914 
   25915 
   25916   case $ac_mode in
   25917   :F)
   25918   #
   25919   # CONFIG_FILE
   25920   #
   25921 
   25922   case $INSTALL in
   25923   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   25924   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   25925   esac
   25926   ac_MKDIR_P=$MKDIR_P
   25927   case $MKDIR_P in
   25928   [\\/$]* | ?:[\\/]* ) ;;
   25929   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   25930   esac
   25931 _ACEOF
   25932 
   25933 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   25934 # If the template does not know about datarootdir, expand it.
   25935 # FIXME: This hack should be removed a few years after 2.60.
   25936 ac_datarootdir_hack=; ac_datarootdir_seen=
   25937 ac_sed_dataroot='
   25938 /datarootdir/ {
   25939   p
   25940   q
   25941 }
   25942 /@datadir@/p
   25943 /@docdir@/p
   25944 /@infodir@/p
   25945 /@localedir@/p
   25946 /@mandir@/p'
   25947 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   25948 *datarootdir*) ac_datarootdir_seen=yes;;
   25949 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   25950   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   25951 printf '%s\n' "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   25952 _ACEOF
   25953 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   25954   ac_datarootdir_hack='
   25955   s&@datadir@&$datadir&g
   25956   s&@docdir@&$docdir&g
   25957   s&@infodir@&$infodir&g
   25958   s&@localedir@&$localedir&g
   25959   s&@mandir@&$mandir&g
   25960   s&\\\${datarootdir}&$datarootdir&g' ;;
   25961 esac
   25962 _ACEOF
   25963 
   25964 # Neutralize VPATH when '$srcdir' = '.'.
   25965 # Shell code in configure.ac might set extrasub.
   25966 # FIXME: do we really want to maintain this feature?
   25967 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   25968 ac_sed_extra="$ac_vpsub
   25969 $extrasub
   25970 _ACEOF
   25971 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   25972 :t
   25973 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   25974 s|@configure_input@|$ac_sed_conf_input|;t t
   25975 s&@top_builddir@&$ac_top_builddir_sub&;t t
   25976 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   25977 s&@srcdir@&$ac_srcdir&;t t
   25978 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   25979 s&@top_srcdir@&$ac_top_srcdir&;t t
   25980 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   25981 s&@builddir@&$ac_builddir&;t t
   25982 s&@abs_builddir@&$ac_abs_builddir&;t t
   25983 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   25984 s&@INSTALL@&$ac_INSTALL&;t t
   25985 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   25986 $ac_datarootdir_hack
   25987 "
   25988 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   25989   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   25990 
   25991 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   25992   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   25993   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   25994       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   25995   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   25996 which seems to be undefined.  Please make sure it is defined" >&5
   25997 printf '%s\n' "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   25998 which seems to be undefined.  Please make sure it is defined" >&2;}
   25999 
   26000   rm -f "$ac_tmp/stdin"
   26001   case $ac_file in
   26002   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   26003   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   26004   esac \
   26005   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   26006  ;;
   26007   :H)
   26008   #
   26009   # CONFIG_HEADER
   26010   #
   26011   if test x"$ac_file" != x-; then
   26012     {
   26013       printf '%s\n' "/* $configure_input  */" >&1 \
   26014       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   26015     } >"$ac_tmp/config.h" \
   26016       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   26017     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   26018       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   26019 printf '%s\n' "$as_me: $ac_file is unchanged" >&6;}
   26020     else
   26021       rm -f "$ac_file"
   26022       mv "$ac_tmp/config.h" "$ac_file" \
   26023 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   26024     fi
   26025   else
   26026     printf '%s\n' "/* $configure_input  */" >&1 \
   26027       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   26028       || as_fn_error $? "could not create -" "$LINENO" 5
   26029   fi
   26030 # Compute "$ac_file"'s index in $config_headers.
   26031 _am_arg="$ac_file"
   26032 _am_stamp_count=1
   26033 for _am_header in $config_headers :; do
   26034   case $_am_header in
   26035     $_am_arg | $_am_arg:* )
   26036       break ;;
   26037     * )
   26038       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   26039   esac
   26040 done
   26041 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   26042 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26043 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   26044 	 X"$_am_arg" : 'X\(//\)$' \| \
   26045 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   26046 printf '%s\n' X"$_am_arg" |
   26047     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26048 	    s//\1/
   26049 	    q
   26050 	  }
   26051 	  /^X\(\/\/\)[^/].*/{
   26052 	    s//\1/
   26053 	    q
   26054 	  }
   26055 	  /^X\(\/\/\)$/{
   26056 	    s//\1/
   26057 	    q
   26058 	  }
   26059 	  /^X\(\/\).*/{
   26060 	    s//\1/
   26061 	    q
   26062 	  }
   26063 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   26064  ;;
   26065 
   26066   :C)  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   26067 printf '%s\n' "$as_me: executing $ac_file commands" >&6;}
   26068  ;;
   26069   esac
   26070 
   26071 
   26072   case $ac_file$ac_mode in
   26073     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   26074   # Older Autoconf quotes --file arguments for eval, but not when files
   26075   # are listed without --file.  Let's play safe and only enable the eval
   26076   # if we detect the quoting.
   26077   # TODO: see whether this extra hack can be removed once we start
   26078   # requiring Autoconf 2.70 or later.
   26079   case $CONFIG_FILES in #(
   26080   *\'*) :
   26081     eval set x "$CONFIG_FILES" ;; #(
   26082   *) :
   26083     set x $CONFIG_FILES ;; #(
   26084   *) :
   26085      ;;
   26086 esac
   26087   shift
   26088   # Used to flag and report bootstrapping failures.
   26089   am_rc=0
   26090   for am_mf
   26091   do
   26092     # Strip MF so we end up with the name of the file.
   26093     am_mf=`printf '%s\n' "$am_mf" | sed -e 's/:.*$//'`
   26094     # Check whether this is an Automake generated Makefile which includes
   26095     # dependency-tracking related rules and includes.
   26096     # Grep'ing the whole file directly is not great: AIX grep has a line
   26097     # limit of 2048, but all sed's we know have understand at least 4000.
   26098     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   26099       || continue
   26100     am_dirpart=`$as_dirname -- "$am_mf" ||
   26101 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26102 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   26103 	 X"$am_mf" : 'X\(//\)$' \| \
   26104 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   26105 printf '%s\n' X"$am_mf" |
   26106     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26107 	    s//\1/
   26108 	    q
   26109 	  }
   26110 	  /^X\(\/\/\)[^/].*/{
   26111 	    s//\1/
   26112 	    q
   26113 	  }
   26114 	  /^X\(\/\/\)$/{
   26115 	    s//\1/
   26116 	    q
   26117 	  }
   26118 	  /^X\(\/\).*/{
   26119 	    s//\1/
   26120 	    q
   26121 	  }
   26122 	  s/.*/./; q'`
   26123     am_filepart=`$as_basename -- "$am_mf" ||
   26124 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   26125 	 X"$am_mf" : 'X\(//\)$' \| \
   26126 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   26127 printf '%s\n' X/"$am_mf" |
   26128     sed '/^.*\/\([^/][^/]*\)\/*$/{
   26129 	    s//\1/
   26130 	    q
   26131 	  }
   26132 	  /^X\/\(\/\/\)$/{
   26133 	    s//\1/
   26134 	    q
   26135 	  }
   26136 	  /^X\/\(\/\).*/{
   26137 	    s//\1/
   26138 	    q
   26139 	  }
   26140 	  s/.*/./; q'`
   26141     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   26142       && sed -e '/# am--include-marker/d' "$am_filepart" \
   26143         | $MAKE -f - am--depfiles" >&5
   26144    (cd "$am_dirpart" \
   26145       && sed -e '/# am--include-marker/d' "$am_filepart" \
   26146         | $MAKE -f - am--depfiles) >&5 2>&5
   26147    ac_status=$?
   26148    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   26149    (exit $ac_status); } || am_rc=$?
   26150   done
   26151   if test $am_rc -ne 0; then
   26152     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   26153 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   26154 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   26155     for automatic dependency tracking.  If GNU make was not used, consider
   26156     re-running the configure script with MAKE=\"gmake\" (or whatever is
   26157     necessary).  You can also try re-running configure with the
   26158     '--disable-dependency-tracking' option to at least be able to build
   26159     the package (albeit without support for automatic dependency tracking).
   26160 See 'config.log' for more details" "$LINENO" 5; }
   26161   fi
   26162   { am_dirpart=; unset am_dirpart;}
   26163   { am_filepart=; unset am_filepart;}
   26164   { am_mf=; unset am_mf;}
   26165   { am_rc=; unset am_rc;}
   26166   rm -f conftest-deps.mk
   26167 }
   26168  ;;
   26169     "libtool":C)
   26170 
   26171     # See if we are running on zsh, and set the options that allow our
   26172     # commands through without removal of \ escapes.
   26173     if test -n "${ZSH_VERSION+set}"; then
   26174       setopt NO_GLOB_SUBST
   26175     fi
   26176 
   26177     cfgfile=${ofile}T
   26178     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   26179     $RM "$cfgfile"
   26180 
   26181     cat <<_LT_EOF >> "$cfgfile"
   26182 #! $SHELL
   26183 # Generated automatically by $as_me ($PACKAGE) $VERSION
   26184 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   26185 
   26186 # Provide generalized library-building support services.
   26187 # Written by Gordon Matzigkeit, 1996
   26188 
   26189 # Copyright (C) 2025 Free Software Foundation, Inc.
   26190 # This is free software; see the source for copying conditions.  There is NO
   26191 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   26192 
   26193 # GNU Libtool is free software; you can redistribute it and/or modify
   26194 # it under the terms of the GNU General Public License as published by
   26195 # the Free Software Foundation; either version 2 of the License, or
   26196 # (at your option) any later version.
   26197 #
   26198 # As a special exception to the GNU General Public License, if you
   26199 # distribute this file as part of a program or library that is built
   26200 # using GNU Libtool, you may include this file under the  same
   26201 # distribution terms that you use for the rest of that program.
   26202 #
   26203 # GNU Libtool is distributed in the hope that it will be useful, but
   26204 # WITHOUT ANY WARRANTY; without even the implied warranty of
   26205 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   26206 # GNU General Public License for more details.
   26207 #
   26208 # You should have received a copy of the GNU General Public License
   26209 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   26210 
   26211 
   26212 # The names of the tagged configurations supported by this script.
   26213 available_tags='RC '
   26214 
   26215 # Configured defaults for sys_lib_dlsearch_path munging.
   26216 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   26217 
   26218 # ### BEGIN LIBTOOL CONFIG
   26219 
   26220 # Which release of libtool.m4 was used?
   26221 macro_version=$macro_version
   26222 macro_revision=$macro_revision
   26223 
   26224 # Assembler program.
   26225 AS=$lt_AS
   26226 
   26227 # DLL creation program.
   26228 DLLTOOL=$lt_DLLTOOL
   26229 
   26230 # Object dumper program.
   26231 OBJDUMP=$lt_OBJDUMP
   26232 
   26233 # Whether or not to build shared libraries.
   26234 build_libtool_libs=$enable_shared
   26235 
   26236 # Whether or not to build static libraries.
   26237 build_old_libs=$enable_static
   26238 
   26239 # What type of objects to build.
   26240 pic_mode=$pic_mode
   26241 
   26242 # Whether to let the compiler frontend decide what standard libraries to link when building C++ shared libraries and modules.
   26243 enable_cxx_stdlib=$enable_cxx_stdlib
   26244 
   26245 # Flag used for specifying not to link standard libraries.
   26246 stdlibflag=$stdlibflag
   26247 
   26248 # Whether or not to optimize for fast installation.
   26249 fast_install=$enable_fast_install
   26250 
   26251 # Shared archive member basename,for filename based shared library versioning on AIX.
   26252 shared_archive_member_spec=$shared_archive_member_spec
   26253 
   26254 # Shell to use when invoking shell scripts.
   26255 SHELL=$lt_SHELL
   26256 
   26257 # An echo program that protects backslashes.
   26258 ECHO=$lt_ECHO
   26259 
   26260 # The PATH separator for the build system.
   26261 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   26262 
   26263 # The host system.
   26264 host_alias=$host_alias
   26265 host=$host
   26266 host_os=$host_os
   26267 
   26268 # The build system.
   26269 build_alias=$build_alias
   26270 build=$build
   26271 build_os=$build_os
   26272 
   26273 # A sed program that does not truncate output.
   26274 SED=$lt_SED
   26275 
   26276 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   26277 Xsed="\$SED -e 1s/^X//"
   26278 
   26279 # A grep program that handles long lines.
   26280 GREP=$lt_GREP
   26281 
   26282 # An ERE matcher.
   26283 EGREP=$lt_EGREP
   26284 
   26285 # A literal string matcher.
   26286 FGREP=$lt_FGREP
   26287 
   26288 # A BSD- or MS-compatible name lister.
   26289 NM=$lt_NM
   26290 
   26291 # Whether we need soft or hard links.
   26292 LN_S=$lt_LN_S
   26293 
   26294 # What is the maximum length of a command?
   26295 max_cmd_len=$max_cmd_len
   26296 
   26297 # Object file suffix (normally "o").
   26298 objext=$ac_objext
   26299 
   26300 # Executable file suffix (normally "").
   26301 exeext=$exeext
   26302 
   26303 # whether the shell understands "unset".
   26304 lt_unset=$lt_unset
   26305 
   26306 # turn spaces into newlines.
   26307 SP2NL=$lt_lt_SP2NL
   26308 
   26309 # turn newlines into spaces.
   26310 NL2SP=$lt_lt_NL2SP
   26311 
   26312 # convert \$build file names to \$host format.
   26313 to_host_file_cmd=$lt_cv_to_host_file_cmd
   26314 
   26315 # convert \$build files to toolchain format.
   26316 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   26317 
   26318 # whether cygpath is installed.
   26319 cygpath_installed=$lt_cv_cygpath_installed
   26320 
   26321 # A file(cmd) program that detects file types.
   26322 FILECMD=$lt_FILECMD
   26323 
   26324 # Method to check whether dependent libraries are shared objects.
   26325 deplibs_check_method=$lt_deplibs_check_method
   26326 
   26327 # Command to use when deplibs_check_method = "file_magic".
   26328 file_magic_cmd=$lt_file_magic_cmd
   26329 
   26330 # How to find potential files when deplibs_check_method = "file_magic".
   26331 file_magic_glob=$lt_file_magic_glob
   26332 
   26333 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   26334 want_nocaseglob=$lt_want_nocaseglob
   26335 
   26336 # Command to associate shared and link libraries.
   26337 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   26338 
   26339 # The archiver.
   26340 AR=$lt_AR
   26341 
   26342 # Flags to create an archive (by configure).
   26343 lt_ar_flags=$lt_lt_ar_flags
   26344 
   26345 # Flags to create an archive.
   26346 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   26347 
   26348 # How to feed a file listing to the archiver.
   26349 archiver_list_spec=$lt_archiver_list_spec
   26350 
   26351 # A symbol stripping program.
   26352 STRIP=$lt_STRIP
   26353 
   26354 # Commands used to install an old-style archive.
   26355 RANLIB=$lt_RANLIB
   26356 old_postinstall_cmds=$lt_old_postinstall_cmds
   26357 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   26358 
   26359 # Whether to use a lock for old archive extraction.
   26360 lock_old_archive_extraction=$lock_old_archive_extraction
   26361 
   26362 # A C compiler.
   26363 LTCC=$lt_CC
   26364 
   26365 # LTCC compiler flags.
   26366 LTCFLAGS=$lt_CFLAGS
   26367 
   26368 # Take the output of nm and produce a listing of raw symbols and C names.
   26369 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   26370 
   26371 # Transform the output of nm in a proper C declaration.
   26372 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   26373 
   26374 # Transform the output of nm into a list of symbols to manually relocate.
   26375 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   26376 
   26377 # Transform the output of nm in a C name address pair.
   26378 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   26379 
   26380 # Transform the output of nm in a C name address pair when lib prefix is needed.
   26381 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   26382 
   26383 # The name lister interface.
   26384 nm_interface=$lt_lt_cv_nm_interface
   26385 
   26386 # Specify filename containing input files for \$NM.
   26387 nm_file_list_spec=$lt_nm_file_list_spec
   26388 
   26389 # The root where to search for dependent libraries,and where our libraries should be installed.
   26390 lt_sysroot=$lt_sysroot
   26391 
   26392 # Command to truncate a binary pipe.
   26393 lt_truncate_bin=$lt_lt_cv_truncate_bin
   26394 
   26395 # The name of the directory that contains temporary libtool files.
   26396 objdir=$objdir
   26397 
   26398 # Used to examine libraries when file_magic_cmd begins with "file".
   26399 MAGIC_CMD=$MAGIC_CMD
   26400 
   26401 # Must we lock files when doing compilation?
   26402 need_locks=$lt_need_locks
   26403 
   26404 # Manifest tool.
   26405 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   26406 
   26407 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   26408 DSYMUTIL=$lt_DSYMUTIL
   26409 
   26410 # Tool to change global to local symbols on Mac OS X.
   26411 NMEDIT=$lt_NMEDIT
   26412 
   26413 # Tool to manipulate fat objects and archives on Mac OS X.
   26414 LIPO=$lt_LIPO
   26415 
   26416 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   26417 OTOOL=$lt_OTOOL
   26418 
   26419 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   26420 OTOOL64=$lt_OTOOL64
   26421 
   26422 # Old archive suffix (normally "a").
   26423 libext=$libext
   26424 
   26425 # Shared library suffix (normally ".so").
   26426 shrext_cmds=$lt_shrext_cmds
   26427 
   26428 # The commands to extract the exported symbol list from a shared archive.
   26429 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   26430 
   26431 # Variables whose values should be saved in libtool wrapper scripts and
   26432 # restored at link time.
   26433 variables_saved_for_relink=$lt_variables_saved_for_relink
   26434 
   26435 # Do we need the "lib" prefix for modules?
   26436 need_lib_prefix=$need_lib_prefix
   26437 
   26438 # Do we need a version for libraries?
   26439 need_version=$need_version
   26440 
   26441 # Library versioning type.
   26442 version_type=$version_type
   26443 
   26444 # Shared library runtime path variable.
   26445 runpath_var=$runpath_var
   26446 
   26447 # Shared library path variable.
   26448 shlibpath_var=$shlibpath_var
   26449 
   26450 # Is shlibpath searched before the hard-coded library search path?
   26451 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   26452 
   26453 # Format of library name prefix.
   26454 libname_spec=$lt_libname_spec
   26455 
   26456 # List of archive names.  First name is the real one, the rest are links.
   26457 # The last name is the one that the linker finds with -lNAME
   26458 library_names_spec=$lt_library_names_spec
   26459 
   26460 # The coded name of the library, if different from the real name.
   26461 soname_spec=$lt_soname_spec
   26462 
   26463 # Permission mode override for installation of shared libraries.
   26464 install_override_mode=$lt_install_override_mode
   26465 
   26466 # Command to use after installation of a shared archive.
   26467 postinstall_cmds=$lt_postinstall_cmds
   26468 
   26469 # Command to use after uninstallation of a shared archive.
   26470 postuninstall_cmds=$lt_postuninstall_cmds
   26471 
   26472 # Commands used to finish a libtool library installation in a directory.
   26473 finish_cmds=$lt_finish_cmds
   26474 
   26475 # As "finish_cmds", except a single script fragment to be evaled but
   26476 # not shown.
   26477 finish_eval=$lt_finish_eval
   26478 
   26479 # Whether we should hardcode library paths into libraries.
   26480 hardcode_into_libs=$hardcode_into_libs
   26481 
   26482 # Compile-time system search path for libraries.
   26483 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   26484 
   26485 # Detected run-time system search path for libraries.
   26486 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   26487 
   26488 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   26489 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   26490 
   26491 # Whether dlopen is supported.
   26492 dlopen_support=$enable_dlopen
   26493 
   26494 # Whether dlopen of programs is supported.
   26495 dlopen_self=$enable_dlopen_self
   26496 
   26497 # Whether dlopen of statically linked programs is supported.
   26498 dlopen_self_static=$enable_dlopen_self_static
   26499 
   26500 # Commands to strip libraries.
   26501 old_striplib=$lt_old_striplib
   26502 striplib=$lt_striplib
   26503 
   26504 
   26505 # The linker used to build libraries.
   26506 LD=$lt_LD
   26507 
   26508 # How to create reloadable object files.
   26509 reload_flag=$lt_reload_flag
   26510 reload_cmds=$lt_reload_cmds
   26511 
   26512 # Commands used to build an old-style archive.
   26513 old_archive_cmds=$lt_old_archive_cmds
   26514 
   26515 # A language specific compiler.
   26516 CC=$lt_compiler
   26517 
   26518 # Is the compiler the GNU compiler?
   26519 with_gcc=$GCC
   26520 
   26521 # Compiler flag to turn off builtin functions.
   26522 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   26523 
   26524 # Additional compiler flags for building library objects.
   26525 pic_flag=$lt_lt_prog_compiler_pic
   26526 
   26527 # How to pass a linker flag through the compiler.
   26528 wl=$lt_lt_prog_compiler_wl
   26529 
   26530 # Compiler flag to prevent dynamic linking.
   26531 link_static_flag=$lt_lt_prog_compiler_static
   26532 
   26533 # Does compiler simultaneously support -c and -o options?
   26534 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   26535 
   26536 # Whether or not to add -lc for building shared libraries.
   26537 build_libtool_need_lc=$archive_cmds_need_lc
   26538 
   26539 # Whether or not to disallow shared libs when runtime libs are static.
   26540 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   26541 
   26542 # Compiler flag to allow reflexive dlopens.
   26543 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   26544 
   26545 # Compiler flag to generate shared objects directly from archives.
   26546 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   26547 
   26548 # Whether the compiler copes with passing no objects directly.
   26549 compiler_needs_object=$lt_compiler_needs_object
   26550 
   26551 # Create an old-style archive from a shared archive.
   26552 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   26553 
   26554 # Create a temporary old-style archive to link instead of a shared archive.
   26555 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   26556 
   26557 # Commands used to build a shared archive.
   26558 archive_cmds=$lt_archive_cmds
   26559 archive_expsym_cmds=$lt_archive_expsym_cmds
   26560 
   26561 # Commands used to build a loadable module if different from building
   26562 # a shared archive.
   26563 module_cmds=$lt_module_cmds
   26564 module_expsym_cmds=$lt_module_expsym_cmds
   26565 
   26566 # Whether we are building with GNU ld or not.
   26567 with_gnu_ld=$lt_with_gnu_ld
   26568 
   26569 # Flag that allows shared libraries with undefined symbols to be built.
   26570 allow_undefined_flag=$lt_allow_undefined_flag
   26571 
   26572 # Flag that enforces no undefined symbols.
   26573 no_undefined_flag=$lt_no_undefined_flag
   26574 
   26575 # Flag to hardcode \$libdir into a binary during linking.
   26576 # This must work even if \$libdir does not exist
   26577 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   26578 
   26579 # Whether we need a single "-rpath" flag with a separated argument.
   26580 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   26581 
   26582 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   26583 # DIR into the resulting binary.
   26584 hardcode_direct=$hardcode_direct
   26585 
   26586 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   26587 # DIR into the resulting binary and the resulting library dependency is
   26588 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   26589 # library is relocated.
   26590 hardcode_direct_absolute=$hardcode_direct_absolute
   26591 
   26592 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   26593 # into the resulting binary.
   26594 hardcode_minus_L=$hardcode_minus_L
   26595 
   26596 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   26597 # into the resulting binary.
   26598 hardcode_shlibpath_var=$hardcode_shlibpath_var
   26599 
   26600 # Set to "yes" if building a shared library automatically hardcodes DIR
   26601 # into the library and all subsequent libraries and executables linked
   26602 # against it.
   26603 hardcode_automatic=$hardcode_automatic
   26604 
   26605 # Set to yes if linker adds runtime paths of dependent libraries
   26606 # to runtime path list.
   26607 inherit_rpath=$inherit_rpath
   26608 
   26609 # Whether libtool must link a program against all its dependency libraries.
   26610 link_all_deplibs=$link_all_deplibs
   26611 
   26612 # Set to "yes" if exported symbols are required.
   26613 always_export_symbols=$always_export_symbols
   26614 
   26615 # The commands to list exported symbols.
   26616 export_symbols_cmds=$lt_export_symbols_cmds
   26617 
   26618 # Symbols that should not be listed in the preloaded symbols.
   26619 exclude_expsyms=$lt_exclude_expsyms
   26620 
   26621 # Symbols that must always be exported.
   26622 include_expsyms=$lt_include_expsyms
   26623 
   26624 # Commands necessary for linking programs (against libraries) with templates.
   26625 prelink_cmds=$lt_prelink_cmds
   26626 
   26627 # Commands necessary for finishing linking programs.
   26628 postlink_cmds=$lt_postlink_cmds
   26629 
   26630 # Specify filename containing input files.
   26631 file_list_spec=$lt_file_list_spec
   26632 
   26633 # How to hardcode a shared library path into an executable.
   26634 hardcode_action=$hardcode_action
   26635 
   26636 # ### END LIBTOOL CONFIG
   26637 
   26638 _LT_EOF
   26639 
   26640     cat <<'_LT_EOF' >> "$cfgfile"
   26641 
   26642 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   26643 
   26644 # func_munge_path_list VARIABLE PATH
   26645 # -----------------------------------
   26646 # VARIABLE is name of variable containing _space_ separated list of
   26647 # directories to be munged by the contents of PATH, which is string
   26648 # having a format:
   26649 # "DIR[:DIR]:"
   26650 #       string "DIR[ DIR]" will be prepended to VARIABLE
   26651 # ":DIR[:DIR]"
   26652 #       string "DIR[ DIR]" will be appended to VARIABLE
   26653 # "DIRP[:DIRP]::[DIRA:]DIRA"
   26654 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   26655 #       "DIRA[ DIRA]" will be appended to VARIABLE
   26656 # "DIR[:DIR]"
   26657 #       VARIABLE will be replaced by "DIR[ DIR]"
   26658 func_munge_path_list ()
   26659 {
   26660     case x$2 in
   26661     x)
   26662         ;;
   26663     *:)
   26664         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   26665         ;;
   26666     x:*)
   26667         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   26668         ;;
   26669     *::*)
   26670         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   26671         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   26672         ;;
   26673     *)
   26674         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   26675         ;;
   26676     esac
   26677 }
   26678 
   26679 
   26680 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   26681 func_cc_basename ()
   26682 {
   26683     for cc_temp in $*""; do
   26684       case $cc_temp in
   26685         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   26686         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   26687         \-*) ;;
   26688         *) break;;
   26689       esac
   26690     done
   26691     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   26692 }
   26693 
   26694 
   26695 # ### END FUNCTIONS SHARED WITH CONFIGURE
   26696 
   26697 _LT_EOF
   26698 
   26699   case $host_os in
   26700   aix3*)
   26701     cat <<\_LT_EOF >> "$cfgfile"
   26702 # AIX sometimes has problems with the GCC collect2 program.  For some
   26703 # reason, if we set the COLLECT_NAMES environment variable, the problems
   26704 # vanish in a puff of smoke.
   26705 if test set != "${COLLECT_NAMES+set}"; then
   26706   COLLECT_NAMES=
   26707   export COLLECT_NAMES
   26708 fi
   26709 _LT_EOF
   26710     ;;
   26711   esac
   26712 
   26713 
   26714 
   26715 ltmain=$ac_aux_dir/ltmain.sh
   26716 
   26717 
   26718   # We use sed instead of cat because bash on DJGPP gets confused if
   26719   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   26720   # text mode, it properly converts lines to CR/LF.  This bash problem
   26721   # is reportedly fixed, but why not run on old versions too?
   26722   $SED '$q' "$ltmain" >> "$cfgfile" \
   26723      || (rm -f "$cfgfile"; exit 1)
   26724 
   26725    mv -f "$cfgfile" "$ofile" ||
   26726     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   26727   chmod +x "$ofile"
   26728 
   26729 
   26730     cat <<_LT_EOF >> "$ofile"
   26731 
   26732 # ### BEGIN LIBTOOL TAG CONFIG: RC
   26733 
   26734 # The linker used to build libraries.
   26735 LD=$lt_LD_RC
   26736 
   26737 # How to create reloadable object files.
   26738 reload_flag=$lt_reload_flag_RC
   26739 reload_cmds=$lt_reload_cmds_RC
   26740 
   26741 # Commands used to build an old-style archive.
   26742 old_archive_cmds=$lt_old_archive_cmds_RC
   26743 
   26744 # A language specific compiler.
   26745 CC=$lt_compiler_RC
   26746 
   26747 # Is the compiler the GNU compiler?
   26748 with_gcc=$GCC_RC
   26749 
   26750 # Compiler flag to turn off builtin functions.
   26751 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   26752 
   26753 # Additional compiler flags for building library objects.
   26754 pic_flag=$lt_lt_prog_compiler_pic_RC
   26755 
   26756 # How to pass a linker flag through the compiler.
   26757 wl=$lt_lt_prog_compiler_wl_RC
   26758 
   26759 # Compiler flag to prevent dynamic linking.
   26760 link_static_flag=$lt_lt_prog_compiler_static_RC
   26761 
   26762 # Does compiler simultaneously support -c and -o options?
   26763 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   26764 
   26765 # Whether or not to add -lc for building shared libraries.
   26766 build_libtool_need_lc=$archive_cmds_need_lc_RC
   26767 
   26768 # Whether or not to disallow shared libs when runtime libs are static.
   26769 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   26770 
   26771 # Compiler flag to allow reflexive dlopens.
   26772 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   26773 
   26774 # Compiler flag to generate shared objects directly from archives.
   26775 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   26776 
   26777 # Whether the compiler copes with passing no objects directly.
   26778 compiler_needs_object=$lt_compiler_needs_object_RC
   26779 
   26780 # Create an old-style archive from a shared archive.
   26781 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   26782 
   26783 # Create a temporary old-style archive to link instead of a shared archive.
   26784 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   26785 
   26786 # Commands used to build a shared archive.
   26787 archive_cmds=$lt_archive_cmds_RC
   26788 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   26789 
   26790 # Commands used to build a loadable module if different from building
   26791 # a shared archive.
   26792 module_cmds=$lt_module_cmds_RC
   26793 module_expsym_cmds=$lt_module_expsym_cmds_RC
   26794 
   26795 # Whether we are building with GNU ld or not.
   26796 with_gnu_ld=$lt_with_gnu_ld_RC
   26797 
   26798 # Flag that allows shared libraries with undefined symbols to be built.
   26799 allow_undefined_flag=$lt_allow_undefined_flag_RC
   26800 
   26801 # Flag that enforces no undefined symbols.
   26802 no_undefined_flag=$lt_no_undefined_flag_RC
   26803 
   26804 # Flag to hardcode \$libdir into a binary during linking.
   26805 # This must work even if \$libdir does not exist
   26806 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   26807 
   26808 # Whether we need a single "-rpath" flag with a separated argument.
   26809 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   26810 
   26811 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   26812 # DIR into the resulting binary.
   26813 hardcode_direct=$hardcode_direct_RC
   26814 
   26815 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   26816 # DIR into the resulting binary and the resulting library dependency is
   26817 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   26818 # library is relocated.
   26819 hardcode_direct_absolute=$hardcode_direct_absolute_RC
   26820 
   26821 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   26822 # into the resulting binary.
   26823 hardcode_minus_L=$hardcode_minus_L_RC
   26824 
   26825 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   26826 # into the resulting binary.
   26827 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   26828 
   26829 # Set to "yes" if building a shared library automatically hardcodes DIR
   26830 # into the library and all subsequent libraries and executables linked
   26831 # against it.
   26832 hardcode_automatic=$hardcode_automatic_RC
   26833 
   26834 # Set to yes if linker adds runtime paths of dependent libraries
   26835 # to runtime path list.
   26836 inherit_rpath=$inherit_rpath_RC
   26837 
   26838 # Whether libtool must link a program against all its dependency libraries.
   26839 link_all_deplibs=$link_all_deplibs_RC
   26840 
   26841 # Set to "yes" if exported symbols are required.
   26842 always_export_symbols=$always_export_symbols_RC
   26843 
   26844 # The commands to list exported symbols.
   26845 export_symbols_cmds=$lt_export_symbols_cmds_RC
   26846 
   26847 # Symbols that should not be listed in the preloaded symbols.
   26848 exclude_expsyms=$lt_exclude_expsyms_RC
   26849 
   26850 # Symbols that must always be exported.
   26851 include_expsyms=$lt_include_expsyms_RC
   26852 
   26853 # Commands necessary for linking programs (against libraries) with templates.
   26854 prelink_cmds=$lt_prelink_cmds_RC
   26855 
   26856 # Commands necessary for finishing linking programs.
   26857 postlink_cmds=$lt_postlink_cmds_RC
   26858 
   26859 # Specify filename containing input files.
   26860 file_list_spec=$lt_file_list_spec_RC
   26861 
   26862 # How to hardcode a shared library path into an executable.
   26863 hardcode_action=$hardcode_action_RC
   26864 
   26865 # ### END LIBTOOL TAG CONFIG: RC
   26866 _LT_EOF
   26867 
   26868  ;;
   26869     "po-directories":C)
   26870     for ac_file in $CONFIG_FILES; do
   26871       # Support "outfile[:infile[:infile...]]"
   26872       case "$ac_file" in
   26873         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   26874       esac
   26875       # PO directories have a Makefile.in generated from Makefile.in.in.
   26876       case "$ac_file" in */Makefile.in)
   26877         # Adjust a relative srcdir.
   26878         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   26879         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
   26880         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   26881         # In autoconf-2.13 it is called $ac_given_srcdir.
   26882         # In autoconf-2.50 it is called $srcdir.
   26883         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   26884         case "$ac_given_srcdir" in
   26885           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   26886           /*) top_srcdir="$ac_given_srcdir" ;;
   26887           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   26888         esac
   26889         # Treat a directory as a PO directory if and only if it has a
   26890         # POTFILES.in file. This allows packages to have multiple PO
   26891         # directories under different names or in different locations.
   26892         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   26893           rm -f "$ac_dir/POTFILES"
   26894           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   26895           gt_tab=`printf '\t'`
   26896           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   26897           POMAKEFILEDEPS="POTFILES.in"
   26898           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
   26899           # on $ac_dir but don't depend on user-specified configuration
   26900           # parameters.
   26901           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   26902             # The LINGUAS file contains the set of available languages.
   26903             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   26904               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
   26905             fi
   26906             ALL_LINGUAS=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   26907             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   26908           else
   26909             # The set of available languages was given in configure.in.
   26910             ALL_LINGUAS=$OBSOLETE_ALL_LINGUAS
   26911           fi
   26912           # Compute POFILES
   26913           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
   26914           # Compute UPDATEPOFILES
   26915           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
   26916           # Compute DUMMYPOFILES
   26917           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
   26918           # Compute GMOFILES
   26919           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
   26920           case "$ac_given_srcdir" in
   26921             .) srcdirpre= ;;
   26922             *) srcdirpre='$(srcdir)/' ;;
   26923           esac
   26924           POFILES=
   26925           UPDATEPOFILES=
   26926           DUMMYPOFILES=
   26927           GMOFILES=
   26928           for lang in $ALL_LINGUAS; do
   26929             POFILES="$POFILES $srcdirpre$lang.po"
   26930             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   26931             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   26932             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   26933           done
   26934           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   26935           # environment variable.
   26936           INST_LINGUAS=
   26937           if test -n "$ALL_LINGUAS"; then
   26938             for presentlang in $ALL_LINGUAS; do
   26939               useit=no
   26940               if test "%UNSET%" != "$LINGUAS"; then
   26941                 desiredlanguages="$LINGUAS"
   26942               else
   26943                 desiredlanguages="$ALL_LINGUAS"
   26944               fi
   26945               for desiredlang in $desiredlanguages; do
   26946                 # Use the presentlang catalog if desiredlang is
   26947                 #   a. equal to presentlang, or
   26948                 #   b. a variant of presentlang (because in this case,
   26949                 #      presentlang can be used as a fallback for messages
   26950                 #      which are not translated in the desiredlang catalog).
   26951                 case "$desiredlang" in
   26952                   "$presentlang" | "$presentlang"_* | "$presentlang".* | "$presentlang"@*)
   26953                     useit=yes
   26954                     ;;
   26955                 esac
   26956               done
   26957               if test $useit = yes; then
   26958                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   26959               fi
   26960             done
   26961           fi
   26962           CATALOGS=
   26963           if test -n "$INST_LINGUAS"; then
   26964             for lang in $INST_LINGUAS; do
   26965               CATALOGS="$CATALOGS $lang.gmo"
   26966             done
   26967           fi
   26968           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   26969           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
   26970           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   26971             if test -f "$f"; then
   26972               case "$f" in
   26973                 *.orig | *.bak | *~) ;;
   26974                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   26975               esac
   26976             fi
   26977           done
   26978         fi
   26979         ;;
   26980       esac
   26981     done ;;
   26982     "src/scripts/xzdiff":F) chmod +x src/scripts/xzdiff ;;
   26983     "src/scripts/xzgrep":F) chmod +x src/scripts/xzgrep ;;
   26984     "src/scripts/xzmore":F) chmod +x src/scripts/xzmore ;;
   26985     "src/scripts/xzless":F) chmod +x src/scripts/xzless ;;
   26986 
   26987   esac
   26988 done # for ac_tag
   26989 
   26990 
   26991 as_fn_exit 0
   26992 _ACEOF
   26993 ac_clean_CONFIG_STATUS=
   26994 
   26995 test $ac_write_fail = 0 ||
   26996   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   26997 
   26998 
   26999 # configure is writing to config.log, and then calls config.status.
   27000 # config.status does its own redirection, appending to config.log.
   27001 # Unfortunately, on DOS this fails, as config.log is still kept open
   27002 # by configure, so config.status won't be able to write to it; its
   27003 # output is simply discarded.  So we exec the FD to /dev/null,
   27004 # effectively closing config.log, so it can be properly (re)opened and
   27005 # appended to by config.status.  When coming back to configure, we
   27006 # need to make the FD available again.
   27007 if test "$no_create" != yes; then
   27008   ac_cs_success=:
   27009   case $CONFIG_STATUS in #(
   27010   -*) :
   27011     ac_no_opts=-- ;; #(
   27012   *) :
   27013     ac_no_opts= ;;
   27014 esac
   27015   ac_config_status_args=
   27016   test "$silent" = yes &&
   27017     ac_config_status_args="$ac_config_status_args --quiet"
   27018   exec 5>/dev/null
   27019   $SHELL $ac_no_opts "$CONFIG_STATUS" $ac_config_status_args ||
   27020     ac_cs_success=false
   27021   exec 5>>config.log
   27022   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   27023   # would make configure fail if this is the last instruction.
   27024   $ac_cs_success || as_fn_exit 1
   27025 fi
   27026 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   27027   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   27028 printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   27029 fi
   27030 
   27031 
   27032 # Some warnings
   27033 if test x$tuklib_cv_physmem_method = xunknown; then
   27034 	echo
   27035 	echo "WARNING:"
   27036 	echo "No supported method to detect the amount of RAM."
   27037 	echo "Consider using --enable-assume-ram (if you didn't already)"
   27038 	echo "or make a patch to add support for this operating system."
   27039 fi
   27040 
   27041 if test x$tuklib_cv_cpucores_method = xunknown; then
   27042 	echo
   27043 	echo "WARNING:"
   27044 	echo "No supported method to detect the number of CPU cores."
   27045 fi
   27046 
   27047 if test "x$enable_threads$enable_small$have_func_attribute_constructor" \
   27048 		= xnoyesno; then
   27049 	echo
   27050 	echo "NOTE:"
   27051 	echo "liblzma will be thread-unsafe due to the combination"
   27052 	echo "of --disable-threads --enable-small when using a compiler"
   27053 	echo "that doesn't support __attribute__((__constructor__))."
   27054 fi
   27055 
   27056