Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for expat 2.8.5.
      4 #
      5 # Report bugs to <https://github.com/libexpat/libexpat/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     21 then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else case e in #(
     29   e) case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed 'exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    144 then :
    145   emulate sh
    146   NULLCMD=:
    147   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    148   # is contrary to our usage.  Disable this feature.
    149   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    150   setopt NO_GLOB_SUBST
    151 else case e in #(
    152   e) case \`(set -o) 2>/dev/null\` in #(
    153   *posix*) :
    154     set -o posix ;; #(
    155   *) :
    156      ;;
    157 esac ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else case e in #(
    176   e) exitcode=1; echo positional parameters were not saved. ;;
    177 esac
    178 fi
    179 test x\$exitcode = x0 || exit 1
    180 blah=\$(echo \$(echo blah))
    181 test x\"\$blah\" = xblah || exit 1
    182 test -x / || exit 1"
    183   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    184   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    185   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    186   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    187 
    188   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    189     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    192     PATH=/empty FPATH=/empty; export PATH FPATH
    193     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    194       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    195 test \$(( 1 + 1 )) = 2 || exit 1"
    196   if (eval "$as_required") 2>/dev/null
    197 then :
    198   as_have_required=yes
    199 else case e in #(
    200   e) as_have_required=no ;;
    201 esac
    202 fi
    203   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    204 then :
    205 
    206 else case e in #(
    207   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    208 as_found=false
    209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    210 do
    211   IFS=$as_save_IFS
    212   case $as_dir in #(((
    213     '') as_dir=./ ;;
    214     */) ;;
    215     *) as_dir=$as_dir/ ;;
    216   esac
    217   as_found=:
    218   case $as_dir in #(
    219 	 /*)
    220 	   for as_base in sh bash ksh sh5; do
    221 	     # Try only shells that exist, to save several forks.
    222 	     as_shell=$as_dir$as_base
    223 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    224 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    225 then :
    226   CONFIG_SHELL=$as_shell as_have_required=yes
    227 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    228 then :
    229   break 2
    230 fi
    231 fi
    232 	   done;;
    233        esac
    234   as_found=false
    235 done
    236 IFS=$as_save_IFS
    237 if $as_found
    238 then :
    239 
    240 else case e in #(
    241   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    243 then :
    244   CONFIG_SHELL=$SHELL as_have_required=yes
    245 fi ;;
    246 esac
    247 fi
    248 
    249 
    250       if test "x$CONFIG_SHELL" != x
    251 then :
    252   export CONFIG_SHELL
    253              # We cannot yet assume a decent shell, so we have to provide a
    254 # neutralization value for shells without unset; and this also
    255 # works around shells that cannot unset nonexistent variables.
    256 # Preserve -v and -x to the replacement shell.
    257 BASH_ENV=/dev/null
    258 ENV=/dev/null
    259 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    260 case $- in # ((((
    261   *v*x* | *x*v* ) as_opts=-vx ;;
    262   *v* ) as_opts=-v ;;
    263   *x* ) as_opts=-x ;;
    264   * ) as_opts= ;;
    265 esac
    266 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    267 # Admittedly, this is quite paranoid, since all the known shells bail
    268 # out after a failed 'exec'.
    269 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    270 exit 255
    271 fi
    272 
    273     if test x$as_have_required = xno
    274 then :
    275   printf "%s\n" "$0: This script requires a shell more modern than all"
    276   printf "%s\n" "$0: the shells that I found on your system."
    277   if test ${ZSH_VERSION+y} ; then
    278     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    279     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    280   else
    281     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    282 $0: https://github.com/libexpat/libexpat/issues about your
    283 $0: system, including any error possibly output before this
    284 $0: message. Then install a modern shell, or manually run
    285 $0: the script under such a shell if you do have one."
    286   fi
    287   exit 1
    288 fi ;;
    289 esac
    290 fi
    291 fi
    292 SHELL=${CONFIG_SHELL-/bin/sh}
    293 export SHELL
    294 # Unset more variables known to interfere with behavior of common tools.
    295 CLICOLOR_FORCE= GREP_OPTIONS=
    296 unset CLICOLOR_FORCE GREP_OPTIONS
    297 
    298 ## --------------------- ##
    299 ## M4sh Shell Functions. ##
    300 ## --------------------- ##
    301 # as_fn_unset VAR
    302 # ---------------
    303 # Portably unset VAR.
    304 as_fn_unset ()
    305 {
    306   { eval $1=; unset $1;}
    307 }
    308 as_unset=as_fn_unset
    309 
    310 
    311 # as_fn_set_status STATUS
    312 # -----------------------
    313 # Set $? to STATUS, without forking.
    314 as_fn_set_status ()
    315 {
    316   return $1
    317 } # as_fn_set_status
    318 
    319 # as_fn_exit STATUS
    320 # -----------------
    321 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    322 as_fn_exit ()
    323 {
    324   set +e
    325   as_fn_set_status $1
    326   exit $1
    327 } # as_fn_exit
    328 
    329 # as_fn_mkdir_p
    330 # -------------
    331 # Create "$as_dir" as a directory, including parents if necessary.
    332 as_fn_mkdir_p ()
    333 {
    334 
    335   case $as_dir in #(
    336   -*) as_dir=./$as_dir;;
    337   esac
    338   test -d "$as_dir" || eval $as_mkdir_p || {
    339     as_dirs=
    340     while :; do
    341       case $as_dir in #(
    342       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    343       *) as_qdir=$as_dir;;
    344       esac
    345       as_dirs="'$as_qdir' $as_dirs"
    346       as_dir=`$as_dirname -- "$as_dir" ||
    347 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    348 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    349 	 X"$as_dir" : 'X\(//\)$' \| \
    350 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    351 printf "%s\n" X"$as_dir" |
    352     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    353 	    s//\1/
    354 	    q
    355 	  }
    356 	  /^X\(\/\/\)[^/].*/{
    357 	    s//\1/
    358 	    q
    359 	  }
    360 	  /^X\(\/\/\)$/{
    361 	    s//\1/
    362 	    q
    363 	  }
    364 	  /^X\(\/\).*/{
    365 	    s//\1/
    366 	    q
    367 	  }
    368 	  s/.*/./; q'`
    369       test -d "$as_dir" && break
    370     done
    371     test -z "$as_dirs" || eval "mkdir $as_dirs"
    372   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    373 
    374 
    375 } # as_fn_mkdir_p
    376 
    377 # as_fn_executable_p FILE
    378 # -----------------------
    379 # Test if FILE is an executable regular file.
    380 as_fn_executable_p ()
    381 {
    382   test -f "$1" && test -x "$1"
    383 } # as_fn_executable_p
    384 # as_fn_append VAR VALUE
    385 # ----------------------
    386 # Append the text in VALUE to the end of the definition contained in VAR. Take
    387 # advantage of any shell optimizations that allow amortized linear growth over
    388 # repeated appends, instead of the typical quadratic growth present in naive
    389 # implementations.
    390 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    391 then :
    392   eval 'as_fn_append ()
    393   {
    394     eval $1+=\$2
    395   }'
    396 else case e in #(
    397   e) as_fn_append ()
    398   {
    399     eval $1=\$$1\$2
    400   } ;;
    401 esac
    402 fi # as_fn_append
    403 
    404 # as_fn_arith ARG...
    405 # ------------------
    406 # Perform arithmetic evaluation on the ARGs, and store the result in the
    407 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    408 # must be portable across $(()) and expr.
    409 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    410 then :
    411   eval 'as_fn_arith ()
    412   {
    413     as_val=$(( $* ))
    414   }'
    415 else case e in #(
    416   e) as_fn_arith ()
    417   {
    418     as_val=`expr "$@" || test $? -eq 1`
    419   } ;;
    420 esac
    421 fi # as_fn_arith
    422 
    423 
    424 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    425 # ----------------------------------------
    426 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    427 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    428 # script with STATUS, using 1 if that was 0.
    429 as_fn_error ()
    430 {
    431   as_status=$1; test $as_status -eq 0 && as_status=1
    432   if test "$4"; then
    433     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    434     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    435   fi
    436   printf "%s\n" "$as_me: error: $2" >&2
    437   as_fn_exit $as_status
    438 } # as_fn_error
    439 
    440 if expr a : '\(a\)' >/dev/null 2>&1 &&
    441    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    442   as_expr=expr
    443 else
    444   as_expr=false
    445 fi
    446 
    447 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    448   as_basename=basename
    449 else
    450   as_basename=false
    451 fi
    452 
    453 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    454   as_dirname=dirname
    455 else
    456   as_dirname=false
    457 fi
    458 
    459 as_me=`$as_basename -- "$0" ||
    460 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    461 	 X"$0" : 'X\(//\)$' \| \
    462 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    463 printf "%s\n" X/"$0" |
    464     sed '/^.*\/\([^/][^/]*\)\/*$/{
    465 	    s//\1/
    466 	    q
    467 	  }
    468 	  /^X\/\(\/\/\)$/{
    469 	    s//\1/
    470 	    q
    471 	  }
    472 	  /^X\/\(\/\).*/{
    473 	    s//\1/
    474 	    q
    475 	  }
    476 	  s/.*/./; q'`
    477 
    478 # Avoid depending upon Character Ranges.
    479 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    480 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    481 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    482 as_cr_digits='0123456789'
    483 as_cr_alnum=$as_cr_Letters$as_cr_digits
    484 
    485 
    486   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    487   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    488   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    489   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    490   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    491   sed -n '
    492     p
    493     /[$]LINENO/=
    494   ' <$as_myself |
    495     sed '
    496       t clear
    497       :clear
    498       s/[$]LINENO.*/&-/
    499       t lineno
    500       b
    501       :lineno
    502       N
    503       :loop
    504       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    505       t loop
    506       s/-\n.*//
    507     ' >$as_me.lineno &&
    508   chmod +x "$as_me.lineno" ||
    509     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    510 
    511   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    512   # already done that, so ensure we don't try to do so again and fall
    513   # in an infinite loop.  This has already happened in practice.
    514   _as_can_reexec=no; export _as_can_reexec
    515   # Don't try to exec as it changes $[0], causing all sort of problems
    516   # (the dirname of $[0] is not the place where we might find the
    517   # original and so on.  Autoconf is especially sensitive to this).
    518   . "./$as_me.lineno"
    519   # Exit status is that of the last command.
    520   exit
    521 }
    522 
    523 
    524 # Determine whether it's possible to make 'echo' print without a newline.
    525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    526 # for compatibility with existing Makefiles.
    527 ECHO_C= ECHO_N= ECHO_T=
    528 case `echo -n x` in #(((((
    529 -n*)
    530   case `echo 'xy\c'` in
    531   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    532   xy)  ECHO_C='\c';;
    533   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    534        ECHO_T='	';;
    535   esac;;
    536 *)
    537   ECHO_N='-n';;
    538 esac
    539 
    540 # For backward compatibility with old third-party macros, we provide
    541 # the shell variables $as_echo and $as_echo_n.  New code should use
    542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    543 as_echo='printf %s\n'
    544 as_echo_n='printf %s'
    545 
    546 rm -f conf$$ conf$$.exe conf$$.file
    547 if test -d conf$$.dir; then
    548   rm -f conf$$.dir/conf$$.file
    549 else
    550   rm -f conf$$.dir
    551   mkdir conf$$.dir 2>/dev/null
    552 fi
    553 if (echo >conf$$.file) 2>/dev/null; then
    554   if ln -s conf$$.file conf$$ 2>/dev/null; then
    555     as_ln_s='ln -s'
    556     # ... but there are two gotchas:
    557     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    558     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    559     # In both cases, we have to default to 'cp -pR'.
    560     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    561       as_ln_s='cp -pR'
    562   elif ln conf$$.file conf$$ 2>/dev/null; then
    563     as_ln_s=ln
    564   else
    565     as_ln_s='cp -pR'
    566   fi
    567 else
    568   as_ln_s='cp -pR'
    569 fi
    570 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    571 rmdir conf$$.dir 2>/dev/null
    572 
    573 if mkdir -p . 2>/dev/null; then
    574   as_mkdir_p='mkdir -p "$as_dir"'
    575 else
    576   test -d ./-p && rmdir ./-p
    577   as_mkdir_p=false
    578 fi
    579 
    580 as_test_x='test -x'
    581 as_executable_p=as_fn_executable_p
    582 
    583 # Sed expression to map a string onto a valid CPP name.
    584 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    585 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    586 
    587 # Sed expression to map a string onto a valid variable name.
    588 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    589 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    590 
    591 SHELL=${CONFIG_SHELL-/bin/sh}
    592 
    593 
    594 test -n "$DJDIR" || exec 7<&0 </dev/null
    595 exec 6>&1
    596 
    597 # Name of the host.
    598 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    599 # so uname gets run too.
    600 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    601 
    602 #
    603 # Initializations.
    604 #
    605 ac_default_prefix=/usr/local
    606 ac_clean_files=
    607 ac_config_libobj_dir=.
    608 LIBOBJS=
    609 cross_compiling=no
    610 subdirs=
    611 MFLAGS=
    612 MAKEFLAGS=
    613 
    614 # Identity of this package.
    615 PACKAGE_NAME='expat'
    616 PACKAGE_TARNAME='expat'
    617 PACKAGE_VERSION='2.8.5'
    618 PACKAGE_STRING='expat 2.8.5'
    619 PACKAGE_BUGREPORT='https://github.com/libexpat/libexpat/issues'
    620 PACKAGE_URL=''
    621 
    622 ac_unique_file="Makefile.in"
    623 # Factoring default headers for most tests.
    624 ac_includes_default="\
    625 #include <stddef.h>
    626 #ifdef HAVE_STDIO_H
    627 # include <stdio.h>
    628 #endif
    629 #ifdef HAVE_STDLIB_H
    630 # include <stdlib.h>
    631 #endif
    632 #ifdef HAVE_STRING_H
    633 # include <string.h>
    634 #endif
    635 #ifdef HAVE_INTTYPES_H
    636 # include <inttypes.h>
    637 #endif
    638 #ifdef HAVE_STDINT_H
    639 # include <stdint.h>
    640 #endif
    641 #ifdef HAVE_STRINGS_H
    642 # include <strings.h>
    643 #endif
    644 #ifdef HAVE_SYS_TYPES_H
    645 # include <sys/types.h>
    646 #endif
    647 #ifdef HAVE_SYS_STAT_H
    648 # include <sys/stat.h>
    649 #endif
    650 #ifdef HAVE_UNISTD_H
    651 # include <unistd.h>
    652 #endif"
    653 
    654 ac_header_c_list=
    655 ac_func_c_list=
    656 ac_subst_vars='am__EXEEXT_FALSE
    657 am__EXEEXT_TRUE
    658 LTLIBOBJS
    659 LIBOBJS
    660 CMAKE_SHARED_LIBRARY_PREFIX
    661 AM_LDFLAGS
    662 AM_CXXFLAGS
    663 AM_CFLAGS
    664 AM_CPPFLAGS
    665 SIZEOF_VOID_P
    666 SO_PATCH
    667 SO_MINOR
    668 SO_MAJOR
    669 LIBDIR_BASENAME
    670 EXPAT_CHAR_TYPE
    671 EXPAT_CONTEXT_BYTES
    672 EXPAT_NS
    673 EXPAT_MIN_SIZE
    674 EXPAT_LARGE_SIZE
    675 EXPAT_DTD
    676 EXPAT_ATTR_INFO
    677 _EXPAT_COMMENT_DTD_OR_GE
    678 _EXPAT_COMMENT_ATTR_INFO
    679 WITH_DISTRIBUTABLE_MANPAGE_FALSE
    680 WITH_DISTRIBUTABLE_MANPAGE_TRUE
    681 WITH_PREBUILT_MANPAGE_FALSE
    682 WITH_PREBUILT_MANPAGE_TRUE
    683 WITH_MANPAGE_FALSE
    684 WITH_MANPAGE_TRUE
    685 DOCBOOK_TO_MAN
    686 FILEMAP
    687 WITH_EITHER_GETRANDOM_FALSE
    688 WITH_EITHER_GETRANDOM_TRUE
    689 WITH_GETENTROPY_FALSE
    690 WITH_GETENTROPY_TRUE
    691 WITH_ARC4RANDOM_BUF_FALSE
    692 WITH_ARC4RANDOM_BUF_TRUE
    693 WITH_ARC4RANDOM_FALSE
    694 WITH_ARC4RANDOM_TRUE
    695 LIBM
    696 _INTERNAL_LARGE_SIZE_FALSE
    697 _INTERNAL_LARGE_SIZE_TRUE
    698 _INTERNAL_MIN_SIZE_FALSE
    699 _INTERNAL_MIN_SIZE_TRUE
    700 _INTERNAL_UNICODE_WCHAR_T_FALSE
    701 _INTERNAL_UNICODE_WCHAR_T_TRUE
    702 UNICODE_FALSE
    703 UNICODE_TRUE
    704 MINGW_FALSE
    705 MINGW_TRUE
    706 HAVE_CXX11
    707 WITH_TESTS_FALSE
    708 WITH_TESTS_TRUE
    709 WITH_EXAMPLES_FALSE
    710 WITH_EXAMPLES_TRUE
    711 WITH_XMLWF_FALSE
    712 WITH_XMLWF_TRUE
    713 HAVE_VSCRIPT_FALSE
    714 HAVE_VSCRIPT_TRUE
    715 VSCRIPT_LDFLAGS
    716 CXXCPP
    717 am__fastdepCXX_FALSE
    718 am__fastdepCXX_TRUE
    719 CXXDEPMODE
    720 ac_ct_CXX
    721 CXXFLAGS
    722 CXX
    723 LIBAGE
    724 LIBREVISION
    725 LIBCURRENT
    726 LT_SYS_LIBRARY_PATH
    727 OTOOL64
    728 OTOOL
    729 LIPO
    730 NMEDIT
    731 DSYMUTIL
    732 MANIFEST_TOOL
    733 RANLIB
    734 FILECMD
    735 LN_S
    736 NM
    737 ac_ct_DUMPBIN
    738 DUMPBIN
    739 LD
    740 FGREP
    741 EGREP
    742 GREP
    743 SED
    744 LIBTOOL
    745 OBJDUMP
    746 DLLTOOL
    747 AS
    748 am__fastdepCC_FALSE
    749 am__fastdepCC_TRUE
    750 CCDEPMODE
    751 am__nodep
    752 AMDEPBACKSLASH
    753 AMDEP_FALSE
    754 AMDEP_TRUE
    755 am__include
    756 DEPDIR
    757 OBJEXT
    758 EXEEXT
    759 ac_ct_CC
    760 CPPFLAGS
    761 LDFLAGS
    762 CFLAGS
    763 CC
    764 ac_ct_AR
    765 AR
    766 MAINT
    767 MAINTAINER_MODE_FALSE
    768 MAINTAINER_MODE_TRUE
    769 am__xargs_n
    770 am__rm_f_notfound
    771 AM_BACKSLASH
    772 AM_DEFAULT_VERBOSITY
    773 AM_DEFAULT_V
    774 AM_V
    775 CSCOPE
    776 ETAGS
    777 CTAGS
    778 am__tar_ignore_stderr
    779 am__untar
    780 am__tar
    781 AMTAR
    782 am__leading_dot
    783 SET_MAKE
    784 AWK
    785 mkdir_p
    786 MKDIR_P
    787 INSTALL_STRIP_PROGRAM
    788 STRIP
    789 install_sh
    790 MAKEINFO
    791 AUTOHEADER
    792 AUTOMAKE
    793 AUTOCONF
    794 ACLOCAL
    795 VERSION
    796 PACKAGE
    797 CYGPATH_W
    798 am__isrc
    799 INSTALL_DATA
    800 INSTALL_SCRIPT
    801 INSTALL_PROGRAM
    802 host_os
    803 host_vendor
    804 host_cpu
    805 host
    806 build_os
    807 build_vendor
    808 build_cpu
    809 build
    810 target_alias
    811 host_alias
    812 build_alias
    813 LIBS
    814 ECHO_T
    815 ECHO_N
    816 ECHO_C
    817 DEFS
    818 mandir
    819 localedir
    820 libdir
    821 psdir
    822 pdfdir
    823 dvidir
    824 htmldir
    825 infodir
    826 docdir
    827 oldincludedir
    828 includedir
    829 runstatedir
    830 localstatedir
    831 sharedstatedir
    832 sysconfdir
    833 datadir
    834 datarootdir
    835 libexecdir
    836 sbindir
    837 bindir
    838 program_transform_name
    839 prefix
    840 exec_prefix
    841 PACKAGE_URL
    842 PACKAGE_BUGREPORT
    843 PACKAGE_STRING
    844 PACKAGE_VERSION
    845 PACKAGE_TARNAME
    846 PACKAGE_NAME
    847 PATH_SEPARATOR
    848 SHELL
    849 am__quote'
    850 ac_subst_files='PACKAGE_INIT'
    851 ac_user_opts='
    852 enable_option_checking
    853 enable_silent_rules
    854 enable_maintainer_mode
    855 enable_dependency_tracking
    856 enable_shared
    857 enable_static
    858 enable_pic
    859 with_pic
    860 enable_cxx_stdlib
    861 enable_fast_install
    862 enable_aix_soname
    863 with_aix_soname
    864 with_gnu_ld
    865 with_sysroot
    866 enable_libtool_lock
    867 enable_symbol_versioning
    868 with_xmlwf
    869 with_examples
    870 with_tests
    871 with_arc4random
    872 with_arc4random_buf
    873 with_getentropy
    874 with_getrandom
    875 with_sys_getrandom
    876 with_dev_urandom
    877 enable_xml_attr_info
    878 enable_xml_context
    879 with_docbook
    880 '
    881       ac_precious_vars='build_alias
    882 host_alias
    883 target_alias
    884 CC
    885 CFLAGS
    886 LDFLAGS
    887 LIBS
    888 CPPFLAGS
    889 LT_SYS_LIBRARY_PATH
    890 CXX
    891 CXXFLAGS
    892 CCC
    893 CXXCPP
    894 DOCBOOK_TO_MAN'
    895 
    896 
    897 # Initialize some variables set by options.
    898 ac_init_help=
    899 ac_init_version=false
    900 ac_unrecognized_opts=
    901 ac_unrecognized_sep=
    902 # The variables have the same names as the options, with
    903 # dashes changed to underlines.
    904 cache_file=/dev/null
    905 exec_prefix=NONE
    906 no_create=
    907 no_recursion=
    908 prefix=NONE
    909 program_prefix=NONE
    910 program_suffix=NONE
    911 program_transform_name=s,x,x,
    912 silent=
    913 site=
    914 srcdir=
    915 verbose=
    916 x_includes=NONE
    917 x_libraries=NONE
    918 
    919 # Installation directory options.
    920 # These are left unexpanded so users can "make install exec_prefix=/foo"
    921 # and all the variables that are supposed to be based on exec_prefix
    922 # by default will actually change.
    923 # Use braces instead of parens because sh, perl, etc. also accept them.
    924 # (The list follows the same order as the GNU Coding Standards.)
    925 bindir='${exec_prefix}/bin'
    926 sbindir='${exec_prefix}/sbin'
    927 libexecdir='${exec_prefix}/libexec'
    928 datarootdir='${prefix}/share'
    929 datadir='${datarootdir}'
    930 sysconfdir='${prefix}/etc'
    931 sharedstatedir='${prefix}/com'
    932 localstatedir='${prefix}/var'
    933 runstatedir='${localstatedir}/run'
    934 includedir='${prefix}/include'
    935 oldincludedir='/usr/include'
    936 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    937 infodir='${datarootdir}/info'
    938 htmldir='${docdir}'
    939 dvidir='${docdir}'
    940 pdfdir='${docdir}'
    941 psdir='${docdir}'
    942 libdir='${exec_prefix}/lib'
    943 localedir='${datarootdir}/locale'
    944 mandir='${datarootdir}/man'
    945 
    946 ac_prev=
    947 ac_dashdash=
    948 for ac_option
    949 do
    950   # If the previous option needs an argument, assign it.
    951   if test -n "$ac_prev"; then
    952     eval $ac_prev=\$ac_option
    953     ac_prev=
    954     continue
    955   fi
    956 
    957   case $ac_option in
    958   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    959   *=)   ac_optarg= ;;
    960   *)    ac_optarg=yes ;;
    961   esac
    962 
    963   case $ac_dashdash$ac_option in
    964   --)
    965     ac_dashdash=yes ;;
    966 
    967   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    968     ac_prev=bindir ;;
    969   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    970     bindir=$ac_optarg ;;
    971 
    972   -build | --build | --buil | --bui | --bu)
    973     ac_prev=build_alias ;;
    974   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    975     build_alias=$ac_optarg ;;
    976 
    977   -cache-file | --cache-file | --cache-fil | --cache-fi \
    978   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    979     ac_prev=cache_file ;;
    980   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    981   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    982     cache_file=$ac_optarg ;;
    983 
    984   --config-cache | -C)
    985     cache_file=config.cache ;;
    986 
    987   -datadir | --datadir | --datadi | --datad)
    988     ac_prev=datadir ;;
    989   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    990     datadir=$ac_optarg ;;
    991 
    992   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    993   | --dataroo | --dataro | --datar)
    994     ac_prev=datarootdir ;;
    995   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    996   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    997     datarootdir=$ac_optarg ;;
    998 
    999   -disable-* | --disable-*)
   1000     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1001     # Reject names that are not valid shell variable names.
   1002     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1003       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1004     ac_useropt_orig=$ac_useropt
   1005     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1006     case $ac_user_opts in
   1007       *"
   1008 "enable_$ac_useropt"
   1009 "*) ;;
   1010       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1011 	 ac_unrecognized_sep=', ';;
   1012     esac
   1013     eval enable_$ac_useropt=no ;;
   1014 
   1015   -docdir | --docdir | --docdi | --doc | --do)
   1016     ac_prev=docdir ;;
   1017   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1018     docdir=$ac_optarg ;;
   1019 
   1020   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1021     ac_prev=dvidir ;;
   1022   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1023     dvidir=$ac_optarg ;;
   1024 
   1025   -enable-* | --enable-*)
   1026     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1027     # Reject names that are not valid shell variable names.
   1028     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1029       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1030     ac_useropt_orig=$ac_useropt
   1031     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1032     case $ac_user_opts in
   1033       *"
   1034 "enable_$ac_useropt"
   1035 "*) ;;
   1036       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1037 	 ac_unrecognized_sep=', ';;
   1038     esac
   1039     eval enable_$ac_useropt=\$ac_optarg ;;
   1040 
   1041   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1042   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1043   | --exec | --exe | --ex)
   1044     ac_prev=exec_prefix ;;
   1045   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1046   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1047   | --exec=* | --exe=* | --ex=*)
   1048     exec_prefix=$ac_optarg ;;
   1049 
   1050   -gas | --gas | --ga | --g)
   1051     # Obsolete; use --with-gas.
   1052     with_gas=yes ;;
   1053 
   1054   -help | --help | --hel | --he | -h)
   1055     ac_init_help=long ;;
   1056   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1057     ac_init_help=recursive ;;
   1058   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1059     ac_init_help=short ;;
   1060 
   1061   -host | --host | --hos | --ho)
   1062     ac_prev=host_alias ;;
   1063   -host=* | --host=* | --hos=* | --ho=*)
   1064     host_alias=$ac_optarg ;;
   1065 
   1066   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1067     ac_prev=htmldir ;;
   1068   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1069   | --ht=*)
   1070     htmldir=$ac_optarg ;;
   1071 
   1072   -includedir | --includedir | --includedi | --included | --include \
   1073   | --includ | --inclu | --incl | --inc)
   1074     ac_prev=includedir ;;
   1075   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1076   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1077     includedir=$ac_optarg ;;
   1078 
   1079   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1080     ac_prev=infodir ;;
   1081   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1082     infodir=$ac_optarg ;;
   1083 
   1084   -libdir | --libdir | --libdi | --libd)
   1085     ac_prev=libdir ;;
   1086   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1087     libdir=$ac_optarg ;;
   1088 
   1089   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1090   | --libexe | --libex | --libe)
   1091     ac_prev=libexecdir ;;
   1092   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1093   | --libexe=* | --libex=* | --libe=*)
   1094     libexecdir=$ac_optarg ;;
   1095 
   1096   -localedir | --localedir | --localedi | --localed | --locale)
   1097     ac_prev=localedir ;;
   1098   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1099     localedir=$ac_optarg ;;
   1100 
   1101   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1102   | --localstate | --localstat | --localsta | --localst | --locals)
   1103     ac_prev=localstatedir ;;
   1104   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1105   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1106     localstatedir=$ac_optarg ;;
   1107 
   1108   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1109     ac_prev=mandir ;;
   1110   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1111     mandir=$ac_optarg ;;
   1112 
   1113   -nfp | --nfp | --nf)
   1114     # Obsolete; use --without-fp.
   1115     with_fp=no ;;
   1116 
   1117   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1118   | --no-cr | --no-c | -n)
   1119     no_create=yes ;;
   1120 
   1121   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1122   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1123     no_recursion=yes ;;
   1124 
   1125   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1126   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1127   | --oldin | --oldi | --old | --ol | --o)
   1128     ac_prev=oldincludedir ;;
   1129   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1130   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1131   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1132     oldincludedir=$ac_optarg ;;
   1133 
   1134   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1135     ac_prev=prefix ;;
   1136   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1137     prefix=$ac_optarg ;;
   1138 
   1139   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1140   | --program-pre | --program-pr | --program-p)
   1141     ac_prev=program_prefix ;;
   1142   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1143   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1144     program_prefix=$ac_optarg ;;
   1145 
   1146   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1147   | --program-suf | --program-su | --program-s)
   1148     ac_prev=program_suffix ;;
   1149   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1150   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1151     program_suffix=$ac_optarg ;;
   1152 
   1153   -program-transform-name | --program-transform-name \
   1154   | --program-transform-nam | --program-transform-na \
   1155   | --program-transform-n | --program-transform- \
   1156   | --program-transform | --program-transfor \
   1157   | --program-transfo | --program-transf \
   1158   | --program-trans | --program-tran \
   1159   | --progr-tra | --program-tr | --program-t)
   1160     ac_prev=program_transform_name ;;
   1161   -program-transform-name=* | --program-transform-name=* \
   1162   | --program-transform-nam=* | --program-transform-na=* \
   1163   | --program-transform-n=* | --program-transform-=* \
   1164   | --program-transform=* | --program-transfor=* \
   1165   | --program-transfo=* | --program-transf=* \
   1166   | --program-trans=* | --program-tran=* \
   1167   | --progr-tra=* | --program-tr=* | --program-t=*)
   1168     program_transform_name=$ac_optarg ;;
   1169 
   1170   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1171     ac_prev=pdfdir ;;
   1172   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1173     pdfdir=$ac_optarg ;;
   1174 
   1175   -psdir | --psdir | --psdi | --psd | --ps)
   1176     ac_prev=psdir ;;
   1177   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1178     psdir=$ac_optarg ;;
   1179 
   1180   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1181   | -silent | --silent | --silen | --sile | --sil)
   1182     silent=yes ;;
   1183 
   1184   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1185   | --runstate | --runstat | --runsta | --runst | --runs \
   1186   | --run | --ru | --r)
   1187     ac_prev=runstatedir ;;
   1188   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1189   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1190   | --run=* | --ru=* | --r=*)
   1191     runstatedir=$ac_optarg ;;
   1192 
   1193   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1194     ac_prev=sbindir ;;
   1195   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1196   | --sbi=* | --sb=*)
   1197     sbindir=$ac_optarg ;;
   1198 
   1199   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1200   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1201   | --sharedst | --shareds | --shared | --share | --shar \
   1202   | --sha | --sh)
   1203     ac_prev=sharedstatedir ;;
   1204   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1205   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1206   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1207   | --sha=* | --sh=*)
   1208     sharedstatedir=$ac_optarg ;;
   1209 
   1210   -site | --site | --sit)
   1211     ac_prev=site ;;
   1212   -site=* | --site=* | --sit=*)
   1213     site=$ac_optarg ;;
   1214 
   1215   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1216     ac_prev=srcdir ;;
   1217   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1218     srcdir=$ac_optarg ;;
   1219 
   1220   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1221   | --syscon | --sysco | --sysc | --sys | --sy)
   1222     ac_prev=sysconfdir ;;
   1223   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1224   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1225     sysconfdir=$ac_optarg ;;
   1226 
   1227   -target | --target | --targe | --targ | --tar | --ta | --t)
   1228     ac_prev=target_alias ;;
   1229   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1230     target_alias=$ac_optarg ;;
   1231 
   1232   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1233     verbose=yes ;;
   1234 
   1235   -version | --version | --versio | --versi | --vers | -V)
   1236     ac_init_version=: ;;
   1237 
   1238   -with-* | --with-*)
   1239     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1240     # Reject names that are not valid shell variable names.
   1241     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1242       as_fn_error $? "invalid package name: '$ac_useropt'"
   1243     ac_useropt_orig=$ac_useropt
   1244     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1245     case $ac_user_opts in
   1246       *"
   1247 "with_$ac_useropt"
   1248 "*) ;;
   1249       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1250 	 ac_unrecognized_sep=', ';;
   1251     esac
   1252     eval with_$ac_useropt=\$ac_optarg ;;
   1253 
   1254   -without-* | --without-*)
   1255     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1256     # Reject names that are not valid shell variable names.
   1257     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1258       as_fn_error $? "invalid package name: '$ac_useropt'"
   1259     ac_useropt_orig=$ac_useropt
   1260     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1261     case $ac_user_opts in
   1262       *"
   1263 "with_$ac_useropt"
   1264 "*) ;;
   1265       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1266 	 ac_unrecognized_sep=', ';;
   1267     esac
   1268     eval with_$ac_useropt=no ;;
   1269 
   1270   --x)
   1271     # Obsolete; use --with-x.
   1272     with_x=yes ;;
   1273 
   1274   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1275   | --x-incl | --x-inc | --x-in | --x-i)
   1276     ac_prev=x_includes ;;
   1277   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1278   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1279     x_includes=$ac_optarg ;;
   1280 
   1281   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1282   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1283     ac_prev=x_libraries ;;
   1284   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1285   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1286     x_libraries=$ac_optarg ;;
   1287 
   1288   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1289 Try '$0 --help' for more information"
   1290     ;;
   1291 
   1292   *=*)
   1293     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1294     # Reject names that are not valid shell variable names.
   1295     case $ac_envvar in #(
   1296       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1297       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1298     esac
   1299     eval $ac_envvar=\$ac_optarg
   1300     export $ac_envvar ;;
   1301 
   1302   *)
   1303     # FIXME: should be removed in autoconf 3.0.
   1304     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1305     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1306       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1307     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1308     ;;
   1309 
   1310   esac
   1311 done
   1312 
   1313 if test -n "$ac_prev"; then
   1314   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1315   as_fn_error $? "missing argument to $ac_option"
   1316 fi
   1317 
   1318 if test -n "$ac_unrecognized_opts"; then
   1319   case $enable_option_checking in
   1320     no) ;;
   1321     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1322     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1323   esac
   1324 fi
   1325 
   1326 # Check all directory arguments for consistency.
   1327 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1328 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1329 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1330 		libdir localedir mandir runstatedir
   1331 do
   1332   eval ac_val=\$$ac_var
   1333   # Remove trailing slashes.
   1334   case $ac_val in
   1335     */ )
   1336       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1337       eval $ac_var=\$ac_val;;
   1338   esac
   1339   # Be sure to have absolute directory names.
   1340   case $ac_val in
   1341     [\\/$]* | ?:[\\/]* )  continue;;
   1342     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1343   esac
   1344   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1345 done
   1346 
   1347 # There might be people who depend on the old broken behavior: '$host'
   1348 # used to hold the argument of --host etc.
   1349 # FIXME: To remove some day.
   1350 build=$build_alias
   1351 host=$host_alias
   1352 target=$target_alias
   1353 
   1354 # FIXME: To remove some day.
   1355 if test "x$host_alias" != x; then
   1356   if test "x$build_alias" = x; then
   1357     cross_compiling=maybe
   1358   elif test "x$build_alias" != "x$host_alias"; then
   1359     cross_compiling=yes
   1360   fi
   1361 fi
   1362 
   1363 ac_tool_prefix=
   1364 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1365 
   1366 test "$silent" = yes && exec 6>/dev/null
   1367 
   1368 
   1369 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1370 ac_ls_di=`ls -di .` &&
   1371 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1372   as_fn_error $? "working directory cannot be determined"
   1373 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1374   as_fn_error $? "pwd does not report name of working directory"
   1375 
   1376 
   1377 # Find the source files, if location was not specified.
   1378 if test -z "$srcdir"; then
   1379   ac_srcdir_defaulted=yes
   1380   # Try the directory containing this script, then the parent directory.
   1381   ac_confdir=`$as_dirname -- "$as_myself" ||
   1382 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1383 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1384 	 X"$as_myself" : 'X\(//\)$' \| \
   1385 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1386 printf "%s\n" X"$as_myself" |
   1387     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1388 	    s//\1/
   1389 	    q
   1390 	  }
   1391 	  /^X\(\/\/\)[^/].*/{
   1392 	    s//\1/
   1393 	    q
   1394 	  }
   1395 	  /^X\(\/\/\)$/{
   1396 	    s//\1/
   1397 	    q
   1398 	  }
   1399 	  /^X\(\/\).*/{
   1400 	    s//\1/
   1401 	    q
   1402 	  }
   1403 	  s/.*/./; q'`
   1404   srcdir=$ac_confdir
   1405   if test ! -r "$srcdir/$ac_unique_file"; then
   1406     srcdir=..
   1407   fi
   1408 else
   1409   ac_srcdir_defaulted=no
   1410 fi
   1411 if test ! -r "$srcdir/$ac_unique_file"; then
   1412   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1413   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1414 fi
   1415 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1416 ac_abs_confdir=`(
   1417 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1418 	pwd)`
   1419 # When building in place, set srcdir=.
   1420 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1421   srcdir=.
   1422 fi
   1423 # Remove unnecessary trailing slashes from srcdir.
   1424 # Double slashes in file names in object file debugging info
   1425 # mess up M-x gdb in Emacs.
   1426 case $srcdir in
   1427 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1428 esac
   1429 for ac_var in $ac_precious_vars; do
   1430   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1431   eval ac_env_${ac_var}_value=\$${ac_var}
   1432   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1433   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1434 done
   1435 
   1436 #
   1437 # Report the --help message.
   1438 #
   1439 if test "$ac_init_help" = "long"; then
   1440   # Omit some internal or obsolete options to make the list less imposing.
   1441   # This message is too long to be a string in the A/UX 3.1 sh.
   1442   cat <<_ACEOF
   1443 'configure' configures expat 2.8.5 to adapt to many kinds of systems.
   1444 
   1445 Usage: $0 [OPTION]... [VAR=VALUE]...
   1446 
   1447 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1448 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1449 
   1450 Defaults for the options are specified in brackets.
   1451 
   1452 Configuration:
   1453   -h, --help              display this help and exit
   1454       --help=short        display options specific to this package
   1455       --help=recursive    display the short help of all the included packages
   1456   -V, --version           display version information and exit
   1457   -q, --quiet, --silent   do not print 'checking ...' messages
   1458       --cache-file=FILE   cache test results in FILE [disabled]
   1459   -C, --config-cache      alias for '--cache-file=config.cache'
   1460   -n, --no-create         do not create output files
   1461       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1462 
   1463 Installation directories:
   1464   --prefix=PREFIX         install architecture-independent files in PREFIX
   1465                           [$ac_default_prefix]
   1466   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1467                           [PREFIX]
   1468 
   1469 By default, 'make install' will install all the files in
   1470 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1471 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1472 for instance '--prefix=\$HOME'.
   1473 
   1474 For better control, use the options below.
   1475 
   1476 Fine tuning of the installation directories:
   1477   --bindir=DIR            user executables [EPREFIX/bin]
   1478   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1479   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1480   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1481   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1482   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1483   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1484   --libdir=DIR            object code libraries [EPREFIX/lib]
   1485   --includedir=DIR        C header files [PREFIX/include]
   1486   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1487   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1488   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1489   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1490   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1491   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1492   --docdir=DIR            documentation root [DATAROOTDIR/doc/expat]
   1493   --htmldir=DIR           html documentation [DOCDIR]
   1494   --dvidir=DIR            dvi documentation [DOCDIR]
   1495   --pdfdir=DIR            pdf documentation [DOCDIR]
   1496   --psdir=DIR             ps documentation [DOCDIR]
   1497 _ACEOF
   1498 
   1499   cat <<\_ACEOF
   1500 
   1501 Program names:
   1502   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1503   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1504   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1505 
   1506 System types:
   1507   --build=BUILD     configure for building on BUILD [guessed]
   1508   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1509 _ACEOF
   1510 fi
   1511 
   1512 if test -n "$ac_init_help"; then
   1513   case $ac_init_help in
   1514      short | recursive ) echo "Configuration of expat 2.8.5:";;
   1515    esac
   1516   cat <<\_ACEOF
   1517 
   1518 Optional Features:
   1519   --disable-option-checking  ignore unrecognized --enable/--with options
   1520   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1521   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1522   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1523   --disable-silent-rules  verbose build output (undo: "make V=0")
   1524   --disable-maintainer-mode
   1525                           disable make rules and dependencies not useful (and
   1526                           sometimes confusing) to the casual installer
   1527   --enable-dependency-tracking
   1528                           do not reject slow dependency extractors
   1529   --disable-dependency-tracking
   1530                           speeds up one-time build
   1531   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1532   --enable-static[=PKGS]  build static libraries [default=yes]
   1533   --enable-pic[=PKGS]     try to use only PIC/non-PIC objects [default=use
   1534                           both]
   1535   --enable-cxx-stdlib[=PKGS]
   1536                           let the compiler frontend decide what standard
   1537                           libraries to link when building C++ shared libraries
   1538                           and modules [default=no]
   1539   --enable-fast-install[=PKGS]
   1540                           optimize for fast installation [default=yes]
   1541   --enable-aix-soname=aix|svr4|both
   1542                           shared library versioning (aka "SONAME") variant to
   1543                           provide on AIX, [default=aix].
   1544   --disable-libtool-lock  avoid locking (might break parallel builds)
   1545   --enable-symbol-versioning
   1546                           provide symbol versioning for dependency generation
   1547                           [default=no]
   1548   --enable-xml-attr-info  Enable retrieving the byte offsets for attribute
   1549                           names and values [default=no]
   1550   --enable-xml-context [COUNT]
   1551                           Retain context around the current parse point;
   1552                           default is enabled and a size of 1024 bytes
   1553   --disable-xml-context   Do not retain context around the current parse point
   1554 
   1555 Optional Packages:
   1556   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1557   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1558   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1559   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1560                           compiler's sysroot if not specified).
   1561   --without-xmlwf         do not build xmlwf
   1562   --without-examples      do not build examples [default=included]
   1563   --without-tests         do not build tests [default=included]
   1564   --with-arc4random       enforce the use of arc4random function in the system
   1565                           [default=check]
   1566   --without-arc4random    skip auto detect of arc4random [default=check]
   1567   --with-arc4random-buf   enforce the use of arc4random_buf function in the
   1568                           system [default=check]
   1569   --without-arc4random-buf
   1570                           skip auto detect of arc4random_buf [default=check]
   1571   --with-getentropy       enforce the use of getentropy function in the system
   1572                           [default=check]
   1573   --without-getentropy    skip auto detect of getentropy [default=check]
   1574   --with-getrandom        enforce the use of getrandom function in the system
   1575                           [default=check]
   1576   --without-getrandom     skip auto detect of getrandom [default=check]
   1577   --with-sys-getrandom    enforce the use of syscall SYS_getrandom function in
   1578                           the system [default=check]
   1579   --without-sys-getrandom skip auto detect of syscall SYS_getrandom
   1580                           [default=check]
   1581   --with-dev-urandom      enforce the use of /dev/urandom in the system
   1582                           [default=no]
   1583   --without-dev-urandom   enforce not using /dev/urandom in the system
   1584                           [default=no]
   1585   --with-docbook          enforce XML to man page compilation [default=check]
   1586   --without-docbook       skip XML to man page compilation [default=check]
   1587 
   1588 Some influential environment variables:
   1589   CC          C compiler command
   1590   CFLAGS      C compiler flags
   1591   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1592               nonstandard directory <lib dir>
   1593   LIBS        libraries to pass to the linker, e.g. -l<library>
   1594   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1595               you have headers in a nonstandard directory <include dir>
   1596   LT_SYS_LIBRARY_PATH
   1597               User-defined run-time library search path.
   1598   CXX         C++ compiler command
   1599   CXXFLAGS    C++ compiler flags
   1600   CXXCPP      C++ preprocessor
   1601   DOCBOOK_TO_MAN
   1602               docbook2x-man command
   1603 
   1604 Use these variables to override the choices made by 'configure' or to help
   1605 it to find libraries and programs with nonstandard names/locations.
   1606 
   1607 Report bugs to <https://github.com/libexpat/libexpat/issues>.
   1608 _ACEOF
   1609 ac_status=$?
   1610 fi
   1611 
   1612 if test "$ac_init_help" = "recursive"; then
   1613   # If there are subdirs, report their specific --help.
   1614   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1615     test -d "$ac_dir" ||
   1616       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1617       continue
   1618     ac_builddir=.
   1619 
   1620 case "$ac_dir" in
   1621 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1622 *)
   1623   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1624   # A ".." for each directory in $ac_dir_suffix.
   1625   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1626   case $ac_top_builddir_sub in
   1627   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1628   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1629   esac ;;
   1630 esac
   1631 ac_abs_top_builddir=$ac_pwd
   1632 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1633 # for backward compatibility:
   1634 ac_top_builddir=$ac_top_build_prefix
   1635 
   1636 case $srcdir in
   1637   .)  # We are building in place.
   1638     ac_srcdir=.
   1639     ac_top_srcdir=$ac_top_builddir_sub
   1640     ac_abs_top_srcdir=$ac_pwd ;;
   1641   [\\/]* | ?:[\\/]* )  # Absolute name.
   1642     ac_srcdir=$srcdir$ac_dir_suffix;
   1643     ac_top_srcdir=$srcdir
   1644     ac_abs_top_srcdir=$srcdir ;;
   1645   *) # Relative name.
   1646     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1647     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1648     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1649 esac
   1650 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1651 
   1652     cd "$ac_dir" || { ac_status=$?; continue; }
   1653     # Check for configure.gnu first; this name is used for a wrapper for
   1654     # Metaconfig's "Configure" on case-insensitive file systems.
   1655     if test -f "$ac_srcdir/configure.gnu"; then
   1656       echo &&
   1657       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1658     elif test -f "$ac_srcdir/configure"; then
   1659       echo &&
   1660       $SHELL "$ac_srcdir/configure" --help=recursive
   1661     else
   1662       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1663     fi || ac_status=$?
   1664     cd "$ac_pwd" || { ac_status=$?; break; }
   1665   done
   1666 fi
   1667 
   1668 test -n "$ac_init_help" && exit $ac_status
   1669 if $ac_init_version; then
   1670   cat <<\_ACEOF
   1671 expat configure 2.8.5
   1672 generated by GNU Autoconf 2.72
   1673 
   1674 Copyright (C) 2023 Free Software Foundation, Inc.
   1675 This configure script is free software; the Free Software Foundation
   1676 gives unlimited permission to copy, distribute and modify it.
   1677 _ACEOF
   1678   exit
   1679 fi
   1680 
   1681 ## ------------------------ ##
   1682 ## Autoconf initialization. ##
   1683 ## ------------------------ ##
   1684 
   1685 # ac_fn_c_try_compile LINENO
   1686 # --------------------------
   1687 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1688 ac_fn_c_try_compile ()
   1689 {
   1690   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1691   rm -f conftest.$ac_objext conftest.beam
   1692   if { { ac_try="$ac_compile"
   1693 case "(($ac_try" in
   1694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1695   *) ac_try_echo=$ac_try;;
   1696 esac
   1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1698 printf "%s\n" "$ac_try_echo"; } >&5
   1699   (eval "$ac_compile") 2>conftest.err
   1700   ac_status=$?
   1701   if test -s conftest.err; then
   1702     grep -v '^ *+' conftest.err >conftest.er1
   1703     cat conftest.er1 >&5
   1704     mv -f conftest.er1 conftest.err
   1705   fi
   1706   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1707   test $ac_status = 0; } && {
   1708 	 test -z "$ac_c_werror_flag" ||
   1709 	 test ! -s conftest.err
   1710        } && test -s conftest.$ac_objext
   1711 then :
   1712   ac_retval=0
   1713 else case e in #(
   1714   e) printf "%s\n" "$as_me: failed program was:" >&5
   1715 sed 's/^/| /' conftest.$ac_ext >&5
   1716 
   1717 	ac_retval=1 ;;
   1718 esac
   1719 fi
   1720   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1721   as_fn_set_status $ac_retval
   1722 
   1723 } # ac_fn_c_try_compile
   1724 
   1725 # ac_fn_c_try_link LINENO
   1726 # -----------------------
   1727 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1728 ac_fn_c_try_link ()
   1729 {
   1730   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1731   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1732   if { { ac_try="$ac_link"
   1733 case "(($ac_try" in
   1734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1735   *) ac_try_echo=$ac_try;;
   1736 esac
   1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1738 printf "%s\n" "$ac_try_echo"; } >&5
   1739   (eval "$ac_link") 2>conftest.err
   1740   ac_status=$?
   1741   if test -s conftest.err; then
   1742     grep -v '^ *+' conftest.err >conftest.er1
   1743     cat conftest.er1 >&5
   1744     mv -f conftest.er1 conftest.err
   1745   fi
   1746   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1747   test $ac_status = 0; } && {
   1748 	 test -z "$ac_c_werror_flag" ||
   1749 	 test ! -s conftest.err
   1750        } && test -s conftest$ac_exeext && {
   1751 	 test "$cross_compiling" = yes ||
   1752 	 test -x conftest$ac_exeext
   1753        }
   1754 then :
   1755   ac_retval=0
   1756 else case e in #(
   1757   e) printf "%s\n" "$as_me: failed program was:" >&5
   1758 sed 's/^/| /' conftest.$ac_ext >&5
   1759 
   1760 	ac_retval=1 ;;
   1761 esac
   1762 fi
   1763   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1764   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1765   # interfere with the next link command; also delete a directory that is
   1766   # left behind by Apple's compiler.  We do this before executing the actions.
   1767   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1768   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1769   as_fn_set_status $ac_retval
   1770 
   1771 } # ac_fn_c_try_link
   1772 
   1773 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1774 # -------------------------------------------------------
   1775 # Tests whether HEADER exists and can be compiled using the include files in
   1776 # INCLUDES, setting the cache variable VAR accordingly.
   1777 ac_fn_c_check_header_compile ()
   1778 {
   1779   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1780   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1781 printf %s "checking for $2... " >&6; }
   1782 if eval test \${$3+y}
   1783 then :
   1784   printf %s "(cached) " >&6
   1785 else case e in #(
   1786   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1787 /* end confdefs.h.  */
   1788 $4
   1789 #include <$2>
   1790 _ACEOF
   1791 if ac_fn_c_try_compile "$LINENO"
   1792 then :
   1793   eval "$3=yes"
   1794 else case e in #(
   1795   e) eval "$3=no" ;;
   1796 esac
   1797 fi
   1798 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1799 esac
   1800 fi
   1801 eval ac_res=\$$3
   1802 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1803 printf "%s\n" "$ac_res" >&6; }
   1804   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1805 
   1806 } # ac_fn_c_check_header_compile
   1807 
   1808 # ac_fn_c_check_func LINENO FUNC VAR
   1809 # ----------------------------------
   1810 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1811 ac_fn_c_check_func ()
   1812 {
   1813   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1814   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1815 printf %s "checking for $2... " >&6; }
   1816 if eval test \${$3+y}
   1817 then :
   1818   printf %s "(cached) " >&6
   1819 else case e in #(
   1820   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1821 /* end confdefs.h.  */
   1822 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1823    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1824 #define $2 innocuous_$2
   1825 
   1826 /* System header to define __stub macros and hopefully few prototypes,
   1827    which can conflict with char $2 (void); below.  */
   1828 
   1829 #include <limits.h>
   1830 #undef $2
   1831 
   1832 /* Override any GCC internal prototype to avoid an error.
   1833    Use char because int might match the return type of a GCC
   1834    builtin and then its argument prototype would still apply.  */
   1835 #ifdef __cplusplus
   1836 extern "C"
   1837 #endif
   1838 char $2 (void);
   1839 /* The GNU C library defines this for functions which it implements
   1840     to always fail with ENOSYS.  Some functions are actually named
   1841     something starting with __ and the normal name is an alias.  */
   1842 #if defined __stub_$2 || defined __stub___$2
   1843 choke me
   1844 #endif
   1845 
   1846 int
   1847 main (void)
   1848 {
   1849 return $2 ();
   1850   ;
   1851   return 0;
   1852 }
   1853 _ACEOF
   1854 if ac_fn_c_try_link "$LINENO"
   1855 then :
   1856   eval "$3=yes"
   1857 else case e in #(
   1858   e) eval "$3=no" ;;
   1859 esac
   1860 fi
   1861 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1862     conftest$ac_exeext conftest.$ac_ext ;;
   1863 esac
   1864 fi
   1865 eval ac_res=\$$3
   1866 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1867 printf "%s\n" "$ac_res" >&6; }
   1868   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1869 
   1870 } # ac_fn_c_check_func
   1871 
   1872 # ac_fn_cxx_try_compile LINENO
   1873 # ----------------------------
   1874 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1875 ac_fn_cxx_try_compile ()
   1876 {
   1877   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1878   rm -f conftest.$ac_objext conftest.beam
   1879   if { { ac_try="$ac_compile"
   1880 case "(($ac_try" in
   1881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1882   *) ac_try_echo=$ac_try;;
   1883 esac
   1884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1885 printf "%s\n" "$ac_try_echo"; } >&5
   1886   (eval "$ac_compile") 2>conftest.err
   1887   ac_status=$?
   1888   if test -s conftest.err; then
   1889     grep -v '^ *+' conftest.err >conftest.er1
   1890     cat conftest.er1 >&5
   1891     mv -f conftest.er1 conftest.err
   1892   fi
   1893   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1894   test $ac_status = 0; } && {
   1895 	 test -z "$ac_cxx_werror_flag" ||
   1896 	 test ! -s conftest.err
   1897        } && test -s conftest.$ac_objext
   1898 then :
   1899   ac_retval=0
   1900 else case e in #(
   1901   e) printf "%s\n" "$as_me: failed program was:" >&5
   1902 sed 's/^/| /' conftest.$ac_ext >&5
   1903 
   1904 	ac_retval=1 ;;
   1905 esac
   1906 fi
   1907   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1908   as_fn_set_status $ac_retval
   1909 
   1910 } # ac_fn_cxx_try_compile
   1911 
   1912 # ac_fn_cxx_try_cpp LINENO
   1913 # ------------------------
   1914 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1915 ac_fn_cxx_try_cpp ()
   1916 {
   1917   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1918   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1919 case "(($ac_try" in
   1920   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1921   *) ac_try_echo=$ac_try;;
   1922 esac
   1923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1924 printf "%s\n" "$ac_try_echo"; } >&5
   1925   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1926   ac_status=$?
   1927   if test -s conftest.err; then
   1928     grep -v '^ *+' conftest.err >conftest.er1
   1929     cat conftest.er1 >&5
   1930     mv -f conftest.er1 conftest.err
   1931   fi
   1932   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1933   test $ac_status = 0; } > conftest.i && {
   1934 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   1935 	 test ! -s conftest.err
   1936        }
   1937 then :
   1938   ac_retval=0
   1939 else case e in #(
   1940   e) printf "%s\n" "$as_me: failed program was:" >&5
   1941 sed 's/^/| /' conftest.$ac_ext >&5
   1942 
   1943     ac_retval=1 ;;
   1944 esac
   1945 fi
   1946   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1947   as_fn_set_status $ac_retval
   1948 
   1949 } # ac_fn_cxx_try_cpp
   1950 
   1951 # ac_fn_cxx_try_link LINENO
   1952 # -------------------------
   1953 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1954 ac_fn_cxx_try_link ()
   1955 {
   1956   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1957   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1958   if { { ac_try="$ac_link"
   1959 case "(($ac_try" in
   1960   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1961   *) ac_try_echo=$ac_try;;
   1962 esac
   1963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1964 printf "%s\n" "$ac_try_echo"; } >&5
   1965   (eval "$ac_link") 2>conftest.err
   1966   ac_status=$?
   1967   if test -s conftest.err; then
   1968     grep -v '^ *+' conftest.err >conftest.er1
   1969     cat conftest.er1 >&5
   1970     mv -f conftest.er1 conftest.err
   1971   fi
   1972   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1973   test $ac_status = 0; } && {
   1974 	 test -z "$ac_cxx_werror_flag" ||
   1975 	 test ! -s conftest.err
   1976        } && test -s conftest$ac_exeext && {
   1977 	 test "$cross_compiling" = yes ||
   1978 	 test -x conftest$ac_exeext
   1979        }
   1980 then :
   1981   ac_retval=0
   1982 else case e in #(
   1983   e) printf "%s\n" "$as_me: failed program was:" >&5
   1984 sed 's/^/| /' conftest.$ac_ext >&5
   1985 
   1986 	ac_retval=1 ;;
   1987 esac
   1988 fi
   1989   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1990   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1991   # interfere with the next link command; also delete a directory that is
   1992   # left behind by Apple's compiler.  We do this before executing the actions.
   1993   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1994   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1995   as_fn_set_status $ac_retval
   1996 
   1997 } # ac_fn_cxx_try_link
   1998 
   1999 # ac_fn_c_try_run LINENO
   2000 # ----------------------
   2001 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   2002 # executables *can* be run.
   2003 ac_fn_c_try_run ()
   2004 {
   2005   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2006   if { { ac_try="$ac_link"
   2007 case "(($ac_try" in
   2008   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2009   *) ac_try_echo=$ac_try;;
   2010 esac
   2011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2012 printf "%s\n" "$ac_try_echo"; } >&5
   2013   (eval "$ac_link") 2>&5
   2014   ac_status=$?
   2015   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2016   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   2017   { { case "(($ac_try" in
   2018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2019   *) ac_try_echo=$ac_try;;
   2020 esac
   2021 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2022 printf "%s\n" "$ac_try_echo"; } >&5
   2023   (eval "$ac_try") 2>&5
   2024   ac_status=$?
   2025   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2026   test $ac_status = 0; }; }
   2027 then :
   2028   ac_retval=0
   2029 else case e in #(
   2030   e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5
   2031        printf "%s\n" "$as_me: failed program was:" >&5
   2032 sed 's/^/| /' conftest.$ac_ext >&5
   2033 
   2034        ac_retval=$ac_status ;;
   2035 esac
   2036 fi
   2037   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2038   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2039   as_fn_set_status $ac_retval
   2040 
   2041 } # ac_fn_c_try_run
   2042 
   2043 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2044 # -------------------------------------------
   2045 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2046 # variable VAR accordingly.
   2047 ac_fn_c_check_type ()
   2048 {
   2049   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2050   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2051 printf %s "checking for $2... " >&6; }
   2052 if eval test \${$3+y}
   2053 then :
   2054   printf %s "(cached) " >&6
   2055 else case e in #(
   2056   e) eval "$3=no"
   2057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2058 /* end confdefs.h.  */
   2059 $4
   2060 int
   2061 main (void)
   2062 {
   2063 if (sizeof ($2))
   2064 	 return 0;
   2065   ;
   2066   return 0;
   2067 }
   2068 _ACEOF
   2069 if ac_fn_c_try_compile "$LINENO"
   2070 then :
   2071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2072 /* end confdefs.h.  */
   2073 $4
   2074 int
   2075 main (void)
   2076 {
   2077 if (sizeof (($2)))
   2078 	    return 0;
   2079   ;
   2080   return 0;
   2081 }
   2082 _ACEOF
   2083 if ac_fn_c_try_compile "$LINENO"
   2084 then :
   2085 
   2086 else case e in #(
   2087   e) eval "$3=yes" ;;
   2088 esac
   2089 fi
   2090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2091 fi
   2092 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2093 esac
   2094 fi
   2095 eval ac_res=\$$3
   2096 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2097 printf "%s\n" "$ac_res" >&6; }
   2098   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2099 
   2100 } # ac_fn_c_check_type
   2101 
   2102 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   2103 # --------------------------------------------
   2104 # Tries to find the compile-time value of EXPR in a program that includes
   2105 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   2106 # computed
   2107 ac_fn_c_compute_int ()
   2108 {
   2109   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2110   if test "$cross_compiling" = yes; then
   2111     # Depending upon the size, compute the lo and hi bounds.
   2112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2113 /* end confdefs.h.  */
   2114 $4
   2115 int
   2116 main (void)
   2117 {
   2118 static int test_array [1 - 2 * !(($2) >= 0)];
   2119 test_array [0] = 0;
   2120 return test_array [0];
   2121 
   2122   ;
   2123   return 0;
   2124 }
   2125 _ACEOF
   2126 if ac_fn_c_try_compile "$LINENO"
   2127 then :
   2128   ac_lo=0 ac_mid=0
   2129   while :; do
   2130     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2131 /* end confdefs.h.  */
   2132 $4
   2133 int
   2134 main (void)
   2135 {
   2136 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2137 test_array [0] = 0;
   2138 return test_array [0];
   2139 
   2140   ;
   2141   return 0;
   2142 }
   2143 _ACEOF
   2144 if ac_fn_c_try_compile "$LINENO"
   2145 then :
   2146   ac_hi=$ac_mid; break
   2147 else case e in #(
   2148   e) as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2149 			if test $ac_lo -le $ac_mid; then
   2150 			  ac_lo= ac_hi=
   2151 			  break
   2152 			fi
   2153 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val ;;
   2154 esac
   2155 fi
   2156 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2157   done
   2158 else case e in #(
   2159   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2160 /* end confdefs.h.  */
   2161 $4
   2162 int
   2163 main (void)
   2164 {
   2165 static int test_array [1 - 2 * !(($2) < 0)];
   2166 test_array [0] = 0;
   2167 return test_array [0];
   2168 
   2169   ;
   2170   return 0;
   2171 }
   2172 _ACEOF
   2173 if ac_fn_c_try_compile "$LINENO"
   2174 then :
   2175   ac_hi=-1 ac_mid=-1
   2176   while :; do
   2177     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2178 /* end confdefs.h.  */
   2179 $4
   2180 int
   2181 main (void)
   2182 {
   2183 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2184 test_array [0] = 0;
   2185 return test_array [0];
   2186 
   2187   ;
   2188   return 0;
   2189 }
   2190 _ACEOF
   2191 if ac_fn_c_try_compile "$LINENO"
   2192 then :
   2193   ac_lo=$ac_mid; break
   2194 else case e in #(
   2195   e) as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2196 			if test $ac_mid -le $ac_hi; then
   2197 			  ac_lo= ac_hi=
   2198 			  break
   2199 			fi
   2200 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val ;;
   2201 esac
   2202 fi
   2203 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2204   done
   2205 else case e in #(
   2206   e) ac_lo= ac_hi= ;;
   2207 esac
   2208 fi
   2209 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2210 esac
   2211 fi
   2212 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2213 # Binary search between lo and hi bounds.
   2214 while test "x$ac_lo" != "x$ac_hi"; do
   2215   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2217 /* end confdefs.h.  */
   2218 $4
   2219 int
   2220 main (void)
   2221 {
   2222 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2223 test_array [0] = 0;
   2224 return test_array [0];
   2225 
   2226   ;
   2227   return 0;
   2228 }
   2229 _ACEOF
   2230 if ac_fn_c_try_compile "$LINENO"
   2231 then :
   2232   ac_hi=$ac_mid
   2233 else case e in #(
   2234   e) as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val ;;
   2235 esac
   2236 fi
   2237 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2238 done
   2239 case $ac_lo in #((
   2240 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2241 '') ac_retval=1 ;;
   2242 esac
   2243   else
   2244     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2245 /* end confdefs.h.  */
   2246 $4
   2247 static long int longval (void) { return $2; }
   2248 static unsigned long int ulongval (void) { return $2; }
   2249 #include <stdio.h>
   2250 #include <stdlib.h>
   2251 int
   2252 main (void)
   2253 {
   2254 
   2255   FILE *f = fopen ("conftest.val", "w");
   2256   if (! f)
   2257     return 1;
   2258   if (($2) < 0)
   2259     {
   2260       long int i = longval ();
   2261       if (i != ($2))
   2262 	return 1;
   2263       fprintf (f, "%ld", i);
   2264     }
   2265   else
   2266     {
   2267       unsigned long int i = ulongval ();
   2268       if (i != ($2))
   2269 	return 1;
   2270       fprintf (f, "%lu", i);
   2271     }
   2272   /* Do not output a trailing newline, as this causes \r\n confusion
   2273      on some platforms.  */
   2274   return ferror (f) || fclose (f) != 0;
   2275 
   2276   ;
   2277   return 0;
   2278 }
   2279 _ACEOF
   2280 if ac_fn_c_try_run "$LINENO"
   2281 then :
   2282   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2283 else case e in #(
   2284   e) ac_retval=1 ;;
   2285 esac
   2286 fi
   2287 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2288   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2289 rm -f conftest.val
   2290 
   2291   fi
   2292   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2293   as_fn_set_status $ac_retval
   2294 
   2295 } # ac_fn_c_compute_int
   2296 ac_configure_args_raw=
   2297 for ac_arg
   2298 do
   2299   case $ac_arg in
   2300   *\'*)
   2301     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2302   esac
   2303   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2304 done
   2305 
   2306 case $ac_configure_args_raw in
   2307   *$as_nl*)
   2308     ac_safe_unquote= ;;
   2309   *)
   2310     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2311     ac_unsafe_a="$ac_unsafe_z#~"
   2312     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2313     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2314 esac
   2315 
   2316 cat >config.log <<_ACEOF
   2317 This file contains any messages produced by compilers while
   2318 running configure, to aid debugging if configure makes a mistake.
   2319 
   2320 It was created by expat $as_me 2.8.5, which was
   2321 generated by GNU Autoconf 2.72.  Invocation command line was
   2322 
   2323   $ $0$ac_configure_args_raw
   2324 
   2325 _ACEOF
   2326 exec 5>>config.log
   2327 {
   2328 cat <<_ASUNAME
   2329 ## --------- ##
   2330 ## Platform. ##
   2331 ## --------- ##
   2332 
   2333 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2334 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2335 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2336 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2337 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2338 
   2339 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2340 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2341 
   2342 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2343 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2344 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2345 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2346 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2347 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2348 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2349 
   2350 _ASUNAME
   2351 
   2352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2353 for as_dir in $PATH
   2354 do
   2355   IFS=$as_save_IFS
   2356   case $as_dir in #(((
   2357     '') as_dir=./ ;;
   2358     */) ;;
   2359     *) as_dir=$as_dir/ ;;
   2360   esac
   2361     printf "%s\n" "PATH: $as_dir"
   2362   done
   2363 IFS=$as_save_IFS
   2364 
   2365 } >&5
   2366 
   2367 cat >&5 <<_ACEOF
   2368 
   2369 
   2370 ## ----------- ##
   2371 ## Core tests. ##
   2372 ## ----------- ##
   2373 
   2374 _ACEOF
   2375 
   2376 
   2377 # Keep a trace of the command line.
   2378 # Strip out --no-create and --no-recursion so they do not pile up.
   2379 # Strip out --silent because we don't want to record it for future runs.
   2380 # Also quote any args containing shell meta-characters.
   2381 # Make two passes to allow for proper duplicate-argument suppression.
   2382 ac_configure_args=
   2383 ac_configure_args0=
   2384 ac_configure_args1=
   2385 ac_must_keep_next=false
   2386 for ac_pass in 1 2
   2387 do
   2388   for ac_arg
   2389   do
   2390     case $ac_arg in
   2391     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2392     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2393     | -silent | --silent | --silen | --sile | --sil)
   2394       continue ;;
   2395     *\'*)
   2396       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2397     esac
   2398     case $ac_pass in
   2399     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2400     2)
   2401       as_fn_append ac_configure_args1 " '$ac_arg'"
   2402       if test $ac_must_keep_next = true; then
   2403 	ac_must_keep_next=false # Got value, back to normal.
   2404       else
   2405 	case $ac_arg in
   2406 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2407 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2408 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2409 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2410 	    case "$ac_configure_args0 " in
   2411 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2412 	    esac
   2413 	    ;;
   2414 	  -* ) ac_must_keep_next=true ;;
   2415 	esac
   2416       fi
   2417       as_fn_append ac_configure_args " '$ac_arg'"
   2418       ;;
   2419     esac
   2420   done
   2421 done
   2422 { ac_configure_args0=; unset ac_configure_args0;}
   2423 { ac_configure_args1=; unset ac_configure_args1;}
   2424 
   2425 # When interrupted or exit'd, cleanup temporary files, and complete
   2426 # config.log.  We remove comments because anyway the quotes in there
   2427 # would cause problems or look ugly.
   2428 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2429 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2430 trap 'exit_status=$?
   2431   # Sanitize IFS.
   2432   IFS=" ""	$as_nl"
   2433   # Save into config.log some information that might help in debugging.
   2434   {
   2435     echo
   2436 
   2437     printf "%s\n" "## ---------------- ##
   2438 ## Cache variables. ##
   2439 ## ---------------- ##"
   2440     echo
   2441     # The following way of writing the cache mishandles newlines in values,
   2442 (
   2443   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2444     eval ac_val=\$$ac_var
   2445     case $ac_val in #(
   2446     *${as_nl}*)
   2447       case $ac_var in #(
   2448       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2449 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2450       esac
   2451       case $ac_var in #(
   2452       _ | IFS | as_nl) ;; #(
   2453       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2454       *) { eval $ac_var=; unset $ac_var;} ;;
   2455       esac ;;
   2456     esac
   2457   done
   2458   (set) 2>&1 |
   2459     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2460     *${as_nl}ac_space=\ *)
   2461       sed -n \
   2462 	"s/'\''/'\''\\\\'\'''\''/g;
   2463 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2464       ;; #(
   2465     *)
   2466       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2467       ;;
   2468     esac |
   2469     sort
   2470 )
   2471     echo
   2472 
   2473     printf "%s\n" "## ----------------- ##
   2474 ## Output variables. ##
   2475 ## ----------------- ##"
   2476     echo
   2477     for ac_var in $ac_subst_vars
   2478     do
   2479       eval ac_val=\$$ac_var
   2480       case $ac_val in
   2481       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2482       esac
   2483       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2484     done | sort
   2485     echo
   2486 
   2487     if test -n "$ac_subst_files"; then
   2488       printf "%s\n" "## ------------------- ##
   2489 ## File substitutions. ##
   2490 ## ------------------- ##"
   2491       echo
   2492       for ac_var in $ac_subst_files
   2493       do
   2494 	eval ac_val=\$$ac_var
   2495 	case $ac_val in
   2496 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2497 	esac
   2498 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2499       done | sort
   2500       echo
   2501     fi
   2502 
   2503     if test -s confdefs.h; then
   2504       printf "%s\n" "## ----------- ##
   2505 ## confdefs.h. ##
   2506 ## ----------- ##"
   2507       echo
   2508       cat confdefs.h
   2509       echo
   2510     fi
   2511     test "$ac_signal" != 0 &&
   2512       printf "%s\n" "$as_me: caught signal $ac_signal"
   2513     printf "%s\n" "$as_me: exit $exit_status"
   2514   } >&5
   2515   rm -f core *.core core.conftest.* &&
   2516     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2517     exit $exit_status
   2518 ' 0
   2519 for ac_signal in 1 2 13 15; do
   2520   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2521 done
   2522 ac_signal=0
   2523 
   2524 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2525 rm -f -r conftest* confdefs.h
   2526 
   2527 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2528 
   2529 # Predefined preprocessor variables.
   2530 
   2531 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2532 
   2533 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2534 
   2535 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2536 
   2537 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2538 
   2539 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2540 
   2541 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2542 
   2543 
   2544 # Let the site file select an alternate cache file if it wants to.
   2545 # Prefer an explicitly selected file to automatically selected ones.
   2546 if test -n "$CONFIG_SITE"; then
   2547   ac_site_files="$CONFIG_SITE"
   2548 elif test "x$prefix" != xNONE; then
   2549   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2550 else
   2551   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2552 fi
   2553 
   2554 for ac_site_file in $ac_site_files
   2555 do
   2556   case $ac_site_file in #(
   2557   */*) :
   2558      ;; #(
   2559   *) :
   2560     ac_site_file=./$ac_site_file ;;
   2561 esac
   2562   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2563     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2564 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2565     sed 's/^/| /' "$ac_site_file" >&5
   2566     . "$ac_site_file" \
   2567       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2568 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2569 as_fn_error $? "failed to load site script $ac_site_file
   2570 See 'config.log' for more details" "$LINENO" 5; }
   2571   fi
   2572 done
   2573 
   2574 if test -r "$cache_file"; then
   2575   # Some versions of bash will fail to source /dev/null (special files
   2576   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2577   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2578     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2579 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2580     case $cache_file in
   2581       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2582       *)                      . "./$cache_file";;
   2583     esac
   2584   fi
   2585 else
   2586   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2587 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2588   >$cache_file
   2589 fi
   2590 
   2591 # Test code for whether the C compiler supports C89 (global declarations)
   2592 ac_c_conftest_c89_globals='
   2593 /* Does the compiler advertise C89 conformance?
   2594    Do not test the value of __STDC__, because some compilers set it to 0
   2595    while being otherwise adequately conformant. */
   2596 #if !defined __STDC__
   2597 # error "Compiler does not advertise C89 conformance"
   2598 #endif
   2599 
   2600 #include <stddef.h>
   2601 #include <stdarg.h>
   2602 struct stat;
   2603 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2604 struct buf { int x; };
   2605 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2606 static char *e (char **p, int i)
   2607 {
   2608   return p[i];
   2609 }
   2610 static char *f (char * (*g) (char **, int), char **p, ...)
   2611 {
   2612   char *s;
   2613   va_list v;
   2614   va_start (v,p);
   2615   s = g (p, va_arg (v,int));
   2616   va_end (v);
   2617   return s;
   2618 }
   2619 
   2620 /* C89 style stringification. */
   2621 #define noexpand_stringify(a) #a
   2622 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2623 
   2624 /* C89 style token pasting.  Exercises some of the corner cases that
   2625    e.g. old MSVC gets wrong, but not very hard. */
   2626 #define noexpand_concat(a,b) a##b
   2627 #define expand_concat(a,b) noexpand_concat(a,b)
   2628 extern int vA;
   2629 extern int vbee;
   2630 #define aye A
   2631 #define bee B
   2632 int *pvA = &expand_concat(v,aye);
   2633 int *pvbee = &noexpand_concat(v,bee);
   2634 
   2635 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2636    function prototypes and stuff, but not \xHH hex character constants.
   2637    These do not provoke an error unfortunately, instead are silently treated
   2638    as an "x".  The following induces an error, until -std is added to get
   2639    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2640    array size at least.  It is necessary to write \x00 == 0 to get something
   2641    that is true only with -std.  */
   2642 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2643 
   2644 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2645    inside strings and character constants.  */
   2646 #define FOO(x) '\''x'\''
   2647 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2648 
   2649 int test (int i, double x);
   2650 struct s1 {int (*f) (int a);};
   2651 struct s2 {int (*f) (double a);};
   2652 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2653                int, int);'
   2654 
   2655 # Test code for whether the C compiler supports C89 (body of main).
   2656 ac_c_conftest_c89_main='
   2657 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2658 '
   2659 
   2660 # Test code for whether the C compiler supports C99 (global declarations)
   2661 ac_c_conftest_c99_globals='
   2662 /* Does the compiler advertise C99 conformance? */
   2663 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2664 # error "Compiler does not advertise C99 conformance"
   2665 #endif
   2666 
   2667 // See if C++-style comments work.
   2668 
   2669 #include <stdbool.h>
   2670 extern int puts (const char *);
   2671 extern int printf (const char *, ...);
   2672 extern int dprintf (int, const char *, ...);
   2673 extern void *malloc (size_t);
   2674 extern void free (void *);
   2675 
   2676 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2677 // dprintf is used instead of fprintf to avoid needing to declare
   2678 // FILE and stderr.
   2679 #define debug(...) dprintf (2, __VA_ARGS__)
   2680 #define showlist(...) puts (#__VA_ARGS__)
   2681 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2682 static void
   2683 test_varargs_macros (void)
   2684 {
   2685   int x = 1234;
   2686   int y = 5678;
   2687   debug ("Flag");
   2688   debug ("X = %d\n", x);
   2689   showlist (The first, second, and third items.);
   2690   report (x>y, "x is %d but y is %d", x, y);
   2691 }
   2692 
   2693 // Check long long types.
   2694 #define BIG64 18446744073709551615ull
   2695 #define BIG32 4294967295ul
   2696 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2697 #if !BIG_OK
   2698   #error "your preprocessor is broken"
   2699 #endif
   2700 #if BIG_OK
   2701 #else
   2702   #error "your preprocessor is broken"
   2703 #endif
   2704 static long long int bignum = -9223372036854775807LL;
   2705 static unsigned long long int ubignum = BIG64;
   2706 
   2707 struct incomplete_array
   2708 {
   2709   int datasize;
   2710   double data[];
   2711 };
   2712 
   2713 struct named_init {
   2714   int number;
   2715   const wchar_t *name;
   2716   double average;
   2717 };
   2718 
   2719 typedef const char *ccp;
   2720 
   2721 static inline int
   2722 test_restrict (ccp restrict text)
   2723 {
   2724   // Iterate through items via the restricted pointer.
   2725   // Also check for declarations in for loops.
   2726   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2727     continue;
   2728   return 0;
   2729 }
   2730 
   2731 // Check varargs and va_copy.
   2732 static bool
   2733 test_varargs (const char *format, ...)
   2734 {
   2735   va_list args;
   2736   va_start (args, format);
   2737   va_list args_copy;
   2738   va_copy (args_copy, args);
   2739 
   2740   const char *str = "";
   2741   int number = 0;
   2742   float fnumber = 0;
   2743 
   2744   while (*format)
   2745     {
   2746       switch (*format++)
   2747 	{
   2748 	case '\''s'\'': // string
   2749 	  str = va_arg (args_copy, const char *);
   2750 	  break;
   2751 	case '\''d'\'': // int
   2752 	  number = va_arg (args_copy, int);
   2753 	  break;
   2754 	case '\''f'\'': // float
   2755 	  fnumber = va_arg (args_copy, double);
   2756 	  break;
   2757 	default:
   2758 	  break;
   2759 	}
   2760     }
   2761   va_end (args_copy);
   2762   va_end (args);
   2763 
   2764   return *str && number && fnumber;
   2765 }
   2766 '
   2767 
   2768 # Test code for whether the C compiler supports C99 (body of main).
   2769 ac_c_conftest_c99_main='
   2770   // Check bool.
   2771   _Bool success = false;
   2772   success |= (argc != 0);
   2773 
   2774   // Check restrict.
   2775   if (test_restrict ("String literal") == 0)
   2776     success = true;
   2777   char *restrict newvar = "Another string";
   2778 
   2779   // Check varargs.
   2780   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2781   test_varargs_macros ();
   2782 
   2783   // Check flexible array members.
   2784   struct incomplete_array *ia =
   2785     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2786   ia->datasize = 10;
   2787   for (int i = 0; i < ia->datasize; ++i)
   2788     ia->data[i] = i * 1.234;
   2789   // Work around memory leak warnings.
   2790   free (ia);
   2791 
   2792   // Check named initializers.
   2793   struct named_init ni = {
   2794     .number = 34,
   2795     .name = L"Test wide string",
   2796     .average = 543.34343,
   2797   };
   2798 
   2799   ni.number = 58;
   2800 
   2801   int dynamic_array[ni.number];
   2802   dynamic_array[0] = argv[0][0];
   2803   dynamic_array[ni.number - 1] = 543;
   2804 
   2805   // work around unused variable warnings
   2806   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2807 	 || dynamic_array[ni.number - 1] != 543);
   2808 '
   2809 
   2810 # Test code for whether the C compiler supports C11 (global declarations)
   2811 ac_c_conftest_c11_globals='
   2812 /* Does the compiler advertise C11 conformance? */
   2813 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2814 # error "Compiler does not advertise C11 conformance"
   2815 #endif
   2816 
   2817 // Check _Alignas.
   2818 char _Alignas (double) aligned_as_double;
   2819 char _Alignas (0) no_special_alignment;
   2820 extern char aligned_as_int;
   2821 char _Alignas (0) _Alignas (int) aligned_as_int;
   2822 
   2823 // Check _Alignof.
   2824 enum
   2825 {
   2826   int_alignment = _Alignof (int),
   2827   int_array_alignment = _Alignof (int[100]),
   2828   char_alignment = _Alignof (char)
   2829 };
   2830 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2831 
   2832 // Check _Noreturn.
   2833 int _Noreturn does_not_return (void) { for (;;) continue; }
   2834 
   2835 // Check _Static_assert.
   2836 struct test_static_assert
   2837 {
   2838   int x;
   2839   _Static_assert (sizeof (int) <= sizeof (long int),
   2840                   "_Static_assert does not work in struct");
   2841   long int y;
   2842 };
   2843 
   2844 // Check UTF-8 literals.
   2845 #define u8 syntax error!
   2846 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2847 
   2848 // Check duplicate typedefs.
   2849 typedef long *long_ptr;
   2850 typedef long int *long_ptr;
   2851 typedef long_ptr long_ptr;
   2852 
   2853 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2854 struct anonymous
   2855 {
   2856   union {
   2857     struct { int i; int j; };
   2858     struct { int k; long int l; } w;
   2859   };
   2860   int m;
   2861 } v1;
   2862 '
   2863 
   2864 # Test code for whether the C compiler supports C11 (body of main).
   2865 ac_c_conftest_c11_main='
   2866   _Static_assert ((offsetof (struct anonymous, i)
   2867 		   == offsetof (struct anonymous, w.k)),
   2868 		  "Anonymous union alignment botch");
   2869   v1.i = 2;
   2870   v1.w.k = 5;
   2871   ok |= v1.i != 5;
   2872 '
   2873 
   2874 # Test code for whether the C compiler supports C11 (complete).
   2875 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2876 ${ac_c_conftest_c99_globals}
   2877 ${ac_c_conftest_c11_globals}
   2878 
   2879 int
   2880 main (int argc, char **argv)
   2881 {
   2882   int ok = 0;
   2883   ${ac_c_conftest_c89_main}
   2884   ${ac_c_conftest_c99_main}
   2885   ${ac_c_conftest_c11_main}
   2886   return ok;
   2887 }
   2888 "
   2889 
   2890 # Test code for whether the C compiler supports C99 (complete).
   2891 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2892 ${ac_c_conftest_c99_globals}
   2893 
   2894 int
   2895 main (int argc, char **argv)
   2896 {
   2897   int ok = 0;
   2898   ${ac_c_conftest_c89_main}
   2899   ${ac_c_conftest_c99_main}
   2900   return ok;
   2901 }
   2902 "
   2903 
   2904 # Test code for whether the C compiler supports C89 (complete).
   2905 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2906 
   2907 int
   2908 main (int argc, char **argv)
   2909 {
   2910   int ok = 0;
   2911   ${ac_c_conftest_c89_main}
   2912   return ok;
   2913 }
   2914 "
   2915 
   2916 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2917 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2918 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2919 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2920 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2921 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2922 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2923 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2924 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2925 # Test code for whether the C++ compiler supports C++98 (global declarations)
   2926 ac_cxx_conftest_cxx98_globals='
   2927 // Does the compiler advertise C++98 conformance?
   2928 #if !defined __cplusplus || __cplusplus < 199711L
   2929 # error "Compiler does not advertise C++98 conformance"
   2930 #endif
   2931 
   2932 // These inclusions are to reject old compilers that
   2933 // lack the unsuffixed header files.
   2934 #include <cstdlib>
   2935 #include <exception>
   2936 
   2937 // <cassert> and <cstring> are *not* freestanding headers in C++98.
   2938 extern void assert (int);
   2939 namespace std {
   2940   extern int strcmp (const char *, const char *);
   2941 }
   2942 
   2943 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
   2944 using std::exception;
   2945 using std::strcmp;
   2946 
   2947 namespace {
   2948 
   2949 void test_exception_syntax()
   2950 {
   2951   try {
   2952     throw "test";
   2953   } catch (const char *s) {
   2954     // Extra parentheses suppress a warning when building autoconf itself,
   2955     // due to lint rules shared with more typical C programs.
   2956     assert (!(strcmp) (s, "test"));
   2957   }
   2958 }
   2959 
   2960 template <typename T> struct test_template
   2961 {
   2962   T const val;
   2963   explicit test_template(T t) : val(t) {}
   2964   template <typename U> T add(U u) { return static_cast<T>(u) + val; }
   2965 };
   2966 
   2967 } // anonymous namespace
   2968 '
   2969 
   2970 # Test code for whether the C++ compiler supports C++98 (body of main)
   2971 ac_cxx_conftest_cxx98_main='
   2972   assert (argc);
   2973   assert (! argv[0]);
   2974 {
   2975   test_exception_syntax ();
   2976   test_template<double> tt (2.0);
   2977   assert (tt.add (4) == 6.0);
   2978   assert (true && !false);
   2979 }
   2980 '
   2981 
   2982 # Test code for whether the C++ compiler supports C++11 (global declarations)
   2983 ac_cxx_conftest_cxx11_globals='
   2984 // Does the compiler advertise C++ 2011 conformance?
   2985 #if !defined __cplusplus || __cplusplus < 201103L
   2986 # error "Compiler does not advertise C++11 conformance"
   2987 #endif
   2988 
   2989 namespace cxx11test
   2990 {
   2991   constexpr int get_val() { return 20; }
   2992 
   2993   struct testinit
   2994   {
   2995     int i;
   2996     double d;
   2997   };
   2998 
   2999   class delegate
   3000   {
   3001   public:
   3002     delegate(int n) : n(n) {}
   3003     delegate(): delegate(2354) {}
   3004 
   3005     virtual int getval() { return this->n; };
   3006   protected:
   3007     int n;
   3008   };
   3009 
   3010   class overridden : public delegate
   3011   {
   3012   public:
   3013     overridden(int n): delegate(n) {}
   3014     virtual int getval() override final { return this->n * 2; }
   3015   };
   3016 
   3017   class nocopy
   3018   {
   3019   public:
   3020     nocopy(int i): i(i) {}
   3021     nocopy() = default;
   3022     nocopy(const nocopy&) = delete;
   3023     nocopy & operator=(const nocopy&) = delete;
   3024   private:
   3025     int i;
   3026   };
   3027 
   3028   // for testing lambda expressions
   3029   template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
   3030   {
   3031     return f(v);
   3032   }
   3033 
   3034   // for testing variadic templates and trailing return types
   3035   template <typename V> auto sum(V first) -> V
   3036   {
   3037     return first;
   3038   }
   3039   template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
   3040   {
   3041     return first + sum(rest...);
   3042   }
   3043 }
   3044 '
   3045 
   3046 # Test code for whether the C++ compiler supports C++11 (body of main)
   3047 ac_cxx_conftest_cxx11_main='
   3048 {
   3049   // Test auto and decltype
   3050   auto a1 = 6538;
   3051   auto a2 = 48573953.4;
   3052   auto a3 = "String literal";
   3053 
   3054   int total = 0;
   3055   for (auto i = a3; *i; ++i) { total += *i; }
   3056 
   3057   decltype(a2) a4 = 34895.034;
   3058 }
   3059 {
   3060   // Test constexpr
   3061   short sa[cxx11test::get_val()] = { 0 };
   3062 }
   3063 {
   3064   // Test initializer lists
   3065   cxx11test::testinit il = { 4323, 435234.23544 };
   3066 }
   3067 {
   3068   // Test range-based for
   3069   int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
   3070                  14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
   3071   for (auto &x : array) { x += 23; }
   3072 }
   3073 {
   3074   // Test lambda expressions
   3075   using cxx11test::eval;
   3076   assert (eval ([](int x) { return x*2; }, 21) == 42);
   3077   double d = 2.0;
   3078   assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
   3079   assert (d == 5.0);
   3080   assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
   3081   assert (d == 5.0);
   3082 }
   3083 {
   3084   // Test use of variadic templates
   3085   using cxx11test::sum;
   3086   auto a = sum(1);
   3087   auto b = sum(1, 2);
   3088   auto c = sum(1.0, 2.0, 3.0);
   3089 }
   3090 {
   3091   // Test constructor delegation
   3092   cxx11test::delegate d1;
   3093   cxx11test::delegate d2();
   3094   cxx11test::delegate d3(45);
   3095 }
   3096 {
   3097   // Test override and final
   3098   cxx11test::overridden o1(55464);
   3099 }
   3100 {
   3101   // Test nullptr
   3102   char *c = nullptr;
   3103 }
   3104 {
   3105   // Test template brackets
   3106   test_template<::test_template<int>> v(test_template<int>(12));
   3107 }
   3108 {
   3109   // Unicode literals.  Do not test u8"..." as C++20 would reject it.
   3110   char16_t const *utf16 = u"UTF-8 string \u2500";
   3111   char32_t const *utf32 = U"UTF-32 string \u2500";
   3112 }
   3113 '
   3114 
   3115 # Test code for whether the C compiler supports C++11 (complete).
   3116 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
   3117 ${ac_cxx_conftest_cxx11_globals}
   3118 
   3119 int
   3120 main (int argc, char **argv)
   3121 {
   3122   int ok = 0;
   3123   ${ac_cxx_conftest_cxx98_main}
   3124   ${ac_cxx_conftest_cxx11_main}
   3125   return ok;
   3126 }
   3127 "
   3128 
   3129 # Test code for whether the C compiler supports C++98 (complete).
   3130 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
   3131 int
   3132 main (int argc, char **argv)
   3133 {
   3134   int ok = 0;
   3135   ${ac_cxx_conftest_cxx98_main}
   3136   return ok;
   3137 }
   3138 "
   3139 
   3140 as_fn_append ac_header_c_list " sys/param.h sys_param_h HAVE_SYS_PARAM_H"
   3141 as_fn_append ac_func_c_list " getpagesize HAVE_GETPAGESIZE"
   3142 
   3143 # Auxiliary files required by this configure script.
   3144 ac_aux_files="ltmain.sh compile ar-lib missing install-sh config.guess config.sub"
   3145 
   3146 # Locations in which to look for auxiliary files.
   3147 ac_aux_dir_candidates="${srcdir}/conftools"
   3148 
   3149 # Search for a directory containing all of the required auxiliary files,
   3150 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   3151 # If we don't find one directory that contains all the files we need,
   3152 # we report the set of missing files from the *first* directory in
   3153 # $ac_aux_dir_candidates and give up.
   3154 ac_missing_aux_files=""
   3155 ac_first_candidate=:
   3156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   3157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3158 as_found=false
   3159 for as_dir in $ac_aux_dir_candidates
   3160 do
   3161   IFS=$as_save_IFS
   3162   case $as_dir in #(((
   3163     '') as_dir=./ ;;
   3164     */) ;;
   3165     *) as_dir=$as_dir/ ;;
   3166   esac
   3167   as_found=:
   3168 
   3169   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   3170   ac_aux_dir_found=yes
   3171   ac_install_sh=
   3172   for ac_aux in $ac_aux_files
   3173   do
   3174     # As a special case, if "install-sh" is required, that requirement
   3175     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   3176     # and $ac_install_sh is set appropriately for whichever one is found.
   3177     if test x"$ac_aux" = x"install-sh"
   3178     then
   3179       if test -f "${as_dir}install-sh"; then
   3180         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   3181         ac_install_sh="${as_dir}install-sh -c"
   3182       elif test -f "${as_dir}install.sh"; then
   3183         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   3184         ac_install_sh="${as_dir}install.sh -c"
   3185       elif test -f "${as_dir}shtool"; then
   3186         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   3187         ac_install_sh="${as_dir}shtool install -c"
   3188       else
   3189         ac_aux_dir_found=no
   3190         if $ac_first_candidate; then
   3191           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   3192         else
   3193           break
   3194         fi
   3195       fi
   3196     else
   3197       if test -f "${as_dir}${ac_aux}"; then
   3198         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   3199       else
   3200         ac_aux_dir_found=no
   3201         if $ac_first_candidate; then
   3202           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   3203         else
   3204           break
   3205         fi
   3206       fi
   3207     fi
   3208   done
   3209   if test "$ac_aux_dir_found" = yes; then
   3210     ac_aux_dir="$as_dir"
   3211     break
   3212   fi
   3213   ac_first_candidate=false
   3214 
   3215   as_found=false
   3216 done
   3217 IFS=$as_save_IFS
   3218 if $as_found
   3219 then :
   3220 
   3221 else case e in #(
   3222   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   3223 esac
   3224 fi
   3225 
   3226 
   3227 # These three variables are undocumented and unsupported,
   3228 # and are intended to be withdrawn in a future Autoconf release.
   3229 # They can cause serious problems if a builder's source tree is in a directory
   3230 # whose full name contains unusual characters.
   3231 if test -f "${ac_aux_dir}config.guess"; then
   3232   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   3233 fi
   3234 if test -f "${ac_aux_dir}config.sub"; then
   3235   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   3236 fi
   3237 if test -f "$ac_aux_dir/configure"; then
   3238   ac_configure="$SHELL ${ac_aux_dir}configure"
   3239 fi
   3240 
   3241 # Check that the precious variables saved in the cache have kept the same
   3242 # value.
   3243 ac_cache_corrupted=false
   3244 for ac_var in $ac_precious_vars; do
   3245   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   3246   eval ac_new_set=\$ac_env_${ac_var}_set
   3247   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   3248   eval ac_new_val=\$ac_env_${ac_var}_value
   3249   case $ac_old_set,$ac_new_set in
   3250     set,)
   3251       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   3252 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   3253       ac_cache_corrupted=: ;;
   3254     ,set)
   3255       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   3256 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   3257       ac_cache_corrupted=: ;;
   3258     ,);;
   3259     *)
   3260       if test "x$ac_old_val" != "x$ac_new_val"; then
   3261 	# differences in whitespace do not lead to failure.
   3262 	ac_old_val_w=`echo x $ac_old_val`
   3263 	ac_new_val_w=`echo x $ac_new_val`
   3264 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   3265 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   3266 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   3267 	  ac_cache_corrupted=:
   3268 	else
   3269 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   3270 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   3271 	  eval $ac_var=\$ac_old_val
   3272 	fi
   3273 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   3274 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   3275 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   3276 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   3277       fi;;
   3278   esac
   3279   # Pass precious variables to config.status.
   3280   if test "$ac_new_set" = set; then
   3281     case $ac_new_val in
   3282     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   3283     *) ac_arg=$ac_var=$ac_new_val ;;
   3284     esac
   3285     case " $ac_configure_args " in
   3286       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   3287       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   3288     esac
   3289   fi
   3290 done
   3291 if $ac_cache_corrupted; then
   3292   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3293 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3294   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   3295 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   3296   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   3297 	    and start over" "$LINENO" 5
   3298 fi
   3299 ## -------------------- ##
   3300 ## Main body of script. ##
   3301 ## -------------------- ##
   3302 
   3303 ac_ext=c
   3304 ac_cpp='$CPP $CPPFLAGS'
   3305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3308 
   3309 
   3310 
   3311 
   3312 
   3313 
   3314 
   3315 
   3316 
   3317 
   3318   # Make sure we can run config.sub.
   3319 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3320   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3321 
   3322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3323 printf %s "checking build system type... " >&6; }
   3324 if test ${ac_cv_build+y}
   3325 then :
   3326   printf %s "(cached) " >&6
   3327 else case e in #(
   3328   e) ac_build_alias=$build_alias
   3329 test "x$ac_build_alias" = x &&
   3330   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3331 test "x$ac_build_alias" = x &&
   3332   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3333 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3334   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3335  ;;
   3336 esac
   3337 fi
   3338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3339 printf "%s\n" "$ac_cv_build" >&6; }
   3340 case $ac_cv_build in
   3341 *-*-*) ;;
   3342 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3343 esac
   3344 build=$ac_cv_build
   3345 ac_save_IFS=$IFS; IFS='-'
   3346 set x $ac_cv_build
   3347 shift
   3348 build_cpu=$1
   3349 build_vendor=$2
   3350 shift; shift
   3351 # Remember, the first character of IFS is used to create $*,
   3352 # except with old shells:
   3353 build_os=$*
   3354 IFS=$ac_save_IFS
   3355 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3356 
   3357 
   3358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3359 printf %s "checking host system type... " >&6; }
   3360 if test ${ac_cv_host+y}
   3361 then :
   3362   printf %s "(cached) " >&6
   3363 else case e in #(
   3364   e) if test "x$host_alias" = x; then
   3365   ac_cv_host=$ac_cv_build
   3366 else
   3367   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3368     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3369 fi
   3370  ;;
   3371 esac
   3372 fi
   3373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3374 printf "%s\n" "$ac_cv_host" >&6; }
   3375 case $ac_cv_host in
   3376 *-*-*) ;;
   3377 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3378 esac
   3379 host=$ac_cv_host
   3380 ac_save_IFS=$IFS; IFS='-'
   3381 set x $ac_cv_host
   3382 shift
   3383 host_cpu=$1
   3384 host_vendor=$2
   3385 shift; shift
   3386 # Remember, the first character of IFS is used to create $*,
   3387 # except with old shells:
   3388 host_os=$*
   3389 IFS=$ac_save_IFS
   3390 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3391 
   3392 
   3393 
   3394 
   3395   am__api_version='1.19'
   3396 
   3397 
   3398   # Find a good install program.  We prefer a C program (faster),
   3399 # so one script is as good as another.  But avoid the broken or
   3400 # incompatible versions:
   3401 # SysV /etc/install, /usr/sbin/install
   3402 # SunOS /usr/etc/install
   3403 # IRIX /sbin/install
   3404 # AIX /bin/install
   3405 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3406 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3407 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3408 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3409 # OS/2's system install, which has a completely different semantic
   3410 # ./install, which can be erroneously created by make from ./install.sh.
   3411 # Reject install programs that cannot install multiple files.
   3412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3413 printf %s "checking for a BSD-compatible install... " >&6; }
   3414 if test -z "$INSTALL"; then
   3415 if test ${ac_cv_path_install+y}
   3416 then :
   3417   printf %s "(cached) " >&6
   3418 else case e in #(
   3419   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3420 for as_dir in $PATH
   3421 do
   3422   IFS=$as_save_IFS
   3423   case $as_dir in #(((
   3424     '') as_dir=./ ;;
   3425     */) ;;
   3426     *) as_dir=$as_dir/ ;;
   3427   esac
   3428     # Account for fact that we put trailing slashes in our PATH walk.
   3429 case $as_dir in #((
   3430   ./ | /[cC]/* | \
   3431   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3432   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3433   /usr/ucb/* ) ;;
   3434   *)
   3435     # OSF1 and SCO ODT 3.0 have their own names for install.
   3436     # Don't use installbsd from OSF since it installs stuff as root
   3437     # by default.
   3438     for ac_prog in ginstall scoinst install; do
   3439       for ac_exec_ext in '' $ac_executable_extensions; do
   3440 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   3441 	  if test $ac_prog = install &&
   3442 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3443 	    # AIX install.  It has an incompatible calling convention.
   3444 	    :
   3445 	  elif test $ac_prog = install &&
   3446 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3447 	    # program-specific install script used by HP pwplus--don't use.
   3448 	    :
   3449 	  else
   3450 	    rm -rf conftest.one conftest.two conftest.dir
   3451 	    echo one > conftest.one
   3452 	    echo two > conftest.two
   3453 	    mkdir conftest.dir
   3454 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   3455 	      test -s conftest.one && test -s conftest.two &&
   3456 	      test -s conftest.dir/conftest.one &&
   3457 	      test -s conftest.dir/conftest.two
   3458 	    then
   3459 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   3460 	      break 3
   3461 	    fi
   3462 	  fi
   3463 	fi
   3464       done
   3465     done
   3466     ;;
   3467 esac
   3468 
   3469   done
   3470 IFS=$as_save_IFS
   3471 
   3472 rm -rf conftest.one conftest.two conftest.dir
   3473  ;;
   3474 esac
   3475 fi
   3476   if test ${ac_cv_path_install+y}; then
   3477     INSTALL=$ac_cv_path_install
   3478   else
   3479     # As a last resort, use the slow shell script.  Don't cache a
   3480     # value for INSTALL within a source directory, because that will
   3481     # break other packages using the cache if that directory is
   3482     # removed, or if the value is a relative name.
   3483     INSTALL=$ac_install_sh
   3484   fi
   3485 fi
   3486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3487 printf "%s\n" "$INSTALL" >&6; }
   3488 
   3489 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3490 # It thinks the first close brace ends the variable substitution.
   3491 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3492 
   3493 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3494 
   3495 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3496 
   3497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   3498 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   3499 if test ${am_cv_sleep_fractional_seconds+y}
   3500 then :
   3501   printf %s "(cached) " >&6
   3502 else case e in #(
   3503   e) if sleep 0.001 2>/dev/null
   3504 then :
   3505   am_cv_sleep_fractional_seconds=yes
   3506 else case e in #(
   3507   e) am_cv_sleep_fractional_seconds=no ;;
   3508 esac
   3509 fi
   3510  ;;
   3511 esac
   3512 fi
   3513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   3514 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   3515 
   3516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   3517 printf %s "checking filesystem timestamp resolution... " >&6; }
   3518 if test ${am_cv_filesystem_timestamp_resolution+y}
   3519 then :
   3520   printf %s "(cached) " >&6
   3521 else case e in #(
   3522   e) # Default to the worst case.
   3523 am_cv_filesystem_timestamp_resolution=2
   3524 
   3525 # Only try to go finer than 1 sec if sleep can do it.
   3526 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   3527 # - 1 sec is not much of a win compared to 2 sec, and
   3528 # - it takes 2 seconds to perform the test whether 1 sec works.
   3529 #
   3530 # Instead, just use the default 2s on platforms that have 1s resolution,
   3531 # accept the extra 1s delay when using $sleep in the Automake tests, in
   3532 # exchange for not incurring the 2s delay for running the test for all
   3533 # packages.
   3534 #
   3535 am_try_resolutions=
   3536 if test "$am_cv_sleep_fractional_seconds" = yes; then
   3537   # Even a millisecond often causes a bunch of false positives,
   3538   # so just try a hundredth of a second. The time saved between .001 and
   3539   # .01 is not terribly consequential.
   3540   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   3541 fi
   3542 
   3543 # In order to catch current-generation FAT out, we must *modify* files
   3544 # that already exist; the *creation* timestamp is finer.  Use names
   3545 # that make ls -t sort them differently when they have equal
   3546 # timestamps than when they have distinct timestamps, keeping
   3547 # in mind that ls -t prints the *newest* file first.
   3548 rm -f conftest.ts?
   3549 : > conftest.ts1
   3550 : > conftest.ts2
   3551 : > conftest.ts3
   3552 
   3553 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   3554 # clobber the current shell's arguments. (Outer-level square brackets
   3555 # are removed by m4; they're present so that m4 does not expand
   3556 # <dollar><star>; be careful, easy to get confused.)
   3557 if (
   3558      set X `ls -t conftest.ts[12]` &&
   3559      {
   3560        test "$*" != "X conftest.ts1 conftest.ts2" ||
   3561        test "$*" != "X conftest.ts2 conftest.ts1";
   3562      }
   3563 ); then :; else
   3564   # If neither matched, then we have a broken ls.  This can happen
   3565   # if, for instance, CONFIG_SHELL is bash and it inherits a
   3566   # broken ls alias from the environment.  This has actually
   3567   # happened.  Such a system could not be considered "sane".
   3568   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   3569   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3570 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3571 as_fn_error $? "ls -t produces unexpected output.
   3572 Make sure there is not a broken ls alias in your environment.
   3573 See 'config.log' for more details" "$LINENO" 5; }
   3574 fi
   3575 
   3576 for am_try_res in $am_try_resolutions; do
   3577   # Any one fine-grained sleep might happen to cross the boundary
   3578   # between two values of a coarser actual resolution, but if we do
   3579   # two fine-grained sleeps in a row, at least one of them will fall
   3580   # entirely within a coarse interval.
   3581   echo alpha > conftest.ts1
   3582   sleep $am_try_res
   3583   echo beta > conftest.ts2
   3584   sleep $am_try_res
   3585   echo gamma > conftest.ts3
   3586 
   3587   # We assume that 'ls -t' will make use of high-resolution
   3588   # timestamps if the operating system supports them at all.
   3589   if (set X `ls -t conftest.ts?` &&
   3590       test "$2" = conftest.ts3 &&
   3591       test "$3" = conftest.ts2 &&
   3592       test "$4" = conftest.ts1); then
   3593     #
   3594     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   3595     # because we don't need to test make.
   3596     make_ok=true
   3597     if test $am_try_res != 1; then
   3598       # But if we've succeeded so far with a subsecond resolution, we
   3599       # have one more thing to check: make. It can happen that
   3600       # everything else supports the subsecond mtimes, but make doesn't;
   3601       # notably on macOS, which ships make 3.81 from 2006 (the last one
   3602       # released under GPLv2). https://bugs.gnu.org/68808
   3603       #
   3604       # We test $MAKE if it is defined in the environment, else "make".
   3605       # It might get overridden later, but our hope is that in practice
   3606       # it does not matter: it is the system "make" which is (by far)
   3607       # the most likely to be broken, whereas if the user overrides it,
   3608       # probably they did so with a better, or at least not worse, make.
   3609       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   3610       #
   3611       # Create a Makefile (real tab character here):
   3612       rm -f conftest.mk
   3613       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   3614       echo '	touch conftest.ts2' >>conftest.mk
   3615       #
   3616       # Now, running
   3617       #   touch conftest.ts1; touch conftest.ts2; make
   3618       # should touch ts1 because ts2 is newer. This could happen by luck,
   3619       # but most often, it will fail if make's support is insufficient. So
   3620       # test for several consecutive successes.
   3621       #
   3622       # (We reuse conftest.ts[12] because we still want to modify existing
   3623       # files, not create new ones, per above.)
   3624       n=0
   3625       make=${MAKE-make}
   3626       until test $n -eq 3; do
   3627         echo one > conftest.ts1
   3628         sleep $am_try_res
   3629         echo two > conftest.ts2 # ts2 should now be newer than ts1
   3630         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   3631           make_ok=false
   3632           break # out of $n loop
   3633         fi
   3634         n=`expr $n + 1`
   3635       done
   3636     fi
   3637     #
   3638     if $make_ok; then
   3639       # Everything we know to check worked out, so call this resolution good.
   3640       am_cv_filesystem_timestamp_resolution=$am_try_res
   3641       break # out of $am_try_res loop
   3642     fi
   3643     # Otherwise, we'll go on to check the next resolution.
   3644   fi
   3645 done
   3646 rm -f conftest.ts?
   3647 # (end _am_filesystem_timestamp_resolution)
   3648  ;;
   3649 esac
   3650 fi
   3651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   3652 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   3653 
   3654 # This check should not be cached, as it may vary across builds of
   3655 # different projects.
   3656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3657 printf %s "checking whether build environment is sane... " >&6; }
   3658 # Reject unsafe characters in $srcdir or the absolute working directory
   3659 # name.  Accept space and tab only in the latter.
   3660 am_lf='
   3661 '
   3662 case `pwd` in
   3663   *[\\\"\#\$\&\'\`$am_lf]*)
   3664     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3665 printf "%s\n" "no" >&6; }
   3666     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3667 esac
   3668 case $srcdir in
   3669   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3670     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3671 printf "%s\n" "no" >&6; }
   3672     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3673 esac
   3674 
   3675 # Do 'set' in a subshell so we don't clobber the current shell's
   3676 # arguments.  Must try -L first in case configure is actually a
   3677 # symlink; some systems play weird games with the mod time of symlinks
   3678 # (eg FreeBSD returns the mod time of the symlink's containing
   3679 # directory).
   3680 am_build_env_is_sane=no
   3681 am_has_slept=no
   3682 rm -f conftest.file
   3683 for am_try in 1 2; do
   3684   echo "timestamp, slept: $am_has_slept" > conftest.file
   3685   if (
   3686     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3687     if test "$*" = "X"; then
   3688       # -L didn't work.
   3689       set X `ls -t "$srcdir/configure" conftest.file`
   3690     fi
   3691     test "$2" = conftest.file
   3692   ); then
   3693     am_build_env_is_sane=yes
   3694     break
   3695   fi
   3696   # Just in case.
   3697   sleep "$am_cv_filesystem_timestamp_resolution"
   3698   am_has_slept=yes
   3699 done
   3700 
   3701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   3702 printf "%s\n" "$am_build_env_is_sane" >&6; }
   3703 if test "$am_build_env_is_sane" = no; then
   3704   as_fn_error $? "newly created file is older than distributed files!
   3705 Check your system clock" "$LINENO" 5
   3706 fi
   3707 
   3708 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3709 # generated files are strictly newer.
   3710 am_sleep_pid=
   3711 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   3712 then :
   3713 
   3714 else case e in #(
   3715   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   3716   am_sleep_pid=$!
   3717  ;;
   3718 esac
   3719 fi
   3720 
   3721 rm -f conftest.file
   3722 
   3723 test "$program_prefix" != NONE &&
   3724   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3725 # Use a double $ so make ignores it.
   3726 test "$program_suffix" != NONE &&
   3727   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3728 # Double any \ or $.
   3729 # By default was 's,x,x', remove it if useless.
   3730 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3731 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   3732 
   3733 
   3734 # Expand $ac_aux_dir to an absolute path.
   3735 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3736 
   3737 
   3738   if test x"${MISSING+set}" != xset; then
   3739   MISSING="\${SHELL} '$am_aux_dir/missing'"
   3740 fi
   3741 # Use eval to expand $SHELL
   3742 if eval "$MISSING --is-lightweight"; then
   3743   am_missing_run="$MISSING "
   3744 else
   3745   am_missing_run=
   3746   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3747 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3748 fi
   3749 
   3750 if test x"${install_sh+set}" != xset; then
   3751   case $am_aux_dir in
   3752   *\ * | *\	*)
   3753     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3754   *)
   3755     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3756   esac
   3757 fi
   3758 
   3759 # Installed binaries are usually stripped using 'strip' when the user
   3760 # run "make install-strip".  However 'strip' might not be the right
   3761 # tool to use in cross-compilation environments, therefore Automake
   3762 # will honor the 'STRIP' environment variable to overrule this program.
   3763 if test "$cross_compiling" != no; then
   3764   if test -n "$ac_tool_prefix"; then
   3765   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3766 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3768 printf %s "checking for $ac_word... " >&6; }
   3769 if test ${ac_cv_prog_STRIP+y}
   3770 then :
   3771   printf %s "(cached) " >&6
   3772 else case e in #(
   3773   e) if test -n "$STRIP"; then
   3774   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3775 else
   3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3777 for as_dir in $PATH
   3778 do
   3779   IFS=$as_save_IFS
   3780   case $as_dir in #(((
   3781     '') as_dir=./ ;;
   3782     */) ;;
   3783     *) as_dir=$as_dir/ ;;
   3784   esac
   3785     for ac_exec_ext in '' $ac_executable_extensions; do
   3786   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3787     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3788     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3789     break 2
   3790   fi
   3791 done
   3792   done
   3793 IFS=$as_save_IFS
   3794 
   3795 fi ;;
   3796 esac
   3797 fi
   3798 STRIP=$ac_cv_prog_STRIP
   3799 if test -n "$STRIP"; then
   3800   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3801 printf "%s\n" "$STRIP" >&6; }
   3802 else
   3803   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3804 printf "%s\n" "no" >&6; }
   3805 fi
   3806 
   3807 
   3808 fi
   3809 if test -z "$ac_cv_prog_STRIP"; then
   3810   ac_ct_STRIP=$STRIP
   3811   # Extract the first word of "strip", so it can be a program name with args.
   3812 set dummy strip; ac_word=$2
   3813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3814 printf %s "checking for $ac_word... " >&6; }
   3815 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3816 then :
   3817   printf %s "(cached) " >&6
   3818 else case e in #(
   3819   e) if test -n "$ac_ct_STRIP"; then
   3820   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3821 else
   3822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3823 for as_dir in $PATH
   3824 do
   3825   IFS=$as_save_IFS
   3826   case $as_dir in #(((
   3827     '') as_dir=./ ;;
   3828     */) ;;
   3829     *) as_dir=$as_dir/ ;;
   3830   esac
   3831     for ac_exec_ext in '' $ac_executable_extensions; do
   3832   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3833     ac_cv_prog_ac_ct_STRIP="strip"
   3834     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3835     break 2
   3836   fi
   3837 done
   3838   done
   3839 IFS=$as_save_IFS
   3840 
   3841 fi ;;
   3842 esac
   3843 fi
   3844 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3845 if test -n "$ac_ct_STRIP"; then
   3846   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3847 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3848 else
   3849   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3850 printf "%s\n" "no" >&6; }
   3851 fi
   3852 
   3853   if test "x$ac_ct_STRIP" = x; then
   3854     STRIP=":"
   3855   else
   3856     case $cross_compiling:$ac_tool_warned in
   3857 yes:)
   3858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3859 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3860 ac_tool_warned=yes ;;
   3861 esac
   3862     STRIP=$ac_ct_STRIP
   3863   fi
   3864 else
   3865   STRIP="$ac_cv_prog_STRIP"
   3866 fi
   3867 
   3868 fi
   3869 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3870 
   3871 
   3872   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3873 printf %s "checking for a race-free mkdir -p... " >&6; }
   3874 if test -z "$MKDIR_P"; then
   3875   if test ${ac_cv_path_mkdir+y}
   3876 then :
   3877   printf %s "(cached) " >&6
   3878 else case e in #(
   3879   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3880 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3881 do
   3882   IFS=$as_save_IFS
   3883   case $as_dir in #(((
   3884     '') as_dir=./ ;;
   3885     */) ;;
   3886     *) as_dir=$as_dir/ ;;
   3887   esac
   3888     for ac_prog in mkdir gmkdir; do
   3889 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3890 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3891 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3892 	     'mkdir ('*'coreutils) '* | \
   3893 	     *'BusyBox '* | \
   3894 	     'mkdir (fileutils) '4.1*)
   3895 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3896 	       break 3;;
   3897 	   esac
   3898 	 done
   3899        done
   3900   done
   3901 IFS=$as_save_IFS
   3902  ;;
   3903 esac
   3904 fi
   3905 
   3906   test -d ./--version && rmdir ./--version
   3907   if test ${ac_cv_path_mkdir+y}; then
   3908     MKDIR_P="$ac_cv_path_mkdir -p"
   3909   else
   3910     # As a last resort, use plain mkdir -p,
   3911     # in the hope it doesn't have the bugs of ancient mkdir.
   3912     MKDIR_P='mkdir -p'
   3913   fi
   3914 fi
   3915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3916 printf "%s\n" "$MKDIR_P" >&6; }
   3917 
   3918 for ac_prog in gawk mawk nawk awk
   3919 do
   3920   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3921 set dummy $ac_prog; ac_word=$2
   3922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3923 printf %s "checking for $ac_word... " >&6; }
   3924 if test ${ac_cv_prog_AWK+y}
   3925 then :
   3926   printf %s "(cached) " >&6
   3927 else case e in #(
   3928   e) if test -n "$AWK"; then
   3929   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3930 else
   3931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3932 for as_dir in $PATH
   3933 do
   3934   IFS=$as_save_IFS
   3935   case $as_dir in #(((
   3936     '') as_dir=./ ;;
   3937     */) ;;
   3938     *) as_dir=$as_dir/ ;;
   3939   esac
   3940     for ac_exec_ext in '' $ac_executable_extensions; do
   3941   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3942     ac_cv_prog_AWK="$ac_prog"
   3943     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3944     break 2
   3945   fi
   3946 done
   3947   done
   3948 IFS=$as_save_IFS
   3949 
   3950 fi ;;
   3951 esac
   3952 fi
   3953 AWK=$ac_cv_prog_AWK
   3954 if test -n "$AWK"; then
   3955   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3956 printf "%s\n" "$AWK" >&6; }
   3957 else
   3958   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3959 printf "%s\n" "no" >&6; }
   3960 fi
   3961 
   3962 
   3963   test -n "$AWK" && break
   3964 done
   3965 
   3966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3967 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3968 set x ${MAKE-make}
   3969 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3970 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3971 then :
   3972   printf %s "(cached) " >&6
   3973 else case e in #(
   3974   e) cat >conftest.make <<\_ACEOF
   3975 SHELL = /bin/sh
   3976 all:
   3977 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3978 _ACEOF
   3979 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3980 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3981   *@@@%%%=?*=@@@%%%*)
   3982     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3983   *)
   3984     eval ac_cv_prog_make_${ac_make}_set=no;;
   3985 esac
   3986 rm -f conftest.make ;;
   3987 esac
   3988 fi
   3989 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3990   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3991 printf "%s\n" "yes" >&6; }
   3992   SET_MAKE=
   3993 else
   3994   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3995 printf "%s\n" "no" >&6; }
   3996   SET_MAKE="MAKE=${MAKE-make}"
   3997 fi
   3998 
   3999 rm -rf .tst 2>/dev/null
   4000 mkdir .tst 2>/dev/null
   4001 if test -d .tst; then
   4002   am__leading_dot=.
   4003 else
   4004   am__leading_dot=_
   4005 fi
   4006 rmdir .tst 2>/dev/null
   4007 
   4008 AM_DEFAULT_VERBOSITY=1
   4009 # Check whether --enable-silent-rules was given.
   4010 if test ${enable_silent_rules+y}
   4011 then :
   4012   enableval=$enable_silent_rules;
   4013 fi
   4014 
   4015 am_make=${MAKE-make}
   4016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4017 printf %s "checking whether $am_make supports nested variables... " >&6; }
   4018 if test ${am_cv_make_support_nested_variables+y}
   4019 then :
   4020   printf %s "(cached) " >&6
   4021 else case e in #(
   4022   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   4023 BAR0=false
   4024 BAR1=true
   4025 V=1
   4026 am__doit:
   4027 	@$(TRUE)
   4028 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4029   am_cv_make_support_nested_variables=yes
   4030 else
   4031   am_cv_make_support_nested_variables=no
   4032 fi ;;
   4033 esac
   4034 fi
   4035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4036 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   4037 AM_BACKSLASH='\'
   4038 
   4039 am__rm_f_notfound=
   4040 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   4041 then :
   4042 
   4043 else case e in #(
   4044   e) am__rm_f_notfound='""' ;;
   4045 esac
   4046 fi
   4047 
   4048 
   4049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   4050 printf %s "checking xargs -n works... " >&6; }
   4051 if test ${am_cv_xargs_n_works+y}
   4052 then :
   4053   printf %s "(cached) " >&6
   4054 else case e in #(
   4055   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   4056 3"
   4057 then :
   4058   am_cv_xargs_n_works=yes
   4059 else case e in #(
   4060   e) am_cv_xargs_n_works=no ;;
   4061 esac
   4062 fi ;;
   4063 esac
   4064 fi
   4065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   4066 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   4067 if test "$am_cv_xargs_n_works" = yes
   4068 then :
   4069   am__xargs_n='xargs -n'
   4070 else case e in #(
   4071   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   4072  ;;
   4073 esac
   4074 fi
   4075 
   4076 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4077   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4078   # is not polluted with repeated "-I."
   4079   am__isrc=' -I$(srcdir)'
   4080   # test to see if srcdir already configured
   4081   if test -f $srcdir/config.status; then
   4082     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4083   fi
   4084 fi
   4085 
   4086 # test whether we have cygpath
   4087 if test -z "$CYGPATH_W"; then
   4088   if (cygpath --version) >/dev/null 2>/dev/null; then
   4089     CYGPATH_W='cygpath -w'
   4090   else
   4091     CYGPATH_W=echo
   4092   fi
   4093 fi
   4094 
   4095 
   4096 # Define the identity of the package.
   4097  PACKAGE='expat'
   4098  VERSION='2.8.5'
   4099 
   4100 
   4101 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   4102 
   4103 
   4104 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   4105 
   4106 # Some tools Automake needs.
   4107 
   4108 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4109 
   4110 
   4111 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4112 
   4113 
   4114 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4115 
   4116 
   4117 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4118 
   4119 
   4120 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4121 
   4122 # For better backward compatibility.  To be removed once Automake 1.9.x
   4123 # dies out for good.  For more background, see:
   4124 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4125 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4126 mkdir_p='$(MKDIR_P)'
   4127 
   4128 # We need awk for the "check" target (and possibly the TAP driver).  The
   4129 # system "awk" is bad on some platforms.
   4130 # Always define AMTAR for backward compatibility.  It's still used
   4131 # in the wild, let's not break things.
   4132 AMTAR='$${TAR-tar}'
   4133 
   4134 
   4135 # The dist rules treat anything $(am__tar) writes to standard error as
   4136 # a failure (automake bug#19614).  Set this to "yes" for archivers that
   4137 # write there when all is well; cpio reports a block count.
   4138 am__tar_ignore_stderr=no
   4139 
   4140 # We'll loop over all known methods to create a tar archive until one works.
   4141 _am_tools='gnutar plaintar pax cpio none'
   4142 
   4143 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   4144       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   4145       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   4146       # and bug#13588).
   4147       am_max_uid=2097151 # 2^21 - 1
   4148       am_max_gid=$am_max_uid
   4149       # The $UID and $GID variables are not portable, so we need to resort
   4150       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   4151       # below are definitely unexpected, so allow the users to see them
   4152       # (that is, avoid stderr redirection).
   4153       am_uid=`id -u || echo unknown`
   4154       am_gid=`id -g || echo unknown`
   4155       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   4156 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   4157       if test x$am_uid = xunknown; then
   4158         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   4159 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   4160       elif test $am_uid -le $am_max_uid; then
   4161         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4162 printf "%s\n" "yes" >&6; }
   4163       else
   4164         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4165 printf "%s\n" "no" >&6; }
   4166         _am_tools=none
   4167       fi
   4168       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   4169 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   4170       if test x$gm_gid = xunknown; then
   4171         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   4172 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   4173       elif test $am_gid -le $am_max_gid; then
   4174         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4175 printf "%s\n" "yes" >&6; }
   4176       else
   4177         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4178 printf "%s\n" "no" >&6; }
   4179         _am_tools=none
   4180       fi
   4181 
   4182   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   4183 printf %s "checking how to create a ustar tar archive... " >&6; }
   4184 
   4185   # Go ahead even if we have the value already cached.  We do so because we
   4186   # need to set the values for the 'am__tar' and 'am__untar' variables.
   4187   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   4188 
   4189   for _am_tool in $_am_tools; do
   4190     am__tar_ignore_stderr=no
   4191     case $_am_tool in
   4192     gnutar)
   4193       for _am_tar in tar gnutar gtar; do
   4194         { echo "$as_me:$LINENO: $_am_tar --version | grep GNU >/dev/null" >&5
   4195    ($_am_tar --version | grep GNU >/dev/null) >&5 2>&5
   4196    ac_status=$?
   4197    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4198    (exit $ac_status); } && break
   4199       done
   4200       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   4201       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   4202       am__untar="$_am_tar -xf -"
   4203       ;;
   4204     plaintar)
   4205       # Must skip GNU tar: if it does not support --format= it doesn't create
   4206       # ustar tarball either.
   4207       (tar --version | grep GNU) >/dev/null 2>&1 && continue
   4208       am__tar='tar chf - "$$tardir"'
   4209       am__tar_='tar chf - "$tardir"'
   4210       am__untar='tar xf -'
   4211       ;;
   4212     pax)
   4213       am__tar='pax -L -x ustar -w "$$tardir"'
   4214       am__tar_='pax -L -x ustar -w "$tardir"'
   4215       am__untar='pax -r'
   4216       ;;
   4217     cpio)
   4218       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   4219       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   4220       am__untar='cpio -i -H ustar -d'
   4221       am__tar_ignore_stderr=yes
   4222       ;;
   4223     none)
   4224       am__tar=false
   4225       am__tar_=false
   4226       am__untar=false
   4227       ;;
   4228     esac
   4229 
   4230     # If the value was cached, stop now.  We just wanted to have am__tar
   4231     # and am__untar set.
   4232     test -n "${am_cv_prog_tar_ustar}" && break
   4233 
   4234     # tar/untar a dummy directory, and stop if the command works.
   4235     rm -rf conftest.dir
   4236     mkdir conftest.dir
   4237     echo GrepMe > conftest.dir/file
   4238     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   4239    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   4240    ac_status=$?
   4241    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4242    (exit $ac_status); }
   4243     rm -rf conftest.dir
   4244     if test -s conftest.tar; then
   4245       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   4246    ($am__untar <conftest.tar) >&5 2>&5
   4247    ac_status=$?
   4248    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4249    (exit $ac_status); }
   4250       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   4251    (cat conftest.dir/file) >&5 2>&5
   4252    ac_status=$?
   4253    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4254    (exit $ac_status); }
   4255       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   4256     fi
   4257   done
   4258   rm -rf conftest.dir
   4259 
   4260   if test ${am_cv_prog_tar_ustar+y}
   4261 then :
   4262   printf %s "(cached) " >&6
   4263 else case e in #(
   4264   e) am_cv_prog_tar_ustar=$_am_tool ;;
   4265 esac
   4266 fi
   4267 
   4268   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   4269 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
   4270 
   4271 
   4272 
   4273 
   4274 
   4275 
   4276 # Variables for tags utilities; see am/tags.am
   4277 if test -z "$CTAGS"; then
   4278   CTAGS=ctags
   4279 fi
   4280 
   4281 if test -z "$ETAGS"; then
   4282   ETAGS=etags
   4283 fi
   4284 
   4285 if test -z "$CSCOPE"; then
   4286   CSCOPE=cscope
   4287 fi
   4288 
   4289 
   4290 
   4291 
   4292 
   4293 
   4294 
   4295 
   4296 
   4297 
   4298 
   4299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   4300 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   4301     # Check whether --enable-maintainer-mode was given.
   4302 if test ${enable_maintainer_mode+y}
   4303 then :
   4304   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   4305 else case e in #(
   4306   e) USE_MAINTAINER_MODE=yes ;;
   4307 esac
   4308 fi
   4309 
   4310   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   4311 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
   4312    if test $USE_MAINTAINER_MODE = yes; then
   4313   MAINTAINER_MODE_TRUE=
   4314   MAINTAINER_MODE_FALSE='#'
   4315 else
   4316   MAINTAINER_MODE_TRUE='#'
   4317   MAINTAINER_MODE_FALSE=
   4318 fi
   4319 
   4320   MAINT=$MAINTAINER_MODE_TRUE
   4321 
   4322   # to allow argument --disable-maintainer-mode
   4323 
   4324 
   4325 
   4326 LIBCURRENT=13  # sync
   4327 LIBREVISION=5  # with
   4328 LIBAGE=12      # CMakeLists.txt!
   4329 
   4330 ac_config_headers="$ac_config_headers expat_config.h"
   4331 
   4332 
   4333 
   4334 
   4335 
   4336 
   4337 
   4338 
   4339 
   4340 
   4341 
   4342 
   4343 
   4344 DEPDIR="${am__leading_dot}deps"
   4345 
   4346 ac_config_commands="$ac_config_commands depfiles"
   4347 
   4348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4349 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4350 cat > confinc.mk << 'END'
   4351 am__doit:
   4352 	@echo this is the am__doit target >confinc.out
   4353 .PHONY: am__doit
   4354 END
   4355 am__include="#"
   4356 am__quote=
   4357 # BSD make does it like this.
   4358 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4359 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4360 echo 'include confinc.mk # ignored' > confmf.GNU
   4361 _am_result=no
   4362 for s in GNU BSD; do
   4363   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4364    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4365    ac_status=$?
   4366    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4367    (exit $ac_status); }
   4368   case $?:`cat confinc.out 2>/dev/null` in #(
   4369   '0:this is the am__doit target') :
   4370     case $s in #(
   4371   BSD) :
   4372     am__include='.include' am__quote='"' ;; #(
   4373   *) :
   4374     am__include='include' am__quote='' ;;
   4375 esac ;; #(
   4376   *) :
   4377      ;;
   4378 esac
   4379   if test "$am__include" != "#"; then
   4380     _am_result="yes ($s style)"
   4381     break
   4382   fi
   4383 done
   4384 rm -f confinc.* confmf.*
   4385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4386 printf "%s\n" "${_am_result}" >&6; }
   4387 
   4388 # Check whether --enable-dependency-tracking was given.
   4389 if test ${enable_dependency_tracking+y}
   4390 then :
   4391   enableval=$enable_dependency_tracking;
   4392 fi
   4393 
   4394 if test "x$enable_dependency_tracking" != xno; then
   4395   am_depcomp="$ac_aux_dir/depcomp"
   4396   AMDEPBACKSLASH='\'
   4397   am__nodep='_no'
   4398 fi
   4399  if test "x$enable_dependency_tracking" != xno; then
   4400   AMDEP_TRUE=
   4401   AMDEP_FALSE='#'
   4402 else
   4403   AMDEP_TRUE='#'
   4404   AMDEP_FALSE=
   4405 fi
   4406 
   4407 
   4408 ac_ext=c
   4409 ac_cpp='$CPP $CPPFLAGS'
   4410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4413 if test -n "$ac_tool_prefix"; then
   4414   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4415 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4417 printf %s "checking for $ac_word... " >&6; }
   4418 if test ${ac_cv_prog_CC+y}
   4419 then :
   4420   printf %s "(cached) " >&6
   4421 else case e in #(
   4422   e) if test -n "$CC"; then
   4423   ac_cv_prog_CC="$CC" # Let the user override the test.
   4424 else
   4425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4426 for as_dir in $PATH
   4427 do
   4428   IFS=$as_save_IFS
   4429   case $as_dir in #(((
   4430     '') as_dir=./ ;;
   4431     */) ;;
   4432     *) as_dir=$as_dir/ ;;
   4433   esac
   4434     for ac_exec_ext in '' $ac_executable_extensions; do
   4435   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4436     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4437     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4438     break 2
   4439   fi
   4440 done
   4441   done
   4442 IFS=$as_save_IFS
   4443 
   4444 fi ;;
   4445 esac
   4446 fi
   4447 CC=$ac_cv_prog_CC
   4448 if test -n "$CC"; then
   4449   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4450 printf "%s\n" "$CC" >&6; }
   4451 else
   4452   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4453 printf "%s\n" "no" >&6; }
   4454 fi
   4455 
   4456 
   4457 fi
   4458 if test -z "$ac_cv_prog_CC"; then
   4459   ac_ct_CC=$CC
   4460   # Extract the first word of "gcc", so it can be a program name with args.
   4461 set dummy gcc; ac_word=$2
   4462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4463 printf %s "checking for $ac_word... " >&6; }
   4464 if test ${ac_cv_prog_ac_ct_CC+y}
   4465 then :
   4466   printf %s "(cached) " >&6
   4467 else case e in #(
   4468   e) if test -n "$ac_ct_CC"; then
   4469   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4470 else
   4471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4472 for as_dir in $PATH
   4473 do
   4474   IFS=$as_save_IFS
   4475   case $as_dir in #(((
   4476     '') as_dir=./ ;;
   4477     */) ;;
   4478     *) as_dir=$as_dir/ ;;
   4479   esac
   4480     for ac_exec_ext in '' $ac_executable_extensions; do
   4481   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4482     ac_cv_prog_ac_ct_CC="gcc"
   4483     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4484     break 2
   4485   fi
   4486 done
   4487   done
   4488 IFS=$as_save_IFS
   4489 
   4490 fi ;;
   4491 esac
   4492 fi
   4493 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4494 if test -n "$ac_ct_CC"; then
   4495   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4496 printf "%s\n" "$ac_ct_CC" >&6; }
   4497 else
   4498   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4499 printf "%s\n" "no" >&6; }
   4500 fi
   4501 
   4502   if test "x$ac_ct_CC" = x; then
   4503     CC=""
   4504   else
   4505     case $cross_compiling:$ac_tool_warned in
   4506 yes:)
   4507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4508 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4509 ac_tool_warned=yes ;;
   4510 esac
   4511     CC=$ac_ct_CC
   4512   fi
   4513 else
   4514   CC="$ac_cv_prog_CC"
   4515 fi
   4516 
   4517 if test -z "$CC"; then
   4518           if test -n "$ac_tool_prefix"; then
   4519     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4520 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4522 printf %s "checking for $ac_word... " >&6; }
   4523 if test ${ac_cv_prog_CC+y}
   4524 then :
   4525   printf %s "(cached) " >&6
   4526 else case e in #(
   4527   e) if test -n "$CC"; then
   4528   ac_cv_prog_CC="$CC" # Let the user override the test.
   4529 else
   4530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4531 for as_dir in $PATH
   4532 do
   4533   IFS=$as_save_IFS
   4534   case $as_dir in #(((
   4535     '') as_dir=./ ;;
   4536     */) ;;
   4537     *) as_dir=$as_dir/ ;;
   4538   esac
   4539     for ac_exec_ext in '' $ac_executable_extensions; do
   4540   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4541     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4542     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4543     break 2
   4544   fi
   4545 done
   4546   done
   4547 IFS=$as_save_IFS
   4548 
   4549 fi ;;
   4550 esac
   4551 fi
   4552 CC=$ac_cv_prog_CC
   4553 if test -n "$CC"; then
   4554   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4555 printf "%s\n" "$CC" >&6; }
   4556 else
   4557   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4558 printf "%s\n" "no" >&6; }
   4559 fi
   4560 
   4561 
   4562   fi
   4563 fi
   4564 if test -z "$CC"; then
   4565   # Extract the first word of "cc", so it can be a program name with args.
   4566 set dummy cc; ac_word=$2
   4567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4568 printf %s "checking for $ac_word... " >&6; }
   4569 if test ${ac_cv_prog_CC+y}
   4570 then :
   4571   printf %s "(cached) " >&6
   4572 else case e in #(
   4573   e) if test -n "$CC"; then
   4574   ac_cv_prog_CC="$CC" # Let the user override the test.
   4575 else
   4576   ac_prog_rejected=no
   4577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4578 for as_dir in $PATH
   4579 do
   4580   IFS=$as_save_IFS
   4581   case $as_dir in #(((
   4582     '') as_dir=./ ;;
   4583     */) ;;
   4584     *) as_dir=$as_dir/ ;;
   4585   esac
   4586     for ac_exec_ext in '' $ac_executable_extensions; do
   4587   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4588     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4589        ac_prog_rejected=yes
   4590        continue
   4591      fi
   4592     ac_cv_prog_CC="cc"
   4593     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4594     break 2
   4595   fi
   4596 done
   4597   done
   4598 IFS=$as_save_IFS
   4599 
   4600 if test $ac_prog_rejected = yes; then
   4601   # We found a bogon in the path, so make sure we never use it.
   4602   set dummy $ac_cv_prog_CC
   4603   shift
   4604   if test $# != 0; then
   4605     # We chose a different compiler from the bogus one.
   4606     # However, it has the same basename, so the bogon will be chosen
   4607     # first if we set CC to just the basename; use the full file name.
   4608     shift
   4609     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   4610   fi
   4611 fi
   4612 fi ;;
   4613 esac
   4614 fi
   4615 CC=$ac_cv_prog_CC
   4616 if test -n "$CC"; then
   4617   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4618 printf "%s\n" "$CC" >&6; }
   4619 else
   4620   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4621 printf "%s\n" "no" >&6; }
   4622 fi
   4623 
   4624 
   4625 fi
   4626 if test -z "$CC"; then
   4627   if test -n "$ac_tool_prefix"; then
   4628   for ac_prog in cl.exe
   4629   do
   4630     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4631 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4633 printf %s "checking for $ac_word... " >&6; }
   4634 if test ${ac_cv_prog_CC+y}
   4635 then :
   4636   printf %s "(cached) " >&6
   4637 else case e in #(
   4638   e) if test -n "$CC"; then
   4639   ac_cv_prog_CC="$CC" # Let the user override the test.
   4640 else
   4641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4642 for as_dir in $PATH
   4643 do
   4644   IFS=$as_save_IFS
   4645   case $as_dir in #(((
   4646     '') as_dir=./ ;;
   4647     */) ;;
   4648     *) as_dir=$as_dir/ ;;
   4649   esac
   4650     for ac_exec_ext in '' $ac_executable_extensions; do
   4651   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4652     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4653     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4654     break 2
   4655   fi
   4656 done
   4657   done
   4658 IFS=$as_save_IFS
   4659 
   4660 fi ;;
   4661 esac
   4662 fi
   4663 CC=$ac_cv_prog_CC
   4664 if test -n "$CC"; then
   4665   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4666 printf "%s\n" "$CC" >&6; }
   4667 else
   4668   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4669 printf "%s\n" "no" >&6; }
   4670 fi
   4671 
   4672 
   4673     test -n "$CC" && break
   4674   done
   4675 fi
   4676 if test -z "$CC"; then
   4677   ac_ct_CC=$CC
   4678   for ac_prog in cl.exe
   4679 do
   4680   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4681 set dummy $ac_prog; ac_word=$2
   4682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4683 printf %s "checking for $ac_word... " >&6; }
   4684 if test ${ac_cv_prog_ac_ct_CC+y}
   4685 then :
   4686   printf %s "(cached) " >&6
   4687 else case e in #(
   4688   e) if test -n "$ac_ct_CC"; then
   4689   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4690 else
   4691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4692 for as_dir in $PATH
   4693 do
   4694   IFS=$as_save_IFS
   4695   case $as_dir in #(((
   4696     '') as_dir=./ ;;
   4697     */) ;;
   4698     *) as_dir=$as_dir/ ;;
   4699   esac
   4700     for ac_exec_ext in '' $ac_executable_extensions; do
   4701   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4702     ac_cv_prog_ac_ct_CC="$ac_prog"
   4703     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4704     break 2
   4705   fi
   4706 done
   4707   done
   4708 IFS=$as_save_IFS
   4709 
   4710 fi ;;
   4711 esac
   4712 fi
   4713 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4714 if test -n "$ac_ct_CC"; then
   4715   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4716 printf "%s\n" "$ac_ct_CC" >&6; }
   4717 else
   4718   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4719 printf "%s\n" "no" >&6; }
   4720 fi
   4721 
   4722 
   4723   test -n "$ac_ct_CC" && break
   4724 done
   4725 
   4726   if test "x$ac_ct_CC" = x; then
   4727     CC=""
   4728   else
   4729     case $cross_compiling:$ac_tool_warned in
   4730 yes:)
   4731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4732 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4733 ac_tool_warned=yes ;;
   4734 esac
   4735     CC=$ac_ct_CC
   4736   fi
   4737 fi
   4738 
   4739 fi
   4740 if test -z "$CC"; then
   4741   if test -n "$ac_tool_prefix"; then
   4742   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   4743 set dummy ${ac_tool_prefix}clang; ac_word=$2
   4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4745 printf %s "checking for $ac_word... " >&6; }
   4746 if test ${ac_cv_prog_CC+y}
   4747 then :
   4748   printf %s "(cached) " >&6
   4749 else case e in #(
   4750   e) if test -n "$CC"; then
   4751   ac_cv_prog_CC="$CC" # Let the user override the test.
   4752 else
   4753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4754 for as_dir in $PATH
   4755 do
   4756   IFS=$as_save_IFS
   4757   case $as_dir in #(((
   4758     '') as_dir=./ ;;
   4759     */) ;;
   4760     *) as_dir=$as_dir/ ;;
   4761   esac
   4762     for ac_exec_ext in '' $ac_executable_extensions; do
   4763   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4764     ac_cv_prog_CC="${ac_tool_prefix}clang"
   4765     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4766     break 2
   4767   fi
   4768 done
   4769   done
   4770 IFS=$as_save_IFS
   4771 
   4772 fi ;;
   4773 esac
   4774 fi
   4775 CC=$ac_cv_prog_CC
   4776 if test -n "$CC"; then
   4777   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4778 printf "%s\n" "$CC" >&6; }
   4779 else
   4780   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4781 printf "%s\n" "no" >&6; }
   4782 fi
   4783 
   4784 
   4785 fi
   4786 if test -z "$ac_cv_prog_CC"; then
   4787   ac_ct_CC=$CC
   4788   # Extract the first word of "clang", so it can be a program name with args.
   4789 set dummy clang; ac_word=$2
   4790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4791 printf %s "checking for $ac_word... " >&6; }
   4792 if test ${ac_cv_prog_ac_ct_CC+y}
   4793 then :
   4794   printf %s "(cached) " >&6
   4795 else case e in #(
   4796   e) if test -n "$ac_ct_CC"; then
   4797   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4798 else
   4799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4800 for as_dir in $PATH
   4801 do
   4802   IFS=$as_save_IFS
   4803   case $as_dir in #(((
   4804     '') as_dir=./ ;;
   4805     */) ;;
   4806     *) as_dir=$as_dir/ ;;
   4807   esac
   4808     for ac_exec_ext in '' $ac_executable_extensions; do
   4809   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4810     ac_cv_prog_ac_ct_CC="clang"
   4811     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4812     break 2
   4813   fi
   4814 done
   4815   done
   4816 IFS=$as_save_IFS
   4817 
   4818 fi ;;
   4819 esac
   4820 fi
   4821 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4822 if test -n "$ac_ct_CC"; then
   4823   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4824 printf "%s\n" "$ac_ct_CC" >&6; }
   4825 else
   4826   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4827 printf "%s\n" "no" >&6; }
   4828 fi
   4829 
   4830   if test "x$ac_ct_CC" = x; then
   4831     CC=""
   4832   else
   4833     case $cross_compiling:$ac_tool_warned in
   4834 yes:)
   4835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4836 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4837 ac_tool_warned=yes ;;
   4838 esac
   4839     CC=$ac_ct_CC
   4840   fi
   4841 else
   4842   CC="$ac_cv_prog_CC"
   4843 fi
   4844 
   4845 fi
   4846 
   4847 
   4848 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4849 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4850 as_fn_error $? "no acceptable C compiler found in \$PATH
   4851 See 'config.log' for more details" "$LINENO" 5; }
   4852 
   4853 # Provide some information about the compiler.
   4854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4855 set X $ac_compile
   4856 ac_compiler=$2
   4857 for ac_option in --version -v -V -qversion -version; do
   4858   { { ac_try="$ac_compiler $ac_option >&5"
   4859 case "(($ac_try" in
   4860   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4861   *) ac_try_echo=$ac_try;;
   4862 esac
   4863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4864 printf "%s\n" "$ac_try_echo"; } >&5
   4865   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4866   ac_status=$?
   4867   if test -s conftest.err; then
   4868     sed '10a\
   4869 ... rest of stderr output deleted ...
   4870          10q' conftest.err >conftest.er1
   4871     cat conftest.er1 >&5
   4872   fi
   4873   rm -f conftest.er1 conftest.err
   4874   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4875   test $ac_status = 0; }
   4876 done
   4877 
   4878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4879 /* end confdefs.h.  */
   4880 
   4881 int
   4882 main (void)
   4883 {
   4884 
   4885   ;
   4886   return 0;
   4887 }
   4888 _ACEOF
   4889 ac_clean_files_save=$ac_clean_files
   4890 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4891 # Try to create an executable without -o first, disregard a.out.
   4892 # It will help us diagnose broken compilers, and finding out an intuition
   4893 # of exeext.
   4894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4895 printf %s "checking whether the C compiler works... " >&6; }
   4896 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4897 
   4898 # The possible output files:
   4899 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4900 
   4901 ac_rmfiles=
   4902 for ac_file in $ac_files
   4903 do
   4904   case $ac_file in
   4905     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4906     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4907   esac
   4908 done
   4909 rm -f $ac_rmfiles
   4910 
   4911 if { { ac_try="$ac_link_default"
   4912 case "(($ac_try" in
   4913   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4914   *) ac_try_echo=$ac_try;;
   4915 esac
   4916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4917 printf "%s\n" "$ac_try_echo"; } >&5
   4918   (eval "$ac_link_default") 2>&5
   4919   ac_status=$?
   4920   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4921   test $ac_status = 0; }
   4922 then :
   4923   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4924 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4925 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4926 # so that the user can short-circuit this test for compilers unknown to
   4927 # Autoconf.
   4928 for ac_file in $ac_files ''
   4929 do
   4930   test -f "$ac_file" || continue
   4931   case $ac_file in
   4932     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4933 	;;
   4934     [ab].out )
   4935 	# We found the default executable, but exeext='' is most
   4936 	# certainly right.
   4937 	break;;
   4938     *.* )
   4939 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4940 	then :; else
   4941 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4942 	fi
   4943 	# We set ac_cv_exeext here because the later test for it is not
   4944 	# safe: cross compilers may not add the suffix if given an '-o'
   4945 	# argument, so we may need to know it at that point already.
   4946 	# Even if this section looks crufty: it has the advantage of
   4947 	# actually working.
   4948 	break;;
   4949     * )
   4950 	break;;
   4951   esac
   4952 done
   4953 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4954 
   4955 else case e in #(
   4956   e) ac_file='' ;;
   4957 esac
   4958 fi
   4959 if test -z "$ac_file"
   4960 then :
   4961   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4962 printf "%s\n" "no" >&6; }
   4963 printf "%s\n" "$as_me: failed program was:" >&5
   4964 sed 's/^/| /' conftest.$ac_ext >&5
   4965 
   4966 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4967 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4968 as_fn_error 77 "C compiler cannot create executables
   4969 See 'config.log' for more details" "$LINENO" 5; }
   4970 else case e in #(
   4971   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4972 printf "%s\n" "yes" >&6; } ;;
   4973 esac
   4974 fi
   4975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4976 printf %s "checking for C compiler default output file name... " >&6; }
   4977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4978 printf "%s\n" "$ac_file" >&6; }
   4979 ac_exeext=$ac_cv_exeext
   4980 
   4981 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4982 ac_clean_files=$ac_clean_files_save
   4983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4984 printf %s "checking for suffix of executables... " >&6; }
   4985 if { { ac_try="$ac_link"
   4986 case "(($ac_try" in
   4987   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4988   *) ac_try_echo=$ac_try;;
   4989 esac
   4990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4991 printf "%s\n" "$ac_try_echo"; } >&5
   4992   (eval "$ac_link") 2>&5
   4993   ac_status=$?
   4994   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4995   test $ac_status = 0; }
   4996 then :
   4997   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4998 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4999 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   5000 # 'rm'.
   5001 for ac_file in conftest.exe conftest conftest.*; do
   5002   test -f "$ac_file" || continue
   5003   case $ac_file in
   5004     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   5005     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   5006 	  break;;
   5007     * ) break;;
   5008   esac
   5009 done
   5010 else case e in #(
   5011   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   5012 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   5013 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   5014 See 'config.log' for more details" "$LINENO" 5; } ;;
   5015 esac
   5016 fi
   5017 rm -f conftest conftest$ac_cv_exeext
   5018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   5019 printf "%s\n" "$ac_cv_exeext" >&6; }
   5020 
   5021 rm -f conftest.$ac_ext
   5022 EXEEXT=$ac_cv_exeext
   5023 ac_exeext=$EXEEXT
   5024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5025 /* end confdefs.h.  */
   5026 #include <stdio.h>
   5027 int
   5028 main (void)
   5029 {
   5030 FILE *f = fopen ("conftest.out", "w");
   5031  if (!f)
   5032   return 1;
   5033  return ferror (f) || fclose (f) != 0;
   5034 
   5035   ;
   5036   return 0;
   5037 }
   5038 _ACEOF
   5039 ac_clean_files="$ac_clean_files conftest.out"
   5040 # Check that the compiler produces executables we can run.  If not, either
   5041 # the compiler is broken, or we cross compile.
   5042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   5043 printf %s "checking whether we are cross compiling... " >&6; }
   5044 if test "$cross_compiling" != yes; then
   5045   { { ac_try="$ac_link"
   5046 case "(($ac_try" in
   5047   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5048   *) ac_try_echo=$ac_try;;
   5049 esac
   5050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5051 printf "%s\n" "$ac_try_echo"; } >&5
   5052   (eval "$ac_link") 2>&5
   5053   ac_status=$?
   5054   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5055   test $ac_status = 0; }
   5056   if { ac_try='./conftest$ac_cv_exeext'
   5057   { { case "(($ac_try" in
   5058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5059   *) ac_try_echo=$ac_try;;
   5060 esac
   5061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5062 printf "%s\n" "$ac_try_echo"; } >&5
   5063   (eval "$ac_try") 2>&5
   5064   ac_status=$?
   5065   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5066   test $ac_status = 0; }; }; then
   5067     cross_compiling=no
   5068   else
   5069     if test "$cross_compiling" = maybe; then
   5070 	cross_compiling=yes
   5071     else
   5072 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   5073 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   5074 as_fn_error 77 "cannot run C compiled programs.
   5075 If you meant to cross compile, use '--host'.
   5076 See 'config.log' for more details" "$LINENO" 5; }
   5077     fi
   5078   fi
   5079 fi
   5080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   5081 printf "%s\n" "$cross_compiling" >&6; }
   5082 
   5083 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   5084   conftest.o conftest.obj conftest.out
   5085 ac_clean_files=$ac_clean_files_save
   5086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   5087 printf %s "checking for suffix of object files... " >&6; }
   5088 if test ${ac_cv_objext+y}
   5089 then :
   5090   printf %s "(cached) " >&6
   5091 else case e in #(
   5092   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5093 /* end confdefs.h.  */
   5094 
   5095 int
   5096 main (void)
   5097 {
   5098 
   5099   ;
   5100   return 0;
   5101 }
   5102 _ACEOF
   5103 rm -f conftest.o conftest.obj
   5104 if { { ac_try="$ac_compile"
   5105 case "(($ac_try" in
   5106   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5107   *) ac_try_echo=$ac_try;;
   5108 esac
   5109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5110 printf "%s\n" "$ac_try_echo"; } >&5
   5111   (eval "$ac_compile") 2>&5
   5112   ac_status=$?
   5113   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5114   test $ac_status = 0; }
   5115 then :
   5116   for ac_file in conftest.o conftest.obj conftest.*; do
   5117   test -f "$ac_file" || continue;
   5118   case $ac_file in
   5119     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   5120     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   5121        break;;
   5122   esac
   5123 done
   5124 else case e in #(
   5125   e) printf "%s\n" "$as_me: failed program was:" >&5
   5126 sed 's/^/| /' conftest.$ac_ext >&5
   5127 
   5128 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   5129 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   5130 as_fn_error $? "cannot compute suffix of object files: cannot compile
   5131 See 'config.log' for more details" "$LINENO" 5; } ;;
   5132 esac
   5133 fi
   5134 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   5135 esac
   5136 fi
   5137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   5138 printf "%s\n" "$ac_cv_objext" >&6; }
   5139 OBJEXT=$ac_cv_objext
   5140 ac_objext=$OBJEXT
   5141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   5142 printf %s "checking whether the compiler supports GNU C... " >&6; }
   5143 if test ${ac_cv_c_compiler_gnu+y}
   5144 then :
   5145   printf %s "(cached) " >&6
   5146 else case e in #(
   5147   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5148 /* end confdefs.h.  */
   5149 
   5150 int
   5151 main (void)
   5152 {
   5153 #ifndef __GNUC__
   5154        choke me
   5155 #endif
   5156 
   5157   ;
   5158   return 0;
   5159 }
   5160 _ACEOF
   5161 if ac_fn_c_try_compile "$LINENO"
   5162 then :
   5163   ac_compiler_gnu=yes
   5164 else case e in #(
   5165   e) ac_compiler_gnu=no ;;
   5166 esac
   5167 fi
   5168 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5169 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   5170  ;;
   5171 esac
   5172 fi
   5173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   5174 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   5175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5176 
   5177 if test $ac_compiler_gnu = yes; then
   5178   GCC=yes
   5179 else
   5180   GCC=
   5181 fi
   5182 ac_test_CFLAGS=${CFLAGS+y}
   5183 ac_save_CFLAGS=$CFLAGS
   5184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   5185 printf %s "checking whether $CC accepts -g... " >&6; }
   5186 if test ${ac_cv_prog_cc_g+y}
   5187 then :
   5188   printf %s "(cached) " >&6
   5189 else case e in #(
   5190   e) ac_save_c_werror_flag=$ac_c_werror_flag
   5191    ac_c_werror_flag=yes
   5192    ac_cv_prog_cc_g=no
   5193    CFLAGS="-g"
   5194    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5195 /* end confdefs.h.  */
   5196 
   5197 int
   5198 main (void)
   5199 {
   5200 
   5201   ;
   5202   return 0;
   5203 }
   5204 _ACEOF
   5205 if ac_fn_c_try_compile "$LINENO"
   5206 then :
   5207   ac_cv_prog_cc_g=yes
   5208 else case e in #(
   5209   e) CFLAGS=""
   5210       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5211 /* end confdefs.h.  */
   5212 
   5213 int
   5214 main (void)
   5215 {
   5216 
   5217   ;
   5218   return 0;
   5219 }
   5220 _ACEOF
   5221 if ac_fn_c_try_compile "$LINENO"
   5222 then :
   5223 
   5224 else case e in #(
   5225   e) ac_c_werror_flag=$ac_save_c_werror_flag
   5226 	 CFLAGS="-g"
   5227 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5228 /* end confdefs.h.  */
   5229 
   5230 int
   5231 main (void)
   5232 {
   5233 
   5234   ;
   5235   return 0;
   5236 }
   5237 _ACEOF
   5238 if ac_fn_c_try_compile "$LINENO"
   5239 then :
   5240   ac_cv_prog_cc_g=yes
   5241 fi
   5242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5243 esac
   5244 fi
   5245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5246 esac
   5247 fi
   5248 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5249    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   5250 esac
   5251 fi
   5252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   5253 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   5254 if test $ac_test_CFLAGS; then
   5255   CFLAGS=$ac_save_CFLAGS
   5256 elif test $ac_cv_prog_cc_g = yes; then
   5257   if test "$GCC" = yes; then
   5258     CFLAGS="-g -O2"
   5259   else
   5260     CFLAGS="-g"
   5261   fi
   5262 else
   5263   if test "$GCC" = yes; then
   5264     CFLAGS="-O2"
   5265   else
   5266     CFLAGS=
   5267   fi
   5268 fi
   5269 ac_prog_cc_stdc=no
   5270 if test x$ac_prog_cc_stdc = xno
   5271 then :
   5272   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   5273 printf %s "checking for $CC option to enable C11 features... " >&6; }
   5274 if test ${ac_cv_prog_cc_c11+y}
   5275 then :
   5276   printf %s "(cached) " >&6
   5277 else case e in #(
   5278   e) ac_cv_prog_cc_c11=no
   5279 ac_save_CC=$CC
   5280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5281 /* end confdefs.h.  */
   5282 $ac_c_conftest_c11_program
   5283 _ACEOF
   5284 for ac_arg in '' -std=gnu11
   5285 do
   5286   CC="$ac_save_CC $ac_arg"
   5287   if ac_fn_c_try_compile "$LINENO"
   5288 then :
   5289   ac_cv_prog_cc_c11=$ac_arg
   5290 fi
   5291 rm -f core conftest.err conftest.$ac_objext conftest.beam
   5292   test "x$ac_cv_prog_cc_c11" != "xno" && break
   5293 done
   5294 rm -f conftest.$ac_ext
   5295 CC=$ac_save_CC ;;
   5296 esac
   5297 fi
   5298 
   5299 if test "x$ac_cv_prog_cc_c11" = xno
   5300 then :
   5301   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5302 printf "%s\n" "unsupported" >&6; }
   5303 else case e in #(
   5304   e) if test "x$ac_cv_prog_cc_c11" = x
   5305 then :
   5306   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5307 printf "%s\n" "none needed" >&6; }
   5308 else case e in #(
   5309   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   5310 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   5311      CC="$CC $ac_cv_prog_cc_c11" ;;
   5312 esac
   5313 fi
   5314   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   5315   ac_prog_cc_stdc=c11 ;;
   5316 esac
   5317 fi
   5318 fi
   5319 if test x$ac_prog_cc_stdc = xno
   5320 then :
   5321   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   5322 printf %s "checking for $CC option to enable C99 features... " >&6; }
   5323 if test ${ac_cv_prog_cc_c99+y}
   5324 then :
   5325   printf %s "(cached) " >&6
   5326 else case e in #(
   5327   e) ac_cv_prog_cc_c99=no
   5328 ac_save_CC=$CC
   5329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5330 /* end confdefs.h.  */
   5331 $ac_c_conftest_c99_program
   5332 _ACEOF
   5333 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   5334 do
   5335   CC="$ac_save_CC $ac_arg"
   5336   if ac_fn_c_try_compile "$LINENO"
   5337 then :
   5338   ac_cv_prog_cc_c99=$ac_arg
   5339 fi
   5340 rm -f core conftest.err conftest.$ac_objext conftest.beam
   5341   test "x$ac_cv_prog_cc_c99" != "xno" && break
   5342 done
   5343 rm -f conftest.$ac_ext
   5344 CC=$ac_save_CC ;;
   5345 esac
   5346 fi
   5347 
   5348 if test "x$ac_cv_prog_cc_c99" = xno
   5349 then :
   5350   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5351 printf "%s\n" "unsupported" >&6; }
   5352 else case e in #(
   5353   e) if test "x$ac_cv_prog_cc_c99" = x
   5354 then :
   5355   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5356 printf "%s\n" "none needed" >&6; }
   5357 else case e in #(
   5358   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   5359 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   5360      CC="$CC $ac_cv_prog_cc_c99" ;;
   5361 esac
   5362 fi
   5363   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   5364   ac_prog_cc_stdc=c99 ;;
   5365 esac
   5366 fi
   5367 fi
   5368 if test x$ac_prog_cc_stdc = xno
   5369 then :
   5370   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   5371 printf %s "checking for $CC option to enable C89 features... " >&6; }
   5372 if test ${ac_cv_prog_cc_c89+y}
   5373 then :
   5374   printf %s "(cached) " >&6
   5375 else case e in #(
   5376   e) ac_cv_prog_cc_c89=no
   5377 ac_save_CC=$CC
   5378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5379 /* end confdefs.h.  */
   5380 $ac_c_conftest_c89_program
   5381 _ACEOF
   5382 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   5383 do
   5384   CC="$ac_save_CC $ac_arg"
   5385   if ac_fn_c_try_compile "$LINENO"
   5386 then :
   5387   ac_cv_prog_cc_c89=$ac_arg
   5388 fi
   5389 rm -f core conftest.err conftest.$ac_objext conftest.beam
   5390   test "x$ac_cv_prog_cc_c89" != "xno" && break
   5391 done
   5392 rm -f conftest.$ac_ext
   5393 CC=$ac_save_CC ;;
   5394 esac
   5395 fi
   5396 
   5397 if test "x$ac_cv_prog_cc_c89" = xno
   5398 then :
   5399   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5400 printf "%s\n" "unsupported" >&6; }
   5401 else case e in #(
   5402   e) if test "x$ac_cv_prog_cc_c89" = x
   5403 then :
   5404   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5405 printf "%s\n" "none needed" >&6; }
   5406 else case e in #(
   5407   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   5408 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   5409      CC="$CC $ac_cv_prog_cc_c89" ;;
   5410 esac
   5411 fi
   5412   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   5413   ac_prog_cc_stdc=c89 ;;
   5414 esac
   5415 fi
   5416 fi
   5417 
   5418 ac_ext=c
   5419 ac_cpp='$CPP $CPPFLAGS'
   5420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5423 
   5424 
   5425   ac_ext=c
   5426 ac_cpp='$CPP $CPPFLAGS'
   5427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   5431 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   5432 if test ${am_cv_prog_cc_c_o+y}
   5433 then :
   5434   printf %s "(cached) " >&6
   5435 else case e in #(
   5436   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5437 /* end confdefs.h.  */
   5438 
   5439 int
   5440 main (void)
   5441 {
   5442 
   5443   ;
   5444   return 0;
   5445 }
   5446 _ACEOF
   5447   # Make sure it works both with $CC and with simple cc.
   5448   # Following AC_PROG_CC_C_O, we do the test twice because some
   5449   # compilers refuse to overwrite an existing .o file with -o,
   5450   # though they will create one.
   5451   am_cv_prog_cc_c_o=yes
   5452   for am_i in 1 2; do
   5453     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   5454    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   5455    ac_status=$?
   5456    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5457    (exit $ac_status); } \
   5458          && test -f conftest2.$ac_objext; then
   5459       : OK
   5460     else
   5461       am_cv_prog_cc_c_o=no
   5462       break
   5463     fi
   5464   done
   5465   # aligned with autoconf, so not including core; see bug#72225.
   5466   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   5467     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   5468     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   5469   unset am_i ;;
   5470 esac
   5471 fi
   5472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   5473 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   5474 if test "$am_cv_prog_cc_c_o" != yes; then
   5475    # Losing compiler, so override with the script.
   5476    # FIXME: It is wrong to rewrite CC.
   5477    # But if we don't then we get into trouble of one sort or another.
   5478    # A longer-term fix would be to have automake use am__CC in this case,
   5479    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   5480    CC="$am_aux_dir/compile $CC"
   5481 fi
   5482 ac_ext=c
   5483 ac_cpp='$CPP $CPPFLAGS'
   5484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5487 
   5488 
   5489 depcc="$CC"   am_compiler_list=
   5490 
   5491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5492 printf %s "checking dependency style of $depcc... " >&6; }
   5493 if test ${am_cv_CC_dependencies_compiler_type+y}
   5494 then :
   5495   printf %s "(cached) " >&6
   5496 else case e in #(
   5497   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5498   # We make a subdir and do the tests there.  Otherwise we can end up
   5499   # making bogus files that we don't know about and never remove.  For
   5500   # instance it was reported that on HP-UX the gcc test will end up
   5501   # making a dummy file named 'D' -- because '-MD' means "put the output
   5502   # in D".
   5503   rm -rf conftest.dir
   5504   mkdir conftest.dir
   5505   # Copy depcomp to subdir because otherwise we won't find it if we're
   5506   # using a relative directory.
   5507   cp "$am_depcomp" conftest.dir
   5508   cd conftest.dir
   5509   # We will build objects and dependencies in a subdirectory because
   5510   # it helps to detect inapplicable dependency modes.  For instance
   5511   # both Tru64's cc and ICC support -MD to output dependencies as a
   5512   # side effect of compilation, but ICC will put the dependencies in
   5513   # the current directory while Tru64 will put them in the object
   5514   # directory.
   5515   mkdir sub
   5516 
   5517   am_cv_CC_dependencies_compiler_type=none
   5518   if test "$am_compiler_list" = ""; then
   5519      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5520   fi
   5521   am__universal=false
   5522   case " $depcc " in #(
   5523      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5524      esac
   5525 
   5526   for depmode in $am_compiler_list; do
   5527     # Setup a source with many dependencies, because some compilers
   5528     # like to wrap large dependency lists on column 80 (with \), and
   5529     # we should not choose a depcomp mode which is confused by this.
   5530     #
   5531     # We need to recreate these files for each test, as the compiler may
   5532     # overwrite some of them when testing with obscure command lines.
   5533     # This happens at least with the AIX C compiler.
   5534     : > sub/conftest.c
   5535     for i in 1 2 3 4 5 6; do
   5536       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5537       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5538       # Solaris 10 /bin/sh.
   5539       echo '/* dummy */' > sub/conftst$i.h
   5540     done
   5541     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5542 
   5543     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5544     # mode.  It turns out that the SunPro C++ compiler does not properly
   5545     # handle '-M -o', and we need to detect this.  Also, some Intel
   5546     # versions had trouble with output in subdirs.
   5547     am__obj=sub/conftest.${OBJEXT-o}
   5548     am__minus_obj="-o $am__obj"
   5549     case $depmode in
   5550     gcc)
   5551       # This depmode causes a compiler race in universal mode.
   5552       test "$am__universal" = false || continue
   5553       ;;
   5554     nosideeffect)
   5555       # After this tag, mechanisms are not by side-effect, so they'll
   5556       # only be used when explicitly requested.
   5557       if test "x$enable_dependency_tracking" = xyes; then
   5558 	continue
   5559       else
   5560 	break
   5561       fi
   5562       ;;
   5563     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5564       # This compiler won't grok '-c -o', but also, the minuso test has
   5565       # not run yet.  These depmodes are late enough in the game, and
   5566       # so weak that their functioning should not be impacted.
   5567       am__obj=conftest.${OBJEXT-o}
   5568       am__minus_obj=
   5569       ;;
   5570     none) break ;;
   5571     esac
   5572     if depmode=$depmode \
   5573        source=sub/conftest.c object=$am__obj \
   5574        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5575        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5576          >/dev/null 2>conftest.err &&
   5577        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5578        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5579        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5580        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5581       # icc doesn't choke on unknown options, it will just issue warnings
   5582       # or remarks (even with -Werror).  So we grep stderr for any message
   5583       # that says an option was ignored or not supported.
   5584       # When given -MP, icc 7.0 and 7.1 complain thus:
   5585       #   icc: Command line warning: ignoring option '-M'; no argument required
   5586       # The diagnosis changed in icc 8.0:
   5587       #   icc: Command line remark: option '-MP' not supported
   5588       if (grep 'ignoring option' conftest.err ||
   5589           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5590         am_cv_CC_dependencies_compiler_type=$depmode
   5591         break
   5592       fi
   5593     fi
   5594   done
   5595 
   5596   cd ..
   5597   rm -rf conftest.dir
   5598 else
   5599   am_cv_CC_dependencies_compiler_type=none
   5600 fi
   5601  ;;
   5602 esac
   5603 fi
   5604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5605 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   5606 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5607 
   5608  if
   5609   test "x$enable_dependency_tracking" != xno \
   5610   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5611   am__fastdepCC_TRUE=
   5612   am__fastdepCC_FALSE='#'
   5613 else
   5614   am__fastdepCC_TRUE='#'
   5615   am__fastdepCC_FALSE=
   5616 fi
   5617 
   5618 
   5619 
   5620 
   5621   if test -n "$ac_tool_prefix"; then
   5622   for ac_prog in ar lib "link -lib"
   5623   do
   5624     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5625 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5627 printf %s "checking for $ac_word... " >&6; }
   5628 if test ${ac_cv_prog_AR+y}
   5629 then :
   5630   printf %s "(cached) " >&6
   5631 else case e in #(
   5632   e) if test -n "$AR"; then
   5633   ac_cv_prog_AR="$AR" # Let the user override the test.
   5634 else
   5635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5636 for as_dir in $PATH
   5637 do
   5638   IFS=$as_save_IFS
   5639   case $as_dir in #(((
   5640     '') as_dir=./ ;;
   5641     */) ;;
   5642     *) as_dir=$as_dir/ ;;
   5643   esac
   5644     for ac_exec_ext in '' $ac_executable_extensions; do
   5645   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5646     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5647     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5648     break 2
   5649   fi
   5650 done
   5651   done
   5652 IFS=$as_save_IFS
   5653 
   5654 fi ;;
   5655 esac
   5656 fi
   5657 AR=$ac_cv_prog_AR
   5658 if test -n "$AR"; then
   5659   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5660 printf "%s\n" "$AR" >&6; }
   5661 else
   5662   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5663 printf "%s\n" "no" >&6; }
   5664 fi
   5665 
   5666 
   5667     test -n "$AR" && break
   5668   done
   5669 fi
   5670 if test -z "$AR"; then
   5671   ac_ct_AR=$AR
   5672   for ac_prog in ar lib "link -lib"
   5673 do
   5674   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5675 set dummy $ac_prog; ac_word=$2
   5676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5677 printf %s "checking for $ac_word... " >&6; }
   5678 if test ${ac_cv_prog_ac_ct_AR+y}
   5679 then :
   5680   printf %s "(cached) " >&6
   5681 else case e in #(
   5682   e) if test -n "$ac_ct_AR"; then
   5683   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5684 else
   5685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5686 for as_dir in $PATH
   5687 do
   5688   IFS=$as_save_IFS
   5689   case $as_dir in #(((
   5690     '') as_dir=./ ;;
   5691     */) ;;
   5692     *) as_dir=$as_dir/ ;;
   5693   esac
   5694     for ac_exec_ext in '' $ac_executable_extensions; do
   5695   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5696     ac_cv_prog_ac_ct_AR="$ac_prog"
   5697     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5698     break 2
   5699   fi
   5700 done
   5701   done
   5702 IFS=$as_save_IFS
   5703 
   5704 fi ;;
   5705 esac
   5706 fi
   5707 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5708 if test -n "$ac_ct_AR"; then
   5709   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5710 printf "%s\n" "$ac_ct_AR" >&6; }
   5711 else
   5712   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5713 printf "%s\n" "no" >&6; }
   5714 fi
   5715 
   5716 
   5717   test -n "$ac_ct_AR" && break
   5718 done
   5719 
   5720   if test "x$ac_ct_AR" = x; then
   5721     AR="false"
   5722   else
   5723     case $cross_compiling:$ac_tool_warned in
   5724 yes:)
   5725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5726 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5727 ac_tool_warned=yes ;;
   5728 esac
   5729     AR=$ac_ct_AR
   5730   fi
   5731 fi
   5732 
   5733 : ${AR=ar}
   5734 : ${ARFLAGS=cr}
   5735 
   5736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
   5737 printf %s "checking the archiver ($AR) interface... " >&6; }
   5738 if test ${am_cv_ar_interface+y}
   5739 then :
   5740   printf %s "(cached) " >&6
   5741 else case e in #(
   5742   e) ac_ext=c
   5743 ac_cpp='$CPP $CPPFLAGS'
   5744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5747 
   5748    am_cv_ar_interface=ar
   5749    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5750 /* end confdefs.h.  */
   5751 int some_variable = 0;
   5752 _ACEOF
   5753 if ac_fn_c_try_compile "$LINENO"
   5754 then :
   5755   am_ar_try='$AR $ARFLAGS libconftest.a conftest.$ac_objext >&5'
   5756       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   5757   (eval $am_ar_try) 2>&5
   5758   ac_status=$?
   5759   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5760   test $ac_status = 0; }
   5761       if test "$ac_status" -eq 0; then
   5762         am_cv_ar_interface=ar
   5763       else
   5764         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
   5765         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   5766   (eval $am_ar_try) 2>&5
   5767   ac_status=$?
   5768   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5769   test $ac_status = 0; }
   5770         if test "$ac_status" -eq 0; then
   5771           am_cv_ar_interface=lib
   5772         else
   5773           am_cv_ar_interface=unknown
   5774         fi
   5775       fi
   5776       rm -f conftest.lib libconftest.a
   5777 
   5778 fi
   5779 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5780    ac_ext=c
   5781 ac_cpp='$CPP $CPPFLAGS'
   5782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5785  ;;
   5786 esac
   5787 fi
   5788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
   5789 printf "%s\n" "$am_cv_ar_interface" >&6; }
   5790 
   5791 case $am_cv_ar_interface in
   5792 ar)
   5793   ;;
   5794 lib)
   5795   # Microsoft lib, so override with the ar-lib wrapper script.
   5796   # FIXME: It is wrong to rewrite AR.
   5797   # But if we don't then we get into trouble of one sort or another.
   5798   # A longer-term fix would be to have automake use am__AR in this case,
   5799   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
   5800   # similar.
   5801   AR="$am_aux_dir/ar-lib $AR"
   5802   ;;
   5803 unknown)
   5804   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
   5805   ;;
   5806 esac
   5807 
   5808 
   5809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   5810 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   5811 set x ${MAKE-make}
   5812 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   5813 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   5814 then :
   5815   printf %s "(cached) " >&6
   5816 else case e in #(
   5817   e) cat >conftest.make <<\_ACEOF
   5818 SHELL = /bin/sh
   5819 all:
   5820 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   5821 _ACEOF
   5822 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   5823 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   5824   *@@@%%%=?*=@@@%%%*)
   5825     eval ac_cv_prog_make_${ac_make}_set=yes;;
   5826   *)
   5827     eval ac_cv_prog_make_${ac_make}_set=no;;
   5828 esac
   5829 rm -f conftest.make ;;
   5830 esac
   5831 fi
   5832 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   5833   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5834 printf "%s\n" "yes" >&6; }
   5835   SET_MAKE=
   5836 else
   5837   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5838 printf "%s\n" "no" >&6; }
   5839   SET_MAKE="MAKE=${MAKE-make}"
   5840 fi
   5841 
   5842 
   5843 
   5844 case `pwd` in
   5845   *\ * | *\	*)
   5846     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5847 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5848 esac
   5849 
   5850 
   5851 
   5852 macro_version='2.6.2'
   5853 macro_revision='2.6.2'
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 ltmain=$ac_aux_dir/ltmain.sh
   5869 
   5870 # Backslashify metacharacters that are still active within
   5871 # double-quoted strings.
   5872 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5873 
   5874 # Same as above, but do not quote variable references.
   5875 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5876 
   5877 # Sed substitution to delay expansion of an escaped shell variable in a
   5878 # double_quote_subst'ed string.
   5879 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5880 
   5881 # Sed substitution to delay expansion of an escaped single quote.
   5882 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5883 
   5884 # Sed substitution to avoid accidental globbing in evaled expressions
   5885 no_glob_subst='s/\*/\\\*/g'
   5886 
   5887 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5888 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5889 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5890 
   5891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5892 printf %s "checking how to print strings... " >&6; }
   5893 # Test print first, because it will be a builtin if present.
   5894 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5895    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5896   ECHO='print -r --'
   5897 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5898   ECHO='printf %s\n'
   5899 else
   5900   # Use this function as a fallback that always works.
   5901   func_fallback_echo ()
   5902   {
   5903     eval 'cat <<_LTECHO_EOF
   5904 $1
   5905 _LTECHO_EOF'
   5906   }
   5907   ECHO='func_fallback_echo'
   5908 fi
   5909 
   5910 # func_echo_all arg...
   5911 # Invoke $ECHO with all args, space-separated.
   5912 func_echo_all ()
   5913 {
   5914     $ECHO ""
   5915 }
   5916 
   5917 case $ECHO in
   5918   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5919 printf "%s\n" "printf" >&6; } ;;
   5920   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5921 printf "%s\n" "print -r" >&6; } ;;
   5922   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5923 printf "%s\n" "cat" >&6; } ;;
   5924 esac
   5925 
   5926 
   5927 
   5928 
   5929 
   5930 
   5931 
   5932 
   5933 
   5934 
   5935 
   5936 
   5937 
   5938 
   5939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5940 printf %s "checking for a sed that does not truncate output... " >&6; }
   5941 if test ${ac_cv_path_SED+y}
   5942 then :
   5943   printf %s "(cached) " >&6
   5944 else case e in #(
   5945   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5946      for ac_i in 1 2 3 4 5 6 7; do
   5947        ac_script="$ac_script$as_nl$ac_script"
   5948      done
   5949      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5950      { ac_script=; unset ac_script;}
   5951      if test -z "$SED"; then
   5952   ac_path_SED_found=false
   5953   # Loop through the user's path and test for each of PROGNAME-LIST
   5954   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5955 for as_dir in $PATH
   5956 do
   5957   IFS=$as_save_IFS
   5958   case $as_dir in #(((
   5959     '') as_dir=./ ;;
   5960     */) ;;
   5961     *) as_dir=$as_dir/ ;;
   5962   esac
   5963     for ac_prog in sed gsed
   5964    do
   5965     for ac_exec_ext in '' $ac_executable_extensions; do
   5966       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5967       as_fn_executable_p "$ac_path_SED" || continue
   5968 # Check for GNU ac_path_SED and select it if it is found.
   5969   # Check for GNU $ac_path_SED
   5970 case `"$ac_path_SED" --version 2>&1` in #(
   5971 *GNU*)
   5972   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5973 #(
   5974 *)
   5975   ac_count=0
   5976   printf %s 0123456789 >"conftest.in"
   5977   while :
   5978   do
   5979     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5980     mv "conftest.tmp" "conftest.in"
   5981     cp "conftest.in" "conftest.nl"
   5982     printf "%s\n" '' >> "conftest.nl"
   5983     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5984     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5985     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5986     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5987       # Best one so far, save it but keep looking for a better one
   5988       ac_cv_path_SED="$ac_path_SED"
   5989       ac_path_SED_max=$ac_count
   5990     fi
   5991     # 10*(2^10) chars as input seems more than enough
   5992     test $ac_count -gt 10 && break
   5993   done
   5994   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5995 esac
   5996 
   5997       $ac_path_SED_found && break 3
   5998     done
   5999   done
   6000   done
   6001 IFS=$as_save_IFS
   6002   if test -z "$ac_cv_path_SED"; then
   6003     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   6004   fi
   6005 else
   6006   ac_cv_path_SED=$SED
   6007 fi
   6008  ;;
   6009 esac
   6010 fi
   6011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   6012 printf "%s\n" "$ac_cv_path_SED" >&6; }
   6013  SED="$ac_cv_path_SED"
   6014   rm -f conftest.sed
   6015 
   6016 test -z "$SED" && SED=sed
   6017 Xsed="$SED -e 1s/^X//"
   6018 
   6019 
   6020 
   6021 
   6022 
   6023 
   6024 
   6025 
   6026 
   6027 
   6028 
   6029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   6030 printf %s "checking for grep that handles long lines and -e... " >&6; }
   6031 if test ${ac_cv_path_GREP+y}
   6032 then :
   6033   printf %s "(cached) " >&6
   6034 else case e in #(
   6035   e) if test -z "$GREP"; then
   6036   ac_path_GREP_found=false
   6037   # Loop through the user's path and test for each of PROGNAME-LIST
   6038   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6039 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6040 do
   6041   IFS=$as_save_IFS
   6042   case $as_dir in #(((
   6043     '') as_dir=./ ;;
   6044     */) ;;
   6045     *) as_dir=$as_dir/ ;;
   6046   esac
   6047     for ac_prog in grep ggrep
   6048    do
   6049     for ac_exec_ext in '' $ac_executable_extensions; do
   6050       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   6051       as_fn_executable_p "$ac_path_GREP" || continue
   6052 # Check for GNU ac_path_GREP and select it if it is found.
   6053   # Check for GNU $ac_path_GREP
   6054 case `"$ac_path_GREP" --version 2>&1` in #(
   6055 *GNU*)
   6056   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   6057 #(
   6058 *)
   6059   ac_count=0
   6060   printf %s 0123456789 >"conftest.in"
   6061   while :
   6062   do
   6063     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6064     mv "conftest.tmp" "conftest.in"
   6065     cp "conftest.in" "conftest.nl"
   6066     printf "%s\n" 'GREP' >> "conftest.nl"
   6067     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6068     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6069     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6070     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   6071       # Best one so far, save it but keep looking for a better one
   6072       ac_cv_path_GREP="$ac_path_GREP"
   6073       ac_path_GREP_max=$ac_count
   6074     fi
   6075     # 10*(2^10) chars as input seems more than enough
   6076     test $ac_count -gt 10 && break
   6077   done
   6078   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6079 esac
   6080 
   6081       $ac_path_GREP_found && break 3
   6082     done
   6083   done
   6084   done
   6085 IFS=$as_save_IFS
   6086   if test -z "$ac_cv_path_GREP"; then
   6087     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6088   fi
   6089 else
   6090   ac_cv_path_GREP=$GREP
   6091 fi
   6092  ;;
   6093 esac
   6094 fi
   6095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   6096 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   6097  GREP="$ac_cv_path_GREP"
   6098 
   6099 
   6100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   6101 printf %s "checking for egrep... " >&6; }
   6102 if test ${ac_cv_path_EGREP+y}
   6103 then :
   6104   printf %s "(cached) " >&6
   6105 else case e in #(
   6106   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   6107    then ac_cv_path_EGREP="$GREP -E"
   6108    else
   6109      if test -z "$EGREP"; then
   6110   ac_path_EGREP_found=false
   6111   # Loop through the user's path and test for each of PROGNAME-LIST
   6112   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6113 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6114 do
   6115   IFS=$as_save_IFS
   6116   case $as_dir in #(((
   6117     '') as_dir=./ ;;
   6118     */) ;;
   6119     *) as_dir=$as_dir/ ;;
   6120   esac
   6121     for ac_prog in egrep
   6122    do
   6123     for ac_exec_ext in '' $ac_executable_extensions; do
   6124       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   6125       as_fn_executable_p "$ac_path_EGREP" || continue
   6126 # Check for GNU ac_path_EGREP and select it if it is found.
   6127   # Check for GNU $ac_path_EGREP
   6128 case `"$ac_path_EGREP" --version 2>&1` in #(
   6129 *GNU*)
   6130   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   6131 #(
   6132 *)
   6133   ac_count=0
   6134   printf %s 0123456789 >"conftest.in"
   6135   while :
   6136   do
   6137     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6138     mv "conftest.tmp" "conftest.in"
   6139     cp "conftest.in" "conftest.nl"
   6140     printf "%s\n" 'EGREP' >> "conftest.nl"
   6141     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6142     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6143     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6144     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   6145       # Best one so far, save it but keep looking for a better one
   6146       ac_cv_path_EGREP="$ac_path_EGREP"
   6147       ac_path_EGREP_max=$ac_count
   6148     fi
   6149     # 10*(2^10) chars as input seems more than enough
   6150     test $ac_count -gt 10 && break
   6151   done
   6152   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6153 esac
   6154 
   6155       $ac_path_EGREP_found && break 3
   6156     done
   6157   done
   6158   done
   6159 IFS=$as_save_IFS
   6160   if test -z "$ac_cv_path_EGREP"; then
   6161     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6162   fi
   6163 else
   6164   ac_cv_path_EGREP=$EGREP
   6165 fi
   6166 
   6167    fi ;;
   6168 esac
   6169 fi
   6170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   6171 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   6172  EGREP="$ac_cv_path_EGREP"
   6173 
   6174          EGREP_TRADITIONAL=$EGREP
   6175  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   6176 
   6177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   6178 printf %s "checking for fgrep... " >&6; }
   6179 if test ${ac_cv_path_FGREP+y}
   6180 then :
   6181   printf %s "(cached) " >&6
   6182 else case e in #(
   6183   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   6184    then ac_cv_path_FGREP="$GREP -F"
   6185    else
   6186      if test -z "$FGREP"; then
   6187   ac_path_FGREP_found=false
   6188   # Loop through the user's path and test for each of PROGNAME-LIST
   6189   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6190 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6191 do
   6192   IFS=$as_save_IFS
   6193   case $as_dir in #(((
   6194     '') as_dir=./ ;;
   6195     */) ;;
   6196     *) as_dir=$as_dir/ ;;
   6197   esac
   6198     for ac_prog in fgrep
   6199    do
   6200     for ac_exec_ext in '' $ac_executable_extensions; do
   6201       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   6202       as_fn_executable_p "$ac_path_FGREP" || continue
   6203 # Check for GNU ac_path_FGREP and select it if it is found.
   6204   # Check for GNU $ac_path_FGREP
   6205 case `"$ac_path_FGREP" --version 2>&1` in #(
   6206 *GNU*)
   6207   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   6208 #(
   6209 *)
   6210   ac_count=0
   6211   printf %s 0123456789 >"conftest.in"
   6212   while :
   6213   do
   6214     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6215     mv "conftest.tmp" "conftest.in"
   6216     cp "conftest.in" "conftest.nl"
   6217     printf "%s\n" 'FGREP' >> "conftest.nl"
   6218     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6219     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6220     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6221     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   6222       # Best one so far, save it but keep looking for a better one
   6223       ac_cv_path_FGREP="$ac_path_FGREP"
   6224       ac_path_FGREP_max=$ac_count
   6225     fi
   6226     # 10*(2^10) chars as input seems more than enough
   6227     test $ac_count -gt 10 && break
   6228   done
   6229   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6230 esac
   6231 
   6232       $ac_path_FGREP_found && break 3
   6233     done
   6234   done
   6235   done
   6236 IFS=$as_save_IFS
   6237   if test -z "$ac_cv_path_FGREP"; then
   6238     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6239   fi
   6240 else
   6241   ac_cv_path_FGREP=$FGREP
   6242 fi
   6243 
   6244    fi ;;
   6245 esac
   6246 fi
   6247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   6248 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   6249  FGREP="$ac_cv_path_FGREP"
   6250 
   6251 
   6252 test -z "$GREP" && GREP=grep
   6253 
   6254 
   6255 
   6256 
   6257 
   6258 
   6259 
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 # Check whether --with-gnu-ld was given.
   6273 if test ${with_gnu_ld+y}
   6274 then :
   6275   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   6276 else case e in #(
   6277   e) with_gnu_ld=no ;;
   6278 esac
   6279 fi
   6280 
   6281 ac_prog=ld
   6282 if test yes = "$GCC"; then
   6283   # Check if gcc -print-prog-name=ld gives a path.
   6284   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   6285 printf %s "checking for ld used by $CC... " >&6; }
   6286   case $host in
   6287   *-*-mingw* | *-*-windows*)
   6288     # gcc leaves a trailing carriage return, which upsets mingw
   6289     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   6290   *)
   6291     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   6292   esac
   6293   case $ac_prog in
   6294     # Accept absolute paths.
   6295     [\\/]* | ?:[\\/]*)
   6296       re_direlt='/[^/][^/]*/\.\./'
   6297       # Canonicalize the pathname of ld
   6298       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   6299       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   6300 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   6301       done
   6302       test -z "$LD" && LD=$ac_prog
   6303       ;;
   6304   "")
   6305     # If it fails, then pretend we aren't using GCC.
   6306     ac_prog=ld
   6307     ;;
   6308   *)
   6309     # If it is relative, then search for the first ld in PATH.
   6310     with_gnu_ld=unknown
   6311     ;;
   6312   esac
   6313 elif test yes = "$with_gnu_ld"; then
   6314   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   6315 printf %s "checking for GNU ld... " >&6; }
   6316 else
   6317   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   6318 printf %s "checking for non-GNU ld... " >&6; }
   6319 fi
   6320 if test ${lt_cv_path_LD+y}
   6321 then :
   6322   printf %s "(cached) " >&6
   6323 else case e in #(
   6324   e) if test -z "$LD"; then
   6325   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   6326   for ac_dir in $PATH; do
   6327     IFS=$lt_save_ifs
   6328     test -z "$ac_dir" && ac_dir=.
   6329     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   6330       lt_cv_path_LD=$ac_dir/$ac_prog
   6331       # Check to see if the program is GNU ld.  I'd rather use --version,
   6332       # but apparently some variants of GNU ld only accept -v.
   6333       # Break only if it was the GNU/non-GNU ld that we prefer.
   6334       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   6335       *GNU* | *'with BFD'*)
   6336 	test no != "$with_gnu_ld" && break
   6337 	;;
   6338       *)
   6339 	test yes != "$with_gnu_ld" && break
   6340 	;;
   6341       esac
   6342     fi
   6343   done
   6344   IFS=$lt_save_ifs
   6345 else
   6346   lt_cv_path_LD=$LD # Let the user override the test with a path.
   6347 fi ;;
   6348 esac
   6349 fi
   6350 
   6351 LD=$lt_cv_path_LD
   6352 if test -n "$LD"; then
   6353   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   6354 printf "%s\n" "$LD" >&6; }
   6355 else
   6356   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6357 printf "%s\n" "no" >&6; }
   6358 fi
   6359 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   6360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   6361 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   6362 if test ${lt_cv_prog_gnu_ld+y}
   6363 then :
   6364   printf %s "(cached) " >&6
   6365 else case e in #(
   6366   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   6367 case `$LD -v 2>&1 </dev/null` in
   6368 *GNU* | *'with BFD'*)
   6369   lt_cv_prog_gnu_ld=yes
   6370   ;;
   6371 *)
   6372   lt_cv_prog_gnu_ld=no
   6373   ;;
   6374 esac ;;
   6375 esac
   6376 fi
   6377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   6378 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   6379 with_gnu_ld=$lt_cv_prog_gnu_ld
   6380 
   6381 
   6382 
   6383 
   6384 
   6385 
   6386 
   6387 
   6388 
   6389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   6390 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   6391 if test ${lt_cv_path_NM+y}
   6392 then :
   6393   printf %s "(cached) " >&6
   6394 else case e in #(
   6395   e) if test -n "$NM"; then
   6396   # Let the user override the test.
   6397   lt_cv_path_NM=$NM
   6398 else
   6399   lt_nm_to_check=${ac_tool_prefix}nm
   6400   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   6401     lt_nm_to_check="$lt_nm_to_check nm"
   6402   fi
   6403   for lt_tmp_nm in $lt_nm_to_check; do
   6404     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   6405     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   6406       IFS=$lt_save_ifs
   6407       test -z "$ac_dir" && ac_dir=.
   6408       tmp_nm=$ac_dir/$lt_tmp_nm
   6409       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   6410 	# Check to see if the nm accepts a BSD-compat flag.
   6411 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   6412 	#   nm: unknown option "B" ignored
   6413 	# Tru64's nm complains that /dev/null is an invalid object file
   6414 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   6415 	case $build_os in
   6416 	mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
   6417 	*) lt_bad_file=/dev/null ;;
   6418 	esac
   6419 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   6420 	*$lt_bad_file* | *'Invalid file or object type'*)
   6421 	  lt_cv_path_NM="$tmp_nm -B"
   6422 	  break 2
   6423 	  ;;
   6424 	*)
   6425 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   6426 	  */dev/null*)
   6427 	    lt_cv_path_NM="$tmp_nm -p"
   6428 	    break 2
   6429 	    ;;
   6430 	  *)
   6431 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   6432 	    continue # so that we can try to find one that supports BSD flags
   6433 	    ;;
   6434 	  esac
   6435 	  ;;
   6436 	esac
   6437       fi
   6438     done
   6439     IFS=$lt_save_ifs
   6440   done
   6441   : ${lt_cv_path_NM=no}
   6442 fi ;;
   6443 esac
   6444 fi
   6445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   6446 printf "%s\n" "$lt_cv_path_NM" >&6; }
   6447 if test no != "$lt_cv_path_NM"; then
   6448   NM=$lt_cv_path_NM
   6449 else
   6450   # Didn't find any BSD compatible name lister, look for dumpbin.
   6451   if test -n "$DUMPBIN"; then :
   6452     # Let the user override the test.
   6453   else
   6454     if test -n "$ac_tool_prefix"; then
   6455   for ac_prog in dumpbin "link -dump"
   6456   do
   6457     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6458 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6460 printf %s "checking for $ac_word... " >&6; }
   6461 if test ${ac_cv_prog_DUMPBIN+y}
   6462 then :
   6463   printf %s "(cached) " >&6
   6464 else case e in #(
   6465   e) if test -n "$DUMPBIN"; then
   6466   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   6467 else
   6468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6469 for as_dir in $PATH
   6470 do
   6471   IFS=$as_save_IFS
   6472   case $as_dir in #(((
   6473     '') as_dir=./ ;;
   6474     */) ;;
   6475     *) as_dir=$as_dir/ ;;
   6476   esac
   6477     for ac_exec_ext in '' $ac_executable_extensions; do
   6478   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6479     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6480     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6481     break 2
   6482   fi
   6483 done
   6484   done
   6485 IFS=$as_save_IFS
   6486 
   6487 fi ;;
   6488 esac
   6489 fi
   6490 DUMPBIN=$ac_cv_prog_DUMPBIN
   6491 if test -n "$DUMPBIN"; then
   6492   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6493 printf "%s\n" "$DUMPBIN" >&6; }
   6494 else
   6495   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6496 printf "%s\n" "no" >&6; }
   6497 fi
   6498 
   6499 
   6500     test -n "$DUMPBIN" && break
   6501   done
   6502 fi
   6503 if test -z "$DUMPBIN"; then
   6504   ac_ct_DUMPBIN=$DUMPBIN
   6505   for ac_prog in dumpbin "link -dump"
   6506 do
   6507   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6508 set dummy $ac_prog; ac_word=$2
   6509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6510 printf %s "checking for $ac_word... " >&6; }
   6511 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   6512 then :
   6513   printf %s "(cached) " >&6
   6514 else case e in #(
   6515   e) if test -n "$ac_ct_DUMPBIN"; then
   6516   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6517 else
   6518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6519 for as_dir in $PATH
   6520 do
   6521   IFS=$as_save_IFS
   6522   case $as_dir in #(((
   6523     '') as_dir=./ ;;
   6524     */) ;;
   6525     *) as_dir=$as_dir/ ;;
   6526   esac
   6527     for ac_exec_ext in '' $ac_executable_extensions; do
   6528   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6529     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6530     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6531     break 2
   6532   fi
   6533 done
   6534   done
   6535 IFS=$as_save_IFS
   6536 
   6537 fi ;;
   6538 esac
   6539 fi
   6540 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6541 if test -n "$ac_ct_DUMPBIN"; then
   6542   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6543 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   6544 else
   6545   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6546 printf "%s\n" "no" >&6; }
   6547 fi
   6548 
   6549 
   6550   test -n "$ac_ct_DUMPBIN" && break
   6551 done
   6552 
   6553   if test "x$ac_ct_DUMPBIN" = x; then
   6554     DUMPBIN=":"
   6555   else
   6556     case $cross_compiling:$ac_tool_warned in
   6557 yes:)
   6558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6559 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6560 ac_tool_warned=yes ;;
   6561 esac
   6562     DUMPBIN=$ac_ct_DUMPBIN
   6563   fi
   6564 fi
   6565 
   6566     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   6567     *COFF*)
   6568       DUMPBIN="$DUMPBIN -symbols -headers"
   6569       ;;
   6570     *)
   6571       DUMPBIN=:
   6572       ;;
   6573     esac
   6574   fi
   6575 
   6576   if test : != "$DUMPBIN"; then
   6577     NM=$DUMPBIN
   6578   fi
   6579 fi
   6580 test -z "$NM" && NM=nm
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6588 printf %s "checking the name lister ($NM) interface... " >&6; }
   6589 if test ${lt_cv_nm_interface+y}
   6590 then :
   6591   printf %s "(cached) " >&6
   6592 else case e in #(
   6593   e) lt_cv_nm_interface="BSD nm"
   6594   echo "int some_variable = 0;" > conftest.$ac_ext
   6595   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6596   (eval "$ac_compile" 2>conftest.err)
   6597   cat conftest.err >&5
   6598   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6599   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6600   cat conftest.err >&5
   6601   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6602   cat conftest.out >&5
   6603   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6604     lt_cv_nm_interface="MS dumpbin"
   6605   fi
   6606   rm -f conftest* ;;
   6607 esac
   6608 fi
   6609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6610 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   6611 
   6612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   6613 printf %s "checking whether ln -s works... " >&6; }
   6614 LN_S=$as_ln_s
   6615 if test "$LN_S" = "ln -s"; then
   6616   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6617 printf "%s\n" "yes" >&6; }
   6618 else
   6619   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   6620 printf "%s\n" "no, using $LN_S" >&6; }
   6621 fi
   6622 
   6623 # find the maximum length of command line arguments
   6624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6625 printf %s "checking the maximum length of command line arguments... " >&6; }
   6626 if test ${lt_cv_sys_max_cmd_len+y}
   6627 then :
   6628   printf %s "(cached) " >&6
   6629 else case e in #(
   6630   e)   i=0
   6631   teststring=ABCD
   6632 
   6633   case $build_os in
   6634   msdosdjgpp*)
   6635     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6636     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6637     # during glob expansion).  Even if it were fixed, the result of this
   6638     # check would be larger than it should be.
   6639     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6640     ;;
   6641 
   6642   gnu* | ironclad*)
   6643     # Under GNU Hurd and Ironclad, this test is not required because there
   6644     # is no limit to the length of command line arguments.
   6645     # Libtool will interpret -1 as no limit whatsoever
   6646     lt_cv_sys_max_cmd_len=-1;
   6647     ;;
   6648 
   6649   cygwin* | mingw* | windows* | cegcc*)
   6650     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6651     # about 5 minutes as the teststring grows exponentially.
   6652     # Worse, since 9x/ME are not pre-emptively multitasking,
   6653     # you end up with a "frozen" computer, even though with patience
   6654     # the test eventually succeeds (with a max line length of 256k).
   6655     # Instead, let's just punt: use the minimum linelength reported by
   6656     # all of the supported platforms: 8192 (on NT/2K/XP).
   6657     lt_cv_sys_max_cmd_len=8192;
   6658     ;;
   6659 
   6660   mint*)
   6661     # On MiNT this can take a long time and run out of memory.
   6662     lt_cv_sys_max_cmd_len=8192;
   6663     ;;
   6664 
   6665   amigaos*)
   6666     # On AmigaOS with pdksh, this test takes hours, literally.
   6667     # So we just punt and use a minimum line length of 8192.
   6668     lt_cv_sys_max_cmd_len=8192;
   6669     ;;
   6670 
   6671   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   6672     # This has been around since 386BSD, at least.  Likely further.
   6673     if test -x /sbin/sysctl; then
   6674       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6675     elif test -x /usr/sbin/sysctl; then
   6676       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6677     else
   6678       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6679     fi
   6680     # And add a safety zone
   6681     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6682     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6683     ;;
   6684 
   6685   interix*)
   6686     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6687     lt_cv_sys_max_cmd_len=196608
   6688     ;;
   6689 
   6690   os2*)
   6691     # The test takes a long time on OS/2.
   6692     lt_cv_sys_max_cmd_len=8192
   6693     ;;
   6694 
   6695   osf*)
   6696     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6697     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6698     # nice to cause kernel panics so lets avoid the loop below.
   6699     # First set a reasonable default.
   6700     lt_cv_sys_max_cmd_len=16384
   6701     #
   6702     if test -x /sbin/sysconfig; then
   6703       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6704         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6705       esac
   6706     fi
   6707     ;;
   6708   sco3.2v5*)
   6709     lt_cv_sys_max_cmd_len=102400
   6710     ;;
   6711   sysv5* | sco5v6* | sysv4.2uw2*)
   6712     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6713     if test -n "$kargmax"; then
   6714       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   6715     else
   6716       lt_cv_sys_max_cmd_len=32768
   6717     fi
   6718     ;;
   6719   *)
   6720     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6721     if test -n "$lt_cv_sys_max_cmd_len" && \
   6722        test undefined != "$lt_cv_sys_max_cmd_len"; then
   6723       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6724       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6725     else
   6726       # Make teststring a little bigger before we do anything with it.
   6727       # a 1K string should be a reasonable start.
   6728       for i in 1 2 3 4 5 6 7 8; do
   6729         teststring=$teststring$teststring
   6730       done
   6731       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6732       # If test is not a shell built-in, we'll probably end up computing a
   6733       # maximum length that is only half of the actual maximum length, but
   6734       # we can't tell.
   6735       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   6736 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6737 	      test 17 != "$i" # 1/2 MB should be enough
   6738       do
   6739         i=`expr $i + 1`
   6740         teststring=$teststring$teststring
   6741       done
   6742       # Only check the string length outside the loop.
   6743       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6744       teststring=
   6745       # Add a significant safety factor because C++ compilers can tack on
   6746       # massive amounts of additional arguments before passing them to the
   6747       # linker.  It appears as though 1/2 is a usable value.
   6748       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6749     fi
   6750     ;;
   6751   esac
   6752  ;;
   6753 esac
   6754 fi
   6755 
   6756 if test -n "$lt_cv_sys_max_cmd_len"; then
   6757   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6758 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   6759 else
   6760   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6761 printf "%s\n" "none" >&6; }
   6762 fi
   6763 max_cmd_len=$lt_cv_sys_max_cmd_len
   6764 
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 : ${CP="cp -f"}
   6771 : ${MV="mv -f"}
   6772 : ${RM="rm -f"}
   6773 
   6774 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6775   lt_unset=unset
   6776 else
   6777   lt_unset=false
   6778 fi
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 # test EBCDIC or ASCII
   6785 case `echo X|tr X '\101'` in
   6786  A) # ASCII based system
   6787     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6788   lt_SP2NL='tr \040 \012'
   6789   lt_NL2SP='tr \015\012 \040\040'
   6790   ;;
   6791  *) # EBCDIC based system
   6792   lt_SP2NL='tr \100 \n'
   6793   lt_NL2SP='tr \r\n \100\100'
   6794   ;;
   6795 esac
   6796 
   6797 
   6798 
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   6806 printf %s "checking how to convert $build file names to $host format... " >&6; }
   6807 if test ${lt_cv_to_host_file_cmd+y}
   6808 then :
   6809   printf %s "(cached) " >&6
   6810 else case e in #(
   6811   e) case $host in
   6812   *-*-mingw* )
   6813     case $build in
   6814       *-*-mingw* | *-*-windows* ) # actually msys
   6815         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   6816         ;;
   6817       *-*-cygwin* )
   6818         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   6819         ;;
   6820       * ) # otherwise, assume *nix
   6821         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   6822         ;;
   6823     esac
   6824     ;;
   6825   *-*-cygwin* )
   6826     case $build in
   6827       *-*-mingw* | *-*-windows* ) # actually msys
   6828         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   6829         ;;
   6830       *-*-cygwin* )
   6831         lt_cv_to_host_file_cmd=func_convert_file_noop
   6832         ;;
   6833       * ) # otherwise, assume *nix
   6834         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   6835         ;;
   6836     esac
   6837     ;;
   6838   * ) # unhandled hosts (and "normal" native builds)
   6839     lt_cv_to_host_file_cmd=func_convert_file_noop
   6840     ;;
   6841 esac
   6842  ;;
   6843 esac
   6844 fi
   6845 
   6846 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6848 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6855 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   6856 if test ${lt_cv_to_tool_file_cmd+y}
   6857 then :
   6858   printf %s "(cached) " >&6
   6859 else case e in #(
   6860   e) #assume ordinary cross tools, or native build.
   6861 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6862 case $host in
   6863   *-*-mingw* | *-*-windows* )
   6864     case $build in
   6865       *-*-mingw* | *-*-windows* ) # actually msys
   6866         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6867         ;;
   6868     esac
   6869     ;;
   6870 esac
   6871  ;;
   6872 esac
   6873 fi
   6874 
   6875 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6877 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 case $host in #(
   6884   *-*-mingw* | *-*-windows* | *-*-cygwin*) :
   6885     case $build in #(
   6886   *-*-mingw* | *-*-windows* | *-*-cygwin*) :
   6887     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cygpath is installed" >&5
   6888 printf %s "checking whether cygpath is installed... " >&6; }
   6889       if test ${lt_cv_cygpath_installed+y}
   6890 then :
   6891   printf %s "(cached) " >&6
   6892 else case e in #(
   6893   e) lt_cv_cygpath_installed=ignoring
   6894           cygpath --help &> /dev/null
   6895           _lt_result=$?
   6896           if test 0 = "$_lt_result"
   6897 then :
   6898   lt_cv_cygpath_installed=yes
   6899 else case e in #(
   6900   e) lt_cv_cygpath_installed=no ;;
   6901 esac
   6902 fi
   6903          ;;
   6904 esac
   6905 fi
   6906 
   6907       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cygpath_installed" >&5
   6908 printf "%s\n" "$lt_cv_cygpath_installed" >&6; }
   6909 
   6910 
   6911 
   6912 
   6913       if test "xyes" != "x$lt_cv_cygpath_installed"
   6914 then :
   6915 
   6916           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use cmd with one slash or two slashes" >&5
   6917 printf %s "checking whether to use cmd with one slash or two slashes... " >&6; }
   6918           if test ${lt_cv_cmd_slashes+y}
   6919 then :
   6920   printf %s "(cached) " >&6
   6921 else case e in #(
   6922   e)
   6923               _lt_result=`cmd /c echo one-slash works. Not checked //c echo two-slashes 2>/dev/null`
   6924               if test 0 != $?
   6925 then :
   6926   as_fn_error $? "Do not know how to convert paths" "$LINENO" 5
   6927 fi
   6928               case $_lt_result in #(
   6929   one-slash*) :
   6930     lt_cv_cmd_slashes="one" ;; #(
   6931   two-slashes*) :
   6932     lt_cv_cmd_slashes="two" ;; #(
   6933   *) :
   6934     as_fn_error $? "Do not know how to convert paths" "$LINENO" 5
   6935                ;;
   6936 esac
   6937              ;;
   6938 esac
   6939 fi
   6940 
   6941           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cmd_slashes" >&5
   6942 printf "%s\n" "$lt_cv_cmd_slashes" >&6; }
   6943 
   6944 fi
   6945      ;; #(
   6946   *) :
   6947      ;;
   6948 esac
   6949 
   6950  ;; #(
   6951   *) :
   6952      ;;
   6953 esac
   6954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6955 printf %s "checking for $LD option to reload object files... " >&6; }
   6956 if test ${lt_cv_ld_reload_flag+y}
   6957 then :
   6958   printf %s "(cached) " >&6
   6959 else case e in #(
   6960   e) lt_cv_ld_reload_flag='-r' ;;
   6961 esac
   6962 fi
   6963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6964 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   6965 reload_flag=$lt_cv_ld_reload_flag
   6966 case $reload_flag in
   6967 "" | " "*) ;;
   6968 *) reload_flag=" $reload_flag" ;;
   6969 esac
   6970 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6971 case $host_os in
   6972   cygwin* | mingw* | windows* | pw32* | cegcc*)
   6973     if test yes != "$GCC"; then
   6974       reload_cmds=false
   6975     fi
   6976     ;;
   6977   darwin*)
   6978     if test yes = "$GCC"; then
   6979       reload_cmds='$LTCC $LTCFLAGS $stdlibflag $wl-r -o $output$reload_objs'
   6980     else
   6981       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6982     fi
   6983     ;;
   6984 esac
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 # Extract the first word of "file", so it can be a program name with args.
   6995 set dummy file; ac_word=$2
   6996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6997 printf %s "checking for $ac_word... " >&6; }
   6998 if test ${ac_cv_prog_FILECMD+y}
   6999 then :
   7000   printf %s "(cached) " >&6
   7001 else case e in #(
   7002   e) if test -n "$FILECMD"; then
   7003   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   7004 else
   7005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7006 for as_dir in $PATH
   7007 do
   7008   IFS=$as_save_IFS
   7009   case $as_dir in #(((
   7010     '') as_dir=./ ;;
   7011     */) ;;
   7012     *) as_dir=$as_dir/ ;;
   7013   esac
   7014     for ac_exec_ext in '' $ac_executable_extensions; do
   7015   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7016     ac_cv_prog_FILECMD="file"
   7017     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7018     break 2
   7019   fi
   7020 done
   7021   done
   7022 IFS=$as_save_IFS
   7023 
   7024   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
   7025 fi ;;
   7026 esac
   7027 fi
   7028 FILECMD=$ac_cv_prog_FILECMD
   7029 if test -n "$FILECMD"; then
   7030   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   7031 printf "%s\n" "$FILECMD" >&6; }
   7032 else
   7033   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7034 printf "%s\n" "no" >&6; }
   7035 fi
   7036 
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 
   7044 if test -n "$ac_tool_prefix"; then
   7045   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   7046 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   7047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7048 printf %s "checking for $ac_word... " >&6; }
   7049 if test ${ac_cv_prog_OBJDUMP+y}
   7050 then :
   7051   printf %s "(cached) " >&6
   7052 else case e in #(
   7053   e) if test -n "$OBJDUMP"; then
   7054   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   7055 else
   7056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7057 for as_dir in $PATH
   7058 do
   7059   IFS=$as_save_IFS
   7060   case $as_dir in #(((
   7061     '') as_dir=./ ;;
   7062     */) ;;
   7063     *) as_dir=$as_dir/ ;;
   7064   esac
   7065     for ac_exec_ext in '' $ac_executable_extensions; do
   7066   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7067     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   7068     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7069     break 2
   7070   fi
   7071 done
   7072   done
   7073 IFS=$as_save_IFS
   7074 
   7075 fi ;;
   7076 esac
   7077 fi
   7078 OBJDUMP=$ac_cv_prog_OBJDUMP
   7079 if test -n "$OBJDUMP"; then
   7080   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   7081 printf "%s\n" "$OBJDUMP" >&6; }
   7082 else
   7083   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7084 printf "%s\n" "no" >&6; }
   7085 fi
   7086 
   7087 
   7088 fi
   7089 if test -z "$ac_cv_prog_OBJDUMP"; then
   7090   ac_ct_OBJDUMP=$OBJDUMP
   7091   # Extract the first word of "objdump", so it can be a program name with args.
   7092 set dummy objdump; ac_word=$2
   7093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7094 printf %s "checking for $ac_word... " >&6; }
   7095 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   7096 then :
   7097   printf %s "(cached) " >&6
   7098 else case e in #(
   7099   e) if test -n "$ac_ct_OBJDUMP"; then
   7100   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   7101 else
   7102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7103 for as_dir in $PATH
   7104 do
   7105   IFS=$as_save_IFS
   7106   case $as_dir in #(((
   7107     '') as_dir=./ ;;
   7108     */) ;;
   7109     *) as_dir=$as_dir/ ;;
   7110   esac
   7111     for ac_exec_ext in '' $ac_executable_extensions; do
   7112   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7113     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   7114     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7115     break 2
   7116   fi
   7117 done
   7118   done
   7119 IFS=$as_save_IFS
   7120 
   7121 fi ;;
   7122 esac
   7123 fi
   7124 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   7125 if test -n "$ac_ct_OBJDUMP"; then
   7126   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   7127 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   7128 else
   7129   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7130 printf "%s\n" "no" >&6; }
   7131 fi
   7132 
   7133   if test "x$ac_ct_OBJDUMP" = x; then
   7134     OBJDUMP="false"
   7135   else
   7136     case $cross_compiling:$ac_tool_warned in
   7137 yes:)
   7138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7139 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7140 ac_tool_warned=yes ;;
   7141 esac
   7142     OBJDUMP=$ac_ct_OBJDUMP
   7143   fi
   7144 else
   7145   OBJDUMP="$ac_cv_prog_OBJDUMP"
   7146 fi
   7147 
   7148 test -z "$OBJDUMP" && OBJDUMP=objdump
   7149 
   7150 
   7151 
   7152 
   7153 
   7154 
   7155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   7156 printf %s "checking how to recognize dependent libraries... " >&6; }
   7157 if test ${lt_cv_deplibs_check_method+y}
   7158 then :
   7159   printf %s "(cached) " >&6
   7160 else case e in #(
   7161   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   7162 lt_cv_file_magic_test_file=
   7163 lt_cv_deplibs_check_method='unknown'
   7164 # Need to set the preceding variable on all platforms that support
   7165 # interlibrary dependencies.
   7166 # 'none' -- dependencies not supported.
   7167 # 'unknown' -- same as none, but documents that we really don't know.
   7168 # 'pass_all' -- all dependencies passed with no checks.
   7169 # 'file_magic [[regex]]' -- check by looking for files in library path
   7170 # that responds to the $file_magic_cmd with a given extended regex.
   7171 # If you have 'file' or equivalent on your system and you're not sure
   7172 # whether 'pass_all' will *always* work, you probably want this one.
   7173 
   7174 case $host_os in
   7175 aix[4-9]*)
   7176   lt_cv_deplibs_check_method=pass_all
   7177   ;;
   7178 
   7179 beos*)
   7180   lt_cv_deplibs_check_method=pass_all
   7181   ;;
   7182 
   7183 bsdi[45]*)
   7184   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   7185   lt_cv_file_magic_cmd='$FILECMD -L'
   7186   lt_cv_file_magic_test_file=/shlib/libc.so
   7187   ;;
   7188 
   7189 cygwin*)
   7190   # func_win32_libid is a shell function defined in ltmain.sh
   7191   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   7192   lt_cv_file_magic_cmd='func_win32_libid'
   7193   ;;
   7194 
   7195 mingw* | windows* | pw32*)
   7196   # Base MSYS/MinGW do not provide the 'file' command needed by
   7197   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   7198   # unless we find 'file', for example because we are cross-compiling.
   7199   if ( file / ) >/dev/null 2>&1; then
   7200     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   7201     lt_cv_file_magic_cmd='func_win32_libid'
   7202   else
   7203     # Keep this pattern in sync with the one in func_win32_libid.
   7204     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
   7205     lt_cv_file_magic_cmd='$OBJDUMP -f'
   7206   fi
   7207   ;;
   7208 
   7209 cegcc*)
   7210   # use the weaker test based on 'objdump'. See mingw*.
   7211   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   7212   lt_cv_file_magic_cmd='$OBJDUMP -f'
   7213   ;;
   7214 
   7215 darwin* | rhapsody*)
   7216   lt_cv_deplibs_check_method=pass_all
   7217   ;;
   7218 
   7219 freebsd* | dragonfly* | midnightbsd*)
   7220   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7221     case $host_cpu in
   7222     i*86 )
   7223       # Not sure whether the presence of OpenBSD here was a mistake.
   7224       # Let's accept both of them until this is cleared up.
   7225       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   7226       lt_cv_file_magic_cmd=$FILECMD
   7227       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   7228       ;;
   7229     esac
   7230   else
   7231     lt_cv_deplibs_check_method=pass_all
   7232   fi
   7233   ;;
   7234 
   7235 haiku*)
   7236   lt_cv_deplibs_check_method=pass_all
   7237   ;;
   7238 
   7239 hpux10.20* | hpux11*)
   7240   lt_cv_file_magic_cmd=$FILECMD
   7241   case $host_cpu in
   7242   ia64*)
   7243     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   7244     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   7245     ;;
   7246   hppa*64*)
   7247     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]'
   7248     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   7249     ;;
   7250   *)
   7251     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   7252     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   7253     ;;
   7254   esac
   7255   ;;
   7256 
   7257 interix[3-9]*)
   7258   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   7259   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   7260   ;;
   7261 
   7262 irix5* | irix6* | nonstopux*)
   7263   case $LD in
   7264   *-32|*"-32 ") libmagic=32-bit;;
   7265   *-n32|*"-n32 ") libmagic=N32;;
   7266   *-64|*"-64 ") libmagic=64-bit;;
   7267   *) libmagic=never-match;;
   7268   esac
   7269   lt_cv_deplibs_check_method=pass_all
   7270   ;;
   7271 
   7272 *-mlibc)
   7273   lt_cv_deplibs_check_method=pass_all
   7274   ;;
   7275 
   7276 # This must be glibc/ELF.
   7277 linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   7278   lt_cv_deplibs_check_method=pass_all
   7279   ;;
   7280 
   7281 netbsd* | netbsdelf*-gnu)
   7282   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7283     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7284   else
   7285     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   7286   fi
   7287   ;;
   7288 
   7289 newos6*)
   7290   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   7291   lt_cv_file_magic_cmd=$FILECMD
   7292   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   7293   ;;
   7294 
   7295 *nto* | *qnx*)
   7296   lt_cv_deplibs_check_method=pass_all
   7297   ;;
   7298 
   7299 openbsd*)
   7300   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   7301     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   7302   else
   7303     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7304   fi
   7305   ;;
   7306 
   7307 osf3* | osf4* | osf5*)
   7308   lt_cv_deplibs_check_method=pass_all
   7309   ;;
   7310 
   7311 rdos*)
   7312   lt_cv_deplibs_check_method=pass_all
   7313   ;;
   7314 
   7315 serenity*)
   7316   lt_cv_deplibs_check_method=pass_all
   7317   ;;
   7318 
   7319 solaris*)
   7320   lt_cv_deplibs_check_method=pass_all
   7321   ;;
   7322 
   7323 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   7324   lt_cv_deplibs_check_method=pass_all
   7325   ;;
   7326 
   7327 sysv4 | sysv4.3*)
   7328   case $host_vendor in
   7329   motorola)
   7330     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]'
   7331     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   7332     ;;
   7333   ncr)
   7334     lt_cv_deplibs_check_method=pass_all
   7335     ;;
   7336   sequent)
   7337     lt_cv_file_magic_cmd='/bin/file'
   7338     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   7339     ;;
   7340   sni)
   7341     lt_cv_file_magic_cmd='/bin/file'
   7342     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   7343     lt_cv_file_magic_test_file=/lib/libc.so
   7344     ;;
   7345   siemens)
   7346     lt_cv_deplibs_check_method=pass_all
   7347     ;;
   7348   pc)
   7349     lt_cv_deplibs_check_method=pass_all
   7350     ;;
   7351   esac
   7352   ;;
   7353 
   7354 tpf*)
   7355   lt_cv_deplibs_check_method=pass_all
   7356   ;;
   7357 os2*)
   7358   lt_cv_deplibs_check_method=pass_all
   7359   ;;
   7360 esac
   7361  ;;
   7362 esac
   7363 fi
   7364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   7365 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   7366 
   7367 file_magic_glob=
   7368 want_nocaseglob=no
   7369 if test "$build" = "$host"; then
   7370   case $host_os in
   7371   mingw* | windows* | pw32*)
   7372     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   7373       want_nocaseglob=yes
   7374     else
   7375       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   7376     fi
   7377     ;;
   7378   esac
   7379 fi
   7380 
   7381 file_magic_cmd=$lt_cv_file_magic_cmd
   7382 deplibs_check_method=$lt_cv_deplibs_check_method
   7383 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 
   7397 
   7398 
   7399 
   7400 
   7401 
   7402 
   7403 
   7404 
   7405 
   7406 if test -n "$ac_tool_prefix"; then
   7407   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   7408 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   7409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7410 printf %s "checking for $ac_word... " >&6; }
   7411 if test ${ac_cv_prog_DLLTOOL+y}
   7412 then :
   7413   printf %s "(cached) " >&6
   7414 else case e in #(
   7415   e) if test -n "$DLLTOOL"; then
   7416   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   7417 else
   7418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7419 for as_dir in $PATH
   7420 do
   7421   IFS=$as_save_IFS
   7422   case $as_dir in #(((
   7423     '') as_dir=./ ;;
   7424     */) ;;
   7425     *) as_dir=$as_dir/ ;;
   7426   esac
   7427     for ac_exec_ext in '' $ac_executable_extensions; do
   7428   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7429     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   7430     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7431     break 2
   7432   fi
   7433 done
   7434   done
   7435 IFS=$as_save_IFS
   7436 
   7437 fi ;;
   7438 esac
   7439 fi
   7440 DLLTOOL=$ac_cv_prog_DLLTOOL
   7441 if test -n "$DLLTOOL"; then
   7442   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   7443 printf "%s\n" "$DLLTOOL" >&6; }
   7444 else
   7445   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7446 printf "%s\n" "no" >&6; }
   7447 fi
   7448 
   7449 
   7450 fi
   7451 if test -z "$ac_cv_prog_DLLTOOL"; then
   7452   ac_ct_DLLTOOL=$DLLTOOL
   7453   # Extract the first word of "dlltool", so it can be a program name with args.
   7454 set dummy dlltool; ac_word=$2
   7455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7456 printf %s "checking for $ac_word... " >&6; }
   7457 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   7458 then :
   7459   printf %s "(cached) " >&6
   7460 else case e in #(
   7461   e) if test -n "$ac_ct_DLLTOOL"; then
   7462   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   7463 else
   7464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7465 for as_dir in $PATH
   7466 do
   7467   IFS=$as_save_IFS
   7468   case $as_dir in #(((
   7469     '') as_dir=./ ;;
   7470     */) ;;
   7471     *) as_dir=$as_dir/ ;;
   7472   esac
   7473     for ac_exec_ext in '' $ac_executable_extensions; do
   7474   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7475     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   7476     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7477     break 2
   7478   fi
   7479 done
   7480   done
   7481 IFS=$as_save_IFS
   7482 
   7483 fi ;;
   7484 esac
   7485 fi
   7486 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   7487 if test -n "$ac_ct_DLLTOOL"; then
   7488   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   7489 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   7490 else
   7491   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7492 printf "%s\n" "no" >&6; }
   7493 fi
   7494 
   7495   if test "x$ac_ct_DLLTOOL" = x; then
   7496     DLLTOOL="false"
   7497   else
   7498     case $cross_compiling:$ac_tool_warned in
   7499 yes:)
   7500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7501 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7502 ac_tool_warned=yes ;;
   7503 esac
   7504     DLLTOOL=$ac_ct_DLLTOOL
   7505   fi
   7506 else
   7507   DLLTOOL="$ac_cv_prog_DLLTOOL"
   7508 fi
   7509 
   7510 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   7519 printf %s "checking how to associate runtime and link libraries... " >&6; }
   7520 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   7521 then :
   7522   printf %s "(cached) " >&6
   7523 else case e in #(
   7524   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   7525 
   7526 case $host_os in
   7527 cygwin* | mingw* | windows* | pw32* | cegcc*)
   7528   # two different shell functions defined in ltmain.sh;
   7529   # decide which one to use based on capabilities of $DLLTOOL
   7530   case `$DLLTOOL --help 2>&1` in
   7531   *--identify-strict*)
   7532     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   7533     ;;
   7534   *)
   7535     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   7536     ;;
   7537   esac
   7538   ;;
   7539 *)
   7540   # fallback: assume linklib IS sharedlib
   7541   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   7542   ;;
   7543 esac
   7544  ;;
   7545 esac
   7546 fi
   7547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   7548 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   7549 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   7550 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 
   7557 
   7558 if test -n "$ac_tool_prefix"; then
   7559   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7560 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7562 printf %s "checking for $ac_word... " >&6; }
   7563 if test ${ac_cv_prog_RANLIB+y}
   7564 then :
   7565   printf %s "(cached) " >&6
   7566 else case e in #(
   7567   e) if test -n "$RANLIB"; then
   7568   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7569 else
   7570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7571 for as_dir in $PATH
   7572 do
   7573   IFS=$as_save_IFS
   7574   case $as_dir in #(((
   7575     '') as_dir=./ ;;
   7576     */) ;;
   7577     *) as_dir=$as_dir/ ;;
   7578   esac
   7579     for ac_exec_ext in '' $ac_executable_extensions; do
   7580   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7581     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7582     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7583     break 2
   7584   fi
   7585 done
   7586   done
   7587 IFS=$as_save_IFS
   7588 
   7589 fi ;;
   7590 esac
   7591 fi
   7592 RANLIB=$ac_cv_prog_RANLIB
   7593 if test -n "$RANLIB"; then
   7594   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7595 printf "%s\n" "$RANLIB" >&6; }
   7596 else
   7597   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7598 printf "%s\n" "no" >&6; }
   7599 fi
   7600 
   7601 
   7602 fi
   7603 if test -z "$ac_cv_prog_RANLIB"; then
   7604   ac_ct_RANLIB=$RANLIB
   7605   # Extract the first word of "ranlib", so it can be a program name with args.
   7606 set dummy ranlib; ac_word=$2
   7607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7608 printf %s "checking for $ac_word... " >&6; }
   7609 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   7610 then :
   7611   printf %s "(cached) " >&6
   7612 else case e in #(
   7613   e) if test -n "$ac_ct_RANLIB"; then
   7614   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7615 else
   7616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7617 for as_dir in $PATH
   7618 do
   7619   IFS=$as_save_IFS
   7620   case $as_dir in #(((
   7621     '') as_dir=./ ;;
   7622     */) ;;
   7623     *) as_dir=$as_dir/ ;;
   7624   esac
   7625     for ac_exec_ext in '' $ac_executable_extensions; do
   7626   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7627     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7628     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7629     break 2
   7630   fi
   7631 done
   7632   done
   7633 IFS=$as_save_IFS
   7634 
   7635 fi ;;
   7636 esac
   7637 fi
   7638 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7639 if test -n "$ac_ct_RANLIB"; then
   7640   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7641 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   7642 else
   7643   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7644 printf "%s\n" "no" >&6; }
   7645 fi
   7646 
   7647   if test "x$ac_ct_RANLIB" = x; then
   7648     RANLIB=":"
   7649   else
   7650     case $cross_compiling:$ac_tool_warned in
   7651 yes:)
   7652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7653 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7654 ac_tool_warned=yes ;;
   7655 esac
   7656     RANLIB=$ac_ct_RANLIB
   7657   fi
   7658 else
   7659   RANLIB="$ac_cv_prog_RANLIB"
   7660 fi
   7661 
   7662 if test -n "$ac_tool_prefix"; then
   7663   for ac_prog in ar
   7664   do
   7665     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   7666 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   7667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7668 printf %s "checking for $ac_word... " >&6; }
   7669 if test ${ac_cv_prog_AR+y}
   7670 then :
   7671   printf %s "(cached) " >&6
   7672 else case e in #(
   7673   e) if test -n "$AR"; then
   7674   ac_cv_prog_AR="$AR" # Let the user override the test.
   7675 else
   7676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7677 for as_dir in $PATH
   7678 do
   7679   IFS=$as_save_IFS
   7680   case $as_dir in #(((
   7681     '') as_dir=./ ;;
   7682     */) ;;
   7683     *) as_dir=$as_dir/ ;;
   7684   esac
   7685     for ac_exec_ext in '' $ac_executable_extensions; do
   7686   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7687     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   7688     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7689     break 2
   7690   fi
   7691 done
   7692   done
   7693 IFS=$as_save_IFS
   7694 
   7695 fi ;;
   7696 esac
   7697 fi
   7698 AR=$ac_cv_prog_AR
   7699 if test -n "$AR"; then
   7700   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   7701 printf "%s\n" "$AR" >&6; }
   7702 else
   7703   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7704 printf "%s\n" "no" >&6; }
   7705 fi
   7706 
   7707 
   7708     test -n "$AR" && break
   7709   done
   7710 fi
   7711 if test -z "$AR"; then
   7712   ac_ct_AR=$AR
   7713   for ac_prog in ar
   7714 do
   7715   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7716 set dummy $ac_prog; ac_word=$2
   7717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7718 printf %s "checking for $ac_word... " >&6; }
   7719 if test ${ac_cv_prog_ac_ct_AR+y}
   7720 then :
   7721   printf %s "(cached) " >&6
   7722 else case e in #(
   7723   e) if test -n "$ac_ct_AR"; then
   7724   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7725 else
   7726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7727 for as_dir in $PATH
   7728 do
   7729   IFS=$as_save_IFS
   7730   case $as_dir in #(((
   7731     '') as_dir=./ ;;
   7732     */) ;;
   7733     *) as_dir=$as_dir/ ;;
   7734   esac
   7735     for ac_exec_ext in '' $ac_executable_extensions; do
   7736   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7737     ac_cv_prog_ac_ct_AR="$ac_prog"
   7738     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7739     break 2
   7740   fi
   7741 done
   7742   done
   7743 IFS=$as_save_IFS
   7744 
   7745 fi ;;
   7746 esac
   7747 fi
   7748 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7749 if test -n "$ac_ct_AR"; then
   7750   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7751 printf "%s\n" "$ac_ct_AR" >&6; }
   7752 else
   7753   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7754 printf "%s\n" "no" >&6; }
   7755 fi
   7756 
   7757 
   7758   test -n "$ac_ct_AR" && break
   7759 done
   7760 
   7761   if test "x$ac_ct_AR" = x; then
   7762     AR="false"
   7763   else
   7764     case $cross_compiling:$ac_tool_warned in
   7765 yes:)
   7766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7767 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7768 ac_tool_warned=yes ;;
   7769 esac
   7770     AR=$ac_ct_AR
   7771   fi
   7772 fi
   7773 
   7774 : ${AR=ar}
   7775 
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   7782 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   7783 # higher priority because that's what people were doing historically (setting
   7784 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   7785 # variable obsoleted/removed.
   7786 
   7787 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   7788 lt_ar_flags=$AR_FLAGS
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   7796 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   7797 
   7798 
   7799 
   7800 
   7801 
   7802 
   7803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   7804 printf %s "checking for archiver @FILE support... " >&6; }
   7805 if test ${lt_cv_ar_at_file+y}
   7806 then :
   7807   printf %s "(cached) " >&6
   7808 else case e in #(
   7809   e) lt_cv_ar_at_file=no
   7810    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7811 /* end confdefs.h.  */
   7812 
   7813 int
   7814 main (void)
   7815 {
   7816 
   7817   ;
   7818   return 0;
   7819 }
   7820 _ACEOF
   7821 if ac_fn_c_try_compile "$LINENO"
   7822 then :
   7823   echo conftest.$ac_objext > conftest.lst
   7824       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   7825       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7826   (eval $lt_ar_try) 2>&5
   7827   ac_status=$?
   7828   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7829   test $ac_status = 0; }
   7830       if test 0 -eq "$ac_status"; then
   7831 	# Ensure the archiver fails upon bogus file names.
   7832 	rm -f conftest.$ac_objext libconftest.a
   7833 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7834   (eval $lt_ar_try) 2>&5
   7835   ac_status=$?
   7836   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7837   test $ac_status = 0; }
   7838 	if test 0 -ne "$ac_status"; then
   7839           lt_cv_ar_at_file=@
   7840         fi
   7841       fi
   7842       rm -f conftest.* libconftest.a
   7843 
   7844 fi
   7845 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7846    ;;
   7847 esac
   7848 fi
   7849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   7850 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   7851 
   7852 if test no = "$lt_cv_ar_at_file"; then
   7853   archiver_list_spec=
   7854 else
   7855   archiver_list_spec=$lt_cv_ar_at_file
   7856 fi
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863 
   7864 if test -n "$ac_tool_prefix"; then
   7865   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7866 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7868 printf %s "checking for $ac_word... " >&6; }
   7869 if test ${ac_cv_prog_STRIP+y}
   7870 then :
   7871   printf %s "(cached) " >&6
   7872 else case e in #(
   7873   e) if test -n "$STRIP"; then
   7874   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7875 else
   7876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7877 for as_dir in $PATH
   7878 do
   7879   IFS=$as_save_IFS
   7880   case $as_dir in #(((
   7881     '') as_dir=./ ;;
   7882     */) ;;
   7883     *) as_dir=$as_dir/ ;;
   7884   esac
   7885     for ac_exec_ext in '' $ac_executable_extensions; do
   7886   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7887     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7888     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7889     break 2
   7890   fi
   7891 done
   7892   done
   7893 IFS=$as_save_IFS
   7894 
   7895 fi ;;
   7896 esac
   7897 fi
   7898 STRIP=$ac_cv_prog_STRIP
   7899 if test -n "$STRIP"; then
   7900   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7901 printf "%s\n" "$STRIP" >&6; }
   7902 else
   7903   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7904 printf "%s\n" "no" >&6; }
   7905 fi
   7906 
   7907 
   7908 fi
   7909 if test -z "$ac_cv_prog_STRIP"; then
   7910   ac_ct_STRIP=$STRIP
   7911   # Extract the first word of "strip", so it can be a program name with args.
   7912 set dummy strip; ac_word=$2
   7913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7914 printf %s "checking for $ac_word... " >&6; }
   7915 if test ${ac_cv_prog_ac_ct_STRIP+y}
   7916 then :
   7917   printf %s "(cached) " >&6
   7918 else case e in #(
   7919   e) if test -n "$ac_ct_STRIP"; then
   7920   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7921 else
   7922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7923 for as_dir in $PATH
   7924 do
   7925   IFS=$as_save_IFS
   7926   case $as_dir in #(((
   7927     '') as_dir=./ ;;
   7928     */) ;;
   7929     *) as_dir=$as_dir/ ;;
   7930   esac
   7931     for ac_exec_ext in '' $ac_executable_extensions; do
   7932   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7933     ac_cv_prog_ac_ct_STRIP="strip"
   7934     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7935     break 2
   7936   fi
   7937 done
   7938   done
   7939 IFS=$as_save_IFS
   7940 
   7941 fi ;;
   7942 esac
   7943 fi
   7944 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7945 if test -n "$ac_ct_STRIP"; then
   7946   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7947 printf "%s\n" "$ac_ct_STRIP" >&6; }
   7948 else
   7949   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7950 printf "%s\n" "no" >&6; }
   7951 fi
   7952 
   7953   if test "x$ac_ct_STRIP" = x; then
   7954     STRIP=":"
   7955   else
   7956     case $cross_compiling:$ac_tool_warned in
   7957 yes:)
   7958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7959 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7960 ac_tool_warned=yes ;;
   7961 esac
   7962     STRIP=$ac_ct_STRIP
   7963   fi
   7964 else
   7965   STRIP="$ac_cv_prog_STRIP"
   7966 fi
   7967 
   7968 test -z "$STRIP" && STRIP=:
   7969 
   7970 
   7971 
   7972 
   7973 
   7974 
   7975 
   7976 test -z "$RANLIB" && RANLIB=:
   7977 
   7978 
   7979 
   7980 
   7981 
   7982 
   7983 # Determine commands to create old-style static archives.
   7984 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7985 old_postinstall_cmds='chmod 644 $oldlib'
   7986 old_postuninstall_cmds=
   7987 
   7988 if test -n "$RANLIB"; then
   7989   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7990   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7991 fi
   7992 
   7993 case $host_os in
   7994   darwin*)
   7995     lock_old_archive_extraction=yes ;;
   7996   *)
   7997     lock_old_archive_extraction=no ;;
   7998 esac
   7999 
   8000 
   8001 
   8002 
   8003 
   8004 
   8005 
   8006 
   8007 
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 
   8038 # If no C compiler was specified, use CC.
   8039 LTCC=${LTCC-"$CC"}
   8040 
   8041 # If no C compiler flags were specified, use CFLAGS.
   8042 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8043 
   8044 # Allow CC to be a program name with arguments.
   8045 compiler=$CC
   8046 
   8047 
   8048 # Check for command to grab the raw symbol name followed by C symbol from nm.
   8049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   8050 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   8051 if test ${lt_cv_sys_global_symbol_pipe+y}
   8052 then :
   8053   printf %s "(cached) " >&6
   8054 else case e in #(
   8055   e)
   8056 # These are sane defaults that work on at least a few old systems.
   8057 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   8058 
   8059 # Character class describing NM global symbol codes.
   8060 symcode='[BCDEGRST]'
   8061 
   8062 # Regexp to match symbols that can be accessed directly from C.
   8063 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   8064 
   8065 # Define system-specific variables.
   8066 case $host_os in
   8067 aix*)
   8068   symcode='[BCDT]'
   8069   ;;
   8070 cygwin* | mingw* | windows* | pw32* | cegcc*)
   8071   symcode='[ABCDGISTW]'
   8072   ;;
   8073 hpux*)
   8074   if test ia64 = "$host_cpu"; then
   8075     symcode='[ABCDEGRST]'
   8076   fi
   8077   ;;
   8078 irix* | nonstopux*)
   8079   symcode='[BCDEGRST]'
   8080   ;;
   8081 osf*)
   8082   symcode='[BCDEGQRST]'
   8083   ;;
   8084 solaris*)
   8085   symcode='[BCDRT]'
   8086   ;;
   8087 sco3.2v5*)
   8088   symcode='[DT]'
   8089   ;;
   8090 sysv4.2uw2*)
   8091   symcode='[DT]'
   8092   ;;
   8093 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   8094   symcode='[ABDT]'
   8095   ;;
   8096 sysv4)
   8097   symcode='[DFNSTU]'
   8098   ;;
   8099 esac
   8100 
   8101 # If we're using GNU nm, then use its standard symbol codes.
   8102 case `$NM -V 2>&1` in
   8103 *GNU* | *'with BFD'*)
   8104   symcode='[ABCDGIRSTW]' ;;
   8105 esac
   8106 
   8107 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   8108   # Gets list of data symbols to import.
   8109   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/\1/p'"
   8110   # Adjust the below global symbol transforms to fixup imported variables.
   8111   lt_cdecl_hook=" -e 's/^I .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/extern __declspec(dllimport) char \1;/p'"
   8112   lt_c_name_hook=" -e 's/^I .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"\1\", (void *) 0},/p'"
   8113   lt_c_name_lib_hook="\
   8114   -e 's/^I .* \(lib[a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"\1\", (void *) 0},/p'\
   8115   -e 's/^I .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"lib\1\", (void *) 0},/p'"
   8116 else
   8117   # Disable hooks by default.
   8118   lt_cv_sys_global_symbol_to_import=
   8119   lt_cdecl_hook=
   8120   lt_c_name_hook=
   8121   lt_c_name_lib_hook=
   8122 fi
   8123 
   8124 # Transform an extracted symbol line into a proper C declaration.
   8125 # Some systems (esp. on ia64) link data and code symbols differently,
   8126 # so use this general approach.
   8127 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   8128 $lt_cdecl_hook\
   8129 " -e 's/^T .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/extern int \1();/p'"\
   8130 " -e 's/^$symcode$symcode* .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/extern char \1;/p'"
   8131 
   8132 # Transform an extracted symbol line into symbol name and symbol address
   8133 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   8134 $lt_c_name_hook\
   8135 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   8136 " -e 's/^$symcode$symcode* .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"\1\", (void *) \&\1},/p'"
   8137 
   8138 # Transform an extracted symbol line into symbol name with lib prefix and
   8139 # symbol address.
   8140 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   8141 $lt_c_name_lib_hook\
   8142 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   8143 " -e 's/^$symcode$symcode* .* \(lib[a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"\1\", (void *) \&\1},/p'"\
   8144 " -e 's/^$symcode$symcode* .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   8145 
   8146 # Handle CRLF in mingw tool chain
   8147 opt_cr=
   8148 case $build_os in
   8149 mingw* | windows*)
   8150   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   8151   ;;
   8152 esac
   8153 
   8154 # Try without a prefix underscore, then with it.
   8155 for ac_symprfx in "" "_"; do
   8156 
   8157   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   8158   symxfrm="\\1 $ac_symprfx\\2 \\2"
   8159 
   8160   # Write the raw and C identifiers.
   8161   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   8162     # Fake it for dumpbin and say T for any non-static function,
   8163     # D for any global variable and I for any imported variable.
   8164     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   8165     # which start with @ or ?.  And Cygwin gawk-4.1.4-3 and newer
   8166     # treats input as binary, have to drop carriage return first.
   8167     lt_cv_sys_global_symbol_pipe="$AWK '"\
   8168 "     {sub(/\\r\$/,\"\")};"\
   8169 "     {last_section=section; section=\$ 3};"\
   8170 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   8171 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   8172 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   8173 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   8174 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   8175 "     \$ 0!~/External *\|/{next};"\
   8176 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   8177 "     {if(hide[section]) next};"\
   8178 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   8179 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   8180 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   8181 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   8182 "     ' prfx=^$ac_symprfx"
   8183   else
   8184     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   8185   fi
   8186   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   8187 
   8188   # Check to see that the pipe works correctly.
   8189   pipe_works=no
   8190 
   8191   rm -f conftest*
   8192   cat > conftest.$ac_ext <<_LT_EOF
   8193 #ifdef __cplusplus
   8194 extern "C" {
   8195 #endif
   8196 char nm_test_var;
   8197 void nm_test_func(void);
   8198 void nm_test_func(void){}
   8199 #ifdef __cplusplus
   8200 }
   8201 #endif
   8202 int main(void){nm_test_var='a';nm_test_func();return(0);}
   8203 _LT_EOF
   8204 
   8205   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8206   (eval $ac_compile) 2>&5
   8207   ac_status=$?
   8208   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8209   test $ac_status = 0; }; then
   8210     # Now try to grab the symbols.
   8211     nlist=conftest.nm
   8212     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   8213     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   8214       # Try sorting and uniquifying the output.
   8215       if sort "$nlist" | uniq > "$nlist"T; then
   8216 	mv -f "$nlist"T "$nlist"
   8217       else
   8218 	rm -f "$nlist"T
   8219       fi
   8220 
   8221       # Make sure that we snagged all the symbols we need.
   8222       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   8223 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   8224 	  cat <<_LT_EOF > conftest.$ac_ext
   8225 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   8226 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   8227 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   8228    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   8229 # define LT_DLSYM_CONST
   8230 #elif defined __osf__
   8231 /* This system does not cope well with relocations in const data.  */
   8232 # define LT_DLSYM_CONST
   8233 #else
   8234 # define LT_DLSYM_CONST const
   8235 #endif
   8236 
   8237 #ifdef __cplusplus
   8238 extern "C" {
   8239 #endif
   8240 
   8241 _LT_EOF
   8242 	  # Now generate the symbol file.
   8243 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   8244 
   8245 	  cat <<_LT_EOF >> conftest.$ac_ext
   8246 
   8247 /* The mapping between symbol names and symbols.  */
   8248 LT_DLSYM_CONST struct {
   8249   const char *name;
   8250   void       *address;
   8251 }
   8252 lt__PROGRAM__LTX_preloaded_symbols[] =
   8253 {
   8254   { "@PROGRAM@", (void *) 0 },
   8255 _LT_EOF
   8256 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   8257 	  cat <<\_LT_EOF >> conftest.$ac_ext
   8258   {0, (void *) 0}
   8259 };
   8260 
   8261 /* This works around a problem in FreeBSD linker */
   8262 #ifdef FREEBSD_WORKAROUND
   8263 static const void *lt_preloaded_setup() {
   8264   return lt__PROGRAM__LTX_preloaded_symbols;
   8265 }
   8266 #endif
   8267 
   8268 #ifdef __cplusplus
   8269 }
   8270 #endif
   8271 _LT_EOF
   8272 	  # Now try linking the two files.
   8273 	  mv conftest.$ac_objext conftstm.$ac_objext
   8274 	  lt_globsym_save_LIBS=$LIBS
   8275 	  lt_globsym_save_CFLAGS=$CFLAGS
   8276 	  LIBS=conftstm.$ac_objext
   8277 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   8278 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   8279   (eval $ac_link) 2>&5
   8280   ac_status=$?
   8281   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8282   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   8283 	    pipe_works=yes
   8284 	  fi
   8285 	  LIBS=$lt_globsym_save_LIBS
   8286 	  CFLAGS=$lt_globsym_save_CFLAGS
   8287 	else
   8288 	  echo "cannot find nm_test_func in $nlist" >&5
   8289 	fi
   8290       else
   8291 	echo "cannot find nm_test_var in $nlist" >&5
   8292       fi
   8293     else
   8294       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   8295     fi
   8296   else
   8297     echo "$progname: failed program was:" >&5
   8298     cat conftest.$ac_ext >&5
   8299   fi
   8300   rm -rf conftest* conftst*
   8301 
   8302   # Do not use the global_symbol_pipe unless it works.
   8303   if test yes = "$pipe_works"; then
   8304     break
   8305   else
   8306     lt_cv_sys_global_symbol_pipe=
   8307   fi
   8308 done
   8309  ;;
   8310 esac
   8311 fi
   8312 
   8313 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   8314   lt_cv_sys_global_symbol_to_cdecl=
   8315 fi
   8316 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   8317   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   8318 printf "%s\n" "failed" >&6; }
   8319 else
   8320   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   8321 printf "%s\n" "ok" >&6; }
   8322 fi
   8323 
   8324 # Response file support.
   8325 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   8326   nm_file_list_spec='@'
   8327 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   8328   nm_file_list_spec='@'
   8329 fi
   8330 
   8331 
   8332 
   8333 
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 
   8340 
   8341 
   8342 
   8343 
   8344 
   8345 
   8346 
   8347 
   8348 
   8349 
   8350 
   8351 
   8352 
   8353 
   8354 
   8355 
   8356 
   8357 
   8358 
   8359 
   8360 
   8361 
   8362 
   8363 
   8364 
   8365 
   8366 
   8367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   8368 printf %s "checking for sysroot... " >&6; }
   8369 
   8370 # Check whether --with-sysroot was given.
   8371 if test ${with_sysroot+y}
   8372 then :
   8373   withval=$with_sysroot;
   8374 else case e in #(
   8375   e) with_sysroot=no ;;
   8376 esac
   8377 fi
   8378 
   8379 
   8380 lt_sysroot=
   8381 case $with_sysroot in #(
   8382  yes)
   8383    if test yes = "$GCC"; then
   8384      # Trim trailing / since we'll always append absolute paths and we want
   8385      # to avoid //, if only for less confusing output for the user.
   8386      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
   8387    fi
   8388    ;; #(
   8389  /*)
   8390    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   8391    ;; #(
   8392  no|'')
   8393    ;; #(
   8394  *)
   8395    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   8396 printf "%s\n" "$with_sysroot" >&6; }
   8397    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   8398    ;;
   8399 esac
   8400 
   8401  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   8402 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   8409 printf %s "checking for a working dd... " >&6; }
   8410 if test ${ac_cv_path_lt_DD+y}
   8411 then :
   8412   printf %s "(cached) " >&6
   8413 else case e in #(
   8414   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   8415 cat conftest.i conftest.i >conftest2.i
   8416 : ${lt_DD:=$DD}
   8417 if test -z "$lt_DD"; then
   8418   ac_path_lt_DD_found=false
   8419   # Loop through the user's path and test for each of PROGNAME-LIST
   8420   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8421 for as_dir in $PATH
   8422 do
   8423   IFS=$as_save_IFS
   8424   case $as_dir in #(((
   8425     '') as_dir=./ ;;
   8426     */) ;;
   8427     *) as_dir=$as_dir/ ;;
   8428   esac
   8429     for ac_prog in dd
   8430    do
   8431     for ac_exec_ext in '' $ac_executable_extensions; do
   8432       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   8433       as_fn_executable_p "$ac_path_lt_DD" || continue
   8434 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   8435   cmp -s conftest.i conftest.out \
   8436   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   8437 fi
   8438       $ac_path_lt_DD_found && break 3
   8439     done
   8440   done
   8441   done
   8442 IFS=$as_save_IFS
   8443   if test -z "$ac_cv_path_lt_DD"; then
   8444     :
   8445   fi
   8446 else
   8447   ac_cv_path_lt_DD=$lt_DD
   8448 fi
   8449 
   8450 rm -f conftest.i conftest2.i conftest.out ;;
   8451 esac
   8452 fi
   8453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   8454 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   8455 
   8456 
   8457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   8458 printf %s "checking how to truncate binary pipes... " >&6; }
   8459 if test ${lt_cv_truncate_bin+y}
   8460 then :
   8461   printf %s "(cached) " >&6
   8462 else case e in #(
   8463   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   8464 cat conftest.i conftest.i >conftest2.i
   8465 lt_cv_truncate_bin=
   8466 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   8467   cmp -s conftest.i conftest.out \
   8468   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   8469 fi
   8470 rm -f conftest.i conftest2.i conftest.out
   8471 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   8472 esac
   8473 fi
   8474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   8475 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   8476 
   8477 
   8478 
   8479 
   8480 
   8481 
   8482 
   8483 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   8484 func_cc_basename ()
   8485 {
   8486     for cc_temp in $*""; do
   8487       case $cc_temp in
   8488         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8489         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8490         \-*) ;;
   8491         *) break;;
   8492       esac
   8493     done
   8494     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8495 }
   8496 
   8497 # Check whether --enable-libtool-lock was given.
   8498 if test ${enable_libtool_lock+y}
   8499 then :
   8500   enableval=$enable_libtool_lock;
   8501 fi
   8502 
   8503 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   8504 
   8505 # Some flags need to be propagated to the compiler or linker for good
   8506 # libtool support.
   8507 case $host in
   8508 ia64-*-hpux*)
   8509   # Find out what ABI is being produced by ac_compile, and set mode
   8510   # options accordingly.
   8511   echo 'int i;' > conftest.$ac_ext
   8512   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8513   (eval $ac_compile) 2>&5
   8514   ac_status=$?
   8515   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8516   test $ac_status = 0; }; then
   8517     case `$FILECMD conftest.$ac_objext` in
   8518       *ELF-32*)
   8519 	HPUX_IA64_MODE=32
   8520 	;;
   8521       *ELF-64*)
   8522 	HPUX_IA64_MODE=64
   8523 	;;
   8524     esac
   8525   fi
   8526   rm -rf conftest*
   8527   ;;
   8528 *-*-irix6*)
   8529   # Find out what ABI is being produced by ac_compile, and set linker
   8530   # options accordingly.
   8531   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8532   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8533   (eval $ac_compile) 2>&5
   8534   ac_status=$?
   8535   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8536   test $ac_status = 0; }; then
   8537     if test yes = "$lt_cv_prog_gnu_ld"; then
   8538       case `$FILECMD conftest.$ac_objext` in
   8539 	*32-bit*)
   8540 	  LD="${LD-ld} -melf32bsmip"
   8541 	  ;;
   8542 	*N32*)
   8543 	  LD="${LD-ld} -melf32bmipn32"
   8544 	  ;;
   8545 	*64-bit*)
   8546 	  LD="${LD-ld} -melf64bmip"
   8547 	;;
   8548       esac
   8549     else
   8550       case `$FILECMD conftest.$ac_objext` in
   8551 	*32-bit*)
   8552 	  LD="${LD-ld} -32"
   8553 	  ;;
   8554 	*N32*)
   8555 	  LD="${LD-ld} -n32"
   8556 	  ;;
   8557 	*64-bit*)
   8558 	  LD="${LD-ld} -64"
   8559 	  ;;
   8560       esac
   8561     fi
   8562   fi
   8563   rm -rf conftest*
   8564   ;;
   8565 
   8566 mips64*-*linux*)
   8567   # Find out what ABI is being produced by ac_compile, and set linker
   8568   # options accordingly.
   8569   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8570   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8571   (eval $ac_compile) 2>&5
   8572   ac_status=$?
   8573   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8574   test $ac_status = 0; }; then
   8575     emul=elf
   8576     case `$FILECMD conftest.$ac_objext` in
   8577       *32-bit*)
   8578 	emul="${emul}32"
   8579 	;;
   8580       *64-bit*)
   8581 	emul="${emul}64"
   8582 	;;
   8583     esac
   8584     case `$FILECMD conftest.$ac_objext` in
   8585       *MSB*)
   8586 	emul="${emul}btsmip"
   8587 	;;
   8588       *LSB*)
   8589 	emul="${emul}ltsmip"
   8590 	;;
   8591     esac
   8592     case `$FILECMD conftest.$ac_objext` in
   8593       *N32*)
   8594 	emul="${emul}n32"
   8595 	;;
   8596     esac
   8597     LD="${LD-ld} -m $emul"
   8598   fi
   8599   rm -rf conftest*
   8600   ;;
   8601 
   8602 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   8603 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
   8604   # Find out what ABI is being produced by ac_compile, and set linker
   8605   # options accordingly.  Note that the listed cases only cover the
   8606   # situations where additional linker options are needed (such as when
   8607   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   8608   # vice versa); the common cases where no linker options are needed do
   8609   # not appear in the list.
   8610   echo 'int i;' > conftest.$ac_ext
   8611   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8612   (eval $ac_compile) 2>&5
   8613   ac_status=$?
   8614   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8615   test $ac_status = 0; }; then
   8616     case `$FILECMD conftest.o` in
   8617       *32-bit*)
   8618 	case $host in
   8619 	  x86_64-*kfreebsd*-gnu)
   8620 	    LD="${LD-ld} -m elf_i386_fbsd"
   8621 	    ;;
   8622 	  x86_64-*linux*|x86_64-gnu*)
   8623 	    case `$FILECMD conftest.o` in
   8624 	      *x86-64*)
   8625 		LD="${LD-ld} -m elf32_x86_64"
   8626 		;;
   8627 	      *)
   8628 		LD="${LD-ld} -m elf_i386"
   8629 		;;
   8630 	    esac
   8631 	    ;;
   8632 	  powerpc64le-*linux*)
   8633 	    LD="${LD-ld} -m elf32lppclinux"
   8634 	    ;;
   8635 	  powerpc64-*linux*)
   8636 	    LD="${LD-ld} -m elf32ppclinux"
   8637 	    ;;
   8638 	  s390x-*linux*)
   8639 	    LD="${LD-ld} -m elf_s390"
   8640 	    ;;
   8641 	  sparc64-*linux*)
   8642 	    LD="${LD-ld} -m elf32_sparc"
   8643 	    ;;
   8644 	esac
   8645 	;;
   8646       *64-bit*)
   8647 	case $host in
   8648 	  x86_64-*kfreebsd*-gnu)
   8649 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   8650 	    ;;
   8651 	  x86_64-*linux*|x86_64-gnu*)
   8652 	    LD="${LD-ld} -m elf_x86_64"
   8653 	    ;;
   8654 	  powerpcle-*linux*|powerpc64le-*linux*)
   8655 	    LD="${LD-ld} -m elf64lppc"
   8656 	    ;;
   8657 	  powerpc-*linux*|powerpc64-*linux*)
   8658 	    LD="${LD-ld} -m elf64ppc"
   8659 	    ;;
   8660 	  s390*-*linux*|s390*-*tpf*)
   8661 	    LD="${LD-ld} -m elf64_s390"
   8662 	    ;;
   8663 	  sparc*-*linux*)
   8664 	    LD="${LD-ld} -m elf64_sparc"
   8665 	    ;;
   8666 	esac
   8667 	;;
   8668     esac
   8669   fi
   8670   rm -rf conftest*
   8671   ;;
   8672 
   8673 *-*-sco3.2v5*)
   8674   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   8675   SAVE_CFLAGS=$CFLAGS
   8676   CFLAGS="$CFLAGS -belf"
   8677   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   8678 printf %s "checking whether the C compiler needs -belf... " >&6; }
   8679 if test ${lt_cv_cc_needs_belf+y}
   8680 then :
   8681   printf %s "(cached) " >&6
   8682 else case e in #(
   8683   e) ac_ext=c
   8684 ac_cpp='$CPP $CPPFLAGS'
   8685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8688 
   8689      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8690 /* end confdefs.h.  */
   8691 
   8692 int
   8693 main (void)
   8694 {
   8695 
   8696   ;
   8697   return 0;
   8698 }
   8699 _ACEOF
   8700 if ac_fn_c_try_link "$LINENO"
   8701 then :
   8702   lt_cv_cc_needs_belf=yes
   8703 else case e in #(
   8704   e) lt_cv_cc_needs_belf=no ;;
   8705 esac
   8706 fi
   8707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8708     conftest$ac_exeext conftest.$ac_ext
   8709      ac_ext=c
   8710 ac_cpp='$CPP $CPPFLAGS'
   8711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8714  ;;
   8715 esac
   8716 fi
   8717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   8718 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   8719   if test yes != "$lt_cv_cc_needs_belf"; then
   8720     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   8721     CFLAGS=$SAVE_CFLAGS
   8722   fi
   8723   ;;
   8724 *-*solaris*)
   8725   # Find out what ABI is being produced by ac_compile, and set linker
   8726   # options accordingly.
   8727   echo 'int i;' > conftest.$ac_ext
   8728   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8729   (eval $ac_compile) 2>&5
   8730   ac_status=$?
   8731   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8732   test $ac_status = 0; }; then
   8733     case `$FILECMD conftest.o` in
   8734     *64-bit*)
   8735       case $lt_cv_prog_gnu_ld in
   8736       yes*)
   8737         case $host in
   8738         i?86-*-solaris*|x86_64-*-solaris*)
   8739           LD="${LD-ld} -m elf_x86_64"
   8740           ;;
   8741         sparc*-*-solaris*)
   8742           LD="${LD-ld} -m elf64_sparc"
   8743           ;;
   8744         esac
   8745         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   8746         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   8747           LD=${LD-ld}_sol2
   8748         fi
   8749         ;;
   8750       *)
   8751 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8752 	  LD="${LD-ld} -64"
   8753 	fi
   8754 	;;
   8755       esac
   8756       ;;
   8757     esac
   8758   fi
   8759   rm -rf conftest*
   8760   ;;
   8761 esac
   8762 
   8763 need_locks=$enable_libtool_lock
   8764 
   8765 if test -n "$ac_tool_prefix"; then
   8766   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   8767 set dummy ${ac_tool_prefix}mt; ac_word=$2
   8768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8769 printf %s "checking for $ac_word... " >&6; }
   8770 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   8771 then :
   8772   printf %s "(cached) " >&6
   8773 else case e in #(
   8774   e) if test -n "$MANIFEST_TOOL"; then
   8775   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   8776 else
   8777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8778 for as_dir in $PATH
   8779 do
   8780   IFS=$as_save_IFS
   8781   case $as_dir in #(((
   8782     '') as_dir=./ ;;
   8783     */) ;;
   8784     *) as_dir=$as_dir/ ;;
   8785   esac
   8786     for ac_exec_ext in '' $ac_executable_extensions; do
   8787   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8788     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   8789     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8790     break 2
   8791   fi
   8792 done
   8793   done
   8794 IFS=$as_save_IFS
   8795 
   8796 fi ;;
   8797 esac
   8798 fi
   8799 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   8800 if test -n "$MANIFEST_TOOL"; then
   8801   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   8802 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   8803 else
   8804   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8805 printf "%s\n" "no" >&6; }
   8806 fi
   8807 
   8808 
   8809 fi
   8810 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   8811   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   8812   # Extract the first word of "mt", so it can be a program name with args.
   8813 set dummy mt; ac_word=$2
   8814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8815 printf %s "checking for $ac_word... " >&6; }
   8816 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   8817 then :
   8818   printf %s "(cached) " >&6
   8819 else case e in #(
   8820   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   8821   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   8822 else
   8823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8824 for as_dir in $PATH
   8825 do
   8826   IFS=$as_save_IFS
   8827   case $as_dir in #(((
   8828     '') as_dir=./ ;;
   8829     */) ;;
   8830     *) as_dir=$as_dir/ ;;
   8831   esac
   8832     for ac_exec_ext in '' $ac_executable_extensions; do
   8833   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8834     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   8835     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8836     break 2
   8837   fi
   8838 done
   8839   done
   8840 IFS=$as_save_IFS
   8841 
   8842 fi ;;
   8843 esac
   8844 fi
   8845 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   8846 if test -n "$ac_ct_MANIFEST_TOOL"; then
   8847   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   8848 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   8849 else
   8850   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8851 printf "%s\n" "no" >&6; }
   8852 fi
   8853 
   8854   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   8855     MANIFEST_TOOL=":"
   8856   else
   8857     case $cross_compiling:$ac_tool_warned in
   8858 yes:)
   8859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8860 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8861 ac_tool_warned=yes ;;
   8862 esac
   8863     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   8864   fi
   8865 else
   8866   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   8867 fi
   8868 
   8869 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   8870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   8871 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   8872 if test ${lt_cv_path_manifest_tool+y}
   8873 then :
   8874   printf %s "(cached) " >&6
   8875 else case e in #(
   8876   e) lt_cv_path_manifest_tool=no
   8877   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   8878   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   8879   cat conftest.err >&5
   8880   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   8881     lt_cv_path_manifest_tool=yes
   8882   fi
   8883   rm -f conftest* ;;
   8884 esac
   8885 fi
   8886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
   8887 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
   8888 if test yes != "$lt_cv_path_manifest_tool"; then
   8889   MANIFEST_TOOL=:
   8890 fi
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897   case $host_os in
   8898     rhapsody* | darwin*)
   8899     if test -n "$ac_tool_prefix"; then
   8900   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8901 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8903 printf %s "checking for $ac_word... " >&6; }
   8904 if test ${ac_cv_prog_DSYMUTIL+y}
   8905 then :
   8906   printf %s "(cached) " >&6
   8907 else case e in #(
   8908   e) if test -n "$DSYMUTIL"; then
   8909   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8910 else
   8911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8912 for as_dir in $PATH
   8913 do
   8914   IFS=$as_save_IFS
   8915   case $as_dir in #(((
   8916     '') as_dir=./ ;;
   8917     */) ;;
   8918     *) as_dir=$as_dir/ ;;
   8919   esac
   8920     for ac_exec_ext in '' $ac_executable_extensions; do
   8921   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8922     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8923     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8924     break 2
   8925   fi
   8926 done
   8927   done
   8928 IFS=$as_save_IFS
   8929 
   8930 fi ;;
   8931 esac
   8932 fi
   8933 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8934 if test -n "$DSYMUTIL"; then
   8935   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8936 printf "%s\n" "$DSYMUTIL" >&6; }
   8937 else
   8938   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8939 printf "%s\n" "no" >&6; }
   8940 fi
   8941 
   8942 
   8943 fi
   8944 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8945   ac_ct_DSYMUTIL=$DSYMUTIL
   8946   # Extract the first word of "dsymutil", so it can be a program name with args.
   8947 set dummy dsymutil; ac_word=$2
   8948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8949 printf %s "checking for $ac_word... " >&6; }
   8950 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   8951 then :
   8952   printf %s "(cached) " >&6
   8953 else case e in #(
   8954   e) if test -n "$ac_ct_DSYMUTIL"; then
   8955   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8956 else
   8957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8958 for as_dir in $PATH
   8959 do
   8960   IFS=$as_save_IFS
   8961   case $as_dir in #(((
   8962     '') as_dir=./ ;;
   8963     */) ;;
   8964     *) as_dir=$as_dir/ ;;
   8965   esac
   8966     for ac_exec_ext in '' $ac_executable_extensions; do
   8967   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8968     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8969     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8970     break 2
   8971   fi
   8972 done
   8973   done
   8974 IFS=$as_save_IFS
   8975 
   8976 fi ;;
   8977 esac
   8978 fi
   8979 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8980 if test -n "$ac_ct_DSYMUTIL"; then
   8981   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8982 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   8983 else
   8984   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8985 printf "%s\n" "no" >&6; }
   8986 fi
   8987 
   8988   if test "x$ac_ct_DSYMUTIL" = x; then
   8989     DSYMUTIL=":"
   8990   else
   8991     case $cross_compiling:$ac_tool_warned in
   8992 yes:)
   8993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8994 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8995 ac_tool_warned=yes ;;
   8996 esac
   8997     DSYMUTIL=$ac_ct_DSYMUTIL
   8998   fi
   8999 else
   9000   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   9001 fi
   9002 
   9003     if test -n "$ac_tool_prefix"; then
   9004   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   9005 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   9006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9007 printf %s "checking for $ac_word... " >&6; }
   9008 if test ${ac_cv_prog_NMEDIT+y}
   9009 then :
   9010   printf %s "(cached) " >&6
   9011 else case e in #(
   9012   e) if test -n "$NMEDIT"; then
   9013   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   9014 else
   9015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9016 for as_dir in $PATH
   9017 do
   9018   IFS=$as_save_IFS
   9019   case $as_dir in #(((
   9020     '') as_dir=./ ;;
   9021     */) ;;
   9022     *) as_dir=$as_dir/ ;;
   9023   esac
   9024     for ac_exec_ext in '' $ac_executable_extensions; do
   9025   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9026     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   9027     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9028     break 2
   9029   fi
   9030 done
   9031   done
   9032 IFS=$as_save_IFS
   9033 
   9034 fi ;;
   9035 esac
   9036 fi
   9037 NMEDIT=$ac_cv_prog_NMEDIT
   9038 if test -n "$NMEDIT"; then
   9039   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   9040 printf "%s\n" "$NMEDIT" >&6; }
   9041 else
   9042   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9043 printf "%s\n" "no" >&6; }
   9044 fi
   9045 
   9046 
   9047 fi
   9048 if test -z "$ac_cv_prog_NMEDIT"; then
   9049   ac_ct_NMEDIT=$NMEDIT
   9050   # Extract the first word of "nmedit", so it can be a program name with args.
   9051 set dummy nmedit; ac_word=$2
   9052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9053 printf %s "checking for $ac_word... " >&6; }
   9054 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   9055 then :
   9056   printf %s "(cached) " >&6
   9057 else case e in #(
   9058   e) if test -n "$ac_ct_NMEDIT"; then
   9059   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   9060 else
   9061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9062 for as_dir in $PATH
   9063 do
   9064   IFS=$as_save_IFS
   9065   case $as_dir in #(((
   9066     '') as_dir=./ ;;
   9067     */) ;;
   9068     *) as_dir=$as_dir/ ;;
   9069   esac
   9070     for ac_exec_ext in '' $ac_executable_extensions; do
   9071   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9072     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   9073     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9074     break 2
   9075   fi
   9076 done
   9077   done
   9078 IFS=$as_save_IFS
   9079 
   9080 fi ;;
   9081 esac
   9082 fi
   9083 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   9084 if test -n "$ac_ct_NMEDIT"; then
   9085   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   9086 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   9087 else
   9088   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9089 printf "%s\n" "no" >&6; }
   9090 fi
   9091 
   9092   if test "x$ac_ct_NMEDIT" = x; then
   9093     NMEDIT=":"
   9094   else
   9095     case $cross_compiling:$ac_tool_warned in
   9096 yes:)
   9097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9098 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9099 ac_tool_warned=yes ;;
   9100 esac
   9101     NMEDIT=$ac_ct_NMEDIT
   9102   fi
   9103 else
   9104   NMEDIT="$ac_cv_prog_NMEDIT"
   9105 fi
   9106 
   9107     if test -n "$ac_tool_prefix"; then
   9108   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   9109 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   9110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9111 printf %s "checking for $ac_word... " >&6; }
   9112 if test ${ac_cv_prog_LIPO+y}
   9113 then :
   9114   printf %s "(cached) " >&6
   9115 else case e in #(
   9116   e) if test -n "$LIPO"; then
   9117   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   9118 else
   9119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9120 for as_dir in $PATH
   9121 do
   9122   IFS=$as_save_IFS
   9123   case $as_dir in #(((
   9124     '') as_dir=./ ;;
   9125     */) ;;
   9126     *) as_dir=$as_dir/ ;;
   9127   esac
   9128     for ac_exec_ext in '' $ac_executable_extensions; do
   9129   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9130     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   9131     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9132     break 2
   9133   fi
   9134 done
   9135   done
   9136 IFS=$as_save_IFS
   9137 
   9138 fi ;;
   9139 esac
   9140 fi
   9141 LIPO=$ac_cv_prog_LIPO
   9142 if test -n "$LIPO"; then
   9143   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   9144 printf "%s\n" "$LIPO" >&6; }
   9145 else
   9146   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9147 printf "%s\n" "no" >&6; }
   9148 fi
   9149 
   9150 
   9151 fi
   9152 if test -z "$ac_cv_prog_LIPO"; then
   9153   ac_ct_LIPO=$LIPO
   9154   # Extract the first word of "lipo", so it can be a program name with args.
   9155 set dummy lipo; ac_word=$2
   9156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9157 printf %s "checking for $ac_word... " >&6; }
   9158 if test ${ac_cv_prog_ac_ct_LIPO+y}
   9159 then :
   9160   printf %s "(cached) " >&6
   9161 else case e in #(
   9162   e) if test -n "$ac_ct_LIPO"; then
   9163   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   9164 else
   9165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9166 for as_dir in $PATH
   9167 do
   9168   IFS=$as_save_IFS
   9169   case $as_dir in #(((
   9170     '') as_dir=./ ;;
   9171     */) ;;
   9172     *) as_dir=$as_dir/ ;;
   9173   esac
   9174     for ac_exec_ext in '' $ac_executable_extensions; do
   9175   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9176     ac_cv_prog_ac_ct_LIPO="lipo"
   9177     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9178     break 2
   9179   fi
   9180 done
   9181   done
   9182 IFS=$as_save_IFS
   9183 
   9184 fi ;;
   9185 esac
   9186 fi
   9187 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   9188 if test -n "$ac_ct_LIPO"; then
   9189   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   9190 printf "%s\n" "$ac_ct_LIPO" >&6; }
   9191 else
   9192   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9193 printf "%s\n" "no" >&6; }
   9194 fi
   9195 
   9196   if test "x$ac_ct_LIPO" = x; then
   9197     LIPO=":"
   9198   else
   9199     case $cross_compiling:$ac_tool_warned in
   9200 yes:)
   9201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9202 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9203 ac_tool_warned=yes ;;
   9204 esac
   9205     LIPO=$ac_ct_LIPO
   9206   fi
   9207 else
   9208   LIPO="$ac_cv_prog_LIPO"
   9209 fi
   9210 
   9211     if test -n "$ac_tool_prefix"; then
   9212   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   9213 set dummy ${ac_tool_prefix}otool; ac_word=$2
   9214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9215 printf %s "checking for $ac_word... " >&6; }
   9216 if test ${ac_cv_prog_OTOOL+y}
   9217 then :
   9218   printf %s "(cached) " >&6
   9219 else case e in #(
   9220   e) if test -n "$OTOOL"; then
   9221   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   9222 else
   9223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9224 for as_dir in $PATH
   9225 do
   9226   IFS=$as_save_IFS
   9227   case $as_dir in #(((
   9228     '') as_dir=./ ;;
   9229     */) ;;
   9230     *) as_dir=$as_dir/ ;;
   9231   esac
   9232     for ac_exec_ext in '' $ac_executable_extensions; do
   9233   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9234     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   9235     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9236     break 2
   9237   fi
   9238 done
   9239   done
   9240 IFS=$as_save_IFS
   9241 
   9242 fi ;;
   9243 esac
   9244 fi
   9245 OTOOL=$ac_cv_prog_OTOOL
   9246 if test -n "$OTOOL"; then
   9247   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   9248 printf "%s\n" "$OTOOL" >&6; }
   9249 else
   9250   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9251 printf "%s\n" "no" >&6; }
   9252 fi
   9253 
   9254 
   9255 fi
   9256 if test -z "$ac_cv_prog_OTOOL"; then
   9257   ac_ct_OTOOL=$OTOOL
   9258   # Extract the first word of "otool", so it can be a program name with args.
   9259 set dummy otool; ac_word=$2
   9260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9261 printf %s "checking for $ac_word... " >&6; }
   9262 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   9263 then :
   9264   printf %s "(cached) " >&6
   9265 else case e in #(
   9266   e) if test -n "$ac_ct_OTOOL"; then
   9267   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   9268 else
   9269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9270 for as_dir in $PATH
   9271 do
   9272   IFS=$as_save_IFS
   9273   case $as_dir in #(((
   9274     '') as_dir=./ ;;
   9275     */) ;;
   9276     *) as_dir=$as_dir/ ;;
   9277   esac
   9278     for ac_exec_ext in '' $ac_executable_extensions; do
   9279   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9280     ac_cv_prog_ac_ct_OTOOL="otool"
   9281     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9282     break 2
   9283   fi
   9284 done
   9285   done
   9286 IFS=$as_save_IFS
   9287 
   9288 fi ;;
   9289 esac
   9290 fi
   9291 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   9292 if test -n "$ac_ct_OTOOL"; then
   9293   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   9294 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   9295 else
   9296   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9297 printf "%s\n" "no" >&6; }
   9298 fi
   9299 
   9300   if test "x$ac_ct_OTOOL" = x; then
   9301     OTOOL=":"
   9302   else
   9303     case $cross_compiling:$ac_tool_warned in
   9304 yes:)
   9305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9306 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9307 ac_tool_warned=yes ;;
   9308 esac
   9309     OTOOL=$ac_ct_OTOOL
   9310   fi
   9311 else
   9312   OTOOL="$ac_cv_prog_OTOOL"
   9313 fi
   9314 
   9315     if test -n "$ac_tool_prefix"; then
   9316   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   9317 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   9318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9319 printf %s "checking for $ac_word... " >&6; }
   9320 if test ${ac_cv_prog_OTOOL64+y}
   9321 then :
   9322   printf %s "(cached) " >&6
   9323 else case e in #(
   9324   e) if test -n "$OTOOL64"; then
   9325   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   9326 else
   9327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9328 for as_dir in $PATH
   9329 do
   9330   IFS=$as_save_IFS
   9331   case $as_dir in #(((
   9332     '') as_dir=./ ;;
   9333     */) ;;
   9334     *) as_dir=$as_dir/ ;;
   9335   esac
   9336     for ac_exec_ext in '' $ac_executable_extensions; do
   9337   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9338     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   9339     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9340     break 2
   9341   fi
   9342 done
   9343   done
   9344 IFS=$as_save_IFS
   9345 
   9346 fi ;;
   9347 esac
   9348 fi
   9349 OTOOL64=$ac_cv_prog_OTOOL64
   9350 if test -n "$OTOOL64"; then
   9351   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   9352 printf "%s\n" "$OTOOL64" >&6; }
   9353 else
   9354   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9355 printf "%s\n" "no" >&6; }
   9356 fi
   9357 
   9358 
   9359 fi
   9360 if test -z "$ac_cv_prog_OTOOL64"; then
   9361   ac_ct_OTOOL64=$OTOOL64
   9362   # Extract the first word of "otool64", so it can be a program name with args.
   9363 set dummy otool64; ac_word=$2
   9364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9365 printf %s "checking for $ac_word... " >&6; }
   9366 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   9367 then :
   9368   printf %s "(cached) " >&6
   9369 else case e in #(
   9370   e) if test -n "$ac_ct_OTOOL64"; then
   9371   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   9372 else
   9373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9374 for as_dir in $PATH
   9375 do
   9376   IFS=$as_save_IFS
   9377   case $as_dir in #(((
   9378     '') as_dir=./ ;;
   9379     */) ;;
   9380     *) as_dir=$as_dir/ ;;
   9381   esac
   9382     for ac_exec_ext in '' $ac_executable_extensions; do
   9383   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9384     ac_cv_prog_ac_ct_OTOOL64="otool64"
   9385     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9386     break 2
   9387   fi
   9388 done
   9389   done
   9390 IFS=$as_save_IFS
   9391 
   9392 fi ;;
   9393 esac
   9394 fi
   9395 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   9396 if test -n "$ac_ct_OTOOL64"; then
   9397   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   9398 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   9399 else
   9400   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9401 printf "%s\n" "no" >&6; }
   9402 fi
   9403 
   9404   if test "x$ac_ct_OTOOL64" = x; then
   9405     OTOOL64=":"
   9406   else
   9407     case $cross_compiling:$ac_tool_warned in
   9408 yes:)
   9409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9410 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9411 ac_tool_warned=yes ;;
   9412 esac
   9413     OTOOL64=$ac_ct_OTOOL64
   9414   fi
   9415 else
   9416   OTOOL64="$ac_cv_prog_OTOOL64"
   9417 fi
   9418 
   9419 
   9420 
   9421 
   9422 
   9423 
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 
   9437 
   9438 
   9439 
   9440 
   9441 
   9442 
   9443 
   9444 
   9445     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   9446 printf %s "checking for -single_module linker flag... " >&6; }
   9447 if test ${lt_cv_apple_cc_single_mod+y}
   9448 then :
   9449   printf %s "(cached) " >&6
   9450 else case e in #(
   9451   e) lt_cv_apple_cc_single_mod=no
   9452       if test -z "$LT_MULTI_MODULE"; then
   9453 	# By default we will add the -single_module flag. You can override
   9454 	# by either setting the environment variable LT_MULTI_MODULE
   9455 	# non-empty at configure time, or by adding -multi_module to the
   9456 	# link flags.
   9457 	rm -rf libconftest.dylib*
   9458 	echo "int foo(void){return 1;}" > conftest.c
   9459 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   9460 -dynamiclib -Wl,-single_module conftest.c" >&5
   9461 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   9462 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   9463         _lt_result=$?
   9464 	# If there is a non-empty error log, and "single_module"
   9465 	# appears in it, assume the flag caused a linker warning
   9466         if test -s conftest.err && $GREP single_module conftest.err; then
   9467 	  cat conftest.err >&5
   9468 	# Otherwise, if the output was created with a 0 exit code from
   9469 	# the compiler, it worked.
   9470 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   9471 	  lt_cv_apple_cc_single_mod=yes
   9472 	else
   9473 	  cat conftest.err >&5
   9474 	fi
   9475 	rm -rf libconftest.dylib*
   9476 	rm -f conftest.*
   9477       fi ;;
   9478 esac
   9479 fi
   9480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   9481 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   9482 
   9483     # Feature test to disable chained fixups since it is not
   9484     # compatible with '-undefined dynamic_lookup'
   9485     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
   9486 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
   9487 if test ${lt_cv_support_no_fixup_chains+y}
   9488 then :
   9489   printf %s "(cached) " >&6
   9490 else case e in #(
   9491   e)  save_LDFLAGS=$LDFLAGS
   9492         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
   9493         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9494 /* end confdefs.h.  */
   9495 
   9496 int
   9497 main (void)
   9498 {
   9499 
   9500   ;
   9501   return 0;
   9502 }
   9503 _ACEOF
   9504 if ac_fn_c_try_link "$LINENO"
   9505 then :
   9506   lt_cv_support_no_fixup_chains=yes
   9507 else case e in #(
   9508   e) lt_cv_support_no_fixup_chains=no
   9509          ;;
   9510 esac
   9511 fi
   9512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9513     conftest$ac_exeext conftest.$ac_ext
   9514         LDFLAGS=$save_LDFLAGS
   9515 
   9516      ;;
   9517 esac
   9518 fi
   9519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
   9520 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
   9521 
   9522     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   9523 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   9524 if test ${lt_cv_ld_exported_symbols_list+y}
   9525 then :
   9526   printf %s "(cached) " >&6
   9527 else case e in #(
   9528   e) lt_cv_ld_exported_symbols_list=no
   9529       save_LDFLAGS=$LDFLAGS
   9530       echo "_main" > conftest.sym
   9531       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   9532       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9533 /* end confdefs.h.  */
   9534 
   9535 int
   9536 main (void)
   9537 {
   9538 
   9539   ;
   9540   return 0;
   9541 }
   9542 _ACEOF
   9543 if ac_fn_c_try_link "$LINENO"
   9544 then :
   9545   lt_cv_ld_exported_symbols_list=yes
   9546 else case e in #(
   9547   e) lt_cv_ld_exported_symbols_list=no ;;
   9548 esac
   9549 fi
   9550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9551     conftest$ac_exeext conftest.$ac_ext
   9552 	LDFLAGS=$save_LDFLAGS
   9553      ;;
   9554 esac
   9555 fi
   9556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   9557 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   9558 
   9559     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   9560 printf %s "checking for -force_load linker flag... " >&6; }
   9561 if test ${lt_cv_ld_force_load+y}
   9562 then :
   9563   printf %s "(cached) " >&6
   9564 else case e in #(
   9565   e) lt_cv_ld_force_load=no
   9566       cat > conftest.c << _LT_EOF
   9567 int forced_loaded() { return 2;}
   9568 _LT_EOF
   9569       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   9570       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   9571       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   9572       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   9573       echo "$RANLIB libconftest.a" >&5
   9574       $RANLIB libconftest.a 2>&5
   9575       cat > conftest.c << _LT_EOF
   9576 int main(void) { return 0;}
   9577 _LT_EOF
   9578       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   9579       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   9580       _lt_result=$?
   9581       if test -s conftest.err && $GREP force_load conftest.err; then
   9582 	cat conftest.err >&5
   9583       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   9584 	lt_cv_ld_force_load=yes
   9585       else
   9586 	cat conftest.err >&5
   9587       fi
   9588         rm -f conftest.err libconftest.a conftest conftest.c
   9589         rm -rf conftest.dSYM
   9590      ;;
   9591 esac
   9592 fi
   9593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   9594 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   9595     case $host_os in
   9596     rhapsody* | darwin1.[012])
   9597       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   9598     darwin1.*)
   9599       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9600     darwin*)
   9601       case $MACOSX_DEPLOYMENT_TARGET,$host in
   9602         10.[012],*|,*powerpc*-darwin[5-8]*)
   9603           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9604         *)
   9605           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
   9606           if test yes = "$lt_cv_support_no_fixup_chains"; then
   9607             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
   9608           fi
   9609         ;;
   9610       esac
   9611     ;;
   9612   esac
   9613     if test yes = "$lt_cv_apple_cc_single_mod"; then
   9614       _lt_dar_single_mod='$single_module'
   9615     fi
   9616     _lt_dar_needs_single_mod=no
   9617     case $host_os in
   9618     rhapsody* | darwin1.*)
   9619       _lt_dar_needs_single_mod=yes ;;
   9620     darwin*)
   9621       # When targeting Mac OS X 10.4 (darwin 8) or later,
   9622       # -single_module is the default and -multi_module is unsupported.
   9623       # The toolchain on macOS 10.14 (darwin 18) and later cannot
   9624       # target any OS version that needs -single_module.
   9625       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   9626       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
   9627         _lt_dar_needs_single_mod=yes ;;
   9628       esac
   9629     ;;
   9630     esac
   9631     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   9632       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   9633     else
   9634       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   9635     fi
   9636     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   9637       _lt_dsymutil='~$DSYMUTIL $lib || :'
   9638     else
   9639       _lt_dsymutil=
   9640     fi
   9641     ;;
   9642   esac
   9643 
   9644 # func_munge_path_list VARIABLE PATH
   9645 # -----------------------------------
   9646 # VARIABLE is name of variable containing _space_ separated list of
   9647 # directories to be munged by the contents of PATH, which is string
   9648 # having a format:
   9649 # "DIR[:DIR]:"
   9650 #       string "DIR[ DIR]" will be prepended to VARIABLE
   9651 # ":DIR[:DIR]"
   9652 #       string "DIR[ DIR]" will be appended to VARIABLE
   9653 # "DIRP[:DIRP]::[DIRA:]DIRA"
   9654 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   9655 #       "DIRA[ DIRA]" will be appended to VARIABLE
   9656 # "DIR[:DIR]"
   9657 #       VARIABLE will be replaced by "DIR[ DIR]"
   9658 func_munge_path_list ()
   9659 {
   9660     case x$2 in
   9661     x)
   9662         ;;
   9663     *:)
   9664         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   9665         ;;
   9666     x:*)
   9667         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   9668         ;;
   9669     *::*)
   9670         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   9671         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   9672         ;;
   9673     *)
   9674         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   9675         ;;
   9676     esac
   9677 }
   9678 
   9679 ac_header= ac_cache=
   9680 for ac_item in $ac_header_c_list
   9681 do
   9682   if test $ac_cache; then
   9683     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   9684     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   9685       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   9686     fi
   9687     ac_header= ac_cache=
   9688   elif test $ac_header; then
   9689     ac_cache=$ac_item
   9690   else
   9691     ac_header=$ac_item
   9692   fi
   9693 done
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   9703 then :
   9704 
   9705 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   9706 
   9707 fi
   9708 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   9709 "
   9710 if test "x$ac_cv_header_dlfcn_h" = xyes
   9711 then :
   9712   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   9713 
   9714 fi
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 # Set options
   9721 enable_win32_dll=yes
   9722 
   9723 case $host in
   9724 *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-cegcc*)
   9725   if test -n "$ac_tool_prefix"; then
   9726   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   9727 set dummy ${ac_tool_prefix}as; ac_word=$2
   9728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9729 printf %s "checking for $ac_word... " >&6; }
   9730 if test ${ac_cv_prog_AS+y}
   9731 then :
   9732   printf %s "(cached) " >&6
   9733 else case e in #(
   9734   e) if test -n "$AS"; then
   9735   ac_cv_prog_AS="$AS" # Let the user override the test.
   9736 else
   9737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9738 for as_dir in $PATH
   9739 do
   9740   IFS=$as_save_IFS
   9741   case $as_dir in #(((
   9742     '') as_dir=./ ;;
   9743     */) ;;
   9744     *) as_dir=$as_dir/ ;;
   9745   esac
   9746     for ac_exec_ext in '' $ac_executable_extensions; do
   9747   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9748     ac_cv_prog_AS="${ac_tool_prefix}as"
   9749     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9750     break 2
   9751   fi
   9752 done
   9753   done
   9754 IFS=$as_save_IFS
   9755 
   9756 fi ;;
   9757 esac
   9758 fi
   9759 AS=$ac_cv_prog_AS
   9760 if test -n "$AS"; then
   9761   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   9762 printf "%s\n" "$AS" >&6; }
   9763 else
   9764   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9765 printf "%s\n" "no" >&6; }
   9766 fi
   9767 
   9768 
   9769 fi
   9770 if test -z "$ac_cv_prog_AS"; then
   9771   ac_ct_AS=$AS
   9772   # Extract the first word of "as", so it can be a program name with args.
   9773 set dummy as; ac_word=$2
   9774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9775 printf %s "checking for $ac_word... " >&6; }
   9776 if test ${ac_cv_prog_ac_ct_AS+y}
   9777 then :
   9778   printf %s "(cached) " >&6
   9779 else case e in #(
   9780   e) if test -n "$ac_ct_AS"; then
   9781   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   9782 else
   9783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9784 for as_dir in $PATH
   9785 do
   9786   IFS=$as_save_IFS
   9787   case $as_dir in #(((
   9788     '') as_dir=./ ;;
   9789     */) ;;
   9790     *) as_dir=$as_dir/ ;;
   9791   esac
   9792     for ac_exec_ext in '' $ac_executable_extensions; do
   9793   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9794     ac_cv_prog_ac_ct_AS="as"
   9795     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9796     break 2
   9797   fi
   9798 done
   9799   done
   9800 IFS=$as_save_IFS
   9801 
   9802 fi ;;
   9803 esac
   9804 fi
   9805 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   9806 if test -n "$ac_ct_AS"; then
   9807   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   9808 printf "%s\n" "$ac_ct_AS" >&6; }
   9809 else
   9810   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9811 printf "%s\n" "no" >&6; }
   9812 fi
   9813 
   9814   if test "x$ac_ct_AS" = x; then
   9815     AS="false"
   9816   else
   9817     case $cross_compiling:$ac_tool_warned in
   9818 yes:)
   9819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9820 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9821 ac_tool_warned=yes ;;
   9822 esac
   9823     AS=$ac_ct_AS
   9824   fi
   9825 else
   9826   AS="$ac_cv_prog_AS"
   9827 fi
   9828 
   9829   if test -n "$ac_tool_prefix"; then
   9830   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   9831 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   9832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9833 printf %s "checking for $ac_word... " >&6; }
   9834 if test ${ac_cv_prog_DLLTOOL+y}
   9835 then :
   9836   printf %s "(cached) " >&6
   9837 else case e in #(
   9838   e) if test -n "$DLLTOOL"; then
   9839   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   9840 else
   9841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9842 for as_dir in $PATH
   9843 do
   9844   IFS=$as_save_IFS
   9845   case $as_dir in #(((
   9846     '') as_dir=./ ;;
   9847     */) ;;
   9848     *) as_dir=$as_dir/ ;;
   9849   esac
   9850     for ac_exec_ext in '' $ac_executable_extensions; do
   9851   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9852     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   9853     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9854     break 2
   9855   fi
   9856 done
   9857   done
   9858 IFS=$as_save_IFS
   9859 
   9860 fi ;;
   9861 esac
   9862 fi
   9863 DLLTOOL=$ac_cv_prog_DLLTOOL
   9864 if test -n "$DLLTOOL"; then
   9865   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   9866 printf "%s\n" "$DLLTOOL" >&6; }
   9867 else
   9868   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9869 printf "%s\n" "no" >&6; }
   9870 fi
   9871 
   9872 
   9873 fi
   9874 if test -z "$ac_cv_prog_DLLTOOL"; then
   9875   ac_ct_DLLTOOL=$DLLTOOL
   9876   # Extract the first word of "dlltool", so it can be a program name with args.
   9877 set dummy dlltool; ac_word=$2
   9878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9879 printf %s "checking for $ac_word... " >&6; }
   9880 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   9881 then :
   9882   printf %s "(cached) " >&6
   9883 else case e in #(
   9884   e) if test -n "$ac_ct_DLLTOOL"; then
   9885   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   9886 else
   9887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9888 for as_dir in $PATH
   9889 do
   9890   IFS=$as_save_IFS
   9891   case $as_dir in #(((
   9892     '') as_dir=./ ;;
   9893     */) ;;
   9894     *) as_dir=$as_dir/ ;;
   9895   esac
   9896     for ac_exec_ext in '' $ac_executable_extensions; do
   9897   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9898     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   9899     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9900     break 2
   9901   fi
   9902 done
   9903   done
   9904 IFS=$as_save_IFS
   9905 
   9906 fi ;;
   9907 esac
   9908 fi
   9909 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   9910 if test -n "$ac_ct_DLLTOOL"; then
   9911   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   9912 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   9913 else
   9914   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9915 printf "%s\n" "no" >&6; }
   9916 fi
   9917 
   9918   if test "x$ac_ct_DLLTOOL" = x; then
   9919     DLLTOOL="false"
   9920   else
   9921     case $cross_compiling:$ac_tool_warned in
   9922 yes:)
   9923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9924 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9925 ac_tool_warned=yes ;;
   9926 esac
   9927     DLLTOOL=$ac_ct_DLLTOOL
   9928   fi
   9929 else
   9930   DLLTOOL="$ac_cv_prog_DLLTOOL"
   9931 fi
   9932 
   9933   if test -n "$ac_tool_prefix"; then
   9934   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   9935 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   9936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9937 printf %s "checking for $ac_word... " >&6; }
   9938 if test ${ac_cv_prog_OBJDUMP+y}
   9939 then :
   9940   printf %s "(cached) " >&6
   9941 else case e in #(
   9942   e) if test -n "$OBJDUMP"; then
   9943   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   9944 else
   9945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9946 for as_dir in $PATH
   9947 do
   9948   IFS=$as_save_IFS
   9949   case $as_dir in #(((
   9950     '') as_dir=./ ;;
   9951     */) ;;
   9952     *) as_dir=$as_dir/ ;;
   9953   esac
   9954     for ac_exec_ext in '' $ac_executable_extensions; do
   9955   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9956     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   9957     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9958     break 2
   9959   fi
   9960 done
   9961   done
   9962 IFS=$as_save_IFS
   9963 
   9964 fi ;;
   9965 esac
   9966 fi
   9967 OBJDUMP=$ac_cv_prog_OBJDUMP
   9968 if test -n "$OBJDUMP"; then
   9969   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   9970 printf "%s\n" "$OBJDUMP" >&6; }
   9971 else
   9972   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9973 printf "%s\n" "no" >&6; }
   9974 fi
   9975 
   9976 
   9977 fi
   9978 if test -z "$ac_cv_prog_OBJDUMP"; then
   9979   ac_ct_OBJDUMP=$OBJDUMP
   9980   # Extract the first word of "objdump", so it can be a program name with args.
   9981 set dummy objdump; ac_word=$2
   9982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9983 printf %s "checking for $ac_word... " >&6; }
   9984 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   9985 then :
   9986   printf %s "(cached) " >&6
   9987 else case e in #(
   9988   e) if test -n "$ac_ct_OBJDUMP"; then
   9989   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   9990 else
   9991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9992 for as_dir in $PATH
   9993 do
   9994   IFS=$as_save_IFS
   9995   case $as_dir in #(((
   9996     '') as_dir=./ ;;
   9997     */) ;;
   9998     *) as_dir=$as_dir/ ;;
   9999   esac
   10000     for ac_exec_ext in '' $ac_executable_extensions; do
   10001   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10002     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   10003     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10004     break 2
   10005   fi
   10006 done
   10007   done
   10008 IFS=$as_save_IFS
   10009 
   10010 fi ;;
   10011 esac
   10012 fi
   10013 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   10014 if test -n "$ac_ct_OBJDUMP"; then
   10015   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   10016 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   10017 else
   10018   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10019 printf "%s\n" "no" >&6; }
   10020 fi
   10021 
   10022   if test "x$ac_ct_OBJDUMP" = x; then
   10023     OBJDUMP="false"
   10024   else
   10025     case $cross_compiling:$ac_tool_warned in
   10026 yes:)
   10027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10028 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10029 ac_tool_warned=yes ;;
   10030 esac
   10031     OBJDUMP=$ac_ct_OBJDUMP
   10032   fi
   10033 else
   10034   OBJDUMP="$ac_cv_prog_OBJDUMP"
   10035 fi
   10036 
   10037   ;;
   10038 esac
   10039 
   10040 test -z "$AS" && AS=as
   10041 
   10042 
   10043 
   10044 
   10045 
   10046 test -z "$DLLTOOL" && DLLTOOL=dlltool
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 test -z "$OBJDUMP" && OBJDUMP=objdump
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060         enable_dlopen=no
   10061 
   10062 
   10063 
   10064             # Check whether --enable-shared was given.
   10065 if test ${enable_shared+y}
   10066 then :
   10067   enableval=$enable_shared; p=${PACKAGE-default}
   10068     case $enableval in
   10069     yes) enable_shared=yes ;;
   10070     no) enable_shared=no ;;
   10071     *)
   10072       enable_shared=no
   10073       # Look at the argument we got.  We use all the common list separators.
   10074       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10075       for pkg in $enableval; do
   10076 	IFS=$lt_save_ifs
   10077 	if test "X$pkg" = "X$p"; then
   10078 	  enable_shared=yes
   10079 	fi
   10080       done
   10081       IFS=$lt_save_ifs
   10082       ;;
   10083     esac
   10084 else case e in #(
   10085   e) enable_shared=yes ;;
   10086 esac
   10087 fi
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097   # Check whether --enable-static was given.
   10098 if test ${enable_static+y}
   10099 then :
   10100   enableval=$enable_static; p=${PACKAGE-default}
   10101     case $enableval in
   10102     yes) enable_static=yes ;;
   10103     no) enable_static=no ;;
   10104     *)
   10105      enable_static=no
   10106       # Look at the argument we got.  We use all the common list separators.
   10107       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10108       for pkg in $enableval; do
   10109 	IFS=$lt_save_ifs
   10110 	if test "X$pkg" = "X$p"; then
   10111 	  enable_static=yes
   10112 	fi
   10113       done
   10114       IFS=$lt_save_ifs
   10115       ;;
   10116     esac
   10117 else case e in #(
   10118   e) enable_static=yes ;;
   10119 esac
   10120 fi
   10121 
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130   # Check whether --enable-pic was given.
   10131 if test ${enable_pic+y}
   10132 then :
   10133   enableval=$enable_pic; lt_p=${PACKAGE-default}
   10134      case $enableval in
   10135      yes|no) pic_mode=$enableval ;;
   10136      *)
   10137        pic_mode=default
   10138        # Look at the argument we got.  We use all the common list separators.
   10139        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10140        for lt_pkg in $enableval; do
   10141 	 IFS=$lt_save_ifs
   10142 	 if test "X$lt_pkg" = "X$lt_p"; then
   10143 	   pic_mode=yes
   10144 	 fi
   10145        done
   10146        IFS=$lt_save_ifs
   10147        ;;
   10148      esac
   10149 else case e in #(
   10150   e)           # Check whether --with-pic was given.
   10151 if test ${with_pic+y}
   10152 then :
   10153   withval=$with_pic; lt_p=${PACKAGE-default}
   10154 	 case $withval in
   10155 	 yes|no) pic_mode=$withval ;;
   10156 	 *)
   10157 	   pic_mode=default
   10158 	   # Look at the argument we got.  We use all the common list separators.
   10159 	   lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10160 	   for lt_pkg in $withval; do
   10161 	     IFS=$lt_save_ifs
   10162 	     if test "X$lt_pkg" = "X$lt_p"; then
   10163 	       pic_mode=yes
   10164 	     fi
   10165 	   done
   10166 	   IFS=$lt_save_ifs
   10167 	   ;;
   10168 	 esac
   10169 else case e in #(
   10170   e) pic_mode=default ;;
   10171 esac
   10172 fi
   10173 
   10174      ;;
   10175 esac
   10176 fi
   10177 
   10178 
   10179 
   10180 
   10181 
   10182 
   10183 
   10184 
   10185   stdlibflag=-nostdlib
   10186 # Check whether --enable-cxx-stdlib was given.
   10187 if test ${enable_cxx_stdlib+y}
   10188 then :
   10189   enableval=$enable_cxx_stdlib; p=${PACKAGE-default}
   10190     case $enableval in
   10191     yes) enable_cxx_stdlib=yes ;;
   10192     no) enable_cxx_stdlib=no ;;
   10193     *)
   10194      enable_cxx_stdlib=no
   10195       # Look at the argument we got.  We use all the common list separators.
   10196       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10197       for pkg in $enableval; do
   10198 	IFS=$lt_save_ifs
   10199 	if test "X$pkg" = "X$p"; then
   10200 	  enable_cxx_stdlib=yes
   10201 	fi
   10202       done
   10203       IFS=$lt_save_ifs
   10204       ;;
   10205     esac
   10206 else case e in #(
   10207   e) enable_cxx_stdlib=no ;;
   10208 esac
   10209 fi
   10210 
   10211 
   10212 if test yes = "$enable_cxx_stdlib"; then
   10213   stdlibflag=
   10214 fi
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226   # Check whether --enable-fast-install was given.
   10227 if test ${enable_fast_install+y}
   10228 then :
   10229   enableval=$enable_fast_install; p=${PACKAGE-default}
   10230     case $enableval in
   10231     yes) enable_fast_install=yes ;;
   10232     no) enable_fast_install=no ;;
   10233     *)
   10234       enable_fast_install=no
   10235       # Look at the argument we got.  We use all the common list separators.
   10236       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10237       for pkg in $enableval; do
   10238 	IFS=$lt_save_ifs
   10239 	if test "X$pkg" = "X$p"; then
   10240 	  enable_fast_install=yes
   10241 	fi
   10242       done
   10243       IFS=$lt_save_ifs
   10244       ;;
   10245     esac
   10246 else case e in #(
   10247   e) enable_fast_install=yes ;;
   10248 esac
   10249 fi
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258   shared_archive_member_spec=
   10259 case $host,$enable_shared in
   10260 power*-*-aix[5-9]*,yes)
   10261   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   10262 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   10263   # Check whether --enable-aix-soname was given.
   10264 if test ${enable_aix_soname+y}
   10265 then :
   10266   enableval=$enable_aix_soname; case $enableval in
   10267      aix|svr4|both)
   10268        ;;
   10269      *)
   10270        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
   10271        ;;
   10272      esac
   10273      lt_cv_with_aix_soname=$enable_aix_soname
   10274 else case e in #(
   10275   e) # Check whether --with-aix-soname was given.
   10276 if test ${with_aix_soname+y}
   10277 then :
   10278   withval=$with_aix_soname; case $withval in
   10279          aix|svr4|both)
   10280            ;;
   10281          *)
   10282            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   10283            ;;
   10284          esac
   10285          lt_cv_with_aix_soname=$with_aix_soname
   10286 else case e in #(
   10287   e) if test ${lt_cv_with_aix_soname+y}
   10288 then :
   10289   printf %s "(cached) " >&6
   10290 else case e in #(
   10291   e) lt_cv_with_aix_soname=aix ;;
   10292 esac
   10293 fi
   10294  ;;
   10295 esac
   10296 fi
   10297 
   10298      enable_aix_soname=$lt_cv_with_aix_soname ;;
   10299 esac
   10300 fi
   10301 
   10302   with_aix_soname=$enable_aix_soname
   10303   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   10304 printf "%s\n" "$with_aix_soname" >&6; }
   10305   if test aix != "$with_aix_soname"; then
   10306     # For the AIX way of multilib, we name the shared archive member
   10307     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   10308     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   10309     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   10310     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   10311     if test 64 = "${OBJECT_MODE-32}"; then
   10312       shared_archive_member_spec=shr_64
   10313     else
   10314       shared_archive_member_spec=shr
   10315     fi
   10316   fi
   10317   ;;
   10318 power*-*-aix[5-9]*,'')
   10319   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: for $host, specify if building shared libraries for versioning (svr4|both)" >&5
   10320 printf "%s\n" "$as_me: WARNING: for $host, specify if building shared libraries for versioning (svr4|both)" >&2;}
   10321   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   10322 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   10323   with_aix_soname=aix
   10324   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (default) $with_aix_soname" >&5
   10325 printf "%s\n" "(default) $with_aix_soname" >&6; }
   10326   ;;
   10327 *)
   10328   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   10329 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   10330   with_aix_soname=aix
   10331   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (default) $with_aix_soname" >&5
   10332 printf "%s\n" "(default) $with_aix_soname" >&6; }
   10333   ;;
   10334 esac
   10335 
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 # This can be used to rebuild libtool when needed
   10346 LIBTOOL_DEPS=$ltmain
   10347 
   10348 # Always use our own libtool.
   10349 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 
   10360 
   10361 
   10362 
   10363 
   10364 
   10365 
   10366 
   10367 
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 test -z "$LN_S" && LN_S="ln -s"
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 
   10394 
   10395 if test -n "${ZSH_VERSION+set}"; then
   10396    setopt NO_GLOB_SUBST
   10397 fi
   10398 
   10399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   10400 printf %s "checking for objdir... " >&6; }
   10401 if test ${lt_cv_objdir+y}
   10402 then :
   10403   printf %s "(cached) " >&6
   10404 else case e in #(
   10405   e) rm -f .libs 2>/dev/null
   10406 mkdir .libs 2>/dev/null
   10407 if test -d .libs; then
   10408   lt_cv_objdir=.libs
   10409 else
   10410   # MS-DOS does not allow filenames that begin with a dot.
   10411   lt_cv_objdir=_libs
   10412 fi
   10413 rmdir .libs 2>/dev/null ;;
   10414 esac
   10415 fi
   10416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   10417 printf "%s\n" "$lt_cv_objdir" >&6; }
   10418 objdir=$lt_cv_objdir
   10419 
   10420 
   10421 
   10422 
   10423 
   10424 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   10425 
   10426 
   10427 
   10428 
   10429 case $host_os in
   10430 aix3*)
   10431   # AIX sometimes has problems with the GCC collect2 program.  For some
   10432   # reason, if we set the COLLECT_NAMES environment variable, the problems
   10433   # vanish in a puff of smoke.
   10434   if test set != "${COLLECT_NAMES+set}"; then
   10435     COLLECT_NAMES=
   10436     export COLLECT_NAMES
   10437   fi
   10438   ;;
   10439 esac
   10440 
   10441 # Global variables:
   10442 ofile=libtool
   10443 can_build_shared=yes
   10444 
   10445 # All known linkers require a '.a' archive for static linking (except MSVC and
   10446 # ICC, which need '.lib').
   10447 libext=a
   10448 
   10449 with_gnu_ld=$lt_cv_prog_gnu_ld
   10450 
   10451 old_CC=$CC
   10452 old_CFLAGS=$CFLAGS
   10453 
   10454 # Set sane defaults for various variables
   10455 test -z "$CC" && CC=cc
   10456 test -z "$LTCC" && LTCC=$CC
   10457 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   10458 test -z "$LD" && LD=ld
   10459 test -z "$ac_objext" && ac_objext=o
   10460 
   10461 func_cc_basename $compiler
   10462 cc_basename=$func_cc_basename_result
   10463 
   10464 
   10465 # Only perform the check for file, if the check method requires it
   10466 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   10467 case $deplibs_check_method in
   10468 file_magic*)
   10469   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   10470     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   10471 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   10472 if test ${lt_cv_path_MAGIC_CMD+y}
   10473 then :
   10474   printf %s "(cached) " >&6
   10475 else case e in #(
   10476   e) case $MAGIC_CMD in
   10477 [\\/*] |  ?:[\\/]*)
   10478   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   10479   ;;
   10480 *)
   10481   lt_save_MAGIC_CMD=$MAGIC_CMD
   10482   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   10483   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   10484   for ac_dir in $ac_dummy; do
   10485     IFS=$lt_save_ifs
   10486     test -z "$ac_dir" && ac_dir=.
   10487     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   10488       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   10489       if test -n "$file_magic_test_file"; then
   10490 	case $deplibs_check_method in
   10491 	"file_magic "*)
   10492 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   10493 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   10494 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   10495 	    $EGREP "$file_magic_regex" > /dev/null; then
   10496 	    :
   10497 	  else
   10498 	    cat <<_LT_EOF 1>&2
   10499 
   10500 *** Warning: the command libtool uses to detect shared libraries,
   10501 *** $file_magic_cmd, produces output that libtool cannot recognize.
   10502 *** The result is that libtool may fail to recognize shared libraries
   10503 *** as such.  This will affect the creation of libtool libraries that
   10504 *** depend on shared libraries, but programs linked with such libtool
   10505 *** libraries will work regardless of this problem.  Nevertheless, you
   10506 *** may want to report the problem to your system manager and/or to
   10507 *** bug-libtool@gnu.org
   10508 
   10509 _LT_EOF
   10510 	  fi ;;
   10511 	esac
   10512       fi
   10513       break
   10514     fi
   10515   done
   10516   IFS=$lt_save_ifs
   10517   MAGIC_CMD=$lt_save_MAGIC_CMD
   10518   ;;
   10519 esac ;;
   10520 esac
   10521 fi
   10522 
   10523 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   10524 if test -n "$MAGIC_CMD"; then
   10525   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   10526 printf "%s\n" "$MAGIC_CMD" >&6; }
   10527 else
   10528   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10529 printf "%s\n" "no" >&6; }
   10530 fi
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 if test -z "$lt_cv_path_MAGIC_CMD"; then
   10537   if test -n "$ac_tool_prefix"; then
   10538     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   10539 printf %s "checking for file... " >&6; }
   10540 if test ${lt_cv_path_MAGIC_CMD+y}
   10541 then :
   10542   printf %s "(cached) " >&6
   10543 else case e in #(
   10544   e) case $MAGIC_CMD in
   10545 [\\/*] |  ?:[\\/]*)
   10546   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   10547   ;;
   10548 *)
   10549   lt_save_MAGIC_CMD=$MAGIC_CMD
   10550   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   10551   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   10552   for ac_dir in $ac_dummy; do
   10553     IFS=$lt_save_ifs
   10554     test -z "$ac_dir" && ac_dir=.
   10555     if test -f "$ac_dir/file"; then
   10556       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   10557       if test -n "$file_magic_test_file"; then
   10558 	case $deplibs_check_method in
   10559 	"file_magic "*)
   10560 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   10561 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   10562 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   10563 	    $EGREP "$file_magic_regex" > /dev/null; then
   10564 	    :
   10565 	  else
   10566 	    cat <<_LT_EOF 1>&2
   10567 
   10568 *** Warning: the command libtool uses to detect shared libraries,
   10569 *** $file_magic_cmd, produces output that libtool cannot recognize.
   10570 *** The result is that libtool may fail to recognize shared libraries
   10571 *** as such.  This will affect the creation of libtool libraries that
   10572 *** depend on shared libraries, but programs linked with such libtool
   10573 *** libraries will work regardless of this problem.  Nevertheless, you
   10574 *** may want to report the problem to your system manager and/or to
   10575 *** bug-libtool@gnu.org
   10576 
   10577 _LT_EOF
   10578 	  fi ;;
   10579 	esac
   10580       fi
   10581       break
   10582     fi
   10583   done
   10584   IFS=$lt_save_ifs
   10585   MAGIC_CMD=$lt_save_MAGIC_CMD
   10586   ;;
   10587 esac ;;
   10588 esac
   10589 fi
   10590 
   10591 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   10592 if test -n "$MAGIC_CMD"; then
   10593   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   10594 printf "%s\n" "$MAGIC_CMD" >&6; }
   10595 else
   10596   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10597 printf "%s\n" "no" >&6; }
   10598 fi
   10599 
   10600 
   10601   else
   10602     MAGIC_CMD=:
   10603   fi
   10604 fi
   10605 
   10606   fi
   10607   ;;
   10608 esac
   10609 
   10610 # Use C for the default configuration in the libtool script
   10611 
   10612 lt_save_CC=$CC
   10613 ac_ext=c
   10614 ac_cpp='$CPP $CPPFLAGS'
   10615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10618 
   10619 
   10620 # Source file extension for C test sources.
   10621 ac_ext=c
   10622 
   10623 # Object file extension for compiled C test sources.
   10624 objext=o
   10625 objext=$objext
   10626 
   10627 # Code to be used in simple compile tests
   10628 lt_simple_compile_test_code="int some_variable = 0;"
   10629 
   10630 # Code to be used in simple link tests
   10631 lt_simple_link_test_code='int main(void){return(0);}'
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 # If no C compiler was specified, use CC.
   10640 LTCC=${LTCC-"$CC"}
   10641 
   10642 # If no C compiler flags were specified, use CFLAGS.
   10643 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10644 
   10645 # Allow CC to be a program name with arguments.
   10646 compiler=$CC
   10647 
   10648 # Save the default compiler, since it gets overwritten when the other
   10649 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   10650 compiler_DEFAULT=$CC
   10651 
   10652 # save warnings/boilerplate of simple test code
   10653 ac_outfile=conftest.$ac_objext
   10654 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   10655 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10656 _lt_compiler_boilerplate=`cat conftest.err`
   10657 $RM conftest*
   10658 
   10659 ac_outfile=conftest.$ac_objext
   10660 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   10661 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10662 _lt_linker_boilerplate=`cat conftest.err`
   10663 $RM -r conftest*
   10664 
   10665 
   10666 ## CAVEAT EMPTOR:
   10667 ## There is no encapsulation within the following macros, do not change
   10668 ## the running order or otherwise move them around unless you know exactly
   10669 ## what you are doing...
   10670 if test -n "$compiler"; then
   10671 
   10672 lt_prog_compiler_no_builtin_flag=
   10673 
   10674 if test yes = "$GCC"; then
   10675   case $cc_basename in
   10676   nvcc*)
   10677     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   10678   *)
   10679     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   10680   esac
   10681 
   10682   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   10683 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   10684 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   10685 then :
   10686   printf %s "(cached) " >&6
   10687 else case e in #(
   10688   e) lt_cv_prog_compiler_rtti_exceptions=no
   10689    ac_outfile=conftest.$ac_objext
   10690    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10691    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   10692    # Insert the option either (1) after the last *FLAGS variable, or
   10693    # (2) before a word containing "conftest.", or (3) at the end.
   10694    # Note that $ac_compile itself does not contain backslashes and begins
   10695    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10696    # The option is referenced via a variable to avoid confusing sed.
   10697    lt_compile=`echo "$ac_compile" | $SED \
   10698    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10699    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10700    -e 's:$: $lt_compiler_flag:'`
   10701    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10702    (eval "$lt_compile" 2>conftest.err)
   10703    ac_status=$?
   10704    cat conftest.err >&5
   10705    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10706    if (exit $ac_status) && test -s "$ac_outfile"; then
   10707      # The compiler can only warn and ignore the option if not recognized
   10708      # So say no if there are warnings other than the usual output.
   10709      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.expsym
   10710      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10711      if test ! -s conftest.er2 || diff conftest.expsym conftest.er2 >/dev/null; then
   10712        lt_cv_prog_compiler_rtti_exceptions=yes
   10713      fi
   10714    fi
   10715    $RM conftest*
   10716  ;;
   10717 esac
   10718 fi
   10719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   10720 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   10721 
   10722 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   10723     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   10724 else
   10725     :
   10726 fi
   10727 
   10728 fi
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735   lt_prog_compiler_wl=
   10736 lt_prog_compiler_pic=
   10737 lt_prog_compiler_static=
   10738 
   10739 
   10740   if test yes = "$GCC"; then
   10741     lt_prog_compiler_wl='-Wl,'
   10742     lt_prog_compiler_static='-static'
   10743 
   10744     case $host_os in
   10745       aix*)
   10746       # All AIX code is PIC.
   10747       if test ia64 = "$host_cpu"; then
   10748 	# AIX 5 now supports IA64 processor
   10749 	lt_prog_compiler_static='-Bstatic'
   10750       fi
   10751       lt_prog_compiler_pic='-fPIC'
   10752       ;;
   10753 
   10754     amigaos*)
   10755       case $host_cpu in
   10756       powerpc)
   10757             # see comment about AmigaOS4 .so support
   10758             lt_prog_compiler_pic='-fPIC'
   10759         ;;
   10760       m68k)
   10761             # FIXME: we need at least 68020 code to build shared libraries, but
   10762             # adding the '-m68020' flag to GCC prevents building anything better,
   10763             # like '-m68040'.
   10764             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   10765         ;;
   10766       esac
   10767       ;;
   10768 
   10769     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   10770       # PIC is the default for these OSes.
   10771       ;;
   10772 
   10773     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   10774       # This hack is so that the source file can tell whether it is being
   10775       # built for inclusion in a dll (and should export symbols for example).
   10776       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   10777       # (--disable-auto-import) libraries
   10778       lt_prog_compiler_pic='-DDLL_EXPORT'
   10779       case $host_os in
   10780       os2*)
   10781 	lt_prog_compiler_static='$wl-static'
   10782 	;;
   10783       esac
   10784       ;;
   10785 
   10786     darwin* | rhapsody*)
   10787       # PIC is the default on this platform
   10788       # Common symbols not allowed in MH_DYLIB files
   10789       lt_prog_compiler_pic='-fno-common'
   10790       ;;
   10791 
   10792     haiku*)
   10793       # PIC is the default for Haiku.
   10794       # The "-static" flag exists, but is broken.
   10795       lt_prog_compiler_static=
   10796       ;;
   10797 
   10798     hpux*)
   10799       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   10800       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   10801       # sets the default TLS model and affects inlining.
   10802       case $host_cpu in
   10803       hppa*64*)
   10804 	# +Z the default
   10805 	;;
   10806       *)
   10807 	lt_prog_compiler_pic='-fPIC'
   10808 	;;
   10809       esac
   10810       ;;
   10811 
   10812     interix[3-9]*)
   10813       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   10814       # Instead, we relocate shared libraries at runtime.
   10815       ;;
   10816 
   10817     msdosdjgpp*)
   10818       # Just because we use GCC doesn't mean we suddenly get shared libraries
   10819       # on systems that don't support them.
   10820       lt_prog_compiler_can_build_shared=no
   10821       enable_shared=no
   10822       ;;
   10823 
   10824     *nto* | *qnx*)
   10825       # QNX uses GNU C++, but need to define -shared option too, otherwise
   10826       # it will coredump.
   10827       lt_prog_compiler_pic='-fPIC -shared'
   10828       ;;
   10829 
   10830     sysv4*MP*)
   10831       if test -d /usr/nec; then
   10832 	lt_prog_compiler_pic=-Kconform_pic
   10833       fi
   10834       ;;
   10835 
   10836     *)
   10837       lt_prog_compiler_pic='-fPIC'
   10838       ;;
   10839     esac
   10840 
   10841     case $cc_basename in
   10842     nvcc*) # Cuda Compiler Driver 2.2
   10843       lt_prog_compiler_wl='-Xlinker '
   10844       if test -n "$lt_prog_compiler_pic"; then
   10845         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   10846       fi
   10847       ;;
   10848     esac
   10849   else
   10850     # PORTME Check for flag to pass linker flags through the system compiler.
   10851     case $host_os in
   10852     aix*)
   10853       lt_prog_compiler_wl='-Wl,'
   10854       if test ia64 = "$host_cpu"; then
   10855 	# AIX 5 now supports IA64 processor
   10856 	lt_prog_compiler_static='-Bstatic'
   10857       else
   10858 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.expsym'
   10859       fi
   10860       ;;
   10861 
   10862     darwin* | rhapsody*)
   10863       # PIC is the default on this platform
   10864       # Common symbols not allowed in MH_DYLIB files
   10865       lt_prog_compiler_pic='-fno-common'
   10866       case $cc_basename in
   10867       nagfor*)
   10868         # NAG Fortran compiler
   10869         lt_prog_compiler_wl='-Wl,-Wl,,'
   10870         lt_prog_compiler_pic='-PIC'
   10871         lt_prog_compiler_static='-Bstatic'
   10872         ;;
   10873       esac
   10874       ;;
   10875 
   10876     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   10877       # This hack is so that the source file can tell whether it is being
   10878       # built for inclusion in a dll (and should export symbols for example).
   10879       lt_prog_compiler_pic='-DDLL_EXPORT'
   10880       case $host_os in
   10881       os2*)
   10882 	lt_prog_compiler_static='$wl-static'
   10883 	;;
   10884       esac
   10885       ;;
   10886 
   10887     hpux9* | hpux10* | hpux11*)
   10888       lt_prog_compiler_wl='-Wl,'
   10889       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   10890       # not for PA HP-UX.
   10891       case $host_cpu in
   10892       hppa*64*|ia64*)
   10893 	# +Z the default
   10894 	;;
   10895       *)
   10896 	lt_prog_compiler_pic='+Z'
   10897 	;;
   10898       esac
   10899       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   10900       lt_prog_compiler_static='$wl-a ${wl}archive'
   10901       ;;
   10902 
   10903     irix5* | irix6* | nonstopux*)
   10904       lt_prog_compiler_wl='-Wl,'
   10905       # PIC (with -KPIC) is the default.
   10906       lt_prog_compiler_static='-non_shared'
   10907       ;;
   10908 
   10909     *-mlibc)
   10910       lt_prog_compiler_wl='-Wl,'
   10911       lt_prog_compiler_pic='-fPIC'
   10912       lt_prog_compiler_static='-static'
   10913       ;;
   10914 
   10915     linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu* | freebsd*)
   10916       case $cc_basename in
   10917       # old Intel for x86_64, which still supported -KPIC.
   10918       ecc*)
   10919 	lt_prog_compiler_wl='-Wl,'
   10920 	lt_prog_compiler_pic='-KPIC'
   10921 	lt_prog_compiler_static='-static'
   10922         ;;
   10923       *flang* | ftn | f18* | f95*)
   10924         # Flang compiler.
   10925 	lt_prog_compiler_wl='-Wl,'
   10926 	lt_prog_compiler_pic='-fPIC'
   10927 	lt_prog_compiler_static='-static'
   10928         ;;
   10929       # icc used to be incompatible with GCC.
   10930       # ICC 10 doesn't accept -KPIC any more.
   10931       icc* | ifort* | icx* | ifx*)
   10932 	lt_prog_compiler_wl='-Wl,'
   10933 	lt_prog_compiler_pic='-fPIC'
   10934 	lt_prog_compiler_static='-static'
   10935         ;;
   10936       # Lahey Fortran 8.1.
   10937       lf95*)
   10938 	lt_prog_compiler_wl='-Wl,'
   10939 	lt_prog_compiler_pic='--shared'
   10940 	lt_prog_compiler_static='--static'
   10941 	;;
   10942       nagfor*)
   10943 	# NAG Fortran compiler
   10944 	lt_prog_compiler_wl='-Wl,-Wl,,'
   10945 	lt_prog_compiler_pic='-PIC'
   10946 	lt_prog_compiler_static='-Bstatic'
   10947 	;;
   10948       tcc*)
   10949 	# Fabrice Bellard et al's Tiny C Compiler
   10950 	lt_prog_compiler_wl='-Wl,'
   10951 	lt_prog_compiler_pic='-fPIC'
   10952 	lt_prog_compiler_static='-static'
   10953 	;;
   10954       slimcc*)
   10955 	# Hsiang-Ying Fu and Jim Huang's x86_64 SlimCC compiler
   10956 	lt_prog_compiler_wl='-Wl,'
   10957 	lt_prog_compiler_pic='-fPIC'
   10958 	lt_prog_compiler_static='-static'
   10959 	;;
   10960       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   10961         # Portland Group compilers (*not* the Pentium gcc compiler,
   10962 	# which looks to be a dead project)
   10963 	lt_prog_compiler_wl='-Wl,'
   10964 	lt_prog_compiler_pic='-fpic'
   10965 	lt_prog_compiler_static='-Bstatic'
   10966         ;;
   10967       ccc*)
   10968         lt_prog_compiler_wl='-Wl,'
   10969         # All Alpha code is PIC.
   10970         lt_prog_compiler_static='-non_shared'
   10971         ;;
   10972       xl* | bgxl* | bgf* | mpixl*)
   10973 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   10974 	lt_prog_compiler_wl='-Wl,'
   10975 	lt_prog_compiler_pic='-qpic'
   10976 	lt_prog_compiler_static='-qstaticlink'
   10977 	;;
   10978       *)
   10979 	case `$CC -V 2>&1 | $SED 5q` in
   10980 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   10981 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   10982 	  lt_prog_compiler_pic='-KPIC'
   10983 	  lt_prog_compiler_static='-Bstatic'
   10984 	  lt_prog_compiler_wl=''
   10985 	  ;;
   10986 	*Sun\ F* | *Sun*Fortran*)
   10987 	  lt_prog_compiler_pic='-KPIC'
   10988 	  lt_prog_compiler_static='-Bstatic'
   10989 	  lt_prog_compiler_wl='-Qoption ld '
   10990 	  ;;
   10991 	*Sun\ C*)
   10992 	  # Sun C 5.9
   10993 	  lt_prog_compiler_pic='-KPIC'
   10994 	  lt_prog_compiler_static='-Bstatic'
   10995 	  lt_prog_compiler_wl='-Wl,'
   10996 	  ;;
   10997         *Intel*\ [CF]*Compiler*)
   10998 	  lt_prog_compiler_wl='-Wl,'
   10999 	  lt_prog_compiler_pic='-fPIC'
   11000 	  lt_prog_compiler_static='-static'
   11001 	  ;;
   11002 	*Portland\ Group*)
   11003 	  lt_prog_compiler_wl='-Wl,'
   11004 	  lt_prog_compiler_pic='-fpic'
   11005 	  lt_prog_compiler_static='-Bstatic'
   11006 	  ;;
   11007 	esac
   11008 	;;
   11009       esac
   11010       ;;
   11011 
   11012     newsos6)
   11013       lt_prog_compiler_pic='-KPIC'
   11014       lt_prog_compiler_static='-Bstatic'
   11015       ;;
   11016 
   11017     *nto* | *qnx*)
   11018       # QNX uses GNU C++, but need to define -shared option too, otherwise
   11019       # it will coredump.
   11020       lt_prog_compiler_pic='-fPIC -shared'
   11021       ;;
   11022 
   11023     osf3* | osf4* | osf5*)
   11024       lt_prog_compiler_wl='-Wl,'
   11025       # All OSF/1 code is PIC.
   11026       lt_prog_compiler_static='-non_shared'
   11027       ;;
   11028 
   11029     rdos*)
   11030       lt_prog_compiler_static='-non_shared'
   11031       ;;
   11032 
   11033     serenity*)
   11034       ;;
   11035 
   11036     solaris*)
   11037       lt_prog_compiler_pic='-KPIC'
   11038       lt_prog_compiler_static='-Bstatic'
   11039       case $cc_basename in
   11040       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   11041 	lt_prog_compiler_wl='-Qoption ld ';;
   11042       *)
   11043 	lt_prog_compiler_wl='-Wl,';;
   11044       esac
   11045       ;;
   11046 
   11047     sunos4*)
   11048       lt_prog_compiler_wl='-Qoption ld '
   11049       lt_prog_compiler_pic='-PIC'
   11050       lt_prog_compiler_static='-Bstatic'
   11051       ;;
   11052 
   11053     sysv4 | sysv4.2uw2* | sysv4.3*)
   11054       lt_prog_compiler_wl='-Wl,'
   11055       lt_prog_compiler_pic='-KPIC'
   11056       lt_prog_compiler_static='-Bstatic'
   11057       ;;
   11058 
   11059     sysv4*MP*)
   11060       if test -d /usr/nec; then
   11061 	lt_prog_compiler_pic='-Kconform_pic'
   11062 	lt_prog_compiler_static='-Bstatic'
   11063       fi
   11064       ;;
   11065 
   11066     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   11067       lt_prog_compiler_wl='-Wl,'
   11068       lt_prog_compiler_pic='-KPIC'
   11069       lt_prog_compiler_static='-Bstatic'
   11070       ;;
   11071 
   11072     unicos*)
   11073       lt_prog_compiler_wl='-Wl,'
   11074       lt_prog_compiler_can_build_shared=no
   11075       ;;
   11076 
   11077     uts4*)
   11078       lt_prog_compiler_pic='-pic'
   11079       lt_prog_compiler_static='-Bstatic'
   11080       ;;
   11081 
   11082     *)
   11083       lt_prog_compiler_can_build_shared=no
   11084       ;;
   11085     esac
   11086   fi
   11087 
   11088 case $host_os in
   11089   # For platforms that do not support PIC, -DPIC is meaningless:
   11090   *djgpp*)
   11091     lt_prog_compiler_pic=
   11092     ;;
   11093   *)
   11094     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   11095     ;;
   11096 esac
   11097 
   11098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   11099 printf %s "checking for $compiler option to produce PIC... " >&6; }
   11100 if test ${lt_cv_prog_compiler_pic+y}
   11101 then :
   11102   printf %s "(cached) " >&6
   11103 else case e in #(
   11104   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   11105 esac
   11106 fi
   11107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   11108 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   11109 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   11110 
   11111 #
   11112 # Check to make sure the PIC flag actually works.
   11113 #
   11114 if test -n "$lt_prog_compiler_pic"; then
   11115   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   11116 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   11117 if test ${lt_cv_prog_compiler_pic_works+y}
   11118 then :
   11119   printf %s "(cached) " >&6
   11120 else case e in #(
   11121   e) lt_cv_prog_compiler_pic_works=no
   11122    ac_outfile=conftest.$ac_objext
   11123    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11124    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   11125    # Insert the option either (1) after the last *FLAGS variable, or
   11126    # (2) before a word containing "conftest.", or (3) at the end.
   11127    # Note that $ac_compile itself does not contain backslashes and begins
   11128    # with a dollar sign (not a hyphen), so the echo should work correctly.
   11129    # The option is referenced via a variable to avoid confusing sed.
   11130    lt_compile=`echo "$ac_compile" | $SED \
   11131    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   11132    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   11133    -e 's:$: $lt_compiler_flag:'`
   11134    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   11135    (eval "$lt_compile" 2>conftest.err)
   11136    ac_status=$?
   11137    cat conftest.err >&5
   11138    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11139    if (exit $ac_status) && test -s "$ac_outfile"; then
   11140      # The compiler can only warn and ignore the option if not recognized
   11141      # So say no if there are warnings other than the usual output.
   11142      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.expsym
   11143      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11144      if test ! -s conftest.er2 || diff conftest.expsym conftest.er2 >/dev/null; then
   11145        lt_cv_prog_compiler_pic_works=yes
   11146      fi
   11147    fi
   11148    $RM conftest*
   11149  ;;
   11150 esac
   11151 fi
   11152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   11153 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   11154 
   11155 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   11156     case $lt_prog_compiler_pic in
   11157      "" | " "*) ;;
   11158      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   11159      esac
   11160 else
   11161     lt_prog_compiler_pic=
   11162      lt_prog_compiler_can_build_shared=no
   11163 fi
   11164 
   11165 fi
   11166 
   11167 
   11168 
   11169 
   11170 
   11171 
   11172 
   11173 
   11174 
   11175 
   11176 
   11177 #
   11178 # Check to make sure the static flag actually works.
   11179 #
   11180 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   11181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   11182 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   11183 if test ${lt_cv_prog_compiler_static_works+y}
   11184 then :
   11185   printf %s "(cached) " >&6
   11186 else case e in #(
   11187   e) lt_cv_prog_compiler_static_works=no
   11188    save_LDFLAGS=$LDFLAGS
   11189    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   11190    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   11191    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11192      # The linker can only warn and ignore the option if not recognized
   11193      # So say no if there are warnings
   11194      if test -s conftest.err; then
   11195        # Append any errors to the config.log.
   11196        cat conftest.err 1>&5
   11197        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.expsym
   11198        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11199        if diff conftest.expsym conftest.er2 >/dev/null; then
   11200          lt_cv_prog_compiler_static_works=yes
   11201        fi
   11202      else
   11203        lt_cv_prog_compiler_static_works=yes
   11204      fi
   11205    fi
   11206    $RM -r conftest*
   11207    LDFLAGS=$save_LDFLAGS
   11208  ;;
   11209 esac
   11210 fi
   11211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   11212 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   11213 
   11214 if test yes = "$lt_cv_prog_compiler_static_works"; then
   11215     :
   11216 else
   11217     lt_prog_compiler_static=
   11218 fi
   11219 
   11220 
   11221 
   11222 
   11223 
   11224 
   11225 
   11226   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   11227 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   11228 if test ${lt_cv_prog_compiler_c_o+y}
   11229 then :
   11230   printf %s "(cached) " >&6
   11231 else case e in #(
   11232   e) lt_cv_prog_compiler_c_o=no
   11233    $RM -r conftest 2>/dev/null
   11234    mkdir conftest
   11235    cd conftest
   11236    mkdir out
   11237    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11238 
   11239    lt_compiler_flag="-o out/conftest2.$ac_objext"
   11240    # Insert the option either (1) after the last *FLAGS variable, or
   11241    # (2) before a word containing "conftest.", or (3) at the end.
   11242    # Note that $ac_compile itself does not contain backslashes and begins
   11243    # with a dollar sign (not a hyphen), so the echo should work correctly.
   11244    lt_compile=`echo "$ac_compile" | $SED \
   11245    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   11246    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   11247    -e 's:$: $lt_compiler_flag:'`
   11248    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   11249    (eval "$lt_compile" 2>out/conftest.err)
   11250    ac_status=$?
   11251    cat out/conftest.err >&5
   11252    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11253    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   11254    then
   11255      # The compiler can only warn and ignore the option if not recognized
   11256      # So say no if there are warnings
   11257      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.expsym
   11258      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   11259      if test ! -s out/conftest.er2 || diff out/conftest.expsym out/conftest.er2 >/dev/null; then
   11260        lt_cv_prog_compiler_c_o=yes
   11261      fi
   11262    fi
   11263    chmod u+w . 2>&5
   11264    $RM conftest*
   11265    # SGI C++ compiler will create directory out/ii_files/ for
   11266    # template instantiation
   11267    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   11268    $RM out/* && rmdir out
   11269    cd ..
   11270    $RM -r conftest
   11271    $RM conftest*
   11272  ;;
   11273 esac
   11274 fi
   11275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   11276 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   11277 
   11278 
   11279 
   11280 
   11281 
   11282 
   11283   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   11284 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   11285 if test ${lt_cv_prog_compiler_c_o+y}
   11286 then :
   11287   printf %s "(cached) " >&6
   11288 else case e in #(
   11289   e) lt_cv_prog_compiler_c_o=no
   11290    $RM -r conftest 2>/dev/null
   11291    mkdir conftest
   11292    cd conftest
   11293    mkdir out
   11294    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11295 
   11296    lt_compiler_flag="-o out/conftest2.$ac_objext"
   11297    # Insert the option either (1) after the last *FLAGS variable, or
   11298    # (2) before a word containing "conftest.", or (3) at the end.
   11299    # Note that $ac_compile itself does not contain backslashes and begins
   11300    # with a dollar sign (not a hyphen), so the echo should work correctly.
   11301    lt_compile=`echo "$ac_compile" | $SED \
   11302    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   11303    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   11304    -e 's:$: $lt_compiler_flag:'`
   11305    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   11306    (eval "$lt_compile" 2>out/conftest.err)
   11307    ac_status=$?
   11308    cat out/conftest.err >&5
   11309    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11310    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   11311    then
   11312      # The compiler can only warn and ignore the option if not recognized
   11313      # So say no if there are warnings
   11314      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.expsym
   11315      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   11316      if test ! -s out/conftest.er2 || diff out/conftest.expsym out/conftest.er2 >/dev/null; then
   11317        lt_cv_prog_compiler_c_o=yes
   11318      fi
   11319    fi
   11320    chmod u+w . 2>&5
   11321    $RM conftest*
   11322    # SGI C++ compiler will create directory out/ii_files/ for
   11323    # template instantiation
   11324    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   11325    $RM out/* && rmdir out
   11326    cd ..
   11327    $RM -r conftest
   11328    $RM conftest*
   11329  ;;
   11330 esac
   11331 fi
   11332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   11333 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   11334 
   11335 
   11336 
   11337 
   11338 hard_links=nottested
   11339 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   11340   # do not overwrite the value of need_locks provided by the user
   11341   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   11342 printf %s "checking if we can lock with hard links... " >&6; }
   11343   hard_links=yes
   11344   $RM conftest*
   11345   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   11346   touch conftest.a
   11347   ln conftest.a conftest.b 2>&5 || hard_links=no
   11348   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   11349   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   11350 printf "%s\n" "$hard_links" >&6; }
   11351   if test no = "$hard_links"; then
   11352     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   11353 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   11354     need_locks=warn
   11355   fi
   11356 else
   11357   need_locks=no
   11358 fi
   11359 
   11360 
   11361 
   11362 
   11363 
   11364 
   11365   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11366 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11367 
   11368   runpath_var=
   11369   allow_undefined_flag=
   11370   always_export_symbols=no
   11371   archive_cmds=
   11372   archive_expsym_cmds=
   11373   compiler_needs_object=no
   11374   enable_shared_with_static_runtimes=no
   11375   export_dynamic_flag_spec=
   11376   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   11377   hardcode_automatic=no
   11378   hardcode_direct=no
   11379   hardcode_direct_absolute=no
   11380   hardcode_libdir_flag_spec=
   11381   hardcode_libdir_separator=
   11382   hardcode_minus_L=no
   11383   hardcode_shlibpath_var=unsupported
   11384   inherit_rpath=no
   11385   link_all_deplibs=unknown
   11386   module_cmds=
   11387   module_expsym_cmds=
   11388   old_archive_from_new_cmds=
   11389   old_archive_from_expsyms_cmds=
   11390   thread_safe_flag_spec=
   11391   whole_archive_flag_spec=
   11392   # include_expsyms should be a list of space-separated symbols to be *always*
   11393   # included in the symbol list
   11394   include_expsyms=
   11395   # exclude_expsyms can be an extended regexp of symbols to exclude
   11396   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   11397   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   11398   # as well as any symbol that contains 'd'.
   11399   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   11400   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   11401   # platforms (ab)use it in PIC code, but their linkers get confused if
   11402   # the symbol is explicitly referenced.  Since portable code cannot
   11403   # rely on this symbol name, it's probably fine to never include it in
   11404   # preloaded symbol tables.
   11405   # Exclude shared library initialization/finalization symbols.
   11406   extract_expsyms_cmds=
   11407 
   11408   case $host_os in
   11409   cygwin* | mingw* | windows* | pw32* | cegcc*)
   11410     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   11411     # When not using gcc, we currently assume that we are using
   11412     # Microsoft Visual C++ or Intel C++ Compiler.
   11413     if test yes != "$GCC"; then
   11414       with_gnu_ld=no
   11415     fi
   11416     ;;
   11417   interix*)
   11418     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   11419     with_gnu_ld=yes
   11420     ;;
   11421   esac
   11422 
   11423   ld_shlibs=yes
   11424 
   11425   # On some targets, GNU ld is compatible enough with the native linker
   11426   # that we're better off using the native interface for both.
   11427   lt_use_gnu_ld_interface=no
   11428   if test yes = "$with_gnu_ld"; then
   11429     case $host_os in
   11430       aix*)
   11431 	# The AIX port of GNU ld has always aspired to compatibility
   11432 	# with the native linker.  However, as the warning in the GNU ld
   11433 	# block says, versions before 2.19.5* couldn't really create working
   11434 	# shared libraries, regardless of the interface used.
   11435 	case `$LD -v 2>&1` in
   11436 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   11437 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   11438 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   11439 	  *)
   11440 	    lt_use_gnu_ld_interface=yes
   11441 	    ;;
   11442 	esac
   11443 	;;
   11444       *)
   11445 	lt_use_gnu_ld_interface=yes
   11446 	;;
   11447     esac
   11448   fi
   11449 
   11450   if test yes = "$lt_use_gnu_ld_interface"; then
   11451     # If archive_cmds runs LD, not CC, wlarc should be empty
   11452     wlarc='$wl'
   11453 
   11454     # Set some defaults for GNU ld with shared library support. These
   11455     # are reset later if shared libraries are not supported. Putting them
   11456     # here allows them to be overridden if necessary.
   11457     runpath_var=LD_RUN_PATH
   11458     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11459     export_dynamic_flag_spec='$wl--export-dynamic'
   11460     # ancient GNU ld didn't support --whole-archive et. al.
   11461     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   11462       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   11463     else
   11464       whole_archive_flag_spec=
   11465     fi
   11466     supports_anon_versioning=no
   11467     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   11468       *GNU\ gold*) supports_anon_versioning=yes ;;
   11469       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   11470       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   11471       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   11472       *\ 2.11.*) ;; # other 2.11 versions
   11473       *) supports_anon_versioning=yes ;;
   11474     esac
   11475 
   11476     # See if GNU ld supports shared libraries.
   11477     case $host_os in
   11478     aix[3-9]*)
   11479       # On AIX/PPC, the GNU linker is very broken
   11480       if test ia64 != "$host_cpu"; then
   11481 	ld_shlibs=no
   11482 	cat <<_LT_EOF 1>&2
   11483 
   11484 *** Warning: the GNU linker, at least up to release 2.19, is reported
   11485 *** to be unable to reliably create shared libraries on AIX.
   11486 *** Therefore, libtool is disabling shared libraries support.  If you
   11487 *** really care for shared libraries, you may want to install binutils
   11488 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   11489 *** You will then need to restart the configuration process.
   11490 
   11491 _LT_EOF
   11492       fi
   11493       ;;
   11494 
   11495     amigaos*)
   11496       case $host_cpu in
   11497       powerpc)
   11498             # see comment about AmigaOS4 .so support
   11499             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11500             archive_expsym_cmds=''
   11501         ;;
   11502       m68k)
   11503             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)'
   11504             hardcode_libdir_flag_spec='-L$libdir'
   11505             hardcode_minus_L=yes
   11506         ;;
   11507       esac
   11508       ;;
   11509 
   11510     beos*)
   11511       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11512 	allow_undefined_flag=unsupported
   11513 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11514 	# support --undefined.  This deserves some investigation.  FIXME
   11515 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11516       else
   11517 	ld_shlibs=no
   11518       fi
   11519       ;;
   11520 
   11521     cygwin* | mingw* | windows* | pw32* | cegcc*)
   11522       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   11523       # as there is no search path for DLLs.
   11524       hardcode_libdir_flag_spec='-L$libdir'
   11525       export_dynamic_flag_spec='$wl--export-all-symbols'
   11526       allow_undefined_flag=unsupported
   11527       always_export_symbols=no
   11528       enable_shared_with_static_runtimes=yes
   11529       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'
   11530       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   11531       file_list_spec='@'
   11532 
   11533       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   11534         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   11535 	# If the export-symbols file already is a .def file, use it as
   11536 	# is; otherwise, prepend EXPORTS...
   11537 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   11538           cp $export_symbols $output_objdir/$soname.def;
   11539         else
   11540           echo EXPORTS > $output_objdir/$soname.def;
   11541           cat $export_symbols >> $output_objdir/$soname.def;
   11542         fi~
   11543         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   11544       else
   11545 	ld_shlibs=no
   11546       fi
   11547       ;;
   11548 
   11549     haiku*)
   11550       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11551       link_all_deplibs=no
   11552       ;;
   11553 
   11554     os2*)
   11555       hardcode_libdir_flag_spec='-L$libdir'
   11556       hardcode_minus_L=yes
   11557       allow_undefined_flag=unsupported
   11558       shrext_cmds=.dll
   11559       archive_cmds='echo "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11560 	echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11561 	echo "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11562 	echo EXPORTS >> $output_objdir/$libname.def~
   11563 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11564 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11565 	emximp -o $lib $output_objdir/$libname.def'
   11566       archive_expsym_cmds='echo "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11567 	echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11568 	echo "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11569 	echo EXPORTS >> $output_objdir/$libname.def~
   11570 	prefix_cmds="$SED"~
   11571 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11572 	  prefix_cmds="$prefix_cmds -e 1d";
   11573 	fi~
   11574 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11575 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11576 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11577 	emximp -o $lib $output_objdir/$libname.def'
   11578       enable_shared_with_static_runtimes=yes
   11579       file_list_spec='@'
   11580       ;;
   11581 
   11582     interix[3-9]*)
   11583       hardcode_direct=no
   11584       hardcode_shlibpath_var=no
   11585       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11586       export_dynamic_flag_spec='$wl-E'
   11587       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11588       # Instead, shared libraries are loaded at an image base (0x10000000 by
   11589       # default) and relocated if they conflict, which is a slow very memory
   11590       # consuming and fragmenting process.  To avoid this, we pick a random,
   11591       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11592       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11593       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   11594       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'
   11595       ;;
   11596 
   11597     *-mlibc)
   11598 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11599 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11600       ;;
   11601 
   11602     gnu* | linux* | tpf* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu)
   11603       tmp_diet=no
   11604       if test linux-dietlibc = "$host_os"; then
   11605 	case $cc_basename in
   11606 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   11607 	esac
   11608       fi
   11609       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   11610 	 && test no = "$tmp_diet"
   11611       then
   11612 	tmp_addflag=' $pic_flag'
   11613 	tmp_sharedflag='-shared'
   11614 	case $cc_basename,$host_cpu in
   11615         pgcc*)				# Portland Group C compiler
   11616 	  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'
   11617 	  tmp_addflag=' $pic_flag'
   11618 	  ;;
   11619 	pgf77* | pgf90* | pgf95* | pgfortran*)
   11620 					# Portland Group f77 and f90 compilers
   11621 	  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'
   11622 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   11623 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   11624 	  tmp_addflag=' -i_dynamic' ;;
   11625 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   11626 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   11627 	ifc* | ifort* | ifx*)		# Intel Fortran compiler
   11628 	  tmp_addflag=' -nofor_main' ;;
   11629 	lf95*)				# Lahey Fortran 8.1
   11630 	  whole_archive_flag_spec=
   11631 	  tmp_sharedflag='--shared' ;;
   11632         nagfor*)                        # NAGFOR 5.3
   11633           tmp_sharedflag='-Wl,-shared' ;;
   11634 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   11635 	  tmp_sharedflag='-qmkshrobj'
   11636 	  tmp_addflag= ;;
   11637 	nvcc*)	# Cuda Compiler Driver 2.2
   11638 	  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'
   11639 	  compiler_needs_object=yes
   11640 	  ;;
   11641 	esac
   11642 	case `$CC -V 2>&1 | $SED 5q` in
   11643 	*Sun\ C*)			# Sun C 5.9
   11644 	  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'
   11645 	  compiler_needs_object=yes
   11646 	  tmp_sharedflag='-G' ;;
   11647 	*Sun\ F*)			# Sun Fortran 8.3
   11648 	  tmp_sharedflag='-G' ;;
   11649 	esac
   11650 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11651 
   11652         if test yes = "$supports_anon_versioning"; then
   11653           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   11654             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   11655             echo "local: *; };" >> $output_objdir/$libname.ver~
   11656             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   11657         fi
   11658 
   11659 	case $cc_basename in
   11660 	tcc*)
   11661 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11662 	  export_dynamic_flag_spec='-rdynamic'
   11663 	  ;;
   11664 	xlf* | bgf* | bgxlf* | mpixlf*)
   11665 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   11666 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   11667 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11668 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   11669 	  if test yes = "$supports_anon_versioning"; then
   11670 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   11671               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   11672               echo "local: *; };" >> $output_objdir/$libname.ver~
   11673               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   11674 	  fi
   11675 	  ;;
   11676 	esac
   11677       else
   11678         ld_shlibs=no
   11679       fi
   11680       ;;
   11681 
   11682     netbsd* | netbsdelf*-gnu)
   11683       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11684 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   11685 	wlarc=
   11686       else
   11687 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11688 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11689       fi
   11690       ;;
   11691 
   11692     solaris*)
   11693       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   11694 	ld_shlibs=no
   11695 	cat <<_LT_EOF 1>&2
   11696 
   11697 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   11698 *** create shared libraries on Solaris systems.  Therefore, libtool
   11699 *** is disabling shared libraries support.  We urge you to upgrade GNU
   11700 *** binutils to release 2.9.1 or newer.  Another option is to modify
   11701 *** your PATH or compiler configuration so that the native linker is
   11702 *** used, and then restart.
   11703 
   11704 _LT_EOF
   11705       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11706 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11707 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11708       else
   11709 	ld_shlibs=no
   11710       fi
   11711       ;;
   11712 
   11713     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   11714       case `$LD -v 2>&1` in
   11715         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   11716 	ld_shlibs=no
   11717 	cat <<_LT_EOF 1>&2
   11718 
   11719 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   11720 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   11721 *** is disabling shared libraries support.  We urge you to upgrade GNU
   11722 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   11723 *** your PATH or compiler configuration so that the native linker is
   11724 *** used, and then restart.
   11725 
   11726 _LT_EOF
   11727 	;;
   11728 	*)
   11729 	  # For security reasons, it is highly recommended that you always
   11730 	  # use absolute paths for naming shared libraries, and exclude the
   11731 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   11732 	  # requires that you compile everything twice, which is a pain.
   11733 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11734 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11735 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11736 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11737 	  else
   11738 	    ld_shlibs=no
   11739 	  fi
   11740 	;;
   11741       esac
   11742       ;;
   11743 
   11744     sunos4*)
   11745       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11746       wlarc=
   11747       hardcode_direct=yes
   11748       hardcode_shlibpath_var=no
   11749       ;;
   11750 
   11751     *)
   11752       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11753 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11754 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11755       else
   11756 	ld_shlibs=no
   11757       fi
   11758       ;;
   11759     esac
   11760 
   11761     if test no = "$ld_shlibs"; then
   11762       runpath_var=
   11763       hardcode_libdir_flag_spec=
   11764       export_dynamic_flag_spec=
   11765       whole_archive_flag_spec=
   11766     fi
   11767   else
   11768     # PORTME fill in a description of your system's linker (not GNU ld)
   11769     case $host_os in
   11770     aix3*)
   11771       allow_undefined_flag=unsupported
   11772       always_export_symbols=yes
   11773       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'
   11774       # Note: this linker hardcodes the directories in LIBPATH if there
   11775       # are no directories specified by -L.
   11776       hardcode_minus_L=yes
   11777       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   11778 	# Neither direct hardcoding nor static linking is supported with a
   11779 	# broken collect2.
   11780 	hardcode_direct=unsupported
   11781       fi
   11782       ;;
   11783 
   11784     aix[4-9]*)
   11785       if test ia64 = "$host_cpu"; then
   11786 	# On IA64, the linker does run time linking by default, so we don't
   11787 	# have to do anything special.
   11788 	aix_use_runtimelinking=no
   11789 	exp_sym_flag='-Bexport'
   11790 	no_entry_flag=
   11791       else
   11792 	# If we're using GNU nm, then we don't want the "-C" option.
   11793 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   11794 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   11795 	# weak defined symbols like other global defined symbols, whereas
   11796 	# GNU nm marks them as "W".
   11797 	# While the 'weak' keyword is ignored in the Export File, we need
   11798 	# it in the Import File for the 'aix-soname' feature, so we have
   11799 	# to replace the "-B" option with "-P" for AIX nm.
   11800 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   11801 	  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'
   11802 	else
   11803 	  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'
   11804 	fi
   11805 	aix_use_runtimelinking=no
   11806 
   11807 	# Test if we are trying to use run time linking or normal
   11808 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11809 	# have runtime linking enabled, and use it for executables.
   11810 	# For shared libraries, we enable/disable runtime linking
   11811 	# depending on the kind of the shared library created -
   11812 	# when "with_aix_soname,aix_use_runtimelinking" is:
   11813 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   11814 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   11815 	#            lib.a           static archive
   11816 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   11817 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   11818 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   11819 	#            lib.a(lib.so.V) shared, rtl:no
   11820 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   11821 	#            lib.a           static archive
   11822 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11823 	  for ld_flag in $LDFLAGS; do
   11824 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   11825 	    aix_use_runtimelinking=yes
   11826 	    break
   11827 	  fi
   11828 	  done
   11829 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   11830 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   11831 	    # so we don't have lib.a shared libs to link our executables.
   11832 	    # We have to force runtime linking in this case.
   11833 	    aix_use_runtimelinking=yes
   11834 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   11835 	  fi
   11836 	  ;;
   11837 	esac
   11838 
   11839 	exp_sym_flag='-bexport'
   11840 	no_entry_flag='-bnoentry'
   11841       fi
   11842 
   11843       # When large executables or shared objects are built, AIX ld can
   11844       # have problems creating the table of contents.  If linking a library
   11845       # or program results in "error TOC overflow" add -mminimal-toc to
   11846       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11847       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11848 
   11849       archive_cmds=''
   11850       hardcode_direct=yes
   11851       hardcode_direct_absolute=yes
   11852       hardcode_libdir_separator=':'
   11853       link_all_deplibs=yes
   11854       file_list_spec='$wl-f,'
   11855       case $with_aix_soname,$aix_use_runtimelinking in
   11856       aix,*) ;; # traditional, no import file
   11857       svr4,* | *,yes) # use import file
   11858 	# The Import File defines what to hardcode.
   11859 	hardcode_direct=no
   11860 	hardcode_direct_absolute=no
   11861 	;;
   11862       esac
   11863 
   11864       if test yes = "$GCC"; then
   11865 	case $host_os in aix4.[012]|aix4.[012].*)
   11866 	# We only want to do this on AIX 4.2 and lower, the check
   11867 	# below for broken collect2 doesn't work under 4.3+
   11868 	  collect2name=`$CC -print-prog-name=collect2`
   11869 	  if test -f "$collect2name" &&
   11870 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   11871 	  then
   11872 	  # We have reworked collect2
   11873 	  :
   11874 	  else
   11875 	  # We have old collect2
   11876 	  hardcode_direct=unsupported
   11877 	  # It fails to find uninstalled libraries when the uninstalled
   11878 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11879 	  # to unsupported forces relinking
   11880 	  hardcode_minus_L=yes
   11881 	  hardcode_libdir_flag_spec='-L$libdir'
   11882 	  hardcode_libdir_separator=
   11883 	  fi
   11884 	  ;;
   11885 	esac
   11886 	shared_flag='-shared'
   11887 	if test yes = "$aix_use_runtimelinking"; then
   11888 	  shared_flag="$shared_flag "'$wl-G'
   11889 	fi
   11890 	# Need to ensure runtime linking is disabled for the traditional
   11891 	# shared library, or the linker may eventually find shared libraries
   11892 	# /with/ Import File - we do not want to mix them.
   11893 	shared_flag_aix='-shared'
   11894 	shared_flag_svr4='-shared $wl-G'
   11895       else
   11896 	# not using gcc
   11897 	if test ia64 = "$host_cpu"; then
   11898 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11899 	# chokes on -Wl,-G. The following line is correct:
   11900 	  shared_flag='-G'
   11901 	else
   11902 	  if test yes = "$aix_use_runtimelinking"; then
   11903 	    shared_flag='$wl-G'
   11904 	  else
   11905 	    shared_flag='$wl-bM:SRE'
   11906 	  fi
   11907 	  shared_flag_aix='$wl-bM:SRE'
   11908 	  shared_flag_svr4='$wl-G'
   11909 	fi
   11910       fi
   11911 
   11912       export_dynamic_flag_spec='$wl-bexpall'
   11913       # It seems that -bexpall does not export symbols beginning with
   11914       # underscore (_), so it is better to generate a list of symbols to export.
   11915       always_export_symbols=yes
   11916       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   11917 	# Warning - without using the other runtime loading flags (-brtl),
   11918 	# -berok will link without error, but may produce a broken library.
   11919 	allow_undefined_flag='-berok'
   11920         # Determine the default libpath from the value encoded in an
   11921         # empty executable.
   11922         if test set = "${lt_cv_aix_libpath+set}"; then
   11923   aix_libpath=$lt_cv_aix_libpath
   11924 else
   11925   if test ${lt_cv_aix_libpath_+y}
   11926 then :
   11927   printf %s "(cached) " >&6
   11928 else case e in #(
   11929   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11930 /* end confdefs.h.  */
   11931 
   11932 int
   11933 main (void)
   11934 {
   11935 
   11936   ;
   11937   return 0;
   11938 }
   11939 _ACEOF
   11940 if ac_fn_c_try_link "$LINENO"
   11941 then :
   11942 
   11943   lt_aix_libpath_sed='
   11944       /Import File Strings/,/^$/ {
   11945 	  /^0/ {
   11946 	      s/^0  *\([^ ]*\) *$/\1/
   11947 	      p
   11948 	  }
   11949       }'
   11950   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11951   # Check for a 64-bit object if we didn't find anything.
   11952   if test -z "$lt_cv_aix_libpath_"; then
   11953     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11954   fi
   11955 fi
   11956 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11957     conftest$ac_exeext conftest.$ac_ext
   11958   if test -z "$lt_cv_aix_libpath_"; then
   11959     lt_cv_aix_libpath_=/usr/lib:/lib
   11960   fi
   11961    ;;
   11962 esac
   11963 fi
   11964 
   11965   aix_libpath=$lt_cv_aix_libpath_
   11966 fi
   11967 
   11968         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   11969         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
   11970       else
   11971 	if test ia64 = "$host_cpu"; then
   11972 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   11973 	  allow_undefined_flag="-z nodefs"
   11974 	  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"
   11975 	else
   11976 	 # Determine the default libpath from the value encoded in an
   11977 	 # empty executable.
   11978 	 if test set = "${lt_cv_aix_libpath+set}"; then
   11979   aix_libpath=$lt_cv_aix_libpath
   11980 else
   11981   if test ${lt_cv_aix_libpath_+y}
   11982 then :
   11983   printf %s "(cached) " >&6
   11984 else case e in #(
   11985   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11986 /* end confdefs.h.  */
   11987 
   11988 int
   11989 main (void)
   11990 {
   11991 
   11992   ;
   11993   return 0;
   11994 }
   11995 _ACEOF
   11996 if ac_fn_c_try_link "$LINENO"
   11997 then :
   11998 
   11999   lt_aix_libpath_sed='
   12000       /Import File Strings/,/^$/ {
   12001 	  /^0/ {
   12002 	      s/^0  *\([^ ]*\) *$/\1/
   12003 	      p
   12004 	  }
   12005       }'
   12006   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12007   # Check for a 64-bit object if we didn't find anything.
   12008   if test -z "$lt_cv_aix_libpath_"; then
   12009     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12010   fi
   12011 fi
   12012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12013     conftest$ac_exeext conftest.$ac_ext
   12014   if test -z "$lt_cv_aix_libpath_"; then
   12015     lt_cv_aix_libpath_=/usr/lib:/lib
   12016   fi
   12017    ;;
   12018 esac
   12019 fi
   12020 
   12021   aix_libpath=$lt_cv_aix_libpath_
   12022 fi
   12023 
   12024 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   12025 	  # Warning - without using the other run time loading flags,
   12026 	  # -berok will link without error, but may produce a broken library.
   12027 	  no_undefined_flag=' $wl-bernotok'
   12028 	  allow_undefined_flag=' $wl-berok'
   12029 	  if test yes = "$with_gnu_ld"; then
   12030 	    # We only use this code for GNU lds that support --whole-archive.
   12031 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   12032 	  else
   12033 	    # Exported symbols can be pulled into shared objects from archives
   12034 	    whole_archive_flag_spec='$convenience'
   12035 	  fi
   12036 	  archive_cmds_need_lc=yes
   12037 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   12038 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   12039 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   12040 	  if test svr4 != "$with_aix_soname"; then
   12041 	    # This is similar to how AIX traditionally builds its shared libraries.
   12042 	    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'
   12043 	  fi
   12044 	  if test aix != "$with_aix_soname"; then
   12045 	    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'
   12046 	  else
   12047 	    # used by -dlpreopen to get the symbols
   12048 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   12049 	  fi
   12050 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   12051 	fi
   12052       fi
   12053       ;;
   12054 
   12055     amigaos*)
   12056       case $host_cpu in
   12057       powerpc)
   12058             # see comment about AmigaOS4 .so support
   12059             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   12060             archive_expsym_cmds=''
   12061         ;;
   12062       m68k)
   12063             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)'
   12064             hardcode_libdir_flag_spec='-L$libdir'
   12065             hardcode_minus_L=yes
   12066         ;;
   12067       esac
   12068       ;;
   12069 
   12070     bsdi[45]*)
   12071       export_dynamic_flag_spec=-rdynamic
   12072       ;;
   12073 
   12074     cygwin* | mingw* | windows* | pw32* | cegcc*)
   12075       # When not using gcc, we currently assume that we are using
   12076       # Microsoft Visual C++ or Intel C++ Compiler.
   12077       # hardcode_libdir_flag_spec is actually meaningless, as there is
   12078       # no search path for DLLs.
   12079       case $cc_basename in
   12080       cl* | icl* | icx* | icpx*)
   12081 	# Native MSVC and Intel compilers
   12082 	hardcode_libdir_flag_spec=' '
   12083 	allow_undefined_flag=unsupported
   12084 	always_export_symbols=yes
   12085 	file_list_spec='@'
   12086 	# Tell ltmain to make .lib files, not .a files.
   12087 	libext=lib
   12088 	# Tell ltmain to make .dll files, not .so files.
   12089 	shrext_cmds=.dll
   12090 	# FIXME: Setting linknames here is a bad hack.
   12091 	# A check exists to verify if there are linker flags, which will use
   12092 	# different commands when linking.
   12093 	archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   12094 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   12095             cp "$export_symbols" "$output_objdir/$soname.def";
   12096             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.expsym";
   12097           else
   12098             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.expsym;
   12099           fi~
   12100           if test -z "$linker_flags"; then
   12101              $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.expsym" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib";
   12102           else
   12103              $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";
   12104           fi~
   12105           linknames='
   12106 	# The linker will not automatically build a static lib if we build a DLL.
   12107 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   12108 	enable_shared_with_static_runtimes=yes
   12109 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   12110 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   12111 	# Don't use ranlib
   12112 	old_postinstall_cmds='chmod 644 $oldlib'
   12113 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   12114           lt_tool_outputfile="@TOOL_OUTPUT@"~
   12115           case $lt_outputfile in
   12116             *.exe|*.EXE) ;;
   12117             *)
   12118               lt_outputfile=$lt_outputfile.exe
   12119               lt_tool_outputfile=$lt_tool_outputfile.exe
   12120               ;;
   12121           esac~
   12122           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   12123             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   12124             $RM "$lt_outputfile.manifest";
   12125           fi'
   12126 	;;
   12127       *)
   12128 	# Assume MSVC and ICC wrapper
   12129 	hardcode_libdir_flag_spec=' '
   12130 	allow_undefined_flag=unsupported
   12131 	# Tell ltmain to make .lib files, not .a files.
   12132 	libext=lib
   12133 	# Tell ltmain to make .dll files, not .so files.
   12134 	shrext_cmds=.dll
   12135 	# FIXME: Setting linknames here is a bad hack.
   12136 	archive_cmds='$CC -Fe$lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   12137 	# The linker will automatically build a .lib file if we build a DLL.
   12138 	old_archive_from_new_cmds='true'
   12139 	# FIXME: Should let the user specify the lib program.
   12140 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   12141 	enable_shared_with_static_runtimes=yes
   12142 	;;
   12143       esac
   12144       ;;
   12145 
   12146     darwin* | rhapsody*)
   12147 
   12148 
   12149   archive_cmds_need_lc=no
   12150   hardcode_direct=no
   12151   hardcode_automatic=yes
   12152   hardcode_shlibpath_var=unsupported
   12153   if test yes = "$lt_cv_ld_force_load"; then
   12154     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\"`'
   12155 
   12156   else
   12157     whole_archive_flag_spec=''
   12158   fi
   12159   link_all_deplibs=yes
   12160   allow_undefined_flag=$_lt_dar_allow_undefined
   12161   case $cc_basename in
   12162      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   12163      *) _lt_dar_can_shared=$GCC ;;
   12164   esac
   12165   if test yes = "$_lt_dar_can_shared"; then
   12166     output_verbose_link_cmd=func_echo_all
   12167     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   12168     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   12169     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"
   12170     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"
   12171 
   12172   else
   12173   ld_shlibs=no
   12174   fi
   12175 
   12176       ;;
   12177 
   12178     dgux*)
   12179       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12180       hardcode_libdir_flag_spec='-L$libdir'
   12181       hardcode_shlibpath_var=no
   12182       ;;
   12183 
   12184     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   12185     # support.  Future versions do this automatically, but an explicit c++rt0.o
   12186     # does not break anything, and helps significantly (at the cost of a little
   12187     # extra space).
   12188     freebsd2.2*)
   12189       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   12190       hardcode_libdir_flag_spec='-R$libdir'
   12191       hardcode_direct=yes
   12192       hardcode_shlibpath_var=no
   12193       ;;
   12194 
   12195     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   12196     freebsd2.*)
   12197       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   12198       hardcode_direct=yes
   12199       hardcode_minus_L=yes
   12200       hardcode_shlibpath_var=no
   12201       ;;
   12202 
   12203     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   12204     freebsd* | dragonfly* | midnightbsd*)
   12205       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   12206       hardcode_libdir_flag_spec='-R$libdir'
   12207       hardcode_direct=yes
   12208       hardcode_shlibpath_var=no
   12209       ;;
   12210 
   12211     hpux9*)
   12212       if test yes = "$GCC"; then
   12213 	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'
   12214       else
   12215 	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'
   12216       fi
   12217       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   12218       hardcode_libdir_separator=:
   12219       hardcode_direct=yes
   12220 
   12221       # hardcode_minus_L: Not really in the search PATH,
   12222       # but as the default location of the library.
   12223       hardcode_minus_L=yes
   12224       export_dynamic_flag_spec='$wl-E'
   12225       ;;
   12226 
   12227     hpux10*)
   12228       if test yes,no = "$GCC,$with_gnu_ld"; then
   12229 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   12230       else
   12231 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   12232       fi
   12233       if test no = "$with_gnu_ld"; then
   12234 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   12235 	hardcode_libdir_separator=:
   12236 	hardcode_direct=yes
   12237 	hardcode_direct_absolute=yes
   12238 	export_dynamic_flag_spec='$wl-E'
   12239 	# hardcode_minus_L: Not really in the search PATH,
   12240 	# but as the default location of the library.
   12241 	hardcode_minus_L=yes
   12242       fi
   12243       ;;
   12244 
   12245     hpux11*)
   12246       if test yes,no = "$GCC,$with_gnu_ld"; then
   12247 	case $host_cpu in
   12248 	hppa*64*)
   12249 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   12250 	  ;;
   12251 	ia64*)
   12252 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   12253 	  ;;
   12254 	*)
   12255 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   12256 	  ;;
   12257 	esac
   12258       else
   12259 	case $host_cpu in
   12260 	hppa*64*)
   12261 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   12262 	  ;;
   12263 	ia64*)
   12264 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   12265 	  ;;
   12266 	*)
   12267 
   12268 	  # Older versions of the 11.00 compiler do not understand -b yet
   12269 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   12270 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   12271 printf %s "checking if $CC understands -b... " >&6; }
   12272 if test ${lt_cv_prog_compiler__b+y}
   12273 then :
   12274   printf %s "(cached) " >&6
   12275 else case e in #(
   12276   e) lt_cv_prog_compiler__b=no
   12277    save_LDFLAGS=$LDFLAGS
   12278    LDFLAGS="$LDFLAGS -b"
   12279    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   12280    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12281      # The linker can only warn and ignore the option if not recognized
   12282      # So say no if there are warnings
   12283      if test -s conftest.err; then
   12284        # Append any errors to the config.log.
   12285        cat conftest.err 1>&5
   12286        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.expsym
   12287        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12288        if diff conftest.expsym conftest.er2 >/dev/null; then
   12289          lt_cv_prog_compiler__b=yes
   12290        fi
   12291      else
   12292        lt_cv_prog_compiler__b=yes
   12293      fi
   12294    fi
   12295    $RM -r conftest*
   12296    LDFLAGS=$save_LDFLAGS
   12297  ;;
   12298 esac
   12299 fi
   12300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   12301 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   12302 
   12303 if test yes = "$lt_cv_prog_compiler__b"; then
   12304     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   12305 else
   12306     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   12307 fi
   12308 
   12309 	  ;;
   12310 	esac
   12311       fi
   12312       if test no = "$with_gnu_ld"; then
   12313 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   12314 	hardcode_libdir_separator=:
   12315 
   12316 	case $host_cpu in
   12317 	hppa*64*|ia64*)
   12318 	  hardcode_direct=no
   12319 	  hardcode_shlibpath_var=no
   12320 	  ;;
   12321 	*)
   12322 	  hardcode_direct=yes
   12323 	  hardcode_direct_absolute=yes
   12324 	  export_dynamic_flag_spec='$wl-E'
   12325 
   12326 	  # hardcode_minus_L: Not really in the search PATH,
   12327 	  # but as the default location of the library.
   12328 	  hardcode_minus_L=yes
   12329 	  ;;
   12330 	esac
   12331       fi
   12332       ;;
   12333 
   12334     irix5* | irix6* | nonstopux*)
   12335       if test yes = "$GCC"; then
   12336 	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'
   12337 	# Try to use the -exported_symbol ld option, if it does not
   12338 	# work, assume that -exports_file does not work either and
   12339 	# implicitly export all symbols.
   12340 	# This should be the same for all languages, so no per-tag cache variable.
   12341 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   12342 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   12343 if test ${lt_cv_irix_exported_symbol+y}
   12344 then :
   12345   printf %s "(cached) " >&6
   12346 else case e in #(
   12347   e) save_LDFLAGS=$LDFLAGS
   12348 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   12349 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12350 /* end confdefs.h.  */
   12351 int foo (void) { return 0; }
   12352 _ACEOF
   12353 if ac_fn_c_try_link "$LINENO"
   12354 then :
   12355   lt_cv_irix_exported_symbol=yes
   12356 else case e in #(
   12357   e) lt_cv_irix_exported_symbol=no ;;
   12358 esac
   12359 fi
   12360 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12361     conftest$ac_exeext conftest.$ac_ext
   12362            LDFLAGS=$save_LDFLAGS ;;
   12363 esac
   12364 fi
   12365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   12366 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   12367 	if test yes = "$lt_cv_irix_exported_symbol"; then
   12368           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'
   12369 	fi
   12370       else
   12371 	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'
   12372 	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'
   12373       fi
   12374       archive_cmds_need_lc='no'
   12375       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12376       hardcode_libdir_separator=:
   12377       inherit_rpath=yes
   12378       link_all_deplibs=yes
   12379       ;;
   12380 
   12381     *-mlibc)
   12382       ;;
   12383 
   12384     linux*)
   12385       case $cc_basename in
   12386       tcc*)
   12387 	# Fabrice Bellard et al's Tiny C Compiler
   12388 	ld_shlibs=yes
   12389 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   12390 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12391 	;;
   12392       esac
   12393       ;;
   12394 
   12395     netbsd* | netbsdelf*-gnu)
   12396       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12397 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   12398       else
   12399 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   12400       fi
   12401       hardcode_libdir_flag_spec='-R$libdir'
   12402       hardcode_direct=yes
   12403       hardcode_shlibpath_var=no
   12404       ;;
   12405 
   12406     newsos6)
   12407       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12408       hardcode_direct=yes
   12409       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12410       hardcode_libdir_separator=:
   12411       hardcode_shlibpath_var=no
   12412       ;;
   12413 
   12414     *nto* | *qnx*)
   12415       ;;
   12416 
   12417     openbsd*)
   12418       if test -f /usr/libexec/ld.so; then
   12419 	hardcode_direct=yes
   12420 	hardcode_shlibpath_var=no
   12421 	hardcode_direct_absolute=yes
   12422 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12423 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   12424 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   12425 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   12426 	  export_dynamic_flag_spec='$wl-E'
   12427 	else
   12428 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   12429 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   12430 	fi
   12431       else
   12432 	ld_shlibs=no
   12433       fi
   12434       ;;
   12435 
   12436     os2*)
   12437       hardcode_libdir_flag_spec='-L$libdir'
   12438       hardcode_minus_L=yes
   12439       allow_undefined_flag=unsupported
   12440       shrext_cmds=.dll
   12441       archive_cmds='echo "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   12442 	echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   12443 	echo "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   12444 	echo EXPORTS >> $output_objdir/$libname.def~
   12445 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   12446 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   12447 	emximp -o $lib $output_objdir/$libname.def'
   12448       archive_expsym_cmds='echo "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   12449 	echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   12450 	echo "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   12451 	echo EXPORTS >> $output_objdir/$libname.def~
   12452 	prefix_cmds="$SED"~
   12453 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   12454 	  prefix_cmds="$prefix_cmds -e 1d";
   12455 	fi~
   12456 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   12457 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   12458 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   12459 	emximp -o $lib $output_objdir/$libname.def'
   12460       enable_shared_with_static_runtimes=yes
   12461       file_list_spec='@'
   12462       ;;
   12463 
   12464     osf3*)
   12465       if test yes = "$GCC"; then
   12466 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   12467 	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'
   12468       else
   12469 	allow_undefined_flag=' -expect_unresolved \*'
   12470 	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'
   12471       fi
   12472       archive_cmds_need_lc='no'
   12473       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12474       hardcode_libdir_separator=:
   12475       ;;
   12476 
   12477     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   12478       if test yes = "$GCC"; then
   12479 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   12480 	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'
   12481 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12482       else
   12483 	allow_undefined_flag=' -expect_unresolved \*'
   12484 	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'
   12485 	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~
   12486           $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'
   12487 
   12488 	# Both c and cxx compiler support -rpath directly
   12489 	hardcode_libdir_flag_spec='-rpath $libdir'
   12490       fi
   12491       archive_cmds_need_lc='no'
   12492       hardcode_libdir_separator=:
   12493       ;;
   12494 
   12495     serenity*)
   12496       ;;
   12497 
   12498     solaris*)
   12499       no_undefined_flag=' -z defs'
   12500       if test yes = "$GCC"; then
   12501 	wlarc='$wl'
   12502 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   12503 	archive_expsym_cmds='echo "{ global:" > $lib.expsym~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.expsym~echo "local: *; };" >> $lib.expsym~
   12504           $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'
   12505       else
   12506 	case `$CC -V 2>&1` in
   12507 	*"Compilers 5.0"*)
   12508 	  wlarc=''
   12509 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12510 	  archive_expsym_cmds='echo "{ global:" > $lib.expsym~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.expsym~echo "local: *; };" >> $lib.expsym~
   12511             $LD -G$allow_undefined_flag -M $lib.expsym -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.expsym'
   12512 	  ;;
   12513 	*)
   12514 	  wlarc='$wl'
   12515 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   12516 	  archive_expsym_cmds='echo "{ global:" > $lib.expsym~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.expsym~echo "local: *; };" >> $lib.expsym~
   12517             $CC -G$allow_undefined_flag -M $lib.expsym -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.expsym'
   12518 	  ;;
   12519 	esac
   12520       fi
   12521       hardcode_libdir_flag_spec='-R$libdir'
   12522       hardcode_shlibpath_var=no
   12523       case $host_os in
   12524       solaris2.[0-5] | solaris2.[0-5].*) ;;
   12525       *)
   12526 	# The compiler driver will combine and reorder linker options,
   12527 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   12528 	# but is careful enough not to reorder.
   12529 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   12530 	if test yes = "$GCC"; then
   12531 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   12532 	else
   12533 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   12534 	fi
   12535 	;;
   12536       esac
   12537       link_all_deplibs=yes
   12538       ;;
   12539 
   12540     sunos4*)
   12541       if test sequent = "$host_vendor"; then
   12542 	# Use $CC to link under sequent, because it throws in some extra .o
   12543 	# files that make .init and .fini sections work.
   12544 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   12545       else
   12546 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   12547       fi
   12548       hardcode_libdir_flag_spec='-L$libdir'
   12549       hardcode_direct=yes
   12550       hardcode_minus_L=yes
   12551       hardcode_shlibpath_var=no
   12552       ;;
   12553 
   12554     sysv4)
   12555       case $host_vendor in
   12556 	sni)
   12557 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12558 	  hardcode_direct=yes # is this really true???
   12559 	;;
   12560 	siemens)
   12561 	  ## LD is ld it makes a PLAMLIB
   12562 	  ## CC just makes a GrossModule.
   12563 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   12564 	  reload_cmds='$CC -r -o $output$reload_objs'
   12565 	  hardcode_direct=no
   12566         ;;
   12567 	motorola)
   12568 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12569 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   12570 	;;
   12571       esac
   12572       runpath_var='LD_RUN_PATH'
   12573       hardcode_shlibpath_var=no
   12574       ;;
   12575 
   12576     sysv4.3*)
   12577       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12578       hardcode_shlibpath_var=no
   12579       export_dynamic_flag_spec='-Bexport'
   12580       ;;
   12581 
   12582     sysv4*MP*)
   12583       if test -d /usr/nec; then
   12584 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12585 	hardcode_shlibpath_var=no
   12586 	runpath_var=LD_RUN_PATH
   12587 	hardcode_runpath_var=yes
   12588 	ld_shlibs=yes
   12589       fi
   12590       ;;
   12591 
   12592     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12593       no_undefined_flag='$wl-z,text'
   12594       archive_cmds_need_lc=no
   12595       hardcode_shlibpath_var=no
   12596       runpath_var='LD_RUN_PATH'
   12597 
   12598       if test yes = "$GCC"; then
   12599 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12600 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12601       else
   12602 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12603 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12604       fi
   12605       ;;
   12606 
   12607     sysv5* | sco3.2v5* | sco5v6*)
   12608       # Note: We CANNOT use -z defs as we might desire, because we do not
   12609       # link with -lc, and that would cause any symbols used from libc to
   12610       # always be unresolved, which means just about no library would
   12611       # ever link correctly.  If we're not using GNU ld we use -z text
   12612       # though, which does catch some bad symbols but isn't as heavy-handed
   12613       # as -z defs.
   12614       no_undefined_flag='$wl-z,text'
   12615       allow_undefined_flag='$wl-z,nodefs'
   12616       archive_cmds_need_lc=no
   12617       hardcode_shlibpath_var=no
   12618       hardcode_libdir_flag_spec='$wl-R,$libdir'
   12619       hardcode_libdir_separator=':'
   12620       link_all_deplibs=yes
   12621       export_dynamic_flag_spec='$wl-Bexport'
   12622       runpath_var='LD_RUN_PATH'
   12623 
   12624       if test yes = "$GCC"; then
   12625 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12626 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12627       else
   12628 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12629 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12630       fi
   12631       ;;
   12632 
   12633     uts4*)
   12634       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12635       hardcode_libdir_flag_spec='-L$libdir'
   12636       hardcode_shlibpath_var=no
   12637       ;;
   12638 
   12639     *)
   12640       ld_shlibs=no
   12641       ;;
   12642     esac
   12643 
   12644     if test sni = "$host_vendor"; then
   12645       case $host in
   12646       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   12647 	export_dynamic_flag_spec='$wl-Blargedynsym'
   12648 	;;
   12649       esac
   12650     fi
   12651   fi
   12652 
   12653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   12654 printf "%s\n" "$ld_shlibs" >&6; }
   12655 test no = "$ld_shlibs" && can_build_shared=no
   12656 
   12657 with_gnu_ld=$with_gnu_ld
   12658 
   12659 
   12660 
   12661 
   12662 
   12663 
   12664 
   12665 
   12666 
   12667 
   12668 
   12669 
   12670 
   12671 
   12672 
   12673 #
   12674 # Do we need to explicitly link libc?
   12675 #
   12676 case "x$archive_cmds_need_lc" in
   12677 x|xyes)
   12678   # Assume -lc should be added
   12679   archive_cmds_need_lc=yes
   12680 
   12681   if test yes,yes = "$GCC,$enable_shared"; then
   12682     case $archive_cmds in
   12683     *'~'*)
   12684       # FIXME: we may have to deal with multi-command sequences.
   12685       ;;
   12686     '$CC '*)
   12687       # Test whether the compiler implicitly links with -lc since on some
   12688       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12689       # to ld, don't add -lc before -lgcc.
   12690       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   12691 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   12692 if test ${lt_cv_archive_cmds_need_lc+y}
   12693 then :
   12694   printf %s "(cached) " >&6
   12695 else case e in #(
   12696   e) $RM conftest*
   12697 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12698 
   12699 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12700   (eval $ac_compile) 2>&5
   12701   ac_status=$?
   12702   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12703   test $ac_status = 0; } 2>conftest.err; then
   12704 	  soname=conftest
   12705 	  lib=conftest
   12706 	  libobjs=conftest.$ac_objext
   12707 	  deplibs=
   12708 	  wl=$lt_prog_compiler_wl
   12709 	  pic_flag=$lt_prog_compiler_pic
   12710 	  compiler_flags=-v
   12711 	  linker_flags=-v
   12712 	  verstring=
   12713 	  output_objdir=.
   12714 	  libname=conftest
   12715 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   12716 	  allow_undefined_flag=
   12717 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   12718   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12719   ac_status=$?
   12720   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12721   test $ac_status = 0; }
   12722 	  then
   12723 	    lt_cv_archive_cmds_need_lc=no
   12724 	  else
   12725 	    lt_cv_archive_cmds_need_lc=yes
   12726 	  fi
   12727 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   12728 	else
   12729 	  cat conftest.err 1>&5
   12730 	fi
   12731 	$RM conftest*
   12732 	 ;;
   12733 esac
   12734 fi
   12735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   12736 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   12737       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   12738       ;;
   12739     esac
   12740   fi
   12741   ;;
   12742 esac
   12743 
   12744 
   12745 
   12746 
   12747 
   12748 
   12749 
   12750 
   12751 
   12752 
   12753 
   12754 
   12755 
   12756 
   12757 
   12758 
   12759 
   12760 
   12761 
   12762 
   12763 
   12764 
   12765 
   12766 
   12767 
   12768 
   12769 
   12770 
   12771 
   12772 
   12773 
   12774 
   12775 
   12776 
   12777 
   12778 
   12779 
   12780 
   12781 
   12782 
   12783 
   12784 
   12785 
   12786 
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 
   12793 
   12794 
   12795 
   12796 
   12797 
   12798 
   12799 
   12800 
   12801 
   12802 
   12803 
   12804 
   12805 
   12806 
   12807 
   12808 
   12809 
   12810 
   12811 
   12812 
   12813 
   12814 
   12815 
   12816 
   12817 
   12818 
   12819 
   12820 
   12821 
   12822 
   12823 
   12824 
   12825 
   12826 
   12827 
   12828 
   12829 
   12830 
   12831 
   12832 
   12833 
   12834 
   12835 
   12836 
   12837 
   12838 
   12839 
   12840 
   12841 
   12842 
   12843 
   12844 
   12845 
   12846 
   12847 
   12848 
   12849 
   12850 
   12851 
   12852 
   12853 
   12854 
   12855 
   12856 
   12857 
   12858 
   12859 
   12860 
   12861 
   12862 
   12863 
   12864 
   12865 
   12866 
   12867 
   12868 
   12869 
   12870 
   12871 
   12872 
   12873 
   12874 
   12875 
   12876 
   12877 
   12878 
   12879 
   12880 
   12881 
   12882 
   12883 
   12884 
   12885 
   12886 
   12887 
   12888 
   12889 
   12890 
   12891 
   12892 
   12893 
   12894 
   12895   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   12896 printf %s "checking dynamic linker characteristics... " >&6; }
   12897 
   12898 if test yes = "$GCC"; then
   12899   case $host_os in
   12900     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   12901     *) lt_awk_arg='/^libraries:/' ;;
   12902   esac
   12903   case $host_os in
   12904     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   12905     *) lt_sed_strip_eq='s|=/|/|g' ;;
   12906   esac
   12907   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   12908   case $lt_search_path_spec in
   12909   *\;*)
   12910     # if the path contains ";" then we assume it to be the separator
   12911     # otherwise default to the standard path separator (i.e. ":") - it is
   12912     # assumed that no part of a normal pathname contains ";" but that should
   12913     # okay in the real world where ";" in dirpaths is itself problematic.
   12914     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   12915     ;;
   12916   *)
   12917     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   12918     ;;
   12919   esac
   12920   # Ok, now we have the path, separated by spaces, we can step through it
   12921   # and add multilib dir if necessary...
   12922   lt_tmp_lt_search_path_spec=
   12923   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   12924   # ...but if some path component already ends with the multilib dir we assume
   12925   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   12926   case "$lt_multi_os_dir; $lt_search_path_spec " in
   12927   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   12928     lt_multi_os_dir=
   12929     ;;
   12930   esac
   12931   for lt_sys_path in $lt_search_path_spec; do
   12932     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   12933       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   12934     elif test -n "$lt_multi_os_dir"; then
   12935       test -d "$lt_sys_path" && \
   12936 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   12937     fi
   12938   done
   12939   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   12940 BEGIN {RS = " "; FS = "/|\n";} {
   12941   lt_foo = "";
   12942   lt_count = 0;
   12943   for (lt_i = NF; lt_i > 0; lt_i--) {
   12944     if ($lt_i != "" && $lt_i != ".") {
   12945       if ($lt_i == "..") {
   12946         lt_count++;
   12947       } else {
   12948         if (lt_count == 0) {
   12949           lt_foo = "/" $lt_i lt_foo;
   12950         } else {
   12951           lt_count--;
   12952         }
   12953       }
   12954     }
   12955   }
   12956   if (lt_foo != "") { lt_freq[lt_foo]++; }
   12957   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   12958 }'`
   12959   # AWK program above erroneously prepends '/' to C:/dos/paths
   12960   # for these hosts.
   12961   case $host_os in
   12962     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   12963       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   12964   esac
   12965   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   12966 else
   12967   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12968 fi
   12969 library_names_spec=
   12970 libname_spec='lib$name'
   12971 soname_spec=
   12972 shrext_cmds=.so
   12973 postinstall_cmds=
   12974 postuninstall_cmds=
   12975 finish_cmds=
   12976 finish_eval=
   12977 shlibpath_var=
   12978 shlibpath_overrides_runpath=unknown
   12979 version_type=none
   12980 dynamic_linker="$host_os ld.so"
   12981 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12982 need_lib_prefix=unknown
   12983 hardcode_into_libs=no
   12984 
   12985 # when you set need_version to no, make sure it does not cause -set_version
   12986 # flags to be left without arguments
   12987 need_version=unknown
   12988 
   12989 
   12990 
   12991 case $host_os in
   12992 aix3*)
   12993   version_type=linux # correct to gnu/linux during the next big refactor
   12994   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   12995   shlibpath_var=LIBPATH
   12996 
   12997   # AIX 3 has no versioning support, so we append a major version to the name.
   12998   soname_spec='$libname$release$shared_ext$major'
   12999   ;;
   13000 
   13001 aix[4-9]*)
   13002   version_type=linux # correct to gnu/linux during the next big refactor
   13003   need_lib_prefix=no
   13004   need_version=no
   13005   hardcode_into_libs=yes
   13006   if test ia64 = "$host_cpu"; then
   13007     # AIX 5 supports IA64
   13008     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   13009     shlibpath_var=LD_LIBRARY_PATH
   13010   else
   13011     # With GCC up to 2.95.x, collect2 would create an import file
   13012     # for dependence libraries.  The import file would start with
   13013     # the line '#! .'.  This would cause the generated library to
   13014     # depend on '.', always an invalid library.  This was fixed in
   13015     # development snapshots of GCC prior to 3.0.
   13016     case $host_os in
   13017       aix4 | aix4.[01] | aix4.[01].*)
   13018       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13019 	   echo ' yes '
   13020 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   13021 	:
   13022       else
   13023 	can_build_shared=no
   13024       fi
   13025       ;;
   13026     esac
   13027     # Using Import Files as archive members, it is possible to support
   13028     # filename-based versioning of shared library archives on AIX. While
   13029     # this would work for both with and without runtime linking, it will
   13030     # prevent static linking of such archives. So we do filename-based
   13031     # shared library versioning with .so extension only, which is used
   13032     # when both runtime linking and shared linking is enabled.
   13033     # Unfortunately, runtime linking may impact performance, so we do
   13034     # not want this to be the default eventually. Also, we use the
   13035     # versioned .so libs for executables only if there is the -brtl
   13036     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
   13037     # To allow for filename-based versioning support, we need to create
   13038     # libNAME.so.V as an archive file, containing:
   13039     # *) an Import File, referring to the versioned filename of the
   13040     #    archive as well as the shared archive member, telling the
   13041     #    bitwidth (32 or 64) of that shared object, and providing the
   13042     #    list of exported symbols of that shared object, eventually
   13043     #    decorated with the 'weak' keyword
   13044     # *) the shared object with the F_LOADONLY flag set, to really avoid
   13045     #    it being seen by the linker.
   13046     # At run time we better use the real file rather than another symlink,
   13047     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   13048 
   13049     case $with_aix_soname,$aix_use_runtimelinking in
   13050     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   13051     # soname into executable. Probably we can add versioning support to
   13052     # collect2, so additional links can be useful in future.
   13053     aix,yes) # traditional libtool
   13054       dynamic_linker='AIX unversionable lib.so'
   13055       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13056       # instead of lib<name>.a to let people know that these are not
   13057       # typical AIX shared libraries.
   13058       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13059       ;;
   13060     aix,no) # traditional AIX only
   13061       dynamic_linker='AIX lib.a(lib.so.V)'
   13062       # We preserve .a as extension for shared libraries through AIX4.2
   13063       # and later when we are not doing run time linking.
   13064       library_names_spec='$libname$release.a $libname.a'
   13065       soname_spec='$libname$release$shared_ext$major'
   13066       ;;
   13067     svr4,*) # full svr4 only
   13068       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   13069       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   13070       # We do not specify a path in Import Files, so LIBPATH fires.
   13071       shlibpath_overrides_runpath=yes
   13072       ;;
   13073     *,yes) # both, prefer svr4
   13074       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   13075       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   13076       # unpreferred sharedlib libNAME.a needs extra handling
   13077       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"'
   13078       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"'
   13079       # We do not specify a path in Import Files, so LIBPATH fires.
   13080       shlibpath_overrides_runpath=yes
   13081       ;;
   13082     *,no) # both, prefer aix
   13083       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   13084       library_names_spec='$libname$release.a $libname.a'
   13085       soname_spec='$libname$release$shared_ext$major'
   13086       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   13087       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)'
   13088       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"'
   13089       ;;
   13090     esac
   13091     shlibpath_var=LIBPATH
   13092   fi
   13093   ;;
   13094 
   13095 amigaos*)
   13096   case $host_cpu in
   13097   powerpc)
   13098     # Since July 2007 AmigaOS4 officially supports .so libraries.
   13099     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   13100     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13101     ;;
   13102   m68k)
   13103     library_names_spec='$libname.ixlibrary $libname.a'
   13104     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13105     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'
   13106     ;;
   13107   esac
   13108   ;;
   13109 
   13110 beos*)
   13111   library_names_spec='$libname$shared_ext'
   13112   dynamic_linker="$host_os ld.so"
   13113   shlibpath_var=LIBRARY_PATH
   13114   ;;
   13115 
   13116 bsdi[45]*)
   13117   version_type=linux # correct to gnu/linux during the next big refactor
   13118   need_version=no
   13119   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13120   soname_spec='$libname$release$shared_ext$major'
   13121   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13122   shlibpath_var=LD_LIBRARY_PATH
   13123   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13124   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13125   # the default ld.so.conf also contains /usr/contrib/lib and
   13126   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13127   # libtool to hard-code these into programs
   13128   ;;
   13129 
   13130 cygwin* | mingw* | windows* | pw32* | cegcc*)
   13131   version_type=windows
   13132   shrext_cmds=.dll
   13133   need_version=no
   13134   need_lib_prefix=no
   13135 
   13136   case $GCC,$cc_basename in
   13137   yes,*)
   13138     # gcc
   13139     library_names_spec='$libname.dll.a'
   13140     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13141     # If user builds GCC with multilib enabled,
   13142     # it should just install on $(libdir)
   13143     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
   13144     if test xyes = x"$multilib"; then
   13145       postinstall_cmds='base_file=`basename \$file`~
   13146         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   13147         dldir=$destdir/`dirname \$dlpath`~
   13148         $install_prog $dir/$dlname $destdir/$dlname~
   13149         chmod a+x $destdir/$dlname~
   13150         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   13151           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
   13152         fi'
   13153     else
   13154       postinstall_cmds='base_file=`basename \$file`~
   13155         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   13156         dldir=$destdir/`dirname \$dlpath`~
   13157         test -d \$dldir || mkdir -p \$dldir~
   13158         $install_prog $dir/$dlname \$dldir/$dlname~
   13159         chmod a+x \$dldir/$dlname~
   13160         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   13161           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   13162         fi'
   13163     fi
   13164     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13165       dlpath=$dir/\$dldll~
   13166        $RM \$dlpath'
   13167     shlibpath_overrides_runpath=yes
   13168 
   13169     case $host_os in
   13170     cygwin*)
   13171       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13172       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   13173 
   13174       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   13175       ;;
   13176     mingw* | windows* | cegcc*)
   13177       # MinGW DLLs use traditional 'lib' prefix
   13178       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   13179       ;;
   13180     pw32*)
   13181       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13182       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   13183       ;;
   13184     esac
   13185     dynamic_linker='Win32 ld.exe'
   13186     ;;
   13187 
   13188   *,cl* | *,icl* | *,icx*)
   13189     # Native MSVC and Intel compilers
   13190     libname_spec='$name'
   13191     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   13192     library_names_spec='$libname.dll.lib'
   13193 
   13194     case $build_os in
   13195     mingw* | windows*)
   13196       sys_lib_search_path_spec=
   13197       lt_save_ifs=$IFS
   13198       IFS=';'
   13199       for lt_path in $LIB
   13200       do
   13201         IFS=$lt_save_ifs
   13202         # Let DOS variable expansion print the short 8.3 style file name.
   13203         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   13204         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   13205       done
   13206       IFS=$lt_save_ifs
   13207       # Convert to MSYS style.
   13208       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   13209       ;;
   13210     cygwin*)
   13211       # Convert to unix form, then to dos form, then back to unix form
   13212       # but this time dos style (no spaces!) so that the unix form looks
   13213       # like /cygdrive/c/PROGRA~1:/cygdr...
   13214       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   13215       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   13216       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   13217       ;;
   13218     *)
   13219       sys_lib_search_path_spec=$LIB
   13220       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   13221         # It is most probably a Windows format PATH.
   13222         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13223       else
   13224         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   13225       fi
   13226       # FIXME: find the short name or the path components, as spaces are
   13227       # common. (e.g. "Program Files" -> "PROGRA~1")
   13228       ;;
   13229     esac
   13230 
   13231     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13232     postinstall_cmds='base_file=`basename \$file`~
   13233       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   13234       dldir=$destdir/`dirname \$dlpath`~
   13235       test -d \$dldir || mkdir -p \$dldir~
   13236       $install_prog $dir/$dlname \$dldir/$dlname'
   13237     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13238       dlpath=$dir/\$dldll~
   13239        $RM \$dlpath'
   13240     shlibpath_overrides_runpath=yes
   13241     dynamic_linker='Win32 link.exe'
   13242     ;;
   13243 
   13244   *)
   13245     # Assume MSVC and ICC wrapper
   13246     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   13247     dynamic_linker='Win32 ld.exe'
   13248     ;;
   13249   esac
   13250   # FIXME: first we should search . and the directory the executable is in
   13251   shlibpath_var=PATH
   13252   ;;
   13253 
   13254 darwin* | rhapsody*)
   13255   dynamic_linker="$host_os dyld"
   13256   version_type=darwin
   13257   need_lib_prefix=no
   13258   need_version=no
   13259   library_names_spec='$libname$release$versuffix$shared_ext $libname$release$major$shared_ext $libname$shared_ext'
   13260   soname_spec='$libname$release$major$shared_ext'
   13261   shlibpath_overrides_runpath=yes
   13262   shlibpath_var=DYLD_LIBRARY_PATH
   13263   shrext_cmds='`test .$module = .yes && echo .bundle || echo .dylib`'
   13264 
   13265   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   13266   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13267   ;;
   13268 
   13269 dgux*)
   13270   version_type=linux # correct to gnu/linux during the next big refactor
   13271   need_lib_prefix=no
   13272   need_version=no
   13273   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13274   soname_spec='$libname$release$shared_ext$major'
   13275   shlibpath_var=LD_LIBRARY_PATH
   13276   ;;
   13277 
   13278 freebsd* | dragonfly* | midnightbsd*)
   13279   # DragonFly does not have aout.  When/if they implement a new
   13280   # versioning mechanism, adjust this.
   13281   if test -x /usr/bin/objformat; then
   13282     objformat=`/usr/bin/objformat`
   13283   else
   13284     case $host_os in
   13285     freebsd[23].*) objformat=aout ;;
   13286     *) objformat=elf ;;
   13287     esac
   13288   fi
   13289   version_type=freebsd-$objformat
   13290   case $version_type in
   13291     freebsd-elf*)
   13292       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13293       soname_spec='$libname$release$shared_ext$major'
   13294       need_version=no
   13295       need_lib_prefix=no
   13296       ;;
   13297     freebsd-*)
   13298       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   13299       need_version=yes
   13300       ;;
   13301   esac
   13302   case $host_cpu in
   13303     powerpc64)
   13304       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
   13305       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
   13306       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13307 /* end confdefs.h.  */
   13308 int test_pointer_size[sizeof (void *) - 5];
   13309 
   13310 _ACEOF
   13311 if ac_fn_c_try_compile "$LINENO"
   13312 then :
   13313   shlibpath_var=LD_LIBRARY_PATH
   13314 else case e in #(
   13315   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
   13316 esac
   13317 fi
   13318 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13319       ;;
   13320     *)
   13321       shlibpath_var=LD_LIBRARY_PATH
   13322       ;;
   13323   esac
   13324   case $host_os in
   13325   freebsd2.*)
   13326     shlibpath_overrides_runpath=yes
   13327     ;;
   13328   freebsd3.[01]* | freebsdelf3.[01]*)
   13329     shlibpath_overrides_runpath=yes
   13330     hardcode_into_libs=yes
   13331     ;;
   13332   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13333   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13334     shlibpath_overrides_runpath=no
   13335     hardcode_into_libs=yes
   13336     ;;
   13337   *) # from 4.6 on, and DragonFly
   13338     shlibpath_overrides_runpath=yes
   13339     hardcode_into_libs=yes
   13340     ;;
   13341   esac
   13342   ;;
   13343 
   13344 haiku*)
   13345   version_type=linux # correct to gnu/linux during the next big refactor
   13346   need_lib_prefix=no
   13347   need_version=no
   13348   dynamic_linker="$host_os runtime_loader"
   13349   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13350   soname_spec='$libname$release$shared_ext$major'
   13351   shlibpath_var=LIBRARY_PATH
   13352   shlibpath_overrides_runpath=no
   13353   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
   13354   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
   13355   hardcode_into_libs=no
   13356   ;;
   13357 
   13358 hpux9* | hpux10* | hpux11*)
   13359   # Give a soname corresponding to the major version so that dld.sl refuses to
   13360   # link against other versions.
   13361   version_type=sunos
   13362   need_lib_prefix=no
   13363   need_version=no
   13364   case $host_cpu in
   13365   ia64*)
   13366     shrext_cmds='.so'
   13367     hardcode_into_libs=yes
   13368     dynamic_linker="$host_os dld.so"
   13369     shlibpath_var=LD_LIBRARY_PATH
   13370     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13371     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13372     soname_spec='$libname$release$shared_ext$major'
   13373     if test 32 = "$HPUX_IA64_MODE"; then
   13374       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13375       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   13376     else
   13377       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13378       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   13379     fi
   13380     ;;
   13381   hppa*64*)
   13382     shrext_cmds='.sl'
   13383     hardcode_into_libs=yes
   13384     dynamic_linker="$host_os dld.sl"
   13385     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13386     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13387     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13388     soname_spec='$libname$release$shared_ext$major'
   13389     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13390     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13391     ;;
   13392   *)
   13393     shrext_cmds='.sl'
   13394     dynamic_linker="$host_os dld.sl"
   13395     shlibpath_var=SHLIB_PATH
   13396     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13397     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13398     soname_spec='$libname$release$shared_ext$major'
   13399     ;;
   13400   esac
   13401   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   13402   postinstall_cmds='chmod 555 $lib'
   13403   # or fails outright, so override atomically:
   13404   install_override_mode=555
   13405   ;;
   13406 
   13407 interix[3-9]*)
   13408   version_type=linux # correct to gnu/linux during the next big refactor
   13409   need_lib_prefix=no
   13410   need_version=no
   13411   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13412   soname_spec='$libname$release$shared_ext$major'
   13413   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13414   shlibpath_var=LD_LIBRARY_PATH
   13415   shlibpath_overrides_runpath=no
   13416   hardcode_into_libs=yes
   13417   ;;
   13418 
   13419 irix5* | irix6* | nonstopux*)
   13420   case $host_os in
   13421     nonstopux*) version_type=nonstopux ;;
   13422     *)
   13423 	if test yes = "$lt_cv_prog_gnu_ld"; then
   13424 		version_type=linux # correct to gnu/linux during the next big refactor
   13425 	else
   13426 		version_type=irix
   13427 	fi ;;
   13428   esac
   13429   need_lib_prefix=no
   13430   need_version=no
   13431   soname_spec='$libname$release$shared_ext$major'
   13432   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   13433   case $host_os in
   13434   irix5* | nonstopux*)
   13435     libsuff= shlibsuff=
   13436     ;;
   13437   *)
   13438     case $LD in # libtool.m4 will add one of these switches to LD
   13439     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13440       libsuff= shlibsuff= libmagic=32-bit;;
   13441     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13442       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13443     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13444       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13445     *) libsuff= shlibsuff= libmagic=never-match;;
   13446     esac
   13447     ;;
   13448   esac
   13449   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13450   shlibpath_overrides_runpath=no
   13451   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   13452   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   13453   hardcode_into_libs=yes
   13454   ;;
   13455 
   13456 *-mlibc)
   13457   version_type=linux # correct to gnu/linux during the next big refactor
   13458   need_lib_prefix=no
   13459   need_version=no
   13460   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13461   soname_spec='$libname$release$shared_ext$major'
   13462   dynamic_linker='mlibc ld.so'
   13463   shlibpath_var=LD_LIBRARY_PATH
   13464   shlibpath_overrides_runpath=no
   13465   hardcode_into_libs=yes
   13466   ;;
   13467 
   13468 # No shared lib support for Linux oldld, aout, or coff.
   13469 linux*oldld* | linux*aout* | linux*coff*)
   13470   dynamic_linker=no
   13471   ;;
   13472 
   13473 linux*android*)
   13474   version_type=none # Android doesn't support versioned libraries.
   13475   need_lib_prefix=no
   13476   need_version=no
   13477   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
   13478   soname_spec='$libname$release$shared_ext'
   13479   finish_cmds=
   13480   shlibpath_var=LD_LIBRARY_PATH
   13481   shlibpath_overrides_runpath=yes
   13482 
   13483   # This implies no fast_install, which is unacceptable.
   13484   # Some rework will be needed to allow for fast_install
   13485   # before this can be enabled.
   13486   hardcode_into_libs=yes
   13487 
   13488   dynamic_linker='Android linker'
   13489   # -rpath works at least for libraries that are not overridden by
   13490   # libraries installed in system locations.
   13491   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   13492   ;;
   13493 
   13494 # This must be glibc/ELF.
   13495 linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   13496   version_type=linux # correct to gnu/linux during the next big refactor
   13497   need_lib_prefix=no
   13498   need_version=no
   13499   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13500   soname_spec='$libname$release$shared_ext$major'
   13501   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13502   shlibpath_var=LD_LIBRARY_PATH
   13503   shlibpath_overrides_runpath=no
   13504 
   13505   # Some binutils ld are patched to set DT_RUNPATH
   13506   if test ${lt_cv_shlibpath_overrides_runpath+y}
   13507 then :
   13508   printf %s "(cached) " >&6
   13509 else case e in #(
   13510   e) lt_cv_shlibpath_overrides_runpath=no
   13511     save_LDFLAGS=$LDFLAGS
   13512     save_libdir=$libdir
   13513     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   13514 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   13515     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13516 /* end confdefs.h.  */
   13517 
   13518 int
   13519 main (void)
   13520 {
   13521 
   13522   ;
   13523   return 0;
   13524 }
   13525 _ACEOF
   13526 if ac_fn_c_try_link "$LINENO"
   13527 then :
   13528   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   13529 then :
   13530   lt_cv_shlibpath_overrides_runpath=yes
   13531 fi
   13532 fi
   13533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13534     conftest$ac_exeext conftest.$ac_ext
   13535     LDFLAGS=$save_LDFLAGS
   13536     libdir=$save_libdir
   13537      ;;
   13538 esac
   13539 fi
   13540 
   13541   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   13542 
   13543   # This implies no fast_install, which is unacceptable.
   13544   # Some rework will be needed to allow for fast_install
   13545   # before this can be enabled.
   13546   hardcode_into_libs=yes
   13547 
   13548   # Ideally, we could use ldconfig to report *all* directories which are
   13549   # searched for libraries, however this is still not possible.  Aside from not
   13550   # being certain /sbin/ldconfig is available, command
   13551   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   13552   # even though it is searched at run-time.  Try to do the best guess by
   13553   # appending ld.so.conf contents (and includes) to the search path.
   13554   if test -f /etc/ld.so.conf; then
   13555     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' ' '`
   13556     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13557   fi
   13558 
   13559   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13560   # powerpc, because MkLinux only supported shared libraries with the
   13561   # GNU dynamic linker.  Since this was broken with cross compilers,
   13562   # most powerpc-linux boxes support dynamic linking these days and
   13563   # people can always --disable-shared, the test was removed, and we
   13564   # assume the GNU/Linux dynamic linker is in use.
   13565   dynamic_linker='GNU/Linux ld.so'
   13566   ;;
   13567 
   13568 netbsdelf*-gnu)
   13569   version_type=linux
   13570   need_lib_prefix=no
   13571   need_version=no
   13572   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13573   soname_spec='$libname$release$shared_ext$major'
   13574   shlibpath_var=LD_LIBRARY_PATH
   13575   shlibpath_overrides_runpath=no
   13576   hardcode_into_libs=yes
   13577   dynamic_linker='NetBSD ld.elf_so'
   13578   enable_cxx_stdlib=yes
   13579   stdlibflag=
   13580   ;;
   13581 
   13582 netbsd*)
   13583   version_type=sunos
   13584   need_lib_prefix=no
   13585   need_version=no
   13586   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   13587     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   13588     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13589     dynamic_linker='NetBSD (a.out) ld.so'
   13590   else
   13591     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13592     soname_spec='$libname$release$shared_ext$major'
   13593     dynamic_linker='NetBSD ld.elf_so'
   13594   fi
   13595   shlibpath_var=LD_LIBRARY_PATH
   13596   shlibpath_overrides_runpath=yes
   13597   hardcode_into_libs=yes
   13598   enable_cxx_stdlib=yes
   13599   stdlibflag=
   13600   ;;
   13601 
   13602 newsos6)
   13603   version_type=linux # correct to gnu/linux during the next big refactor
   13604   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13605   shlibpath_var=LD_LIBRARY_PATH
   13606   shlibpath_overrides_runpath=yes
   13607   ;;
   13608 
   13609 *nto* | *qnx*)
   13610   version_type=qnx
   13611   need_lib_prefix=no
   13612   need_version=no
   13613   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13614   soname_spec='$libname$release$shared_ext$major'
   13615   shlibpath_var=LD_LIBRARY_PATH
   13616   shlibpath_overrides_runpath=no
   13617   hardcode_into_libs=yes
   13618   dynamic_linker='ldqnx.so'
   13619   ;;
   13620 
   13621 openbsd*)
   13622   version_type=sunos
   13623   sys_lib_dlsearch_path_spec=/usr/lib
   13624   need_lib_prefix=no
   13625   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   13626     need_version=no
   13627   else
   13628     need_version=yes
   13629   fi
   13630   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   13631   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13632   shlibpath_var=LD_LIBRARY_PATH
   13633   shlibpath_overrides_runpath=yes
   13634   ;;
   13635 
   13636 os2*)
   13637   libname_spec='$name'
   13638   version_type=windows
   13639   shrext_cmds=.dll
   13640   need_version=no
   13641   need_lib_prefix=no
   13642   # OS/2 can only load a DLL with a base name of 8 characters or less.
   13643   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   13644     n=$($ECHO $libname | tr -d .-);
   13645     l=${#n}; test 3 -lt "$l" && l=3; mr=$((8 - $l));
   13646     r=$($ECHO $release | tr -d .-);
   13647     l=${#r}; test 2 -lt "$l" && l=2; mv=$(($mr - $l));
   13648     v=$($ECHO $versuffix | tr -d .- | cut -b -$mv);
   13649     r=$($ECHO $r | cut -b -$(($mr - ${#v})));
   13650     n=$($ECHO $n | cut -b -$((8 - ${#r} - ${#v})));
   13651     $ECHO $n$r$v`$shared_ext'
   13652   library_names_spec='${libname}_dll.$libext'
   13653   dynamic_linker='OS/2 ld.exe'
   13654   shlibpath_var=BEGINLIBPATH
   13655   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   13656   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13657   postinstall_cmds='base_file=`basename \$file`~
   13658     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   13659     dldir=$destdir/`dirname \$dlpath`~
   13660     test -d \$dldir || mkdir -p \$dldir~
   13661     $install_prog $dir/$dlname \$dldir/$dlname~
   13662     chmod a+x \$dldir/$dlname~
   13663     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   13664       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   13665     fi'
   13666   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   13667     dlpath=$dir/\$dldll~
   13668     $RM \$dlpath'
   13669   ;;
   13670 
   13671 osf3* | osf4* | osf5*)
   13672   version_type=osf
   13673   need_lib_prefix=no
   13674   need_version=no
   13675   soname_spec='$libname$release$shared_ext$major'
   13676   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13677   shlibpath_var=LD_LIBRARY_PATH
   13678   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13679   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13680   ;;
   13681 
   13682 rdos*)
   13683   dynamic_linker=no
   13684   ;;
   13685 
   13686 serenity*)
   13687   version_type=linux # correct to gnu/linux during the next big refactor
   13688   need_lib_prefix=no
   13689   need_version=no
   13690   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13691   soname_spec='$libname$release$shared_ext$major'
   13692   shlibpath_var=LD_LIBRARY_PATH
   13693   shlibpath_overrides_runpath=no
   13694   dynamic_linker='SerenityOS LibELF'
   13695   ;;
   13696 
   13697 solaris*)
   13698   version_type=linux # correct to gnu/linux during the next big refactor
   13699   need_lib_prefix=no
   13700   need_version=no
   13701   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13702   soname_spec='$libname$release$shared_ext$major'
   13703   shlibpath_var=LD_LIBRARY_PATH
   13704   shlibpath_overrides_runpath=yes
   13705   hardcode_into_libs=yes
   13706   # ldd complains unless libraries are executable
   13707   postinstall_cmds='chmod +x $lib'
   13708   ;;
   13709 
   13710 sunos4*)
   13711   version_type=sunos
   13712   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   13713   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13714   shlibpath_var=LD_LIBRARY_PATH
   13715   shlibpath_overrides_runpath=yes
   13716   if test yes = "$with_gnu_ld"; then
   13717     need_lib_prefix=no
   13718   fi
   13719   need_version=yes
   13720   ;;
   13721 
   13722 sysv4 | sysv4.3*)
   13723   version_type=linux # correct to gnu/linux during the next big refactor
   13724   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13725   soname_spec='$libname$release$shared_ext$major'
   13726   shlibpath_var=LD_LIBRARY_PATH
   13727   case $host_vendor in
   13728     sni)
   13729       shlibpath_overrides_runpath=no
   13730       need_lib_prefix=no
   13731       runpath_var=LD_RUN_PATH
   13732       ;;
   13733     siemens)
   13734       need_lib_prefix=no
   13735       ;;
   13736     motorola)
   13737       need_lib_prefix=no
   13738       need_version=no
   13739       shlibpath_overrides_runpath=no
   13740       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13741       ;;
   13742   esac
   13743   ;;
   13744 
   13745 sysv4*MP*)
   13746   if test -d /usr/nec; then
   13747     version_type=linux # correct to gnu/linux during the next big refactor
   13748     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   13749     soname_spec='$libname$shared_ext.$major'
   13750     shlibpath_var=LD_LIBRARY_PATH
   13751   fi
   13752   ;;
   13753 
   13754 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13755   version_type=sco
   13756   need_lib_prefix=no
   13757   need_version=no
   13758   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   13759   soname_spec='$libname$release$shared_ext$major'
   13760   shlibpath_var=LD_LIBRARY_PATH
   13761   shlibpath_overrides_runpath=yes
   13762   hardcode_into_libs=yes
   13763   if test yes = "$with_gnu_ld"; then
   13764     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13765   else
   13766     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13767     case $host_os in
   13768       sco3.2v5*)
   13769         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13770 	;;
   13771     esac
   13772   fi
   13773   sys_lib_dlsearch_path_spec='/usr/lib'
   13774   ;;
   13775 
   13776 tpf*)
   13777   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   13778   version_type=linux # correct to gnu/linux during the next big refactor
   13779   need_lib_prefix=no
   13780   need_version=no
   13781   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13782   shlibpath_var=LD_LIBRARY_PATH
   13783   shlibpath_overrides_runpath=no
   13784   hardcode_into_libs=yes
   13785   ;;
   13786 
   13787 uts4*)
   13788   version_type=linux # correct to gnu/linux during the next big refactor
   13789   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13790   soname_spec='$libname$release$shared_ext$major'
   13791   shlibpath_var=LD_LIBRARY_PATH
   13792   ;;
   13793 
   13794 emscripten*)
   13795   version_type=none
   13796   need_lib_prefix=no
   13797   need_version=no
   13798   library_names_spec='$libname$release$shared_ext'
   13799   soname_spec='$libname$release$shared_ext'
   13800   finish_cmds=
   13801   dynamic_linker="Emscripten linker"
   13802   lt_prog_compiler_wl=
   13803 lt_prog_compiler_pic=
   13804 lt_prog_compiler_static=
   13805 
   13806 
   13807   if test yes = "$GCC"; then
   13808     lt_prog_compiler_wl='-Wl,'
   13809     lt_prog_compiler_static='-static'
   13810 
   13811     case $host_os in
   13812       aix*)
   13813       # All AIX code is PIC.
   13814       if test ia64 = "$host_cpu"; then
   13815 	# AIX 5 now supports IA64 processor
   13816 	lt_prog_compiler_static='-Bstatic'
   13817       fi
   13818       lt_prog_compiler_pic='-fPIC'
   13819       ;;
   13820 
   13821     amigaos*)
   13822       case $host_cpu in
   13823       powerpc)
   13824             # see comment about AmigaOS4 .so support
   13825             lt_prog_compiler_pic='-fPIC'
   13826         ;;
   13827       m68k)
   13828             # FIXME: we need at least 68020 code to build shared libraries, but
   13829             # adding the '-m68020' flag to GCC prevents building anything better,
   13830             # like '-m68040'.
   13831             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   13832         ;;
   13833       esac
   13834       ;;
   13835 
   13836     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13837       # PIC is the default for these OSes.
   13838       ;;
   13839 
   13840     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   13841       # This hack is so that the source file can tell whether it is being
   13842       # built for inclusion in a dll (and should export symbols for example).
   13843       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   13844       # (--disable-auto-import) libraries
   13845       lt_prog_compiler_pic='-DDLL_EXPORT'
   13846       case $host_os in
   13847       os2*)
   13848 	lt_prog_compiler_static='$wl-static'
   13849 	;;
   13850       esac
   13851       ;;
   13852 
   13853     darwin* | rhapsody*)
   13854       # PIC is the default on this platform
   13855       # Common symbols not allowed in MH_DYLIB files
   13856       lt_prog_compiler_pic='-fno-common'
   13857       ;;
   13858 
   13859     haiku*)
   13860       # PIC is the default for Haiku.
   13861       # The "-static" flag exists, but is broken.
   13862       lt_prog_compiler_static=
   13863       ;;
   13864 
   13865     hpux*)
   13866       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   13867       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   13868       # sets the default TLS model and affects inlining.
   13869       case $host_cpu in
   13870       hppa*64*)
   13871 	# +Z the default
   13872 	;;
   13873       *)
   13874 	lt_prog_compiler_pic='-fPIC'
   13875 	;;
   13876       esac
   13877       ;;
   13878 
   13879     interix[3-9]*)
   13880       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13881       # Instead, we relocate shared libraries at runtime.
   13882       ;;
   13883 
   13884     msdosdjgpp*)
   13885       # Just because we use GCC doesn't mean we suddenly get shared libraries
   13886       # on systems that don't support them.
   13887       lt_prog_compiler_can_build_shared=no
   13888       enable_shared=no
   13889       ;;
   13890 
   13891     *nto* | *qnx*)
   13892       # QNX uses GNU C++, but need to define -shared option too, otherwise
   13893       # it will coredump.
   13894       lt_prog_compiler_pic='-fPIC -shared'
   13895       ;;
   13896 
   13897     sysv4*MP*)
   13898       if test -d /usr/nec; then
   13899 	lt_prog_compiler_pic=-Kconform_pic
   13900       fi
   13901       ;;
   13902 
   13903     *)
   13904       lt_prog_compiler_pic='-fPIC'
   13905       ;;
   13906     esac
   13907 
   13908     case $cc_basename in
   13909     nvcc*) # Cuda Compiler Driver 2.2
   13910       lt_prog_compiler_wl='-Xlinker '
   13911       if test -n "$lt_prog_compiler_pic"; then
   13912         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   13913       fi
   13914       ;;
   13915     esac
   13916   else
   13917     # PORTME Check for flag to pass linker flags through the system compiler.
   13918     case $host_os in
   13919     aix*)
   13920       lt_prog_compiler_wl='-Wl,'
   13921       if test ia64 = "$host_cpu"; then
   13922 	# AIX 5 now supports IA64 processor
   13923 	lt_prog_compiler_static='-Bstatic'
   13924       else
   13925 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.expsym'
   13926       fi
   13927       ;;
   13928 
   13929     darwin* | rhapsody*)
   13930       # PIC is the default on this platform
   13931       # Common symbols not allowed in MH_DYLIB files
   13932       lt_prog_compiler_pic='-fno-common'
   13933       case $cc_basename in
   13934       nagfor*)
   13935         # NAG Fortran compiler
   13936         lt_prog_compiler_wl='-Wl,-Wl,,'
   13937         lt_prog_compiler_pic='-PIC'
   13938         lt_prog_compiler_static='-Bstatic'
   13939         ;;
   13940       esac
   13941       ;;
   13942 
   13943     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   13944       # This hack is so that the source file can tell whether it is being
   13945       # built for inclusion in a dll (and should export symbols for example).
   13946       lt_prog_compiler_pic='-DDLL_EXPORT'
   13947       case $host_os in
   13948       os2*)
   13949 	lt_prog_compiler_static='$wl-static'
   13950 	;;
   13951       esac
   13952       ;;
   13953 
   13954     hpux9* | hpux10* | hpux11*)
   13955       lt_prog_compiler_wl='-Wl,'
   13956       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13957       # not for PA HP-UX.
   13958       case $host_cpu in
   13959       hppa*64*|ia64*)
   13960 	# +Z the default
   13961 	;;
   13962       *)
   13963 	lt_prog_compiler_pic='+Z'
   13964 	;;
   13965       esac
   13966       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13967       lt_prog_compiler_static='$wl-a ${wl}archive'
   13968       ;;
   13969 
   13970     irix5* | irix6* | nonstopux*)
   13971       lt_prog_compiler_wl='-Wl,'
   13972       # PIC (with -KPIC) is the default.
   13973       lt_prog_compiler_static='-non_shared'
   13974       ;;
   13975 
   13976     *-mlibc)
   13977       lt_prog_compiler_wl='-Wl,'
   13978       lt_prog_compiler_pic='-fPIC'
   13979       lt_prog_compiler_static='-static'
   13980       ;;
   13981 
   13982     linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu* | freebsd*)
   13983       case $cc_basename in
   13984       # old Intel for x86_64, which still supported -KPIC.
   13985       ecc*)
   13986 	lt_prog_compiler_wl='-Wl,'
   13987 	lt_prog_compiler_pic='-KPIC'
   13988 	lt_prog_compiler_static='-static'
   13989         ;;
   13990       *flang* | ftn | f18* | f95*)
   13991         # Flang compiler.
   13992 	lt_prog_compiler_wl='-Wl,'
   13993 	lt_prog_compiler_pic='-fPIC'
   13994 	lt_prog_compiler_static='-static'
   13995         ;;
   13996       # icc used to be incompatible with GCC.
   13997       # ICC 10 doesn't accept -KPIC any more.
   13998       icc* | ifort* | icx* | ifx*)
   13999 	lt_prog_compiler_wl='-Wl,'
   14000 	lt_prog_compiler_pic='-fPIC'
   14001 	lt_prog_compiler_static='-static'
   14002         ;;
   14003       # Lahey Fortran 8.1.
   14004       lf95*)
   14005 	lt_prog_compiler_wl='-Wl,'
   14006 	lt_prog_compiler_pic='--shared'
   14007 	lt_prog_compiler_static='--static'
   14008 	;;
   14009       nagfor*)
   14010 	# NAG Fortran compiler
   14011 	lt_prog_compiler_wl='-Wl,-Wl,,'
   14012 	lt_prog_compiler_pic='-PIC'
   14013 	lt_prog_compiler_static='-Bstatic'
   14014 	;;
   14015       tcc*)
   14016 	# Fabrice Bellard et al's Tiny C Compiler
   14017 	lt_prog_compiler_wl='-Wl,'
   14018 	lt_prog_compiler_pic='-fPIC'
   14019 	lt_prog_compiler_static='-static'
   14020 	;;
   14021       slimcc*)
   14022 	# Hsiang-Ying Fu and Jim Huang's x86_64 SlimCC compiler
   14023 	lt_prog_compiler_wl='-Wl,'
   14024 	lt_prog_compiler_pic='-fPIC'
   14025 	lt_prog_compiler_static='-static'
   14026 	;;
   14027       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   14028         # Portland Group compilers (*not* the Pentium gcc compiler,
   14029 	# which looks to be a dead project)
   14030 	lt_prog_compiler_wl='-Wl,'
   14031 	lt_prog_compiler_pic='-fpic'
   14032 	lt_prog_compiler_static='-Bstatic'
   14033         ;;
   14034       ccc*)
   14035         lt_prog_compiler_wl='-Wl,'
   14036         # All Alpha code is PIC.
   14037         lt_prog_compiler_static='-non_shared'
   14038         ;;
   14039       xl* | bgxl* | bgf* | mpixl*)
   14040 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   14041 	lt_prog_compiler_wl='-Wl,'
   14042 	lt_prog_compiler_pic='-qpic'
   14043 	lt_prog_compiler_static='-qstaticlink'
   14044 	;;
   14045       *)
   14046 	case `$CC -V 2>&1 | $SED 5q` in
   14047 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   14048 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14049 	  lt_prog_compiler_pic='-KPIC'
   14050 	  lt_prog_compiler_static='-Bstatic'
   14051 	  lt_prog_compiler_wl=''
   14052 	  ;;
   14053 	*Sun\ F* | *Sun*Fortran*)
   14054 	  lt_prog_compiler_pic='-KPIC'
   14055 	  lt_prog_compiler_static='-Bstatic'
   14056 	  lt_prog_compiler_wl='-Qoption ld '
   14057 	  ;;
   14058 	*Sun\ C*)
   14059 	  # Sun C 5.9
   14060 	  lt_prog_compiler_pic='-KPIC'
   14061 	  lt_prog_compiler_static='-Bstatic'
   14062 	  lt_prog_compiler_wl='-Wl,'
   14063 	  ;;
   14064         *Intel*\ [CF]*Compiler*)
   14065 	  lt_prog_compiler_wl='-Wl,'
   14066 	  lt_prog_compiler_pic='-fPIC'
   14067 	  lt_prog_compiler_static='-static'
   14068 	  ;;
   14069 	*Portland\ Group*)
   14070 	  lt_prog_compiler_wl='-Wl,'
   14071 	  lt_prog_compiler_pic='-fpic'
   14072 	  lt_prog_compiler_static='-Bstatic'
   14073 	  ;;
   14074 	esac
   14075 	;;
   14076       esac
   14077       ;;
   14078 
   14079     newsos6)
   14080       lt_prog_compiler_pic='-KPIC'
   14081       lt_prog_compiler_static='-Bstatic'
   14082       ;;
   14083 
   14084     *nto* | *qnx*)
   14085       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14086       # it will coredump.
   14087       lt_prog_compiler_pic='-fPIC -shared'
   14088       ;;
   14089 
   14090     osf3* | osf4* | osf5*)
   14091       lt_prog_compiler_wl='-Wl,'
   14092       # All OSF/1 code is PIC.
   14093       lt_prog_compiler_static='-non_shared'
   14094       ;;
   14095 
   14096     rdos*)
   14097       lt_prog_compiler_static='-non_shared'
   14098       ;;
   14099 
   14100     serenity*)
   14101       ;;
   14102 
   14103     solaris*)
   14104       lt_prog_compiler_pic='-KPIC'
   14105       lt_prog_compiler_static='-Bstatic'
   14106       case $cc_basename in
   14107       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   14108 	lt_prog_compiler_wl='-Qoption ld ';;
   14109       *)
   14110 	lt_prog_compiler_wl='-Wl,';;
   14111       esac
   14112       ;;
   14113 
   14114     sunos4*)
   14115       lt_prog_compiler_wl='-Qoption ld '
   14116       lt_prog_compiler_pic='-PIC'
   14117       lt_prog_compiler_static='-Bstatic'
   14118       ;;
   14119 
   14120     sysv4 | sysv4.2uw2* | sysv4.3*)
   14121       lt_prog_compiler_wl='-Wl,'
   14122       lt_prog_compiler_pic='-KPIC'
   14123       lt_prog_compiler_static='-Bstatic'
   14124       ;;
   14125 
   14126     sysv4*MP*)
   14127       if test -d /usr/nec; then
   14128 	lt_prog_compiler_pic='-Kconform_pic'
   14129 	lt_prog_compiler_static='-Bstatic'
   14130       fi
   14131       ;;
   14132 
   14133     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14134       lt_prog_compiler_wl='-Wl,'
   14135       lt_prog_compiler_pic='-KPIC'
   14136       lt_prog_compiler_static='-Bstatic'
   14137       ;;
   14138 
   14139     unicos*)
   14140       lt_prog_compiler_wl='-Wl,'
   14141       lt_prog_compiler_can_build_shared=no
   14142       ;;
   14143 
   14144     uts4*)
   14145       lt_prog_compiler_pic='-pic'
   14146       lt_prog_compiler_static='-Bstatic'
   14147       ;;
   14148 
   14149     *)
   14150       lt_prog_compiler_can_build_shared=no
   14151       ;;
   14152     esac
   14153   fi
   14154 
   14155 case $host_os in
   14156   # For platforms that do not support PIC, -DPIC is meaningless:
   14157   *djgpp*)
   14158     lt_prog_compiler_pic=
   14159     ;;
   14160   *)
   14161     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   14162     ;;
   14163 esac
   14164 
   14165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   14166 printf %s "checking for $compiler option to produce PIC... " >&6; }
   14167 if test ${lt_cv_prog_compiler_pic+y}
   14168 then :
   14169   printf %s "(cached) " >&6
   14170 else case e in #(
   14171   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   14172 esac
   14173 fi
   14174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   14175 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   14176 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   14177 
   14178 #
   14179 # Check to make sure the PIC flag actually works.
   14180 #
   14181 if test -n "$lt_prog_compiler_pic"; then
   14182   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   14183 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   14184 if test ${lt_cv_prog_compiler_pic_works+y}
   14185 then :
   14186   printf %s "(cached) " >&6
   14187 else case e in #(
   14188   e) lt_cv_prog_compiler_pic_works=no
   14189    ac_outfile=conftest.$ac_objext
   14190    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14191    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   14192    # Insert the option either (1) after the last *FLAGS variable, or
   14193    # (2) before a word containing "conftest.", or (3) at the end.
   14194    # Note that $ac_compile itself does not contain backslashes and begins
   14195    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14196    # The option is referenced via a variable to avoid confusing sed.
   14197    lt_compile=`echo "$ac_compile" | $SED \
   14198    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14199    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14200    -e 's:$: $lt_compiler_flag:'`
   14201    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14202    (eval "$lt_compile" 2>conftest.err)
   14203    ac_status=$?
   14204    cat conftest.err >&5
   14205    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14206    if (exit $ac_status) && test -s "$ac_outfile"; then
   14207      # The compiler can only warn and ignore the option if not recognized
   14208      # So say no if there are warnings other than the usual output.
   14209      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.expsym
   14210      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14211      if test ! -s conftest.er2 || diff conftest.expsym conftest.er2 >/dev/null; then
   14212        lt_cv_prog_compiler_pic_works=yes
   14213      fi
   14214    fi
   14215    $RM conftest*
   14216  ;;
   14217 esac
   14218 fi
   14219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   14220 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   14221 
   14222 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   14223     case $lt_prog_compiler_pic in
   14224      "" | " "*) ;;
   14225      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   14226      esac
   14227 else
   14228     lt_prog_compiler_pic=
   14229      lt_prog_compiler_can_build_shared=no
   14230 fi
   14231 
   14232 fi
   14233 
   14234 
   14235 
   14236 
   14237 
   14238 #
   14239 # Check to make sure the static flag actually works.
   14240 #
   14241 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   14242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14243 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14244 if test ${lt_cv_prog_compiler_static_works+y}
   14245 then :
   14246   printf %s "(cached) " >&6
   14247 else case e in #(
   14248   e) lt_cv_prog_compiler_static_works=no
   14249    save_LDFLAGS=$LDFLAGS
   14250    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14251    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14252    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14253      # The linker can only warn and ignore the option if not recognized
   14254      # So say no if there are warnings
   14255      if test -s conftest.err; then
   14256        # Append any errors to the config.log.
   14257        cat conftest.err 1>&5
   14258        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.expsym
   14259        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14260        if diff conftest.expsym conftest.er2 >/dev/null; then
   14261          lt_cv_prog_compiler_static_works=yes
   14262        fi
   14263      else
   14264        lt_cv_prog_compiler_static_works=yes
   14265      fi
   14266    fi
   14267    $RM -r conftest*
   14268    LDFLAGS=$save_LDFLAGS
   14269  ;;
   14270 esac
   14271 fi
   14272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   14273 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   14274 
   14275 if test yes = "$lt_cv_prog_compiler_static_works"; then
   14276     :
   14277 else
   14278     lt_prog_compiler_static=
   14279 fi
   14280 
   14281 
   14282 
   14283 ='-fPIC'
   14284   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
   14285   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'
   14286   archive_cmds_need_lc=no
   14287   no_undefined_flag=
   14288   ;;
   14289 
   14290 *)
   14291   dynamic_linker=no
   14292   ;;
   14293 esac
   14294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   14295 printf "%s\n" "$dynamic_linker" >&6; }
   14296 test no = "$dynamic_linker" && can_build_shared=no
   14297 
   14298 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   14299 if test yes = "$GCC"; then
   14300   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   14301 fi
   14302 
   14303 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   14304   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   14305 fi
   14306 
   14307 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   14308   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   14309 fi
   14310 
   14311 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   14312 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   14313 
   14314 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   14315 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   14316 
   14317 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   14318 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   14319 
   14320 
   14321 
   14322 
   14323 
   14324 
   14325 
   14326 
   14327 
   14328 
   14329 
   14330 
   14331 
   14332 
   14333 
   14334 
   14335 
   14336 
   14337 
   14338 
   14339 
   14340 
   14341 
   14342 
   14343 
   14344 
   14345 
   14346 
   14347 
   14348 
   14349 
   14350 
   14351 
   14352 
   14353 
   14354 
   14355 
   14356 
   14357 
   14358 
   14359 
   14360 
   14361 
   14362 
   14363 
   14364 
   14365 
   14366 
   14367 
   14368 
   14369 
   14370 
   14371 
   14372 
   14373 
   14374 
   14375 
   14376 
   14377 
   14378 
   14379 
   14380 
   14381 
   14382 
   14383 
   14384 
   14385 
   14386 
   14387 
   14388 
   14389 
   14390 
   14391 
   14392 
   14393 
   14394 
   14395 
   14396 
   14397 
   14398 
   14399 
   14400 
   14401 
   14402 
   14403 
   14404 
   14405 
   14406 
   14407 
   14408 
   14409 
   14410 
   14411 
   14412 
   14413 
   14414 
   14415 
   14416   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   14417 printf %s "checking how to hardcode library paths into programs... " >&6; }
   14418 hardcode_action=
   14419 if test -n "$hardcode_libdir_flag_spec" ||
   14420    test -n "$runpath_var" ||
   14421    test yes = "$hardcode_automatic"; then
   14422 
   14423   # We can hardcode non-existent directories.
   14424   if test no != "$hardcode_direct" &&
   14425      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   14426      # have to relink, otherwise we might link with an installed library
   14427      # when we should be linking with a yet-to-be-installed one
   14428      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   14429      test no != "$hardcode_minus_L"; then
   14430     # Linking always hardcodes the temporary library directory.
   14431     hardcode_action=relink
   14432   else
   14433     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   14434     hardcode_action=immediate
   14435   fi
   14436 else
   14437   # We cannot hardcode anything, or else we can only hardcode existing
   14438   # directories.
   14439   hardcode_action=unsupported
   14440 fi
   14441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   14442 printf "%s\n" "$hardcode_action" >&6; }
   14443 
   14444 if test relink = "$hardcode_action" ||
   14445    test yes = "$inherit_rpath"; then
   14446   # Fast installation is not supported
   14447   enable_fast_install=no
   14448 elif test yes = "$shlibpath_overrides_runpath" ||
   14449      test no = "$enable_shared"; then
   14450   # Fast installation is not necessary
   14451   enable_fast_install=needless
   14452 fi
   14453 
   14454 
   14455 
   14456 
   14457 
   14458 
   14459   if test yes != "$enable_dlopen"; then
   14460   enable_dlopen=unknown
   14461   enable_dlopen_self=unknown
   14462   enable_dlopen_self_static=unknown
   14463 else
   14464   lt_cv_dlopen=no
   14465   lt_cv_dlopen_libs=
   14466 
   14467   case $host_os in
   14468   beos*)
   14469     lt_cv_dlopen=load_add_on
   14470     lt_cv_dlopen_libs=
   14471     lt_cv_dlopen_self=yes
   14472     ;;
   14473 
   14474   mingw* | windows* | pw32* | cegcc*)
   14475     lt_cv_dlopen=LoadLibrary
   14476     lt_cv_dlopen_libs=
   14477     ;;
   14478 
   14479   cygwin*)
   14480     lt_cv_dlopen=dlopen
   14481     lt_cv_dlopen_libs=
   14482     ;;
   14483 
   14484   darwin*)
   14485     # if libdl is installed we need to link against it
   14486     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   14487 printf %s "checking for dlopen in -ldl... " >&6; }
   14488 if test ${ac_cv_lib_dl_dlopen+y}
   14489 then :
   14490   printf %s "(cached) " >&6
   14491 else case e in #(
   14492   e) ac_check_lib_save_LIBS=$LIBS
   14493 LIBS="-ldl  $LIBS"
   14494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14495 /* end confdefs.h.  */
   14496 
   14497 /* Override any GCC internal prototype to avoid an error.
   14498    Use char because int might match the return type of a GCC
   14499    builtin and then its argument prototype would still apply.
   14500    The 'extern "C"' is for builds by C++ compilers;
   14501    although this is not generally supported in C code supporting it here
   14502    has little cost and some practical benefit (sr 110532).  */
   14503 #ifdef __cplusplus
   14504 extern "C"
   14505 #endif
   14506 char dlopen (void);
   14507 int
   14508 main (void)
   14509 {
   14510 return dlopen ();
   14511   ;
   14512   return 0;
   14513 }
   14514 _ACEOF
   14515 if ac_fn_c_try_link "$LINENO"
   14516 then :
   14517   ac_cv_lib_dl_dlopen=yes
   14518 else case e in #(
   14519   e) ac_cv_lib_dl_dlopen=no ;;
   14520 esac
   14521 fi
   14522 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14523     conftest$ac_exeext conftest.$ac_ext
   14524 LIBS=$ac_check_lib_save_LIBS ;;
   14525 esac
   14526 fi
   14527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   14528 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   14529 if test "x$ac_cv_lib_dl_dlopen" = xyes
   14530 then :
   14531   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   14532 else case e in #(
   14533   e)
   14534     lt_cv_dlopen=dyld
   14535     lt_cv_dlopen_libs=
   14536     lt_cv_dlopen_self=yes
   14537      ;;
   14538 esac
   14539 fi
   14540 
   14541     ;;
   14542 
   14543   tpf*)
   14544     # Don't try to run any link tests for TPF.  We know it's impossible
   14545     # because TPF is a cross-compiler, and we know how we open DSOs.
   14546     lt_cv_dlopen=dlopen
   14547     lt_cv_dlopen_libs=
   14548     lt_cv_dlopen_self=no
   14549     ;;
   14550 
   14551   *)
   14552     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   14553 if test "x$ac_cv_func_shl_load" = xyes
   14554 then :
   14555   lt_cv_dlopen=shl_load
   14556 else case e in #(
   14557   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   14558 printf %s "checking for shl_load in -ldld... " >&6; }
   14559 if test ${ac_cv_lib_dld_shl_load+y}
   14560 then :
   14561   printf %s "(cached) " >&6
   14562 else case e in #(
   14563   e) ac_check_lib_save_LIBS=$LIBS
   14564 LIBS="-ldld  $LIBS"
   14565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14566 /* end confdefs.h.  */
   14567 
   14568 /* Override any GCC internal prototype to avoid an error.
   14569    Use char because int might match the return type of a GCC
   14570    builtin and then its argument prototype would still apply.
   14571    The 'extern "C"' is for builds by C++ compilers;
   14572    although this is not generally supported in C code supporting it here
   14573    has little cost and some practical benefit (sr 110532).  */
   14574 #ifdef __cplusplus
   14575 extern "C"
   14576 #endif
   14577 char shl_load (void);
   14578 int
   14579 main (void)
   14580 {
   14581 return shl_load ();
   14582   ;
   14583   return 0;
   14584 }
   14585 _ACEOF
   14586 if ac_fn_c_try_link "$LINENO"
   14587 then :
   14588   ac_cv_lib_dld_shl_load=yes
   14589 else case e in #(
   14590   e) ac_cv_lib_dld_shl_load=no ;;
   14591 esac
   14592 fi
   14593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14594     conftest$ac_exeext conftest.$ac_ext
   14595 LIBS=$ac_check_lib_save_LIBS ;;
   14596 esac
   14597 fi
   14598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   14599 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   14600 if test "x$ac_cv_lib_dld_shl_load" = xyes
   14601 then :
   14602   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   14603 else case e in #(
   14604   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   14605 if test "x$ac_cv_func_dlopen" = xyes
   14606 then :
   14607   lt_cv_dlopen=dlopen
   14608 else case e in #(
   14609   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   14610 printf %s "checking for dlopen in -ldl... " >&6; }
   14611 if test ${ac_cv_lib_dl_dlopen+y}
   14612 then :
   14613   printf %s "(cached) " >&6
   14614 else case e in #(
   14615   e) ac_check_lib_save_LIBS=$LIBS
   14616 LIBS="-ldl  $LIBS"
   14617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14618 /* end confdefs.h.  */
   14619 
   14620 /* Override any GCC internal prototype to avoid an error.
   14621    Use char because int might match the return type of a GCC
   14622    builtin and then its argument prototype would still apply.
   14623    The 'extern "C"' is for builds by C++ compilers;
   14624    although this is not generally supported in C code supporting it here
   14625    has little cost and some practical benefit (sr 110532).  */
   14626 #ifdef __cplusplus
   14627 extern "C"
   14628 #endif
   14629 char dlopen (void);
   14630 int
   14631 main (void)
   14632 {
   14633 return dlopen ();
   14634   ;
   14635   return 0;
   14636 }
   14637 _ACEOF
   14638 if ac_fn_c_try_link "$LINENO"
   14639 then :
   14640   ac_cv_lib_dl_dlopen=yes
   14641 else case e in #(
   14642   e) ac_cv_lib_dl_dlopen=no ;;
   14643 esac
   14644 fi
   14645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14646     conftest$ac_exeext conftest.$ac_ext
   14647 LIBS=$ac_check_lib_save_LIBS ;;
   14648 esac
   14649 fi
   14650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   14651 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   14652 if test "x$ac_cv_lib_dl_dlopen" = xyes
   14653 then :
   14654   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   14655 else case e in #(
   14656   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   14657 printf %s "checking for dlopen in -lsvld... " >&6; }
   14658 if test ${ac_cv_lib_svld_dlopen+y}
   14659 then :
   14660   printf %s "(cached) " >&6
   14661 else case e in #(
   14662   e) ac_check_lib_save_LIBS=$LIBS
   14663 LIBS="-lsvld  $LIBS"
   14664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14665 /* end confdefs.h.  */
   14666 
   14667 /* Override any GCC internal prototype to avoid an error.
   14668    Use char because int might match the return type of a GCC
   14669    builtin and then its argument prototype would still apply.
   14670    The 'extern "C"' is for builds by C++ compilers;
   14671    although this is not generally supported in C code supporting it here
   14672    has little cost and some practical benefit (sr 110532).  */
   14673 #ifdef __cplusplus
   14674 extern "C"
   14675 #endif
   14676 char dlopen (void);
   14677 int
   14678 main (void)
   14679 {
   14680 return dlopen ();
   14681   ;
   14682   return 0;
   14683 }
   14684 _ACEOF
   14685 if ac_fn_c_try_link "$LINENO"
   14686 then :
   14687   ac_cv_lib_svld_dlopen=yes
   14688 else case e in #(
   14689   e) ac_cv_lib_svld_dlopen=no ;;
   14690 esac
   14691 fi
   14692 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14693     conftest$ac_exeext conftest.$ac_ext
   14694 LIBS=$ac_check_lib_save_LIBS ;;
   14695 esac
   14696 fi
   14697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   14698 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   14699 if test "x$ac_cv_lib_svld_dlopen" = xyes
   14700 then :
   14701   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   14702 else case e in #(
   14703   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   14704 printf %s "checking for dld_link in -ldld... " >&6; }
   14705 if test ${ac_cv_lib_dld_dld_link+y}
   14706 then :
   14707   printf %s "(cached) " >&6
   14708 else case e in #(
   14709   e) ac_check_lib_save_LIBS=$LIBS
   14710 LIBS="-ldld  $LIBS"
   14711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14712 /* end confdefs.h.  */
   14713 
   14714 /* Override any GCC internal prototype to avoid an error.
   14715    Use char because int might match the return type of a GCC
   14716    builtin and then its argument prototype would still apply.
   14717    The 'extern "C"' is for builds by C++ compilers;
   14718    although this is not generally supported in C code supporting it here
   14719    has little cost and some practical benefit (sr 110532).  */
   14720 #ifdef __cplusplus
   14721 extern "C"
   14722 #endif
   14723 char dld_link (void);
   14724 int
   14725 main (void)
   14726 {
   14727 return dld_link ();
   14728   ;
   14729   return 0;
   14730 }
   14731 _ACEOF
   14732 if ac_fn_c_try_link "$LINENO"
   14733 then :
   14734   ac_cv_lib_dld_dld_link=yes
   14735 else case e in #(
   14736   e) ac_cv_lib_dld_dld_link=no ;;
   14737 esac
   14738 fi
   14739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14740     conftest$ac_exeext conftest.$ac_ext
   14741 LIBS=$ac_check_lib_save_LIBS ;;
   14742 esac
   14743 fi
   14744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   14745 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   14746 if test "x$ac_cv_lib_dld_dld_link" = xyes
   14747 then :
   14748   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   14749 fi
   14750 
   14751 	       ;;
   14752 esac
   14753 fi
   14754 
   14755 	     ;;
   14756 esac
   14757 fi
   14758 
   14759 	   ;;
   14760 esac
   14761 fi
   14762 
   14763 	 ;;
   14764 esac
   14765 fi
   14766 
   14767        ;;
   14768 esac
   14769 fi
   14770 
   14771     ;;
   14772   esac
   14773 
   14774   if test no = "$lt_cv_dlopen"; then
   14775     enable_dlopen=no
   14776   else
   14777     enable_dlopen=yes
   14778   fi
   14779 
   14780   case $lt_cv_dlopen in
   14781   dlopen)
   14782     save_CPPFLAGS=$CPPFLAGS
   14783     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   14784 
   14785     save_LDFLAGS=$LDFLAGS
   14786     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   14787 
   14788     save_LIBS=$LIBS
   14789     LIBS="$lt_cv_dlopen_libs $LIBS"
   14790 
   14791     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   14792 printf %s "checking whether a program can dlopen itself... " >&6; }
   14793 if test ${lt_cv_dlopen_self+y}
   14794 then :
   14795   printf %s "(cached) " >&6
   14796 else case e in #(
   14797   e) 	  if test yes = "$cross_compiling"; then :
   14798   lt_cv_dlopen_self=cross
   14799 else
   14800   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   14801   lt_status=$lt_dlunknown
   14802   cat > conftest.$ac_ext <<_LT_EOF
   14803 #line $LINENO "configure"
   14804 #include "confdefs.h"
   14805 
   14806 #if HAVE_DLFCN_H
   14807 #include <dlfcn.h>
   14808 #endif
   14809 
   14810 #include <stdio.h>
   14811 
   14812 #ifdef RTLD_GLOBAL
   14813 #  define LT_DLGLOBAL		RTLD_GLOBAL
   14814 #else
   14815 #  ifdef DL_GLOBAL
   14816 #    define LT_DLGLOBAL		DL_GLOBAL
   14817 #  else
   14818 #    define LT_DLGLOBAL		0
   14819 #  endif
   14820 #endif
   14821 
   14822 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   14823    find out it does not work in some platform. */
   14824 #ifndef LT_DLLAZY_OR_NOW
   14825 #  ifdef RTLD_LAZY
   14826 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   14827 #  else
   14828 #    ifdef DL_LAZY
   14829 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   14830 #    else
   14831 #      ifdef RTLD_NOW
   14832 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   14833 #      else
   14834 #        ifdef DL_NOW
   14835 #          define LT_DLLAZY_OR_NOW	DL_NOW
   14836 #        else
   14837 #          define LT_DLLAZY_OR_NOW	0
   14838 #        endif
   14839 #      endif
   14840 #    endif
   14841 #  endif
   14842 #endif
   14843 
   14844 /* When -fvisibility=hidden is used, assume the code has been annotated
   14845    correspondingly for the symbols needed.  */
   14846 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   14847 int fnord (void) __attribute__((visibility("default")));
   14848 #endif
   14849 
   14850 int fnord (void) { return 42; }
   14851 int main (void)
   14852 {
   14853   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   14854   int status = $lt_dlunknown;
   14855 
   14856   if (self)
   14857     {
   14858       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   14859       else
   14860         {
   14861 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   14862           else puts (dlerror ());
   14863 	}
   14864       /* dlclose (self); */
   14865     }
   14866   else
   14867     puts (dlerror ());
   14868 
   14869   return status;
   14870 }
   14871 _LT_EOF
   14872   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   14873   (eval $ac_link) 2>&5
   14874   ac_status=$?
   14875   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14876   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   14877     (./conftest; exit; ) >&5 2>/dev/null
   14878     lt_status=$?
   14879     case x$lt_status in
   14880       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   14881       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   14882       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   14883     esac
   14884   else :
   14885     # compilation failed
   14886     lt_cv_dlopen_self=no
   14887   fi
   14888 fi
   14889 rm -fr conftest*
   14890 
   14891      ;;
   14892 esac
   14893 fi
   14894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   14895 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   14896 
   14897     if test yes = "$lt_cv_dlopen_self"; then
   14898       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   14899       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   14900 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   14901 if test ${lt_cv_dlopen_self_static+y}
   14902 then :
   14903   printf %s "(cached) " >&6
   14904 else case e in #(
   14905   e) 	  if test yes = "$cross_compiling"; then :
   14906   lt_cv_dlopen_self_static=cross
   14907 else
   14908   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   14909   lt_status=$lt_dlunknown
   14910   cat > conftest.$ac_ext <<_LT_EOF
   14911 #line $LINENO "configure"
   14912 #include "confdefs.h"
   14913 
   14914 #if HAVE_DLFCN_H
   14915 #include <dlfcn.h>
   14916 #endif
   14917 
   14918 #include <stdio.h>
   14919 
   14920 #ifdef RTLD_GLOBAL
   14921 #  define LT_DLGLOBAL		RTLD_GLOBAL
   14922 #else
   14923 #  ifdef DL_GLOBAL
   14924 #    define LT_DLGLOBAL		DL_GLOBAL
   14925 #  else
   14926 #    define LT_DLGLOBAL		0
   14927 #  endif
   14928 #endif
   14929 
   14930 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   14931    find out it does not work in some platform. */
   14932 #ifndef LT_DLLAZY_OR_NOW
   14933 #  ifdef RTLD_LAZY
   14934 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   14935 #  else
   14936 #    ifdef DL_LAZY
   14937 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   14938 #    else
   14939 #      ifdef RTLD_NOW
   14940 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   14941 #      else
   14942 #        ifdef DL_NOW
   14943 #          define LT_DLLAZY_OR_NOW	DL_NOW
   14944 #        else
   14945 #          define LT_DLLAZY_OR_NOW	0
   14946 #        endif
   14947 #      endif
   14948 #    endif
   14949 #  endif
   14950 #endif
   14951 
   14952 /* When -fvisibility=hidden is used, assume the code has been annotated
   14953    correspondingly for the symbols needed.  */
   14954 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   14955 int fnord (void) __attribute__((visibility("default")));
   14956 #endif
   14957 
   14958 int fnord (void) { return 42; }
   14959 int main (void)
   14960 {
   14961   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   14962   int status = $lt_dlunknown;
   14963 
   14964   if (self)
   14965     {
   14966       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   14967       else
   14968         {
   14969 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   14970           else puts (dlerror ());
   14971 	}
   14972       /* dlclose (self); */
   14973     }
   14974   else
   14975     puts (dlerror ());
   14976 
   14977   return status;
   14978 }
   14979 _LT_EOF
   14980   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   14981   (eval $ac_link) 2>&5
   14982   ac_status=$?
   14983   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14984   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   14985     (./conftest; exit; ) >&5 2>/dev/null
   14986     lt_status=$?
   14987     case x$lt_status in
   14988       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   14989       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   14990       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   14991     esac
   14992   else :
   14993     # compilation failed
   14994     lt_cv_dlopen_self_static=no
   14995   fi
   14996 fi
   14997 rm -fr conftest*
   14998 
   14999        ;;
   15000 esac
   15001 fi
   15002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   15003 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   15004     fi
   15005 
   15006     CPPFLAGS=$save_CPPFLAGS
   15007     LDFLAGS=$save_LDFLAGS
   15008     LIBS=$save_LIBS
   15009     ;;
   15010   esac
   15011 
   15012   case $lt_cv_dlopen_self in
   15013   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   15014   *) enable_dlopen_self=unknown ;;
   15015   esac
   15016 
   15017   case $lt_cv_dlopen_self_static in
   15018   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   15019   *) enable_dlopen_self_static=unknown ;;
   15020   esac
   15021 fi
   15022 
   15023 
   15024 
   15025 
   15026 
   15027 
   15028 
   15029 
   15030 
   15031 
   15032 
   15033 
   15034 
   15035 
   15036 
   15037 
   15038 
   15039 striplib=
   15040 old_striplib=
   15041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   15042 printf %s "checking whether stripping libraries is possible... " >&6; }
   15043 if test -z "$STRIP"; then
   15044   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15045 printf "%s\n" "no" >&6; }
   15046 else
   15047   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   15048     old_striplib="$STRIP --strip-debug"
   15049     striplib="$STRIP --strip-unneeded"
   15050     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15051 printf "%s\n" "yes" >&6; }
   15052   else
   15053     case $host_os in
   15054     darwin*)
   15055       # FIXME - insert some real tests, host_os isn't really good enough
   15056       striplib="$STRIP -x"
   15057       old_striplib="$STRIP -S"
   15058       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15059 printf "%s\n" "yes" >&6; }
   15060       ;;
   15061     freebsd*)
   15062       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   15063         old_striplib="$STRIP --strip-debug"
   15064         striplib="$STRIP --strip-unneeded"
   15065         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15066 printf "%s\n" "yes" >&6; }
   15067       else
   15068         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15069 printf "%s\n" "no" >&6; }
   15070       fi
   15071       ;;
   15072     *)
   15073       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15074 printf "%s\n" "no" >&6; }
   15075       ;;
   15076     esac
   15077   fi
   15078 fi
   15079 
   15080 
   15081 
   15082 
   15083 
   15084 
   15085 
   15086 
   15087 
   15088 
   15089 
   15090 
   15091   # Report what library types will actually be built
   15092   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   15093 printf %s "checking if libtool supports shared libraries... " >&6; }
   15094   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   15095 printf "%s\n" "$can_build_shared" >&6; }
   15096 
   15097   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   15098 printf %s "checking whether to build shared libraries... " >&6; }
   15099   test no = "$can_build_shared" && enable_shared=no
   15100 
   15101   # On AIX, shared libraries and static libraries use the same namespace, and
   15102   # are all built from PIC.
   15103   case $host_os in
   15104   aix3*)
   15105     test yes = "$enable_shared" && enable_static=no
   15106     if test -n "$RANLIB"; then
   15107       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   15108       postinstall_cmds='$RANLIB $lib'
   15109     fi
   15110     ;;
   15111 
   15112   aix[4-9]*)
   15113     if test ia64 != "$host_cpu"; then
   15114       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   15115       yes,aix,yes) ;;			# shared object as lib.so file only
   15116       yes,svr4,*) ;;			# shared object as lib.so archive member only
   15117       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   15118       esac
   15119     fi
   15120     ;;
   15121   esac
   15122   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   15123 printf "%s\n" "$enable_shared" >&6; }
   15124 
   15125   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   15126 printf %s "checking whether to build static libraries... " >&6; }
   15127   # Make sure either enable_shared or enable_static is yes.
   15128   test yes = "$enable_shared" || enable_static=yes
   15129   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   15130 printf "%s\n" "$enable_static" >&6; }
   15131 
   15132 
   15133 
   15134 
   15135 fi
   15136 ac_ext=c
   15137 ac_cpp='$CPP $CPPFLAGS'
   15138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15141 
   15142 CC=$lt_save_CC
   15143 
   15144 
   15145 
   15146 
   15147 
   15148 
   15149 
   15150 
   15151 
   15152 
   15153 
   15154 
   15155 
   15156 
   15157 
   15158 
   15159 
   15160 
   15161 
   15162 
   15163 
   15164 
   15165         ac_config_commands="$ac_config_commands libtool"
   15166 
   15167 
   15168 
   15169 
   15170 # Only expand once:
   15171 
   15172 
   15173 
   15174 
   15175 
   15176 
   15177 
   15178 ac_ext=c
   15179 ac_cpp='$CPP $CPPFLAGS'
   15180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15183 
   15184 
   15185 
   15186 if test "${ac_cv_prog_cc_c99}" = no
   15187 then :
   15188   as_fn_error $? "Expat requires a C99 compiler." "$LINENO" 5
   15189 fi
   15190 
   15191 if test "$GCC" = yes
   15192 then :
   15193 
   15194 
   15195 
   15196 
   15197 for flag in -Wall -Wextra; do
   15198   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | sed "$as_sed_sh"`
   15199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
   15200 printf %s "checking whether C compiler accepts $flag... " >&6; }
   15201 if eval test \${$as_CACHEVAR+y}
   15202 then :
   15203   printf %s "(cached) " >&6
   15204 else case e in #(
   15205   e)
   15206   ax_check_save_flags=$CFLAGS
   15207   CFLAGS="$CFLAGS  -Werror $flag"
   15208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15209 /* end confdefs.h.  */
   15210 int main(void) { return 0; }
   15211 _ACEOF
   15212 if ac_fn_c_try_compile "$LINENO"
   15213 then :
   15214   eval "$as_CACHEVAR=yes"
   15215 else case e in #(
   15216   e) eval "$as_CACHEVAR=no" ;;
   15217 esac
   15218 fi
   15219 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15220   CFLAGS=$ax_check_save_flags ;;
   15221 esac
   15222 fi
   15223 eval ac_res=\$$as_CACHEVAR
   15224 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   15225 printf "%s\n" "$ac_res" >&6; }
   15226 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   15227 then :
   15228 
   15229 if test ${AM_CFLAGS+y}
   15230 then :
   15231 
   15232   case " $AM_CFLAGS " in #(
   15233   *" $flag "*) :
   15234     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains \$flag"; } >&5
   15235   (: AM_CFLAGS already contains $flag) 2>&5
   15236   ac_status=$?
   15237   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15238   test $ac_status = 0; } ;; #(
   15239   *) :
   15240 
   15241      as_fn_append AM_CFLAGS " $flag"
   15242      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   15243   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   15244   ac_status=$?
   15245   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15246   test $ac_status = 0; }
   15247      ;;
   15248 esac
   15249 
   15250 else case e in #(
   15251   e)
   15252   AM_CFLAGS=$flag
   15253   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   15254   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   15255   ac_status=$?
   15256   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15257   test $ac_status = 0; }
   15258    ;;
   15259 esac
   15260 fi
   15261 
   15262 else case e in #(
   15263   e) : ;;
   15264 esac
   15265 fi
   15266 
   15267 done
   15268 
   15269 
   15270 
   15271 
   15272 
   15273 for flag in -fexceptions; do
   15274   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | sed "$as_sed_sh"`
   15275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
   15276 printf %s "checking whether C compiler accepts $flag... " >&6; }
   15277 if eval test \${$as_CACHEVAR+y}
   15278 then :
   15279   printf %s "(cached) " >&6
   15280 else case e in #(
   15281   e)
   15282   ax_check_save_flags=$CFLAGS
   15283   CFLAGS="$CFLAGS  -Werror $flag"
   15284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15285 /* end confdefs.h.  */
   15286 int main(void) { return 0; }
   15287 _ACEOF
   15288 if ac_fn_c_try_compile "$LINENO"
   15289 then :
   15290   eval "$as_CACHEVAR=yes"
   15291 else case e in #(
   15292   e) eval "$as_CACHEVAR=no" ;;
   15293 esac
   15294 fi
   15295 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15296   CFLAGS=$ax_check_save_flags ;;
   15297 esac
   15298 fi
   15299 eval ac_res=\$$as_CACHEVAR
   15300 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   15301 printf "%s\n" "$ac_res" >&6; }
   15302 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   15303 then :
   15304 
   15305 if test ${AM_CFLAGS+y}
   15306 then :
   15307 
   15308   case " $AM_CFLAGS " in #(
   15309   *" $flag "*) :
   15310     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains \$flag"; } >&5
   15311   (: AM_CFLAGS already contains $flag) 2>&5
   15312   ac_status=$?
   15313   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15314   test $ac_status = 0; } ;; #(
   15315   *) :
   15316 
   15317      as_fn_append AM_CFLAGS " $flag"
   15318      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   15319   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   15320   ac_status=$?
   15321   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15322   test $ac_status = 0; }
   15323      ;;
   15324 esac
   15325 
   15326 else case e in #(
   15327   e)
   15328   AM_CFLAGS=$flag
   15329   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   15330   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   15331   ac_status=$?
   15332   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15333   test $ac_status = 0; }
   15334    ;;
   15335 esac
   15336 fi
   15337 
   15338 else case e in #(
   15339   e) : ;;
   15340 esac
   15341 fi
   15342 
   15343 done
   15344 
   15345 
   15346 
   15347 
   15348 
   15349 for flag in -Wstrict-aliasing=3 -Wmissing-prototypes -Wstrict-prototypes; do
   15350   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | sed "$as_sed_sh"`
   15351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
   15352 printf %s "checking whether C compiler accepts $flag... " >&6; }
   15353 if eval test \${$as_CACHEVAR+y}
   15354 then :
   15355   printf %s "(cached) " >&6
   15356 else case e in #(
   15357   e)
   15358   ax_check_save_flags=$CFLAGS
   15359   CFLAGS="$CFLAGS  -Werror $flag"
   15360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15361 /* end confdefs.h.  */
   15362 int main(void) { return 0; }
   15363 _ACEOF
   15364 if ac_fn_c_try_compile "$LINENO"
   15365 then :
   15366   eval "$as_CACHEVAR=yes"
   15367 else case e in #(
   15368   e) eval "$as_CACHEVAR=no" ;;
   15369 esac
   15370 fi
   15371 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15372   CFLAGS=$ax_check_save_flags ;;
   15373 esac
   15374 fi
   15375 eval ac_res=\$$as_CACHEVAR
   15376 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   15377 printf "%s\n" "$ac_res" >&6; }
   15378 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   15379 then :
   15380 
   15381 if test ${AM_CFLAGS+y}
   15382 then :
   15383 
   15384   case " $AM_CFLAGS " in #(
   15385   *" $flag "*) :
   15386     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains \$flag"; } >&5
   15387   (: AM_CFLAGS already contains $flag) 2>&5
   15388   ac_status=$?
   15389   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15390   test $ac_status = 0; } ;; #(
   15391   *) :
   15392 
   15393      as_fn_append AM_CFLAGS " $flag"
   15394      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   15395   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   15396   ac_status=$?
   15397   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15398   test $ac_status = 0; }
   15399      ;;
   15400 esac
   15401 
   15402 else case e in #(
   15403   e)
   15404   AM_CFLAGS=$flag
   15405   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   15406   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   15407   ac_status=$?
   15408   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15409   test $ac_status = 0; }
   15410    ;;
   15411 esac
   15412 fi
   15413 
   15414 else case e in #(
   15415   e) : ;;
   15416 esac
   15417 fi
   15418 
   15419 done
   15420 
   15421 
   15422 
   15423 
   15424 
   15425 for flag in -pedantic -Wduplicated-cond -Wduplicated-branches -Wlogical-op; do
   15426   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | sed "$as_sed_sh"`
   15427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
   15428 printf %s "checking whether C compiler accepts $flag... " >&6; }
   15429 if eval test \${$as_CACHEVAR+y}
   15430 then :
   15431   printf %s "(cached) " >&6
   15432 else case e in #(
   15433   e)
   15434   ax_check_save_flags=$CFLAGS
   15435   CFLAGS="$CFLAGS  -Werror $flag"
   15436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15437 /* end confdefs.h.  */
   15438 int main(void) { return 0; }
   15439 _ACEOF
   15440 if ac_fn_c_try_compile "$LINENO"
   15441 then :
   15442   eval "$as_CACHEVAR=yes"
   15443 else case e in #(
   15444   e) eval "$as_CACHEVAR=no" ;;
   15445 esac
   15446 fi
   15447 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15448   CFLAGS=$ax_check_save_flags ;;
   15449 esac
   15450 fi
   15451 eval ac_res=\$$as_CACHEVAR
   15452 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   15453 printf "%s\n" "$ac_res" >&6; }
   15454 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   15455 then :
   15456 
   15457 if test ${AM_CFLAGS+y}
   15458 then :
   15459 
   15460   case " $AM_CFLAGS " in #(
   15461   *" $flag "*) :
   15462     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains \$flag"; } >&5
   15463   (: AM_CFLAGS already contains $flag) 2>&5
   15464   ac_status=$?
   15465   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15466   test $ac_status = 0; } ;; #(
   15467   *) :
   15468 
   15469      as_fn_append AM_CFLAGS " $flag"
   15470      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   15471   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   15472   ac_status=$?
   15473   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15474   test $ac_status = 0; }
   15475      ;;
   15476 esac
   15477 
   15478 else case e in #(
   15479   e)
   15480   AM_CFLAGS=$flag
   15481   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   15482   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   15483   ac_status=$?
   15484   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15485   test $ac_status = 0; }
   15486    ;;
   15487 esac
   15488 fi
   15489 
   15490 else case e in #(
   15491   e) : ;;
   15492 esac
   15493 fi
   15494 
   15495 done
   15496 
   15497 
   15498 
   15499 
   15500 
   15501 for flag in -Wrestrict -Wnull-dereference -Wjump-misses-init -Wdouble-promotion; do
   15502   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | sed "$as_sed_sh"`
   15503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
   15504 printf %s "checking whether C compiler accepts $flag... " >&6; }
   15505 if eval test \${$as_CACHEVAR+y}
   15506 then :
   15507   printf %s "(cached) " >&6
   15508 else case e in #(
   15509   e)
   15510   ax_check_save_flags=$CFLAGS
   15511   CFLAGS="$CFLAGS  -Werror $flag"
   15512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15513 /* end confdefs.h.  */
   15514 int main(void) { return 0; }
   15515 _ACEOF
   15516 if ac_fn_c_try_compile "$LINENO"
   15517 then :
   15518   eval "$as_CACHEVAR=yes"
   15519 else case e in #(
   15520   e) eval "$as_CACHEVAR=no" ;;
   15521 esac
   15522 fi
   15523 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15524   CFLAGS=$ax_check_save_flags ;;
   15525 esac
   15526 fi
   15527 eval ac_res=\$$as_CACHEVAR
   15528 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   15529 printf "%s\n" "$ac_res" >&6; }
   15530 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   15531 then :
   15532 
   15533 if test ${AM_CFLAGS+y}
   15534 then :
   15535 
   15536   case " $AM_CFLAGS " in #(
   15537   *" $flag "*) :
   15538     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains \$flag"; } >&5
   15539   (: AM_CFLAGS already contains $flag) 2>&5
   15540   ac_status=$?
   15541   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15542   test $ac_status = 0; } ;; #(
   15543   *) :
   15544 
   15545      as_fn_append AM_CFLAGS " $flag"
   15546      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   15547   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   15548   ac_status=$?
   15549   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15550   test $ac_status = 0; }
   15551      ;;
   15552 esac
   15553 
   15554 else case e in #(
   15555   e)
   15556   AM_CFLAGS=$flag
   15557   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   15558   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   15559   ac_status=$?
   15560   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15561   test $ac_status = 0; }
   15562    ;;
   15563 esac
   15564 fi
   15565 
   15566 else case e in #(
   15567   e) : ;;
   15568 esac
   15569 fi
   15570 
   15571 done
   15572 
   15573 
   15574 
   15575 
   15576 
   15577 for flag in -Wshadow -Wformat=2 -Wmisleading-indentation; do
   15578   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | sed "$as_sed_sh"`
   15579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
   15580 printf %s "checking whether C compiler accepts $flag... " >&6; }
   15581 if eval test \${$as_CACHEVAR+y}
   15582 then :
   15583   printf %s "(cached) " >&6
   15584 else case e in #(
   15585   e)
   15586   ax_check_save_flags=$CFLAGS
   15587   CFLAGS="$CFLAGS  -Werror $flag"
   15588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15589 /* end confdefs.h.  */
   15590 int main(void) { return 0; }
   15591 _ACEOF
   15592 if ac_fn_c_try_compile "$LINENO"
   15593 then :
   15594   eval "$as_CACHEVAR=yes"
   15595 else case e in #(
   15596   e) eval "$as_CACHEVAR=no" ;;
   15597 esac
   15598 fi
   15599 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15600   CFLAGS=$ax_check_save_flags ;;
   15601 esac
   15602 fi
   15603 eval ac_res=\$$as_CACHEVAR
   15604 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   15605 printf "%s\n" "$ac_res" >&6; }
   15606 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   15607 then :
   15608 
   15609 if test ${AM_CFLAGS+y}
   15610 then :
   15611 
   15612   case " $AM_CFLAGS " in #(
   15613   *" $flag "*) :
   15614     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains \$flag"; } >&5
   15615   (: AM_CFLAGS already contains $flag) 2>&5
   15616   ac_status=$?
   15617   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15618   test $ac_status = 0; } ;; #(
   15619   *) :
   15620 
   15621      as_fn_append AM_CFLAGS " $flag"
   15622      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   15623   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   15624   ac_status=$?
   15625   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15626   test $ac_status = 0; }
   15627      ;;
   15628 esac
   15629 
   15630 else case e in #(
   15631   e)
   15632   AM_CFLAGS=$flag
   15633   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   15634   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   15635   ac_status=$?
   15636   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15637   test $ac_status = 0; }
   15638    ;;
   15639 esac
   15640 fi
   15641 
   15642 else case e in #(
   15643   e) : ;;
   15644 esac
   15645 fi
   15646 
   15647 done
   15648 
   15649    case "${host_os}" in #(
   15650   mingw*) :
   15651 
   15652 
   15653 
   15654 
   15655 for flag in -Wno-pedantic-ms-format; do
   15656   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | sed "$as_sed_sh"`
   15657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
   15658 printf %s "checking whether C compiler accepts $flag... " >&6; }
   15659 if eval test \${$as_CACHEVAR+y}
   15660 then :
   15661   printf %s "(cached) " >&6
   15662 else case e in #(
   15663   e)
   15664   ax_check_save_flags=$CFLAGS
   15665   CFLAGS="$CFLAGS  -Werror $flag"
   15666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15667 /* end confdefs.h.  */
   15668 int main(void) { return 0; }
   15669 _ACEOF
   15670 if ac_fn_c_try_compile "$LINENO"
   15671 then :
   15672   eval "$as_CACHEVAR=yes"
   15673 else case e in #(
   15674   e) eval "$as_CACHEVAR=no" ;;
   15675 esac
   15676 fi
   15677 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15678   CFLAGS=$ax_check_save_flags ;;
   15679 esac
   15680 fi
   15681 eval ac_res=\$$as_CACHEVAR
   15682 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   15683 printf "%s\n" "$ac_res" >&6; }
   15684 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   15685 then :
   15686 
   15687 if test ${AM_CFLAGS+y}
   15688 then :
   15689 
   15690   case " $AM_CFLAGS " in #(
   15691   *" $flag "*) :
   15692     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains \$flag"; } >&5
   15693   (: AM_CFLAGS already contains $flag) 2>&5
   15694   ac_status=$?
   15695   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15696   test $ac_status = 0; } ;; #(
   15697   *) :
   15698 
   15699      as_fn_append AM_CFLAGS " $flag"
   15700      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   15701   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   15702   ac_status=$?
   15703   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15704   test $ac_status = 0; }
   15705      ;;
   15706 esac
   15707 
   15708 else case e in #(
   15709   e)
   15710   AM_CFLAGS=$flag
   15711   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   15712   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   15713   ac_status=$?
   15714   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15715   test $ac_status = 0; }
   15716    ;;
   15717 esac
   15718 fi
   15719 
   15720 else case e in #(
   15721   e) : ;;
   15722 esac
   15723 fi
   15724 
   15725 done
   15726  ;; #(
   15727   *) :
   15728      ;;
   15729 esac
   15730 
   15731 fi
   15732 
   15733 ac_ext=cpp
   15734 ac_cpp='$CXXCPP $CPPFLAGS'
   15735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   15738 
   15739 
   15740 
   15741 
   15742 
   15743 
   15744 
   15745 ac_ext=cpp
   15746 ac_cpp='$CXXCPP $CPPFLAGS'
   15747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   15750 if test -z "$CXX"; then
   15751   if test -n "$CCC"; then
   15752     CXX=$CCC
   15753   else
   15754     if test -n "$ac_tool_prefix"; then
   15755   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
   15756   do
   15757     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   15758 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   15759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15760 printf %s "checking for $ac_word... " >&6; }
   15761 if test ${ac_cv_prog_CXX+y}
   15762 then :
   15763   printf %s "(cached) " >&6
   15764 else case e in #(
   15765   e) if test -n "$CXX"; then
   15766   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   15767 else
   15768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15769 for as_dir in $PATH
   15770 do
   15771   IFS=$as_save_IFS
   15772   case $as_dir in #(((
   15773     '') as_dir=./ ;;
   15774     */) ;;
   15775     *) as_dir=$as_dir/ ;;
   15776   esac
   15777     for ac_exec_ext in '' $ac_executable_extensions; do
   15778   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15779     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   15780     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15781     break 2
   15782   fi
   15783 done
   15784   done
   15785 IFS=$as_save_IFS
   15786 
   15787 fi ;;
   15788 esac
   15789 fi
   15790 CXX=$ac_cv_prog_CXX
   15791 if test -n "$CXX"; then
   15792   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   15793 printf "%s\n" "$CXX" >&6; }
   15794 else
   15795   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15796 printf "%s\n" "no" >&6; }
   15797 fi
   15798 
   15799 
   15800     test -n "$CXX" && break
   15801   done
   15802 fi
   15803 if test -z "$CXX"; then
   15804   ac_ct_CXX=$CXX
   15805   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
   15806 do
   15807   # Extract the first word of "$ac_prog", so it can be a program name with args.
   15808 set dummy $ac_prog; ac_word=$2
   15809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15810 printf %s "checking for $ac_word... " >&6; }
   15811 if test ${ac_cv_prog_ac_ct_CXX+y}
   15812 then :
   15813   printf %s "(cached) " >&6
   15814 else case e in #(
   15815   e) if test -n "$ac_ct_CXX"; then
   15816   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   15817 else
   15818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15819 for as_dir in $PATH
   15820 do
   15821   IFS=$as_save_IFS
   15822   case $as_dir in #(((
   15823     '') as_dir=./ ;;
   15824     */) ;;
   15825     *) as_dir=$as_dir/ ;;
   15826   esac
   15827     for ac_exec_ext in '' $ac_executable_extensions; do
   15828   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15829     ac_cv_prog_ac_ct_CXX="$ac_prog"
   15830     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15831     break 2
   15832   fi
   15833 done
   15834   done
   15835 IFS=$as_save_IFS
   15836 
   15837 fi ;;
   15838 esac
   15839 fi
   15840 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   15841 if test -n "$ac_ct_CXX"; then
   15842   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   15843 printf "%s\n" "$ac_ct_CXX" >&6; }
   15844 else
   15845   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15846 printf "%s\n" "no" >&6; }
   15847 fi
   15848 
   15849 
   15850   test -n "$ac_ct_CXX" && break
   15851 done
   15852 
   15853   if test "x$ac_ct_CXX" = x; then
   15854     CXX="g++"
   15855   else
   15856     case $cross_compiling:$ac_tool_warned in
   15857 yes:)
   15858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15859 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15860 ac_tool_warned=yes ;;
   15861 esac
   15862     CXX=$ac_ct_CXX
   15863   fi
   15864 fi
   15865 
   15866   fi
   15867 fi
   15868 # Provide some information about the compiler.
   15869 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   15870 set X $ac_compile
   15871 ac_compiler=$2
   15872 for ac_option in --version -v -V -qversion; do
   15873   { { ac_try="$ac_compiler $ac_option >&5"
   15874 case "(($ac_try" in
   15875   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15876   *) ac_try_echo=$ac_try;;
   15877 esac
   15878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   15879 printf "%s\n" "$ac_try_echo"; } >&5
   15880   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   15881   ac_status=$?
   15882   if test -s conftest.err; then
   15883     sed '10a\
   15884 ... rest of stderr output deleted ...
   15885          10q' conftest.err >conftest.er1
   15886     cat conftest.er1 >&5
   15887   fi
   15888   rm -f conftest.er1 conftest.err
   15889   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15890   test $ac_status = 0; }
   15891 done
   15892 
   15893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
   15894 printf %s "checking whether the compiler supports GNU C++... " >&6; }
   15895 if test ${ac_cv_cxx_compiler_gnu+y}
   15896 then :
   15897   printf %s "(cached) " >&6
   15898 else case e in #(
   15899   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15900 /* end confdefs.h.  */
   15901 
   15902 int
   15903 main (void)
   15904 {
   15905 #ifndef __GNUC__
   15906        choke me
   15907 #endif
   15908 
   15909   ;
   15910   return 0;
   15911 }
   15912 _ACEOF
   15913 if ac_fn_cxx_try_compile "$LINENO"
   15914 then :
   15915   ac_compiler_gnu=yes
   15916 else case e in #(
   15917   e) ac_compiler_gnu=no ;;
   15918 esac
   15919 fi
   15920 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15921 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   15922  ;;
   15923 esac
   15924 fi
   15925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   15926 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
   15927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   15928 
   15929 if test $ac_compiler_gnu = yes; then
   15930   GXX=yes
   15931 else
   15932   GXX=
   15933 fi
   15934 ac_test_CXXFLAGS=${CXXFLAGS+y}
   15935 ac_save_CXXFLAGS=$CXXFLAGS
   15936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   15937 printf %s "checking whether $CXX accepts -g... " >&6; }
   15938 if test ${ac_cv_prog_cxx_g+y}
   15939 then :
   15940   printf %s "(cached) " >&6
   15941 else case e in #(
   15942   e) ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   15943    ac_cxx_werror_flag=yes
   15944    ac_cv_prog_cxx_g=no
   15945    CXXFLAGS="-g"
   15946    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15947 /* end confdefs.h.  */
   15948 
   15949 int
   15950 main (void)
   15951 {
   15952 
   15953   ;
   15954   return 0;
   15955 }
   15956 _ACEOF
   15957 if ac_fn_cxx_try_compile "$LINENO"
   15958 then :
   15959   ac_cv_prog_cxx_g=yes
   15960 else case e in #(
   15961   e) CXXFLAGS=""
   15962       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15963 /* end confdefs.h.  */
   15964 
   15965 int
   15966 main (void)
   15967 {
   15968 
   15969   ;
   15970   return 0;
   15971 }
   15972 _ACEOF
   15973 if ac_fn_cxx_try_compile "$LINENO"
   15974 then :
   15975 
   15976 else case e in #(
   15977   e) ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   15978 	 CXXFLAGS="-g"
   15979 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15980 /* end confdefs.h.  */
   15981 
   15982 int
   15983 main (void)
   15984 {
   15985 
   15986   ;
   15987   return 0;
   15988 }
   15989 _ACEOF
   15990 if ac_fn_cxx_try_compile "$LINENO"
   15991 then :
   15992   ac_cv_prog_cxx_g=yes
   15993 fi
   15994 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15995 esac
   15996 fi
   15997 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15998 esac
   15999 fi
   16000 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16001    ac_cxx_werror_flag=$ac_save_cxx_werror_flag ;;
   16002 esac
   16003 fi
   16004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   16005 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
   16006 if test $ac_test_CXXFLAGS; then
   16007   CXXFLAGS=$ac_save_CXXFLAGS
   16008 elif test $ac_cv_prog_cxx_g = yes; then
   16009   if test "$GXX" = yes; then
   16010     CXXFLAGS="-g -O2"
   16011   else
   16012     CXXFLAGS="-g"
   16013   fi
   16014 else
   16015   if test "$GXX" = yes; then
   16016     CXXFLAGS="-O2"
   16017   else
   16018     CXXFLAGS=
   16019   fi
   16020 fi
   16021 ac_prog_cxx_stdcxx=no
   16022 if test x$ac_prog_cxx_stdcxx = xno
   16023 then :
   16024   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
   16025 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
   16026 if test ${ac_cv_prog_cxx_cxx11+y}
   16027 then :
   16028   printf %s "(cached) " >&6
   16029 else case e in #(
   16030   e) ac_cv_prog_cxx_cxx11=no
   16031 ac_save_CXX=$CXX
   16032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16033 /* end confdefs.h.  */
   16034 $ac_cxx_conftest_cxx11_program
   16035 _ACEOF
   16036 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
   16037 do
   16038   CXX="$ac_save_CXX $ac_arg"
   16039   if ac_fn_cxx_try_compile "$LINENO"
   16040 then :
   16041   ac_cv_prog_cxx_cxx11=$ac_arg
   16042 fi
   16043 rm -f core conftest.err conftest.$ac_objext conftest.beam
   16044   test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
   16045 done
   16046 rm -f conftest.$ac_ext
   16047 CXX=$ac_save_CXX ;;
   16048 esac
   16049 fi
   16050 
   16051 if test "x$ac_cv_prog_cxx_cxx11" = xno
   16052 then :
   16053   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   16054 printf "%s\n" "unsupported" >&6; }
   16055 else case e in #(
   16056   e) if test "x$ac_cv_prog_cxx_cxx11" = x
   16057 then :
   16058   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   16059 printf "%s\n" "none needed" >&6; }
   16060 else case e in #(
   16061   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
   16062 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
   16063      CXX="$CXX $ac_cv_prog_cxx_cxx11" ;;
   16064 esac
   16065 fi
   16066   ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
   16067   ac_prog_cxx_stdcxx=cxx11 ;;
   16068 esac
   16069 fi
   16070 fi
   16071 if test x$ac_prog_cxx_stdcxx = xno
   16072 then :
   16073   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
   16074 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
   16075 if test ${ac_cv_prog_cxx_cxx98+y}
   16076 then :
   16077   printf %s "(cached) " >&6
   16078 else case e in #(
   16079   e) ac_cv_prog_cxx_cxx98=no
   16080 ac_save_CXX=$CXX
   16081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16082 /* end confdefs.h.  */
   16083 $ac_cxx_conftest_cxx98_program
   16084 _ACEOF
   16085 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
   16086 do
   16087   CXX="$ac_save_CXX $ac_arg"
   16088   if ac_fn_cxx_try_compile "$LINENO"
   16089 then :
   16090   ac_cv_prog_cxx_cxx98=$ac_arg
   16091 fi
   16092 rm -f core conftest.err conftest.$ac_objext conftest.beam
   16093   test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
   16094 done
   16095 rm -f conftest.$ac_ext
   16096 CXX=$ac_save_CXX ;;
   16097 esac
   16098 fi
   16099 
   16100 if test "x$ac_cv_prog_cxx_cxx98" = xno
   16101 then :
   16102   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   16103 printf "%s\n" "unsupported" >&6; }
   16104 else case e in #(
   16105   e) if test "x$ac_cv_prog_cxx_cxx98" = x
   16106 then :
   16107   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   16108 printf "%s\n" "none needed" >&6; }
   16109 else case e in #(
   16110   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
   16111 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
   16112      CXX="$CXX $ac_cv_prog_cxx_cxx98" ;;
   16113 esac
   16114 fi
   16115   ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
   16116   ac_prog_cxx_stdcxx=cxx98 ;;
   16117 esac
   16118 fi
   16119 fi
   16120 
   16121 ac_ext=cpp
   16122 ac_cpp='$CXXCPP $CPPFLAGS'
   16123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   16126 
   16127 depcc="$CXX"  am_compiler_list=
   16128 
   16129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   16130 printf %s "checking dependency style of $depcc... " >&6; }
   16131 if test ${am_cv_CXX_dependencies_compiler_type+y}
   16132 then :
   16133   printf %s "(cached) " >&6
   16134 else case e in #(
   16135   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   16136   # We make a subdir and do the tests there.  Otherwise we can end up
   16137   # making bogus files that we don't know about and never remove.  For
   16138   # instance it was reported that on HP-UX the gcc test will end up
   16139   # making a dummy file named 'D' -- because '-MD' means "put the output
   16140   # in D".
   16141   rm -rf conftest.dir
   16142   mkdir conftest.dir
   16143   # Copy depcomp to subdir because otherwise we won't find it if we're
   16144   # using a relative directory.
   16145   cp "$am_depcomp" conftest.dir
   16146   cd conftest.dir
   16147   # We will build objects and dependencies in a subdirectory because
   16148   # it helps to detect inapplicable dependency modes.  For instance
   16149   # both Tru64's cc and ICC support -MD to output dependencies as a
   16150   # side effect of compilation, but ICC will put the dependencies in
   16151   # the current directory while Tru64 will put them in the object
   16152   # directory.
   16153   mkdir sub
   16154 
   16155   am_cv_CXX_dependencies_compiler_type=none
   16156   if test "$am_compiler_list" = ""; then
   16157      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   16158   fi
   16159   am__universal=false
   16160   case " $depcc " in #(
   16161      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   16162      esac
   16163 
   16164   for depmode in $am_compiler_list; do
   16165     # Setup a source with many dependencies, because some compilers
   16166     # like to wrap large dependency lists on column 80 (with \), and
   16167     # we should not choose a depcomp mode which is confused by this.
   16168     #
   16169     # We need to recreate these files for each test, as the compiler may
   16170     # overwrite some of them when testing with obscure command lines.
   16171     # This happens at least with the AIX C compiler.
   16172     : > sub/conftest.c
   16173     for i in 1 2 3 4 5 6; do
   16174       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   16175       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   16176       # Solaris 10 /bin/sh.
   16177       echo '/* dummy */' > sub/conftst$i.h
   16178     done
   16179     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   16180 
   16181     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   16182     # mode.  It turns out that the SunPro C++ compiler does not properly
   16183     # handle '-M -o', and we need to detect this.  Also, some Intel
   16184     # versions had trouble with output in subdirs.
   16185     am__obj=sub/conftest.${OBJEXT-o}
   16186     am__minus_obj="-o $am__obj"
   16187     case $depmode in
   16188     gcc)
   16189       # This depmode causes a compiler race in universal mode.
   16190       test "$am__universal" = false || continue
   16191       ;;
   16192     nosideeffect)
   16193       # After this tag, mechanisms are not by side-effect, so they'll
   16194       # only be used when explicitly requested.
   16195       if test "x$enable_dependency_tracking" = xyes; then
   16196 	continue
   16197       else
   16198 	break
   16199       fi
   16200       ;;
   16201     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   16202       # This compiler won't grok '-c -o', but also, the minuso test has
   16203       # not run yet.  These depmodes are late enough in the game, and
   16204       # so weak that their functioning should not be impacted.
   16205       am__obj=conftest.${OBJEXT-o}
   16206       am__minus_obj=
   16207       ;;
   16208     none) break ;;
   16209     esac
   16210     if depmode=$depmode \
   16211        source=sub/conftest.c object=$am__obj \
   16212        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   16213        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   16214          >/dev/null 2>conftest.err &&
   16215        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   16216        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   16217        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   16218        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   16219       # icc doesn't choke on unknown options, it will just issue warnings
   16220       # or remarks (even with -Werror).  So we grep stderr for any message
   16221       # that says an option was ignored or not supported.
   16222       # When given -MP, icc 7.0 and 7.1 complain thus:
   16223       #   icc: Command line warning: ignoring option '-M'; no argument required
   16224       # The diagnosis changed in icc 8.0:
   16225       #   icc: Command line remark: option '-MP' not supported
   16226       if (grep 'ignoring option' conftest.err ||
   16227           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   16228         am_cv_CXX_dependencies_compiler_type=$depmode
   16229         break
   16230       fi
   16231     fi
   16232   done
   16233 
   16234   cd ..
   16235   rm -rf conftest.dir
   16236 else
   16237   am_cv_CXX_dependencies_compiler_type=none
   16238 fi
   16239  ;;
   16240 esac
   16241 fi
   16242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   16243 printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; }
   16244 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   16245 
   16246  if
   16247   test "x$enable_dependency_tracking" != xno \
   16248   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   16249   am__fastdepCXX_TRUE=
   16250   am__fastdepCXX_FALSE='#'
   16251 else
   16252   am__fastdepCXX_TRUE='#'
   16253   am__fastdepCXX_FALSE=
   16254 fi
   16255 
   16256 
   16257 
   16258 
   16259 func_stripname_cnf ()
   16260 {
   16261   case $2 in
   16262   .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
   16263   *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
   16264   esac
   16265 } # func_stripname_cnf
   16266 
   16267       if test -n "$CXX" && ( test no != "$CXX" &&
   16268     ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
   16269     (test g++ != "$CXX"))); then
   16270   ac_ext=cpp
   16271 ac_cpp='$CXXCPP $CPPFLAGS'
   16272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   16275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
   16276 printf %s "checking how to run the C++ preprocessor... " >&6; }
   16277 if test -z "$CXXCPP"; then
   16278   if test ${ac_cv_prog_CXXCPP+y}
   16279 then :
   16280   printf %s "(cached) " >&6
   16281 else case e in #(
   16282   e)     # Double quotes because $CXX needs to be expanded
   16283     for CXXCPP in "$CXX -E" cpp /lib/cpp
   16284     do
   16285       ac_preproc_ok=false
   16286 for ac_cxx_preproc_warn_flag in '' yes
   16287 do
   16288   # Use a header file that comes with gcc, so configuring glibc
   16289   # with a fresh cross-compiler works.
   16290   # On the NeXT, cc -E runs the code through the compiler's parser,
   16291   # not just through cpp. "Syntax error" is here to catch this case.
   16292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16293 /* end confdefs.h.  */
   16294 #include <limits.h>
   16295 		     Syntax error
   16296 _ACEOF
   16297 if ac_fn_cxx_try_cpp "$LINENO"
   16298 then :
   16299 
   16300 else case e in #(
   16301   e) # Broken: fails on valid input.
   16302 continue ;;
   16303 esac
   16304 fi
   16305 rm -f conftest.err conftest.i conftest.$ac_ext
   16306 
   16307   # OK, works on sane cases.  Now check whether nonexistent headers
   16308   # can be detected and how.
   16309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16310 /* end confdefs.h.  */
   16311 #include <ac_nonexistent.h>
   16312 _ACEOF
   16313 if ac_fn_cxx_try_cpp "$LINENO"
   16314 then :
   16315   # Broken: success on invalid input.
   16316 continue
   16317 else case e in #(
   16318   e) # Passes both tests.
   16319 ac_preproc_ok=:
   16320 break ;;
   16321 esac
   16322 fi
   16323 rm -f conftest.err conftest.i conftest.$ac_ext
   16324 
   16325 done
   16326 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   16327 rm -f conftest.i conftest.err conftest.$ac_ext
   16328 if $ac_preproc_ok
   16329 then :
   16330   break
   16331 fi
   16332 
   16333     done
   16334     ac_cv_prog_CXXCPP=$CXXCPP
   16335    ;;
   16336 esac
   16337 fi
   16338   CXXCPP=$ac_cv_prog_CXXCPP
   16339 else
   16340   ac_cv_prog_CXXCPP=$CXXCPP
   16341 fi
   16342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
   16343 printf "%s\n" "$CXXCPP" >&6; }
   16344 ac_preproc_ok=false
   16345 for ac_cxx_preproc_warn_flag in '' yes
   16346 do
   16347   # Use a header file that comes with gcc, so configuring glibc
   16348   # with a fresh cross-compiler works.
   16349   # On the NeXT, cc -E runs the code through the compiler's parser,
   16350   # not just through cpp. "Syntax error" is here to catch this case.
   16351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16352 /* end confdefs.h.  */
   16353 #include <limits.h>
   16354 		     Syntax error
   16355 _ACEOF
   16356 if ac_fn_cxx_try_cpp "$LINENO"
   16357 then :
   16358 
   16359 else case e in #(
   16360   e) # Broken: fails on valid input.
   16361 continue ;;
   16362 esac
   16363 fi
   16364 rm -f conftest.err conftest.i conftest.$ac_ext
   16365 
   16366   # OK, works on sane cases.  Now check whether nonexistent headers
   16367   # can be detected and how.
   16368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16369 /* end confdefs.h.  */
   16370 #include <ac_nonexistent.h>
   16371 _ACEOF
   16372 if ac_fn_cxx_try_cpp "$LINENO"
   16373 then :
   16374   # Broken: success on invalid input.
   16375 continue
   16376 else case e in #(
   16377   e) # Passes both tests.
   16378 ac_preproc_ok=:
   16379 break ;;
   16380 esac
   16381 fi
   16382 rm -f conftest.err conftest.i conftest.$ac_ext
   16383 
   16384 done
   16385 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   16386 rm -f conftest.i conftest.err conftest.$ac_ext
   16387 if $ac_preproc_ok
   16388 then :
   16389 
   16390 else case e in #(
   16391   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   16392 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   16393 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
   16394 See 'config.log' for more details" "$LINENO" 5; } ;;
   16395 esac
   16396 fi
   16397 
   16398 ac_ext=cpp
   16399 ac_cpp='$CXXCPP $CPPFLAGS'
   16400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   16403 
   16404 else
   16405   _lt_caught_CXX_error=yes
   16406 fi
   16407 
   16408 ac_ext=cpp
   16409 ac_cpp='$CXXCPP $CPPFLAGS'
   16410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   16413 
   16414 archive_cmds_need_lc_CXX=no
   16415 allow_undefined_flag_CXX=
   16416 always_export_symbols_CXX=no
   16417 archive_expsym_cmds_CXX=
   16418 compiler_needs_object_CXX=no
   16419 export_dynamic_flag_spec_CXX=
   16420 hardcode_direct_CXX=no
   16421 hardcode_direct_absolute_CXX=no
   16422 hardcode_libdir_flag_spec_CXX=
   16423 hardcode_libdir_separator_CXX=
   16424 hardcode_minus_L_CXX=no
   16425 hardcode_shlibpath_var_CXX=unsupported
   16426 hardcode_automatic_CXX=no
   16427 inherit_rpath_CXX=no
   16428 module_cmds_CXX=
   16429 module_expsym_cmds_CXX=
   16430 link_all_deplibs_CXX=unknown
   16431 old_archive_cmds_CXX=$old_archive_cmds
   16432 reload_flag_CXX=$reload_flag
   16433 reload_cmds_CXX=$reload_cmds
   16434 no_undefined_flag_CXX=
   16435 whole_archive_flag_spec_CXX=
   16436 enable_shared_with_static_runtimes_CXX=no
   16437 
   16438 # Source file extension for C++ test sources.
   16439 ac_ext=cpp
   16440 
   16441 # Object file extension for compiled C++ test sources.
   16442 objext=o
   16443 objext_CXX=$objext
   16444 
   16445 # No sense in running all these tests if we already determined that
   16446 # the CXX compiler isn't working.  Some variables (like enable_shared)
   16447 # are currently assumed to apply to all compilers on this platform,
   16448 # and will be corrupted by setting them based on a non-working compiler.
   16449 if test yes != "$_lt_caught_CXX_error"; then
   16450   # Code to be used in simple compile tests
   16451   lt_simple_compile_test_code="int some_variable = 0;"
   16452 
   16453   # Code to be used in simple link tests
   16454   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   16455 
   16456   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16457 
   16458 
   16459 
   16460 
   16461 
   16462 
   16463 # If no C compiler was specified, use CC.
   16464 LTCC=${LTCC-"$CC"}
   16465 
   16466 # If no C compiler flags were specified, use CFLAGS.
   16467 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16468 
   16469 # Allow CC to be a program name with arguments.
   16470 compiler=$CC
   16471 
   16472 
   16473   # save warnings/boilerplate of simple test code
   16474   ac_outfile=conftest.$ac_objext
   16475 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16476 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16477 _lt_compiler_boilerplate=`cat conftest.err`
   16478 $RM conftest*
   16479 
   16480   ac_outfile=conftest.$ac_objext
   16481 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16482 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16483 _lt_linker_boilerplate=`cat conftest.err`
   16484 $RM -r conftest*
   16485 
   16486 
   16487   # Allow CC to be a program name with arguments.
   16488   lt_save_CC=$CC
   16489   lt_save_CFLAGS=$CFLAGS
   16490   lt_save_LD=$LD
   16491   lt_save_GCC=$GCC
   16492   GCC=$GXX
   16493   lt_save_with_gnu_ld=$with_gnu_ld
   16494   lt_save_path_LD=$lt_cv_path_LD
   16495   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   16496     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   16497   else
   16498     $as_unset lt_cv_prog_gnu_ld
   16499   fi
   16500   if test -n "${lt_cv_path_LDCXX+set}"; then
   16501     lt_cv_path_LD=$lt_cv_path_LDCXX
   16502   else
   16503     $as_unset lt_cv_path_LD
   16504   fi
   16505   test -z "${LDCXX+set}" || LD=$LDCXX
   16506   CC=${CXX-"c++"}
   16507   CFLAGS=$CXXFLAGS
   16508   compiler=$CC
   16509   compiler_CXX=$CC
   16510   func_cc_basename $compiler
   16511 cc_basename=$func_cc_basename_result
   16512 
   16513 
   16514   if test -n "$compiler"; then
   16515     # We don't want -fno-exception when compiling C++ code, so set the
   16516     # no_builtin_flag separately
   16517     if test yes = "$GXX"; then
   16518       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   16519     else
   16520       lt_prog_compiler_no_builtin_flag_CXX=
   16521     fi
   16522 
   16523     if test yes = "$GXX"; then
   16524       # Set up default GNU C++ configuration
   16525 
   16526 
   16527 
   16528 # Check whether --with-gnu-ld was given.
   16529 if test ${with_gnu_ld+y}
   16530 then :
   16531   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   16532 else case e in #(
   16533   e) with_gnu_ld=no ;;
   16534 esac
   16535 fi
   16536 
   16537 ac_prog=ld
   16538 if test yes = "$GCC"; then
   16539   # Check if gcc -print-prog-name=ld gives a path.
   16540   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   16541 printf %s "checking for ld used by $CC... " >&6; }
   16542   case $host in
   16543   *-*-mingw* | *-*-windows*)
   16544     # gcc leaves a trailing carriage return, which upsets mingw
   16545     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   16546   *)
   16547     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   16548   esac
   16549   case $ac_prog in
   16550     # Accept absolute paths.
   16551     [\\/]* | ?:[\\/]*)
   16552       re_direlt='/[^/][^/]*/\.\./'
   16553       # Canonicalize the pathname of ld
   16554       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   16555       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   16556 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   16557       done
   16558       test -z "$LD" && LD=$ac_prog
   16559       ;;
   16560   "")
   16561     # If it fails, then pretend we aren't using GCC.
   16562     ac_prog=ld
   16563     ;;
   16564   *)
   16565     # If it is relative, then search for the first ld in PATH.
   16566     with_gnu_ld=unknown
   16567     ;;
   16568   esac
   16569 elif test yes = "$with_gnu_ld"; then
   16570   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   16571 printf %s "checking for GNU ld... " >&6; }
   16572 else
   16573   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   16574 printf %s "checking for non-GNU ld... " >&6; }
   16575 fi
   16576 if test ${lt_cv_path_LD+y}
   16577 then :
   16578   printf %s "(cached) " >&6
   16579 else case e in #(
   16580   e) if test -z "$LD"; then
   16581   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   16582   for ac_dir in $PATH; do
   16583     IFS=$lt_save_ifs
   16584     test -z "$ac_dir" && ac_dir=.
   16585     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   16586       lt_cv_path_LD=$ac_dir/$ac_prog
   16587       # Check to see if the program is GNU ld.  I'd rather use --version,
   16588       # but apparently some variants of GNU ld only accept -v.
   16589       # Break only if it was the GNU/non-GNU ld that we prefer.
   16590       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   16591       *GNU* | *'with BFD'*)
   16592 	test no != "$with_gnu_ld" && break
   16593 	;;
   16594       *)
   16595 	test yes != "$with_gnu_ld" && break
   16596 	;;
   16597       esac
   16598     fi
   16599   done
   16600   IFS=$lt_save_ifs
   16601 else
   16602   lt_cv_path_LD=$LD # Let the user override the test with a path.
   16603 fi ;;
   16604 esac
   16605 fi
   16606 
   16607 LD=$lt_cv_path_LD
   16608 if test -n "$LD"; then
   16609   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   16610 printf "%s\n" "$LD" >&6; }
   16611 else
   16612   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16613 printf "%s\n" "no" >&6; }
   16614 fi
   16615 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   16616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   16617 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   16618 if test ${lt_cv_prog_gnu_ld+y}
   16619 then :
   16620   printf %s "(cached) " >&6
   16621 else case e in #(
   16622   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   16623 case `$LD -v 2>&1 </dev/null` in
   16624 *GNU* | *'with BFD'*)
   16625   lt_cv_prog_gnu_ld=yes
   16626   ;;
   16627 *)
   16628   lt_cv_prog_gnu_ld=no
   16629   ;;
   16630 esac ;;
   16631 esac
   16632 fi
   16633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   16634 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   16635 with_gnu_ld=$lt_cv_prog_gnu_ld
   16636 
   16637 
   16638 
   16639 
   16640 
   16641 
   16642 
   16643       # Check if GNU C++ uses GNU ld as the underlying linker, since the
   16644       # archiving commands below assume that GNU ld is being used.
   16645       if test yes = "$with_gnu_ld"; then
   16646         archive_cmds_CXX='$CC $pic_flag -shared $stdlibflag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   16647         archive_expsym_cmds_CXX='$CC $pic_flag -shared $stdlibflag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16648 
   16649         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   16650         export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   16651 
   16652         # If archive_cmds runs LD, not CC, wlarc should be empty
   16653         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   16654         #     investigate it a little bit more. (MM)
   16655         wlarc='$wl'
   16656 
   16657         # ancient GNU ld didn't support --whole-archive et. al.
   16658         if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   16659           whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   16660         else
   16661           whole_archive_flag_spec_CXX=
   16662         fi
   16663       else
   16664         with_gnu_ld=no
   16665         wlarc=
   16666 
   16667         # A generic and very simple default shared library creation
   16668         # command for GNU C++ for the case where it uses the native
   16669         # linker, instead of GNU ld.  If possible, this setting should
   16670         # overridden to take advantage of the native linker features on
   16671         # the platform it is being used on.
   16672         archive_cmds_CXX='$CC -shared $stdlibflag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   16673       fi
   16674 
   16675       # Commands to make compiler produce verbose output that lists
   16676       # what "hidden" libraries, object files and flags are used when
   16677       # linking a shared library.
   16678       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP -v "^Driving:" | $GREP " [-]L"'
   16679 
   16680     else
   16681       GXX=no
   16682       with_gnu_ld=no
   16683       wlarc=
   16684     fi
   16685 
   16686     # PORTME: fill in a description of your system's C++ link characteristics
   16687     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16688 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   16689     ld_shlibs_CXX=yes
   16690     case $host_os in
   16691       aix3*)
   16692         # FIXME: insert proper C++ library support
   16693         ld_shlibs_CXX=no
   16694         ;;
   16695       aix[4-9]*)
   16696         if test ia64 = "$host_cpu"; then
   16697           # On IA64, the linker does run time linking by default, so we don't
   16698           # have to do anything special.
   16699           aix_use_runtimelinking=no
   16700           exp_sym_flag='-Bexport'
   16701           no_entry_flag=
   16702         else
   16703           aix_use_runtimelinking=no
   16704 
   16705           # Test if we are trying to use run time linking or normal
   16706           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   16707           # have runtime linking enabled, and use it for executables.
   16708           # For shared libraries, we enable/disable runtime linking
   16709           # depending on the kind of the shared library created -
   16710           # when "with_aix_soname,aix_use_runtimelinking" is:
   16711           # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   16712           # "aix,yes"  lib.so          shared, rtl:yes, for executables
   16713           #            lib.a           static archive
   16714           # "both,no"  lib.so.V(shr.o) shared, rtl:yes
   16715           #            lib.a(lib.so.V) shared, rtl:no,  for executables
   16716           # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   16717           #            lib.a(lib.so.V) shared, rtl:no
   16718           # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   16719           #            lib.a           static archive
   16720           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   16721 	    for ld_flag in $LDFLAGS; do
   16722 	      case $ld_flag in
   16723 	      *-brtl*)
   16724 	        aix_use_runtimelinking=yes
   16725 	        break
   16726 	        ;;
   16727 	      esac
   16728 	    done
   16729 	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   16730 	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
   16731 	      # so we don't have lib.a shared libs to link our executables.
   16732 	      # We have to force runtime linking in this case.
   16733 	      aix_use_runtimelinking=yes
   16734 	      LDFLAGS="$LDFLAGS -Wl,-brtl"
   16735 	    fi
   16736 	    ;;
   16737           esac
   16738 
   16739           exp_sym_flag='-bexport'
   16740           no_entry_flag='-bnoentry'
   16741         fi
   16742 
   16743         # When large executables or shared objects are built, AIX ld can
   16744         # have problems creating the table of contents.  If linking a library
   16745         # or program results in "error TOC overflow" add -mminimal-toc to
   16746         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   16747         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   16748 
   16749         archive_cmds_CXX=''
   16750         hardcode_direct_CXX=yes
   16751         hardcode_direct_absolute_CXX=yes
   16752         hardcode_libdir_separator_CXX=':'
   16753         link_all_deplibs_CXX=yes
   16754         file_list_spec_CXX='$wl-f,'
   16755         case $with_aix_soname,$aix_use_runtimelinking in
   16756         aix,*) ;;	# no import file
   16757         svr4,* | *,yes) # use import file
   16758           # The Import File defines what to hardcode.
   16759           hardcode_direct_CXX=no
   16760           hardcode_direct_absolute_CXX=no
   16761           ;;
   16762         esac
   16763 
   16764         if test yes = "$GXX"; then
   16765           case $host_os in aix4.[012]|aix4.[012].*)
   16766           # We only want to do this on AIX 4.2 and lower, the check
   16767           # below for broken collect2 doesn't work under 4.3+
   16768 	  collect2name=`$CC -print-prog-name=collect2`
   16769 	  if test -f "$collect2name" &&
   16770 	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   16771 	  then
   16772 	    # We have reworked collect2
   16773 	    :
   16774 	  else
   16775 	    # We have old collect2
   16776 	    hardcode_direct_CXX=unsupported
   16777 	    # It fails to find uninstalled libraries when the uninstalled
   16778 	    # path is not listed in the libpath.  Setting hardcode_minus_L
   16779 	    # to unsupported forces relinking
   16780 	    hardcode_minus_L_CXX=yes
   16781 	    hardcode_libdir_flag_spec_CXX='-L$libdir'
   16782 	    hardcode_libdir_separator_CXX=
   16783 	  fi
   16784           esac
   16785           shared_flag='-shared'
   16786 	  if test yes = "$aix_use_runtimelinking"; then
   16787 	    shared_flag=$shared_flag' $wl-G'
   16788 	  fi
   16789 	  # Need to ensure runtime linking is disabled for the traditional
   16790 	  # shared library, or the linker may eventually find shared libraries
   16791 	  # /with/ Import File - we do not want to mix them.
   16792 	  shared_flag_aix='-shared'
   16793 	  shared_flag_svr4='-shared $wl-G'
   16794         else
   16795           # not using gcc
   16796           if test ia64 = "$host_cpu"; then
   16797 	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   16798 	  # chokes on -Wl,-G. The following line is correct:
   16799 	  shared_flag='-G'
   16800           else
   16801 	    if test yes = "$aix_use_runtimelinking"; then
   16802 	      shared_flag='$wl-G'
   16803 	    else
   16804 	      shared_flag='$wl-bM:SRE'
   16805 	    fi
   16806 	    shared_flag_aix='$wl-bM:SRE'
   16807 	    shared_flag_svr4='$wl-G'
   16808           fi
   16809         fi
   16810 
   16811         export_dynamic_flag_spec_CXX='$wl-bexpall'
   16812         # It seems that -bexpall does not export symbols beginning with
   16813         # underscore (_), so it is better to generate a list of symbols to
   16814 	# export.
   16815         always_export_symbols_CXX=yes
   16816 	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   16817           # Warning - without using the other runtime loading flags (-brtl),
   16818           # -berok will link without error, but may produce a broken library.
   16819           # The "-G" linker flag allows undefined symbols.
   16820           no_undefined_flag_CXX='-bernotok'
   16821           # Determine the default libpath from the value encoded in an empty
   16822           # executable.
   16823           if test set = "${lt_cv_aix_libpath+set}"; then
   16824   aix_libpath=$lt_cv_aix_libpath
   16825 else
   16826   if test ${lt_cv_aix_libpath__CXX+y}
   16827 then :
   16828   printf %s "(cached) " >&6
   16829 else case e in #(
   16830   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16831 /* end confdefs.h.  */
   16832 
   16833 int
   16834 main (void)
   16835 {
   16836 
   16837   ;
   16838   return 0;
   16839 }
   16840 _ACEOF
   16841 if ac_fn_cxx_try_link "$LINENO"
   16842 then :
   16843 
   16844   lt_aix_libpath_sed='
   16845       /Import File Strings/,/^$/ {
   16846 	  /^0/ {
   16847 	      s/^0  *\([^ ]*\) *$/\1/
   16848 	      p
   16849 	  }
   16850       }'
   16851   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16852   # Check for a 64-bit object if we didn't find anything.
   16853   if test -z "$lt_cv_aix_libpath__CXX"; then
   16854     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16855   fi
   16856 fi
   16857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16858     conftest$ac_exeext conftest.$ac_ext
   16859   if test -z "$lt_cv_aix_libpath__CXX"; then
   16860     lt_cv_aix_libpath__CXX=/usr/lib:/lib
   16861   fi
   16862    ;;
   16863 esac
   16864 fi
   16865 
   16866   aix_libpath=$lt_cv_aix_libpath__CXX
   16867 fi
   16868 
   16869           hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
   16870 
   16871           archive_expsym_cmds_CXX='$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
   16872         else
   16873           if test ia64 = "$host_cpu"; then
   16874 	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
   16875 	    allow_undefined_flag_CXX="-z nodefs"
   16876 	    archive_expsym_cmds_CXX="\$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"
   16877           else
   16878 	    # Determine the default libpath from the value encoded in an
   16879 	    # empty executable.
   16880 	    if test set = "${lt_cv_aix_libpath+set}"; then
   16881   aix_libpath=$lt_cv_aix_libpath
   16882 else
   16883   if test ${lt_cv_aix_libpath__CXX+y}
   16884 then :
   16885   printf %s "(cached) " >&6
   16886 else case e in #(
   16887   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16888 /* end confdefs.h.  */
   16889 
   16890 int
   16891 main (void)
   16892 {
   16893 
   16894   ;
   16895   return 0;
   16896 }
   16897 _ACEOF
   16898 if ac_fn_cxx_try_link "$LINENO"
   16899 then :
   16900 
   16901   lt_aix_libpath_sed='
   16902       /Import File Strings/,/^$/ {
   16903 	  /^0/ {
   16904 	      s/^0  *\([^ ]*\) *$/\1/
   16905 	      p
   16906 	  }
   16907       }'
   16908   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16909   # Check for a 64-bit object if we didn't find anything.
   16910   if test -z "$lt_cv_aix_libpath__CXX"; then
   16911     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16912   fi
   16913 fi
   16914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16915     conftest$ac_exeext conftest.$ac_ext
   16916   if test -z "$lt_cv_aix_libpath__CXX"; then
   16917     lt_cv_aix_libpath__CXX=/usr/lib:/lib
   16918   fi
   16919    ;;
   16920 esac
   16921 fi
   16922 
   16923   aix_libpath=$lt_cv_aix_libpath__CXX
   16924 fi
   16925 
   16926 	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
   16927 	    # Warning - without using the other run time loading flags,
   16928 	    # -berok will link without error, but may produce a broken library.
   16929 	    no_undefined_flag_CXX=' $wl-bernotok'
   16930 	    allow_undefined_flag_CXX=' $wl-berok'
   16931 	    if test yes = "$with_gnu_ld"; then
   16932 	      # We only use this code for GNU lds that support --whole-archive.
   16933 	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
   16934 	    else
   16935 	      # Exported symbols can be pulled into shared objects from archives
   16936 	      whole_archive_flag_spec_CXX='$convenience'
   16937 	    fi
   16938 	    archive_cmds_need_lc_CXX=yes
   16939 	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   16940 	    # -brtl affects multiple linker settings, -berok does not and is overridden later
   16941 	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   16942 	    if test svr4 != "$with_aix_soname"; then
   16943 	      # This is similar to how AIX traditionally builds its shared
   16944 	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
   16945 	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$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'
   16946 	    fi
   16947 	    if test aix != "$with_aix_soname"; then
   16948 	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$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'
   16949 	    else
   16950 	      # used by -dlpreopen to get the symbols
   16951 	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   16952 	    fi
   16953 	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
   16954           fi
   16955         fi
   16956         ;;
   16957 
   16958       beos*)
   16959 	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16960 	  allow_undefined_flag_CXX=unsupported
   16961 	  # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16962 	  # support --undefined.  This deserves some investigation.  FIXME
   16963 	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16964 	else
   16965 	  ld_shlibs_CXX=no
   16966 	fi
   16967 	;;
   16968 
   16969       chorus*)
   16970         case $cc_basename in
   16971           *)
   16972 	  # FIXME: insert proper C++ library support
   16973 	  ld_shlibs_CXX=no
   16974 	  ;;
   16975         esac
   16976         ;;
   16977 
   16978       cygwin* | mingw* | windows* | pw32* | cegcc*)
   16979 	case $GXX,$cc_basename in
   16980 	,cl* | no,cl* | ,icl* | no,icl* | ,icx* | no,icx* | ,icpx* | no,icpx*)
   16981 	  # Native MSVC and Intel compilers
   16982 	  # hardcode_libdir_flag_spec is actually meaningless, as there is
   16983 	  # no search path for DLLs.
   16984 	  hardcode_libdir_flag_spec_CXX=' '
   16985 	  allow_undefined_flag_CXX=unsupported
   16986 	  always_export_symbols_CXX=yes
   16987 	  file_list_spec_CXX='@'
   16988 	  # Tell ltmain to make .lib files, not .a files.
   16989 	  libext=lib
   16990 	  # Tell ltmain to make .dll files, not .so files.
   16991 	  shrext_cmds=.dll
   16992 	  # FIXME: Setting linknames here is a bad hack.
   16993 	  # A check exists to verify if there are linker flags, which will use
   16994 	  # different commands when linking.
   16995 	  archive_cmds_CXX='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   16996 	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16997               cp "$export_symbols" "$output_objdir/$soname.def";
   16998               echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.expsym";
   16999             else
   17000               $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.expsym;
   17001             fi~
   17002             if test -z "$linker_flags"; then
   17003                $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.expsym" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib";
   17004             else
   17005                $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";
   17006             fi~
   17007             linknames='
   17008 	  # The linker will not automatically build a static lib if we build a DLL.
   17009 	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
   17010 	  enable_shared_with_static_runtimes_CXX=yes
   17011 	  # Don't use ranlib
   17012 	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
   17013 	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
   17014             lt_tool_outputfile="@TOOL_OUTPUT@"~
   17015             case $lt_outputfile in
   17016               *.exe|*.EXE) ;;
   17017               *)
   17018                 lt_outputfile=$lt_outputfile.exe
   17019                 lt_tool_outputfile=$lt_tool_outputfile.exe
   17020                 ;;
   17021             esac~
   17022             func_to_tool_file "$lt_outputfile"~
   17023             if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   17024               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   17025               $RM "$lt_outputfile.manifest";
   17026             fi'
   17027 	  ;;
   17028 	*)
   17029 	  # g++
   17030 	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   17031 	  # as there is no search path for DLLs.
   17032 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   17033 	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
   17034 	  allow_undefined_flag_CXX=unsupported
   17035 	  always_export_symbols_CXX=no
   17036 	  enable_shared_with_static_runtimes_CXX=yes
   17037 	  file_list_spec_CXX='@'
   17038 
   17039 	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   17040 	    archive_cmds_CXX='$CC -shared $stdlibflag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17041 	    # If the export-symbols file already is a .def file, use it as
   17042 	    # is; otherwise, prepend EXPORTS...
   17043 	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   17044               cp $export_symbols $output_objdir/$soname.def;
   17045             else
   17046               echo EXPORTS > $output_objdir/$soname.def;
   17047               cat $export_symbols >> $output_objdir/$soname.def;
   17048             fi~
   17049             $CC -shared $stdlibflag $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17050 	  else
   17051 	    ld_shlibs_CXX=no
   17052 	  fi
   17053 	  ;;
   17054 	esac
   17055 	;;
   17056       darwin* | rhapsody*)
   17057 
   17058 
   17059   archive_cmds_need_lc_CXX=no
   17060   hardcode_direct_CXX=no
   17061   hardcode_automatic_CXX=yes
   17062   hardcode_shlibpath_var_CXX=unsupported
   17063   if test yes = "$lt_cv_ld_force_load"; then
   17064     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   17065 
   17066   else
   17067     whole_archive_flag_spec_CXX=''
   17068   fi
   17069   link_all_deplibs_CXX=yes
   17070   allow_undefined_flag_CXX=$_lt_dar_allow_undefined
   17071   case $cc_basename in
   17072      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   17073      *) _lt_dar_can_shared=$GCC ;;
   17074   esac
   17075   if test yes = "$_lt_dar_can_shared"; then
   17076     output_verbose_link_cmd=func_echo_all
   17077     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   17078     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   17079     archive_expsym_cmds_CXX="$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"
   17080     module_expsym_cmds_CXX="$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"
   17081        if test yes = "$_lt_dar_needs_single_mod" -a yes != "$lt_cv_apple_cc_single_mod"; then
   17082       archive_cmds_CXX="\$CC -r -keep_private_externs $stdlibflag -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
   17083       archive_expsym_cmds_CXX="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs $stdlibflag -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
   17084     fi
   17085 
   17086   else
   17087   ld_shlibs_CXX=no
   17088   fi
   17089 
   17090 	;;
   17091 
   17092       os2*)
   17093 	hardcode_libdir_flag_spec_CXX='-L$libdir'
   17094 	hardcode_minus_L_CXX=yes
   17095 	allow_undefined_flag_CXX=unsupported
   17096 	shrext_cmds=.dll
   17097 	archive_cmds_CXX='echo "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17098 	  echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17099 	  echo "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17100 	  echo EXPORTS >> $output_objdir/$libname.def~
   17101 	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   17102 	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17103 	  emximp -o $lib $output_objdir/$libname.def'
   17104 	archive_expsym_cmds_CXX='echo "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17105 	  echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17106 	  echo "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17107 	  echo EXPORTS >> $output_objdir/$libname.def~
   17108 	  prefix_cmds="$SED"~
   17109 	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
   17110 	    prefix_cmds="$prefix_cmds -e 1d";
   17111 	  fi~
   17112 	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   17113 	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   17114 	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17115 	  emximp -o $lib $output_objdir/$libname.def'
   17116 	enable_shared_with_static_runtimes_CXX=yes
   17117 	file_list_spec_CXX='@'
   17118 	;;
   17119 
   17120       dgux*)
   17121         case $cc_basename in
   17122           ec++*)
   17123 	    # FIXME: insert proper C++ library support
   17124 	    ld_shlibs_CXX=no
   17125 	    ;;
   17126           ghcx*)
   17127 	    # Green Hills C++ Compiler
   17128 	    # FIXME: insert proper C++ library support
   17129 	    ld_shlibs_CXX=no
   17130 	    ;;
   17131           *)
   17132 	    # FIXME: insert proper C++ library support
   17133 	    ld_shlibs_CXX=no
   17134 	    ;;
   17135         esac
   17136         ;;
   17137 
   17138       freebsd2.*)
   17139         # C++ shared libraries reported to be fairly broken before
   17140 	# switch to ELF
   17141         ld_shlibs_CXX=no
   17142         ;;
   17143 
   17144       freebsd-elf*)
   17145         archive_cmds_need_lc_CXX=no
   17146         ;;
   17147 
   17148       freebsd* | dragonfly* | midnightbsd*)
   17149         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   17150         # conventions
   17151         ld_shlibs_CXX=yes
   17152         ;;
   17153 
   17154       haiku*)
   17155         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17156         link_all_deplibs_CXX=no
   17157         ;;
   17158 
   17159       hpux9*)
   17160         hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
   17161         hardcode_libdir_separator_CXX=:
   17162         export_dynamic_flag_spec_CXX='$wl-E'
   17163         hardcode_direct_CXX=yes
   17164         hardcode_minus_L_CXX=yes # Not in the search PATH,
   17165 				             # but as the default
   17166 				             # location of the library.
   17167 
   17168         case $cc_basename in
   17169           CC*)
   17170             # FIXME: insert proper C++ library support
   17171             ld_shlibs_CXX=no
   17172             ;;
   17173           aCC*)
   17174             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   17175             # Commands to make compiler produce verbose output that lists
   17176             # what "hidden" libraries, object files and flags are used when
   17177             # linking a shared library.
   17178             #
   17179             # There doesn't appear to be a way to prevent this compiler from
   17180             # explicitly linking system object files so we need to strip them
   17181             # from the output so that they don't get included in the library
   17182             # dependencies.
   17183             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "[-]L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   17184             ;;
   17185           *)
   17186             if test yes = "$GXX"; then
   17187               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared $stdlibflag $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   17188             else
   17189               # FIXME: insert proper C++ library support
   17190               ld_shlibs_CXX=no
   17191             fi
   17192             ;;
   17193         esac
   17194         ;;
   17195 
   17196       hpux10*|hpux11*)
   17197         if test no = "$with_gnu_ld"; then
   17198 	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
   17199 	  hardcode_libdir_separator_CXX=:
   17200 
   17201           case $host_cpu in
   17202             hppa*64*|ia64*)
   17203               ;;
   17204             *)
   17205 	      export_dynamic_flag_spec_CXX='$wl-E'
   17206               ;;
   17207           esac
   17208         fi
   17209         case $host_cpu in
   17210           hppa*64*|ia64*)
   17211             hardcode_direct_CXX=no
   17212             hardcode_shlibpath_var_CXX=no
   17213             ;;
   17214           *)
   17215             hardcode_direct_CXX=yes
   17216             hardcode_direct_absolute_CXX=yes
   17217             hardcode_minus_L_CXX=yes # Not in the search PATH,
   17218 					         # but as the default
   17219 					         # location of the library.
   17220             ;;
   17221         esac
   17222 
   17223         case $cc_basename in
   17224           CC*)
   17225 	    # FIXME: insert proper C++ library support
   17226 	    ld_shlibs_CXX=no
   17227 	    ;;
   17228           aCC*)
   17229 	    case $host_cpu in
   17230 	      hppa*64*)
   17231 	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   17232 	        ;;
   17233 	      ia64*)
   17234 	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   17235 	        ;;
   17236 	      *)
   17237 	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   17238 	        ;;
   17239 	    esac
   17240 	    # Commands to make compiler produce verbose output that lists
   17241 	    # what "hidden" libraries, object files and flags are used when
   17242 	    # linking a shared library.
   17243 	    #
   17244 	    # There doesn't appear to be a way to prevent this compiler from
   17245 	    # explicitly linking system object files so we need to strip them
   17246 	    # from the output so that they don't get included in the library
   17247 	    # dependencies.
   17248 	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP " [-]L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   17249 	    ;;
   17250           *)
   17251 	    if test yes = "$GXX"; then
   17252 	      if test no = "$with_gnu_ld"; then
   17253 	        case $host_cpu in
   17254 	          hppa*64*)
   17255 	            archive_cmds_CXX='$CC -shared $stdlibflag -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   17256 	            ;;
   17257 	          ia64*)
   17258 	            archive_cmds_CXX='$CC -shared $stdlibflag $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   17259 	            ;;
   17260 	          *)
   17261 	            archive_cmds_CXX='$CC -shared $stdlibflag $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   17262 	            ;;
   17263 	        esac
   17264 	      fi
   17265 	    else
   17266 	      # FIXME: insert proper C++ library support
   17267 	      ld_shlibs_CXX=no
   17268 	    fi
   17269 	    ;;
   17270         esac
   17271         ;;
   17272 
   17273       interix[3-9]*)
   17274 	hardcode_direct_CXX=no
   17275 	hardcode_shlibpath_var_CXX=no
   17276 	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   17277 	export_dynamic_flag_spec_CXX='$wl-E'
   17278 	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17279 	# Instead, shared libraries are loaded at an image base (0x10000000 by
   17280 	# default) and relocated if they conflict, which is a slow very memory
   17281 	# consuming and fragmenting process.  To avoid this, we pick a random,
   17282 	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17283 	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17284 	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   17285 	archive_expsym_cmds_CXX='$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'
   17286 	;;
   17287       irix5* | irix6*)
   17288         case $cc_basename in
   17289           CC*)
   17290 	    # SGI C++
   17291 	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   17292 
   17293 	    # Archives containing C++ object files must be created using
   17294 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   17295 	    # necessary to make sure instantiated templates are included
   17296 	    # in the archive.
   17297 	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   17298 	    ;;
   17299           *)
   17300 	    if test yes = "$GXX"; then
   17301 	      if test no = "$with_gnu_ld"; then
   17302 	        archive_cmds_CXX='$CC -shared $pic_flag $stdlibflag $predep_objects $libobjs $deplibs $postdep_objects $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'
   17303 	      else
   17304 	        archive_cmds_CXX='$CC -shared $pic_flag $stdlibflag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
   17305 	      fi
   17306 	    fi
   17307 	    link_all_deplibs_CXX=yes
   17308 	    ;;
   17309         esac
   17310         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   17311         hardcode_libdir_separator_CXX=:
   17312         inherit_rpath_CXX=yes
   17313         ;;
   17314 
   17315       *-mlibc)
   17316         ld_shlibs_CXX=yes
   17317 	;;
   17318 
   17319       linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   17320         case $cc_basename in
   17321           KCC*)
   17322 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   17323 
   17324 	    # KCC will only create a shared library if the output file
   17325 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   17326 	    # to its proper name (with version) after linking.
   17327 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   17328 	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
   17329 	    # Commands to make compiler produce verbose output that lists
   17330 	    # what "hidden" libraries, object files and flags are used when
   17331 	    # linking a shared library.
   17332 	    #
   17333 	    # There doesn't appear to be a way to prevent this compiler from
   17334 	    # explicitly linking system object files so we need to strip them
   17335 	    # from the output so that they don't get included in the library
   17336 	    # dependencies.
   17337 	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   17338 
   17339 	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   17340 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   17341 
   17342 	    # Archives containing C++ object files must be created using
   17343 	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
   17344 	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   17345 	    ;;
   17346 	  icpc* | ecpc* | icpx*)
   17347 	    # Intel C++
   17348 	    with_gnu_ld=yes
   17349 	    # version 8.0 and above of icpc choke on multiply defined symbols
   17350 	    # if we add $predep_objects and $postdep_objects, however 7.1 and
   17351 	    # earlier do not add the objects themselves.
   17352 	    case `$CC -V 2>&1` in
   17353 	      *"Version 7."*)
   17354 	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   17355 		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   17356 		;;
   17357 	      *)  # Version 8.0 or newer
   17358 	        tmp_idyn=
   17359 	        case $host_cpu in
   17360 		  ia64*) tmp_idyn=' -i_dynamic';;
   17361 		esac
   17362 	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17363 		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   17364 		;;
   17365 	    esac
   17366 	    archive_cmds_need_lc_CXX=no
   17367 	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   17368 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   17369 	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
   17370 	    ;;
   17371           pgCC* | pgcpp*)
   17372             # Portland Group C++ compiler
   17373 	    case `$CC -V` in
   17374 	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
   17375 	      prelink_cmds_CXX='tpldir=Template.dir~
   17376                rm -rf $tpldir~
   17377                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
   17378                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
   17379 	      old_archive_cmds_CXX='tpldir=Template.dir~
   17380                 rm -rf $tpldir~
   17381                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
   17382                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
   17383                 $RANLIB $oldlib'
   17384 	      archive_cmds_CXX='tpldir=Template.dir~
   17385                 rm -rf $tpldir~
   17386                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   17387                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   17388 	      archive_expsym_cmds_CXX='tpldir=Template.dir~
   17389                 rm -rf $tpldir~
   17390                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   17391                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   17392 	      ;;
   17393 	    *) # Version 6 and above use weak symbols
   17394 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   17395 	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   17396 	      ;;
   17397 	    esac
   17398 
   17399 	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
   17400 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   17401 	    whole_archive_flag_spec_CXX='$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'
   17402             ;;
   17403 	  cxx*)
   17404 	    # Compaq C++
   17405 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   17406 	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname  -o $lib $wl-retain-symbols-file $wl$export_symbols'
   17407 
   17408 	    runpath_var=LD_RUN_PATH
   17409 	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   17410 	    hardcode_libdir_separator_CXX=:
   17411 
   17412 	    # Commands to make compiler produce verbose output that lists
   17413 	    # what "hidden" libraries, object files and flags are used when
   17414 	    # linking a shared library.
   17415 	    #
   17416 	    # There doesn't appear to be a way to prevent this compiler from
   17417 	    # explicitly linking system object files so we need to strip them
   17418 	    # from the output so that they don't get included in the library
   17419 	    # dependencies.
   17420 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
   17421 	    ;;
   17422 	  xl* | mpixl* | bgxl*)
   17423 	    # IBM XL 8.0 on PPC, with GNU ld
   17424 	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   17425 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   17426 	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17427 	    if test yes = "$supports_anon_versioning"; then
   17428 	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
   17429                 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17430                 echo "local: *; };" >> $output_objdir/$libname.ver~
   17431                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   17432 	    fi
   17433 	    ;;
   17434 	  *)
   17435 	    case `$CC -V 2>&1 | $SED 5q` in
   17436 	    *Sun\ C*)
   17437 	      # Sun C++ 5.9
   17438 	      no_undefined_flag_CXX=' -zdefs'
   17439 	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   17440 	      archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
   17441 	      hardcode_libdir_flag_spec_CXX='-R$libdir'
   17442 	      whole_archive_flag_spec_CXX='$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'
   17443 	      compiler_needs_object_CXX=yes
   17444 
   17445 	      # Not sure whether something based on
   17446 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   17447 	      # would be better.
   17448 	      output_verbose_link_cmd='func_echo_all'
   17449 
   17450 	      # Archives containing C++ object files must be created using
   17451 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   17452 	      # necessary to make sure instantiated templates are included
   17453 	      # in the archive.
   17454 	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   17455 	      ;;
   17456 	    esac
   17457 	    ;;
   17458 	esac
   17459 	;;
   17460 
   17461       lynxos*)
   17462         # FIXME: insert proper C++ library support
   17463 	ld_shlibs_CXX=no
   17464 	;;
   17465 
   17466       m88k*)
   17467         # FIXME: insert proper C++ library support
   17468         ld_shlibs_CXX=no
   17469 	;;
   17470 
   17471       mvs*)
   17472         case $cc_basename in
   17473           cxx*)
   17474 	    # FIXME: insert proper C++ library support
   17475 	    ld_shlibs_CXX=no
   17476 	    ;;
   17477 	  *)
   17478 	    # FIXME: insert proper C++ library support
   17479 	    ld_shlibs_CXX=no
   17480 	    ;;
   17481 	esac
   17482 	;;
   17483 
   17484       netbsd*)
   17485         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17486 	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   17487 	  wlarc=
   17488 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   17489 	  hardcode_direct_CXX=yes
   17490 	  hardcode_shlibpath_var_CXX=no
   17491 	else
   17492 	  archive_cmds_CXX='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   17493 	  archive_expsym_cmds_CXX='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   17494 	fi
   17495 	output_verbose_link_cmd=func_echo_all
   17496 	;;
   17497 
   17498       *nto* | *qnx*)
   17499         ld_shlibs_CXX=yes
   17500 	;;
   17501 
   17502       openbsd*)
   17503 	if test -f /usr/libexec/ld.so; then
   17504 	  hardcode_direct_CXX=yes
   17505 	  hardcode_shlibpath_var_CXX=no
   17506 	  hardcode_direct_absolute_CXX=yes
   17507 	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   17508 	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   17509 	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
   17510 	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
   17511 	    export_dynamic_flag_spec_CXX='$wl-E'
   17512 	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   17513 	  fi
   17514 	  output_verbose_link_cmd=func_echo_all
   17515 	else
   17516 	  ld_shlibs_CXX=no
   17517 	fi
   17518 	;;
   17519 
   17520       osf3* | osf4* | osf5*)
   17521         case $cc_basename in
   17522           KCC*)
   17523 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   17524 
   17525 	    # KCC will only create a shared library if the output file
   17526 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   17527 	    # to its proper name (with version) after linking.
   17528 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   17529 
   17530 	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   17531 	    hardcode_libdir_separator_CXX=:
   17532 
   17533 	    # Archives containing C++ object files must be created using
   17534 	    # the KAI C++ compiler.
   17535 	    case $host in
   17536 	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
   17537 	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
   17538 	    esac
   17539 	    ;;
   17540           RCC*)
   17541 	    # Rational C++ 2.4.1
   17542 	    # FIXME: insert proper C++ library support
   17543 	    ld_shlibs_CXX=no
   17544 	    ;;
   17545           cxx*)
   17546 	    case $host in
   17547 	      osf3*)
   17548 	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
   17549 	        archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   17550 	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   17551 		;;
   17552 	      *)
   17553 	        allow_undefined_flag_CXX=' -expect_unresolved \*'
   17554 	        archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   17555 	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.expsym; done~
   17556                   echo "-hidden">> $lib.expsym~
   17557                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.expsym  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
   17558                   $RM $lib.expsym'
   17559 	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   17560 		;;
   17561 	    esac
   17562 
   17563 	    hardcode_libdir_separator_CXX=:
   17564 
   17565 	    # Commands to make compiler produce verbose output that lists
   17566 	    # what "hidden" libraries, object files and flags are used when
   17567 	    # linking a shared library.
   17568 	    #
   17569 	    # There doesn't appear to be a way to prevent this compiler from
   17570 	    # explicitly linking system object files so we need to strip them
   17571 	    # from the output so that they don't get included in the library
   17572 	    # dependencies.
   17573 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   17574 	    ;;
   17575 	  *)
   17576 	    if test yes,no = "$GXX,$with_gnu_ld"; then
   17577 	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
   17578 	      case $host in
   17579 	        osf3*)
   17580 	          archive_cmds_CXX='$CC -shared $stdlibflag $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
   17581 		  ;;
   17582 	        *)
   17583 	          archive_cmds_CXX='$CC -shared $pic_flag $stdlibflag $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
   17584 		  ;;
   17585 	      esac
   17586 
   17587 	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   17588 	      hardcode_libdir_separator_CXX=:
   17589 
   17590 	      # Commands to make compiler produce verbose output that lists
   17591 	      # what "hidden" libraries, object files and flags are used when
   17592 	      # linking a shared library.
   17593 	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP -v "^Driving:" | $GREP " [-]L"'
   17594 
   17595 	    else
   17596 	      # FIXME: insert proper C++ library support
   17597 	      ld_shlibs_CXX=no
   17598 	    fi
   17599 	    ;;
   17600         esac
   17601         ;;
   17602 
   17603       psos*)
   17604         # FIXME: insert proper C++ library support
   17605         ld_shlibs_CXX=no
   17606         ;;
   17607 
   17608       serenity*)
   17609         ;;
   17610 
   17611       sunos4*)
   17612         case $cc_basename in
   17613           CC*)
   17614 	    # Sun C++ 4.x
   17615 	    # FIXME: insert proper C++ library support
   17616 	    ld_shlibs_CXX=no
   17617 	    ;;
   17618           lcc*)
   17619 	    # Lucid
   17620 	    # FIXME: insert proper C++ library support
   17621 	    ld_shlibs_CXX=no
   17622 	    ;;
   17623           *)
   17624 	    # FIXME: insert proper C++ library support
   17625 	    ld_shlibs_CXX=no
   17626 	    ;;
   17627         esac
   17628         ;;
   17629 
   17630       solaris*)
   17631         case $cc_basename in
   17632           CC* | sunCC*)
   17633 	    # Sun C++ 4.2, 5.x and Centerline C++
   17634             archive_cmds_need_lc_CXX=yes
   17635 	    no_undefined_flag_CXX=' -zdefs'
   17636 	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   17637 	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.expsym~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.expsym~echo "local: *; };" >> $lib.expsym~
   17638               $CC -G$allow_undefined_flag $wl-M $wl$lib.expsym -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.expsym'
   17639 
   17640 	    hardcode_libdir_flag_spec_CXX='-R$libdir'
   17641 	    hardcode_shlibpath_var_CXX=no
   17642 	    case $host_os in
   17643 	      solaris2.[0-5] | solaris2.[0-5].*) ;;
   17644 	      *)
   17645 		# The compiler driver will combine and reorder linker options,
   17646 		# but understands '-z linker_flag'.
   17647 	        # Supported since Solaris 2.6 (maybe 2.5.1?)
   17648 		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   17649 	        ;;
   17650 	    esac
   17651 	    link_all_deplibs_CXX=yes
   17652 
   17653 	    output_verbose_link_cmd='func_echo_all'
   17654 
   17655 	    # Archives containing C++ object files must be created using
   17656 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   17657 	    # necessary to make sure instantiated templates are included
   17658 	    # in the archive.
   17659 	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   17660 	    ;;
   17661           gcx*)
   17662 	    # Green Hills C++ Compiler
   17663 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
   17664 
   17665 	    # The C++ compiler must be used to create the archive.
   17666 	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   17667 	    ;;
   17668           *)
   17669 	    # GNU C++ compiler with Solaris linker
   17670 	    if test yes,no = "$GXX,$with_gnu_ld"; then
   17671 	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
   17672 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
   17673 	        archive_cmds_CXX='$CC -shared $pic_flag $stdlibflag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
   17674 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.expsym~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.expsym~echo "local: *; };" >> $lib.expsym~
   17675                   $CC -shared $pic_flag $stdlibflag $wl-M $wl$lib.expsym $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.expsym'
   17676 
   17677 	        # Commands to make compiler produce verbose output that lists
   17678 	        # what "hidden" libraries, object files and flags are used when
   17679 	        # linking a shared library.
   17680 	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP -v "^Driving:" | $GREP " [-]L"'
   17681 	      else
   17682 	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
   17683 	        # platform.
   17684 	        archive_cmds_CXX='$CC -G $stdlibflag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
   17685 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.expsym~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.expsym~echo "local: *; };" >> $lib.expsym~
   17686                   $CC -G $stdlibflag $wl-M $wl$lib.expsym $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.expsym'
   17687 
   17688 	        # Commands to make compiler produce verbose output that lists
   17689 	        # what "hidden" libraries, object files and flags are used when
   17690 	        # linking a shared library.
   17691 	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP -v "^Driving:" | $GREP " [-]L"'
   17692 	      fi
   17693 
   17694 	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
   17695 	      case $host_os in
   17696 		solaris2.[0-5] | solaris2.[0-5].*) ;;
   17697 		*)
   17698 		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   17699 		  ;;
   17700 	      esac
   17701 	    fi
   17702 	    ;;
   17703         esac
   17704         ;;
   17705 
   17706     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   17707       no_undefined_flag_CXX='$wl-z,text'
   17708       archive_cmds_need_lc_CXX=no
   17709       hardcode_shlibpath_var_CXX=no
   17710       runpath_var='LD_RUN_PATH'
   17711 
   17712       case $cc_basename in
   17713         CC*)
   17714 	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17715 	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17716 	  ;;
   17717 	*)
   17718 	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17719 	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17720 	  ;;
   17721       esac
   17722       ;;
   17723 
   17724       sysv5* | sco3.2v5* | sco5v6*)
   17725 	# Note: We CANNOT use -z defs as we might desire, because we do not
   17726 	# link with -lc, and that would cause any symbols used from libc to
   17727 	# always be unresolved, which means just about no library would
   17728 	# ever link correctly.  If we're not using GNU ld we use -z text
   17729 	# though, which does catch some bad symbols but isn't as heavy-handed
   17730 	# as -z defs.
   17731 	no_undefined_flag_CXX='$wl-z,text'
   17732 	allow_undefined_flag_CXX='$wl-z,nodefs'
   17733 	archive_cmds_need_lc_CXX=no
   17734 	hardcode_shlibpath_var_CXX=no
   17735 	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
   17736 	hardcode_libdir_separator_CXX=':'
   17737 	link_all_deplibs_CXX=yes
   17738 	export_dynamic_flag_spec_CXX='$wl-Bexport'
   17739 	runpath_var='LD_RUN_PATH'
   17740 
   17741 	case $cc_basename in
   17742           CC*)
   17743 	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17744 	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17745 	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
   17746               '"$old_archive_cmds_CXX"
   17747 	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
   17748               '"$reload_cmds_CXX"
   17749 	    ;;
   17750 	  *)
   17751 	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17752 	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17753 	    ;;
   17754 	esac
   17755       ;;
   17756 
   17757       tandem*)
   17758         case $cc_basename in
   17759           NCC*)
   17760 	    # NonStop-UX NCC 3.20
   17761 	    # FIXME: insert proper C++ library support
   17762 	    ld_shlibs_CXX=no
   17763 	    ;;
   17764           *)
   17765 	    # FIXME: insert proper C++ library support
   17766 	    ld_shlibs_CXX=no
   17767 	    ;;
   17768         esac
   17769         ;;
   17770 
   17771       vxworks*)
   17772         # FIXME: insert proper C++ library support
   17773         ld_shlibs_CXX=no
   17774         ;;
   17775 
   17776       emscripten*)
   17777         # Emscripten side modules (-sSIDE_MODULE=2) use a separate PIC sysroot
   17778         # and do not link system libraries (they are imported from the main module
   17779         # at runtime).  Re-run the verbose link with -sSIDE_MODULE=2 so that the
   17780         # detected paths point to the PIC sysroot instead of the non-PIC one.
   17781         output_verbose_link_cmd='$CC -sSIDE_MODULE=2 -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP " [-]L"'
   17782         ;;
   17783 
   17784       *)
   17785         # FIXME: insert proper C++ library support
   17786         ld_shlibs_CXX=no
   17787         ;;
   17788     esac
   17789 
   17790     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   17791 printf "%s\n" "$ld_shlibs_CXX" >&6; }
   17792     test no = "$ld_shlibs_CXX" && can_build_shared=no
   17793 
   17794     GCC_CXX=$GXX
   17795     LD_CXX=$LD
   17796 
   17797     ## CAVEAT EMPTOR:
   17798     ## There is no encapsulation within the following macros, do not change
   17799     ## the running order or otherwise move them around unless you know exactly
   17800     ## what you are doing...
   17801     # Dependencies to place before and after the object being linked:
   17802 predep_objects_CXX=
   17803 postdep_objects_CXX=
   17804 predeps_CXX=
   17805 postdeps_CXX=
   17806 compiler_lib_search_path_CXX=
   17807 
   17808 cat > conftest.$ac_ext <<_LT_EOF
   17809 class Foo
   17810 {
   17811 public:
   17812   Foo (void) { a = 0; }
   17813 private:
   17814   int a;
   17815 };
   17816 _LT_EOF
   17817 
   17818 
   17819 _lt_libdeps_save_CFLAGS=$CFLAGS
   17820 case "$CC $CFLAGS " in #(
   17821 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
   17822 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
   17823 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
   17824 esac
   17825 
   17826 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   17827   (eval $ac_compile) 2>&5
   17828   ac_status=$?
   17829   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17830   test $ac_status = 0; }; then
   17831   # Parse the compiler output and extract the necessary
   17832   # objects, libraries and library flags.
   17833 
   17834   # Sentinel used to keep track of whether or not we are before
   17835   # the conftest object file.
   17836   pre_test_object_deps_done=no
   17837 
   17838   if test yes = "$enable_cxx_stdlib"; then
   17839     output_verbose_link_cmd=
   17840   fi
   17841 
   17842   for p in `eval "$output_verbose_link_cmd"`; do
   17843     case $prev$p in
   17844 
   17845     -L* | -R* | -l* | */libclang_rt.*.a)
   17846        # Some compilers place space between "-{L,R,l}" and the path.
   17847        # Remove the space.
   17848        if test x-L = x"$p" ||
   17849           test x-R = x"$p" ||
   17850           test x-l = x"$p"; then
   17851 	 prev=$p
   17852 	 continue
   17853        fi
   17854 
   17855        # Expand the sysroot to ease extracting the directories later.
   17856        if test -z "$prev"; then
   17857          case $p in
   17858          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
   17859          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
   17860          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
   17861          esac
   17862        fi
   17863        case $p in
   17864        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
   17865        esac
   17866        if test no = "$pre_test_object_deps_done"; then
   17867 	 case $prev in
   17868 	 -L | -R)
   17869 	   # Internal compiler library paths should come after those
   17870 	   # provided the user.  The postdeps already come after the
   17871 	   # user supplied libs so there is no need to process them.
   17872 	   if test -z "$compiler_lib_search_path_CXX"; then
   17873 	     compiler_lib_search_path_CXX=$prev$p
   17874 	   else
   17875 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
   17876 	   fi
   17877 	   ;;
   17878 	 # The "-l" case would never come before the object being
   17879 	 # linked, so don't bother handling this case.
   17880 	 esac
   17881        else
   17882 	 if test -z "$postdeps_CXX"; then
   17883 	   postdeps_CXX=$prev$p
   17884 	 else
   17885 	   postdeps_CXX="${postdeps_CXX} $prev$p"
   17886 	 fi
   17887        fi
   17888        prev=
   17889        ;;
   17890 
   17891     *.lto.$objext) ;; # Ignore GCC LTO objects
   17892     *.$objext)
   17893        # This assumes that the test object file only shows up
   17894        # once in the compiler output.
   17895        if test "$p" = "conftest.$objext"; then
   17896 	 pre_test_object_deps_done=yes
   17897 	 continue
   17898        fi
   17899 
   17900        if test no = "$pre_test_object_deps_done"; then
   17901 	 if test -z "$predep_objects_CXX"; then
   17902 	   predep_objects_CXX=$p
   17903 	 else
   17904 	   predep_objects_CXX="$predep_objects_CXX $p"
   17905 	 fi
   17906        else
   17907 	 if test -z "$postdep_objects_CXX"; then
   17908 	   postdep_objects_CXX=$p
   17909 	 else
   17910 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   17911 	 fi
   17912        fi
   17913        ;;
   17914 
   17915     *) ;; # Ignore the rest.
   17916 
   17917     esac
   17918   done
   17919 
   17920   # Clean up.
   17921   rm -f a.out a.exe
   17922 else
   17923   echo "libtool.m4: error: problem compiling CXX test program"
   17924 fi
   17925 
   17926 $RM -f confest.$objext
   17927 CFLAGS=$_lt_libdeps_save_CFLAGS
   17928 
   17929 # PORTME: override above test on systems where it is broken
   17930 case $host_os in
   17931 interix[3-9]*)
   17932   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   17933   # hack all around it, let's just trust "g++" to DTRT.
   17934   predep_objects_CXX=
   17935   postdep_objects_CXX=
   17936   postdeps_CXX=
   17937   ;;
   17938 esac
   17939 
   17940 
   17941 case " $postdeps_CXX " in
   17942 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   17943 esac
   17944  compiler_lib_search_dirs_CXX=
   17945 if test -n "${compiler_lib_search_path_CXX}"; then
   17946  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
   17947 fi
   17948 
   17949 
   17950 
   17951 
   17952 
   17953 
   17954 
   17955 
   17956 
   17957 
   17958 
   17959 
   17960 
   17961 
   17962 
   17963 
   17964 
   17965 
   17966 
   17967 
   17968 
   17969 
   17970 
   17971 
   17972 
   17973 
   17974 
   17975 
   17976 
   17977 
   17978 
   17979     lt_prog_compiler_wl_CXX=
   17980 lt_prog_compiler_pic_CXX=
   17981 lt_prog_compiler_static_CXX=
   17982 
   17983 
   17984   # C++ specific cases for pic, static, wl, etc.
   17985   if test yes = "$GXX"; then
   17986     lt_prog_compiler_wl_CXX='-Wl,'
   17987     lt_prog_compiler_static_CXX='-static'
   17988 
   17989     case $host_os in
   17990     aix*)
   17991       # All AIX code is PIC.
   17992       if test ia64 = "$host_cpu"; then
   17993 	# AIX 5 now supports IA64 processor
   17994 	lt_prog_compiler_static_CXX='-Bstatic'
   17995       fi
   17996       lt_prog_compiler_pic_CXX='-fPIC'
   17997       ;;
   17998 
   17999     amigaos*)
   18000       case $host_cpu in
   18001       powerpc)
   18002             # see comment about AmigaOS4 .so support
   18003             lt_prog_compiler_pic_CXX='-fPIC'
   18004         ;;
   18005       m68k)
   18006             # FIXME: we need at least 68020 code to build shared libraries, but
   18007             # adding the '-m68020' flag to GCC prevents building anything better,
   18008             # like '-m68040'.
   18009             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   18010         ;;
   18011       esac
   18012       ;;
   18013 
   18014     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   18015       # PIC is the default for these OSes.
   18016       ;;
   18017     mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
   18018       # This hack is so that the source file can tell whether it is being
   18019       # built for inclusion in a dll (and should export symbols for example).
   18020       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   18021       # (--disable-auto-import) libraries
   18022       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   18023       case $host_os in
   18024       os2*)
   18025 	lt_prog_compiler_static_CXX='$wl-static'
   18026 	;;
   18027       esac
   18028       ;;
   18029     darwin* | rhapsody*)
   18030       # PIC is the default on this platform
   18031       # Common symbols not allowed in MH_DYLIB files
   18032       lt_prog_compiler_pic_CXX='-fno-common'
   18033       ;;
   18034     *djgpp*)
   18035       # DJGPP does not support shared libraries at all
   18036       lt_prog_compiler_pic_CXX=
   18037       ;;
   18038     haiku*)
   18039       # PIC is the default for Haiku.
   18040       # The "-static" flag exists, but is broken.
   18041       lt_prog_compiler_static_CXX=
   18042       ;;
   18043     interix[3-9]*)
   18044       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   18045       # Instead, we relocate shared libraries at runtime.
   18046       ;;
   18047     sysv4*MP*)
   18048       if test -d /usr/nec; then
   18049 	lt_prog_compiler_pic_CXX=-Kconform_pic
   18050       fi
   18051       ;;
   18052     hpux*)
   18053       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   18054       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   18055       # sets the default TLS model and affects inlining.
   18056       case $host_cpu in
   18057       hppa*64*)
   18058 	;;
   18059       *)
   18060 	lt_prog_compiler_pic_CXX='-fPIC'
   18061 	;;
   18062       esac
   18063       ;;
   18064     *qnx* | *nto*)
   18065       # QNX uses GNU C++, but need to define -shared option too, otherwise
   18066       # it will coredump.
   18067       lt_prog_compiler_pic_CXX='-fPIC -shared'
   18068       ;;
   18069     *)
   18070       lt_prog_compiler_pic_CXX='-fPIC'
   18071       ;;
   18072     esac
   18073   else
   18074     case $host_os in
   18075       aix[4-9]*)
   18076 	# All AIX code is PIC.
   18077 	if test ia64 = "$host_cpu"; then
   18078 	  # AIX 5 now supports IA64 processor
   18079 	  lt_prog_compiler_static_CXX='-Bstatic'
   18080 	else
   18081 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.expsym'
   18082 	fi
   18083 	;;
   18084       chorus*)
   18085 	case $cc_basename in
   18086 	cxch68*)
   18087 	  # Green Hills C++ Compiler
   18088 	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
   18089 	  ;;
   18090 	esac
   18091 	;;
   18092       mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
   18093 	# This hack is so that the source file can tell whether it is being
   18094 	# built for inclusion in a dll (and should export symbols for example).
   18095 	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   18096 	;;
   18097       dgux*)
   18098 	case $cc_basename in
   18099 	  ec++*)
   18100 	    lt_prog_compiler_pic_CXX='-KPIC'
   18101 	    ;;
   18102 	  ghcx*)
   18103 	    # Green Hills C++ Compiler
   18104 	    lt_prog_compiler_pic_CXX='-pic'
   18105 	    ;;
   18106 	  *)
   18107 	    ;;
   18108 	esac
   18109 	;;
   18110       freebsd* | dragonfly* | midnightbsd*)
   18111 	# FreeBSD uses GNU C++
   18112 	;;
   18113       hpux9* | hpux10* | hpux11*)
   18114 	case $cc_basename in
   18115 	  CC*)
   18116 	    lt_prog_compiler_wl_CXX='-Wl,'
   18117 	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
   18118 	    if test ia64 != "$host_cpu"; then
   18119 	      lt_prog_compiler_pic_CXX='+Z'
   18120 	    fi
   18121 	    ;;
   18122 	  aCC*)
   18123 	    lt_prog_compiler_wl_CXX='-Wl,'
   18124 	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
   18125 	    case $host_cpu in
   18126 	    hppa*64*|ia64*)
   18127 	      # +Z the default
   18128 	      ;;
   18129 	    *)
   18130 	      lt_prog_compiler_pic_CXX='+Z'
   18131 	      ;;
   18132 	    esac
   18133 	    ;;
   18134 	  *)
   18135 	    ;;
   18136 	esac
   18137 	;;
   18138       interix*)
   18139 	# This is c89, which is MS Visual C++ (no shared libs)
   18140 	# Anyone wants to do a port?
   18141 	;;
   18142       irix5* | irix6* | nonstopux*)
   18143 	case $cc_basename in
   18144 	  CC*)
   18145 	    lt_prog_compiler_wl_CXX='-Wl,'
   18146 	    lt_prog_compiler_static_CXX='-non_shared'
   18147 	    # CC pic flag -KPIC is the default.
   18148 	    ;;
   18149 	  *)
   18150 	    ;;
   18151 	esac
   18152 	;;
   18153       *-mlibc)
   18154 	;;
   18155       linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   18156 	case $cc_basename in
   18157 	  KCC*)
   18158 	    # KAI C++ Compiler
   18159 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   18160 	    lt_prog_compiler_pic_CXX='-fPIC'
   18161 	    ;;
   18162 	  ecpc* )
   18163 	    # old Intel C++ for x86_64, which still supported -KPIC.
   18164 	    lt_prog_compiler_wl_CXX='-Wl,'
   18165 	    lt_prog_compiler_pic_CXX='-KPIC'
   18166 	    lt_prog_compiler_static_CXX='-static'
   18167 	    ;;
   18168 	  icpc* | icpx*)
   18169 	    # Intel C++, used to be incompatible with GCC.
   18170 	    # ICC 10 doesn't accept -KPIC any more.
   18171 	    lt_prog_compiler_wl_CXX='-Wl,'
   18172 	    lt_prog_compiler_pic_CXX='-fPIC'
   18173 	    lt_prog_compiler_static_CXX='-static'
   18174 	    ;;
   18175 	  pgCC* | pgcpp*)
   18176 	    # Portland Group C++ compiler
   18177 	    lt_prog_compiler_wl_CXX='-Wl,'
   18178 	    lt_prog_compiler_pic_CXX='-fpic'
   18179 	    lt_prog_compiler_static_CXX='-Bstatic'
   18180 	    ;;
   18181 	  cxx*)
   18182 	    # Compaq C++
   18183 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   18184 	    # Linux and Compaq Tru64 Unix objects are PIC.
   18185 	    lt_prog_compiler_pic_CXX=
   18186 	    lt_prog_compiler_static_CXX='-non_shared'
   18187 	    ;;
   18188 	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
   18189 	    # IBM XL 8.0, 9.0 on PPC and BlueGene
   18190 	    lt_prog_compiler_wl_CXX='-Wl,'
   18191 	    lt_prog_compiler_pic_CXX='-qpic'
   18192 	    lt_prog_compiler_static_CXX='-qstaticlink'
   18193 	    ;;
   18194 	  *)
   18195 	    case `$CC -V 2>&1 | $SED 5q` in
   18196 	    *Sun\ C*)
   18197 	      # Sun C++ 5.9
   18198 	      lt_prog_compiler_pic_CXX='-KPIC'
   18199 	      lt_prog_compiler_static_CXX='-Bstatic'
   18200 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   18201 	      ;;
   18202 	    esac
   18203 	    ;;
   18204 	esac
   18205 	;;
   18206       lynxos*)
   18207 	;;
   18208       m88k*)
   18209 	;;
   18210       mvs*)
   18211 	case $cc_basename in
   18212 	  cxx*)
   18213 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   18214 	    ;;
   18215 	  *)
   18216 	    ;;
   18217 	esac
   18218 	;;
   18219       netbsd* | netbsdelf*-gnu)
   18220 	;;
   18221       *qnx* | *nto*)
   18222         # QNX uses GNU C++, but need to define -shared option too, otherwise
   18223         # it will coredump.
   18224         lt_prog_compiler_pic_CXX='-fPIC -shared'
   18225         ;;
   18226       osf3* | osf4* | osf5*)
   18227 	case $cc_basename in
   18228 	  KCC*)
   18229 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   18230 	    ;;
   18231 	  RCC*)
   18232 	    # Rational C++ 2.4.1
   18233 	    lt_prog_compiler_pic_CXX='-pic'
   18234 	    ;;
   18235 	  cxx*)
   18236 	    # Digital/Compaq C++
   18237 	    lt_prog_compiler_wl_CXX='-Wl,'
   18238 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   18239 	    # Linux and Compaq Tru64 Unix objects are PIC.
   18240 	    lt_prog_compiler_pic_CXX=
   18241 	    lt_prog_compiler_static_CXX='-non_shared'
   18242 	    ;;
   18243 	  *)
   18244 	    ;;
   18245 	esac
   18246 	;;
   18247       psos*)
   18248 	;;
   18249       serenity*)
   18250         ;;
   18251       solaris*)
   18252 	case $cc_basename in
   18253 	  CC* | sunCC*)
   18254 	    # Sun C++ 4.2, 5.x and Centerline C++
   18255 	    lt_prog_compiler_pic_CXX='-KPIC'
   18256 	    lt_prog_compiler_static_CXX='-Bstatic'
   18257 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   18258 	    ;;
   18259 	  gcx*)
   18260 	    # Green Hills C++ Compiler
   18261 	    lt_prog_compiler_pic_CXX='-PIC'
   18262 	    ;;
   18263 	  *)
   18264 	    ;;
   18265 	esac
   18266 	;;
   18267       sunos4*)
   18268 	case $cc_basename in
   18269 	  CC*)
   18270 	    # Sun C++ 4.x
   18271 	    lt_prog_compiler_pic_CXX='-pic'
   18272 	    lt_prog_compiler_static_CXX='-Bstatic'
   18273 	    ;;
   18274 	  lcc*)
   18275 	    # Lucid
   18276 	    lt_prog_compiler_pic_CXX='-pic'
   18277 	    ;;
   18278 	  *)
   18279 	    ;;
   18280 	esac
   18281 	;;
   18282       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   18283 	case $cc_basename in
   18284 	  CC*)
   18285 	    lt_prog_compiler_wl_CXX='-Wl,'
   18286 	    lt_prog_compiler_pic_CXX='-KPIC'
   18287 	    lt_prog_compiler_static_CXX='-Bstatic'
   18288 	    ;;
   18289 	esac
   18290 	;;
   18291       tandem*)
   18292 	case $cc_basename in
   18293 	  NCC*)
   18294 	    # NonStop-UX NCC 3.20
   18295 	    lt_prog_compiler_pic_CXX='-KPIC'
   18296 	    ;;
   18297 	  *)
   18298 	    ;;
   18299 	esac
   18300 	;;
   18301       vxworks*)
   18302 	;;
   18303       *)
   18304 	lt_prog_compiler_can_build_shared_CXX=no
   18305 	;;
   18306     esac
   18307   fi
   18308 
   18309 case $host_os in
   18310   # For platforms that do not support PIC, -DPIC is meaningless:
   18311   *djgpp*)
   18312     lt_prog_compiler_pic_CXX=
   18313     ;;
   18314   *)
   18315     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   18316     ;;
   18317 esac
   18318 
   18319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   18320 printf %s "checking for $compiler option to produce PIC... " >&6; }
   18321 if test ${lt_cv_prog_compiler_pic_CXX+y}
   18322 then :
   18323   printf %s "(cached) " >&6
   18324 else case e in #(
   18325   e) lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX ;;
   18326 esac
   18327 fi
   18328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
   18329 printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
   18330 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
   18331 
   18332 #
   18333 # Check to make sure the PIC flag actually works.
   18334 #
   18335 if test -n "$lt_prog_compiler_pic_CXX"; then
   18336   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   18337 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   18338 if test ${lt_cv_prog_compiler_pic_works_CXX+y}
   18339 then :
   18340   printf %s "(cached) " >&6
   18341 else case e in #(
   18342   e) lt_cv_prog_compiler_pic_works_CXX=no
   18343    ac_outfile=conftest.$ac_objext
   18344    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18345    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   18346    # Insert the option either (1) after the last *FLAGS variable, or
   18347    # (2) before a word containing "conftest.", or (3) at the end.
   18348    # Note that $ac_compile itself does not contain backslashes and begins
   18349    # with a dollar sign (not a hyphen), so the echo should work correctly.
   18350    # The option is referenced via a variable to avoid confusing sed.
   18351    lt_compile=`echo "$ac_compile" | $SED \
   18352    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   18353    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   18354    -e 's:$: $lt_compiler_flag:'`
   18355    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   18356    (eval "$lt_compile" 2>conftest.err)
   18357    ac_status=$?
   18358    cat conftest.err >&5
   18359    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18360    if (exit $ac_status) && test -s "$ac_outfile"; then
   18361      # The compiler can only warn and ignore the option if not recognized
   18362      # So say no if there are warnings other than the usual output.
   18363      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.expsym
   18364      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   18365      if test ! -s conftest.er2 || diff conftest.expsym conftest.er2 >/dev/null; then
   18366        lt_cv_prog_compiler_pic_works_CXX=yes
   18367      fi
   18368    fi
   18369    $RM conftest*
   18370  ;;
   18371 esac
   18372 fi
   18373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   18374 printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   18375 
   18376 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
   18377     case $lt_prog_compiler_pic_CXX in
   18378      "" | " "*) ;;
   18379      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   18380      esac
   18381 else
   18382     lt_prog_compiler_pic_CXX=
   18383      lt_prog_compiler_can_build_shared_CXX=no
   18384 fi
   18385 
   18386 fi
   18387 
   18388 
   18389 
   18390 
   18391 
   18392 #
   18393 # Check to make sure the static flag actually works.
   18394 #
   18395 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   18396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   18397 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   18398 if test ${lt_cv_prog_compiler_static_works_CXX+y}
   18399 then :
   18400   printf %s "(cached) " >&6
   18401 else case e in #(
   18402   e) lt_cv_prog_compiler_static_works_CXX=no
   18403    save_LDFLAGS=$LDFLAGS
   18404    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   18405    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   18406    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   18407      # The linker can only warn and ignore the option if not recognized
   18408      # So say no if there are warnings
   18409      if test -s conftest.err; then
   18410        # Append any errors to the config.log.
   18411        cat conftest.err 1>&5
   18412        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.expsym
   18413        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   18414        if diff conftest.expsym conftest.er2 >/dev/null; then
   18415          lt_cv_prog_compiler_static_works_CXX=yes
   18416        fi
   18417      else
   18418        lt_cv_prog_compiler_static_works_CXX=yes
   18419      fi
   18420    fi
   18421    $RM -r conftest*
   18422    LDFLAGS=$save_LDFLAGS
   18423  ;;
   18424 esac
   18425 fi
   18426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   18427 printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   18428 
   18429 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
   18430     :
   18431 else
   18432     lt_prog_compiler_static_CXX=
   18433 fi
   18434 
   18435 
   18436 
   18437 
   18438     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   18439 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   18440 if test ${lt_cv_prog_compiler_c_o_CXX+y}
   18441 then :
   18442   printf %s "(cached) " >&6
   18443 else case e in #(
   18444   e) lt_cv_prog_compiler_c_o_CXX=no
   18445    $RM -r conftest 2>/dev/null
   18446    mkdir conftest
   18447    cd conftest
   18448    mkdir out
   18449    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18450 
   18451    lt_compiler_flag="-o out/conftest2.$ac_objext"
   18452    # Insert the option either (1) after the last *FLAGS variable, or
   18453    # (2) before a word containing "conftest.", or (3) at the end.
   18454    # Note that $ac_compile itself does not contain backslashes and begins
   18455    # with a dollar sign (not a hyphen), so the echo should work correctly.
   18456    lt_compile=`echo "$ac_compile" | $SED \
   18457    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   18458    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   18459    -e 's:$: $lt_compiler_flag:'`
   18460    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   18461    (eval "$lt_compile" 2>out/conftest.err)
   18462    ac_status=$?
   18463    cat out/conftest.err >&5
   18464    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18465    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   18466    then
   18467      # The compiler can only warn and ignore the option if not recognized
   18468      # So say no if there are warnings
   18469      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.expsym
   18470      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   18471      if test ! -s out/conftest.er2 || diff out/conftest.expsym out/conftest.er2 >/dev/null; then
   18472        lt_cv_prog_compiler_c_o_CXX=yes
   18473      fi
   18474    fi
   18475    chmod u+w . 2>&5
   18476    $RM conftest*
   18477    # SGI C++ compiler will create directory out/ii_files/ for
   18478    # template instantiation
   18479    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   18480    $RM out/* && rmdir out
   18481    cd ..
   18482    $RM -r conftest
   18483    $RM conftest*
   18484  ;;
   18485 esac
   18486 fi
   18487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   18488 printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   18489 
   18490 
   18491 
   18492     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   18493 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   18494 if test ${lt_cv_prog_compiler_c_o_CXX+y}
   18495 then :
   18496   printf %s "(cached) " >&6
   18497 else case e in #(
   18498   e) lt_cv_prog_compiler_c_o_CXX=no
   18499    $RM -r conftest 2>/dev/null
   18500    mkdir conftest
   18501    cd conftest
   18502    mkdir out
   18503    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18504 
   18505    lt_compiler_flag="-o out/conftest2.$ac_objext"
   18506    # Insert the option either (1) after the last *FLAGS variable, or
   18507    # (2) before a word containing "conftest.", or (3) at the end.
   18508    # Note that $ac_compile itself does not contain backslashes and begins
   18509    # with a dollar sign (not a hyphen), so the echo should work correctly.
   18510    lt_compile=`echo "$ac_compile" | $SED \
   18511    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   18512    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   18513    -e 's:$: $lt_compiler_flag:'`
   18514    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   18515    (eval "$lt_compile" 2>out/conftest.err)
   18516    ac_status=$?
   18517    cat out/conftest.err >&5
   18518    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18519    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   18520    then
   18521      # The compiler can only warn and ignore the option if not recognized
   18522      # So say no if there are warnings
   18523      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.expsym
   18524      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   18525      if test ! -s out/conftest.er2 || diff out/conftest.expsym out/conftest.er2 >/dev/null; then
   18526        lt_cv_prog_compiler_c_o_CXX=yes
   18527      fi
   18528    fi
   18529    chmod u+w . 2>&5
   18530    $RM conftest*
   18531    # SGI C++ compiler will create directory out/ii_files/ for
   18532    # template instantiation
   18533    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   18534    $RM out/* && rmdir out
   18535    cd ..
   18536    $RM -r conftest
   18537    $RM conftest*
   18538  ;;
   18539 esac
   18540 fi
   18541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   18542 printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   18543 
   18544 
   18545 
   18546 
   18547 hard_links=nottested
   18548 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
   18549   # do not overwrite the value of need_locks provided by the user
   18550   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   18551 printf %s "checking if we can lock with hard links... " >&6; }
   18552   hard_links=yes
   18553   $RM conftest*
   18554   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   18555   touch conftest.a
   18556   ln conftest.a conftest.b 2>&5 || hard_links=no
   18557   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   18558   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   18559 printf "%s\n" "$hard_links" >&6; }
   18560   if test no = "$hard_links"; then
   18561     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   18562 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   18563     need_locks=warn
   18564   fi
   18565 else
   18566   need_locks=no
   18567 fi
   18568 
   18569 
   18570 
   18571     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   18572 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   18573 
   18574   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   18575   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   18576   case $host_os in
   18577   aix[4-9]*)
   18578     # If we're using GNU nm, then we don't want the "-C" option.
   18579     # -C means demangle to GNU nm, but means don't demangle to AIX nm.
   18580     # Without the "-l" option, or with the "-B" option, AIX nm treats
   18581     # weak defined symbols like other global defined symbols, whereas
   18582     # GNU nm marks them as "W".
   18583     # While the 'weak' keyword is ignored in the Export File, we need
   18584     # it in the Import File for the 'aix-soname' feature, so we have
   18585     # to replace the "-B" option with "-P" for AIX nm.
   18586     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   18587       export_symbols_cmds_CXX='$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'
   18588     else
   18589       export_symbols_cmds_CXX='`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'
   18590     fi
   18591     ;;
   18592   pw32*)
   18593     export_symbols_cmds_CXX=$ltdll_cmds
   18594     ;;
   18595   cygwin* | mingw* | windows* | cegcc*)
   18596     case $cc_basename in
   18597     cl* | icl* | icx* | icpx*)
   18598       # Native MSVC and Intel compilers
   18599       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   18600       ;;
   18601     *)
   18602       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   18603       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   18604       ;;
   18605     esac
   18606     ;;
   18607   *)
   18608     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   18609     ;;
   18610   esac
   18611 
   18612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   18613 printf "%s\n" "$ld_shlibs_CXX" >&6; }
   18614 test no = "$ld_shlibs_CXX" && can_build_shared=no
   18615 
   18616 with_gnu_ld_CXX=$with_gnu_ld
   18617 
   18618 
   18619 
   18620 
   18621 
   18622 
   18623 #
   18624 # Do we need to explicitly link libc?
   18625 #
   18626 case "x$archive_cmds_need_lc_CXX" in
   18627 x|xyes)
   18628   # Assume -lc should be added
   18629   archive_cmds_need_lc_CXX=yes
   18630 
   18631   if test yes,yes = "$GCC,$enable_shared"; then
   18632     case $archive_cmds_CXX in
   18633     *'~'*)
   18634       # FIXME: we may have to deal with multi-command sequences.
   18635       ;;
   18636     '$CC '*)
   18637       # Test whether the compiler implicitly links with -lc since on some
   18638       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18639       # to ld, don't add -lc before -lgcc.
   18640       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   18641 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   18642 if test ${lt_cv_archive_cmds_need_lc_CXX+y}
   18643 then :
   18644   printf %s "(cached) " >&6
   18645 else case e in #(
   18646   e) $RM conftest*
   18647 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18648 
   18649 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   18650   (eval $ac_compile) 2>&5
   18651   ac_status=$?
   18652   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18653   test $ac_status = 0; } 2>conftest.err; then
   18654 	  soname=conftest
   18655 	  lib=conftest
   18656 	  libobjs=conftest.$ac_objext
   18657 	  deplibs=
   18658 	  wl=$lt_prog_compiler_wl_CXX
   18659 	  pic_flag=$lt_prog_compiler_pic_CXX
   18660 	  compiler_flags=-v
   18661 	  linker_flags=-v
   18662 	  verstring=
   18663 	  output_objdir=.
   18664 	  libname=conftest
   18665 	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   18666 	  allow_undefined_flag_CXX=
   18667 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   18668   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18669   ac_status=$?
   18670   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18671   test $ac_status = 0; }
   18672 	  then
   18673 	    lt_cv_archive_cmds_need_lc_CXX=no
   18674 	  else
   18675 	    lt_cv_archive_cmds_need_lc_CXX=yes
   18676 	  fi
   18677 	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   18678 	else
   18679 	  cat conftest.err 1>&5
   18680 	fi
   18681 	$RM conftest*
   18682 	 ;;
   18683 esac
   18684 fi
   18685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
   18686 printf "%s\n" "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
   18687       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
   18688       ;;
   18689     esac
   18690   fi
   18691   ;;
   18692 esac
   18693 
   18694 
   18695 
   18696 
   18697 
   18698 
   18699 
   18700 
   18701 
   18702 
   18703 
   18704 
   18705 
   18706 
   18707 
   18708 
   18709 
   18710 
   18711 
   18712 
   18713 
   18714 
   18715 
   18716 
   18717 
   18718 
   18719 
   18720 
   18721 
   18722 
   18723 
   18724 
   18725 
   18726 
   18727 
   18728 
   18729 
   18730 
   18731 
   18732 
   18733 
   18734 
   18735 
   18736 
   18737 
   18738 
   18739 
   18740 
   18741 
   18742 
   18743 
   18744 
   18745 
   18746 
   18747 
   18748 
   18749 
   18750 
   18751 
   18752 
   18753 
   18754 
   18755     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   18756 printf %s "checking dynamic linker characteristics... " >&6; }
   18757 
   18758 library_names_spec=
   18759 libname_spec='lib$name'
   18760 soname_spec=
   18761 shrext_cmds=.so
   18762 postinstall_cmds=
   18763 postuninstall_cmds=
   18764 finish_cmds=
   18765 finish_eval=
   18766 shlibpath_var=
   18767 shlibpath_overrides_runpath=unknown
   18768 version_type=none
   18769 dynamic_linker="$host_os ld.so"
   18770 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18771 need_lib_prefix=unknown
   18772 hardcode_into_libs=no
   18773 
   18774 # when you set need_version to no, make sure it does not cause -set_version
   18775 # flags to be left without arguments
   18776 need_version=unknown
   18777 
   18778 
   18779 
   18780 case $host_os in
   18781 aix3*)
   18782   version_type=linux # correct to gnu/linux during the next big refactor
   18783   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   18784   shlibpath_var=LIBPATH
   18785 
   18786   # AIX 3 has no versioning support, so we append a major version to the name.
   18787   soname_spec='$libname$release$shared_ext$major'
   18788   ;;
   18789 
   18790 aix[4-9]*)
   18791   version_type=linux # correct to gnu/linux during the next big refactor
   18792   need_lib_prefix=no
   18793   need_version=no
   18794   hardcode_into_libs=yes
   18795   if test ia64 = "$host_cpu"; then
   18796     # AIX 5 supports IA64
   18797     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   18798     shlibpath_var=LD_LIBRARY_PATH
   18799   else
   18800     # With GCC up to 2.95.x, collect2 would create an import file
   18801     # for dependence libraries.  The import file would start with
   18802     # the line '#! .'.  This would cause the generated library to
   18803     # depend on '.', always an invalid library.  This was fixed in
   18804     # development snapshots of GCC prior to 3.0.
   18805     case $host_os in
   18806       aix4 | aix4.[01] | aix4.[01].*)
   18807       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18808 	   echo ' yes '
   18809 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   18810 	:
   18811       else
   18812 	can_build_shared=no
   18813       fi
   18814       ;;
   18815     esac
   18816     # Using Import Files as archive members, it is possible to support
   18817     # filename-based versioning of shared library archives on AIX. While
   18818     # this would work for both with and without runtime linking, it will
   18819     # prevent static linking of such archives. So we do filename-based
   18820     # shared library versioning with .so extension only, which is used
   18821     # when both runtime linking and shared linking is enabled.
   18822     # Unfortunately, runtime linking may impact performance, so we do
   18823     # not want this to be the default eventually. Also, we use the
   18824     # versioned .so libs for executables only if there is the -brtl
   18825     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
   18826     # To allow for filename-based versioning support, we need to create
   18827     # libNAME.so.V as an archive file, containing:
   18828     # *) an Import File, referring to the versioned filename of the
   18829     #    archive as well as the shared archive member, telling the
   18830     #    bitwidth (32 or 64) of that shared object, and providing the
   18831     #    list of exported symbols of that shared object, eventually
   18832     #    decorated with the 'weak' keyword
   18833     # *) the shared object with the F_LOADONLY flag set, to really avoid
   18834     #    it being seen by the linker.
   18835     # At run time we better use the real file rather than another symlink,
   18836     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   18837 
   18838     case $with_aix_soname,$aix_use_runtimelinking in
   18839     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   18840     # soname into executable. Probably we can add versioning support to
   18841     # collect2, so additional links can be useful in future.
   18842     aix,yes) # traditional libtool
   18843       dynamic_linker='AIX unversionable lib.so'
   18844       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18845       # instead of lib<name>.a to let people know that these are not
   18846       # typical AIX shared libraries.
   18847       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18848       ;;
   18849     aix,no) # traditional AIX only
   18850       dynamic_linker='AIX lib.a(lib.so.V)'
   18851       # We preserve .a as extension for shared libraries through AIX4.2
   18852       # and later when we are not doing run time linking.
   18853       library_names_spec='$libname$release.a $libname.a'
   18854       soname_spec='$libname$release$shared_ext$major'
   18855       ;;
   18856     svr4,*) # full svr4 only
   18857       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   18858       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   18859       # We do not specify a path in Import Files, so LIBPATH fires.
   18860       shlibpath_overrides_runpath=yes
   18861       ;;
   18862     *,yes) # both, prefer svr4
   18863       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   18864       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   18865       # unpreferred sharedlib libNAME.a needs extra handling
   18866       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"'
   18867       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"'
   18868       # We do not specify a path in Import Files, so LIBPATH fires.
   18869       shlibpath_overrides_runpath=yes
   18870       ;;
   18871     *,no) # both, prefer aix
   18872       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   18873       library_names_spec='$libname$release.a $libname.a'
   18874       soname_spec='$libname$release$shared_ext$major'
   18875       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   18876       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)'
   18877       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"'
   18878       ;;
   18879     esac
   18880     shlibpath_var=LIBPATH
   18881   fi
   18882   ;;
   18883 
   18884 amigaos*)
   18885   case $host_cpu in
   18886   powerpc)
   18887     # Since July 2007 AmigaOS4 officially supports .so libraries.
   18888     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   18889     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18890     ;;
   18891   m68k)
   18892     library_names_spec='$libname.ixlibrary $libname.a'
   18893     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18894     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'
   18895     ;;
   18896   esac
   18897   ;;
   18898 
   18899 beos*)
   18900   library_names_spec='$libname$shared_ext'
   18901   dynamic_linker="$host_os ld.so"
   18902   shlibpath_var=LIBRARY_PATH
   18903   ;;
   18904 
   18905 bsdi[45]*)
   18906   version_type=linux # correct to gnu/linux during the next big refactor
   18907   need_version=no
   18908   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18909   soname_spec='$libname$release$shared_ext$major'
   18910   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18911   shlibpath_var=LD_LIBRARY_PATH
   18912   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18913   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18914   # the default ld.so.conf also contains /usr/contrib/lib and
   18915   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18916   # libtool to hard-code these into programs
   18917   ;;
   18918 
   18919 cygwin* | mingw* | windows* | pw32* | cegcc*)
   18920   version_type=windows
   18921   shrext_cmds=.dll
   18922   need_version=no
   18923   need_lib_prefix=no
   18924 
   18925   case $GCC,$cc_basename in
   18926   yes,*)
   18927     # gcc
   18928     library_names_spec='$libname.dll.a'
   18929     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18930     # If user builds GCC with multilib enabled,
   18931     # it should just install on $(libdir)
   18932     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
   18933     if test xyes = x"$multilib"; then
   18934       postinstall_cmds='base_file=`basename \$file`~
   18935         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18936         dldir=$destdir/`dirname \$dlpath`~
   18937         $install_prog $dir/$dlname $destdir/$dlname~
   18938         chmod a+x $destdir/$dlname~
   18939         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18940           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
   18941         fi'
   18942     else
   18943       postinstall_cmds='base_file=`basename \$file`~
   18944         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18945         dldir=$destdir/`dirname \$dlpath`~
   18946         test -d \$dldir || mkdir -p \$dldir~
   18947         $install_prog $dir/$dlname \$dldir/$dlname~
   18948         chmod a+x \$dldir/$dlname~
   18949         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18950           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18951         fi'
   18952     fi
   18953     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18954       dlpath=$dir/\$dldll~
   18955        $RM \$dlpath'
   18956     shlibpath_overrides_runpath=yes
   18957 
   18958     case $host_os in
   18959     cygwin*)
   18960       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18961       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18962 
   18963       ;;
   18964     mingw* | windows* | cegcc*)
   18965       # MinGW DLLs use traditional 'lib' prefix
   18966       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18967       ;;
   18968     pw32*)
   18969       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18970       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18971       ;;
   18972     esac
   18973     dynamic_linker='Win32 ld.exe'
   18974     ;;
   18975 
   18976   *,cl* | *,icl* | *,icx*)
   18977     # Native MSVC and Intel compilers
   18978     libname_spec='$name'
   18979     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18980     library_names_spec='$libname.dll.lib'
   18981 
   18982     case $build_os in
   18983     mingw* | windows*)
   18984       sys_lib_search_path_spec=
   18985       lt_save_ifs=$IFS
   18986       IFS=';'
   18987       for lt_path in $LIB
   18988       do
   18989         IFS=$lt_save_ifs
   18990         # Let DOS variable expansion print the short 8.3 style file name.
   18991         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   18992         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   18993       done
   18994       IFS=$lt_save_ifs
   18995       # Convert to MSYS style.
   18996       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   18997       ;;
   18998     cygwin*)
   18999       # Convert to unix form, then to dos form, then back to unix form
   19000       # but this time dos style (no spaces!) so that the unix form looks
   19001       # like /cygdrive/c/PROGRA~1:/cygdr...
   19002       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   19003       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   19004       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   19005       ;;
   19006     *)
   19007       sys_lib_search_path_spec=$LIB
   19008       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   19009         # It is most probably a Windows format PATH.
   19010         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   19011       else
   19012         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   19013       fi
   19014       # FIXME: find the short name or the path components, as spaces are
   19015       # common. (e.g. "Program Files" -> "PROGRA~1")
   19016       ;;
   19017     esac
   19018 
   19019     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   19020     postinstall_cmds='base_file=`basename \$file`~
   19021       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   19022       dldir=$destdir/`dirname \$dlpath`~
   19023       test -d \$dldir || mkdir -p \$dldir~
   19024       $install_prog $dir/$dlname \$dldir/$dlname'
   19025     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   19026       dlpath=$dir/\$dldll~
   19027        $RM \$dlpath'
   19028     shlibpath_overrides_runpath=yes
   19029     dynamic_linker='Win32 link.exe'
   19030     ;;
   19031 
   19032   *)
   19033     # Assume MSVC and ICC wrapper
   19034     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   19035     dynamic_linker='Win32 ld.exe'
   19036     ;;
   19037   esac
   19038   # FIXME: first we should search . and the directory the executable is in
   19039   shlibpath_var=PATH
   19040   ;;
   19041 
   19042 darwin* | rhapsody*)
   19043   dynamic_linker="$host_os dyld"
   19044   version_type=darwin
   19045   need_lib_prefix=no
   19046   need_version=no
   19047   library_names_spec='$libname$release$versuffix$shared_ext $libname$release$major$shared_ext $libname$shared_ext'
   19048   soname_spec='$libname$release$major$shared_ext'
   19049   shlibpath_overrides_runpath=yes
   19050   shlibpath_var=DYLD_LIBRARY_PATH
   19051   shrext_cmds='`test .$module = .yes && echo .bundle || echo .dylib`'
   19052 
   19053   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   19054   ;;
   19055 
   19056 dgux*)
   19057   version_type=linux # correct to gnu/linux during the next big refactor
   19058   need_lib_prefix=no
   19059   need_version=no
   19060   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19061   soname_spec='$libname$release$shared_ext$major'
   19062   shlibpath_var=LD_LIBRARY_PATH
   19063   ;;
   19064 
   19065 freebsd* | dragonfly* | midnightbsd*)
   19066   # DragonFly does not have aout.  When/if they implement a new
   19067   # versioning mechanism, adjust this.
   19068   if test -x /usr/bin/objformat; then
   19069     objformat=`/usr/bin/objformat`
   19070   else
   19071     case $host_os in
   19072     freebsd[23].*) objformat=aout ;;
   19073     *) objformat=elf ;;
   19074     esac
   19075   fi
   19076   version_type=freebsd-$objformat
   19077   case $version_type in
   19078     freebsd-elf*)
   19079       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19080       soname_spec='$libname$release$shared_ext$major'
   19081       need_version=no
   19082       need_lib_prefix=no
   19083       ;;
   19084     freebsd-*)
   19085       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   19086       need_version=yes
   19087       ;;
   19088   esac
   19089   case $host_cpu in
   19090     powerpc64)
   19091       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
   19092       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
   19093       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19094 /* end confdefs.h.  */
   19095 int test_pointer_size[sizeof (void *) - 5];
   19096 
   19097 _ACEOF
   19098 if ac_fn_cxx_try_compile "$LINENO"
   19099 then :
   19100   shlibpath_var=LD_LIBRARY_PATH
   19101 else case e in #(
   19102   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
   19103 esac
   19104 fi
   19105 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19106       ;;
   19107     *)
   19108       shlibpath_var=LD_LIBRARY_PATH
   19109       ;;
   19110   esac
   19111   case $host_os in
   19112   freebsd2.*)
   19113     shlibpath_overrides_runpath=yes
   19114     ;;
   19115   freebsd3.[01]* | freebsdelf3.[01]*)
   19116     shlibpath_overrides_runpath=yes
   19117     hardcode_into_libs=yes
   19118     ;;
   19119   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   19120   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   19121     shlibpath_overrides_runpath=no
   19122     hardcode_into_libs=yes
   19123     ;;
   19124   *) # from 4.6 on, and DragonFly
   19125     shlibpath_overrides_runpath=yes
   19126     hardcode_into_libs=yes
   19127     ;;
   19128   esac
   19129   ;;
   19130 
   19131 haiku*)
   19132   version_type=linux # correct to gnu/linux during the next big refactor
   19133   need_lib_prefix=no
   19134   need_version=no
   19135   dynamic_linker="$host_os runtime_loader"
   19136   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19137   soname_spec='$libname$release$shared_ext$major'
   19138   shlibpath_var=LIBRARY_PATH
   19139   shlibpath_overrides_runpath=no
   19140   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
   19141   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
   19142   hardcode_into_libs=no
   19143   ;;
   19144 
   19145 hpux9* | hpux10* | hpux11*)
   19146   # Give a soname corresponding to the major version so that dld.sl refuses to
   19147   # link against other versions.
   19148   version_type=sunos
   19149   need_lib_prefix=no
   19150   need_version=no
   19151   case $host_cpu in
   19152   ia64*)
   19153     shrext_cmds='.so'
   19154     hardcode_into_libs=yes
   19155     dynamic_linker="$host_os dld.so"
   19156     shlibpath_var=LD_LIBRARY_PATH
   19157     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   19158     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19159     soname_spec='$libname$release$shared_ext$major'
   19160     if test 32 = "$HPUX_IA64_MODE"; then
   19161       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   19162       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   19163     else
   19164       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   19165       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   19166     fi
   19167     ;;
   19168   hppa*64*)
   19169     shrext_cmds='.sl'
   19170     hardcode_into_libs=yes
   19171     dynamic_linker="$host_os dld.sl"
   19172     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   19173     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   19174     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19175     soname_spec='$libname$release$shared_ext$major'
   19176     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   19177     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   19178     ;;
   19179   *)
   19180     shrext_cmds='.sl'
   19181     dynamic_linker="$host_os dld.sl"
   19182     shlibpath_var=SHLIB_PATH
   19183     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   19184     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19185     soname_spec='$libname$release$shared_ext$major'
   19186     ;;
   19187   esac
   19188   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   19189   postinstall_cmds='chmod 555 $lib'
   19190   # or fails outright, so override atomically:
   19191   install_override_mode=555
   19192   ;;
   19193 
   19194 interix[3-9]*)
   19195   version_type=linux # correct to gnu/linux during the next big refactor
   19196   need_lib_prefix=no
   19197   need_version=no
   19198   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19199   soname_spec='$libname$release$shared_ext$major'
   19200   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   19201   shlibpath_var=LD_LIBRARY_PATH
   19202   shlibpath_overrides_runpath=no
   19203   hardcode_into_libs=yes
   19204   ;;
   19205 
   19206 irix5* | irix6* | nonstopux*)
   19207   case $host_os in
   19208     nonstopux*) version_type=nonstopux ;;
   19209     *)
   19210 	if test yes = "$lt_cv_prog_gnu_ld"; then
   19211 		version_type=linux # correct to gnu/linux during the next big refactor
   19212 	else
   19213 		version_type=irix
   19214 	fi ;;
   19215   esac
   19216   need_lib_prefix=no
   19217   need_version=no
   19218   soname_spec='$libname$release$shared_ext$major'
   19219   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   19220   case $host_os in
   19221   irix5* | nonstopux*)
   19222     libsuff= shlibsuff=
   19223     ;;
   19224   *)
   19225     case $LD in # libtool.m4 will add one of these switches to LD
   19226     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   19227       libsuff= shlibsuff= libmagic=32-bit;;
   19228     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   19229       libsuff=32 shlibsuff=N32 libmagic=N32;;
   19230     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   19231       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   19232     *) libsuff= shlibsuff= libmagic=never-match;;
   19233     esac
   19234     ;;
   19235   esac
   19236   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   19237   shlibpath_overrides_runpath=no
   19238   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   19239   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   19240   hardcode_into_libs=yes
   19241   ;;
   19242 
   19243 *-mlibc)
   19244   version_type=linux # correct to gnu/linux during the next big refactor
   19245   need_lib_prefix=no
   19246   need_version=no
   19247   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19248   soname_spec='$libname$release$shared_ext$major'
   19249   dynamic_linker='mlibc ld.so'
   19250   shlibpath_var=LD_LIBRARY_PATH
   19251   shlibpath_overrides_runpath=no
   19252   hardcode_into_libs=yes
   19253   ;;
   19254 
   19255 # No shared lib support for Linux oldld, aout, or coff.
   19256 linux*oldld* | linux*aout* | linux*coff*)
   19257   dynamic_linker=no
   19258   ;;
   19259 
   19260 linux*android*)
   19261   version_type=none # Android doesn't support versioned libraries.
   19262   need_lib_prefix=no
   19263   need_version=no
   19264   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
   19265   soname_spec='$libname$release$shared_ext'
   19266   finish_cmds=
   19267   shlibpath_var=LD_LIBRARY_PATH
   19268   shlibpath_overrides_runpath=yes
   19269 
   19270   # This implies no fast_install, which is unacceptable.
   19271   # Some rework will be needed to allow for fast_install
   19272   # before this can be enabled.
   19273   hardcode_into_libs=yes
   19274 
   19275   dynamic_linker='Android linker'
   19276   # -rpath works at least for libraries that are not overridden by
   19277   # libraries installed in system locations.
   19278   hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   19279   ;;
   19280 
   19281 # This must be glibc/ELF.
   19282 linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   19283   version_type=linux # correct to gnu/linux during the next big refactor
   19284   need_lib_prefix=no
   19285   need_version=no
   19286   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19287   soname_spec='$libname$release$shared_ext$major'
   19288   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   19289   shlibpath_var=LD_LIBRARY_PATH
   19290   shlibpath_overrides_runpath=no
   19291 
   19292   # Some binutils ld are patched to set DT_RUNPATH
   19293   if test ${lt_cv_shlibpath_overrides_runpath+y}
   19294 then :
   19295   printf %s "(cached) " >&6
   19296 else case e in #(
   19297   e) lt_cv_shlibpath_overrides_runpath=no
   19298     save_LDFLAGS=$LDFLAGS
   19299     save_libdir=$libdir
   19300     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
   19301 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
   19302     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19303 /* end confdefs.h.  */
   19304 
   19305 int
   19306 main (void)
   19307 {
   19308 
   19309   ;
   19310   return 0;
   19311 }
   19312 _ACEOF
   19313 if ac_fn_cxx_try_link "$LINENO"
   19314 then :
   19315   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   19316 then :
   19317   lt_cv_shlibpath_overrides_runpath=yes
   19318 fi
   19319 fi
   19320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19321     conftest$ac_exeext conftest.$ac_ext
   19322     LDFLAGS=$save_LDFLAGS
   19323     libdir=$save_libdir
   19324      ;;
   19325 esac
   19326 fi
   19327 
   19328   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   19329 
   19330   # This implies no fast_install, which is unacceptable.
   19331   # Some rework will be needed to allow for fast_install
   19332   # before this can be enabled.
   19333   hardcode_into_libs=yes
   19334 
   19335   # Ideally, we could use ldconfig to report *all* directories which are
   19336   # searched for libraries, however this is still not possible.  Aside from not
   19337   # being certain /sbin/ldconfig is available, command
   19338   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   19339   # even though it is searched at run-time.  Try to do the best guess by
   19340   # appending ld.so.conf contents (and includes) to the search path.
   19341   if test -f /etc/ld.so.conf; then
   19342     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' ' '`
   19343     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   19344   fi
   19345 
   19346   # We used to test for /lib/ld.so.1 and disable shared libraries on
   19347   # powerpc, because MkLinux only supported shared libraries with the
   19348   # GNU dynamic linker.  Since this was broken with cross compilers,
   19349   # most powerpc-linux boxes support dynamic linking these days and
   19350   # people can always --disable-shared, the test was removed, and we
   19351   # assume the GNU/Linux dynamic linker is in use.
   19352   dynamic_linker='GNU/Linux ld.so'
   19353   ;;
   19354 
   19355 netbsdelf*-gnu)
   19356   version_type=linux
   19357   need_lib_prefix=no
   19358   need_version=no
   19359   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19360   soname_spec='$libname$release$shared_ext$major'
   19361   shlibpath_var=LD_LIBRARY_PATH
   19362   shlibpath_overrides_runpath=no
   19363   hardcode_into_libs=yes
   19364   dynamic_linker='NetBSD ld.elf_so'
   19365   enable_cxx_stdlib=yes
   19366   stdlibflag=
   19367   ;;
   19368 
   19369 netbsd*)
   19370   version_type=sunos
   19371   need_lib_prefix=no
   19372   need_version=no
   19373   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   19374     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   19375     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   19376     dynamic_linker='NetBSD (a.out) ld.so'
   19377   else
   19378     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19379     soname_spec='$libname$release$shared_ext$major'
   19380     dynamic_linker='NetBSD ld.elf_so'
   19381   fi
   19382   shlibpath_var=LD_LIBRARY_PATH
   19383   shlibpath_overrides_runpath=yes
   19384   hardcode_into_libs=yes
   19385   enable_cxx_stdlib=yes
   19386   stdlibflag=
   19387   ;;
   19388 
   19389 newsos6)
   19390   version_type=linux # correct to gnu/linux during the next big refactor
   19391   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19392   shlibpath_var=LD_LIBRARY_PATH
   19393   shlibpath_overrides_runpath=yes
   19394   ;;
   19395 
   19396 *nto* | *qnx*)
   19397   version_type=qnx
   19398   need_lib_prefix=no
   19399   need_version=no
   19400   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19401   soname_spec='$libname$release$shared_ext$major'
   19402   shlibpath_var=LD_LIBRARY_PATH
   19403   shlibpath_overrides_runpath=no
   19404   hardcode_into_libs=yes
   19405   dynamic_linker='ldqnx.so'
   19406   ;;
   19407 
   19408 openbsd*)
   19409   version_type=sunos
   19410   sys_lib_dlsearch_path_spec=/usr/lib
   19411   need_lib_prefix=no
   19412   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   19413     need_version=no
   19414   else
   19415     need_version=yes
   19416   fi
   19417   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   19418   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   19419   shlibpath_var=LD_LIBRARY_PATH
   19420   shlibpath_overrides_runpath=yes
   19421   ;;
   19422 
   19423 os2*)
   19424   libname_spec='$name'
   19425   version_type=windows
   19426   shrext_cmds=.dll
   19427   need_version=no
   19428   need_lib_prefix=no
   19429   # OS/2 can only load a DLL with a base name of 8 characters or less.
   19430   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   19431     n=$($ECHO $libname | tr -d .-);
   19432     l=${#n}; test 3 -lt "$l" && l=3; mr=$((8 - $l));
   19433     r=$($ECHO $release | tr -d .-);
   19434     l=${#r}; test 2 -lt "$l" && l=2; mv=$(($mr - $l));
   19435     v=$($ECHO $versuffix | tr -d .- | cut -b -$mv);
   19436     r=$($ECHO $r | cut -b -$(($mr - ${#v})));
   19437     n=$($ECHO $n | cut -b -$((8 - ${#r} - ${#v})));
   19438     $ECHO $n$r$v`$shared_ext'
   19439   library_names_spec='${libname}_dll.$libext'
   19440   dynamic_linker='OS/2 ld.exe'
   19441   shlibpath_var=BEGINLIBPATH
   19442   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   19443   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   19444   postinstall_cmds='base_file=`basename \$file`~
   19445     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   19446     dldir=$destdir/`dirname \$dlpath`~
   19447     test -d \$dldir || mkdir -p \$dldir~
   19448     $install_prog $dir/$dlname \$dldir/$dlname~
   19449     chmod a+x \$dldir/$dlname~
   19450     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   19451       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   19452     fi'
   19453   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   19454     dlpath=$dir/\$dldll~
   19455     $RM \$dlpath'
   19456   ;;
   19457 
   19458 osf3* | osf4* | osf5*)
   19459   version_type=osf
   19460   need_lib_prefix=no
   19461   need_version=no
   19462   soname_spec='$libname$release$shared_ext$major'
   19463   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19464   shlibpath_var=LD_LIBRARY_PATH
   19465   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   19466   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   19467   ;;
   19468 
   19469 rdos*)
   19470   dynamic_linker=no
   19471   ;;
   19472 
   19473 serenity*)
   19474   version_type=linux # correct to gnu/linux during the next big refactor
   19475   need_lib_prefix=no
   19476   need_version=no
   19477   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19478   soname_spec='$libname$release$shared_ext$major'
   19479   shlibpath_var=LD_LIBRARY_PATH
   19480   shlibpath_overrides_runpath=no
   19481   dynamic_linker='SerenityOS LibELF'
   19482   ;;
   19483 
   19484 solaris*)
   19485   version_type=linux # correct to gnu/linux during the next big refactor
   19486   need_lib_prefix=no
   19487   need_version=no
   19488   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19489   soname_spec='$libname$release$shared_ext$major'
   19490   shlibpath_var=LD_LIBRARY_PATH
   19491   shlibpath_overrides_runpath=yes
   19492   hardcode_into_libs=yes
   19493   # ldd complains unless libraries are executable
   19494   postinstall_cmds='chmod +x $lib'
   19495   ;;
   19496 
   19497 sunos4*)
   19498   version_type=sunos
   19499   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   19500   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   19501   shlibpath_var=LD_LIBRARY_PATH
   19502   shlibpath_overrides_runpath=yes
   19503   if test yes = "$with_gnu_ld"; then
   19504     need_lib_prefix=no
   19505   fi
   19506   need_version=yes
   19507   ;;
   19508 
   19509 sysv4 | sysv4.3*)
   19510   version_type=linux # correct to gnu/linux during the next big refactor
   19511   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19512   soname_spec='$libname$release$shared_ext$major'
   19513   shlibpath_var=LD_LIBRARY_PATH
   19514   case $host_vendor in
   19515     sni)
   19516       shlibpath_overrides_runpath=no
   19517       need_lib_prefix=no
   19518       runpath_var=LD_RUN_PATH
   19519       ;;
   19520     siemens)
   19521       need_lib_prefix=no
   19522       ;;
   19523     motorola)
   19524       need_lib_prefix=no
   19525       need_version=no
   19526       shlibpath_overrides_runpath=no
   19527       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   19528       ;;
   19529   esac
   19530   ;;
   19531 
   19532 sysv4*MP*)
   19533   if test -d /usr/nec; then
   19534     version_type=linux # correct to gnu/linux during the next big refactor
   19535     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   19536     soname_spec='$libname$shared_ext.$major'
   19537     shlibpath_var=LD_LIBRARY_PATH
   19538   fi
   19539   ;;
   19540 
   19541 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   19542   version_type=sco
   19543   need_lib_prefix=no
   19544   need_version=no
   19545   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   19546   soname_spec='$libname$release$shared_ext$major'
   19547   shlibpath_var=LD_LIBRARY_PATH
   19548   shlibpath_overrides_runpath=yes
   19549   hardcode_into_libs=yes
   19550   if test yes = "$with_gnu_ld"; then
   19551     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   19552   else
   19553     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   19554     case $host_os in
   19555       sco3.2v5*)
   19556         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   19557 	;;
   19558     esac
   19559   fi
   19560   sys_lib_dlsearch_path_spec='/usr/lib'
   19561   ;;
   19562 
   19563 tpf*)
   19564   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   19565   version_type=linux # correct to gnu/linux during the next big refactor
   19566   need_lib_prefix=no
   19567   need_version=no
   19568   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19569   shlibpath_var=LD_LIBRARY_PATH
   19570   shlibpath_overrides_runpath=no
   19571   hardcode_into_libs=yes
   19572   ;;
   19573 
   19574 uts4*)
   19575   version_type=linux # correct to gnu/linux during the next big refactor
   19576   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19577   soname_spec='$libname$release$shared_ext$major'
   19578   shlibpath_var=LD_LIBRARY_PATH
   19579   ;;
   19580 
   19581 emscripten*)
   19582   version_type=none
   19583   need_lib_prefix=no
   19584   need_version=no
   19585   library_names_spec='$libname$release$shared_ext'
   19586   soname_spec='$libname$release$shared_ext'
   19587   finish_cmds=
   19588   dynamic_linker="Emscripten linker"
   19589   lt_prog_compiler_wl_CXX=
   19590 lt_prog_compiler_pic_CXX=
   19591 lt_prog_compiler_static_CXX=
   19592 
   19593 
   19594   # C++ specific cases for pic, static, wl, etc.
   19595   if test yes = "$GXX"; then
   19596     lt_prog_compiler_wl_CXX='-Wl,'
   19597     lt_prog_compiler_static_CXX='-static'
   19598 
   19599     case $host_os in
   19600     aix*)
   19601       # All AIX code is PIC.
   19602       if test ia64 = "$host_cpu"; then
   19603 	# AIX 5 now supports IA64 processor
   19604 	lt_prog_compiler_static_CXX='-Bstatic'
   19605       fi
   19606       lt_prog_compiler_pic_CXX='-fPIC'
   19607       ;;
   19608 
   19609     amigaos*)
   19610       case $host_cpu in
   19611       powerpc)
   19612             # see comment about AmigaOS4 .so support
   19613             lt_prog_compiler_pic_CXX='-fPIC'
   19614         ;;
   19615       m68k)
   19616             # FIXME: we need at least 68020 code to build shared libraries, but
   19617             # adding the '-m68020' flag to GCC prevents building anything better,
   19618             # like '-m68040'.
   19619             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   19620         ;;
   19621       esac
   19622       ;;
   19623 
   19624     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   19625       # PIC is the default for these OSes.
   19626       ;;
   19627     mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
   19628       # This hack is so that the source file can tell whether it is being
   19629       # built for inclusion in a dll (and should export symbols for example).
   19630       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   19631       # (--disable-auto-import) libraries
   19632       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   19633       case $host_os in
   19634       os2*)
   19635 	lt_prog_compiler_static_CXX='$wl-static'
   19636 	;;
   19637       esac
   19638       ;;
   19639     darwin* | rhapsody*)
   19640       # PIC is the default on this platform
   19641       # Common symbols not allowed in MH_DYLIB files
   19642       lt_prog_compiler_pic_CXX='-fno-common'
   19643       ;;
   19644     *djgpp*)
   19645       # DJGPP does not support shared libraries at all
   19646       lt_prog_compiler_pic_CXX=
   19647       ;;
   19648     haiku*)
   19649       # PIC is the default for Haiku.
   19650       # The "-static" flag exists, but is broken.
   19651       lt_prog_compiler_static_CXX=
   19652       ;;
   19653     interix[3-9]*)
   19654       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   19655       # Instead, we relocate shared libraries at runtime.
   19656       ;;
   19657     sysv4*MP*)
   19658       if test -d /usr/nec; then
   19659 	lt_prog_compiler_pic_CXX=-Kconform_pic
   19660       fi
   19661       ;;
   19662     hpux*)
   19663       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   19664       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   19665       # sets the default TLS model and affects inlining.
   19666       case $host_cpu in
   19667       hppa*64*)
   19668 	;;
   19669       *)
   19670 	lt_prog_compiler_pic_CXX='-fPIC'
   19671 	;;
   19672       esac
   19673       ;;
   19674     *qnx* | *nto*)
   19675       # QNX uses GNU C++, but need to define -shared option too, otherwise
   19676       # it will coredump.
   19677       lt_prog_compiler_pic_CXX='-fPIC -shared'
   19678       ;;
   19679     *)
   19680       lt_prog_compiler_pic_CXX='-fPIC'
   19681       ;;
   19682     esac
   19683   else
   19684     case $host_os in
   19685       aix[4-9]*)
   19686 	# All AIX code is PIC.
   19687 	if test ia64 = "$host_cpu"; then
   19688 	  # AIX 5 now supports IA64 processor
   19689 	  lt_prog_compiler_static_CXX='-Bstatic'
   19690 	else
   19691 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.expsym'
   19692 	fi
   19693 	;;
   19694       chorus*)
   19695 	case $cc_basename in
   19696 	cxch68*)
   19697 	  # Green Hills C++ Compiler
   19698 	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
   19699 	  ;;
   19700 	esac
   19701 	;;
   19702       mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
   19703 	# This hack is so that the source file can tell whether it is being
   19704 	# built for inclusion in a dll (and should export symbols for example).
   19705 	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   19706 	;;
   19707       dgux*)
   19708 	case $cc_basename in
   19709 	  ec++*)
   19710 	    lt_prog_compiler_pic_CXX='-KPIC'
   19711 	    ;;
   19712 	  ghcx*)
   19713 	    # Green Hills C++ Compiler
   19714 	    lt_prog_compiler_pic_CXX='-pic'
   19715 	    ;;
   19716 	  *)
   19717 	    ;;
   19718 	esac
   19719 	;;
   19720       freebsd* | dragonfly* | midnightbsd*)
   19721 	# FreeBSD uses GNU C++
   19722 	;;
   19723       hpux9* | hpux10* | hpux11*)
   19724 	case $cc_basename in
   19725 	  CC*)
   19726 	    lt_prog_compiler_wl_CXX='-Wl,'
   19727 	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
   19728 	    if test ia64 != "$host_cpu"; then
   19729 	      lt_prog_compiler_pic_CXX='+Z'
   19730 	    fi
   19731 	    ;;
   19732 	  aCC*)
   19733 	    lt_prog_compiler_wl_CXX='-Wl,'
   19734 	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
   19735 	    case $host_cpu in
   19736 	    hppa*64*|ia64*)
   19737 	      # +Z the default
   19738 	      ;;
   19739 	    *)
   19740 	      lt_prog_compiler_pic_CXX='+Z'
   19741 	      ;;
   19742 	    esac
   19743 	    ;;
   19744 	  *)
   19745 	    ;;
   19746 	esac
   19747 	;;
   19748       interix*)
   19749 	# This is c89, which is MS Visual C++ (no shared libs)
   19750 	# Anyone wants to do a port?
   19751 	;;
   19752       irix5* | irix6* | nonstopux*)
   19753 	case $cc_basename in
   19754 	  CC*)
   19755 	    lt_prog_compiler_wl_CXX='-Wl,'
   19756 	    lt_prog_compiler_static_CXX='-non_shared'
   19757 	    # CC pic flag -KPIC is the default.
   19758 	    ;;
   19759 	  *)
   19760 	    ;;
   19761 	esac
   19762 	;;
   19763       *-mlibc)
   19764 	;;
   19765       linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   19766 	case $cc_basename in
   19767 	  KCC*)
   19768 	    # KAI C++ Compiler
   19769 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   19770 	    lt_prog_compiler_pic_CXX='-fPIC'
   19771 	    ;;
   19772 	  ecpc* )
   19773 	    # old Intel C++ for x86_64, which still supported -KPIC.
   19774 	    lt_prog_compiler_wl_CXX='-Wl,'
   19775 	    lt_prog_compiler_pic_CXX='-KPIC'
   19776 	    lt_prog_compiler_static_CXX='-static'
   19777 	    ;;
   19778 	  icpc* | icpx*)
   19779 	    # Intel C++, used to be incompatible with GCC.
   19780 	    # ICC 10 doesn't accept -KPIC any more.
   19781 	    lt_prog_compiler_wl_CXX='-Wl,'
   19782 	    lt_prog_compiler_pic_CXX='-fPIC'
   19783 	    lt_prog_compiler_static_CXX='-static'
   19784 	    ;;
   19785 	  pgCC* | pgcpp*)
   19786 	    # Portland Group C++ compiler
   19787 	    lt_prog_compiler_wl_CXX='-Wl,'
   19788 	    lt_prog_compiler_pic_CXX='-fpic'
   19789 	    lt_prog_compiler_static_CXX='-Bstatic'
   19790 	    ;;
   19791 	  cxx*)
   19792 	    # Compaq C++
   19793 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   19794 	    # Linux and Compaq Tru64 Unix objects are PIC.
   19795 	    lt_prog_compiler_pic_CXX=
   19796 	    lt_prog_compiler_static_CXX='-non_shared'
   19797 	    ;;
   19798 	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
   19799 	    # IBM XL 8.0, 9.0 on PPC and BlueGene
   19800 	    lt_prog_compiler_wl_CXX='-Wl,'
   19801 	    lt_prog_compiler_pic_CXX='-qpic'
   19802 	    lt_prog_compiler_static_CXX='-qstaticlink'
   19803 	    ;;
   19804 	  *)
   19805 	    case `$CC -V 2>&1 | $SED 5q` in
   19806 	    *Sun\ C*)
   19807 	      # Sun C++ 5.9
   19808 	      lt_prog_compiler_pic_CXX='-KPIC'
   19809 	      lt_prog_compiler_static_CXX='-Bstatic'
   19810 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   19811 	      ;;
   19812 	    esac
   19813 	    ;;
   19814 	esac
   19815 	;;
   19816       lynxos*)
   19817 	;;
   19818       m88k*)
   19819 	;;
   19820       mvs*)
   19821 	case $cc_basename in
   19822 	  cxx*)
   19823 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   19824 	    ;;
   19825 	  *)
   19826 	    ;;
   19827 	esac
   19828 	;;
   19829       netbsd* | netbsdelf*-gnu)
   19830 	;;
   19831       *qnx* | *nto*)
   19832         # QNX uses GNU C++, but need to define -shared option too, otherwise
   19833         # it will coredump.
   19834         lt_prog_compiler_pic_CXX='-fPIC -shared'
   19835         ;;
   19836       osf3* | osf4* | osf5*)
   19837 	case $cc_basename in
   19838 	  KCC*)
   19839 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   19840 	    ;;
   19841 	  RCC*)
   19842 	    # Rational C++ 2.4.1
   19843 	    lt_prog_compiler_pic_CXX='-pic'
   19844 	    ;;
   19845 	  cxx*)
   19846 	    # Digital/Compaq C++
   19847 	    lt_prog_compiler_wl_CXX='-Wl,'
   19848 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   19849 	    # Linux and Compaq Tru64 Unix objects are PIC.
   19850 	    lt_prog_compiler_pic_CXX=
   19851 	    lt_prog_compiler_static_CXX='-non_shared'
   19852 	    ;;
   19853 	  *)
   19854 	    ;;
   19855 	esac
   19856 	;;
   19857       psos*)
   19858 	;;
   19859       serenity*)
   19860         ;;
   19861       solaris*)
   19862 	case $cc_basename in
   19863 	  CC* | sunCC*)
   19864 	    # Sun C++ 4.2, 5.x and Centerline C++
   19865 	    lt_prog_compiler_pic_CXX='-KPIC'
   19866 	    lt_prog_compiler_static_CXX='-Bstatic'
   19867 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   19868 	    ;;
   19869 	  gcx*)
   19870 	    # Green Hills C++ Compiler
   19871 	    lt_prog_compiler_pic_CXX='-PIC'
   19872 	    ;;
   19873 	  *)
   19874 	    ;;
   19875 	esac
   19876 	;;
   19877       sunos4*)
   19878 	case $cc_basename in
   19879 	  CC*)
   19880 	    # Sun C++ 4.x
   19881 	    lt_prog_compiler_pic_CXX='-pic'
   19882 	    lt_prog_compiler_static_CXX='-Bstatic'
   19883 	    ;;
   19884 	  lcc*)
   19885 	    # Lucid
   19886 	    lt_prog_compiler_pic_CXX='-pic'
   19887 	    ;;
   19888 	  *)
   19889 	    ;;
   19890 	esac
   19891 	;;
   19892       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   19893 	case $cc_basename in
   19894 	  CC*)
   19895 	    lt_prog_compiler_wl_CXX='-Wl,'
   19896 	    lt_prog_compiler_pic_CXX='-KPIC'
   19897 	    lt_prog_compiler_static_CXX='-Bstatic'
   19898 	    ;;
   19899 	esac
   19900 	;;
   19901       tandem*)
   19902 	case $cc_basename in
   19903 	  NCC*)
   19904 	    # NonStop-UX NCC 3.20
   19905 	    lt_prog_compiler_pic_CXX='-KPIC'
   19906 	    ;;
   19907 	  *)
   19908 	    ;;
   19909 	esac
   19910 	;;
   19911       vxworks*)
   19912 	;;
   19913       *)
   19914 	lt_prog_compiler_can_build_shared_CXX=no
   19915 	;;
   19916     esac
   19917   fi
   19918 
   19919 case $host_os in
   19920   # For platforms that do not support PIC, -DPIC is meaningless:
   19921   *djgpp*)
   19922     lt_prog_compiler_pic_CXX=
   19923     ;;
   19924   *)
   19925     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   19926     ;;
   19927 esac
   19928 
   19929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   19930 printf %s "checking for $compiler option to produce PIC... " >&6; }
   19931 if test ${lt_cv_prog_compiler_pic_CXX+y}
   19932 then :
   19933   printf %s "(cached) " >&6
   19934 else case e in #(
   19935   e) lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX ;;
   19936 esac
   19937 fi
   19938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
   19939 printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
   19940 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
   19941 
   19942 #
   19943 # Check to make sure the PIC flag actually works.
   19944 #
   19945 if test -n "$lt_prog_compiler_pic_CXX"; then
   19946   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   19947 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   19948 if test ${lt_cv_prog_compiler_pic_works_CXX+y}
   19949 then :
   19950   printf %s "(cached) " >&6
   19951 else case e in #(
   19952   e) lt_cv_prog_compiler_pic_works_CXX=no
   19953    ac_outfile=conftest.$ac_objext
   19954    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   19955    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   19956    # Insert the option either (1) after the last *FLAGS variable, or
   19957    # (2) before a word containing "conftest.", or (3) at the end.
   19958    # Note that $ac_compile itself does not contain backslashes and begins
   19959    # with a dollar sign (not a hyphen), so the echo should work correctly.
   19960    # The option is referenced via a variable to avoid confusing sed.
   19961    lt_compile=`echo "$ac_compile" | $SED \
   19962    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   19963    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   19964    -e 's:$: $lt_compiler_flag:'`
   19965    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   19966    (eval "$lt_compile" 2>conftest.err)
   19967    ac_status=$?
   19968    cat conftest.err >&5
   19969    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19970    if (exit $ac_status) && test -s "$ac_outfile"; then
   19971      # The compiler can only warn and ignore the option if not recognized
   19972      # So say no if there are warnings other than the usual output.
   19973      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.expsym
   19974      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   19975      if test ! -s conftest.er2 || diff conftest.expsym conftest.er2 >/dev/null; then
   19976        lt_cv_prog_compiler_pic_works_CXX=yes
   19977      fi
   19978    fi
   19979    $RM conftest*
   19980  ;;
   19981 esac
   19982 fi
   19983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   19984 printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   19985 
   19986 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
   19987     case $lt_prog_compiler_pic_CXX in
   19988      "" | " "*) ;;
   19989      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   19990      esac
   19991 else
   19992     lt_prog_compiler_pic_CXX=
   19993      lt_prog_compiler_can_build_shared_CXX=no
   19994 fi
   19995 
   19996 fi
   19997 
   19998 
   19999 
   20000 
   20001 
   20002 #
   20003 # Check to make sure the static flag actually works.
   20004 #
   20005 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   20006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   20007 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   20008 if test ${lt_cv_prog_compiler_static_works_CXX+y}
   20009 then :
   20010   printf %s "(cached) " >&6
   20011 else case e in #(
   20012   e) lt_cv_prog_compiler_static_works_CXX=no
   20013    save_LDFLAGS=$LDFLAGS
   20014    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   20015    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   20016    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   20017      # The linker can only warn and ignore the option if not recognized
   20018      # So say no if there are warnings
   20019      if test -s conftest.err; then
   20020        # Append any errors to the config.log.
   20021        cat conftest.err 1>&5
   20022        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.expsym
   20023        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   20024        if diff conftest.expsym conftest.er2 >/dev/null; then
   20025          lt_cv_prog_compiler_static_works_CXX=yes
   20026        fi
   20027      else
   20028        lt_cv_prog_compiler_static_works_CXX=yes
   20029      fi
   20030    fi
   20031    $RM -r conftest*
   20032    LDFLAGS=$save_LDFLAGS
   20033  ;;
   20034 esac
   20035 fi
   20036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   20037 printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   20038 
   20039 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
   20040     :
   20041 else
   20042     lt_prog_compiler_static_CXX=
   20043 fi
   20044 
   20045 
   20046 
   20047 ='-fPIC'
   20048   archive_cmds_CXX='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
   20049   archive_expsym_cmds_CXX='$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'
   20050   archive_cmds_need_lc_CXX=no
   20051   no_undefined_flag_CXX=
   20052   ;;
   20053 
   20054 *)
   20055   dynamic_linker=no
   20056   ;;
   20057 esac
   20058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   20059 printf "%s\n" "$dynamic_linker" >&6; }
   20060 test no = "$dynamic_linker" && can_build_shared=no
   20061 
   20062 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   20063 if test yes = "$GCC"; then
   20064   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   20065 fi
   20066 
   20067 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   20068   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   20069 fi
   20070 
   20071 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   20072   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   20073 fi
   20074 
   20075 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   20076 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   20077 
   20078 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   20079 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   20080 
   20081 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   20082 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   20083 
   20084 
   20085 
   20086 
   20087 
   20088 
   20089 
   20090 
   20091 
   20092 
   20093 
   20094 
   20095 
   20096 
   20097 
   20098 
   20099 
   20100 
   20101 
   20102 
   20103 
   20104 
   20105 
   20106 
   20107 
   20108 
   20109 
   20110 
   20111 
   20112 
   20113 
   20114 
   20115 
   20116 
   20117 
   20118 
   20119 
   20120 
   20121 
   20122 
   20123     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   20124 printf %s "checking how to hardcode library paths into programs... " >&6; }
   20125 hardcode_action_CXX=
   20126 if test -n "$hardcode_libdir_flag_spec_CXX" ||
   20127    test -n "$runpath_var_CXX" ||
   20128    test yes = "$hardcode_automatic_CXX"; then
   20129 
   20130   # We can hardcode non-existent directories.
   20131   if test no != "$hardcode_direct_CXX" &&
   20132      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   20133      # have to relink, otherwise we might link with an installed library
   20134      # when we should be linking with a yet-to-be-installed one
   20135      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
   20136      test no != "$hardcode_minus_L_CXX"; then
   20137     # Linking always hardcodes the temporary library directory.
   20138     hardcode_action_CXX=relink
   20139   else
   20140     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   20141     hardcode_action_CXX=immediate
   20142   fi
   20143 else
   20144   # We cannot hardcode anything, or else we can only hardcode existing
   20145   # directories.
   20146   hardcode_action_CXX=unsupported
   20147 fi
   20148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
   20149 printf "%s\n" "$hardcode_action_CXX" >&6; }
   20150 
   20151 if test relink = "$hardcode_action_CXX" ||
   20152    test yes = "$inherit_rpath_CXX"; then
   20153   # Fast installation is not supported
   20154   enable_fast_install=no
   20155 elif test yes = "$shlibpath_overrides_runpath" ||
   20156      test no = "$enable_shared"; then
   20157   # Fast installation is not necessary
   20158   enable_fast_install=needless
   20159 fi
   20160 
   20161 
   20162 
   20163 
   20164 
   20165 
   20166 
   20167   fi # test -n "$compiler"
   20168 
   20169   CC=$lt_save_CC
   20170   CFLAGS=$lt_save_CFLAGS
   20171   LDCXX=$LD
   20172   LD=$lt_save_LD
   20173   GCC=$lt_save_GCC
   20174   with_gnu_ld=$lt_save_with_gnu_ld
   20175   lt_cv_path_LDCXX=$lt_cv_path_LD
   20176   lt_cv_path_LD=$lt_save_path_LD
   20177   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   20178   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   20179 fi # test yes != "$_lt_caught_CXX_error"
   20180 
   20181 ac_ext=cpp
   20182 ac_cpp='$CXXCPP $CPPFLAGS'
   20183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   20186 
   20187 
   20188 
   20189 if test "$GCC" = yes
   20190 then :
   20191 
   20192 
   20193 
   20194 
   20195 for flag in -Wall -Wextra; do
   20196   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cxxflags__$flag" | sed "$as_sed_sh"`
   20197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
   20198 printf %s "checking whether C++ compiler accepts $flag... " >&6; }
   20199 if eval test \${$as_CACHEVAR+y}
   20200 then :
   20201   printf %s "(cached) " >&6
   20202 else case e in #(
   20203   e)
   20204   ax_check_save_flags=$CXXFLAGS
   20205   CXXFLAGS="$CXXFLAGS  -Werror $flag"
   20206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20207 /* end confdefs.h.  */
   20208 int main(void) { return 0; }
   20209 _ACEOF
   20210 if ac_fn_cxx_try_compile "$LINENO"
   20211 then :
   20212   eval "$as_CACHEVAR=yes"
   20213 else case e in #(
   20214   e) eval "$as_CACHEVAR=no" ;;
   20215 esac
   20216 fi
   20217 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20218   CXXFLAGS=$ax_check_save_flags ;;
   20219 esac
   20220 fi
   20221 eval ac_res=\$$as_CACHEVAR
   20222 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   20223 printf "%s\n" "$ac_res" >&6; }
   20224 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   20225 then :
   20226 
   20227 if test ${AM_CXXFLAGS+y}
   20228 then :
   20229 
   20230   case " $AM_CXXFLAGS " in #(
   20231   *" $flag "*) :
   20232     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS already contains \$flag"; } >&5
   20233   (: AM_CXXFLAGS already contains $flag) 2>&5
   20234   ac_status=$?
   20235   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20236   test $ac_status = 0; } ;; #(
   20237   *) :
   20238 
   20239      as_fn_append AM_CXXFLAGS " $flag"
   20240      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS=\"\$AM_CXXFLAGS\""; } >&5
   20241   (: AM_CXXFLAGS="$AM_CXXFLAGS") 2>&5
   20242   ac_status=$?
   20243   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20244   test $ac_status = 0; }
   20245      ;;
   20246 esac
   20247 
   20248 else case e in #(
   20249   e)
   20250   AM_CXXFLAGS=$flag
   20251   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS=\"\$AM_CXXFLAGS\""; } >&5
   20252   (: AM_CXXFLAGS="$AM_CXXFLAGS") 2>&5
   20253   ac_status=$?
   20254   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20255   test $ac_status = 0; }
   20256    ;;
   20257 esac
   20258 fi
   20259 
   20260 else case e in #(
   20261   e) : ;;
   20262 esac
   20263 fi
   20264 
   20265 done
   20266 
   20267 
   20268 
   20269 
   20270 
   20271 for flag in -fexceptions; do
   20272   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cxxflags__$flag" | sed "$as_sed_sh"`
   20273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
   20274 printf %s "checking whether C++ compiler accepts $flag... " >&6; }
   20275 if eval test \${$as_CACHEVAR+y}
   20276 then :
   20277   printf %s "(cached) " >&6
   20278 else case e in #(
   20279   e)
   20280   ax_check_save_flags=$CXXFLAGS
   20281   CXXFLAGS="$CXXFLAGS  -Werror $flag"
   20282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20283 /* end confdefs.h.  */
   20284 int main(void) { return 0; }
   20285 _ACEOF
   20286 if ac_fn_cxx_try_compile "$LINENO"
   20287 then :
   20288   eval "$as_CACHEVAR=yes"
   20289 else case e in #(
   20290   e) eval "$as_CACHEVAR=no" ;;
   20291 esac
   20292 fi
   20293 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20294   CXXFLAGS=$ax_check_save_flags ;;
   20295 esac
   20296 fi
   20297 eval ac_res=\$$as_CACHEVAR
   20298 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   20299 printf "%s\n" "$ac_res" >&6; }
   20300 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   20301 then :
   20302 
   20303 if test ${AM_CXXFLAGS+y}
   20304 then :
   20305 
   20306   case " $AM_CXXFLAGS " in #(
   20307   *" $flag "*) :
   20308     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS already contains \$flag"; } >&5
   20309   (: AM_CXXFLAGS already contains $flag) 2>&5
   20310   ac_status=$?
   20311   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20312   test $ac_status = 0; } ;; #(
   20313   *) :
   20314 
   20315      as_fn_append AM_CXXFLAGS " $flag"
   20316      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS=\"\$AM_CXXFLAGS\""; } >&5
   20317   (: AM_CXXFLAGS="$AM_CXXFLAGS") 2>&5
   20318   ac_status=$?
   20319   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20320   test $ac_status = 0; }
   20321      ;;
   20322 esac
   20323 
   20324 else case e in #(
   20325   e)
   20326   AM_CXXFLAGS=$flag
   20327   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS=\"\$AM_CXXFLAGS\""; } >&5
   20328   (: AM_CXXFLAGS="$AM_CXXFLAGS") 2>&5
   20329   ac_status=$?
   20330   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20331   test $ac_status = 0; }
   20332    ;;
   20333 esac
   20334 fi
   20335 
   20336 else case e in #(
   20337   e) : ;;
   20338 esac
   20339 fi
   20340 
   20341 done
   20342 
   20343 
   20344 
   20345 
   20346 
   20347 for flag in -Wstrict-aliasing=3; do
   20348   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cxxflags__$flag" | sed "$as_sed_sh"`
   20349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
   20350 printf %s "checking whether C++ compiler accepts $flag... " >&6; }
   20351 if eval test \${$as_CACHEVAR+y}
   20352 then :
   20353   printf %s "(cached) " >&6
   20354 else case e in #(
   20355   e)
   20356   ax_check_save_flags=$CXXFLAGS
   20357   CXXFLAGS="$CXXFLAGS  -Werror $flag"
   20358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20359 /* end confdefs.h.  */
   20360 int main(void) { return 0; }
   20361 _ACEOF
   20362 if ac_fn_cxx_try_compile "$LINENO"
   20363 then :
   20364   eval "$as_CACHEVAR=yes"
   20365 else case e in #(
   20366   e) eval "$as_CACHEVAR=no" ;;
   20367 esac
   20368 fi
   20369 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20370   CXXFLAGS=$ax_check_save_flags ;;
   20371 esac
   20372 fi
   20373 eval ac_res=\$$as_CACHEVAR
   20374 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   20375 printf "%s\n" "$ac_res" >&6; }
   20376 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   20377 then :
   20378 
   20379 if test ${AM_CXXFLAGS+y}
   20380 then :
   20381 
   20382   case " $AM_CXXFLAGS " in #(
   20383   *" $flag "*) :
   20384     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS already contains \$flag"; } >&5
   20385   (: AM_CXXFLAGS already contains $flag) 2>&5
   20386   ac_status=$?
   20387   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20388   test $ac_status = 0; } ;; #(
   20389   *) :
   20390 
   20391      as_fn_append AM_CXXFLAGS " $flag"
   20392      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS=\"\$AM_CXXFLAGS\""; } >&5
   20393   (: AM_CXXFLAGS="$AM_CXXFLAGS") 2>&5
   20394   ac_status=$?
   20395   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20396   test $ac_status = 0; }
   20397      ;;
   20398 esac
   20399 
   20400 else case e in #(
   20401   e)
   20402   AM_CXXFLAGS=$flag
   20403   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS=\"\$AM_CXXFLAGS\""; } >&5
   20404   (: AM_CXXFLAGS="$AM_CXXFLAGS") 2>&5
   20405   ac_status=$?
   20406   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20407   test $ac_status = 0; }
   20408    ;;
   20409 esac
   20410 fi
   20411 
   20412 else case e in #(
   20413   e) : ;;
   20414 esac
   20415 fi
   20416 
   20417 done
   20418 
   20419 fi
   20420 ac_ext=c
   20421 ac_cpp='$CPP $CPPFLAGS'
   20422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20425 
   20426 
   20427 if test "$GCC" = yes
   20428 then :
   20429 
   20430 
   20431 
   20432 
   20433 for flag in -Wstrict-aliasing=3; do
   20434   as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags__$flag" | sed "$as_sed_sh"`
   20435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
   20436 printf %s "checking whether the linker accepts $flag... " >&6; }
   20437 if eval test \${$as_CACHEVAR+y}
   20438 then :
   20439   printf %s "(cached) " >&6
   20440 else case e in #(
   20441   e)
   20442   ax_check_save_flags=$LDFLAGS
   20443   LDFLAGS="$LDFLAGS  $flag"
   20444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20445 /* end confdefs.h.  */
   20446 
   20447 int
   20448 main (void)
   20449 {
   20450 
   20451   ;
   20452   return 0;
   20453 }
   20454 _ACEOF
   20455 if ac_fn_c_try_link "$LINENO"
   20456 then :
   20457   eval "$as_CACHEVAR=yes"
   20458 else case e in #(
   20459   e) eval "$as_CACHEVAR=no" ;;
   20460 esac
   20461 fi
   20462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20463     conftest$ac_exeext conftest.$ac_ext
   20464   LDFLAGS=$ax_check_save_flags ;;
   20465 esac
   20466 fi
   20467 eval ac_res=\$$as_CACHEVAR
   20468 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   20469 printf "%s\n" "$ac_res" >&6; }
   20470 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   20471 then :
   20472 
   20473 if test ${AM_LDFLAGS+y}
   20474 then :
   20475 
   20476   case " $AM_LDFLAGS " in #(
   20477   *" $flag "*) :
   20478     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
   20479   (: AM_LDFLAGS already contains $flag) 2>&5
   20480   ac_status=$?
   20481   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20482   test $ac_status = 0; } ;; #(
   20483   *) :
   20484 
   20485      as_fn_append AM_LDFLAGS " $flag"
   20486      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
   20487   (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
   20488   ac_status=$?
   20489   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20490   test $ac_status = 0; }
   20491      ;;
   20492 esac
   20493 
   20494 else case e in #(
   20495   e)
   20496   AM_LDFLAGS=$flag
   20497   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
   20498   (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
   20499   ac_status=$?
   20500   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20501   test $ac_status = 0; }
   20502    ;;
   20503 esac
   20504 fi
   20505 
   20506 else case e in #(
   20507   e) : ;;
   20508 esac
   20509 fi
   20510 
   20511 done
   20512 
   20513 fi
   20514 
   20515 # Check whether --enable-symbol-versioning was given.
   20516 if test ${enable_symbol_versioning+y}
   20517 then :
   20518   enableval=$enable_symbol_versioning; enable_symbol_versioning=$enableval
   20519 else case e in #(
   20520   e) enable_symbol_versioning=no ;;
   20521 esac
   20522 fi
   20523 
   20524 if test "x$enable_symbol_versioning" != xno
   20525 then :
   20526   VSCRIPT_LDFLAGS="-Wl,--version-script"
   20527 
   20528 
   20529 fi
   20530  if test "x$enable_symbol_versioning" != xno; then
   20531   HAVE_VSCRIPT_TRUE=
   20532   HAVE_VSCRIPT_FALSE='#'
   20533 else
   20534   HAVE_VSCRIPT_TRUE='#'
   20535   HAVE_VSCRIPT_FALSE=
   20536 fi
   20537 
   20538 
   20539 case "$LD" in #(
   20540   *clang*) :
   20541     case "${host_os}" in #(
   20542   *linux*) :
   20543     archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' ;; #(
   20544   *) :
   20545      ;;
   20546 esac ;; #(
   20547   *) :
   20548      ;;
   20549 esac
   20550 
   20551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports visibility" >&5
   20552 printf %s "checking whether compiler supports visibility... " >&6; }
   20553 if test ${expatcfg_cv_compiler_supports_visibility+y}
   20554 then :
   20555   printf %s "(cached) " >&6
   20556 else case e in #(
   20557   e) expatcfg_cv_compiler_supports_visibility=no
   20558       OLDFLAGS=$CFLAGS
   20559       as_fn_append CFLAGS " -fvisibility=hidden -Wall -Werror -Wno-unknown-warning-option"
   20560       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20561 /* end confdefs.h.  */
   20562 
   20563           void __attribute__((visibility("default"))) foo(void);
   20564           void foo(void) {}
   20565 
   20566 _ACEOF
   20567 if ac_fn_c_try_compile "$LINENO"
   20568 then :
   20569   expatcfg_cv_compiler_supports_visibility=yes
   20570 fi
   20571 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20572       CFLAGS=$OLDFLAGS ;;
   20573 esac
   20574 fi
   20575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $expatcfg_cv_compiler_supports_visibility" >&5
   20576 printf "%s\n" "$expatcfg_cv_compiler_supports_visibility" >&6; }
   20577    if test "$expatcfg_cv_compiler_supports_visibility" = yes
   20578 then :
   20579 
   20580 
   20581 if test ${AM_CFLAGS+y}
   20582 then :
   20583 
   20584   case " $AM_CFLAGS " in #(
   20585   *" -fvisibility=hidden "*) :
   20586     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains -fvisibility=hidden"; } >&5
   20587   (: AM_CFLAGS already contains -fvisibility=hidden) 2>&5
   20588   ac_status=$?
   20589   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20590   test $ac_status = 0; } ;; #(
   20591   *) :
   20592 
   20593      as_fn_append AM_CFLAGS " -fvisibility=hidden"
   20594      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   20595   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   20596   ac_status=$?
   20597   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20598   test $ac_status = 0; }
   20599      ;;
   20600 esac
   20601 
   20602 else case e in #(
   20603   e)
   20604   AM_CFLAGS=-fvisibility=hidden
   20605   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   20606   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   20607   ac_status=$?
   20608   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20609   test $ac_status = 0; }
   20610    ;;
   20611 esac
   20612 fi
   20613 
   20614   if test "${enable_shared}" = yes
   20615 then :
   20616 
   20617 if test ${AM_CPPFLAGS+y}
   20618 then :
   20619 
   20620   case " $AM_CPPFLAGS " in #(
   20621   *" -DXML_ENABLE_VISIBILITY=1 "*) :
   20622     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CPPFLAGS already contains -DXML_ENABLE_VISIBILITY=1"; } >&5
   20623   (: AM_CPPFLAGS already contains -DXML_ENABLE_VISIBILITY=1) 2>&5
   20624   ac_status=$?
   20625   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20626   test $ac_status = 0; } ;; #(
   20627   *) :
   20628 
   20629      as_fn_append AM_CPPFLAGS " -DXML_ENABLE_VISIBILITY=1"
   20630      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CPPFLAGS=\"\$AM_CPPFLAGS\""; } >&5
   20631   (: AM_CPPFLAGS="$AM_CPPFLAGS") 2>&5
   20632   ac_status=$?
   20633   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20634   test $ac_status = 0; }
   20635      ;;
   20636 esac
   20637 
   20638 else case e in #(
   20639   e)
   20640   AM_CPPFLAGS=-DXML_ENABLE_VISIBILITY=1
   20641   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CPPFLAGS=\"\$AM_CPPFLAGS\""; } >&5
   20642   (: AM_CPPFLAGS="$AM_CPPFLAGS") 2>&5
   20643   ac_status=$?
   20644   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20645   test $ac_status = 0; }
   20646    ;;
   20647 esac
   20648 fi
   20649 
   20650 fi
   20651 fi
   20652 
   20653 
   20654  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   20655 printf %s "checking whether byte ordering is bigendian... " >&6; }
   20656 if test ${ac_cv_c_bigendian+y}
   20657 then :
   20658   printf %s "(cached) " >&6
   20659 else case e in #(
   20660   e) ac_cv_c_bigendian=unknown
   20661     # See if we're dealing with a universal compiler.
   20662     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20663 /* end confdefs.h.  */
   20664 #ifndef __APPLE_CC__
   20665 	       not a universal capable compiler
   20666 	     #endif
   20667 	     typedef int dummy;
   20668 
   20669 _ACEOF
   20670 if ac_fn_c_try_compile "$LINENO"
   20671 then :
   20672 
   20673 	# Check for potential -arch flags.  It is not universal unless
   20674 	# there are at least two -arch flags with different values.
   20675 	ac_arch=
   20676 	ac_prev=
   20677 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   20678 	 if test -n "$ac_prev"; then
   20679 	   case $ac_word in
   20680 	     i?86 | x86_64 | ppc | ppc64)
   20681 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   20682 		 ac_arch=$ac_word
   20683 	       else
   20684 		 ac_cv_c_bigendian=universal
   20685 		 break
   20686 	       fi
   20687 	       ;;
   20688 	   esac
   20689 	   ac_prev=
   20690 	 elif test "x$ac_word" = "x-arch"; then
   20691 	   ac_prev=arch
   20692 	 fi
   20693        done
   20694 fi
   20695 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20696     if test $ac_cv_c_bigendian = unknown; then
   20697       # See if sys/param.h defines the BYTE_ORDER macro.
   20698       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20699 /* end confdefs.h.  */
   20700 #include <sys/types.h>
   20701 	     #include <sys/param.h>
   20702 
   20703 int
   20704 main (void)
   20705 {
   20706 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \\
   20707 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \\
   20708 		     && LITTLE_ENDIAN)
   20709 	      bogus endian macros
   20710 	     #endif
   20711 
   20712   ;
   20713   return 0;
   20714 }
   20715 _ACEOF
   20716 if ac_fn_c_try_compile "$LINENO"
   20717 then :
   20718   # It does; now see whether it defined to BIG_ENDIAN or not.
   20719 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20720 /* end confdefs.h.  */
   20721 #include <sys/types.h>
   20722 		#include <sys/param.h>
   20723 
   20724 int
   20725 main (void)
   20726 {
   20727 #if BYTE_ORDER != BIG_ENDIAN
   20728 		 not big endian
   20729 		#endif
   20730 
   20731   ;
   20732   return 0;
   20733 }
   20734 _ACEOF
   20735 if ac_fn_c_try_compile "$LINENO"
   20736 then :
   20737   ac_cv_c_bigendian=yes
   20738 else case e in #(
   20739   e) ac_cv_c_bigendian=no ;;
   20740 esac
   20741 fi
   20742 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20743 fi
   20744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20745     fi
   20746     if test $ac_cv_c_bigendian = unknown; then
   20747       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   20748       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20749 /* end confdefs.h.  */
   20750 #include <limits.h>
   20751 
   20752 int
   20753 main (void)
   20754 {
   20755 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   20756 	      bogus endian macros
   20757 	     #endif
   20758 
   20759   ;
   20760   return 0;
   20761 }
   20762 _ACEOF
   20763 if ac_fn_c_try_compile "$LINENO"
   20764 then :
   20765   # It does; now see whether it defined to _BIG_ENDIAN or not.
   20766 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20767 /* end confdefs.h.  */
   20768 #include <limits.h>
   20769 
   20770 int
   20771 main (void)
   20772 {
   20773 #ifndef _BIG_ENDIAN
   20774 		 not big endian
   20775 		#endif
   20776 
   20777   ;
   20778   return 0;
   20779 }
   20780 _ACEOF
   20781 if ac_fn_c_try_compile "$LINENO"
   20782 then :
   20783   ac_cv_c_bigendian=yes
   20784 else case e in #(
   20785   e) ac_cv_c_bigendian=no ;;
   20786 esac
   20787 fi
   20788 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20789 fi
   20790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20791     fi
   20792     if test $ac_cv_c_bigendian = unknown; then
   20793       # Compile a test program.
   20794       if test "$cross_compiling" = yes
   20795 then :
   20796   # Try to guess by grepping values from an object file.
   20797 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20798 /* end confdefs.h.  */
   20799 unsigned short int ascii_mm[] =
   20800 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   20801 		unsigned short int ascii_ii[] =
   20802 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   20803 		int use_ascii (int i) {
   20804 		  return ascii_mm[i] + ascii_ii[i];
   20805 		}
   20806 		unsigned short int ebcdic_ii[] =
   20807 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   20808 		unsigned short int ebcdic_mm[] =
   20809 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   20810 		int use_ebcdic (int i) {
   20811 		  return ebcdic_mm[i] + ebcdic_ii[i];
   20812 		}
   20813 		int
   20814 		main (int argc, char **argv)
   20815 		{
   20816 		  /* Intimidate the compiler so that it does not
   20817 		     optimize the arrays away.  */
   20818 		  char *p = argv[0];
   20819 		  ascii_mm[1] = *p++; ebcdic_mm[1] = *p++;
   20820 		  ascii_ii[1] = *p++; ebcdic_ii[1] = *p++;
   20821 		  return use_ascii (argc) == use_ebcdic (*p);
   20822 		}
   20823 _ACEOF
   20824 if ac_fn_c_try_link "$LINENO"
   20825 then :
   20826   if grep BIGenDianSyS conftest$ac_exeext >/dev/null; then
   20827 	      ac_cv_c_bigendian=yes
   20828 	    fi
   20829 	    if grep LiTTleEnDian conftest$ac_exeext >/dev/null ; then
   20830 	      if test "$ac_cv_c_bigendian" = unknown; then
   20831 		ac_cv_c_bigendian=no
   20832 	      else
   20833 		# finding both strings is unlikely to happen, but who knows?
   20834 		ac_cv_c_bigendian=unknown
   20835 	      fi
   20836 	    fi
   20837 fi
   20838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20839     conftest$ac_exeext conftest.$ac_ext
   20840 else case e in #(
   20841   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20842 /* end confdefs.h.  */
   20843 $ac_includes_default
   20844 int
   20845 main (void)
   20846 {
   20847 
   20848 	     /* Are we little or big endian?  From Harbison&Steele.  */
   20849 	     union
   20850 	     {
   20851 	       long int l;
   20852 	       char c[sizeof (long int)];
   20853 	     } u;
   20854 	     u.l = 1;
   20855 	     return u.c[sizeof (long int) - 1] == 1;
   20856 
   20857   ;
   20858   return 0;
   20859 }
   20860 _ACEOF
   20861 if ac_fn_c_try_run "$LINENO"
   20862 then :
   20863   ac_cv_c_bigendian=no
   20864 else case e in #(
   20865   e) ac_cv_c_bigendian=yes ;;
   20866 esac
   20867 fi
   20868 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   20869   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20870 esac
   20871 fi
   20872 
   20873     fi ;;
   20874 esac
   20875 fi
   20876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   20877 printf "%s\n" "$ac_cv_c_bigendian" >&6; }
   20878  case $ac_cv_c_bigendian in #(
   20879    yes)
   20880      printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h
   20881 
   20882                 BYTEORDER=4321;; #(
   20883    no)
   20884      BYTEORDER=1234 ;; #(
   20885    universal)
   20886 
   20887 printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   20888 
   20889      ;; #(
   20890    *)
   20891      as_fn_error $? "unknown endianness
   20892  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   20893  esac
   20894 
   20895 
   20896 printf "%s\n" "#define BYTEORDER $BYTEORDER" >>confdefs.h
   20897 
   20898 
   20899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   20900 printf %s "checking for an ANSI C-conforming const... " >&6; }
   20901 if test ${ac_cv_c_const+y}
   20902 then :
   20903   printf %s "(cached) " >&6
   20904 else case e in #(
   20905   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20906 /* end confdefs.h.  */
   20907 
   20908 int
   20909 main (void)
   20910 {
   20911 
   20912 #ifndef __cplusplus
   20913   /* Ultrix mips cc rejects this sort of thing.  */
   20914   typedef int charset[2];
   20915   const charset cs = { 0, 0 };
   20916   /* SunOS 4.1.1 cc rejects this.  */
   20917   char const *const *pcpcc;
   20918   char **ppc;
   20919   /* NEC SVR4.0.2 mips cc rejects this.  */
   20920   struct point {int x, y;};
   20921   static struct point const zero = {0,0};
   20922   /* IBM XL C 1.02.0.0 rejects this.
   20923      It does not let you subtract one const X* pointer from another in
   20924      an arm of an if-expression whose if-part is not a constant
   20925      expression */
   20926   const char *g = "string";
   20927   pcpcc = &g + (g ? g-g : 0);
   20928   /* HPUX 7.0 cc rejects these. */
   20929   ++pcpcc;
   20930   ppc = (char**) pcpcc;
   20931   pcpcc = (char const *const *) ppc;
   20932   { /* SCO 3.2v4 cc rejects this sort of thing.  */
   20933     char tx;
   20934     char *t = &tx;
   20935     char const *s = 0 ? (char *) 0 : (char const *) 0;
   20936 
   20937     *t++ = 0;
   20938     if (s) return 0;
   20939   }
   20940   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   20941     int x[] = {25, 17};
   20942     const int *foo = &x[0];
   20943     ++foo;
   20944   }
   20945   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   20946     typedef const int *iptr;
   20947     iptr p = 0;
   20948     ++p;
   20949   }
   20950   { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
   20951        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   20952     struct s { int j; const int *ap[3]; } bx;
   20953     struct s *b = &bx; b->j = 5;
   20954   }
   20955   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   20956     const int foo = 10;
   20957     if (!foo) return 0;
   20958   }
   20959   return !cs[0] && !zero.x;
   20960 #endif
   20961 
   20962   ;
   20963   return 0;
   20964 }
   20965 _ACEOF
   20966 if ac_fn_c_try_compile "$LINENO"
   20967 then :
   20968   ac_cv_c_const=yes
   20969 else case e in #(
   20970   e) ac_cv_c_const=no ;;
   20971 esac
   20972 fi
   20973 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20974 esac
   20975 fi
   20976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   20977 printf "%s\n" "$ac_cv_c_const" >&6; }
   20978 if test $ac_cv_c_const = no; then
   20979 
   20980 printf "%s\n" "#define const /**/" >>confdefs.h
   20981 
   20982 fi
   20983 
   20984 
   20985 
   20986 # Check whether --with-xmlwf was given.
   20987 if test ${with_xmlwf+y}
   20988 then :
   20989   withval=$with_xmlwf;
   20990 else case e in #(
   20991   e) with_xmlwf=yes ;;
   20992 esac
   20993 fi
   20994 
   20995  if test x${with_xmlwf} = xyes; then
   20996   WITH_XMLWF_TRUE=
   20997   WITH_XMLWF_FALSE='#'
   20998 else
   20999   WITH_XMLWF_TRUE='#'
   21000   WITH_XMLWF_FALSE=
   21001 fi
   21002 
   21003 
   21004 
   21005 # Check whether --with-examples was given.
   21006 if test ${with_examples+y}
   21007 then :
   21008   withval=$with_examples;
   21009 else case e in #(
   21010   e) with_examples=yes ;;
   21011 esac
   21012 fi
   21013 
   21014  if test x${with_examples} = xyes; then
   21015   WITH_EXAMPLES_TRUE=
   21016   WITH_EXAMPLES_FALSE='#'
   21017 else
   21018   WITH_EXAMPLES_TRUE='#'
   21019   WITH_EXAMPLES_FALSE=
   21020 fi
   21021 
   21022 
   21023 
   21024 # Check whether --with-tests was given.
   21025 if test ${with_tests+y}
   21026 then :
   21027   withval=$with_tests;
   21028 else case e in #(
   21029   e) with_tests=yes ;;
   21030 esac
   21031 fi
   21032 
   21033  if test x${with_tests} = xyes; then
   21034   WITH_TESTS_TRUE=
   21035   WITH_TESTS_FALSE='#'
   21036 else
   21037   WITH_TESTS_TRUE='#'
   21038   WITH_TESTS_FALSE=
   21039 fi
   21040 
   21041 
   21042 if test x${with_tests} = xyes
   21043 then :
   21044     ax_cxx_compile_alternatives="11 0x"    ax_cxx_compile_cxx11_required=true
   21045   ac_ext=cpp
   21046 ac_cpp='$CXXCPP $CPPFLAGS'
   21047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   21048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   21049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   21050   ac_success=no
   21051 
   21052 
   21053 
   21054 
   21055 
   21056     if test x$ac_success = xno; then
   21057                     for alternative in ${ax_cxx_compile_alternatives}; do
   21058       for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}" MSVC; do
   21059         if test x"$switch" = xMSVC; then
   21060                                         switch=-std:c++${alternative}
   21061           cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx11_${switch}_MSVC" | sed "$as_sed_sh"`
   21062         else
   21063           cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx11_$switch" | sed "$as_sed_sh"`
   21064         fi
   21065         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
   21066 printf %s "checking whether $CXX supports C++11 features with $switch... " >&6; }
   21067 if eval test \${$cachevar+y}
   21068 then :
   21069   printf %s "(cached) " >&6
   21070 else case e in #(
   21071   e) ac_save_CXX="$CXX"
   21072            CXX="$CXX $switch"
   21073            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21074 /* end confdefs.h.  */
   21075 
   21076 
   21077 // If the compiler admits that it is not ready for C++11, why torture it?
   21078 // Hopefully, this will speed up the test.
   21079 
   21080 #ifndef __cplusplus
   21081 
   21082 #error "This is not a C++ compiler"
   21083 
   21084 // MSVC always sets __cplusplus to 199711L in older versions; newer versions
   21085 // only set it correctly if /Zc:__cplusplus is specified as well as a
   21086 // /std:c++NN switch:
   21087 // https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/
   21088 #elif __cplusplus < 201103L && !defined _MSC_VER
   21089 
   21090 #error "This is not a C++11 compiler"
   21091 
   21092 #else
   21093 
   21094 namespace cxx11
   21095 {
   21096 
   21097   namespace test_static_assert
   21098   {
   21099 
   21100     template <typename T>
   21101     struct check
   21102     {
   21103       static_assert(sizeof(int) <= sizeof(T), "not big enough");
   21104     };
   21105 
   21106   }
   21107 
   21108   namespace test_final_override
   21109   {
   21110 
   21111     struct Base
   21112     {
   21113       virtual ~Base() {}
   21114       virtual void f() {}
   21115     };
   21116 
   21117     struct Derived : public Base
   21118     {
   21119       virtual ~Derived() override {}
   21120       virtual void f() override {}
   21121     };
   21122 
   21123   }
   21124 
   21125   namespace test_double_right_angle_brackets
   21126   {
   21127 
   21128     template < typename T >
   21129     struct check {};
   21130 
   21131     typedef check<void> single_type;
   21132     typedef check<check<void>> double_type;
   21133     typedef check<check<check<void>>> triple_type;
   21134     typedef check<check<check<check<void>>>> quadruple_type;
   21135 
   21136   }
   21137 
   21138   namespace test_decltype
   21139   {
   21140 
   21141     int
   21142     f()
   21143     {
   21144       int a = 1;
   21145       decltype(a) b = 2;
   21146       return a + b;
   21147     }
   21148 
   21149   }
   21150 
   21151   namespace test_type_deduction
   21152   {
   21153 
   21154     template < typename T1, typename T2 >
   21155     struct is_same
   21156     {
   21157       static const bool value = false;
   21158     };
   21159 
   21160     template < typename T >
   21161     struct is_same<T, T>
   21162     {
   21163       static const bool value = true;
   21164     };
   21165 
   21166     template < typename T1, typename T2 >
   21167     auto
   21168     add(T1 a1, T2 a2) -> decltype(a1 + a2)
   21169     {
   21170       return a1 + a2;
   21171     }
   21172 
   21173     int
   21174     test(const int c, volatile int v)
   21175     {
   21176       static_assert(is_same<int, decltype(0)>::value == true, "");
   21177       static_assert(is_same<int, decltype(c)>::value == false, "");
   21178       static_assert(is_same<int, decltype(v)>::value == false, "");
   21179       auto ac = c;
   21180       auto av = v;
   21181       auto sumi = ac + av + 'x';
   21182       auto sumf = ac + av + 1.0;
   21183       static_assert(is_same<int, decltype(ac)>::value == true, "");
   21184       static_assert(is_same<int, decltype(av)>::value == true, "");
   21185       static_assert(is_same<int, decltype(sumi)>::value == true, "");
   21186       static_assert(is_same<int, decltype(sumf)>::value == false, "");
   21187       static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
   21188       return (sumf > 0.0) ? sumi : add(c, v);
   21189     }
   21190 
   21191   }
   21192 
   21193   namespace test_noexcept
   21194   {
   21195 
   21196     int f() { return 0; }
   21197     int g() noexcept { return 0; }
   21198 
   21199     static_assert(noexcept(f()) == false, "");
   21200     static_assert(noexcept(g()) == true, "");
   21201 
   21202   }
   21203 
   21204   namespace test_constexpr
   21205   {
   21206 
   21207     template < typename CharT >
   21208     unsigned long constexpr
   21209     strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
   21210     {
   21211       return *s ? strlen_c_r(s + 1, acc + 1) : acc;
   21212     }
   21213 
   21214     template < typename CharT >
   21215     unsigned long constexpr
   21216     strlen_c(const CharT *const s) noexcept
   21217     {
   21218       return strlen_c_r(s, 0UL);
   21219     }
   21220 
   21221     static_assert(strlen_c("") == 0UL, "");
   21222     static_assert(strlen_c("1") == 1UL, "");
   21223     static_assert(strlen_c("example") == 7UL, "");
   21224     static_assert(strlen_c("another\0example") == 7UL, "");
   21225 
   21226   }
   21227 
   21228   namespace test_rvalue_references
   21229   {
   21230 
   21231     template < int N >
   21232     struct answer
   21233     {
   21234       static constexpr int value = N;
   21235     };
   21236 
   21237     answer<1> f(int&)       { return answer<1>(); }
   21238     answer<2> f(const int&) { return answer<2>(); }
   21239     answer<3> f(int&&)      { return answer<3>(); }
   21240 
   21241     void
   21242     test()
   21243     {
   21244       int i = 0;
   21245       const int c = 0;
   21246       static_assert(decltype(f(i))::value == 1, "");
   21247       static_assert(decltype(f(c))::value == 2, "");
   21248       static_assert(decltype(f(0))::value == 3, "");
   21249     }
   21250 
   21251   }
   21252 
   21253   namespace test_uniform_initialization
   21254   {
   21255 
   21256     struct test
   21257     {
   21258       static const int zero {};
   21259       static const int one {1};
   21260     };
   21261 
   21262     static_assert(test::zero == 0, "");
   21263     static_assert(test::one == 1, "");
   21264 
   21265   }
   21266 
   21267   namespace test_lambdas
   21268   {
   21269 
   21270     void
   21271     test1()
   21272     {
   21273       auto lambda1 = [](){};
   21274       auto lambda2 = lambda1;
   21275       lambda1();
   21276       lambda2();
   21277     }
   21278 
   21279     int
   21280     test2()
   21281     {
   21282       auto a = [](int i, int j){ return i + j; }(1, 2);
   21283       auto b = []() -> int { return '0'; }();
   21284       auto c = [=](){ return a + b; }();
   21285       auto d = [&](){ return c; }();
   21286       auto e = [a, &b](int x) mutable {
   21287         const auto identity = [](int y){ return y; };
   21288         for (auto i = 0; i < a; ++i)
   21289           a += b--;
   21290         return x + identity(a + b);
   21291       }(0);
   21292       return a + b + c + d + e;
   21293     }
   21294 
   21295     int
   21296     test3()
   21297     {
   21298       const auto nullary = [](){ return 0; };
   21299       const auto unary = [](int x){ return x; };
   21300       using nullary_t = decltype(nullary);
   21301       using unary_t = decltype(unary);
   21302       const auto higher1st = [](nullary_t f){ return f(); };
   21303       const auto higher2nd = [unary](nullary_t f1){
   21304         return [unary, f1](unary_t f2){ return f2(unary(f1())); };
   21305       };
   21306       return higher1st(nullary) + higher2nd(nullary)(unary);
   21307     }
   21308 
   21309   }
   21310 
   21311   namespace test_variadic_templates
   21312   {
   21313 
   21314     template <int...>
   21315     struct sum;
   21316 
   21317     template <int N0, int... N1toN>
   21318     struct sum<N0, N1toN...>
   21319     {
   21320       static constexpr auto value = N0 + sum<N1toN...>::value;
   21321     };
   21322 
   21323     template <>
   21324     struct sum<>
   21325     {
   21326       static constexpr auto value = 0;
   21327     };
   21328 
   21329     static_assert(sum<>::value == 0, "");
   21330     static_assert(sum<1>::value == 1, "");
   21331     static_assert(sum<23>::value == 23, "");
   21332     static_assert(sum<1, 2>::value == 3, "");
   21333     static_assert(sum<5, 5, 11>::value == 21, "");
   21334     static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
   21335 
   21336   }
   21337 
   21338   // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
   21339   // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
   21340   // because of this.
   21341   namespace test_template_alias_sfinae
   21342   {
   21343 
   21344     struct foo {};
   21345 
   21346     template<typename T>
   21347     using member = typename T::member_type;
   21348 
   21349     template<typename T>
   21350     void func(...) {}
   21351 
   21352     template<typename T>
   21353     void func(member<T>*) {}
   21354 
   21355     void test();
   21356 
   21357     void test() { func<foo>(0); }
   21358 
   21359   }
   21360 
   21361 }  // namespace cxx11
   21362 
   21363 #endif  // __cplusplus >= 201103L
   21364 
   21365 
   21366 
   21367 _ACEOF
   21368 if ac_fn_cxx_try_compile "$LINENO"
   21369 then :
   21370   eval $cachevar=yes
   21371 else case e in #(
   21372   e) eval $cachevar=no ;;
   21373 esac
   21374 fi
   21375 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   21376            CXX="$ac_save_CXX" ;;
   21377 esac
   21378 fi
   21379 eval ac_res=\$$cachevar
   21380 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   21381 printf "%s\n" "$ac_res" >&6; }
   21382         if eval test x\$$cachevar = xyes; then
   21383           CXX="$CXX $switch"
   21384           if test -n "$CXXCPP" ; then
   21385             CXXCPP="$CXXCPP $switch"
   21386           fi
   21387           ac_success=yes
   21388           break
   21389         fi
   21390       done
   21391       if test x$ac_success = xyes; then
   21392         break
   21393       fi
   21394     done
   21395   fi
   21396   ac_ext=c
   21397 ac_cpp='$CPP $CPPFLAGS'
   21398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   21399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   21400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   21401 
   21402   if test x$ax_cxx_compile_cxx11_required = xtrue; then
   21403     if test x$ac_success = xno; then
   21404       as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5
   21405     fi
   21406   fi
   21407   if test x$ac_success = xno; then
   21408     HAVE_CXX11=0
   21409     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
   21410 printf "%s\n" "$as_me: No compiler with C++11 support was found" >&6;}
   21411   else
   21412     HAVE_CXX11=1
   21413 
   21414 printf "%s\n" "#define HAVE_CXX11 1" >>confdefs.h
   21415 
   21416   fi
   21417 
   21418 
   21419 fi
   21420 
   21421 EXPATCFG_ON_MINGW=no
   21422 case "${host_os}" in #(
   21423   mingw*) :
   21424     EXPATCFG_ON_MINGW=yes
   21425    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected OS: MinGW" >&5
   21426 printf "%s\n" "$as_me: detected OS: MinGW" >&6;} ;; #(
   21427   *) :
   21428      ;;
   21429 esac
   21430  if test x${EXPATCFG_ON_MINGW} = xyes; then
   21431   MINGW_TRUE=
   21432   MINGW_FALSE='#'
   21433 else
   21434   MINGW_TRUE='#'
   21435   MINGW_FALSE=
   21436 fi
   21437 
   21438 
   21439  if echo -- "${CPPFLAGS}${CFLAGS}" | ${FGREP} XML_UNICODE >/dev/null; then
   21440   UNICODE_TRUE=
   21441   UNICODE_FALSE='#'
   21442 else
   21443   UNICODE_TRUE='#'
   21444   UNICODE_FALSE=
   21445 fi
   21446 
   21447  if echo -- "${CPPFLAGS}${CFLAGS}" | ${FGREP} XML_UNICODE_WCHAR_T >/dev/null; then
   21448   _INTERNAL_UNICODE_WCHAR_T_TRUE=
   21449   _INTERNAL_UNICODE_WCHAR_T_FALSE='#'
   21450 else
   21451   _INTERNAL_UNICODE_WCHAR_T_TRUE='#'
   21452   _INTERNAL_UNICODE_WCHAR_T_FALSE=
   21453 fi
   21454 
   21455  if echo -- "${CPPFLAGS}${CFLAGS}" | ${FGREP} XML_MIN_SIZE >/dev/null; then
   21456   _INTERNAL_MIN_SIZE_TRUE=
   21457   _INTERNAL_MIN_SIZE_FALSE='#'
   21458 else
   21459   _INTERNAL_MIN_SIZE_TRUE='#'
   21460   _INTERNAL_MIN_SIZE_FALSE=
   21461 fi
   21462 
   21463  if echo -- "${CPPFLAGS}${CFLAGS}" | ${FGREP} XML_LARGE_SIZE >/dev/null; then
   21464   _INTERNAL_LARGE_SIZE_TRUE=
   21465   _INTERNAL_LARGE_SIZE_FALSE='#'
   21466 else
   21467   _INTERNAL_LARGE_SIZE_TRUE='#'
   21468   _INTERNAL_LARGE_SIZE_FALSE=
   21469 fi
   21470 
   21471 
   21472 LIBM=
   21473 case $host in
   21474 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-mingw* | *-*-pw32* | *-*-darwin*)
   21475   # These system don't have libm, or don't need it
   21476   ;;
   21477 *-ncr-sysv4.3*)
   21478   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
   21479 printf %s "checking for _mwvalidcheckl in -lmw... " >&6; }
   21480 if test ${ac_cv_lib_mw__mwvalidcheckl+y}
   21481 then :
   21482   printf %s "(cached) " >&6
   21483 else case e in #(
   21484   e) ac_check_lib_save_LIBS=$LIBS
   21485 LIBS="-lmw  $LIBS"
   21486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21487 /* end confdefs.h.  */
   21488 
   21489 /* Override any GCC internal prototype to avoid an error.
   21490    Use char because int might match the return type of a GCC
   21491    builtin and then its argument prototype would still apply.
   21492    The 'extern "C"' is for builds by C++ compilers;
   21493    although this is not generally supported in C code supporting it here
   21494    has little cost and some practical benefit (sr 110532).  */
   21495 #ifdef __cplusplus
   21496 extern "C"
   21497 #endif
   21498 char _mwvalidcheckl (void);
   21499 int
   21500 main (void)
   21501 {
   21502 return _mwvalidcheckl ();
   21503   ;
   21504   return 0;
   21505 }
   21506 _ACEOF
   21507 if ac_fn_c_try_link "$LINENO"
   21508 then :
   21509   ac_cv_lib_mw__mwvalidcheckl=yes
   21510 else case e in #(
   21511   e) ac_cv_lib_mw__mwvalidcheckl=no ;;
   21512 esac
   21513 fi
   21514 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21515     conftest$ac_exeext conftest.$ac_ext
   21516 LIBS=$ac_check_lib_save_LIBS ;;
   21517 esac
   21518 fi
   21519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
   21520 printf "%s\n" "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
   21521 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes
   21522 then :
   21523   LIBM=-lmw
   21524 fi
   21525 
   21526   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
   21527 printf %s "checking for cos in -lm... " >&6; }
   21528 if test ${ac_cv_lib_m_cos+y}
   21529 then :
   21530   printf %s "(cached) " >&6
   21531 else case e in #(
   21532   e) ac_check_lib_save_LIBS=$LIBS
   21533 LIBS="-lm  $LIBS"
   21534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21535 /* end confdefs.h.  */
   21536 
   21537 /* Override any GCC internal prototype to avoid an error.
   21538    Use char because int might match the return type of a GCC
   21539    builtin and then its argument prototype would still apply.
   21540    The 'extern "C"' is for builds by C++ compilers;
   21541    although this is not generally supported in C code supporting it here
   21542    has little cost and some practical benefit (sr 110532).  */
   21543 #ifdef __cplusplus
   21544 extern "C"
   21545 #endif
   21546 char cos (void);
   21547 int
   21548 main (void)
   21549 {
   21550 return cos ();
   21551   ;
   21552   return 0;
   21553 }
   21554 _ACEOF
   21555 if ac_fn_c_try_link "$LINENO"
   21556 then :
   21557   ac_cv_lib_m_cos=yes
   21558 else case e in #(
   21559   e) ac_cv_lib_m_cos=no ;;
   21560 esac
   21561 fi
   21562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21563     conftest$ac_exeext conftest.$ac_ext
   21564 LIBS=$ac_check_lib_save_LIBS ;;
   21565 esac
   21566 fi
   21567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
   21568 printf "%s\n" "$ac_cv_lib_m_cos" >&6; }
   21569 if test "x$ac_cv_lib_m_cos" = xyes
   21570 then :
   21571   LIBM="$LIBM -lm"
   21572 fi
   21573 
   21574   ;;
   21575 *)
   21576   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
   21577 printf %s "checking for cos in -lm... " >&6; }
   21578 if test ${ac_cv_lib_m_cos+y}
   21579 then :
   21580   printf %s "(cached) " >&6
   21581 else case e in #(
   21582   e) ac_check_lib_save_LIBS=$LIBS
   21583 LIBS="-lm  $LIBS"
   21584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21585 /* end confdefs.h.  */
   21586 
   21587 /* Override any GCC internal prototype to avoid an error.
   21588    Use char because int might match the return type of a GCC
   21589    builtin and then its argument prototype would still apply.
   21590    The 'extern "C"' is for builds by C++ compilers;
   21591    although this is not generally supported in C code supporting it here
   21592    has little cost and some practical benefit (sr 110532).  */
   21593 #ifdef __cplusplus
   21594 extern "C"
   21595 #endif
   21596 char cos (void);
   21597 int
   21598 main (void)
   21599 {
   21600 return cos ();
   21601   ;
   21602   return 0;
   21603 }
   21604 _ACEOF
   21605 if ac_fn_c_try_link "$LINENO"
   21606 then :
   21607   ac_cv_lib_m_cos=yes
   21608 else case e in #(
   21609   e) ac_cv_lib_m_cos=no ;;
   21610 esac
   21611 fi
   21612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21613     conftest$ac_exeext conftest.$ac_ext
   21614 LIBS=$ac_check_lib_save_LIBS ;;
   21615 esac
   21616 fi
   21617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
   21618 printf "%s\n" "$ac_cv_lib_m_cos" >&6; }
   21619 if test "x$ac_cv_lib_m_cos" = xyes
   21620 then :
   21621   LIBM=-lm
   21622 fi
   21623 
   21624   ;;
   21625 esac
   21626 
   21627 
   21628 
   21629 
   21630 # Check whether --with-arc4random was given.
   21631 if test ${with_arc4random+y}
   21632 then :
   21633   withval=$with_arc4random;
   21634 else case e in #(
   21635   e) with_arc4random=check ;;
   21636 esac
   21637 fi
   21638 
   21639 
   21640 
   21641 # Check whether --with-arc4random-buf was given.
   21642 if test ${with_arc4random_buf+y}
   21643 then :
   21644   withval=$with_arc4random_buf;
   21645 else case e in #(
   21646   e) with_arc4random_buf=check ;;
   21647 esac
   21648 fi
   21649 
   21650 
   21651 have_arc4random=false
   21652 have_arc4random_buf=false
   21653 
   21654 if test "x${with_arc4random_buf}" != xno
   21655 then :
   21656   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for arc4random_buf (BSD or glibc 2.36+)" >&5
   21657 printf %s "checking for arc4random_buf (BSD or glibc 2.36+)... " >&6; }
   21658    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21659 /* end confdefs.h.  */
   21660 
   21661        #if ! defined(_DEFAULT_SOURCE)
   21662        # define _DEFAULT_SOURCE 1 /* for glibc */
   21663        #endif
   21664        #include <stdlib.h>
   21665        int main(void) {
   21666          char dummy[123];  // double brackets for m4
   21667          arc4random_buf(dummy, 0U);
   21668          return 0;
   21669        }
   21670 
   21671 _ACEOF
   21672 if ac_fn_c_try_link "$LINENO"
   21673 then :
   21674 
   21675 printf "%s\n" "#define HAVE_ARC4RANDOM_BUF 1" >>confdefs.h
   21676 
   21677       have_arc4random_buf=true
   21678       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21679 printf "%s\n" "yes" >&6; }
   21680 else case e in #(
   21681   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21682 printf "%s\n" "no" >&6; }
   21683       if test "x${with_arc4random_buf}" = xyes
   21684 then :
   21685   as_fn_error $? "enforced the use of arc4random_buf --with-arc4random-buf, but not detected" "$LINENO" 5
   21686 fi ;;
   21687 esac
   21688 fi
   21689 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21690     conftest$ac_exeext conftest.$ac_ext
   21691 fi
   21692 
   21693 if test "x${with_arc4random}" != xno
   21694 then :
   21695   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for arc4random (BSD, macOS, or glibc 2.36+)" >&5
   21696 printf %s "checking for arc4random (BSD, macOS, or glibc 2.36+)... " >&6; }
   21697    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21698 /* end confdefs.h.  */
   21699 
   21700        #if ! defined(_DEFAULT_SOURCE)
   21701        # define _DEFAULT_SOURCE 1 /* for glibc */
   21702        #endif
   21703        #include <stdlib.h>
   21704        int main(void) {
   21705           arc4random();
   21706           return 0;
   21707        }
   21708 
   21709 _ACEOF
   21710 if ac_fn_c_try_link "$LINENO"
   21711 then :
   21712 
   21713 printf "%s\n" "#define HAVE_ARC4RANDOM 1" >>confdefs.h
   21714 
   21715       have_arc4random=true
   21716       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21717 printf "%s\n" "yes" >&6; }
   21718 else case e in #(
   21719   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21720 printf "%s\n" "no" >&6; }
   21721       if test "x${with_arc4random}" = xyes
   21722 then :
   21723   as_fn_error $? "enforced the use of arc4random --with-arc4random, but not detected" "$LINENO" 5
   21724 fi ;;
   21725 esac
   21726 fi
   21727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21728     conftest$ac_exeext conftest.$ac_ext
   21729 fi
   21730 
   21731  if test x${have_arc4random} = xtrue; then
   21732   WITH_ARC4RANDOM_TRUE=
   21733   WITH_ARC4RANDOM_FALSE='#'
   21734 else
   21735   WITH_ARC4RANDOM_TRUE='#'
   21736   WITH_ARC4RANDOM_FALSE=
   21737 fi
   21738 
   21739  if test x${have_arc4random_buf} = xtrue; then
   21740   WITH_ARC4RANDOM_BUF_TRUE=
   21741   WITH_ARC4RANDOM_BUF_FALSE='#'
   21742 else
   21743   WITH_ARC4RANDOM_BUF_TRUE='#'
   21744   WITH_ARC4RANDOM_BUF_FALSE=
   21745 fi
   21746 
   21747 
   21748 have_getentropy=false
   21749 
   21750 
   21751 # Check whether --with-getentropy was given.
   21752 if test ${with_getentropy+y}
   21753 then :
   21754   withval=$with_getentropy;
   21755 else case e in #(
   21756   e) with_getentropy=check ;;
   21757 esac
   21758 fi
   21759 
   21760 
   21761 if test "x$with_getentropy" != xno
   21762 then :
   21763   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getentropy (BSD, macOS 10.12+, glibc 2.25+)" >&5
   21764 printf %s "checking for getentropy (BSD, macOS 10.12+, glibc 2.25+)... " >&6; }
   21765    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21766 /* end confdefs.h.  */
   21767 
   21768        // NOTE: Please keep this block in sync with its two siblings in files
   21769        //       'ConfigureChecks.cmake' and 'lib/random_getentropy.c'!
   21770        #if defined(__APPLE__)
   21771        #  include <sys/random.h>
   21772        #else
   21773        #  if defined(__GLIBC__) && ! defined(_DEFAULT_SOURCE)
   21774        #    define _DEFAULT_SOURCE 1
   21775        #  endif
   21776        #  if ! defined(_GNU_SOURCE)
   21777        #    define _GNU_SOURCE 1 /* for musl */
   21778        #  endif
   21779        #  include <unistd.h>
   21780        #endif // ! defined(__APPLE__)
   21781 
   21782        int main(void) {
   21783          return getentropy(NULL, 0U);
   21784        }
   21785 
   21786 _ACEOF
   21787 if ac_fn_c_try_link "$LINENO"
   21788 then :
   21789 
   21790 printf "%s\n" "#define HAVE_GETENTROPY 1" >>confdefs.h
   21791 
   21792       have_getentropy=true
   21793       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21794 printf "%s\n" "yes" >&6; }
   21795 else case e in #(
   21796   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21797 printf "%s\n" "no" >&6; }
   21798       if test "x$with_getentropy" = xyes
   21799 then :
   21800   as_fn_error $? "enforced the use of getentropy --with-getentropy, but not detected" "$LINENO" 5
   21801 fi ;;
   21802 esac
   21803 fi
   21804 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21805     conftest$ac_exeext conftest.$ac_ext
   21806 fi
   21807 
   21808  if test x${have_getentropy} = xtrue; then
   21809   WITH_GETENTROPY_TRUE=
   21810   WITH_GETENTROPY_FALSE='#'
   21811 else
   21812   WITH_GETENTROPY_TRUE='#'
   21813   WITH_GETENTROPY_FALSE=
   21814 fi
   21815 
   21816 
   21817 have_either_getrandom=false
   21818 have_getrandom_function=false
   21819 have_getrandom_syscall=false
   21820 
   21821 
   21822 # Check whether --with-getrandom was given.
   21823 if test ${with_getrandom+y}
   21824 then :
   21825   withval=$with_getrandom;
   21826 else case e in #(
   21827   e) with_getrandom=check ;;
   21828 esac
   21829 fi
   21830 
   21831 
   21832 if test "x$with_getrandom" != xno
   21833 then :
   21834   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getrandom (Linux 3.17+, glibc 2.25+)" >&5
   21835 printf %s "checking for getrandom (Linux 3.17+, glibc 2.25+)... " >&6; }
   21836    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21837 /* end confdefs.h.  */
   21838 
   21839        #include <stdlib.h>  /* for NULL */
   21840        #include <sys/random.h>
   21841        int main(void) {
   21842          return getrandom(NULL, 0U, 0U);
   21843        }
   21844 
   21845 _ACEOF
   21846 if ac_fn_c_try_link "$LINENO"
   21847 then :
   21848 
   21849 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
   21850 
   21851       have_either_getrandom=true
   21852       have_getrandom_function=true
   21853       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21854 printf "%s\n" "yes" >&6; }
   21855 else case e in #(
   21856   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21857 printf "%s\n" "no" >&6; }
   21858       if test "x$with_getrandom" = xyes
   21859 then :
   21860   as_fn_error $? "enforced the use of getrandom --with-getrandom, but not detected" "$LINENO" 5
   21861 fi ;;
   21862 esac
   21863 fi
   21864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21865     conftest$ac_exeext conftest.$ac_ext
   21866 fi
   21867 
   21868 
   21869 # Check whether --with-sys_getrandom was given.
   21870 if test ${with_sys_getrandom+y}
   21871 then :
   21872   withval=$with_sys_getrandom;
   21873 else case e in #(
   21874   e) with_sys_getrandom=check ;;
   21875 esac
   21876 fi
   21877 
   21878 
   21879 if test "x$with_sys_getrandom" != xno
   21880 then :
   21881   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for syscall SYS_getrandom (Linux 3.17+)" >&5
   21882 printf %s "checking for syscall SYS_getrandom (Linux 3.17+)... " >&6; }
   21883    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21884 /* end confdefs.h.  */
   21885 
   21886        #define _GNU_SOURCE
   21887        #include <stdlib.h>  /* for NULL */
   21888        #include <unistd.h>  /* for syscall */
   21889        #include <sys/syscall.h>  /* for SYS_getrandom */
   21890        int main(void) {
   21891          syscall(SYS_getrandom, NULL, 0, 0);
   21892          return 0;
   21893      }
   21894 
   21895 _ACEOF
   21896 if ac_fn_c_try_link "$LINENO"
   21897 then :
   21898 
   21899 printf "%s\n" "#define HAVE_SYSCALL_GETRANDOM 1" >>confdefs.h
   21900 
   21901       have_either_getrandom=true
   21902       have_getrandom_syscall=true
   21903       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21904 printf "%s\n" "yes" >&6; }
   21905 else case e in #(
   21906   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21907 printf "%s\n" "no" >&6; }
   21908       if test "x$with_sys_getrandom" = xyes
   21909 then :
   21910   as_fn_error $? "enforced the use of syscall SYS_getrandom --with-sys-getrandom, but not detected" "$LINENO" 5
   21911 fi ;;
   21912 esac
   21913 fi
   21914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21915     conftest$ac_exeext conftest.$ac_ext
   21916 fi
   21917 
   21918  if test x${have_either_getrandom} = xtrue; then
   21919   WITH_EITHER_GETRANDOM_TRUE=
   21920   WITH_EITHER_GETRANDOM_FALSE='#'
   21921 else
   21922   WITH_EITHER_GETRANDOM_TRUE='#'
   21923   WITH_EITHER_GETRANDOM_FALSE=
   21924 fi
   21925 
   21926 
   21927 ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
   21928 if test "x$ac_cv_header_fcntl_h" = xyes
   21929 then :
   21930   printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h
   21931 
   21932 fi
   21933 ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
   21934 if test "x$ac_cv_header_unistd_h" = xyes
   21935 then :
   21936   printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
   21937 
   21938 fi
   21939 
   21940 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
   21941 if test "x$ac_cv_type_off_t" = xyes
   21942 then :
   21943 
   21944 else case e in #(
   21945   e)
   21946 printf "%s\n" "#define off_t long int" >>confdefs.h
   21947  ;;
   21948 esac
   21949 fi
   21950 
   21951 
   21952 ac_func=
   21953 for ac_item in $ac_func_c_list
   21954 do
   21955   if test $ac_func; then
   21956     ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func
   21957     if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
   21958       echo "#define $ac_item 1" >> confdefs.h
   21959     fi
   21960     ac_func=
   21961   else
   21962     ac_func=$ac_item
   21963   fi
   21964 done
   21965 
   21966 
   21967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   21968 printf %s "checking for working mmap... " >&6; }
   21969 if test ${ac_cv_func_mmap_fixed_mapped+y}
   21970 then :
   21971   printf %s "(cached) " >&6
   21972 else case e in #(
   21973   e) if test "$cross_compiling" = yes
   21974 then :
   21975   case "$host_os" in # ((
   21976 			  # Guess yes on platforms where we know the result.
   21977 		  linux*) ac_cv_func_mmap_fixed_mapped=yes ;;
   21978 			  # If we don't know, assume the worst.
   21979 		  *)      ac_cv_func_mmap_fixed_mapped=no ;;
   21980 		esac
   21981 else case e in #(
   21982   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21983 /* end confdefs.h.  */
   21984 $ac_includes_default
   21985 /* malloc might have been renamed as rpl_malloc. */
   21986 #undef malloc
   21987 
   21988 /* Thanks to Mike Haertel and Jim Avera for this test.
   21989    Here is a matrix of mmap possibilities:
   21990 	mmap private not fixed
   21991 	mmap private fixed at somewhere currently unmapped
   21992 	mmap private fixed at somewhere already mapped
   21993 	mmap shared not fixed
   21994 	mmap shared fixed at somewhere currently unmapped
   21995 	mmap shared fixed at somewhere already mapped
   21996    For private mappings, we should verify that changes cannot be read()
   21997    back from the file, nor mmap's back from the file at a different
   21998    address.  (There have been systems where private was not correctly
   21999    implemented like the infamous i386 svr4.0, and systems where the
   22000    VM page cache was not coherent with the file system buffer cache
   22001    like early versions of FreeBSD and possibly contemporary NetBSD.)
   22002    For shared mappings, we should conversely verify that changes get
   22003    propagated back to all the places they're supposed to be.  */
   22004 
   22005 #include <fcntl.h>
   22006 #include <sys/mman.h>
   22007 
   22008 #ifndef getpagesize
   22009 /* Prefer sysconf to the legacy getpagesize function, as getpagesize has
   22010    been removed from POSIX and is limited to page sizes that fit in 'int'.  */
   22011 # ifdef _SC_PAGESIZE
   22012 #  define getpagesize() sysconf (_SC_PAGESIZE)
   22013 # elif defined _SC_PAGE_SIZE
   22014 #  define getpagesize() sysconf (_SC_PAGE_SIZE)
   22015 # elif HAVE_GETPAGESIZE
   22016 int getpagesize ();
   22017 # else
   22018 #  ifdef HAVE_SYS_PARAM_H
   22019 #   include <sys/param.h>
   22020 #   ifdef EXEC_PAGESIZE
   22021 #    define getpagesize() EXEC_PAGESIZE
   22022 #   else /* no EXEC_PAGESIZE */
   22023 #    ifdef NBPG
   22024 #     define getpagesize() NBPG * CLSIZE
   22025 #     ifndef CLSIZE
   22026 #      define CLSIZE 1
   22027 #     endif /* no CLSIZE */
   22028 #    else /* no NBPG */
   22029 #     ifdef NBPC
   22030 #      define getpagesize() NBPC
   22031 #     else /* no NBPC */
   22032 #      ifdef PAGESIZE
   22033 #       define getpagesize() PAGESIZE
   22034 #      endif /* PAGESIZE */
   22035 #     endif /* no NBPC */
   22036 #    endif /* no NBPG */
   22037 #   endif /* no EXEC_PAGESIZE */
   22038 #  else /* no HAVE_SYS_PARAM_H */
   22039 #   define getpagesize() 8192	/* punt totally */
   22040 #  endif /* no HAVE_SYS_PARAM_H */
   22041 # endif
   22042 #endif
   22043 
   22044 int
   22045 main (void)
   22046 {
   22047   char *data, *data2, *data3;
   22048   const char *cdata2;
   22049   long i, pagesize;
   22050   int fd, fd2;
   22051 
   22052   pagesize = getpagesize ();
   22053 
   22054   /* First, make a file with some known garbage in it. */
   22055   data = (char *) malloc (pagesize);
   22056   if (!data)
   22057     return 1;
   22058   for (i = 0; i < pagesize; ++i)
   22059     *(data + i) = rand ();
   22060   umask (0);
   22061   fd = creat ("conftest.mmap", 0600);
   22062   if (fd < 0)
   22063     return 2;
   22064   if (write (fd, data, pagesize) != pagesize)
   22065     return 3;
   22066   close (fd);
   22067 
   22068   /* Next, check that the tail of a page is zero-filled.  File must have
   22069      non-zero length, otherwise we risk SIGBUS for entire page.  */
   22070   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   22071   if (fd2 < 0)
   22072     return 4;
   22073   cdata2 = "";
   22074   if (write (fd2, cdata2, 1) != 1)
   22075     return 5;
   22076   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   22077   if (data2 == MAP_FAILED)
   22078     return 6;
   22079   for (i = 0; i < pagesize; ++i)
   22080     if (*(data2 + i))
   22081       return 7;
   22082   close (fd2);
   22083   /* 'return 8;' not currently used.  */
   22084 
   22085   /* Next, try to mmap the file at a fixed address which already has
   22086      something else allocated at it.  If we can, also make sure that
   22087      we see the same garbage.  */
   22088   fd = open ("conftest.mmap", O_RDWR);
   22089   if (fd < 0)
   22090     return 9;
   22091   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   22092 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   22093     return 10;
   22094   for (i = 0; i < pagesize; ++i)
   22095     if (*(data + i) != *(data2 + i))
   22096       return 11;
   22097 
   22098   /* Finally, make sure that changes to the mapped area do not
   22099      percolate back to the file as seen by read().  (This is a bug on
   22100      some variants of i386 svr4.0.)  */
   22101   for (i = 0; i < pagesize; ++i)
   22102     *(data2 + i) = *(data2 + i) + 1;
   22103   data3 = (char *) malloc (pagesize);
   22104   if (!data3)
   22105     return 12;
   22106   if (read (fd, data3, pagesize) != pagesize)
   22107     return 13;
   22108   for (i = 0; i < pagesize; ++i)
   22109     if (*(data + i) != *(data3 + i))
   22110       return 14;
   22111   close (fd);
   22112   free (data);
   22113   free (data3);
   22114   return 0;
   22115 }
   22116 _ACEOF
   22117 if ac_fn_c_try_run "$LINENO"
   22118 then :
   22119   ac_cv_func_mmap_fixed_mapped=yes
   22120 else case e in #(
   22121   e) ac_cv_func_mmap_fixed_mapped=no ;;
   22122 esac
   22123 fi
   22124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   22125   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   22126 esac
   22127 fi
   22128  ;;
   22129 esac
   22130 fi
   22131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   22132 printf "%s\n" "$ac_cv_func_mmap_fixed_mapped" >&6; }
   22133 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   22134 
   22135 printf "%s\n" "#define HAVE_MMAP 1" >>confdefs.h
   22136 
   22137 fi
   22138 rm -f conftest.mmap conftest.txt
   22139 
   22140 
   22141 if test "$ac_cv_func_mmap_fixed_mapped" = "yes"
   22142 then :
   22143   FILEMAP=unixfilemap
   22144 else case e in #(
   22145   e) FILEMAP=readfilemap ;;
   22146 esac
   22147 fi
   22148 
   22149 
   22150 
   22151 
   22152 printf "%s\n" "#define XML_NS 1" >>confdefs.h
   22153 
   22154 
   22155 printf "%s\n" "#define XML_GE 1" >>confdefs.h
   22156 
   22157 
   22158 printf "%s\n" "#define XML_DTD 1" >>confdefs.h
   22159 
   22160 
   22161 
   22162 have_dev_urandom=false
   22163 
   22164 
   22165 # Check whether --with-dev-urandom was given.
   22166 if test ${with_dev_urandom+y}
   22167 then :
   22168   withval=$with_dev_urandom; with_dev_urandom=${withval}
   22169 fi
   22170 
   22171 
   22172 if test "x${with_dev_urandom}" = "xyes"
   22173 then :
   22174   have_dev_urandom=true
   22175 
   22176 printf "%s\n" "#define XML_DEV_URANDOM 1" >>confdefs.h
   22177 
   22178 fi
   22179 
   22180 
   22181 # Check whether --enable-xml-attr-info was given.
   22182 if test ${enable_xml_attr_info+y}
   22183 then :
   22184   enableval=$enable_xml_attr_info;
   22185 else case e in #(
   22186   e) enable_xml_attr_info=no ;;
   22187 esac
   22188 fi
   22189 
   22190 if test "x${enable_xml_attr_info}" = "xyes"
   22191 then :
   22192 
   22193 printf "%s\n" "#define XML_ATTR_INFO 1" >>confdefs.h
   22194 
   22195 fi
   22196 
   22197 # Check whether --enable-xml-context was given.
   22198 if test ${enable_xml_context+y}
   22199 then :
   22200   enableval=$enable_xml_context; enable_xml_context=${enableval}
   22201 fi
   22202 
   22203 if test "x${enable_xml_context}" != "xno"
   22204 then :
   22205   if test "x${enable_xml_context}" = "xyes" \
   22206             -o "x${enable_xml_context}" = "x"
   22207 then :
   22208   enable_xml_context=1024
   22209 fi
   22210 else case e in #(
   22211   e) enable_xml_context=0 ;;
   22212 esac
   22213 fi
   22214 
   22215 printf "%s\n" "#define XML_CONTEXT_BYTES ${enable_xml_context}" >>confdefs.h
   22216 
   22217 
   22218 
   22219 # Check whether --with-docbook was given.
   22220 if test ${with_docbook+y}
   22221 then :
   22222   withval=$with_docbook;
   22223 else case e in #(
   22224   e) with_docbook=check ;;
   22225 esac
   22226 fi
   22227 
   22228 
   22229 
   22230 if test "x$with_docbook" != xno
   22231 then :
   22232   for ac_prog in docbook2x-man db2x_docbook2man docbook2man docbook-to-man
   22233 do
   22234   # Extract the first word of "$ac_prog", so it can be a program name with args.
   22235 set dummy $ac_prog; ac_word=$2
   22236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22237 printf %s "checking for $ac_word... " >&6; }
   22238 if test ${ac_cv_prog_DOCBOOK_TO_MAN+y}
   22239 then :
   22240   printf %s "(cached) " >&6
   22241 else case e in #(
   22242   e) if test -n "$DOCBOOK_TO_MAN"; then
   22243   ac_cv_prog_DOCBOOK_TO_MAN="$DOCBOOK_TO_MAN" # Let the user override the test.
   22244 else
   22245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22246 for as_dir in $PATH
   22247 do
   22248   IFS=$as_save_IFS
   22249   case $as_dir in #(((
   22250     '') as_dir=./ ;;
   22251     */) ;;
   22252     *) as_dir=$as_dir/ ;;
   22253   esac
   22254     for ac_exec_ext in '' $ac_executable_extensions; do
   22255   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22256     ac_cv_prog_DOCBOOK_TO_MAN="$ac_prog"
   22257     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22258     break 2
   22259   fi
   22260 done
   22261   done
   22262 IFS=$as_save_IFS
   22263 
   22264 fi ;;
   22265 esac
   22266 fi
   22267 DOCBOOK_TO_MAN=$ac_cv_prog_DOCBOOK_TO_MAN
   22268 if test -n "$DOCBOOK_TO_MAN"; then
   22269   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DOCBOOK_TO_MAN" >&5
   22270 printf "%s\n" "$DOCBOOK_TO_MAN" >&6; }
   22271 else
   22272   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22273 printf "%s\n" "no" >&6; }
   22274 fi
   22275 
   22276 
   22277   test -n "$DOCBOOK_TO_MAN" && break
   22278 done
   22279 
   22280 fi
   22281 if test "x${DOCBOOK_TO_MAN}" = x -a "x$with_docbook" = xyes
   22282 then :
   22283   as_fn_error $? "Required program 'docbook2x-man' not found." "$LINENO" 5
   22284 fi
   22285 if test "x${DOCBOOK_TO_MAN}" != x -a "x$with_docbook" != xno
   22286 then :
   22287   if ${DOCBOOK_TO_MAN} --help | grep -i -q -F sgmlbase
   22288 then :
   22289   as_fn_error $? "Your local ${DOCBOOK_TO_MAN} was found to work with SGML rather
   22290   than XML. Please install docbook2X and use variable DOCBOOK_TO_MAN to point
   22291   configure to command docbook2x-man of docbook2X.
   22292   Or use DOCBOOK_TO_MAN=\"xmlto man --skip-validation\" if you have xmlto around.
   22293   You can also configure using --without-docbook if you can do without a man
   22294   page for xmlwf." "$LINENO" 5
   22295 fi
   22296 fi
   22297 
   22298 if test -f "${srcdir}"/doc/xmlwf.1
   22299 then :
   22300    if true; then
   22301   WITH_MANPAGE_TRUE=
   22302   WITH_MANPAGE_FALSE='#'
   22303 else
   22304   WITH_MANPAGE_TRUE='#'
   22305   WITH_MANPAGE_FALSE=
   22306 fi
   22307 
   22308    if test "x$with_docbook" = xno -o "x${DOCBOOK_TO_MAN}" = x
   22309 then :
   22310    if true; then
   22311   WITH_PREBUILT_MANPAGE_TRUE=
   22312   WITH_PREBUILT_MANPAGE_FALSE='#'
   22313 else
   22314   WITH_PREBUILT_MANPAGE_TRUE='#'
   22315   WITH_PREBUILT_MANPAGE_FALSE=
   22316 fi
   22317 
   22318        if false; then
   22319   WITH_DISTRIBUTABLE_MANPAGE_TRUE=
   22320   WITH_DISTRIBUTABLE_MANPAGE_FALSE='#'
   22321 else
   22322   WITH_DISTRIBUTABLE_MANPAGE_TRUE='#'
   22323   WITH_DISTRIBUTABLE_MANPAGE_FALSE=
   22324 fi
   22325 
   22326 else case e in #(
   22327   e)  if false; then
   22328   WITH_PREBUILT_MANPAGE_TRUE=
   22329   WITH_PREBUILT_MANPAGE_FALSE='#'
   22330 else
   22331   WITH_PREBUILT_MANPAGE_TRUE='#'
   22332   WITH_PREBUILT_MANPAGE_FALSE=
   22333 fi
   22334 
   22335        if true; then
   22336   WITH_DISTRIBUTABLE_MANPAGE_TRUE=
   22337   WITH_DISTRIBUTABLE_MANPAGE_FALSE='#'
   22338 else
   22339   WITH_DISTRIBUTABLE_MANPAGE_TRUE='#'
   22340   WITH_DISTRIBUTABLE_MANPAGE_FALSE=
   22341 fi
   22342  ;;
   22343 esac
   22344 fi
   22345 
   22346 else case e in #(
   22347   e) if test "x$with_docbook" != xno -a "x${DOCBOOK_TO_MAN}" != x
   22348 then :
   22349    if true; then
   22350   WITH_MANPAGE_TRUE=
   22351   WITH_MANPAGE_FALSE='#'
   22352 else
   22353   WITH_MANPAGE_TRUE='#'
   22354   WITH_MANPAGE_FALSE=
   22355 fi
   22356 
   22357        if true; then
   22358   WITH_DISTRIBUTABLE_MANPAGE_TRUE=
   22359   WITH_DISTRIBUTABLE_MANPAGE_FALSE='#'
   22360 else
   22361   WITH_DISTRIBUTABLE_MANPAGE_TRUE='#'
   22362   WITH_DISTRIBUTABLE_MANPAGE_FALSE=
   22363 fi
   22364 
   22365 else case e in #(
   22366   e)  if false; then
   22367   WITH_MANPAGE_TRUE=
   22368   WITH_MANPAGE_FALSE='#'
   22369 else
   22370   WITH_MANPAGE_TRUE='#'
   22371   WITH_MANPAGE_FALSE=
   22372 fi
   22373 
   22374        if false; then
   22375   WITH_DISTRIBUTABLE_MANPAGE_TRUE=
   22376   WITH_DISTRIBUTABLE_MANPAGE_FALSE='#'
   22377 else
   22378   WITH_DISTRIBUTABLE_MANPAGE_TRUE='#'
   22379   WITH_DISTRIBUTABLE_MANPAGE_FALSE=
   22380 fi
   22381  ;;
   22382 esac
   22383 fi
   22384     if false; then
   22385   WITH_PREBUILT_MANPAGE_TRUE=
   22386   WITH_PREBUILT_MANPAGE_FALSE='#'
   22387 else
   22388   WITH_PREBUILT_MANPAGE_TRUE='#'
   22389   WITH_PREBUILT_MANPAGE_FALSE=
   22390 fi
   22391  ;;
   22392 esac
   22393 fi
   22394 
   22395 if test "x${enable_xml_attr_info}" = xyes
   22396 then :
   22397   EXPAT_ATTR_INFO=ON
   22398    _EXPAT_COMMENT_ATTR_INFO=" "
   22399 else case e in #(
   22400   e) EXPAT_ATTR_INFO=OFF
   22401    _EXPAT_COMMENT_ATTR_INFO="#" ;;
   22402 esac
   22403 fi
   22404 
   22405 EXPAT_DTD=ON
   22406 _EXPAT_COMMENT_DTD_OR_GE=" "
   22407 
   22408 if test "x${_INTERNAL_LARGE_SIZE_TRUE}" = x
   22409 then :
   22410   EXPAT_LARGE_SIZE=ON
   22411 else case e in #(
   22412   e) EXPAT_LARGE_SIZE=OFF ;;
   22413 esac
   22414 fi
   22415 if test "x${_INTERNAL_MIN_SIZE_TRUE}" = x
   22416 then :
   22417   EXPAT_MIN_SIZE=ON
   22418 else case e in #(
   22419   e) EXPAT_MIN_SIZE=OFF ;;
   22420 esac
   22421 fi
   22422 EXPAT_NS=ON
   22423 if test "x${enable_xml_context}" != xno
   22424 then :
   22425   EXPAT_CONTEXT_BYTES=${enable_xml_context}
   22426 else case e in #(
   22427   e) EXPAT_CONTEXT_BYTES=OFF ;;
   22428 esac
   22429 fi
   22430 if test "x${UNICODE_TRUE}" = x
   22431 then :
   22432   if test "x${_INTERNAL_UNICODE_WCHAR_T_TRUE}" = x
   22433 then :
   22434   EXPAT_CHAR_TYPE=wchar_t
   22435 else case e in #(
   22436   e) EXPAT_CHAR_TYPE=ushort ;;
   22437 esac
   22438 fi
   22439 else case e in #(
   22440   e) EXPAT_CHAR_TYPE=char ;;
   22441 esac
   22442 fi
   22443 PACKAGE_INIT="${srcdir}"/cmake/autotools/expat-package-init.cmake
   22444 LIBDIR_BASENAME="$(basename "${libdir}")"
   22445 SO_MAJOR="$(expr "${LIBCURRENT}" - "${LIBAGE}")"
   22446 SO_MINOR="${LIBAGE}"
   22447 SO_PATCH="${LIBREVISION}"
   22448 
   22449 
   22450 
   22451 
   22452 
   22453 
   22454 
   22455 
   22456 
   22457 
   22458 
   22459 
   22460 
   22461 if ac_fn_c_compute_int "$LINENO" "sizeof(void *)" "SIZEOF_VOID_P"        ""
   22462 then :
   22463 
   22464 fi
   22465 
   22466 
   22467 
   22468 
   22469 
   22470 
   22471 
   22472 
   22473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library name prefix" >&5
   22474 printf %s "checking for shared library name prefix... " >&6; }
   22475 case "${host_os}" in #(
   22476   cygwin*) :
   22477     CMAKE_SHARED_LIBRARY_PREFIX=cyg ;; #(
   22478   *) :
   22479     CMAKE_SHARED_LIBRARY_PREFIX=lib ;;
   22480 esac
   22481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${CMAKE_SHARED_LIBRARY_PREFIX}" >&5
   22482 printf "%s\n" "${CMAKE_SHARED_LIBRARY_PREFIX}" >&6; }
   22483 
   22484 
   22485 case "${host_os}" in #(
   22486   darwin*) :
   22487 
   22488     CMAKE_SOURCE=cmake/autotools/expat__macos.cmake.in
   22489     CMAKE_NOCONFIG_SOURCE=cmake/autotools/expat-noconfig__macos.cmake.in
   22490    ;; #(
   22491   mingw*|cygwin*) :
   22492 
   22493     CMAKE_SOURCE=cmake/autotools/expat__windows.cmake.in
   22494     CMAKE_NOCONFIG_SOURCE=cmake/autotools/expat-noconfig__windows.cmake.in
   22495    ;; #(
   22496   *) :
   22497 
   22498     CMAKE_SOURCE=cmake/autotools/expat__linux.cmake.in
   22499     CMAKE_NOCONFIG_SOURCE=cmake/autotools/expat-noconfig__linux.cmake.in
   22500    ;;
   22501 esac
   22502 ac_config_files="$ac_config_files Makefile expat.pc cmake/expat-config.cmake cmake/autotools/expat.cmake:${CMAKE_SOURCE} cmake/autotools/expat-config-version.cmake cmake/autotools/expat-noconfig.cmake:${CMAKE_NOCONFIG_SOURCE} doc/Makefile examples/Makefile lib/Makefile lib/libexpat.map tests/Makefile tests/benchmark/Makefile xmlwf/Makefile"
   22503 
   22504 ac_config_files="$ac_config_files run.sh"
   22505 
   22506 cat >confcache <<\_ACEOF
   22507 # This file is a shell script that caches the results of configure
   22508 # tests run on this system so they can be shared between configure
   22509 # scripts and configure runs, see configure's option --config-cache.
   22510 # It is not useful on other systems.  If it contains results you don't
   22511 # want to keep, you may remove or edit it.
   22512 #
   22513 # config.status only pays attention to the cache file if you give it
   22514 # the --recheck option to rerun configure.
   22515 #
   22516 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   22517 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   22518 # following values.
   22519 
   22520 _ACEOF
   22521 
   22522 # The following way of writing the cache mishandles newlines in values,
   22523 # but we know of no workaround that is simple, portable, and efficient.
   22524 # So, we kill variables containing newlines.
   22525 # Ultrix sh set writes to stderr and can't be redirected directly,
   22526 # and sets the high bit in the cache file unless we assign to the vars.
   22527 (
   22528   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   22529     eval ac_val=\$$ac_var
   22530     case $ac_val in #(
   22531     *${as_nl}*)
   22532       case $ac_var in #(
   22533       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   22534 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   22535       esac
   22536       case $ac_var in #(
   22537       _ | IFS | as_nl) ;; #(
   22538       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   22539       *) { eval $ac_var=; unset $ac_var;} ;;
   22540       esac ;;
   22541     esac
   22542   done
   22543 
   22544   (set) 2>&1 |
   22545     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   22546     *${as_nl}ac_space=\ *)
   22547       # 'set' does not quote correctly, so add quotes: double-quote
   22548       # substitution turns \\\\ into \\, and sed turns \\ into \.
   22549       sed -n \
   22550 	"s/'/'\\\\''/g;
   22551 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   22552       ;; #(
   22553     *)
   22554       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   22555       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   22556       ;;
   22557     esac |
   22558     sort
   22559 ) |
   22560   sed '
   22561      /^ac_cv_env_/b end
   22562      t clear
   22563      :clear
   22564      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   22565      t end
   22566      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   22567      :end' >>confcache
   22568 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   22569   if test -w "$cache_file"; then
   22570     if test "x$cache_file" != "x/dev/null"; then
   22571       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   22572 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   22573       if test ! -f "$cache_file" || test -h "$cache_file"; then
   22574 	cat confcache >"$cache_file"
   22575       else
   22576         case $cache_file in #(
   22577         */* | ?:*)
   22578 	  mv -f confcache "$cache_file"$$ &&
   22579 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   22580         *)
   22581 	  mv -f confcache "$cache_file" ;;
   22582 	esac
   22583       fi
   22584     fi
   22585   else
   22586     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   22587 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   22588   fi
   22589 fi
   22590 rm -f confcache
   22591 
   22592 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   22593 # Let make expand exec_prefix.
   22594 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   22595 
   22596 DEFS=-DHAVE_CONFIG_H
   22597 
   22598 ac_libobjs=
   22599 ac_ltlibobjs=
   22600 U=
   22601 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   22602   # 1. Remove the extension, and $U if already installed.
   22603   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   22604   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   22605   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   22606   #    will be set to the directory where LIBOBJS objects are built.
   22607   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   22608   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   22609 done
   22610 LIBOBJS=$ac_libobjs
   22611 
   22612 LTLIBOBJS=$ac_ltlibobjs
   22613 
   22614 
   22615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   22616 printf %s "checking that generated files are newer than configure... " >&6; }
   22617    if test -n "$am_sleep_pid"; then
   22618      # Hide warnings about reused PIDs.
   22619      wait $am_sleep_pid 2>/dev/null
   22620    fi
   22621    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   22622 printf "%s\n" "done" >&6; }
   22623 case $enable_silent_rules in # (((
   22624   yes) AM_DEFAULT_VERBOSITY=0;;
   22625    no) AM_DEFAULT_VERBOSITY=1;;
   22626 esac
   22627 if test $am_cv_make_support_nested_variables = yes; then
   22628     AM_V='$(V)'
   22629   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   22630 else
   22631   AM_V=$AM_DEFAULT_VERBOSITY
   22632   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   22633 fi
   22634 
   22635  if test -n "$EXEEXT"; then
   22636   am__EXEEXT_TRUE=
   22637   am__EXEEXT_FALSE='#'
   22638 else
   22639   am__EXEEXT_TRUE='#'
   22640   am__EXEEXT_FALSE=
   22641 fi
   22642 
   22643 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   22644   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   22645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22646 fi
   22647 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   22648   as_fn_error $? "conditional \"AMDEP\" was never defined.
   22649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22650 fi
   22651 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22652   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   22653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22654 fi
   22655 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   22656   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
   22657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22658 fi
   22659 if test -z "${HAVE_VSCRIPT_TRUE}" && test -z "${HAVE_VSCRIPT_FALSE}"; then
   22660   as_fn_error $? "conditional \"HAVE_VSCRIPT\" was never defined.
   22661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22662 fi
   22663 
   22664 if test -z "${WITH_XMLWF_TRUE}" && test -z "${WITH_XMLWF_FALSE}"; then
   22665   as_fn_error $? "conditional \"WITH_XMLWF\" was never defined.
   22666 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22667 fi
   22668 if test -z "${WITH_EXAMPLES_TRUE}" && test -z "${WITH_EXAMPLES_FALSE}"; then
   22669   as_fn_error $? "conditional \"WITH_EXAMPLES\" was never defined.
   22670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22671 fi
   22672 if test -z "${WITH_TESTS_TRUE}" && test -z "${WITH_TESTS_FALSE}"; then
   22673   as_fn_error $? "conditional \"WITH_TESTS\" was never defined.
   22674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22675 fi
   22676 if test -z "${MINGW_TRUE}" && test -z "${MINGW_FALSE}"; then
   22677   as_fn_error $? "conditional \"MINGW\" was never defined.
   22678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22679 fi
   22680 if test -z "${UNICODE_TRUE}" && test -z "${UNICODE_FALSE}"; then
   22681   as_fn_error $? "conditional \"UNICODE\" was never defined.
   22682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22683 fi
   22684 if test -z "${_INTERNAL_UNICODE_WCHAR_T_TRUE}" && test -z "${_INTERNAL_UNICODE_WCHAR_T_FALSE}"; then
   22685   as_fn_error $? "conditional \"_INTERNAL_UNICODE_WCHAR_T\" was never defined.
   22686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22687 fi
   22688 if test -z "${_INTERNAL_MIN_SIZE_TRUE}" && test -z "${_INTERNAL_MIN_SIZE_FALSE}"; then
   22689   as_fn_error $? "conditional \"_INTERNAL_MIN_SIZE\" was never defined.
   22690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22691 fi
   22692 if test -z "${_INTERNAL_LARGE_SIZE_TRUE}" && test -z "${_INTERNAL_LARGE_SIZE_FALSE}"; then
   22693   as_fn_error $? "conditional \"_INTERNAL_LARGE_SIZE\" was never defined.
   22694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22695 fi
   22696 if test -z "${WITH_ARC4RANDOM_TRUE}" && test -z "${WITH_ARC4RANDOM_FALSE}"; then
   22697   as_fn_error $? "conditional \"WITH_ARC4RANDOM\" was never defined.
   22698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22699 fi
   22700 if test -z "${WITH_ARC4RANDOM_BUF_TRUE}" && test -z "${WITH_ARC4RANDOM_BUF_FALSE}"; then
   22701   as_fn_error $? "conditional \"WITH_ARC4RANDOM_BUF\" was never defined.
   22702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22703 fi
   22704 if test -z "${WITH_GETENTROPY_TRUE}" && test -z "${WITH_GETENTROPY_FALSE}"; then
   22705   as_fn_error $? "conditional \"WITH_GETENTROPY\" was never defined.
   22706 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22707 fi
   22708 if test -z "${WITH_EITHER_GETRANDOM_TRUE}" && test -z "${WITH_EITHER_GETRANDOM_FALSE}"; then
   22709   as_fn_error $? "conditional \"WITH_EITHER_GETRANDOM\" was never defined.
   22710 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22711 fi
   22712 if test -z "${WITH_MANPAGE_TRUE}" && test -z "${WITH_MANPAGE_FALSE}"; then
   22713   as_fn_error $? "conditional \"WITH_MANPAGE\" was never defined.
   22714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22715 fi
   22716 if test -z "${WITH_PREBUILT_MANPAGE_TRUE}" && test -z "${WITH_PREBUILT_MANPAGE_FALSE}"; then
   22717   as_fn_error $? "conditional \"WITH_PREBUILT_MANPAGE\" was never defined.
   22718 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22719 fi
   22720 if test -z "${WITH_DISTRIBUTABLE_MANPAGE_TRUE}" && test -z "${WITH_DISTRIBUTABLE_MANPAGE_FALSE}"; then
   22721   as_fn_error $? "conditional \"WITH_DISTRIBUTABLE_MANPAGE\" was never defined.
   22722 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22723 fi
   22724 if test -z "${WITH_PREBUILT_MANPAGE_TRUE}" && test -z "${WITH_PREBUILT_MANPAGE_FALSE}"; then
   22725   as_fn_error $? "conditional \"WITH_PREBUILT_MANPAGE\" was never defined.
   22726 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22727 fi
   22728 if test -z "${WITH_DISTRIBUTABLE_MANPAGE_TRUE}" && test -z "${WITH_DISTRIBUTABLE_MANPAGE_FALSE}"; then
   22729   as_fn_error $? "conditional \"WITH_DISTRIBUTABLE_MANPAGE\" was never defined.
   22730 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22731 fi
   22732 if test -z "${WITH_MANPAGE_TRUE}" && test -z "${WITH_MANPAGE_FALSE}"; then
   22733   as_fn_error $? "conditional \"WITH_MANPAGE\" was never defined.
   22734 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22735 fi
   22736 if test -z "${WITH_DISTRIBUTABLE_MANPAGE_TRUE}" && test -z "${WITH_DISTRIBUTABLE_MANPAGE_FALSE}"; then
   22737   as_fn_error $? "conditional \"WITH_DISTRIBUTABLE_MANPAGE\" was never defined.
   22738 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22739 fi
   22740 if test -z "${WITH_MANPAGE_TRUE}" && test -z "${WITH_MANPAGE_FALSE}"; then
   22741   as_fn_error $? "conditional \"WITH_MANPAGE\" was never defined.
   22742 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22743 fi
   22744 if test -z "${WITH_DISTRIBUTABLE_MANPAGE_TRUE}" && test -z "${WITH_DISTRIBUTABLE_MANPAGE_FALSE}"; then
   22745   as_fn_error $? "conditional \"WITH_DISTRIBUTABLE_MANPAGE\" was never defined.
   22746 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22747 fi
   22748 if test -z "${WITH_PREBUILT_MANPAGE_TRUE}" && test -z "${WITH_PREBUILT_MANPAGE_FALSE}"; then
   22749   as_fn_error $? "conditional \"WITH_PREBUILT_MANPAGE\" was never defined.
   22750 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22751 fi
   22752 
   22753 : "${CONFIG_STATUS=./config.status}"
   22754 ac_write_fail=0
   22755 ac_clean_files_save=$ac_clean_files
   22756 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   22757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   22758 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   22759 as_write_fail=0
   22760 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   22761 #! $SHELL
   22762 # Generated by $as_me.
   22763 # Run this file to recreate the current configuration.
   22764 # Compiler output produced by configure, useful for debugging
   22765 # configure, is in config.log if it exists.
   22766 
   22767 debug=false
   22768 ac_cs_recheck=false
   22769 ac_cs_silent=false
   22770 
   22771 SHELL=\${CONFIG_SHELL-$SHELL}
   22772 export SHELL
   22773 _ASEOF
   22774 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   22775 ## -------------------- ##
   22776 ## M4sh Initialization. ##
   22777 ## -------------------- ##
   22778 
   22779 # Be more Bourne compatible
   22780 DUALCASE=1; export DUALCASE # for MKS sh
   22781 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   22782 then :
   22783   emulate sh
   22784   NULLCMD=:
   22785   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   22786   # is contrary to our usage.  Disable this feature.
   22787   alias -g '${1+"$@"}'='"$@"'
   22788   setopt NO_GLOB_SUBST
   22789 else case e in #(
   22790   e) case `(set -o) 2>/dev/null` in #(
   22791   *posix*) :
   22792     set -o posix ;; #(
   22793   *) :
   22794      ;;
   22795 esac ;;
   22796 esac
   22797 fi
   22798 
   22799 
   22800 
   22801 # Reset variables that may have inherited troublesome values from
   22802 # the environment.
   22803 
   22804 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   22805 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   22806 # side effect of setting IFS to empty, thus disabling word splitting.)
   22807 # Quoting is to prevent editors from complaining about space-tab.
   22808 as_nl='
   22809 '
   22810 export as_nl
   22811 IFS=" ""	$as_nl"
   22812 
   22813 PS1='$ '
   22814 PS2='> '
   22815 PS4='+ '
   22816 
   22817 # Ensure predictable behavior from utilities with locale-dependent output.
   22818 LC_ALL=C
   22819 export LC_ALL
   22820 LANGUAGE=C
   22821 export LANGUAGE
   22822 
   22823 # We cannot yet rely on "unset" to work, but we need these variables
   22824 # to be unset--not just set to an empty or harmless value--now, to
   22825 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   22826 # also avoids known problems related to "unset" and subshell syntax
   22827 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   22828 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   22829 do eval test \${$as_var+y} \
   22830   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   22831 done
   22832 
   22833 # Ensure that fds 0, 1, and 2 are open.
   22834 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   22835 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   22836 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   22837 
   22838 # The user is always right.
   22839 if ${PATH_SEPARATOR+false} :; then
   22840   PATH_SEPARATOR=:
   22841   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   22842     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   22843       PATH_SEPARATOR=';'
   22844   }
   22845 fi
   22846 
   22847 
   22848 # Find who we are.  Look in the path if we contain no directory separator.
   22849 as_myself=
   22850 case $0 in #((
   22851   *[\\/]* ) as_myself=$0 ;;
   22852   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22853 for as_dir in $PATH
   22854 do
   22855   IFS=$as_save_IFS
   22856   case $as_dir in #(((
   22857     '') as_dir=./ ;;
   22858     */) ;;
   22859     *) as_dir=$as_dir/ ;;
   22860   esac
   22861     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   22862   done
   22863 IFS=$as_save_IFS
   22864 
   22865      ;;
   22866 esac
   22867 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   22868 # in which case we are not to be found in the path.
   22869 if test "x$as_myself" = x; then
   22870   as_myself=$0
   22871 fi
   22872 if test ! -f "$as_myself"; then
   22873   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   22874   exit 1
   22875 fi
   22876 
   22877 
   22878 
   22879 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   22880 # ----------------------------------------
   22881 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   22882 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   22883 # script with STATUS, using 1 if that was 0.
   22884 as_fn_error ()
   22885 {
   22886   as_status=$1; test $as_status -eq 0 && as_status=1
   22887   if test "$4"; then
   22888     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   22889     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   22890   fi
   22891   printf "%s\n" "$as_me: error: $2" >&2
   22892   as_fn_exit $as_status
   22893 } # as_fn_error
   22894 
   22895 
   22896 # as_fn_set_status STATUS
   22897 # -----------------------
   22898 # Set $? to STATUS, without forking.
   22899 as_fn_set_status ()
   22900 {
   22901   return $1
   22902 } # as_fn_set_status
   22903 
   22904 # as_fn_exit STATUS
   22905 # -----------------
   22906 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   22907 as_fn_exit ()
   22908 {
   22909   set +e
   22910   as_fn_set_status $1
   22911   exit $1
   22912 } # as_fn_exit
   22913 
   22914 # as_fn_unset VAR
   22915 # ---------------
   22916 # Portably unset VAR.
   22917 as_fn_unset ()
   22918 {
   22919   { eval $1=; unset $1;}
   22920 }
   22921 as_unset=as_fn_unset
   22922 
   22923 # as_fn_append VAR VALUE
   22924 # ----------------------
   22925 # Append the text in VALUE to the end of the definition contained in VAR. Take
   22926 # advantage of any shell optimizations that allow amortized linear growth over
   22927 # repeated appends, instead of the typical quadratic growth present in naive
   22928 # implementations.
   22929 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   22930 then :
   22931   eval 'as_fn_append ()
   22932   {
   22933     eval $1+=\$2
   22934   }'
   22935 else case e in #(
   22936   e) as_fn_append ()
   22937   {
   22938     eval $1=\$$1\$2
   22939   } ;;
   22940 esac
   22941 fi # as_fn_append
   22942 
   22943 # as_fn_arith ARG...
   22944 # ------------------
   22945 # Perform arithmetic evaluation on the ARGs, and store the result in the
   22946 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   22947 # must be portable across $(()) and expr.
   22948 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   22949 then :
   22950   eval 'as_fn_arith ()
   22951   {
   22952     as_val=$(( $* ))
   22953   }'
   22954 else case e in #(
   22955   e) as_fn_arith ()
   22956   {
   22957     as_val=`expr "$@" || test $? -eq 1`
   22958   } ;;
   22959 esac
   22960 fi # as_fn_arith
   22961 
   22962 
   22963 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22964    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22965   as_expr=expr
   22966 else
   22967   as_expr=false
   22968 fi
   22969 
   22970 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22971   as_basename=basename
   22972 else
   22973   as_basename=false
   22974 fi
   22975 
   22976 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22977   as_dirname=dirname
   22978 else
   22979   as_dirname=false
   22980 fi
   22981 
   22982 as_me=`$as_basename -- "$0" ||
   22983 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22984 	 X"$0" : 'X\(//\)$' \| \
   22985 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22986 printf "%s\n" X/"$0" |
   22987     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22988 	    s//\1/
   22989 	    q
   22990 	  }
   22991 	  /^X\/\(\/\/\)$/{
   22992 	    s//\1/
   22993 	    q
   22994 	  }
   22995 	  /^X\/\(\/\).*/{
   22996 	    s//\1/
   22997 	    q
   22998 	  }
   22999 	  s/.*/./; q'`
   23000 
   23001 # Avoid depending upon Character Ranges.
   23002 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   23003 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   23004 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   23005 as_cr_digits='0123456789'
   23006 as_cr_alnum=$as_cr_Letters$as_cr_digits
   23007 
   23008 
   23009 # Determine whether it's possible to make 'echo' print without a newline.
   23010 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   23011 # for compatibility with existing Makefiles.
   23012 ECHO_C= ECHO_N= ECHO_T=
   23013 case `echo -n x` in #(((((
   23014 -n*)
   23015   case `echo 'xy\c'` in
   23016   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   23017   xy)  ECHO_C='\c';;
   23018   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   23019        ECHO_T='	';;
   23020   esac;;
   23021 *)
   23022   ECHO_N='-n';;
   23023 esac
   23024 
   23025 # For backward compatibility with old third-party macros, we provide
   23026 # the shell variables $as_echo and $as_echo_n.  New code should use
   23027 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   23028 as_echo='printf %s\n'
   23029 as_echo_n='printf %s'
   23030 
   23031 rm -f conf$$ conf$$.exe conf$$.file
   23032 if test -d conf$$.dir; then
   23033   rm -f conf$$.dir/conf$$.file
   23034 else
   23035   rm -f conf$$.dir
   23036   mkdir conf$$.dir 2>/dev/null
   23037 fi
   23038 if (echo >conf$$.file) 2>/dev/null; then
   23039   if ln -s conf$$.file conf$$ 2>/dev/null; then
   23040     as_ln_s='ln -s'
   23041     # ... but there are two gotchas:
   23042     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   23043     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   23044     # In both cases, we have to default to 'cp -pR'.
   23045     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   23046       as_ln_s='cp -pR'
   23047   elif ln conf$$.file conf$$ 2>/dev/null; then
   23048     as_ln_s=ln
   23049   else
   23050     as_ln_s='cp -pR'
   23051   fi
   23052 else
   23053   as_ln_s='cp -pR'
   23054 fi
   23055 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   23056 rmdir conf$$.dir 2>/dev/null
   23057 
   23058 
   23059 # as_fn_mkdir_p
   23060 # -------------
   23061 # Create "$as_dir" as a directory, including parents if necessary.
   23062 as_fn_mkdir_p ()
   23063 {
   23064 
   23065   case $as_dir in #(
   23066   -*) as_dir=./$as_dir;;
   23067   esac
   23068   test -d "$as_dir" || eval $as_mkdir_p || {
   23069     as_dirs=
   23070     while :; do
   23071       case $as_dir in #(
   23072       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23073       *) as_qdir=$as_dir;;
   23074       esac
   23075       as_dirs="'$as_qdir' $as_dirs"
   23076       as_dir=`$as_dirname -- "$as_dir" ||
   23077 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23078 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23079 	 X"$as_dir" : 'X\(//\)$' \| \
   23080 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23081 printf "%s\n" X"$as_dir" |
   23082     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23083 	    s//\1/
   23084 	    q
   23085 	  }
   23086 	  /^X\(\/\/\)[^/].*/{
   23087 	    s//\1/
   23088 	    q
   23089 	  }
   23090 	  /^X\(\/\/\)$/{
   23091 	    s//\1/
   23092 	    q
   23093 	  }
   23094 	  /^X\(\/\).*/{
   23095 	    s//\1/
   23096 	    q
   23097 	  }
   23098 	  s/.*/./; q'`
   23099       test -d "$as_dir" && break
   23100     done
   23101     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23102   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   23103 
   23104 
   23105 } # as_fn_mkdir_p
   23106 if mkdir -p . 2>/dev/null; then
   23107   as_mkdir_p='mkdir -p "$as_dir"'
   23108 else
   23109   test -d ./-p && rmdir ./-p
   23110   as_mkdir_p=false
   23111 fi
   23112 
   23113 
   23114 # as_fn_executable_p FILE
   23115 # -----------------------
   23116 # Test if FILE is an executable regular file.
   23117 as_fn_executable_p ()
   23118 {
   23119   test -f "$1" && test -x "$1"
   23120 } # as_fn_executable_p
   23121 as_test_x='test -x'
   23122 as_executable_p=as_fn_executable_p
   23123 
   23124 # Sed expression to map a string onto a valid CPP name.
   23125 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   23126 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   23127 
   23128 # Sed expression to map a string onto a valid variable name.
   23129 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   23130 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   23131 
   23132 
   23133 exec 6>&1
   23134 ## ----------------------------------- ##
   23135 ## Main body of $CONFIG_STATUS script. ##
   23136 ## ----------------------------------- ##
   23137 _ASEOF
   23138 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   23139 
   23140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23141 # Save the log message, to keep $0 and so on meaningful, and to
   23142 # report actual input values of CONFIG_FILES etc. instead of their
   23143 # values after options handling.
   23144 ac_log="
   23145 This file was extended by expat $as_me 2.8.5, which was
   23146 generated by GNU Autoconf 2.72.  Invocation command line was
   23147 
   23148   CONFIG_FILES    = $CONFIG_FILES
   23149   CONFIG_HEADERS  = $CONFIG_HEADERS
   23150   CONFIG_LINKS    = $CONFIG_LINKS
   23151   CONFIG_COMMANDS = $CONFIG_COMMANDS
   23152   $ $0 $@
   23153 
   23154 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   23155 "
   23156 
   23157 _ACEOF
   23158 
   23159 case $ac_config_files in *"
   23160 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   23161 esac
   23162 
   23163 case $ac_config_headers in *"
   23164 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   23165 esac
   23166 
   23167 
   23168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23169 # Files that config.status was made for.
   23170 config_files="$ac_config_files"
   23171 config_headers="$ac_config_headers"
   23172 config_commands="$ac_config_commands"
   23173 
   23174 _ACEOF
   23175 
   23176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23177 ac_cs_usage="\
   23178 '$as_me' instantiates files and other configuration actions
   23179 from templates according to the current configuration.  Unless the files
   23180 and actions are specified as TAGs, all are instantiated by default.
   23181 
   23182 Usage: $0 [OPTION]... [TAG]...
   23183 
   23184   -h, --help       print this help, then exit
   23185   -V, --version    print version number and configuration settings, then exit
   23186       --config     print configuration, then exit
   23187   -q, --quiet, --silent
   23188                    do not print progress messages
   23189   -d, --debug      don't remove temporary files
   23190       --recheck    update $as_me by reconfiguring in the same conditions
   23191       --file=FILE[:TEMPLATE]
   23192                    instantiate the configuration file FILE
   23193       --header=FILE[:TEMPLATE]
   23194                    instantiate the configuration header FILE
   23195 
   23196 Configuration files:
   23197 $config_files
   23198 
   23199 Configuration headers:
   23200 $config_headers
   23201 
   23202 Configuration commands:
   23203 $config_commands
   23204 
   23205 Report bugs to <https://github.com/libexpat/libexpat/issues>."
   23206 
   23207 _ACEOF
   23208 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   23209 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   23210 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23211 ac_cs_config='$ac_cs_config_escaped'
   23212 ac_cs_version="\\
   23213 expat config.status 2.8.5
   23214 configured by $0, generated by GNU Autoconf 2.72,
   23215   with options \\"\$ac_cs_config\\"
   23216 
   23217 Copyright (C) 2023 Free Software Foundation, Inc.
   23218 This config.status script is free software; the Free Software Foundation
   23219 gives unlimited permission to copy, distribute and modify it."
   23220 
   23221 ac_pwd='$ac_pwd'
   23222 srcdir='$srcdir'
   23223 INSTALL='$INSTALL'
   23224 MKDIR_P='$MKDIR_P'
   23225 AWK='$AWK'
   23226 test -n "\$AWK" || AWK=awk
   23227 _ACEOF
   23228 
   23229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23230 # The default lists apply if the user does not specify any file.
   23231 ac_need_defaults=:
   23232 while test $# != 0
   23233 do
   23234   case $1 in
   23235   --*=?*)
   23236     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   23237     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   23238     ac_shift=:
   23239     ;;
   23240   --*=)
   23241     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   23242     ac_optarg=
   23243     ac_shift=:
   23244     ;;
   23245   *)
   23246     ac_option=$1
   23247     ac_optarg=$2
   23248     ac_shift=shift
   23249     ;;
   23250   esac
   23251 
   23252   case $ac_option in
   23253   # Handling of the options.
   23254   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   23255     ac_cs_recheck=: ;;
   23256   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   23257     printf "%s\n" "$ac_cs_version"; exit ;;
   23258   --config | --confi | --conf | --con | --co | --c )
   23259     printf "%s\n" "$ac_cs_config"; exit ;;
   23260   --debug | --debu | --deb | --de | --d | -d )
   23261     debug=: ;;
   23262   --file | --fil | --fi | --f )
   23263     $ac_shift
   23264     case $ac_optarg in
   23265     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   23266     '') as_fn_error $? "missing file argument" ;;
   23267     esac
   23268     as_fn_append CONFIG_FILES " '$ac_optarg'"
   23269     ac_need_defaults=false;;
   23270   --header | --heade | --head | --hea )
   23271     $ac_shift
   23272     case $ac_optarg in
   23273     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   23274     esac
   23275     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   23276     ac_need_defaults=false;;
   23277   --he | --h)
   23278     # Conflict between --help and --header
   23279     as_fn_error $? "ambiguous option: '$1'
   23280 Try '$0 --help' for more information.";;
   23281   --help | --hel | -h )
   23282     printf "%s\n" "$ac_cs_usage"; exit ;;
   23283   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   23284   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   23285     ac_cs_silent=: ;;
   23286 
   23287   # This is an error.
   23288   -*) as_fn_error $? "unrecognized option: '$1'
   23289 Try '$0 --help' for more information." ;;
   23290 
   23291   *) as_fn_append ac_config_targets " $1"
   23292      ac_need_defaults=false ;;
   23293 
   23294   esac
   23295   shift
   23296 done
   23297 
   23298 ac_configure_extra_args=
   23299 
   23300 if $ac_cs_silent; then
   23301   exec 6>/dev/null
   23302   ac_configure_extra_args="$ac_configure_extra_args --silent"
   23303 fi
   23304 
   23305 _ACEOF
   23306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23307 if \$ac_cs_recheck; then
   23308   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   23309   shift
   23310   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   23311   CONFIG_SHELL='$SHELL'
   23312   export CONFIG_SHELL
   23313   exec "\$@"
   23314 fi
   23315 
   23316 _ACEOF
   23317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23318 exec 5>>config.log
   23319 {
   23320   echo
   23321   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   23322 ## Running $as_me. ##
   23323 _ASBOX
   23324   printf "%s\n" "$ac_log"
   23325 } >&5
   23326 
   23327 _ACEOF
   23328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23329 #
   23330 # INIT-COMMANDS
   23331 #
   23332 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   23333 
   23334 
   23335 # The HP-UX ksh and POSIX shell print the target directory to stdout
   23336 # if CDPATH is set.
   23337 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   23338 
   23339 sed_quote_subst='$sed_quote_subst'
   23340 double_quote_subst='$double_quote_subst'
   23341 delay_variable_subst='$delay_variable_subst'
   23342 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   23343 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   23344 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
   23345 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   23346 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   23347 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   23348 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   23349 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   23350 enable_cxx_stdlib='`$ECHO "$enable_cxx_stdlib" | $SED "$delay_single_quote_subst"`'
   23351 stdlibflag='`$ECHO "$stdlibflag" | $SED "$delay_single_quote_subst"`'
   23352 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   23353 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   23354 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   23355 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   23356 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   23357 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   23358 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   23359 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   23360 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   23361 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   23362 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   23363 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   23364 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   23365 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   23366 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   23367 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   23368 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   23369 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   23370 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   23371 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   23372 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   23373 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   23374 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   23375 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   23376 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   23377 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   23378 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   23379 lt_cv_cygpath_installed='`$ECHO "$lt_cv_cygpath_installed" | $SED "$delay_single_quote_subst"`'
   23380 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   23381 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   23382 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   23383 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   23384 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   23385 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   23386 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   23387 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   23388 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   23389 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   23390 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   23391 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   23392 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   23393 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   23394 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   23395 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   23396 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   23397 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   23398 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   23399 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   23400 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   23401 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   23402 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   23403 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   23404 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   23405 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   23406 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"`'
   23407 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   23408 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   23409 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   23410 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   23411 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   23412 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   23413 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   23414 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   23415 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   23416 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   23417 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   23418 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   23419 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   23420 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   23421 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   23422 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   23423 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   23424 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   23425 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   23426 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   23427 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   23428 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   23429 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   23430 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   23431 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   23432 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   23433 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   23434 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   23435 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   23436 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   23437 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   23438 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   23439 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   23440 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   23441 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   23442 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   23443 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   23444 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   23445 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   23446 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   23447 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   23448 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   23449 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   23450 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   23451 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   23452 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   23453 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   23454 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   23455 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   23456 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   23457 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   23458 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   23459 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   23460 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   23461 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   23462 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   23463 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   23464 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   23465 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   23466 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   23467 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   23468 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   23469 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   23470 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   23471 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   23472 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   23473 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   23474 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   23475 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   23476 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   23477 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   23478 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   23479 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   23480 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   23481 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   23482 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   23483 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
   23484 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
   23485 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
   23486 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
   23487 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
   23488 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
   23489 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
   23490 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
   23491 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   23492 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   23493 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
   23494 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
   23495 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
   23496 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
   23497 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
   23498 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
   23499 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
   23500 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
   23501 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
   23502 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   23503 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   23504 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
   23505 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   23506 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   23507 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   23508 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   23509 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   23510 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   23511 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
   23512 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   23513 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   23514 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   23515 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
   23516 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
   23517 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
   23518 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
   23519 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
   23520 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
   23521 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
   23522 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
   23523 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
   23524 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   23525 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   23526 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   23527 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   23528 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   23529 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
   23530 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
   23531 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
   23532 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   23533 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   23534 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
   23535 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
   23536 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
   23537 
   23538 LTCC='$LTCC'
   23539 LTCFLAGS='$LTCFLAGS'
   23540 compiler='$compiler_DEFAULT'
   23541 
   23542 # A function that is used when there is no print builtin or printf.
   23543 func_fallback_echo ()
   23544 {
   23545   eval 'cat <<_LTECHO_EOF
   23546 \$1
   23547 _LTECHO_EOF'
   23548 }
   23549 
   23550 # Quote evaled strings.
   23551 for var in AS \
   23552 DLLTOOL \
   23553 OBJDUMP \
   23554 SHELL \
   23555 ECHO \
   23556 PATH_SEPARATOR \
   23557 SED \
   23558 GREP \
   23559 EGREP \
   23560 FGREP \
   23561 LD \
   23562 NM \
   23563 LN_S \
   23564 lt_SP2NL \
   23565 lt_NL2SP \
   23566 reload_flag \
   23567 FILECMD \
   23568 deplibs_check_method \
   23569 file_magic_cmd \
   23570 file_magic_glob \
   23571 want_nocaseglob \
   23572 sharedlib_from_linklib_cmd \
   23573 AR \
   23574 lt_ar_flags \
   23575 archiver_list_spec \
   23576 STRIP \
   23577 RANLIB \
   23578 CC \
   23579 CFLAGS \
   23580 compiler \
   23581 lt_cv_sys_global_symbol_pipe \
   23582 lt_cv_sys_global_symbol_to_cdecl \
   23583 lt_cv_sys_global_symbol_to_import \
   23584 lt_cv_sys_global_symbol_to_c_name_address \
   23585 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   23586 lt_cv_nm_interface \
   23587 nm_file_list_spec \
   23588 lt_cv_truncate_bin \
   23589 lt_prog_compiler_no_builtin_flag \
   23590 lt_prog_compiler_pic \
   23591 lt_prog_compiler_wl \
   23592 lt_prog_compiler_static \
   23593 lt_cv_prog_compiler_c_o \
   23594 need_locks \
   23595 MANIFEST_TOOL \
   23596 DSYMUTIL \
   23597 NMEDIT \
   23598 LIPO \
   23599 OTOOL \
   23600 OTOOL64 \
   23601 shrext_cmds \
   23602 export_dynamic_flag_spec \
   23603 whole_archive_flag_spec \
   23604 compiler_needs_object \
   23605 with_gnu_ld \
   23606 allow_undefined_flag \
   23607 no_undefined_flag \
   23608 hardcode_libdir_flag_spec \
   23609 hardcode_libdir_separator \
   23610 exclude_expsyms \
   23611 include_expsyms \
   23612 file_list_spec \
   23613 variables_saved_for_relink \
   23614 libname_spec \
   23615 library_names_spec \
   23616 soname_spec \
   23617 install_override_mode \
   23618 finish_eval \
   23619 old_striplib \
   23620 striplib \
   23621 compiler_lib_search_dirs \
   23622 predep_objects \
   23623 postdep_objects \
   23624 predeps \
   23625 postdeps \
   23626 compiler_lib_search_path \
   23627 LD_CXX \
   23628 reload_flag_CXX \
   23629 compiler_CXX \
   23630 lt_prog_compiler_no_builtin_flag_CXX \
   23631 lt_prog_compiler_pic_CXX \
   23632 lt_prog_compiler_wl_CXX \
   23633 lt_prog_compiler_static_CXX \
   23634 lt_cv_prog_compiler_c_o_CXX \
   23635 export_dynamic_flag_spec_CXX \
   23636 whole_archive_flag_spec_CXX \
   23637 compiler_needs_object_CXX \
   23638 with_gnu_ld_CXX \
   23639 allow_undefined_flag_CXX \
   23640 no_undefined_flag_CXX \
   23641 hardcode_libdir_flag_spec_CXX \
   23642 hardcode_libdir_separator_CXX \
   23643 exclude_expsyms_CXX \
   23644 include_expsyms_CXX \
   23645 file_list_spec_CXX \
   23646 compiler_lib_search_dirs_CXX \
   23647 predep_objects_CXX \
   23648 postdep_objects_CXX \
   23649 predeps_CXX \
   23650 postdeps_CXX \
   23651 compiler_lib_search_path_CXX; do
   23652     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   23653     *[\\\\\\\`\\"\\\$]*)
   23654       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   23655       ;;
   23656     *)
   23657       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   23658       ;;
   23659     esac
   23660 done
   23661 
   23662 # Double-quote double-evaled strings.
   23663 for var in reload_cmds \
   23664 old_postinstall_cmds \
   23665 old_postuninstall_cmds \
   23666 old_archive_cmds \
   23667 extract_expsyms_cmds \
   23668 old_archive_from_new_cmds \
   23669 old_archive_from_expsyms_cmds \
   23670 archive_cmds \
   23671 archive_expsym_cmds \
   23672 module_cmds \
   23673 module_expsym_cmds \
   23674 export_symbols_cmds \
   23675 prelink_cmds \
   23676 postlink_cmds \
   23677 postinstall_cmds \
   23678 postuninstall_cmds \
   23679 finish_cmds \
   23680 sys_lib_search_path_spec \
   23681 configure_time_dlsearch_path \
   23682 configure_time_lt_sys_library_path \
   23683 reload_cmds_CXX \
   23684 old_archive_cmds_CXX \
   23685 old_archive_from_new_cmds_CXX \
   23686 old_archive_from_expsyms_cmds_CXX \
   23687 archive_cmds_CXX \
   23688 archive_expsym_cmds_CXX \
   23689 module_cmds_CXX \
   23690 module_expsym_cmds_CXX \
   23691 export_symbols_cmds_CXX \
   23692 prelink_cmds_CXX \
   23693 postlink_cmds_CXX; do
   23694     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   23695     *[\\\\\\\`\\"\\\$]*)
   23696       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   23697       ;;
   23698     *)
   23699       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   23700       ;;
   23701     esac
   23702 done
   23703 
   23704 ac_aux_dir='$ac_aux_dir'
   23705 
   23706 # See if we are running on zsh, and set the options that allow our
   23707 # commands through without removal of \ escapes INIT.
   23708 if test -n "\${ZSH_VERSION+set}"; then
   23709    setopt NO_GLOB_SUBST
   23710 fi
   23711 
   23712 
   23713     PACKAGE='$PACKAGE'
   23714     VERSION='$VERSION'
   23715     RM='$RM'
   23716     ofile='$ofile'
   23717 
   23718 
   23719 
   23720 
   23721 
   23722 
   23723 _ACEOF
   23724 
   23725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23726 
   23727 # Handling of arguments.
   23728 for ac_config_target in $ac_config_targets
   23729 do
   23730   case $ac_config_target in
   23731     "expat_config.h") CONFIG_HEADERS="$CONFIG_HEADERS expat_config.h" ;;
   23732     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   23733     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   23734     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   23735     "expat.pc") CONFIG_FILES="$CONFIG_FILES expat.pc" ;;
   23736     "cmake/expat-config.cmake") CONFIG_FILES="$CONFIG_FILES cmake/expat-config.cmake" ;;
   23737     "cmake/autotools/expat.cmake") CONFIG_FILES="$CONFIG_FILES cmake/autotools/expat.cmake:${CMAKE_SOURCE}" ;;
   23738     "cmake/autotools/expat-config-version.cmake") CONFIG_FILES="$CONFIG_FILES cmake/autotools/expat-config-version.cmake" ;;
   23739     "cmake/autotools/expat-noconfig.cmake") CONFIG_FILES="$CONFIG_FILES cmake/autotools/expat-noconfig.cmake:${CMAKE_NOCONFIG_SOURCE}" ;;
   23740     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   23741     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
   23742     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
   23743     "lib/libexpat.map") CONFIG_FILES="$CONFIG_FILES lib/libexpat.map" ;;
   23744     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
   23745     "tests/benchmark/Makefile") CONFIG_FILES="$CONFIG_FILES tests/benchmark/Makefile" ;;
   23746     "xmlwf/Makefile") CONFIG_FILES="$CONFIG_FILES xmlwf/Makefile" ;;
   23747     "run.sh") CONFIG_FILES="$CONFIG_FILES run.sh" ;;
   23748 
   23749   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   23750   esac
   23751 done
   23752 
   23753 
   23754 # If the user did not use the arguments to specify the items to instantiate,
   23755 # then the envvar interface is used.  Set only those that are not.
   23756 # We use the long form for the default assignment because of an extremely
   23757 # bizarre bug on SunOS 4.1.3.
   23758 if $ac_need_defaults; then
   23759   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   23760   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   23761   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   23762 fi
   23763 
   23764 # Have a temporary directory for convenience.  Make it in the build tree
   23765 # simply because there is no reason against having it here, and in addition,
   23766 # creating and moving files from /tmp can sometimes cause problems.
   23767 # Hook for its removal unless debugging.
   23768 # Note that there is a small window in which the directory will not be cleaned:
   23769 # after its creation but before its name has been assigned to '$tmp'.
   23770 $debug ||
   23771 {
   23772   tmp= ac_tmp=
   23773   trap 'exit_status=$?
   23774   : "${ac_tmp:=$tmp}"
   23775   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   23776 ' 0
   23777   trap 'as_fn_exit 1' 1 2 13 15
   23778 }
   23779 # Create a (secure) tmp directory for tmp files.
   23780 
   23781 {
   23782   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   23783   test -d "$tmp"
   23784 }  ||
   23785 {
   23786   tmp=./conf$$-$RANDOM
   23787   (umask 077 && mkdir "$tmp")
   23788 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   23789 ac_tmp=$tmp
   23790 
   23791 # Set up the scripts for CONFIG_FILES section.
   23792 # No need to generate them if there are no CONFIG_FILES.
   23793 # This happens for instance with './config.status config.h'.
   23794 if test -n "$CONFIG_FILES"; then
   23795 
   23796 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
   23797   ac_cs_awk_getline=:
   23798   ac_cs_awk_pipe_init=
   23799   ac_cs_awk_read_file='
   23800       while ((getline aline < (F[key])) > 0)
   23801 	print(aline)
   23802       close(F[key])'
   23803   ac_cs_awk_pipe_fini=
   23804 else
   23805   ac_cs_awk_getline=false
   23806   ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
   23807   ac_cs_awk_read_file='
   23808       print "|#_!!_#|"
   23809       print "cat " F[key] " &&"
   23810       '$ac_cs_awk_pipe_init
   23811   # The final ':' finishes the AND list.
   23812   ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
   23813 fi
   23814 ac_cr=`echo X | tr X '\015'`
   23815 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   23816 # But we know of no other shell where ac_cr would be empty at this
   23817 # point, so we can use a bashism as a fallback.
   23818 if test "x$ac_cr" = x; then
   23819   eval ac_cr=\$\'\\r\'
   23820 fi
   23821 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   23822 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   23823   ac_cs_awk_cr='\\r'
   23824 else
   23825   ac_cs_awk_cr=$ac_cr
   23826 fi
   23827 
   23828 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   23829 _ACEOF
   23830 
   23831 # Create commands to substitute file output variables.
   23832 {
   23833   echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
   23834   echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
   23835   echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
   23836   echo "_ACAWK" &&
   23837   echo "_ACEOF"
   23838 } >conf$$files.sh &&
   23839 . ./conf$$files.sh ||
   23840   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   23841 rm -f conf$$files.sh
   23842 
   23843 {
   23844   echo "cat >conf$$subs.awk <<_ACEOF" &&
   23845   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   23846   echo "_ACEOF"
   23847 } >conf$$subs.sh ||
   23848   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   23849 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   23850 ac_delim='%!_!# '
   23851 for ac_last_try in false false false false false :; do
   23852   . ./conf$$subs.sh ||
   23853     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   23854 
   23855   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   23856   if test $ac_delim_n = $ac_delim_num; then
   23857     break
   23858   elif $ac_last_try; then
   23859     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   23860   else
   23861     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   23862   fi
   23863 done
   23864 rm -f conf$$subs.sh
   23865 
   23866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23867 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   23868 _ACEOF
   23869 sed -n '
   23870 h
   23871 s/^/S["/; s/!.*/"]=/
   23872 p
   23873 g
   23874 s/^[^!]*!//
   23875 :repl
   23876 t repl
   23877 s/'"$ac_delim"'$//
   23878 t delim
   23879 :nl
   23880 h
   23881 s/\(.\{148\}\)..*/\1/
   23882 t more1
   23883 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   23884 p
   23885 n
   23886 b repl
   23887 :more1
   23888 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   23889 p
   23890 g
   23891 s/.\{148\}//
   23892 t nl
   23893 :delim
   23894 h
   23895 s/\(.\{148\}\)..*/\1/
   23896 t more2
   23897 s/["\\]/\\&/g; s/^/"/; s/$/"/
   23898 p
   23899 b
   23900 :more2
   23901 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   23902 p
   23903 g
   23904 s/.\{148\}//
   23905 t delim
   23906 ' <conf$$subs.awk | sed '
   23907 /^[^""]/{
   23908   N
   23909   s/\n//
   23910 }
   23911 ' >>$CONFIG_STATUS || ac_write_fail=1
   23912 rm -f conf$$subs.awk
   23913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23914 _ACAWK
   23915 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   23916   for (key in S) S_is_set[key] = 1
   23917   FS = ""
   23918   \$ac_cs_awk_pipe_init
   23919 }
   23920 {
   23921   line = $ 0
   23922   nfields = split(line, field, "@")
   23923   substed = 0
   23924   len = length(field[1])
   23925   for (i = 2; i < nfields; i++) {
   23926     key = field[i]
   23927     keylen = length(key)
   23928     if (S_is_set[key]) {
   23929       value = S[key]
   23930       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   23931       len += length(value) + length(field[++i])
   23932       substed = 1
   23933     } else
   23934       len += 1 + keylen
   23935   }
   23936   if (nfields == 3 && !substed) {
   23937     key = field[2]
   23938     if (F[key] != "" && line ~ /^[	 ]*@.*@[	 ]*$/) {
   23939       \$ac_cs_awk_read_file
   23940       next
   23941     }
   23942   }
   23943   print line
   23944 }
   23945 \$ac_cs_awk_pipe_fini
   23946 _ACAWK
   23947 _ACEOF
   23948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23949 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   23950   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   23951 else
   23952   cat
   23953 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   23954   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   23955 _ACEOF
   23956 
   23957 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   23958 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   23959 # trailing colons and then remove the whole line if VPATH becomes empty
   23960 # (actually we leave an empty line to preserve line numbers).
   23961 if test "x$srcdir" = x.; then
   23962   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   23963 h
   23964 s///
   23965 s/^/:/
   23966 s/[	 ]*$/:/
   23967 s/:\$(srcdir):/:/g
   23968 s/:\${srcdir}:/:/g
   23969 s/:@srcdir@:/:/g
   23970 s/^:*//
   23971 s/:*$//
   23972 x
   23973 s/\(=[	 ]*\).*/\1/
   23974 G
   23975 s/\n//
   23976 s/^[^=]*=[	 ]*$//
   23977 }'
   23978 fi
   23979 
   23980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23981 fi # test -n "$CONFIG_FILES"
   23982 
   23983 # Set up the scripts for CONFIG_HEADERS section.
   23984 # No need to generate them if there are no CONFIG_HEADERS.
   23985 # This happens for instance with './config.status Makefile'.
   23986 if test -n "$CONFIG_HEADERS"; then
   23987 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   23988 BEGIN {
   23989 _ACEOF
   23990 
   23991 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   23992 # here-document in config.status, that substitutes the proper values into
   23993 # config.h.in to produce config.h.
   23994 
   23995 # Create a delimiter string that does not exist in confdefs.h, to ease
   23996 # handling of long lines.
   23997 ac_delim='%!_!# '
   23998 for ac_last_try in false false :; do
   23999   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   24000   if test -z "$ac_tt"; then
   24001     break
   24002   elif $ac_last_try; then
   24003     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   24004   else
   24005     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   24006   fi
   24007 done
   24008 
   24009 # For the awk script, D is an array of macro values keyed by name,
   24010 # likewise P contains macro parameters if any.  Preserve backslash
   24011 # newline sequences.
   24012 
   24013 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   24014 sed -n '
   24015 s/.\{148\}/&'"$ac_delim"'/g
   24016 t rset
   24017 :rset
   24018 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   24019 t def
   24020 d
   24021 :def
   24022 s/\\$//
   24023 t bsnl
   24024 s/["\\]/\\&/g
   24025 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   24026 D["\1"]=" \3"/p
   24027 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   24028 d
   24029 :bsnl
   24030 s/["\\]/\\&/g
   24031 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   24032 D["\1"]=" \3\\\\\\n"\\/p
   24033 t cont
   24034 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   24035 t cont
   24036 d
   24037 :cont
   24038 n
   24039 s/.\{148\}/&'"$ac_delim"'/g
   24040 t clear
   24041 :clear
   24042 s/\\$//
   24043 t bsnlc
   24044 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   24045 d
   24046 :bsnlc
   24047 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   24048 b cont
   24049 ' <confdefs.h | sed '
   24050 s/'"$ac_delim"'/"\\\
   24051 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   24052 
   24053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24054   for (key in D) D_is_set[key] = 1
   24055   FS = ""
   24056 }
   24057 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   24058   line = \$ 0
   24059   split(line, arg, " ")
   24060   if (arg[1] == "#") {
   24061     defundef = arg[2]
   24062     mac1 = arg[3]
   24063   } else {
   24064     defundef = substr(arg[1], 2)
   24065     mac1 = arg[2]
   24066   }
   24067   split(mac1, mac2, "(") #)
   24068   macro = mac2[1]
   24069   prefix = substr(line, 1, index(line, defundef) - 1)
   24070   if (D_is_set[macro]) {
   24071     # Preserve the white space surrounding the "#".
   24072     print prefix "define", macro P[macro] D[macro]
   24073     next
   24074   } else {
   24075     # Replace #undef with comments.  This is necessary, for example,
   24076     # in the case of _POSIX_SOURCE, which is predefined and required
   24077     # on some systems where configure will not decide to define it.
   24078     if (defundef == "undef") {
   24079       print "/*", prefix defundef, macro, "*/"
   24080       next
   24081     }
   24082   }
   24083 }
   24084 { print }
   24085 _ACAWK
   24086 _ACEOF
   24087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24088   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   24089 fi # test -n "$CONFIG_HEADERS"
   24090 
   24091 
   24092 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   24093 shift
   24094 for ac_tag
   24095 do
   24096   case $ac_tag in
   24097   :[FHLC]) ac_mode=$ac_tag; continue;;
   24098   esac
   24099   case $ac_mode$ac_tag in
   24100   :[FHL]*:*);;
   24101   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   24102   :[FH]-) ac_tag=-:-;;
   24103   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   24104   esac
   24105   ac_save_IFS=$IFS
   24106   IFS=:
   24107   set x $ac_tag
   24108   IFS=$ac_save_IFS
   24109   shift
   24110   ac_file=$1
   24111   shift
   24112 
   24113   case $ac_mode in
   24114   :L) ac_source=$1;;
   24115   :[FH])
   24116     ac_file_inputs=
   24117     for ac_f
   24118     do
   24119       case $ac_f in
   24120       -) ac_f="$ac_tmp/stdin";;
   24121       *) # Look for the file first in the build tree, then in the source tree
   24122 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   24123 	 # because $ac_f cannot contain ':'.
   24124 	 test -f "$ac_f" ||
   24125 	   case $ac_f in
   24126 	   [\\/$]*) false;;
   24127 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   24128 	   esac ||
   24129 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   24130       esac
   24131       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   24132       as_fn_append ac_file_inputs " '$ac_f'"
   24133     done
   24134 
   24135     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   24136     # use $as_me), people would be surprised to read:
   24137     #    /* config.h.  Generated by config.status.  */
   24138     configure_input='Generated from '`
   24139 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   24140 	`' by configure.'
   24141     if test x"$ac_file" != x-; then
   24142       configure_input="$ac_file.  $configure_input"
   24143       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   24144 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   24145     fi
   24146     # Neutralize special characters interpreted by sed in replacement strings.
   24147     case $configure_input in #(
   24148     *\&* | *\|* | *\\* )
   24149        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   24150        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   24151     *) ac_sed_conf_input=$configure_input;;
   24152     esac
   24153 
   24154     case $ac_tag in
   24155     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   24156       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   24157     esac
   24158     ;;
   24159   esac
   24160 
   24161   ac_dir=`$as_dirname -- "$ac_file" ||
   24162 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24163 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   24164 	 X"$ac_file" : 'X\(//\)$' \| \
   24165 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   24166 printf "%s\n" X"$ac_file" |
   24167     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24168 	    s//\1/
   24169 	    q
   24170 	  }
   24171 	  /^X\(\/\/\)[^/].*/{
   24172 	    s//\1/
   24173 	    q
   24174 	  }
   24175 	  /^X\(\/\/\)$/{
   24176 	    s//\1/
   24177 	    q
   24178 	  }
   24179 	  /^X\(\/\).*/{
   24180 	    s//\1/
   24181 	    q
   24182 	  }
   24183 	  s/.*/./; q'`
   24184   as_dir="$ac_dir"; as_fn_mkdir_p
   24185   ac_builddir=.
   24186 
   24187 case "$ac_dir" in
   24188 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   24189 *)
   24190   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   24191   # A ".." for each directory in $ac_dir_suffix.
   24192   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   24193   case $ac_top_builddir_sub in
   24194   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   24195   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   24196   esac ;;
   24197 esac
   24198 ac_abs_top_builddir=$ac_pwd
   24199 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   24200 # for backward compatibility:
   24201 ac_top_builddir=$ac_top_build_prefix
   24202 
   24203 case $srcdir in
   24204   .)  # We are building in place.
   24205     ac_srcdir=.
   24206     ac_top_srcdir=$ac_top_builddir_sub
   24207     ac_abs_top_srcdir=$ac_pwd ;;
   24208   [\\/]* | ?:[\\/]* )  # Absolute name.
   24209     ac_srcdir=$srcdir$ac_dir_suffix;
   24210     ac_top_srcdir=$srcdir
   24211     ac_abs_top_srcdir=$srcdir ;;
   24212   *) # Relative name.
   24213     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   24214     ac_top_srcdir=$ac_top_build_prefix$srcdir
   24215     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   24216 esac
   24217 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   24218 
   24219 
   24220   case $ac_mode in
   24221   :F)
   24222   #
   24223   # CONFIG_FILE
   24224   #
   24225 
   24226   case $INSTALL in
   24227   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   24228   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   24229   esac
   24230   ac_MKDIR_P=$MKDIR_P
   24231   case $MKDIR_P in
   24232   [\\/$]* | ?:[\\/]* ) ;;
   24233   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   24234   esac
   24235 _ACEOF
   24236 
   24237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24238 # If the template does not know about datarootdir, expand it.
   24239 # FIXME: This hack should be removed a few years after 2.60.
   24240 ac_datarootdir_hack=; ac_datarootdir_seen=
   24241 ac_sed_dataroot='
   24242 /datarootdir/ {
   24243   p
   24244   q
   24245 }
   24246 /@datadir@/p
   24247 /@docdir@/p
   24248 /@infodir@/p
   24249 /@localedir@/p
   24250 /@mandir@/p'
   24251 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   24252 *datarootdir*) ac_datarootdir_seen=yes;;
   24253 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   24254   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   24255 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   24256 _ACEOF
   24257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24258   ac_datarootdir_hack='
   24259   s&@datadir@&$datadir&g
   24260   s&@docdir@&$docdir&g
   24261   s&@infodir@&$infodir&g
   24262   s&@localedir@&$localedir&g
   24263   s&@mandir@&$mandir&g
   24264   s&\\\${datarootdir}&$datarootdir&g' ;;
   24265 esac
   24266 _ACEOF
   24267 
   24268 # Neutralize VPATH when '$srcdir' = '.'.
   24269 # Shell code in configure.ac might set extrasub.
   24270 # FIXME: do we really want to maintain this feature?
   24271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24272 ac_sed_extra="$ac_vpsub
   24273 $extrasub
   24274 _ACEOF
   24275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24276 :t
   24277 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   24278 s|@configure_input@|$ac_sed_conf_input|;t t
   24279 s&@top_builddir@&$ac_top_builddir_sub&;t t
   24280 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   24281 s&@srcdir@&$ac_srcdir&;t t
   24282 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   24283 s&@top_srcdir@&$ac_top_srcdir&;t t
   24284 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   24285 s&@builddir@&$ac_builddir&;t t
   24286 s&@abs_builddir@&$ac_abs_builddir&;t t
   24287 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   24288 s&@INSTALL@&$ac_INSTALL&;t t
   24289 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   24290 $ac_datarootdir_hack
   24291 "
   24292 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
   24293 if $ac_cs_awk_getline; then
   24294   $AWK -f "$ac_tmp/subs.awk"
   24295 else
   24296   $AWK -f "$ac_tmp/subs.awk" | $SHELL
   24297 fi \
   24298   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   24299 
   24300 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   24301   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   24302   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   24303       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   24304   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   24305 which seems to be undefined.  Please make sure it is defined" >&5
   24306 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   24307 which seems to be undefined.  Please make sure it is defined" >&2;}
   24308 
   24309   rm -f "$ac_tmp/stdin"
   24310   case $ac_file in
   24311   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   24312   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   24313   esac \
   24314   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   24315  ;;
   24316   :H)
   24317   #
   24318   # CONFIG_HEADER
   24319   #
   24320   if test x"$ac_file" != x-; then
   24321     {
   24322       printf "%s\n" "/* $configure_input  */" >&1 \
   24323       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   24324     } >"$ac_tmp/config.h" \
   24325       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   24326     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   24327       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   24328 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   24329     else
   24330       rm -f "$ac_file"
   24331       mv "$ac_tmp/config.h" "$ac_file" \
   24332 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   24333     fi
   24334   else
   24335     printf "%s\n" "/* $configure_input  */" >&1 \
   24336       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   24337       || as_fn_error $? "could not create -" "$LINENO" 5
   24338   fi
   24339 # Compute "$ac_file"'s index in $config_headers.
   24340 _am_arg="$ac_file"
   24341 _am_stamp_count=1
   24342 for _am_header in $config_headers :; do
   24343   case $_am_header in
   24344     $_am_arg | $_am_arg:* )
   24345       break ;;
   24346     * )
   24347       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   24348   esac
   24349 done
   24350 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   24351 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24352 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   24353 	 X"$_am_arg" : 'X\(//\)$' \| \
   24354 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   24355 printf "%s\n" X"$_am_arg" |
   24356     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24357 	    s//\1/
   24358 	    q
   24359 	  }
   24360 	  /^X\(\/\/\)[^/].*/{
   24361 	    s//\1/
   24362 	    q
   24363 	  }
   24364 	  /^X\(\/\/\)$/{
   24365 	    s//\1/
   24366 	    q
   24367 	  }
   24368 	  /^X\(\/\).*/{
   24369 	    s//\1/
   24370 	    q
   24371 	  }
   24372 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   24373  ;;
   24374 
   24375   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   24376 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   24377  ;;
   24378   esac
   24379 
   24380 
   24381   case $ac_file$ac_mode in
   24382     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   24383   # Older Autoconf quotes --file arguments for eval, but not when files
   24384   # are listed without --file.  Let's play safe and only enable the eval
   24385   # if we detect the quoting.
   24386   # TODO: see whether this extra hack can be removed once we start
   24387   # requiring Autoconf 2.70 or later.
   24388   case $CONFIG_FILES in #(
   24389   *\'*) :
   24390     eval set x "$CONFIG_FILES" ;; #(
   24391   *) :
   24392     set x $CONFIG_FILES ;; #(
   24393   *) :
   24394      ;;
   24395 esac
   24396   shift
   24397   # Used to flag and report bootstrapping failures.
   24398   am_rc=0
   24399   for am_mf
   24400   do
   24401     # Strip MF so we end up with the name of the file.
   24402     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   24403     # Check whether this is an Automake generated Makefile which includes
   24404     # dependency-tracking related rules and includes.
   24405     # Grep'ing the whole file directly is not great: AIX grep has a line
   24406     # limit of 2048, but all sed's we know have understand at least 4000.
   24407     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   24408       || continue
   24409     am_dirpart=`$as_dirname -- "$am_mf" ||
   24410 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24411 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   24412 	 X"$am_mf" : 'X\(//\)$' \| \
   24413 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   24414 printf "%s\n" X"$am_mf" |
   24415     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24416 	    s//\1/
   24417 	    q
   24418 	  }
   24419 	  /^X\(\/\/\)[^/].*/{
   24420 	    s//\1/
   24421 	    q
   24422 	  }
   24423 	  /^X\(\/\/\)$/{
   24424 	    s//\1/
   24425 	    q
   24426 	  }
   24427 	  /^X\(\/\).*/{
   24428 	    s//\1/
   24429 	    q
   24430 	  }
   24431 	  s/.*/./; q'`
   24432     am_filepart=`$as_basename -- "$am_mf" ||
   24433 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   24434 	 X"$am_mf" : 'X\(//\)$' \| \
   24435 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   24436 printf "%s\n" X/"$am_mf" |
   24437     sed '/^.*\/\([^/][^/]*\)\/*$/{
   24438 	    s//\1/
   24439 	    q
   24440 	  }
   24441 	  /^X\/\(\/\/\)$/{
   24442 	    s//\1/
   24443 	    q
   24444 	  }
   24445 	  /^X\/\(\/\).*/{
   24446 	    s//\1/
   24447 	    q
   24448 	  }
   24449 	  s/.*/./; q'`
   24450     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   24451       && sed -e '/# am--include-marker/d' "$am_filepart" \
   24452         | $MAKE -f - am--depfiles" >&5
   24453    (cd "$am_dirpart" \
   24454       && sed -e '/# am--include-marker/d' "$am_filepart" \
   24455         | $MAKE -f - am--depfiles) >&5 2>&5
   24456    ac_status=$?
   24457    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   24458    (exit $ac_status); } || am_rc=$?
   24459   done
   24460   if test $am_rc -ne 0; then
   24461     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   24462 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   24463 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   24464     for automatic dependency tracking.  If GNU make was not used, consider
   24465     re-running the configure script with MAKE=\"gmake\" (or whatever is
   24466     necessary).  You can also try re-running configure with the
   24467     '--disable-dependency-tracking' option to at least be able to build
   24468     the package (albeit without support for automatic dependency tracking).
   24469 See 'config.log' for more details" "$LINENO" 5; }
   24470   fi
   24471   { am_dirpart=; unset am_dirpart;}
   24472   { am_filepart=; unset am_filepart;}
   24473   { am_mf=; unset am_mf;}
   24474   { am_rc=; unset am_rc;}
   24475   rm -f conftest-deps.mk
   24476 }
   24477  ;;
   24478     "libtool":C)
   24479 
   24480     # See if we are running on zsh, and set the options that allow our
   24481     # commands through without removal of \ escapes.
   24482     if test -n "${ZSH_VERSION+set}"; then
   24483       setopt NO_GLOB_SUBST
   24484     fi
   24485 
   24486     cfgfile=${ofile}T
   24487     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   24488     $RM "$cfgfile"
   24489 
   24490     cat <<_LT_EOF >> "$cfgfile"
   24491 #! $SHELL
   24492 # Generated automatically by $as_me ($PACKAGE) $VERSION
   24493 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   24494 
   24495 # Provide generalized library-building support services.
   24496 # Written by Gordon Matzigkeit, 1996
   24497 
   24498 # Copyright (C) 2025-2026 Free Software Foundation, Inc.
   24499 # This is free software; see the source for copying conditions.  There is NO
   24500 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   24501 
   24502 # GNU Libtool is free software; you can redistribute it and/or modify
   24503 # it under the terms of the GNU General Public License as published by
   24504 # the Free Software Foundation; either version 2 of the License, or
   24505 # (at your option) any later version.
   24506 #
   24507 # As a special exception to the GNU General Public License, if you
   24508 # distribute this file as part of a program or library that is built
   24509 # using GNU Libtool, you may include this file under the  same
   24510 # distribution terms that you use for the rest of that program.
   24511 #
   24512 # GNU Libtool is distributed in the hope that it will be useful, but
   24513 # WITHOUT ANY WARRANTY; without even the implied warranty of
   24514 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   24515 # GNU General Public License for more details.
   24516 #
   24517 # You should have received a copy of the GNU General Public License
   24518 # along with this program.  If not, see <https://www.gnu.org/licenses/>.
   24519 
   24520 
   24521 # The names of the tagged configurations supported by this script.
   24522 available_tags='CXX '
   24523 
   24524 # Configured defaults for sys_lib_dlsearch_path munging.
   24525 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   24526 
   24527 # ### BEGIN LIBTOOL CONFIG
   24528 
   24529 # Which release of libtool.m4 was used?
   24530 macro_version=$macro_version
   24531 macro_revision=$macro_revision
   24532 
   24533 # Assembler program.
   24534 AS=$lt_AS
   24535 
   24536 # DLL creation program.
   24537 DLLTOOL=$lt_DLLTOOL
   24538 
   24539 # Object dumper program.
   24540 OBJDUMP=$lt_OBJDUMP
   24541 
   24542 # Whether or not to build shared libraries.
   24543 build_libtool_libs=$enable_shared
   24544 
   24545 # Whether or not to build static libraries.
   24546 build_old_libs=$enable_static
   24547 
   24548 # What type of objects to build.
   24549 pic_mode=$pic_mode
   24550 
   24551 # Whether to let the compiler frontend decide what standard libraries to link when building C++ shared libraries and modules.
   24552 enable_cxx_stdlib=$enable_cxx_stdlib
   24553 
   24554 # Flag used for specifying not to link standard libraries.
   24555 stdlibflag=$stdlibflag
   24556 
   24557 # Whether or not to optimize for fast installation.
   24558 fast_install=$enable_fast_install
   24559 
   24560 # Shared archive member basename,for filename based shared library versioning on AIX.
   24561 shared_archive_member_spec=$shared_archive_member_spec
   24562 
   24563 # Shell to use when invoking shell scripts.
   24564 SHELL=$lt_SHELL
   24565 
   24566 # An echo program that protects backslashes.
   24567 ECHO=$lt_ECHO
   24568 
   24569 # The PATH separator for the build system.
   24570 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   24571 
   24572 # The host system.
   24573 host_alias=$host_alias
   24574 host=$host
   24575 host_os=$host_os
   24576 
   24577 # The build system.
   24578 build_alias=$build_alias
   24579 build=$build
   24580 build_os=$build_os
   24581 
   24582 # A sed program that does not truncate output.
   24583 SED=$lt_SED
   24584 
   24585 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   24586 Xsed="\$SED -e 1s/^X//"
   24587 
   24588 # A grep program that handles long lines.
   24589 GREP=$lt_GREP
   24590 
   24591 # An ERE matcher.
   24592 EGREP=$lt_EGREP
   24593 
   24594 # A literal string matcher.
   24595 FGREP=$lt_FGREP
   24596 
   24597 # A BSD- or MS-compatible name lister.
   24598 NM=$lt_NM
   24599 
   24600 # Whether we need soft or hard links.
   24601 LN_S=$lt_LN_S
   24602 
   24603 # What is the maximum length of a command?
   24604 max_cmd_len=$max_cmd_len
   24605 
   24606 # Object file suffix (normally "o").
   24607 objext=$ac_objext
   24608 
   24609 # Executable file suffix (normally "").
   24610 exeext=$exeext
   24611 
   24612 # whether the shell understands "unset".
   24613 lt_unset=$lt_unset
   24614 
   24615 # turn spaces into newlines.
   24616 SP2NL=$lt_lt_SP2NL
   24617 
   24618 # turn newlines into spaces.
   24619 NL2SP=$lt_lt_NL2SP
   24620 
   24621 # convert \$build file names to \$host format.
   24622 to_host_file_cmd=$lt_cv_to_host_file_cmd
   24623 
   24624 # convert \$build files to toolchain format.
   24625 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   24626 
   24627 # whether cygpath is installed.
   24628 cygpath_installed=$lt_cv_cygpath_installed
   24629 
   24630 # A file(cmd) program that detects file types.
   24631 FILECMD=$lt_FILECMD
   24632 
   24633 # Method to check whether dependent libraries are shared objects.
   24634 deplibs_check_method=$lt_deplibs_check_method
   24635 
   24636 # Command to use when deplibs_check_method = "file_magic".
   24637 file_magic_cmd=$lt_file_magic_cmd
   24638 
   24639 # How to find potential files when deplibs_check_method = "file_magic".
   24640 file_magic_glob=$lt_file_magic_glob
   24641 
   24642 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   24643 want_nocaseglob=$lt_want_nocaseglob
   24644 
   24645 # Command to associate shared and link libraries.
   24646 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   24647 
   24648 # The archiver.
   24649 AR=$lt_AR
   24650 
   24651 # Flags to create an archive (by configure).
   24652 lt_ar_flags=$lt_lt_ar_flags
   24653 
   24654 # Flags to create an archive.
   24655 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   24656 
   24657 # How to feed a file listing to the archiver.
   24658 archiver_list_spec=$lt_archiver_list_spec
   24659 
   24660 # A symbol stripping program.
   24661 STRIP=$lt_STRIP
   24662 
   24663 # Commands used to install an old-style archive.
   24664 RANLIB=$lt_RANLIB
   24665 old_postinstall_cmds=$lt_old_postinstall_cmds
   24666 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   24667 
   24668 # Whether to use a lock for old archive extraction.
   24669 lock_old_archive_extraction=$lock_old_archive_extraction
   24670 
   24671 # A C compiler.
   24672 LTCC=$lt_CC
   24673 
   24674 # LTCC compiler flags.
   24675 LTCFLAGS=$lt_CFLAGS
   24676 
   24677 # Take the output of nm and produce a listing of raw symbols and C names.
   24678 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   24679 
   24680 # Transform the output of nm in a proper C declaration.
   24681 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   24682 
   24683 # Transform the output of nm into a list of symbols to manually relocate.
   24684 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   24685 
   24686 # Transform the output of nm in a C name address pair.
   24687 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   24688 
   24689 # Transform the output of nm in a C name address pair when lib prefix is needed.
   24690 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   24691 
   24692 # The name lister interface.
   24693 nm_interface=$lt_lt_cv_nm_interface
   24694 
   24695 # Specify filename containing input files for \$NM.
   24696 nm_file_list_spec=$lt_nm_file_list_spec
   24697 
   24698 # The root where to search for dependent libraries,and where our libraries should be installed.
   24699 lt_sysroot=$lt_sysroot
   24700 
   24701 # Command to truncate a binary pipe.
   24702 lt_truncate_bin=$lt_lt_cv_truncate_bin
   24703 
   24704 # The name of the directory that contains temporary libtool files.
   24705 objdir=$objdir
   24706 
   24707 # Used to examine libraries when file_magic_cmd begins with "file".
   24708 MAGIC_CMD=$MAGIC_CMD
   24709 
   24710 # Must we lock files when doing compilation?
   24711 need_locks=$lt_need_locks
   24712 
   24713 # Manifest tool.
   24714 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   24715 
   24716 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   24717 DSYMUTIL=$lt_DSYMUTIL
   24718 
   24719 # Tool to change global to local symbols on Mac OS X.
   24720 NMEDIT=$lt_NMEDIT
   24721 
   24722 # Tool to manipulate fat objects and archives on Mac OS X.
   24723 LIPO=$lt_LIPO
   24724 
   24725 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   24726 OTOOL=$lt_OTOOL
   24727 
   24728 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   24729 OTOOL64=$lt_OTOOL64
   24730 
   24731 # Old archive suffix (normally "a").
   24732 libext=$libext
   24733 
   24734 # Shared library suffix (normally ".so").
   24735 shrext_cmds=$lt_shrext_cmds
   24736 
   24737 # The commands to extract the exported symbol list from a shared archive.
   24738 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   24739 
   24740 # Variables whose values should be saved in libtool wrapper scripts and
   24741 # restored at link time.
   24742 variables_saved_for_relink=$lt_variables_saved_for_relink
   24743 
   24744 # Do we need the "lib" prefix for modules?
   24745 need_lib_prefix=$need_lib_prefix
   24746 
   24747 # Do we need a version for libraries?
   24748 need_version=$need_version
   24749 
   24750 # Library versioning type.
   24751 version_type=$version_type
   24752 
   24753 # Shared library runtime path variable.
   24754 runpath_var=$runpath_var
   24755 
   24756 # Shared library path variable.
   24757 shlibpath_var=$shlibpath_var
   24758 
   24759 # Is shlibpath searched before the hard-coded library search path?
   24760 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   24761 
   24762 # Format of library name prefix.
   24763 libname_spec=$lt_libname_spec
   24764 
   24765 # List of archive names.  First name is the real one, the rest are links.
   24766 # The last name is the one that the linker finds with -lNAME
   24767 library_names_spec=$lt_library_names_spec
   24768 
   24769 # The coded name of the library, if different from the real name.
   24770 soname_spec=$lt_soname_spec
   24771 
   24772 # Permission mode override for installation of shared libraries.
   24773 install_override_mode=$lt_install_override_mode
   24774 
   24775 # Command to use after installation of a shared archive.
   24776 postinstall_cmds=$lt_postinstall_cmds
   24777 
   24778 # Command to use after uninstallation of a shared archive.
   24779 postuninstall_cmds=$lt_postuninstall_cmds
   24780 
   24781 # Commands used to finish a libtool library installation in a directory.
   24782 finish_cmds=$lt_finish_cmds
   24783 
   24784 # As "finish_cmds", except a single script fragment to be evaled but
   24785 # not shown.
   24786 finish_eval=$lt_finish_eval
   24787 
   24788 # Whether we should hardcode library paths into libraries.
   24789 hardcode_into_libs=$hardcode_into_libs
   24790 
   24791 # Compile-time system search path for libraries.
   24792 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   24793 
   24794 # Detected run-time system search path for libraries.
   24795 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   24796 
   24797 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   24798 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   24799 
   24800 # Whether dlopen is supported.
   24801 dlopen_support=$enable_dlopen
   24802 
   24803 # Whether dlopen of programs is supported.
   24804 dlopen_self=$enable_dlopen_self
   24805 
   24806 # Whether dlopen of statically linked programs is supported.
   24807 dlopen_self_static=$enable_dlopen_self_static
   24808 
   24809 # Commands to strip libraries.
   24810 old_striplib=$lt_old_striplib
   24811 striplib=$lt_striplib
   24812 
   24813 
   24814 # The linker used to build libraries.
   24815 LD=$lt_LD
   24816 
   24817 # How to create reloadable object files.
   24818 reload_flag=$lt_reload_flag
   24819 reload_cmds=$lt_reload_cmds
   24820 
   24821 # Commands used to build an old-style archive.
   24822 old_archive_cmds=$lt_old_archive_cmds
   24823 
   24824 # A language specific compiler.
   24825 CC=$lt_compiler
   24826 
   24827 # Is the compiler the GNU compiler?
   24828 with_gcc=$GCC
   24829 
   24830 # Compiler flag to turn off builtin functions.
   24831 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   24832 
   24833 # Additional compiler flags for building library objects.
   24834 pic_flag=$lt_lt_prog_compiler_pic
   24835 
   24836 # How to pass a linker flag through the compiler.
   24837 wl=$lt_lt_prog_compiler_wl
   24838 
   24839 # Compiler flag to prevent dynamic linking.
   24840 link_static_flag=$lt_lt_prog_compiler_static
   24841 
   24842 # Does compiler simultaneously support -c and -o options?
   24843 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   24844 
   24845 # Whether or not to add -lc for building shared libraries.
   24846 build_libtool_need_lc=$archive_cmds_need_lc
   24847 
   24848 # Whether or not to disallow shared libs when runtime libs are static.
   24849 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   24850 
   24851 # Compiler flag to allow reflexive dlopens.
   24852 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   24853 
   24854 # Compiler flag to generate shared objects directly from archives.
   24855 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   24856 
   24857 # Whether the compiler copes with passing no objects directly.
   24858 compiler_needs_object=$lt_compiler_needs_object
   24859 
   24860 # Create an old-style archive from a shared archive.
   24861 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   24862 
   24863 # Create a temporary old-style archive to link instead of a shared archive.
   24864 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   24865 
   24866 # Commands used to build a shared archive.
   24867 archive_cmds=$lt_archive_cmds
   24868 archive_expsym_cmds=$lt_archive_expsym_cmds
   24869 
   24870 # Commands used to build a loadable module if different from building
   24871 # a shared archive.
   24872 module_cmds=$lt_module_cmds
   24873 module_expsym_cmds=$lt_module_expsym_cmds
   24874 
   24875 # Whether we are building with GNU ld or not.
   24876 with_gnu_ld=$lt_with_gnu_ld
   24877 
   24878 # Flag that allows shared libraries with undefined symbols to be built.
   24879 allow_undefined_flag=$lt_allow_undefined_flag
   24880 
   24881 # Flag that enforces no undefined symbols.
   24882 no_undefined_flag=$lt_no_undefined_flag
   24883 
   24884 # Flag to hardcode \$libdir into a binary during linking.
   24885 # This must work even if \$libdir does not exist
   24886 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   24887 
   24888 # Whether we need a single "-rpath" flag with a separated argument.
   24889 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   24890 
   24891 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   24892 # DIR into the resulting binary.
   24893 hardcode_direct=$hardcode_direct
   24894 
   24895 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   24896 # DIR into the resulting binary and the resulting library dependency is
   24897 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   24898 # library is relocated.
   24899 hardcode_direct_absolute=$hardcode_direct_absolute
   24900 
   24901 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   24902 # into the resulting binary.
   24903 hardcode_minus_L=$hardcode_minus_L
   24904 
   24905 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   24906 # into the resulting binary.
   24907 hardcode_shlibpath_var=$hardcode_shlibpath_var
   24908 
   24909 # Set to "yes" if building a shared library automatically hardcodes DIR
   24910 # into the library and all subsequent libraries and executables linked
   24911 # against it.
   24912 hardcode_automatic=$hardcode_automatic
   24913 
   24914 # Set to yes if linker adds runtime paths of dependent libraries
   24915 # to runtime path list.
   24916 inherit_rpath=$inherit_rpath
   24917 
   24918 # Whether libtool must link a program against all its dependency libraries.
   24919 link_all_deplibs=$link_all_deplibs
   24920 
   24921 # Set to "yes" if exported symbols are required.
   24922 always_export_symbols=$always_export_symbols
   24923 
   24924 # The commands to list exported symbols.
   24925 export_symbols_cmds=$lt_export_symbols_cmds
   24926 
   24927 # Symbols that should not be listed in the preloaded symbols.
   24928 exclude_expsyms=$lt_exclude_expsyms
   24929 
   24930 # Symbols that must always be exported.
   24931 include_expsyms=$lt_include_expsyms
   24932 
   24933 # Commands necessary for linking programs (against libraries) with templates.
   24934 prelink_cmds=$lt_prelink_cmds
   24935 
   24936 # Commands necessary for finishing linking programs.
   24937 postlink_cmds=$lt_postlink_cmds
   24938 
   24939 # Specify filename containing input files.
   24940 file_list_spec=$lt_file_list_spec
   24941 
   24942 # How to hardcode a shared library path into an executable.
   24943 hardcode_action=$hardcode_action
   24944 
   24945 # The directories searched by this compiler when creating a shared library.
   24946 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   24947 
   24948 # Dependencies to place before and after the objects being linked to
   24949 # create a shared library.
   24950 predep_objects=$lt_predep_objects
   24951 postdep_objects=$lt_postdep_objects
   24952 predeps=$lt_predeps
   24953 postdeps=$lt_postdeps
   24954 
   24955 # The library search path used internally by the compiler when linking
   24956 # a shared library.
   24957 compiler_lib_search_path=$lt_compiler_lib_search_path
   24958 
   24959 # ### END LIBTOOL CONFIG
   24960 
   24961 _LT_EOF
   24962 
   24963     cat <<'_LT_EOF' >> "$cfgfile"
   24964 
   24965 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   24966 
   24967 # func_munge_path_list VARIABLE PATH
   24968 # -----------------------------------
   24969 # VARIABLE is name of variable containing _space_ separated list of
   24970 # directories to be munged by the contents of PATH, which is string
   24971 # having a format:
   24972 # "DIR[:DIR]:"
   24973 #       string "DIR[ DIR]" will be prepended to VARIABLE
   24974 # ":DIR[:DIR]"
   24975 #       string "DIR[ DIR]" will be appended to VARIABLE
   24976 # "DIRP[:DIRP]::[DIRA:]DIRA"
   24977 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   24978 #       "DIRA[ DIRA]" will be appended to VARIABLE
   24979 # "DIR[:DIR]"
   24980 #       VARIABLE will be replaced by "DIR[ DIR]"
   24981 func_munge_path_list ()
   24982 {
   24983     case x$2 in
   24984     x)
   24985         ;;
   24986     *:)
   24987         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   24988         ;;
   24989     x:*)
   24990         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   24991         ;;
   24992     *::*)
   24993         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   24994         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   24995         ;;
   24996     *)
   24997         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   24998         ;;
   24999     esac
   25000 }
   25001 
   25002 
   25003 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   25004 func_cc_basename ()
   25005 {
   25006     for cc_temp in $*""; do
   25007       case $cc_temp in
   25008         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   25009         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   25010         \-*) ;;
   25011         *) break;;
   25012       esac
   25013     done
   25014     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   25015 }
   25016 
   25017 
   25018 # ### END FUNCTIONS SHARED WITH CONFIGURE
   25019 
   25020 _LT_EOF
   25021 
   25022   case $host_os in
   25023   aix3*)
   25024     cat <<\_LT_EOF >> "$cfgfile"
   25025 # AIX sometimes has problems with the GCC collect2 program.  For some
   25026 # reason, if we set the COLLECT_NAMES environment variable, the problems
   25027 # vanish in a puff of smoke.
   25028 if test set != "${COLLECT_NAMES+set}"; then
   25029   COLLECT_NAMES=
   25030   export COLLECT_NAMES
   25031 fi
   25032 _LT_EOF
   25033     ;;
   25034   esac
   25035 
   25036 
   25037 
   25038 ltmain=$ac_aux_dir/ltmain.sh
   25039 
   25040 
   25041   # We use sed instead of cat because bash on DJGPP gets confused if
   25042   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   25043   # text mode, it properly converts lines to CR/LF.  This bash problem
   25044   # is reportedly fixed, but why not run on old versions too?
   25045   $SED '$q' "$ltmain" >> "$cfgfile" \
   25046      || (rm -f "$cfgfile"; exit 1)
   25047 
   25048    mv -f "$cfgfile" "$ofile" ||
   25049     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   25050   chmod +x "$ofile"
   25051 
   25052 
   25053     cat <<_LT_EOF >> "$ofile"
   25054 
   25055 # ### BEGIN LIBTOOL TAG CONFIG: CXX
   25056 
   25057 # The linker used to build libraries.
   25058 LD=$lt_LD_CXX
   25059 
   25060 # How to create reloadable object files.
   25061 reload_flag=$lt_reload_flag_CXX
   25062 reload_cmds=$lt_reload_cmds_CXX
   25063 
   25064 # Commands used to build an old-style archive.
   25065 old_archive_cmds=$lt_old_archive_cmds_CXX
   25066 
   25067 # A language specific compiler.
   25068 CC=$lt_compiler_CXX
   25069 
   25070 # Is the compiler the GNU compiler?
   25071 with_gcc=$GCC_CXX
   25072 
   25073 # Compiler flag to turn off builtin functions.
   25074 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   25075 
   25076 # Additional compiler flags for building library objects.
   25077 pic_flag=$lt_lt_prog_compiler_pic_CXX
   25078 
   25079 # How to pass a linker flag through the compiler.
   25080 wl=$lt_lt_prog_compiler_wl_CXX
   25081 
   25082 # Compiler flag to prevent dynamic linking.
   25083 link_static_flag=$lt_lt_prog_compiler_static_CXX
   25084 
   25085 # Does compiler simultaneously support -c and -o options?
   25086 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   25087 
   25088 # Whether or not to add -lc for building shared libraries.
   25089 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   25090 
   25091 # Whether or not to disallow shared libs when runtime libs are static.
   25092 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   25093 
   25094 # Compiler flag to allow reflexive dlopens.
   25095 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   25096 
   25097 # Compiler flag to generate shared objects directly from archives.
   25098 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   25099 
   25100 # Whether the compiler copes with passing no objects directly.
   25101 compiler_needs_object=$lt_compiler_needs_object_CXX
   25102 
   25103 # Create an old-style archive from a shared archive.
   25104 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   25105 
   25106 # Create a temporary old-style archive to link instead of a shared archive.
   25107 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   25108 
   25109 # Commands used to build a shared archive.
   25110 archive_cmds=$lt_archive_cmds_CXX
   25111 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   25112 
   25113 # Commands used to build a loadable module if different from building
   25114 # a shared archive.
   25115 module_cmds=$lt_module_cmds_CXX
   25116 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   25117 
   25118 # Whether we are building with GNU ld or not.
   25119 with_gnu_ld=$lt_with_gnu_ld_CXX
   25120 
   25121 # Flag that allows shared libraries with undefined symbols to be built.
   25122 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   25123 
   25124 # Flag that enforces no undefined symbols.
   25125 no_undefined_flag=$lt_no_undefined_flag_CXX
   25126 
   25127 # Flag to hardcode \$libdir into a binary during linking.
   25128 # This must work even if \$libdir does not exist
   25129 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   25130 
   25131 # Whether we need a single "-rpath" flag with a separated argument.
   25132 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   25133 
   25134 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   25135 # DIR into the resulting binary.
   25136 hardcode_direct=$hardcode_direct_CXX
   25137 
   25138 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   25139 # DIR into the resulting binary and the resulting library dependency is
   25140 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   25141 # library is relocated.
   25142 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
   25143 
   25144 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   25145 # into the resulting binary.
   25146 hardcode_minus_L=$hardcode_minus_L_CXX
   25147 
   25148 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   25149 # into the resulting binary.
   25150 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   25151 
   25152 # Set to "yes" if building a shared library automatically hardcodes DIR
   25153 # into the library and all subsequent libraries and executables linked
   25154 # against it.
   25155 hardcode_automatic=$hardcode_automatic_CXX
   25156 
   25157 # Set to yes if linker adds runtime paths of dependent libraries
   25158 # to runtime path list.
   25159 inherit_rpath=$inherit_rpath_CXX
   25160 
   25161 # Whether libtool must link a program against all its dependency libraries.
   25162 link_all_deplibs=$link_all_deplibs_CXX
   25163 
   25164 # Set to "yes" if exported symbols are required.
   25165 always_export_symbols=$always_export_symbols_CXX
   25166 
   25167 # The commands to list exported symbols.
   25168 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   25169 
   25170 # Symbols that should not be listed in the preloaded symbols.
   25171 exclude_expsyms=$lt_exclude_expsyms_CXX
   25172 
   25173 # Symbols that must always be exported.
   25174 include_expsyms=$lt_include_expsyms_CXX
   25175 
   25176 # Commands necessary for linking programs (against libraries) with templates.
   25177 prelink_cmds=$lt_prelink_cmds_CXX
   25178 
   25179 # Commands necessary for finishing linking programs.
   25180 postlink_cmds=$lt_postlink_cmds_CXX
   25181 
   25182 # Specify filename containing input files.
   25183 file_list_spec=$lt_file_list_spec_CXX
   25184 
   25185 # How to hardcode a shared library path into an executable.
   25186 hardcode_action=$hardcode_action_CXX
   25187 
   25188 # The directories searched by this compiler when creating a shared library.
   25189 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   25190 
   25191 # Dependencies to place before and after the objects being linked to
   25192 # create a shared library.
   25193 predep_objects=$lt_predep_objects_CXX
   25194 postdep_objects=$lt_postdep_objects_CXX
   25195 predeps=$lt_predeps_CXX
   25196 postdeps=$lt_postdeps_CXX
   25197 
   25198 # The library search path used internally by the compiler when linking
   25199 # a shared library.
   25200 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   25201 
   25202 # ### END LIBTOOL TAG CONFIG: CXX
   25203 _LT_EOF
   25204 
   25205  ;;
   25206     "run.sh":F) chmod +x run.sh ;;
   25207 
   25208   esac
   25209 done # for ac_tag
   25210 
   25211 
   25212 as_fn_exit 0
   25213 _ACEOF
   25214 ac_clean_files=$ac_clean_files_save
   25215 
   25216 test $ac_write_fail = 0 ||
   25217   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   25218 
   25219 
   25220 # configure is writing to config.log, and then calls config.status.
   25221 # config.status does its own redirection, appending to config.log.
   25222 # Unfortunately, on DOS this fails, as config.log is still kept open
   25223 # by configure, so config.status won't be able to write to it; its
   25224 # output is simply discarded.  So we exec the FD to /dev/null,
   25225 # effectively closing config.log, so it can be properly (re)opened and
   25226 # appended to by config.status.  When coming back to configure, we
   25227 # need to make the FD available again.
   25228 if test "$no_create" != yes; then
   25229   ac_cs_success=:
   25230   ac_config_status_args=
   25231   test "$silent" = yes &&
   25232     ac_config_status_args="$ac_config_status_args --quiet"
   25233   exec 5>/dev/null
   25234   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   25235   exec 5>>config.log
   25236   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   25237   # would make configure fail if this is the last instruction.
   25238   $ac_cs_success || as_fn_exit 1
   25239 fi
   25240 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   25241   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   25242 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   25243 fi
   25244 
   25245 
   25246 
   25247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}:
   25248 
   25249 Automake flags (can be overridden by user flags):
   25250   AM_CPPFLAGS: ${AM_CPPFLAGS}
   25251     AM_CFLAGS: ${AM_CFLAGS}
   25252   AM_CXXFLAGS: ${AM_CXXFLAGS}
   25253    AM_LDFLAGS: ${AM_LDFLAGS}
   25254 
   25255 User flags (override Automake flags on conflict):
   25256      CPPFLAGS: ${CPPFLAGS}
   25257        CFLAGS: ${CFLAGS}
   25258      CXXFLAGS: ${CXXFLAGS}
   25259       LDFLAGS: ${LDFLAGS}
   25260 
   25261 Entropy sources:
   25262              arc4random: ${have_arc4random}
   25263          arc4random_buf: ${have_arc4random_buf}
   25264              getentropy: ${have_getentropy}
   25265               getrandom: ${have_getrandom_function}
   25266   syscall SYS_getrandom: ${have_getrandom_syscall}
   25267            /dev/urandom: ${have_dev_urandom}
   25268 
   25269 Continue with e.g.:
   25270   make -j2
   25271   make check
   25272   sudo make install" >&5
   25273 printf "%s\n" "$as_me:
   25274 
   25275 Automake flags (can be overridden by user flags):
   25276   AM_CPPFLAGS: ${AM_CPPFLAGS}
   25277     AM_CFLAGS: ${AM_CFLAGS}
   25278   AM_CXXFLAGS: ${AM_CXXFLAGS}
   25279    AM_LDFLAGS: ${AM_LDFLAGS}
   25280 
   25281 User flags (override Automake flags on conflict):
   25282      CPPFLAGS: ${CPPFLAGS}
   25283        CFLAGS: ${CFLAGS}
   25284      CXXFLAGS: ${CXXFLAGS}
   25285       LDFLAGS: ${LDFLAGS}
   25286 
   25287 Entropy sources:
   25288              arc4random: ${have_arc4random}
   25289          arc4random_buf: ${have_arc4random_buf}
   25290              getentropy: ${have_getentropy}
   25291               getrandom: ${have_getrandom_function}
   25292   syscall SYS_getrandom: ${have_getrandom_syscall}
   25293            /dev/urandom: ${have_dev_urandom}
   25294 
   25295 Continue with e.g.:
   25296   make -j2
   25297   make check
   25298   sudo make install" >&6;}
   25299 
   25300